Skip to content

feat: shimmering braille spinner for the waking line - #298

Merged
popodidi merged 1 commit into
mainfrom
axe/task-2535-shimmer
Dec 3, 2026
Merged

popodidi merged 1 commit into
mainfrom
axe/task-2535-shimmer

Conversation

@popodidi

@popodidi popodidi commented Dec 3, 2026

Copy link
Copy Markdown
Owner

axe task 2535 (scope adds: owner msgs #6892, #6903; rate from demo task 2545).

With [telegram] thinking_status = true, from accept until the bot's run starts, the private-chat status line is a shimmering braille spinner, <tg-thinking>⠋ …</tg-thinking>, cycling ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏. It replaces the plain … from #296.

  • Rate: at most one frame per chat every 0.5 s. Task 2545 measured that as the fastest rate without a 429; 0.2-0.3 s drew a 429 with retry_after 3. The typing loop ticks every 100 ms while a spinner turns and every 500 ms otherwise.
  • Real sends share the chat's budget, so after a 429 the spinner holds its frame. It also holds after 5 minutes without a run (e.g. a paused bot). It stops when the run starts (then "Working…" as before) or when the bot sends to the chat.
  • Drafts never go through paced(), so real sends are not delayed.
  • Tests: thinking_status_on_streams_a_thinking_draft_until_the_bot_replies checks the frames, the ≥0.5 s spacing and the hand-over to Working. New thinking_status_spinner_holds_its_frame_after_a_429.
  • Docs: docs/user/primitives/bot.md, docs/design/bots.md.

🤖 Generated with Claude Code

Owner msgs #6892, #6903: the waking line shimmers and turns. From accept
until the run starts, <tg-thinking>⠋ …</tg-thinking> cycles ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏ at
most every 0.5 s (fastest rate without a 429, task 2545), holding its
frame after a 429 or 5 minutes. Working phase unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@popodidi
popodidi merged commit 9d8794a into main Dec 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant