Re-exports§
pub use metrics::ExecutionMetrics;pub use metrics::MetricsObserver;
Modules§
Structs§
- Budget
- Session-level resource limits.
- Budget
Handle - Cheap, cloneable handle for budget checking from the Lua bridge.
- Custom
Metrics - KV store written from Lua via alc.stats.record(key, value).
- Custom
Metrics Handle - Cheap, cloneable handle for custom metrics from the Lua bridge.
- Execution
Spec - All information needed to start an execution.
- LlmQuery
- LLM request emitted during execution. Transport-agnostic (no channel, HTTP, or MCP Sampling details).
- Pending
Queries - Join barrier that collects N LLM responses.
- Progress
Handle - Cheap, cloneable handle for writing progress from the Lua bridge.
- Progress
Info - Structured progress information reported by strategies via
alc.progress(). - QueryId
- Query identifier within a batch.
- Token
Count - Accumulated token count with provenance.
- Transition
Error
Enums§
- Execution
State - Feed
Error - Resume
Outcome - Return type of Session.resume(). Never returns Running.
- Terminal
State - Terminal execution state. Only Completed, Failed, or Cancelled.
- Token
Source - How a token count was obtained.
Traits§
- Execution
Observer - Observer for execution state transitions.