Skip to content

cursor-telegram-bridge 0.4.0

Latest

Choose a tag to compare

@ssamssae ssamssae released this 06 Sep 05:58
f904719

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 -p with 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 above CUB_CONTEXT_CLEAR_PCT (default 50 %),
    the bridge sends /clear itself and tells you once. 0 turns it off;
    CUB_CONTEXT_CLEAR_COOLDOWN_SEC spaces 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=0 keeps 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.