Skip to main content Module plugin Copy item path Source pub use runtime_host::AppendSessionNodesRequest ;pub use runtime_host::AppendSessionNodesResult ;pub use runtime_host::DirectCompletion ;pub use runtime_host::DirectLlmCompletion ;runtime_host AckWakeArgs AssistantResponseHookContext AssistantResponseTransform AssistantStreamHookContext AssistantStreamTransform CheckpointApplication CheckpointHookContext HistoryRegistrations HistoryRewriteMetadata Metadata accumulated as a history rewrite pipeline runs. HistoryState Mutable state passed through the history rewrite pipeline. ModeBeforeLlmCallContext ModeExtras Mode-specific extras carried on a SessionCreateRequest. ModeRegistrations ModeRuntimeContext Narrow wrapper around LashRuntime that mode plugins use when
configuring the runtime from a fresh SessionCreateRequest. ModeSessionContext Narrow wrapper around Session that mode plugins use to
initialize, restore, and extend their per-session state. MonitorAckWakeOp MonitorEmptyArgs MonitorRegisterSpecsOp MonitorRegistrations MonitorStartOp MonitorStatusOp MonitorStopOp MonitorTakeUpdatesOp OutputRegistrations OwnedMonitorSpec PersistentRuntimeServices PluginAbort PluginActionContext PluginActionDef PluginActionFailure PluginActionRegistrations PluginHost PluginMessage PluginOwned PluginRegistrar PluginSession PluginSessionContext PluginSessionSnapshot PluginSnapshotArtifact PluginSnapshotEntry PluginSnapshotMeta PluginSpec PluginSpecFactory PrepareTurnRequest PromptContribution PromptHookContext PromptRegistrations RegisterSpecsArgs RewriteContext Context passed to a history rewriter. RuntimeServices SessionAuthorityContext SessionConfigChangedContext SessionContextSurface SessionCreateRequest SessionHandle SessionReadView SessionReadyContext SessionRegistrations SessionStateChangedContext SessionToolAccess SessionTurnHandle StandardCreateExtras StartMonitorArgs StaticPluginFactory StopMonitorArgs SubagentSessionAuthority SurfaceRegistrations ToolCallHookContext ToolCallRegistrations ToolDiscoveryContext ToolDiscoveryContribution ToolDiscoveryToolContribution ToolOutputBudgetConfig ToolOutputBudgetPluginFactory ToolRegistrations ToolResultHookContext ToolResultProjectionContext ToolResultRegistrations ToolSurfaceContext ToolSurfaceContribution ToolSurfaceOverride TurnFinalization TurnHookContext TurnPreparation TurnRegistrations TurnResultHookContext TurnResultSummary TurnTransformContext Context passed to a turn-context transform. CheckpointKind HistoryError ModeLlmCallAction PluginActionInvokeError PluginActionKind PluginDirective PluginError PluginRuntimeEvent PluginSurfaceEvent RewriteTrigger Reason the history pipeline is being invoked. SessionAppendNode Per-execution-mode configuration carried on a SessionCreateRequest. SessionParam SessionPluginMode SessionRelation SessionStartPoint ToolOutputBudgetMode DEFAULT_TOOL_OUTPUT_BUDGET_LIMIT_BYTES DEFAULT_TOOL_OUTPUT_BUDGET_MAX_LINES HistoryRewriter Performs a permanent transform on persisted history (compaction,
overflow recovery, manual /compact, …). ModeNativeToolsPlugin ModeProtocolDriverPlugin Singleton plugin slot that owns the ProtocolDriverHandle and
associated preamble (prompt text, tool surface, sync/async flag)
for a given execution mode. Mode-specific crates
(lash-mode-standard, lash-mode-rlm) register one implementation
each; the runtime picks the one whose mode_id matches the session
policy’s execution mode, falling back to build_mode_preamble
when no plugin claims the slot. ModeSessionPlugin Session-scoped plugin that initializes, restores, and extends mode
state across a session’s lifecycle. External mode crates implement
this via context wrappers (ModeSessionContext ,
ModeRuntimeContext ) so they don’t need direct access to
Session/LashRuntime internals — the context narrows what a
plugin can poke at to the capabilities any execution mode
reasonably needs. PluginAction PluginFactory Registers a plugin with the runtime and produces a per-session
SessionPlugin instance for each new session. SessionPlugin SnapshotReader SnapshotWriter TurnContextTransform Prepares the ephemeral turn context presented to the model. observation_projection_metadata plugin_action_def project_observation_text truncate_observation_text AfterToolCallHook AfterTurnHook AssistantResponseHook AssistantStreamHook BeforeToolCallHook BeforeTurnHook CheckpointHook PluginActionFuture PluginActionHandler PluginActionInvokeFuture PluginFuture PluginRuntimeEventHook PluginSessionTask PluginSpecBuilder PromptContributor SessionConfigMutator SessionSnapshot ToolDiscoveryContributor ToolResultProjector ToolSurfaceContributor