| 1 | // This file is generated by the effect-codex-app-server package. Do not edit manually. |
| 2 | // Upstream protocol ref: 687a119f0fcaace47e1f1abcc77cec6c813fd6da |
| 3 | |
| 4 | import * as CodexSchema from "./schema.gen.ts"; |
| 5 | |
| 6 | export const CLIENT_REQUEST_METHODS = { |
| 7 | initialize: "initialize", |
| 8 | "thread/start": "thread/start", |
| 9 | "thread/resume": "thread/resume", |
| 10 | "thread/fork": "thread/fork", |
| 11 | "thread/archive": "thread/archive", |
| 12 | "thread/delete": "thread/delete", |
| 13 | "thread/unsubscribe": "thread/unsubscribe", |
| 14 | "thread/name/set": "thread/name/set", |
| 15 | "thread/goal/set": "thread/goal/set", |
| 16 | "thread/goal/get": "thread/goal/get", |
| 17 | "thread/goal/clear": "thread/goal/clear", |
| 18 | "thread/metadata/update": "thread/metadata/update", |
| 19 | "thread/attachment/add": "thread/attachment/add", |
| 20 | "thread/attachment/list": "thread/attachment/list", |
| 21 | "thread/attachment/remove": "thread/attachment/remove", |
| 22 | "thread/section/move": "thread/section/move", |
| 23 | "thread/unarchive": "thread/unarchive", |
| 24 | "thread/compact/start": "thread/compact/start", |
| 25 | "thread/shellCommand": "thread/shellCommand", |
| 26 | "thread/approveGuardianDeniedAction": "thread/approveGuardianDeniedAction", |
| 27 | "thread/revert": "thread/revert", |
| 28 | "thread/list": "thread/list", |
| 29 | "threadSection/list": "threadSection/list", |
| 30 | "threadSection/create": "threadSection/create", |
| 31 | "threadSection/update": "threadSection/update", |
| 32 | "threadSection/delete": "threadSection/delete", |
| 33 | "thread/loaded/list": "thread/loaded/list", |
| 34 | "thread/read": "thread/read", |
| 35 | "thread/turns/list": "thread/turns/list", |
| 36 | "thread/items/list": "thread/items/list", |
| 37 | "thread/inject_items": "thread/inject_items", |
| 38 | "skills/list": "skills/list", |
| 39 | "skills/extraRoots/set": "skills/extraRoots/set", |
| 40 | "hooks/list": "hooks/list", |
| 41 | "marketplace/add": "marketplace/add", |
| 42 | "marketplace/remove": "marketplace/remove", |
| 43 | "marketplace/upgrade": "marketplace/upgrade", |
| 44 | "plugin/list": "plugin/list", |
| 45 | "plugin/installed": "plugin/installed", |
| 46 | "plugin/reconcile": "plugin/reconcile", |
| 47 | "plugin/read": "plugin/read", |
| 48 | "plugin/skill/read": "plugin/skill/read", |
| 49 | "plugin/share/save": "plugin/share/save", |
| 50 | "plugin/share/updateTargets": "plugin/share/updateTargets", |
| 51 | "plugin/share/list": "plugin/share/list", |
| 52 | "plugin/share/checkout": "plugin/share/checkout", |
| 53 | "plugin/share/delete": "plugin/share/delete", |
| 54 | "app/read": "app/read", |
| 55 | "app/list": "app/list", |
| 56 | "app/installed": "app/installed", |
| 57 | "fs/readFile": "fs/readFile", |
| 58 | "fs/writeFile": "fs/writeFile", |
| 59 | "fs/createDirectory": "fs/createDirectory", |
| 60 | "fs/getMetadata": "fs/getMetadata", |
| 61 | "fs/readDirectory": "fs/readDirectory", |
| 62 | "fs/remove": "fs/remove", |
| 63 | "fs/copy": "fs/copy", |
| 64 | "fs/watch": "fs/watch", |
| 65 | "fs/unwatch": "fs/unwatch", |
| 66 | "skills/config/write": "skills/config/write", |
| 67 | "plugin/install": "plugin/install", |
| 68 | "plugin/uninstall": "plugin/uninstall", |
| 69 | "turn/start": "turn/start", |
| 70 | "turn/steer": "turn/steer", |
| 71 | "turn/interrupt": "turn/interrupt", |
| 72 | "review/start": "review/start", |
| 73 | "model/list": "model/list", |
| 74 | "account/gatewayOAuth/read": "account/gatewayOAuth/read", |
| 75 | "account/gatewayOAuth/login": "account/gatewayOAuth/login", |
| 76 | "account/gatewayOAuth/cancel": "account/gatewayOAuth/cancel", |
| 77 | "modelProvider/capabilities/read": "modelProvider/capabilities/read", |
| 78 | "experimentalFeature/list": "experimentalFeature/list", |
| 79 | "permissionProfile/list": "permissionProfile/list", |
| 80 | "experimentalFeature/enablement/set": "experimentalFeature/enablement/set", |
| 81 | "mcpServer/oauth/login": "mcpServer/oauth/login", |
| 82 | "config/mcpServer/reload": "config/mcpServer/reload", |
| 83 | "mcpServerStatus/list": "mcpServerStatus/list", |
| 84 | "mcpServer/resource/read": "mcpServer/resource/read", |
| 85 | "mcpServer/tool/call": "mcpServer/tool/call", |
| 86 | "windowsSandbox/setupStart": "windowsSandbox/setupStart", |
| 87 | "windowsSandbox/readiness": "windowsSandbox/readiness", |
| 88 | "account/login/start": "account/login/start", |
| 89 | "account/login/cancel": "account/login/cancel", |
| 90 | "account/logout": "account/logout", |
| 91 | "account/rateLimits/read": "account/rateLimits/read", |
| 92 | "account/rateLimitResetCredit/consume": "account/rateLimitResetCredit/consume", |
| 93 | "account/usage/read": "account/usage/read", |
| 94 | "account/workspaceMessages/read": "account/workspaceMessages/read", |
| 95 | "account/sendAddCreditsNudgeEmail": "account/sendAddCreditsNudgeEmail", |
| 96 | "feedback/upload": "feedback/upload", |
| 97 | "command/exec": "command/exec", |
| 98 | "command/exec/write": "command/exec/write", |
| 99 | "command/exec/terminate": "command/exec/terminate", |
| 100 | "command/exec/resize": "command/exec/resize", |
| 101 | "config/read": "config/read", |
| 102 | "externalAgentConfig/detect": "externalAgentConfig/detect", |
| 103 | "externalAgentConfig/import": "externalAgentConfig/import", |
| 104 | "externalAgentConfig/import/recordHistory": "externalAgentConfig/import/recordHistory", |
| 105 | "externalAgentConfig/import/readHistories": "externalAgentConfig/import/readHistories", |
| 106 | "config/value/write": "config/value/write", |
| 107 | "config/batchWrite": "config/batchWrite", |
| 108 | "configRequirements/read": "configRequirements/read", |
| 109 | "account/read": "account/read", |
| 110 | getConversationSummary: "getConversationSummary", |
| 111 | gitDiffToRemote: "gitDiffToRemote", |
| 112 | getAuthStatus: "getAuthStatus", |
| 113 | fuzzyFileSearch: "fuzzyFileSearch", |
| 114 | } as const; |
| 115 | |
| 116 | export const CLIENT_NOTIFICATION_METHODS = { |
| 117 | initialized: "initialized", |
| 118 | } as const; |
| 119 | |
| 120 | export const SERVER_REQUEST_METHODS = { |
| 121 | "item/commandExecution/requestApproval": "item/commandExecution/requestApproval", |
| 122 | "item/fileChange/requestApproval": "item/fileChange/requestApproval", |
| 123 | "item/tool/requestUserInput": "item/tool/requestUserInput", |
| 124 | "mcpServer/elicitation/request": "mcpServer/elicitation/request", |
| 125 | "item/permissions/requestApproval": "item/permissions/requestApproval", |
| 126 | "item/tool/call": "item/tool/call", |
| 127 | "account/chatgptAuthTokens/refresh": "account/chatgptAuthTokens/refresh", |
| 128 | "attestation/generate": "attestation/generate", |
| 129 | applyPatchApproval: "applyPatchApproval", |
| 130 | execCommandApproval: "execCommandApproval", |
| 131 | } as const; |
| 132 | |
| 133 | export const SERVER_NOTIFICATION_METHODS = { |
| 134 | error: "error", |
| 135 | "thread/started": "thread/started", |
| 136 | "thread/status/changed": "thread/status/changed", |
| 137 | "thread/archived": "thread/archived", |
| 138 | "thread/deleted": "thread/deleted", |
| 139 | "thread/unarchived": "thread/unarchived", |
| 140 | "thread/closed": "thread/closed", |
| 141 | "thread/reverted": "thread/reverted", |
| 142 | "skills/changed": "skills/changed", |
| 143 | "thread/name/updated": "thread/name/updated", |
| 144 | "thread/attachment/updated": "thread/attachment/updated", |
| 145 | "thread/goal/updated": "thread/goal/updated", |
| 146 | "thread/goal/cleared": "thread/goal/cleared", |
| 147 | "thread/queue/changed": "thread/queue/changed", |
| 148 | "project/changed": "project/changed", |
| 149 | "thread/project/updated": "thread/project/updated", |
| 150 | "thread/environment/connected": "thread/environment/connected", |
| 151 | "thread/environment/disconnected": "thread/environment/disconnected", |
| 152 | "thread/settings/updated": "thread/settings/updated", |
| 153 | "thread/tokenUsage/updated": "thread/tokenUsage/updated", |
| 154 | "turn/started": "turn/started", |
| 155 | "hook/started": "hook/started", |
| 156 | "turn/completed": "turn/completed", |
| 157 | "hook/completed": "hook/completed", |
| 158 | "turn/diff/updated": "turn/diff/updated", |
| 159 | "turn/plan/updated": "turn/plan/updated", |
| 160 | "item/started": "item/started", |
| 161 | "item/autoApprovalReview/started": "item/autoApprovalReview/started", |
| 162 | "item/autoApprovalReview/completed": "item/autoApprovalReview/completed", |
| 163 | "autoApprovalReview/strictReviewRequired": "autoApprovalReview/strictReviewRequired", |
| 164 | "item/completed": "item/completed", |
| 165 | "rawResponseItem/completed": "rawResponseItem/completed", |
| 166 | "rawResponse/completed": "rawResponse/completed", |
| 167 | "item/agentMessage/delta": "item/agentMessage/delta", |
| 168 | "item/plan/delta": "item/plan/delta", |
| 169 | "command/exec/outputDelta": "command/exec/outputDelta", |
| 170 | "process/outputDelta": "process/outputDelta", |
| 171 | "process/exited": "process/exited", |
| 172 | "item/commandExecution/outputDelta": "item/commandExecution/outputDelta", |
| 173 | "item/commandExecution/terminalInteraction": "item/commandExecution/terminalInteraction", |
| 174 | "item/fileChange/outputDelta": "item/fileChange/outputDelta", |
| 175 | "item/fileChange/patchUpdated": "item/fileChange/patchUpdated", |
| 176 | "serverRequest/resolved": "serverRequest/resolved", |
| 177 | "item/mcpToolCall/progress": "item/mcpToolCall/progress", |
| 178 | "mcpServer/oauthLogin/completed": "mcpServer/oauthLogin/completed", |
| 179 | "mcpServer/startupStatus/updated": "mcpServer/startupStatus/updated", |
| 180 | "mcpServer/event/stream/notification": "mcpServer/event/stream/notification", |
| 181 | "account/updated": "account/updated", |
| 182 | "account/gatewayOAuth/changed": "account/gatewayOAuth/changed", |
| 183 | "account/rateLimits/updated": "account/rateLimits/updated", |
| 184 | "app/list/updated": "app/list/updated", |
| 185 | "remoteControl/status/changed": "remoteControl/status/changed", |
| 186 | "externalAgentConfig/import/progress": "externalAgentConfig/import/progress", |
| 187 | "externalAgentConfig/import/completed": "externalAgentConfig/import/completed", |
| 188 | "fs/changed": "fs/changed", |
| 189 | "item/reasoning/summaryTextDelta": "item/reasoning/summaryTextDelta", |
| 190 | "item/reasoning/summaryPartAdded": "item/reasoning/summaryPartAdded", |
| 191 | "item/reasoning/textDelta": "item/reasoning/textDelta", |
| 192 | "thread/compacted": "thread/compacted", |
| 193 | "model/rerouted": "model/rerouted", |
| 194 | "model/verification": "model/verification", |
| 195 | "modelProvider/authRecoveryStarted": "modelProvider/authRecoveryStarted", |
| 196 | "modelProvider/authRecoveryCompleted": "modelProvider/authRecoveryCompleted", |
| 197 | "turn/moderationMetadata": "turn/moderationMetadata", |
| 198 | "model/safetyBuffering/updated": "model/safetyBuffering/updated", |
| 199 | warning: "warning", |
| 200 | guardianWarning: "guardianWarning", |
| 201 | deprecationNotice: "deprecationNotice", |
| 202 | configWarning: "configWarning", |
| 203 | "fuzzyFileSearch/sessionUpdated": "fuzzyFileSearch/sessionUpdated", |
| 204 | "fuzzyFileSearch/sessionCompleted": "fuzzyFileSearch/sessionCompleted", |
| 205 | "thread/realtime/started": "thread/realtime/started", |
| 206 | "thread/realtime/itemAdded": "thread/realtime/itemAdded", |
| 207 | "thread/realtime/item/started": "thread/realtime/item/started", |
| 208 | "thread/realtime/item/transcript/delta": "thread/realtime/item/transcript/delta", |
| 209 | "thread/realtime/item/completed": "thread/realtime/item/completed", |
| 210 | "thread/realtime/transcript/delta": "thread/realtime/transcript/delta", |
| 211 | "thread/realtime/transcript/done": "thread/realtime/transcript/done", |
| 212 | "thread/realtime/outputAudio/delta": "thread/realtime/outputAudio/delta", |
| 213 | "thread/realtime/sdp": "thread/realtime/sdp", |
| 214 | "thread/realtime/error": "thread/realtime/error", |
| 215 | "thread/realtime/closed": "thread/realtime/closed", |
| 216 | "windows/worldWritableWarning": "windows/worldWritableWarning", |
| 217 | "windowsSandbox/setupCompleted": "windowsSandbox/setupCompleted", |
| 218 | "account/login/completed": "account/login/completed", |
| 219 | } as const; |
| 220 | |
| 221 | export type ClientRequestMethod = keyof typeof CLIENT_REQUEST_METHODS; |
| 222 | export type ClientNotificationMethod = keyof typeof CLIENT_NOTIFICATION_METHODS; |
| 223 | export type ServerRequestMethod = keyof typeof SERVER_REQUEST_METHODS; |
| 224 | export type ServerNotificationMethod = keyof typeof SERVER_NOTIFICATION_METHODS; |
| 225 | |
| 226 | export interface ClientRequestParamsByMethod { |
| 227 | readonly initialize: CodexSchema.V1InitializeParams; |
| 228 | readonly "thread/start": CodexSchema.V2ThreadStartParams; |
| 229 | readonly "thread/resume": CodexSchema.V2ThreadResumeParams; |
| 230 | readonly "thread/fork": CodexSchema.V2ThreadForkParams; |
| 231 | readonly "thread/archive": CodexSchema.V2ThreadArchiveParams; |
| 232 | readonly "thread/delete": CodexSchema.V2ThreadDeleteParams; |
| 233 | readonly "thread/unsubscribe": CodexSchema.V2ThreadUnsubscribeParams; |
| 234 | readonly "thread/name/set": CodexSchema.V2ThreadSetNameParams; |
| 235 | readonly "thread/goal/set": CodexSchema.V2ThreadGoalSetParams; |
| 236 | readonly "thread/goal/get": CodexSchema.V2ThreadGoalGetParams; |
| 237 | readonly "thread/goal/clear": CodexSchema.V2ThreadGoalClearParams; |
| 238 | readonly "thread/metadata/update": CodexSchema.V2ThreadMetadataUpdateParams; |
| 239 | readonly "thread/attachment/add": CodexSchema.V2ThreadAttachmentAddParams; |
| 240 | readonly "thread/attachment/list": CodexSchema.V2ThreadAttachmentListParams; |
| 241 | readonly "thread/attachment/remove": CodexSchema.V2ThreadAttachmentRemoveParams; |
| 242 | readonly "thread/section/move": CodexSchema.V2ThreadSectionMoveParams; |
| 243 | readonly "thread/unarchive": CodexSchema.V2ThreadUnarchiveParams; |
| 244 | readonly "thread/compact/start": CodexSchema.V2ThreadCompactStartParams; |
| 245 | readonly "thread/shellCommand": CodexSchema.V2ThreadShellCommandParams; |
| 246 | readonly "thread/approveGuardianDeniedAction": CodexSchema.V2ThreadApproveGuardianDeniedActionParams; |
| 247 | readonly "thread/revert": CodexSchema.V2ThreadRevertParams; |
| 248 | readonly "thread/list": CodexSchema.V2ThreadListParams; |
| 249 | readonly "threadSection/list": CodexSchema.V2ThreadSectionListParams; |
| 250 | readonly "threadSection/create": CodexSchema.V2ThreadSectionCreateParams; |
| 251 | readonly "threadSection/update": CodexSchema.V2ThreadSectionUpdateParams; |
| 252 | readonly "threadSection/delete": CodexSchema.V2ThreadSectionDeleteParams; |
| 253 | readonly "thread/loaded/list": CodexSchema.V2ThreadLoadedListParams; |
| 254 | readonly "thread/read": CodexSchema.V2ThreadReadParams; |
| 255 | readonly "thread/turns/list": CodexSchema.V2ThreadTurnsListParams; |
| 256 | readonly "thread/items/list": CodexSchema.V2ThreadItemsListParams; |
| 257 | readonly "thread/inject_items": CodexSchema.V2ThreadInjectItemsParams; |
| 258 | readonly "skills/list": CodexSchema.V2SkillsListParams; |
| 259 | readonly "skills/extraRoots/set": CodexSchema.V2SkillsExtraRootsSetParams; |
| 260 | readonly "hooks/list": CodexSchema.V2HooksListParams; |
| 261 | readonly "marketplace/add": CodexSchema.V2MarketplaceAddParams; |
| 262 | readonly "marketplace/remove": CodexSchema.V2MarketplaceRemoveParams; |
| 263 | readonly "marketplace/upgrade": CodexSchema.V2MarketplaceUpgradeParams; |
| 264 | readonly "plugin/list": CodexSchema.V2PluginListParams; |
| 265 | readonly "plugin/installed": CodexSchema.V2PluginInstalledParams; |
| 266 | readonly "plugin/reconcile": CodexSchema.V2PluginReconcileParams; |
| 267 | readonly "plugin/read": CodexSchema.V2PluginReadParams; |
| 268 | readonly "plugin/skill/read": CodexSchema.V2PluginSkillReadParams; |
| 269 | readonly "plugin/share/save": CodexSchema.V2PluginShareSaveParams; |
| 270 | readonly "plugin/share/updateTargets": CodexSchema.V2PluginShareUpdateTargetsParams; |
| 271 | readonly "plugin/share/list": CodexSchema.V2PluginShareListParams; |
| 272 | readonly "plugin/share/checkout": CodexSchema.V2PluginShareCheckoutParams; |
| 273 | readonly "plugin/share/delete": CodexSchema.V2PluginShareDeleteParams; |
| 274 | readonly "app/read": CodexSchema.V2AppsReadParams; |
| 275 | readonly "app/list": CodexSchema.V2AppsListParams; |
| 276 | readonly "app/installed": CodexSchema.V2AppsInstalledParams; |
| 277 | readonly "fs/readFile": CodexSchema.V2FsReadFileParams; |
| 278 | readonly "fs/writeFile": CodexSchema.V2FsWriteFileParams; |
| 279 | readonly "fs/createDirectory": CodexSchema.V2FsCreateDirectoryParams; |
| 280 | readonly "fs/getMetadata": CodexSchema.V2FsGetMetadataParams; |
| 281 | readonly "fs/readDirectory": CodexSchema.V2FsReadDirectoryParams; |
| 282 | readonly "fs/remove": CodexSchema.V2FsRemoveParams; |
| 283 | readonly "fs/copy": CodexSchema.V2FsCopyParams; |
| 284 | readonly "fs/watch": CodexSchema.V2FsWatchParams; |
| 285 | readonly "fs/unwatch": CodexSchema.V2FsUnwatchParams; |
| 286 | readonly "skills/config/write": CodexSchema.V2SkillsConfigWriteParams; |
| 287 | readonly "plugin/install": CodexSchema.V2PluginInstallParams; |
| 288 | readonly "plugin/uninstall": CodexSchema.V2PluginUninstallParams; |
| 289 | readonly "turn/start": CodexSchema.V2TurnStartParams; |
| 290 | readonly "turn/steer": CodexSchema.V2TurnSteerParams; |
| 291 | readonly "turn/interrupt": CodexSchema.V2TurnInterruptParams; |
| 292 | readonly "review/start": CodexSchema.V2ReviewStartParams; |
| 293 | readonly "model/list": CodexSchema.V2ModelListParams; |
| 294 | readonly "account/gatewayOAuth/read": undefined; |
| 295 | readonly "account/gatewayOAuth/login": undefined; |
| 296 | readonly "account/gatewayOAuth/cancel": undefined; |
| 297 | readonly "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadParams; |
| 298 | readonly "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams; |
| 299 | readonly "permissionProfile/list": CodexSchema.V2PermissionProfileListParams; |
| 300 | readonly "experimentalFeature/enablement/set": CodexSchema.V2ExperimentalFeatureEnablementSetParams; |
| 301 | readonly "mcpServer/oauth/login": CodexSchema.V2McpServerOauthLoginParams; |
| 302 | readonly "config/mcpServer/reload": undefined; |
| 303 | readonly "mcpServerStatus/list": CodexSchema.V2ListMcpServerStatusParams; |
| 304 | readonly "mcpServer/resource/read": CodexSchema.V2McpResourceReadParams; |
| 305 | readonly "mcpServer/tool/call": CodexSchema.V2McpServerToolCallParams; |
| 306 | readonly "windowsSandbox/setupStart": CodexSchema.V2WindowsSandboxSetupStartParams; |
| 307 | readonly "windowsSandbox/readiness": undefined; |
| 308 | readonly "account/login/start": CodexSchema.V2LoginAccountParams; |
| 309 | readonly "account/login/cancel": CodexSchema.V2CancelLoginAccountParams; |
| 310 | readonly "account/logout": undefined; |
| 311 | readonly "account/rateLimits/read": CodexSchema.V2NullableGetAccountRateLimitsParams; |
| 312 | readonly "account/rateLimitResetCredit/consume": CodexSchema.V2ConsumeAccountRateLimitResetCreditParams; |
| 313 | readonly "account/usage/read": CodexSchema.V2NullableGetAccountTokenUsageParams; |
| 314 | readonly "account/workspaceMessages/read": undefined; |
| 315 | readonly "account/sendAddCreditsNudgeEmail": CodexSchema.V2SendAddCreditsNudgeEmailParams; |
| 316 | readonly "feedback/upload": CodexSchema.V2FeedbackUploadParams; |
| 317 | readonly "command/exec": CodexSchema.V2CommandExecParams; |
| 318 | readonly "command/exec/write": CodexSchema.V2CommandExecWriteParams; |
| 319 | readonly "command/exec/terminate": CodexSchema.V2CommandExecTerminateParams; |
| 320 | readonly "command/exec/resize": CodexSchema.V2CommandExecResizeParams; |
| 321 | readonly "config/read": CodexSchema.V2ConfigReadParams; |
| 322 | readonly "externalAgentConfig/detect": CodexSchema.V2ExternalAgentConfigDetectParams; |
| 323 | readonly "externalAgentConfig/import": CodexSchema.V2ExternalAgentConfigImportParams; |
| 324 | readonly "externalAgentConfig/import/recordHistory": CodexSchema.V2ExternalAgentConfigImportHistoryRecordParams; |
| 325 | readonly "externalAgentConfig/import/readHistories": undefined; |
| 326 | readonly "config/value/write": CodexSchema.V2ConfigValueWriteParams; |
| 327 | readonly "config/batchWrite": CodexSchema.V2ConfigBatchWriteParams; |
| 328 | readonly "configRequirements/read": undefined; |
| 329 | readonly "account/read": CodexSchema.V2GetAccountParams; |
| 330 | readonly getConversationSummary: CodexSchema.GetConversationSummaryParams; |
| 331 | readonly gitDiffToRemote: CodexSchema.GitDiffToRemoteParams; |
| 332 | readonly getAuthStatus: CodexSchema.GetAuthStatusParams; |
| 333 | readonly fuzzyFileSearch: CodexSchema.FuzzyFileSearchParams; |
| 334 | } |
| 335 | |
| 336 | export interface ClientRequestResponsesByMethod { |
| 337 | readonly initialize: CodexSchema.V1InitializeResponse; |
| 338 | readonly "thread/start": CodexSchema.V2ThreadStartResponse; |
| 339 | readonly "thread/resume": CodexSchema.V2ThreadResumeResponse; |
| 340 | readonly "thread/fork": CodexSchema.V2ThreadForkResponse; |
| 341 | readonly "thread/archive": CodexSchema.V2ThreadArchiveResponse; |
| 342 | readonly "thread/delete": CodexSchema.V2ThreadDeleteResponse; |
| 343 | readonly "thread/unsubscribe": CodexSchema.V2ThreadUnsubscribeResponse; |
| 344 | readonly "thread/name/set": CodexSchema.V2ThreadSetNameResponse; |
| 345 | readonly "thread/goal/set": CodexSchema.V2ThreadGoalSetResponse; |
| 346 | readonly "thread/goal/get": CodexSchema.V2ThreadGoalGetResponse; |
| 347 | readonly "thread/goal/clear": CodexSchema.V2ThreadGoalClearResponse; |
| 348 | readonly "thread/metadata/update": CodexSchema.V2ThreadMetadataUpdateResponse; |
| 349 | readonly "thread/attachment/add": CodexSchema.V2ThreadAttachmentAddResponse; |
| 350 | readonly "thread/attachment/list": CodexSchema.V2ThreadAttachmentListResponse; |
| 351 | readonly "thread/attachment/remove": CodexSchema.V2ThreadAttachmentRemoveResponse; |
| 352 | readonly "thread/section/move": CodexSchema.V2ThreadSectionMoveResponse; |
| 353 | readonly "thread/unarchive": CodexSchema.V2ThreadUnarchiveResponse; |
| 354 | readonly "thread/compact/start": CodexSchema.V2ThreadCompactStartResponse; |
| 355 | readonly "thread/shellCommand": CodexSchema.V2ThreadShellCommandResponse; |
| 356 | readonly "thread/approveGuardianDeniedAction": CodexSchema.V2ThreadApproveGuardianDeniedActionResponse; |
| 357 | readonly "thread/revert": CodexSchema.V2ThreadRevertResponse; |
| 358 | readonly "thread/list": CodexSchema.V2ThreadListResponse; |
| 359 | readonly "threadSection/list": CodexSchema.V2ThreadSectionListResponse; |
| 360 | readonly "threadSection/create": CodexSchema.V2ThreadSectionCreateResponse; |
| 361 | readonly "threadSection/update": CodexSchema.V2ThreadSectionUpdateResponse; |
| 362 | readonly "threadSection/delete": CodexSchema.V2ThreadSectionDeleteResponse; |
| 363 | readonly "thread/loaded/list": CodexSchema.V2ThreadLoadedListResponse; |
| 364 | readonly "thread/read": CodexSchema.V2ThreadReadResponse; |
| 365 | readonly "thread/turns/list": CodexSchema.V2ThreadTurnsListResponse; |
| 366 | readonly "thread/items/list": CodexSchema.V2ThreadItemsListResponse; |
| 367 | readonly "thread/inject_items": CodexSchema.V2ThreadInjectItemsResponse; |
| 368 | readonly "skills/list": CodexSchema.V2SkillsListResponse; |
| 369 | readonly "skills/extraRoots/set": CodexSchema.V2SkillsExtraRootsSetResponse; |
| 370 | readonly "hooks/list": CodexSchema.V2HooksListResponse; |
| 371 | readonly "marketplace/add": CodexSchema.V2MarketplaceAddResponse; |
| 372 | readonly "marketplace/remove": CodexSchema.V2MarketplaceRemoveResponse; |
| 373 | readonly "marketplace/upgrade": CodexSchema.V2MarketplaceUpgradeResponse; |
| 374 | readonly "plugin/list": CodexSchema.V2PluginListResponse; |
| 375 | readonly "plugin/installed": CodexSchema.V2PluginInstalledResponse; |
| 376 | readonly "plugin/reconcile": CodexSchema.V2PluginReconcileResponse; |
| 377 | readonly "plugin/read": CodexSchema.V2PluginReadResponse; |
| 378 | readonly "plugin/skill/read": CodexSchema.V2PluginSkillReadResponse; |
| 379 | readonly "plugin/share/save": CodexSchema.V2PluginShareSaveResponse; |
| 380 | readonly "plugin/share/updateTargets": CodexSchema.V2PluginShareUpdateTargetsResponse; |
| 381 | readonly "plugin/share/list": CodexSchema.V2PluginShareListResponse; |
| 382 | readonly "plugin/share/checkout": CodexSchema.V2PluginShareCheckoutResponse; |
| 383 | readonly "plugin/share/delete": CodexSchema.V2PluginShareDeleteResponse; |
| 384 | readonly "app/read": CodexSchema.V2AppsReadResponse; |
| 385 | readonly "app/list": CodexSchema.V2AppsListResponse; |
| 386 | readonly "app/installed": CodexSchema.V2AppsInstalledResponse; |
| 387 | readonly "fs/readFile": CodexSchema.V2FsReadFileResponse; |
| 388 | readonly "fs/writeFile": CodexSchema.V2FsWriteFileResponse; |
| 389 | readonly "fs/createDirectory": CodexSchema.V2FsCreateDirectoryResponse; |
| 390 | readonly "fs/getMetadata": CodexSchema.V2FsGetMetadataResponse; |
| 391 | readonly "fs/readDirectory": CodexSchema.V2FsReadDirectoryResponse; |
| 392 | readonly "fs/remove": CodexSchema.V2FsRemoveResponse; |
| 393 | readonly "fs/copy": CodexSchema.V2FsCopyResponse; |
| 394 | readonly "fs/watch": CodexSchema.V2FsWatchResponse; |
| 395 | readonly "fs/unwatch": CodexSchema.V2FsUnwatchResponse; |
| 396 | readonly "skills/config/write": CodexSchema.V2SkillsConfigWriteResponse; |
| 397 | readonly "plugin/install": CodexSchema.V2PluginInstallResponse; |
| 398 | readonly "plugin/uninstall": CodexSchema.V2PluginUninstallResponse; |
| 399 | readonly "turn/start": CodexSchema.V2TurnStartResponse; |
| 400 | readonly "turn/steer": CodexSchema.V2TurnSteerResponse; |
| 401 | readonly "turn/interrupt": CodexSchema.V2TurnInterruptResponse; |
| 402 | readonly "review/start": CodexSchema.V2ReviewStartResponse; |
| 403 | readonly "model/list": CodexSchema.V2ModelListResponse; |
| 404 | readonly "account/gatewayOAuth/read": CodexSchema.V2GatewayOAuthReadResponse; |
| 405 | readonly "account/gatewayOAuth/login": CodexSchema.V2GatewayOAuthLoginResponse; |
| 406 | readonly "account/gatewayOAuth/cancel": CodexSchema.V2GatewayOAuthCancelResponse; |
| 407 | readonly "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadResponse; |
| 408 | readonly "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse; |
| 409 | readonly "permissionProfile/list": CodexSchema.V2PermissionProfileListResponse; |
| 410 | readonly "experimentalFeature/enablement/set": CodexSchema.V2ExperimentalFeatureEnablementSetResponse; |
| 411 | readonly "mcpServer/oauth/login": CodexSchema.V2McpServerOauthLoginResponse; |
| 412 | readonly "config/mcpServer/reload": CodexSchema.V2McpServerRefreshResponse; |
| 413 | readonly "mcpServerStatus/list": CodexSchema.V2ListMcpServerStatusResponse; |
| 414 | readonly "mcpServer/resource/read": CodexSchema.V2McpResourceReadResponse; |
| 415 | readonly "mcpServer/tool/call": CodexSchema.V2McpServerToolCallResponse; |
| 416 | readonly "windowsSandbox/setupStart": CodexSchema.V2WindowsSandboxSetupStartResponse; |
| 417 | readonly "windowsSandbox/readiness": CodexSchema.V2WindowsSandboxReadinessResponse; |
| 418 | readonly "account/login/start": CodexSchema.V2LoginAccountResponse; |
| 419 | readonly "account/login/cancel": CodexSchema.V2CancelLoginAccountResponse; |
| 420 | readonly "account/logout": CodexSchema.V2LogoutAccountResponse; |
| 421 | readonly "account/rateLimits/read": CodexSchema.V2GetAccountRateLimitsResponse; |
| 422 | readonly "account/rateLimitResetCredit/consume": CodexSchema.V2ConsumeAccountRateLimitResetCreditResponse; |
| 423 | readonly "account/usage/read": CodexSchema.V2GetAccountTokenUsageResponse; |
| 424 | readonly "account/workspaceMessages/read": CodexSchema.V2GetWorkspaceMessagesResponse; |
| 425 | readonly "account/sendAddCreditsNudgeEmail": CodexSchema.V2SendAddCreditsNudgeEmailResponse; |
| 426 | readonly "feedback/upload": CodexSchema.V2FeedbackUploadResponse; |
| 427 | readonly "command/exec": CodexSchema.V2CommandExecResponse; |
| 428 | readonly "command/exec/write": CodexSchema.V2CommandExecWriteResponse; |
| 429 | readonly "command/exec/terminate": CodexSchema.V2CommandExecTerminateResponse; |
| 430 | readonly "command/exec/resize": CodexSchema.V2CommandExecResizeResponse; |
| 431 | readonly "config/read": CodexSchema.V2ConfigReadResponse; |
| 432 | readonly "externalAgentConfig/detect": CodexSchema.V2ExternalAgentConfigDetectResponse; |
| 433 | readonly "externalAgentConfig/import": CodexSchema.V2ExternalAgentConfigImportResponse; |
| 434 | readonly "externalAgentConfig/import/recordHistory": CodexSchema.V2ExternalAgentConfigImportHistoryRecordResponse; |
| 435 | readonly "externalAgentConfig/import/readHistories": CodexSchema.V2ExternalAgentConfigImportHistoriesReadResponse; |
| 436 | readonly "config/value/write": CodexSchema.V2ConfigWriteResponse; |
| 437 | readonly "config/batchWrite": CodexSchema.V2ConfigWriteResponse; |
| 438 | readonly "configRequirements/read": CodexSchema.V2ConfigRequirementsReadResponse; |
| 439 | readonly "account/read": CodexSchema.V2GetAccountResponse; |
| 440 | readonly getConversationSummary: CodexSchema.GetConversationSummaryResponse; |
| 441 | readonly gitDiffToRemote: CodexSchema.GitDiffToRemoteResponse; |
| 442 | readonly getAuthStatus: CodexSchema.GetAuthStatusResponse; |
| 443 | readonly fuzzyFileSearch: CodexSchema.FuzzyFileSearchResponse; |
| 444 | } |
| 445 | |
| 446 | export interface ClientNotificationParamsByMethod { |
| 447 | readonly initialized: undefined; |
| 448 | } |
| 449 | |
| 450 | export interface ServerRequestParamsByMethod { |
| 451 | readonly "item/commandExecution/requestApproval": CodexSchema.CommandExecutionRequestApprovalParams; |
| 452 | readonly "item/fileChange/requestApproval": CodexSchema.FileChangeRequestApprovalParams; |
| 453 | readonly "item/tool/requestUserInput": CodexSchema.ToolRequestUserInputParams; |
| 454 | readonly "mcpServer/elicitation/request": CodexSchema.McpServerElicitationRequestParams; |
| 455 | readonly "item/permissions/requestApproval": CodexSchema.PermissionsRequestApprovalParams; |
| 456 | readonly "item/tool/call": CodexSchema.DynamicToolCallParams; |
| 457 | readonly "account/chatgptAuthTokens/refresh": CodexSchema.ChatgptAuthTokensRefreshParams; |
| 458 | readonly "attestation/generate": CodexSchema.AttestationGenerateParams; |
| 459 | readonly applyPatchApproval: CodexSchema.ApplyPatchApprovalParams; |
| 460 | readonly execCommandApproval: CodexSchema.ExecCommandApprovalParams; |
| 461 | } |
| 462 | |
| 463 | export interface ServerRequestResponsesByMethod { |
| 464 | readonly "item/commandExecution/requestApproval": CodexSchema.CommandExecutionRequestApprovalResponse; |
| 465 | readonly "item/fileChange/requestApproval": CodexSchema.FileChangeRequestApprovalResponse; |
| 466 | readonly "item/tool/requestUserInput": CodexSchema.ToolRequestUserInputResponse; |
| 467 | readonly "mcpServer/elicitation/request": CodexSchema.McpServerElicitationRequestResponse; |
| 468 | readonly "item/permissions/requestApproval": CodexSchema.PermissionsRequestApprovalResponse; |
| 469 | readonly "item/tool/call": CodexSchema.DynamicToolCallResponse; |
| 470 | readonly "account/chatgptAuthTokens/refresh": CodexSchema.ChatgptAuthTokensRefreshResponse; |
| 471 | readonly "attestation/generate": CodexSchema.AttestationGenerateResponse; |
| 472 | readonly applyPatchApproval: CodexSchema.ApplyPatchApprovalResponse; |
| 473 | readonly execCommandApproval: CodexSchema.ExecCommandApprovalResponse; |
| 474 | } |
| 475 | |
| 476 | export interface ServerNotificationParamsByMethod { |
| 477 | readonly error: CodexSchema.V2ErrorNotification; |
| 478 | readonly "thread/started": CodexSchema.V2ThreadStartedNotification; |
| 479 | readonly "thread/status/changed": CodexSchema.V2ThreadStatusChangedNotification; |
| 480 | readonly "thread/archived": CodexSchema.V2ThreadArchivedNotification; |
| 481 | readonly "thread/deleted": CodexSchema.V2ThreadDeletedNotification; |
| 482 | readonly "thread/unarchived": CodexSchema.V2ThreadUnarchivedNotification; |
| 483 | readonly "thread/closed": CodexSchema.V2ThreadClosedNotification; |
| 484 | readonly "thread/reverted": CodexSchema.V2ThreadRevertedNotification; |
| 485 | readonly "skills/changed": CodexSchema.V2SkillsChangedNotification; |
| 486 | readonly "thread/name/updated": CodexSchema.V2ThreadNameUpdatedNotification; |
| 487 | readonly "thread/attachment/updated": CodexSchema.V2ThreadAttachmentUpdatedNotification; |
| 488 | readonly "thread/goal/updated": CodexSchema.V2ThreadGoalUpdatedNotification; |
| 489 | readonly "thread/goal/cleared": CodexSchema.V2ThreadGoalClearedNotification; |
| 490 | readonly "thread/queue/changed": CodexSchema.V2ThreadQueueChangedNotification; |
| 491 | readonly "project/changed": CodexSchema.V2ProjectChangedNotification; |
| 492 | readonly "thread/project/updated": CodexSchema.V2ThreadProjectUpdatedNotification; |
| 493 | readonly "thread/environment/connected": CodexSchema.V2EnvironmentConnectionNotification; |
| 494 | readonly "thread/environment/disconnected": CodexSchema.V2EnvironmentConnectionNotification; |
| 495 | readonly "thread/settings/updated": CodexSchema.V2ThreadSettingsUpdatedNotification; |
| 496 | readonly "thread/tokenUsage/updated": CodexSchema.V2ThreadTokenUsageUpdatedNotification; |
| 497 | readonly "turn/started": CodexSchema.V2TurnStartedNotification; |
| 498 | readonly "hook/started": CodexSchema.V2HookStartedNotification; |
| 499 | readonly "turn/completed": CodexSchema.V2TurnCompletedNotification; |
| 500 | readonly "hook/completed": CodexSchema.V2HookCompletedNotification; |
| 501 | readonly "turn/diff/updated": CodexSchema.V2TurnDiffUpdatedNotification; |
| 502 | readonly "turn/plan/updated": CodexSchema.V2TurnPlanUpdatedNotification; |
| 503 | readonly "item/started": CodexSchema.V2ItemStartedNotification; |
| 504 | readonly "item/autoApprovalReview/started": CodexSchema.V2ItemGuardianApprovalReviewStartedNotification; |
| 505 | readonly "item/autoApprovalReview/completed": CodexSchema.V2ItemGuardianApprovalReviewCompletedNotification; |
| 506 | readonly "autoApprovalReview/strictReviewRequired": CodexSchema.V2StrictReviewRequiredNotification; |
| 507 | readonly "item/completed": CodexSchema.V2ItemCompletedNotification; |
| 508 | readonly "rawResponseItem/completed": CodexSchema.V2RawResponseItemCompletedNotification; |
| 509 | readonly "rawResponse/completed": CodexSchema.V2RawResponseCompletedNotification; |
| 510 | readonly "item/agentMessage/delta": CodexSchema.V2AgentMessageDeltaNotification; |
| 511 | readonly "item/plan/delta": CodexSchema.V2PlanDeltaNotification; |
| 512 | readonly "command/exec/outputDelta": CodexSchema.V2CommandExecOutputDeltaNotification; |
| 513 | readonly "process/outputDelta": CodexSchema.V2ProcessOutputDeltaNotification; |
| 514 | readonly "process/exited": CodexSchema.V2ProcessExitedNotification; |
| 515 | readonly "item/commandExecution/outputDelta": CodexSchema.V2CommandExecutionOutputDeltaNotification; |
| 516 | readonly "item/commandExecution/terminalInteraction": CodexSchema.V2TerminalInteractionNotification; |
| 517 | readonly "item/fileChange/outputDelta": CodexSchema.V2FileChangeOutputDeltaNotification; |
| 518 | readonly "item/fileChange/patchUpdated": CodexSchema.V2FileChangePatchUpdatedNotification; |
| 519 | readonly "serverRequest/resolved": CodexSchema.V2ServerRequestResolvedNotification; |
| 520 | readonly "item/mcpToolCall/progress": CodexSchema.V2McpToolCallProgressNotification; |
| 521 | readonly "mcpServer/oauthLogin/completed": CodexSchema.V2McpServerOauthLoginCompletedNotification; |
| 522 | readonly "mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification; |
| 523 | readonly "mcpServer/event/stream/notification": CodexSchema.V2McpServerEventStreamNotification; |
| 524 | readonly "account/updated": CodexSchema.V2AccountUpdatedNotification; |
| 525 | readonly "account/gatewayOAuth/changed": CodexSchema.V2GatewayOAuthChangedNotification; |
| 526 | readonly "account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification; |
| 527 | readonly "app/list/updated": CodexSchema.V2AppListUpdatedNotification; |
| 528 | readonly "remoteControl/status/changed": CodexSchema.V2RemoteControlStatusChangedNotification; |
| 529 | readonly "externalAgentConfig/import/progress": CodexSchema.V2ExternalAgentConfigImportProgressNotification; |
| 530 | readonly "externalAgentConfig/import/completed": CodexSchema.V2ExternalAgentConfigImportCompletedNotification; |
| 531 | readonly "fs/changed": CodexSchema.V2FsChangedNotification; |
| 532 | readonly "item/reasoning/summaryTextDelta": CodexSchema.V2ReasoningSummaryTextDeltaNotification; |
| 533 | readonly "item/reasoning/summaryPartAdded": CodexSchema.V2ReasoningSummaryPartAddedNotification; |
| 534 | readonly "item/reasoning/textDelta": CodexSchema.V2ReasoningTextDeltaNotification; |
| 535 | readonly "thread/compacted": CodexSchema.V2ContextCompactedNotification; |
| 536 | readonly "model/rerouted": CodexSchema.V2ModelReroutedNotification; |
| 537 | readonly "model/verification": CodexSchema.V2ModelVerificationNotification; |
| 538 | readonly "modelProvider/authRecoveryStarted": CodexSchema.V2AuthRecoveryNotification; |
| 539 | readonly "modelProvider/authRecoveryCompleted": CodexSchema.V2AuthRecoveryNotification; |
| 540 | readonly "turn/moderationMetadata": CodexSchema.V2TurnModerationMetadataNotification; |
| 541 | readonly "model/safetyBuffering/updated": CodexSchema.V2ModelSafetyBufferingUpdatedNotification; |
| 542 | readonly warning: CodexSchema.V2WarningNotification; |
| 543 | readonly guardianWarning: CodexSchema.V2GuardianWarningNotification; |
| 544 | readonly deprecationNotice: CodexSchema.V2DeprecationNoticeNotification; |
| 545 | readonly configWarning: CodexSchema.V2ConfigWarningNotification; |
| 546 | readonly "fuzzyFileSearch/sessionUpdated": CodexSchema.FuzzyFileSearchSessionUpdatedNotification; |
| 547 | readonly "fuzzyFileSearch/sessionCompleted": CodexSchema.FuzzyFileSearchSessionCompletedNotification; |
| 548 | readonly "thread/realtime/started": CodexSchema.V2ThreadRealtimeStartedNotification; |
| 549 | readonly "thread/realtime/itemAdded": CodexSchema.V2ThreadRealtimeItemAddedNotification; |
| 550 | readonly "thread/realtime/item/started": CodexSchema.V2ThreadRealtimeItemStartedNotification; |
| 551 | readonly "thread/realtime/item/transcript/delta": CodexSchema.V2ThreadRealtimeItemTranscriptDeltaNotification; |
| 552 | readonly "thread/realtime/item/completed": CodexSchema.V2ThreadRealtimeItemCompletedNotification; |
| 553 | readonly "thread/realtime/transcript/delta": CodexSchema.V2ThreadRealtimeTranscriptDeltaNotification; |
| 554 | readonly "thread/realtime/transcript/done": CodexSchema.V2ThreadRealtimeTranscriptDoneNotification; |
| 555 | readonly "thread/realtime/outputAudio/delta": CodexSchema.V2ThreadRealtimeOutputAudioDeltaNotification; |
| 556 | readonly "thread/realtime/sdp": CodexSchema.V2ThreadRealtimeSdpNotification; |
| 557 | readonly "thread/realtime/error": CodexSchema.V2ThreadRealtimeErrorNotification; |
| 558 | readonly "thread/realtime/closed": CodexSchema.V2ThreadRealtimeClosedNotification; |
| 559 | readonly "windows/worldWritableWarning": CodexSchema.V2WindowsWorldWritableWarningNotification; |
| 560 | readonly "windowsSandbox/setupCompleted": CodexSchema.V2WindowsSandboxSetupCompletedNotification; |
| 561 | readonly "account/login/completed": CodexSchema.V2AccountLoginCompletedNotification; |
| 562 | } |
| 563 | |
| 564 | export const CLIENT_REQUEST_PARAMS = { |
| 565 | initialize: CodexSchema.V1InitializeParams, |
| 566 | "thread/start": CodexSchema.V2ThreadStartParams, |
| 567 | "thread/resume": CodexSchema.V2ThreadResumeParams, |
| 568 | "thread/fork": CodexSchema.V2ThreadForkParams, |
| 569 | "thread/archive": CodexSchema.V2ThreadArchiveParams, |
| 570 | "thread/delete": CodexSchema.V2ThreadDeleteParams, |
| 571 | "thread/unsubscribe": CodexSchema.V2ThreadUnsubscribeParams, |
| 572 | "thread/name/set": CodexSchema.V2ThreadSetNameParams, |
| 573 | "thread/goal/set": CodexSchema.V2ThreadGoalSetParams, |
| 574 | "thread/goal/get": CodexSchema.V2ThreadGoalGetParams, |
| 575 | "thread/goal/clear": CodexSchema.V2ThreadGoalClearParams, |
| 576 | "thread/metadata/update": CodexSchema.V2ThreadMetadataUpdateParams, |
| 577 | "thread/attachment/add": CodexSchema.V2ThreadAttachmentAddParams, |
| 578 | "thread/attachment/list": CodexSchema.V2ThreadAttachmentListParams, |
| 579 | "thread/attachment/remove": CodexSchema.V2ThreadAttachmentRemoveParams, |
| 580 | "thread/section/move": CodexSchema.V2ThreadSectionMoveParams, |
| 581 | "thread/unarchive": CodexSchema.V2ThreadUnarchiveParams, |
| 582 | "thread/compact/start": CodexSchema.V2ThreadCompactStartParams, |
| 583 | "thread/shellCommand": CodexSchema.V2ThreadShellCommandParams, |
| 584 | "thread/approveGuardianDeniedAction": CodexSchema.V2ThreadApproveGuardianDeniedActionParams, |
| 585 | "thread/revert": CodexSchema.V2ThreadRevertParams, |
| 586 | "thread/list": CodexSchema.V2ThreadListParams, |
| 587 | "threadSection/list": CodexSchema.V2ThreadSectionListParams, |
| 588 | "threadSection/create": CodexSchema.V2ThreadSectionCreateParams, |
| 589 | "threadSection/update": CodexSchema.V2ThreadSectionUpdateParams, |
| 590 | "threadSection/delete": CodexSchema.V2ThreadSectionDeleteParams, |
| 591 | "thread/loaded/list": CodexSchema.V2ThreadLoadedListParams, |
| 592 | "thread/read": CodexSchema.V2ThreadReadParams, |
| 593 | "thread/turns/list": CodexSchema.V2ThreadTurnsListParams, |
| 594 | "thread/items/list": CodexSchema.V2ThreadItemsListParams, |
| 595 | "thread/inject_items": CodexSchema.V2ThreadInjectItemsParams, |
| 596 | "skills/list": CodexSchema.V2SkillsListParams, |
| 597 | "skills/extraRoots/set": CodexSchema.V2SkillsExtraRootsSetParams, |
| 598 | "hooks/list": CodexSchema.V2HooksListParams, |
| 599 | "marketplace/add": CodexSchema.V2MarketplaceAddParams, |
| 600 | "marketplace/remove": CodexSchema.V2MarketplaceRemoveParams, |
| 601 | "marketplace/upgrade": CodexSchema.V2MarketplaceUpgradeParams, |
| 602 | "plugin/list": CodexSchema.V2PluginListParams, |
| 603 | "plugin/installed": CodexSchema.V2PluginInstalledParams, |
| 604 | "plugin/reconcile": CodexSchema.V2PluginReconcileParams, |
| 605 | "plugin/read": CodexSchema.V2PluginReadParams, |
| 606 | "plugin/skill/read": CodexSchema.V2PluginSkillReadParams, |
| 607 | "plugin/share/save": CodexSchema.V2PluginShareSaveParams, |
| 608 | "plugin/share/updateTargets": CodexSchema.V2PluginShareUpdateTargetsParams, |
| 609 | "plugin/share/list": CodexSchema.V2PluginShareListParams, |
| 610 | "plugin/share/checkout": CodexSchema.V2PluginShareCheckoutParams, |
| 611 | "plugin/share/delete": CodexSchema.V2PluginShareDeleteParams, |
| 612 | "app/read": CodexSchema.V2AppsReadParams, |
| 613 | "app/list": CodexSchema.V2AppsListParams, |
| 614 | "app/installed": CodexSchema.V2AppsInstalledParams, |
| 615 | "fs/readFile": CodexSchema.V2FsReadFileParams, |
| 616 | "fs/writeFile": CodexSchema.V2FsWriteFileParams, |
| 617 | "fs/createDirectory": CodexSchema.V2FsCreateDirectoryParams, |
| 618 | "fs/getMetadata": CodexSchema.V2FsGetMetadataParams, |
| 619 | "fs/readDirectory": CodexSchema.V2FsReadDirectoryParams, |
| 620 | "fs/remove": CodexSchema.V2FsRemoveParams, |
| 621 | "fs/copy": CodexSchema.V2FsCopyParams, |
| 622 | "fs/watch": CodexSchema.V2FsWatchParams, |
| 623 | "fs/unwatch": CodexSchema.V2FsUnwatchParams, |
| 624 | "skills/config/write": CodexSchema.V2SkillsConfigWriteParams, |
| 625 | "plugin/install": CodexSchema.V2PluginInstallParams, |
| 626 | "plugin/uninstall": CodexSchema.V2PluginUninstallParams, |
| 627 | "turn/start": CodexSchema.V2TurnStartParams, |
| 628 | "turn/steer": CodexSchema.V2TurnSteerParams, |
| 629 | "turn/interrupt": CodexSchema.V2TurnInterruptParams, |
| 630 | "review/start": CodexSchema.V2ReviewStartParams, |
| 631 | "model/list": CodexSchema.V2ModelListParams, |
| 632 | "account/gatewayOAuth/read": undefined, |
| 633 | "account/gatewayOAuth/login": undefined, |
| 634 | "account/gatewayOAuth/cancel": undefined, |
| 635 | "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadParams, |
| 636 | "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams, |
| 637 | "permissionProfile/list": CodexSchema.V2PermissionProfileListParams, |
| 638 | "experimentalFeature/enablement/set": CodexSchema.V2ExperimentalFeatureEnablementSetParams, |
| 639 | "mcpServer/oauth/login": CodexSchema.V2McpServerOauthLoginParams, |
| 640 | "config/mcpServer/reload": undefined, |
| 641 | "mcpServerStatus/list": CodexSchema.V2ListMcpServerStatusParams, |
| 642 | "mcpServer/resource/read": CodexSchema.V2McpResourceReadParams, |
| 643 | "mcpServer/tool/call": CodexSchema.V2McpServerToolCallParams, |
| 644 | "windowsSandbox/setupStart": CodexSchema.V2WindowsSandboxSetupStartParams, |
| 645 | "windowsSandbox/readiness": undefined, |
| 646 | "account/login/start": CodexSchema.V2LoginAccountParams, |
| 647 | "account/login/cancel": CodexSchema.V2CancelLoginAccountParams, |
| 648 | "account/logout": undefined, |
| 649 | "account/rateLimits/read": CodexSchema.V2NullableGetAccountRateLimitsParams, |
| 650 | "account/rateLimitResetCredit/consume": CodexSchema.V2ConsumeAccountRateLimitResetCreditParams, |
| 651 | "account/usage/read": CodexSchema.V2NullableGetAccountTokenUsageParams, |
| 652 | "account/workspaceMessages/read": undefined, |
| 653 | "account/sendAddCreditsNudgeEmail": CodexSchema.V2SendAddCreditsNudgeEmailParams, |
| 654 | "feedback/upload": CodexSchema.V2FeedbackUploadParams, |
| 655 | "command/exec": CodexSchema.V2CommandExecParams, |
| 656 | "command/exec/write": CodexSchema.V2CommandExecWriteParams, |
| 657 | "command/exec/terminate": CodexSchema.V2CommandExecTerminateParams, |
| 658 | "command/exec/resize": CodexSchema.V2CommandExecResizeParams, |
| 659 | "config/read": CodexSchema.V2ConfigReadParams, |
| 660 | "externalAgentConfig/detect": CodexSchema.V2ExternalAgentConfigDetectParams, |
| 661 | "externalAgentConfig/import": CodexSchema.V2ExternalAgentConfigImportParams, |
| 662 | "externalAgentConfig/import/recordHistory": |
| 663 | CodexSchema.V2ExternalAgentConfigImportHistoryRecordParams, |
| 664 | "externalAgentConfig/import/readHistories": undefined, |
| 665 | "config/value/write": CodexSchema.V2ConfigValueWriteParams, |
| 666 | "config/batchWrite": CodexSchema.V2ConfigBatchWriteParams, |
| 667 | "configRequirements/read": undefined, |
| 668 | "account/read": CodexSchema.V2GetAccountParams, |
| 669 | getConversationSummary: CodexSchema.GetConversationSummaryParams, |
| 670 | gitDiffToRemote: CodexSchema.GitDiffToRemoteParams, |
| 671 | getAuthStatus: CodexSchema.GetAuthStatusParams, |
| 672 | fuzzyFileSearch: CodexSchema.FuzzyFileSearchParams, |
| 673 | } as const; |
| 674 | |
| 675 | export const CLIENT_REQUEST_RESPONSES = { |
| 676 | initialize: CodexSchema.V1InitializeResponse, |
| 677 | "thread/start": CodexSchema.V2ThreadStartResponse, |
| 678 | "thread/resume": CodexSchema.V2ThreadResumeResponse, |
| 679 | "thread/fork": CodexSchema.V2ThreadForkResponse, |
| 680 | "thread/archive": CodexSchema.V2ThreadArchiveResponse, |
| 681 | "thread/delete": CodexSchema.V2ThreadDeleteResponse, |
| 682 | "thread/unsubscribe": CodexSchema.V2ThreadUnsubscribeResponse, |
| 683 | "thread/name/set": CodexSchema.V2ThreadSetNameResponse, |
| 684 | "thread/goal/set": CodexSchema.V2ThreadGoalSetResponse, |
| 685 | "thread/goal/get": CodexSchema.V2ThreadGoalGetResponse, |
| 686 | "thread/goal/clear": CodexSchema.V2ThreadGoalClearResponse, |
| 687 | "thread/metadata/update": CodexSchema.V2ThreadMetadataUpdateResponse, |
| 688 | "thread/attachment/add": CodexSchema.V2ThreadAttachmentAddResponse, |
| 689 | "thread/attachment/list": CodexSchema.V2ThreadAttachmentListResponse, |
| 690 | "thread/attachment/remove": CodexSchema.V2ThreadAttachmentRemoveResponse, |
| 691 | "thread/section/move": CodexSchema.V2ThreadSectionMoveResponse, |
| 692 | "thread/unarchive": CodexSchema.V2ThreadUnarchiveResponse, |
| 693 | "thread/compact/start": CodexSchema.V2ThreadCompactStartResponse, |
| 694 | "thread/shellCommand": CodexSchema.V2ThreadShellCommandResponse, |
| 695 | "thread/approveGuardianDeniedAction": CodexSchema.V2ThreadApproveGuardianDeniedActionResponse, |
| 696 | "thread/revert": CodexSchema.V2ThreadRevertResponse, |
| 697 | "thread/list": CodexSchema.V2ThreadListResponse, |
| 698 | "threadSection/list": CodexSchema.V2ThreadSectionListResponse, |
| 699 | "threadSection/create": CodexSchema.V2ThreadSectionCreateResponse, |
| 700 | "threadSection/update": CodexSchema.V2ThreadSectionUpdateResponse, |
| 701 | "threadSection/delete": CodexSchema.V2ThreadSectionDeleteResponse, |
| 702 | "thread/loaded/list": CodexSchema.V2ThreadLoadedListResponse, |
| 703 | "thread/read": CodexSchema.V2ThreadReadResponse, |
| 704 | "thread/turns/list": CodexSchema.V2ThreadTurnsListResponse, |
| 705 | "thread/items/list": CodexSchema.V2ThreadItemsListResponse, |
| 706 | "thread/inject_items": CodexSchema.V2ThreadInjectItemsResponse, |
| 707 | "skills/list": CodexSchema.V2SkillsListResponse, |
| 708 | "skills/extraRoots/set": CodexSchema.V2SkillsExtraRootsSetResponse, |
| 709 | "hooks/list": CodexSchema.V2HooksListResponse, |
| 710 | "marketplace/add": CodexSchema.V2MarketplaceAddResponse, |
| 711 | "marketplace/remove": CodexSchema.V2MarketplaceRemoveResponse, |
| 712 | "marketplace/upgrade": CodexSchema.V2MarketplaceUpgradeResponse, |
| 713 | "plugin/list": CodexSchema.V2PluginListResponse, |
| 714 | "plugin/installed": CodexSchema.V2PluginInstalledResponse, |
| 715 | "plugin/reconcile": CodexSchema.V2PluginReconcileResponse, |
| 716 | "plugin/read": CodexSchema.V2PluginReadResponse, |
| 717 | "plugin/skill/read": CodexSchema.V2PluginSkillReadResponse, |
| 718 | "plugin/share/save": CodexSchema.V2PluginShareSaveResponse, |
| 719 | "plugin/share/updateTargets": CodexSchema.V2PluginShareUpdateTargetsResponse, |
| 720 | "plugin/share/list": CodexSchema.V2PluginShareListResponse, |
| 721 | "plugin/share/checkout": CodexSchema.V2PluginShareCheckoutResponse, |
| 722 | "plugin/share/delete": CodexSchema.V2PluginShareDeleteResponse, |
| 723 | "app/read": CodexSchema.V2AppsReadResponse, |
| 724 | "app/list": CodexSchema.V2AppsListResponse, |
| 725 | "app/installed": CodexSchema.V2AppsInstalledResponse, |
| 726 | "fs/readFile": CodexSchema.V2FsReadFileResponse, |
| 727 | "fs/writeFile": CodexSchema.V2FsWriteFileResponse, |
| 728 | "fs/createDirectory": CodexSchema.V2FsCreateDirectoryResponse, |
| 729 | "fs/getMetadata": CodexSchema.V2FsGetMetadataResponse, |
| 730 | "fs/readDirectory": CodexSchema.V2FsReadDirectoryResponse, |
| 731 | "fs/remove": CodexSchema.V2FsRemoveResponse, |
| 732 | "fs/copy": CodexSchema.V2FsCopyResponse, |
| 733 | "fs/watch": CodexSchema.V2FsWatchResponse, |
| 734 | "fs/unwatch": CodexSchema.V2FsUnwatchResponse, |
| 735 | "skills/config/write": CodexSchema.V2SkillsConfigWriteResponse, |
| 736 | "plugin/install": CodexSchema.V2PluginInstallResponse, |
| 737 | "plugin/uninstall": CodexSchema.V2PluginUninstallResponse, |
| 738 | "turn/start": CodexSchema.V2TurnStartResponse, |
| 739 | "turn/steer": CodexSchema.V2TurnSteerResponse, |
| 740 | "turn/interrupt": CodexSchema.V2TurnInterruptResponse, |
| 741 | "review/start": CodexSchema.V2ReviewStartResponse, |
| 742 | "model/list": CodexSchema.V2ModelListResponse, |
| 743 | "account/gatewayOAuth/read": CodexSchema.V2GatewayOAuthReadResponse, |
| 744 | "account/gatewayOAuth/login": CodexSchema.V2GatewayOAuthLoginResponse, |
| 745 | "account/gatewayOAuth/cancel": CodexSchema.V2GatewayOAuthCancelResponse, |
| 746 | "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadResponse, |
| 747 | "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse, |
| 748 | "permissionProfile/list": CodexSchema.V2PermissionProfileListResponse, |
| 749 | "experimentalFeature/enablement/set": CodexSchema.V2ExperimentalFeatureEnablementSetResponse, |
| 750 | "mcpServer/oauth/login": CodexSchema.V2McpServerOauthLoginResponse, |
| 751 | "config/mcpServer/reload": CodexSchema.V2McpServerRefreshResponse, |
| 752 | "mcpServerStatus/list": CodexSchema.V2ListMcpServerStatusResponse, |
| 753 | "mcpServer/resource/read": CodexSchema.V2McpResourceReadResponse, |
| 754 | "mcpServer/tool/call": CodexSchema.V2McpServerToolCallResponse, |
| 755 | "windowsSandbox/setupStart": CodexSchema.V2WindowsSandboxSetupStartResponse, |
| 756 | "windowsSandbox/readiness": CodexSchema.V2WindowsSandboxReadinessResponse, |
| 757 | "account/login/start": CodexSchema.V2LoginAccountResponse, |
| 758 | "account/login/cancel": CodexSchema.V2CancelLoginAccountResponse, |
| 759 | "account/logout": CodexSchema.V2LogoutAccountResponse, |
| 760 | "account/rateLimits/read": CodexSchema.V2GetAccountRateLimitsResponse, |
| 761 | "account/rateLimitResetCredit/consume": CodexSchema.V2ConsumeAccountRateLimitResetCreditResponse, |
| 762 | "account/usage/read": CodexSchema.V2GetAccountTokenUsageResponse, |
| 763 | "account/workspaceMessages/read": CodexSchema.V2GetWorkspaceMessagesResponse, |
| 764 | "account/sendAddCreditsNudgeEmail": CodexSchema.V2SendAddCreditsNudgeEmailResponse, |
| 765 | "feedback/upload": CodexSchema.V2FeedbackUploadResponse, |
| 766 | "command/exec": CodexSchema.V2CommandExecResponse, |
| 767 | "command/exec/write": CodexSchema.V2CommandExecWriteResponse, |
| 768 | "command/exec/terminate": CodexSchema.V2CommandExecTerminateResponse, |
| 769 | "command/exec/resize": CodexSchema.V2CommandExecResizeResponse, |
| 770 | "config/read": CodexSchema.V2ConfigReadResponse, |
| 771 | "externalAgentConfig/detect": CodexSchema.V2ExternalAgentConfigDetectResponse, |
| 772 | "externalAgentConfig/import": CodexSchema.V2ExternalAgentConfigImportResponse, |
| 773 | "externalAgentConfig/import/recordHistory": |
| 774 | CodexSchema.V2ExternalAgentConfigImportHistoryRecordResponse, |
| 775 | "externalAgentConfig/import/readHistories": |
| 776 | CodexSchema.V2ExternalAgentConfigImportHistoriesReadResponse, |
| 777 | "config/value/write": CodexSchema.V2ConfigWriteResponse, |
| 778 | "config/batchWrite": CodexSchema.V2ConfigWriteResponse, |
| 779 | "configRequirements/read": CodexSchema.V2ConfigRequirementsReadResponse, |
| 780 | "account/read": CodexSchema.V2GetAccountResponse, |
| 781 | getConversationSummary: CodexSchema.GetConversationSummaryResponse, |
| 782 | gitDiffToRemote: CodexSchema.GitDiffToRemoteResponse, |
| 783 | getAuthStatus: CodexSchema.GetAuthStatusResponse, |
| 784 | fuzzyFileSearch: CodexSchema.FuzzyFileSearchResponse, |
| 785 | } as const; |
| 786 | |
| 787 | export const CLIENT_NOTIFICATION_PARAMS = { |
| 788 | initialized: undefined, |
| 789 | } as const; |
| 790 | |
| 791 | export const SERVER_REQUEST_PARAMS = { |
| 792 | "item/commandExecution/requestApproval": CodexSchema.CommandExecutionRequestApprovalParams, |
| 793 | "item/fileChange/requestApproval": CodexSchema.FileChangeRequestApprovalParams, |
| 794 | "item/tool/requestUserInput": CodexSchema.ToolRequestUserInputParams, |
| 795 | "mcpServer/elicitation/request": CodexSchema.McpServerElicitationRequestParams, |
| 796 | "item/permissions/requestApproval": CodexSchema.PermissionsRequestApprovalParams, |
| 797 | "item/tool/call": CodexSchema.DynamicToolCallParams, |
| 798 | "account/chatgptAuthTokens/refresh": CodexSchema.ChatgptAuthTokensRefreshParams, |
| 799 | "attestation/generate": CodexSchema.AttestationGenerateParams, |
| 800 | applyPatchApproval: CodexSchema.ApplyPatchApprovalParams, |
| 801 | execCommandApproval: CodexSchema.ExecCommandApprovalParams, |
| 802 | } as const; |
| 803 | |
| 804 | export const SERVER_REQUEST_RESPONSES = { |
| 805 | "item/commandExecution/requestApproval": CodexSchema.CommandExecutionRequestApprovalResponse, |
| 806 | "item/fileChange/requestApproval": CodexSchema.FileChangeRequestApprovalResponse, |
| 807 | "item/tool/requestUserInput": CodexSchema.ToolRequestUserInputResponse, |
| 808 | "mcpServer/elicitation/request": CodexSchema.McpServerElicitationRequestResponse, |
| 809 | "item/permissions/requestApproval": CodexSchema.PermissionsRequestApprovalResponse, |
| 810 | "item/tool/call": CodexSchema.DynamicToolCallResponse, |
| 811 | "account/chatgptAuthTokens/refresh": CodexSchema.ChatgptAuthTokensRefreshResponse, |
| 812 | "attestation/generate": CodexSchema.AttestationGenerateResponse, |
| 813 | applyPatchApproval: CodexSchema.ApplyPatchApprovalResponse, |
| 814 | execCommandApproval: CodexSchema.ExecCommandApprovalResponse, |
| 815 | } as const; |
| 816 | |
| 817 | export const SERVER_NOTIFICATION_PARAMS = { |
| 818 | error: CodexSchema.V2ErrorNotification, |
| 819 | "thread/started": CodexSchema.V2ThreadStartedNotification, |
| 820 | "thread/status/changed": CodexSchema.V2ThreadStatusChangedNotification, |
| 821 | "thread/archived": CodexSchema.V2ThreadArchivedNotification, |
| 822 | "thread/deleted": CodexSchema.V2ThreadDeletedNotification, |
| 823 | "thread/unarchived": CodexSchema.V2ThreadUnarchivedNotification, |
| 824 | "thread/closed": CodexSchema.V2ThreadClosedNotification, |
| 825 | "thread/reverted": CodexSchema.V2ThreadRevertedNotification, |
| 826 | "skills/changed": CodexSchema.V2SkillsChangedNotification, |
| 827 | "thread/name/updated": CodexSchema.V2ThreadNameUpdatedNotification, |
| 828 | "thread/attachment/updated": CodexSchema.V2ThreadAttachmentUpdatedNotification, |
| 829 | "thread/goal/updated": CodexSchema.V2ThreadGoalUpdatedNotification, |
| 830 | "thread/goal/cleared": CodexSchema.V2ThreadGoalClearedNotification, |
| 831 | "thread/queue/changed": CodexSchema.V2ThreadQueueChangedNotification, |
| 832 | "project/changed": CodexSchema.V2ProjectChangedNotification, |
| 833 | "thread/project/updated": CodexSchema.V2ThreadProjectUpdatedNotification, |
| 834 | "thread/environment/connected": CodexSchema.V2EnvironmentConnectionNotification, |
| 835 | "thread/environment/disconnected": CodexSchema.V2EnvironmentConnectionNotification, |
| 836 | "thread/settings/updated": CodexSchema.V2ThreadSettingsUpdatedNotification, |
| 837 | "thread/tokenUsage/updated": CodexSchema.V2ThreadTokenUsageUpdatedNotification, |
| 838 | "turn/started": CodexSchema.V2TurnStartedNotification, |
| 839 | "hook/started": CodexSchema.V2HookStartedNotification, |
| 840 | "turn/completed": CodexSchema.V2TurnCompletedNotification, |
| 841 | "hook/completed": CodexSchema.V2HookCompletedNotification, |
| 842 | "turn/diff/updated": CodexSchema.V2TurnDiffUpdatedNotification, |
| 843 | "turn/plan/updated": CodexSchema.V2TurnPlanUpdatedNotification, |
| 844 | "item/started": CodexSchema.V2ItemStartedNotification, |
| 845 | "item/autoApprovalReview/started": CodexSchema.V2ItemGuardianApprovalReviewStartedNotification, |
| 846 | "item/autoApprovalReview/completed": |
| 847 | CodexSchema.V2ItemGuardianApprovalReviewCompletedNotification, |
| 848 | "autoApprovalReview/strictReviewRequired": CodexSchema.V2StrictReviewRequiredNotification, |
| 849 | "item/completed": CodexSchema.V2ItemCompletedNotification, |
| 850 | "rawResponseItem/completed": CodexSchema.V2RawResponseItemCompletedNotification, |
| 851 | "rawResponse/completed": CodexSchema.V2RawResponseCompletedNotification, |
| 852 | "item/agentMessage/delta": CodexSchema.V2AgentMessageDeltaNotification, |
| 853 | "item/plan/delta": CodexSchema.V2PlanDeltaNotification, |
| 854 | "command/exec/outputDelta": CodexSchema.V2CommandExecOutputDeltaNotification, |
| 855 | "process/outputDelta": CodexSchema.V2ProcessOutputDeltaNotification, |
| 856 | "process/exited": CodexSchema.V2ProcessExitedNotification, |
| 857 | "item/commandExecution/outputDelta": CodexSchema.V2CommandExecutionOutputDeltaNotification, |
| 858 | "item/commandExecution/terminalInteraction": CodexSchema.V2TerminalInteractionNotification, |
| 859 | "item/fileChange/outputDelta": CodexSchema.V2FileChangeOutputDeltaNotification, |
| 860 | "item/fileChange/patchUpdated": CodexSchema.V2FileChangePatchUpdatedNotification, |
| 861 | "serverRequest/resolved": CodexSchema.V2ServerRequestResolvedNotification, |
| 862 | "item/mcpToolCall/progress": CodexSchema.V2McpToolCallProgressNotification, |
| 863 | "mcpServer/oauthLogin/completed": CodexSchema.V2McpServerOauthLoginCompletedNotification, |
| 864 | "mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification, |
| 865 | "mcpServer/event/stream/notification": CodexSchema.V2McpServerEventStreamNotification, |
| 866 | "account/updated": CodexSchema.V2AccountUpdatedNotification, |
| 867 | "account/gatewayOAuth/changed": CodexSchema.V2GatewayOAuthChangedNotification, |
| 868 | "account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification, |
| 869 | "app/list/updated": CodexSchema.V2AppListUpdatedNotification, |
| 870 | "remoteControl/status/changed": CodexSchema.V2RemoteControlStatusChangedNotification, |
| 871 | "externalAgentConfig/import/progress": |
| 872 | CodexSchema.V2ExternalAgentConfigImportProgressNotification, |
| 873 | "externalAgentConfig/import/completed": |
| 874 | CodexSchema.V2ExternalAgentConfigImportCompletedNotification, |
| 875 | "fs/changed": CodexSchema.V2FsChangedNotification, |
| 876 | "item/reasoning/summaryTextDelta": CodexSchema.V2ReasoningSummaryTextDeltaNotification, |
| 877 | "item/reasoning/summaryPartAdded": CodexSchema.V2ReasoningSummaryPartAddedNotification, |
| 878 | "item/reasoning/textDelta": CodexSchema.V2ReasoningTextDeltaNotification, |
| 879 | "thread/compacted": CodexSchema.V2ContextCompactedNotification, |
| 880 | "model/rerouted": CodexSchema.V2ModelReroutedNotification, |
| 881 | "model/verification": CodexSchema.V2ModelVerificationNotification, |
| 882 | "modelProvider/authRecoveryStarted": CodexSchema.V2AuthRecoveryNotification, |
| 883 | "modelProvider/authRecoveryCompleted": CodexSchema.V2AuthRecoveryNotification, |
| 884 | "turn/moderationMetadata": CodexSchema.V2TurnModerationMetadataNotification, |
| 885 | "model/safetyBuffering/updated": CodexSchema.V2ModelSafetyBufferingUpdatedNotification, |
| 886 | warning: CodexSchema.V2WarningNotification, |
| 887 | guardianWarning: CodexSchema.V2GuardianWarningNotification, |
| 888 | deprecationNotice: CodexSchema.V2DeprecationNoticeNotification, |
| 889 | configWarning: CodexSchema.V2ConfigWarningNotification, |
| 890 | "fuzzyFileSearch/sessionUpdated": CodexSchema.FuzzyFileSearchSessionUpdatedNotification, |
| 891 | "fuzzyFileSearch/sessionCompleted": CodexSchema.FuzzyFileSearchSessionCompletedNotification, |
| 892 | "thread/realtime/started": CodexSchema.V2ThreadRealtimeStartedNotification, |
| 893 | "thread/realtime/itemAdded": CodexSchema.V2ThreadRealtimeItemAddedNotification, |
| 894 | "thread/realtime/item/started": CodexSchema.V2ThreadRealtimeItemStartedNotification, |
| 895 | "thread/realtime/item/transcript/delta": |
| 896 | CodexSchema.V2ThreadRealtimeItemTranscriptDeltaNotification, |
| 897 | "thread/realtime/item/completed": CodexSchema.V2ThreadRealtimeItemCompletedNotification, |
| 898 | "thread/realtime/transcript/delta": CodexSchema.V2ThreadRealtimeTranscriptDeltaNotification, |
| 899 | "thread/realtime/transcript/done": CodexSchema.V2ThreadRealtimeTranscriptDoneNotification, |
| 900 | "thread/realtime/outputAudio/delta": CodexSchema.V2ThreadRealtimeOutputAudioDeltaNotification, |
| 901 | "thread/realtime/sdp": CodexSchema.V2ThreadRealtimeSdpNotification, |
| 902 | "thread/realtime/error": CodexSchema.V2ThreadRealtimeErrorNotification, |
| 903 | "thread/realtime/closed": CodexSchema.V2ThreadRealtimeClosedNotification, |
| 904 | "windows/worldWritableWarning": CodexSchema.V2WindowsWorldWritableWarningNotification, |
| 905 | "windowsSandbox/setupCompleted": CodexSchema.V2WindowsSandboxSetupCompletedNotification, |
| 906 | "account/login/completed": CodexSchema.V2AccountLoginCompletedNotification, |
| 907 | } as const; |