claude-code-workflow 6.3.47 → 6.3.48
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/commands/ccw-coordinator.md +7 -3
- package/README.md +43 -0
- package/package.json +1 -1
|
@@ -882,7 +882,10 @@ Task: Implement user registration' --tool claude --mode write
|
|
|
882
882
|
|
|
883
883
|
### Serial Blocking
|
|
884
884
|
|
|
885
|
-
Commands execute one-by-one. After launching CLI in background
|
|
885
|
+
**CRITICAL**: Commands execute one-by-one. After launching CLI in background:
|
|
886
|
+
1. Orchestrator stops immediately (`break`)
|
|
887
|
+
2. Wait for hook callback - **DO NOT use TaskOutput polling**
|
|
888
|
+
3. Hook callback triggers next command
|
|
886
889
|
|
|
887
890
|
**Prompt Structure**: Command must be first in prompt content
|
|
888
891
|
|
|
@@ -892,12 +895,13 @@ const prompt = '/workflow:plan -y "Implement user authentication"\n\nTask: Imple
|
|
|
892
895
|
const taskId = Bash(`ccw cli -p "${prompt}" --tool claude --mode write`, { run_in_background: true }).task_id;
|
|
893
896
|
state.execution_results.push({ status: 'in-progress', task_id: taskId, ... });
|
|
894
897
|
Write(`${stateDir}/state.json`, JSON.stringify(state, null, 2));
|
|
895
|
-
break; //
|
|
898
|
+
break; // ⚠️ STOP HERE - DO NOT use TaskOutput polling
|
|
896
899
|
|
|
897
|
-
// Hook
|
|
900
|
+
// Hook callback will call handleCliCompletion(sessionId, taskId, output) when done
|
|
898
901
|
// → Updates state → Triggers next command via resumeChainExecution()
|
|
899
902
|
```
|
|
900
903
|
|
|
904
|
+
|
|
901
905
|
## Available Commands
|
|
902
906
|
|
|
903
907
|
All from `~/.claude/commands/workflow/`:
|
package/README.md
CHANGED
|
@@ -263,6 +263,49 @@ Open Dashboard via `ccw view`, manage indexes and execute searches in **CodexLen
|
|
|
263
263
|
|
|
264
264
|
## 💻 CCW CLI Commands
|
|
265
265
|
|
|
266
|
+
### 🌟 Recommended Commands (Main Features)
|
|
267
|
+
|
|
268
|
+
<div align="center">
|
|
269
|
+
<table>
|
|
270
|
+
<tr><th>Command</th><th>Description</th><th>When to Use</th></tr>
|
|
271
|
+
<tr>
|
|
272
|
+
<td><b>/ccw</b></td>
|
|
273
|
+
<td>Auto workflow orchestrator - analyzes intent, selects workflow level, executes command chain in main process</td>
|
|
274
|
+
<td>✅ General tasks, auto workflow selection, quick development</td>
|
|
275
|
+
</tr>
|
|
276
|
+
<tr>
|
|
277
|
+
<td><b>/ccw-coordinator</b></td>
|
|
278
|
+
<td>Smart orchestrator - intelligently recommends command chains, allows manual adjustment, executes via external CLI with state persistence</td>
|
|
279
|
+
<td>🔧 Complex multi-step workflows, customizable chains, resumable sessions</td>
|
|
280
|
+
</tr>
|
|
281
|
+
</table>
|
|
282
|
+
</div>
|
|
283
|
+
|
|
284
|
+
**Quick Examples**:
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
# /ccw - Auto workflow selection (Main Process)
|
|
288
|
+
/ccw "Add user authentication" # Auto-selects workflow based on intent
|
|
289
|
+
/ccw "Fix memory leak in WebSocket" # Detects bugfix workflow
|
|
290
|
+
/ccw "Implement with TDD" # Routes to TDD workflow
|
|
291
|
+
|
|
292
|
+
# /ccw-coordinator - Manual chain orchestration (External CLI)
|
|
293
|
+
/ccw-coordinator "Implement OAuth2 system" # Analyzes → Recommends chain → User confirms → Executes
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
**Key Differences**:
|
|
297
|
+
|
|
298
|
+
| Aspect | /ccw | /ccw-coordinator |
|
|
299
|
+
|--------|------|------------------|
|
|
300
|
+
| **Execution** | Main process (SlashCommand) | External CLI (background tasks) |
|
|
301
|
+
| **Selection** | Auto intent-based | Smart recommendation + optional adjustment |
|
|
302
|
+
| **State** | TodoWrite tracking | Persistent state.json |
|
|
303
|
+
| **Use Case** | General tasks, quick dev | Complex chains, resumable |
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
### Other CLI Commands
|
|
308
|
+
|
|
266
309
|
```bash
|
|
267
310
|
ccw install # Install workflow files
|
|
268
311
|
ccw view # Open dashboard
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-workflow",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.48",
|
|
4
4
|
"description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "ccw/src/index.js",
|