opencode-plugin-flow 4.3.7 → 4.3.8
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 +20 -0
- package/README.md +13 -6
- package/dist/adapters/opencode/tools.d.ts +75 -0
- package/dist/cli.js +202 -15
- package/dist/cli.js.map +2 -2
- package/dist/index.js +364 -32
- package/dist/index.js.map +5 -5
- package/dist/runtime/api.d.ts +58 -0
- package/dist/runtime/schema.d.ts +534 -0
- package/dist/runtime/transitions.d.ts +41 -0
- package/package.json +1 -1
package/dist/runtime/api.d.ts
CHANGED
|
@@ -124,6 +124,64 @@ export declare const FlowFeatureCompleteToolSchema: z.ZodObject<{
|
|
|
124
124
|
summary: z.ZodString;
|
|
125
125
|
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
126
126
|
}, z.core.$strict>]>>;
|
|
127
|
+
orchestrationPasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
128
|
+
id: z.ZodString;
|
|
129
|
+
kind: z.ZodEnum<{
|
|
130
|
+
discovery: "discovery";
|
|
131
|
+
audit: "audit";
|
|
132
|
+
review: "review";
|
|
133
|
+
validation: "validation";
|
|
134
|
+
verification: "verification";
|
|
135
|
+
candidate: "candidate";
|
|
136
|
+
"implementation-decision": "implementation-decision";
|
|
137
|
+
}>;
|
|
138
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
139
|
+
serial: "serial";
|
|
140
|
+
parallel: "parallel";
|
|
141
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
142
|
+
"candidate-worktree": "candidate-worktree";
|
|
143
|
+
tournament: "tournament";
|
|
144
|
+
skipped: "skipped";
|
|
145
|
+
}>>;
|
|
146
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
147
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
148
|
+
audit: "audit";
|
|
149
|
+
review: "review";
|
|
150
|
+
validation: "validation";
|
|
151
|
+
evidence: "evidence";
|
|
152
|
+
verifier: "verifier";
|
|
153
|
+
"candidate-implementation": "candidate-implementation";
|
|
154
|
+
}>>>;
|
|
155
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
156
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
157
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
158
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
159
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
160
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
161
|
+
none: "none";
|
|
162
|
+
"manager-serial": "manager-serial";
|
|
163
|
+
"exact-path": "exact-path";
|
|
164
|
+
"isolated-worktree": "isolated-worktree";
|
|
165
|
+
mixed: "mixed";
|
|
166
|
+
}>>;
|
|
167
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
168
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
169
|
+
pending: "pending";
|
|
170
|
+
passed: "passed";
|
|
171
|
+
failed: "failed";
|
|
172
|
+
mixed: "mixed";
|
|
173
|
+
"not-needed": "not-needed";
|
|
174
|
+
downgraded: "downgraded";
|
|
175
|
+
}>>;
|
|
176
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
177
|
+
accepted: "accepted";
|
|
178
|
+
rejected: "rejected";
|
|
179
|
+
partial: "partial";
|
|
180
|
+
"not-covered": "not-covered";
|
|
181
|
+
superseded: "superseded";
|
|
182
|
+
}>>;
|
|
183
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
184
|
+
}, z.core.$strict>>>;
|
|
127
185
|
}, z.core.$strict>;
|
|
128
186
|
export declare function flowStatus(worktree: string): Promise<RuntimeResponse>;
|
|
129
187
|
export declare function flowPlanSave(worktree: string, input: unknown): Promise<RuntimeResponse>;
|
package/dist/runtime/schema.d.ts
CHANGED
|
@@ -35,6 +35,176 @@ export declare const FinalReviewPolicySchema: z.ZodEnum<{
|
|
|
35
35
|
broad: "broad";
|
|
36
36
|
detailed: "detailed";
|
|
37
37
|
}>;
|
|
38
|
+
export declare const OrchestrationPassKindSchema: z.ZodEnum<{
|
|
39
|
+
discovery: "discovery";
|
|
40
|
+
audit: "audit";
|
|
41
|
+
review: "review";
|
|
42
|
+
validation: "validation";
|
|
43
|
+
verification: "verification";
|
|
44
|
+
candidate: "candidate";
|
|
45
|
+
"implementation-decision": "implementation-decision";
|
|
46
|
+
}>;
|
|
47
|
+
export declare const OrchestrationModeSchema: z.ZodEnum<{
|
|
48
|
+
audit: "audit";
|
|
49
|
+
review: "review";
|
|
50
|
+
validation: "validation";
|
|
51
|
+
evidence: "evidence";
|
|
52
|
+
verifier: "verifier";
|
|
53
|
+
"candidate-implementation": "candidate-implementation";
|
|
54
|
+
}>;
|
|
55
|
+
export declare const OrchestrationDecisionSchema: z.ZodEnum<{
|
|
56
|
+
serial: "serial";
|
|
57
|
+
parallel: "parallel";
|
|
58
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
59
|
+
"candidate-worktree": "candidate-worktree";
|
|
60
|
+
tournament: "tournament";
|
|
61
|
+
skipped: "skipped";
|
|
62
|
+
}>;
|
|
63
|
+
export declare const OrchestrationWriteScopeSchema: z.ZodEnum<{
|
|
64
|
+
none: "none";
|
|
65
|
+
"manager-serial": "manager-serial";
|
|
66
|
+
"exact-path": "exact-path";
|
|
67
|
+
"isolated-worktree": "isolated-worktree";
|
|
68
|
+
mixed: "mixed";
|
|
69
|
+
}>;
|
|
70
|
+
export declare const OrchestrationVerificationStatusSchema: z.ZodEnum<{
|
|
71
|
+
pending: "pending";
|
|
72
|
+
passed: "passed";
|
|
73
|
+
failed: "failed";
|
|
74
|
+
mixed: "mixed";
|
|
75
|
+
"not-needed": "not-needed";
|
|
76
|
+
downgraded: "downgraded";
|
|
77
|
+
}>;
|
|
78
|
+
export declare const OrchestrationOutcomeSchema: z.ZodEnum<{
|
|
79
|
+
accepted: "accepted";
|
|
80
|
+
rejected: "rejected";
|
|
81
|
+
partial: "partial";
|
|
82
|
+
"not-covered": "not-covered";
|
|
83
|
+
superseded: "superseded";
|
|
84
|
+
}>;
|
|
85
|
+
export declare const OrchestrationPassRecordSchema: z.ZodObject<{
|
|
86
|
+
id: z.ZodString;
|
|
87
|
+
kind: z.ZodEnum<{
|
|
88
|
+
discovery: "discovery";
|
|
89
|
+
audit: "audit";
|
|
90
|
+
review: "review";
|
|
91
|
+
validation: "validation";
|
|
92
|
+
verification: "verification";
|
|
93
|
+
candidate: "candidate";
|
|
94
|
+
"implementation-decision": "implementation-decision";
|
|
95
|
+
}>;
|
|
96
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
serial: "serial";
|
|
98
|
+
parallel: "parallel";
|
|
99
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
100
|
+
"candidate-worktree": "candidate-worktree";
|
|
101
|
+
tournament: "tournament";
|
|
102
|
+
skipped: "skipped";
|
|
103
|
+
}>>;
|
|
104
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
105
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
106
|
+
audit: "audit";
|
|
107
|
+
review: "review";
|
|
108
|
+
validation: "validation";
|
|
109
|
+
evidence: "evidence";
|
|
110
|
+
verifier: "verifier";
|
|
111
|
+
"candidate-implementation": "candidate-implementation";
|
|
112
|
+
}>>>;
|
|
113
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
114
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
115
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
116
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
117
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
118
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
119
|
+
none: "none";
|
|
120
|
+
"manager-serial": "manager-serial";
|
|
121
|
+
"exact-path": "exact-path";
|
|
122
|
+
"isolated-worktree": "isolated-worktree";
|
|
123
|
+
mixed: "mixed";
|
|
124
|
+
}>>;
|
|
125
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
126
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
127
|
+
pending: "pending";
|
|
128
|
+
passed: "passed";
|
|
129
|
+
failed: "failed";
|
|
130
|
+
mixed: "mixed";
|
|
131
|
+
"not-needed": "not-needed";
|
|
132
|
+
downgraded: "downgraded";
|
|
133
|
+
}>>;
|
|
134
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
135
|
+
accepted: "accepted";
|
|
136
|
+
rejected: "rejected";
|
|
137
|
+
partial: "partial";
|
|
138
|
+
"not-covered": "not-covered";
|
|
139
|
+
superseded: "superseded";
|
|
140
|
+
}>>;
|
|
141
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
export declare const OrchestrationTelemetrySchema: z.ZodObject<{
|
|
144
|
+
passCount: z.ZodDefault<z.ZodNumber>;
|
|
145
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
146
|
+
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
147
|
+
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
148
|
+
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
149
|
+
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
150
|
+
id: z.ZodString;
|
|
151
|
+
kind: z.ZodEnum<{
|
|
152
|
+
discovery: "discovery";
|
|
153
|
+
audit: "audit";
|
|
154
|
+
review: "review";
|
|
155
|
+
validation: "validation";
|
|
156
|
+
verification: "verification";
|
|
157
|
+
candidate: "candidate";
|
|
158
|
+
"implementation-decision": "implementation-decision";
|
|
159
|
+
}>;
|
|
160
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
161
|
+
serial: "serial";
|
|
162
|
+
parallel: "parallel";
|
|
163
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
164
|
+
"candidate-worktree": "candidate-worktree";
|
|
165
|
+
tournament: "tournament";
|
|
166
|
+
skipped: "skipped";
|
|
167
|
+
}>>;
|
|
168
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
169
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
170
|
+
audit: "audit";
|
|
171
|
+
review: "review";
|
|
172
|
+
validation: "validation";
|
|
173
|
+
evidence: "evidence";
|
|
174
|
+
verifier: "verifier";
|
|
175
|
+
"candidate-implementation": "candidate-implementation";
|
|
176
|
+
}>>>;
|
|
177
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
178
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
179
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
180
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
181
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
182
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
183
|
+
none: "none";
|
|
184
|
+
"manager-serial": "manager-serial";
|
|
185
|
+
"exact-path": "exact-path";
|
|
186
|
+
"isolated-worktree": "isolated-worktree";
|
|
187
|
+
mixed: "mixed";
|
|
188
|
+
}>>;
|
|
189
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
190
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
191
|
+
pending: "pending";
|
|
192
|
+
passed: "passed";
|
|
193
|
+
failed: "failed";
|
|
194
|
+
mixed: "mixed";
|
|
195
|
+
"not-needed": "not-needed";
|
|
196
|
+
downgraded: "downgraded";
|
|
197
|
+
}>>;
|
|
198
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
199
|
+
accepted: "accepted";
|
|
200
|
+
rejected: "rejected";
|
|
201
|
+
partial: "partial";
|
|
202
|
+
"not-covered": "not-covered";
|
|
203
|
+
superseded: "superseded";
|
|
204
|
+
}>>;
|
|
205
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
206
|
+
}, z.core.$strict>>>;
|
|
207
|
+
}, z.core.$strict>;
|
|
38
208
|
export declare const ReviewFindingSchema: z.ZodObject<{
|
|
39
209
|
summary: z.ZodString;
|
|
40
210
|
severity: z.ZodDefault<z.ZodEnum<{
|
|
@@ -247,6 +417,64 @@ export declare const WorkerResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
247
417
|
summary: z.ZodOptional<z.ZodString>;
|
|
248
418
|
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
249
419
|
}, z.core.$strict>>;
|
|
420
|
+
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
421
|
+
id: z.ZodString;
|
|
422
|
+
kind: z.ZodEnum<{
|
|
423
|
+
discovery: "discovery";
|
|
424
|
+
audit: "audit";
|
|
425
|
+
review: "review";
|
|
426
|
+
validation: "validation";
|
|
427
|
+
verification: "verification";
|
|
428
|
+
candidate: "candidate";
|
|
429
|
+
"implementation-decision": "implementation-decision";
|
|
430
|
+
}>;
|
|
431
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
432
|
+
serial: "serial";
|
|
433
|
+
parallel: "parallel";
|
|
434
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
435
|
+
"candidate-worktree": "candidate-worktree";
|
|
436
|
+
tournament: "tournament";
|
|
437
|
+
skipped: "skipped";
|
|
438
|
+
}>>;
|
|
439
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
440
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
441
|
+
audit: "audit";
|
|
442
|
+
review: "review";
|
|
443
|
+
validation: "validation";
|
|
444
|
+
evidence: "evidence";
|
|
445
|
+
verifier: "verifier";
|
|
446
|
+
"candidate-implementation": "candidate-implementation";
|
|
447
|
+
}>>>;
|
|
448
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
449
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
450
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
451
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
452
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
453
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
454
|
+
none: "none";
|
|
455
|
+
"manager-serial": "manager-serial";
|
|
456
|
+
"exact-path": "exact-path";
|
|
457
|
+
"isolated-worktree": "isolated-worktree";
|
|
458
|
+
mixed: "mixed";
|
|
459
|
+
}>>;
|
|
460
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
461
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
462
|
+
pending: "pending";
|
|
463
|
+
passed: "passed";
|
|
464
|
+
failed: "failed";
|
|
465
|
+
mixed: "mixed";
|
|
466
|
+
"not-needed": "not-needed";
|
|
467
|
+
downgraded: "downgraded";
|
|
468
|
+
}>>;
|
|
469
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
470
|
+
accepted: "accepted";
|
|
471
|
+
rejected: "rejected";
|
|
472
|
+
partial: "partial";
|
|
473
|
+
"not-covered": "not-covered";
|
|
474
|
+
superseded: "superseded";
|
|
475
|
+
}>>;
|
|
476
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
477
|
+
}, z.core.$strict>>>;
|
|
250
478
|
}, z.core.$strict>, z.ZodObject<{
|
|
251
479
|
status: z.ZodLiteral<"needs_input">;
|
|
252
480
|
featureId: z.ZodString;
|
|
@@ -312,6 +540,64 @@ export declare const WorkerResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
312
540
|
summary: z.ZodString;
|
|
313
541
|
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
314
542
|
}, z.core.$strict>;
|
|
543
|
+
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
544
|
+
id: z.ZodString;
|
|
545
|
+
kind: z.ZodEnum<{
|
|
546
|
+
discovery: "discovery";
|
|
547
|
+
audit: "audit";
|
|
548
|
+
review: "review";
|
|
549
|
+
validation: "validation";
|
|
550
|
+
verification: "verification";
|
|
551
|
+
candidate: "candidate";
|
|
552
|
+
"implementation-decision": "implementation-decision";
|
|
553
|
+
}>;
|
|
554
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
555
|
+
serial: "serial";
|
|
556
|
+
parallel: "parallel";
|
|
557
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
558
|
+
"candidate-worktree": "candidate-worktree";
|
|
559
|
+
tournament: "tournament";
|
|
560
|
+
skipped: "skipped";
|
|
561
|
+
}>>;
|
|
562
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
563
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
564
|
+
audit: "audit";
|
|
565
|
+
review: "review";
|
|
566
|
+
validation: "validation";
|
|
567
|
+
evidence: "evidence";
|
|
568
|
+
verifier: "verifier";
|
|
569
|
+
"candidate-implementation": "candidate-implementation";
|
|
570
|
+
}>>>;
|
|
571
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
572
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
573
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
574
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
575
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
576
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
577
|
+
none: "none";
|
|
578
|
+
"manager-serial": "manager-serial";
|
|
579
|
+
"exact-path": "exact-path";
|
|
580
|
+
"isolated-worktree": "isolated-worktree";
|
|
581
|
+
mixed: "mixed";
|
|
582
|
+
}>>;
|
|
583
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
584
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
585
|
+
pending: "pending";
|
|
586
|
+
passed: "passed";
|
|
587
|
+
failed: "failed";
|
|
588
|
+
mixed: "mixed";
|
|
589
|
+
"not-needed": "not-needed";
|
|
590
|
+
downgraded: "downgraded";
|
|
591
|
+
}>>;
|
|
592
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
593
|
+
accepted: "accepted";
|
|
594
|
+
rejected: "rejected";
|
|
595
|
+
partial: "partial";
|
|
596
|
+
"not-covered": "not-covered";
|
|
597
|
+
superseded: "superseded";
|
|
598
|
+
}>>;
|
|
599
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
600
|
+
}, z.core.$strict>>>;
|
|
315
601
|
}, z.core.$strict>], "status">;
|
|
316
602
|
export declare const ExecutionHistoryEntrySchema: z.ZodObject<{
|
|
317
603
|
featureId: z.ZodString;
|
|
@@ -384,6 +670,64 @@ export declare const ExecutionHistoryEntrySchema: z.ZodObject<{
|
|
|
384
670
|
summary: z.ZodOptional<z.ZodString>;
|
|
385
671
|
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
386
672
|
}, z.core.$strict>>;
|
|
673
|
+
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
674
|
+
id: z.ZodString;
|
|
675
|
+
kind: z.ZodEnum<{
|
|
676
|
+
discovery: "discovery";
|
|
677
|
+
audit: "audit";
|
|
678
|
+
review: "review";
|
|
679
|
+
validation: "validation";
|
|
680
|
+
verification: "verification";
|
|
681
|
+
candidate: "candidate";
|
|
682
|
+
"implementation-decision": "implementation-decision";
|
|
683
|
+
}>;
|
|
684
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
685
|
+
serial: "serial";
|
|
686
|
+
parallel: "parallel";
|
|
687
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
688
|
+
"candidate-worktree": "candidate-worktree";
|
|
689
|
+
tournament: "tournament";
|
|
690
|
+
skipped: "skipped";
|
|
691
|
+
}>>;
|
|
692
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
693
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
694
|
+
audit: "audit";
|
|
695
|
+
review: "review";
|
|
696
|
+
validation: "validation";
|
|
697
|
+
evidence: "evidence";
|
|
698
|
+
verifier: "verifier";
|
|
699
|
+
"candidate-implementation": "candidate-implementation";
|
|
700
|
+
}>>>;
|
|
701
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
702
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
703
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
704
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
705
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
706
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
707
|
+
none: "none";
|
|
708
|
+
"manager-serial": "manager-serial";
|
|
709
|
+
"exact-path": "exact-path";
|
|
710
|
+
"isolated-worktree": "isolated-worktree";
|
|
711
|
+
mixed: "mixed";
|
|
712
|
+
}>>;
|
|
713
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
714
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
715
|
+
pending: "pending";
|
|
716
|
+
passed: "passed";
|
|
717
|
+
failed: "failed";
|
|
718
|
+
mixed: "mixed";
|
|
719
|
+
"not-needed": "not-needed";
|
|
720
|
+
downgraded: "downgraded";
|
|
721
|
+
}>>;
|
|
722
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
723
|
+
accepted: "accepted";
|
|
724
|
+
rejected: "rejected";
|
|
725
|
+
partial: "partial";
|
|
726
|
+
"not-covered": "not-covered";
|
|
727
|
+
superseded: "superseded";
|
|
728
|
+
}>>;
|
|
729
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
730
|
+
}, z.core.$strict>>>;
|
|
387
731
|
}, z.core.$strict>;
|
|
388
732
|
export declare const TokenTelemetrySchema: z.ZodObject<{
|
|
389
733
|
source: z.ZodDefault<z.ZodEnum<{
|
|
@@ -419,6 +763,71 @@ export declare const BudgetTelemetrySchema: z.ZodObject<{
|
|
|
419
763
|
cacheReadTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
420
764
|
nonCacheTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
421
765
|
}, z.core.$strict>>;
|
|
766
|
+
orchestration: z.ZodDefault<z.ZodObject<{
|
|
767
|
+
passCount: z.ZodDefault<z.ZodNumber>;
|
|
768
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
769
|
+
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
770
|
+
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
771
|
+
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
772
|
+
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
773
|
+
id: z.ZodString;
|
|
774
|
+
kind: z.ZodEnum<{
|
|
775
|
+
discovery: "discovery";
|
|
776
|
+
audit: "audit";
|
|
777
|
+
review: "review";
|
|
778
|
+
validation: "validation";
|
|
779
|
+
verification: "verification";
|
|
780
|
+
candidate: "candidate";
|
|
781
|
+
"implementation-decision": "implementation-decision";
|
|
782
|
+
}>;
|
|
783
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
784
|
+
serial: "serial";
|
|
785
|
+
parallel: "parallel";
|
|
786
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
787
|
+
"candidate-worktree": "candidate-worktree";
|
|
788
|
+
tournament: "tournament";
|
|
789
|
+
skipped: "skipped";
|
|
790
|
+
}>>;
|
|
791
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
792
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
793
|
+
audit: "audit";
|
|
794
|
+
review: "review";
|
|
795
|
+
validation: "validation";
|
|
796
|
+
evidence: "evidence";
|
|
797
|
+
verifier: "verifier";
|
|
798
|
+
"candidate-implementation": "candidate-implementation";
|
|
799
|
+
}>>>;
|
|
800
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
801
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
802
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
803
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
804
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
805
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
806
|
+
none: "none";
|
|
807
|
+
"manager-serial": "manager-serial";
|
|
808
|
+
"exact-path": "exact-path";
|
|
809
|
+
"isolated-worktree": "isolated-worktree";
|
|
810
|
+
mixed: "mixed";
|
|
811
|
+
}>>;
|
|
812
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
813
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
814
|
+
pending: "pending";
|
|
815
|
+
passed: "passed";
|
|
816
|
+
failed: "failed";
|
|
817
|
+
mixed: "mixed";
|
|
818
|
+
"not-needed": "not-needed";
|
|
819
|
+
downgraded: "downgraded";
|
|
820
|
+
}>>;
|
|
821
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
822
|
+
accepted: "accepted";
|
|
823
|
+
rejected: "rejected";
|
|
824
|
+
partial: "partial";
|
|
825
|
+
"not-covered": "not-covered";
|
|
826
|
+
superseded: "superseded";
|
|
827
|
+
}>>;
|
|
828
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, z.core.$strict>>>;
|
|
830
|
+
}, z.core.$strict>>;
|
|
422
831
|
phaseBoundary: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
423
832
|
reason: z.ZodEnum<{
|
|
424
833
|
feature_limit: "feature_limit";
|
|
@@ -546,6 +955,64 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
546
955
|
summary: z.ZodOptional<z.ZodString>;
|
|
547
956
|
resolutionHint: z.ZodOptional<z.ZodString>;
|
|
548
957
|
}, z.core.$strict>>;
|
|
958
|
+
orchestrationPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
959
|
+
id: z.ZodString;
|
|
960
|
+
kind: z.ZodEnum<{
|
|
961
|
+
discovery: "discovery";
|
|
962
|
+
audit: "audit";
|
|
963
|
+
review: "review";
|
|
964
|
+
validation: "validation";
|
|
965
|
+
verification: "verification";
|
|
966
|
+
candidate: "candidate";
|
|
967
|
+
"implementation-decision": "implementation-decision";
|
|
968
|
+
}>;
|
|
969
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
970
|
+
serial: "serial";
|
|
971
|
+
parallel: "parallel";
|
|
972
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
973
|
+
"candidate-worktree": "candidate-worktree";
|
|
974
|
+
tournament: "tournament";
|
|
975
|
+
skipped: "skipped";
|
|
976
|
+
}>>;
|
|
977
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
978
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
979
|
+
audit: "audit";
|
|
980
|
+
review: "review";
|
|
981
|
+
validation: "validation";
|
|
982
|
+
evidence: "evidence";
|
|
983
|
+
verifier: "verifier";
|
|
984
|
+
"candidate-implementation": "candidate-implementation";
|
|
985
|
+
}>>>;
|
|
986
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
987
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
988
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
989
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
990
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
991
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
992
|
+
none: "none";
|
|
993
|
+
"manager-serial": "manager-serial";
|
|
994
|
+
"exact-path": "exact-path";
|
|
995
|
+
"isolated-worktree": "isolated-worktree";
|
|
996
|
+
mixed: "mixed";
|
|
997
|
+
}>>;
|
|
998
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
999
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
1000
|
+
pending: "pending";
|
|
1001
|
+
passed: "passed";
|
|
1002
|
+
failed: "failed";
|
|
1003
|
+
mixed: "mixed";
|
|
1004
|
+
"not-needed": "not-needed";
|
|
1005
|
+
downgraded: "downgraded";
|
|
1006
|
+
}>>;
|
|
1007
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
1008
|
+
accepted: "accepted";
|
|
1009
|
+
rejected: "rejected";
|
|
1010
|
+
partial: "partial";
|
|
1011
|
+
"not-covered": "not-covered";
|
|
1012
|
+
superseded: "superseded";
|
|
1013
|
+
}>>;
|
|
1014
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
}, z.core.$strict>>>;
|
|
549
1016
|
}, z.core.$strict>>>;
|
|
550
1017
|
budget: z.ZodDefault<z.ZodObject<{
|
|
551
1018
|
phaseStartedAt: z.ZodDefault<z.ZodString>;
|
|
@@ -562,6 +1029,71 @@ export declare const SessionSchema: z.ZodObject<{
|
|
|
562
1029
|
cacheReadTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
563
1030
|
nonCacheTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
564
1031
|
}, z.core.$strict>>;
|
|
1032
|
+
orchestration: z.ZodDefault<z.ZodObject<{
|
|
1033
|
+
passCount: z.ZodDefault<z.ZodNumber>;
|
|
1034
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
1035
|
+
candidatePassCount: z.ZodDefault<z.ZodNumber>;
|
|
1036
|
+
verifierPassCount: z.ZodDefault<z.ZodNumber>;
|
|
1037
|
+
skippedCandidateDecisionCount: z.ZodDefault<z.ZodNumber>;
|
|
1038
|
+
latestPasses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1039
|
+
id: z.ZodString;
|
|
1040
|
+
kind: z.ZodEnum<{
|
|
1041
|
+
discovery: "discovery";
|
|
1042
|
+
audit: "audit";
|
|
1043
|
+
review: "review";
|
|
1044
|
+
validation: "validation";
|
|
1045
|
+
verification: "verification";
|
|
1046
|
+
candidate: "candidate";
|
|
1047
|
+
"implementation-decision": "implementation-decision";
|
|
1048
|
+
}>;
|
|
1049
|
+
decision: z.ZodOptional<z.ZodEnum<{
|
|
1050
|
+
serial: "serial";
|
|
1051
|
+
parallel: "parallel";
|
|
1052
|
+
"candidate-exact-path": "candidate-exact-path";
|
|
1053
|
+
"candidate-worktree": "candidate-worktree";
|
|
1054
|
+
tournament: "tournament";
|
|
1055
|
+
skipped: "skipped";
|
|
1056
|
+
}>>;
|
|
1057
|
+
decisionReason: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
modes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1059
|
+
audit: "audit";
|
|
1060
|
+
review: "review";
|
|
1061
|
+
validation: "validation";
|
|
1062
|
+
evidence: "evidence";
|
|
1063
|
+
verifier: "verifier";
|
|
1064
|
+
"candidate-implementation": "candidate-implementation";
|
|
1065
|
+
}>>>;
|
|
1066
|
+
workerCount: z.ZodDefault<z.ZodNumber>;
|
|
1067
|
+
candidateWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
1068
|
+
verifierWorkerCount: z.ZodDefault<z.ZodNumber>;
|
|
1069
|
+
sliceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1070
|
+
dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1071
|
+
writeScope: z.ZodDefault<z.ZodEnum<{
|
|
1072
|
+
none: "none";
|
|
1073
|
+
"manager-serial": "manager-serial";
|
|
1074
|
+
"exact-path": "exact-path";
|
|
1075
|
+
"isolated-worktree": "isolated-worktree";
|
|
1076
|
+
mixed: "mixed";
|
|
1077
|
+
}>>;
|
|
1078
|
+
handoffRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1079
|
+
verificationStatus: z.ZodDefault<z.ZodEnum<{
|
|
1080
|
+
pending: "pending";
|
|
1081
|
+
passed: "passed";
|
|
1082
|
+
failed: "failed";
|
|
1083
|
+
mixed: "mixed";
|
|
1084
|
+
"not-needed": "not-needed";
|
|
1085
|
+
downgraded: "downgraded";
|
|
1086
|
+
}>>;
|
|
1087
|
+
outcome: z.ZodDefault<z.ZodEnum<{
|
|
1088
|
+
accepted: "accepted";
|
|
1089
|
+
rejected: "rejected";
|
|
1090
|
+
partial: "partial";
|
|
1091
|
+
"not-covered": "not-covered";
|
|
1092
|
+
superseded: "superseded";
|
|
1093
|
+
}>>;
|
|
1094
|
+
synthesisRef: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
}, z.core.$strict>>>;
|
|
1096
|
+
}, z.core.$strict>>;
|
|
565
1097
|
phaseBoundary: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
566
1098
|
reason: z.ZodEnum<{
|
|
567
1099
|
feature_limit: "feature_limit";
|
|
@@ -600,6 +1132,8 @@ export type ExecutionHistoryEntry = z.infer<typeof ExecutionHistoryEntrySchema>;
|
|
|
600
1132
|
export type Feature = z.infer<typeof FeatureSchema>;
|
|
601
1133
|
export type FeatureReviewDepth = z.infer<typeof FeatureReviewDepthSchema>;
|
|
602
1134
|
export type FinalReview = z.infer<typeof FinalReviewSchema>;
|
|
1135
|
+
export type OrchestrationPassRecord = z.infer<typeof OrchestrationPassRecordSchema>;
|
|
1136
|
+
export type OrchestrationTelemetry = z.infer<typeof OrchestrationTelemetrySchema>;
|
|
603
1137
|
export type PhaseBoundary = z.infer<typeof PhaseBoundarySchema>;
|
|
604
1138
|
export type Plan = z.infer<typeof PlanSchema>;
|
|
605
1139
|
export type PlanInput = z.input<typeof PlanInputSchema>;
|