feat(cli): add d alias for the dashboard command#129
Merged
Conversation
`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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
das a short alias foragent-tty dashboard, soagent-tty dopens the read-only session dashboard.Conflict safety
Commander 14 matches command names and aliases exactly — it does not do prefix matching — so
dresolves unambiguously todashboardand never collides with the otherd-prefixed commands (destroy,doctor). Verified manually:agent-tty d --help→Usage: agent-tty dashboard|d [options]agent-tty destroy/agent-tty doctorstill resolve to their own commandsNotably,
dwill not risk accidentally firing the destructivedestroy.Testing
dresolves to the dashboard command. It uses--help, which short-circuits before the action runs, so the test is hermetic — no interactive TTY orlibghostty-vtrenderer required.oxlintclean,tsctypecheck clean, targeted integration tests pass.🤖 Generated with Claude Code