mirror of
https://github.com/Kynde/airc.git
synced 2026-10-20 08:31:38 +02:00
Watch other tmux panes for a coding agent that has stopped and needs interaction (blocked on a prompt, or finished and awaiting input), and surface it in both clients as tap-to-switch chips plus an opt-in auto toggle that follows the most urgent pane. Switching only moves the mirrored view, never the user's real tmux focus. Detection is hybrid: a viewer-gated server scan classifies each non-shell pane via per-agent recognizers (src/detect.js, Claude Code + Codex), debounced to avoid mid-render flicker; an optional control-gated hook endpoint (POST /api/agent/event) lets agents report state exactly and overrides the screen for 15s. Recognizers are pinned by fixture-based unit tests (node --test test/) since agent TUIs drift. Signatures were locked against live captures, not assumptions: current Claude Code has no "esc to interrupt" string (busy = the spinner/token line); that string is Codex's busy marker.
14 lines
647 B
Plaintext
14 lines
647 B
Plaintext
╭───────────────────────────────────────╮
|
||
│ >_ OpenAI Codex (v0.136.0) │
|
||
│ │
|
||
│ model: gpt-5.5 /model to change │
|
||
│ directory: ~/airc │
|
||
╰───────────────────────────────────────╯
|
||
|
||
Tip: Use /fork to branch the current chat into a new thread.
|
||
|
||
|
||
› Find and fix a bug in @filename
|
||
|
||
gpt-5.5 default · ~/airc · master · No changes · Ready · Context 0% used · 5h 99% left · 0 in · 0 out
|