Files
airc/config.example.json
T
Tommi Kyntola 8662634e69 Add attention detection: surface and follow panes whose agent needs you
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.
2026-06-22 09:28:14 +03:00

26 lines
524 B
JSON

{
"productName": "AI Remote Control",
"host": "127.0.0.1",
"port": 8080,
"sessions": ["airc"],
"pollMs": 700,
"pollIdleMaxMs": 2500,
"viewToken": "",
"controlToken": "",
"fontSizeDefault": 13,
"theme": "dark",
"resizeToViewport": false,
"attention": {
"enabled": true,
"scanMs": 1500,
"debounceScans": 2,
"maxPanes": 24
},
"ngrok": {
"enabled": true,
"domain": "carrousel-value-recipient.ngrok-free.dev",
"binary": "ngrok",
"apiUrl": "http://127.0.0.1:4040"
}
}