Skip to content

Replace braille spinner with semantic activity status#101

Closed
dnouri wants to merge 1 commit intomasterfrom
semantic-activity-status
Closed

Replace braille spinner with semantic activity status#101
dnouri wants to merge 1 commit intomasterfrom
semantic-activity-status

Conversation

@dnouri
Copy link
Copy Markdown
Owner

@dnouri dnouri commented Feb 6, 2026

Show what the agent is doing (thinking/replying/running/compact.) instead of animating braille dots.

Changes

  • New: buffer-local activity-phase variable replaces global spinner timer + 4 global vars
  • New: pi-coding-agent-activity-status face (inherits shadow)
  • Header: fixed 8-char slot prevents layout jumping between states
  • Events: phase set by handlers — agent_start→thinking, text_delta→replying, tool_start→running, tool_end→thinking, agent_end→nil, compaction→compact.
  • Tests: 14 new tests, all 436 passing

Show what the agent is doing (thinking/replying/running/compact.)
instead of animating ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏ dots.

- Buffer-local activity-phase replaces global spinner timer
- Fixed 8-char slot prevents header-line jumping
- Phase set by event handlers: agent_start→thinking,
  text_delta→replying, tool_start→running, agent_end→nil
@dnouri
Copy link
Copy Markdown
Owner Author

dnouri commented Feb 11, 2026

Ancient

@dnouri dnouri closed this Feb 11, 2026
@dnouri dnouri deleted the semantic-activity-status branch February 11, 2026 11:38
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