diff --git a/scripts/check-codex-app-server-protocol.ts b/scripts/check-codex-app-server-protocol.ts index 4357e4d27123..5d41dcef83af 100644 --- a/scripts/check-codex-app-server-protocol.ts +++ b/scripts/check-codex-app-server-protocol.ts @@ -215,7 +215,6 @@ async function checkMaintainedProtocolTypes(sourceRoot: string): Promise { import type { CodexAppServerRequestParams, CodexAppServerRequestResult, - CodexConfigEdit, CodexDynamicToolSpec, CodexDynamicToolCallParams, CodexErrorNotification, @@ -288,7 +287,7 @@ const openClawNullableCommandExecParams: CodexAppServerRequestParams<"command/ex generatedNullableCommandExecParams; declare const openClawConfigBatchWriteParams: CodexAppServerRequestParams<"config/batchWrite">; const generatedConfigBatchWriteParams: ConfigBatchWriteParams = openClawConfigBatchWriteParams; -declare const openClawConfigEdit: CodexConfigEdit; +declare const openClawConfigEdit: CodexAppServerRequestParams<"config/batchWrite">["edits"][number]; const generatedConfigEdit: ConfigEdit = openClawConfigEdit; declare const openClawConfigValueWriteParams: CodexAppServerRequestParams<"config/value/write">; const generatedConfigValueWriteParams: ConfigValueWriteParams = openClawConfigValueWriteParams;