Skip to content

v0.38.0 — Telegram edit-on-tap

Choose a tag to compare

@OneStepAt4time OneStepAt4time released this 27 May 19:00
· 2 commits to main since this release

Highlights

Polishes the v0.35.0 inline-approval loop. When you tap [✓ Allow] or
[✕ Deny] in Telegram, the original message now updates in-thread:

Before tap:                          After tap:
─────────────────                    ─────────────────
Polaris — approval needed            Polaris — approval needed
Session: abc…                        Session: abc…
cwd: /Users/you/repo                 cwd: /Users/you/repo
Tool: Bash                           Tool: Bash

[ ✓ Allow ]  [ ✕ Deny ]              _Allowed by @yourname at 14:32 UTC_
                                     (buttons removed)

Two improvements:

  1. Buttons are removed → no accidental double-taps and no "Approval
    already handled" toast on re-tap.
  2. The resolution is in-thread, not just as a fleeting toast, so the
    chat history shows what happened.

callback_query carries message.message_id + chat.id + text, so
the poller edits without keeping any in-memory state. Best-effort: if
Telegram refuses the edit, the answerCallbackQuery toast still
informs the user.

Image

docker pull ghcr.io/onestepat4time/polaris:0.38.0
docker pull ghcr.io/onestepat4time/polaris:latest

What's changed

  • feat(telegram): edit message after Allow/Deny tap (#89)

Full changelog: v0.37.0...v0.38.0