:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(deps): bump codex to 0.164.0 (#122820)
Tom Piccirelloaeeca804bf0f
diff --git a/docs/internal/task-run-api.md b/docs/internal/task-run-api.mdindex 17e690b497e2..1a3e54028950 100644--- a/docs/internal/task-run-api.md+++ b/docs/internal/task-run-api.md@@ -63,7 +63,7 @@ Without an authenticated GitHub token, the agent can still read public repositor## Model selectionTask runs accept `gpt-6.1-sol` with the `codex` runtime adapter and `low`, `medium`, `high`, `xhigh`, or `max` reasoning effort.-The bundled Codex 0.159.2 runtime supports this model with ChatGPT subscription billing.+The bundled Codex 0.164.0 runtime supports this model with ChatGPT subscription billing.The task model catalog supplies the web and Desktop pickers with the model name, reasoning levels, and public price comparison.The gateway must list the model for the task's product before the picker offers it.Adding the model does not change the default model or the capability slider.diff --git a/packages/agent/packages/agent/package.json b/packages/agent/packages/agent/package.jsonindex c62cba2ac6f2..c7c3f569319d 100644--- a/packages/agent/packages/agent/package.json+++ b/packages/agent/packages/agent/package.json@@ -184,7 +184,7 @@"@earendil-works/pi-ai": "catalog:","@earendil-works/pi-coding-agent": "catalog:","@hono/node-server": "^1.19.9",- "@openai/codex": "0.159.2",+ "@openai/codex": "0.164.0","@opentelemetry/api": "^1.9.1","@opentelemetry/api-logs": "^0.208.0","@opentelemetry/exporter-logs-otlp-http": "^0.208.0",diff --git a/packages/agent/pnpm-lock.yaml b/packages/agent/pnpm-lock.yamlindex 039aaa44ab7d..cc85b02194dc 100644--- a/packages/agent/pnpm-lock.yaml+++ b/packages/agent/pnpm-lock.yaml@@ -89,8 +89,8 @@ importers:specifier: 1.29.0version: 1.29.0([email protected])'@openai/codex':- specifier: 0.159.2- version: 0.159.2+ specifier: 0.164.0+ version: 0.164.0'@opentelemetry/api':specifier: ^1.9.1version: 1.9.1@@ -1144,43 +1144,43 @@ packages:'@open-draft/[email protected]':resolution: {integrity: sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==}- '@openai/[email protected]':- resolution: {integrity: sha512-SE13C3nZCYoVL569BdegoOl6vwjb7o2sXOo7ivwVzaVoY0cswwi0/6pIE0TyO/C0vIkQh3jslExitET7PBTfIg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-TWj7UGyPRe3Pj/A3ddNAxs1te3a/W/xAd+J0LHrrFTmsSfahGMOLF/vn88D3QCIgAT3B1rm1y/Z3NYE0rx6cZQ==}engines: {node: '>=16'}hasBin: true- '@openai/[email protected]':- resolution: {integrity: sha512-7SPaPFU0tdqapQ5VEgrF+wb+p9dxfWfLMXMKZMRKoWPn/tLMajlMjYBBnu8o6VtaVH2DHQ6kpnp5TMkv5bqvrg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-pDizgOUAtq3/k3AbUFHbaU19WpYKCja+oFpNSTLKrDQj4lTUNSDuTPJip4uQVn2/1EipQdpQrGMOQBVuI1znAA==}engines: {node: '>=16'}cpu: [arm64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-VPZGYHH2yVn8S3IuxJk38vxhBADJZp68IBL8hr4quJ2R7jM16l43TLCwRemN+1J27V/cs771fbx63aGRf5F8JA==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-lIe+udnguPGzBezkgbkj2Eaz0YqOhNXT7jja136Fj0sXfI+UKNS2icmaK14GcoRAgeVEpDTtC1ftamWBPmD1zg==}engines: {node: '>=16'}cpu: [x64]os: [darwin]- '@openai/[email protected]':- resolution: {integrity: sha512-Pm0W2PnFeTEqPx+AOIwgOVB4dBtY24cuD0tx1hjCor60CbSAT7WBPZVNUINSrTCDrMndvQC67p71ZEz+gmPPkA==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-LL5iTQjyDL4YRX44EWqhIfEQ5uGnmgxkQBJSxjZSeJ8L1Og83pdlzUJW/PRJ76oaVwOVgh6HXwuPEiBNEHU4lg==}engines: {node: '>=16'}cpu: [arm64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-RrCZ1X52wpa1lOsXtCtSyhjOFdQPh7LH5Ccv8HsKmd/2UXbUwxXFqWXFK3JzatquUNGtW/TLox5Y7qVOGkV0/Q==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-XLAoaWsGOT2khzl+P4FYDPTkzAr9W0VFXFaVkqlFdkM0soa1gH/4S0wSD57Ek3HHwkirAEGz2/Mwehseh+l5Mg==}engines: {node: '>=16'}cpu: [x64]os: [linux]- '@openai/[email protected]':- resolution: {integrity: sha512-8+xM4Wj2J38ieRse9kzbMRQQc2d+kvck2Zm2+gX2sth5RXPZQ1yqYhFmevHLC8IO73syk2xiIclH0qvoc97pgg==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-Zkzt8HNmB/vOnlDo5D7IOlrt5rHaxYQB7iGbNP7bHcXZtrk6gaD7UriwaieGYJpcf8DqAT/0tqzY4xbs8ZwbmQ==}engines: {node: '>=16'}cpu: [arm64]os: [win32]- '@openai/[email protected]':- resolution: {integrity: sha512-1ZJVTO40/ZaHPUUWc3uCX73jwzJRaDxAjRQEf37dC5Q3h1fp/Z7+1L8oX3bPlXgjhEY6kHW3rm0wz2sdQ5rxNw==}+ '@openai/[email protected]':+ resolution: {integrity: sha512-urWPhwh9YavuoAPIkmVYKBTtd5OtGVL4Ki0Fb28dhK/Mz6Pt4LSy+gbRrZFz5+RXrw9ubvXuXDCcd8beYcWhDg==}engines: {node: '>=16'}cpu: [x64]os: [win32]@@ -3907,31 +3907,31 @@ snapshots:'@open-draft/[email protected]': {}- '@openai/[email protected]':+ '@openai/[email protected]':optionalDependencies:- '@openai/codex-darwin-arm64': '@openai/[email protected]'- '@openai/codex-darwin-x64': '@openai/[email protected]'- '@openai/codex-linux-arm64': '@openai/[email protected]'- '@openai/codex-linux-x64': '@openai/[email protected]'- '@openai/codex-win32-arm64': '@openai/[email protected]'- '@openai/codex-win32-x64': '@openai/[email protected]'+ '@openai/codex-darwin-arm64': '@openai/[email protected]'+ '@openai/codex-darwin-x64': '@openai/[email protected]'+ '@openai/codex-linux-arm64': '@openai/[email protected]'+ '@openai/codex-linux-x64': '@openai/[email protected]'+ '@openai/codex-win32-arm64': '@openai/[email protected]'+ '@openai/codex-win32-x64': '@openai/[email protected]'- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true- '@openai/[email protected]':+ '@openai/[email protected]':optional: true'@opentelemetry/[email protected]':diff --git a/packages/agent/pnpm-workspace.yaml b/packages/agent/pnpm-workspace.yamlindex 398ae9fc5114..37b4666897f3 100644--- a/packages/agent/pnpm-workspace.yaml+++ b/packages/agent/pnpm-workspace.yaml@@ -55,8 +55,8 @@ minimumReleaseAge: 10080minimumReleaseAgeExclude:- >-- @openai/[email protected] || 0.159.2-darwin-arm64 || 0.159.2-darwin-x64 ||- 0.159.2-linux-arm64 || 0.159.2-linux-x64 || 0.159.2-win32-arm64 || 0.159.2-win32-x64+ @openai/[email protected] || 0.164.0-darwin-arm64 || 0.164.0-darwin-x64 ||+ 0.164.0-linux-arm64 || 0.164.0-linux-x64 || 0.164.0-win32-arm64 || 0.164.0-win32-x64- '@agentclientprotocol/sdk'- '@anthropic-ai/claude-agent-sdk'- '@anthropic-ai/claude-agent-sdk-darwin-arm64'diff --git a/products/desktop/apps/code/scripts/download-binaries.mjs b/products/desktop/apps/code/scripts/download-binaries.mjsindex 0c88bd14148a..fa103c1ce6c9 100644--- a/products/desktop/apps/code/scripts/download-binaries.mjs+++ b/products/desktop/apps/code/scripts/download-binaries.mjs@@ -19,7 +19,7 @@ import { extract } from "tar";const __dirname = dirname(fileURLToPath(import.meta.url));const DEST_DIR = join(__dirname, "..", "resources", "codex-acp");-const CODEX_VERSION = "0.159.2";+const CODEX_VERSION = "0.164.0";function nativeTarget() {const { platform, arch } = process;diff --git a/products/desktop/docs/LOCAL-DEVELOPMENT.md b/products/desktop/docs/LOCAL-DEVELOPMENT.mdindex 0e73b0464fdd..f9425c21c9a0 100644--- a/products/desktop/docs/LOCAL-DEVELOPMENT.md+++ b/products/desktop/docs/LOCAL-DEVELOPMENT.md@@ -70,8 +70,8 @@ openssl genrsa 2048 | openssl pkcs8 -topk8 -nocrypt -outform PEM | \## Bundled agent versions-The desktop app bundles Codex 0.159.2 and Claude Code 2.1.280 from Claude Agent SDK 0.3.280.-Codex 0.159.2 supports GPT-6.1-Sol with ChatGPT subscription billing.+The desktop app bundles Codex 0.164.0 and Claude Code 2.1.280 from Claude Agent SDK 0.3.280.+Codex 0.164.0 supports GPT-6.1-Sol with ChatGPT subscription billing.Updating a separately installed CLI does not update the app's bundled agents.When changing Codex versions, update both `packages/agent/packages/agent/package.json` (agent workspace, from the repo root) and `apps/code/scripts/download-binaries.mjs` so Codex and its code-mode host stay on the same release.