mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
## What? Upgrades @modelcontextprotocol/sdk from ^1.20.2 to ^1.24.0 in the TypeScript SDK's devDependencies. ## Why? Related to #7737 - keeping development dependencies up to date with the latest MCP SDK version that includes the fix for CVE-2025-66414. Note: This change does not address the CVE for Codex users, as the MCP SDK is only in devDependencies here. The actual MCP integration that would be affected by the CVE is in the Rust codebase. ## How? • Updated dependency version in sdk/typescript/package.json • Ran pnpm install to update lockfile • Fixed formatting (added missing newline in package.json) ## Related Issue Related to #7737 ## Test Status ⚠️ After this upgrade, 2 additional tests timeout (1 test was already failing on main): • tests/run.test.ts: "sends previous items when run is called twice" • tests/run.test.ts: "resumes thread by id" • tests/runStreamed.test.ts: "sends previous items when runStreamed is called twice" Marking as draft to investigate test timeouts. Maintainer guidance would be appreciated. Co-authored-by: HalfonA <amit@miggo.io>
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"name": "@openai/codex-sdk",
|
|
"version": "0.0.0-dev",
|
|
"description": "TypeScript SDK for Codex APIs.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/openai/codex.git",
|
|
"directory": "sdk/typescript"
|
|
},
|
|
"keywords": [
|
|
"openai",
|
|
"codex",
|
|
"sdk",
|
|
"typescript",
|
|
"api"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "tsup",
|
|
"build:watch": "tsup --watch",
|
|
"lint": "pnpm eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"lint:fix": "pnpm eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"coverage": "jest --coverage",
|
|
"format": "prettier --check .",
|
|
"format:fix": "prettier --write .",
|
|
"prepare": "pnpm run build"
|
|
},
|
|
"devDependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.24.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^20.19.18",
|
|
"eslint": "^9.36.0",
|
|
"eslint-config-prettier": "^9.1.2",
|
|
"eslint-plugin-jest": "^29.0.1",
|
|
"eslint-plugin-node-import": "^1.0.5",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.6.2",
|
|
"ts-jest": "^29.3.4",
|
|
"ts-jest-mock-import-meta": "^1.3.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.45.0",
|
|
"zod": "^3.24.2",
|
|
"zod-to-json-schema": "^3.24.6"
|
|
}
|
|
}
|