Skip to main content

Module plugin

Module plugin 

Source

Re-exports§

pub use runtime_host::AppendSessionNodesRequest;
pub use runtime_host::AppendSessionNodesResult;
pub use runtime_host::DirectCompletion;
pub use runtime_host::DirectLlmCompletion;
pub use runtime_host::SessionGraphService;
pub use runtime_host::SessionLifecycleService;
pub use runtime_host::SessionStateService;
pub use runtime_host::SessionTurnInput;
pub use runtime_host::SessionTurnRequest;

Modules§

runtime_host

Structs§

AgentFrameAssignment
AgentFrameReason
AgentFrameRecord
AssistantResponseHookContext
AssistantResponseTransform
AssistantStreamHookContext
AssistantStreamTransform
CheckpointApplication
CheckpointHookContext
CompactionContext
Context passed to an explicit compactor.
ContextCompaction
ContextRegistrations
ExecutionRegistrations
HostEventRegistrations
OpenAgentFrameRequest
OpenAgentFrameResult
OutputRegistrations
PersistentRuntimeServices
PluginAbort
PluginActionContext
PluginActionDef
PluginActionFailure
PluginActionRegistrations
PluginHost
PluginMessage
PluginOptions
Plugin-owned options carried on a SessionCreateRequest.
PluginOwned
PluginRegistrar
PluginSession
PluginSessionContext
PluginSessionSnapshot
PluginSnapshotArtifact
PluginSnapshotEntry
PluginSnapshotMeta
PluginSpec
PluginSpecFactory
PrepareTurnRequest
PromptContribution
PromptHookContext
PromptRegistrations
ProtocolBeforeLlmCallContext
ProtocolRegistrations
ProtocolRuntimeContext
Narrow wrapper around LashRuntime that protocol plugins use when configuring the runtime from a fresh SessionCreateRequest.
ProtocolSessionContext
Narrow wrapper around Session that protocol plugins use to initialize, restore, and extend their per-session state.
RuntimeServices
SessionAuthorityContext
SessionConfigChangedContext
SessionContextSurface
SessionCreateRequest
SessionHandle
SessionReadView
SessionReadyContext
SessionRegistrations
SessionSnapshot
SessionStateChangedContext
SessionToolAccess
StaticPluginFactory
SubagentSessionContext
SurfaceRegistrations
ToolCallHookContext
ToolCallRegistrations
ToolDiscoveryContext
ToolDiscoveryContribution
ToolDiscoveryToolContribution
ToolRegistrations
ToolResultHookContext
ToolResultProjectionContext
ToolResultRegistrations
ToolSurfaceContext
ToolSurfaceContribution
ToolSurfaceOverride
TurnFinalization
TurnHookContext
TurnPreparation
TurnRegistrations
TurnResultHookContext
TurnResultSummary
TurnTransformContext
Context passed to a turn-context transform.

Enums§

AgentFrameStatus
CheckpointKind
ContextError
PluginActionInvokeError
PluginActionKind
PluginDirective
PluginError
PluginLifecycleEvent
PluginRuntimeEvent
ProtocolLlmCallAction
SessionAppendNode
Plugin-owned payloads carried on a SessionCreateRequest.
SessionParam
SessionPluginSource
SessionRelation
SessionStartPoint

Traits§

AssistantProseProjectorPlugin
CodeExecutorPlugin
ContextCompactor
Produces seed nodes for an explicit compaction Agent Frame.
PluginAction
PluginFactory
Registers a plugin with the runtime and produces a per-session SessionPlugin instance for each new session.
ProtocolDriverPlugin
Singleton plugin slot that owns the ProtocolDriverHandle and associated preamble (prompt text, tool surface, sync/async flag) for this session. Plugin stack construction must install exactly one implementation.
ProtocolSessionPlugin
Session-scoped plugin that initializes, restores, and extends protocol state across a session’s lifecycle. External protocol crates implement this via context wrappers (ProtocolSessionContext, ProtocolRuntimeContext) so they don’t need direct access to Session/LashRuntime internals — the context narrows what a plugin can poke at to the capabilities any protocol reasonably needs.
SessionPlugin
SnapshotReader
SnapshotWriter
TurnContextTransform
Prepares the ephemeral turn context presented to the model.

Functions§

plugin_action_def

Type Aliases§

AfterToolCallHook
AfterTurnHook
AgentFrameId
AssistantResponseHook
AssistantStreamHook
BeforeToolCallHook
BeforeTurnHook
CheckpointHook
PluginActionFuture
PluginActionHandler
PluginActionInvokeFuture
PluginFuture
PluginLifecycleEventHook
PluginLifecycleFuture
PluginSessionTask
PluginSpecBuilder
PromptContributor
SessionConfigMutator
ToolDiscoveryContributor
ToolResultProjector
ToolSurfaceContributor