SessionEvent
One event a session folded, as Session.events() yields it: the event and
what folding it changed, self-contained because the loop body may run after
later events folded. Optional members may be added; a consumer
reads the ones it knows.
Properties
Section titled “Properties”| Property | Type | Stability | Presence | Description |
|---|---|---|---|---|
frame |
WireFrame |
required | The protocol event, as the session applied it. | |
item |
object |
optional | For an item event that changed the item: the item as it stood after this event. | |
outcome |
SessionApplyOutcome<I> |
required | What it changed: the value Session.apply returned for a live event. An event a gap fill spliced in carries its fold result and no retirements or I/O of its own: those settle on the view/gap event’s io. |
|
subagent |
SessionEventSubagent |
optional | Set on a sub-agent’s event, yielded by events({ subagents: true }): the sub-agent it belongs to. Its frame, outcome and item are the sub-agent’s own. |
Source
clients/sdk-ts/src/facade/session.ts:494
{ "kind": "Interface", "canonicalPath": "SessionEvent"}