@claude-flow/cli 3.72.1 → 3.73.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.
Files changed (39) hide show
  1. package/.claude/helpers/helpers.manifest.json +2 -2
  2. package/README.md +29 -21
  3. package/catalog-manifest.json +2 -2
  4. package/dist/src/commands/agent.js +2 -0
  5. package/dist/src/commands/funnel.d.ts +1 -0
  6. package/dist/src/commands/funnel.js +37 -2
  7. package/dist/src/commands/hooks.js +16 -2
  8. package/dist/src/commands/init.js +70 -16
  9. package/dist/src/commands/mcp.js +15 -0
  10. package/dist/src/commands/neural.js +5 -3
  11. package/dist/src/commands/swarm.js +2 -0
  12. package/dist/src/funnel/activation.d.ts +30 -0
  13. package/dist/src/funnel/activation.js +69 -0
  14. package/dist/src/funnel/events.js +4 -1
  15. package/dist/src/funnel/index.d.ts +2 -1
  16. package/dist/src/funnel/index.js +2 -1
  17. package/dist/src/funnel/message-transport.d.ts +12 -0
  18. package/dist/src/funnel/message-transport.js +23 -1
  19. package/dist/src/funnel/types.d.ts +2 -2
  20. package/dist/src/init/first-win.d.ts +24 -0
  21. package/dist/src/init/first-win.js +97 -0
  22. package/dist/src/mcp-tools/agent-tools.js +2 -0
  23. package/dist/src/mcp-tools/browser-session-tools.d.ts +2 -2
  24. package/dist/src/mcp-tools/browser-session-tools.js +4 -4
  25. package/dist/src/mcp-tools/hooks-tools.js +17 -1
  26. package/dist/src/mcp-tools/neural-tools.js +3 -3
  27. package/dist/src/mcp-tools/swarm-tools.js +2 -0
  28. package/dist/src/missions/schemas.d.ts +117 -117
  29. package/dist/src/mods/command-registry/schema.d.ts +121 -121
  30. package/dist/src/transfer/store/download.d.ts +1 -1
  31. package/dist/src/transfer/store/download.js +22 -21
  32. package/dist/src/transfer/store/publish.d.ts +1 -1
  33. package/dist/src/transfer/store/publish.js +13 -14
  34. package/node_modules/@claude-flow/codex/dist/cli.js +0 -0
  35. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
  36. package/node_modules/@claude-flow/plugin-agent-federation/package.json +5 -5
  37. package/node_modules/@claude-flow/security/dist/input-validator.d.ts +6 -6
  38. package/package.json +7 -7
  39. package/plugins/ruflo-console/dist/tui.mjs +153 -153
@@ -63,30 +63,30 @@ 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
75
  source: {
76
76
  path: string;
77
- commit: string;
78
77
  repository: string;
78
+ commit: string;
79
79
  };
80
80
  schemaVersion: 1;
81
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
82
81
  revision: number;
83
82
  ownerPlugin: string;
84
83
  legacyNames: string[];
85
84
  modNames: string[];
85
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
86
86
  argumentsSchema: Record<string, unknown>;
87
87
  requiredCapabilities: string[];
88
88
  requiredHostFeatures: string[];
89
- disposition: "legacy" | "dispatch" | "view" | "delegate";
89
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
90
90
  modelVisibility: "same-as-legacy" | "explicit-summary";
