opencode-plugin-flow 4.3.8 → 4.4.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/CHANGELOG.md +50 -0
- package/README.md +26 -18
- package/dist/adapters/opencode/tools.d.ts +33 -11
- package/dist/cli.js +620 -543
- package/dist/cli.js.map +3 -3
- package/dist/config-shared.d.ts +2 -2
- package/dist/index.js +1504 -712
- package/dist/index.js.map +11 -9
- package/dist/prompt-baseline-fixtures.d.ts +19 -0
- package/dist/prompt-model-evaluation.d.ts +99 -0
- package/dist/prompt-quality.d.ts +73 -0
- package/dist/prompt-surfaces.d.ts +28 -0
- package/dist/runtime/api.d.ts +26 -7
- package/dist/runtime/schema.d.ts +260 -66
- package/dist/runtime/transitions.d.ts +18 -8
- package/dist/runtime/workspace.d.ts +1 -0
- package/package.json +4 -2
package/dist/runtime/schema.d.ts
CHANGED
|
@@ -36,30 +36,48 @@ export declare const FinalReviewPolicySchema: z.ZodEnum<{
|
|
|
36
36
|
detailed: "detailed";
|
|
37
37
|
}>;
|
|
38
38
|
export declare const OrchestrationPassKindSchema: z.ZodEnum<{
|
|
39
|
-
|
|
39
|
+
validation: "validation";
|
|
40
40
|
audit: "audit";
|
|
41
|
+
candidate: "candidate";
|
|
42
|
+
discovery: "discovery";
|
|
41
43
|
review: "review";
|
|
42
|
-
validation: "validation";
|
|
43
44
|
verification: "verification";
|
|
44
|
-
candidate: "candidate";
|
|
45
45
|
"implementation-decision": "implementation-decision";
|
|
46
46
|
}>;
|
|
47
47
|
export declare const OrchestrationModeSchema: z.ZodEnum<{
|
|
48
|
-
audit: "audit";
|
|
49
|
-
review: "review";
|
|
50
|
-
validation: "validation";
|
|
51
48
|
evidence: "evidence";
|
|
49
|
+
validation: "validation";
|
|
50
|
+
audit: "audit";
|
|
52
51
|
verifier: "verifier";
|
|
52
|
+
review: "review";
|
|
53
53
|
"candidate-implementation": "candidate-implementation";
|
|
54
54
|
}>;
|
|
55
55
|
export declare const OrchestrationDecisionSchema: z.ZodEnum<{
|
|
56
|
-
serial: "serial";
|
|
57
56
|
parallel: "parallel";
|
|
57
|
+
serial: "serial";
|
|
58
58
|
"candidate-exact-path": "candidate-exact-path";
|
|
59
59
|
"candidate-worktree": "candidate-worktree";
|
|
60
60
|
tournament: "tournament";
|
|
61
61
|
skipped: "skipped";
|
|
62
62
|
}>;
|
|
63
|
+
export declare const OrchestrationCandidateEligibilitySchema: z.ZodEnum<{
|
|
64
|
+
eligible: "eligible";
|
|
65
|
+
not_eligible: "not_eligible";
|
|
66
|
+
unknown: "unknown";
|
|
67
|
+
}>;
|
|
68
|
+
export declare const OrchestrationCandidateDecisionSchema: z.ZodEnum<{
|
|
69
|
+
skipped: "skipped";
|
|
70
|
+
used: "used";
|
|
71
|
+
serial_required: "serial_required";
|
|
72
|
+
}>;
|
|
73
|
+
export declare const OrchestrationDecisionFactorSchema: z.ZodEnum<{
|
|
74
|
+
shared_state: "shared_state";
|
|
75
|
+
overlapping_files: "overlapping_files";
|
|
76
|
+
small_slice: "small_slice";
|
|
77
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
78
|
+
independent_surface: "independent_surface";
|
|
79
|
+
validation_available: "validation_available";
|
|
80
|
+
}>;
|
|
63
81
|
export declare const OrchestrationWriteScopeSchema: z.ZodEnum<{
|
|
64
82
|
none: "none";
|
|
65
83
|
"manager-serial": "manager-serial";
|
|
@@ -77,37 +95,67 @@ export declare const OrchestrationVerificationStatusSchema: z.ZodEnum<{
|
|
|
77
95
|
}>;
|
|
78
96
|
export declare const OrchestrationOutcomeSchema: z.ZodEnum<{
|
|
79
97
|
accepted: "accepted";
|
|
98
|
+
modified: "modified";
|
|
80
99
|
rejected: "rejected";
|
|
81
100
|
partial: "partial";
|
|
82
101
|
"not-covered": "not-covered";
|
|
83
102
|
superseded: "superseded";
|
|
84
103
|
}>;
|
|
104
|
+
export declare function isCandidateShapedDecision(decision: string | undefined): boolean;
|
|
105
|
+
export declare function hasCandidateExecutionEvidence(pass: {
|
|
106
|
+
kind: string;
|
|
107
|
+
modes: readonly string[];
|
|
108
|
+
candidateWorkerCount: number;
|
|
109
|
+
}): boolean;
|
|
110
|
+
export declare function hasVerifierExecutionEvidence(pass: {
|
|
111
|
+
kind: string;
|
|
112
|
+
modes: readonly string[];
|
|
113
|
+
verifierWorkerCount: number;
|
|
114
|
+
}): boolean;
|
|
85
115
|
export declare const OrchestrationPassRecordSchema: z.ZodObject<{
|
|
86
116
|
id: z.ZodString;
|
|
87
117
|
kind: z.ZodEnum<{
|
|
88
|
-
|
|
118
|
+
validation: "validation";
|
|
89
119
|
audit: "audit";
|
|
120
|
+
candidate: "candidate";
|
|
121
|
+
discovery: "discovery";
|
|
90
122
|
review: "review";
|
|
91
|
-
validation: "validation";
|
|
92
123
|
verification: "verification";
|
|
93
|
-
candidate: "candidate";
|
|
94
124
|
"implementation-decision": "implementation-decision";
|
|
95
125
|
}>;
|
|
96
126
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
97
|
-
serial: "serial";
|
|
98
127
|
parallel: "parallel";
|
|
128
|
+
serial: "serial";
|
|
99
129
|
"candidate-exact-path": "candidate-exact-path";
|
|
100
130
|
"candidate-worktree": "candidate-worktree";
|
|
101
131
|
tournament: "tournament";
|
|
102
132
|
skipped: "skipped";
|
|
103
133
|
}>>;
|
|
104
134
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
135
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
136
|
+
eligible: "eligible";
|
|
137
|
+
not_eligible: "not_eligible";
|
|
138
|
+
unknown: "unknown";
|
|
139
|
+
}>>;
|
|
140
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
skipped: "skipped";
|
|
142
|
+
used: "used";
|
|
143
|
+
serial_required: "serial_required";
|
|
144
|
+
}>>;
|
|
145
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
146
|
+
shared_state: "shared_state";
|
|
147
|
+
overlapping_files: "overlapping_files";
|
|
148
|
+
small_slice: "small_slice";
|
|
149
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
150
|
+
independent_surface: "independent_surface";
|
|
151
|
+
validation_available: "validation_available";
|
|
152
|
+
}>>>;
|
|
105
153
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
106
|
-
audit: "audit";
|
|
107
|
-
review: "review";
|
|
108
|
-
validation: "validation";
|
|
109
154
|
evidence: "evidence";
|
|
155
|
+
validation: "validation";
|
|
156
|
+
audit: "audit";
|
|
110
157
|
verifier: "verifier";
|
|
158
|
+
review: "review";
|
|
111
159
|
"candidate-implementation": "candidate-implementation";
|
|
112
160
|
}>>>;
|
|
113
161
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -133,6 +181,7 @@ export declare const OrchestrationPassRecordSchema: z.ZodObject<{
|
|
|
133
181
|
}>>;
|
|
134
182
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
135
183
|
accepted: "accepted";
|
|
184
|
+
modified: "modified";
|
|
136
185
|
rejected: "rejected";
|
|
137
186
|
partial: "partial";
|
|
138
187
|
"not-covered": "not-covered";
|
|
@@ -145,33 +194,55 @@ export declare const OrchestrationTelemetrySchema: z.ZodObject<{
|
|
|
145
194
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
146
195
|
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
147
196
|
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
197
|
+
candidateEligibleCount: z.ZodDefault<z.ZodNumber>;
|
|
198
|
+
candidateUsedDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
199
|
+
candidateSerialRequiredDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
148
200
|
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
201
|
+
recordedPassIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
149
202
|
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
150
203
|
id: z.ZodString;
|
|
151
204
|
kind: z.ZodEnum<{
|
|
152
|
-
|
|
205
|
+
validation: "validation";
|
|
153
206
|
audit: "audit";
|
|
207
|
+
candidate: "candidate";
|
|
208
|
+
discovery: "discovery";
|
|
154
209
|
review: "review";
|
|
155
|
-
validation: "validation";
|
|
156
210
|
verification: "verification";
|
|
157
|
-
candidate: "candidate";
|
|
158
211
|
"implementation-decision": "implementation-decision";
|
|
159
212
|
}>;
|
|
160
213
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
161
|
-
serial: "serial";
|
|
162
214
|
parallel: "parallel";
|
|
215
|
+
serial: "serial";
|
|
163
216
|
"candidate-exact-path": "candidate-exact-path";
|
|
164
217
|
"candidate-worktree": "candidate-worktree";
|
|
165
218
|
tournament: "tournament";
|
|
166
219
|
skipped: "skipped";
|
|
167
220
|
}>>;
|
|
168
221
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
222
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
223
|
+
eligible: "eligible";
|
|
224
|
+
not_eligible: "not_eligible";
|
|
225
|
+
unknown: "unknown";
|
|
226
|
+
}>>;
|
|
227
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
228
|
+
skipped: "skipped";
|
|
229
|
+
used: "used";
|
|
230
|
+
serial_required: "serial_required";
|
|
231
|
+
}>>;
|
|
232
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
233
|
+
shared_state: "shared_state";
|
|
234
|
+
overlapping_files: "overlapping_files";
|
|
235
|
+
small_slice: "small_slice";
|
|
236
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
237
|
+
independent_surface: "independent_surface";
|
|
238
|
+
validation_available: "validation_available";
|
|
239
|
+
}>>>;
|
|
169
240
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
170
|
-
audit: "audit";
|
|
171
|
-
review: "review";
|
|
172
|
-
validation: "validation";
|
|
173
241
|
evidence: "evidence";
|
|
242
|
+
validation: "validation";
|
|
243
|
+
audit: "audit";
|
|
174
244
|
verifier: "verifier";
|
|
245
|
+
review: "review";
|
|
175
246
|
"candidate-implementation": "candidate-implementation";
|
|
176
247
|
}>>>;
|
|
177
248
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -197,6 +268,7 @@ export declare const OrchestrationTelemetrySchema: z.ZodObject<{
|
|
|
197
268
|
}>>;
|
|
198
269
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
199
270
|
accepted: "accepted";
|
|
271
|
+
modified: "modified";
|
|
200
272
|
rejected: "rejected";
|
|
201
273
|
partial: "partial";
|
|
202
274
|
"not-covered": "not-covered";
|
|
@@ -420,29 +492,47 @@ export declare const WorkerResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
420
492
|
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
421
493
|
id: z.ZodString;
|
|
422
494
|
kind: z.ZodEnum<{
|
|
423
|
-
|
|
495
|
+
validation: "validation";
|
|
424
496
|
audit: "audit";
|
|
497
|
+
candidate: "candidate";
|
|
498
|
+
discovery: "discovery";
|
|
425
499
|
review: "review";
|
|
426
|
-
validation: "validation";
|
|
427
500
|
verification: "verification";
|
|
428
|
-
candidate: "candidate";
|
|
429
501
|
"implementation-decision": "implementation-decision";
|
|
430
502
|
}>;
|
|
431
503
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
432
|
-
serial: "serial";
|
|
433
504
|
parallel: "parallel";
|
|
505
|
+
serial: "serial";
|
|
434
506
|
"candidate-exact-path": "candidate-exact-path";
|
|
435
507
|
"candidate-worktree": "candidate-worktree";
|
|
436
508
|
tournament: "tournament";
|
|
437
509
|
skipped: "skipped";
|
|
438
510
|
}>>;
|
|
439
511
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
512
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
513
|
+
eligible: "eligible";
|
|
514
|
+
not_eligible: "not_eligible";
|
|
515
|
+
unknown: "unknown";
|
|
516
|
+
}>>;
|
|
517
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
518
|
+
skipped: "skipped";
|
|
519
|
+
used: "used";
|
|
520
|
+
serial_required: "serial_required";
|
|
521
|
+
}>>;
|
|
522
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
523
|
+
shared_state: "shared_state";
|
|
524
|
+
overlapping_files: "overlapping_files";
|
|
525
|
+
small_slice: "small_slice";
|
|
526
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
527
|
+
independent_surface: "independent_surface";
|
|
528
|
+
validation_available: "validation_available";
|
|
529
|
+
}>>>;
|
|
440
530
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
441
|
-
audit: "audit";
|
|
442
|
-
review: "review";
|
|
443
|
-
validation: "validation";
|
|
444
531
|
evidence: "evidence";
|
|
532
|
+
validation: "validation";
|
|
533
|
+
audit: "audit";
|
|
445
534
|
verifier: "verifier";
|
|
535
|
+
review: "review";
|
|
446
536
|
"candidate-implementation": "candidate-implementation";
|
|
447
537
|
}>>>;
|
|
448
538
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -468,6 +558,7 @@ export declare const WorkerResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
468
558
|
}>>;
|
|
469
559
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
470
560
|
accepted: "accepted";
|
|
561
|
+
modified: "modified";
|
|
471
562
|
rejected: "rejected";
|
|
472
563
|
partial: "partial";
|
|
473
564
|
"not-covered": "not-covered";
|
|
@@ -543,29 +634,47 @@ export declare const WorkerResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
543
634
|
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
544
635
|
id: z.ZodString;
|
|
545
636
|
kind: z.ZodEnum<{
|
|
546
|
-
|
|
637
|
+
validation: "validation";
|
|
547
638
|
audit: "audit";
|
|
639
|
+
candidate: "candidate";
|
|
640
|
+
discovery: "discovery";
|
|
548
641
|
review: "review";
|
|
549
|
-
validation: "validation";
|
|
550
642
|
verification: "verification";
|
|
551
|
-
candidate: "candidate";
|
|
552
643
|
"implementation-decision": "implementation-decision";
|
|
553
644
|
}>;
|
|
554
645
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
555
|
-
serial: "serial";
|
|
556
646
|
parallel: "parallel";
|
|
647
|
+
serial: "serial";
|
|
557
648
|
"candidate-exact-path": "candidate-exact-path";
|
|
558
649
|
"candidate-worktree": "candidate-worktree";
|
|
559
650
|
tournament: "tournament";
|
|
560
651
|
skipped: "skipped";
|
|
561
652
|
}>>;
|
|
562
653
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
654
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
655
|
+
eligible: "eligible";
|
|
656
|
+
not_eligible: "not_eligible";
|
|
657
|
+
unknown: "unknown";
|
|
658
|
+
}>>;
|
|
659
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
660
|
+
skipped: "skipped";
|
|
661
|
+
used: "used";
|
|
662
|
+
serial_required: "serial_required";
|
|
663
|
+
}>>;
|
|
664
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
665
|
+
shared_state: "shared_state";
|
|
666
|
+
overlapping_files: "overlapping_files";
|
|
667
|
+
small_slice: "small_slice";
|
|
668
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
669
|
+
independent_surface: "independent_surface";
|
|
670
|
+
validation_available: "validation_available";
|
|
671
|
+
}>>>;
|
|
563
672
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
564
|
-
audit: "audit";
|
|
565
|
-
review: "review";
|
|
566
|
-
validation: "validation";
|
|
567
673
|
evidence: "evidence";
|
|
674
|
+
validation: "validation";
|
|
675
|
+
audit: "audit";
|
|
568
676
|
verifier: "verifier";
|
|
677
|
+
review: "review";
|
|
569
678
|
"candidate-implementation": "candidate-implementation";
|
|
570
679
|
}>>>;
|
|
571
680
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -591,6 +700,7 @@ export declare const WorkerResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
591
700
|
}>>;
|
|
592
701
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
593
702
|
accepted: "accepted";
|
|
703
|
+
modified: "modified";
|
|
594
704
|
rejected: "rejected";
|
|
595
705
|
partial: "partial";
|
|
596
706
|
"not-covered": "not-covered";
|
|
@@ -673,29 +783,47 @@ export declare const ExecutionHistoryEntrySchema: z.ZodObject<{
|
|
|
673
783
|
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
674
784
|
id: z.ZodString;
|
|
675
785
|
kind: z.ZodEnum<{
|
|
676
|
-
|
|
786
|
+
validation: "validation";
|
|
677
787
|
audit: "audit";
|
|
788
|
+
candidate: "candidate";
|
|
789
|
+
discovery: "discovery";
|
|
678
790
|
review: "review";
|
|
679
|
-
validation: "validation";
|
|
680
791
|
verification: "verification";
|
|
681
|
-
candidate: "candidate";
|
|
682
792
|
"implementation-decision": "implementation-decision";
|
|
683
793
|
}>;
|
|
684
794
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
685
|
-
serial: "serial";
|
|
686
795
|
parallel: "parallel";
|
|
796
|
+
serial: "serial";
|
|
687
797
|
"candidate-exact-path": "candidate-exact-path";
|
|
688
798
|
"candidate-worktree": "candidate-worktree";
|
|
689
799
|
tournament: "tournament";
|
|
690
800
|
skipped: "skipped";
|
|
691
801
|
}>>;
|
|
692
802
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
803
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
804
|
+
eligible: "eligible";
|
|
805
|
+
not_eligible: "not_eligible";
|
|
806
|
+
unknown: "unknown";
|
|
807
|
+
}>>;
|
|
808
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
809
|
+
skipped: "skipped";
|
|
810
|
+
used: "used";
|
|
811
|
+
serial_required: "serial_required";
|
|
812
|
+
}>>;
|
|
813
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
814
|
+
shared_state: "shared_state";
|
|
815
|
+
overlapping_files: "overlapping_files";
|
|
816
|
+
small_slice: "small_slice";
|
|
817
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
818
|
+
independent_surface: "independent_surface";
|
|
819
|
+
validation_available: "validation_available";
|
|
820
|
+
}>>>;
|
|
693
821
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
694
|
-
audit: "audit";
|
|
695
|
-
review: "review";
|
|
696
|
-
validation: "validation";
|
|
697
822
|
evidence: "evidence";
|
|
823
|
+
validation: "validation";
|
|
824
|
+
audit: "audit";
|
|
698
825
|
verifier: "verifier";
|
|
826
|
+
review: "review";
|
|
699
827
|
"candidate-implementation": "candidate-implementation";
|
|
700
828
|
}>>>;
|
|
701
829
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -721,6 +849,7 @@ export declare const ExecutionHistoryEntrySchema: z.ZodObject<{
|
|
|
721
849
|
}>>;
|
|
722
850
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
723
851
|
accepted: "accepted";
|
|
852
|
+
modified: "modified";
|
|
724
853
|
rejected: "rejected";
|
|
725
854
|
partial: "partial";
|
|
726
855
|
"not-covered": "not-covered";
|
|
@@ -763,38 +892,60 @@ export declare const BudgetTelemetrySchema: z.ZodObject<{
|
|
|
763
892
|
cacheReadTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
764
893
|
nonCacheTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
765
894
|
}, z.core.$strict>>;
|
|
766
|
-
orchestration: z.
|
|
895
|
+
orchestration: z.ZodPrefault<z.ZodObject<{
|
|
767
896
|
passCount: z.ZodDefault<z.ZodNumber>;
|
|
768
897
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
769
898
|
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
770
899
|
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
900
|
+
candidateEligibleCount: z.ZodDefault<z.ZodNumber>;
|
|
901
|
+
candidateUsedDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
902
|
+
candidateSerialRequiredDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
771
903
|
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
904
|
+
recordedPassIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
772
905
|
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
773
906
|
id: z.ZodString;
|
|
774
907
|
kind: z.ZodEnum<{
|
|
775
|
-
|
|
908
|
+
validation: "validation";
|
|
776
909
|
audit: "audit";
|
|
910
|
+
candidate: "candidate";
|
|
911
|
+
discovery: "discovery";
|
|
777
912
|
review: "review";
|
|
778
|
-
validation: "validation";
|
|
779
913
|
verification: "verification";
|
|
780
|
-
candidate: "candidate";
|
|
781
914
|
"implementation-decision": "implementation-decision";
|
|
782
915
|
}>;
|
|
783
916
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
784
|
-
serial: "serial";
|
|
785
917
|
parallel: "parallel";
|
|
918
|
+
serial: "serial";
|
|
786
919
|
"candidate-exact-path": "candidate-exact-path";
|
|
787
920
|
"candidate-worktree": "candidate-worktree";
|
|
788
921
|
tournament: "tournament";
|
|
789
922
|
skipped: "skipped";
|
|
790
923
|
}>>;
|
|
791
924
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
925
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
926
|
+
eligible: "eligible";
|
|
927
|
+
not_eligible: "not_eligible";
|
|
928
|
+
unknown: "unknown";
|
|
929
|
+
}>>;
|
|
930
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
931
|
+
skipped: "skipped";
|
|
932
|
+
used: "used";
|
|
933
|
+
serial_required: "serial_required";
|
|
934
|
+
}>>;
|
|
935
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
936
|
+
shared_state: "shared_state";
|
|
937
|
+
overlapping_files: "overlapping_files";
|
|
938
|
+
small_slice: "small_slice";
|
|
939
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
940
|
+
independent_surface: "independent_surface";
|
|
941
|
+
validation_available: "validation_available";
|
|
942
|
+
}>>>;
|
|
792
943
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
793
|
-
audit: "audit";
|
|
794
|
-
review: "review";
|
|
795
|
-
validation: "validation";
|
|
796
944
|
evidence: "evidence";
|
|
945
|
+
validation: "validation";
|
|
946
|
+
audit: "audit";
|
|
797
947
|
verifier: "verifier";
|
|
948
|
+
review: "review";
|
|
798
949
|
"candidate-implementation": "candidate-implementation";
|
|
799
950
|
}>>>;
|
|
800
951
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -820,6 +971,7 @@ export declare const BudgetTelemetrySchema: z.ZodObject<{
|
|
|
820
971
|
}>>;
|
|
821
972
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
822
973
|
accepted: "accepted";
|
|
974
|
+
modified: "modified";
|
|
823
975
|
rejected: "rejected";
|
|
824
976
|
partial: "partial";
|
|
825
977
|
"not-covered": "not-covered";
|
|
@@ -958,29 +1110,47 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
958
1110
|
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
959
1111
|
id: z.ZodString;
|
|
960
1112
|
kind: z.ZodEnum<{
|
|
961
|
-
|
|
1113
|
+
validation: "validation";
|
|
962
1114
|
audit: "audit";
|
|
1115
|
+
candidate: "candidate";
|
|
1116
|
+
discovery: "discovery";
|
|
963
1117
|
review: "review";
|
|
964
|
-
validation: "validation";
|
|
965
1118
|
verification: "verification";
|
|
966
|
-
candidate: "candidate";
|
|
967
1119
|
"implementation-decision": "implementation-decision";
|
|
968
1120
|
}>;
|
|
969
1121
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
970
|
-
serial: "serial";
|
|
971
1122
|
parallel: "parallel";
|
|
1123
|
+
serial: "serial";
|
|
972
1124
|
"candidate-exact-path": "candidate-exact-path";
|
|
973
1125
|
"candidate-worktree": "candidate-worktree";
|
|
974
1126
|
tournament: "tournament";
|
|
975
1127
|
skipped: "skipped";
|
|
976
1128
|
}>>;
|
|
977
1129
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
1131
|
+
eligible: "eligible";
|
|
1132
|
+
not_eligible: "not_eligible";
|
|
1133
|
+
unknown: "unknown";
|
|
1134
|
+
}>>;
|
|
1135
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
1136
|
+
skipped: "skipped";
|
|
1137
|
+
used: "used";
|
|
1138
|
+
serial_required: "serial_required";
|
|
1139
|
+
}>>;
|
|
1140
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1141
|
+
shared_state: "shared_state";
|
|
1142
|
+
overlapping_files: "overlapping_files";
|
|
1143
|
+
small_slice: "small_slice";
|
|
1144
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
1145
|
+
independent_surface: "independent_surface";
|
|
1146
|
+
validation_available: "validation_available";
|
|
1147
|
+
}>>>;
|
|
978
1148
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
979
|
-
audit: "audit";
|
|
980
|
-
review: "review";
|
|
981
|
-
validation: "validation";
|
|
982
1149
|
evidence: "evidence";
|
|
1150
|
+
validation: "validation";
|
|
1151
|
+
audit: "audit";
|
|
983
1152
|
verifier: "verifier";
|
|
1153
|
+
review: "review";
|
|
984
1154
|
"candidate-implementation": "candidate-implementation";
|
|
985
1155
|
}>>>;
|
|
986
1156
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1006,6 +1176,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1006
1176
|
}>>;
|
|
1007
1177
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
1008
1178
|
accepted: "accepted";
|
|
1179
|
+
modified: "modified";
|
|
1009
1180
|
rejected: "rejected";
|
|
1010
1181
|
partial: "partial";
|
|
1011
1182
|
"not-covered": "not-covered";
|
|
@@ -1014,7 +1185,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1014
1185
|
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
1015
1186
|
}, z.core.$strict>>>;
|
|
1016
1187
|
}, z.core.$strict>>>;
|
|
1017
|
-
budget: z.
|
|
1188
|
+
budget: z.ZodPrefault<z.ZodObject<{
|
|
1018
1189
|
phaseStartedAt: z.ZodDefault<z.ZodString>;
|
|
1019
1190
|
completedFeaturesSinceBoundary: z.ZodDefault<z.ZodNumber>;
|
|
1020
1191
|
reviewCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1029,38 +1200,60 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1029
1200
|
cacheReadTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1030
1201
|
nonCacheTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1031
1202
|
}, z.core.$strict>>;
|
|
1032
|
-
orchestration: z.
|
|
1203
|
+
orchestration: z.ZodPrefault<z.ZodObject<{
|
|
1033
1204
|
passCount: z.ZodDefault<z.ZodNumber>;
|
|
1034
1205
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
1035
1206
|
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
1036
1207
|
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
1208
|
+
candidateEligibleCount: z.ZodDefault<z.ZodNumber>;
|
|
1209
|
+
candidateUsedDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1210
|
+
candidateSerialRequiredDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1037
1211
|
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1212
|
+
recordedPassIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1038
1213
|
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1039
1214
|
id: z.ZodString;
|
|
1040
1215
|
kind: z.ZodEnum<{
|
|
1041
|
-
|
|
1216
|
+
validation: "validation";
|
|
1042
1217
|
audit: "audit";
|
|
1218
|
+
candidate: "candidate";
|
|
1219
|
+
discovery: "discovery";
|
|
1043
1220
|
review: "review";
|
|
1044
|
-
validation: "validation";
|
|
1045
1221
|
verification: "verification";
|
|
1046
|
-
candidate: "candidate";
|
|
1047
1222
|
"implementation-decision": "implementation-decision";
|
|
1048
1223
|
}>;
|
|
1049
1224
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
-
serial: "serial";
|
|
1051
1225
|
parallel: "parallel";
|
|
1226
|
+
serial: "serial";
|
|
1052
1227
|
"candidate-exact-path": "candidate-exact-path";
|
|
1053
1228
|
"candidate-worktree": "candidate-worktree";
|
|
1054
1229
|
tournament: "tournament";
|
|
1055
1230
|
skipped: "skipped";
|
|
1056
1231
|
}>>;
|
|
1057
1232
|
decisionReason: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
candidateEligibility: z.ZodDefault<z.ZodEnum<{
|
|
1234
|
+
eligible: "eligible";
|
|
1235
|
+
not_eligible: "not_eligible";
|
|
1236
|
+
unknown: "unknown";
|
|
1237
|
+
}>>;
|
|
1238
|
+
candidateDecision: z.ZodOptional<z.ZodEnum<{
|
|
1239
|
+
skipped: "skipped";
|
|
1240
|
+
used: "used";
|
|
1241
|
+
serial_required: "serial_required";
|
|
1242
|
+
}>>;
|
|
1243
|
+
decisionFactors: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1244
|
+
shared_state: "shared_state";
|
|
1245
|
+
overlapping_files: "overlapping_files";
|
|
1246
|
+
small_slice: "small_slice";
|
|
1247
|
+
needs_manager_judgment: "needs_manager_judgment";
|
|
1248
|
+
independent_surface: "independent_surface";
|
|
1249
|
+
validation_available: "validation_available";
|
|
1250
|
+
}>>>;
|
|
1058
1251
|
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1059
|
-
audit: "audit";
|
|
1060
|
-
review: "review";
|
|
1061
|
-
validation: "validation";
|
|
1062
1252
|
evidence: "evidence";
|
|
1253
|
+
validation: "validation";
|
|
1254
|
+
audit: "audit";
|
|
1063
1255
|
verifier: "verifier";
|
|
1256
|
+
review: "review";
|
|
1064
1257
|
"candidate-implementation": "candidate-implementation";
|
|
1065
1258
|
}>>>;
|
|
1066
1259
|
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1086,6 +1279,7 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
1086
1279
|
}>>;
|
|
1087
1280
|
outcome: z.ZodDefault<z.ZodEnum<{
|
|
1088
1281
|
accepted: "accepted";
|
|
1282
|
+
modified: "modified";
|
|
1089
1283
|
rejected: "rejected";
|
|
1090
1284
|
partial: "partial";
|
|
1091
1285
|
"not-covered": "not-covered";
|