SessionEventFollower
Follows one session in the session store through its cursor: each new event reaches the lane view once (trove-parts §TPN-10, TPX-39).
| Inherits | QObject |
| Group | libtrove |
In the namespace octomy::trove::ui. Declared in src/libs/libtrove/trove/ui/SessionEventFollower.hpp.
Detailed description
The lane view read the whole Claude Code transcript again each second. This follower reads the store by its cursor instead, as session.events with since does: the events after the last seq it gave. The store's eventAppended() signal starts a read on the next turn of the event loop, so a burst of events is one read. The signal can come from the thread of the door host's runner; the connection queues it.
follow() opens a session with its newest kOpenEvents events, so that the view of a session of a million events opens at once. The older events stay in the store (skipped()), where session.events reads them.
See also octomy::llmsession::SessionStore, octomy::trove::TroveLaneActivity.