Repository navigation
fix: honest jump notices for tabs and dead tmux sessions - #8
Merged
Merged
Conversation
Found on the owner's machine: Enter did nothing visible. - Both Claude agents ran in tabs of the same Ghostty window as Runeway. The jump focused that window (already focused) and said "jumped to the agent's window". Runeway now works out its own window too: when the agent's window is the same one, it says the agent is in another tab and names its terminal (pts/N). No window manager can switch a terminal's tabs, and Ghostty offers no outside way to. - Gemini's agent-deck tmux session no longer existed (no tmux server), yet Runeway offered `tmux attach`. It now checks the session with `tmux has-session -t =name` first and says when it isn't running. Tests: agent_in_another_tab_of_our_window_is_same_window, agent_in_its_own_window_still_focuses, tty_names_follow_linux_numbering, same_window_says_which_tab, dead_tmux_session_is_reported. Checked in a pty on the owner's machine: both notices appear as described. Project contributor 👻 Code & Design by Darkstardevx 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Found on the owner's machine: pressing
Enteron an agent did nothing visible.Root cause
tmux attachcommand that could not work.What changes
jump::planalso works out the window Runeway itself runs in. When the agent's window is the same one, the result is a newSameWindowplan, and the notice names the agent's terminal: "raven is in another tab of this window (pts/1); tabs can't be switched from outside, use your tab keys".tmux has-session -t =name(2 s limit). A missing session is reported: "tmux session … isn't running; start the agent again (agent-deck)".Verification
agent_in_another_tab_of_our_window_is_same_windowagent_in_its_own_window_still_focusestty_names_follow_linux_numbering(both Linux encodings of pts numbers)same_window_says_which_tabdead_tmux_session_is_reported-D warningsand the full suite pass.👻 Code & Design by Darkstardevx 🤖 Generated with Claude Code