$AgentSessionDocument class abstract
The canonical agent session document held in ZfaStore (issue #2256).
The agent runtime projects its pi-style event stream
(message_update, tool_execution_start/end, turn_end) into
ZorphyPatch deltas over THIS document, so the UI, the TUI and a remote
ZfaLink inspector observe live token and tool progress through surgical
rebuilds instead of a parallel, ad-hoc session buffer.
- Annotations
-
- @ZorphyEntity(principalKey: #id)
Constructors
Properties
- activeTool → String?
-
The name of the tool currently executing, or
nullwhen none is.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The session's stable identity.
no setter
-
messages
→ List<
$AgentMessage> ? -
The transcript so far, in arrival order.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → AgentSessionStatus
-
The session's lifecycle status.
no setter
-
toolCalls
→ List<
$AgentToolCall> ? -
The tool calls recorded so far, in arrival order.
no setter
- turns → int?
-
The number of completed turns.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited