claude-flow 3.77.0 → 3.77.1

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": 1794520287185,
2
+ "adoptedAt": 1794584864742,
3
3
  "championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
4
4
  "manifest": {
5
5
  "schema": "ruflo.proven-config/v1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "3.77.0",
3
+ "version": "3.77.1",
4
4
  "workspaces": [
5
5
  "v3/@claude-flow/codex",
6
6
  "v3/@claude-flow/mcp",
@@ -63,6 +63,26 @@ function embeddingModelLabel(dimension) {
63
63
  // Unchanged pre-#2305 label for any other size.
64
64
  return DEFAULT_EMBEDDING_MODEL;
65
65
  }
66
+ /**
67
+ * #4984: label for a vector read from `embedder`. AgentDB's own embedder is
68
+ * MiniLM; only a patched one (rescue / registry generator) runs the configured
69
+ * model, so a dimension match alone must not claim it.
70
+ */
71
+ function embedderModelLabel(embedder, dimension) {
72
+ const patched = embedder?.__ruvectorRescued === true || embedder?.__registryGenerator === true;
73
+ return patched ? embeddingModelLabel(dimension) : DEFAULT_EMBEDDING_MODEL;
74
+ }
75
+ /** #4984: embedder handed to the registry when embeddings.json names a non-default model. */
76
+ function configuredModelGenerator(dimension) {
77
+ return async (text) => {
78
+ const { generateLocalEmbedding } = await import('./memory-initializer.js');
79
+ const local = await generateLocalEmbedding(text);
80
+ if (local.backend !== 'onnx' || local.embedding.length !== dimension) {
81
+ throw new Error(`configured embedding model unavailable (backend=${local.backend}, ${local.embedding.length}/${dimension} dims)`);
82
+ }
83
+ return Float32Array.from(local.embedding);
84
+ };
85
+ }
66
86
  // One lease spans an entire bridge operation, including its awaited controller
67
87
  // effects and nested bridge calls. Initializer ownership alone is insufficient:
68
88
  // a ReasoningBank write can still be pending after its registry has opened.
@@ -318,6 +338,11 @@ async function getRegistry(dbPath) {
318
338
  dbPath: resolvedPath,
319
339
  embeddingModel: embCfg.model,
320
340
  dimension: embCfg.dimension,
341
+ // #4984: AgentDB hardcodes MiniLM, so a configured non-default
342
+ // model needs the local chain installed as its embedder. Only real
343
+ // ONNX vectors are accepted (never hash vectors), and the local
344
+ // chain never re-enters the bridge (#2312).
345
+ ...(embCfg.model !== DEFAULT_EMBEDDING_MODEL ? { embeddingGenerator: configuredModelGenerator(embCfg.dimension) } : {}),
321
346
  vectorBackend: 'auto',
322
347
  controllers: {
323
348
  reasoningBank: true,
@@ -1047,7 +1072,7 @@ async function embedForBridge(agentdb, text) {
1047
1072
  try {
1048
1073
  const emb = await embedder.embed(text);
1049
1074
  if (emb && emb.length > 0) {
1050
- return { vector: Array.from(emb), model: embeddingModelLabel(emb.length) };
1075
+ return { vector: Array.from(emb), model: embedderModelLabel(embedder, emb.length) };
1051
1076
  }
1052
1077
  agentdbProblem = 'agentdb embedder returned no vector';
1053
1078
  }
@@ -1935,7 +1960,7 @@ export async function bridgeGenerateEmbedding(text, dbPath) {
1935
1960
  return {
1936
1961
  embedding: Array.from(emb),
1937
1962
  dimensions: emb.length,
1938
- model: embCfg.model,
1963
+ model: embedderModelLabel(embedder, emb.length),
1939
1964
  backend: isMock ? 'mock' : 'onnx',
1940
1965
  };
1941
1966
  }
@@ -1966,7 +1991,7 @@ export async function bridgeLoadEmbeddingModel(dbPath) {
1966
1991
  return {
1967
1992
  success: true,
1968
1993
  dimensions: test.length,
1969
- modelName: embeddingModelLabel(test.length),
1994
+ modelName: embedderModelLabel(embedder, test.length),
1970
1995
  loadTime: Date.now() - startTime,
1971
1996
  };
1972
1997
  }
@@ -2213,7 +2238,7 @@ export async function bridgeAddEmbedding(id, embedding, entry, dbPath) {
2213
2238
  embedding_model = excluded.embedding_model,
2214
2239
  updated_at = excluded.updated_at,
2215
2240
  status = 'active'
2216
- `).run(id, entry.key, entry.namespace, entry.content, embeddingJson, embedding.length, embeddingModelLabel(embedding.length), now, now);
2241
+ `).run(id, entry.key, entry.namespace, entry.content, embeddingJson, embedding.length, embedderModelLabel(registry.getAgentDB()?.embedder, embedding.length), now, now);
2217
2242
  return true;
2218
2243
  }
2219
2244
  catch {
@@ -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;
@@ -74,54 +74,54 @@ export declare const missionRecordSchema: z.ZodObject<{
74
74
  updatedAt: z.ZodString;
75
75
  }, "strict", z.ZodTypeAny, {
76
76
  createdAt: string;
77
- updatedAt: string;
77
+ state: "paused" | "queued" | "running" | "completed" | "failed" | "cancelled" | "blocked" | "planned" | "draft" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
78
78
  schemaVersion: 1;
79
- state: "completed" | "cancelled" | "failed" | "blocked" | "running" | "paused" | "queued" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
79
+ revision: number;
80
+ objective: string;
80
81
  plan: {
81
- digest: string;
82
82
  revision: number;
83
+ digest: string;
83
84
  taskGraphRef: string;
84
85
  };
85
- acceptance: {
86
- revision: number;
87
- criteriaDigest: string;
88
- };
89
- objective: string;
90
86
  missionId: string;
87
+ updatedAt: string;
91
88
  tenantId: string;
92
89
  workspaceId: string;
93
90
  ownerPrincipalId: string;
94
- revision: number;
95
91
  policyRef: string;
96
92
  budgetRef: string;
97
93
  executionMode: "durable-executor" | "session-bound";
98
94
  evidenceRefs: string[];
95
+ acceptance: {
96
+ revision: number;
97
+ criteriaDigest: string;
98
+ };
99
99
  lastEventSequence: number;
100
100
  authorizationRef?: string | undefined;
101
101
  }, {
102
102
  createdAt: string;
103
- updatedAt: string;
103
+ state: "paused" | "queued" | "running" | "completed" | "failed" | "cancelled" | "blocked" | "planned" | "draft" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
104
104
  schemaVersion: 1;
105
- state: "completed" | "cancelled" | "failed" | "blocked" | "running" | "paused" | "queued" | "draft" | "planned" | "awaitingAuthorization" | "pauseRequested" | "verifying" | "cancelRequested";
105
+ revision: number;
106
+ objective: string;
106
107
  plan: {
107
- digest: string;
108
108
  revision: number;
109
+ digest: string;
109
110
  taskGraphRef: string;
110
111
  };
111
- acceptance: {
112
- revision: number;
113
- criteriaDigest: string;
114
- };
115
- objective: string;
116
112
  missionId: string;
113
+ updatedAt: string;
117
114
  tenantId: string;
118
115
  workspaceId: string;
119
116
  ownerPrincipalId: string;
120
- revision: number;
121
117
  policyRef: string;
122
118
  budgetRef: string;
123
119
  executionMode: "durable-executor" | "session-bound";
124
120
  evidenceRefs: string[];
121
+ acceptance: {
122
+ revision: number;
123
+ criteriaDigest: string;
124
+ };
125
125
  lastEventSequence: number;
126
126
  authorizationRef?: string | undefined;
127
127
  }>;
@@ -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
  }>;
@@ -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
  }>;
@@ -340,8 +340,8 @@ export declare const planBodySchema: z.ZodObject<{
340
340
  budget: {
341
341
  currency: string;
342
342
  ceilingMinor: number;
343
- concurrency?: number | undefined;
344
343
  tokens?: number | undefined;
344
+ concurrency?: number | undefined;
345
345
  wallTimeSeconds?: number | undefined;
346
346
  retries?: number | undefined;
347
347
  };
@@ -372,8 +372,8 @@ export declare const planBodySchema: z.ZodObject<{
372
372
  budget: {
373
373
  currency: string;
374
374
  ceilingMinor: number;
375
- concurrency?: number | undefined;
376
375
  tokens?: number | undefined;
376
+ concurrency?: number | undefined;
377
377
  wallTimeSeconds?: number | undefined;
378
378
  retries?: number | undefined;
379
379
  };
@@ -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;
@@ -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
  }>;
@@ -528,8 +528,8 @@ export declare const planInputSchema: z.ZodObject<{
528
528
  budget: {
529
529
  currency: string;
530
530
  ceilingMinor: number;
531
- concurrency?: number | undefined;
532
531
  tokens?: number | undefined;
532
+ concurrency?: number | undefined;
533
533
  wallTimeSeconds?: number | undefined;
534
534
  retries?: number | undefined;
535
535
  };
@@ -560,8 +560,8 @@ export declare const planInputSchema: z.ZodObject<{
560
560
  budget: {
561
561
  currency: string;
562
562
  ceilingMinor: number;
563
- concurrency?: number | undefined;
564
563
  tokens?: number | undefined;
564
+ concurrency?: number | undefined;
565
565
  wallTimeSeconds?: number | undefined;
566
566
  retries?: number | undefined;
567
567
  };
@@ -580,6 +580,7 @@ export declare const planInputSchema: z.ZodObject<{
580
580
  } | undefined;
581
581
  }>;
582
582
  }, "strict", z.ZodTypeAny, {
583
+ requestId: string;
583
584
  plan: {
584
585
  tasks: {
585
586
  id: string;
@@ -600,8 +601,8 @@ export declare const planInputSchema: z.ZodObject<{
600
601
  budget: {
601
602
  currency: string;
602
603
  ceilingMinor: number;
603
- concurrency?: number | undefined;
604
604
  tokens?: number | undefined;
605
+ concurrency?: number | undefined;
605
606
  wallTimeSeconds?: number | undefined;
606
607
  retries?: number | undefined;
607
608
  };
@@ -616,10 +617,10 @@ export declare const planInputSchema: z.ZodObject<{
616
617
  baseline?: string | undefined;
617
618
  }[];
618
619
  };
619
- requestId: string;
620
620
  missionId: string;
621
621
  expectedRevision: number;
622
622
  }, {
623
+ requestId: string;
623
624
  plan: {
624
625
  tasks: {
625
626
  id: string;
@@ -637,8 +638,8 @@ export declare const planInputSchema: z.ZodObject<{
637
638
  budget: {
638
639
  currency: string;
639
640
  ceilingMinor: number;
640
- concurrency?: number | undefined;
641
641
  tokens?: number | undefined;
642
+ concurrency?: number | undefined;
642
643
  wallTimeSeconds?: number | undefined;
643
644
  retries?: number | undefined;
644
645
  };
@@ -656,7 +657,6 @@ export declare const planInputSchema: z.ZodObject<{
656
657
  capabilities?: string[] | undefined;
657
658
  } | undefined;
658
659
  };
659
- requestId: string;
660
660
  missionId: string;
661
661
  expectedRevision: number;
662
662
  }>;
@@ -687,13 +687,13 @@ 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
+ action: "pause" | "resume" | "cancel" | "admit" | "requestAuthorization";
691
691
  requestId: string;
692
692
  missionId: string;
693
693
  expectedRevision: number;
694
694
  reason?: string | undefined;
695
695
  }, {
696
- action: "pause" | "resume" | "cancel" | "requestAuthorization" | "admit";
696
+ action: "pause" | "resume" | "cancel" | "admit" | "requestAuthorization";
697
697
  requestId: string;
698
698
  missionId: string;
699
699
  expectedRevision: number;
@@ -43,12 +43,12 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
43
43
  sha256: z.ZodString;
44
44
  substitution: z.ZodEnum<["$ARGUMENTS", "positional", "none"]>;
45
45
  }, "strict", z.ZodTypeAny, {
46
- path: string;
47
46
  sha256: string;
47
+ path: string;
48
48
  substitution: "none" | "$ARGUMENTS" | "positional";
49
49
  }, {
50
- path: string;
51
50
  sha256: string;
51
+ path: string;
52
52
  substitution: "none" | "$ARGUMENTS" | "positional";
53
53
  }>>;
54
54
  bindingId: z.ZodOptional<z.ZodString>;
@@ -63,34 +63,34 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
63
63
  path: z.ZodString;
64
64
  }, "strict", z.ZodTypeAny, {
65
65
  path: string;
66
- commit: string;
67
66
  repository: string;
67
+ commit: string;
68
68
  }, {
69
69
  path: string;
70
- commit: string;
71
70
  repository: string;
71
+ commit: string;
72
72
  }>;
73
73
  }, "strict", z.ZodTypeAny, {
74
74
  id: string;
75
- source: {
76
- path: string;
77
- commit: string;
78
- repository: string;
79
- };
80
75
  schemaVersion: 1;
81
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
82
- revision: number;
83
76
  ownerPlugin: string;
77
+ revision: number;
84
78
  legacyNames: string[];
85
79
  modNames: string[];
80
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
86
81
  argumentsSchema: Record<string, unknown>;
87
82
  requiredCapabilities: string[];
88
83
  requiredHostFeatures: string[];
89
- disposition: "legacy" | "dispatch" | "view" | "delegate";
84
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
90
85
  modelVisibility: "same-as-legacy" | "explicit-summary";
91
- prompt?: {
86
+ source: {
92
87
  path: string;
88
+ repository: string;
89
+ commit: string;
90
+ };
91
+ prompt?: {
93
92
  sha256: string;
93
+ path: string;
94
94
  substitution: "none" | "$ARGUMENTS" | "positional";
95
95
  } | undefined;
96
96
  resultSchemaId?: string | undefined;
@@ -98,25 +98,25 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
98
98
  viewId?: string | undefined;
99
99
  }, {
100
100
  id: string;
101
- source: {
102
- path: string;
103
- commit: string;
104
- repository: string;
105
- };
106
101
  schemaVersion: 1;
107
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
108
- revision: number;
109
102
  ownerPlugin: string;
103
+ revision: number;
110
104
  legacyNames: string[];
111
105
  modNames: string[];
106
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
112
107
  argumentsSchema: Record<string, unknown>;
113
108
  requiredCapabilities: string[];
114
109
  requiredHostFeatures: string[];
115
- disposition: "legacy" | "dispatch" | "view" | "delegate";
110
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
116
111
  modelVisibility: "same-as-legacy" | "explicit-summary";
117
- prompt?: {
112
+ source: {
118
113
  path: string;
114
+ repository: string;
115
+ commit: string;
116
+ };
117
+ prompt?: {
119
118
  sha256: string;
119
+ path: string;
120
120
  substitution: "none" | "$ARGUMENTS" | "positional";
121
121
  } | undefined;
122
122
  resultSchemaId?: string | undefined;
@@ -124,25 +124,25 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
124
124
  viewId?: string | undefined;
125
125
  }>, {
126
126
  id: string;
127
- source: {
128
- path: string;
129
- commit: string;
130
- repository: string;
131
- };
132
127
  schemaVersion: 1;
133
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
134
- revision: number;
135
128
  ownerPlugin: string;
129
+ revision: number;
136
130
  legacyNames: string[];
137
131
  modNames: string[];
132
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
138
133
  argumentsSchema: Record<string, unknown>;
139
134
  requiredCapabilities: string[];
140
135
  requiredHostFeatures: string[];
141
- disposition: "legacy" | "dispatch" | "view" | "delegate";
136
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
142
137
  modelVisibility: "same-as-legacy" | "explicit-summary";
143
- prompt?: {
138
+ source: {
144
139
  path: string;
140
+ repository: string;
141
+ commit: string;
142
+ };
143
+ prompt?: {
145
144
  sha256: string;
145
+ path: string;
146
146
  substitution: "none" | "$ARGUMENTS" | "positional";
147
147
  } | undefined;
148
148
  resultSchemaId?: string | undefined;
@@ -150,25 +150,25 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
150
150
  viewId?: string | undefined;
151
151
  }, {
152
152
  id: string;
153
- source: {
154
- path: string;
155
- commit: string;
156
- repository: string;
157
- };
158
153
  schemaVersion: 1;
159
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
160
- revision: number;
161
154
  ownerPlugin: string;
155
+ revision: number;
162
156
  legacyNames: string[];
163
157
  modNames: string[];
158
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
164
159
  argumentsSchema: Record<string, unknown>;
165
160
  requiredCapabilities: string[];
166
161
  requiredHostFeatures: string[];
167
- disposition: "legacy" | "dispatch" | "view" | "delegate";
162
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
168
163
  modelVisibility: "same-as-legacy" | "explicit-summary";
169
- prompt?: {
164
+ source: {
170
165
  path: string;
166
+ repository: string;
167
+ commit: string;
168
+ };
169
+ prompt?: {
171
170
  sha256: string;
171
+ path: string;
172
172
  substitution: "none" | "$ARGUMENTS" | "positional";
173
173
  } | undefined;
174
174
  resultSchemaId?: string | undefined;
@@ -190,19 +190,19 @@ export declare const inventorySourceSchema: z.ZodObject<{
190
190
  initCategory: z.ZodOptional<z.ZodString>;
191
191
  shippedIn: z.ZodArray<z.ZodString, "many">;
192
192
  }, "strict", z.ZodTypeAny, {
193
- digest: string;
194
- sourcePath: string;
195
193
  package: string;
196
194
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
195
+ sourcePath: string;
196
+ digest: string;
197
197
  observedInvocation: string;
198
198
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
199
199
  shippedIn: string[];
200
200
  initCategory?: string | undefined;
201
201
  }, {
202
- digest: string;
203
- sourcePath: string;
204
202
  package: string;
205
203
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
204
+ sourcePath: string;
205
+ digest: string;
206
206
  observedInvocation: string;
207
207
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
208
208
  shippedIn: string[];
@@ -224,12 +224,12 @@ export declare const catalogEntrySchema: z.ZodObject<{
224
224
  sha256: z.ZodString;
225
225
  substitution: z.ZodEnum<["$ARGUMENTS", "positional", "none"]>;
226
226
  }, "strict", z.ZodTypeAny, {
227
- path: string;
228
227
  sha256: string;
228
+ path: string;
229
229
  substitution: "none" | "$ARGUMENTS" | "positional";
230
230
  }, {
231
- path: string;
232
231
  sha256: string;
232
+ path: string;
233
233
  substitution: "none" | "$ARGUMENTS" | "positional";
234
234
  }>>;
235
235
  bindingId: z.ZodOptional<z.ZodString>;
@@ -244,34 +244,34 @@ export declare const catalogEntrySchema: z.ZodObject<{
244
244
  path: z.ZodString;
245
245
  }, "strict", z.ZodTypeAny, {
246
246
  path: string;
247
- commit: string;
248
247
  repository: string;
248
+ commit: string;
249
249
  }, {
250
250
  path: string;
251
- commit: string;
252
251
  repository: string;
252
+ commit: string;
253
253
  }>;
254
254
  }, "strict", z.ZodTypeAny, {
255
255
  id: string;
256
- source: {
257
- path: string;
258
- commit: string;
259
- repository: string;
260
- };
261
256
  schemaVersion: 1;
262
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
263
- revision: number;
264
257
  ownerPlugin: string;
258
+ revision: number;
265
259
  legacyNames: string[];
266
260
  modNames: string[];
261
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
267
262
  argumentsSchema: Record<string, unknown>;
268
263
  requiredCapabilities: string[];
269
264
  requiredHostFeatures: string[];
270
- disposition: "legacy" | "dispatch" | "view" | "delegate";
265
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
271
266
  modelVisibility: "same-as-legacy" | "explicit-summary";
272
- prompt?: {
267
+ source: {
273
268
  path: string;
269
+ repository: string;
270
+ commit: string;
271
+ };
272
+ prompt?: {
274
273
  sha256: string;
274
+ path: string;
275
275
  substitution: "none" | "$ARGUMENTS" | "positional";
276
276
  } | undefined;
277
277
  resultSchemaId?: string | undefined;
@@ -279,25 +279,25 @@ export declare const catalogEntrySchema: z.ZodObject<{
279
279
  viewId?: string | undefined;
280
280
  }, {
281
281
  id: string;
282
- source: {
283
- path: string;
284
- commit: string;
285
- repository: string;
286
- };
287
282
  schemaVersion: 1;
288
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
289
- revision: number;
290
283
  ownerPlugin: string;
284
+ revision: number;
291
285
  legacyNames: string[];
292
286
  modNames: string[];
287
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
293
288
  argumentsSchema: Record<string, unknown>;
294
289
  requiredCapabilities: string[];
295
290
  requiredHostFeatures: string[];
296
- disposition: "legacy" | "dispatch" | "view" | "delegate";
291
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
297
292
  modelVisibility: "same-as-legacy" | "explicit-summary";
298
- prompt?: {
293
+ source: {
299
294
  path: string;
295
+ repository: string;
296
+ commit: string;
297
+ };
298
+ prompt?: {
300
299
  sha256: string;
300
+ path: string;
301
301
  substitution: "none" | "$ARGUMENTS" | "positional";
302
302
  } | undefined;
303
303
  resultSchemaId?: string | undefined;
@@ -305,25 +305,25 @@ export declare const catalogEntrySchema: z.ZodObject<{
305
305
  viewId?: string | undefined;
306
306
  }>, {
307
307
  id: string;
308
- source: {
309
- path: string;
310
- commit: string;
311
- repository: string;
312
- };
313
308
  schemaVersion: 1;
314
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
315
- revision: number;
316
309
  ownerPlugin: string;
310
+ revision: number;
317
311
  legacyNames: string[];
318
312
  modNames: string[];
313
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
319
314
  argumentsSchema: Record<string, unknown>;
320
315
  requiredCapabilities: string[];
321
316
  requiredHostFeatures: string[];
322
- disposition: "legacy" | "dispatch" | "view" | "delegate";
317
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
323
318
  modelVisibility: "same-as-legacy" | "explicit-summary";
324
- prompt?: {
319
+ source: {
325
320
  path: string;
321
+ repository: string;
322
+ commit: string;
323
+ };
324
+ prompt?: {
326
325
  sha256: string;
326
+ path: string;
327
327
  substitution: "none" | "$ARGUMENTS" | "positional";
328
328
  } | undefined;
329
329
  resultSchemaId?: string | undefined;
@@ -331,25 +331,25 @@ export declare const catalogEntrySchema: z.ZodObject<{
331
331
  viewId?: string | undefined;
332
332
  }, {
333
333
  id: string;
334
- source: {
335
- path: string;
336
- commit: string;
337
- repository: string;
338
- };
339
334
  schemaVersion: 1;
340
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
341
- revision: number;
342
335
  ownerPlugin: string;
336
+ revision: number;
343
337
  legacyNames: string[];
344
338
  modNames: string[];
339
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
345
340
  argumentsSchema: Record<string, unknown>;
346
341
  requiredCapabilities: string[];
347
342
  requiredHostFeatures: string[];
348
- disposition: "legacy" | "dispatch" | "view" | "delegate";
343
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
349
344
  modelVisibility: "same-as-legacy" | "explicit-summary";
350
- prompt?: {
345
+ source: {
351
346
  path: string;
347
+ repository: string;
348
+ commit: string;
349
+ };
350
+ prompt?: {
352
351
  sha256: string;
352
+ path: string;
353
353
  substitution: "none" | "$ARGUMENTS" | "positional";
354
354
  } | undefined;
355
355
  resultSchemaId?: string | undefined;
@@ -368,19 +368,19 @@ export declare const catalogEntrySchema: z.ZodObject<{
368
368
  initCategory: z.ZodOptional<z.ZodString>;
369
369
  shippedIn: z.ZodArray<z.ZodString, "many">;
370
370
  }, "strict", z.ZodTypeAny, {
371
- digest: string;
372
- sourcePath: string;
373
371
  package: string;
374
372
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
373
+ sourcePath: string;
374
+ digest: string;
375
375
  observedInvocation: string;
376
376
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
377
377
  shippedIn: string[];
378
378
  initCategory?: string | undefined;
379
379
  }, {
380
- digest: string;
381
- sourcePath: string;
382
380
  package: string;
383
381
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
382
+ sourcePath: string;
383
+ digest: string;
384
384
  observedInvocation: string;
385
385
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
386
386
  shippedIn: string[];
@@ -388,86 +388,86 @@ export declare const catalogEntrySchema: z.ZodObject<{
388
388
  }>, "many">;
389
389
  notes: z.ZodArray<z.ZodString, "many">;
390
390
  }, "strict", z.ZodTypeAny, {
391
+ status: "documentation" | "shipped" | "source-only";
391
392
  sources: {
392
- digest: string;
393
- sourcePath: string;
394
393
  package: string;
395
394
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
395
+ sourcePath: string;
396
+ digest: string;
396
397
  observedInvocation: string;
397
398
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
398
399
  shippedIn: string[];
399
400
  initCategory?: string | undefined;
400
401
  }[];
401
- status: "documentation" | "shipped" | "source-only";
402
- divergent: boolean;
403
402
  definition: {
404
403
  id: string;
405
- source: {
406
- path: string;
407
- commit: string;
408
- repository: string;
409
- };
410
404
  schemaVersion: 1;
411
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
412
- revision: number;
413
405
  ownerPlugin: string;
406
+ revision: number;
414
407
  legacyNames: string[];
415
408
  modNames: string[];
409
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
416
410
  argumentsSchema: Record<string, unknown>;
417
411
  requiredCapabilities: string[];
418
412
  requiredHostFeatures: string[];
419
- disposition: "legacy" | "dispatch" | "view" | "delegate";
413
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
420
414
  modelVisibility: "same-as-legacy" | "explicit-summary";
421
- prompt?: {
415
+ source: {
422
416
  path: string;
417
+ repository: string;
418
+ commit: string;
419
+ };
420
+ prompt?: {
423
421
  sha256: string;
422
+ path: string;
424
423
  substitution: "none" | "$ARGUMENTS" | "positional";
425
424
  } | undefined;
426
425
  resultSchemaId?: string | undefined;
427
426
  bindingId?: string | undefined;
428
427
  viewId?: string | undefined;
429
428
  };
429
+ divergent: boolean;
430
430
  notes: string[];
431
431
  }, {
432
+ status: "documentation" | "shipped" | "source-only";
432
433
  sources: {
433
- digest: string;
434
- sourcePath: string;
435
434
  package: string;
436
435
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
436
+ sourcePath: string;
437
+ digest: string;
437
438
  observedInvocation: string;
438
439
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
439
440
  shippedIn: string[];
440
441
  initCategory?: string | undefined;
441
442
  }[];
442
- status: "documentation" | "shipped" | "source-only";
443
- divergent: boolean;
444
443
  definition: {
445
444
  id: string;
446
- source: {
447
- path: string;
448
- commit: string;
449
- repository: string;
450
- };
451
445
  schemaVersion: 1;
452
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
453
- revision: number;
454
446
  ownerPlugin: string;
447
+ revision: number;
455
448
  legacyNames: string[];
456
449
  modNames: string[];
450
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
457
451
  argumentsSchema: Record<string, unknown>;
458
452
  requiredCapabilities: string[];
459
453
  requiredHostFeatures: string[];
460
- disposition: "legacy" | "dispatch" | "view" | "delegate";
454
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
461
455
  modelVisibility: "same-as-legacy" | "explicit-summary";
462
- prompt?: {
456
+ source: {
463
457
  path: string;
458
+ repository: string;
459
+ commit: string;
460
+ };
461
+ prompt?: {
464
462
  sha256: string;
463
+ path: string;
465
464
  substitution: "none" | "$ARGUMENTS" | "positional";
466
465
  } | undefined;
467
466
  resultSchemaId?: string | undefined;
468
467
  bindingId?: string | undefined;
469
468
  viewId?: string | undefined;
470
469
  };
470
+ divergent: boolean;
471
471
  notes: string[];
472
472
  }>;
473
473
  export declare const commandCatalogSchema: z.ZodObject<{
@@ -490,12 +490,12 @@ export declare const commandCatalogSchema: z.ZodObject<{
490
490
  sha256: z.ZodString;
491
491
  substitution: z.ZodEnum<["$ARGUMENTS", "positional", "none"]>;
492
492
  }, "strict", z.ZodTypeAny, {
493
- path: string;
494
493
  sha256: string;
494
+ path: string;
495
495
  substitution: "none" | "$ARGUMENTS" | "positional";
496
496
  }, {
497
- path: string;
498
497
  sha256: string;
498
+ path: string;
499
499
  substitution: "none" | "$ARGUMENTS" | "positional";
500
500
  }>>;
501
501
  bindingId: z.ZodOptional<z.ZodString>;
@@ -510,34 +510,34 @@ export declare const commandCatalogSchema: z.ZodObject<{
510
510
  path: z.ZodString;
511
511
  }, "strict", z.ZodTypeAny, {
512
512
  path: string;
513
- commit: string;
514
513
  repository: string;
514
+ commit: string;
515
515
  }, {
516
516
  path: string;
517
- commit: string;
518
517
  repository: string;
518
+ commit: string;
519
519
  }>;
520
520
  }, "strict", z.ZodTypeAny, {
521
521
  id: string;
522
- source: {
523
- path: string;
524
- commit: string;
525
- repository: string;
526
- };
527
522
  schemaVersion: 1;
528
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
529
- revision: number;
530
523
  ownerPlugin: string;
524
+ revision: number;
531
525
  legacyNames: string[];
532
526
  modNames: string[];
527
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
533
528
  argumentsSchema: Record<string, unknown>;
534
529
  requiredCapabilities: string[];
535
530
  requiredHostFeatures: string[];
536
- disposition: "legacy" | "dispatch" | "view" | "delegate";
531
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
537
532
  modelVisibility: "same-as-legacy" | "explicit-summary";
538
- prompt?: {
533
+ source: {
539
534
  path: string;
535
+ repository: string;
536
+ commit: string;
537
+ };
538
+ prompt?: {
540
539
  sha256: string;
540
+ path: string;
541
541
  substitution: "none" | "$ARGUMENTS" | "positional";
542
542
  } | undefined;
543
543
  resultSchemaId?: string | undefined;
@@ -545,25 +545,25 @@ export declare const commandCatalogSchema: z.ZodObject<{
545
545
  viewId?: string | undefined;
546
546
  }, {
547
547
  id: string;
548
- source: {
549
- path: string;
550
- commit: string;
551
- repository: string;
552
- };
553
548
  schemaVersion: 1;
554
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
555
- revision: number;
556
549
  ownerPlugin: string;
550
+ revision: number;
557
551
  legacyNames: string[];
558
552
  modNames: string[];
553
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
559
554
  argumentsSchema: Record<string, unknown>;
560
555
  requiredCapabilities: string[];
561
556
  requiredHostFeatures: string[];
562
- disposition: "legacy" | "dispatch" | "view" | "delegate";
557
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
563
558
  modelVisibility: "same-as-legacy" | "explicit-summary";
564
- prompt?: {
559
+ source: {
565
560
  path: string;
561
+ repository: string;
562
+ commit: string;
563
+ };
564
+ prompt?: {
566
565
  sha256: string;
566
+ path: string;
567
567
  substitution: "none" | "$ARGUMENTS" | "positional";
568
568
  } | undefined;
569
569
  resultSchemaId?: string | undefined;
@@ -571,25 +571,25 @@ export declare const commandCatalogSchema: z.ZodObject<{
571
571
  viewId?: string | undefined;
572
572
  }>, {
573
573
  id: string;
574
- source: {
575
- path: string;
576
- commit: string;
577
- repository: string;
578
- };
579
574
  schemaVersion: 1;
580
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
581
- revision: number;
582
575
  ownerPlugin: string;
576
+ revision: number;
583
577
  legacyNames: string[];
584
578
  modNames: string[];
579
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
585
580
  argumentsSchema: Record<string, unknown>;
586
581
  requiredCapabilities: string[];
587
582
  requiredHostFeatures: string[];
588
- disposition: "legacy" | "dispatch" | "view" | "delegate";
583
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
589
584
  modelVisibility: "same-as-legacy" | "explicit-summary";
590
- prompt?: {
585
+ source: {
591
586
  path: string;
587
+ repository: string;
588
+ commit: string;
589
+ };
590
+ prompt?: {
592
591
  sha256: string;
592
+ path: string;
593
593
  substitution: "none" | "$ARGUMENTS" | "positional";
594
594
  } | undefined;
595
595
  resultSchemaId?: string | undefined;
@@ -597,25 +597,25 @@ export declare const commandCatalogSchema: z.ZodObject<{
597
597
  viewId?: string | undefined;
598
598
  }, {
599
599
  id: string;
600
- source: {
601
- path: string;
602
- commit: string;
603
- repository: string;
604
- };
605
600
  schemaVersion: 1;
606
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
607
- revision: number;
608
601
  ownerPlugin: string;
602
+ revision: number;
609
603
  legacyNames: string[];
610
604
  modNames: string[];
605
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
611
606
  argumentsSchema: Record<string, unknown>;
612
607
  requiredCapabilities: string[];
613
608
  requiredHostFeatures: string[];
614
- disposition: "legacy" | "dispatch" | "view" | "delegate";
609
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
615
610
  modelVisibility: "same-as-legacy" | "explicit-summary";
616
- prompt?: {
611
+ source: {
617
612
  path: string;
613
+ repository: string;
614
+ commit: string;
615
+ };
616
+ prompt?: {
618
617
  sha256: string;
618
+ path: string;
619
619
  substitution: "none" | "$ARGUMENTS" | "positional";
620
620
  } | undefined;
621
621
  resultSchemaId?: string | undefined;
@@ -634,19 +634,19 @@ export declare const commandCatalogSchema: z.ZodObject<{
634
634
  initCategory: z.ZodOptional<z.ZodString>;
635
635
  shippedIn: z.ZodArray<z.ZodString, "many">;
636
636
  }, "strict", z.ZodTypeAny, {
637
- digest: string;
638
- sourcePath: string;
639
637
  package: string;
640
638
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
639
+ sourcePath: string;
640
+ digest: string;
641
641
  observedInvocation: string;
642
642
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
643
643
  shippedIn: string[];
644
644
  initCategory?: string | undefined;
645
645
  }, {
646
- digest: string;
647
- sourcePath: string;
648
646
  package: string;
649
647
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
648
+ sourcePath: string;
649
+ digest: string;
650
650
  observedInvocation: string;
651
651
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
652
652
  shippedIn: string[];
@@ -654,129 +654,129 @@ export declare const commandCatalogSchema: z.ZodObject<{
654
654
  }>, "many">;
655
655
  notes: z.ZodArray<z.ZodString, "many">;
656
656
  }, "strict", z.ZodTypeAny, {
657
+ status: "documentation" | "shipped" | "source-only";
657
658
  sources: {
658
- digest: string;
659
- sourcePath: string;
660
659
  package: string;
661
660
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
661
+ sourcePath: string;
662
+ digest: string;
662
663
  observedInvocation: string;
663
664
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
664
665
  shippedIn: string[];
665
666
  initCategory?: string | undefined;
666
667
  }[];
667
- status: "documentation" | "shipped" | "source-only";
668
- divergent: boolean;
669
668
  definition: {
670
669
  id: string;
671
- source: {
672
- path: string;
673
- commit: string;
674
- repository: string;
675
- };
676
670
  schemaVersion: 1;
677
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
678
- revision: number;
679
671
  ownerPlugin: string;
672
+ revision: number;
680
673
  legacyNames: string[];
681
674
  modNames: string[];
675
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
682
676
  argumentsSchema: Record<string, unknown>;
683
677
  requiredCapabilities: string[];
684
678
  requiredHostFeatures: string[];
685
- disposition: "legacy" | "dispatch" | "view" | "delegate";
679
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
686
680
  modelVisibility: "same-as-legacy" | "explicit-summary";
687
- prompt?: {
681
+ source: {
688
682
  path: string;
683
+ repository: string;
684
+ commit: string;
685
+ };
686
+ prompt?: {
689
687
  sha256: string;
688
+ path: string;
690
689
  substitution: "none" | "$ARGUMENTS" | "positional";
691
690
  } | undefined;
692
691
  resultSchemaId?: string | undefined;
693
692
  bindingId?: string | undefined;
694
693
  viewId?: string | undefined;
695
694
  };
695
+ divergent: boolean;
696
696
  notes: string[];
697
697
  }, {
698
+ status: "documentation" | "shipped" | "source-only";
698
699
  sources: {
699
- digest: string;
700
- sourcePath: string;
701
700
  package: string;
702
701
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
702
+ sourcePath: string;
703
+ digest: string;
703
704
  observedInvocation: string;
704
705
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
705
706
  shippedIn: string[];
706
707
  initCategory?: string | undefined;
707
708
  }[];
708
- status: "documentation" | "shipped" | "source-only";
709
- divergent: boolean;
710
709
  definition: {
711
710
  id: string;
712
- source: {
713
- path: string;
714
- commit: string;
715
- repository: string;
716
- };
717
711
  schemaVersion: 1;
718
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
719
- revision: number;
720
712
  ownerPlugin: string;
713
+ revision: number;
721
714
  legacyNames: string[];
722
715
  modNames: string[];
716
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
723
717
  argumentsSchema: Record<string, unknown>;
724
718
  requiredCapabilities: string[];
725
719
  requiredHostFeatures: string[];
726
- disposition: "legacy" | "dispatch" | "view" | "delegate";
720
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
727
721
  modelVisibility: "same-as-legacy" | "explicit-summary";
728
- prompt?: {
722
+ source: {
729
723
  path: string;
724
+ repository: string;
725
+ commit: string;
726
+ };
727
+ prompt?: {
730
728
  sha256: string;
729
+ path: string;
731
730
  substitution: "none" | "$ARGUMENTS" | "positional";
732
731
  } | undefined;
733
732
  resultSchemaId?: string | undefined;
734
733
  bindingId?: string | undefined;
735
734
  viewId?: string | undefined;
736
735
  };
736
+ divergent: boolean;
737
737
  notes: string[];
738
738
  }>, "many">;
739
739
  }, "strict", z.ZodTypeAny, {
740
740
  entries: {
741
+ status: "documentation" | "shipped" | "source-only";
741
742
  sources: {
742
- digest: string;
743
- sourcePath: string;
744
743
  package: string;
745
744
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
745
+ sourcePath: string;
746
+ digest: string;
746
747
  observedInvocation: string;
747
748
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
748
749
  shippedIn: string[];
749
750
  initCategory?: string | undefined;
750
751
  }[];
751
- status: "documentation" | "shipped" | "source-only";
752
- divergent: boolean;
753
752
  definition: {
754
753
  id: string;
755
- source: {
756
- path: string;
757
- commit: string;
758
- repository: string;
759
- };
760
754
  schemaVersion: 1;
761
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
762
- revision: number;
763
755
  ownerPlugin: string;
756
+ revision: number;
764
757
  legacyNames: string[];
765
758
  modNames: string[];
759
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
766
760
  argumentsSchema: Record<string, unknown>;
767
761
  requiredCapabilities: string[];
768
762
  requiredHostFeatures: string[];
769
- disposition: "legacy" | "dispatch" | "view" | "delegate";
763
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
770
764
  modelVisibility: "same-as-legacy" | "explicit-summary";
771
- prompt?: {
765
+ source: {
772
766
  path: string;
767
+ repository: string;
768
+ commit: string;
769
+ };
770
+ prompt?: {
773
771
  sha256: string;
772
+ path: string;
774
773
  substitution: "none" | "$ARGUMENTS" | "positional";
775
774
  } | undefined;
776
775
  resultSchemaId?: string | undefined;
777
776
  bindingId?: string | undefined;
778
777
  viewId?: string | undefined;
779
778
  };
779
+ divergent: boolean;
780
780
  notes: string[];
781
781
  }[];
782
782
  contractVersion: "ruflo.command-catalog/1";
@@ -784,45 +784,45 @@ export declare const commandCatalogSchema: z.ZodObject<{
784
784
  sourceDigest: string;
785
785
  }, {
786
786
  entries: {
787
+ status: "documentation" | "shipped" | "source-only";
787
788
  sources: {
788
- digest: string;
789
- sourcePath: string;
790
789
  package: string;
791
790
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
791
+ sourcePath: string;
792
+ digest: string;
792
793
  observedInvocation: string;
793
794
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
794
795
  shippedIn: string[];
795
796
  initCategory?: string | undefined;
796
797
  }[];
797
- status: "documentation" | "shipped" | "source-only";
798
- divergent: boolean;
799
798
  definition: {
800
799
  id: string;
801
- source: {
802
- path: string;
803
- commit: string;
804
- repository: string;
805
- };
806
800
  schemaVersion: 1;
807
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
808
- revision: number;
809
801
  ownerPlugin: string;
802
+ revision: number;
810
803
  legacyNames: string[];
811
804
  modNames: string[];
805
+ kind: "prompt" | "query" | "mutation" | "workflow" | "help";
812
806
  argumentsSchema: Record<string, unknown>;
813
807
  requiredCapabilities: string[];
814
808
  requiredHostFeatures: string[];
815
- disposition: "legacy" | "dispatch" | "view" | "delegate";
809
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
816
810
  modelVisibility: "same-as-legacy" | "explicit-summary";
817
- prompt?: {
811
+ source: {
818
812
  path: string;
813
+ repository: string;
814
+ commit: string;
815
+ };
816
+ prompt?: {
819
817
  sha256: string;
818
+ path: string;
820
819
  substitution: "none" | "$ARGUMENTS" | "positional";
821
820
  } | undefined;
822
821
  resultSchemaId?: string | undefined;
823
822
  bindingId?: string | undefined;
824
823
  viewId?: string | undefined;
825
824
  };
825
+ divergent: boolean;
826
826
  notes: string[];
827
827
  }[];
828
828
  contractVersion: "ruflo.command-catalog/1";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.77.0",
3
+ "version": "3.77.1",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",
@@ -134,12 +134,12 @@
134
134
  "ws": "^8.21.0",
135
135
  "yaml": "^2.8.0",
136
136
  "zod": "^3.22.0",
137
- "@claude-flow/memory": "3.3.2"
137
+ "@claude-flow/memory": "3.3.3"
138
138
  },
139
139
  "optionalDependencies": {
140
140
  "@agntcy/slim-bindings": "2.1.1",
141
141
  "@claude-flow/aidefence": "3.2.1",
142
- "@claude-flow/memory": "3.3.2",
142
+ "@claude-flow/memory": "3.3.3",
143
143
  "@metaharness/flywheel": "~0.1.10",
144
144
  "@metaharness/radio": "~0.1.0",
145
145
  "@metaharness/turn-credit": "~0.1.0",