Structs§
- Assembled
Turn - Canonical high-level turn result returned to hosts.
- Assistant
Output - Canonical assistant output payload.
- Background
Runtime Host - Host shape for runtimes that support background plugin work.
- Background
Task Attempt - Background
Task Filter - Background
Task Outcome - Background
Task Record - Serializable host-owned background task record.
- Background
Task Registration - Metadata required to register a local background task.
- Background
Task Scope - Code
Output Record - RLM code execution output observed during a turn.
- Embedded
Runtime Builder - Embedded
Runtime Host - Base host shape for embedded runtimes.
- Execution
Summary - High-level execution summary shared across execution modes.
- Followed
Turn - Result of driving one logical host turn through any foreground handoffs.
- Lash
Runtime - Generic runtime for CLI or programmatic embedding.
- Local
Background Task Host - Tokio-backed background task host shared across runtime sessions.
- Mode
Session Extension Handle - Mode
Turn Extension Handle - Noop
Event Sink - No-op sink useful for callers that only care about final state.
- Noop
Turn Activity Sink - Parked
Session - Lightweight handle returned by
LashRuntime::park. Holds no graph nodes, no plugin session, no HTTP client — just enough toLashRuntime::resumelater. Cheap to cache per-session on a webserver; bounded memory cost regardless of session history size. - Persisted
Session State - Serializable persistence snapshot used by stores, resume, and child session snapshots.
- Prompt
Usage - Exact prompt-usage snapshot from the most recent completed LLM call.
- Runtime
Core Config - Required host configuration for all runtimes.
- Runtime
Environment - Shared runtime infrastructure an embedder builds once and reuses
across every
LashRuntimeit constructs. - Runtime
Environment Builder - Fluent builder for
RuntimeEnvironment. - Runtime
Error - Runtime error for unexpected failures.
- Runtime
Handle - Runtime
Observation - Session
State Envelope - Serializable session read-model exported to hosts and plugins.
- Session
Store Create Request - Session
Usage Report - Termination
Policy - Termination policy knobs.
- Token
Ledger Entry - A single row in the token cost ledger. One per unique
(source, model)pair — accumulated, not per-call. - Turn
Activity - App-facing semantic activity emitted during a turn.
- Turn
Activity Id - Stable identifier for a semantic turn activity.
- Turn
Context - Turn
Input - Host-provided per-turn input.
- Turn
Issue - Structured issue surfaced during turn execution.
- Usage
Report Row - Usage
Totals
Enums§
- Background
Cancel Policy - Background
Close Policy - Background
Task Event - Background
Task Kind - Category of a registered background task.
- Background
Task State - Lifecycle state of a registered background task.
- Input
Item - Host-provided per-turn input.
- Output
State - Quality and usability of assembled terminal output.
- Residency
- Where session nodes live at runtime.
- Turn
Event - App-facing semantic event payload for a turn activity.
Traits§
- Background
Task Host - Host-owned background task lifecycle policy.
- Event
Sink - Host event sink for low-level streaming runtime events.
SessionEventis intentionally mode-specific and should be treated as preview/progress data. - Mode
Session Extension - Mode
Turn Extension - Session
Store Factory - Turn
Activity Sink
Functions§
Type Aliases§
- Background
Task Id - Local
Background Task Cancel - Local-only cancellation hook for in-process tasks such as subagent trees.