claude-flow 3.75.1 → 3.75.2
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/package.json
CHANGED
|
@@ -45,12 +45,12 @@ export declare const missionRecordSchema: z.ZodObject<{
|
|
|
45
45
|
digest: z.ZodString;
|
|
46
46
|
taskGraphRef: z.ZodString;
|
|
47
47
|
}, "strict", z.ZodTypeAny, {
|
|
48
|
-
digest: string;
|
|
49
48
|
revision: number;
|
|
49
|
+
digest: string;
|
|
50
50
|
taskGraphRef: string;
|
|
51
51
|
}, {
|
|
52
|
-
digest: string;
|
|
53
52
|
revision: number;
|
|
53
|
+
digest: string;
|
|
54
54
|
taskGraphRef: string;
|
|
55
55
|
}>;
|
|
56
56
|
policyRef: z.ZodString;
|
|
@@ -73,56 +73,56 @@ export declare const missionRecordSchema: z.ZodObject<{
|
|
|
73
73
|
createdAt: z.ZodString;
|
|
74
74
|
updatedAt: z.ZodString;
|
|
75
75
|
}, "strict", z.ZodTypeAny, {
|
|
76
|
-
|
|
77
|
-
updatedAt: string;
|
|
78
|
-
schemaVersion: 1;
|
|
79
|
-
state: "completed" | "cancelled" | "failed" | "blocked" | "running" | "paused" | "queued" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
|
|
80
|
-
plan: {
|
|
81
|
-
digest: string;
|
|
82
|
-
revision: number;
|
|
83
|
-
taskGraphRef: string;
|
|
84
|
-
};
|
|
85
|
-
acceptance: {
|
|
86
|
-
revision: number;
|
|
87
|
-
criteriaDigest: string;
|
|
88
|
-
};
|
|
76
|
+
state: "draft" | "planned" | "awaitingAuthorization" | "queued" | "running" | "pauseRequested" | "paused" | "blocked" | "verifying" | "completed" | "failed" | "cancelRequested" | "cancelled";
|
|
89
77
|
objective: string;
|
|
78
|
+
schemaVersion: 1;
|
|
90
79
|
missionId: string;
|
|
91
80
|
tenantId: string;
|
|
92
81
|
workspaceId: string;
|
|
93
82
|
ownerPrincipalId: string;
|
|
94
83
|
revision: number;
|
|
95
|
-
policyRef: string;
|
|
96
|
-
budgetRef: string;
|
|
97
|
-
executionMode: "durable-executor" | "session-bound";
|
|
98
|
-
evidenceRefs: string[];
|
|
99
|
-
lastEventSequence: number;
|
|
100
|
-
authorizationRef?: string | undefined;
|
|
101
|
-
}, {
|
|
102
|
-
createdAt: string;
|
|
103
|
-
updatedAt: string;
|
|
104
|
-
schemaVersion: 1;
|
|
105
|
-
state: "completed" | "cancelled" | "failed" | "blocked" | "running" | "paused" | "queued" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
|
|
106
84
|
plan: {
|
|
107
|
-
digest: string;
|
|
108
85
|
revision: number;
|
|
86
|
+
digest: string;
|
|
109
87
|
taskGraphRef: string;
|
|
110
88
|
};
|
|
89
|
+
policyRef: string;
|
|
90
|
+
budgetRef: string;
|
|
91
|
+
executionMode: "durable-executor" | "session-bound";
|
|
92
|
+
evidenceRefs: string[];
|
|
111
93
|
acceptance: {
|
|
112
94
|
revision: number;
|
|
113
95
|
criteriaDigest: string;
|
|
114
96
|
};
|
|
97
|
+
lastEventSequence: number;
|
|
98
|
+
createdAt: string;
|
|
99
|
+
updatedAt: string;
|
|
100
|
+
authorizationRef?: string | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
state: "draft" | "planned" | "awaitingAuthorization" | "queued" | "running" | "pauseRequested" | "paused" | "blocked" | "verifying" | "completed" | "failed" | "cancelRequested" | "cancelled";
|
|
115
103
|
objective: string;
|
|
104
|
+
schemaVersion: 1;
|
|
116
105
|
missionId: string;
|
|
117
106
|
tenantId: string;
|
|
118
107
|
workspaceId: string;
|
|
119
108
|
ownerPrincipalId: string;
|
|
120
109
|
revision: number;
|
|
110
|
+
plan: {
|
|
111
|
+
revision: number;
|
|
112
|
+
digest: string;
|
|
113
|
+
taskGraphRef: string;
|
|
114
|
+
};
|
|
121
115
|
policyRef: string;
|
|
122
116
|
budgetRef: string;
|
|
123
117
|
executionMode: "durable-executor" | "session-bound";
|
|
124
118
|
evidenceRefs: string[];
|
|
119
|
+
acceptance: {
|
|
120
|
+
revision: number;
|
|
121
|
+
criteriaDigest: string;
|
|
122
|
+
};
|
|
125
123
|
lastEventSequence: number;
|
|
124
|
+
createdAt: string;
|
|
125
|
+
updatedAt: string;
|
|
126
126
|
authorizationRef?: string | undefined;
|
|
127
127
|
}>;
|
|
128
128
|
export type MissionRecord = z.infer<typeof missionRecordSchema>;
|
|
@@ -163,10 +163,10 @@ export declare const taskSpecSchema: z.ZodObject<{
|
|
|
163
163
|
mode: "durable-executor" | "session-bound";
|
|
164
164
|
requirement: string;
|
|
165
165
|
};
|
|
166
|
-
checkpoint?: string | undefined;
|
|
167
166
|
dependsOn?: string[] | undefined;
|
|
168
167
|
capabilityCeiling?: string[] | undefined;
|
|
169
168
|
estimatedCostMinor?: number | undefined;
|
|
169
|
+
checkpoint?: string | undefined;
|
|
170
170
|
acceptanceEvidence?: string[] | undefined;
|
|
171
171
|
}>;
|
|
172
172
|
export declare const acceptanceCriterionSchema: z.ZodObject<{
|
|
@@ -185,15 +185,15 @@ export declare const acceptanceCriterionSchema: z.ZodObject<{
|
|
|
185
185
|
producer: string;
|
|
186
186
|
independent: boolean;
|
|
187
187
|
mandatory: boolean;
|
|
188
|
-
threshold?: string | undefined;
|
|
189
188
|
baseline?: string | undefined;
|
|
189
|
+
threshold?: string | undefined;
|
|
190
190
|
}, {
|
|
191
191
|
id: string;
|
|
192
192
|
check: string;
|
|
193
193
|
producer: string;
|
|
194
|
-
threshold?: string | undefined;
|
|
195
|
-
baseline?: string | undefined;
|
|
196
194
|
inputs?: string[] | undefined;
|
|
195
|
+
baseline?: string | undefined;
|
|
196
|
+
threshold?: string | undefined;
|
|
197
197
|
independent?: boolean | undefined;
|
|
198
198
|
mandatory?: boolean | undefined;
|
|
199
199
|
}>;
|
|
@@ -207,15 +207,15 @@ export declare const budgetSpecSchema: z.ZodObject<{
|
|
|
207
207
|
}, "strict", z.ZodTypeAny, {
|
|
208
208
|
currency: string;
|
|
209
209
|
ceilingMinor: number;
|
|
210
|
-
concurrency?: number | undefined;
|
|
211
210
|
tokens?: number | undefined;
|
|
211
|
+
concurrency?: number | undefined;
|
|
212
212
|
wallTimeSeconds?: number | undefined;
|
|
213
213
|
retries?: number | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
currency: string;
|
|
216
216
|
ceilingMinor: number;
|
|
217
|
-
concurrency?: number | undefined;
|
|
218
217
|
tokens?: number | undefined;
|
|
218
|
+
concurrency?: number | undefined;
|
|
219
219
|
wallTimeSeconds?: number | undefined;
|
|
220
220
|
retries?: number | undefined;
|
|
221
221
|
}>;
|
|
@@ -257,10 +257,10 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
257
257
|
mode: "durable-executor" | "session-bound";
|
|
258
258
|
requirement: string;
|
|
259
259
|
};
|
|
260
|
-
checkpoint?: string | undefined;
|
|
261
260
|
dependsOn?: string[] | undefined;
|
|
262
261
|
capabilityCeiling?: string[] | undefined;
|
|
263
262
|
estimatedCostMinor?: number | undefined;
|
|
263
|
+
checkpoint?: string | undefined;
|
|
264
264
|
acceptanceEvidence?: string[] | undefined;
|
|
265
265
|
}>, "many">;
|
|
266
266
|
acceptance: z.ZodArray<z.ZodObject<{
|
|
@@ -279,15 +279,15 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
279
279
|
producer: string;
|
|
280
280
|
independent: boolean;
|
|
281
281
|
mandatory: boolean;
|
|
282
|
-
threshold?: string | undefined;
|
|
283
282
|
baseline?: string | undefined;
|
|
283
|
+
threshold?: string | undefined;
|
|
284
284
|
}, {
|
|
285
285
|
id: string;
|
|
286
286
|
check: string;
|
|
287
287
|
producer: string;
|
|
288
|
-
threshold?: string | undefined;
|
|
289
|
-
baseline?: string | undefined;
|
|
290
288
|
inputs?: string[] | undefined;
|
|
289
|
+
baseline?: string | undefined;
|
|
290
|
+
threshold?: string | undefined;
|
|
291
291
|
independent?: boolean | undefined;
|
|
292
292
|
mandatory?: boolean | undefined;
|
|
293
293
|
}>, "many">;
|
|
@@ -301,15 +301,15 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
301
301
|
}, "strict", z.ZodTypeAny, {
|
|
302
302
|
currency: string;
|
|
303
303
|
ceilingMinor: number;
|
|
304
|
-
concurrency?: number | undefined;
|
|
305
304
|
tokens?: number | undefined;
|
|
305
|
+
concurrency?: number | undefined;
|
|
306
306
|
wallTimeSeconds?: number | undefined;
|
|
307
307
|
retries?: number | undefined;
|
|
308
308
|
}, {
|
|
309
309
|
currency: string;
|
|
310
310
|
ceilingMinor: number;
|
|
311
|
-
concurrency?: number | undefined;
|
|
312
311
|
tokens?: number | undefined;
|
|
312
|
+
concurrency?: number | undefined;
|
|
313
313
|
wallTimeSeconds?: number | undefined;
|
|
314
314
|
retries?: number | undefined;
|
|
315
315
|
}>;
|
|
@@ -321,6 +321,14 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
321
321
|
capabilities?: string[] | undefined;
|
|
322
322
|
}>>;
|
|
323
323
|
}, "strict", z.ZodTypeAny, {
|
|
324
|
+
budget: {
|
|
325
|
+
currency: string;
|
|
326
|
+
ceilingMinor: number;
|
|
327
|
+
tokens?: number | undefined;
|
|
328
|
+
concurrency?: number | undefined;
|
|
329
|
+
wallTimeSeconds?: number | undefined;
|
|
330
|
+
retries?: number | undefined;
|
|
331
|
+
};
|
|
324
332
|
tasks: {
|
|
325
333
|
id: string;
|
|
326
334
|
title: string;
|
|
@@ -334,17 +342,6 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
334
342
|
acceptanceEvidence: string[];
|
|
335
343
|
checkpoint?: string | undefined;
|
|
336
344
|
}[];
|
|
337
|
-
scope: {
|
|
338
|
-
capabilities: string[];
|
|
339
|
-
};
|
|
340
|
-
budget: {
|
|
341
|
-
currency: string;
|
|
342
|
-
ceilingMinor: number;
|
|
343
|
-
concurrency?: number | undefined;
|
|
344
|
-
tokens?: number | undefined;
|
|
345
|
-
wallTimeSeconds?: number | undefined;
|
|
346
|
-
retries?: number | undefined;
|
|
347
|
-
};
|
|
348
345
|
acceptance: {
|
|
349
346
|
id: string;
|
|
350
347
|
check: string;
|
|
@@ -352,10 +349,21 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
352
349
|
producer: string;
|
|
353
350
|
independent: boolean;
|
|
354
351
|
mandatory: boolean;
|
|
355
|
-
threshold?: string | undefined;
|
|
356
352
|
baseline?: string | undefined;
|
|
353
|
+
threshold?: string | undefined;
|
|
357
354
|
}[];
|
|
355
|
+
scope: {
|
|
356
|
+
capabilities: string[];
|
|
357
|
+
};
|
|
358
358
|
}, {
|
|
359
|
+
budget: {
|
|
360
|
+
currency: string;
|
|
361
|
+
ceilingMinor: number;
|
|
362
|
+
tokens?: number | undefined;
|
|
363
|
+
concurrency?: number | undefined;
|
|
364
|
+
wallTimeSeconds?: number | undefined;
|
|
365
|
+
retries?: number | undefined;
|
|
366
|
+
};
|
|
359
367
|
tasks: {
|
|
360
368
|
id: string;
|
|
361
369
|
title: string;
|
|
@@ -363,27 +371,19 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
363
371
|
mode: "durable-executor" | "session-bound";
|
|
364
372
|
requirement: string;
|
|
365
373
|
};
|
|
366
|
-
checkpoint?: string | undefined;
|
|
367
374
|
dependsOn?: string[] | undefined;
|
|
368
375
|
capabilityCeiling?: string[] | undefined;
|
|
369
376
|
estimatedCostMinor?: number | undefined;
|
|
377
|
+
checkpoint?: string | undefined;
|
|
370
378
|
acceptanceEvidence?: string[] | undefined;
|
|
371
379
|
}[];
|
|
372
|
-
budget: {
|
|
373
|
-
currency: string;
|
|
374
|
-
ceilingMinor: number;
|
|
375
|
-
concurrency?: number | undefined;
|
|
376
|
-
tokens?: number | undefined;
|
|
377
|
-
wallTimeSeconds?: number | undefined;
|
|
378
|
-
retries?: number | undefined;
|
|
379
|
-
};
|
|
380
380
|
acceptance: {
|
|
381
381
|
id: string;
|
|
382
382
|
check: string;
|
|
383
383
|
producer: string;
|
|
384
|
-
threshold?: string | undefined;
|
|
385
|
-
baseline?: string | undefined;
|
|
386
384
|
inputs?: string[] | undefined;
|
|
385
|
+
baseline?: string | undefined;
|
|
386
|
+
threshold?: string | undefined;
|
|
387
387
|
independent?: boolean | undefined;
|
|
388
388
|
mandatory?: boolean | undefined;
|
|
389
389
|
}[];
|
|
@@ -397,11 +397,11 @@ export declare const createInputSchema: z.ZodObject<{
|
|
|
397
397
|
requestId: z.ZodString;
|
|
398
398
|
objective: z.ZodString;
|
|
399
399
|
}, "strict", z.ZodTypeAny, {
|
|
400
|
-
requestId: string;
|
|
401
400
|
objective: string;
|
|
402
|
-
}, {
|
|
403
401
|
requestId: string;
|
|
402
|
+
}, {
|
|
404
403
|
objective: string;
|
|
404
|
+
requestId: string;
|
|
405
405
|
}>;
|
|
406
406
|
export declare const planInputSchema: z.ZodObject<{
|
|
407
407
|
requestId: z.ZodString;
|
|
@@ -445,10 +445,10 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
445
445
|
mode: "durable-executor" | "session-bound";
|
|
446
446
|
requirement: string;
|
|
447
447
|
};
|
|
448
|
-
checkpoint?: string | undefined;
|
|
449
448
|
dependsOn?: string[] | undefined;
|
|
450
449
|
capabilityCeiling?: string[] | undefined;
|
|
451
450
|
estimatedCostMinor?: number | undefined;
|
|
451
|
+
checkpoint?: string | undefined;
|
|
452
452
|
acceptanceEvidence?: string[] | undefined;
|
|
453
453
|
}>, "many">;
|
|
454
454
|
acceptance: z.ZodArray<z.ZodObject<{
|
|
@@ -467,15 +467,15 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
467
467
|
producer: string;
|
|
468
468
|
independent: boolean;
|
|
469
469
|
mandatory: boolean;
|
|
470
|
-
threshold?: string | undefined;
|
|
471
470
|
baseline?: string | undefined;
|
|
471
|
+
threshold?: string | undefined;
|
|
472
472
|
}, {
|
|
473
473
|
id: string;
|
|
474
474
|
check: string;
|
|
475
475
|
producer: string;
|
|
476
|
-
threshold?: string | undefined;
|
|
477
|
-
baseline?: string | undefined;
|
|
478
476
|
inputs?: string[] | undefined;
|
|
477
|
+
baseline?: string | undefined;
|
|
478
|
+
threshold?: string | undefined;
|
|
479
479
|
independent?: boolean | undefined;
|
|
480
480
|
mandatory?: boolean | undefined;
|
|
481
481
|
}>, "many">;
|
|
@@ -489,15 +489,15 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
489
489
|
}, "strict", z.ZodTypeAny, {
|
|
490
490
|
currency: string;
|
|
491
491
|
ceilingMinor: number;
|
|
492
|
-
concurrency?: number | undefined;
|
|
493
492
|
tokens?: number | undefined;
|
|
493
|
+
concurrency?: number | undefined;
|
|
494
494
|
wallTimeSeconds?: number | undefined;
|
|
495
495
|
retries?: number | undefined;
|
|
496
496
|
}, {
|
|
497
497
|
currency: string;
|
|
498
498
|
ceilingMinor: number;
|
|
499
|
-
concurrency?: number | undefined;
|
|
500
499
|
tokens?: number | undefined;
|
|
500
|
+
concurrency?: number | undefined;
|
|
501
501
|
wallTimeSeconds?: number | undefined;
|
|
502
502
|
retries?: number | undefined;
|
|
503
503
|
}>;
|
|
@@ -509,6 +509,14 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
509
509
|
capabilities?: string[] | undefined;
|
|
510
510
|
}>>;
|
|
511
511
|
}, "strict", z.ZodTypeAny, {
|
|
512
|
+
budget: {
|
|
513
|
+
currency: string;
|
|
514
|
+
ceilingMinor: number;
|
|
515
|
+
tokens?: number | undefined;
|
|
516
|
+
concurrency?: number | undefined;
|
|
517
|
+
wallTimeSeconds?: number | undefined;
|
|
518
|
+
retries?: number | undefined;
|
|
519
|
+
};
|
|
512
520
|
tasks: {
|
|
513
521
|
id: string;
|
|
514
522
|
title: string;
|
|
@@ -522,17 +530,6 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
522
530
|
acceptanceEvidence: string[];
|
|
523
531
|
checkpoint?: string | undefined;
|
|
524
532
|
}[];
|
|
525
|
-
scope: {
|
|
526
|
-
capabilities: string[];
|
|
527
|
-
};
|
|
528
|
-
budget: {
|
|
529
|
-
currency: string;
|
|
530
|
-
ceilingMinor: number;
|
|
531
|
-
concurrency?: number | undefined;
|
|
532
|
-
tokens?: number | undefined;
|
|
533
|
-
wallTimeSeconds?: number | undefined;
|
|
534
|
-
retries?: number | undefined;
|
|
535
|
-
};
|
|
536
533
|
acceptance: {
|
|
537
534
|
id: string;
|
|
538
535
|
check: string;
|
|
@@ -540,10 +537,21 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
540
537
|
producer: string;
|
|
541
538
|
independent: boolean;
|
|
542
539
|
mandatory: boolean;
|
|
543
|
-
threshold?: string | undefined;
|
|
544
540
|
baseline?: string | undefined;
|
|
541
|
+
threshold?: string | undefined;
|
|
545
542
|
}[];
|
|
543
|
+
scope: {
|
|
544
|
+
capabilities: string[];
|
|
545
|
+
};
|
|
546
546
|
}, {
|
|
547
|
+
budget: {
|
|
548
|
+
currency: string;
|
|
549
|
+
ceilingMinor: number;
|
|
550
|
+
tokens?: number | undefined;
|
|
551
|
+
concurrency?: number | undefined;
|
|
552
|
+
wallTimeSeconds?: number | undefined;
|
|
553
|
+
retries?: number | undefined;
|
|
554
|
+
};
|
|
547
555
|
tasks: {
|
|
548
556
|
id: string;
|
|
549
557
|
title: string;
|
|
@@ -551,27 +559,19 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
551
559
|
mode: "durable-executor" | "session-bound";
|
|
552
560
|
requirement: string;
|
|
553
561
|
};
|
|
554
|
-
checkpoint?: string | undefined;
|
|
555
562
|
dependsOn?: string[] | undefined;
|
|
556
563
|
capabilityCeiling?: string[] | undefined;
|
|
557
564
|
estimatedCostMinor?: number | undefined;
|
|
565
|
+
checkpoint?: string | undefined;
|
|
558
566
|
acceptanceEvidence?: string[] | undefined;
|
|
559
567
|
}[];
|
|
560
|
-
budget: {
|
|
561
|
-
currency: string;
|
|
562
|
-
ceilingMinor: number;
|
|
563
|
-
concurrency?: number | undefined;
|
|
564
|
-
tokens?: number | undefined;
|
|
565
|
-
wallTimeSeconds?: number | undefined;
|
|
566
|
-
retries?: number | undefined;
|
|
567
|
-
};
|
|
568
568
|
acceptance: {
|
|
569
569
|
id: string;
|
|
570
570
|
check: string;
|
|
571
571
|
producer: string;
|
|
572
|
-
threshold?: string | undefined;
|
|
573
|
-
baseline?: string | undefined;
|
|
574
572
|
inputs?: string[] | undefined;
|
|
573
|
+
baseline?: string | undefined;
|
|
574
|
+
threshold?: string | undefined;
|
|
575
575
|
independent?: boolean | undefined;
|
|
576
576
|
mandatory?: boolean | undefined;
|
|
577
577
|
}[];
|
|
@@ -580,7 +580,17 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
580
580
|
} | undefined;
|
|
581
581
|
}>;
|
|
582
582
|
}, "strict", z.ZodTypeAny, {
|
|
583
|
+
requestId: string;
|
|
584
|
+
missionId: string;
|
|
583
585
|
plan: {
|
|
586
|
+
budget: {
|
|
587
|
+
currency: string;
|
|
588
|
+
ceilingMinor: number;
|
|
589
|
+
tokens?: number | undefined;
|
|
590
|
+
concurrency?: number | undefined;
|
|
591
|
+
wallTimeSeconds?: number | undefined;
|
|
592
|
+
retries?: number | undefined;
|
|
593
|
+
};
|
|
584
594
|
tasks: {
|
|
585
595
|
id: string;
|
|
586
596
|
title: string;
|
|
@@ -594,17 +604,6 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
594
604
|
acceptanceEvidence: string[];
|
|
595
605
|
checkpoint?: string | undefined;
|
|
596
606
|
}[];
|
|
597
|
-
scope: {
|
|
598
|
-
capabilities: string[];
|
|
599
|
-
};
|
|
600
|
-
budget: {
|
|
601
|
-
currency: string;
|
|
602
|
-
ceilingMinor: number;
|
|
603
|
-
concurrency?: number | undefined;
|
|
604
|
-
tokens?: number | undefined;
|
|
605
|
-
wallTimeSeconds?: number | undefined;
|
|
606
|
-
retries?: number | undefined;
|
|
607
|
-
};
|
|
608
607
|
acceptance: {
|
|
609
608
|
id: string;
|
|
610
609
|
check: string;
|
|
@@ -612,15 +611,26 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
612
611
|
producer: string;
|
|
613
612
|
independent: boolean;
|
|
614
613
|
mandatory: boolean;
|
|
615
|
-
threshold?: string | undefined;
|
|
616
614
|
baseline?: string | undefined;
|
|
615
|
+
threshold?: string | undefined;
|
|
617
616
|
}[];
|
|
617
|
+
scope: {
|
|
618
|
+
capabilities: string[];
|
|
619
|
+
};
|
|
618
620
|
};
|
|
619
|
-
requestId: string;
|
|
620
|
-
missionId: string;
|
|
621
621
|
expectedRevision: number;
|
|
622
622
|
}, {
|
|
623
|
+
requestId: string;
|
|
624
|
+
missionId: string;
|
|
623
625
|
plan: {
|
|
626
|
+
budget: {
|
|
627
|
+
currency: string;
|
|
628
|
+
ceilingMinor: number;
|
|
629
|
+
tokens?: number | undefined;
|
|
630
|
+
concurrency?: number | undefined;
|
|
631
|
+
wallTimeSeconds?: number | undefined;
|
|
632
|
+
retries?: number | undefined;
|
|
633
|
+
};
|
|
624
634
|
tasks: {
|
|
625
635
|
id: string;
|
|
626
636
|
title: string;
|
|
@@ -628,27 +638,19 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
628
638
|
mode: "durable-executor" | "session-bound";
|
|
629
639
|
requirement: string;
|
|
630
640
|
};
|
|
631
|
-
checkpoint?: string | undefined;
|
|
632
641
|
dependsOn?: string[] | undefined;
|
|
633
642
|
capabilityCeiling?: string[] | undefined;
|
|
634
643
|
estimatedCostMinor?: number | undefined;
|
|
644
|
+
checkpoint?: string | undefined;
|
|
635
645
|
acceptanceEvidence?: string[] | undefined;
|
|
636
646
|
}[];
|
|
637
|
-
budget: {
|
|
638
|
-
currency: string;
|
|
639
|
-
ceilingMinor: number;
|
|
640
|
-
concurrency?: number | undefined;
|
|
641
|
-
tokens?: number | undefined;
|
|
642
|
-
wallTimeSeconds?: number | undefined;
|
|
643
|
-
retries?: number | undefined;
|
|
644
|
-
};
|
|
645
647
|
acceptance: {
|
|
646
648
|
id: string;
|
|
647
649
|
check: string;
|
|
648
650
|
producer: string;
|
|
649
|
-
threshold?: string | undefined;
|
|
650
|
-
baseline?: string | undefined;
|
|
651
651
|
inputs?: string[] | undefined;
|
|
652
|
+
baseline?: string | undefined;
|
|
653
|
+
threshold?: string | undefined;
|
|
652
654
|
independent?: boolean | undefined;
|
|
653
655
|
mandatory?: boolean | undefined;
|
|
654
656
|
}[];
|
|
@@ -656,8 +658,6 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
656
658
|
capabilities?: string[] | undefined;
|
|
657
659
|
} | undefined;
|
|
658
660
|
};
|
|
659
|
-
requestId: string;
|
|
660
|
-
missionId: string;
|
|
661
661
|
expectedRevision: number;
|
|
662
662
|
}>;
|
|
663
663
|
export declare const getInputSchema: z.ZodObject<{
|
|
@@ -672,13 +672,13 @@ export declare const eventsInputSchema: z.ZodObject<{
|
|
|
672
672
|
afterSequence: z.ZodDefault<z.ZodNumber>;
|
|
673
673
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
674
674
|
}, "strict", z.ZodTypeAny, {
|
|
675
|
-
limit: number;
|
|
676
675
|
missionId: string;
|
|
677
676
|
afterSequence: number;
|
|
677
|
+
limit: number;
|
|
678
678
|
}, {
|
|
679
679
|
missionId: string;
|
|
680
|
-
limit?: number | undefined;
|
|
681
680
|
afterSequence?: number | undefined;
|
|
681
|
+
limit?: number | undefined;
|
|
682
682
|
}>;
|
|
683
683
|
export declare const requestActionInputSchema: z.ZodObject<{
|
|
684
684
|
requestId: z.ZodString;
|
|
@@ -687,16 +687,16 @@ export declare const requestActionInputSchema: z.ZodObject<{
|
|
|
687
687
|
action: z.ZodEnum<["pause", "resume", "cancel", "requestAuthorization", "admit"]>;
|
|
688
688
|
reason: z.ZodOptional<z.ZodString>;
|
|
689
689
|
}, "strict", z.ZodTypeAny, {
|
|
690
|
-
action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
|
|
691
690
|
requestId: string;
|
|
692
691
|
missionId: string;
|
|
693
692
|
expectedRevision: number;
|
|
693
|
+
action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
|
|
694
694
|
reason?: string | undefined;
|
|
695
695
|
}, {
|
|
696
|
-
action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
|
|
697
696
|
requestId: string;
|
|
698
697
|
missionId: string;
|
|
699
698
|
expectedRevision: number;
|
|
699
|
+
action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
|
|
700
700
|
reason?: string | undefined;
|
|
701
701
|
}>;
|
|
702
702
|
export type CreateInput = z.infer<typeof createInputSchema>;
|