@claude-flow/cli 3.73.0 → 3.74.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 (31) hide show
  1. package/.claude/helpers/.helpers-version +1 -1
  2. package/.claude/helpers/auto-memory-hook.mjs +53 -224
  3. package/.claude/helpers/helpers.manifest.json +6 -6
  4. package/.claude/helpers/hook-handler.cjs +10 -89
  5. package/.claude/helpers/intelligence.cjs +1 -23
  6. package/.claude/helpers/statusline.cjs +14 -29
  7. package/catalog-manifest.json +2 -2
  8. package/dist/src/commands/doctor.js +5 -3
  9. package/dist/src/mcp-tools/memory-tools.js +17 -0
  10. package/dist/src/mcp-tools/metaharness-tools.js +19 -0
  11. package/dist/src/memory/memory-bridge.d.ts +2 -0
  12. package/dist/src/memory/memory-bridge.js +1 -1
  13. package/dist/src/memory/memory-initializer.d.ts +2 -0
  14. package/dist/src/memory/memory-initializer.js +1 -1
  15. package/dist/src/metaharness/darwin-lib.d.ts +68 -0
  16. package/dist/src/metaharness/darwin-lib.js +150 -0
  17. package/dist/src/missions/schemas.d.ts +117 -117
  18. package/dist/src/mods/command-registry/schema.d.ts +121 -121
  19. package/node_modules/@claude-flow/codex/dist/cli.js +0 -0
  20. package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
  21. package/node_modules/@claude-flow/security/dist/input-validator.d.ts +138 -106
  22. package/node_modules/@claude-flow/security/dist/input-validator.d.ts.map +1 -1
  23. package/node_modules/@claude-flow/security/dist/input-validator.js +23 -26
  24. package/node_modules/@claude-flow/security/dist/input-validator.js.map +1 -1
  25. package/node_modules/@claude-flow/security/package.json +2 -2
  26. package/package.json +6 -6
  27. package/plugins/ruflo-metaharness/.claude-plugin/plugin.json +1 -1
  28. package/plugins/ruflo-metaharness/CHANGELOG.md +3 -0
  29. package/plugins/ruflo-metaharness/scripts/_darwin.mjs +13 -0
  30. package/plugins/ruflo-metaharness/scripts/bench.mjs +34 -2
  31. package/plugins/ruflo-metaharness/scripts/smoke.sh +4 -4
@@ -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
- repository: string;
67
66
  commit: string;
67
+ repository: string;
68
68
  }, {
69
69
  path: string;
70
- repository: string;
71
70
  commit: string;
71
+ repository: string;
72
72
  }>;
73
73
  }, "strict", z.ZodTypeAny, {
74
74
  id: string;
75
75
  source: {
76
76
  path: string;
77
- repository: string;
78
77
  commit: string;
78
+ repository: string;
79
79
  };
80
80
  schemaVersion: 1;
81
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
81
82
  revision: number;
82
83
  ownerPlugin: string;
83
84
  legacyNames: string[];
84
85
  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: "view" | "dispatch" | "delegate" | "legacy";
89
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
104
103
  commit: string;
104
+ repository: string;
105
105
  };
106
106
  schemaVersion: 1;
107
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
107
108
  revision: number;
108
109
  ownerPlugin: string;
109
110
  legacyNames: string[];
110
111
  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: "view" | "dispatch" | "delegate" | "legacy";
115
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
130
129
  commit: string;
130
+ repository: string;
131
131
  };
132
132
  schemaVersion: 1;
133
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
133
134
  revision: number;
134
135
  ownerPlugin: string;
135
136
  legacyNames: string[];
136
137
  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: "view" | "dispatch" | "delegate" | "legacy";
141
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
156
155
  commit: string;
156
+ repository: string;
157
157
  };
158
158
  schemaVersion: 1;
159
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
159
160
  revision: number;
160
161
  ownerPlugin: string;
161
162
  legacyNames: string[];
162
163
  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: "view" | "dispatch" | "delegate" | "legacy";
167
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- sourcePath: string;
194
193
  digest: string;
195
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
194
+ sourcePath: string;
196
195
  package: string;
196
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
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
- sourcePath: string;
203
202
  digest: string;
204
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
203
+ sourcePath: string;
205
204
  package: string;
205
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
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
- repository: string;
248
247
  commit: string;
248
+ repository: string;
249
249
  }, {
250
250
  path: string;
251
- repository: string;
252
251
  commit: string;
252
+ repository: string;
253
253
  }>;
