@openai/codex 0.1.2505160811 → 0.1.2505161129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -20
- package/dist/cli.js +864 -368
- package/dist/cli.js.map +4 -4
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -685,9 +685,7 @@ Prerequisite: Nix >= 2.4 with flakes enabled (`experimental-features = nix-comma
|
|
|
685
685
|
Enter a Nix development shell:
|
|
686
686
|
|
|
687
687
|
```bash
|
|
688
|
-
|
|
689
|
-
nix develop .#codex-cli # For entering codex-cli specific shell
|
|
690
|
-
nix develop .#codex-rs # For entering codex-rs specific shell
|
|
688
|
+
nix develop
|
|
691
689
|
```
|
|
692
690
|
|
|
693
691
|
This shell includes Node.js, installs dependencies, builds the CLI, and provides a `codex` command alias.
|
|
@@ -695,29 +693,14 @@ This shell includes Node.js, installs dependencies, builds the CLI, and provides
|
|
|
695
693
|
Build and run the CLI directly:
|
|
696
694
|
|
|
697
695
|
```bash
|
|
698
|
-
|
|
699
|
-
nix build .#codex-cli # For building codex-cli
|
|
700
|
-
nix build .#codex-rs # For building codex-rs
|
|
696
|
+
nix build
|
|
701
697
|
./result/bin/codex --help
|
|
702
698
|
```
|
|
703
699
|
|
|
704
700
|
Run the CLI via the flake app:
|
|
705
701
|
|
|
706
702
|
```bash
|
|
707
|
-
|
|
708
|
-
nix run .#codex-cli # For running codex-cli
|
|
709
|
-
nix run .#codex-rs # For running codex-rs
|
|
710
|
-
```
|
|
711
|
-
|
|
712
|
-
Use direnv with flakes
|
|
713
|
-
|
|
714
|
-
If you have direnv installed, you can use the following `.envrc` to automatically enter the Nix shell when you `cd` into the project directory:
|
|
715
|
-
|
|
716
|
-
```bash
|
|
717
|
-
cd codex-rs
|
|
718
|
-
echo "use flake ../flake.nix#codex-cli" >> .envrc && direnv allow
|
|
719
|
-
cd codex-cli
|
|
720
|
-
echo "use flake ../flake.nix#codex-rs" >> .envrc && direnv allow
|
|
703
|
+
nix run .#codex
|
|
721
704
|
```
|
|
722
705
|
|
|
723
706
|
---
|