claude-flow 3.7.0-alpha.21 → 3.7.0-alpha.23

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 (35) hide show
  1. package/.claude/scheduled_tasks.lock +1 -1
  2. package/README.md +2 -0
  3. package/package.json +1 -1
  4. package/v3/@claude-flow/cli/README.md +2 -0
  5. package/v3/@claude-flow/cli/dist/src/commands/task.js +8 -4
  6. package/v3/@claude-flow/cli/dist/src/mcp-tools/agent-tools.js +7 -7
  7. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentdb-tools.js +101 -24
  8. package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.js +6 -6
  9. package/v3/@claude-flow/cli/dist/src/mcp-tools/autopilot-tools.js +10 -10
  10. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-session-tools.js +5 -5
  11. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-tools.js +23 -23
  12. package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.js +12 -12
  13. package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.js +6 -6
  14. package/v3/@claude-flow/cli/dist/src/mcp-tools/coordination-tools.js +7 -7
  15. package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.js +8 -8
  16. package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.js +10 -10
  17. package/v3/@claude-flow/cli/dist/src/mcp-tools/github-tools.js +5 -5
  18. package/v3/@claude-flow/cli/dist/src/mcp-tools/guidance-tools.js +21 -21
  19. package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.js +9 -9
  20. package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js +36 -36
  21. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +5 -5
  22. package/v3/@claude-flow/cli/dist/src/mcp-tools/neural-tools.js +6 -6
  23. package/v3/@claude-flow/cli/dist/src/mcp-tools/performance-tools.js +6 -6
  24. package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.js +4 -4
  25. package/v3/@claude-flow/cli/dist/src/mcp-tools/ruvllm-tools.js +10 -10
  26. package/v3/@claude-flow/cli/dist/src/mcp-tools/security-tools.js +6 -6
  27. package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js +5 -5
  28. package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js +4 -4
  29. package/v3/@claude-flow/cli/dist/src/mcp-tools/system-tools.js +7 -7
  30. package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js +7 -7
  31. package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.js +5 -5
  32. package/v3/@claude-flow/cli/dist/src/mcp-tools/transfer-tools.js +11 -11
  33. package/v3/@claude-flow/cli/dist/src/mcp-tools/wasm-agent-tools.js +10 -10
  34. package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js +10 -10
  35. package/v3/@claude-flow/cli/package.json +1 -1
