Files
dev/codex-cli/scripts
zeekay 5017c476d2 Merge openai/main: mem v2, tool building, sandbox metadata, image handling
Brings in 42 commits from openai/codex including:
- feat: mem v2 (memory extraction, prompt module, phase 1+2 consolidation)
- feat: connector capabilities for sub-agents
- feat: sandbox metadata in turn headers, proxy-aware network routing
- fix: canonicalize wrapper approvals, heredoc prefix support
- fix: reduce open_if_present usage, websocket incrementality
- chore: split NPM packages, extract hooks crate, tool building extraction
- Strip unsupported images, sanitize MCP image output for text-only models
- Thin LTO for alpha Rust release builds
2026-02-10 14:56:40 -08:00
..

npm releases

Use the staging helper in the repo root to generate npm tarballs for a release. For example, to stage the CLI, responses proxy, and SDK packages for version 0.6.0:

./scripts/stage_npm_packages.py \
  --release-version 0.6.0 \
  --package codex \
  --package codex-responses-api-proxy \
  --package codex-sdk

This downloads the native artifacts once, hydrates vendor/ for each package, and writes tarballs to dist/npm/.

When --package codex is provided, the staging helper builds the lightweight @openai/codex meta package plus all platform-native @openai/codex variants that are later published under platform-specific dist-tags.

If you need to invoke build_npm_package.py directly, run codex-cli/scripts/install_native_deps.py first and pass --vendor-src pointing to the directory that contains the populated vendor/ tree.