anomalyco / anomalyco/opencode
[Desktop] Text shimmer repaints every frame; propose an opacity pulse (design review)
@Hona is already working on this.
Since Sep 12, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The "working" shimmer (Thinking, running tool titles) animates background-position on text that has two gradient layers and background-clip: text. That repaints the text every frame for as long as the state is active.
Measured in a real desktop instance (1.18.29, via CDP), 3s windows, 2 visible shimmers:
| variant | RecalcStyleDuration | TaskDuration |
|---|---|---|
| animating | ~30ms | ~330–450ms |
frozen (animation: none) |
0ms | ~51–56ms |
No dropped frames in this test (100fps steady), but the animation spends CPU continuously while an agent is working.
Proposal: replace the sweep with an opacity pulse on the overlay copy (compositor-friendly). Same "working" cue, no per-frame background paint. This is a visual change, so it's being opened as a proposal for design review.

Plugins
none
OpenCode version
OpenCode Desktop 1.18.29
Steps to reproduce
- Open a session and run a turn
- Watch the shimmer on the thinking/tool titles (or profile with DevTools Performance)
- Layout/paint runs every frame while the state is active
Screenshot and/or share link
See image above.
Operating System
CachyOS (Arch Linux), KDE Plasma 6.7.5, Wayland
Terminal
n/a (desktop app)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.