core-agent-ide/codex-cli/scripts
Josh McKinney f2b740c95d
fix(codex-cli): improve ripgrep download diagnostics (#8486)
When rg download fails during npm package staging, log the
target/platform/url and preserve the original exception as the cause.
Emit GitHub Actions log groups and error annotations so the failure is
easier to spot.

Document why a urlopen timeout is set (the default can hang
indefinitely).

This is to make failures in the specific build step easier to understand
/ work out what's failing rather than having a big wall of text (or at
least having an obvious part of it that helps narrow that wall)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-23 21:18:35 +00:00
..
build_container.sh fix: update scripts/build_container.sh to use pnpm instead of npm (#631) 2025-04-24 16:38:57 -07:00
build_npm_package.py include new windows binaries in npm package. (#8140) 2025-12-16 16:14:33 -08:00
init_firewall.sh feat: add common package registries domains to allowed-domains list (#414) 2025-04-29 12:07:00 -07:00
install_native_deps.py fix(codex-cli): improve ripgrep download diagnostics (#8486) 2025-12-23 21:18:35 +00:00
README.md chore: introduce publishing logic for @openai/codex-sdk (#4543) 2025-10-01 08:29:59 -07:00
run_in_container.sh feat: add common package registries domains to allowed-domains list (#414) 2025-04-29 12:07:00 -07: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/.

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.