claude-code-workflow 6.3.1 → 6.3.4
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/CLAUDE.md +9 -1
- package/.claude/commands/workflow/lite-plan.md +2 -2
- package/.claude/workflows/cli-tools-usage.md +515 -516
- package/ccw/dist/cli.d.ts.map +1 -1
- package/ccw/dist/cli.js +6 -1
- package/ccw/dist/cli.js.map +1 -1
- package/ccw/dist/commands/cli.d.ts +1 -1
- package/ccw/dist/commands/cli.d.ts.map +1 -1
- package/ccw/dist/commands/cli.js +71 -7
- package/ccw/dist/commands/cli.js.map +1 -1
- package/ccw/dist/tools/cli-executor.d.ts.map +1 -1
- package/ccw/dist/tools/cli-executor.js +19 -7
- package/ccw/dist/tools/cli-executor.js.map +1 -1
- package/ccw/dist/tools/cli-history-store.d.ts +33 -0
- package/ccw/dist/tools/cli-history-store.d.ts.map +1 -1
- package/ccw/dist/tools/cli-history-store.js +89 -5
- package/ccw/dist/tools/cli-history-store.js.map +1 -1
- package/ccw/src/cli.ts +263 -258
- package/ccw/src/commands/cli.ts +967 -884
- package/ccw/src/tools/cli-executor.ts +20 -7
- package/ccw/src/tools/cli-history-store.ts +125 -5
- package/codex-lens/src/codexlens/__pycache__/config.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/config.py +3 -0
- package/codex-lens/src/codexlens/search/__pycache__/chain_search.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/search/__pycache__/hybrid_search.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/search/__pycache__/ranking.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/search/chain_search.py +71 -1
- package/codex-lens/src/codexlens/search/ranking.py +274 -274
- package/codex-lens/src/codexlens/semantic/__pycache__/chunker.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/storage/__pycache__/dir_index.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/storage/__pycache__/global_index.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/storage/__pycache__/index_tree.cpython-313.pyc +0 -0
- package/codex-lens/src/codexlens/storage/dir_index.py +1888 -1850
- package/codex-lens/src/codexlens/storage/global_index.py +365 -0
- package/codex-lens/src/codexlens/storage/index_tree.py +83 -10
- package/package.json +1 -1
package/.claude/CLAUDE.md
CHANGED
|
@@ -15,11 +15,19 @@ Available CLI endpoints are dynamically defined by the config file:
|
|
|
15
15
|
- Custom API endpoints registered via the Dashboard
|
|
16
16
|
- Managed through the CCW Dashboard Status page
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Tool Execution
|
|
19
19
|
|
|
20
|
+
### Agent Calls
|
|
20
21
|
- **Always use `run_in_background: false`** for Task tool agent calls: `Task({ subagent_type: "xxx", prompt: "...", run_in_background: false })` to ensure synchronous execution and immediate result visibility
|
|
21
22
|
- **TaskOutput usage**: Only use `TaskOutput({ task_id: "xxx", block: false })` + sleep loop to poll completion status. NEVER read intermediate output during agent/CLI execution - wait for final result only
|
|
22
23
|
|
|
24
|
+
### CLI Tool Calls (ccw cli)
|
|
25
|
+
- **Always use `run_in_background: true`** for Bash tool when calling ccw cli:
|
|
26
|
+
```
|
|
27
|
+
Bash({ command: "ccw cli -p '...' --tool gemini", run_in_background: true })
|
|
28
|
+
```
|
|
29
|
+
- **After CLI call**: If no other tasks, stop immediately - let CLI execute in background, do NOT poll with TaskOutput
|
|
30
|
+
|
|
23
31
|
## Code Diagnostics
|
|
24
32
|
|
|
25
33
|
- **Prefer `mcp__ide__getDiagnostics`** for code error checking over shell-based TypeScript compilation
|
|
@@ -15,7 +15,7 @@ Intelligent lightweight planning command with dynamic workflow adaptation based
|
|
|
15
15
|
- Intelligent task analysis with automatic exploration detection
|
|
16
16
|
- Dynamic code exploration (cli-explore-agent) when codebase understanding needed
|
|
17
17
|
- Interactive clarification after exploration to gather missing information
|
|
18
|
-
- Adaptive planning
|
|
18
|
+
- Adaptive planning: Low complexity → Direct Claude; Medium/High → cli-lite-planning-agent
|
|
19
19
|
- Two-step confirmation: plan display → multi-dimensional input collection
|
|
20
20
|
- Execution dispatch with complete context handoff to lite-execute
|
|
21
21
|
|
|
@@ -38,7 +38,7 @@ Phase 1: Task Analysis & Exploration
|
|
|
38
38
|
├─ Parse input (description or .md file)
|
|
39
39
|
├─ intelligent complexity assessment (Low/Medium/High)
|
|
40
40
|
├─ Exploration decision (auto-detect or --explore flag)
|
|
41
|
-
├─
|
|
41
|
+
├─ Context protection: If file reading ≥50k chars → force cli-explore-agent
|
|
42
42
|
└─ Decision:
|
|
43
43
|
├─ needsExploration=true → Launch parallel cli-explore-agents (1-4 based on complexity)
|
|
44
44
|
└─ needsExploration=false → Skip to Phase 2/3
|