Skip to content

Allow embedders to control tmux status commands - #424

Merged
hay-kot merged 1 commit into
mainfrom
feat/inject-tmux-commander
Jul 30, 2026
Merged

Allow embedders to control tmux status commands#424
hay-kot merged 1 commit into
mainfrom
feat/inject-tmux-commander

Conversation

@hay-kot

@hay-kot hay-kot commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Allow embedded hosts to use terminal status detection when tmux is resolved outside the process PATH or requires host-specific environment and socket selection.

Proposed Changes

  • Add an injectable, concurrency-safe tmux commander while preserving the existing exec-based default.
  • Route availability, pane discovery, classifier captures, and status captures through the same commander.
  • Retry availability after failures so installing or resolving tmux later does not require restarting the host.

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Terminal status detection must work in hosts whose process PATH and tmux socket differ from an interactive shell, without mutating process-global environment. Route availability checks, pane discovery, classifier captures, and status captures through one injectable commander while preserving the existing exec-based default.\n\nAvailability is no longer negatively memoized so an embedder that resolves tmux on demand can recover after installation.
@hay-kot
hay-kot merged commit 94f5392 into main Jul 30, 2026
2 checks passed
@hay-kot
hay-kot deleted the feat/inject-tmux-commander branch July 30, 2026 18:42
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