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

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 (34) 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/mcp-tools/agent-tools.js +7 -7
  6. package/v3/@claude-flow/cli/dist/src/mcp-tools/agentdb-tools.js +101 -24
  7. package/v3/@claude-flow/cli/dist/src/mcp-tools/analyze-tools.js +6 -6
  8. package/v3/@claude-flow/cli/dist/src/mcp-tools/autopilot-tools.js +10 -10
  9. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-session-tools.js +5 -5
  10. package/v3/@claude-flow/cli/dist/src/mcp-tools/browser-tools.js +23 -23
  11. package/v3/@claude-flow/cli/dist/src/mcp-tools/claims-tools.js +12 -12
  12. package/v3/@claude-flow/cli/dist/src/mcp-tools/config-tools.js +6 -6
  13. package/v3/@claude-flow/cli/dist/src/mcp-tools/coordination-tools.js +7 -7
  14. package/v3/@claude-flow/cli/dist/src/mcp-tools/daa-tools.js +8 -8
  15. package/v3/@claude-flow/cli/dist/src/mcp-tools/embeddings-tools.js +10 -10
  16. package/v3/@claude-flow/cli/dist/src/mcp-tools/github-tools.js +5 -5
  17. package/v3/@claude-flow/cli/dist/src/mcp-tools/guidance-tools.js +21 -21
  18. package/v3/@claude-flow/cli/dist/src/mcp-tools/hive-mind-tools.js +9 -9
  19. package/v3/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js +36 -36
  20. package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +5 -5
  21. package/v3/@claude-flow/cli/dist/src/mcp-tools/neural-tools.js +6 -6
  22. package/v3/@claude-flow/cli/dist/src/mcp-tools/performance-tools.js +6 -6
  23. package/v3/@claude-flow/cli/dist/src/mcp-tools/progress-tools.js +4 -4
  24. package/v3/@claude-flow/cli/dist/src/mcp-tools/ruvllm-tools.js +10 -10
  25. package/v3/@claude-flow/cli/dist/src/mcp-tools/security-tools.js +6 -6
  26. package/v3/@claude-flow/cli/dist/src/mcp-tools/session-tools.js +5 -5
  27. package/v3/@claude-flow/cli/dist/src/mcp-tools/swarm-tools.js +4 -4
  28. package/v3/@claude-flow/cli/dist/src/mcp-tools/system-tools.js +7 -7
  29. package/v3/@claude-flow/cli/dist/src/mcp-tools/task-tools.js +7 -7
  30. package/v3/@claude-flow/cli/dist/src/mcp-tools/terminal-tools.js +5 -5
  31. package/v3/@claude-flow/cli/dist/src/mcp-tools/transfer-tools.js +11 -11
  32. package/v3/@claude-flow/cli/dist/src/mcp-tools/wasm-agent-tools.js +10 -10
  33. package/v3/@claude-flow/cli/dist/src/mcp-tools/workflow-tools.js +10 -10
  34. package/v3/@claude-flow/cli/package.json +1 -1
