claude-flow 2.0.0-alpha.44 โ 2.0.0-alpha.45
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/bin/claude-flow
CHANGED
package/package.json
CHANGED
package/src/cli/help-text.js
CHANGED
|
@@ -8,25 +8,71 @@
|
|
|
8
8
|
3. **File operations** โ Batch ALL reads/writes together
|
|
9
9
|
4. **NEVER** operate sequentially after swarm init
|
|
10
10
|
|
|
11
|
-
## ๐
|
|
12
|
-
|
|
13
|
-
###
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
11
|
+
## ๐ CRITICAL: Claude Code Does ALL Real Work
|
|
12
|
+
|
|
13
|
+
### ๐ฏ CLAUDE CODE IS THE ONLY EXECUTOR
|
|
14
|
+
|
|
15
|
+
**ABSOLUTE RULE**: Claude Code performs ALL actual work:
|
|
16
|
+
|
|
17
|
+
### โ
Claude Code ALWAYS Handles:
|
|
18
|
+
- ๐ง **ALL file operations** (Read, Write, Edit, MultiEdit, Glob, Grep)
|
|
19
|
+
- ๐ป **ALL code generation** and programming tasks
|
|
20
|
+
- ๐ฅ๏ธ **ALL bash commands** and system operations
|
|
21
|
+
- ๐๏ธ **ALL actual implementation** work
|
|
22
|
+
- ๐ **ALL project navigation** and code analysis
|
|
23
|
+
- ๐ **ALL TodoWrite** and task management
|
|
24
|
+
- ๐ **ALL git operations** (commit, push, merge)
|
|
25
|
+
- ๐ฆ **ALL package management** (npm, pip, etc.)
|
|
26
|
+
- ๐งช **ALL testing** and validation
|
|
27
|
+
- ๐ง **ALL debugging** and troubleshooting
|
|
28
|
+
|
|
29
|
+
### ๐ง Claude Flow MCP Tools ONLY Handle:
|
|
30
|
+
- ๐ฏ **Coordination only** - Planning Claude Code's actions
|
|
31
|
+
- ๐พ **Memory management** - Storing decisions and context
|
|
32
|
+
- ๐ค **Neural features** - Learning from Claude Code's work
|
|
33
|
+
- ๐ **Performance tracking** - Monitoring Claude Code's efficiency
|
|
34
|
+
- ๐ **Swarm orchestration** - Coordinating multiple Claude Code instances
|
|
35
|
+
- ๐ **GitHub integration** - Advanced repository coordination
|
|
36
|
+
|
|
37
|
+
### ๐จ CRITICAL SEPARATION OF CONCERNS:
|
|
38
|
+
|
|
39
|
+
**โ MCP Tools NEVER:**
|
|
40
|
+
- Write files or create content
|
|
41
|
+
- Execute bash commands
|
|
42
|
+
- Generate code
|
|
43
|
+
- Perform file operations
|
|
44
|
+
- Handle TodoWrite operations
|
|
45
|
+
- Execute system commands
|
|
46
|
+
- Do actual implementation work
|
|
47
|
+
|
|
48
|
+
**โ
MCP Tools ONLY:**
|
|
49
|
+
- Coordinate and plan
|
|
50
|
+
- Store memory and context
|
|
51
|
+
- Track performance
|
|
52
|
+
- Orchestrate workflows
|
|
53
|
+
- Provide intelligence insights
|
|
27
54
|
|
|
28
55
|
### โ ๏ธ Key Principle:
|
|
29
|
-
**MCP tools
|
|
56
|
+
**MCP tools coordinate, Claude Code executes.** Think of MCP tools as the "brain" that plans and coordinates, while Claude Code is the "hands" that do all the actual work.
|
|
57
|
+
|
|
58
|
+
### ๐ WORKFLOW EXECUTION PATTERN:
|
|
59
|
+
|
|
60
|
+
**โ
CORRECT Workflow:**
|
|
61
|
+
1. **MCP**: `mcp__claude-flow__swarm_init` (coordination setup)
|
|
62
|
+
2. **MCP**: `mcp__claude-flow__agent_spawn` (planning agents)
|
|
63
|
+
3. **MCP**: `mcp__claude-flow__task_orchestrate` (task coordination)
|
|
64
|
+
4. **Claude Code**: `Read`, `Write`, `Edit`, `Bash` (actual work)
|
|
65
|
+
5. **Claude Code**: `TodoWrite` (task management)
|
|
66
|
+
6. **MCP**: `mcp__claude-flow__memory_usage` (store results)
|
|
67
|
+
|
|
68
|
+
**โ WRONG Workflow:**
|
|
69
|
+
1. **MCP**: `mcp__claude-flow__terminal_execute` (DON'T DO THIS)
|
|
70
|
+
2. **MCP**: File creation via MCP (DON'T DO THIS)
|
|
71
|
+
3. **MCP**: Code generation via MCP (DON'T DO THIS)
|
|
72
|
+
|
|
73
|
+
### ๐จ REMEMBER:
|
|
74
|
+
- **MCP tools** = Coordination, planning, memory, intelligence
|
|
75
|
+
- **Claude Code** = All actual execution, coding, file operations
|
|
30
76
|
|
|
31
77
|
## ๐ CRITICAL: Parallel Execution & Batch Operations
|
|
32
78
|
|