91
91
  prompt?: {
92
92
  path: string;
@@ -100,19 +100,19 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
100
100
  id: string;
101
101
  source: {
102
102
  path: string;
103
- commit: string;
104
103
  repository: string;
104
+ commit: string;
105
105
  };
106
106
  schemaVersion: 1;
107
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
108
107
  revision: number;
109
108
  ownerPlugin: string;
110
109
  legacyNames: string[];
111
110
  modNames: string[];
111
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
112
112
  argumentsSchema: Record<string, unknown>;
113
113
  requiredCapabilities: string[];
114
114
  requiredHostFeatures: string[];
115
- disposition: "legacy" | "dispatch" | "view" | "delegate";
115
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
116
116
  modelVisibility: "same-as-legacy" | "explicit-summary";
117
117
  prompt?: {
118
118
  path: string;
@@ -126,19 +126,19 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
126
126
  id: string;
127
127
  source: {
128
128
  path: string;
129
- commit: string;
130
129
  repository: string;
130
+ commit: string;
131
131
  };
132
132
  schemaVersion: 1;
133
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
134
133
  revision: number;
135
134
  ownerPlugin: string;
136
135
  legacyNames: string[];
137
136
  modNames: string[];
137
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
138
138
  argumentsSchema: Record<string, unknown>;
139
139
  requiredCapabilities: string[];
140
140
  requiredHostFeatures: string[];
141
- disposition: "legacy" | "dispatch" | "view" | "delegate";
141
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
142
142
  modelVisibility: "same-as-legacy" | "explicit-summary";
143
143
  prompt?: {
144
144
  path: string;
@@ -152,19 +152,19 @@ export declare const commandDefinitionSchema: z.ZodEffects<z.ZodObject<{
152
152
  id: string;
153
153
  source: {
154
154
  path: string;
155
- commit: string;
156
155
  repository: string;
156
+ commit: string;
157
157
  };
158
158
  schemaVersion: 1;
159
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
160
159
  revision: number;
161
160
  ownerPlugin: string;
162
161
  legacyNames: string[];
163
162
  modNames: string[];
163
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
164
164
  argumentsSchema: Record<string, unknown>;
165
165
  requiredCapabilities: string[];
166
166
  requiredHostFeatures: string[];
167
- disposition: "legacy" | "dispatch" | "view" | "delegate";
167
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
168
168
  modelVisibility: "same-as-legacy" | "explicit-summary";
169
169
  prompt?: {
170
170
  path: string;
@@ -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
193
  sourcePath: string;
195
- package: string;
194
+ digest: string;
196
195
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
196
+ package: 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
202
  sourcePath: string;
204
- package: string;
203
+ digest: string;
205
204
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
205
+ package: string;
206
206
  observedInvocation: string;
207
207
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
208
208
  shippedIn: string[];
@@ -244,30 +244,30 @@ 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
256
  source: {
257
257
  path: string;
258
- commit: string;
259
258
  repository: string;
259
+ commit: string;
260
260
  };
261
261
  schemaVersion: 1;
262
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
263
262
  revision: number;
264
263
  ownerPlugin: string;
265
264
  legacyNames: string[];
266
265
  modNames: string[];
266
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
267
267
  argumentsSchema: Record<string, unknown>;
268
268
  requiredCapabilities: string[];
269
269
  requiredHostFeatures: string[];
270
- disposition: "legacy" | "dispatch" | "view" | "delegate";
270
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
271
271
  modelVisibility: "same-as-legacy" | "explicit-summary";
272
272
  prompt?: {
273
273
  path: string;
@@ -281,19 +281,19 @@ export declare const catalogEntrySchema: z.ZodObject<{
281
281
  id: string;
282
282
  source: {
283
283
  path: string;
284
- commit: string;
285
284
  repository: string;
285
+ commit: string;
286
286
  };
287
287
  schemaVersion: 1;
288
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
289
288
  revision: number;
290
289
  ownerPlugin: string;
291
290
  legacyNames: string[];
292
291
  modNames: string[];
292
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
293
293
  argumentsSchema: Record<string, unknown>;
294
294
  requiredCapabilities: string[];
295
295
  requiredHostFeatures: string[];
296
- disposition: "legacy" | "dispatch" | "view" | "delegate";
296
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
297
297
  modelVisibility: "same-as-legacy" | "explicit-summary";
298
298
  prompt?: {
299
299
  path: string;
@@ -307,19 +307,19 @@ export declare const catalogEntrySchema: z.ZodObject<{
307
307
  id: string;
308
308
  source: {
309
309
  path: string;
310
- commit: string;
311
310
  repository: string;
311
+ commit: string;
312
312
  };
313
313
  schemaVersion: 1;
314
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
315
314
  revision: number;
316
315
  ownerPlugin: string;
317
316
  legacyNames: string[];
318
317
  modNames: string[];
318
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
319
319
  argumentsSchema: Record<string, unknown>;
320
320
  requiredCapabilities: string[];
321
321
  requiredHostFeatures: string[];
322
- disposition: "legacy" | "dispatch" | "view" | "delegate";
322
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
323
323
  modelVisibility: "same-as-legacy" | "explicit-summary";
324
324
  prompt?: {
325
325
  path: string;
@@ -333,19 +333,19 @@ export declare const catalogEntrySchema: z.ZodObject<{
333
333
  id: string;
334
334
  source: {
335
335
  path: string;
336
- commit: string;
337
336
  repository: string;
337
+ commit: string;
338
338
  };
339
339
  schemaVersion: 1;
340
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
341
340
  revision: number;
342
341
  ownerPlugin: string;
343
342
  legacyNames: string[];
344
343
  modNames: string[];
344
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
345
345
  argumentsSchema: Record<string, unknown>;
346
346
  requiredCapabilities: string[];
347
347
  requiredHostFeatures: string[];
348
- disposition: "legacy" | "dispatch" | "view" | "delegate";
348
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
349
349
  modelVisibility: "same-as-legacy" | "explicit-summary";
350
350
  prompt?: {
351
351
  path: string;
@@ -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
371
  sourcePath: string;
373
- package: string;
372
+ digest: string;
374
373
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
374
+ package: 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
380
  sourcePath: string;
382
- package: string;
381
+ digest: string;
383
382
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
383
+ package: string;
384
384
  observedInvocation: string;
385
385
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
386
386
  shippedIn: string[];
@@ -388,35 +388,24 @@ export declare const catalogEntrySchema: z.ZodObject<{
388
388
  }>, "many">;
389
389
  notes: z.ZodArray<z.ZodString, "many">;
390
390
  }, "strict", z.ZodTypeAny, {
391
- sources: {
392
- digest: string;
393
- sourcePath: string;
394
- package: string;
395
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
396
- observedInvocation: string;
397
- binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
398
- shippedIn: string[];
399
- initCategory?: string | undefined;
400
- }[];
401
391
  status: "documentation" | "shipped" | "source-only";
402
- divergent: boolean;
403
392
  definition: {
404
393
  id: string;
405
394
  source: {
406
395
  path: string;
407
- commit: string;
408
396
  repository: string;
397
+ commit: string;
409
398
  };
410
399
  schemaVersion: 1;
411
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
412
400
  revision: number;
413
401
  ownerPlugin: string;
414
402
  legacyNames: string[];
415
403
  modNames: string[];
404
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
416
405
  argumentsSchema: Record<string, unknown>;
417
406
  requiredCapabilities: string[];
418
407
  requiredHostFeatures: string[];
419
- disposition: "legacy" | "dispatch" | "view" | "delegate";
408
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
420
409
  modelVisibility: "same-as-legacy" | "explicit-summary";
421
410
  prompt?: {
422
411
  path: string;
@@ -427,37 +416,37 @@ export declare const catalogEntrySchema: z.ZodObject<{
427
416
  bindingId?: string | undefined;
428
417
  viewId?: string | undefined;
429
418
  };
430
- notes: string[];
431
- }, {
419
+ divergent: boolean;
432
420
  sources: {
433
- digest: string;
434
421
  sourcePath: string;
435
- package: string;
422
+ digest: string;
436
423
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
424
+ package: string;
437
425
  observedInvocation: string;
438
426
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
439
427
  shippedIn: string[];
440
428
  initCategory?: string | undefined;
441
429
  }[];
430
+ notes: string[];
431
+ }, {
442
432
  status: "documentation" | "shipped" | "source-only";
443
- divergent: boolean;
444
433
  definition: {
445
434
  id: string;
446
435
  source: {
447
436
  path: string;
448
- commit: string;
449
437
  repository: string;
438
+ commit: string;
450
439
  };
451
440
  schemaVersion: 1;
452
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
453
441
  revision: number;
454
442
  ownerPlugin: string;
455
443
  legacyNames: string[];
456
444
  modNames: string[];
445
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
457
446
  argumentsSchema: Record<string, unknown>;
458
447
  requiredCapabilities: string[];
459
448
  requiredHostFeatures: string[];
460
- disposition: "legacy" | "dispatch" | "view" | "delegate";
449
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
461
450
  modelVisibility: "same-as-legacy" | "explicit-summary";
462
451
  prompt?: {
463
452
  path: string;
@@ -468,6 +457,17 @@ export declare const catalogEntrySchema: z.ZodObject<{
468
457
  bindingId?: string | undefined;
469
458
  viewId?: string | undefined;
470
459
  };
460
+ divergent: boolean;
461
+ sources: {
462
+ sourcePath: string;
463
+ digest: string;
464
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
465
+ package: string;
466
+ observedInvocation: string;
467
+ binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
468
+ shippedIn: string[];
469
+ initCategory?: string | undefined;
470
+ }[];
471
471
  notes: string[];
472
472
  }>;
473
473
  export declare const commandCatalogSchema: z.ZodObject<{
@@ -510,30 +510,30 @@ 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
522
  source: {
523
523
  path: string;
524
- commit: string;
525
524
  repository: string;
525
+ commit: string;
526
526
  };
527
527
  schemaVersion: 1;
528
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
529
528
  revision: number;
530
529
  ownerPlugin: string;
531
530
  legacyNames: string[];
532
531
  modNames: string[];
532
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
533
533
  argumentsSchema: Record<string, unknown>;
534
534
  requiredCapabilities: string[];
535
535
  requiredHostFeatures: string[];
536
- disposition: "legacy" | "dispatch" | "view" | "delegate";
536
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
537
537
  modelVisibility: "same-as-legacy" | "explicit-summary";
538
538
  prompt?: {
539
539
  path: string;
@@ -547,19 +547,19 @@ export declare const commandCatalogSchema: z.ZodObject<{
547
547
  id: string;
548
548
  source: {
549
549
  path: string;
550
- commit: string;
551
550
  repository: string;
551
+ commit: string;
552
552
  };
553
553
  schemaVersion: 1;
554
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
555
554
  revision: number;
556
555
  ownerPlugin: string;
557
556
  legacyNames: string[];
558
557
  modNames: string[];
558
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
559
559
  argumentsSchema: Record<string, unknown>;
560
560
  requiredCapabilities: string[];
561
561
  requiredHostFeatures: string[];
562
- disposition: "legacy" | "dispatch" | "view" | "delegate";
562
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
563
563
  modelVisibility: "same-as-legacy" | "explicit-summary";
564
564
  prompt?: {
565
565
  path: string;
@@ -573,19 +573,19 @@ export declare const commandCatalogSchema: z.ZodObject<{
573
573
  id: string;
574
574
  source: {
575
575
  path: string;
576
- commit: string;
577
576
  repository: string;
577
+ commit: string;
578
578
  };
579
579
  schemaVersion: 1;
580
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
581
580
  revision: number;
582
581
  ownerPlugin: string;
583
582
  legacyNames: string[];
584
583
  modNames: string[];
584
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
585
585
  argumentsSchema: Record<string, unknown>;
586
586
  requiredCapabilities: string[];
587
587
  requiredHostFeatures: string[];
588
- disposition: "legacy" | "dispatch" | "view" | "delegate";
588
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
589
589
  modelVisibility: "same-as-legacy" | "explicit-summary";
590
590
  prompt?: {
591
591
  path: string;
@@ -599,19 +599,19 @@ export declare const commandCatalogSchema: z.ZodObject<{
599
599
  id: string;
600
600
  source: {
601
601
  path: string;
602
- commit: string;
603
602
  repository: string;
603
+ commit: string;
604
604
  };
605
605
  schemaVersion: 1;
606
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
607
606
  revision: number;
608
607
  ownerPlugin: string;
609
608
  legacyNames: string[];
610
609
  modNames: string[];
610
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
611
611
  argumentsSchema: Record<string, unknown>;
612
612
  requiredCapabilities: string[];
613
613
  requiredHostFeatures: string[];
614
- disposition: "legacy" | "dispatch" | "view" | "delegate";
614
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
615
615
  modelVisibility: "same-as-legacy" | "explicit-summary";
616
616
  prompt?: {
617
617
  path: string;
@@ -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
637
  sourcePath: string;
639
- package: string;
638
+ digest: string;
640
639
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
640
+ package: 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
646
  sourcePath: string;
648
- package: string;
647
+ digest: string;
649
648
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
649
+ package: string;
650
650
  observedInvocation: string;
651
651
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
652
652
  shippedIn: string[];
@@ -654,35 +654,24 @@ export declare const commandCatalogSchema: z.ZodObject<{
654
654
  }>, "many">;
655
655
  notes: z.ZodArray<z.ZodString, "many">;
656
656
  }, "strict", z.ZodTypeAny, {
657
- sources: {
658
- digest: string;
659
- sourcePath: string;
660
- package: string;
661
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
662
- observedInvocation: string;
663
- binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
664
- shippedIn: string[];
665
- initCategory?: string | undefined;
666
- }[];
667
657
  status: "documentation" | "shipped" | "source-only";
668
- divergent: boolean;
669
658
  definition: {
670
659
  id: string;
671
660
  source: {
672
661
  path: string;
673
- commit: string;
674
662
  repository: string;
663
+ commit: string;
675
664
  };
676
665
  schemaVersion: 1;
677
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
678
666
  revision: number;
679
667
  ownerPlugin: string;
680
668
  legacyNames: string[];
681
669
  modNames: string[];
670
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
682
671
  argumentsSchema: Record<string, unknown>;
683
672
  requiredCapabilities: string[];
684
673
  requiredHostFeatures: string[];
685
- disposition: "legacy" | "dispatch" | "view" | "delegate";
674
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
686
675
  modelVisibility: "same-as-legacy" | "explicit-summary";
687
676
  prompt?: {
688
677
  path: string;
@@ -693,37 +682,37 @@ export declare const commandCatalogSchema: z.ZodObject<{
693
682
  bindingId?: string | undefined;
694
683
  viewId?: string | undefined;
695
684
  };
696
- notes: string[];
697
- }, {
685
+ divergent: boolean;
698
686
  sources: {
699
- digest: string;
700
687
  sourcePath: string;
701
- package: string;
688
+ digest: string;
702
689
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
690
+ package: string;
703
691
  observedInvocation: string;
704
692
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
705
693
  shippedIn: string[];
706
694
  initCategory?: string | undefined;
707
695
  }[];
696
+ notes: string[];
697
+ }, {
708
698
  status: "documentation" | "shipped" | "source-only";
709
- divergent: boolean;
710
699
  definition: {
711
700
  id: string;
712
701
  source: {
713
702
  path: string;
714
- commit: string;
715
703
  repository: string;
704
+ commit: string;
716
705
  };
717
706
  schemaVersion: 1;
718
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
719
707
  revision: number;
720
708
  ownerPlugin: string;
721
709
  legacyNames: string[];
722
710
  modNames: string[];
711
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
723
712
  argumentsSchema: Record<string, unknown>;
724
713
  requiredCapabilities: string[];
725
714
  requiredHostFeatures: string[];
726
- disposition: "legacy" | "dispatch" | "view" | "delegate";
715
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
727
716
  modelVisibility: "same-as-legacy" | "explicit-summary";
728
717
  prompt?: {
729
718
  path: string;
@@ -734,39 +723,39 @@ export declare const commandCatalogSchema: z.ZodObject<{
734
723
  bindingId?: string | undefined;
735
724
  viewId?: string | undefined;
736
725
  };
737
- notes: string[];
738
- }>, "many">;
739
- }, "strict", z.ZodTypeAny, {
740
- entries: {
726
+ divergent: boolean;
741
727
  sources: {
742
- digest: string;
743
728
  sourcePath: string;
744
- package: string;
729
+ digest: string;
745
730
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
731
+ package: string;
746
732
  observedInvocation: string;
747
733
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
748
734
  shippedIn: string[];
749
735
  initCategory?: string | undefined;
750
736
  }[];
737
+ notes: string[];
738
+ }>, "many">;
739
+ }, "strict", z.ZodTypeAny, {
740
+ entries: {
751
741
  status: "documentation" | "shipped" | "source-only";
752
- divergent: boolean;
753
742
  definition: {
754
743
  id: string;
755
744
  source: {
756
745
  path: string;
757
- commit: string;
758
746
  repository: string;
747
+ commit: string;
759
748
  };
760
749
  schemaVersion: 1;
761
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
762
750
  revision: number;
763
751
  ownerPlugin: string;
764
752
  legacyNames: string[];
765
753
  modNames: string[];
754
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
766
755
  argumentsSchema: Record<string, unknown>;
767
756
  requiredCapabilities: string[];
768
757
  requiredHostFeatures: string[];
769
- disposition: "legacy" | "dispatch" | "view" | "delegate";
758
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
770
759
  modelVisibility: "same-as-legacy" | "explicit-summary";
771
760
  prompt?: {
772
761
  path: string;
@@ -777,42 +766,42 @@ export declare const commandCatalogSchema: z.ZodObject<{
777
766
  bindingId?: string | undefined;
778
767
  viewId?: string | undefined;
779
768
  };
780
- notes: string[];
781
- }[];
782
- contractVersion: "ruflo.command-catalog/1";
783
- sourceCommit: string;
784
- sourceDigest: string;
785
- }, {
786
- entries: {
769
+ divergent: boolean;
787
770
  sources: {
788
- digest: string;
789
771
  sourcePath: string;
790
- package: string;
772
+ digest: string;
791
773
  channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
774
+ package: string;
792
775
  observedInvocation: string;
793
776
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
794
777
  shippedIn: string[];
795
778
  initCategory?: string | undefined;
796
779
  }[];
780
+ notes: string[];
781
+ }[];
782
+ contractVersion: "ruflo.command-catalog/1";
783
+ sourceCommit: string;
784
+ sourceDigest: string;
785
+ }, {
786
+ entries: {
797
787
  status: "documentation" | "shipped" | "source-only";
798
- divergent: boolean;
799
788
  definition: {
800
789
  id: string;
801
790
  source: {
802
791
  path: string;
803
- commit: string;
804
792
  repository: string;
793
+ commit: string;
805
794
  };
806
795
  schemaVersion: 1;
807
- kind: "help" | "query" | "prompt" | "workflow" | "mutation";
808
796
  revision: number;
809
797
  ownerPlugin: string;
810
798
  legacyNames: string[];
811
799
  modNames: string[];
800
+ kind: "query" | "prompt" | "mutation" | "workflow" | "help";
812
801
  argumentsSchema: Record<string, unknown>;
813
802
  requiredCapabilities: string[];
814
803
  requiredHostFeatures: string[];
815
- disposition: "legacy" | "dispatch" | "view" | "delegate";
804
+ disposition: "view" | "dispatch" | "delegate" | "legacy";
816
805
  modelVisibility: "same-as-legacy" | "explicit-summary";
817
806
  prompt?: {
818
807
  path: string;
@@ -823,6 +812,17 @@ export declare const commandCatalogSchema: z.ZodObject<{
823
812
  bindingId?: string | undefined;
824
813
  viewId?: string | undefined;
825
814
  };
815
+ divergent: boolean;
816
+ sources: {
817
+ sourcePath: string;
818
+ digest: string;
819
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
820
+ package: string;
821
+ observedInvocation: string;
822
+ binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
823
+ shippedIn: string[];
824
+ initCategory?: string | undefined;
825
+ }[];
826
826
  notes: string[];
827
827
  }[];
828
828
  contractVersion: "ruflo.command-catalog/1";