refactor(delegation)!: consolidate commands with intelligent profile selection

BREAKING CHANGE: Replace 4 hardcoded commands with 2 intelligent commands:
- Old: /ccs:glm, /ccs:kimi, /ccs:glm:continue, /ccs:kimi:continue
- New: /ccs (auto-selects), /ccs:continue (auto-dects)
- Override with flags: /ccs --glm "task", /ccs --kimi "task"

This change:
- Adds intelligent profile selection based on task analysis
- Supports custom profiles without creating new commands
- Enhances session management with automatic profile detection
- Updates all help text, examples, and documentation
- Fixes CCS Doctor health checks for new command structure
This commit is contained in:
kaitranntt
2025-11-21 20:31:44 -05:00
parent 9ae99460bc
commit 24a11e1051
22 changed files with 250 additions and 169 deletions
+3 -5
View File
@@ -173,10 +173,8 @@ ccs work "task"
```
.claude/
├── commands/ccs/ # Delegation slash commands
│ ├── glm.md # /ccs:glm "task"
── kimi.md # /ccs:kimi "task"
│ ├── glm/continue.md # /ccs:glm:continue "task"
│ └── kimi/continue.md# /ccs:kimi:continue "task"
│ ├── ccs.md # /ccs "task" (auto-select profile)
── ccs/continue.md # /ccs:continue "follow-up" (auto-detect profile)
├── skills/ccs-delegation/ # Auto-delegation skill
│ ├── SKILL.md # Skill definition
│ ├── CLAUDE.md.template # User CLAUDE.md snippet
@@ -194,7 +192,7 @@ ccs work "task"
1. `npm install -g @kaitranntt/ccs`
2. Postinstall: ClaudeDirInstaller copies `.claude/``~/.ccs/.claude/`
3. Postinstall: ClaudeSymlinkManager creates selective symlinks → `~/.claude/`
4. User can now use `/ccs:glm` and `/ccs:kimi` commands
4. User can now use `/ccs` (auto-select) and `/ccs:continue` commands
## File Structure (v4.3.2)