TtsrMatchContext class final

Context about the stream content currently checked against TTSR rules (omp's TtsrMatchContext, minus file-path candidates).

Constructors

TtsrMatchContext({required TtsrMatchSource source, String? toolName, String? streamKey})
Creates a match context for source.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source TtsrMatchSource
Which stream the delta belongs to.
final
streamKey String?
Stable key isolating buffering (e.g. toolcall:<id>), so concurrent tool-call argument streams don't bleed into each other.
final
toolName String?
Tool name for TtsrMatchSource.tool deltas, e.g. edit.
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