AgentRuntime class

Central runtime — the single brain for the embed SDK.

Properties

explorer ↔ Explorer
Shared find-or-scroll engine.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isStarted → bool
no setter
Generic back-navigation history.
final
runner → MissionRunner?
Convenience getter — the mission runner inside the active voice loop.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snapshotPump → SnapshotPump?
no setter
verifier ↔ StepVerifier
Shared step verifier.
getter/setter pair
voiceLoop → VoiceLoop?
no setter

Methods

handlePayload(Uint8List bytes) → Future<void>
Forward a payload from LiveKit's onData callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pushSnapshotBaseline() → Future<void>
Force a fresh snapshot capture + push as a UiDiffMessage baseline.
pushSnapshotNow() → Future<void>
Capture and push now — a delta when the receiver already holds a tree, a full baseline only when it does not (lifecycle flushes).
schedulePush() → void
Schedule a debounced snapshot push.
start({required SendPayload send, required SnapshotFactory captureSnapshot, void onSnapshotCaptured(UiSnapshot snapshot)?, bool canTransmitSnapshot(UiSnapshot snapshot)?, bool canObserveSnapshot(UiSnapshot snapshot)?, bool isPayloadAllowed(Uint8List bytes)?, bool Function() createPayloadGuard(Uint8List bytes)?, bool Function() createDecodedPayloadGuard(String type, Map<String, Object?> payload)?, Uint8List? substituteRejectedPayload(String type, Uint8List bytes, String reason)?, Map<String, Object?> snapshotEnvelope()?, ScrollerResolver? scrollerResolver, HighlightCallback? highlightCallback, BackHandler? onBack, HighlightDispatcher? standaloneHighlightDispatcher, MissionStatusListener? onMissionStatus, MissionOutcomeListener? onMissionTelemetry, StepOutcomeListener? onStepTelemetry, NearMissListener? onNearMiss, bool enableSnapshotPump = true, bool isReady()?}) → Future<void>
Wire the runtime to a LiveKit-bound send callback and a snapshot factory.
stop() → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance → AgentRuntime
no setter

Static Methods

debugReset() → void
Test-only: drop the singleton.