core-agent-ide/codex-cli
Michael Bolin 63deb7c369
fix: for the @native release of the Node module, use the Rust version by default (#1084)
Added logic so that when we run `./scripts/stage_release.sh --native`
(for the `@native` version of the Node module), we drop a `use-native`
file next to `codex.js`. If present, `codex.js` will now run the Rust
CLI.

Ran `./scripts/stage_release.sh --native` and verified that when the
running `codex.js` in the staged folder:

```
$ /var/folders/wm/f209bc1n2bd_r0jncn9s6j_00000gp/T/tmp.efvEvBlSN6/bin/codex.js --version
codex-cli 0.0.2505220956
```

it ran the expected Rust version of the CLI, as desired.

While here, I also updated the Rust version to one that I cut today,
which includes the new shell environment policy config option:
https://github.com/openai/codex/pull/1061. Note this may "break" some
users if the processes spawned by Codex need extra environment
variables. (We are still working to determine what the right defaults
should be for this option.)
2025-05-22 13:42:55 -07:00
..
bin fix: for the @native release of the Node module, use the Rust version by default (#1084) 2025-05-22 13:42:55 -07:00
examples Add codespell support (config, workflow to detect/not fix) and make it fix some typos (#903) 2025-05-14 09:39:49 -07:00
scripts fix: for the @native release of the Node module, use the Rust version by default (#1084) 2025-05-22 13:42:55 -07:00
src fix: add node version check (#1007) 2025-05-17 21:27:41 -07:00
tests Remove unnecessary console log from test (#970) 2025-05-16 19:48:11 -07:00
.dockerignore (fix) update Docker container scripts (#47) 2025-04-16 12:02:41 -07:00
.editorconfig Initial commit 2025-04-16 12:56:08 -04:00
.eslintrc.cjs chore: introduce new --native flag to Node module release process (#844) 2025-05-12 13:38:10 -07:00
.gitignore chore: make build process a single script to run (#757) 2025-05-01 08:36:07 -07:00
build.mjs fix: always load version from package.json at runtime (#909) 2025-05-12 21:27:15 -07:00
default.nix restructure flake for codex-rs (#888) 2025-05-13 13:08:42 -07:00
Dockerfile fix: only allow running without sandbox if explicitly marked in safe container (#699) 2025-04-28 07:48:38 -07:00
HUSKY.md Feat/add husky (#223) 2025-04-17 07:18:43 -07:00
ignore-react-devtools-plugin.js Initial commit 2025-04-16 12:56:08 -04:00
package.json bump(version): 0.1.2505171619 (#1001) 2025-05-17 16:25:21 -07:00
require-shim.js Initial commit 2025-04-16 12:56:08 -04:00
tsconfig.json fix: /bug report command, thinking indicator (#381) 2025-04-18 18:13:34 -07:00
vitest.config.ts fix: always load version from package.json at runtime (#909) 2025-05-12 21:27:15 -07:00