254
254
  }, "strict", z.ZodTypeAny, {
255
255
  id: string;
256
256
  source: {
257
257
  path: string;
258
- repository: string;
259
258
  commit: string;
259
+ repository: string;
260
260
  };
261
261
  schemaVersion: 1;
262
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
262
263
  revision: number;
263
264
  ownerPlugin: string;
264
265
  legacyNames: string[];
265
266
  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: "view" | "dispatch" | "delegate" | "legacy";
270
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
285
284
  commit: string;
285
+ repository: string;
286
286
  };
287
287
  schemaVersion: 1;
288
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
288
289
  revision: number;
289
290
  ownerPlugin: string;
290
291
  legacyNames: string[];
291
292
  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: "view" | "dispatch" | "delegate" | "legacy";
296
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
311
310
  commit: string;
311
+ repository: string;
312
312
  };
313
313
  schemaVersion: 1;
314
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
314
315
  revision: number;
315
316
  ownerPlugin: string;
316
317
  legacyNames: string[];
317
318
  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: "view" | "dispatch" | "delegate" | "legacy";
322
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
337
336
  commit: string;
337
+ repository: string;
338
338
  };
339
339
  schemaVersion: 1;
340
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
340
341
  revision: number;
341
342
  ownerPlugin: string;
342
343
  legacyNames: string[];
343
344
  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: "view" | "dispatch" | "delegate" | "legacy";
348
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- sourcePath: string;
372
371
  digest: string;
373
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
372
+ sourcePath: string;
374
373
  package: string;
374
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
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
- sourcePath: string;
381
380
  digest: string;
382
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
381
+ sourcePath: string;
383
382
  package: string;
383
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
384
384
  observedInvocation: string;
385
385
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
386
386
  shippedIn: string[];
@@ -388,24 +388,35 @@ 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
+ }[];
391
401
  status: "documentation" | "shipped" | "source-only";
402
+ divergent: boolean;
392
403
  definition: {
393
404
  id: string;
394
405
  source: {
395
406
  path: string;
396
- repository: string;
397
407
  commit: string;
408
+ repository: string;
398
409
  };
399
410
  schemaVersion: 1;
411
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
400
412
  revision: number;
401
413
  ownerPlugin: string;
402
414
  legacyNames: string[];
403
415
  modNames: string[];
404
- kind: "query" | "prompt" | "mutation" | "workflow" | "help";
405
416
  argumentsSchema: Record<string, unknown>;
406
417
  requiredCapabilities: string[];
407
418
  requiredHostFeatures: string[];
408
- disposition: "view" | "dispatch" | "delegate" | "legacy";
419
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
409
420
  modelVisibility: "same-as-legacy" | "explicit-summary";
410
421
  prompt?: {
411
422
  path: string;
@@ -416,37 +427,37 @@ export declare const catalogEntrySchema: z.ZodObject<{
416
427
  bindingId?: string | undefined;
417
428
  viewId?: string | undefined;
418
429
  };
419
- divergent: boolean;
430
+ notes: string[];
431
+ }, {
420
432
  sources: {
421
- sourcePath: string;
422
433
  digest: string;
423
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
434
+ sourcePath: string;
424
435
  package: string;
436
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
425
437
  observedInvocation: string;
426
438
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
427
439
  shippedIn: string[];
428
440
  initCategory?: string | undefined;
429
441
  }[];
430
- notes: string[];
431
- }, {
432
442
  status: "documentation" | "shipped" | "source-only";
443
+ divergent: boolean;
433
444
  definition: {
434
445
  id: string;
435
446
  source: {
436
447
  path: string;
437
- repository: string;
438
448
  commit: string;
449
+ repository: string;
439
450
  };
440
451
  schemaVersion: 1;
452
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
441
453
  revision: number;
442
454
  ownerPlugin: string;
443
455
  legacyNames: string[];
444
456
  modNames: string[];
445
- kind: "query" | "prompt" | "mutation" | "workflow" | "help";
446
457
  argumentsSchema: Record<string, unknown>;
447
458
  requiredCapabilities: string[];
448
459
  requiredHostFeatures: string[];
449
- disposition: "view" | "dispatch" | "delegate" | "legacy";
460
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
450
461
  modelVisibility: "same-as-legacy" | "explicit-summary";
451
462
  prompt?: {
452
463
  path: string;
@@ -457,17 +468,6 @@ export declare const catalogEntrySchema: z.ZodObject<{
457
468
  bindingId?: string | undefined;
458
469
  viewId?: string | undefined;
459
470
  };
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
- repository: string;
514
513
  commit: string;
514
+ repository: string;
515
515
  }, {
516
516
  path: string;
517
- repository: string;
518
517
  commit: string;
518
+ repository: string;
519
519
  }>;
520
520
  }, "strict", z.ZodTypeAny, {
521
521
  id: string;
522
522
  source: {
523
523
  path: string;
524
- repository: string;
525
524
  commit: string;
525
+ repository: string;
526
526
  };
527
527
  schemaVersion: 1;
528
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
528
529
  revision: number;
529
530
  ownerPlugin: string;
530
531
  legacyNames: string[];
531
532
  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: "view" | "dispatch" | "delegate" | "legacy";
536
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
551
550
  commit: string;
551
+ repository: string;
552
552
  };
553
553
  schemaVersion: 1;
554
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
554
555
  revision: number;
555
556
  ownerPlugin: string;
556
557
  legacyNames: string[];
557
558
  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: "view" | "dispatch" | "delegate" | "legacy";
562
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
577
576
  commit: string;
577
+ repository: string;
578
578
  };
579
579
  schemaVersion: 1;
580
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
580
581
  revision: number;
581
582
  ownerPlugin: string;
582
583
  legacyNames: string[];
583
584
  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: "view" | "dispatch" | "delegate" | "legacy";
588
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- repository: string;
603
602
  commit: string;
603
+ repository: string;
604
604
  };
