Versions in this module Expand all Collapse all v0 v0.1.2 Jul 15, 2026 v0.1.1 Jul 15, 2026 v0.1.0 Jul 14, 2026 Changes in this version + func Serve(ctx context.Context, in io.Reader, out io.Writer, handlers Handlers, ...) error + type AgentRunHeartbeatRequest struct + Channel string + Confidence string + Emitter string + Environment string + ID string + ObservedAt *time.Time + Provenance background.EventProvenance + SourceKind string + Status string + TransportAlive *bool + type AgentRunIDRequest struct + ID string + type AgentRunLogsRequest struct + ID string + Limit int64 + type AgentRunsBoardRequest struct + Agent string + SessionID string + StalledAfterMS int + StalledAfterSeconds int + type AgentRunsListRequest struct + Agent string + SessionID string + type AgentRunsPruneRequest struct + Keep *int + OlderThanDays int + OlderThanSeconds int + type BackgroundBoardRequest struct + StalledAfterMS int + StalledAfterSeconds int + type BackgroundHeartbeatRequest struct + Channel string + Confidence string + Emitter string + Environment string + ID string + ObservedAt *time.Time + Provenance background.EventProvenance + SourceKind string + Status string + TransportAlive *bool + type BackgroundIDRequest struct + ID string + type BackgroundListRequest struct + Kind string + SessionID string + type BackgroundLogsRequest struct + ID string + Limit int64 + type BackgroundPruneRequest struct + Keep *int + OlderThanDays int + OlderThanSeconds int + type BackgroundRunRequest struct + Command string + Kind string + Owner string + RestartPolicy *background.RestartPolicy + ScopeBinding background.ScopeBinding + SessionID string + WatcherAction string + WorkflowScope string + type BackgroundSuperviseRequest struct + Now *time.Time + type BackgroundWatchRequest struct + ID string + IntervalMS int + MaxEvents int + Offset int64 + type BridgeFaultRecordRequest struct + Action string + Args []string + type CodeCompletionRequest struct + Limit int + Query string + type CodeDefinitionRequest struct + Symbol string + type CodeFormatRequest struct + Path string + Write bool + type CodeHoverRequest struct + ContextLines int + Symbol string + type CodeReferencesRequest struct + Limit int + Symbol string + type CodeSymbolsRequest struct + Path string + type DiagnosticsRequest struct + Patterns []string + type EditorIdentifyRequest struct + Editor string + Token string + Version string + Workspace string + type EditorOpenRequest struct + Path string + type EditorSelectionRequest struct + EndColumn int + EndLine int + Path string + StartColumn int + StartLine int + Text string + type Handlers struct + AgentRunsBoard func(context.Context, AgentRunsBoardRequest) (any, error) + AgentRunsGet func(context.Context, AgentRunIDRequest) (any, error) + AgentRunsHeartbeat func(context.Context, AgentRunHeartbeatRequest) (any, error) + AgentRunsList func(context.Context, AgentRunsListRequest) (any, error) + AgentRunsLogs func(context.Context, AgentRunLogsRequest) (any, error) + AgentRunsPrune func(context.Context, AgentRunsPruneRequest) (any, error) + AgentRunsStop func(context.Context, AgentRunIDRequest) (any, error) + AppendInput func(context.Context, SessionAppendInputRequest) (SessionMutationResult, error) + AppendMessage func(context.Context, SessionAppendMessageRequest) (SessionMutationResult, error) + BackgroundBoard func(context.Context, BackgroundBoardRequest) (any, error) + BackgroundGet func(context.Context, BackgroundIDRequest) (any, error) + BackgroundHeartbeat func(context.Context, BackgroundHeartbeatRequest) (any, error) + BackgroundList func(context.Context, BackgroundListRequest) (any, error) + BackgroundLogs func(context.Context, BackgroundLogsRequest) (any, error) + BackgroundPrune func(context.Context, BackgroundPruneRequest) (any, error) + BackgroundRestart func(context.Context, BackgroundIDRequest) (any, error) + BackgroundRun func(context.Context, BackgroundRunRequest) (any, error) + BackgroundStop func(context.Context, BackgroundIDRequest) (any, error) + BackgroundSupervise func(context.Context, BackgroundSuperviseRequest) (any, error) + BackgroundWatch func(context.Context, BackgroundWatchRequest, func(background.WatchEvent) error) (any, error) + BridgeFaultsClear func(context.Context) (any, error) + BridgeFaultsList func(context.Context) (any, error) + BridgeFaultsRecord func(context.Context, BridgeFaultRecordRequest) (any, error) + CodeCompletion func(context.Context, CodeCompletionRequest) (any, error) + CodeDefinition func(context.Context, CodeDefinitionRequest) (any, error) + CodeFormat func(context.Context, CodeFormatRequest) (any, error) + CodeHover func(context.Context, CodeHoverRequest) (any, error) + CodeReferences func(context.Context, CodeReferencesRequest) (any, error) + CodeSymbols func(context.Context, CodeSymbolsRequest) (any, error) + DeleteSession func(context.Context, SessionLookupRequest) (SessionMutationResult, error) + DiagnosticsGo func(context.Context, DiagnosticsRequest) (any, error) + EditorIdentify func(context.Context, EditorIdentifyRequest) (any, error) + EditorOpen func(context.Context, EditorOpenRequest) (any, error) + EditorSelection func(context.Context, EditorSelectionRequest) (any, error) + EditorState func(context.Context) (any, error) + FileDiff func(context.Context, workspaceops.DiffOptions) (workspaceops.DiffResult, error) + FileEdit func(context.Context, workspaceops.EditOptions) (workspaceops.EditResult, error) + FileRead func(context.Context, workspaceops.ReadOptions) (workspaceops.ReadResult, error) + FileWrite func(context.Context, workspaceops.WriteOptions) (workspaceops.WriteResult, error) + ForkSession func(context.Context, SessionForkRequest) (SessionMutationResult, error) + GetSession func(context.Context, SessionLookupRequest) (SessionDetail, error) + History func(context.Context, SessionHistoryRequest) (SessionHistory, error) + LSPActions func(context.Context) (any, error) + LSPDiscover func(context.Context) (any, error) + LSPList func(context.Context) (any, error) + LSPQuery func(context.Context, LSPQueryRequest) (any, error) + LSPStart func(context.Context, LSPStartRequest) (any, error) + LSPStatus func(context.Context, LSPStatusRequest) (any, error) + LSPStop func(context.Context, LSPStopRequest) (any, error) + ListSessions func(context.Context) (SessionList, error) + MCPAuth func(context.Context, MCPServerRequest) (any, error) + MCPCall func(context.Context, MCPCallRequest) (any, error) + MCPList func(context.Context, MCPListRequest) (any, error) + MCPPrompt func(context.Context, MCPPromptRequest) (any, error) + MCPPrompts func(context.Context, MCPServerRequest) (any, error) + MCPRead func(context.Context, MCPReadRequest) (any, error) + MCPResourceTemplates func(context.Context, MCPServerRequest) (any, error) + MCPResources func(context.Context, MCPServerRequest) (any, error) + MCPShow func(context.Context, MCPServerRequest) (any, error) + MCPTools func(context.Context, MCPServerRequest) (any, error) + NewSession func(context.Context) (SessionInfo, error) + NotebookEdit func(context.Context, NotebookEditRequest) (any, error) + NotebookRead func(context.Context, NotebookReadRequest) (any, error) + OpenSession func(context.Context, SessionOpenRequest) (SessionDetail, error) + Prompt func(context.Context, PromptRequest) (PromptResult, error) + PruneSessions func(context.Context, SessionPruneRequest) (any, error) + RenameSession func(context.Context, SessionRenameRequest) (SessionMutationResult, error) + RewindSession func(context.Context, SessionRewindRequest) (SessionRewindResult, error) + Status func(context.Context) (any, error) + WorkspaceFiles func(context.Context, workspaceops.FilesOptions) (workspaceops.FilesResult, error) + WorkspaceInfo func(context.Context) (workspaceops.InfoResult, error) + WorkspaceSearch func(context.Context, workspaceops.SearchOptions) (workspaceops.SearchResult, error) + type LSPQueryRequest struct + Action string + Apply bool + Arguments []any + Character int + CodeActionTitle string + FilePath string + Language string + Line int + NewName string + Path string + Query string + TimeoutMS int + Write bool + type LSPStartRequest struct + CommandArgs []string + Language string + type LSPStatusRequest struct + Language string + type LSPStopRequest struct + Language string + type MCPCallRequest struct + Arguments json.RawMessage + Server string + Tool string + type MCPListRequest struct + Inspect *bool + type MCPPromptRequest struct + Arguments json.RawMessage + Name string + Prompt string + Server string + type MCPReadRequest struct + Server string + URI string + type MCPServerRequest struct + Name string + Server string + type NotebookEditRequest struct + CellID string + CellIndex *int + CellType string + EditMode string + Index *int + Mode string + NewSource *string + NotebookPath string + Path string + Source *string + Type string + type NotebookReadRequest struct + CellIndex *int + IncludeOutputs bool + Index *int + Limit int + NotebookPath string + Outputs *bool + Path string + type Options struct + Version string + Workspace string + type PromptRequest struct + Prompt string + SessionID string + type PromptResult struct + Output string + SessionID string + type SessionAppendInputRequest struct + Input string + SessionID string + type SessionAppendMessageRequest struct + Message *anthropic.Message + Role string + SessionID string + Text string + type SessionDetail struct + BranchName string + CreatedAtMS int64 + Lifecycle SessionLifecycle + MessageCount int + Messages any + ModifiedEpochMillis int64 + ParentSessionID string + Path string + SessionID string + UpdatedAtMS int64 + Workspace string + type SessionForkRequest struct + BranchName string + SessionID string + type SessionHistory struct + Count int + Entries any + Kind string + SessionID string + type SessionHistoryRequest struct + Limit int + SessionID string + type SessionInfo struct + SessionID string + Workspace string + type SessionLifecycle struct + Abandoned bool + Kind string + Saved bool + Signal string + type SessionList struct + Count int + Kind string + Sessions []SessionSummary + Workspace string + type SessionLookupRequest struct + SessionID string + type SessionMutationResult struct + Action string + Kind string + MessageCount int + NewSessionID string + Path string + SessionID string + Status string + type SessionOpenRequest struct + SessionID string + type SessionPruneRequest struct + Confirm bool + EmptyOnly *bool + ExcludeID string + Keep int + type SessionRenameRequest struct + NewSessionID string + SessionID string + type SessionRewindRequest struct + RemoveMessages int + SessionID string + type SessionRewindResult struct + Action string + Kind string + OriginalMessages int + Path string + RemainingMessages int + RemovedMessages int + SessionID string + Status string + type SessionSummary struct + BranchName string + CreatedAtMS int64 + Lifecycle SessionLifecycle + MessageCount int + ModifiedEpochMillis int64 + ParentSessionID string + Path string + SessionID string + UpdatedAtMS int64 + Workspace string