ToolCallBudgetEvent class final
A budget-ladder action (issue #1786): an offer surfaced, a call moved to the background, or a call aborted with partial output — every rung lands here, session-visible, so no escalation is ever silent (AC6).
- Inheritance
-
- Object
- AgentEvent
- ToolCallBudgetEvent
Constructors
-
ToolCallBudgetEvent({required String toolCallId, required String toolName, required Map<
String, dynamic> args, required ForegroundBudgetRung rung, required ForegroundBudgetAction action, required Duration elapsed, required int steeringCount, String detail = '', required DateTime timestamp}) -
const
Properties
- action → ForegroundBudgetAction
-
What the supervisor did (or is offering to do).
final
-
args
→ Map<
String, dynamic> -
The parsed tool call arguments.
final
- detail → String
-
The deterministic announcement line (the REG-1 byte-scan target).
final
- elapsed → Duration
-
How long the call had run when the rung fired.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rung → ForegroundBudgetRung
-
Which rung fired (1 = offer/auto, 2 = force, 3 = watchdog).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- steeringCount → int
-
Steering messages queued at fire time (the count the escalation
delivers into the next turn through the existing boundary drain).
final
- timestamp → DateTime
-
When the rung fired.
final
- toolCallId → String
-
The ToolCall.id the ladder acted on.
final
- toolName → String
-
The tool's name.
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