Skip to main content

Module session

Module session 

Source

Modules§

request
Read requests. Every request names the stream before any other field.

Structs§

PayloadRange
The inclusive offset range on one source partition that holds the payloads of a timeline page. A range is a hint for bounded polls, not a promise that every offset in it belongs to the session.
SessionChangeRow
One committed change batch in a stream.
SessionChanges
Change rows after a sequence. resync is set when the requested sequence is below the retained floor, so the reader must list sessions again.
SessionEvent
One indexed record on a session timeline. The summary never holds prompt text or tool argument values.
SessionEventsPage
One page of a session timeline.
SessionFlags
Conditions that make a session summary partial.
SessionHeartbeat
The body of one process heartbeat on agent.heartbeats: the sessions in one stream that the process holds leases on. A process with sessions in several streams writes one heartbeat per stream.
SessionInfo
The summary of one session.
SessionLink
One resource a session wrote, recalled, or touched.
SessionLinksView
The resources linked to one session.
SessionPage
One page of session summaries.
SessionSources
The source partitions that hold records of one session.
SessionStateView
The folded state document of a session.
SourceFrontier
How far the session index has folded one source partition. Offsets are never compared across topics. topic_generation is the topic creation time in microseconds, so a recreated topic with a reused id is a different source.
SourceGap
A missing inclusive offset range on one source partition.
StateChange
One entry in the state history of a session.

Enums§

GapReason
Why part of a session timeline is missing.
LinkRelation
The relationship a session has with a linked resource.
LinkSurface
The resource surface used to narrow a session link read.
SessionChangeOrigin
What made the sessions of one change row change.
SessionError
Why a session read failed.
SessionOutcome
The successful outcome of a session read, shaped per request.
SessionReply
The reply to every session read: Ok with the outcome, or Err with a failure.
StateOutcome
What the fold did with one state record.