claude-flow 3.63.7 → 3.63.9

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "adoptedAt": 1793198787863,
2
+ "adoptedAt": 1793279562028,
3
3
  "championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
4
4
  "manifest": {
5
5
  "schema": "ruflo.proven-config/v1",
@@ -57,10 +57,10 @@
57
57
  "source": "git-subdir",
58
58
  "url": "https://github.com/proffesor-for-testing/agentic-qe.git",
59
59
  "path": "plugins/agentic-qe-fleet",
60
- "ref": "v3.15.16",
61
- "sha": "4edfa469d8f957b45bc0ea25424eb831b134f129"
60
+ "ref": "v3.15.17",
61
+ "sha": "b177b2315521376b83f2eed40e4994fd7581d067"
62
62
  },
63
- "description": "Agentic QE (external: maintained in proffesor-for-testing/agentic-qe, pinned to v3.15.16): a quality-engineering fleet with 11 QE agents, 9 skills, 9 commands, the agentic-qe MCP server pinned to the plugin version, and the aqe-mod guard that refuses destructive operations on AQE learning data"
63
+ "description": "Agentic QE (external: maintained in proffesor-for-testing/agentic-qe, pinned to v3.15.17): a quality-engineering fleet with 11 QE agents, 9 skills, 9 commands, the agentic-qe MCP server pinned to the plugin version, and the aqe-mod guard that refuses destructive operations on AQE learning data"
64
64
  },
