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.
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.
UnknownConfigModelReasoning
¶
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.
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.
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.
UnknownFormState
¶
UnknownIntegrationAttemptStatus
¶
UnknownIntegrationCommandAttemptStatus
¶
UnknownIntegrationMethod
¶
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.
UnknownMcpServerStatus
¶
UnknownPluginSource
¶
UnknownPluginState
¶
UnknownPromptFileSource
¶
UnknownProviderCompaction
¶
UnknownReferenceSource
¶
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.
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.
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.
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.
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.
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.
UnknownSessionMessageAssistantToolState
¶
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.
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.