anomalyco / anomalyco/opencode

[Desktop] Text shimmer repaints every frame; propose an opacity pulse (design review)

Open
#48,708 0 comments 0 reactions 1 assignee View on GitHub

@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.

before/after

Plugins

none

OpenCode version

OpenCode Desktop 1.18.29

Steps to reproduce
  1. Open a session and run a turn
  2. Watch the shimmer on the thinking/tool titles (or profile with DevTools Performance)
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.