@claude-flow/cli 3.54.1 → 3.55.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/.claude/helpers/helpers.manifest.json +2 -2
- package/bin/cli.js +1 -1
- package/bin/mcp-server.js +1 -1
- package/catalog-manifest.json +2 -2
- package/dist/src/commands/autopilot.js +2 -2
- package/dist/src/commands/daemon.js +21 -1
- package/dist/src/commands/hive-mind.js +7 -0
- package/dist/src/commands/mcp.js +35 -1
- package/dist/src/commands/policy.js +10 -2
- package/dist/src/mcp-server.d.ts +33 -0
- package/dist/src/mcp-server.js +96 -4
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +2 -4
- package/dist/src/mcp-tools/hive-mind-tools.js +214 -40
- package/dist/src/missions/schemas.d.ts +125 -125
- package/dist/src/mods/command-registry/schema.d.ts +199 -199
- package/dist/src/parser.d.ts +3 -0
- package/dist/src/parser.js +64 -13
- package/dist/src/production/retry.js +1 -1
- package/dist/src/services/bounded-worker-pool.js +3 -0
- package/dist/src/services/config-file-manager.d.ts +3 -0
- package/dist/src/services/config-file-manager.js +24 -7
- package/dist/src/services/policy-ledger-anchor.d.ts +42 -0
- package/dist/src/services/policy-ledger-anchor.js +163 -0
- package/dist/src/services/policy-runtime.d.ts +11 -5
- package/dist/src/services/policy-runtime.js +70 -15
- package/dist/src/services/worker-daemon.d.ts +1 -0
- package/dist/src/services/worker-daemon.js +12 -0
- package/dist/src/services/worker-queue.js +11 -2
- package/node_modules/@claude-flow/mcp/dist/connection-pool.d.ts.map +1 -1
- package/node_modules/@claude-flow/mcp/dist/connection-pool.js +5 -2
- package/node_modules/@claude-flow/mcp/dist/connection-pool.js.map +1 -1
- package/node_modules/@claude-flow/mcp/dist/transport/http.d.ts +7 -1
- package/node_modules/@claude-flow/mcp/dist/transport/http.d.ts.map +1 -1
- package/node_modules/@claude-flow/mcp/dist/transport/http.js +60 -47
- package/node_modules/@claude-flow/mcp/dist/transport/http.js.map +1 -1
- package/node_modules/@claude-flow/mcp/package.json +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.js +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.js.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.d.ts +3 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.d.ts.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.js +4 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.js.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.d.ts.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.js +1 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.js.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/package.json +1 -1
- package/node_modules/@claude-flow/security/dist/policy/engine.d.ts +11 -1
- package/node_modules/@claude-flow/security/dist/policy/engine.d.ts.map +1 -1
- package/node_modules/@claude-flow/security/dist/policy/engine.js +19 -3
- package/node_modules/@claude-flow/security/dist/policy/engine.js.map +1 -1
- package/node_modules/@claude-flow/security/dist/policy/types.d.ts +4 -2
- package/node_modules/@claude-flow/security/dist/policy/types.d.ts.map +1 -1
- package/node_modules/@claude-flow/security/package.json +1 -1
- package/package.json +7 -7
- package/plugins/ruflo-metaharness/.claude-plugin/plugin.json +1 -1
- package/plugins/ruflo-metaharness/scripts/_invoke.mjs +80 -7
- package/plugins/ruflo-metaharness/scripts/smoke.sh +4 -4
- package/plugins/ruflo-metaharness/scripts/test-cli-resolution-3558.mjs +141 -0
- package/plugins/ruflo-metaharness/scripts/test-no-tool-time-npx.mjs +5 -0
|
@@ -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
|
-
|
|
76
|
+
createdAt: string;
|
|
77
|
+
updatedAt: string;
|
|
77
78
|
schemaVersion: 1;
|
|
78
|
-
|
|
79
|
-
tenantId: string;
|
|
80
|
-
workspaceId: string;
|
|
81
|
-
ownerPrincipalId: string;
|
|
82
|
-
revision: number;
|
|
79
|
+
state: "completed" | "cancelled" | "failed" | "blocked" | "running" | "paused" | "queued" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
|
|
83
80
|
plan: {
|
|
84
81
|
revision: number;
|
|
85
82
|
digest: string;
|
|
86
83
|
taskGraphRef: string;
|
|
87
84
|
};
|
|
85
|
+
objective: string;
|
|
86
|
+
missionId: string;
|
|
87
|
+
tenantId: string;
|
|
88
|
+
workspaceId: string;
|
|
89
|
+
ownerPrincipalId: string;
|
|
90
|
+
revision: number;
|
|
88
91
|
policyRef: string;
|
|
89
92
|
budgetRef: string;
|
|
90
93
|
executionMode: "durable-executor" | "session-bound";
|
|
91
|
-
state: "draft" | "planned" | "awaitingAuthorization" | "queued" | "running" | "pauseRequested" | "paused" | "blocked" | "verifying" | "completed" | "failed" | "cancelRequested" | "cancelled";
|
|
92
94
|
evidenceRefs: string[];
|
|
93
95
|
acceptance: {
|
|
94
96
|
revision: number;
|
|
95
97
|
criteriaDigest: string;
|
|
96
98
|
};
|
|
97
99
|
lastEventSequence: number;
|
|
98
|
-
createdAt: string;
|
|
99
|
-
updatedAt: string;
|
|
100
100
|
authorizationRef?: string | undefined;
|
|
101
101
|
}, {
|
|
102
|
-
|
|
102
|
+
createdAt: string;
|
|
103
|
+
updatedAt: string;
|
|
103
104
|
schemaVersion: 1;
|
|
104
|
-
|
|
105
|
-
tenantId: string;
|
|
106
|
-
workspaceId: string;
|
|
107
|
-
ownerPrincipalId: string;
|
|
108
|
-
revision: number;
|
|
105
|
+
state: "completed" | "cancelled" | "failed" | "blocked" | "running" | "paused" | "queued" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
|
|
109
106
|
plan: {
|
|
110
107
|
revision: number;
|
|
111
108
|
digest: string;
|
|
112
109
|
taskGraphRef: string;
|
|
113
110
|
};
|
|
111
|
+
objective: string;
|
|
112
|
+
missionId: string;
|
|
113
|
+
tenantId: string;
|
|
114
|
+
workspaceId: string;
|
|
115
|
+
ownerPrincipalId: string;
|
|
116
|
+
revision: number;
|
|
114
117
|
policyRef: string;
|
|
115
118
|
budgetRef: string;
|
|
116
119
|
executionMode: "durable-executor" | "session-bound";
|
|
117
|
-
state: "draft" | "planned" | "awaitingAuthorization" | "queued" | "running" | "pauseRequested" | "paused" | "blocked" | "verifying" | "completed" | "failed" | "cancelRequested" | "cancelled";
|
|
118
120
|
evidenceRefs: string[];
|
|
119
121
|
acceptance: {
|
|
120
122
|
revision: number;
|
|
121
123
|
criteriaDigest: string;
|
|
122
124
|
};
|
|
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>;
|
|
@@ -145,8 +145,8 @@ export declare const taskSpecSchema: z.ZodObject<{
|
|
|
145
145
|
checkpoint: z.ZodOptional<z.ZodString>;
|
|
146
146
|
acceptanceEvidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
147
147
|
}, "strict", z.ZodTypeAny, {
|
|
148
|
-
title: string;
|
|
149
148
|
id: string;
|
|
149
|
+
title: string;
|
|
150
150
|
dependsOn: string[];
|
|
151
151
|
executor: {
|
|
152
152
|
mode: "durable-executor" | "session-bound";
|
|
@@ -157,16 +157,16 @@ export declare const taskSpecSchema: z.ZodObject<{
|
|
|
157
157
|
acceptanceEvidence: string[];
|
|
158
158
|
checkpoint?: string | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
title: string;
|
|
161
160
|
id: string;
|
|
161
|
+
title: string;
|
|
162
162
|
executor: {
|
|
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,16 +207,16 @@ export declare const budgetSpecSchema: z.ZodObject<{
|
|
|
207
207
|
}, "strict", z.ZodTypeAny, {
|
|
208
208
|
currency: string;
|
|
209
209
|
ceilingMinor: number;
|
|
210
|
+
concurrency?: number | undefined;
|
|
210
211
|
tokens?: number | undefined;
|
|
211
212
|
wallTimeSeconds?: number | undefined;
|
|
212
|
-
concurrency?: number | undefined;
|
|
213
213
|
retries?: number | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
currency: string;
|
|
216
216
|
ceilingMinor: number;
|
|
217
|
+
concurrency?: number | undefined;
|
|
217
218
|
tokens?: number | undefined;
|
|
218
219
|
wallTimeSeconds?: number | undefined;
|
|
219
|
-
concurrency?: number | undefined;
|
|
220
220
|
retries?: number | undefined;
|
|
221
221
|
}>;
|
|
222
222
|
export declare const planBodySchema: z.ZodObject<{
|
|
@@ -239,8 +239,8 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
239
239
|
checkpoint: z.ZodOptional<z.ZodString>;
|
|
240
240
|
acceptanceEvidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
241
241
|
}, "strict", z.ZodTypeAny, {
|
|
242
|
-
title: string;
|
|
243
242
|
id: string;
|
|
243
|
+
title: string;
|
|
244
244
|
dependsOn: string[];
|
|
245
245
|
executor: {
|
|
246
246
|
mode: "durable-executor" | "session-bound";
|
|
@@ -251,16 +251,16 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
251
251
|
acceptanceEvidence: string[];
|
|
252
252
|
checkpoint?: string | undefined;
|
|
253
253
|
}, {
|
|
254
|
-
title: string;
|
|
255
254
|
id: string;
|
|
255
|
+
title: string;
|
|
256
256
|
executor: {
|
|
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,16 +301,16 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
301
301
|
}, "strict", z.ZodTypeAny, {
|
|
302
302
|
currency: string;
|
|
303
303
|
ceilingMinor: number;
|
|
304
|
+
concurrency?: number | undefined;
|
|
304
305
|
tokens?: number | undefined;
|
|
305
306
|
wallTimeSeconds?: number | undefined;
|
|
306
|
-
concurrency?: number | undefined;
|
|
307
307
|
retries?: number | undefined;
|
|
308
308
|
}, {
|
|
309
309
|
currency: string;
|
|
310
310
|
ceilingMinor: number;
|
|
311
|
+
concurrency?: number | undefined;
|
|
311
312
|
tokens?: number | undefined;
|
|
312
313
|
wallTimeSeconds?: number | undefined;
|
|
313
|
-
concurrency?: number | undefined;
|
|
314
314
|
retries?: number | undefined;
|
|
315
315
|
}>;
|
|
316
316
|
scope: z.ZodDefault<z.ZodObject<{
|
|
@@ -322,8 +322,8 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
322
322
|
}>>;
|
|
323
323
|
}, "strict", z.ZodTypeAny, {
|
|
324
324
|
tasks: {
|
|
325
|
-
title: string;
|
|
326
325
|
id: string;
|
|
326
|
+
title: string;
|
|
327
327
|
dependsOn: string[];
|
|
328
328
|
executor: {
|
|
329
329
|
mode: "durable-executor" | "session-bound";
|
|
@@ -334,6 +334,17 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
334
334
|
acceptanceEvidence: string[];
|
|
335
335
|
checkpoint?: string | undefined;
|
|
336
336
|
}[];
|
|
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
|
+
};
|
|
337
348
|
acceptance: {
|
|
338
349
|
id: string;
|
|
339
350
|
check: string;
|
|
@@ -341,52 +352,41 @@ export declare const planBodySchema: z.ZodObject<{
|
|
|
341
352
|
producer: string;
|
|
342
353
|
independent: boolean;
|
|
343
354
|
mandatory: boolean;
|
|
344
|
-
baseline?: string | undefined;
|
|
345
355
|
threshold?: string | undefined;
|
|
356
|
+
baseline?: string | undefined;
|
|
346
357
|
}[];
|
|
347
|
-
budget: {
|
|
348
|
-
currency: string;
|
|
349
|
-
ceilingMinor: number;
|
|
350
|
-
tokens?: number | undefined;
|
|
351
|
-
wallTimeSeconds?: number | undefined;
|
|
352
|
-
concurrency?: number | undefined;
|
|
353
|
-
retries?: number | undefined;
|
|
354
|
-
};
|
|
355
|
-
scope: {
|
|
356
|
-
capabilities: string[];
|
|
357
|
-
};
|
|
358
358
|
}, {
|
|
359
359
|
tasks: {
|
|
360
|
-
title: string;
|
|
361
360
|
id: string;
|
|
361
|
+
title: string;
|
|
362
362
|
executor: {
|
|
363
363
|
mode: "durable-executor" | "session-bound";
|
|
364
364
|
requirement: string;
|
|
365
365
|
};
|
|
366
|
+
checkpoint?: string | undefined;
|
|
366
367
|
dependsOn?: string[] | undefined;
|
|
367
368
|
capabilityCeiling?: string[] | undefined;
|
|
368
369
|
estimatedCostMinor?: number | undefined;
|
|
369
|
-
checkpoint?: string | undefined;
|
|
370
370
|
acceptanceEvidence?: string[] | undefined;
|
|
371
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
|
+
};
|
|
372
380
|
acceptance: {
|
|
373
381
|
id: string;
|
|
374
382
|
check: string;
|
|
375
383
|
producer: string;
|
|
376
|
-
inputs?: string[] | undefined;
|
|
377
|
-
baseline?: string | undefined;
|
|
378
384
|
threshold?: string | undefined;
|
|
385
|
+
baseline?: string | undefined;
|
|
386
|
+
inputs?: string[] | undefined;
|
|
379
387
|
independent?: boolean | undefined;
|
|
380
388
|
mandatory?: boolean | undefined;
|
|
381
389
|
}[];
|
|
382
|
-
budget: {
|
|
383
|
-
currency: string;
|
|
384
|
-
ceilingMinor: number;
|
|
385
|
-
tokens?: number | undefined;
|
|
386
|
-
wallTimeSeconds?: number | undefined;
|
|
387
|
-
concurrency?: number | undefined;
|
|
388
|
-
retries?: number | undefined;
|
|
389
|
-
};
|
|
390
390
|
scope?: {
|
|
391
391
|
capabilities?: string[] | undefined;
|
|
392
392
|
} | undefined;
|
|
@@ -427,8 +427,8 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
427
427
|
checkpoint: z.ZodOptional<z.ZodString>;
|
|
428
428
|
acceptanceEvidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
429
429
|
}, "strict", z.ZodTypeAny, {
|
|
430
|
-
title: string;
|
|
431
430
|
id: string;
|
|
431
|
+
title: string;
|
|
432
432
|
dependsOn: string[];
|
|
433
433
|
executor: {
|
|
434
434
|
mode: "durable-executor" | "session-bound";
|
|
@@ -439,16 +439,16 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
439
439
|
acceptanceEvidence: string[];
|
|
440
440
|
checkpoint?: string | undefined;
|
|
441
441
|
}, {
|
|
442
|
-
title: string;
|
|
443
442
|
id: string;
|
|
443
|
+
title: string;
|
|
444
444
|
executor: {
|
|
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,16 +489,16 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
489
489
|
}, "strict", z.ZodTypeAny, {
|
|
490
490
|
currency: string;
|
|
491
491
|
ceilingMinor: number;
|
|
492
|
+
concurrency?: number | undefined;
|
|
492
493
|
tokens?: number | undefined;
|
|
493
494
|
wallTimeSeconds?: number | undefined;
|
|
494
|
-
concurrency?: number | undefined;
|
|
495
495
|
retries?: number | undefined;
|
|
496
496
|
}, {
|
|
497
497
|
currency: string;
|
|
498
498
|
ceilingMinor: number;
|
|
499
|
+
concurrency?: number | undefined;
|
|
499
500
|
tokens?: number | undefined;
|
|
500
501
|
wallTimeSeconds?: number | undefined;
|
|
501
|
-
concurrency?: number | undefined;
|
|
502
502
|
retries?: number | undefined;
|
|
503
503
|
}>;
|
|
504
504
|
scope: z.ZodDefault<z.ZodObject<{
|
|
@@ -510,8 +510,8 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
510
510
|
}>>;
|
|
511
511
|
}, "strict", z.ZodTypeAny, {
|
|
512
512
|
tasks: {
|
|
513
|
-
title: string;
|
|
514
513
|
id: string;
|
|
514
|
+
title: string;
|
|
515
515
|
dependsOn: string[];
|
|
516
516
|
executor: {
|
|
517
517
|
mode: "durable-executor" | "session-bound";
|
|
@@ -522,6 +522,17 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
522
522
|
acceptanceEvidence: string[];
|
|
523
523
|
checkpoint?: string | undefined;
|
|
524
524
|
}[];
|
|
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
|
+
};
|
|
525
536
|
acceptance: {
|
|
526
537
|
id: string;
|
|
527
538
|
check: string;
|
|
@@ -529,63 +540,50 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
529
540
|
producer: string;
|
|
530
541
|
independent: boolean;
|
|
531
542
|
mandatory: boolean;
|
|
532
|
-
baseline?: string | undefined;
|
|
533
543
|
threshold?: string | undefined;
|
|
544
|
+
baseline?: string | undefined;
|
|
534
545
|
}[];
|
|
535
|
-
budget: {
|
|
536
|
-
currency: string;
|
|
537
|
-
ceilingMinor: number;
|
|
538
|
-
tokens?: number | undefined;
|
|
539
|
-
wallTimeSeconds?: number | undefined;
|
|
540
|
-
concurrency?: number | undefined;
|
|
541
|
-
retries?: number | undefined;
|
|
542
|
-
};
|
|
543
|
-
scope: {
|
|
544
|
-
capabilities: string[];
|
|
545
|
-
};
|
|
546
546
|
}, {
|
|
547
547
|
tasks: {
|
|
548
|
-
title: string;
|
|
549
548
|
id: string;
|
|
549
|
+
title: string;
|
|
550
550
|
executor: {
|
|
551
551
|
mode: "durable-executor" | "session-bound";
|
|
552
552
|
requirement: string;
|
|
553
553
|
};
|
|
554
|
+
checkpoint?: string | undefined;
|
|
554
555
|
dependsOn?: string[] | undefined;
|
|
555
556
|
capabilityCeiling?: string[] | undefined;
|
|
556
557
|
estimatedCostMinor?: number | undefined;
|
|
557
|
-
checkpoint?: string | undefined;
|
|
558
558
|
acceptanceEvidence?: string[] | undefined;
|
|
559
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
|
+
};
|
|
560
568
|
acceptance: {
|
|
561
569
|
id: string;
|
|
562
570
|
check: string;
|
|
563
571
|
producer: string;
|
|
564
|
-
inputs?: string[] | undefined;
|
|
565
|
-
baseline?: string | undefined;
|
|
566
572
|
threshold?: string | undefined;
|
|
573
|
+
baseline?: string | undefined;
|
|
574
|
+
inputs?: string[] | undefined;
|
|
567
575
|
independent?: boolean | undefined;
|
|
568
576
|
mandatory?: boolean | undefined;
|
|
569
577
|
}[];
|
|
570
|
-
budget: {
|
|
571
|
-
currency: string;
|
|
572
|
-
ceilingMinor: number;
|
|
573
|
-
tokens?: number | undefined;
|
|
574
|
-
wallTimeSeconds?: number | undefined;
|
|
575
|
-
concurrency?: number | undefined;
|
|
576
|
-
retries?: number | undefined;
|
|
577
|
-
};
|
|
578
578
|
scope?: {
|
|
579
579
|
capabilities?: string[] | undefined;
|
|
580
580
|
} | undefined;
|
|
581
581
|
}>;
|
|
582
582
|
}, "strict", z.ZodTypeAny, {
|
|
583
|
-
requestId: string;
|
|
584
|
-
missionId: string;
|
|
585
583
|
plan: {
|
|
586
584
|
tasks: {
|
|
587
|
-
title: string;
|
|
588
585
|
id: string;
|
|
586
|
+
title: string;
|
|
589
587
|
dependsOn: string[];
|
|
590
588
|
executor: {
|
|
591
589
|
mode: "durable-executor" | "session-bound";
|
|
@@ -596,6 +594,17 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
596
594
|
acceptanceEvidence: string[];
|
|
597
595
|
checkpoint?: string | undefined;
|
|
598
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
|
+
};
|
|
599
608
|
acceptance: {
|
|
600
609
|
id: string;
|
|
601
610
|
check: string;
|
|
@@ -603,61 +612,52 @@ export declare const planInputSchema: z.ZodObject<{
|
|
|
603
612
|
producer: string;
|
|
604
613
|
independent: boolean;
|
|
605
614
|
mandatory: boolean;
|
|
606
|
-
baseline?: string | undefined;
|
|
607
615
|
threshold?: string | undefined;
|
|
616
|
+
baseline?: string | undefined;
|
|
608
617
|
}[];
|
|
609
|
-
budget: {
|
|
610
|
-
currency: string;
|
|
611
|
-
ceilingMinor: number;
|
|
612
|
-
tokens?: number | undefined;
|
|
613
|
-
wallTimeSeconds?: number | undefined;
|
|
614
|
-
concurrency?: number | undefined;
|
|
615
|
-
retries?: number | undefined;
|
|
616
|
-
};
|
|
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
624
|
tasks: {
|
|
627
|
-
title: string;
|
|
628
625
|
id: string;
|
|
626
|
+
title: string;
|
|
629
627
|
executor: {
|
|
630
628
|
mode: "durable-executor" | "session-bound";
|
|
631
629
|
requirement: string;
|
|
632
630
|
};
|
|
631
|
+
checkpoint?: string | undefined;
|
|
633
632
|
dependsOn?: string[] | undefined;
|
|
634
633
|
capabilityCeiling?: string[] | undefined;
|
|
635
634
|
estimatedCostMinor?: number | undefined;
|
|
636
|
-
checkpoint?: string | undefined;
|
|
637
635
|
acceptanceEvidence?: string[] | undefined;
|
|
638
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
|
+
};
|
|
639
645
|
acceptance: {
|
|
640
646
|
id: string;
|
|
641
647
|
check: string;
|
|
642
648
|
producer: string;
|
|
643
|
-
inputs?: string[] | undefined;
|
|
644
|
-
baseline?: string | undefined;
|
|
645
649
|
threshold?: string | undefined;
|
|
650
|
+
baseline?: string | undefined;
|
|
651
|
+
inputs?: string[] | undefined;
|
|
646
652
|
independent?: boolean | undefined;
|
|
647
653
|
mandatory?: boolean | undefined;
|
|
648
654
|
}[];
|
|
649
|
-
budget: {
|
|
650
|
-
currency: string;
|
|
651
|
-
ceilingMinor: number;
|
|
652
|
-
tokens?: number | undefined;
|
|
653
|
-
wallTimeSeconds?: number | undefined;
|
|
654
|
-
concurrency?: number | undefined;
|
|
655
|
-
retries?: number | undefined;
|
|
656
|
-
};
|
|
657
655
|
scope?: {
|
|
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>;
|