65
65
  {
66
66
  "name": "ruflo-docs",
package/README.md CHANGED
@@ -244,7 +244,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
244
244
  | [**ruflo-browser**](plugins/ruflo-browser/README.md) | Automate browser testing with Playwright |
245
245
  | [**ruflo-jujutsu**](plugins/ruflo-jujutsu/README.md) | Analyze git diffs, score risk, suggest reviewers |
246
246
  | [**ruflo-docs**](plugins/ruflo-docs/README.md) | Generate and maintain documentation automatically |
247
- | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.16/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
247
+ | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.17/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
248
248
 
249
249
  #### Security & Compliance
250
250
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "3.63.7",
3
+ "version": "3.63.9",
4
4
  "workspaces": [
5
5
  "v3/@claude-flow/codex",
6
6
  "v3/@claude-flow/mcp",
@@ -244,7 +244,7 @@ This adds slash commands and agent definitions. `ruflo-core` (installed above) d
244
244
  | [**ruflo-browser**](plugins/ruflo-browser/README.md) | Automate browser testing with Playwright |
245
245
  | [**ruflo-jujutsu**](plugins/ruflo-jujutsu/README.md) | Analyze git diffs, score risk, suggest reviewers |
246
246
  | [**ruflo-docs**](plugins/ruflo-docs/README.md) | Generate and maintain documentation automatically |
247
- | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.16/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
247
+ | [**agentic-qe-fleet**](https://github.com/proffesor-for-testing/agentic-qe/tree/v3.15.17/plugins/agentic-qe-fleet) | External, maintained by [Agentic QE](https://github.com/proffesor-for-testing/agentic-qe): 11 QE agents, test generation, coverage, chaos and TDD skills, the `agentic-qe` MCP server, and a guard for AQE learning data (`/plugin install agentic-qe-fleet@ruflo`). Install it from one marketplace only, `agentic-qe` or `ruflo`: enabled from both, its mod and commands load twice |
248
248
 
249
249
  #### Security & Compliance
250
250
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 7,
4
- "generatedAt": "2026-10-28T15:08:17.042Z",
5
- "gitSha": "8935d9a8",
4
+ "generatedAt": "2026-10-29T14:18:53.918Z",
5
+ "gitSha": "7f6fb334",
6
6
  "catalog": {
7
7
  "agents": 177,
8
8
  "tools": 444,
@@ -207,7 +207,7 @@ const runCommand = {
207
207
  ],
208
208
  action: async (ctx) => {
209
209
  const cwd = ctx.cwd || process.cwd();
210
- const dryRun = ctx.flags['dry-run'] === true;
210
+ const dryRun = ctx.flags.dryRun === true || ctx.flags['dry-run'] === true;
211
211
  const skipBackup = ctx.flags.backup === false;
212
212
  const timestamp = new Date().toISOString().replace(/[:.]/g, '-');
213
213
  const v3Dir = path.join(cwd, '.claude-flow');
@@ -747,7 +747,7 @@ const fixCommand = {
747
747
  output.printSuccess('No removed-agent gaps to fix — every agent is present or covered by an installed plugin.');
748
748
  return { success: true, data: { results: [] } };
749
749
  }
750
- const dryRun = Boolean(ctx.flags['dry-run']);
750
+ const dryRun = ctx.flags.dryRun === true || ctx.flags['dry-run'] === true;
751
751
  const results = await restoreRemovedAgents(cwd, gaps, { dryRun });
752
752
  if (ctx.flags.format === 'json') {
753
753
  output.printJson({ dryRun, results });
@@ -5,5 +5,11 @@
5
5
  * Falls back to local state management when CLI tools are unavailable.
6
6
  */
7
7
  import { type MCPTool } from './types.js';
8
+ /**
9
+ * Drop userinfo from a URL-form remote (`https://user:token@host/o/r`) so a
10
+ * credential embedded in the origin URL never reaches tool output. scp-form
11
+ * remotes (`git@host:o/r`) carry no secret and are returned unchanged.
12
+ */
13
+ export declare function redactRemoteUrl(url: string): string;
8
14
  export declare const githubTools: MCPTool[];
9
15
  //# sourceMappingURL=github-tools.d.ts.map
@@ -114,6 +114,14 @@ function sanitizeLabels(value) {
114
114
  }
115
115
  return out;
116
116
  }
117
+ /**
118
+ * Drop userinfo from a URL-form remote (`https://user:token@host/o/r`) so a
119
+ * credential embedded in the origin URL never reaches tool output. scp-form
120
+ * remotes (`git@host:o/r`) carry no secret and are returned unchanged.
121
+ */
122
+ export function redactRemoteUrl(url) {
123
+ return url.replace(/^([a-z][a-z0-9+.-]*:\/\/)[^/]*@/i, '$1');
124
+ }
117
125
  /** Check if gh CLI is available */
118
126
  function hasGhCli() {
119
127
  return run('gh --version') !== null;
@@ -161,7 +169,7 @@ export const githubTools = [
161
169
  let owner = input.owner || '';
162
170
  let repo = input.repo || '';
163
171
  if (remoteUrl && (!owner || !repo)) {
164
- const m = remoteUrl.match(/[:/]([^/]+)\/([^/.]+?)(?:\.git)?$/);
172
+ const m = remoteUrl.match(/[:/]([^/]+)\/([^/]+?)(?:\.git)?$/);
165
173
  if (m) {
166
174
  owner = owner || m[1];
167
175
  repo = repo || m[2];
@@ -200,7 +208,7 @@ export const githubTools = [
200
208
  repository: repoKey,
201
209
  branch: repoInfo.branch,
202
210
  metrics: repoInfo.metrics,
203
- remoteUrl: remoteUrl || null,
211
+ remoteUrl: remoteUrl ? redactRemoteUrl(remoteUrl) : null,
204
212
  lastAnalyzed: repoInfo.lastAnalyzed,
205
213
  };
206
214
  }
@@ -4879,6 +4879,12 @@ export const hooksWorkerDetect = {
4879
4879
  progress: 0,
4880
4880
  phase: 'initializing',
4881
4881
  startedAt: new Date(),
4882
+ // hooks_worker-detect has no executor. Unlike its sibling
4883
+ // hooks_worker-dispatch, it used to silently fabricate a
4884
+ // completed worker after 1.5s. Mark the record and response so
4885
+ // callers cannot treat it as real analysis (#4549 automation scan).
4886
+ synthetic: true,
4887
+ note: 'No executor ran: hooks_worker-detect only records a synthetic worker. Use hooks_worker-dispatch with the daemon for real work.',
4882
4888
  });
4883
4889
  dispatched.push(workerId);
4884
4890
  // Mark worker completion after processing
@@ -4886,13 +4892,15 @@ export const hooksWorkerDetect = {
4886
4892
  const w = activeWorkers.get(workerId);
4887
4893
  if (w) {
4888
4894
  w.progress = 100;
4889
- w.phase = 'completed';
4895
+ w.phase = 'synthetic-completed';
4890
4896
  w.status = 'completed';
4891
4897
  w.completedAt = new Date();
4892
4898
  }
4893
4899
  }, 1500);
4894
4900
  }
4895
4901
  result.autoDispatched = true;
4902
+ result.autoDispatchStatus = 'synthetic-completed';
4903
+ result.note = 'No executor ran: these worker records are synthetic placeholders. Use hooks_worker-dispatch with the daemon for real work.';
4896
4904
  result.workerIds = dispatched;
4897
4905
  }
4898
4906
  }
@@ -2316,6 +2316,41 @@ export async function bridgeStorePattern(options) {
2316
2316
  controller: 'reasoningBank',
2317
2317
  };
2318
2318
  }
2319
+ // The intelligence module's LocalReasoningBank (registered when agentdb's
2320
+ // own ReasoningBank is unavailable) has store()/findSimilar() but no
2321
+ // storePattern(). bridgeSearchPatterns reads it through findSimilar(), so
2322
+ // the write must land there too, with an embedding from the same
2323
+ // generateEmbedding() the search uses. Otherwise store and search split
2324
+ // across two backends and a stored pattern is never found.
2325
+ if (reasoningBank && typeof reasoningBank.store === 'function' && typeof reasoningBank.findSimilar === 'function') {
2326
+ let embedding = [];
2327
+ try {
2328
+ const { generateEmbedding } = await import('./memory-initializer.js');
2329
+ const emb = await generateEmbedding(options.pattern);
2330
+ if (emb && Array.isArray(emb.embedding))
2331
+ embedding = emb.embedding;
2332
+ }
2333
+ catch { /* no embedder — findSimilar misses it, the getAll() substring scan still finds it */ }
2334
+ // store() returns false when it merges into an existing pattern with the
2335
+ // same content; that is still a successful write.
2336
+ reasoningBank.store({
2337
+ id: patternId,
2338
+ type: options.type,
2339
+ content: options.pattern,
2340
+ confidence: options.confidence,
2341
+ embedding,
2342
+ metadata: options.metadata,
2343
+ });
2344
+ // Saves are debounced; a short-lived CLI process can exit first.
2345
+ if (typeof reasoningBank.flushToDisk === 'function')
2346
+ reasoningBank.flushToDisk();
2347
+ return {
2348
+ success: true,
2349
+ patternId,
2350
+ controller: 'reasoningBank',
2351
+ hasEmbedding: embedding.length > 0,
2352
+ };
2353
+ }
2319
2354
  // Fallback: store via bridge SQL
2320
2355
  const patternValue = JSON.stringify({ pattern: options.pattern, type: options.type, confidence: options.confidence, metadata: options.metadata });
2321
2356
  const result = await bridgeStoreEntry({
@@ -2447,7 +2482,11 @@ export async function bridgeSearchPatterns(options) {
2447
2482
  .slice(0, k)
2448
2483
  .map((p) => ({ id: p.id ?? '', content: p.content ?? '', score: p.confidence ?? 0 }));
2449
2484
  }
2450
- return { results: mapped, controller: 'reasoningBank' };
2485
+ // Nothing in the bank: patterns written by the SQL fallback path (before
2486
+ // the bank was registered, or by a process without it) live in the
2487
+ // `pattern` namespace, so search that instead of returning empty.
2488
+ if (mapped.length > 0)
2489
+ return { results: mapped, controller: 'reasoningBank' };
2451
2490
  }
2452
2491
  // Fallback: search via bridge
2453
2492
  const result = await bridgeSearchEntries({
@@ -73,19 +73,21 @@ export declare const missionRecordSchema: z.ZodObject<{
73
73
  createdAt: z.ZodString;
74
74
  updatedAt: z.ZodString;
75
75
  }, "strict", z.ZodTypeAny, {
76
- state: "draft" | "planned" | "awaitingAuthorization" | "queued" | "running" | "pauseRequested" | "paused" | "blocked" | "verifying" | "completed" | "failed" | "cancelRequested" | "cancelled";
77
- objective: string;
76
+ createdAt: string;
77
+ state: "completed" | "cancelled" | "failed" | "running" | "queued" | "paused" | "blocked" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
78
78
  schemaVersion: 1;
79
- missionId: string;
80
- tenantId: string;
81
- workspaceId: string;
82
- ownerPrincipalId: string;
83
79
  revision: number;
80
+ objective: string;
84
81
  plan: {
85
82
  revision: number;
86
83
  digest: string;
87
84
  taskGraphRef: string;
88
85
  };
86
+ missionId: string;
87
+ updatedAt: string;
88
+ tenantId: string;
89
+ workspaceId: string;
90
+ ownerPrincipalId: string;
89
91
  policyRef: string;
90
92
  budgetRef: string;
91
93
  executionMode: "durable-executor" | "session-bound";
@@ -95,23 +97,23 @@ export declare const missionRecordSchema: z.ZodObject<{
95
97
  criteriaDigest: string;
96
98
  };
97
99
  lastEventSequence: number;
98
- createdAt: string;
99
- updatedAt: string;
100
100
  authorizationRef?: string | undefined;
101
101
  }, {
102
- state: "draft" | "planned" | "awaitingAuthorization" | "queued" | "running" | "pauseRequested" | "paused" | "blocked" | "verifying" | "completed" | "failed" | "cancelRequested" | "cancelled";
103
- objective: string;
102
+ createdAt: string;
103
+ state: "completed" | "cancelled" | "failed" | "running" | "queued" | "paused" | "blocked" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
104
104
  schemaVersion: 1;
105
- missionId: string;
106
- tenantId: string;
107
- workspaceId: string;
108
- ownerPrincipalId: string;
109
105
  revision: number;
106
+ objective: string;
110
107
  plan: {
111
108
  revision: number;
112
109
  digest: string;
113
110
  taskGraphRef: string;
114
111
  };
112
+ missionId: string;
113
+ updatedAt: string;
114
+ tenantId: string;
115
+ workspaceId: string;
116
+ ownerPrincipalId: string;
115
117
  policyRef: string;
116
118
  budgetRef: string;
117
119
  executionMode: "durable-executor" | "session-bound";
@@ -121,8 +123,6 @@ export declare const missionRecordSchema: z.ZodObject<{
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>;
@@ -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
  }>;
@@ -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">;
@@ -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
+ tokens?: number | undefined;
344
+ concurrency?: number | undefined;
345
+ wallTimeSeconds?: number | undefined;
346
+ retries?: number | undefined;
347
+ };
337
348
  acceptance: {
338
349
  id: string;
339
350
  check: string;
@@ -341,20 +352,9 @@ 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
- concurrency?: number | undefined;
352
- wallTimeSeconds?: number | undefined;
353
- retries?: number | undefined;
354
- };
355
- scope: {
356
- capabilities: string[];
357
- };
358
358
  }, {
359
359
  tasks: {
360
360
  id: string;
@@ -363,22 +363,12 @@ export declare const planBodySchema: z.ZodObject<{
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
- acceptance: {
373
- id: string;
374
- check: string;
375
- producer: string;
376
- inputs?: string[] | undefined;
377
- baseline?: string | undefined;
378
- threshold?: string | undefined;
379
- independent?: boolean | undefined;
380
- mandatory?: boolean | undefined;
381
- }[];
382
372
  budget: {
383
373
  currency: string;
384
374
  ceilingMinor: number;
@@ -387,6 +377,16 @@ export declare const planBodySchema: z.ZodObject<{
387
377
  wallTimeSeconds?: number | undefined;
388
378
  retries?: number | undefined;
389
379
  };
380
+ acceptance: {
381
+ id: string;
382
+ check: string;
383
+ producer: string;
384
+ threshold?: string | undefined;
385
+ baseline?: string | undefined;
386
+ inputs?: string[] | undefined;
387
+ independent?: boolean | undefined;
388
+ mandatory?: boolean | undefined;
389
+ }[];
390
390
  scope?: {
391
391
  capabilities?: string[] | undefined;
392
392
  } | undefined;
@@ -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">;
@@ -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
+ tokens?: number | undefined;
532
+ concurrency?: number | undefined;
533
+ wallTimeSeconds?: number | undefined;
534
+ retries?: number | undefined;
535
+ };
525
536
  acceptance: {
526
537
  id: string;
527
538
  check: string;
@@ -529,20 +540,9 @@ 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
- concurrency?: number | undefined;
540
- wallTimeSeconds?: number | undefined;
541
- retries?: number | undefined;
542
- };
543
- scope: {
544
- capabilities: string[];
545
- };
546
546
  }, {
547
547
  tasks: {
548
548
  id: string;
@@ -551,22 +551,12 @@ export declare const planInputSchema: z.ZodObject<{
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
- acceptance: {
561
- id: string;
562
- check: string;
563
- producer: string;
564
- inputs?: string[] | undefined;
565
- baseline?: string | undefined;
566
- threshold?: string | undefined;
567
- independent?: boolean | undefined;
568
- mandatory?: boolean | undefined;
569
- }[];
570
560
  budget: {
571
561
  currency: string;
572
562
  ceilingMinor: number;
@@ -575,13 +565,22 @@ export declare const planInputSchema: z.ZodObject<{
575
565
  wallTimeSeconds?: number | undefined;
576
566
  retries?: number | undefined;
577
567
  };
568
+ acceptance: {
569
+ id: string;
570
+ check: string;
571
+ producer: string;
572
+ threshold?: string | undefined;
573
+ baseline?: string | undefined;
574
+ inputs?: string[] | undefined;
575
+ independent?: boolean | undefined;
576
+ mandatory?: boolean | undefined;
577
+ }[];
578
578
  scope?: {
579
579
  capabilities?: string[] | undefined;
580
580
  } | undefined;
581
581
  }>;
582
582
  }, "strict", z.ZodTypeAny, {
583
583
  requestId: string;
584
- missionId: string;
585
584
  plan: {
586
585
  tasks: {
587
586
  id: string;
@@ -596,6 +595,17 @@ export declare const planInputSchema: z.ZodObject<{
596
595
  acceptanceEvidence: string[];
597
596
  checkpoint?: string | undefined;
598
597
  }[];
598
+ scope: {
599
+ capabilities: string[];
600
+ };
601
+ budget: {
602
+ currency: string;
603
+ ceilingMinor: number;
604
+ tokens?: number | undefined;
605
+ concurrency?: number | undefined;
606
+ wallTimeSeconds?: number | undefined;
607
+ retries?: number | undefined;
608
+ };
599
609
  acceptance: {
600
610
  id: string;
601
611
  check: string;
@@ -603,25 +613,14 @@ export declare const planInputSchema: z.ZodObject<{
603
613
  producer: string;
604
614
  independent: boolean;
605
615
  mandatory: boolean;
606
- baseline?: string | undefined;
607
616
  threshold?: string | undefined;
617
+ baseline?: string | undefined;
608
618
  }[];
609
- budget: {
610
- currency: string;
611
- ceilingMinor: number;
612
- tokens?: number | undefined;
613
- concurrency?: number | undefined;
614
- wallTimeSeconds?: number | undefined;
615
- retries?: number | undefined;
616
- };
617
- scope: {
618
- capabilities: string[];
619
- };
620
619
  };
620
+ missionId: string;
621
621
  expectedRevision: number;
622
622
  }, {
623
623
  requestId: string;
624
- missionId: string;
625
624
  plan: {
626
625
  tasks: {
627
626
  id: string;
@@ -630,22 +629,12 @@ export declare const planInputSchema: z.ZodObject<{
630
629
  mode: "durable-executor" | "session-bound";
631
630
  requirement: string;
632
631
  };
632
+ checkpoint?: string | undefined;
633
633
  dependsOn?: string[] | undefined;
634
634
  capabilityCeiling?: string[] | undefined;
635
635
  estimatedCostMinor?: number | undefined;
636
- checkpoint?: string | undefined;
637
636
  acceptanceEvidence?: string[] | undefined;
638
637
  }[];
639
- acceptance: {
640
- id: string;
641
- check: string;
642
- producer: string;
643
- inputs?: string[] | undefined;
644
- baseline?: string | undefined;
645
- threshold?: string | undefined;
646
- independent?: boolean | undefined;
647
- mandatory?: boolean | undefined;
648
- }[];
649
638
  budget: {
650
639
  currency: string;
651
640
  ceilingMinor: number;
@@ -654,10 +643,21 @@ export declare const planInputSchema: z.ZodObject<{
654
643
  wallTimeSeconds?: number | undefined;
655
644
  retries?: number | undefined;
656
645
  };
646
+ acceptance: {
647
+ id: string;
648
+ check: string;
649
+ producer: string;
650
+ threshold?: string | undefined;
651
+ baseline?: string | undefined;
652
+ inputs?: string[] | undefined;
653
+ independent?: boolean | undefined;
654
+ mandatory?: boolean | undefined;
655
+ }[];
657
656
  scope?: {
658
657
  capabilities?: string[] | undefined;
659
658
  } | undefined;
660
659
  };
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" | "admit" | "requestAuthorization";
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" | "admit" | "requestAuthorization";
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>;