Versions in this module Expand all Collapse all v0 v0.2.0 Nov 22, 2026 Changes in this version + type RemoteStatus struct + ContextWindowRatio float64 + ExpiresAt int64 + OpenDelegation string + SessionID string + UsageSeconds float64 type Status + Remote *RemoteStatus v0.1.0 Sep 6, 2026 Changes in this version + const TurnIncompleteTokens + var ErrUnsupported = errors.New("capability not supported by this binding") + type ActivityEvent struct + AudioEndMS int + AudioStartMS int + Committed bool + ItemID string + Started bool + Stopped bool + type ArchitectureIdentity struct + Fingerprint string + ID string + Revision int + func (identity ArchitectureIdentity) Empty() bool + type Binding interface + Capabilities func() Capabilities + Name func() string + Ownership func() Ownership + Start func(context.Context, Options) (Runtime, error) + type Capabilities struct + ComputerUse bool + FastSlow bool + ManualTurns bool + MaxOutputTokens int + Observations bool + Observers []string + Stack StackCapabilities + Video bool + Voice VoiceControl + type DebugEvent struct + Attributes map[string]any + Category string + CorrelationID string + DurationMS float64 + Message string + Name string + Payload map[string]any + Phase string + type DebugSink interface + Debug func(context.Context, DebugEvent) error + type ErrorEvent struct + Code string + Message string + type Image struct + Bytes []byte + Height int + MIMEType string + Width int + type InteractionControl struct + Arbitration string + Selectors InteractionControllers + type InteractionControllers struct + Native bool + Predicates bool + Remote bool + TextPolicy bool + func (controllers InteractionControllers) Merge(other InteractionControllers) InteractionControllers + func (controllers InteractionControllers) Names() []string + type InteractionEvidenceCapabilities struct + AcousticActivity bool + Addressing bool + ConversationState bool + DirectVisualInput bool + NativeModelState bool + SilenceClock bool + SpeakerIdentity bool + ToolState bool + Transcript bool + VisualDescription bool + func (capabilities InteractionEvidenceCapabilities) Merge(other InteractionEvidenceCapabilities) InteractionEvidenceCapabilities + func (capabilities InteractionEvidenceCapabilities) Missing(required InteractionEvidenceCapabilities) []string + func (capabilities InteractionEvidenceCapabilities) Names() []string + func (capabilities InteractionEvidenceCapabilities) Satisfies(required InteractionEvidenceCapabilities) bool + type InteractionStatus struct + ActHandoff string + Control InteractionControl + DecisionTimeoutMS int + Evidence string + EvidenceCapabilities InteractionEvidenceCapabilities + NativeSuppression string + ProtocolVersion int + Recognizer string + RecognizerRevision string + Transport string + type Options struct + Policies *interaction.Policies + SessionID string + Settings Settings + Sink Sink + type Owner string + const OwnerEngine + const OwnerModel + const OwnerRemote + type Ownership struct + Action Owner + FastCognition Owner + Floor Owner + Interaction Owner + Perception Owner + SlowCognition Owner + func (ownership Ownership) Effective() Ownership + func (ownership Ownership) Validate() error + type Registry struct + func NewRegistry() *Registry + func (registry *Registry) Lookup(name string) (Binding, error) + func (registry *Registry) Names() []string + func (registry *Registry) Register(binding Binding) error + type Runtime 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 + Status func() Status + Text func(context.Context, TextInput) error + ToolResult func(context.Context, trajectory.ToolResult) error + Trajectory func() trajectory.Snapshot + Truncate func(context.Context, Truncation) error + Update func(context.Context, Settings) error + Video func(context.Context, perception.Frame) error + type Settings struct + Gate perception.GateConfig + Instruction string + ManualTurns bool + Modalities []string + Observers []string + Tools []action.ToolSpec + Voice string + func CloneSettings(settings Settings) Settings + type Sink interface + Activity func(context.Context, ActivityEvent) error + Failed func(context.Context, ErrorEvent) + Observation func(context.Context, perception.Observation) error + SpeechAudio func(context.Context, action.Utterance, action.Frame) error + SpeechBegin func(context.Context, action.Utterance) error + SpeechEnd func(context.Context, action.Utterance, action.Outcome) error + SpeechText func(context.Context, action.Utterance, string) error + ToolCalls func(context.Context, ToolCallEvent) error + Transcript func(context.Context, TranscriptEvent) error + TurnBegin func(context.Context) error + TurnEnd func(context.Context, TurnOutcome) error + type SpeechReservationSink interface + SpeechReservationCancelled func(context.Context, action.Utterance) + SpeechReserved func(context.Context, action.Utterance) error + type StackCapabilities struct + AudioInput bool + AudioOutput bool + ConcurrentIO bool + InteractionActs bool + NativeFloor bool + NativeInteraction bool + TextInjection bool + Transcription bool + TurnGeneration bool + VisualInput bool + func (capabilities StackCapabilities) Merge(other StackCapabilities) StackCapabilities + func (capabilities StackCapabilities) Missing(required StackCapabilities) []string + func (capabilities StackCapabilities) Names() []string + func (capabilities StackCapabilities) Satisfies(required StackCapabilities) bool + type Status struct + Architecture ArchitectureIdentity + Binding string + Fast string + Graph ArchitectureIdentity + Interaction InteractionStatus + Observers []string + Ownership Ownership + Perception string + PerceptionRevision string + Policies interaction.Report + Profile string + Reflex string + Slow string + SpeakerIdentity string + SpeakerIdentityRevision string + Speech string + SpeechRevision string + Stack StackCapabilities + Tools ToolStatus + VisualNarrator string + type TextInput struct + Images []Image + ItemID string + OccurredNS uint64 + Role string + Text string + type ToolCallEvent struct + Calls []trajectory.ToolCall + InvocationID string + Usage *continuation.Usage + type ToolStatus struct + Authorization string + Execution string + Fast string + Slow string + type TranscriptEvent struct + DurationSec float64 + Final bool + ItemID string + Text string + type Truncation struct + AudioEndMS int + ItemID string + type TurnOutcome struct + Detail string + Incomplete bool + Reason string + type VoiceControl struct + InForce string + Selectable bool