Commit Graph
2 Commits
Author SHA1 Message Date
abel533andCopilot 9f4023bdf0 refactor: apply BaseSlashCommand to all 54 command implementations
- implements SlashCommand -> extends BaseSlashCommand (all 54 files)
- Replace CommandUtils.parseArgs/args null checks -> args(args)
- Replace agentLoop null checks -> requireAgentLoop(context)/noSession()
- Replace context.agentLoop().getToolContext() -> toolCtx(context)
- Replace CommandUtils.success/error/header/subtitle/warning/info -> instance methods
- Remove unused CommandUtils/AnsiStyle imports where applicable
- 87 tests passing, zero compilation errors

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-05 13:16:55 +08:00
abel533andCopilot a926b31e34 feat: /doctor, /session, /agent, /rename commands (Phase 2F)
- /doctor: environment diagnostics (Java, Git, API keys, disk, memory)
- /session: session info, save/load/export functionality
- /agent: list/detail/stop sub-agents and workers
- /rename: session naming with clear/reset support
- Registered all 4 commands in AppConfig

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-05 09:56:49 +08:00