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.
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
╭───────────────────────────────────────────────────────────────╮
|
||
│ ✨ Update available! 0.136.0 -> 0.141.0 │
|
||
│ See https://github.com/openai/codex for installation options. │
|
||
│ │
|
||
│ See full release notes: │
|
||
│ https://github.com/openai/codex/releases/latest │
|
||
╰───────────────────────────────────────────────────────────────╯
|
||
|
||
╭───────────────────────────────────────╮
|
||
│ >_ OpenAI Codex (v0.136.0) │
|
||
│ │
|
||
│ model: gpt-5.5 /model to change │
|
||
│ directory: ~/airc │
|
||
╰───────────────────────────────────────╯
|
||
|
||
Tip: Use /status to see the current model, approvals, and token usage.
|
||
|
||
|
||
› codex --ask-for-approval on-request --sandbox workspace-writeRun a git command to create a new branch called codex-probe-test
|
||
|
||
|
||
• I’ll create the branch with Git in the repo root. This writes to .git, so I’m running it with approval.
|
||
|
||
• The harness rejected explicit escalation under the current approval policy, so I’m retrying through the normal command path and letting the environment decide whether it’s trusted.
|
||
|
||
• Running git branch codex-probe-test
|
||
|
||
|
||
Would you like to run the following command?
|
||
|
||
$ git branch codex-probe-test
|
||
|
||
› 1. Yes, proceed (y)
|
||
2. Yes, and don't ask again for commands that start with `git branch codex-probe-test` (p)
|
||
3. No, and tell Codex what to do differently (esc)
|
||
|
||
Press enter to confirm or esc to cancel
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|