Open History to see the last commit
1// This file is generated by the effect-codex-app-server package. Do not edit manually.
2// Upstream protocol ref: be75785504ff152fa6333e380a2d50642f42fba0
3
4import * as CodexSchema from "./schema.gen.ts";
5
6export 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/unsubscribe": "thread/unsubscribe",
13 "thread/name/set": "thread/name/set",
14 "thread/metadata/update": "thread/metadata/update",
15 "thread/unarchive": "thread/unarchive",
16 "thread/compact/start": "thread/compact/start",
17 "thread/shellCommand": "thread/shellCommand",
18 "thread/rollback": "thread/rollback",
19 "thread/list": "thread/list",
20 "thread/loaded/list": "thread/loaded/list",
21 "thread/read": "thread/read",
22 "thread/turns/list": "thread/turns/list",
23 "thread/inject_items": "thread/inject_items",
24 "skills/list": "skills/list",
25 "marketplace/add": "marketplace/add",
26 "marketplace/remove": "marketplace/remove",
27 "plugin/list": "plugin/list",
28 "plugin/read": "plugin/read",
29 "app/list": "app/list",
30 "device/key/create": "device/key/create",
31 "device/key/public": "device/key/public",
32 "device/key/sign": "device/key/sign",
33 "fs/readFile": "fs/readFile",
34 "fs/writeFile": "fs/writeFile",
35 "fs/createDirectory": "fs/createDirectory",
36 "fs/getMetadata": "fs/getMetadata",
37 "fs/readDirectory": "fs/readDirectory",
38 "fs/remove": "fs/remove",
39 "fs/copy": "fs/copy",
40 "fs/watch": "fs/watch",
41 "fs/unwatch": "fs/unwatch",
42 "skills/config/write": "skills/config/write",
43 "plugin/install": "plugin/install",
44 "plugin/uninstall": "plugin/uninstall",
45 "turn/start": "turn/start",
46 "turn/steer": "turn/steer",
47 "turn/interrupt": "turn/interrupt",
48 "review/start": "review/start",
49 "model/list": "model/list",
50 "experimentalFeature/list": "experimentalFeature/list",
51 "experimentalFeature/enablement/set": "experimentalFeature/enablement/set",
52 "mcpServer/oauth/login": "mcpServer/oauth/login",
53 "config/mcpServer/reload": "config/mcpServer/reload",
54 "mcpServerStatus/list": "mcpServerStatus/list",
55 "mcpServer/resource/read": "mcpServer/resource/read",
56 "mcpServer/tool/call": "mcpServer/tool/call",
57 "windowsSandbox/setupStart": "windowsSandbox/setupStart",
58 "account/login/start": "account/login/start",
59 "account/login/cancel": "account/login/cancel",
60 "account/logout": "account/logout",
61 "account/rateLimits/read": "account/rateLimits/read",
62 "account/sendAddCreditsNudgeEmail": "account/sendAddCreditsNudgeEmail",
63 "feedback/upload": "feedback/upload",
64 "command/exec": "command/exec",
65 "command/exec/write": "command/exec/write",
66 "command/exec/terminate": "command/exec/terminate",
67 "command/exec/resize": "command/exec/resize",
68 "config/read": "config/read",
69 "externalAgentConfig/detect": "externalAgentConfig/detect",
70 "externalAgentConfig/import": "externalAgentConfig/import",
71 "config/value/write": "config/value/write",
72 "config/batchWrite": "config/batchWrite",
73 "configRequirements/read": "configRequirements/read",
74 "account/read": "account/read",
75 getConversationSummary: "getConversationSummary",
76 gitDiffToRemote: "gitDiffToRemote",
77 getAuthStatus: "getAuthStatus",
78 fuzzyFileSearch: "fuzzyFileSearch",
79} as const;
80
81export const CLIENT_NOTIFICATION_METHODS = {
82 initialized: "initialized",
83} as const;
84
85export const SERVER_REQUEST_METHODS = {
86 "item/commandExecution/requestApproval": "item/commandExecution/requestApproval",
87 "item/fileChange/requestApproval": "item/fileChange/requestApproval",
88 "item/tool/requestUserInput": "item/tool/requestUserInput",
89 "mcpServer/elicitation/request": "mcpServer/elicitation/request",
90 "item/permissions/requestApproval": "item/permissions/requestApproval",
91 "item/tool/call": "item/tool/call",
92 "account/chatgptAuthTokens/refresh": "account/chatgptAuthTokens/refresh",
93 applyPatchApproval: "applyPatchApproval",
94 execCommandApproval: "execCommandApproval",
95} as const;
96
97export const SERVER_NOTIFICATION_METHODS = {
98 error: "error",
99 "thread/started": "thread/started",
100 "thread/status/changed": "thread/status/changed",
101 "thread/archived": "thread/archived",
102 "thread/unarchived": "thread/unarchived",
103 "thread/closed": "thread/closed",
104 "skills/changed": "skills/changed",
105 "thread/name/updated": "thread/name/updated",
106 "thread/tokenUsage/updated": "thread/tokenUsage/updated",
107 "turn/started": "turn/started",
108 "hook/started": "hook/started",
109 "turn/completed": "turn/completed",
110 "hook/completed": "hook/completed",
111 "turn/diff/updated": "turn/diff/updated",
112 "turn/plan/updated": "turn/plan/updated",
113 "item/started": "item/started",
114 "item/autoApprovalReview/started": "item/autoApprovalReview/started",
115 "item/autoApprovalReview/completed": "item/autoApprovalReview/completed",
116 "item/completed": "item/completed",
117 "rawResponseItem/completed": "rawResponseItem/completed",
118 "item/agentMessage/delta": "item/agentMessage/delta",
119 "item/plan/delta": "item/plan/delta",
120 "command/exec/outputDelta": "command/exec/outputDelta",
121 "item/commandExecution/outputDelta": "item/commandExecution/outputDelta",
122 "item/commandExecution/terminalInteraction": "item/commandExecution/terminalInteraction",
123 "item/fileChange/outputDelta": "item/fileChange/outputDelta",
124 "item/fileChange/patchUpdated": "item/fileChange/patchUpdated",
125 "serverRequest/resolved": "serverRequest/resolved",
126 "item/mcpToolCall/progress": "item/mcpToolCall/progress",
127 "mcpServer/oauthLogin/completed": "mcpServer/oauthLogin/completed",
128 "mcpServer/startupStatus/updated": "mcpServer/startupStatus/updated",
129 "account/updated": "account/updated",
130 "account/rateLimits/updated": "account/rateLimits/updated",
131 "app/list/updated": "app/list/updated",
132 "externalAgentConfig/import/completed": "externalAgentConfig/import/completed",
133 "fs/changed": "fs/changed",
134 "item/reasoning/summaryTextDelta": "item/reasoning/summaryTextDelta",
135 "item/reasoning/summaryPartAdded": "item/reasoning/summaryPartAdded",
136 "item/reasoning/textDelta": "item/reasoning/textDelta",
137 "thread/compacted": "thread/compacted",
138 "model/rerouted": "model/rerouted",
139 warning: "warning",
140 deprecationNotice: "deprecationNotice",
141 configWarning: "configWarning",
142 "fuzzyFileSearch/sessionUpdated": "fuzzyFileSearch/sessionUpdated",
143 "fuzzyFileSearch/sessionCompleted": "fuzzyFileSearch/sessionCompleted",
144 "thread/realtime/started": "thread/realtime/started",
145 "thread/realtime/itemAdded": "thread/realtime/itemAdded",
146 "thread/realtime/transcript/delta": "thread/realtime/transcript/delta",
147 "thread/realtime/transcript/done": "thread/realtime/transcript/done",
148 "thread/realtime/outputAudio/delta": "thread/realtime/outputAudio/delta",
149 "thread/realtime/sdp": "thread/realtime/sdp",
150 "thread/realtime/error": "thread/realtime/error",
151 "thread/realtime/closed": "thread/realtime/closed",
152 "windows/worldWritableWarning": "windows/worldWritableWarning",
153 "windowsSandbox/setupCompleted": "windowsSandbox/setupCompleted",
154 "account/login/completed": "account/login/completed",
155} as const;
156
157export type ClientRequestMethod = keyof typeof CLIENT_REQUEST_METHODS;
158export type ClientNotificationMethod = keyof typeof CLIENT_NOTIFICATION_METHODS;
159export type ServerRequestMethod = keyof typeof SERVER_REQUEST_METHODS;
160export type ServerNotificationMethod = keyof typeof SERVER_NOTIFICATION_METHODS;
161
162export interface ClientRequestParamsByMethod {
163 readonly initialize: typeof CodexSchema.V1InitializeParams.Type;
164 readonly "thread/start": typeof CodexSchema.V2ThreadStartParams.Type;
165 readonly "thread/resume": typeof CodexSchema.V2ThreadResumeParams.Type;
166 readonly "thread/fork": typeof CodexSchema.V2ThreadForkParams.Type;
167 readonly "thread/archive": typeof CodexSchema.V2ThreadArchiveParams.Type;
168 readonly "thread/unsubscribe": typeof CodexSchema.V2ThreadUnsubscribeParams.Type;
169 readonly "thread/name/set": typeof CodexSchema.V2ThreadSetNameParams.Type;
170 readonly "thread/metadata/update": typeof CodexSchema.V2ThreadMetadataUpdateParams.Type;
171 readonly "thread/unarchive": typeof CodexSchema.V2ThreadUnarchiveParams.Type;
172 readonly "thread/compact/start": typeof CodexSchema.V2ThreadCompactStartParams.Type;
173 readonly "thread/shellCommand": typeof CodexSchema.V2ThreadShellCommandParams.Type;
174 readonly "thread/rollback": typeof CodexSchema.V2ThreadRollbackParams.Type;
175 readonly "thread/list": typeof CodexSchema.V2ThreadListParams.Type;
176 readonly "thread/loaded/list": typeof CodexSchema.V2ThreadLoadedListParams.Type;
177 readonly "thread/read": typeof CodexSchema.V2ThreadReadParams.Type;
178 readonly "thread/turns/list": typeof CodexSchema.V2ThreadTurnsListParams.Type;
179 readonly "thread/inject_items": typeof CodexSchema.V2ThreadInjectItemsParams.Type;
180 readonly "skills/list": typeof CodexSchema.V2SkillsListParams.Type;
181 readonly "marketplace/add": typeof CodexSchema.V2MarketplaceAddParams.Type;
182 readonly "marketplace/remove": typeof CodexSchema.V2MarketplaceRemoveParams.Type;
183 readonly "plugin/list": typeof CodexSchema.V2PluginListParams.Type;
184 readonly "plugin/read": typeof CodexSchema.V2PluginReadParams.Type;
185 readonly "app/list": typeof CodexSchema.V2AppsListParams.Type;
186 readonly "device/key/create": typeof CodexSchema.V2DeviceKeyCreateParams.Type;
187 readonly "device/key/public": typeof CodexSchema.V2DeviceKeyPublicParams.Type;
188 readonly "device/key/sign": typeof CodexSchema.V2DeviceKeySignParams.Type;
189 readonly "fs/readFile": typeof CodexSchema.V2FsReadFileParams.Type;
190 readonly "fs/writeFile": typeof CodexSchema.V2FsWriteFileParams.Type;
191 readonly "fs/createDirectory": typeof CodexSchema.V2FsCreateDirectoryParams.Type;
192 readonly "fs/getMetadata": typeof CodexSchema.V2FsGetMetadataParams.Type;
193 readonly "fs/readDirectory": typeof CodexSchema.V2FsReadDirectoryParams.Type;
194 readonly "fs/remove": typeof CodexSchema.V2FsRemoveParams.Type;
195 readonly "fs/copy": typeof CodexSchema.V2FsCopyParams.Type;
196 readonly "fs/watch": typeof CodexSchema.V2FsWatchParams.Type;
197 readonly "fs/unwatch": typeof CodexSchema.V2FsUnwatchParams.Type;
198 readonly "skills/config/write": typeof CodexSchema.V2SkillsConfigWriteParams.Type;
199 readonly "plugin/install": typeof CodexSchema.V2PluginInstallParams.Type;
200 readonly "plugin/uninstall": typeof CodexSchema.V2PluginUninstallParams.Type;
201 readonly "turn/start": typeof CodexSchema.V2TurnStartParams.Type;
202 readonly "turn/steer": typeof CodexSchema.V2TurnSteerParams.Type;
203 readonly "turn/interrupt": typeof CodexSchema.V2TurnInterruptParams.Type;
204 readonly "review/start": typeof CodexSchema.V2ReviewStartParams.Type;
205 readonly "model/list": typeof CodexSchema.V2ModelListParams.Type;
206 readonly "experimentalFeature/list": typeof CodexSchema.V2ExperimentalFeatureListParams.Type;
207 readonly "experimentalFeature/enablement/set": typeof CodexSchema.V2ExperimentalFeatureEnablementSetParams.Type;
208 readonly "mcpServer/oauth/login": typeof CodexSchema.V2McpServerOauthLoginParams.Type;
209 readonly "config/mcpServer/reload": undefined;
210 readonly "mcpServerStatus/list": typeof CodexSchema.V2ListMcpServerStatusParams.Type;
211 readonly "mcpServer/resource/read": typeof CodexSchema.V2McpResourceReadParams.Type;
212 readonly "mcpServer/tool/call": typeof CodexSchema.V2McpServerToolCallParams.Type;
213 readonly "windowsSandbox/setupStart": typeof CodexSchema.V2WindowsSandboxSetupStartParams.Type;
214 readonly "account/login/start": typeof CodexSchema.V2LoginAccountParams.Type;
215 readonly "account/login/cancel": typeof CodexSchema.V2CancelLoginAccountParams.Type;
216 readonly "account/logout": undefined;
217 readonly "account/rateLimits/read": undefined;
218 readonly "account/sendAddCreditsNudgeEmail": typeof CodexSchema.V2SendAddCreditsNudgeEmailParams.Type;
219 readonly "feedback/upload": typeof CodexSchema.V2FeedbackUploadParams.Type;
220 readonly "command/exec": typeof CodexSchema.V2CommandExecParams.Type;
221 readonly "command/exec/write": typeof CodexSchema.V2CommandExecWriteParams.Type;
222 readonly "command/exec/terminate": typeof CodexSchema.V2CommandExecTerminateParams.Type;
223 readonly "command/exec/resize": typeof CodexSchema.V2CommandExecResizeParams.Type;
224 readonly "config/read": typeof CodexSchema.V2ConfigReadParams.Type;
225 readonly "externalAgentConfig/detect": typeof CodexSchema.V2ExternalAgentConfigDetectParams.Type;
226 readonly "externalAgentConfig/import": typeof CodexSchema.V2ExternalAgentConfigImportParams.Type;
227 readonly "config/value/write": typeof CodexSchema.V2ConfigValueWriteParams.Type;
228 readonly "config/batchWrite": typeof CodexSchema.V2ConfigBatchWriteParams.Type;
229 readonly "configRequirements/read": undefined;
230 readonly "account/read": typeof CodexSchema.V2GetAccountParams.Type;
231 readonly getConversationSummary: typeof CodexSchema.GetConversationSummaryParams.Type;
232 readonly gitDiffToRemote: typeof CodexSchema.GitDiffToRemoteParams.Type;
233 readonly getAuthStatus: typeof CodexSchema.GetAuthStatusParams.Type;
234 readonly fuzzyFileSearch: typeof CodexSchema.FuzzyFileSearchParams.Type;
235}
236
237export interface ClientRequestResponsesByMethod {
238 readonly initialize: typeof CodexSchema.V1InitializeResponse.Type;
239 readonly "thread/start": typeof CodexSchema.V2ThreadStartResponse.Type;
240 readonly "thread/resume": typeof CodexSchema.V2ThreadResumeResponse.Type;
241 readonly "thread/fork": typeof CodexSchema.V2ThreadForkResponse.Type;
242 readonly "thread/archive": typeof CodexSchema.V2ThreadArchiveResponse.Type;
243 readonly "thread/unsubscribe": typeof CodexSchema.V2ThreadUnsubscribeResponse.Type;
244 readonly "thread/name/set": typeof CodexSchema.V2ThreadSetNameResponse.Type;
245 readonly "thread/metadata/update": typeof CodexSchema.V2ThreadMetadataUpdateResponse.Type;
246 readonly "thread/unarchive": typeof CodexSchema.V2ThreadUnarchiveResponse.Type;
247 readonly "thread/compact/start": typeof CodexSchema.V2ThreadCompactStartResponse.Type;
248 readonly "thread/shellCommand": typeof CodexSchema.V2ThreadShellCommandResponse.Type;
249 readonly "thread/rollback": typeof CodexSchema.V2ThreadRollbackResponse.Type;
250 readonly "thread/list": typeof CodexSchema.V2ThreadListResponse.Type;
251 readonly "thread/loaded/list": typeof CodexSchema.V2ThreadLoadedListResponse.Type;
252 readonly "thread/read": typeof CodexSchema.V2ThreadReadResponse.Type;
253 readonly "thread/turns/list": typeof CodexSchema.V2ThreadTurnsListResponse.Type;
254 readonly "thread/inject_items": typeof CodexSchema.V2ThreadInjectItemsResponse.Type;
255 readonly "skills/list": typeof CodexSchema.V2SkillsListResponse.Type;
256 readonly "marketplace/add": typeof CodexSchema.V2MarketplaceAddResponse.Type;
257 readonly "marketplace/remove": typeof CodexSchema.V2MarketplaceRemoveResponse.Type;
258 readonly "plugin/list": typeof CodexSchema.V2PluginListResponse.Type;
259 readonly "plugin/read": typeof CodexSchema.V2PluginReadResponse.Type;
260 readonly "app/list": typeof CodexSchema.V2AppsListResponse.Type;
261 readonly "device/key/create": typeof CodexSchema.V2DeviceKeyCreateResponse.Type;
262 readonly "device/key/public": typeof CodexSchema.V2DeviceKeyPublicResponse.Type;
263 readonly "device/key/sign": typeof CodexSchema.V2DeviceKeySignResponse.Type;
264 readonly "fs/readFile": typeof CodexSchema.V2FsReadFileResponse.Type;
265 readonly "fs/writeFile": typeof CodexSchema.V2FsWriteFileResponse.Type;
266 readonly "fs/createDirectory": typeof CodexSchema.V2FsCreateDirectoryResponse.Type;
267 readonly "fs/getMetadata": typeof CodexSchema.V2FsGetMetadataResponse.Type;
268 readonly "fs/readDirectory": typeof CodexSchema.V2FsReadDirectoryResponse.Type;
269 readonly "fs/remove": typeof CodexSchema.V2FsRemoveResponse.Type;
270 readonly "fs/copy": typeof CodexSchema.V2FsCopyResponse.Type;
271 readonly "fs/watch": typeof CodexSchema.V2FsWatchResponse.Type;
272 readonly "fs/unwatch": typeof CodexSchema.V2FsUnwatchResponse.Type;
273 readonly "skills/config/write": typeof CodexSchema.V2SkillsConfigWriteResponse.Type;
274 readonly "plugin/install": typeof CodexSchema.V2PluginInstallResponse.Type;
275 readonly "plugin/uninstall": typeof CodexSchema.V2PluginUninstallResponse.Type;
276 readonly "turn/start": typeof CodexSchema.V2TurnStartResponse.Type;
277 readonly "turn/steer": typeof CodexSchema.V2TurnSteerResponse.Type;
278 readonly "turn/interrupt": typeof CodexSchema.V2TurnInterruptResponse.Type;
279 readonly "review/start": typeof CodexSchema.V2ReviewStartResponse.Type;
280 readonly "model/list": typeof CodexSchema.V2ModelListResponse.Type;
281 readonly "experimentalFeature/list": typeof CodexSchema.V2ExperimentalFeatureListResponse.Type;
282 readonly "experimentalFeature/enablement/set": typeof CodexSchema.V2ExperimentalFeatureEnablementSetResponse.Type;
283 readonly "mcpServer/oauth/login": typeof CodexSchema.V2McpServerOauthLoginResponse.Type;
284 readonly "config/mcpServer/reload": typeof CodexSchema.V2McpServerRefreshResponse.Type;
285 readonly "mcpServerStatus/list": typeof CodexSchema.V2ListMcpServerStatusResponse.Type;
286 readonly "mcpServer/resource/read": typeof CodexSchema.V2McpResourceReadResponse.Type;
287 readonly "mcpServer/tool/call": typeof CodexSchema.V2McpServerToolCallResponse.Type;
288 readonly "windowsSandbox/setupStart": typeof CodexSchema.V2WindowsSandboxSetupStartResponse.Type;
289 readonly "account/login/start": typeof CodexSchema.V2LoginAccountResponse.Type;
290 readonly "account/login/cancel": typeof CodexSchema.V2CancelLoginAccountResponse.Type;
291 readonly "account/logout": typeof CodexSchema.V2LogoutAccountResponse.Type;
292 readonly "account/rateLimits/read": typeof CodexSchema.V2GetAccountRateLimitsResponse.Type;
293 readonly "account/sendAddCreditsNudgeEmail": typeof CodexSchema.V2SendAddCreditsNudgeEmailResponse.Type;
294 readonly "feedback/upload": typeof CodexSchema.V2FeedbackUploadResponse.Type;
295 readonly "command/exec": typeof CodexSchema.V2CommandExecResponse.Type;
296 readonly "command/exec/write": typeof CodexSchema.V2CommandExecWriteResponse.Type;
297 readonly "command/exec/terminate": typeof CodexSchema.V2CommandExecTerminateResponse.Type;
298 readonly "command/exec/resize": typeof CodexSchema.V2CommandExecResizeResponse.Type;
299 readonly "config/read": typeof CodexSchema.V2ConfigReadResponse.Type;
300 readonly "externalAgentConfig/detect": typeof CodexSchema.V2ExternalAgentConfigDetectResponse.Type;
301 readonly "externalAgentConfig/import": typeof CodexSchema.V2ExternalAgentConfigImportResponse.Type;
302 readonly "config/value/write": typeof CodexSchema.V2ConfigWriteResponse.Type;
303 readonly "config/batchWrite": typeof CodexSchema.V2ConfigWriteResponse.Type;
304 readonly "configRequirements/read": typeof CodexSchema.V2ConfigRequirementsReadResponse.Type;
305 readonly "account/read": typeof CodexSchema.V2GetAccountResponse.Type;
306 readonly getConversationSummary: typeof CodexSchema.GetConversationSummaryResponse.Type;
307 readonly gitDiffToRemote: typeof CodexSchema.GitDiffToRemoteResponse.Type;
308 readonly getAuthStatus: typeof CodexSchema.GetAuthStatusResponse.Type;
309 readonly fuzzyFileSearch: typeof CodexSchema.FuzzyFileSearchResponse.Type;
310}
311
312export interface ClientNotificationParamsByMethod {
313 readonly initialized: undefined;
314}
315
316export interface ServerRequestParamsByMethod {
317 readonly "item/commandExecution/requestApproval": typeof CodexSchema.CommandExecutionRequestApprovalParams.Type;
318 readonly "item/fileChange/requestApproval": typeof CodexSchema.FileChangeRequestApprovalParams.Type;
319 readonly "item/tool/requestUserInput": typeof CodexSchema.ToolRequestUserInputParams.Type;
320 readonly "mcpServer/elicitation/request": typeof CodexSchema.McpServerElicitationRequestParams.Type;
321 readonly "item/permissions/requestApproval": typeof CodexSchema.PermissionsRequestApprovalParams.Type;
322 readonly "item/tool/call": typeof CodexSchema.DynamicToolCallParams.Type;
323 readonly "account/chatgptAuthTokens/refresh": typeof CodexSchema.ChatgptAuthTokensRefreshParams.Type;
324 readonly applyPatchApproval: typeof CodexSchema.ApplyPatchApprovalParams.Type;
325 readonly execCommandApproval: typeof CodexSchema.ExecCommandApprovalParams.Type;
326}
327
328export interface ServerRequestResponsesByMethod {
329 readonly "item/commandExecution/requestApproval": typeof CodexSchema.CommandExecutionRequestApprovalResponse.Type;
330 readonly "item/fileChange/requestApproval": typeof CodexSchema.FileChangeRequestApprovalResponse.Type;
331 readonly "item/tool/requestUserInput": typeof CodexSchema.ToolRequestUserInputResponse.Type;
332 readonly "mcpServer/elicitation/request": typeof CodexSchema.McpServerElicitationRequestResponse.Type;
333 readonly "item/permissions/requestApproval": typeof CodexSchema.PermissionsRequestApprovalResponse.Type;
334 readonly "item/tool/call": typeof CodexSchema.DynamicToolCallResponse.Type;
335 readonly "account/chatgptAuthTokens/refresh": typeof CodexSchema.ChatgptAuthTokensRefreshResponse.Type;
336 readonly applyPatchApproval: typeof CodexSchema.ApplyPatchApprovalResponse.Type;
337 readonly execCommandApproval: typeof CodexSchema.ExecCommandApprovalResponse.Type;
338}
339
340export interface ServerNotificationParamsByMethod {
341 readonly error: typeof CodexSchema.V2ErrorNotification.Type;
342 readonly "thread/started": typeof CodexSchema.V2ThreadStartedNotification.Type;
343 readonly "thread/status/changed": typeof CodexSchema.V2ThreadStatusChangedNotification.Type;
344 readonly "thread/archived": typeof CodexSchema.V2ThreadArchivedNotification.Type;
345 readonly "thread/unarchived": typeof CodexSchema.V2ThreadUnarchivedNotification.Type;
346 readonly "thread/closed": typeof CodexSchema.V2ThreadClosedNotification.Type;
347 readonly "skills/changed": typeof CodexSchema.V2SkillsChangedNotification.Type;
348 readonly "thread/name/updated": typeof CodexSchema.V2ThreadNameUpdatedNotification.Type;
349 readonly "thread/tokenUsage/updated": typeof CodexSchema.V2ThreadTokenUsageUpdatedNotification.Type;
350 readonly "turn/started": typeof CodexSchema.V2TurnStartedNotification.Type;
351 readonly "hook/started": typeof CodexSchema.V2HookStartedNotification.Type;
352 readonly "turn/completed": typeof CodexSchema.V2TurnCompletedNotification.Type;
353 readonly "hook/completed": typeof CodexSchema.V2HookCompletedNotification.Type;
354 readonly "turn/diff/updated": typeof CodexSchema.V2TurnDiffUpdatedNotification.Type;
355 readonly "turn/plan/updated": typeof CodexSchema.V2TurnPlanUpdatedNotification.Type;
356 readonly "item/started": typeof CodexSchema.V2ItemStartedNotification.Type;
357 readonly "item/autoApprovalReview/started": typeof CodexSchema.V2ItemGuardianApprovalReviewStartedNotification.Type;
358 readonly "item/autoApprovalReview/completed": typeof CodexSchema.V2ItemGuardianApprovalReviewCompletedNotification.Type;
359 readonly "item/completed": typeof CodexSchema.V2ItemCompletedNotification.Type;
360 readonly "rawResponseItem/completed": typeof CodexSchema.V2RawResponseItemCompletedNotification.Type;
361 readonly "item/agentMessage/delta": typeof CodexSchema.V2AgentMessageDeltaNotification.Type;
362 readonly "item/plan/delta": typeof CodexSchema.V2PlanDeltaNotification.Type;
363 readonly "command/exec/outputDelta": typeof CodexSchema.V2CommandExecOutputDeltaNotification.Type;
364 readonly "item/commandExecution/outputDelta": typeof CodexSchema.V2CommandExecutionOutputDeltaNotification.Type;
365 readonly "item/commandExecution/terminalInteraction": typeof CodexSchema.V2TerminalInteractionNotification.Type;
366 readonly "item/fileChange/outputDelta": typeof CodexSchema.V2FileChangeOutputDeltaNotification.Type;
367 readonly "item/fileChange/patchUpdated": typeof CodexSchema.V2FileChangePatchUpdatedNotification.Type;
368 readonly "serverRequest/resolved": typeof CodexSchema.V2ServerRequestResolvedNotification.Type;
369 readonly "item/mcpToolCall/progress": typeof CodexSchema.V2McpToolCallProgressNotification.Type;
370 readonly "mcpServer/oauthLogin/completed": typeof CodexSchema.V2McpServerOauthLoginCompletedNotification.Type;
371 readonly "mcpServer/startupStatus/updated": typeof CodexSchema.V2McpServerStatusUpdatedNotification.Type;
372 readonly "account/updated": typeof CodexSchema.V2AccountUpdatedNotification.Type;
373 readonly "account/rateLimits/updated": typeof CodexSchema.V2AccountRateLimitsUpdatedNotification.Type;
374 readonly "app/list/updated": typeof CodexSchema.V2AppListUpdatedNotification.Type;
375 readonly "externalAgentConfig/import/completed": typeof CodexSchema.V2ExternalAgentConfigImportCompletedNotification.Type;
376 readonly "fs/changed": typeof CodexSchema.V2FsChangedNotification.Type;
377 readonly "item/reasoning/summaryTextDelta": typeof CodexSchema.V2ReasoningSummaryTextDeltaNotification.Type;
378 readonly "item/reasoning/summaryPartAdded": typeof CodexSchema.V2ReasoningSummaryPartAddedNotification.Type;
379 readonly "item/reasoning/textDelta": typeof CodexSchema.V2ReasoningTextDeltaNotification.Type;
380 readonly "thread/compacted": typeof CodexSchema.V2ContextCompactedNotification.Type;
381 readonly "model/rerouted": typeof CodexSchema.V2ModelReroutedNotification.Type;
382 readonly warning: typeof CodexSchema.V2WarningNotification.Type;
383 readonly deprecationNotice: typeof CodexSchema.V2DeprecationNoticeNotification.Type;
384 readonly configWarning: typeof CodexSchema.V2ConfigWarningNotification.Type;
385 readonly "fuzzyFileSearch/sessionUpdated": typeof CodexSchema.FuzzyFileSearchSessionUpdatedNotification.Type;
386 readonly "fuzzyFileSearch/sessionCompleted": typeof CodexSchema.FuzzyFileSearchSessionCompletedNotification.Type;
387 readonly "thread/realtime/started": typeof CodexSchema.V2ThreadRealtimeStartedNotification.Type;
388 readonly "thread/realtime/itemAdded": typeof CodexSchema.V2ThreadRealtimeItemAddedNotification.Type;
389 readonly "thread/realtime/transcript/delta": typeof CodexSchema.V2ThreadRealtimeTranscriptDeltaNotification.Type;
390 readonly "thread/realtime/transcript/done": typeof CodexSchema.V2ThreadRealtimeTranscriptDoneNotification.Type;
391 readonly "thread/realtime/outputAudio/delta": typeof CodexSchema.V2ThreadRealtimeOutputAudioDeltaNotification.Type;
392 readonly "thread/realtime/sdp": typeof CodexSchema.V2ThreadRealtimeSdpNotification.Type;
393 readonly "thread/realtime/error": typeof CodexSchema.V2ThreadRealtimeErrorNotification.Type;
394 readonly "thread/realtime/closed": typeof CodexSchema.V2ThreadRealtimeClosedNotification.Type;
395 readonly "windows/worldWritableWarning": typeof CodexSchema.V2WindowsWorldWritableWarningNotification.Type;
396 readonly "windowsSandbox/setupCompleted": typeof CodexSchema.V2WindowsSandboxSetupCompletedNotification.Type;
397 readonly "account/login/completed": typeof CodexSchema.V2AccountLoginCompletedNotification.Type;
398}
399
400export const CLIENT_REQUEST_PARAMS = {
401 initialize: CodexSchema.V1InitializeParams,
402 "thread/start": CodexSchema.V2ThreadStartParams,
403 "thread/resume": CodexSchema.V2ThreadResumeParams,
404 "thread/fork": CodexSchema.V2ThreadForkParams,
405 "thread/archive": CodexSchema.V2ThreadArchiveParams,
406 "thread/unsubscribe": CodexSchema.V2ThreadUnsubscribeParams,
407 "thread/name/set": CodexSchema.V2ThreadSetNameParams,
408 "thread/metadata/update": CodexSchema.V2ThreadMetadataUpdateParams,
409 "thread/unarchive": CodexSchema.V2ThreadUnarchiveParams,
410 "thread/compact/start": CodexSchema.V2ThreadCompactStartParams,
411 "thread/shellCommand": CodexSchema.V2ThreadShellCommandParams,
412 "thread/rollback": CodexSchema.V2ThreadRollbackParams,
413 "thread/list": CodexSchema.V2ThreadListParams,
414 "thread/loaded/list": CodexSchema.V2ThreadLoadedListParams,
415 "thread/read": CodexSchema.V2ThreadReadParams,
416 "thread/turns/list": CodexSchema.V2ThreadTurnsListParams,
417 "thread/inject_items": CodexSchema.V2ThreadInjectItemsParams,
418 "skills/list": CodexSchema.V2SkillsListParams,
419 "marketplace/add": CodexSchema.V2MarketplaceAddParams,
420 "marketplace/remove": CodexSchema.V2MarketplaceRemoveParams,
421 "plugin/list": CodexSchema.V2PluginListParams,
422 "plugin/read": CodexSchema.V2PluginReadParams,
423 "app/list": CodexSchema.V2AppsListParams,
424 "device/key/create": CodexSchema.V2DeviceKeyCreateParams,
425 "device/key/public": CodexSchema.V2DeviceKeyPublicParams,
426 "device/key/sign": CodexSchema.V2DeviceKeySignParams,
427 "fs/readFile": CodexSchema.V2FsReadFileParams,
428 "fs/writeFile": CodexSchema.V2FsWriteFileParams,
429 "fs/createDirectory": CodexSchema.V2FsCreateDirectoryParams,
430 "fs/getMetadata": CodexSchema.V2FsGetMetadataParams,
431 "fs/readDirectory": CodexSchema.V2FsReadDirectoryParams,
432 "fs/remove": CodexSchema.V2FsRemoveParams,
433 "fs/copy": CodexSchema.V2FsCopyParams,
434 "fs/watch": CodexSchema.V2FsWatchParams,
435 "fs/unwatch": CodexSchema.V2FsUnwatchParams,
436 "skills/config/write": CodexSchema.V2SkillsConfigWriteParams,
437 "plugin/install": CodexSchema.V2PluginInstallParams,
438 "plugin/uninstall": CodexSchema.V2PluginUninstallParams,
439 "turn/start": CodexSchema.V2TurnStartParams,
440 "turn/steer": CodexSchema.V2TurnSteerParams,
441 "turn/interrupt": CodexSchema.V2TurnInterruptParams,
442 "review/start": CodexSchema.V2ReviewStartParams,
443 "model/list": CodexSchema.V2ModelListParams,
444 "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams,
445 "experimentalFeature/enablement/set": CodexSchema.V2ExperimentalFeatureEnablementSetParams,
446 "mcpServer/oauth/login": CodexSchema.V2McpServerOauthLoginParams,
447 "config/mcpServer/reload": undefined,
448 "mcpServerStatus/list": CodexSchema.V2ListMcpServerStatusParams,
449 "mcpServer/resource/read": CodexSchema.V2McpResourceReadParams,
450 "mcpServer/tool/call": CodexSchema.V2McpServerToolCallParams,
451 "windowsSandbox/setupStart": CodexSchema.V2WindowsSandboxSetupStartParams,
452 "account/login/start": CodexSchema.V2LoginAccountParams,
453 "account/login/cancel": CodexSchema.V2CancelLoginAccountParams,
454 "account/logout": undefined,
455 "account/rateLimits/read": undefined,
456 "account/sendAddCreditsNudgeEmail": CodexSchema.V2SendAddCreditsNudgeEmailParams,
457 "feedback/upload": CodexSchema.V2FeedbackUploadParams,
458 "command/exec": CodexSchema.V2CommandExecParams,
459 "command/exec/write": CodexSchema.V2CommandExecWriteParams,
460 "command/exec/terminate": CodexSchema.V2CommandExecTerminateParams,
461 "command/exec/resize": CodexSchema.V2CommandExecResizeParams,
462 "config/read": CodexSchema.V2ConfigReadParams,
463 "externalAgentConfig/detect": CodexSchema.V2ExternalAgentConfigDetectParams,
464 "externalAgentConfig/import": CodexSchema.V2ExternalAgentConfigImportParams,
465 "config/value/write": CodexSchema.V2ConfigValueWriteParams,
466 "config/batchWrite": CodexSchema.V2ConfigBatchWriteParams,
467 "configRequirements/read": undefined,
468 "account/read": CodexSchema.V2GetAccountParams,
469 getConversationSummary: CodexSchema.GetConversationSummaryParams,
470 gitDiffToRemote: CodexSchema.GitDiffToRemoteParams,
471 getAuthStatus: CodexSchema.GetAuthStatusParams,
472 fuzzyFileSearch: CodexSchema.FuzzyFileSearchParams,
473} as const;
474
475export const CLIENT_REQUEST_RESPONSES = {
476 initialize: CodexSchema.V1InitializeResponse,
477 "thread/start": CodexSchema.V2ThreadStartResponse,
478 "thread/resume": CodexSchema.V2ThreadResumeResponse,
479 "thread/fork": CodexSchema.V2ThreadForkResponse,
480 "thread/archive": CodexSchema.V2ThreadArchiveResponse,
481 "thread/unsubscribe": CodexSchema.V2ThreadUnsubscribeResponse,
482 "thread/name/set": CodexSchema.V2ThreadSetNameResponse,
483 "thread/metadata/update": CodexSchema.V2ThreadMetadataUpdateResponse,
484 "thread/unarchive": CodexSchema.V2ThreadUnarchiveResponse,
485 "thread/compact/start": CodexSchema.V2ThreadCompactStartResponse,
486 "thread/shellCommand": CodexSchema.V2ThreadShellCommandResponse,
487 "thread/rollback": CodexSchema.V2ThreadRollbackResponse,
488 "thread/list": CodexSchema.V2ThreadListResponse,
489 "thread/loaded/list": CodexSchema.V2ThreadLoadedListResponse,
490 "thread/read": CodexSchema.V2ThreadReadResponse,
491 "thread/turns/list": CodexSchema.V2ThreadTurnsListResponse,
492 "thread/inject_items": CodexSchema.V2ThreadInjectItemsResponse,
493 "skills/list": CodexSchema.V2SkillsListResponse,
494 "marketplace/add": CodexSchema.V2MarketplaceAddResponse,
495 "marketplace/remove": CodexSchema.V2MarketplaceRemoveResponse,
496 "plugin/list": CodexSchema.V2PluginListResponse,
497 "plugin/read": CodexSchema.V2PluginReadResponse,
498 "app/list": CodexSchema.V2AppsListResponse,
499 "device/key/create": CodexSchema.V2DeviceKeyCreateResponse,
500 "device/key/public": CodexSchema.V2DeviceKeyPublicResponse,
501 "device/key/sign": CodexSchema.V2DeviceKeySignResponse,
502 "fs/readFile": CodexSchema.V2FsReadFileResponse,
503 "fs/writeFile": CodexSchema.V2FsWriteFileResponse,
504 "fs/createDirectory": CodexSchema.V2FsCreateDirectoryResponse,
505 "fs/getMetadata": CodexSchema.V2FsGetMetadataResponse,
506 "fs/readDirectory": CodexSchema.V2FsReadDirectoryResponse,
507 "fs/remove": CodexSchema.V2FsRemoveResponse,
508 "fs/copy": CodexSchema.V2FsCopyResponse,
509 "fs/watch": CodexSchema.V2FsWatchResponse,
510 "fs/unwatch": CodexSchema.V2FsUnwatchResponse,
511 "skills/config/write": CodexSchema.V2SkillsConfigWriteResponse,
512 "plugin/install": CodexSchema.V2PluginInstallResponse,
513 "plugin/uninstall": CodexSchema.V2PluginUninstallResponse,
514 "turn/start": CodexSchema.V2TurnStartResponse,
515 "turn/steer": CodexSchema.V2TurnSteerResponse,
516 "turn/interrupt": CodexSchema.V2TurnInterruptResponse,
517 "review/start": CodexSchema.V2ReviewStartResponse,
518 "model/list": CodexSchema.V2ModelListResponse,
519 "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse,
520 "experimentalFeature/enablement/set": CodexSchema.V2ExperimentalFeatureEnablementSetResponse,
521 "mcpServer/oauth/login": CodexSchema.V2McpServerOauthLoginResponse,
522 "config/mcpServer/reload": CodexSchema.V2McpServerRefreshResponse,
523 "mcpServerStatus/list": CodexSchema.V2ListMcpServerStatusResponse,
524 "mcpServer/resource/read": CodexSchema.V2McpResourceReadResponse,
525 "mcpServer/tool/call": CodexSchema.V2McpServerToolCallResponse,
526 "windowsSandbox/setupStart": CodexSchema.V2WindowsSandboxSetupStartResponse,
527 "account/login/start": CodexSchema.V2LoginAccountResponse,
528 "account/login/cancel": CodexSchema.V2CancelLoginAccountResponse,
529 "account/logout": CodexSchema.V2LogoutAccountResponse,
530 "account/rateLimits/read": CodexSchema.V2GetAccountRateLimitsResponse,
531 "account/sendAddCreditsNudgeEmail": CodexSchema.V2SendAddCreditsNudgeEmailResponse,
532 "feedback/upload": CodexSchema.V2FeedbackUploadResponse,
533 "command/exec": CodexSchema.V2CommandExecResponse,
534 "command/exec/write": CodexSchema.V2CommandExecWriteResponse,
535 "command/exec/terminate": CodexSchema.V2CommandExecTerminateResponse,
536 "command/exec/resize": CodexSchema.V2CommandExecResizeResponse,
537 "config/read": CodexSchema.V2ConfigReadResponse,
538 "externalAgentConfig/detect": CodexSchema.V2ExternalAgentConfigDetectResponse,
539 "externalAgentConfig/import": CodexSchema.V2ExternalAgentConfigImportResponse,
540 "config/value/write": CodexSchema.V2ConfigWriteResponse,
541 "config/batchWrite": CodexSchema.V2ConfigWriteResponse,
542 "configRequirements/read": CodexSchema.V2ConfigRequirementsReadResponse,
543 "account/read": CodexSchema.V2GetAccountResponse,
544 getConversationSummary: CodexSchema.GetConversationSummaryResponse,
545 gitDiffToRemote: CodexSchema.GitDiffToRemoteResponse,
546 getAuthStatus: CodexSchema.GetAuthStatusResponse,
547 fuzzyFileSearch: CodexSchema.FuzzyFileSearchResponse,
548} as const;
549
550export const CLIENT_NOTIFICATION_PARAMS = {
551 initialized: undefined,
552} as const;
553
554export const SERVER_REQUEST_PARAMS = {
555 "item/commandExecution/requestApproval": CodexSchema.CommandExecutionRequestApprovalParams,
556 "item/fileChange/requestApproval": CodexSchema.FileChangeRequestApprovalParams,
557 "item/tool/requestUserInput": CodexSchema.ToolRequestUserInputParams,
558 "mcpServer/elicitation/request": CodexSchema.McpServerElicitationRequestParams,
559 "item/permissions/requestApproval": CodexSchema.PermissionsRequestApprovalParams,
560 "item/tool/call": CodexSchema.DynamicToolCallParams,
561 "account/chatgptAuthTokens/refresh": CodexSchema.ChatgptAuthTokensRefreshParams,
562 applyPatchApproval: CodexSchema.ApplyPatchApprovalParams,
563 execCommandApproval: CodexSchema.ExecCommandApprovalParams,
564} as const;
565
566export const SERVER_REQUEST_RESPONSES = {
567 "item/commandExecution/requestApproval": CodexSchema.CommandExecutionRequestApprovalResponse,
568 "item/fileChange/requestApproval": CodexSchema.FileChangeRequestApprovalResponse,
569 "item/tool/requestUserInput": CodexSchema.ToolRequestUserInputResponse,
570 "mcpServer/elicitation/request": CodexSchema.McpServerElicitationRequestResponse,
571 "item/permissions/requestApproval": CodexSchema.PermissionsRequestApprovalResponse,
572 "item/tool/call": CodexSchema.DynamicToolCallResponse,
573 "account/chatgptAuthTokens/refresh": CodexSchema.ChatgptAuthTokensRefreshResponse,
574 applyPatchApproval: CodexSchema.ApplyPatchApprovalResponse,
575 execCommandApproval: CodexSchema.ExecCommandApprovalResponse,
576} as const;
577
578export const SERVER_NOTIFICATION_PARAMS = {
579 error: CodexSchema.V2ErrorNotification,
580 "thread/started": CodexSchema.V2ThreadStartedNotification,
581 "thread/status/changed": CodexSchema.V2ThreadStatusChangedNotification,
582 "thread/archived": CodexSchema.V2ThreadArchivedNotification,
583 "thread/unarchived": CodexSchema.V2ThreadUnarchivedNotification,
584 "thread/closed": CodexSchema.V2ThreadClosedNotification,
585 "skills/changed": CodexSchema.V2SkillsChangedNotification,
586 "thread/name/updated": CodexSchema.V2ThreadNameUpdatedNotification,
587 "thread/tokenUsage/updated": CodexSchema.V2ThreadTokenUsageUpdatedNotification,
588 "turn/started": CodexSchema.V2TurnStartedNotification,
589 "hook/started": CodexSchema.V2HookStartedNotification,
590 "turn/completed": CodexSchema.V2TurnCompletedNotification,
591 "hook/completed": CodexSchema.V2HookCompletedNotification,
592 "turn/diff/updated": CodexSchema.V2TurnDiffUpdatedNotification,
593 "turn/plan/updated": CodexSchema.V2TurnPlanUpdatedNotification,
594 "item/started": CodexSchema.V2ItemStartedNotification,
595 "item/autoApprovalReview/started": CodexSchema.V2ItemGuardianApprovalReviewStartedNotification,
596 "item/autoApprovalReview/completed":
597 CodexSchema.V2ItemGuardianApprovalReviewCompletedNotification,
598 "item/completed": CodexSchema.V2ItemCompletedNotification,
599 "rawResponseItem/completed": CodexSchema.V2RawResponseItemCompletedNotification,
600 "item/agentMessage/delta": CodexSchema.V2AgentMessageDeltaNotification,
601 "item/plan/delta": CodexSchema.V2PlanDeltaNotification,
602 "command/exec/outputDelta": CodexSchema.V2CommandExecOutputDeltaNotification,
603 "item/commandExecution/outputDelta": CodexSchema.V2CommandExecutionOutputDeltaNotification,
604 "item/commandExecution/terminalInteraction": CodexSchema.V2TerminalInteractionNotification,
605 "item/fileChange/outputDelta": CodexSchema.V2FileChangeOutputDeltaNotification,
606 "item/fileChange/patchUpdated": CodexSchema.V2FileChangePatchUpdatedNotification,
607 "serverRequest/resolved": CodexSchema.V2ServerRequestResolvedNotification,
608 "item/mcpToolCall/progress": CodexSchema.V2McpToolCallProgressNotification,
609 "mcpServer/oauthLogin/completed": CodexSchema.V2McpServerOauthLoginCompletedNotification,
610 "mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification,
611 "account/updated": CodexSchema.V2AccountUpdatedNotification,
612 "account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification,
613 "app/list/updated": CodexSchema.V2AppListUpdatedNotification,
614 "externalAgentConfig/import/completed":
615 CodexSchema.V2ExternalAgentConfigImportCompletedNotification,
616 "fs/changed": CodexSchema.V2FsChangedNotification,
617 "item/reasoning/summaryTextDelta": CodexSchema.V2ReasoningSummaryTextDeltaNotification,
618 "item/reasoning/summaryPartAdded": CodexSchema.V2ReasoningSummaryPartAddedNotification,
619 "item/reasoning/textDelta": CodexSchema.V2ReasoningTextDeltaNotification,
620 "thread/compacted": CodexSchema.V2ContextCompactedNotification,
621 "model/rerouted": CodexSchema.V2ModelReroutedNotification,
622 warning: CodexSchema.V2WarningNotification,
623 deprecationNotice: CodexSchema.V2DeprecationNoticeNotification,
624 configWarning: CodexSchema.V2ConfigWarningNotification,
625 "fuzzyFileSearch/sessionUpdated": CodexSchema.FuzzyFileSearchSessionUpdatedNotification,
626 "fuzzyFileSearch/sessionCompleted": CodexSchema.FuzzyFileSearchSessionCompletedNotification,
627 "thread/realtime/started": CodexSchema.V2ThreadRealtimeStartedNotification,
628 "thread/realtime/itemAdded": CodexSchema.V2ThreadRealtimeItemAddedNotification,
629 "thread/realtime/transcript/delta": CodexSchema.V2ThreadRealtimeTranscriptDeltaNotification,
630 "thread/realtime/transcript/done": CodexSchema.V2ThreadRealtimeTranscriptDoneNotification,
631 "thread/realtime/outputAudio/delta": CodexSchema.V2ThreadRealtimeOutputAudioDeltaNotification,
632 "thread/realtime/sdp": CodexSchema.V2ThreadRealtimeSdpNotification,
633 "thread/realtime/error": CodexSchema.V2ThreadRealtimeErrorNotification,
634 "thread/realtime/closed": CodexSchema.V2ThreadRealtimeClosedNotification,
635 "windows/worldWritableWarning": CodexSchema.V2WindowsWorldWritableWarningNotification,
636 "windowsSandbox/setupCompleted": CodexSchema.V2WindowsSandboxSetupCompletedNotification,
637 "account/login/completed": CodexSchema.V2AccountLoginCompletedNotification,
638} as const;