Skip to content

v2.2.2 — multi-account, auto-approve, pinned permissions

Choose a tag to compare

@artickc artickc released this 12 Jul 15:15
· 21 commits to main since this release

Grok Telegram Bot v2.2.2

The 2.2.x multi-account + permissions batch, documented and hardened.

Highlights since v2.1.0

Multi-account (headless)

  • Account switch & auto-rotate never open a browser. Flow: stop agent → replace ~/.grok/auth.json → start with headless cached_token only. Browser methods like grok.com are never selected.
  • Auto-rotate on give-up (toggle in /accounts): one pass over saved accounts; first success wins.
  • Real emails from auth.json entry fields (modern tokens often omit email claims).
  • Active account = live token hash — no stale “active” after an outside grok login.
  • /reauth uses grok login --device-auth (device code in Telegram, no host browser).
  • Agent spawn uses --no-leader so auth.json swaps take effect.

Permissions

  • AUTO_APPROVE_PERMISSIONS=true (default) — auto-approve ACP prompts, preferring “allow for this session”.
  • Interactive mode (trust-all + auto-approve both off): Approve/Deny prompts are pinned until approve, deny, or timeout; status panel re-pinned after.

Tool visibility (2.1.0)

  • Rich per-kind tool-call detail: search, read, edit diffs, write, delete, move, execute, fetch, web search, MCP — with ✅/❌ completion status.

Install / upgrade

npm install -g grok-telegram-bot@2.2.2
# or
npm install -g grok-telegram-bot@latest
grok-tg restart   # if installed as a service

Links