Files
codex/sdk/typescript/package.json
thomas 61dc1d97f6 Add MCP client conformance regression gates (#36810)
## What changed

- Add a harness that runs the Codex executable against a pinned official MCP
  client conformance suite across shipping, intermediate, and modern protocol
  versions, HTTP and stdio transports, and OAuth scenarios.
- Add a separate app-server regression matrix for transport, security, schema,
  pagination, SSE, multi-round request, and catalog-boundary behavior.
- Check both suites against committed baselines so previously passing or
  required checks cannot disappear or newly fail, while keeping known failures
  visible in complete reports.
- Run the fixture self-tests and both executable-level gates from the Python
  and TypeScript SDK test workflows.

## Testing

- Add unit tests for the fixture server, official-suite adapter, conformance
  runner, baseline comparison, and reviewer regression runner.

GitOrigin-RevId: de59f039294e34ed72873d9f6940b52e89172c0d
2026-08-03 23:20:41 +00:00

69 lines
1.9 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/conformance": "github:modelcontextprotocol/conformance#49103de6ed70804e940637bf3e9e29e4a3f54e64",
"@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"
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
}