Drawn: the terminal shows what bash printed when it ran these commands against the bridge in this run. Behind it is DSH's window from the same run, made smaller.Drawn: the terminal shows what bash printed when it ran these commands against the bridge in this run. Behind it is DSH's window from the same run, made smaller.
What it does
Session Bridge is a small JSON API for the running DSH, on a Unix socket that only your user can open. Scripts, cron jobs and other agents create, prompt, steer, cancel and read sessions, and wait for a reply without polling. A session made through the bridge shows live in the DSH window, where you can take over.
A Unix socket only, mode 600: no TCP port.
Safe retries with your own request id: one session for each create, and no prompt sent twice.
Wait for the end of a turn in one call, with its reply.
Steer a running turn, or queue a follow-up.
The log records actions and sizes, never a prompt's text.