RelayReadTools class

The relay's READ-ONLY tool surface: the four injected readers behind the four read names, and nothing else.

It owns no writer, no bead service, no process service, no filesystem handle and no mutable store — the only way a caller reaches a session through this object is by reading it.

Constructors

RelayReadTools({required RelayWorktreeReader readWorktree, required RelayFlareTailReader readFlareTail, required RelayTelemetryReader readTelemetry, required RelayGateReader readGate})
Binds the four read tools to their implementations (impls are DI).
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
readFlareTail → RelayFlareTailReader
The flares.read implementation.
final
readGate → RelayGateReader
The gates.read implementation.
final
readTelemetry → RelayTelemetryReader
The telemetry.read implementation.
final
readWorktree → RelayWorktreeReader
The worktree.read implementation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

inspect({required RelayObservation observation, required Set<String> toolNames}) → Future<RelaySessionSnapshot>
Runs all four reads for observation and returns the whole snapshot.
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