cursor-telegram-bridge 0.4.0
Brings the public package up to the maintainer's live Cursor bridge as of
2026-09-06. Reliability fixes for long turns and a cleaner phone copy.
- Long turns are no longer re-run. When the 900 s wait passes while Cursor
is still running tools, the bridge keeps waiting (up to
CUB_TUI_WAIT_MAX_SEC, default 2 h) instead of starting a second headless
cursor-agent -pwith the same prompt. If the turn is still going when the
wait ends, you get a one-line report and the answer is delivered later by the
mirror / in-flight recovery. - Typing indicator stays on for the whole turn, including after the bridge
has stopped waiting on a job while Cursor keeps working. - Idle context guard. When no job or turn is running and Cursor's status
line shows context usage at or aboveCUB_CONTEXT_CLEAR_PCT(default 50 %),
the bridge sends/clearitself and tells you once.0turns it off;
CUB_CONTEXT_CLEAR_COOLDOWN_SECspaces the checks. The percentage is also
read correctly from a narrow pane where the status line wraps onto two rows. - Cleaner answers. The first-person English reasoning summary that Cursor
sometimes appends after a non-English final answer is dropped
(CUB_STRIP_TRAILING_REASONING=0keeps it). Dispatch wrappers the bridge
pastes itself are no longer echoed back as "you asked this in the terminal". - No stale re-sends after
/clear. Transcript selection ignores files older
than the job, skips headless transcripts, and does not deliver an old answer
when the session switches, so a fresh session no longer replays a previous
reply. - Startup in-flight recovery runs off the main thread, so polling starts at
once after a restart.