Files
buzz/desktop/src/features/sidebar/lib
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w f255af4c03 feat(desktop): owner-global observer ingestion at app level
Rebased from tho/observer-owner-global (#1493) onto post-#1380 main.

Make agent observer ingestion (kind 24200 frame decryption + derived
active-turn liveness) a single app-level concern instead of per-surface
bridge mounts:

- useAgentObserverIngestion mounted once in AppShell registers all
  locally managed agents plus relay agents the identity declared-owns
  (NIP-OA ownerPubkey via one batched profile query, treated deployed)
- Pure combineObserverIngestionAgents() with unit coverage
- Remove per-surface bridge mounts: ChannelScreen, UserProfilePanel,
  useManagedAgentActions, useActiveWorkingChannelsById, usePreventSleep

Conflict note vs #1380: UserProfilePanel keeps #1380's activityAgent
memo (still feeds the profile activity preview); only its bridge mounts
(activityBridgeAgents) are removed since app-level ingestion covers both
managed and declared-owned relay agents.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-07-03 12:36:01 -07:00
..