mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
Key the cache on a cheap session fingerprint (width + item count + tokens/cost) so usage streamed in while the dialog is open refreshes the view; clear it on ThemeChangedMsg since cached lines carry styled ANSI output. Adds unit coverage for lrucache.EnsureCapacity and a live-refresh regression test. Assisted-By: Claude <claude@anthropic.com>