API Reference opencode_sdk v#0.1.13

Copy Markdown View Source

Modules

Unofficial OpenCode SDK for Elixir.

HTTP client used by generated operations.

Provides struct and type for a APIError

Provides struct and type for a APIErrorData

Provides struct and type for a Agent

Provides struct and type for a AgentConfig

Provides struct and type for a AgentModel

Provides struct and type for a AgentPart

Provides struct and type for a AgentPartInput

Provides struct and type for a AgentPartInputSource

Provides struct and type for a AgentPartSource

Provides struct and type for a ApiAuth

Provides struct and type for a AssistantMessage

Provides struct and type for a AssistantMessagePath

Provides struct and type for a AssistantMessageTime

Provides struct and type for a AssistantMessageTokens

Provides struct and type for a AssistantMessageTokensCache

Provides struct and type for a BadRequestError

Provides struct and type for a Command

Provides struct and type for a CompactionPart

Provides struct and type for a Config

Provides struct and type for a ConfigAgent

Provides struct and type for a ConfigCompaction

Provides struct and type for a ConfigEnterprise

Provides struct and type for a ConfigExperimental

Provides struct and type for a ConfigMode

Provides struct and type for a ConfigSkills

Provides struct and type for a ConfigTui

Provides struct and type for a ConfigTuiScrollAcceleration

Provides struct and type for a ConfigWatcher

Provides struct and type for a ContextOverflowError

Provides struct and type for a ContextOverflowErrorData

Provides struct and type for a EventCommandExecuted

Provides struct and type for a EventCommandExecutedProperties

Provides struct and type for a EventFileEdited

Provides struct and type for a EventFileEditedProperties

Provides struct and type for a EventFileWatcherUpdated

Provides struct and type for a EventFileWatcherUpdatedProperties

Provides struct and type for a EventGlobalDisposed

Provides struct and type for a EventInstallationUpdateAvailable

Provides struct and type for a EventInstallationUpdateAvailableProperties

Provides struct and type for a EventInstallationUpdated

Provides struct and type for a EventInstallationUpdatedProperties

Provides struct and type for a EventLspClientDiagnostics

Provides struct and type for a EventLspClientDiagnosticsProperties

Provides struct and type for a EventLspUpdated

Provides struct and type for a EventMcpBrowserOpenFailed

Provides struct and type for a EventMcpBrowserOpenFailedProperties

Provides struct and type for a EventMcpToolsChanged

Provides struct and type for a EventMcpToolsChangedProperties

Provides struct and type for a EventMessagePartDelta

Provides struct and type for a EventMessagePartDeltaProperties

Provides struct and type for a EventMessagePartRemoved

Provides struct and type for a EventMessagePartRemovedProperties

Provides struct and type for a EventMessagePartUpdated

Provides struct and type for a EventMessagePartUpdatedProperties

Provides struct and type for a EventMessageRemoved

Provides struct and type for a EventMessageRemovedProperties

Provides struct and type for a EventMessageUpdated

Provides struct and type for a EventMessageUpdatedProperties

Provides struct and type for a EventPermissionAsked

Provides struct and type for a EventPermissionReplied

Provides struct and type for a EventPermissionRepliedProperties

Provides struct and type for a EventProjectUpdated

Provides struct and type for a EventPtyCreated

Provides struct and type for a EventPtyCreatedProperties

Provides struct and type for a EventPtyDeleted

Provides struct and type for a EventPtyDeletedProperties

Provides struct and type for a EventPtyExited

Provides struct and type for a EventPtyExitedProperties

Provides struct and type for a EventPtyUpdated

Provides struct and type for a EventPtyUpdatedProperties

Provides struct and type for a EventQuestionAsked

Provides struct and type for a EventQuestionRejected

Provides struct and type for a EventQuestionRejectedProperties

Provides struct and type for a EventQuestionReplied

Provides struct and type for a EventQuestionRepliedProperties

Provides struct and type for a EventServerConnected

Provides struct and type for a EventServerInstanceDisposed

Provides struct and type for a EventServerInstanceDisposedProperties

Provides struct and type for a EventSessionCompacted

Provides struct and type for a EventSessionCompactedProperties

Provides struct and type for a EventSessionCreated

Provides struct and type for a EventSessionCreatedProperties

Provides struct and type for a EventSessionDeleted

Provides struct and type for a EventSessionDeletedProperties

Provides struct and type for a EventSessionDiff

Provides struct and type for a EventSessionDiffProperties

Provides struct and type for a EventSessionError

Provides struct and type for a EventSessionErrorProperties

Provides struct and type for a EventSessionIdle

Provides struct and type for a EventSessionIdleProperties

Provides struct and type for a EventSessionStatus

Provides struct and type for a EventSessionStatusProperties

Provides struct and types for a EventSessionStatusPropertiesStatus

Provides struct and type for a EventSessionUpdated

Provides struct and type for a EventSessionUpdatedProperties

Provides struct and type for a EventTodoUpdated

Provides struct and type for a EventTodoUpdatedProperties

Provides struct and type for a EventTuiCommandExecute

Provides struct and type for a EventTuiCommandExecuteProperties

Provides struct and type for a EventTuiPromptAppend

Provides struct and type for a EventTuiPromptAppendProperties

Provides struct and type for a EventTuiSessionSelect

Provides struct and type for a EventTuiSessionSelectProperties

Provides struct and type for a EventTuiToastShow

Provides struct and type for a EventTuiToastShowProperties

Provides struct and type for a EventVcsBranchUpdated

