AgentCostBridge class abstract final

Pipes agent spend into the ZfaCostLedger the request context owns (issue #2256).

The ledger is the one cost surface the chord runtime already meters and a parent context rolls a child's spend up from, so the agent records into it rather than keeping a second, parallel token counter.

Properties

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

record({required ZfaContext context, required AgentUsage usage}) → void
Records usage on context's ledger.