ObservationDiff class

Top-level diff: per-turn delta over Observation.

Annotations
  • @immutable

Constructors

ObservationDiff({required CoreDiff core, required Map<String, ExtensionDiff> extensions})
const
ObservationDiff.empty()
Empty diff — no route/node/error changes, no extension entries. Used by validation-retry to append synthetic UserTurns carrying only a toolResult (no real observation change).
factory

Properties

core CoreDiff
Diff over the core fragment.
final
extensions Map<String, ExtensionDiff>
Per-namespace extension diff.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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