Files
airc/config.example.json
T
Tommi Kyntola 9aaf8839c1 Support following multiple tmux sessions
Replace the single config.session with a sessions[] list, resolved by
precedence (repeatable --session > file sessions[] > legacy session
string > default). config.session is kept as the primary so singular
readers keep working.

The view selection becomes one value of two kinds: a session (follow its
active pane) or a specific pane id (pin). Pane ids are tmux-server-global,
so capture never needs the session, but the followed session is carried
alongside a pin so a vanished pin falls back to its own session's active
pane rather than blanking. A dead followed session switches to a
surviving one; only zero live sessions surfaces an error.

Server: thread requestedSession through captureFrame, the WS view
message, the HTTP frame query, and input routing; report the resolved
session in frame payloads and etags; list panes across all sessions
tagged by session; healthz reports liveSessions and is ok if any is up.

Clients: grouped pane picker with session headers (follow) and indented
pane rows (pin) in both the browser and Android app, persisting the
followed session.
2026-06-18 15:10:03 +03:00

20 lines
418 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,
"ngrok": {
"enabled": true,
"domain": "carrousel-value-recipient.ngrok-free.dev",
"binary": "ngrok",
"apiUrl": "http://127.0.0.1:4040"
}
}