claude-flow 3.75.2 → 3.75.3
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/node_modules/@claude-flow/plugin-agent-federation/package.json +16 -4
- package/node_modules/@claude-flow/security/README.md +43 -0
- package/node_modules/@claude-flow/security/dist/input-validator.d.ts +3 -3
- package/node_modules/@claude-flow/security/package.json +23 -0
- package/package.json +2 -2
- package/v3/@claude-flow/cli/catalog-manifest.json +2 -2
- package/v3/@claude-flow/cli/dist/src/init/helper-companions.js +64 -2
- package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js +5 -0
- package/v3/@claude-flow/cli/dist/src/missions/schemas.d.ts +124 -124
- package/v3/@claude-flow/cli/dist/src/mods/command-registry/schema.d.ts +199 -199
- package/v3/@claude-flow/cli/dist/src/transfer/store/download.d.ts +10 -3
- package/v3/@claude-flow/cli/dist/src/transfer/store/download.js +33 -16
- package/v3/@claude-flow/cli/package.json +4 -4
- package/v3/@claude-flow/shared/README.md +39 -0
- package/v3/@claude-flow/shared/dist/core/config/schema.d.ts +114 -1516
- package/v3/@claude-flow/shared/dist/core/config/schema.js +4 -4
- package/v3/@claude-flow/shared/dist/core/config/validator.d.ts +2 -2
- package/v3/@claude-flow/shared/dist/core/config/validator.js +17 -3
- package/v3/@claude-flow/shared/package.json +25 -4
|
@@ -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
|
-
revision: number;
|
|
49
48
|
digest: string;
|
|
49
|
+
revision: number;
|
|
50
50
|
taskGraphRef: string;
|
|
51
51
|
}, {
|
|
52
|
-
revision: number;
|
|
53
52
|
digest: string;
|
|
53
|
+
revision: number;
|
|
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
|
-
|
|
76
|
+
createdAt: string;
|
|
77
|
+
updatedAt: string;
|
|
78
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
|
+
};
|
|
89
|
+
objective: string;
|
|
79
90
|
missionId: string;
|
|
80
91
|
tenantId: string;
|
|
81
92
|
workspaceId: string;
|
|
82
93
|
ownerPrincipalId: string;
|
|
83
94
|
revision: number;
|
|
84
|
-
plan: {
|
|
85
|
-
revision: number;
|
|
86
|
-
digest: string;
|
|
87
|
-
taskGraphRef: string;
|
|
88
|
-
};
|
|
89
95
|
policyRef: string;
|
|
90
96
|
budgetRef: string;
|
|
91
97
|
executionMode: "durable-executor" | "session-bound";
|
|
92
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
|
+
plan: {
|
|
107
|
+
digest: string;
|
|
108
|
+
revision: number;
|
|
109
|
+
taskGraphRef: string;
|
|
110
|
+
};
|
|
93
111
|
acceptance: {
|
|
94
112
|
revision: number;
|
|
95
113
|
criteriaDigest: string;
|
|
96
114
|
};
|
|
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";
|
|
103
115
|
objective: string;
|
|
104
|
-
schemaVersion: 1;
|
|
105
116
|
missionId: string;
|
|
106
117
|
tenantId: string;
|
|
107
118
|
workspaceId: string;
|
|
108
119
|
ownerPrincipalId: string;
|
|
109
120
|
revision: number;
|
|
110
|
-
plan: {
|
|
111
|
-
revision: number;
|
|
112
|
-
digest: string;
|
|
113
|
-
taskGraphRef: string;
|
|
114
|
-
};
|
|
115
121
|
policyRef: string;
|
|
116
122
|
budgetRef: string;
|
|
117
123
|
executionMode: "durable-executor" | "session-bound";
|
|
118
124
|
evidenceRefs: string[];
|
|
119
|
-
acceptance: {
|
|
120
|
-
revision: number;
|
|
121
|
-
criteriaDigest: string;
|
|
122
|
-
};
|
|
123
125
|
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;
|
|
166
167
|
dependsOn?: string[] | undefined;
|
|
167
168
|
capabilityCeiling?: string[] | undefined;
|
|
168
169
|
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
|
-
baseline?: string | undefined;
|
|
189
188
|
threshold?: string | undefined;
|
|
189
|
+
baseline?: string | undefined;
|
|
190
190
|
}, {
|
|
191
191
|
id: string;
|
|
192
192
|
check: string;
|
|
193
193
|
producer: string;
|
|
194
|
-
inputs?: string[] | undefined;
|
|
195
|
-
baseline?: string | undefined;
|
|
196
194
|
threshold?: string | undefined;
|
|
195
|
+
baseline?: string | undefined;
|
|
196
|
+
inputs?: 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
|
-
tokens?: number | undefined;
|
|
211
210
|
concurrency?: number | undefined;
|
|
211
|
+
tokens?: number | undefined;
|
|
212
212
|
wallTimeSeconds?: number | undefined;
|
|
213
213
|
retries?: number | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
currency: string;
|
|
216
216
|
ceilingMinor: number;
|
|
217
|
-
tokens?: number | undefined;
|
|
218
217
|
concurrency?: number | undefined;
|
|
218
|
+
tokens?: 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;
|
|
260
261
|
dependsOn?: string[] | undefined;
|
|
261
262
|
capabilityCeiling?: string[] | undefined;
|
|
262
263
|
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
|
-
baseline?: string | undefined;
|
|
283
282
|
threshold?: string | undefined;
|
|
283
|
+
baseline?: string | undefined;
|
|
284
284
|
}, {
|
|
285
285
|
id: string;
|
|
286
286
|
check: string;
|
|
287
287
|
producer: string;
|
|
288
|
-
inputs?: string[] | undefined;
|
|
289
|
-
baseline?: string | undefined;
|
|
290
288
|
threshold?: string | undefined;
|
|
289
|
+
baseline?: string | undefined;
|
|
290
|
+
inputs?: 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
|
-
tokens?: number | undefined;
|
|
305
304
|
concurrency?: number | undefined;
|
|
305
|
+
tokens?: number | undefined;
|
|
306
306
|
wallTimeSeconds?: number | undefined;
|
|
307
307
|
retries?: number | undefined;
|
|
308
308
|
}, {
|
|
309
309
|
currency: string;
|
|
310
310
|
ceilingMinor: number;
|
|
311
|
-
tokens?: number | undefined;
|
|
312
311
|
concurrency?: number | undefined;
|
|
312
|
+
tokens?: number | undefined;
|
|
313
313
|
wallTimeSeconds?: number | undefined;
|
|
314
314
|
retries?: number | undefined;
|
|
315
315
|
}>;
|
|
@@ -321,14 +321,6 @@ 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
|
-
};
|
|
332
324
|
tasks: {
|
|
333
325
|
id: string;
|
|
334
326
|
title: string;
|
|
@@ -342,28 +334,28 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
342
334
|
acceptanceEvidence: string[];
|
|
343
335
|
checkpoint?: string | undefined;
|
|
344
336
|
}[];
|
|
345
|
-
acceptance: {
|
|
346
|
-
id: string;
|
|
347
|
-
check: string;
|
|
348
|
-
inputs: string[];
|
|
349
|
-
producer: string;
|
|
350
|
-
independent: boolean;
|
|
351
|
-
mandatory: boolean;
|
|
352
|
-
baseline?: string | undefined;
|
|
353
|
-
threshold?: string | undefined;
|
|
354
|
-
}[];
|
|
355
337
|
scope: {
|
|
356
338
|
capabilities: string[];
|
|
357
339
|
};
|
|
358
|
-
}, {
|
|
359
340
|
budget: {
|
|
360
341
|
currency: string;
|
|
361
342
|
ceilingMinor: number;
|
|
362
|
-
tokens?: number | undefined;
|
|
363
343
|
concurrency?: number | undefined;
|
|
344
|
+
tokens?: number | undefined;
|
|
364
345
|
wallTimeSeconds?: number | undefined;
|
|
365
346
|
retries?: number | undefined;
|
|
366
347
|
};
|
|
348
|
+
acceptance: {
|
|
349
|
+
id: string;
|
|
350
|
+
check: string;
|
|
351
|
+
inputs: string[];
|
|
352
|
+
producer: string;
|
|
353
|
+
independent: boolean;
|
|
354
|
+
mandatory: boolean;
|
|
355
|
+
threshold?: string | undefined;
|
|
356
|
+
baseline?: string | undefined;
|
|
357
|
+
}[];
|
|
358
|
+
}, {
|
|
367
359
|
tasks: {
|
|
368
360
|
id: string;
|
|
369
361
|
title: string;
|
|
@@ -371,19 +363,27 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
371
363
|
mode: "durable-executor" | "session-bound";
|
|
372
364
|
requirement: string;
|
|
373
365
|
};
|
|
366
|
+
checkpoint?: string | undefined;
|
|
374
367
|
dependsOn?: string[] | undefined;
|
|
375
368
|
capabilityCeiling?: string[] | undefined;
|
|
376
369
|
estimatedCostMinor?: number | undefined;
|
|
377
|
-
checkpoint?: string | undefined;
|
|
378
370
|
acceptanceEvidence?: string[] | undefined;
|
|
379
371
|
}[];
|
|
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
|
-
inputs?: string[] | undefined;
|
|
385
|
-
baseline?: string | undefined;
|
|
386
384
|
threshold?: string | undefined;
|
|
385
|
+
baseline?: string | undefined;
|
|
386
|
+
inputs?: 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
|
-
objective: string;
|
|
401
400
|
requestId: string;
|
|
402
|
-
}, {
|
|
403
401
|
objective: string;
|
|
402
|
+
}, {
|
|
404
403
|
requestId: string;
|
|
404
|
+
objective: 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;
|
|
448
449
|
dependsOn?: string[] | undefined;
|
|
449
450
|
capabilityCeiling?: string[] | undefined;
|
|
450
451
|
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
|
-
baseline?: string | undefined;
|
|
471
470
|
threshold?: string | undefined;
|
|
471
|
+
baseline?: string | undefined;
|
|
472
472
|
}, {
|
|
473
473
|
id: string;
|
|
474
474
|
check: string;
|
|
475
475
|
producer: string;
|
|
476
|
-
inputs?: string[] | undefined;
|
|
477
|
-
baseline?: string | undefined;
|
|
478
476
|
threshold?: string | undefined;
|
|
477
|
+
baseline?: string | undefined;
|
|
478
|
+
inputs?: 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
|
-
tokens?: number | undefined;
|
|
493
492
|
concurrency?: number | undefined;
|
|
493
|
+
tokens?: number | undefined;
|
|
494
494
|
wallTimeSeconds?: number | undefined;
|
|
495
495
|
retries?: number | undefined;
|
|
496
496
|
}, {
|
|
497
497
|
currency: string;
|
|
498
498
|
ceilingMinor: number;
|
|
499
|
-
tokens?: number | undefined;
|
|
500
499
|
concurrency?: number | undefined;
|
|
500
|
+
tokens?: number | undefined;
|
|
501
501
|
wallTimeSeconds?: number | undefined;
|
|
502
502
|
retries?: number | undefined;
|
|
503
503
|
}>;
|
|
@@ -509,14 +509,6 @@ 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
|
-
};
|
|
520
512
|
tasks: {
|
|
521
513
|
id: string;
|
|
522
514
|
title: string;
|
|
@@ -530,28 +522,28 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
530
522
|
acceptanceEvidence: string[];
|
|
531
523
|
checkpoint?: string | undefined;
|
|
532
524
|
}[];
|
|
533
|
-
acceptance: {
|
|
534
|
-
id: string;
|
|
535
|
-
check: string;
|
|
536
|
-
inputs: string[];
|
|
537
|
-
producer: string;
|
|
538
|
-
independent: boolean;
|
|
539
|
-
mandatory: boolean;
|
|
540
|
-
baseline?: string | undefined;
|
|
541
|
-
threshold?: string | undefined;
|
|
542
|
-
}[];
|
|
543
525
|
scope: {
|
|
544
526
|
capabilities: string[];
|
|
545
527
|
};
|
|
546
|
-
}, {
|
|
547
528
|
budget: {
|
|
548
529
|
currency: string;
|
|
549
530
|
ceilingMinor: number;
|
|
550
|
-
tokens?: number | undefined;
|
|
551
531
|
concurrency?: number | undefined;
|
|
532
|
+
tokens?: number | undefined;
|
|
552
533
|
wallTimeSeconds?: number | undefined;
|
|
553
534
|
retries?: number | undefined;
|
|
554
535
|
};
|
|
536
|
+
acceptance: {
|
|
537
|
+
id: string;
|
|
538
|
+
check: string;
|
|
539
|
+
inputs: string[];
|
|
540
|
+
producer: string;
|
|
541
|
+
independent: boolean;
|
|
542
|
+
mandatory: boolean;
|
|
543
|
+
threshold?: string | undefined;
|
|
544
|
+
baseline?: string | undefined;
|
|
545
|
+
}[];
|
|
546
|
+
}, {
|
|
555
547
|
tasks: {
|
|
556
548
|
id: string;
|
|
557
549
|
title: string;
|
|
@@ -559,19 +551,27 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
559
551
|
mode: "durable-executor" | "session-bound";
|
|
560
552
|
requirement: string;
|
|
561
553
|
};
|
|
554
|
+
checkpoint?: string | undefined;
|
|
562
555
|
dependsOn?: string[] | undefined;
|
|
563
556
|
capabilityCeiling?: string[] | undefined;
|
|
564
557
|
estimatedCostMinor?: number | undefined;
|
|
565
|
-
checkpoint?: string | undefined;
|
|
566
558
|
acceptanceEvidence?: string[] | undefined;
|
|
567
559
|
}[];
|
|
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
|
-
inputs?: string[] | undefined;
|
|
573
|
-
baseline?: string | undefined;
|
|
574
572
|
threshold?: string | undefined;
|
|
573
|
+
baseline?: string | undefined;
|
|
574
|
+
inputs?: string[] | undefined;
|
|
575
575
|
independent?: boolean | undefined;
|
|
576
576
|
mandatory?: boolean | undefined;
|
|
577
577
|
}[];
|
|
@@ -580,17 +580,7 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
580
580
|
} | undefined;
|
|
581
581
|
}>;
|
|
582
582
|
}, "strict", z.ZodTypeAny, {
|
|
583
|
-
requestId: string;
|
|
584
|
-
missionId: string;
|
|
585
583
|
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
|
-
};
|
|
594
584
|
tasks: {
|
|
595
585
|
id: string;
|
|
596
586
|
title: string;
|
|
@@ -604,6 +594,17 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
604
594
|
acceptanceEvidence: string[];
|
|
605
595
|
checkpoint?: string | undefined;
|
|
606
596
|
}[];
|
|
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
|
+
};
|
|
607
608
|
acceptance: {
|
|
608
609
|
id: string;
|
|
609
610
|
check: string;
|
|
@@ -611,26 +612,15 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
611
612
|
producer: string;
|
|
612
613
|
independent: boolean;
|
|
613
614
|
mandatory: boolean;
|
|
614
|
-
baseline?: string | undefined;
|
|
615
615
|
threshold?: string | undefined;
|
|
616
|
+
baseline?: string | undefined;
|
|
616
617
|
}[];
|
|
617
|
-
scope: {
|
|
618
|
-
capabilities: string[];
|
|
619
|
-
};
|
|
620
618
|
};
|
|
621
|
-
expectedRevision: number;
|
|
622
|
-
}, {
|
|
623
619
|
requestId: string;
|
|
624
620
|
missionId: string;
|
|
621
|
+
expectedRevision: number;
|
|
622
|
+
}, {
|
|
625
623
|
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
|
-
};
|
|
634
624
|
tasks: {
|
|
635
625
|
id: string;
|
|
636
626
|
title: string;
|
|
@@ -638,19 +628,27 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
638
628
|
mode: "durable-executor" | "session-bound";
|
|
639
629
|
requirement: string;
|
|
640
630
|
};
|
|
631
|
+
checkpoint?: string | undefined;
|
|
641
632
|
dependsOn?: string[] | undefined;
|
|
642
633
|
capabilityCeiling?: string[] | undefined;
|
|
643
634
|
estimatedCostMinor?: number | undefined;
|
|
644
|
-
checkpoint?: string | undefined;
|
|
645
635
|
acceptanceEvidence?: string[] | undefined;
|
|
646
636
|
}[];
|
|
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
|
+
};
|
|
647
645
|
acceptance: {
|
|
648
646
|
id: string;
|
|
649
647
|
check: string;
|
|
650
648
|
producer: string;
|
|
651
|
-
inputs?: string[] | undefined;
|
|
652
|
-
baseline?: string | undefined;
|
|
653
649
|
threshold?: string | undefined;
|
|
650
|
+
baseline?: string | undefined;
|
|
651
|
+
inputs?: string[] | undefined;
|
|
654
652
|
independent?: boolean | undefined;
|
|
655
653
|
mandatory?: boolean | undefined;
|
|
656
654
|
}[];
|
|
@@ -658,6 +656,8 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
658
656
|
capabilities?: string[] | undefined;
|
|
659
657
|
} | undefined;
|
|
660
658
|
};
|
|
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;
|
|
675
676
|
missionId: string;
|
|
676
677
|
afterSequence: number;
|
|
677
|
-
limit: number;
|
|
678
678
|
}, {
|
|
679
679
|
missionId: string;
|
|
680
|
-
afterSequence?: number | undefined;
|
|
681
680
|
limit?: number | undefined;
|
|
681
|
+
afterSequence?: 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";
|
|
690
691
|
requestId: string;
|
|
691
692
|
missionId: string;
|
|
692
693
|
expectedRevision: number;
|
|
693
|
-
action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
|
|
694
694
|
reason?: string | undefined;
|
|
695
695
|
}, {
|
|
696
|
+
action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
|
|
696
697
|
requestId: string;
|
|
697
698
|
missionId: string;
|
|
698
699
|
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>;
|