OpenCode Vitals 0.1.7
[0.1.7] - 2026-09-28
The idle window is ten seconds, and it no longer mistakes a slow reply for an
idle machine.
Fixed
- A long reply took the bar down with it. The idle window was measured from
the last finished response, so a reply that streamed for a minute — before
any record existed — put the bar away at the exact moment its numbers were
worth reading. Liveness is now stamped by any event for a session, so work in
progress keeps the bar up. - A replayed batch of events could pass for a live session. The stamp used
the event's owncreated, and a replayed event carries the time it was
recorded, not the time it arrived. It is the arrival time now. - The companion tick is 1s, down from 5s, so the bar leaves inside the ten
seconds it promises instead of at the next five-second boundary.
Changed
IDLE_HIDE_MSis 10 seconds, down from fifteen minutes, andCOMPANION_TICK_MS
is 1s. Both are exported. A session that has never sent an event still keeps
the bar, so a first run is not a bar that never appears.
Measured
- 250 plugin checks and 142 bar checks, unchanged from 0.1.6 in count and
different in content: the idle cases now pin that activity beats a finished
record, that a replayed event counts as activity now, that the tick fits
inside the window, and that the same runtime stands the bar down once the
events stop.
Upgrade: npx opencode-vitals install