Skip to content

feat(cli): add d alias for the dashboard command#129

Merged
ThomasK33 merged 2 commits into
mainfrom
feat/dashboard-d-alias
Jun 8, 2026
Merged

feat(cli): add d alias for the dashboard command#129
ThomasK33 merged 2 commits into
mainfrom
feat/dashboard-d-alias

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

What

Adds d as a short alias for agent-tty dashboard, so agent-tty d opens the read-only session dashboard.

Conflict safety

Commander 14 matches command names and aliases exactly — it does not do prefix matching — so d resolves unambiguously to dashboard and never collides with the other d-prefixed commands (destroy, doctor). Verified manually:

  • agent-tty d --helpUsage: agent-tty dashboard|d [options]
  • agent-tty destroy / agent-tty doctor still resolve to their own commands

Notably, d will not risk accidentally firing the destructive destroy.

Testing

  • New integration test asserting d resolves to the dashboard command. It uses --help, which short-circuits before the action runs, so the test is hermetic — no interactive TTY or libghostty-vt renderer required.
  • oxlint clean, tsc typecheck clean, targeted integration tests pass.

🤖 Generated with Claude Code

ThomasK33 and others added 2 commits June 8, 2026 13:38
`agent-tty d` now resolves to `agent-tty dashboard`. It is an explicit
Commander alias (not prefix matching), so it maps unambiguously to the
dashboard and never collides with the other `d`-prefixed commands
(`destroy`, `doctor`).

Change-Id: I05b496720ea9e6b1543f0fad35006b4c626d539f
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Change-Id: If5ca4ed27080d8f7cca085c3b433801ff13e89d9
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 merged commit 4fa989c into main Jun 8, 2026
12 checks passed
@ThomasK33 ThomasK33 deleted the feat/dashboard-d-alias branch June 8, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant