You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Telegram bot "Run, skip" etc... commands not working #25
I just started trying your tool out! Great work, I was building something similar before I came across this one. I've noticed an issue though. It seems when attempting to execute any of the code execution blocks, the telegram bot doesn't forward the messages to cursor.
When using the web page it does, so I assume it's an issue within the cursor bot. Maybe an api changed or something?
I'll dig into it, but thought I'd put it here for visual as maybe there's a simple solution
@tonetechnician shipped in v0.1.46. Thanks for the clean repro, web works / Telegram doesn't was exactly the right signal. You nailed the cause.
Cursor's approval buttons moved to a per-card layout in a recent build (button.ui-shell-tool-call__run-btn / __skip-btn / __allowlist-button), but the Telegram callback handler in 0.1.45 still had the old .composer-tool-call-status-row .anysphere-button.composer-run-button-style selectors in its stable-selector table. Run/Skip in Telegram resolved a selector that matches nothing in current Cursor, click() threw Element not found, and the Telegram tooltip flashed the error briefly (easy to miss on mobile). The web client wasn't affected because it goes through a different button-discovery path that was rewritten for the per-card layout in 0.1.45.
What v0.1.46 changes:
Stable selectors refreshed to current button.ui-shell-tool-call__run-btn / __skip-btn / __allowlist-button with the older .composer-* selectors as a second fallback.
Hash-then-stable priority. The callback tries the per-card hash first (so multi-card scenarios target the exact button you tapped) and falls back to the stable selector only when the hash has been evicted (server restart, two-bot setups). Pre-fix it was the other way round, which is why the broken stable selector always won.
Clearer error: "Action no longer pending (already actioned, cleared, or restart)" instead of "Action expired".
Same fix as #21. Credited you in the v0.1.46 changelog. Closing.
Activity
v0.1.46
len5ky commentedon May 27, 2026
@tonetechnician shipped in v0.1.46. Thanks for the clean repro, web works / Telegram doesn't was exactly the right signal. You nailed the cause.
Cursor's approval buttons moved to a per-card layout in a recent build (
button.ui-shell-tool-call__run-btn/__skip-btn/__allowlist-button), but the Telegram callback handler in 0.1.45 still had the old.composer-tool-call-status-row .anysphere-button.composer-run-button-style selectors in its stable-selector table. Run/Skip in Telegram resolved a selector that matches nothing in current Cursor,click()threwElement not found, and the Telegram tooltip flashed the error briefly (easy to miss on mobile). The web client wasn't affected because it goes through a different button-discovery path that was rewritten for the per-card layout in 0.1.45.What v0.1.46 changes:
button.ui-shell-tool-call__run-btn/__skip-btn/__allowlist-buttonwith the older.composer-*selectors as a second fallback.Same fix as #21. Credited you in the v0.1.46 changelog. Closing.
v0.1.46