605
605
  schemaVersion: 1;
606
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
606
607
  revision: number;
607
608
  ownerPlugin: string;
608
609
  legacyNames: string[];
609
610
  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: "view" | "dispatch" | "delegate" | "legacy";
614
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
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
- sourcePath: string;
638
637
  digest: string;
639
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
638
+ sourcePath: string;
640
639
  package: string;
640
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
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
- sourcePath: string;
647
646
  digest: string;
648
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
647
+ sourcePath: string;
649
648
  package: string;
649
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
650
650
  observedInvocation: string;
651
651
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
652
652
  shippedIn: string[];
@@ -654,24 +654,35 @@ 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
+ }[];
657
667
  status: "documentation" | "shipped" | "source-only";
668
+ divergent: boolean;
658
669
  definition: {
659
670
  id: string;
660
671
  source: {
661
672
  path: string;
662
- repository: string;
663
673
  commit: string;
674
+ repository: string;
664
675
  };
665
676
  schemaVersion: 1;
677
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
666
678
  revision: number;
667
679
  ownerPlugin: string;
668
680
  legacyNames: string[];
669
681
  modNames: string[];
670
- kind: "query" | "prompt" | "mutation" | "workflow" | "help";
671
682
  argumentsSchema: Record<string, unknown>;
672
683
  requiredCapabilities: string[];
673
684
  requiredHostFeatures: string[];
674
- disposition: "view" | "dispatch" | "delegate" | "legacy";
685
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
675
686
  modelVisibility: "same-as-legacy" | "explicit-summary";
676
687
  prompt?: {
677
688
  path: string;
@@ -682,37 +693,37 @@ export declare const commandCatalogSchema: z.ZodObject<{
682
693
  bindingId?: string | undefined;
683
694
  viewId?: string | undefined;
684
695
  };
685
- divergent: boolean;
696
+ notes: string[];
697
+ }, {
686
698
  sources: {
687
- sourcePath: string;
688
699
  digest: string;
689
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
700
+ sourcePath: string;
690
701
  package: string;
702
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
691
703
  observedInvocation: string;
692
704
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
693
705
  shippedIn: string[];
694
706
  initCategory?: string | undefined;
695
707
  }[];
696
- notes: string[];
697
- }, {
698
708
  status: "documentation" | "shipped" | "source-only";
709
+ divergent: boolean;
699
710
  definition: {
700
711
  id: string;
701
712
  source: {
702
713
  path: string;
703
- repository: string;
704
714
  commit: string;
715
+ repository: string;
705
716
  };
706
717
  schemaVersion: 1;
718
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
707
719
  revision: number;
708
720
  ownerPlugin: string;
709
721
  legacyNames: string[];
710
722
  modNames: string[];
711
- kind: "query" | "prompt" | "mutation" | "workflow" | "help";
712
723
  argumentsSchema: Record<string, unknown>;
713
724
  requiredCapabilities: string[];
714
725
  requiredHostFeatures: string[];
715
- disposition: "view" | "dispatch" | "delegate" | "legacy";
726
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
716
727
  modelVisibility: "same-as-legacy" | "explicit-summary";
717
728
  prompt?: {
718
729
  path: string;
@@ -723,39 +734,39 @@ export declare const commandCatalogSchema: z.ZodObject<{
723
734
  bindingId?: string | undefined;
724
735
  viewId?: string | undefined;
725
736
  };
726
- divergent: boolean;
737
+ notes: string[];
738
+ }>, "many">;
739
+ }, "strict", z.ZodTypeAny, {
740
+ entries: {
727
741
  sources: {
728
- sourcePath: string;
729
742
  digest: string;
730
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
743
+ sourcePath: string;
731
744
  package: string;
745
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
732
746
  observedInvocation: string;
733
747
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
734
748
  shippedIn: string[];
735
749
  initCategory?: string | undefined;
736
750
  }[];
737
- notes: string[];
738
- }>, "many">;
739
- }, "strict", z.ZodTypeAny, {
740
- entries: {
741
751
  status: "documentation" | "shipped" | "source-only";
752
+ divergent: boolean;
742
753
  definition: {
743
754
  id: string;
744
755
  source: {
745
756
  path: string;
746
- repository: string;
747
757
  commit: string;
758
+ repository: string;
748
759
  };
749
760
  schemaVersion: 1;
761
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
750
762
  revision: number;
751
763
  ownerPlugin: string;
752
764
  legacyNames: string[];
753
765
  modNames: string[];
754
- kind: "query" | "prompt" | "mutation" | "workflow" | "help";
755
766
  argumentsSchema: Record<string, unknown>;
756
767
  requiredCapabilities: string[];
757
768
  requiredHostFeatures: string[];
758
- disposition: "view" | "dispatch" | "delegate" | "legacy";
769
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
759
770
  modelVisibility: "same-as-legacy" | "explicit-summary";
760
771
  prompt?: {
761
772
  path: string;
@@ -766,42 +777,42 @@ export declare const commandCatalogSchema: z.ZodObject<{
766
777
  bindingId?: string | undefined;
767
778
  viewId?: string | undefined;
768
779
  };
769
- divergent: boolean;
780
+ notes: string[];
781
+ }[];
782
+ contractVersion: "ruflo.command-catalog/1";
783
+ sourceCommit: string;
784
+ sourceDigest: string;
785
+ }, {
786
+ entries: {
770
787
  sources: {
771
- sourcePath: string;
772
788
  digest: string;
773
- channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
789
+ sourcePath: string;
774
790
  package: string;
791
+ channel: "repo-project-commands" | "cli-init-template" | "marketplace-plugin" | "source-plugin" | "mod-registration";
775
792
  observedInvocation: string;
776
793
  binding: "markdown-loader" | "mod-register" | "mod-middleware-on-markdown";
777
794
  shippedIn: string[];
778
795
  initCategory?: string | undefined;
779
796
  }[];
780
- notes: string[];
781
- }[];
782
- contractVersion: "ruflo.command-catalog/1";
783
- sourceCommit: string;
784
- sourceDigest: string;
785
- }, {
786
- entries: {
787
797
  status: "documentation" | "shipped" | "source-only";
798
+ divergent: boolean;
788
799
  definition: {
789
800
  id: string;
790
801
  source: {
791
802
  path: string;
792
- repository: string;
793
803
  commit: string;
804
+ repository: string;
794
805
  };
795
806
  schemaVersion: 1;
807
+ kind: "help" | "query" | "prompt" | "workflow" | "mutation";
796
808
  revision: number;
797
809
  ownerPlugin: string;
798
810
  legacyNames: string[];
799
811
  modNames: string[];
800
- kind: "query" | "prompt" | "mutation" | "workflow" | "help";
801
812
  argumentsSchema: Record<string, unknown>;
802
813
  requiredCapabilities: string[];
803
814
  requiredHostFeatures: string[];
804
- disposition: "view" | "dispatch" | "delegate" | "legacy";
815
+ disposition: "legacy" | "dispatch" | "view" | "delegate";
805
816
  modelVisibility: "same-as-legacy" | "explicit-summary";
806
817
  prompt?: {
807
818
  path: string;
@@ -812,17 +823,6 @@ export declare const commandCatalogSchema: z.ZodObject<{
812
823
  bindingId?: string | undefined;
813
824
  viewId?: string | undefined;
814
825
  };
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";