@@ -29,7 +29,7 @@ export const transferTools = [
29
29
  // ═══════════════════════════════════════════════════════════════
30
30
  {
31
31
  name: 'transfer_detect-pii',
32
- description: 'Detect PII in content without redacting',
32
+ description: 'Detect PII in content without redacting Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
33
33
  category: 'transfer',
34
34
  version: '1.0.0',
35
35
  inputSchema: {
@@ -63,7 +63,7 @@ export const transferTools = [
63
63
  // ═══════════════════════════════════════════════════════════════
64
64
  {
65
65
  name: 'transfer_ipfs-resolve',
66
- description: 'Resolve IPNS name to CID',
66
+ description: 'Resolve IPNS name to CID Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
67
67
  category: 'transfer',
68
68
  version: '1.0.0',
69
69
  inputSchema: {
@@ -97,7 +97,7 @@ export const transferTools = [
97
97
  // ═══════════════════════════════════════════════════════════════
98
98
  {
99
99
  name: 'transfer_store-search',
100
- description: 'Search the pattern store',
100
+ description: 'Search the pattern store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
101
101
  category: 'transfer',
102
102
  version: '1.0.0',
103
103
  inputSchema: {
@@ -150,7 +150,7 @@ export const transferTools = [
150
150
  },
151
151
  {
152
152
  name: 'transfer_store-info',
153
- description: 'Get detailed info about a pattern',
153
+ description: 'Get detailed info about a pattern Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
154
154
  category: 'transfer',
155
155
  version: '1.0.0',
156
156
  inputSchema: {
@@ -186,7 +186,7 @@ export const transferTools = [
186
186
  },
187
187
  {
188
188
  name: 'transfer_store-download',
189
- description: 'Download a pattern from the store',
189
+ description: 'Download a pattern from the store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
190
190
  category: 'transfer',
191
191
  version: '1.0.0',
192
192
  inputSchema: {
@@ -223,7 +223,7 @@ export const transferTools = [
223
223
  },
224
224
  {
225
225
  name: 'transfer_store-featured',
226
- description: 'Get featured patterns from the store',
226
+ description: 'Get featured patterns from the store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
227
227
  category: 'transfer',
228
228
  version: '1.0.0',
229
229
  inputSchema: {
@@ -251,7 +251,7 @@ export const transferTools = [
251
251
  },
252
252
  {
253
253
  name: 'transfer_store-trending',
254
- description: 'Get trending patterns from the store',
254
+ description: 'Get trending patterns from the store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
255
255
  category: 'transfer',
256
256
  version: '1.0.0',
257
257
  inputSchema: {
@@ -282,7 +282,7 @@ export const transferTools = [
282
282
  // ═══════════════════════════════════════════════════════════════
283
283
  {
284
284
  name: 'transfer_plugin-search',
285
- description: 'Search the plugin store',
285
+ description: 'Search the plugin store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
286
286
  category: 'transfer',
287
287
  version: '1.0.0',
288
288
  inputSchema: {
@@ -348,7 +348,7 @@ export const transferTools = [
348
348
  },
349
349
  {
350
350
  name: 'transfer_plugin-info',
351
- description: 'Get detailed info about a plugin',
351
+ description: 'Get detailed info about a plugin Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
352
352
  category: 'transfer',
353
353
  version: '1.0.0',
354
354
  inputSchema: {
@@ -388,7 +388,7 @@ export const transferTools = [
388
388
  },
389
389
  {
390
390
  name: 'transfer_plugin-featured',
391
- description: 'Get featured plugins from the store',
391
+ description: 'Get featured plugins from the store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
392
392
  category: 'transfer',
393
393
  version: '1.0.0',
394
394
  inputSchema: {
@@ -419,7 +419,7 @@ export const transferTools = [
419
419
  },
420
420
  {
421
421
  name: 'transfer_plugin-official',
422
- description: 'Get official plugins from the store',
422
+ description: 'Get official plugins from the store Use when native package install (`npm i`, `pip install`) is wrong because the artifact lives on IPFS (plugins, witness chains, learned patterns). For npm-registry deps, native npm is fine.',
423
423
  category: 'transfer',
424
424
  version: '1.0.0',
425
425
  inputSchema: {
@@ -12,7 +12,7 @@ async function loadAgentWasm() {
12
12
  export const wasmAgentTools = [
13
13
  {
14
14
  name: 'wasm_agent_create',
15
- description: 'Create a sandboxed WASM agent with virtual filesystem (no OS access). Optionally use a gallery template.',
15
+ description: 'Create a sandboxed WASM agent with virtual filesystem (no OS access). Optionally use a gallery template. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
16
16
  inputSchema: {
17
17
  type: 'object',
18
18
  properties: {
@@ -58,7 +58,7 @@ export const wasmAgentTools = [
58
58
  },
59
59
  {
60
60
  name: 'wasm_agent_prompt',
61
- description: 'Send a prompt to a WASM agent and get a response.',
61
+ description: 'Send a prompt to a WASM agent and get a response. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
62
62
  inputSchema: {
63
63
  type: 'object',
64
64
  properties: {
@@ -90,7 +90,7 @@ export const wasmAgentTools = [
90
90
  },
91
91
  {
92
92
  name: 'wasm_agent_tool',
93
- description: 'Execute a tool on a WASM agent sandbox. Tools: read_file, write_file, edit_file, write_todos, list_files. Use flat format: {tool, path, content, ...}.',
93
+ description: 'Execute a tool on a WASM agent sandbox. Tools: read_file, write_file, edit_file, write_todos, list_files. Use flat format: {tool, path, content, ...}. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
94
94
  inputSchema: {
95
95
  type: 'object',
96
96
  properties: {
@@ -128,7 +128,7 @@ export const wasmAgentTools = [
128
128
  },
129
129
  {
130
130
  name: 'wasm_agent_list',
131
- description: 'List all active WASM agents.',
131
+ description: 'List all active WASM agents. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
132
132
  inputSchema: { type: 'object', properties: {} },
133
133
  handler: async () => {
134
134
  try {
@@ -143,7 +143,7 @@ export const wasmAgentTools = [
143
143
  },
144
144
  {
145
145
  name: 'wasm_agent_terminate',
146
- description: 'Terminate a WASM agent and free resources.',
146
+ description: 'Terminate a WASM agent and free resources. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
147
147
  inputSchema: {
148
148
  type: 'object',
149
149
  properties: {
@@ -169,7 +169,7 @@ export const wasmAgentTools = [
169
169
  },
170
170
  {
171
171
  name: 'wasm_agent_files',
172
- description: 'Get a WASM agent\'s available tools and info.',
172
+ description: 'Get a WASM agent\'s available tools and info. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
173
173
  inputSchema: {
174
174
  type: 'object',
175
175
  properties: {
@@ -196,7 +196,7 @@ export const wasmAgentTools = [
196
196
  },
197
197
  {
198
198
  name: 'wasm_agent_export',
199
- description: 'Export a WASM agent\'s full state (config, filesystem, conversation) as JSON.',
199
+ description: 'Export a WASM agent\'s full state (config, filesystem, conversation) as JSON. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
200
200
  inputSchema: {
201
201
  type: 'object',
202
202
  properties: {
@@ -222,7 +222,7 @@ export const wasmAgentTools = [
222
222
  },
223
223
  {
224
224
  name: 'wasm_gallery_list',
225
- description: 'List all available WASM agent gallery templates (Coder, Researcher, Tester, Reviewer, Security, Swarm).',
225
+ description: 'List all available WASM agent gallery templates (Coder, Researcher, Tester, Reviewer, Security, Swarm). Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
226
226
  inputSchema: { type: 'object', properties: {} },
227
227
  handler: async () => {
228
228
  try {
@@ -237,7 +237,7 @@ export const wasmAgentTools = [
237
237
  },
238
238
  {
239
239
  name: 'wasm_gallery_search',
240
- description: 'Search WASM agent gallery templates by query.',
240
+ description: 'Search WASM agent gallery templates by query. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
241
241
  inputSchema: {
242
242
  type: 'object',
243
243
  properties: {
@@ -263,7 +263,7 @@ export const wasmAgentTools = [
263
263
  },
264
264
  {
265
265
  name: 'wasm_gallery_create',
266
- description: 'Create a WASM agent from a gallery template.',
266
+ description: 'Create a WASM agent from a gallery template. Use when native Task is wrong because the workload needs sandboxed isolation — untrusted code execution, browser-side run, deterministic replay. Pair with wasm_gallery_search to find a published agent, or wasm_agent_create to scaffold a fresh one. For trusted in-process work, native Task is fine.',
267
267
  inputSchema: {
268
268
  type: 'object',
269
269
  properties: {
@@ -44,7 +44,7 @@ function saveWorkflowStore(store) {
44
44
  export const workflowTools = [
45
45
  {
46
46
  name: 'workflow_run',
47
- description: 'Run a workflow from a template or file',
47
+ description: 'Run a workflow from a template or file Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
48
48
  category: 'workflow',
49
49
  inputSchema: {
50
50
  type: 'object',
@@ -151,7 +151,7 @@ export const workflowTools = [
151
151
  },
152
152
  {
153
153
  name: 'workflow_create',
154
- description: 'Create a new workflow',
154
+ description: 'Create a new workflow Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
155
155
  category: 'workflow',
156
156
  inputSchema: {
157
157
  type: 'object',
@@ -216,7 +216,7 @@ export const workflowTools = [
216
216
  },
217
217
  {
218
218
  name: 'workflow_execute',
219
- description: 'Execute a workflow',
219
+ description: 'Execute a workflow Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
220
220
  category: 'workflow',
221
221
  inputSchema: {
222
222
  type: 'object',
@@ -403,7 +403,7 @@ export const workflowTools = [
403
403
  },
404
404
  {
405
405
  name: 'workflow_status',
406
- description: 'Get workflow status',
406
+ description: 'Get workflow status Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
407
407
  category: 'workflow',
408
408
  inputSchema: {
409
409
  type: 'object',
@@ -459,7 +459,7 @@ export const workflowTools = [
459
459
  },
460
460
  {
461
461
  name: 'workflow_list',
462
- description: 'List all workflows',
462
+ description: 'List all workflows Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
463
463
  category: 'workflow',
464
464
  inputSchema: {
465
465
  type: 'object',
@@ -502,7 +502,7 @@ export const workflowTools = [
502
502
  },
503
503
  {
504
504
  name: 'workflow_pause',
505
- description: 'Pause a running workflow',
505
+ description: 'Pause a running workflow Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
506
506
  category: 'workflow',
507
507
  inputSchema: {
508
508
  type: 'object',
@@ -537,7 +537,7 @@ export const workflowTools = [
537
537
  },
538
538
  {
539
539
  name: 'workflow_resume',
540
- description: 'Resume a paused workflow',
540
+ description: 'Resume a paused workflow Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
541
541
  category: 'workflow',
542
542
  inputSchema: {
543
543
  type: 'object',
@@ -582,7 +582,7 @@ export const workflowTools = [
582
582
  },
583
583
  {
584
584
  name: 'workflow_cancel',
585
- description: 'Cancel a workflow',
585
+ description: 'Cancel a workflow Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
586
586
  category: 'workflow',
587
587
  inputSchema: {
588
588
  type: 'object',
@@ -630,7 +630,7 @@ export const workflowTools = [
630
630
  },
631
631
  {
632
632
  name: 'workflow_delete',
633
- description: 'Delete a workflow',
633
+ description: 'Delete a workflow Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
634
634
  category: 'workflow',
635
635
  inputSchema: {
636
636
  type: 'object',
@@ -664,7 +664,7 @@ export const workflowTools = [
664
664
  },
665
665
  {
666
666
  name: 'workflow_template',
667
- description: 'Save workflow as template or create from template',
667
+ description: 'Save workflow as template or create from template Use when native TodoWrite + sequential Bash is wrong because the work has a real dependency graph that needs persistence, retry policy, pause/resume, and step-output binding across LLM-driven steps. For a single linear todo list, native TodoWrite is fine.',
668
668
  category: 'workflow',
669
669
  inputSchema: {
670
670
  type: 'object',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.7.0-alpha.21",
3
+ "version": "3.7.0-alpha.22",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",