11// This file is generated by the effect-codex-app-server package. Do not edit manually.
2- // Upstream protocol ref: dbfe855f4fd0f5dcdf079882652a8efe622b0595
2+ // Upstream protocol ref: be75785504ff152fa6333e380a2d50642f42fba0
33
44import * as CodexSchema from "./schema.gen.ts" ;
55
@@ -19,10 +19,17 @@ export const CLIENT_REQUEST_METHODS = {
1919 "thread/list" : "thread/list" ,
2020 "thread/loaded/list" : "thread/loaded/list" ,
2121 "thread/read" : "thread/read" ,
22+ "thread/turns/list" : "thread/turns/list" ,
23+ "thread/inject_items" : "thread/inject_items" ,
2224 "skills/list" : "skills/list" ,
25+ "marketplace/add" : "marketplace/add" ,
26+ "marketplace/remove" : "marketplace/remove" ,
2327 "plugin/list" : "plugin/list" ,
2428 "plugin/read" : "plugin/read" ,
2529 "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" ,
2633 "fs/readFile" : "fs/readFile" ,
2734 "fs/writeFile" : "fs/writeFile" ,
2835 "fs/createDirectory" : "fs/createDirectory" ,
@@ -52,6 +59,7 @@ export const CLIENT_REQUEST_METHODS = {
5259 "account/login/cancel" : "account/login/cancel" ,
5360 "account/logout" : "account/logout" ,
5461 "account/rateLimits/read" : "account/rateLimits/read" ,
62+ "account/sendAddCreditsNudgeEmail" : "account/sendAddCreditsNudgeEmail" ,
5563 "feedback/upload" : "feedback/upload" ,
5664 "command/exec" : "command/exec" ,
5765 "command/exec/write" : "command/exec/write" ,
@@ -113,26 +121,30 @@ export const SERVER_NOTIFICATION_METHODS = {
113121 "item/commandExecution/outputDelta" : "item/commandExecution/outputDelta" ,
114122 "item/commandExecution/terminalInteraction" : "item/commandExecution/terminalInteraction" ,
115123 "item/fileChange/outputDelta" : "item/fileChange/outputDelta" ,
124+ "item/fileChange/patchUpdated" : "item/fileChange/patchUpdated" ,
116125 "serverRequest/resolved" : "serverRequest/resolved" ,
117126 "item/mcpToolCall/progress" : "item/mcpToolCall/progress" ,
118127 "mcpServer/oauthLogin/completed" : "mcpServer/oauthLogin/completed" ,
119128 "mcpServer/startupStatus/updated" : "mcpServer/startupStatus/updated" ,
120129 "account/updated" : "account/updated" ,
121130 "account/rateLimits/updated" : "account/rateLimits/updated" ,
122131 "app/list/updated" : "app/list/updated" ,
132+ "externalAgentConfig/import/completed" : "externalAgentConfig/import/completed" ,
123133 "fs/changed" : "fs/changed" ,
124134 "item/reasoning/summaryTextDelta" : "item/reasoning/summaryTextDelta" ,
125135 "item/reasoning/summaryPartAdded" : "item/reasoning/summaryPartAdded" ,
126136 "item/reasoning/textDelta" : "item/reasoning/textDelta" ,
127137 "thread/compacted" : "thread/compacted" ,
128138 "model/rerouted" : "model/rerouted" ,
139+ warning : "warning" ,
129140 deprecationNotice : "deprecationNotice" ,
130141 configWarning : "configWarning" ,
131142 "fuzzyFileSearch/sessionUpdated" : "fuzzyFileSearch/sessionUpdated" ,
132143 "fuzzyFileSearch/sessionCompleted" : "fuzzyFileSearch/sessionCompleted" ,
133144 "thread/realtime/started" : "thread/realtime/started" ,
134145 "thread/realtime/itemAdded" : "thread/realtime/itemAdded" ,
135- "thread/realtime/transcriptUpdated" : "thread/realtime/transcriptUpdated" ,
146+ "thread/realtime/transcript/delta" : "thread/realtime/transcript/delta" ,
147+ "thread/realtime/transcript/done" : "thread/realtime/transcript/done" ,
136148 "thread/realtime/outputAudio/delta" : "thread/realtime/outputAudio/delta" ,
137149 "thread/realtime/sdp" : "thread/realtime/sdp" ,
138150 "thread/realtime/error" : "thread/realtime/error" ,
@@ -163,10 +175,17 @@ export interface ClientRequestParamsByMethod {
163175 readonly "thread/list" : typeof CodexSchema . V2ThreadListParams . Type ;
164176 readonly "thread/loaded/list" : typeof CodexSchema . V2ThreadLoadedListParams . Type ;
165177 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 ;
166180 readonly "skills/list" : typeof CodexSchema . V2SkillsListParams . Type ;
181+ readonly "marketplace/add" : typeof CodexSchema . V2MarketplaceAddParams . Type ;
182+ readonly "marketplace/remove" : typeof CodexSchema . V2MarketplaceRemoveParams . Type ;
167183 readonly "plugin/list" : typeof CodexSchema . V2PluginListParams . Type ;
168184 readonly "plugin/read" : typeof CodexSchema . V2PluginReadParams . Type ;
169185 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 ;
170189 readonly "fs/readFile" : typeof CodexSchema . V2FsReadFileParams . Type ;
171190 readonly "fs/writeFile" : typeof CodexSchema . V2FsWriteFileParams . Type ;
172191 readonly "fs/createDirectory" : typeof CodexSchema . V2FsCreateDirectoryParams . Type ;
@@ -196,6 +215,7 @@ export interface ClientRequestParamsByMethod {
196215 readonly "account/login/cancel" : typeof CodexSchema . V2CancelLoginAccountParams . Type ;
197216 readonly "account/logout" : undefined ;
198217 readonly "account/rateLimits/read" : undefined ;
218+ readonly "account/sendAddCreditsNudgeEmail" : typeof CodexSchema . V2SendAddCreditsNudgeEmailParams . Type ;
199219 readonly "feedback/upload" : typeof CodexSchema . V2FeedbackUploadParams . Type ;
200220 readonly "command/exec" : typeof CodexSchema . V2CommandExecParams . Type ;
201221 readonly "command/exec/write" : typeof CodexSchema . V2CommandExecWriteParams . Type ;
@@ -230,10 +250,17 @@ export interface ClientRequestResponsesByMethod {
230250 readonly "thread/list" : typeof CodexSchema . V2ThreadListResponse . Type ;
231251 readonly "thread/loaded/list" : typeof CodexSchema . V2ThreadLoadedListResponse . Type ;
232252 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 ;
233255 readonly "skills/list" : typeof CodexSchema . V2SkillsListResponse . Type ;
256+ readonly "marketplace/add" : typeof CodexSchema . V2MarketplaceAddResponse . Type ;
257+ readonly "marketplace/remove" : typeof CodexSchema . V2MarketplaceRemoveResponse . Type ;
234258 readonly "plugin/list" : typeof CodexSchema . V2PluginListResponse . Type ;
235259 readonly "plugin/read" : typeof CodexSchema . V2PluginReadResponse . Type ;
236260 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 ;
237264 readonly "fs/readFile" : typeof CodexSchema . V2FsReadFileResponse . Type ;
238265 readonly "fs/writeFile" : typeof CodexSchema . V2FsWriteFileResponse . Type ;
239266 readonly "fs/createDirectory" : typeof CodexSchema . V2FsCreateDirectoryResponse . Type ;
@@ -263,6 +290,7 @@ export interface ClientRequestResponsesByMethod {
263290 readonly "account/login/cancel" : typeof CodexSchema . V2CancelLoginAccountResponse . Type ;
264291 readonly "account/logout" : typeof CodexSchema . V2LogoutAccountResponse . Type ;
265292 readonly "account/rateLimits/read" : typeof CodexSchema . V2GetAccountRateLimitsResponse . Type ;
293+ readonly "account/sendAddCreditsNudgeEmail" : typeof CodexSchema . V2SendAddCreditsNudgeEmailResponse . Type ;
266294 readonly "feedback/upload" : typeof CodexSchema . V2FeedbackUploadResponse . Type ;
267295 readonly "command/exec" : typeof CodexSchema . V2CommandExecResponse . Type ;
268296 readonly "command/exec/write" : typeof CodexSchema . V2CommandExecWriteResponse . Type ;
@@ -336,26 +364,30 @@ export interface ServerNotificationParamsByMethod {
336364 readonly "item/commandExecution/outputDelta" : typeof CodexSchema . V2CommandExecutionOutputDeltaNotification . Type ;
337365 readonly "item/commandExecution/terminalInteraction" : typeof CodexSchema . V2TerminalInteractionNotification . Type ;
338366 readonly "item/fileChange/outputDelta" : typeof CodexSchema . V2FileChangeOutputDeltaNotification . Type ;
367+ readonly "item/fileChange/patchUpdated" : typeof CodexSchema . V2FileChangePatchUpdatedNotification . Type ;
339368 readonly "serverRequest/resolved" : typeof CodexSchema . V2ServerRequestResolvedNotification . Type ;
340369 readonly "item/mcpToolCall/progress" : typeof CodexSchema . V2McpToolCallProgressNotification . Type ;
341370 readonly "mcpServer/oauthLogin/completed" : typeof CodexSchema . V2McpServerOauthLoginCompletedNotification . Type ;
342371 readonly "mcpServer/startupStatus/updated" : typeof CodexSchema . V2McpServerStatusUpdatedNotification . Type ;
343372 readonly "account/updated" : typeof CodexSchema . V2AccountUpdatedNotification . Type ;
344373 readonly "account/rateLimits/updated" : typeof CodexSchema . V2AccountRateLimitsUpdatedNotification . Type ;
345374 readonly "app/list/updated" : typeof CodexSchema . V2AppListUpdatedNotification . Type ;
375+ readonly "externalAgentConfig/import/completed" : typeof CodexSchema . V2ExternalAgentConfigImportCompletedNotification . Type ;
346376 readonly "fs/changed" : typeof CodexSchema . V2FsChangedNotification . Type ;
347377 readonly "item/reasoning/summaryTextDelta" : typeof CodexSchema . V2ReasoningSummaryTextDeltaNotification . Type ;
348378 readonly "item/reasoning/summaryPartAdded" : typeof CodexSchema . V2ReasoningSummaryPartAddedNotification . Type ;
349379 readonly "item/reasoning/textDelta" : typeof CodexSchema . V2ReasoningTextDeltaNotification . Type ;
350380 readonly "thread/compacted" : typeof CodexSchema . V2ContextCompactedNotification . Type ;
351381 readonly "model/rerouted" : typeof CodexSchema . V2ModelReroutedNotification . Type ;
382+ readonly warning : typeof CodexSchema . V2WarningNotification . Type ;
352383 readonly deprecationNotice : typeof CodexSchema . V2DeprecationNoticeNotification . Type ;
353384 readonly configWarning : typeof CodexSchema . V2ConfigWarningNotification . Type ;
354385 readonly "fuzzyFileSearch/sessionUpdated" : typeof CodexSchema . FuzzyFileSearchSessionUpdatedNotification . Type ;
355386 readonly "fuzzyFileSearch/sessionCompleted" : typeof CodexSchema . FuzzyFileSearchSessionCompletedNotification . Type ;
356387 readonly "thread/realtime/started" : typeof CodexSchema . V2ThreadRealtimeStartedNotification . Type ;
357388 readonly "thread/realtime/itemAdded" : typeof CodexSchema . V2ThreadRealtimeItemAddedNotification . Type ;
358- readonly "thread/realtime/transcriptUpdated" : typeof CodexSchema . V2ThreadRealtimeTranscriptUpdatedNotification . Type ;
389+ readonly "thread/realtime/transcript/delta" : typeof CodexSchema . V2ThreadRealtimeTranscriptDeltaNotification . Type ;
390+ readonly "thread/realtime/transcript/done" : typeof CodexSchema . V2ThreadRealtimeTranscriptDoneNotification . Type ;
359391 readonly "thread/realtime/outputAudio/delta" : typeof CodexSchema . V2ThreadRealtimeOutputAudioDeltaNotification . Type ;
360392 readonly "thread/realtime/sdp" : typeof CodexSchema . V2ThreadRealtimeSdpNotification . Type ;
361393 readonly "thread/realtime/error" : typeof CodexSchema . V2ThreadRealtimeErrorNotification . Type ;
@@ -381,10 +413,17 @@ export const CLIENT_REQUEST_PARAMS = {
381413 "thread/list" : CodexSchema . V2ThreadListParams ,
382414 "thread/loaded/list" : CodexSchema . V2ThreadLoadedListParams ,
383415 "thread/read" : CodexSchema . V2ThreadReadParams ,
416+ "thread/turns/list" : CodexSchema . V2ThreadTurnsListParams ,
417+ "thread/inject_items" : CodexSchema . V2ThreadInjectItemsParams ,
384418 "skills/list" : CodexSchema . V2SkillsListParams ,
419+ "marketplace/add" : CodexSchema . V2MarketplaceAddParams ,
420+ "marketplace/remove" : CodexSchema . V2MarketplaceRemoveParams ,
385421 "plugin/list" : CodexSchema . V2PluginListParams ,
386422 "plugin/read" : CodexSchema . V2PluginReadParams ,
387423 "app/list" : CodexSchema . V2AppsListParams ,
424+ "device/key/create" : CodexSchema . V2DeviceKeyCreateParams ,
425+ "device/key/public" : CodexSchema . V2DeviceKeyPublicParams ,
426+ "device/key/sign" : CodexSchema . V2DeviceKeySignParams ,
388427 "fs/readFile" : CodexSchema . V2FsReadFileParams ,
389428 "fs/writeFile" : CodexSchema . V2FsWriteFileParams ,
390429 "fs/createDirectory" : CodexSchema . V2FsCreateDirectoryParams ,
@@ -414,6 +453,7 @@ export const CLIENT_REQUEST_PARAMS = {
414453 "account/login/cancel" : CodexSchema . V2CancelLoginAccountParams ,
415454 "account/logout" : undefined ,
416455 "account/rateLimits/read" : undefined ,
456+ "account/sendAddCreditsNudgeEmail" : CodexSchema . V2SendAddCreditsNudgeEmailParams ,
417457 "feedback/upload" : CodexSchema . V2FeedbackUploadParams ,
418458 "command/exec" : CodexSchema . V2CommandExecParams ,
419459 "command/exec/write" : CodexSchema . V2CommandExecWriteParams ,
@@ -448,10 +488,17 @@ export const CLIENT_REQUEST_RESPONSES = {
448488 "thread/list" : CodexSchema . V2ThreadListResponse ,
449489 "thread/loaded/list" : CodexSchema . V2ThreadLoadedListResponse ,
450490 "thread/read" : CodexSchema . V2ThreadReadResponse ,
491+ "thread/turns/list" : CodexSchema . V2ThreadTurnsListResponse ,
492+ "thread/inject_items" : CodexSchema . V2ThreadInjectItemsResponse ,
451493 "skills/list" : CodexSchema . V2SkillsListResponse ,
494+ "marketplace/add" : CodexSchema . V2MarketplaceAddResponse ,
495+ "marketplace/remove" : CodexSchema . V2MarketplaceRemoveResponse ,
452496 "plugin/list" : CodexSchema . V2PluginListResponse ,
453497 "plugin/read" : CodexSchema . V2PluginReadResponse ,
454498 "app/list" : CodexSchema . V2AppsListResponse ,
499+ "device/key/create" : CodexSchema . V2DeviceKeyCreateResponse ,
500+ "device/key/public" : CodexSchema . V2DeviceKeyPublicResponse ,
501+ "device/key/sign" : CodexSchema . V2DeviceKeySignResponse ,
455502 "fs/readFile" : CodexSchema . V2FsReadFileResponse ,
456503 "fs/writeFile" : CodexSchema . V2FsWriteFileResponse ,
457504 "fs/createDirectory" : CodexSchema . V2FsCreateDirectoryResponse ,
@@ -481,6 +528,7 @@ export const CLIENT_REQUEST_RESPONSES = {
481528 "account/login/cancel" : CodexSchema . V2CancelLoginAccountResponse ,
482529 "account/logout" : CodexSchema . V2LogoutAccountResponse ,
483530 "account/rateLimits/read" : CodexSchema . V2GetAccountRateLimitsResponse ,
531+ "account/sendAddCreditsNudgeEmail" : CodexSchema . V2SendAddCreditsNudgeEmailResponse ,
484532 "feedback/upload" : CodexSchema . V2FeedbackUploadResponse ,
485533 "command/exec" : CodexSchema . V2CommandExecResponse ,
486534 "command/exec/write" : CodexSchema . V2CommandExecWriteResponse ,
@@ -555,26 +603,31 @@ export const SERVER_NOTIFICATION_PARAMS = {
555603 "item/commandExecution/outputDelta" : CodexSchema . V2CommandExecutionOutputDeltaNotification ,
556604 "item/commandExecution/terminalInteraction" : CodexSchema . V2TerminalInteractionNotification ,
557605 "item/fileChange/outputDelta" : CodexSchema . V2FileChangeOutputDeltaNotification ,
606+ "item/fileChange/patchUpdated" : CodexSchema . V2FileChangePatchUpdatedNotification ,
558607 "serverRequest/resolved" : CodexSchema . V2ServerRequestResolvedNotification ,
559608 "item/mcpToolCall/progress" : CodexSchema . V2McpToolCallProgressNotification ,
560609 "mcpServer/oauthLogin/completed" : CodexSchema . V2McpServerOauthLoginCompletedNotification ,
561610 "mcpServer/startupStatus/updated" : CodexSchema . V2McpServerStatusUpdatedNotification ,
562611 "account/updated" : CodexSchema . V2AccountUpdatedNotification ,
563612 "account/rateLimits/updated" : CodexSchema . V2AccountRateLimitsUpdatedNotification ,
564613 "app/list/updated" : CodexSchema . V2AppListUpdatedNotification ,
614+ "externalAgentConfig/import/completed" :
615+ CodexSchema . V2ExternalAgentConfigImportCompletedNotification ,
565616 "fs/changed" : CodexSchema . V2FsChangedNotification ,
566617 "item/reasoning/summaryTextDelta" : CodexSchema . V2ReasoningSummaryTextDeltaNotification ,
567618 "item/reasoning/summaryPartAdded" : CodexSchema . V2ReasoningSummaryPartAddedNotification ,
568619 "item/reasoning/textDelta" : CodexSchema . V2ReasoningTextDeltaNotification ,
569620 "thread/compacted" : CodexSchema . V2ContextCompactedNotification ,
570621 "model/rerouted" : CodexSchema . V2ModelReroutedNotification ,
622+ warning : CodexSchema . V2WarningNotification ,
571623 deprecationNotice : CodexSchema . V2DeprecationNoticeNotification ,
572624 configWarning : CodexSchema . V2ConfigWarningNotification ,
573625 "fuzzyFileSearch/sessionUpdated" : CodexSchema . FuzzyFileSearchSessionUpdatedNotification ,
574626 "fuzzyFileSearch/sessionCompleted" : CodexSchema . FuzzyFileSearchSessionCompletedNotification ,
575627 "thread/realtime/started" : CodexSchema . V2ThreadRealtimeStartedNotification ,
576628 "thread/realtime/itemAdded" : CodexSchema . V2ThreadRealtimeItemAddedNotification ,
577- "thread/realtime/transcriptUpdated" : CodexSchema . V2ThreadRealtimeTranscriptUpdatedNotification ,
629+ "thread/realtime/transcript/delta" : CodexSchema . V2ThreadRealtimeTranscriptDeltaNotification ,
630+ "thread/realtime/transcript/done" : CodexSchema . V2ThreadRealtimeTranscriptDoneNotification ,
578631 "thread/realtime/outputAudio/delta" : CodexSchema . V2ThreadRealtimeOutputAudioDeltaNotification ,
579632 "thread/realtime/sdp" : CodexSchema . V2ThreadRealtimeSdpNotification ,
580633 "thread/realtime/error" : CodexSchema . V2ThreadRealtimeErrorNotification ,
0 commit comments