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 d09809e924 feat: 12 UX commands - brief, vim, theme, usage, tips, env, perf, etc (Phase 4B)
New commands:
- /brief: toggle concise output mode
- /vim: toggle vi-mode editing
- /theme: switch color theme (dark/light/auto)
- /usage: detailed token/cost breakdown with visual bar
- /tips: usage tips (random or /tips all)
- /output-style: output format (markdown/plain/json)
- /env: environment variables, config paths, system info
- /performance (/perf): memory, threads, GC, session metrics
- /privacy: telemetry/logging/memory opt-out settings
- /feedback: save feedback to ~/.claude-code-java/feedback/
- /release-notes (/changelog): version history
- /keybindings (/keys): keyboard shortcuts reference

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-05 11:31:22 +08:00