Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

chore(deps): align Codex 0.154.0 and dependency cooldowns (#755)

mldangelo-oaife83fa50fcba
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..7c91c7bda
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,63 @@
+version: 2
+updates:
+ - package-ecosystem: npm
+ directories:
+ - /sdk/typescript
+ - /plugins/codex-security/mcp-app
+ - /plugins/codex-security/skills/triage-finding/evals
+ schedule:
+ interval: cron
+ cronjob: "0 9 * * *"
+ cooldown:
+ default-days: 7
+ exclude:
+ - openai
+ - "@openai/*"
+ groups:
+ codex:
+ patterns:
+ - "@openai/codex"
+ - "@openai/codex-sdk"
+ codex-security:
+ applies-to: security-updates
+ patterns:
+ - "@openai/codex"
+ - "@openai/codex-sdk"
+ openai:
+ patterns:
+ - openai
+ - "@openai/*"
+ third-party:
+ patterns:
+ - "*"
+ update-types:
+ - minor
+ - patch
+ commit-message:
+ prefix: chore
+ include: scope
+
+ - package-ecosystem: pip
+ directory: /plugins/codex-security
+ schedule:
+ interval: cron
+ cronjob: "0 9 * * *"
+ cooldown:
+ default-days: 7
+ exclude:
+ - openai
+ commit-message:
+ prefix: chore
+ include: scope
+
+ - package-ecosystem: github-actions
+ directory: /
+ schedule:
+ interval: cron
+ cronjob: "0 9 * * *"
+ cooldown:
+ default-days: 7
+ exclude:
+ - "openai/*"
+ commit-message:
+ prefix: ci
diff --git a/RELEASING.md b/RELEASING.md
index 8255be0db..d6ca4ae98 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -43,6 +43,25 @@ do not affect package users. A maintainer can apply `skip-release-notes` to
exclude another internal change. That manual label takes precedence over the
title category.
+## Dependency updates
+
+Dependabot checks npm packages, Python test dependencies, and GitHub Actions
+daily, including weekends. OpenAI dependencies have no release cooldown; other
+releases must be at least seven days old. Security updates do not wait for the
+version-update cooldown.
+Updates still require review and passing CI; nothing is merged automatically.
+
+Keep `@openai/codex` and `@openai/codex-sdk` on the same exact version across the
+TypeScript SDK, MCP app, and triage evals. Dependabot groups their updates across
+all three projects, and the SDK tests reject mismatched pins or multiple locked
+SDK versions. The evals override Promptfoo's transitive Codex SDK to the direct
+SDK dependency so it follows the same update.
+
+Each pnpm project applies the same seven-day age policy to newly resolved
+dependencies, including transitive packages, with `openai` and `@openai/*` exempt.
+Committed lockfiles remain installable. The existing Socket release checks remain
+in place.
+
## Version policy before 1.0
While the package is on `0.x`, ordinary changes, including features, use a
diff --git a/plugins/codex-security/mcp-app/package.json b/plugins/codex-security/mcp-app/package.json
index d896a2898..f771eda59 100644
--- a/plugins/codex-security/mcp-app/package.json
+++ b/plugins/codex-security/mcp-app/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
- "@openai/codex-sdk": "0.149.1",
+ "@openai/codex-sdk": "0.154.0",
"smol-toml": "1.6.1",
"zod": "^4.3.6"
},
diff --git a/plugins/codex-security/mcp-app/pnpm-lock.yaml b/plugins/codex-security/mcp-app/pnpm-lock.yaml
index 40d0dc676..e0c34eebf 100644
--- a/plugins/codex-security/mcp-app/pnpm-lock.yaml
+++ b/plugins/codex-security/mcp-app/pnpm-lock.yaml
@@ -12,8 +12,8 @@ importers:
specifier: ^1.29.0
version: 1.29.0([email protected])
'@openai/codex-sdk':
- specifier: 0.149.1
- version: 0.149.1
+ specifier: 0.154.0
+ version: 0.154.0
smol-toml:
specifier: 1.6.1
version: 1.6.1
@@ -205,47 +205,47 @@ packages:
'@cfworker/json-schema':
optional: true
- '@openai/[email protected]':
- resolution: {integrity: sha512-R00Rz5327LefZggAxl28r7vFQq1vxa91OxtjZJOsQfAM/MyH8InW5qwwRu6pzUmRGp1E29XrOzm7u1TeV5Yz2A==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-TTQ2ItcqCRR8gkfgFc+0OAOIG3hJ7dTHezkvnLBYVA3Qd+JkD/kzWwM3MtlTFOgYa4zYBrQ7iStjO0dmvAz3Nw==}
engines: {node: '>=18'}
- '@openai/[email protected]':
- resolution: {integrity: sha512-6q5pbcpFbJbqOpkubSDBwXmktQ55aD8eUzGzBF1zASob2DjwhBKDSNGtdZKalfrNJUdTDTPDMmzCXEXs5tMBYA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-FV/x1OHXYv/ifjf3mXj9ThTTAWcUZN6cGIRQRhRxkKNOPuImu1WW0c8ev1vUkE9XGH90dEnYG1tBjIkxRikg0w==}
engines: {node: '>=16'}
hasBin: true
- '@openai/[email protected]':
- resolution: {integrity: sha512-6X84kTCbnTgPIJ2EdcPsrvwS0Wxsqpa+bCswGmRf4BjhcQ5nPMnBC6yCAaCMj+vrbXQHj+L6sa9FaR4QkmA1qw==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-HP/vJCH/t2hB9Kg6hotN9UglClJ6/z584fal5lEP14C9gNAgAQS4/kTQC7l5V+BA3TqwDPwINSjul28cX8AYXg==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
- '@openai/[email protected]':
- resolution: {integrity: sha512-MfLBQLfcElJL9tvj6y45qVHHMGSXCPnQOixuD3/Zq0g1BW/eFizkrGLdn48cFpc+l8cK+gt5nYG5pQYwVs6g4A==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-2aqz+72Hop8PF2RYglQ4JnGjm3OlRIrTykJIT0hyLeUgM6NCFy09RgTmqRCoWliKQZjEn9jjZqUEp7QujAj77g==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
- '@openai/[email protected]':
- resolution: {integrity: sha512-OqxUfZ1TVvHd18zHPKK/8ZRlpk8Vy11mg5CMHaLxNWldTbwVImDKtSLWT+m8m4NM5Sz4PbjtZMrVT/RfpBW/mQ==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-KmTCB6ST484zeYlPpKP/K5P/gRaYmt6TihVD+zotoe6O9q0JSBP+FYvCz4A/zZXR7xDOHURTSjHp0sD8wWS0YQ==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
- '@openai/[email protected]':
- resolution: {integrity: sha512-Of5fGYgr7tAMsyj6vhXb4/RM/UoA3Zq8BLegUBDC09UNy1XTLGYP/2XD+UX8z3qh0NDwxYdCjFIWdDNijKZggQ==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-a4FI3A8sGtwGrOqltrPbrS2hajrHQG591EwmRfiRoLMb10VxdBtUGW4gu6IJVYENiYGA7k3P4jlRHEoCZU/s9Q==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
- '@openai/[email protected]':
- resolution: {integrity: sha512-5K0DmOKGK9Bos627p8sK8ATHjovPK0sDyT6h9Cb+4v+5CW5SGw1HLgjGxoLfJ8g3cg6mtg/pRCXXo2L/j71UVA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-CRUmZnE0Y/a8aLMrrA681EytOGaPaF659wJAiI4I3hsbQjaeYBSPV7PkCjy4Qn5LR/fmwIUORVH+6JaBNQL+tw==}
engines: {node: '>=16'}
cpu: [arm64]
os: [win32]
- '@openai/[email protected]':
- resolution: {integrity: sha512-G3QXGAg7nyyhqOeooAMUekBCeHd8a1QByhKcVAFyzNBaI06t6Ft7nsF+1SzFS0spuIdU4YyMi5YD26ukADBQUQ==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-Stg2KEJPIKVqPPR1wCverGOR4ey3RR3cvakR07w7FNKQUMzmHaOZomRsP2bR1qOT/67yHsks9rB+MCMfIWXcRA==}
engines: {node: '>=16'}
cpu: [x64]
os: [win32]
@@ -730,35 +730,35 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@openai/[email protected]':
+ '@openai/[email protected]':
dependencies:
- '@openai/codex': 0.149.1
+ '@openai/codex': 0.154.0
- '@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/[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]':
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
diff --git a/plugins/codex-security/mcp-app/pnpm-workspace.yaml b/plugins/codex-security/mcp-app/pnpm-workspace.yaml
index 50210b700..858ac9cb4 100644
--- a/plugins/codex-security/mcp-app/pnpm-workspace.yaml
+++ b/plugins/codex-security/mcp-app/pnpm-workspace.yaml
@@ -1,3 +1,8 @@
+minimumReleaseAge: 10080
+minimumReleaseAgeExclude:
+ - openai
+ - "@openai/*"
+trustLockfile: true
+
allowBuilds:
esbuild: false
-minimumReleaseAge: 10080
diff --git a/plugins/codex-security/skills/triage-finding/evals/package.json b/plugins/codex-security/skills/triage-finding/evals/package.json
index 9ed720c7b..6f0f8f948 100644
--- a/plugins/codex-security/skills/triage-finding/evals/package.json
+++ b/plugins/codex-security/skills/triage-finding/evals/package.json
@@ -30,7 +30,7 @@
"pf:view": "PROMPTFOO_CONFIG_DIR=.promptfoo PROMPTFOO_DISABLE_WAL_MODE=true promptfoo view"
},
"dependencies": {
- "@openai/codex-sdk": "0.137.0",
+ "@openai/codex-sdk": "0.154.0",
"@opencode-ai/sdk": "1.14.33",
"promptfoo": "0.121.15"
}
diff --git a/plugins/codex-security/skills/triage-finding/evals/pnpm-lock.yaml b/plugins/codex-security/skills/triage-finding/evals/pnpm-lock.yaml
index 7110bff7f..6a5518b75 100644
--- a/plugins/codex-security/skills/triage-finding/evals/pnpm-lock.yaml
+++ b/plugins/codex-security/skills/triage-finding/evals/pnpm-lock.yaml
@@ -5,6 +5,7 @@ settings:
excludeLinksFromLockfile: false
overrides:
+ '@openai/codex-sdk': 0.154.0
'@opencode-ai/sdk': 1.14.33
importers:
@@ -12,8 +13,8 @@ importers:
.:
dependencies:
'@openai/codex-sdk':
- specifier: 0.137.0
- version: 0.137.0
+ specifier: 0.154.0
+ version: 0.154.0
'@opencode-ai/sdk':
specifier: 1.14.33
version: 1.14.33
@@ -986,92 +987,47 @@ packages:
peerDependencies:
zod: ^4.0.0
- '@openai/[email protected]':
- resolution: {integrity: sha512-ICKaZ5zrIDg71AiQcsUToVoe5Icmrc3LwSM5+2z7Cf8F1x6nOaY7/ucpFlr4aH8oDe7t3dangc+MsWZTkdvDFw==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-TTQ2ItcqCRR8gkfgFc+0OAOIG3hJ7dTHezkvnLBYVA3Qd+JkD/kzWwM3MtlTFOgYa4zYBrQ7iStjO0dmvAz3Nw==}
engines: {node: '>=18'}
- '@openai/[email protected]':
- resolution: {integrity: sha512-KYNY7shsKYOLRNV+kjOoaBaLVHy+FUolHPFraOU4JGeyNR1pORxINTAlwHSxDcuXTibj/3OC6jMGDl7X0q4MUw==}
- engines: {node: '>=18'}
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-WGDj+RZ3TXWC/7MlwprgLWOqzpwatPIINPhP3IRzHA0ni+o3QZ4i4xrS2uWwGmHUJ395J5JHwoZAAZYyfJyz6w==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-FV/x1OHXYv/ifjf3mXj9ThTTAWcUZN6cGIRQRhRxkKNOPuImu1WW0c8ev1vUkE9XGH90dEnYG1tBjIkxRikg0w==}
engines: {node: '>=16'}
hasBin: true
- '@openai/[email protected]':
- resolution: {integrity: sha512-R9pkGC7kwC8yQ8el5hvBlmugQlcsG/pHMEFgZluu03X9fD2TezGxdq3KqRDRCZuMYl07ILamVEoqknuJ0cq7MA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-HP/vJCH/t2hB9Kg6hotN9UglClJ6/z584fal5lEP14C9gNAgAQS4/kTQC7l5V+BA3TqwDPwINSjul28cX8AYXg==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
- '@openai/[email protected]':
- resolution: {integrity: sha512-gJ+7J8djevgtdra+NgDAiQQPW+O3KTsgGfE3E5dpDfww3zS5OCeV0V2dhxqnJdlOjOSDw99o0P2LqBv19mhpRw==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-2aqz+72Hop8PF2RYglQ4JnGjm3OlRIrTykJIT0hyLeUgM6NCFy09RgTmqRCoWliKQZjEn9jjZqUEp7QujAj77g==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
- '@openai/[email protected]':
- resolution: {integrity: sha512-tFtH0V9/hEI3d9y7zP92BXI9FM4Z3+STNQaOR52Czv18TRtCFUp7CbIUYaToopuq6UBfnE1VKr8RLhwT5FcbmA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-KmTCB6ST484zeYlPpKP/K5P/gRaYmt6TihVD+zotoe6O9q0JSBP+FYvCz4A/zZXR7xDOHURTSjHp0sD8wWS0YQ==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
- '@openai/[email protected]':
- resolution: {integrity: sha512-3VcNlez99xdnEf+kB1IOpWv9fICYV9PiGj4sLCO4TCcShLnyxe+YBGa3poknkvXLnMG0qiN9SMnYS2FGrMxQcA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-a4FI3A8sGtwGrOqltrPbrS2hajrHQG591EwmRfiRoLMb10VxdBtUGW4gu6IJVYENiYGA7k3P4jlRHEoCZU/s9Q==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
- '@openai/[email protected]':
- resolution: {integrity: sha512-vdpmiNp57L/arZabltLXn8TyEtNa7W1meOEkr+3R6W/8ZyBt++wuqz1Orv134OT2grrcFJsIVCAIPiqUxCvBkA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-CRUmZnE0Y/a8aLMrrA681EytOGaPaF659wJAiI4I3hsbQjaeYBSPV7PkCjy4Qn5LR/fmwIUORVH+6JaBNQL+tw==}
engines: {node: '>=16'}
cpu: [arm64]
os: [win32]
- '@openai/[email protected]':
- resolution: {integrity: sha512-FzMznm7fr5/nbjZgOujZ9Y9AbdGm7ji1FOoWiY3U+srqauvZaTgn6o6aCheSL7kuymu7nTLOO/cAyWV6NuesqQ==}
- engines: {node: '>=16'}
- cpu: [x64]
- os: [win32]
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-1jUsCnzDBwv7Z4VFZajIlsz41fC18qg6d5qK4PEZhiUk0zJHS90/uGBA70aQPUJLTUZShvyKVAANjw6J/D9eYQ==}
- engines: {node: '>=16'}
- hasBin: true
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-YjKmre7DlKslQVhSfocHscgxntZKaZc1LQySKh7q+hNL8jdK+c8nSWSePi583yKFNIxZ8Z/zCkewtjFNvOpQiQ==}
- engines: {node: '>=16'}
- cpu: [arm64]
- os: [darwin]
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-zjzrFV80LZby9et44dan82e3cwUd46U7u1LSVXTIz5AUcY4y1KZpAeN6cSLVKMZuOHXTDpi15MUQdRwzdeqIOg==}
- engines: {node: '>=16'}
- cpu: [x64]
- os: [darwin]
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-R3ZZymQQA1qpp6OpowN49XJ4scHwSckq7CjVvgmLv3bIs3X+F0XXK3xPFkC9vs2mX3wPekPi3ONpxx+yPAsJ6Q==}
- engines: {node: '>=16'}
- cpu: [arm64]
- os: [linux]
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-n+26MUj8rekbEDUeYTGoD6HXuGS0MmLHn2LOn0i5qTNYIJvXV82B7cCLSTzVKF/RJxRMRl22se9Q0Z035JIVng==}
- engines: {node: '>=16'}
- cpu: [x64]
- os: [linux]
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-Cofktt213TycdQ/v+nAUuwXUBzjMWfA/ZkXyqefyXxDgw0TMtaiM3cgDna3I8YdXnR0PM9AMbx4t7VloJ3ZZYQ==}
- engines: {node: '>=16'}
- cpu: [arm64]
- os: [win32]
-
- '@openai/[email protected]':
- resolution: {integrity: sha512-g9qZ9ERrm5OWXMWJOgojYv1kOc5jajTKq37PBMSe56aJfAr9Jk/qBvIOy7LKq3rABdXuz8k+W65PIt2E1hXilw==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-Stg2KEJPIKVqPPR1wCverGOR4ey3RR3cvakR07w7FNKQUMzmHaOZomRsP2bR1qOT/67yHsks9rB+MCMfIWXcRA==}
engines: {node: '>=16'}
cpu: [x64]
os: [win32]
@@ -4758,68 +4714,35 @@ snapshots:
- ws
optional: true
- '@openai/[email protected]':
- dependencies:
- '@openai/codex': 0.130.0
- optional: true
-
- '@openai/[email protected]':
+ '@openai/[email protected]':
dependencies:
- '@openai/codex': 0.137.0
-
- '@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]'
- optional: true
-
- '@openai/[email protected]':
- optional: true
-
- '@openai/[email protected]':
- optional: true
-
- '@openai/[email protected]':
- optional: true
-
- '@openai/[email protected]':
- optional: true
-
- '@openai/[email protected]':
- optional: true
-
- '@openai/[email protected]':
- optional: true
+ '@openai/codex': 0.154.0
- '@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
'@opencode-ai/[email protected]':
@@ -6980,7 +6903,7 @@ snapshots:
'@ibm-generative-ai/node-sdk': 3.2.4
'@modelcontextprotocol/sdk': 1.29.0([email protected])
'@openai/agents': 0.11.6([email protected])([email protected])
- '@openai/codex-sdk': 0.130.0
+ '@openai/codex-sdk': 0.154.0
'@opencode-ai/sdk': 1.14.33
'@playwright/browser-chromium': 1.60.0
'@rollup/rollup-linux-x64-gnu': 4.60.4
diff --git a/plugins/codex-security/skills/triage-finding/evals/pnpm-workspace.yaml b/plugins/codex-security/skills/triage-finding/evals/pnpm-workspace.yaml
index 81ff6379d..fe64de4ef 100644
--- a/plugins/codex-security/skills/triage-finding/evals/pnpm-workspace.yaml
+++ b/plugins/codex-security/skills/triage-finding/evals/pnpm-workspace.yaml
@@ -1,24 +1,18 @@
packages:
- .
minimumReleaseAge: 10080
+minimumReleaseAgeExclude:
+ - openai
+ - "@openai/*"
trustLockfile: true
overrides:
+ "@openai/codex-sdk": "$@openai/codex-sdk"
"@opencode-ai/sdk": 1.14.33
-onlyBuiltDependencies:
- - better-sqlite3
-
-ignoredBuiltDependencies:
- - "@playwright/browser-chromium"
- - "@swc/core"
- - esbuild
- - onnxruntime-node
- - protobufjs
- - sharp
allowBuilds:
- '@playwright/browser-chromium': false
- '@swc/core': false
+ "@playwright/browser-chromium": false
+ "@swc/core": false
better-sqlite3: true
esbuild: false
onnxruntime-node: false
diff --git a/sdk/typescript/package.json b/sdk/typescript/package.json
index b2640e766..5539147ae 100644
--- a/sdk/typescript/package.json
+++ b/sdk/typescript/package.json
@@ -73,8 +73,8 @@
"@inquirer/prompts": "8.3.0",
"@linear/sdk": "89.0.0",
"@octokit/core": "7.0.6",
- "@openai/codex": "0.149.1",
- "@openai/codex-sdk": "0.149.1",
+ "@openai/codex": "0.154.0",
+ "@openai/codex-sdk": "0.154.0",
"ajv": "8.20.0",
"extract-zip": "2.0.1",
"fast-uri": "3.1.6",
diff --git a/sdk/typescript/pnpm-lock.yaml b/sdk/typescript/pnpm-lock.yaml
index 3aa2c93e2..b2215a9f9 100644
--- a/sdk/typescript/pnpm-lock.yaml
+++ b/sdk/typescript/pnpm-lock.yaml
@@ -18,11 +18,11 @@ importers:
specifier: 7.0.6
version: 7.0.6
'@openai/codex':
- specifier: 0.149.1
- version: 0.149.1
+ specifier: 0.154.0
+ version: 0.154.0
'@openai/codex-sdk':
- specifier: 0.149.1
- version: 0.149.1
+ specifier: 0.154.0
+ version: 0.154.0
ajv:
specifier: 8.20.0
version: 8.20.0
@@ -753,47 +753,47 @@ packages:
react: ^18.0.0 || ^19.0.0
tailwindcss: ^4.0.10
- '@openai/[email protected]':
- resolution: {integrity: sha512-R00Rz5327LefZggAxl28r7vFQq1vxa91OxtjZJOsQfAM/MyH8InW5qwwRu6pzUmRGp1E29XrOzm7u1TeV5Yz2A==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-TTQ2ItcqCRR8gkfgFc+0OAOIG3hJ7dTHezkvnLBYVA3Qd+JkD/kzWwM3MtlTFOgYa4zYBrQ7iStjO0dmvAz3Nw==}
engines: {node: '>=18'}
- '@openai/[email protected]':
- resolution: {integrity: sha512-6q5pbcpFbJbqOpkubSDBwXmktQ55aD8eUzGzBF1zASob2DjwhBKDSNGtdZKalfrNJUdTDTPDMmzCXEXs5tMBYA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-FV/x1OHXYv/ifjf3mXj9ThTTAWcUZN6cGIRQRhRxkKNOPuImu1WW0c8ev1vUkE9XGH90dEnYG1tBjIkxRikg0w==}
engines: {node: '>=16'}
hasBin: true
- '@openai/[email protected]':
- resolution: {integrity: sha512-6X84kTCbnTgPIJ2EdcPsrvwS0Wxsqpa+bCswGmRf4BjhcQ5nPMnBC6yCAaCMj+vrbXQHj+L6sa9FaR4QkmA1qw==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-HP/vJCH/t2hB9Kg6hotN9UglClJ6/z584fal5lEP14C9gNAgAQS4/kTQC7l5V+BA3TqwDPwINSjul28cX8AYXg==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
- '@openai/[email protected]':
- resolution: {integrity: sha512-MfLBQLfcElJL9tvj6y45qVHHMGSXCPnQOixuD3/Zq0g1BW/eFizkrGLdn48cFpc+l8cK+gt5nYG5pQYwVs6g4A==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-2aqz+72Hop8PF2RYglQ4JnGjm3OlRIrTykJIT0hyLeUgM6NCFy09RgTmqRCoWliKQZjEn9jjZqUEp7QujAj77g==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
- '@openai/[email protected]':
- resolution: {integrity: sha512-OqxUfZ1TVvHd18zHPKK/8ZRlpk8Vy11mg5CMHaLxNWldTbwVImDKtSLWT+m8m4NM5Sz4PbjtZMrVT/RfpBW/mQ==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-KmTCB6ST484zeYlPpKP/K5P/gRaYmt6TihVD+zotoe6O9q0JSBP+FYvCz4A/zZXR7xDOHURTSjHp0sD8wWS0YQ==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
- '@openai/[email protected]':
- resolution: {integrity: sha512-Of5fGYgr7tAMsyj6vhXb4/RM/UoA3Zq8BLegUBDC09UNy1XTLGYP/2XD+UX8z3qh0NDwxYdCjFIWdDNijKZggQ==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-a4FI3A8sGtwGrOqltrPbrS2hajrHQG591EwmRfiRoLMb10VxdBtUGW4gu6IJVYENiYGA7k3P4jlRHEoCZU/s9Q==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
- '@openai/[email protected]':
- resolution: {integrity: sha512-5K0DmOKGK9Bos627p8sK8ATHjovPK0sDyT6h9Cb+4v+5CW5SGw1HLgjGxoLfJ8g3cg6mtg/pRCXXo2L/j71UVA==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-CRUmZnE0Y/a8aLMrrA681EytOGaPaF659wJAiI4I3hsbQjaeYBSPV7PkCjy4Qn5LR/fmwIUORVH+6JaBNQL+tw==}
engines: {node: '>=16'}
cpu: [arm64]
os: [win32]
- '@openai/[email protected]':
- resolution: {integrity: sha512-G3QXGAg7nyyhqOeooAMUekBCeHd8a1QByhKcVAFyzNBaI06t6Ft7nsF+1SzFS0spuIdU4YyMi5YD26ukADBQUQ==}
+ '@openai/[email protected]':
+ resolution: {integrity: sha512-Stg2KEJPIKVqPPR1wCverGOR4ey3RR3cvakR07w7FNKQUMzmHaOZomRsP2bR1qOT/67yHsks9rB+MCMfIWXcRA==}
engines: {node: '>=16'}
cpu: [x64]
os: [win32]
@@ -3592,35 +3592,35 @@ snapshots:
- react-dom
- supports-color
- '@openai/[email protected]':
+ '@openai/[email protected]':
dependencies:
- '@openai/codex': 0.149.1
+ '@openai/codex': 0.154.0
- '@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/[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]':
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
'@radix-ui/[email protected]': {}
diff --git a/sdk/typescript/pnpm-workspace.yaml b/sdk/typescript/pnpm-workspace.yaml
index 49c0ad742..858ac9cb4 100644
--- a/sdk/typescript/pnpm-workspace.yaml
+++ b/sdk/typescript/pnpm-workspace.yaml
@@ -1,2 +1,8 @@
+minimumReleaseAge: 10080
+minimumReleaseAgeExclude:
+ - openai
+ - "@openai/*"
+trustLockfile: true
+
allowBuilds:
esbuild: false
diff --git a/sdk/typescript/tests-ts/skeleton.test.ts b/sdk/typescript/tests-ts/skeleton.test.ts
index 1fc4587f1..b89c50d3d 100644
--- a/sdk/typescript/tests-ts/skeleton.test.ts
+++ b/sdk/typescript/tests-ts/skeleton.test.ts
@@ -58,6 +58,51 @@ function capture(): {
}
describe("TypeScript package skeleton", () => {
+ test("pins one Codex version across the CLI, MCP app, and evals", async () => {
+ const directories = [
+ "sdk/typescript",
+ "plugins/codex-security/mcp-app",
+ "plugins/codex-security/skills/triage-finding/evals",
+ ];
+ const manifests = await Promise.all(
+ directories.map(async (directory) =>
+ JSON.parse(
+ await readFile(
+ new URL(`../../../${directory}/package.json`, import.meta.url),
+ "utf8",
+ ),
+ ),
+ ),
+ );
+ const version = manifests[0].dependencies["@openai/codex"];
+ expect(version).toBeTruthy();
+ for (const [index, directory] of directories.entries()) {
+ expect(manifests[index].dependencies["@openai/codex-sdk"]).toBe(version);
+ const lockfile = Bun.YAML.parse(
+ await readFile(
+ new URL(`../../../${directory}/pnpm-lock.yaml`, import.meta.url),
+ "utf8",
+ ),
+ ) as {
+ packages: Record<string, { os?: string[]; cpu?: string[] }>;
+ };
+ expect(
+ Object.keys(lockfile.packages).filter((name) =>
+ name.startsWith("@openai/codex-sdk@"),
+ ),
+ ).toEqual([`@openai/codex-sdk@${version}`]);
+ for (const [name, metadata] of Object.entries(lockfile.packages)) {
+ if (name.startsWith("@openai/codex@")) {
+ const platform =
+ metadata.os && metadata.cpu
+ ? `-${metadata.os[0]}-${metadata.cpu[0]}`
+ : "";
+ expect(name).toBe(`@openai/codex@${version}${platform}`);
+ }
+ }
+ }
+ });
+
test("exports typed attack-path aliases", () => {
const dataflow: AttackPathDataflow = {
transformations: ["decode archive entry"],