Expand description
Runtime composition and dispatch for worker-owned agent execution.
Only ag-worker consumes this implementation. Shared execution contracts
live in ag-contracts; concrete provider adapters live in ag-agent.
Structs§
- Real
Agent Availability Probe - Machine-scoped provider discovery through the concrete adapter registry.
- Runtime
Factory - Provider composition configuration. Constructing it starts no processes.
- Session
Runtime - Session runtime whose concrete adapter never escapes to application code.
- Utility
Runtime - Runtime-owned isolated execution and provider cleanup.
Functions§
- cleanup_
session_ worktree_ artifacts - Reclaims adapter-owned resources during workspace deletion.
- dispatch_
sandbox_ helper - Runs the native sandbox helper when a harness started this process as
one and returns its exit code, which
mainmust return at once; otherwise returnsNoneand makes this executable the helper of everysuper::NativeHarnessConfigturn. - setup_
backend - Initializes provider resources in a session workspace.
- supports_
turn_ steering - Whether the selected provider’s session turns accept user prompts while running.
- uses_
persistent_ session - Whether the selected provider retains a process between turns.