Versions in this module Expand all Collapse all v0 v0.2.0 Nov 22, 2026 v0.1.0 Sep 6, 2026 Changes in this version + const SessionAdapterProfileFormatVersion + func SessionAdapterContract() plugin.Contract + type AdapterBoundary struct + Boundary string + Direction ir.BoundaryDirection + Operation AdapterOperation + Type element.Type + type AdapterFactory func(context.Context, *graphruntime.Mounted, legacy.Options, SessionAdapterProfile) (SessionAdapter, error) + type AdapterOperation string + const AdapterInputAudio + const AdapterInputCancel + const AdapterInputCommitAudio + const AdapterInputCreateResponse + const AdapterInputText + const AdapterInputToolResult + const AdapterInputTruncate + const AdapterInputUpdate + const AdapterInputVideo + const AdapterOutputActivity + const AdapterOutputDebug + const AdapterOutputFailed + const AdapterOutputObservation + const AdapterOutputSpeechAudio + const AdapterOutputSpeechBegin + const AdapterOutputSpeechEnd + const AdapterOutputSpeechText + const AdapterOutputToolCalls + const AdapterOutputTranscript + const AdapterOutputTurnBegin + const AdapterOutputTurnEnd + type AdapterRegistration struct + Artifact inspect.ArtifactIdentity + Factory AdapterFactory + Reference string + func (registration AdapterRegistration) Validate() error + type Binding struct + func New(underlying legacy.Binding) (*Binding, error) + func NewWithConfig(underlying legacy.Binding, config Config) (*Binding, error) + func (binding *Binding) Capabilities() legacy.Capabilities + func (binding *Binding) Graph() ir.Graph + func (binding *Binding) Name() string + func (binding *Binding) Ownership() legacy.Ownership + func (binding *Binding) Start(ctx context.Context, options legacy.Options) (legacy.Runtime, error) + type Config struct + ImplementationArtifact *inspect.ArtifactIdentity + Inspection graphruntime.InspectionConfig + TraceRecording *TraceRecordingConfig + type MountDependencyFactory func(context.Context, legacy.Options) ([]graphruntime.PreparedMountDependency, error) + type NativeBinding struct + func NewNative(config NativeConfig) (*NativeBinding, error) + func (binding *NativeBinding) Graph() ir.Graph + func (binding *NativeBinding) Name() string + func (binding *NativeBinding) SessionAdapterProfile() SessionAdapterProfile + func (binding *NativeBinding) Start(ctx context.Context, options legacy.Options) (legacy.Runtime, error) + type NativeConfig struct + Adapter AdapterRegistration + AdapterProfile SessionAdapterProfile + Catalog graphassembly.Catalog + Inspection graphruntime.InspectionConfig + MountDependencies MountDependencyFactory + Plan *graphconfig.Plan + SecretCatalog *graphsecret.Document + ShutdownTimeout time.Duration + TraceRecording *TraceRecordingConfig + type NativeRuntime struct + func (runtime *NativeRuntime) Audio(ctx context.Context, frame perception.Frame) error + func (runtime *NativeRuntime) Cancel(ctx context.Context, reason string) error + func (runtime *NativeRuntime) Close(ctx context.Context, cause error) error + func (runtime *NativeRuntime) CommitAudio(ctx context.Context) error + func (runtime *NativeRuntime) CreateResponse(ctx context.Context) error + func (runtime *NativeRuntime) Done() <-chan struct{} + func (runtime *NativeRuntime) Graph() ir.Graph + func (runtime *NativeRuntime) Live() inspect.Live + func (runtime *NativeRuntime) RecordedTrace() (inspect.LiveTrace, error) + func (runtime *NativeRuntime) Status() legacy.Status + func (runtime *NativeRuntime) Text(ctx context.Context, input legacy.TextInput) error + func (runtime *NativeRuntime) ToolResult(ctx context.Context, result trajectory.ToolResult) error + func (runtime *NativeRuntime) Trajectory() trajectory.Snapshot + func (runtime *NativeRuntime) Truncate(ctx context.Context, truncation legacy.Truncation) error + func (runtime *NativeRuntime) Update(ctx context.Context, settings legacy.Settings) error + func (runtime *NativeRuntime) Video(ctx context.Context, frame perception.Frame) error + type Runtime struct + func (runtime *Runtime) Audio(ctx context.Context, frame perception.Frame) error + func (runtime *Runtime) Cancel(ctx context.Context, reason string) error + func (runtime *Runtime) Close(ctx context.Context, cause error) error + func (runtime *Runtime) CommitAudio(ctx context.Context) error + func (runtime *Runtime) CreateResponse(ctx context.Context) error + func (runtime *Runtime) Graph() ir.Graph + func (runtime *Runtime) Live() inspect.Live + func (runtime *Runtime) RecordedTrace() (inspect.LiveTrace, error) + func (runtime *Runtime) Status() legacy.Status + func (runtime *Runtime) Text(ctx context.Context, input legacy.TextInput) error + func (runtime *Runtime) ToolResult(ctx context.Context, result trajectory.ToolResult) error + func (runtime *Runtime) Trajectory() trajectory.Snapshot + func (runtime *Runtime) Truncate(ctx context.Context, truncation legacy.Truncation) error + func (runtime *Runtime) Update(ctx context.Context, settings legacy.Settings) error + func (runtime *Runtime) Video(ctx context.Context, frame perception.Frame) error + type SessionAdapter interface + Audio func(context.Context, perception.Frame) error + Cancel func(context.Context, string) error + Close func(context.Context, error) error + CommitAudio func(context.Context) error + CreateResponse func(context.Context) error + Run func(context.Context) error + Text func(context.Context, legacy.TextInput) error + ToolResult func(context.Context, trajectory.ToolResult) error + Trajectory func() trajectory.Snapshot + Truncate func(context.Context, legacy.Truncation) error + Update func(context.Context, legacy.Settings) error + Video func(context.Context, perception.Frame) error + type SessionAdapterProfile struct + Boundaries []AdapterBoundary + BoundaryMapDigest string + Capabilities legacy.Capabilities + Contract plugin.Contract + Fingerprint string + FormatVersion uint64 + GraphFingerprint string + Name string + Ownership legacy.Ownership + ProjectionDigest string + Revision uint64 + func FreezeSessionAdapterProfile(source SessionAdapterProfile) (SessionAdapterProfile, error) + func (profile SessionAdapterProfile) Clone() SessionAdapterProfile + func (profile SessionAdapterProfile) Validate() error + func (profile SessionAdapterProfile) ValidateGraph(graph ir.Graph) error + type TraceRecordingConfig struct + CaptureInterval time.Duration + Limits inspect.TraceLimits + MaxRetainedBytes int