@@ -109,7 +109,7 @@ export const browserTools = [
109
109
  // ==========================================================================
110
110
  {
111
111
  name: 'browser_open',
112
- description: 'Navigate browser to a URL',
112
+ description: 'Navigate browser to a URL Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
113
113
  category: 'browser',
114
114
  tags: ['navigation', 'web'],
115
115
  inputSchema: {
@@ -163,7 +163,7 @@ export const browserTools = [
163
163
  },
164
164
  {
165
165
  name: 'browser_back',
166
- description: 'Navigate back in browser history',
166
+ description: 'Navigate back in browser history Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
167
167
  category: 'browser',
168
168
  tags: ['navigation'],
169
169
  inputSchema: {
@@ -179,7 +179,7 @@ export const browserTools = [
179
179
  },
180
180
  {
181
181
  name: 'browser_forward',
182
- description: 'Navigate forward in browser history',
182
+ description: 'Navigate forward in browser history Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
183
183
  category: 'browser',
184
184
  tags: ['navigation'],
185
185
  inputSchema: {
@@ -195,7 +195,7 @@ export const browserTools = [
195
195
  },
196
196
  {
197
197
  name: 'browser_reload',
198
- description: 'Reload the current page',
198
+ description: 'Reload the current page Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
199
199
  category: 'browser',
200
200
  tags: ['navigation'],
201
201
  inputSchema: {
@@ -211,7 +211,7 @@ export const browserTools = [
211
211
  },
212
212
  {
213
213
  name: 'browser_close',
214
- description: 'Close the browser session',
214
+ description: 'Close the browser session Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
215
215
  category: 'browser',
216
216
  tags: ['navigation'],
217
217
  inputSchema: {
@@ -232,7 +232,7 @@ export const browserTools = [
232
232
  // ==========================================================================
233
233
  {
234
234
  name: 'browser_snapshot',
235
- description: 'Get AI-optimized accessibility tree snapshot with element refs (@e1, @e2, etc.)',
235
+ description: 'Get AI-optimized accessibility tree snapshot with element refs (@e1, @e2, etc.) Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
236
236
  category: 'browser',
237
237
  tags: ['snapshot', 'ai'],
238
238
  inputSchema: {
@@ -271,7 +271,7 @@ export const browserTools = [
271
271
  },
272
272
  {
273
273
  name: 'browser_screenshot',
274
- description: 'Capture screenshot of the page',
274
+ description: 'Capture screenshot of the page Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
275
275
  category: 'browser',
276
276
  tags: ['snapshot', 'screenshot'],
277
277
  inputSchema: {
@@ -307,7 +307,7 @@ export const browserTools = [
307
307
  // ==========================================================================
308
308
  {
309
309
  name: 'browser_click',
310
- description: 'Click an element using ref (@e1) or CSS selector',
310
+ description: 'Click an element using ref (@e1) or CSS selector Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
311
311
  category: 'browser',
312
312
  tags: ['interaction'],
313
313
  inputSchema: {
@@ -340,7 +340,7 @@ export const browserTools = [
340
340
  },
341
341
  {
342
342
  name: 'browser_fill',
343
- description: 'Clear and fill an input element',
343
+ description: 'Clear and fill an input element Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
344
344
  category: 'browser',
345
345
  tags: ['interaction', 'form'],
346
346
  inputSchema: {
@@ -370,7 +370,7 @@ export const browserTools = [
370
370
  },
371
371
  {
372
372
  name: 'browser_type',
373
- description: 'Type text with key events (for autocomplete, etc.)',
373
+ description: 'Type text with key events (for autocomplete, etc.) Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
374
374
  category: 'browser',
375
375
  tags: ['interaction', 'form'],
376
376
  inputSchema: {
@@ -404,7 +404,7 @@ export const browserTools = [
404
404
  },
405
405
  {
406
406
  name: 'browser_press',
407
- description: 'Press a keyboard key',
407
+ description: 'Press a keyboard key Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
408
408
  category: 'browser',
409
409
  tags: ['interaction'],
410
410
  inputSchema: {
@@ -430,7 +430,7 @@ export const browserTools = [
430
430
  },
431
431
  {
432
432
  name: 'browser_hover',
433
- description: 'Hover over an element using ref (@e1) or CSS selector',
433
+ description: 'Hover over an element using ref (@e1) or CSS selector Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
434
434
  category: 'browser',
435
435
  tags: ['interaction'],
436
436
  inputSchema: {
@@ -456,7 +456,7 @@ export const browserTools = [
456
456
  },
457
457
  {
458
458
  name: 'browser_select',
459
- description: 'Select an option from a dropdown',
459
+ description: 'Select an option from a dropdown Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
460
460
  category: 'browser',
461
461
  tags: ['interaction', 'form'],
462
462
  inputSchema: {
@@ -486,7 +486,7 @@ export const browserTools = [
486
486
  },
487
487
  {
488
488
  name: 'browser_check',
489
- description: 'Check a checkbox',
489
+ description: 'Check a checkbox Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
490
490
  category: 'browser',
491
491
  tags: ['interaction', 'form'],
492
492
  inputSchema: {
@@ -512,7 +512,7 @@ export const browserTools = [
512
512
  },
513
513
  {
514
514
  name: 'browser_uncheck',
515
- description: 'Uncheck a checkbox',
515
+ description: 'Uncheck a checkbox Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
516
516
  category: 'browser',
517
517
  tags: ['interaction', 'form'],
518
518
  inputSchema: {
@@ -538,7 +538,7 @@ export const browserTools = [
538
538
  },
539
539
  {
540
540
  name: 'browser_scroll',
541
- description: 'Scroll the page',
541
+ description: 'Scroll the page Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
542
542
  category: 'browser',
543
543
  tags: ['interaction'],
544
544
  inputSchema: {
@@ -563,7 +563,7 @@ export const browserTools = [
563
563
  // ==========================================================================
564
564
  {
565
565
  name: 'browser_get-text',
566
- description: 'Get text content of an element',
566
+ description: 'Get text content of an element Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
567
567
  category: 'browser',
568
568
  tags: ['info'],
569
569
  inputSchema: {
@@ -589,7 +589,7 @@ export const browserTools = [
589
589
  },
590
590
  {
591
591
  name: 'browser_get-value',
592
- description: 'Get value of an input element',
592
+ description: 'Get value of an input element Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
593
593
  category: 'browser',
594
594
  tags: ['info', 'form'],
595
595
  inputSchema: {
@@ -615,7 +615,7 @@ export const browserTools = [
615
615
  },
616
616
  {
617
617
  name: 'browser_get-title',
618
- description: 'Get the page title',
618
+ description: 'Get the page title Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
619
619
  category: 'browser',
620
620
  tags: ['info'],
621
621
  inputSchema: {
@@ -631,7 +631,7 @@ export const browserTools = [
631
631
  },
632
632
  {
633
633
  name: 'browser_get-url',
634
- description: 'Get the current URL',
634
+ description: 'Get the current URL Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
635
635
  category: 'browser',
636
636
  tags: ['info'],
637
637
  inputSchema: {
@@ -650,7 +650,7 @@ export const browserTools = [
650
650
  // ==========================================================================
651
651
  {
652
652
  name: 'browser_wait',
653
- description: 'Wait for a condition',
653
+ description: 'Wait for a condition Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
654
654
  category: 'browser',
655
655
  tags: ['wait'],
656
656
  inputSchema: {
@@ -702,7 +702,7 @@ export const browserTools = [
702
702
  // ==========================================================================
703
703
  {
704
704
  name: 'browser_eval',
705
- description: 'Execute JavaScript in page context',
705
+ description: 'Execute JavaScript in page context Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
706
706
  category: 'browser',
707
707
  tags: ['eval', 'js'],
708
708
  inputSchema: {
@@ -731,7 +731,7 @@ export const browserTools = [
731
731
  // ==========================================================================
732
732
  {
733
733
  name: 'browser_session-list',
734
- description: 'List active browser sessions',
734
+ description: 'List active browser sessions Use when native WebFetch is wrong because you need real browser automation — JS-heavy SPA scraping, login flows with cookie reuse, replay against DOM-drifted versions, AIDefence PII gating before content reaches Claude. For static HTML pages, native WebFetch is faster and free.',
735
735
  category: 'browser',
736
736
  tags: ['session'],
737
737
  inputSchema: {
@@ -55,7 +55,7 @@ function parseClaimant(str) {
55
55
  export const claimsTools = [
56
56
  {
57
57
  name: 'claims_claim',
58
- description: 'Claim an issue for work (human or agent)',
58
+ description: 'Claim an issue for work (human or agent) Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
59
59
  category: 'claims',
60
60
  inputSchema: {
61
61
  type: 'object',
@@ -129,7 +129,7 @@ export const claimsTools = [
129
129
  },
130
130
  {
131
131
  name: 'claims_release',
132
- description: 'Release a claim on an issue',
132
+ description: 'Release a claim on an issue Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
133
133
  category: 'claims',
134
134
  inputSchema: {
135
135
  type: 'object',
@@ -194,7 +194,7 @@ export const claimsTools = [
194
194
  },
195
195
  {
196
196
  name: 'claims_handoff',
197
- description: 'Request handoff of an issue to another claimant',
197
+ description: 'Request handoff of an issue to another claimant Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
198
198
  category: 'claims',
199
199
  inputSchema: {
200
200
  type: 'object',
@@ -278,7 +278,7 @@ export const claimsTools = [
278
278
  },
279
279
  {
280
280
  name: 'claims_accept-handoff',
281
- description: 'Accept a pending handoff',
281
+ description: 'Accept a pending handoff Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
282
282
  category: 'claims',
283
283
  inputSchema: {
284
284
  type: 'object',
@@ -341,7 +341,7 @@ export const claimsTools = [
341
341
  },
342
342
  {
343
343
  name: 'claims_status',
344
- description: 'Update claim status',
344
+ description: 'Update claim status Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
345
345
  category: 'claims',
346
346
  inputSchema: {
347
347
  type: 'object',
@@ -406,7 +406,7 @@ export const claimsTools = [
406
406
  },
407
407
  {
408
408
  name: 'claims_list',
409
- description: 'List all claims or filter by criteria',
409
+ description: 'List all claims or filter by criteria Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
410
410
  category: 'claims',
411
411
  inputSchema: {
412
412
  type: 'object',
@@ -461,7 +461,7 @@ export const claimsTools = [
461
461
  },
462
462
  {
463
463
  name: 'claims_mark-stealable',
464
- description: 'Mark an issue as stealable by other agents',
464
+ description: 'Mark an issue as stealable by other agents Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
465
465
  category: 'claims',
466
466
  inputSchema: {
467
467
  type: 'object',
@@ -529,7 +529,7 @@ export const claimsTools = [
529
529
  },
530
530
  {
531
531
  name: 'claims_steal',
532
- description: 'Steal a stealable issue',
532
+ description: 'Steal a stealable issue Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
533
533
  category: 'claims',
534
534
  inputSchema: {
535
535
  type: 'object',
@@ -600,7 +600,7 @@ export const claimsTools = [
600
600
  },
601
601
  {
602
602
  name: 'claims_stealable',
603
- description: 'List all stealable issues',
603
+ description: 'List all stealable issues Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
604
604
  category: 'claims',
605
605
  inputSchema: {
606
606
  type: 'object',
@@ -636,7 +636,7 @@ export const claimsTools = [
636
636
  },
637
637
  {
638
638
  name: 'claims_load',
639
- description: 'Get agent load information',
639
+ description: 'Get agent load information Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
640
640
  category: 'claims',
641
641
  inputSchema: {
642
642
  type: 'object',
@@ -719,7 +719,7 @@ export const claimsTools = [
719
719
  },
720
720
  {
721
721
  name: 'claims_board',
722
- description: 'Get a visual board view of all claims',
722
+ description: 'Get a visual board view of all claims Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
723
723
  category: 'claims',
724
724
  inputSchema: {
725
725
  type: 'object',
@@ -768,7 +768,7 @@ export const claimsTools = [
768
768
  },
769
769
  {
770
770
  name: 'claims_rebalance',
771
- description: 'Suggest or apply load rebalancing across agents',
771
+ description: 'Suggest or apply load rebalancing across agents Use when nothing native covers per-agent capability gating — Claude Code agents have file-system access by default. Pair claims_grant + claims_check before letting an agent run privileged ops. For trusted in-session work, no claims call is needed.',
772
772
  category: 'claims',
773
773
  inputSchema: {
774
774
  type: 'object',
@@ -105,7 +105,7 @@ function setNestedValue(obj, key, value) {
105
105
  export const configTools = [
106
106
  {
107
107
  name: 'config_get',
108
- description: 'Get configuration value',
108
+ description: 'Get configuration value Use when native settings.json edits are wrong because the values need to be read by the Ruflo runtime (daemon, MCP server, neural router) — those load via the config_* path, not by re-reading settings.json. For .gitignore / .editorconfig style files, native Edit is fine.',
109
109
  category: 'config',
110
110
  inputSchema: {
111
111
  type: 'object',
@@ -150,7 +150,7 @@ export const configTools = [
150
150
  },
151
151
  {
152
152
  name: 'config_set',
153
- description: 'Set configuration value',
153
+ description: 'Set configuration value Use when native settings.json edits are wrong because the values need to be read by the Ruflo runtime (daemon, MCP server, neural router) — those load via the config_* path, not by re-reading settings.json. For .gitignore / .editorconfig style files, native Edit is fine.',
154
154
  category: 'config',
155
155
  inputSchema: {
156
156
  type: 'object',
@@ -198,7 +198,7 @@ export const configTools = [
198
198
  },
199
199
  {
200
200
  name: 'config_list',
201
- description: 'List configuration values',
201
+ description: 'List configuration values Use when native settings.json edits are wrong because the values need to be read by the Ruflo runtime (daemon, MCP server, neural router) — those load via the config_* path, not by re-reading settings.json. For .gitignore / .editorconfig style files, native Edit is fine.',
202
202
  category: 'config',
203
203
  inputSchema: {
204
204
  type: 'object',
@@ -261,7 +261,7 @@ export const configTools = [
261
261
  },
262
262
  {
263
263
  name: 'config_reset',
264
- description: 'Reset configuration to defaults',
264
+ description: 'Reset configuration to defaults Use when native settings.json edits are wrong because the values need to be read by the Ruflo runtime (daemon, MCP server, neural router) — those load via the config_* path, not by re-reading settings.json. For .gitignore / .editorconfig style files, native Edit is fine.',
265
265
  category: 'config',
266
266
  inputSchema: {
267
267
  type: 'object',
@@ -322,7 +322,7 @@ export const configTools = [
322
322
  },
323
323
  {
324
324
  name: 'config_export',
325
- description: 'Export configuration to JSON',
325
+ description: 'Export configuration to JSON Use when native settings.json edits are wrong because the values need to be read by the Ruflo runtime (daemon, MCP server, neural router) — those load via the config_* path, not by re-reading settings.json. For .gitignore / .editorconfig style files, native Edit is fine.',
326
326
  category: 'config',
327
327
  inputSchema: {
328
328
  type: 'object',
@@ -360,7 +360,7 @@ export const configTools = [
360
360
  },
361
361
  {
362
362
  name: 'config_import',
363
- description: 'Import configuration from JSON',
363
+ description: 'Import configuration from JSON Use when native settings.json edits are wrong because the values need to be read by the Ruflo runtime (daemon, MCP server, neural router) — those load via the config_* path, not by re-reading settings.json. For .gitignore / .editorconfig style files, native Edit is fine.',
364
364
  category: 'config',
365
365
  inputSchema: {
366
366
  type: 'object',
@@ -67,7 +67,7 @@ function saveCoordStore(store) {
67
67
  export const coordinationTools = [
68
68
  {
69
69
  name: 'coordination_topology',
70
- description: 'Configure swarm topology',
70
+ description: 'Configure swarm topology Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
71
71
  category: 'coordination',
72
72
  inputSchema: {
73
73
  type: 'object',
@@ -136,7 +136,7 @@ export const coordinationTools = [
136
136
  },
137
137
  {
138
138
  name: 'coordination_load_balance',
139
- description: 'Configure load balancing',
139
+ description: 'Configure load balancing Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
140
140
  category: 'coordination',
141
141
  inputSchema: {
142
142
  type: 'object',
@@ -220,7 +220,7 @@ export const coordinationTools = [
220
220
  },
221
221
  {
222
222
  name: 'coordination_sync',
223
- description: 'Synchronize state across nodes',
223
+ description: 'Synchronize state across nodes Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
224
224
  category: 'coordination',
225
225
  inputSchema: {
226
226
  type: 'object',
@@ -281,7 +281,7 @@ export const coordinationTools = [
281
281
  },
282
282
  {
283
283
  name: 'coordination_node',
284
- description: 'Manage coordination nodes',
284
+ description: 'Manage coordination nodes Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
285
285
  category: 'coordination',
286
286
  inputSchema: {
287
287
  type: 'object',
@@ -362,7 +362,7 @@ export const coordinationTools = [
362
362
  },
363
363
  {
364
364
  name: 'coordination_consensus',
365
- description: 'Manage consensus protocol with BFT, Raft, or Quorum strategies',
365
+ description: 'Manage consensus protocol with BFT, Raft, or Quorum strategies Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
366
366
  category: 'coordination',
367
367
  inputSchema: {
368
368
  type: 'object',
@@ -606,7 +606,7 @@ export const coordinationTools = [
606
606
  },
607
607
  {
608
608
  name: 'coordination_orchestrate',
609
- description: 'Orchestrate multi-agent coordination',
609
+ description: 'Orchestrate multi-agent coordination Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
610
610
  category: 'coordination',
611
611
  inputSchema: {
612
612
  type: 'object',
@@ -673,7 +673,7 @@ export const coordinationTools = [
673
673
  },
674
674
  {
675
675
  name: 'coordination_metrics',
676
- description: 'Get coordination metrics',
676
+ description: 'Get coordination metrics Use when native Task is wrong because the work crosses multiple agents that need to vote/sync/load-balance — TodoWrite + a single Task cannot orchestrate consensus. For one-off subtask dispatch, native Task is fine.',
677
677
  category: 'coordination',
678
678
  inputSchema: {
679
679
  type: 'object',
@@ -47,7 +47,7 @@ function saveDAAStore(store) {
47
47
  export const daaTools = [
48
48
  {
49
49
  name: 'daa_agent_create',
50
- description: 'Create a decentralized autonomous agent',
50
+ description: 'Create a decentralized autonomous agent Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
51
51
  category: 'daa',
52
52
  inputSchema: {
53
53
  type: 'object',
@@ -124,7 +124,7 @@ export const daaTools = [
124
124
  },
125
125
  {
126
126
  name: 'daa_agent_adapt',
127
- description: 'Trigger agent adaptation based on feedback',
127
+ description: 'Trigger agent adaptation based on feedback Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
128
128
  category: 'daa',
129
129
  inputSchema: {
130
130
  type: 'object',
@@ -187,7 +187,7 @@ export const daaTools = [
187
187
  },
188
188
  {
189
189
  name: 'daa_workflow_create',
190
- description: 'Create an autonomous workflow',
190
+ description: 'Create an autonomous workflow Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
191
191
  category: 'daa',
192
192
  inputSchema: {
193
193
  type: 'object',
@@ -234,7 +234,7 @@ export const daaTools = [
234
234
  },
235
235
  {
236
236
  name: 'daa_workflow_execute',
237
- description: 'Execute a DAA workflow',
237
+ description: 'Execute a DAA workflow Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
238
238
  category: 'daa',
239
239
  inputSchema: {
240
240
  type: 'object',
@@ -283,7 +283,7 @@ export const daaTools = [
283
283
  },
284
284
  {
285
285
  name: 'daa_knowledge_share',
286
- description: 'Share knowledge between agents',
286
+ description: 'Share knowledge between agents Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
287
287
  category: 'daa',
288
288
  inputSchema: {
289
289
  type: 'object',
@@ -355,7 +355,7 @@ export const daaTools = [
355
355
  },
356
356
  {
357
357
  name: 'daa_learning_status',
358
- description: 'Get learning status for DAA agents',
358
+ description: 'Get learning status for DAA agents Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
359
359
  category: 'daa',
360
360
  inputSchema: {
361
361
  type: 'object',
@@ -411,7 +411,7 @@ export const daaTools = [
411
411
  },
412
412
  {
413
413
  name: 'daa_cognitive_pattern',
414
- description: 'Analyze or change cognitive patterns',
414
+ description: 'Analyze or change cognitive patterns Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
415
415
  category: 'daa',
416
416
  inputSchema: {
417
417
  type: 'object',
@@ -481,7 +481,7 @@ export const daaTools = [
481
481
  },
482
482
  {
483
483
  name: 'daa_performance_metrics',
484
- description: 'Get DAA performance metrics',
484
+ description: 'Get DAA performance metrics Use when native Task is wrong because you need agents that adapt their cognitive pattern (convergent / divergent / lateral / systems / critical) per-task and share knowledge across the swarm. For static one-shot agents, native Task is fine.',
485
485
  category: 'daa',
486
486
  inputSchema: {
487
487
  type: 'object',
@@ -106,7 +106,7 @@ function cosineSimilarity(a, b) {
106
106
  export const embeddingsTools = [
107
107
  {
108
108
  name: 'embeddings_init',
109
- description: 'Initialize the ONNX embedding subsystem with hyperbolic support',
109
+ description: 'Initialize the ONNX embedding subsystem with hyperbolic support Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
110
110
  category: 'embeddings',
111
111
  inputSchema: {
112
112
  type: 'object',
@@ -200,7 +200,7 @@ export const embeddingsTools = [
200
200
  },
201
201
  {
202
202
  name: 'embeddings_generate',
203
- description: 'Generate embeddings for text (Euclidean or hyperbolic)',
203
+ description: 'Generate embeddings for text (Euclidean or hyperbolic) Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
204
204
  category: 'embeddings',
205
205
  inputSchema: {
206
206
  type: 'object',
@@ -265,7 +265,7 @@ export const embeddingsTools = [
265
265
  },
266
266
  {
267
267
  name: 'embeddings_compare',
268
- description: 'Compare similarity between two texts',
268
+ description: 'Compare similarity between two texts Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
269
269
  category: 'embeddings',
270
270
  inputSchema: {
271
271
  type: 'object',
@@ -354,7 +354,7 @@ export const embeddingsTools = [
354
354
  },
355
355
  {
356
356
  name: 'embeddings_search',
357
- description: 'Semantic search across stored embeddings',
357
+ description: 'Semantic search across stored embeddings Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
358
358
  category: 'embeddings',
359
359
  inputSchema: {
360
360
  type: 'object',
@@ -457,7 +457,7 @@ export const embeddingsTools = [
457
457
  },
458
458
  {
459
459
  name: 'embeddings_neural',
460
- description: 'Neural substrate operations (RuVector integration)',
460
+ description: 'Neural substrate operations (RuVector integration) Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
461
461
  category: 'embeddings',
462
462
  inputSchema: {
463
463
  type: 'object',
@@ -651,7 +651,7 @@ export const embeddingsTools = [
651
651
  },
652
652
  {
653
653
  name: 'embeddings_hyperbolic',
654
- description: 'Hyperbolic embedding operations (Poincaré ball)',
654
+ description: 'Hyperbolic embedding operations (Poincaré ball) Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
655
655
  category: 'embeddings',
656
656
  inputSchema: {
657
657
  type: 'object',
@@ -762,7 +762,7 @@ export const embeddingsTools = [
762
762
  },
763
763
  {
764
764
  name: 'embeddings_status',
765
- description: 'Get embeddings system status and configuration',
765
+ description: 'Get embeddings system status and configuration Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
766
766
  category: 'embeddings',
767
767
  inputSchema: {
768
768
  type: 'object',
@@ -834,7 +834,7 @@ export const embeddingsTools = [
834
834
  // --- RaBitQ 1-bit quantized vector index ---
835
835
  {
836
836
  name: 'embeddings_rabitq_build',
837
- description: 'Build RaBitQ 1-bit quantized index from stored embeddings (32× compression). Pre-filters candidates via Hamming scan before exact rerank.',
837
+ description: 'Build RaBitQ 1-bit quantized index from stored embeddings (32× compression). Pre-filters candidates via Hamming scan before exact rerank. Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
838
838
  category: 'embeddings',
839
839
  inputSchema: {
840
840
  type: 'object',
@@ -849,7 +849,7 @@ export const embeddingsTools = [
849
849
  },
850
850
  {
851
851
  name: 'embeddings_rabitq_search',
852
- description: 'Search via RaBitQ quantized index (fast Hamming scan). Returns candidate IDs for reranking.',
852
+ description: 'Search via RaBitQ quantized index (fast Hamming scan). Returns candidate IDs for reranking. Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
853
853
  category: 'embeddings',
854
854
  inputSchema: {
855
855
  type: 'object',
@@ -889,7 +889,7 @@ export const embeddingsTools = [
889
889
  },
890
890
  {
891
891
  name: 'embeddings_rabitq_status',
892
- description: 'Get RaBitQ quantized index status — availability, vector count, compression ratio',
892
+ description: 'Get RaBitQ quantized index status — availability, vector count, compression ratio Use when text similarity matters beyond keyword match — native Grep finds exact strings, embeddings find meaning. Pair with memory_store / agentdb_pattern-search to land the vector against your knowledge base. For literal symbol search, native Grep is faster.',
893
893
  category: 'embeddings',
894
894
  inputSchema: {
895
895
  type: 'object',
@@ -113,7 +113,7 @@ function hasGhCli() {
113
113
  export const githubTools = [
114
114
  {
115
115
  name: 'github_repo_analyze',
116
- description: 'Analyze a GitHub repository',
116
+ description: 'Analyze a GitHub repository Use when native Bash / file tools are wrong because this MCP tool exposes Ruflo-specific state or controllers that have no shell equivalent. For tasks that fit a one-line native command, prefer that.',
117
117
  category: 'github',
118
118
  inputSchema: {
119
119
  type: 'object',
@@ -206,7 +206,7 @@ export const githubTools = [
206
206
  },
207
207
  {
208
208
  name: 'github_pr_manage',
209
- description: 'Manage pull requests',
209
+ description: 'Manage pull requests Use when native Bash / file tools are wrong because this MCP tool exposes Ruflo-specific state or controllers that have no shell equivalent. For tasks that fit a one-line native command, prefer that.',
210
210
  category: 'github',
211
211
  inputSchema: {
212
212
  type: 'object',
@@ -352,7 +352,7 @@ export const githubTools = [
352
352
  },
353
353
  {
354
354
  name: 'github_issue_track',
355
- description: 'Track and manage issues',
355
+ description: 'Track and manage issues Use when native Bash / file tools are wrong because this MCP tool exposes Ruflo-specific state or controllers that have no shell equivalent. For tasks that fit a one-line native command, prefer that.',
356
356
  category: 'github',
357
357
  inputSchema: {
358
358
  type: 'object',
@@ -479,7 +479,7 @@ export const githubTools = [
479
479
  },
480
480
  {
481
481
  name: 'github_workflow',
482
- description: 'Manage GitHub Actions workflows',
482
+ description: 'Manage GitHub Actions workflows Use when native Bash / file tools are wrong because this MCP tool exposes Ruflo-specific state or controllers that have no shell equivalent. For tasks that fit a one-line native command, prefer that.',
483
483
  category: 'github',
484
484
  inputSchema: {
485
485
  type: 'object',
@@ -582,7 +582,7 @@ export const githubTools = [
582
582
  },
583
583
  {
584
584
  name: 'github_metrics',
585
- description: 'Get repository metrics and statistics',
585
+ description: 'Get repository metrics and statistics Use when native Bash / file tools are wrong because this MCP tool exposes Ruflo-specific state or controllers that have no shell equivalent. For tasks that fit a one-line native command, prefer that.',
586
586
  category: 'github',
587
587
  inputSchema: {
588
588
  type: 'object',