Expand description
Session-based Lua execution with pause/resume on alc.llm() calls.
Runtime layer: ties Domain (ExecutionState) and Metrics (ExecutionMetrics) together with channel-based Lua pause/resume machinery.
Structs§
- Execution
Result - Session completion data: terminal state + metrics.
- Pending
Filter - Per-field filter controlling which
LlmQueryattributes are projected into a Snapshot’spendingarray. - Session
- A Lua execution session with domain state tracking.
- Session
Registry - Manages active sessions.
Enums§
- Feed
Result - Result of a session interaction (start or feed).
- Prompt
Projection - Prompt projection mode — 3 states rather than a bool so that truncation length can travel inside the filter object.
- Session
Error
Constants§
- DEFAULT_
PROMPT_ PREVIEW_ CHARS - Default preview length (chars) used when
PendingFilter::preset_preview()is constructed without an explicit length. Env varALC_PROMPT_PREVIEW_CHARS(resolved inAppConfig) overrides this.