@wrenautomation/birdwatch 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -53
- package/dist/app/cli.js +2 -2
- package/dist/app/cli.js.map +1 -1
- package/dist/app/engine-cli.d.ts +2 -8
- package/dist/app/engine-cli.js +18 -160
- package/dist/app/engine-cli.js.map +1 -1
- package/dist/app/index.d.ts +3 -3
- package/dist/app/index.js +3 -3
- package/dist/app/index.js.map +1 -1
- package/dist/document/extract.d.ts +1 -1
- package/dist/document/types.d.ts +2 -2
- package/dist/document/types.js +2 -2
- package/dist/engine/agent.d.ts +12 -10
- package/dist/engine/agent.js +21 -20
- package/dist/engine/agent.js.map +1 -1
- package/dist/engine/context.d.ts +9 -0
- package/dist/engine/{runner.js → context.js} +10 -78
- package/dist/engine/context.js.map +1 -0
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.js +2 -2
- package/dist/engine/index.js.map +1 -1
- package/dist/engine/judge.d.ts +1 -1
- package/dist/engine/plan.d.ts +4 -4
- package/dist/engine/plan.js +4 -4
- package/dist/engine/plan.js.map +1 -1
- package/dist/{plan → engine}/plans/index.d.ts +4 -2
- package/dist/engine/plans/index.js +104 -0
- package/dist/engine/plans/index.js.map +1 -0
- package/dist/engine/ports.d.ts +9 -57
- package/dist/engine/ports.js +3 -3
- package/dist/engine/ports.js.map +1 -1
- package/dist/engine/recall.d.ts +1 -1
- package/dist/engine/state.d.ts +0 -3
- package/dist/engine/state.js +1 -25
- package/dist/engine/state.js.map +1 -1
- package/dist/engine/steps.d.ts +20 -20
- package/dist/engine/steps.js +42 -167
- package/dist/engine/steps.js.map +1 -1
- package/dist/engine/tree.d.ts +1 -1
- package/dist/engine/tree.js.map +1 -1
- package/dist/{plan → engine}/types.d.ts +14 -165
- package/dist/{plan → engine}/types.js +18 -73
- package/dist/engine/types.js.map +1 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/ledger/files.d.ts +1 -1
- package/dist/ledger/files.js +1 -1
- package/dist/ledger/files.js.map +1 -1
- package/dist/ledger/ledger.d.ts +2 -2
- package/dist/ledger/records.d.ts +139 -139
- package/dist/ledger/records.js +6 -6
- package/dist/ledger/records.js.map +1 -1
- package/dist/sources/arxiv.d.ts +1 -1
- package/dist/sources/google.d.ts +1 -1
- package/dist/sources/paste.d.ts +1 -1
- package/dist/sources/sites.d.ts +1 -1
- package/package.json +4 -8
- package/dist/engine/runner.d.ts +0 -30
- package/dist/engine/runner.js.map +0 -1
- package/dist/plan/index.d.ts +0 -7
- package/dist/plan/index.js +0 -8
- package/dist/plan/index.js.map +0 -1
- package/dist/plan/model.d.ts +0 -6
- package/dist/plan/model.js +0 -7
- package/dist/plan/model.js.map +0 -1
- package/dist/plan/plan.d.ts +0 -31
- package/dist/plan/plan.js +0 -87
- package/dist/plan/plan.js.map +0 -1
- package/dist/plan/plans/index.js +0 -236
- package/dist/plan/plans/index.js.map +0 -1
- package/dist/plan/render.d.ts +0 -41
- package/dist/plan/render.js +0 -75
- package/dist/plan/render.js.map +0 -1
- package/dist/plan/review.d.ts +0 -11
- package/dist/plan/review.js +0 -39
- package/dist/plan/review.js.map +0 -1
- package/dist/plan/triage.d.ts +0 -18
- package/dist/plan/triage.js +0 -65
- package/dist/plan/triage.js.map +0 -1
- package/dist/plan/types.js.map +0 -1
package/dist/ledger/records.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { z } from "../
|
|
2
|
-
/** Who wrote a record: a model, a person, or a tool (a source adapter, the
|
|
1
|
+
import { z } from "../engine/types.js";
|
|
2
|
+
/** Who wrote a record: a model, a person, or a tool (a source adapter, the engine). */
|
|
3
3
|
export declare const From: z.ZodEnum<{
|
|
4
4
|
ai: "ai";
|
|
5
5
|
human: "human";
|
|
6
6
|
tool: "tool";
|
|
7
7
|
}>;
|
|
8
8
|
export type From = z.infer<typeof From>;
|
|
9
|
-
/** The
|
|
9
|
+
/** The steps, in order. An edge's `to` names one of the first five. */
|
|
10
10
|
export declare const Step: z.ZodEnum<{
|
|
11
11
|
check: "check";
|
|
12
|
-
triage: "triage";
|
|
13
|
-
review: "review";
|
|
14
|
-
read: "read";
|
|
15
12
|
plan: "plan";
|
|
16
13
|
fetch: "fetch";
|
|
14
|
+
triage: "triage";
|
|
15
|
+
read: "read";
|
|
17
16
|
extract: "extract";
|
|
17
|
+
review: "review";
|
|
18
18
|
}>;
|
|
19
19
|
export type Step = z.infer<typeof Step>;
|
|
20
|
-
export declare const STEPS: ("check" | "
|
|
20
|
+
export declare const STEPS: ("check" | "plan" | "fetch" | "triage" | "read" | "extract" | "review")[];
|
|
21
21
|
export declare const RECORD_TYPES: readonly ["query", "hit", "document", "finding", "verdict", "call", "spend", "snapshot", "edge", "done", "steer", "gap", "check", "pattern", "found", "draft", "class", "dead", "judge", "person"];
|
|
22
22
|
export declare const RecordType: z.ZodEnum<{
|
|
23
23
|
check: "check";
|
|
@@ -26,16 +26,16 @@ export declare const RecordType: z.ZodEnum<{
|
|
|
26
26
|
steer: "steer";
|
|
27
27
|
verdict: "verdict";
|
|
28
28
|
person: "person";
|
|
29
|
-
snapshot: "snapshot";
|
|
30
|
-
found: "found";
|
|
31
|
-
done: "done";
|
|
32
29
|
query: "query";
|
|
33
30
|
hit: "hit";
|
|
34
31
|
document: "document";
|
|
35
32
|
finding: "finding";
|
|
36
33
|
call: "call";
|
|
37
34
|
spend: "spend";
|
|
35
|
+
snapshot: "snapshot";
|
|
38
36
|
edge: "edge";
|
|
37
|
+
done: "done";
|
|
38
|
+
found: "found";
|
|
39
39
|
draft: "draft";
|
|
40
40
|
class: "class";
|
|
41
41
|
dead: "dead";
|
|
@@ -49,12 +49,12 @@ export declare const Envelope: z.ZodObject<{
|
|
|
49
49
|
round: z.ZodNumber;
|
|
50
50
|
step: z.ZodOptional<z.ZodEnum<{
|
|
51
51
|
check: "check";
|
|
52
|
-
triage: "triage";
|
|
53
|
-
review: "review";
|
|
54
|
-
read: "read";
|
|
55
52
|
plan: "plan";
|
|
56
53
|
fetch: "fetch";
|
|
54
|
+
triage: "triage";
|
|
55
|
+
read: "read";
|
|
57
56
|
extract: "extract";
|
|
57
|
+
review: "review";
|
|
58
58
|
}>>;
|
|
59
59
|
at: z.ZodString;
|
|
60
60
|
from: z.ZodEnum<{
|
|
@@ -81,12 +81,12 @@ export declare const QueryRecord: z.ZodObject<{
|
|
|
81
81
|
round: z.ZodNumber;
|
|
82
82
|
step: z.ZodOptional<z.ZodEnum<{
|
|
83
83
|
check: "check";
|
|
84
|
-
triage: "triage";
|
|
85
|
-
review: "review";
|
|
86
|
-
read: "read";
|
|
87
84
|
plan: "plan";
|
|
88
85
|
fetch: "fetch";
|
|
86
|
+
triage: "triage";
|
|
87
|
+
read: "read";
|
|
89
88
|
extract: "extract";
|
|
89
|
+
review: "review";
|
|
90
90
|
}>>;
|
|
91
91
|
at: z.ZodString;
|
|
92
92
|
from: z.ZodEnum<{
|
|
@@ -128,12 +128,12 @@ export declare const HitRecord: z.ZodObject<{
|
|
|
128
128
|
round: z.ZodNumber;
|
|
129
129
|
step: z.ZodOptional<z.ZodEnum<{
|
|
130
130
|
check: "check";
|
|
131
|
-
triage: "triage";
|
|
132
|
-
review: "review";
|
|
133
|
-
read: "read";
|
|
134
131
|
plan: "plan";
|
|
135
132
|
fetch: "fetch";
|
|
133
|
+
triage: "triage";
|
|
134
|
+
read: "read";
|
|
136
135
|
extract: "extract";
|
|
136
|
+
review: "review";
|
|
137
137
|
}>>;
|
|
138
138
|
at: z.ZodString;
|
|
139
139
|
from: z.ZodEnum<{
|
|
@@ -162,12 +162,12 @@ export declare const DocumentRecord: z.ZodObject<{
|
|
|
162
162
|
round: z.ZodNumber;
|
|
163
163
|
step: z.ZodOptional<z.ZodEnum<{
|
|
164
164
|
check: "check";
|
|
165
|
-
triage: "triage";
|
|
166
|
-
review: "review";
|
|
167
|
-
read: "read";
|
|
168
165
|
plan: "plan";
|
|
169
166
|
fetch: "fetch";
|
|
167
|
+
triage: "triage";
|
|
168
|
+
read: "read";
|
|
170
169
|
extract: "extract";
|
|
170
|
+
review: "review";
|
|
171
171
|
}>>;
|
|
172
172
|
at: z.ZodString;
|
|
173
173
|
from: z.ZodEnum<{
|
|
@@ -200,12 +200,12 @@ export declare const FindingRecord: z.ZodObject<{
|
|
|
200
200
|
round: z.ZodNumber;
|
|
201
201
|
step: z.ZodOptional<z.ZodEnum<{
|
|
202
202
|
check: "check";
|
|
203
|
-
triage: "triage";
|
|
204
|
-
review: "review";
|
|
205
|
-
read: "read";
|
|
206
203
|
plan: "plan";
|
|
207
204
|
fetch: "fetch";
|
|
205
|
+
triage: "triage";
|
|
206
|
+
read: "read";
|
|
208
207
|
extract: "extract";
|
|
208
|
+
review: "review";
|
|
209
209
|
}>>;
|
|
210
210
|
at: z.ZodString;
|
|
211
211
|
from: z.ZodEnum<{
|
|
@@ -239,12 +239,12 @@ export declare const VerdictRecord: z.ZodObject<{
|
|
|
239
239
|
round: z.ZodNumber;
|
|
240
240
|
step: z.ZodOptional<z.ZodEnum<{
|
|
241
241
|
check: "check";
|
|
242
|
-
triage: "triage";
|
|
243
|
-
review: "review";
|
|
244
|
-
read: "read";
|
|
245
242
|
plan: "plan";
|
|
246
243
|
fetch: "fetch";
|
|
244
|
+
triage: "triage";
|
|
245
|
+
read: "read";
|
|
247
246
|
extract: "extract";
|
|
247
|
+
review: "review";
|
|
248
248
|
}>>;
|
|
249
249
|
at: z.ZodString;
|
|
250
250
|
from: z.ZodEnum<{
|
|
@@ -274,12 +274,12 @@ export declare const CallRecord: z.ZodObject<{
|
|
|
274
274
|
round: z.ZodNumber;
|
|
275
275
|
step: z.ZodOptional<z.ZodEnum<{
|
|
276
276
|
check: "check";
|
|
277
|
-
triage: "triage";
|
|
278
|
-
review: "review";
|
|
279
|
-
read: "read";
|
|
280
277
|
plan: "plan";
|
|
281
278
|
fetch: "fetch";
|
|
279
|
+
triage: "triage";
|
|
280
|
+
read: "read";
|
|
282
281
|
extract: "extract";
|
|
282
|
+
review: "review";
|
|
283
283
|
}>>;
|
|
284
284
|
at: z.ZodString;
|
|
285
285
|
from: z.ZodEnum<{
|
|
@@ -310,12 +310,12 @@ export declare const SpendRecord: z.ZodObject<{
|
|
|
310
310
|
round: z.ZodNumber;
|
|
311
311
|
step: z.ZodOptional<z.ZodEnum<{
|
|
312
312
|
check: "check";
|
|
313
|
-
triage: "triage";
|
|
314
|
-
review: "review";
|
|
315
|
-
read: "read";
|
|
316
313
|
plan: "plan";
|
|
317
314
|
fetch: "fetch";
|
|
315
|
+
triage: "triage";
|
|
316
|
+
read: "read";
|
|
318
317
|
extract: "extract";
|
|
318
|
+
review: "review";
|
|
319
319
|
}>>;
|
|
320
320
|
at: z.ZodString;
|
|
321
321
|
from: z.ZodEnum<{
|
|
@@ -349,19 +349,19 @@ export declare const SpendRecord: z.ZodObject<{
|
|
|
349
349
|
}, z.core.$strip>>;
|
|
350
350
|
}, z.core.$strip>;
|
|
351
351
|
export type SpendRecord = z.infer<typeof SpendRecord>;
|
|
352
|
-
/** What the plan step was given for one round: the ask, the allow-list, the budget, the
|
|
352
|
+
/** What the plan step was given for one round: the ask, the allow-list, the budget, the snapshot. */
|
|
353
353
|
export declare const SnapshotRecord: z.ZodObject<{
|
|
354
354
|
id: z.ZodString;
|
|
355
355
|
run: z.ZodString;
|
|
356
356
|
round: z.ZodNumber;
|
|
357
357
|
step: z.ZodOptional<z.ZodEnum<{
|
|
358
358
|
check: "check";
|
|
359
|
-
triage: "triage";
|
|
360
|
-
review: "review";
|
|
361
|
-
read: "read";
|
|
362
359
|
plan: "plan";
|
|
363
360
|
fetch: "fetch";
|
|
361
|
+
triage: "triage";
|
|
362
|
+
read: "read";
|
|
364
363
|
extract: "extract";
|
|
364
|
+
review: "review";
|
|
365
365
|
}>>;
|
|
366
366
|
at: z.ZodString;
|
|
367
367
|
from: z.ZodEnum<{
|
|
@@ -420,12 +420,12 @@ export declare const EdgeRecord: z.ZodObject<{
|
|
|
420
420
|
round: z.ZodNumber;
|
|
421
421
|
step: z.ZodOptional<z.ZodEnum<{
|
|
422
422
|
check: "check";
|
|
423
|
-
triage: "triage";
|
|
424
|
-
review: "review";
|
|
425
|
-
read: "read";
|
|
426
423
|
plan: "plan";
|
|
427
424
|
fetch: "fetch";
|
|
425
|
+
triage: "triage";
|
|
426
|
+
read: "read";
|
|
428
427
|
extract: "extract";
|
|
428
|
+
review: "review";
|
|
429
429
|
}>>;
|
|
430
430
|
at: z.ZodString;
|
|
431
431
|
from: z.ZodEnum<{
|
|
@@ -442,10 +442,10 @@ export declare const EdgeRecord: z.ZodObject<{
|
|
|
442
442
|
back: "back";
|
|
443
443
|
}>;
|
|
444
444
|
to: z.ZodOptional<z.ZodEnum<{
|
|
445
|
-
triage: "triage";
|
|
446
|
-
read: "read";
|
|
447
445
|
plan: "plan";
|
|
448
446
|
fetch: "fetch";
|
|
447
|
+
triage: "triage";
|
|
448
|
+
read: "read";
|
|
449
449
|
extract: "extract";
|
|
450
450
|
}>>;
|
|
451
451
|
}, z.core.$strip>;
|
|
@@ -465,12 +465,12 @@ export declare const DoneRecord: z.ZodObject<{
|
|
|
465
465
|
type: z.ZodLiteral<"done">;
|
|
466
466
|
step: z.ZodEnum<{
|
|
467
467
|
check: "check";
|
|
468
|
-
triage: "triage";
|
|
469
|
-
review: "review";
|
|
470
|
-
read: "read";
|
|
471
468
|
plan: "plan";
|
|
472
469
|
fetch: "fetch";
|
|
470
|
+
triage: "triage";
|
|
471
|
+
read: "read";
|
|
473
472
|
extract: "extract";
|
|
473
|
+
review: "review";
|
|
474
474
|
}>;
|
|
475
475
|
ok: z.ZodBoolean;
|
|
476
476
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -486,12 +486,12 @@ export declare const SteerRecord: z.ZodObject<{
|
|
|
486
486
|
round: z.ZodNumber;
|
|
487
487
|
step: z.ZodOptional<z.ZodEnum<{
|
|
488
488
|
check: "check";
|
|
489
|
-
triage: "triage";
|
|
490
|
-
review: "review";
|
|
491
|
-
read: "read";
|
|
492
489
|
plan: "plan";
|
|
493
490
|
fetch: "fetch";
|
|
491
|
+
triage: "triage";
|
|
492
|
+
read: "read";
|
|
494
493
|
extract: "extract";
|
|
494
|
+
review: "review";
|
|
495
495
|
}>>;
|
|
496
496
|
at: z.ZodString;
|
|
497
497
|
from: z.ZodEnum<{
|
|
@@ -515,12 +515,12 @@ export declare const GapRecord: z.ZodObject<{
|
|
|
515
515
|
round: z.ZodNumber;
|
|
516
516
|
step: z.ZodOptional<z.ZodEnum<{
|
|
517
517
|
check: "check";
|
|
518
|
-
triage: "triage";
|
|
519
|
-
review: "review";
|
|
520
|
-
read: "read";
|
|
521
518
|
plan: "plan";
|
|
522
519
|
fetch: "fetch";
|
|
520
|
+
triage: "triage";
|
|
521
|
+
read: "read";
|
|
523
522
|
extract: "extract";
|
|
523
|
+
review: "review";
|
|
524
524
|
}>>;
|
|
525
525
|
at: z.ZodString;
|
|
526
526
|
from: z.ZodEnum<{
|
|
@@ -544,12 +544,12 @@ export declare const CheckRecord: z.ZodObject<{
|
|
|
544
544
|
round: z.ZodNumber;
|
|
545
545
|
step: z.ZodOptional<z.ZodEnum<{
|
|
546
546
|
check: "check";
|
|
547
|
-
triage: "triage";
|
|
548
|
-
review: "review";
|
|
549
|
-
read: "read";
|
|
550
547
|
plan: "plan";
|
|
551
548
|
fetch: "fetch";
|
|
549
|
+
triage: "triage";
|
|
550
|
+
read: "read";
|
|
552
551
|
extract: "extract";
|
|
552
|
+
review: "review";
|
|
553
553
|
}>>;
|
|
554
554
|
at: z.ZodString;
|
|
555
555
|
from: z.ZodEnum<{
|
|
@@ -575,12 +575,12 @@ export declare const PatternRecord: z.ZodObject<{
|
|
|
575
575
|
round: z.ZodNumber;
|
|
576
576
|
step: z.ZodOptional<z.ZodEnum<{
|
|
577
577
|
check: "check";
|
|
578
|
-
triage: "triage";
|
|
579
|
-
review: "review";
|
|
580
|
-
read: "read";
|
|
581
578
|
plan: "plan";
|
|
582
579
|
fetch: "fetch";
|
|
580
|
+
triage: "triage";
|
|
581
|
+
read: "read";
|
|
583
582
|
extract: "extract";
|
|
583
|
+
review: "review";
|
|
584
584
|
}>>;
|
|
585
585
|
at: z.ZodString;
|
|
586
586
|
from: z.ZodEnum<{
|
|
@@ -605,12 +605,12 @@ export declare const FoundRecord: z.ZodObject<{
|
|
|
605
605
|
round: z.ZodNumber;
|
|
606
606
|
step: z.ZodOptional<z.ZodEnum<{
|
|
607
607
|
check: "check";
|
|
608
|
-
triage: "triage";
|
|
609
|
-
review: "review";
|
|
610
|
-
read: "read";
|
|
611
608
|
plan: "plan";
|
|
612
609
|
fetch: "fetch";
|
|
610
|
+
triage: "triage";
|
|
611
|
+
read: "read";
|
|
613
612
|
extract: "extract";
|
|
613
|
+
review: "review";
|
|
614
614
|
}>>;
|
|
615
615
|
at: z.ZodString;
|
|
616
616
|
from: z.ZodEnum<{
|
|
@@ -636,12 +636,12 @@ export declare const DraftRecord: z.ZodObject<{
|
|
|
636
636
|
round: z.ZodNumber;
|
|
637
637
|
step: z.ZodOptional<z.ZodEnum<{
|
|
638
638
|
check: "check";
|
|
639
|
-
triage: "triage";
|
|
640
|
-
review: "review";
|
|
641
|
-
read: "read";
|
|
642
639
|
plan: "plan";
|
|
643
640
|
fetch: "fetch";
|
|
641
|
+
triage: "triage";
|
|
642
|
+
read: "read";
|
|
644
643
|
extract: "extract";
|
|
644
|
+
review: "review";
|
|
645
645
|
}>>;
|
|
646
646
|
at: z.ZodString;
|
|
647
647
|
from: z.ZodEnum<{
|
|
@@ -678,7 +678,7 @@ export type SourceClass = z.infer<typeof SourceClass>;
|
|
|
678
678
|
/**
|
|
679
679
|
* The agent's word on what kind of source a document is, with why. Its findings take the class;
|
|
680
680
|
* a class on a finding overrides it (a vendor page that quotes a survey). The latest per target
|
|
681
|
-
* wins.
|
|
681
|
+
* wins. A model never writes one.
|
|
682
682
|
*/
|
|
683
683
|
export declare const ClassRecord: z.ZodObject<{
|
|
684
684
|
id: z.ZodString;
|
|
@@ -686,12 +686,12 @@ export declare const ClassRecord: z.ZodObject<{
|
|
|
686
686
|
round: z.ZodNumber;
|
|
687
687
|
step: z.ZodOptional<z.ZodEnum<{
|
|
688
688
|
check: "check";
|
|
689
|
-
triage: "triage";
|
|
690
|
-
review: "review";
|
|
691
|
-
read: "read";
|
|
692
689
|
plan: "plan";
|
|
693
690
|
fetch: "fetch";
|
|
691
|
+
triage: "triage";
|
|
692
|
+
read: "read";
|
|
694
693
|
extract: "extract";
|
|
694
|
+
review: "review";
|
|
695
695
|
}>>;
|
|
696
696
|
at: z.ZodString;
|
|
697
697
|
from: z.ZodEnum<{
|
|
@@ -724,12 +724,12 @@ export declare const DeadRecord: z.ZodObject<{
|
|
|
724
724
|
round: z.ZodNumber;
|
|
725
725
|
step: z.ZodOptional<z.ZodEnum<{
|
|
726
726
|
check: "check";
|
|
727
|
-
triage: "triage";
|
|
728
|
-
review: "review";
|
|
729
|
-
read: "read";
|
|
730
727
|
plan: "plan";
|
|
731
728
|
fetch: "fetch";
|
|
729
|
+
triage: "triage";
|
|
730
|
+
read: "read";
|
|
732
731
|
extract: "extract";
|
|
732
|
+
review: "review";
|
|
733
733
|
}>>;
|
|
734
734
|
at: z.ZodString;
|
|
735
735
|
from: z.ZodEnum<{
|
|
@@ -754,12 +754,12 @@ export declare const JudgeRecord: z.ZodObject<{
|
|
|
754
754
|
round: z.ZodNumber;
|
|
755
755
|
step: z.ZodOptional<z.ZodEnum<{
|
|
756
756
|
check: "check";
|
|
757
|
-
triage: "triage";
|
|
758
|
-
review: "review";
|
|
759
|
-
read: "read";
|
|
760
757
|
plan: "plan";
|
|
761
758
|
fetch: "fetch";
|
|
759
|
+
triage: "triage";
|
|
760
|
+
read: "read";
|
|
762
761
|
extract: "extract";
|
|
762
|
+
review: "review";
|
|
763
763
|
}>>;
|
|
764
764
|
at: z.ZodString;
|
|
765
765
|
from: z.ZodEnum<{
|
|
@@ -784,12 +784,12 @@ export declare const PersonRecord: z.ZodObject<{
|
|
|
784
784
|
round: z.ZodNumber;
|
|
785
785
|
step: z.ZodOptional<z.ZodEnum<{
|
|
786
786
|
check: "check";
|
|
787
|
-
triage: "triage";
|
|
788
|
-
review: "review";
|
|
789
|
-
read: "read";
|
|
790
787
|
plan: "plan";
|
|
791
788
|
fetch: "fetch";
|
|
789
|
+
triage: "triage";
|
|
790
|
+
read: "read";
|
|
792
791
|
extract: "extract";
|
|
792
|
+
review: "review";
|
|
793
793
|
}>>;
|
|
794
794
|
at: z.ZodString;
|
|
795
795
|
from: z.ZodEnum<{
|
|
@@ -811,12 +811,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
811
811
|
round: z.ZodNumber;
|
|
812
812
|
step: z.ZodOptional<z.ZodEnum<{
|
|
813
813
|
check: "check";
|
|
814
|
-
triage: "triage";
|
|
815
|
-
review: "review";
|
|
816
|
-
read: "read";
|
|
817
814
|
plan: "plan";
|
|
818
815
|
fetch: "fetch";
|
|
816
|
+
triage: "triage";
|
|
817
|
+
read: "read";
|
|
819
818
|
extract: "extract";
|
|
819
|
+
review: "review";
|
|
820
820
|
}>>;
|
|
821
821
|
at: z.ZodString;
|
|
822
822
|
from: z.ZodEnum<{
|
|
@@ -855,12 +855,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
855
855
|
round: z.ZodNumber;
|
|
856
856
|
step: z.ZodOptional<z.ZodEnum<{
|
|
857
857
|
check: "check";
|
|
858
|
-
triage: "triage";
|
|
859
|
-
review: "review";
|
|
860
|
-
read: "read";
|
|
861
858
|
plan: "plan";
|
|
862
859
|
fetch: "fetch";
|
|
860
|
+
triage: "triage";
|
|
861
|
+
read: "read";
|
|
863
862
|
extract: "extract";
|
|
863
|
+
review: "review";
|
|
864
864
|
}>>;
|
|
865
865
|
at: z.ZodString;
|
|
866
866
|
from: z.ZodEnum<{
|
|
@@ -886,12 +886,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
886
886
|
round: z.ZodNumber;
|
|
887
887
|
step: z.ZodOptional<z.ZodEnum<{
|
|
888
888
|
check: "check";
|
|
889
|
-
triage: "triage";
|
|
890
|
-
review: "review";
|
|
891
|
-
read: "read";
|
|
892
889
|
plan: "plan";
|
|
893
890
|
fetch: "fetch";
|
|
891
|
+
triage: "triage";
|
|
892
|
+
read: "read";
|
|
894
893
|
extract: "extract";
|
|
894
|
+
review: "review";
|
|
895
895
|
}>>;
|
|
896
896
|
at: z.ZodString;
|
|
897
897
|
from: z.ZodEnum<{
|
|
@@ -921,12 +921,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
921
921
|
round: z.ZodNumber;
|
|
922
922
|
step: z.ZodOptional<z.ZodEnum<{
|
|
923
923
|
check: "check";
|
|
924
|
-
triage: "triage";
|
|
925
|
-
review: "review";
|
|
926
|
-
read: "read";
|
|
927
924
|
plan: "plan";
|
|
928
925
|
fetch: "fetch";
|
|
926
|
+
triage: "triage";
|
|
927
|
+
read: "read";
|
|
929
928
|
extract: "extract";
|
|
929
|
+
review: "review";
|
|
930
930
|
}>>;
|
|
931
931
|
at: z.ZodString;
|
|
932
932
|
from: z.ZodEnum<{
|
|
@@ -953,12 +953,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
953
953
|
round: z.ZodNumber;
|
|
954
954
|
step: z.ZodOptional<z.ZodEnum<{
|
|
955
955
|
check: "check";
|
|
956
|
-
triage: "triage";
|
|
957
|
-
review: "review";
|
|
958
|
-
read: "read";
|
|
959
956
|
plan: "plan";
|
|
960
957
|
fetch: "fetch";
|
|
958
|
+
triage: "triage";
|
|
959
|
+
read: "read";
|
|
961
960
|
extract: "extract";
|
|
961
|
+
review: "review";
|
|
962
962
|
}>>;
|
|
963
963
|
at: z.ZodString;
|
|
964
964
|
from: z.ZodEnum<{
|
|
@@ -982,12 +982,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
982
982
|
round: z.ZodNumber;
|
|
983
983
|
step: z.ZodOptional<z.ZodEnum<{
|
|
984
984
|
check: "check";
|
|
985
|
-
triage: "triage";
|
|
986
|
-
review: "review";
|
|
987
|
-
read: "read";
|
|
988
985
|
plan: "plan";
|
|
989
986
|
fetch: "fetch";
|
|
987
|
+
triage: "triage";
|
|
988
|
+
read: "read";
|
|
990
989
|
extract: "extract";
|
|
990
|
+
review: "review";
|
|
991
991
|
}>>;
|
|
992
992
|
at: z.ZodString;
|
|
993
993
|
from: z.ZodEnum<{
|
|
@@ -1009,12 +1009,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1009
1009
|
round: z.ZodNumber;
|
|
1010
1010
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1011
1011
|
check: "check";
|
|
1012
|
-
triage: "triage";
|
|
1013
|
-
review: "review";
|
|
1014
|
-
read: "read";
|
|
1015
1012
|
plan: "plan";
|
|
1016
1013
|
fetch: "fetch";
|
|
1014
|
+
triage: "triage";
|
|
1015
|
+
read: "read";
|
|
1017
1016
|
extract: "extract";
|
|
1017
|
+
review: "review";
|
|
1018
1018
|
}>>;
|
|
1019
1019
|
at: z.ZodString;
|
|
1020
1020
|
from: z.ZodEnum<{
|
|
@@ -1052,12 +1052,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1052
1052
|
round: z.ZodNumber;
|
|
1053
1053
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1054
1054
|
check: "check";
|
|
1055
|
-
triage: "triage";
|
|
1056
|
-
review: "review";
|
|
1057
|
-
read: "read";
|
|
1058
1055
|
plan: "plan";
|
|
1059
1056
|
fetch: "fetch";
|
|
1057
|
+
triage: "triage";
|
|
1058
|
+
read: "read";
|
|
1060
1059
|
extract: "extract";
|
|
1060
|
+
review: "review";
|
|
1061
1061
|
}>>;
|
|
1062
1062
|
at: z.ZodString;
|
|
1063
1063
|
from: z.ZodEnum<{
|
|
@@ -1113,12 +1113,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1113
1113
|
round: z.ZodNumber;
|
|
1114
1114
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1115
1115
|
check: "check";
|
|
1116
|
-
triage: "triage";
|
|
1117
|
-
review: "review";
|
|
1118
|
-
read: "read";
|
|
1119
1116
|
plan: "plan";
|
|
1120
1117
|
fetch: "fetch";
|
|
1118
|
+
triage: "triage";
|
|
1119
|
+
read: "read";
|
|
1121
1120
|
extract: "extract";
|
|
1121
|
+
review: "review";
|
|
1122
1122
|
}>>;
|
|
1123
1123
|
at: z.ZodString;
|
|
1124
1124
|
from: z.ZodEnum<{
|
|
@@ -1135,10 +1135,10 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1135
1135
|
back: "back";
|
|
1136
1136
|
}>;
|
|
1137
1137
|
to: z.ZodOptional<z.ZodEnum<{
|
|
1138
|
-
triage: "triage";
|
|
1139
|
-
read: "read";
|
|
1140
1138
|
plan: "plan";
|
|
1141
1139
|
fetch: "fetch";
|
|
1140
|
+
triage: "triage";
|
|
1141
|
+
read: "read";
|
|
1142
1142
|
extract: "extract";
|
|
1143
1143
|
}>>;
|
|
1144
1144
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1155,12 +1155,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1155
1155
|
type: z.ZodLiteral<"done">;
|
|
1156
1156
|
step: z.ZodEnum<{
|
|
1157
1157
|
check: "check";
|
|
1158
|
-
triage: "triage";
|
|
1159
|
-
review: "review";
|
|
1160
|
-
read: "read";
|
|
1161
1158
|
plan: "plan";
|
|
1162
1159
|
fetch: "fetch";
|
|
1160
|
+
triage: "triage";
|
|
1161
|
+
read: "read";
|
|
1163
1162
|
extract: "extract";
|
|
1163
|
+
review: "review";
|
|
1164
1164
|
}>;
|
|
1165
1165
|
ok: z.ZodBoolean;
|
|
1166
1166
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -1170,12 +1170,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1170
1170
|
round: z.ZodNumber;
|
|
1171
1171
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1172
1172
|
check: "check";
|
|
1173
|
-
triage: "triage";
|
|
1174
|
-
review: "review";
|
|
1175
|
-
read: "read";
|
|
1176
1173
|
plan: "plan";
|
|
1177
1174
|
fetch: "fetch";
|
|
1175
|
+
triage: "triage";
|
|
1176
|
+
read: "read";
|
|
1178
1177
|
extract: "extract";
|
|
1178
|
+
review: "review";
|
|
1179
1179
|
}>>;
|
|
1180
1180
|
at: z.ZodString;
|
|
1181
1181
|
from: z.ZodEnum<{
|
|
@@ -1192,12 +1192,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1192
1192
|
round: z.ZodNumber;
|
|
1193
1193
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1194
1194
|
check: "check";
|
|
1195
|
-
triage: "triage";
|
|
1196
|
-
review: "review";
|
|
1197
|
-
read: "read";
|
|
1198
1195
|
plan: "plan";
|
|
1199
1196
|
fetch: "fetch";
|
|
1197
|
+
triage: "triage";
|
|
1198
|
+
read: "read";
|
|
1200
1199
|
extract: "extract";
|
|
1200
|
+
review: "review";
|
|
1201
1201
|
}>>;
|
|
1202
1202
|
at: z.ZodString;
|
|
1203
1203
|
from: z.ZodEnum<{
|
|
@@ -1215,12 +1215,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1215
1215
|
round: z.ZodNumber;
|
|
1216
1216
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1217
1217
|
check: "check";
|
|
1218
|
-
triage: "triage";
|
|
1219
|
-
review: "review";
|
|
1220
|
-
read: "read";
|
|
1221
1218
|
plan: "plan";
|
|
1222
1219
|
fetch: "fetch";
|
|
1220
|
+
triage: "triage";
|
|
1221
|
+
read: "read";
|
|
1223
1222
|
extract: "extract";
|
|
1223
|
+
review: "review";
|
|
1224
1224
|
}>>;
|
|
1225
1225
|
at: z.ZodString;
|
|
1226
1226
|
from: z.ZodEnum<{
|
|
@@ -1239,12 +1239,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1239
1239
|
round: z.ZodNumber;
|
|
1240
1240
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1241
1241
|
check: "check";
|
|
1242
|
-
triage: "triage";
|
|
1243
|
-
review: "review";
|
|
1244
|
-
read: "read";
|
|
1245
1242
|
plan: "plan";
|
|
1246
1243
|
fetch: "fetch";
|
|
1244
|
+
triage: "triage";
|
|
1245
|
+
read: "read";
|
|
1247
1246
|
extract: "extract";
|
|
1247
|
+
review: "review";
|
|
1248
1248
|
}>>;
|
|
1249
1249
|
at: z.ZodString;
|
|
1250
1250
|
from: z.ZodEnum<{
|
|
@@ -1263,12 +1263,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1263
1263
|
round: z.ZodNumber;
|
|
1264
1264
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1265
1265
|
check: "check";
|
|
1266
|
-
triage: "triage";
|
|
1267
|
-
review: "review";
|
|
1268
|
-
read: "read";
|
|
1269
1266
|
plan: "plan";
|
|
1270
1267
|
fetch: "fetch";
|
|
1268
|
+
triage: "triage";
|
|
1269
|
+
read: "read";
|
|
1271
1270
|
extract: "extract";
|
|
1271
|
+
review: "review";
|
|
1272
1272
|
}>>;
|
|
1273
1273
|
at: z.ZodString;
|
|
1274
1274
|
from: z.ZodEnum<{
|
|
@@ -1286,12 +1286,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1286
1286
|
round: z.ZodNumber;
|
|
1287
1287
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1288
1288
|
check: "check";
|
|
1289
|
-
triage: "triage";
|
|
1290
|
-
review: "review";
|
|
1291
|
-
read: "read";
|
|
1292
1289
|
plan: "plan";
|
|
1293
1290
|
fetch: "fetch";
|
|
1291
|
+
triage: "triage";
|
|
1292
|
+
read: "read";
|
|
1294
1293
|
extract: "extract";
|
|
1294
|
+
review: "review";
|
|
1295
1295
|
}>>;
|
|
1296
1296
|
at: z.ZodString;
|
|
1297
1297
|
from: z.ZodEnum<{
|
|
@@ -1317,12 +1317,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1317
1317
|
round: z.ZodNumber;
|
|
1318
1318
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1319
1319
|
check: "check";
|
|
1320
|
-
triage: "triage";
|
|
1321
|
-
review: "review";
|
|
1322
|
-
read: "read";
|
|
1323
1320
|
plan: "plan";
|
|
1324
1321
|
fetch: "fetch";
|
|
1322
|
+
triage: "triage";
|
|
1323
|
+
read: "read";
|
|
1325
1324
|
extract: "extract";
|
|
1325
|
+
review: "review";
|
|
1326
1326
|
}>>;
|
|
1327
1327
|
at: z.ZodString;
|
|
1328
1328
|
from: z.ZodEnum<{
|
|
@@ -1349,12 +1349,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1349
1349
|
round: z.ZodNumber;
|
|
1350
1350
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1351
1351
|
check: "check";
|
|
1352
|
-
triage: "triage";
|
|
1353
|
-
review: "review";
|
|
1354
|
-
read: "read";
|
|
1355
1352
|
plan: "plan";
|
|
1356
1353
|
fetch: "fetch";
|
|
1354
|
+
triage: "triage";
|
|
1355
|
+
read: "read";
|
|
1357
1356
|
extract: "extract";
|
|
1357
|
+
review: "review";
|
|
1358
1358
|
}>>;
|
|
1359
1359
|
at: z.ZodString;
|
|
1360
1360
|
from: z.ZodEnum<{
|
|
@@ -1372,12 +1372,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1372
1372
|
round: z.ZodNumber;
|
|
1373
1373
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1374
1374
|
check: "check";
|
|
1375
|
-
triage: "triage";
|
|
1376
|
-
review: "review";
|
|
1377
|
-
read: "read";
|
|
1378
1375
|
plan: "plan";
|
|
1379
1376
|
fetch: "fetch";
|
|
1377
|
+
triage: "triage";
|
|
1378
|
+
read: "read";
|
|
1380
1379
|
extract: "extract";
|
|
1380
|
+
review: "review";
|
|
1381
1381
|
}>>;
|
|
1382
1382
|
at: z.ZodString;
|
|
1383
1383
|
from: z.ZodEnum<{
|
|
@@ -1395,12 +1395,12 @@ export declare const LedgerRecord: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1395
1395
|
round: z.ZodNumber;
|
|
1396
1396
|
step: z.ZodOptional<z.ZodEnum<{
|
|
1397
1397
|
check: "check";
|
|
1398
|
-
triage: "triage";
|
|
1399
|
-
review: "review";
|
|
1400
|
-
read: "read";
|
|
1401
1398
|
plan: "plan";
|
|
1402
1399
|
fetch: "fetch";
|
|
1400
|
+
triage: "triage";
|
|
1401
|
+
read: "read";
|
|
1403
1402
|
extract: "extract";
|
|
1403
|
+
review: "review";
|
|
1404
1404
|
}>>;
|
|
1405
1405
|
at: z.ZodString;
|
|
1406
1406
|
from: z.ZodEnum<{
|