claude-code-workflow 6.3.43 → 6.3.46
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/tdd-developer.md +530 -0
- package/.claude/commands/ccw-coordinator.md +1042 -0
- package/.claude/commands/ccw.md +486 -0
- package/.claude/commands/issue/discover-by-prompt.md +5 -1
- package/.claude/commands/issue/discover.md +472 -468
- package/.claude/commands/issue/execute.md +580 -581
- package/.claude/commands/issue/new.md +417 -413
- package/.claude/commands/issue/plan.md +5 -1
- package/.claude/commands/issue/queue.md +445 -441
- package/.claude/commands/task/breakdown.md +207 -203
- package/.claude/commands/task/replan.md +440 -436
- package/.claude/commands/workflow/action-plan-verify.md +485 -447
- package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
- package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
- package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
- package/.claude/commands/workflow/clean.md +67 -35
- package/.claude/commands/workflow/debug-with-file.md +670 -666
- package/.claude/commands/workflow/debug.md +331 -327
- package/.claude/commands/workflow/develop-with-file.md +5 -1
- package/.claude/commands/workflow/execute.md +546 -498
- package/.claude/commands/workflow/lite-execute.md +44 -26
- package/.claude/commands/workflow/lite-fix.md +780 -730
- package/.claude/commands/workflow/lite-lite-lite.md +5 -1
- package/.claude/commands/workflow/lite-plan.md +87 -39
- package/.claude/commands/workflow/multi-cli-plan.md +572 -568
- package/.claude/commands/workflow/plan-verify.md +527 -0
- package/.claude/commands/workflow/plan.md +555 -551
- package/.claude/commands/workflow/replan.md +572 -515
- package/.claude/commands/workflow/review-fix.md +608 -610
- package/.claude/commands/workflow/session/complete.md +37 -14
- package/.claude/commands/workflow/session/solidify.md +303 -299
- package/.claude/commands/workflow/tdd-plan.md +630 -597
- package/.claude/commands/workflow/tdd-verify.md +391 -206
- package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
- package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
- package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
- package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
- package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
- package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
- package/.claude/skills/ccw-help/command.json +5 -5
- package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
- package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
- package/ccw/dist/commands/issue.d.ts +4 -0
- package/ccw/dist/commands/issue.d.ts.map +1 -1
- package/ccw/dist/commands/issue.js +73 -6
- package/ccw/dist/commands/issue.js.map +1 -1
- package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/cli-routes.js +32 -28
- package/ccw/dist/core/routes/cli-routes.js.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
- package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.js +45 -0
- package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
- package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
- package/ccw/dist/tools/codex-lens.js +38 -11
- package/ccw/dist/tools/codex-lens.js.map +1 -1
- package/ccw/dist/tools/command-registry.d.ts +77 -0
- package/ccw/dist/tools/command-registry.d.ts.map +1 -0
- package/ccw/dist/tools/command-registry.js +265 -0
- package/ccw/dist/tools/command-registry.js.map +1 -0
- package/ccw/dist/tools/command-registry.test.d.ts +14 -0
- package/ccw/dist/tools/command-registry.test.d.ts.map +1 -0
- package/ccw/dist/tools/command-registry.test.js.map +1 -0
- package/ccw/dist/tools/index.d.ts +2 -0
- package/ccw/dist/tools/index.d.ts.map +1 -1
- package/ccw/dist/tools/index.js +2 -0
- package/ccw/dist/tools/index.js.map +1 -1
- package/ccw/src/commands/issue.ts +84 -6
- package/ccw/src/core/routes/cli-routes.ts +30 -25
- package/ccw/src/templates/dashboard-js/views/help.js +1 -1
- package/ccw/src/tools/claude-cli-tools.ts +50 -0
- package/ccw/src/tools/codex-lens.ts +40 -11
- package/ccw/src/tools/command-registry.test.ts +669 -0
- package/ccw/src/tools/command-registry.ts +308 -0
- package/ccw/src/tools/index.ts +4 -0
- package/package.json +1 -1
- package/.claude/skills/ccw/SKILL.md +0 -522
- package/.claude/skills/ccw/command.json +0 -641
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: conflict-resolution
|
|
3
3
|
description: Detect and resolve conflicts between plan and existing codebase using CLI-powered analysis with Gemini/Qwen
|
|
4
|
-
argument-hint: "--session WFS-session-id --context path/to/context-package.json"
|
|
4
|
+
argument-hint: "[-y|--yes] --session WFS-session-id --context path/to/context-package.json"
|
|
5
5
|
examples:
|
|
6
6
|
- /workflow:tools:conflict-resolution --session WFS-auth --context .workflow/active/WFS-auth/.process/context-package.json
|
|
7
|
-
- /workflow:tools:conflict-resolution --session WFS-payment --context .workflow/active/WFS-payment/.process/context-package.json
|
|
7
|
+
- /workflow:tools:conflict-resolution -y --session WFS-payment --context .workflow/active/WFS-payment/.process/context-package.json
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## Auto Mode
|
|
11
|
+
|
|
12
|
+
When `--yes` or `-y`: Auto-select recommended strategy for each conflict, skip clarification questions.
|
|
13
|
+
|
|
10
14
|
# Conflict Resolution Command
|
|
11
15
|
|
|
12
16
|
## Purpose
|
|
@@ -209,6 +213,8 @@ Task(subagent_type="cli-execution-agent", run_in_background=false, prompt=`
|
|
|
209
213
|
### Phase 3: User Interaction Loop
|
|
210
214
|
|
|
211
215
|
```javascript
|
|
216
|
+
const autoYes = $ARGUMENTS.includes('--yes') || $ARGUMENTS.includes('-y')
|
|
217
|
+
|
|
212
218
|
FOR each conflict:
|
|
213
219
|
round = 0, clarified = false, userClarifications = []
|
|
214
220
|
|
|
@@ -216,8 +222,13 @@ FOR each conflict:
|
|
|
216
222
|
// 1. Display conflict info (text output for context)
|
|
217
223
|
displayConflictSummary(conflict) // id, brief, severity, overlap_analysis if ModuleOverlap
|
|
218
224
|
|
|
219
|
-
// 2. Strategy selection
|
|
220
|
-
|
|
225
|
+
// 2. Strategy selection
|
|
226
|
+
if (autoYes) {
|
|
227
|
+
console.log(`[--yes] Auto-selecting recommended strategy`)
|
|
228
|
+
selectedStrategy = conflict.strategies[conflict.recommended || 0]
|
|
229
|
+
clarified = true // Skip clarification loop
|
|
230
|
+
} else {
|
|
231
|
+
AskUserQuestion({
|
|
221
232
|
questions: [{
|
|
222
233
|
question: formatStrategiesForDisplay(conflict.strategies),
|
|
223
234
|
header: "策略选择",
|
|
@@ -230,18 +241,19 @@ FOR each conflict:
|
|
|
230
241
|
{ label: "自定义修改", description: `建议: ${conflict.modification_suggestions?.slice(0,2).join('; ')}` }
|
|
231
242
|
]
|
|
232
243
|
}]
|
|
233
|
-
|
|
244
|
+
})
|
|
234
245
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
246
|
+
// 3. Handle selection
|
|
247
|
+
if (userChoice === "自定义修改") {
|
|
248
|
+
customConflicts.push({ id, brief, category, suggestions, overlap_analysis })
|
|
249
|
+
break
|
|
250
|
+
}
|
|
240
251
|
|
|
241
|
-
|
|
252
|
+
selectedStrategy = findStrategyByName(userChoice)
|
|
253
|
+
}
|
|
242
254
|
|
|
243
255
|
// 4. Clarification (if needed) - batched max 4 per call
|
|
244
|
-
if (selectedStrategy.clarification_needed?.length > 0) {
|
|
256
|
+
if (!autoYes && selectedStrategy.clarification_needed?.length > 0) {
|
|
245
257
|
for (batch of chunk(selectedStrategy.clarification_needed, 4)) {
|
|
246
258
|
AskUserQuestion({
|
|
247
259
|
questions: batch.map((q, i) => ({
|