Skip to main content

Crate algocline_core

Crate algocline_core 

Source

Re-exports§

pub use metrics::ExecutionMetrics;
pub use metrics::MetricsObserver;

Modules§

domain
Re-exports for domain types.
metrics

Structs§

Budget
Session-level resource limits.
BudgetHandle
Cheap, cloneable handle for budget checking from the Lua bridge.
CustomMetrics
KV store written from Lua via alc.stats.record(key, value).
CustomMetricsHandle
Cheap, cloneable handle for custom metrics from the Lua bridge.
ExecutionSpec
All information needed to start an execution.
LlmQuery
LLM request emitted during execution. Transport-agnostic (no channel, HTTP, or MCP Sampling details).
PendingQueries
Join barrier that collects N LLM responses.
ProgressHandle
Cheap, cloneable handle for writing progress from the Lua bridge.
ProgressInfo
Structured progress information reported by strategies via alc.progress().
QueryId
Query identifier within a batch.
TokenCount
Accumulated token count with provenance.
TransitionError

Enums§

ExecutionState
FeedError
ResumeOutcome
Return type of Session.resume(). Never returns Running.
TerminalState
Terminal execution state. Only Completed, Failed, or Cancelled.
TokenSource
How a token count was obtained.

Traits§

ExecutionObserver
Observer for execution state transitions.