This repository has been archived on 2026-10-08 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
db44650a17e9ee7945e9548adf6f2d5002b68864
A background task, a second broadcast channel and a whole module existed to remap SessionEvent onto CatalogEvent one variant at a time. SessionManager now emits CatalogEvent directly. Deletes local_events.rs, the publisher task, the LocalEventBus channel, enum SessionEvent, LocalApiState::events, and the duplicate capacity constant — events_capacity was declared twice for one logical stream. Lag semantics improve. There were two lag points: the publisher falling behind the manager, which broadcast one Lagged to every client, and each WS subscriber falling behind the bus. Only the per-subscriber one is left, which pump_events already handled — a slow client now makes only itself resync. Adds the first daemon-level tests for WS /api/events: the Snapshot-then- deltas contract, and that a late subscriber gets a Snapshot of current state. Both were described only in a comment. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Description
No description provided
13 MiB
Languages
Rust
62.2%
TypeScript
22.6%
Kotlin
9.7%
CSS
4.4%
Nix
0.5%
Other
0.5%