AgentCommandRunner class abstract

Runs commands the agent decides to execute, decoupling the agent loop from the concrete transport (ClientRuntime) so it stays browser-safe and unit-testable with a fake.

Constructors

AgentCommandRunner()

Properties

echoesToTerminal bool
Whether the runner already streamed the command's output to the user's terminal (e.g. it ran in the live interactive session). When true, AgentService does not re-print the captured stdout/stderr.
no setter
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
run(String command) Future<CommandRun>
Runs command to completion and returns its captured output.
toString() String
A string representation of this object.
inherited

Operators

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