personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: stop tmux observer from blinking the main observation badge

Both desktop and tmux observers emit observe.status events. The health
page was updating state.observe.mode from all events unconditionally,
so the badge alternated between "Recording" (desktop, mode=screencast)
and "Tmux" (tmux observer, mode=tmux) with every heartbeat.

The tmux sub-observer's mode is informational for its remote card only.
Only update the main mode badge from events that don't carry msg.tmux
(i.e., from the primary desktop observer).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

+4 -1
+4 -1
apps/health/workspace.html
··· 1459 1459 } 1460 1460 1461 1461 // Update local observe state (merge fields, don't overwrite all) 1462 - if (msg.mode !== undefined) state.observe.mode = msg.mode; 1462 + // Don't let the tmux sub-observer's mode ("tmux") override the main badge. 1463 + // The tmux observer sends msg.tmux but not msg.screencast/audio/activity; 1464 + // the desktop observer is the source of truth for the mode badge. 1465 + if (msg.mode !== undefined && msg.tmux === undefined) state.observe.mode = msg.mode; 1463 1466 if (msg.screencast !== undefined) state.observe.screencast = msg.screencast; 1464 1467 if (msg.tmux !== undefined) state.observe.tmux = msg.tmux; 1465 1468 if (msg.audio !== undefined) state.observe.audio = msg.audio;