core-agent-ide/codex-cli/scripts
Michael Bolin 408c7ca142
chore: remove the TypeScript code from the repository (#2048)
This deletes the bulk of the `codex-cli` folder and eliminates the logic
that builds the TypeScript code and bundles it into the release.

Since this PR modifies `.github/workflows/rust-release.yml`, to test
changes to the release process, I locally commented out all of the "is
this commit on upstream `main`" checks in
`scripts/create_github_release.sh` and ran:

```
./codex-rs/scripts/create_github_release.sh 0.20.0-alpha.4
```

Which kicked off:

https://github.com/openai/codex/actions/runs/16842085113

And the release artifacts appear legit!

https://github.com/openai/codex/releases/tag/rust-v0.20.0-alpha.4
2025-08-08 16:09:39 -07: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
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.sh feat: include Windows binary of the CLI in the npm release (#2040) 2025-08-08 14:44:35 -07:00
README.md docs: clarify the build process for the npm release (#1568) 2025-07-14 09:41:11 -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
stage_release.sh chore: remove the TypeScript code from the repository (#2048) 2025-08-08 16:09:39 -07:00
stage_rust_release.py fix: try building the npm package in CI (#2043) 2025-08-08 15:17:54 -07:00

npm releases

Run the following:

To build the 0.2.x or later version of the npm module, which runs the Rust version of the CLI, build it as follows:

./codex-cli/scripts/stage_rust_release.py --release-version 0.6.0