Repository navigation
Name the binary a session started, and the claude behind it - #29
Merged
Merged
Conversation
Deck starts an agent by name, and the PATH it inherited is not always the one a shell has. A tmux server started without nvm loaded ran a stale system-wide claude that the user's own shell never reached, and every session failed with a model the API no longer serves while the same command typed by hand worked. Starting a session now names in the footer the file the agent's name resolved to. For claude, and for cathode, which starts claude by name from the same PATH, it adds the claude that answers and its --version. That check runs as a command off the UI's goroutine and replaces the notice only if nothing newer has. A missing claude or a failed check is said in its place.
This was referenced Nov 17, 2026
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.
A session on a Linux box failed with a 404 for
claude-opus-4-1-20250805whileclaudetyped by hand worked. Deck, under a tmux server started without nvm loaded, was running a stale system-wideclaude2.0.9 that the user's shell never reached.Starting a session now says which file ran, and for
claudeandcathodewhichclaudeanswers and its version, e.g.started /usr/local/bin/claude (2.0.9) in …. The version check runs off the UI goroutine and only replaces the notice if nothing newer has; a missingclaudeor a failed check is shown instead.Checked:
make racepasses. Tests run fakeclaude/cathodeprograms on a PATH the test controls, so the machine's own install cannot answer. Each behaviour was removed in turn and a test went red.