Skip to content

Unknown

31 types. Import any of them from opencode.types.

UnknownConfigEntry

A ConfigEntry variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

path class-attribute instance-attribute

path: AbsolutePath | None = None

UnknownConfigInfoMcpServersValue

A ConfigInfoMcpServersValue variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

disabled class-attribute instance-attribute

disabled: bool | None = None

codemode class-attribute instance-attribute

codemode: bool | None = None

protocol class-attribute instance-attribute

protocol: McpProtocol | None = None

UnknownConfigModelReasoning

A ConfigModelReasoning variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

supported class-attribute instance-attribute

supported: Any = None

UnknownConnectionInfo

A ConnectionInfo variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

status class-attribute instance-attribute

status: ConnectionStatus | None = None

UnknownCredentialValue

A CredentialValue variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

metadata class-attribute instance-attribute

metadata: dict[str, Any] | None = None

UnknownFormField

A FormField variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

key class-attribute instance-attribute

key: str | None = None

title class-attribute instance-attribute

title: str | None = None

description class-attribute instance-attribute

description: str | None = None

UnknownFormState

A FormState variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

UnknownIntegrationAttemptStatus

A IntegrationAttemptStatus variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

UnknownIntegrationCommandAttemptStatus

A IntegrationCommandAttemptStatus variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

UnknownIntegrationMethod

A IntegrationMethod variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownMcpAddConfig

A McpAddConfig variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

disabled class-attribute instance-attribute

disabled: bool | None = None

codemode class-attribute instance-attribute

codemode: bool | None = None

protocol class-attribute instance-attribute

protocol: McpProtocol | None = None

UnknownMcpServerStatus

A McpServerStatus variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

UnknownPluginSource

A PluginSource variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownPluginState

A PluginState variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

UnknownPromptFileSource

A PromptFileSource variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownProviderCompaction

A ProviderCompaction variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownReferenceSource

A ReferenceSource variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownSessionEventDurable

A SessionEventDurable variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

id class-attribute instance-attribute

id: EventID | None = None

created class-attribute instance-attribute

created: float | None = None

metadata class-attribute instance-attribute

metadata: dict[str, Any] | None = None

location class-attribute instance-attribute

location: LocationRef | None = None

UnknownSessionForkBoundary

A SessionForkBoundary variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

message_id class-attribute instance-attribute

message_id: SessionMessageID | None = Field(
    default=None,
    validation_alias="messageID",
    serialization_alias="messageID",
)

UnknownSessionInboxInfo

A SessionInboxInfo variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

id class-attribute instance-attribute

id: SessionMessageID | None = None

session_id class-attribute instance-attribute

session_id: SessionID | None = Field(
    default=None,
    validation_alias="sessionID",
    serialization_alias="sessionID",
)

delivery class-attribute instance-attribute

delivery: SessionInboxDelivery | None = None

UnknownSessionInboxItem

A SessionInboxItem variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

delivery class-attribute instance-attribute

delivery: SessionInboxDelivery | None = None

UnknownSessionMessageAssistantContent

A SessionMessageAssistantContent variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

native class-attribute instance-attribute

native: SessionMessageNative | None = None

UnknownSessionMessageAssistantContentItem

A SessionMessageAssistantContentItem variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

native class-attribute instance-attribute

native: SessionMessageNative | None = None

UnknownSessionMessageAssistantToolState

A SessionMessageAssistantToolState variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

UnknownSessionMessageCompaction

A SessionMessageCompaction variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

status class-attribute instance-attribute

status: Any = None

type class-attribute instance-attribute

type: Literal['compaction'] | None = None

id class-attribute instance-attribute

id: SessionMessageID | None = None

metadata class-attribute instance-attribute

metadata: dict[str, Any] | None = None

reason class-attribute instance-attribute

reason: OpenEnum[Literal['auto', 'manual']] | None = None

UnknownSessionMessageInfo

A SessionMessageInfo variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

id class-attribute instance-attribute

id: SessionMessageID | None = None

metadata class-attribute instance-attribute

metadata: dict[str, Any] | None = None

UnknownSessionStatsTools

A SessionStatsTools variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

mode class-attribute instance-attribute

mode: Any = None

UnknownSessionStatus

A SessionStatus variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownToolContent

A ToolContent variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownVoiceTransport

A VoiceTransport variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None

UnknownVoiceTransportInput

A VoiceTransportInput variant this client version does not recognize.

Newer OpenCode servers can add variants. The raw fields are kept and available as attributes and through model_extra.

type class-attribute instance-attribute

type: Any = None