Provides struct and type for a EventVcsBranchUpdatedProperties

Provides struct and type for a EventWorkspaceFailed

Provides struct and type for a EventWorkspaceFailedProperties

Provides struct and type for a EventWorkspaceReady

Provides struct and type for a EventWorkspaceReadyProperties

Provides struct and type for a EventWorktreeFailed

Provides struct and type for a EventWorktreeFailedProperties

Provides struct and type for a EventWorktreeReady

Provides struct and type for a EventWorktreeReadyProperties

Provides struct and type for a File

Provides struct and type for a FileContent

Provides struct and type for a FileContentPatch

Provides struct and type for a FileContentPatchHunks

Provides struct and type for a FileDiff

Provides struct and type for a FileNode

Provides struct and type for a FilePart

Provides struct and type for a FilePartInput

Provides struct and type for a FilePartSourceText

Provides struct and type for a FileSource

Provides struct and type for a FormatterStatus

Provides struct and type for a GlobalEvent

Provides struct and type for a GlobalSession

Provides struct and type for a GlobalSessionRevert

Provides struct and type for a GlobalSessionShare

Provides struct and type for a GlobalSessionSummary

Provides struct and type for a GlobalSessionTime

Provides struct and type for a KeybindsConfig

Provides struct and type for a LSPStatus

Provides struct and type for a MCPStatusConnected

Provides struct and type for a MCPStatusDisabled

Provides struct and type for a MCPStatusFailed

Provides struct and type for a MCPStatusNeedsAuth

Provides struct and type for a MCPStatusNeedsClientRegistration

Provides struct and type for a McpLocalConfig

Provides struct and type for a McpOAuthConfig

Provides struct and type for a McpRemoteConfig

Provides struct and type for a MessageAbortedError

Provides struct and type for a MessageAbortedErrorData

Provides struct and type for a MessageOutputLengthError

Provides struct and type for a MessageRequest

Provides struct and type for a MessageResponse

Provides struct and type for a NotFoundError

Provides struct and type for a NotFoundErrorData

Provides struct and type for a OAuth

Provides API endpoints related to operations

Provides struct and type for a OutputFormatJsonSchema

Provides struct and type for a OutputFormatText

Provides struct and type for a Part

Provides struct and type for a PatchPart

Provides struct and type for a Path

Provides struct and type for a PermissionRequest

Provides struct and type for a PermissionRequestTool

Provides struct and type for a PermissionRule

Provides struct and type for a Project

Provides struct and type for a ProjectCommands

Provides struct and type for a ProjectIcon

Provides struct and type for a ProjectSummary

Provides struct and type for a ProjectTime

Provides struct and type for a Provider

Provides struct and type for a ProviderAuthAuthorization

Provides struct and type for a ProviderAuthError

Provides struct and type for a ProviderAuthErrorData

Provides struct and type for a Pty

Provides struct and type for a QuestionInfo

Provides struct and type for a QuestionOption

Provides struct and type for a QuestionRequest

Provides struct and type for a QuestionRequestTool

Provides struct and type for a Range

Provides struct and type for a RangeEnd

Provides struct and type for a RangeStart

Provides struct and type for a ReasoningPart

Provides struct and type for a ReasoningPartTime

Provides struct and type for a ResourceSource

Provides struct and type for a RetryPart

Provides struct and type for a RetryPartTime

Provides struct and type for a ServerConfig

Provides API endpoints related to session

Provides struct and type for a SessionRevert

Provides struct and type for a SessionShare

Provides struct and type for a SessionSummary

Provides struct and type for a SessionTime

Provides struct and type for a SnapshotPart

Provides struct and type for a StepFinishPart

Provides struct and type for a StepFinishPartTokens

Provides struct and type for a StepFinishPartTokensCache

Provides struct and type for a StepStartPart

Provides struct and type for a StructuredOutputError

Provides struct and type for a StructuredOutputErrorData

Provides struct and type for a SubtaskPart

Provides struct and type for a SubtaskPartInput

Provides struct and type for a SubtaskPartInputModel

Provides struct and type for a SubtaskPartModel

Provides struct and type for a Symbol

Provides struct and type for a SymbolLocation

Provides struct and type for a SymbolSource

Provides struct and type for a TextPart

Provides struct and type for a TextPartInput

Provides struct and type for a TextPartInputTime

Provides struct and type for a TextPartTime

Provides struct and type for a Todo

Provides struct and type for a ToolListItem

Provides struct and type for a ToolPart

Provides struct and type for a ToolStateCompleted

Provides struct and type for a ToolStateCompletedTime

Provides struct and type for a ToolStateError

Provides struct and type for a ToolStateErrorTime

Provides struct and type for a ToolStatePending

Provides struct and type for a ToolStateRunning

Provides struct and type for a ToolStateRunningTime

Provides struct and type for a UnknownError

Provides struct and type for a UnknownErrorData

Provides struct and type for a UserMessage

Provides struct and type for a UserMessageModel

Provides struct and type for a UserMessageSummary

Provides struct and type for a UserMessageTime

Provides struct and type for a VcsInfo

Provides struct and type for a WellKnownAuth

Provides struct and type for a Workspace

Provides struct and type for a WorkspaceConfig

Provides struct and type for a Worktree

Provides struct and type for a WorktreeCreateInput

Provides struct and type for a WorktreeRemoveInput

Provides struct and type for a WorktreeResetInput

OpenCode server process management.

OpenCode TUI process management.

Mix Tasks

Generates Elixir client code from OpenCode CLI OpenAPI specification.