@openai/codex 0.1.2505161129 → 0.1.2505161243

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 CHANGED
@@ -685,7 +685,9 @@ Prerequisite: Nix >= 2.4 with flakes enabled (`experimental-features = nix-comma
685
685
  Enter a Nix development shell:
686
686
 
687
687
  ```bash
688
- nix develop
688
+ # Use either one of the commands according to which implementation you want to work with
689
+ nix develop .#codex-cli # For entering codex-cli specific shell
690
+ nix develop .#codex-rs # For entering codex-rs specific shell
689
691
  ```
690
692
 
691
693
  This shell includes Node.js, installs dependencies, builds the CLI, and provides a `codex` command alias.
@@ -693,14 +695,29 @@ This shell includes Node.js, installs dependencies, builds the CLI, and provides
693
695
  Build and run the CLI directly:
694
696
 
695
697
  ```bash
696
- nix build
698
+ # Use either one of the commands according to which implementation you want to work with
699
+ nix build .#codex-cli # For building codex-cli
700
+ nix build .#codex-rs # For building codex-rs
697
701
  ./result/bin/codex --help
698
702
  ```
699
703
 
700
704
  Run the CLI via the flake app:
701
705
 
702
706
  ```bash
703
- nix run .#codex
707
+ # Use either one of the commands according to which implementation you want to work with
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
704
721
  ```
705
722
 
706
723
  ---