From d0b7c62be27ed6813ca175294dff4f1626b25c31 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Jun 2026 08:25:42 +0000 Subject: [PATCH 1/2] Update codex to 0.142.2 --- package-lock.json | 56 +++++++++---------- package.json | 2 +- src/app-server/LegacyAppPathString.ts | 8 +-- src/app-server/ResponseItem.ts | 2 +- ...ModelSafetyBufferingUpdatedNotification.ts | 2 +- src/app-server/v2/PluginInterface.ts | 8 +++ 6 files changed, 43 insertions(+), 35 deletions(-) diff --git a/package-lock.json b/package-lock.json index e036ee8a..0b291df7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@agentclientprotocol/sdk": "^0.28.1", - "@openai/codex": "^0.142.0", + "@openai/codex": "^0.142.2", "diff": "^8.0.3", "open": "^11.0.0", "vscode-jsonrpc": "^8.2.1", @@ -872,9 +872,9 @@ } }, "node_modules/@openai/codex": { - "version": "0.142.0", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0.tgz", - "integrity": "sha512-c7WftbRyE4zOLJV5p73mcGn4jVK3FmK84Q65hrZrXboZzLPDWRfbFedCbsIjU4PJS/kvgyMPhv7dH4/nhXzUyg==", + "version": "0.142.2", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2.tgz", + "integrity": "sha512-/89NO3WUTU3WmavBHuVyJzfGXasjT8DtrT6kU5VxAiR4pkZj4M0c4VHmSvzqnmpqsODsy2THHKbiiNBi/d2jaQ==", "license": "Apache-2.0", "bin": { "codex": "bin/codex.js" @@ -883,19 +883,19 @@ "node": ">=16" }, "optionalDependencies": { - "@openai/codex-darwin-arm64": "npm:@openai/codex@0.142.0-darwin-arm64", - "@openai/codex-darwin-x64": "npm:@openai/codex@0.142.0-darwin-x64", - "@openai/codex-linux-arm64": "npm:@openai/codex@0.142.0-linux-arm64", - "@openai/codex-linux-x64": "npm:@openai/codex@0.142.0-linux-x64", - "@openai/codex-win32-arm64": "npm:@openai/codex@0.142.0-win32-arm64", - "@openai/codex-win32-x64": "npm:@openai/codex@0.142.0-win32-x64" + "@openai/codex-darwin-arm64": "npm:@openai/codex@0.142.2-darwin-arm64", + "@openai/codex-darwin-x64": "npm:@openai/codex@0.142.2-darwin-x64", + "@openai/codex-linux-arm64": "npm:@openai/codex@0.142.2-linux-arm64", + "@openai/codex-linux-x64": "npm:@openai/codex@0.142.2-linux-x64", + "@openai/codex-win32-arm64": "npm:@openai/codex@0.142.2-win32-arm64", + "@openai/codex-win32-x64": "npm:@openai/codex@0.142.2-win32-x64" } }, "node_modules/@openai/codex-darwin-arm64": { "name": "@openai/codex", - "version": "0.142.0-darwin-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0-darwin-arm64.tgz", - "integrity": "sha512-jwbriCRTSNfqoGov5bNnnYAKarnNv4QfGkut8psKAajebL6VPI2ZjCxCJ1OFA5HhUQsN8GQgEjKlj6WhYcMmUA==", + "version": "0.142.2-darwin-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2-darwin-arm64.tgz", + "integrity": "sha512-NtbEXS5nvfT6FNoQSzS0/rCRfG5cNWgVZLxArCFCCXm+Z5vOz3WSVX041ChxIl+dKwRpU6HMpSd9tR5oPBBWZA==", "cpu": [ "arm64" ], @@ -910,9 +910,9 @@ }, "node_modules/@openai/codex-darwin-x64": { "name": "@openai/codex", - "version": "0.142.0-darwin-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0-darwin-x64.tgz", - "integrity": "sha512-qwdPfW8sOBEfWw1Rt7baveUsOjrudrM7qfKNnJvHPRrwtt4jemTd22VtZ6r02kUQdLwt6Ddvs0Pwzk6QJW6PqA==", + "version": "0.142.2-darwin-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2-darwin-x64.tgz", + "integrity": "sha512-9IjBzTlvXbr+SDDWarM/d0C6C1addJV03gLzmqbU7ptLZBR2H/Hoxig924r04kEAKxo0nmdu9e+x3IMrIxoTtg==", "cpu": [ "x64" ], @@ -927,9 +927,9 @@ }, "node_modules/@openai/codex-linux-arm64": { "name": "@openai/codex", - "version": "0.142.0-linux-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0-linux-arm64.tgz", - "integrity": "sha512-gX9hCK59bE0Itnous1MCrKiXTYuoGVE6oJUE0kyRSzaBD267sh9TNR3DXKbY7TsP7iAs19n8YXDJNdHZJtakSQ==", + "version": "0.142.2-linux-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2-linux-arm64.tgz", + "integrity": "sha512-iOZDjULUawtPd7FFfDujhcj7f9DS8CyT4Be9cFAnGKvUFlAjeEa3/dgj4lQ5lwhzgQchoTduXS4NuAWDXNqp/Q==", "cpu": [ "arm64" ], @@ -944,9 +944,9 @@ }, "node_modules/@openai/codex-linux-x64": { "name": "@openai/codex", - "version": "0.142.0-linux-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0-linux-x64.tgz", - "integrity": "sha512-nywS+ogFPRhZnQnKL+jzWKzFhmjTQbYPh6n8dtQ/E+sJ3FoZVcb9a6kvHL5yjgtlCiDkP0jPDYY5AK3tDShYyw==", + "version": "0.142.2-linux-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2-linux-x64.tgz", + "integrity": "sha512-96zStaXK8+NjKrytlxbGJ33MeMvU0SALFarYVgHsFwrTCeW8g3xsUaUDIv8YYRipyzQIWoHczLRYRJPSH4i6QA==", "cpu": [ "x64" ], @@ -961,9 +961,9 @@ }, "node_modules/@openai/codex-win32-arm64": { "name": "@openai/codex", - "version": "0.142.0-win32-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0-win32-arm64.tgz", - "integrity": "sha512-Lz8xEn7uNn0XTi8k0jApKM5P9BD7QvAH3ZbtlGi1zfSOgh1kmgpfXxaTlJF503mozdHaA2r6UA7hfTi+bI0CvQ==", + "version": "0.142.2-win32-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2-win32-arm64.tgz", + "integrity": "sha512-FZBlDmx71tvuadbhXMIte2qZiQ3coSYCi+j1CcZQ0oVkhgb/CTZX6KsIfJtvjGR4fty6mbDWdY7kEOd9iHUjzg==", "cpu": [ "arm64" ], @@ -978,9 +978,9 @@ }, "node_modules/@openai/codex-win32-x64": { "name": "@openai/codex", - "version": "0.142.0-win32-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.0-win32-x64.tgz", - "integrity": "sha512-LkARkXh3NM0XA8R8hFAgjx017fadfb9RgmqLzdhO1Qt/bDVSJnmDf4cwJ2h+FWZcm9/rRk3JC/IuqBvwg/TN+Q==", + "version": "0.142.2-win32-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.142.2-win32-x64.tgz", + "integrity": "sha512-EZOCKvcBNCpipuffm82MHrPhnzs502mo5IoFvXbm1TOO87pH3x5KfRzUO5Wjf78FEelXzRe0j/kPzm+Xw1whLg==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 6a2109cb..dbf33517 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "dependencies": { "@agentclientprotocol/sdk": "^0.28.1", - "@openai/codex": "^0.142.0", + "@openai/codex": "^0.142.2", "diff": "^8.0.3", "open": "^11.0.0", "vscode-jsonrpc": "^8.2.1", diff --git a/src/app-server/LegacyAppPathString.ts b/src/app-server/LegacyAppPathString.ts index 04e465b8..e39784a8 100644 --- a/src/app-server/LegacyAppPathString.ts +++ b/src/app-server/LegacyAppPathString.ts @@ -11,10 +11,10 @@ * * When converting from [`PathUri`], "native" refers to the supplied * [`PathConvention`], which may be foreign to the operating system running - * this process. The inner string is private so path-producing code must convert - * from [`AbsolutePathBuf`] or use [`Self::from_path_uri`] instead of bypassing - * the intended conversion boundary. Non-UTF-8 paths are converted to UTF-8 - * lossily because this API value is serialized as a JSON string. + * this process. The inner string is private so path-producing code must use a + * path conversion method instead of bypassing the intended conversion + * boundary. Non-UTF-8 paths are converted to UTF-8 lossily because this API + * value is serialized as a JSON string. * * Deserialization accepts any UTF-8 string without interpreting or validating * it. That unrestricted construction path is intentionally available only to diff --git a/src/app-server/ResponseItem.ts b/src/app-server/ResponseItem.ts index 074e11a1..62547d3e 100644 --- a/src/app-server/ResponseItem.ts +++ b/src/app-server/ResponseItem.ts @@ -20,4 +20,4 @@ id?: string, /** * Set when using the Responses API. */ -call_id: string | null, status: LocalShellStatus, action: LocalShellAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call", id?: string, name: string, namespace?: string, arguments: string, call_id: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_call", id?: string, call_id: string | null, status?: string, execution: string, arguments: unknown, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call_output", id?: string, call_id: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call", id?: string, status?: string, call_id: string, name: string, input: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call_output", id?: string, call_id: string, name?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_output", id?: string, call_id: string | null, status: string, execution: string, tools: unknown[], internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "web_search_call", id?: string, status?: string, action?: WebSearchAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "image_generation_call", id?: string, status: string, revised_prompt?: string, result: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction", id?: string, encrypted_content: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction_trigger", internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "context_compaction", id?: string, encrypted_content?: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "other" }; +call_id: string | null, status: LocalShellStatus, action: LocalShellAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call", id?: string, name: string, namespace?: string, arguments: string, call_id: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_call", id?: string, call_id: string | null, status?: string, execution: string, arguments: unknown, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call_output", id?: string, call_id: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call", id?: string, status?: string, call_id: string, name: string, input: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call_output", id?: string, call_id: string, name?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_output", id?: string, call_id: string | null, status: string, execution: string, tools: unknown[], internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "web_search_call", id?: string, status?: string, action?: WebSearchAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "image_generation_call", id?: string, status: string, revised_prompt?: string, result: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction", id?: string, encrypted_content: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction_trigger", } | { "type": "context_compaction", id?: string, encrypted_content?: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "other" }; diff --git a/src/app-server/v2/ModelSafetyBufferingUpdatedNotification.ts b/src/app-server/v2/ModelSafetyBufferingUpdatedNotification.ts index 484f8c61..5abc9f3b 100644 --- a/src/app-server/v2/ModelSafetyBufferingUpdatedNotification.ts +++ b/src/app-server/v2/ModelSafetyBufferingUpdatedNotification.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ModelSafetyBufferingUpdatedNotification = { threadId: string, turnId: string, model: string, useCases: Array, reasons: Array, }; +export type ModelSafetyBufferingUpdatedNotification = { threadId: string, turnId: string, model: string, useCases: Array, reasons: Array, showBufferingUi: boolean, fasterModel: string | null, }; diff --git a/src/app-server/v2/PluginInterface.ts b/src/app-server/v2/PluginInterface.ts index 4e97ee66..1e57d497 100644 --- a/src/app-server/v2/PluginInterface.ts +++ b/src/app-server/v2/PluginInterface.ts @@ -21,10 +21,18 @@ composerIconUrl: string | null, * Local logo path, resolved from the installed plugin package. */ logo: AbsolutePathBuf | null, +/** + * Local dark-mode logo path, resolved from the installed plugin package. + */ +logoDark: AbsolutePathBuf | null, /** * Remote logo URL from the plugin catalog. */ logoUrl: string | null, +/** + * Remote dark-mode logo URL from the plugin catalog. + */ +logoUrlDark: string | null, /** * Local screenshot paths, resolved from the installed plugin package. */ From 57b69275d3bf59d59aa15320c9760b8c56f80610 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Jun 2026 08:26:53 +0000 Subject: [PATCH 2/2] fix: verify types and tests after codex update