AgentActivatedEvent class final
An agent became the session's resident context.
- Inheritance
-
- Object
- OrchestratorEvent
- AgentActivatedEvent
Constructors
- AgentActivatedEvent({required String agentId, required int restoredTokens, bool wasResident = false})
-
Creates the event.
const
Properties
- agentId → String
-
The activated agent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- restoredTokens → int
-
Tokens restored from its snapshot or stash;
0means the next generation re-prefills from scratch (unless wasResident).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wasResident → bool
-
True when the agent's KV state was already live in its own sequence
(multi-sequence mode) — nothing was swapped or re-prefilled.
final
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