@claude-flow/cli 3.36.0 → 3.38.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.
- package/.claude/agents/github/code-review-swarm.md +1 -1
- package/.claude/agents/github/issue-tracker.md +1 -1
- package/.claude/agents/github/pr-manager.md +1 -1
- package/.claude/agents/github/release-manager.md +2 -2
- package/.claude/agents/github/repo-architect.md +2 -2
- package/.claude/agents/github/workflow-automation.md +1 -1
- package/.claude/agents/optimization/benchmark-suite.md +8 -8
- package/.claude/agents/optimization/load-balancer.md +7 -7
- package/.claude/agents/optimization/performance-monitor.md +8 -8
- package/.claude/agents/optimization/resource-allocator.md +9 -9
- package/.claude/agents/optimization/topology-optimizer.md +8 -8
- package/.claude/commands/agents/README.md +4 -4
- package/.claude/commands/agents/agent-capabilities.md +1 -1
- package/.claude/commands/agents/agent-coordination.md +3 -3
- package/.claude/commands/agents/agent-types.md +2 -2
- package/.claude/commands/agents/health.md +10 -10
- package/.claude/commands/agents/list.md +8 -8
- package/.claude/commands/agents/logs.md +16 -16
- package/.claude/commands/agents/metrics.md +9 -9
- package/.claude/commands/agents/pool.md +10 -10
- package/.claude/commands/agents/spawn.md +35 -35
- package/.claude/commands/agents/status.md +9 -9
- package/.claude/commands/agents/stop.md +15 -15
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +1 -1
- package/.claude/commands/analysis/bottleneck-detect.md +5 -5
- package/.claude/commands/analysis/performance-report.md +4 -4
- package/.claude/commands/analysis/token-usage.md +4 -4
- package/.claude/commands/automation/auto-agent.md +5 -5
- package/.claude/commands/automation/self-healing.md +1 -1
- package/.claude/commands/automation/session-memory.md +1 -1
- package/.claude/commands/automation/smart-agents.md +1 -1
- package/.claude/commands/automation/smart-spawn.md +4 -4
- package/.claude/commands/automation/workflow-select.md +4 -4
- package/.claude/commands/claude-flow-help.md +1 -1
- package/.claude/commands/coordination/agent-spawn.md +4 -4
- package/.claude/commands/coordination/swarm-init.md +5 -5
- package/.claude/commands/coordination/task-orchestrate.md +4 -4
- package/.claude/commands/github/code-review.md +4 -4
- package/.claude/commands/github/github-swarm.md +5 -5
- package/.claude/commands/github/issue-triage.md +4 -4
- package/.claude/commands/github/pr-enhance.md +4 -4
- package/.claude/commands/github/release-manager.md +1 -1
- package/.claude/commands/github/repo-analyze.md +4 -4
- package/.claude/commands/github/repo-architect.md +2 -2
- package/.claude/commands/hive-mind/hive-mind-consensus.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-init.md +3 -3
- package/.claude/commands/hive-mind/hive-mind-memory.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-metrics.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-resume.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-sessions.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-spawn.md +4 -4
- package/.claude/commands/hive-mind/hive-mind-status.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-stop.md +1 -1
- package/.claude/commands/hive-mind/hive-mind-wizard.md +1 -1
- package/.claude/commands/hive-mind/hive-mind.md +4 -4
- package/.claude/commands/hooks/overview.md +1 -1
- package/.claude/commands/hooks/post-edit.md +6 -6
- package/.claude/commands/hooks/post-task.md +6 -6
- package/.claude/commands/hooks/pre-edit.md +6 -6
- package/.claude/commands/hooks/pre-task.md +6 -6
- package/.claude/commands/hooks/session-end.md +6 -6
- package/.claude/commands/hooks/setup.md +6 -6
- package/.claude/commands/memory/memory-persist.md +4 -4
- package/.claude/commands/memory/memory-search.md +4 -4
- package/.claude/commands/memory/memory-usage.md +4 -4
- package/.claude/commands/monitoring/agent-metrics.md +4 -4
- package/.claude/commands/monitoring/real-time-view.md +4 -4
- package/.claude/commands/monitoring/swarm-monitor.md +4 -4
- package/.claude/commands/optimization/auto-topology.md +2 -2
- package/.claude/commands/optimization/cache-manage.md +4 -4
- package/.claude/commands/optimization/parallel-execute.md +4 -4
- package/.claude/commands/optimization/parallel-execution.md +1 -1
- package/.claude/commands/optimization/topology-optimize.md +4 -4
- package/.claude/commands/sparc/analyzer.md +1 -1
- package/.claude/commands/sparc/architect.md +1 -1
- package/.claude/commands/sparc/ask.md +5 -5
- package/.claude/commands/sparc/batch-executor.md +1 -1
- package/.claude/commands/sparc/code.md +5 -5
- package/.claude/commands/sparc/coder.md +1 -1
- package/.claude/commands/sparc/debug.md +5 -5
- package/.claude/commands/sparc/debugger.md +1 -1
- package/.claude/commands/sparc/designer.md +1 -1
- package/.claude/commands/sparc/devops.md +5 -5
- package/.claude/commands/sparc/docs-writer.md +5 -5
- package/.claude/commands/sparc/documenter.md +1 -1
- package/.claude/commands/sparc/innovator.md +1 -1
- package/.claude/commands/sparc/integration.md +5 -5
- package/.claude/commands/sparc/mcp.md +5 -5
- package/.claude/commands/sparc/memory-manager.md +1 -1
- package/.claude/commands/sparc/optimizer.md +1 -1
- package/.claude/commands/sparc/orchestrator.md +8 -8
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +5 -5
- package/.claude/commands/sparc/refinement-optimization-mode.md +5 -5
- package/.claude/commands/sparc/researcher.md +1 -1
- package/.claude/commands/sparc/reviewer.md +1 -1
- package/.claude/commands/sparc/security-review.md +5 -5
- package/.claude/commands/sparc/sparc-modes.md +11 -11
- package/.claude/commands/sparc/sparc.md +5 -5
- package/.claude/commands/sparc/spec-pseudocode.md +5 -5
- package/.claude/commands/sparc/supabase-admin.md +5 -5
- package/.claude/commands/sparc/swarm-coordinator.md +1 -1
- package/.claude/commands/sparc/tdd.md +1 -1
- package/.claude/commands/sparc/tester.md +1 -1
- package/.claude/commands/sparc/tutorial.md +5 -5
- package/.claude/commands/sparc/workflow-manager.md +1 -1
- package/.claude/commands/sparc.md +6 -6
- package/.claude/commands/swarm/analysis.md +1 -1
- package/.claude/commands/swarm/development.md +1 -1
- package/.claude/commands/swarm/examples.md +3 -3
- package/.claude/commands/swarm/maintenance.md +1 -1
- package/.claude/commands/swarm/optimization.md +1 -1
- package/.claude/commands/swarm/research.md +1 -1
- package/.claude/commands/swarm/swarm-analysis.md +1 -1
- package/.claude/commands/swarm/swarm-background.md +1 -1
- package/.claude/commands/swarm/swarm-init.md +3 -3
- package/.claude/commands/swarm/swarm-modes.md +1 -1
- package/.claude/commands/swarm/swarm-monitor.md +1 -1
- package/.claude/commands/swarm/swarm-spawn.md +3 -3
- package/.claude/commands/swarm/swarm-status.md +1 -1
- package/.claude/commands/swarm/swarm-strategies.md +1 -1
- package/.claude/commands/swarm/testing.md +1 -1
- package/.claude/commands/training/model-update.md +4 -4
- package/.claude/commands/training/neural-patterns.md +12 -12
- package/.claude/commands/training/neural-train.md +8 -8
- package/.claude/commands/training/pattern-learn.md +4 -4
- package/.claude/commands/training/specialization.md +2 -2
- package/.claude/commands/workflows/development.md +3 -3
- package/.claude/commands/workflows/research.md +2 -2
- package/.claude/commands/workflows/workflow-create.md +4 -4
- package/.claude/commands/workflows/workflow-execute.md +4 -4
- package/.claude/commands/workflows/workflow-export.md +4 -4
- package/.claude/helpers/.helpers-version +1 -1
- package/.claude/helpers/auto-memory-hook.mjs +1 -1
- package/.claude/helpers/github-setup.sh +4 -4
- package/.claude/helpers/helpers.manifest.json +3 -3
- package/.claude/helpers/quick-start.sh +4 -4
- package/.claude/helpers/setup-mcp.sh +1 -1
- package/.claude/helpers/statusline.cjs +0 -0
- package/.claude/settings.json +1 -1
- package/.claude/skills/dual-mode/dual-spawn.md +2 -2
- package/.claude/skills/github-multi-repo/SKILL.md +21 -21
- package/.claude/skills/github-release-management/SKILL.md +19 -19
- package/.claude/skills/hooks-automation/SKILL.md +107 -107
- package/.claude/skills/sparc-methodology/SKILL.md +26 -26
- package/.claude/skills/swarm-advanced/SKILL.md +3 -3
- package/catalog-manifest.json +2 -2
- package/dist/src/commands/migrate-agent-detection.d.ts +27 -0
- package/dist/src/commands/migrate-agent-detection.js +113 -0
- package/dist/src/commands/migrate.js +41 -3
- package/dist/src/commands/proxy-lifecycle.d.ts +19 -2
- package/dist/src/commands/proxy-lifecycle.js +49 -5
- package/dist/src/commands/proxy.js +184 -23
- package/dist/src/proxy/install.d.ts +26 -0
- package/dist/src/proxy/install.js +60 -19
- package/dist/src/proxy/lifecycle.d.ts +21 -4
- package/dist/src/proxy/lifecycle.js +38 -8
- package/package.json +2 -2
|
@@ -32,16 +32,16 @@ mcp__claude-flow__sparc_mode {
|
|
|
32
32
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
33
33
|
```bash
|
|
34
34
|
# Use when running from terminal or MCP tools unavailable
|
|
35
|
-
npx claude-flow sparc run spec-pseudocode "define payment flow requirements"
|
|
35
|
+
npx @claude-flow/cli@latest sparc run spec-pseudocode "define payment flow requirements"
|
|
36
36
|
|
|
37
37
|
# For alpha features
|
|
38
38
|
npx claude-flow@alpha sparc run spec-pseudocode "define payment flow requirements"
|
|
39
39
|
|
|
40
40
|
# With namespace
|
|
41
|
-
npx claude-flow sparc run spec-pseudocode "your task" --namespace spec-pseudocode
|
|
41
|
+
npx @claude-flow/cli@latest sparc run spec-pseudocode "your task" --namespace spec-pseudocode
|
|
42
42
|
|
|
43
43
|
# Non-interactive mode
|
|
44
|
-
npx claude-flow sparc run spec-pseudocode "your task" --non-interactive
|
|
44
|
+
npx @claude-flow/cli@latest sparc run spec-pseudocode "your task" --non-interactive
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
### Option 3: Local Installation
|
|
@@ -73,8 +73,8 @@ mcp__claude-flow__memory_search {
|
|
|
73
73
|
### Using NPX CLI (Fallback)
|
|
74
74
|
```bash
|
|
75
75
|
# Store mode-specific context
|
|
76
|
-
npx claude-flow memory store "spec-pseudocode_context" "important decisions" --namespace spec-pseudocode
|
|
76
|
+
npx @claude-flow/cli@latest memory store "spec-pseudocode_context" "important decisions" --namespace spec-pseudocode
|
|
77
77
|
|
|
78
78
|
# Query previous work
|
|
79
|
-
npx claude-flow memory query "spec-pseudocode" --limit 5
|
|
79
|
+
npx @claude-flow/cli@latest memory query "spec-pseudocode" --limit 5
|
|
80
80
|
```
|
|
@@ -300,16 +300,16 @@ mcp__claude-flow__sparc_mode {
|
|
|
300
300
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
301
301
|
```bash
|
|
302
302
|
# Use when running from terminal or MCP tools unavailable
|
|
303
|
-
npx claude-flow sparc run supabase-admin "create user authentication schema"
|
|
303
|
+
npx @claude-flow/cli@latest sparc run supabase-admin "create user authentication schema"
|
|
304
304
|
|
|
305
305
|
# For alpha features
|
|
306
306
|
npx claude-flow@alpha sparc run supabase-admin "create user authentication schema"
|
|
307
307
|
|
|
308
308
|
# With namespace
|
|
309
|
-
npx claude-flow sparc run supabase-admin "your task" --namespace supabase-admin
|
|
309
|
+
npx @claude-flow/cli@latest sparc run supabase-admin "your task" --namespace supabase-admin
|
|
310
310
|
|
|
311
311
|
# Non-interactive mode
|
|
312
|
-
npx claude-flow sparc run supabase-admin "your task" --non-interactive
|
|
312
|
+
npx @claude-flow/cli@latest sparc run supabase-admin "your task" --non-interactive
|
|
313
313
|
```
|
|
314
314
|
|
|
315
315
|
### Option 3: Local Installation
|
|
@@ -341,8 +341,8 @@ mcp__claude-flow__memory_search {
|
|
|
341
341
|
### Using NPX CLI (Fallback)
|
|
342
342
|
```bash
|
|
343
343
|
# Store mode-specific context
|
|
344
|
-
npx claude-flow memory store "supabase-admin_context" "important decisions" --namespace supabase-admin
|
|
344
|
+
npx @claude-flow/cli@latest memory store "supabase-admin_context" "important decisions" --namespace supabase-admin
|
|
345
345
|
|
|
346
346
|
# Query previous work
|
|
347
|
-
npx claude-flow memory query "supabase-admin" --limit 5
|
|
347
|
+
npx @claude-flow/cli@latest memory query "supabase-admin" --limit 5
|
|
348
348
|
```
|
|
@@ -20,7 +20,7 @@ mcp__claude-flow__sparc_mode {
|
|
|
20
20
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
21
21
|
```bash
|
|
22
22
|
# Use when running from terminal or MCP tools unavailable
|
|
23
|
-
npx claude-flow sparc run swarm-coordinator "manage development swarm"
|
|
23
|
+
npx @claude-flow/cli@latest sparc run swarm-coordinator "manage development swarm"
|
|
24
24
|
|
|
25
25
|
# For alpha features
|
|
26
26
|
npx claude-flow@alpha sparc run swarm-coordinator "manage development swarm"
|
|
@@ -20,7 +20,7 @@ mcp__claude-flow__sparc_mode {
|
|
|
20
20
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
21
21
|
```bash
|
|
22
22
|
# Use when running from terminal or MCP tools unavailable
|
|
23
|
-
npx claude-flow sparc run tdd "shopping cart feature"
|
|
23
|
+
npx @claude-flow/cli@latest sparc run tdd "shopping cart feature"
|
|
24
24
|
|
|
25
25
|
# For alpha features
|
|
26
26
|
npx claude-flow@alpha sparc run tdd "shopping cart feature"
|
|
@@ -20,7 +20,7 @@ mcp__claude-flow__sparc_mode {
|
|
|
20
20
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
21
21
|
```bash
|
|
22
22
|
# Use when running from terminal or MCP tools unavailable
|
|
23
|
-
npx claude-flow sparc run tester "full regression suite"
|
|
23
|
+
npx @claude-flow/cli@latest sparc run tester "full regression suite"
|
|
24
24
|
|
|
25
25
|
# For alpha features
|
|
26
26
|
npx claude-flow@alpha sparc run tester "full regression suite"
|
|
@@ -31,16 +31,16 @@ mcp__claude-flow__sparc_mode {
|
|
|
31
31
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
32
32
|
```bash
|
|
33
33
|
# Use when running from terminal or MCP tools unavailable
|
|
34
|
-
npx claude-flow sparc run tutorial "guide me through SPARC methodology"
|
|
34
|
+
npx @claude-flow/cli@latest sparc run tutorial "guide me through SPARC methodology"
|
|
35
35
|
|
|
36
36
|
# For alpha features
|
|
37
37
|
npx claude-flow@alpha sparc run tutorial "guide me through SPARC methodology"
|
|
38
38
|
|
|
39
39
|
# With namespace
|
|
40
|
-
npx claude-flow sparc run tutorial "your task" --namespace tutorial
|
|
40
|
+
npx @claude-flow/cli@latest sparc run tutorial "your task" --namespace tutorial
|
|
41
41
|
|
|
42
42
|
# Non-interactive mode
|
|
43
|
-
npx claude-flow sparc run tutorial "your task" --non-interactive
|
|
43
|
+
npx @claude-flow/cli@latest sparc run tutorial "your task" --non-interactive
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
### Option 3: Local Installation
|
|
@@ -72,8 +72,8 @@ mcp__claude-flow__memory_search {
|
|
|
72
72
|
### Using NPX CLI (Fallback)
|
|
73
73
|
```bash
|
|
74
74
|
# Store mode-specific context
|
|
75
|
-
npx claude-flow memory store "tutorial_context" "important decisions" --namespace tutorial
|
|
75
|
+
npx @claude-flow/cli@latest memory store "tutorial_context" "important decisions" --namespace tutorial
|
|
76
76
|
|
|
77
77
|
# Query previous work
|
|
78
|
-
npx claude-flow memory query "tutorial" --limit 5
|
|
78
|
+
npx @claude-flow/cli@latest memory query "tutorial" --limit 5
|
|
79
79
|
```
|
|
@@ -20,7 +20,7 @@ mcp__claude-flow__sparc_mode {
|
|
|
20
20
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
21
21
|
```bash
|
|
22
22
|
# Use when running from terminal or MCP tools unavailable
|
|
23
|
-
npx claude-flow sparc run workflow-manager "automate deployment"
|
|
23
|
+
npx @claude-flow/cli@latest sparc run workflow-manager "automate deployment"
|
|
24
24
|
|
|
25
25
|
# For alpha features
|
|
26
26
|
npx claude-flow@alpha sparc run workflow-manager "automate deployment"
|
|
@@ -66,17 +66,17 @@ mcp__claude-flow__sparc_mode {
|
|
|
66
66
|
### Option 2: Using NPX CLI (Fallback when MCP not available)
|
|
67
67
|
```bash
|
|
68
68
|
# Run SPARC orchestrator (default)
|
|
69
|
-
npx claude-flow sparc "build complete authentication system"
|
|
69
|
+
npx @claude-flow/cli@latest sparc "build complete authentication system"
|
|
70
70
|
|
|
71
71
|
# Run a specific mode
|
|
72
|
-
npx claude-flow sparc run architect "design API structure"
|
|
73
|
-
npx claude-flow sparc run tdd "implement user service"
|
|
72
|
+
npx @claude-flow/cli@latest sparc run architect "design API structure"
|
|
73
|
+
npx @claude-flow/cli@latest sparc run tdd "implement user service"
|
|
74
74
|
|
|
75
75
|
# Execute full TDD workflow
|
|
76
|
-
npx claude-flow sparc tdd "implement user authentication"
|
|
76
|
+
npx @claude-flow/cli@latest sparc tdd "implement user authentication"
|
|
77
77
|
|
|
78
78
|
# List all modes with details
|
|
79
|
-
npx claude-flow sparc modes --verbose
|
|
79
|
+
npx @claude-flow/cli@latest sparc modes --verbose
|
|
80
80
|
|
|
81
81
|
# For alpha features
|
|
82
82
|
npx claude-flow@alpha sparc run <mode> "your task"
|
|
@@ -121,7 +121,7 @@ mcp__claude-flow__memory_usage {
|
|
|
121
121
|
### Using NPX CLI (Fallback)
|
|
122
122
|
```bash
|
|
123
123
|
# Store specifications
|
|
124
|
-
npx claude-flow memory store "spec_auth" "OAuth2 + JWT requirements" --namespace spec
|
|
124
|
+
npx @claude-flow/cli@latest memory store "spec_auth" "OAuth2 + JWT requirements" --namespace spec
|
|
125
125
|
|
|
126
126
|
# Store architectural decisions
|
|
127
127
|
./claude-flow memory store "arch_api" "RESTful microservices design" --namespace arch
|
|
@@ -23,7 +23,7 @@ mcp__claude-flow__task_orchestrate({
|
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
### Using CLI (Fallback)
|
|
26
|
-
`npx claude-flow swarm "analyze system performance" --strategy analysis`
|
|
26
|
+
`npx @claude-flow/cli@latest swarm "analyze system performance" --strategy analysis`
|
|
27
27
|
|
|
28
28
|
## Agent Roles
|
|
29
29
|
|
|
@@ -35,7 +35,7 @@ mcp__claude-flow__swarm_status({
|
|
|
35
35
|
|
|
36
36
|
#### Using CLI (Fallback)
|
|
37
37
|
```bash
|
|
38
|
-
npx claude-flow swarm "research AI trends" \
|
|
38
|
+
npx @claude-flow/cli@latest swarm "research AI trends" \
|
|
39
39
|
--strategy research \
|
|
40
40
|
--mode distributed \
|
|
41
41
|
--max-agents 6 \
|
|
@@ -85,7 +85,7 @@ mcp__claude-flow__swarm_monitor({
|
|
|
85
85
|
|
|
86
86
|
#### Using CLI (Fallback)
|
|
87
87
|
```bash
|
|
88
|
-
npx claude-flow swarm "build REST API" \
|
|
88
|
+
npx @claude-flow/cli@latest swarm "build REST API" \
|
|
89
89
|
--strategy development \
|
|
90
90
|
--mode hierarchical \
|
|
91
91
|
--monitor \
|
|
@@ -134,7 +134,7 @@ mcp__claude-flow__performance_report({
|
|
|
134
134
|
|
|
135
135
|
#### Using CLI (Fallback)
|
|
136
136
|
```bash
|
|
137
|
-
npx claude-flow swarm "analyze codebase" \
|
|
137
|
+
npx @claude-flow/cli@latest swarm "analyze codebase" \
|
|
138
138
|
--strategy analysis \
|
|
139
139
|
--mode mesh \
|
|
140
140
|
--parallel \
|
|
@@ -4,7 +4,7 @@ Initialize a new swarm with specified topology.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow swarm init [options]
|
|
7
|
+
npx @claude-flow/cli@latest swarm init [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -14,6 +14,6 @@ npx claude-flow swarm init [options]
|
|
|
14
14
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
|
-
npx claude-flow swarm init --topology mesh
|
|
18
|
-
npx claude-flow swarm init --topology hierarchical --max-agents 8
|
|
17
|
+
npx @claude-flow/cli@latest swarm init --topology mesh
|
|
18
|
+
npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 8
|
|
19
19
|
```
|
|
@@ -4,7 +4,7 @@ Spawn agents in the swarm.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow swarm spawn [options]
|
|
7
|
+
npx @claude-flow/cli@latest swarm spawn [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -14,6 +14,6 @@ npx claude-flow swarm spawn [options]
|
|
|
14
14
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
|
-
npx claude-flow swarm spawn --type coder --count 3
|
|
18
|
-
npx claude-flow swarm spawn --type researcher --capabilities "web-search,analysis"
|
|
17
|
+
npx @claude-flow/cli@latest swarm spawn --type coder --count 3
|
|
18
|
+
npx @claude-flow/cli@latest swarm spawn --type researcher --capabilities "web-search,analysis"
|
|
19
19
|
```
|
|
@@ -4,7 +4,7 @@ Update neural models with new data.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow training model-update [options]
|
|
7
|
+
npx @claude-flow/cli@latest training model-update [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -15,11 +15,11 @@ npx claude-flow training model-update [options]
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
17
|
# Update all models
|
|
18
|
-
npx claude-flow training model-update
|
|
18
|
+
npx @claude-flow/cli@latest training model-update
|
|
19
19
|
|
|
20
20
|
# Specific model
|
|
21
|
-
npx claude-flow training model-update --model agent-selector
|
|
21
|
+
npx @claude-flow/cli@latest training model-update --model agent-selector
|
|
22
22
|
|
|
23
23
|
# Incremental with validation
|
|
24
|
-
npx claude-flow training model-update --incremental --validate
|
|
24
|
+
npx @claude-flow/cli@latest training model-update --incremental --validate
|
|
25
25
|
```
|
|
@@ -23,13 +23,13 @@ Every successful operation trains the neural networks:
|
|
|
23
23
|
### 2. Manual Training
|
|
24
24
|
```bash
|
|
25
25
|
# Train coordination patterns (50 epochs)
|
|
26
|
-
npx claude-flow neural train -p coordination -e 50
|
|
26
|
+
npx @claude-flow/cli@latest neural train -p coordination -e 50
|
|
27
27
|
|
|
28
28
|
# Train optimization patterns with custom learning rate
|
|
29
|
-
npx claude-flow neural train -p optimization -l 0.005
|
|
29
|
+
npx @claude-flow/cli@latest neural train -p optimization -l 0.005
|
|
30
30
|
|
|
31
31
|
# Quick training (10 epochs)
|
|
32
|
-
npx claude-flow neural train -e 10
|
|
32
|
+
npx @claude-flow/cli@latest neural train -e 10
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### 3. Pattern Types
|
|
@@ -50,20 +50,20 @@ npx claude-flow neural train -e 10
|
|
|
50
50
|
### 4. Improvement Tracking
|
|
51
51
|
```bash
|
|
52
52
|
# Check neural system status
|
|
53
|
-
npx claude-flow neural status
|
|
53
|
+
npx @claude-flow/cli@latest neural status
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Pattern Management
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
59
|
# List all persisted patterns
|
|
60
|
-
npx claude-flow neural patterns --action list
|
|
60
|
+
npx @claude-flow/cli@latest neural patterns --action list
|
|
61
61
|
|
|
62
62
|
# Search patterns by query
|
|
63
|
-
npx claude-flow neural patterns --action list -q "error handling"
|
|
63
|
+
npx @claude-flow/cli@latest neural patterns --action list -q "error handling"
|
|
64
64
|
|
|
65
65
|
# Analyze patterns
|
|
66
|
-
npx claude-flow neural patterns --action analyze -q "coordination"
|
|
66
|
+
npx @claude-flow/cli@latest neural patterns --action analyze -q "coordination"
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
## Performance Targets
|
|
@@ -85,19 +85,19 @@ npx claude-flow neural patterns --action analyze -q "coordination"
|
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
87
|
# Train neural patterns
|
|
88
|
-
npx claude-flow neural train -p coordination -e 50
|
|
88
|
+
npx @claude-flow/cli@latest neural train -p coordination -e 50
|
|
89
89
|
|
|
90
90
|
# Check neural status
|
|
91
|
-
npx claude-flow neural status
|
|
91
|
+
npx @claude-flow/cli@latest neural status
|
|
92
92
|
|
|
93
93
|
# List patterns
|
|
94
|
-
npx claude-flow neural patterns --action list
|
|
94
|
+
npx @claude-flow/cli@latest neural patterns --action list
|
|
95
95
|
|
|
96
96
|
# Search patterns
|
|
97
|
-
npx claude-flow neural patterns --action list -q "query"
|
|
97
|
+
npx @claude-flow/cli@latest neural patterns --action list -q "query"
|
|
98
98
|
|
|
99
99
|
# Analyze patterns
|
|
100
|
-
npx claude-flow neural patterns --action analyze -q "coordination"
|
|
100
|
+
npx @claude-flow/cli@latest neural patterns --action analyze -q "coordination"
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
## Related Commands
|
|
@@ -4,7 +4,7 @@ Train neural patterns with SONA (Self-Optimizing Neural Architecture) for adapti
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow neural train [options]
|
|
7
|
+
npx @claude-flow/cli@latest neural train [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -27,16 +27,16 @@ Patterns survive process restarts and are loaded automatically on next session.
|
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
29
|
# Train coordination patterns (50 epochs)
|
|
30
|
-
npx claude-flow neural train -p coordination -e 50
|
|
30
|
+
npx @claude-flow/cli@latest neural train -p coordination -e 50
|
|
31
31
|
|
|
32
32
|
# Train with custom learning rate
|
|
33
|
-
npx claude-flow neural train -p optimization -l 0.005
|
|
33
|
+
npx @claude-flow/cli@latest neural train -p optimization -l 0.005
|
|
34
34
|
|
|
35
35
|
# Train from file
|
|
36
|
-
npx claude-flow neural train -d ./training-data.json
|
|
36
|
+
npx @claude-flow/cli@latest neural train -d ./training-data.json
|
|
37
37
|
|
|
38
38
|
# Quick training (10 epochs)
|
|
39
|
-
npx claude-flow neural train -e 10
|
|
39
|
+
npx @claude-flow/cli@latest neural train -e 10
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
## Output
|
|
@@ -51,13 +51,13 @@ Training produces:
|
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
53
|
# List all persisted patterns
|
|
54
|
-
npx claude-flow neural patterns --action list
|
|
54
|
+
npx @claude-flow/cli@latest neural patterns --action list
|
|
55
55
|
|
|
56
56
|
# Search patterns by query
|
|
57
|
-
npx claude-flow neural patterns --action list -q "error handling"
|
|
57
|
+
npx @claude-flow/cli@latest neural patterns --action list -q "error handling"
|
|
58
58
|
|
|
59
59
|
# Analyze patterns
|
|
60
|
-
npx claude-flow neural patterns --action analyze -q "coordination"
|
|
60
|
+
npx @claude-flow/cli@latest neural patterns --action analyze -q "coordination"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
## Performance Targets
|
|
@@ -4,7 +4,7 @@ Learn patterns from successful operations.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow training pattern-learn [options]
|
|
7
|
+
npx @claude-flow/cli@latest training pattern-learn [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -15,11 +15,11 @@ npx claude-flow training pattern-learn [options]
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
17
|
# Learn from all ops
|
|
18
|
-
npx claude-flow training pattern-learn
|
|
18
|
+
npx @claude-flow/cli@latest training pattern-learn
|
|
19
19
|
|
|
20
20
|
# High success only
|
|
21
|
-
npx claude-flow training pattern-learn --threshold 0.9
|
|
21
|
+
npx @claude-flow/cli@latest training pattern-learn --threshold 0.9
|
|
22
22
|
|
|
23
23
|
# Save patterns
|
|
24
|
-
npx claude-flow training pattern-learn --save optimal-patterns
|
|
24
|
+
npx @claude-flow/cli@latest training pattern-learn --save optimal-patterns
|
|
25
25
|
```
|
|
@@ -56,8 +56,8 @@ Agents share learnings across sessions for cumulative expertise!
|
|
|
56
56
|
## CLI Usage
|
|
57
57
|
```bash
|
|
58
58
|
# Train agent specialization via CLI
|
|
59
|
-
npx claude-flow train agent --type coder --capabilities "react,typescript"
|
|
59
|
+
npx @claude-flow/cli@latest train agent --type coder --capabilities "react,typescript"
|
|
60
60
|
|
|
61
61
|
# Check specializations
|
|
62
|
-
npx claude-flow agent list --specializations
|
|
62
|
+
npx @claude-flow/cli@latest agent list --specializations
|
|
63
63
|
```
|
|
@@ -68,11 +68,11 @@ Remember: All code is written by Claude Code using its native tools!
|
|
|
68
68
|
## CLI Usage
|
|
69
69
|
```bash
|
|
70
70
|
# Start development workflow via CLI
|
|
71
|
-
npx claude-flow workflow dev "REST API with auth"
|
|
71
|
+
npx @claude-flow/cli@latest workflow dev "REST API with auth"
|
|
72
72
|
|
|
73
73
|
# Create custom workflow
|
|
74
|
-
npx claude-flow workflow create --name "api-dev" --steps "design,implement,test,deploy"
|
|
74
|
+
npx @claude-flow/cli@latest workflow create --name "api-dev" --steps "design,implement,test,deploy"
|
|
75
75
|
|
|
76
76
|
# Execute saved workflow
|
|
77
|
-
npx claude-flow workflow execute api-dev
|
|
77
|
+
npx @claude-flow/cli@latest workflow execute api-dev
|
|
78
78
|
```
|
|
@@ -56,8 +56,8 @@ Remember: The swarm coordinates HOW Claude Code researches, not WHAT it finds.
|
|
|
56
56
|
## CLI Usage
|
|
57
57
|
```bash
|
|
58
58
|
# Start research workflow via CLI
|
|
59
|
-
npx claude-flow workflow research "modern web frameworks"
|
|
59
|
+
npx @claude-flow/cli@latest workflow research "modern web frameworks"
|
|
60
60
|
|
|
61
61
|
# Export research workflow
|
|
62
|
-
npx claude-flow workflow export research --format json
|
|
62
|
+
npx @claude-flow/cli@latest workflow export research --format json
|
|
63
63
|
```
|
|
@@ -4,7 +4,7 @@ Create reusable workflow templates.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow workflow create [options]
|
|
7
|
+
npx @claude-flow/cli@latest workflow create [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -15,11 +15,11 @@ npx claude-flow workflow create [options]
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
17
|
# Create workflow
|
|
18
|
-
npx claude-flow workflow create --name "deploy-api"
|
|
18
|
+
npx @claude-flow/cli@latest workflow create --name "deploy-api"
|
|
19
19
|
|
|
20
20
|
# From history
|
|
21
|
-
npx claude-flow workflow create --name "test-suite" --from-history
|
|
21
|
+
npx @claude-flow/cli@latest workflow create --name "test-suite" --from-history
|
|
22
22
|
|
|
23
23
|
# Interactive mode
|
|
24
|
-
npx claude-flow workflow create --interactive
|
|
24
|
+
npx @claude-flow/cli@latest workflow create --interactive
|
|
25
25
|
```
|
|
@@ -4,7 +4,7 @@ Execute saved workflows.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow workflow execute [options]
|
|
7
|
+
npx @claude-flow/cli@latest workflow execute [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -15,11 +15,11 @@ npx claude-flow workflow execute [options]
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
17
|
# Execute workflow
|
|
18
|
-
npx claude-flow workflow execute --name "deploy-api"
|
|
18
|
+
npx @claude-flow/cli@latest workflow execute --name "deploy-api"
|
|
19
19
|
|
|
20
20
|
# With parameters
|
|
21
|
-
npx claude-flow workflow execute --name "test-suite" --params '{"env": "staging"}'
|
|
21
|
+
npx @claude-flow/cli@latest workflow execute --name "test-suite" --params '{"env": "staging"}'
|
|
22
22
|
|
|
23
23
|
# Dry run
|
|
24
|
-
npx claude-flow workflow execute --name "deploy-api" --dry-run
|
|
24
|
+
npx @claude-flow/cli@latest workflow execute --name "deploy-api" --dry-run
|
|
25
25
|
```
|
|
@@ -4,7 +4,7 @@ Export workflows for sharing.
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
```bash
|
|
7
|
-
npx claude-flow workflow export [options]
|
|
7
|
+
npx @claude-flow/cli@latest workflow export [options]
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
## Options
|
|
@@ -15,11 +15,11 @@ npx claude-flow workflow export [options]
|
|
|
15
15
|
## Examples
|
|
16
16
|
```bash
|
|
17
17
|
# Export workflow
|
|
18
|
-
npx claude-flow workflow export --name "deploy-api"
|
|
18
|
+
npx @claude-flow/cli@latest workflow export --name "deploy-api"
|
|
19
19
|
|
|
20
20
|
# As YAML
|
|
21
|
-
npx claude-flow workflow export --name "test-suite" --format yaml
|
|
21
|
+
npx @claude-flow/cli@latest workflow export --name "test-suite" --format yaml
|
|
22
22
|
|
|
23
23
|
# With history
|
|
24
|
-
npx claude-flow workflow export --name "deploy-api" --include-history
|
|
24
|
+
npx @claude-flow/cli@latest workflow export --name "deploy-api" --include-history
|
|
25
25
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.32.29
|
|
@@ -189,7 +189,7 @@ async function loadMemoryPackage() {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
// Strategy 2: Use createRequire for CJS-style resolution (handles nested node_modules
|
|
192
|
-
// when installed as a transitive dependency via npx ruflo / npx claude-flow)
|
|
192
|
+
// when installed as a transitive dependency via npx ruflo / npx @claude-flow/cli@latest)
|
|
193
193
|
try {
|
|
194
194
|
const { createRequire } = await import('module');
|
|
195
195
|
const require = createRequire(join(PROJECT_ROOT, 'package.json'));
|
|
@@ -39,7 +39,7 @@ fi
|
|
|
39
39
|
|
|
40
40
|
echo ""
|
|
41
41
|
echo "GitHub swarm commands available:"
|
|
42
|
-
echo " - npx claude-flow github swarm"
|
|
43
|
-
echo " - npx claude-flow repo analyze"
|
|
44
|
-
echo " - npx claude-flow pr enhance"
|
|
45
|
-
echo " - npx claude-flow issue triage"
|
|
42
|
+
echo " - npx @claude-flow/cli@latest github swarm"
|
|
43
|
+
echo " - npx @claude-flow/cli@latest repo analyze"
|
|
44
|
+
echo " - npx @claude-flow/cli@latest pr enhance"
|
|
45
|
+
echo " - npx @claude-flow/cli@latest issue triage"
|