Expand description
Extension runner for tools and agent spawning
Provides:
- Tool execution via registered functions
- Async agent spawning without tmux
- Bounded concurrent execution (mapWithConcurrencyLimit pattern)
Structs§
- Agent
Result - Result from an agent execution
- Agent
Runner - Runner for managing multiple concurrent agent executions
- Concurrent
Spawn Config - Configuration for bounded concurrent spawning
- Concurrent
Spawn Result - Result from a concurrent spawn operation
- Extension
Runner - Extension runner for executing extension-provided tools
- Spawn
Config - Configuration for spawning an agent
- Tool
Call Result - Result from a tool call execution
Enums§
- Agent
Event - Event emitted during agent execution
- Extension
Runner Error - Error type for extension runner operations
Functions§
- load_
agent_ config - Load and resolve agent configuration for a task
- map_
with_ concurrency_ limit - Execute async operations with bounded concurrency (mapWithConcurrencyLimit pattern)
- map_
with_ concurrency_ limit_ ordered - Execute async operations with bounded concurrency, preserving input order
- spawn_
agent - Spawn a single agent as an async subprocess
- spawn_
agents_ concurrent - Spawn multiple agents with advanced concurrency control
- spawn_
agents_ with_ limit - Spawn multiple agents with bounded concurrency
- spawn_
subagent - Subagent spawn helper for use within extensions