import * as CodexSchema from "./schema.gen.ts";
export const v1 = {
InitializeParams: CodexSchema.V1InitializeParams,
InitializeResponse: CodexSchema.V1InitializeResponse,
} as const;
export const v2 = {
AccountLoginCompletedNotification: CodexSchema.V2AccountLoginCompletedNotification,
AccountRateLimitsUpdatedNotification: CodexSchema.V2AccountRateLimitsUpdatedNotification,
AccountUpdatedNotification: CodexSchema.V2AccountUpdatedNotification,
AgentMessageDeltaNotification: CodexSchema.V2AgentMessageDeltaNotification,
AppListUpdatedNotification: CodexSchema.V2AppListUpdatedNotification,
AppsInstalledParams: CodexSchema.V2AppsInstalledParams,
AppsInstalledResponse: CodexSchema.V2AppsInstalledResponse,
AppsListParams: CodexSchema.V2AppsListParams,
AppsListResponse: CodexSchema.V2AppsListResponse,
AppsReadParams: CodexSchema.V2AppsReadParams,
AppsReadResponse: CodexSchema.V2AppsReadResponse,
AuthRecoveryNotification: CodexSchema.V2AuthRecoveryNotification,
CancelLoginAccountParams: CodexSchema.V2CancelLoginAccountParams,
CancelLoginAccountResponse: CodexSchema.V2CancelLoginAccountResponse,
CommandExecOutputDeltaNotification: CodexSchema.V2CommandExecOutputDeltaNotification,
CommandExecParams: CodexSchema.V2CommandExecParams,
CommandExecResizeParams: CodexSchema.V2CommandExecResizeParams,
CommandExecResizeResponse: CodexSchema.V2CommandExecResizeResponse,
CommandExecResponse: CodexSchema.V2CommandExecResponse,
CommandExecTerminateParams: CodexSchema.V2CommandExecTerminateParams,
CommandExecTerminateResponse: CodexSchema.V2CommandExecTerminateResponse,
CommandExecutionOutputDeltaNotification: CodexSchema.V2CommandExecutionOutputDeltaNotification,
CommandExecWriteParams: CodexSchema.V2CommandExecWriteParams,
CommandExecWriteResponse: CodexSchema.V2CommandExecWriteResponse,
ConfigBatchWriteParams: CodexSchema.V2ConfigBatchWriteParams,
ConfigReadParams: CodexSchema.V2ConfigReadParams,
ConfigReadResponse: CodexSchema.V2ConfigReadResponse,
ConfigRequirementsReadResponse: CodexSchema.V2ConfigRequirementsReadResponse,
ConfigValueWriteParams: CodexSchema.V2ConfigValueWriteParams,
ConfigWarningNotification: CodexSchema.V2ConfigWarningNotification,
ConfigWriteResponse: CodexSchema.V2ConfigWriteResponse,
ConsumeAccountRateLimitResetCreditParams: CodexSchema.V2ConsumeAccountRateLimitResetCreditParams,
ConsumeAccountRateLimitResetCreditResponse:
CodexSchema.V2ConsumeAccountRateLimitResetCreditResponse,
ContextCompactedNotification: CodexSchema.V2ContextCompactedNotification,
DeprecationNoticeNotification: CodexSchema.V2DeprecationNoticeNotification,
EnvironmentConnectionNotification: CodexSchema.V2EnvironmentConnectionNotification,
ErrorNotification: CodexSchema.V2ErrorNotification,
ExperimentalFeatureEnablementSetParams: CodexSchema.V2ExperimentalFeatureEnablementSetParams,
ExperimentalFeatureEnablementSetResponse: CodexSchema.V2ExperimentalFeatureEnablementSetResponse,
ExperimentalFeatureListParams: CodexSchema.V2ExperimentalFeatureListParams,
ExperimentalFeatureListResponse: CodexSchema.V2ExperimentalFeatureListResponse,
ExternalAgentConfigDetectParams: CodexSchema.V2ExternalAgentConfigDetectParams,
ExternalAgentConfigDetectResponse: CodexSchema.V2ExternalAgentConfigDetectResponse,
ExternalAgentConfigImportCompletedNotification:
CodexSchema.V2ExternalAgentConfigImportCompletedNotification,
ExternalAgentConfigImportHistoriesReadResponse:
CodexSchema.V2ExternalAgentConfigImportHistoriesReadResponse,
ExternalAgentConfigImportHistoryRecordParams:
CodexSchema.V2ExternalAgentConfigImportHistoryRecordParams,
ExternalAgentConfigImportHistoryRecordResponse:
CodexSchema.V2ExternalAgentConfigImportHistoryRecordResponse,
ExternalAgentConfigImportParams: CodexSchema.V2ExternalAgentConfigImportParams,
ExternalAgentConfigImportProgressNotification:
CodexSchema.V2ExternalAgentConfigImportProgressNotification,
ExternalAgentConfigImportResponse: CodexSchema.V2ExternalAgentConfigImportResponse,
FeedbackUploadParams: CodexSchema.V2FeedbackUploadParams,
FeedbackUploadResponse: CodexSchema.V2FeedbackUploadResponse,
FileChangeOutputDeltaNotification: CodexSchema.V2FileChangeOutputDeltaNotification,
FileChangePatchUpdatedNotification: CodexSchema.V2FileChangePatchUpdatedNotification,
FsChangedNotification: CodexSchema.V2FsChangedNotification,
FsCopyParams: CodexSchema.V2FsCopyParams,
FsCopyResponse: CodexSchema.V2FsCopyResponse,
FsCreateDirectoryParams: CodexSchema.V2FsCreateDirectoryParams,
FsCreateDirectoryResponse: CodexSchema.V2FsCreateDirectoryResponse,
FsGetMetadataParams: CodexSchema.V2FsGetMetadataParams,
FsGetMetadataResponse: CodexSchema.V2FsGetMetadataResponse,
FsReadDirectoryParams: CodexSchema.V2FsReadDirectoryParams,
FsReadDirectoryResponse: CodexSchema.V2FsReadDirectoryResponse,
FsReadFileParams: CodexSchema.V2FsReadFileParams,
FsReadFileResponse: CodexSchema.V2FsReadFileResponse,
FsRemoveParams: CodexSchema.V2FsRemoveParams,
FsRemoveResponse: CodexSchema.V2FsRemoveResponse,
FsUnwatchParams: CodexSchema.V2FsUnwatchParams,
FsUnwatchResponse: CodexSchema.V2FsUnwatchResponse,
FsWatchParams: CodexSchema.V2FsWatchParams,
FsWatchResponse: CodexSchema.V2FsWatchResponse,
FsWriteFileParams: CodexSchema.V2FsWriteFileParams,
FsWriteFileResponse: CodexSchema.V2FsWriteFileResponse,
GatewayOAuthCancelResponse: CodexSchema.V2GatewayOAuthCancelResponse,
GatewayOAuthChangedNotification: CodexSchema.V2GatewayOAuthChangedNotification,
GatewayOAuthLoginResponse: CodexSchema.V2GatewayOAuthLoginResponse,
GatewayOAuthReadResponse: CodexSchema.V2GatewayOAuthReadResponse,
GetAccountParams: CodexSchema.V2GetAccountParams,
GetAccountRateLimitsResponse: CodexSchema.V2GetAccountRateLimitsResponse,
GetAccountResponse: CodexSchema.V2GetAccountResponse,
GetAccountTokenUsageResponse: CodexSchema.V2GetAccountTokenUsageResponse,
GetWorkspaceMessagesResponse: CodexSchema.V2GetWorkspaceMessagesResponse,
GuardianWarningNotification: CodexSchema.V2GuardianWarningNotification,
HookCompletedNotification: CodexSchema.V2HookCompletedNotification,
HooksListParams: CodexSchema.V2HooksListParams,
HooksListResponse: CodexSchema.V2HooksListResponse,
HookStartedNotification: CodexSchema.V2HookStartedNotification,
ItemCompletedNotification: CodexSchema.V2ItemCompletedNotification,
ItemGuardianApprovalReviewCompletedNotification:
CodexSchema.V2ItemGuardianApprovalReviewCompletedNotification,
ItemGuardianApprovalReviewStartedNotification:
CodexSchema.V2ItemGuardianApprovalReviewStartedNotification,
ItemStartedNotification: CodexSchema.V2ItemStartedNotification,
ListMcpServerStatusParams: CodexSchema.V2ListMcpServerStatusParams,
ListMcpServerStatusResponse: CodexSchema.V2ListMcpServerStatusResponse,
LoginAccountParams: CodexSchema.V2LoginAccountParams,
LoginAccountResponse: CodexSchema.V2LoginAccountResponse,
LogoutAccountResponse: CodexSchema.V2LogoutAccountResponse,
MarketplaceAddParams: CodexSchema.V2MarketplaceAddParams,
MarketplaceAddResponse: CodexSchema.V2MarketplaceAddResponse,
MarketplaceRemoveParams: CodexSchema.V2MarketplaceRemoveParams,
MarketplaceRemoveResponse: CodexSchema.V2MarketplaceRemoveResponse,
MarketplaceUpgradeParams: CodexSchema.V2MarketplaceUpgradeParams,
MarketplaceUpgradeResponse: CodexSchema.V2MarketplaceUpgradeResponse,
McpResourceReadParams: CodexSchema.V2McpResourceReadParams,
McpResourceReadResponse: CodexSchema.V2McpResourceReadResponse,
McpServerEventStreamNotification: CodexSchema.V2McpServerEventStreamNotification,
McpServerOauthLoginCompletedNotification: CodexSchema.V2McpServerOauthLoginCompletedNotification,
McpServerOauthLoginParams: CodexSchema.V2McpServerOauthLoginParams,
McpServerOauthLoginResponse: CodexSchema.V2McpServerOauthLoginResponse,
McpServerRefreshResponse: CodexSchema.V2McpServerRefreshResponse,
McpServerStatusUpdatedNotification: CodexSchema.V2McpServerStatusUpdatedNotification,
McpServerToolCallParams: CodexSchema.V2McpServerToolCallParams,
McpServerToolCallResponse: CodexSchema.V2McpServerToolCallResponse,
McpToolCallProgressNotification: CodexSchema.V2McpToolCallProgressNotification,
ModelListParams: CodexSchema.V2ModelListParams,
ModelListResponse: CodexSchema.V2ModelListResponse,
ModelProviderCapabilitiesReadParams: CodexSchema.V2ModelProviderCapabilitiesReadParams,
ModelProviderCapabilitiesReadResponse: CodexSchema.V2ModelProviderCapabilitiesReadResponse,
ModelReroutedNotification: CodexSchema.V2ModelReroutedNotification,
ModelSafetyBufferingUpdatedNotification: CodexSchema.V2ModelSafetyBufferingUpdatedNotification,
ModelVerificationNotification: CodexSchema.V2ModelVerificationNotification,
NullableGetAccountRateLimitsParams: CodexSchema.V2NullableGetAccountRateLimitsParams,
NullableGetAccountTokenUsageParams: CodexSchema.V2NullableGetAccountTokenUsageParams,
PermissionProfileListParams: CodexSchema.V2PermissionProfileListParams,
PermissionProfileListResponse: CodexSchema.V2PermissionProfileListResponse,
PlanDeltaNotification: CodexSchema.V2PlanDeltaNotification,
PluginInstalledParams: CodexSchema.V2PluginInstalledParams,
PluginInstalledResponse: CodexSchema.V2PluginInstalledResponse,
PluginInstallParams: CodexSchema.V2PluginInstallParams,
PluginInstallResponse: CodexSchema.V2PluginInstallResponse,
PluginListParams: CodexSchema.V2PluginListParams,
PluginListResponse: CodexSchema.V2PluginListResponse,
PluginReadParams: CodexSchema.V2PluginReadParams,
PluginReadResponse: CodexSchema.V2PluginReadResponse,
PluginReconcileParams: CodexSchema.V2PluginReconcileParams,
PluginReconcileResponse: CodexSchema.V2PluginReconcileResponse,
PluginShareCheckoutParams: CodexSchema.V2PluginShareCheckoutParams,
PluginShareCheckoutResponse: CodexSchema.V2PluginShareCheckoutResponse,
PluginShareDeleteParams: CodexSchema.V2PluginShareDeleteParams,
PluginShareDeleteResponse: CodexSchema.V2PluginShareDeleteResponse,
PluginShareListParams: CodexSchema.V2PluginShareListParams,
PluginShareListResponse: CodexSchema.V2PluginShareListResponse,
PluginShareSaveParams: CodexSchema.V2PluginShareSaveParams,
PluginShareSaveResponse: CodexSchema.V2PluginShareSaveResponse,
PluginShareUpdateTargetsParams: CodexSchema.V2PluginShareUpdateTargetsParams,
PluginShareUpdateTargetsResponse: CodexSchema.V2PluginShareUpdateTargetsResponse,
PluginSkillReadParams: CodexSchema.V2PluginSkillReadParams,
PluginSkillReadResponse: CodexSchema.V2PluginSkillReadResponse,
PluginUninstallParams: CodexSchema.V2PluginUninstallParams,
PluginUninstallResponse: CodexSchema.V2PluginUninstallResponse,
ProcessExitedNotification: CodexSchema.V2ProcessExitedNotification,
ProcessOutputDeltaNotification: CodexSchema.V2ProcessOutputDeltaNotification,
ProjectChangedNotification: CodexSchema.V2ProjectChangedNotification,
RawResponseCompletedNotification: CodexSchema.V2RawResponseCompletedNotification,
RawResponseItemCompletedNotification: CodexSchema.V2RawResponseItemCompletedNotification,
ReasoningSummaryPartAddedNotification: CodexSchema.V2ReasoningSummaryPartAddedNotification,
ReasoningSummaryTextDeltaNotification: CodexSchema.V2ReasoningSummaryTextDeltaNotification,
ReasoningTextDeltaNotification: CodexSchema.V2ReasoningTextDeltaNotification,
RemoteControlStatusChangedNotification: CodexSchema.V2RemoteControlStatusChangedNotification,
ReviewStartParams: CodexSchema.V2ReviewStartParams,
ReviewStartResponse: CodexSchema.V2ReviewStartResponse,
SendAddCreditsNudgeEmailParams: CodexSchema.V2SendAddCreditsNudgeEmailParams,
SendAddCreditsNudgeEmailResponse: CodexSchema.V2SendAddCreditsNudgeEmailResponse,
ServerRequestResolvedNotification: CodexSchema.V2ServerRequestResolvedNotification,
SkillsChangedNotification: CodexSchema.V2SkillsChangedNotification,
SkillsConfigWriteParams: CodexSchema.V2SkillsConfigWriteParams,
SkillsConfigWriteResponse: CodexSchema.V2SkillsConfigWriteResponse,
SkillsExtraRootsSetParams: CodexSchema.V2SkillsExtraRootsSetParams,
SkillsExtraRootsSetResponse: CodexSchema.V2SkillsExtraRootsSetResponse,
SkillsListParams: CodexSchema.V2SkillsListParams,
SkillsListResponse: CodexSchema.V2SkillsListResponse,
StrictReviewRequiredNotification: CodexSchema.V2StrictReviewRequiredNotification,
TerminalInteractionNotification: CodexSchema.V2TerminalInteractionNotification,
ThreadApproveGuardianDeniedActionParams: CodexSchema.V2ThreadApproveGuardianDeniedActionParams,
ThreadApproveGuardianDeniedActionResponse:
CodexSchema.V2ThreadApproveGuardianDeniedActionResponse,
ThreadArchivedNotification: CodexSchema.V2ThreadArchivedNotification,
ThreadArchiveParams: CodexSchema.V2ThreadArchiveParams,
ThreadArchiveResponse: CodexSchema.V2ThreadArchiveResponse,
ThreadAttachmentAddParams: CodexSchema.V2ThreadAttachmentAddParams,
ThreadAttachmentAddResponse: CodexSchema.V2ThreadAttachmentAddResponse,
ThreadAttachmentListParams: CodexSchema.V2ThreadAttachmentListParams,
ThreadAttachmentListResponse: CodexSchema.V2ThreadAttachmentListResponse,
ThreadAttachmentRemoveParams: CodexSchema.V2ThreadAttachmentRemoveParams,
ThreadAttachmentRemoveResponse: CodexSchema.V2ThreadAttachmentRemoveResponse,
ThreadAttachmentUpdatedNotification: CodexSchema.V2ThreadAttachmentUpdatedNotification,
ThreadClosedNotification: CodexSchema.V2ThreadClosedNotification,
ThreadCompactStartParams: CodexSchema.V2ThreadCompactStartParams,
ThreadCompactStartResponse: CodexSchema.V2ThreadCompactStartResponse,
ThreadDeletedNotification: CodexSchema.V2ThreadDeletedNotification,
ThreadDeleteParams: CodexSchema.V2ThreadDeleteParams,
ThreadDeleteResponse: CodexSchema.V2ThreadDeleteResponse,
ThreadForkParams: CodexSchema.V2ThreadForkParams,
ThreadForkResponse: CodexSchema.V2ThreadForkResponse,
ThreadGoalClearedNotification: CodexSchema.V2ThreadGoalClearedNotification,
ThreadGoalClearParams: CodexSchema.V2ThreadGoalClearParams,
ThreadGoalClearResponse: CodexSchema.V2ThreadGoalClearResponse,
ThreadGoalGetParams: CodexSchema.V2ThreadGoalGetParams,
ThreadGoalGetResponse: CodexSchema.V2ThreadGoalGetResponse,
ThreadGoalSetParams: CodexSchema.V2ThreadGoalSetParams,
ThreadGoalSetResponse: CodexSchema.V2ThreadGoalSetResponse,
ThreadGoalUpdatedNotification: CodexSchema.V2ThreadGoalUpdatedNotification,
ThreadInjectItemsParams: CodexSchema.V2ThreadInjectItemsParams,
ThreadInjectItemsResponse: CodexSchema.V2ThreadInjectItemsResponse,
ThreadItemsListParams: CodexSchema.V2ThreadItemsListParams,
ThreadItemsListResponse: CodexSchema.V2ThreadItemsListResponse,
ThreadListParams: CodexSchema.V2ThreadListParams,
ThreadListResponse: CodexSchema.V2ThreadListResponse,
ThreadLoadedListParams: CodexSchema.V2ThreadLoadedListParams,
ThreadLoadedListResponse: CodexSchema.V2ThreadLoadedListResponse,
ThreadMetadataUpdateParams: CodexSchema.V2ThreadMetadataUpdateParams,
ThreadMetadataUpdateResponse: CodexSchema.V2ThreadMetadataUpdateResponse,
ThreadNameUpdatedNotification: CodexSchema.V2ThreadNameUpdatedNotification,
ThreadProjectUpdatedNotification: CodexSchema.V2ThreadProjectUpdatedNotification,
ThreadQueueChangedNotification: CodexSchema.V2ThreadQueueChangedNotification,
ThreadReadParams: CodexSchema.V2ThreadReadParams,
ThreadReadResponse: CodexSchema.V2ThreadReadResponse,
ThreadRealtimeClosedNotification: CodexSchema.V2ThreadRealtimeClosedNotification,
ThreadRealtimeErrorNotification: CodexSchema.V2ThreadRealtimeErrorNotification,
ThreadRealtimeItemAddedNotification: CodexSchema.V2ThreadRealtimeItemAddedNotification,
ThreadRealtimeItemCompletedNotification: CodexSchema.V2ThreadRealtimeItemCompletedNotification,
ThreadRealtimeItemStartedNotification: CodexSchema.V2ThreadRealtimeItemStartedNotification,
ThreadRealtimeItemTranscriptDeltaNotification:
CodexSchema.V2ThreadRealtimeItemTranscriptDeltaNotification,
ThreadRealtimeOutputAudioDeltaNotification:
CodexSchema.V2ThreadRealtimeOutputAudioDeltaNotification,
ThreadRealtimeSdpNotification: CodexSchema.V2ThreadRealtimeSdpNotification,
ThreadRealtimeStartedNotification: CodexSchema.V2ThreadRealtimeStartedNotification,
ThreadRealtimeTranscriptDeltaNotification:
CodexSchema.V2ThreadRealtimeTranscriptDeltaNotification,
ThreadRealtimeTranscriptDoneNotification: CodexSchema.V2ThreadRealtimeTranscriptDoneNotification,
ThreadResumeParams: CodexSchema.V2ThreadResumeParams,
ThreadResumeResponse: CodexSchema.V2ThreadResumeResponse,
ThreadRevertedNotification: CodexSchema.V2ThreadRevertedNotification,
ThreadRevertParams: CodexSchema.V2ThreadRevertParams,
ThreadRevertResponse: CodexSchema.V2ThreadRevertResponse,
ThreadSectionCreateParams: CodexSchema.V2ThreadSectionCreateParams,
ThreadSectionCreateResponse: CodexSchema.V2ThreadSectionCreateResponse,
ThreadSectionDeleteParams: CodexSchema.V2ThreadSectionDeleteParams,
ThreadSectionDeleteResponse: CodexSchema.V2ThreadSectionDeleteResponse,
ThreadSectionListParams: CodexSchema.V2ThreadSectionListParams,
ThreadSectionListResponse: CodexSchema.V2ThreadSectionListResponse,
ThreadSectionMoveParams: CodexSchema.V2ThreadSectionMoveParams,
ThreadSectionMoveResponse: CodexSchema.V2ThreadSectionMoveResponse,
ThreadSectionUpdateParams: CodexSchema.V2ThreadSectionUpdateParams,
ThreadSectionUpdateResponse: CodexSchema.V2ThreadSectionUpdateResponse,
ThreadSetNameParams: CodexSchema.V2ThreadSetNameParams,
ThreadSetNameResponse: CodexSchema.V2ThreadSetNameResponse,
ThreadSettingsUpdatedNotification: CodexSchema.V2ThreadSettingsUpdatedNotification,
ThreadShellCommandParams: CodexSchema.V2ThreadShellCommandParams,
ThreadShellCommandResponse: CodexSchema.V2ThreadShellCommandResponse,
ThreadStartedNotification: CodexSchema.V2ThreadStartedNotification,
ThreadStartParams: CodexSchema.V2ThreadStartParams,
ThreadStartResponse: CodexSchema.V2ThreadStartResponse,
ThreadStatusChangedNotification: CodexSchema.V2ThreadStatusChangedNotification,
ThreadTokenUsageUpdatedNotification: CodexSchema.V2ThreadTokenUsageUpdatedNotification,
ThreadTurnsListParams: CodexSchema.V2ThreadTurnsListParams,
ThreadTurnsListResponse: CodexSchema.V2ThreadTurnsListResponse,
ThreadUnarchivedNotification: CodexSchema.V2ThreadUnarchivedNotification,
ThreadUnarchiveParams: CodexSchema.V2ThreadUnarchiveParams,
ThreadUnarchiveResponse: CodexSchema.V2ThreadUnarchiveResponse,
ThreadUnsubscribeParams: CodexSchema.V2ThreadUnsubscribeParams,
ThreadUnsubscribeResponse: CodexSchema.V2ThreadUnsubscribeResponse,
TurnCompletedNotification: CodexSchema.V2TurnCompletedNotification,
TurnDiffUpdatedNotification: CodexSchema.V2TurnDiffUpdatedNotification,
TurnInterruptParams: CodexSchema.V2TurnInterruptParams,
TurnInterruptResponse: CodexSchema.V2TurnInterruptResponse,
TurnModerationMetadataNotification: CodexSchema.V2TurnModerationMetadataNotification,
TurnPlanUpdatedNotification: CodexSchema.V2TurnPlanUpdatedNotification,
TurnStartedNotification: CodexSchema.V2TurnStartedNotification,
TurnStartParams: CodexSchema.V2TurnStartParams,
TurnStartResponse: CodexSchema.V2TurnStartResponse,
TurnSteerParams: CodexSchema.V2TurnSteerParams,
TurnSteerResponse: CodexSchema.V2TurnSteerResponse,
WarningNotification: CodexSchema.V2WarningNotification,
WindowsSandboxReadinessResponse: CodexSchema.V2WindowsSandboxReadinessResponse,
WindowsSandboxSetupCompletedNotification: CodexSchema.V2WindowsSandboxSetupCompletedNotification,
WindowsSandboxSetupStartParams: CodexSchema.V2WindowsSandboxSetupStartParams,
WindowsSandboxSetupStartResponse: CodexSchema.V2WindowsSandboxSetupStartResponse,
WindowsWorldWritableWarningNotification: CodexSchema.V2WindowsWorldWritableWarningNotification,
} as const;