Skip to content

fix: resolve tmux window and shell pane creation issues#147

Merged
bborn merged 1 commit intomainfrom
fix/tmux-window-creation
Jan 13, 2026
Merged

fix: resolve tmux window and shell pane creation issues#147
bborn merged 1 commit intomainfrom
fix/tmux-window-creation

Conversation

@michaelkoper
Copy link
Copy Markdown
Collaborator

Summary

  • Fix empty tmux sessions exiting immediately by adding tail -f /dev/null as placeholder command
  • Fix session name mismatch by searching for existing task-daemon-* sessions before creating new ones
  • Fix shell pane exiting immediately by explicitly running user's $SHELL
  • Add retry logic for window creation to handle race conditions
  • Capture stderr from tmux commands for better error messages

Test plan

  • Start a new task and verify tmux window is created
  • Verify shell pane appears alongside Claude pane
  • Verify shell pane uses user's default shell (zsh)
  • Restart daemon and verify new tasks still work

🤖 Generated with Claude Code

- Fix empty tmux sessions exiting immediately by adding `tail -f /dev/null`
  as placeholder command
- Fix session name mismatch by searching for existing task-daemon-* sessions
  before creating new ones
- Fix shell pane exiting immediately by explicitly running user's $SHELL
- Add retry logic for window creation to handle race conditions
- Capture stderr from tmux commands for better error messages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn merged commit cb6a71d into main Jan 13, 2026
3 checks passed
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.

2 participants