11// This file is generated by the effect-codex-app-server package. Do not edit manually.
2- // Upstream protocol ref: b39f943a634a6e7ba86c3d6e8cf6d5f35e612566
2+ // Upstream protocol ref: 678157acaa819d5510adfe359abb5d0392cfe461
33
44import * as CodexSchema from "./schema.gen.ts" ;
55
@@ -40,7 +40,9 @@ export const CLIENT_REQUEST_METHODS = {
4040 "plugin/share/list" : "plugin/share/list" ,
4141 "plugin/share/checkout" : "plugin/share/checkout" ,
4242 "plugin/share/delete" : "plugin/share/delete" ,
43+ "app/read" : "app/read" ,
4344 "app/list" : "app/list" ,
45+ "app/installed" : "app/installed" ,
4446 "fs/readFile" : "fs/readFile" ,
4547 "fs/writeFile" : "fs/writeFile" ,
4648 "fs/createDirectory" : "fs/createDirectory" ,
@@ -73,7 +75,9 @@ export const CLIENT_REQUEST_METHODS = {
7375 "account/login/cancel" : "account/login/cancel" ,
7476 "account/logout" : "account/logout" ,
7577 "account/rateLimits/read" : "account/rateLimits/read" ,
78+ "account/rateLimitResetCredit/consume" : "account/rateLimitResetCredit/consume" ,
7679 "account/usage/read" : "account/usage/read" ,
80+ "account/workspaceMessages/read" : "account/workspaceMessages/read" ,
7781 "account/sendAddCreditsNudgeEmail" : "account/sendAddCreditsNudgeEmail" ,
7882 "feedback/upload" : "feedback/upload" ,
7983 "command/exec" : "command/exec" ,
@@ -83,6 +87,7 @@ export const CLIENT_REQUEST_METHODS = {
8387 "config/read" : "config/read" ,
8488 "externalAgentConfig/detect" : "externalAgentConfig/detect" ,
8589 "externalAgentConfig/import" : "externalAgentConfig/import" ,
90+ "externalAgentConfig/import/readHistories" : "externalAgentConfig/import/readHistories" ,
8691 "config/value/write" : "config/value/write" ,
8792 "config/batchWrite" : "config/batchWrite" ,
8893 "configRequirements/read" : "configRequirements/read" ,
@@ -122,6 +127,8 @@ export const SERVER_NOTIFICATION_METHODS = {
122127 "thread/name/updated" : "thread/name/updated" ,
123128 "thread/goal/updated" : "thread/goal/updated" ,
124129 "thread/goal/cleared" : "thread/goal/cleared" ,
130+ "thread/environment/connected" : "thread/environment/connected" ,
131+ "thread/environment/disconnected" : "thread/environment/disconnected" ,
125132 "thread/settings/updated" : "thread/settings/updated" ,
126133 "thread/tokenUsage/updated" : "thread/tokenUsage/updated" ,
127134 "turn/started" : "turn/started" ,
@@ -135,6 +142,7 @@ export const SERVER_NOTIFICATION_METHODS = {
135142 "item/autoApprovalReview/completed" : "item/autoApprovalReview/completed" ,
136143 "item/completed" : "item/completed" ,
137144 "rawResponseItem/completed" : "rawResponseItem/completed" ,
145+ "rawResponse/completed" : "rawResponse/completed" ,
138146 "item/agentMessage/delta" : "item/agentMessage/delta" ,
139147 "item/plan/delta" : "item/plan/delta" ,
140148 "command/exec/outputDelta" : "command/exec/outputDelta" ,
@@ -152,6 +160,7 @@ export const SERVER_NOTIFICATION_METHODS = {
152160 "account/rateLimits/updated" : "account/rateLimits/updated" ,
153161 "app/list/updated" : "app/list/updated" ,
154162 "remoteControl/status/changed" : "remoteControl/status/changed" ,
163+ "externalAgentConfig/import/progress" : "externalAgentConfig/import/progress" ,
155164 "externalAgentConfig/import/completed" : "externalAgentConfig/import/completed" ,
156165 "fs/changed" : "fs/changed" ,
157166 "item/reasoning/summaryTextDelta" : "item/reasoning/summaryTextDelta" ,
@@ -161,6 +170,7 @@ export const SERVER_NOTIFICATION_METHODS = {
161170 "model/rerouted" : "model/rerouted" ,
162171 "model/verification" : "model/verification" ,
163172 "turn/moderationMetadata" : "turn/moderationMetadata" ,
173+ "model/safetyBuffering/updated" : "model/safetyBuffering/updated" ,
164174 warning : "warning" ,
165175 guardianWarning : "guardianWarning" ,
166176 deprecationNotice : "deprecationNotice" ,
@@ -222,7 +232,9 @@ export interface ClientRequestParamsByMethod {
222232 readonly "plugin/share/list" : CodexSchema . V2PluginShareListParams ;
223233 readonly "plugin/share/checkout" : CodexSchema . V2PluginShareCheckoutParams ;
224234 readonly "plugin/share/delete" : CodexSchema . V2PluginShareDeleteParams ;
235+ readonly "app/read" : CodexSchema . V2AppsReadParams ;
225236 readonly "app/list" : CodexSchema . V2AppsListParams ;
237+ readonly "app/installed" : CodexSchema . V2AppsInstalledParams ;
226238 readonly "fs/readFile" : CodexSchema . V2FsReadFileParams ;
227239 readonly "fs/writeFile" : CodexSchema . V2FsWriteFileParams ;
228240 readonly "fs/createDirectory" : CodexSchema . V2FsCreateDirectoryParams ;
@@ -255,7 +267,9 @@ export interface ClientRequestParamsByMethod {
255267 readonly "account/login/cancel" : CodexSchema . V2CancelLoginAccountParams ;
256268 readonly "account/logout" : undefined ;
257269 readonly "account/rateLimits/read" : undefined ;
270+ readonly "account/rateLimitResetCredit/consume" : CodexSchema . V2ConsumeAccountRateLimitResetCreditParams ;
258271 readonly "account/usage/read" : undefined ;
272+ readonly "account/workspaceMessages/read" : undefined ;
259273 readonly "account/sendAddCreditsNudgeEmail" : CodexSchema . V2SendAddCreditsNudgeEmailParams ;
260274 readonly "feedback/upload" : CodexSchema . V2FeedbackUploadParams ;
261275 readonly "command/exec" : CodexSchema . V2CommandExecParams ;
@@ -265,6 +279,7 @@ export interface ClientRequestParamsByMethod {
265279 readonly "config/read" : CodexSchema . V2ConfigReadParams ;
266280 readonly "externalAgentConfig/detect" : CodexSchema . V2ExternalAgentConfigDetectParams ;
267281 readonly "externalAgentConfig/import" : CodexSchema . V2ExternalAgentConfigImportParams ;
282+ readonly "externalAgentConfig/import/readHistories" : undefined ;
268283 readonly "config/value/write" : CodexSchema . V2ConfigValueWriteParams ;
269284 readonly "config/batchWrite" : CodexSchema . V2ConfigBatchWriteParams ;
270285 readonly "configRequirements/read" : undefined ;
@@ -312,7 +327,9 @@ export interface ClientRequestResponsesByMethod {
312327 readonly "plugin/share/list" : CodexSchema . V2PluginShareListResponse ;
313328 readonly "plugin/share/checkout" : CodexSchema . V2PluginShareCheckoutResponse ;
314329 readonly "plugin/share/delete" : CodexSchema . V2PluginShareDeleteResponse ;
330+ readonly "app/read" : CodexSchema . V2AppsReadResponse ;
315331 readonly "app/list" : CodexSchema . V2AppsListResponse ;
332+ readonly "app/installed" : CodexSchema . V2AppsInstalledResponse ;
316333 readonly "fs/readFile" : CodexSchema . V2FsReadFileResponse ;
317334 readonly "fs/writeFile" : CodexSchema . V2FsWriteFileResponse ;
318335 readonly "fs/createDirectory" : CodexSchema . V2FsCreateDirectoryResponse ;
@@ -345,7 +362,9 @@ export interface ClientRequestResponsesByMethod {
345362 readonly "account/login/cancel" : CodexSchema . V2CancelLoginAccountResponse ;
346363 readonly "account/logout" : CodexSchema . V2LogoutAccountResponse ;
347364 readonly "account/rateLimits/read" : CodexSchema . V2GetAccountRateLimitsResponse ;
365+ readonly "account/rateLimitResetCredit/consume" : CodexSchema . V2ConsumeAccountRateLimitResetCreditResponse ;
348366 readonly "account/usage/read" : CodexSchema . V2GetAccountTokenUsageResponse ;
367+ readonly "account/workspaceMessages/read" : CodexSchema . V2GetWorkspaceMessagesResponse ;
349368 readonly "account/sendAddCreditsNudgeEmail" : CodexSchema . V2SendAddCreditsNudgeEmailResponse ;
350369 readonly "feedback/upload" : CodexSchema . V2FeedbackUploadResponse ;
351370 readonly "command/exec" : CodexSchema . V2CommandExecResponse ;
@@ -355,6 +374,7 @@ export interface ClientRequestResponsesByMethod {
355374 readonly "config/read" : CodexSchema . V2ConfigReadResponse ;
356375 readonly "externalAgentConfig/detect" : CodexSchema . V2ExternalAgentConfigDetectResponse ;
357376 readonly "externalAgentConfig/import" : CodexSchema . V2ExternalAgentConfigImportResponse ;
377+ readonly "externalAgentConfig/import/readHistories" : CodexSchema . V2ExternalAgentConfigImportHistoriesReadResponse ;
358378 readonly "config/value/write" : CodexSchema . V2ConfigWriteResponse ;
359379 readonly "config/batchWrite" : CodexSchema . V2ConfigWriteResponse ;
360380 readonly "configRequirements/read" : CodexSchema . V2ConfigRequirementsReadResponse ;
@@ -407,6 +427,8 @@ export interface ServerNotificationParamsByMethod {
407427 readonly "thread/name/updated" : CodexSchema . V2ThreadNameUpdatedNotification ;
408428 readonly "thread/goal/updated" : CodexSchema . V2ThreadGoalUpdatedNotification ;
409429 readonly "thread/goal/cleared" : CodexSchema . V2ThreadGoalClearedNotification ;
430+ readonly "thread/environment/connected" : CodexSchema . V2EnvironmentConnectionNotification ;
431+ readonly "thread/environment/disconnected" : CodexSchema . V2EnvironmentConnectionNotification ;
410432 readonly "thread/settings/updated" : CodexSchema . V2ThreadSettingsUpdatedNotification ;
411433 readonly "thread/tokenUsage/updated" : CodexSchema . V2ThreadTokenUsageUpdatedNotification ;
412434 readonly "turn/started" : CodexSchema . V2TurnStartedNotification ;
@@ -420,6 +442,7 @@ export interface ServerNotificationParamsByMethod {
420442 readonly "item/autoApprovalReview/completed" : CodexSchema . V2ItemGuardianApprovalReviewCompletedNotification ;
421443 readonly "item/completed" : CodexSchema . V2ItemCompletedNotification ;
422444 readonly "rawResponseItem/completed" : CodexSchema . V2RawResponseItemCompletedNotification ;
445+ readonly "rawResponse/completed" : CodexSchema . V2RawResponseCompletedNotification ;
423446 readonly "item/agentMessage/delta" : CodexSchema . V2AgentMessageDeltaNotification ;
424447 readonly "item/plan/delta" : CodexSchema . V2PlanDeltaNotification ;
425448 readonly "command/exec/outputDelta" : CodexSchema . V2CommandExecOutputDeltaNotification ;
@@ -437,6 +460,7 @@ export interface ServerNotificationParamsByMethod {
437460 readonly "account/rateLimits/updated" : CodexSchema . V2AccountRateLimitsUpdatedNotification ;
438461 readonly "app/list/updated" : CodexSchema . V2AppListUpdatedNotification ;
439462 readonly "remoteControl/status/changed" : CodexSchema . V2RemoteControlStatusChangedNotification ;
463+ readonly "externalAgentConfig/import/progress" : CodexSchema . V2ExternalAgentConfigImportProgressNotification ;
440464 readonly "externalAgentConfig/import/completed" : CodexSchema . V2ExternalAgentConfigImportCompletedNotification ;
441465 readonly "fs/changed" : CodexSchema . V2FsChangedNotification ;
442466 readonly "item/reasoning/summaryTextDelta" : CodexSchema . V2ReasoningSummaryTextDeltaNotification ;
@@ -446,6 +470,7 @@ export interface ServerNotificationParamsByMethod {
446470 readonly "model/rerouted" : CodexSchema . V2ModelReroutedNotification ;
447471 readonly "model/verification" : CodexSchema . V2ModelVerificationNotification ;
448472 readonly "turn/moderationMetadata" : CodexSchema . V2TurnModerationMetadataNotification ;
473+ readonly "model/safetyBuffering/updated" : CodexSchema . V2ModelSafetyBufferingUpdatedNotification ;
449474 readonly warning : CodexSchema . V2WarningNotification ;
450475 readonly guardianWarning : CodexSchema . V2GuardianWarningNotification ;
451476 readonly deprecationNotice : CodexSchema . V2DeprecationNoticeNotification ;
@@ -502,7 +527,9 @@ export const CLIENT_REQUEST_PARAMS = {
502527 "plugin/share/list" : CodexSchema . V2PluginShareListParams ,
503528 "plugin/share/checkout" : CodexSchema . V2PluginShareCheckoutParams ,
504529 "plugin/share/delete" : CodexSchema . V2PluginShareDeleteParams ,
530+ "app/read" : CodexSchema . V2AppsReadParams ,
505531 "app/list" : CodexSchema . V2AppsListParams ,
532+ "app/installed" : CodexSchema . V2AppsInstalledParams ,
506533 "fs/readFile" : CodexSchema . V2FsReadFileParams ,
507534 "fs/writeFile" : CodexSchema . V2FsWriteFileParams ,
508535 "fs/createDirectory" : CodexSchema . V2FsCreateDirectoryParams ,
@@ -535,7 +562,9 @@ export const CLIENT_REQUEST_PARAMS = {
535562 "account/login/cancel" : CodexSchema . V2CancelLoginAccountParams ,
536563 "account/logout" : undefined ,
537564 "account/rateLimits/read" : undefined ,
565+ "account/rateLimitResetCredit/consume" : CodexSchema . V2ConsumeAccountRateLimitResetCreditParams ,
538566 "account/usage/read" : undefined ,
567+ "account/workspaceMessages/read" : undefined ,
539568 "account/sendAddCreditsNudgeEmail" : CodexSchema . V2SendAddCreditsNudgeEmailParams ,
540569 "feedback/upload" : CodexSchema . V2FeedbackUploadParams ,
541570 "command/exec" : CodexSchema . V2CommandExecParams ,
@@ -545,6 +574,7 @@ export const CLIENT_REQUEST_PARAMS = {
545574 "config/read" : CodexSchema . V2ConfigReadParams ,
546575 "externalAgentConfig/detect" : CodexSchema . V2ExternalAgentConfigDetectParams ,
547576 "externalAgentConfig/import" : CodexSchema . V2ExternalAgentConfigImportParams ,
577+ "externalAgentConfig/import/readHistories" : undefined ,
548578 "config/value/write" : CodexSchema . V2ConfigValueWriteParams ,
549579 "config/batchWrite" : CodexSchema . V2ConfigBatchWriteParams ,
550580 "configRequirements/read" : undefined ,
@@ -592,7 +622,9 @@ export const CLIENT_REQUEST_RESPONSES = {
592622 "plugin/share/list" : CodexSchema . V2PluginShareListResponse ,
593623 "plugin/share/checkout" : CodexSchema . V2PluginShareCheckoutResponse ,
594624 "plugin/share/delete" : CodexSchema . V2PluginShareDeleteResponse ,
625+ "app/read" : CodexSchema . V2AppsReadResponse ,
595626 "app/list" : CodexSchema . V2AppsListResponse ,
627+ "app/installed" : CodexSchema . V2AppsInstalledResponse ,
596628 "fs/readFile" : CodexSchema . V2FsReadFileResponse ,
597629 "fs/writeFile" : CodexSchema . V2FsWriteFileResponse ,
598630 "fs/createDirectory" : CodexSchema . V2FsCreateDirectoryResponse ,
@@ -625,7 +657,9 @@ export const CLIENT_REQUEST_RESPONSES = {
625657 "account/login/cancel" : CodexSchema . V2CancelLoginAccountResponse ,
626658 "account/logout" : CodexSchema . V2LogoutAccountResponse ,
627659 "account/rateLimits/read" : CodexSchema . V2GetAccountRateLimitsResponse ,
660+ "account/rateLimitResetCredit/consume" : CodexSchema . V2ConsumeAccountRateLimitResetCreditResponse ,
628661 "account/usage/read" : CodexSchema . V2GetAccountTokenUsageResponse ,
662+ "account/workspaceMessages/read" : CodexSchema . V2GetWorkspaceMessagesResponse ,
629663 "account/sendAddCreditsNudgeEmail" : CodexSchema . V2SendAddCreditsNudgeEmailResponse ,
630664 "feedback/upload" : CodexSchema . V2FeedbackUploadResponse ,
631665 "command/exec" : CodexSchema . V2CommandExecResponse ,
@@ -635,6 +669,8 @@ export const CLIENT_REQUEST_RESPONSES = {
635669 "config/read" : CodexSchema . V2ConfigReadResponse ,
636670 "externalAgentConfig/detect" : CodexSchema . V2ExternalAgentConfigDetectResponse ,
637671 "externalAgentConfig/import" : CodexSchema . V2ExternalAgentConfigImportResponse ,
672+ "externalAgentConfig/import/readHistories" :
673+ CodexSchema . V2ExternalAgentConfigImportHistoriesReadResponse ,
638674 "config/value/write" : CodexSchema . V2ConfigWriteResponse ,
639675 "config/batchWrite" : CodexSchema . V2ConfigWriteResponse ,
640676 "configRequirements/read" : CodexSchema . V2ConfigRequirementsReadResponse ,
@@ -687,6 +723,8 @@ export const SERVER_NOTIFICATION_PARAMS = {
687723 "thread/name/updated" : CodexSchema . V2ThreadNameUpdatedNotification ,
688724 "thread/goal/updated" : CodexSchema . V2ThreadGoalUpdatedNotification ,
689725 "thread/goal/cleared" : CodexSchema . V2ThreadGoalClearedNotification ,
726+ "thread/environment/connected" : CodexSchema . V2EnvironmentConnectionNotification ,
727+ "thread/environment/disconnected" : CodexSchema . V2EnvironmentConnectionNotification ,
690728 "thread/settings/updated" : CodexSchema . V2ThreadSettingsUpdatedNotification ,
691729 "thread/tokenUsage/updated" : CodexSchema . V2ThreadTokenUsageUpdatedNotification ,
692730 "turn/started" : CodexSchema . V2TurnStartedNotification ,
@@ -701,6 +739,7 @@ export const SERVER_NOTIFICATION_PARAMS = {
701739 CodexSchema . V2ItemGuardianApprovalReviewCompletedNotification ,
702740 "item/completed" : CodexSchema . V2ItemCompletedNotification ,
703741 "rawResponseItem/completed" : CodexSchema . V2RawResponseItemCompletedNotification ,
742+ "rawResponse/completed" : CodexSchema . V2RawResponseCompletedNotification ,
704743 "item/agentMessage/delta" : CodexSchema . V2AgentMessageDeltaNotification ,
705744 "item/plan/delta" : CodexSchema . V2PlanDeltaNotification ,
706745 "command/exec/outputDelta" : CodexSchema . V2CommandExecOutputDeltaNotification ,
@@ -718,6 +757,8 @@ export const SERVER_NOTIFICATION_PARAMS = {
718757 "account/rateLimits/updated" : CodexSchema . V2AccountRateLimitsUpdatedNotification ,
719758 "app/list/updated" : CodexSchema . V2AppListUpdatedNotification ,
720759 "remoteControl/status/changed" : CodexSchema . V2RemoteControlStatusChangedNotification ,
760+ "externalAgentConfig/import/progress" :
761+ CodexSchema . V2ExternalAgentConfigImportProgressNotification ,
721762 "externalAgentConfig/import/completed" :
722763 CodexSchema . V2ExternalAgentConfigImportCompletedNotification ,
723764 "fs/changed" : CodexSchema . V2FsChangedNotification ,
@@ -728,6 +769,7 @@ export const SERVER_NOTIFICATION_PARAMS = {
728769 "model/rerouted" : CodexSchema . V2ModelReroutedNotification ,
729770 "model/verification" : CodexSchema . V2ModelVerificationNotification ,
730771 "turn/moderationMetadata" : CodexSchema . V2TurnModerationMetadataNotification ,
772+ "model/safetyBuffering/updated" : CodexSchema . V2ModelSafetyBufferingUpdatedNotification ,
731773 warning : CodexSchema . V2WarningNotification ,
732774 guardianWarning : CodexSchema . V2GuardianWarningNotification ,
733775 deprecationNotice : CodexSchema . V2DeprecationNoticeNotification ,
0 commit comments