From 47df48ae1731ede99d68eff4cf055a26266d2f25 Mon Sep 17 00:00:00 2001 From: chou xiao Date: Wed, 26 Aug 2026 03:44:55 +0000 Subject: [PATCH 1/3] chore: add Cloud Agent environment config Co-authored-by: xJoker --- .cursor/environment.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .cursor/environment.json diff --git a/.cursor/environment.json b/.cursor/environment.json new file mode 100644 index 0000000..7ec9255 --- /dev/null +++ b/.cursor/environment.json @@ -0,0 +1,4 @@ +{ + "name": "codex-switch", + "install": "rustup toolchain install stable --profile minimal -c clippy -c rustfmt && rustup default stable && cargo fetch --locked && cargo build --all-targets --locked && cargo install cargo-audit --locked" +} From 4273d27ece0c5f5cb2b13996882c99868a181792 Mon Sep 17 00:00:00 2001 From: chou xiao Date: Wed, 26 Aug 2026 04:37:18 +0000 Subject: [PATCH 2/3] chore(env): install Codex CLI for provider launch e2e Co-authored-by: xJoker --- .cursor/environment.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cursor/environment.json b/.cursor/environment.json index 7ec9255..931d949 100644 --- a/.cursor/environment.json +++ b/.cursor/environment.json @@ -1,4 +1,4 @@ { "name": "codex-switch", - "install": "rustup toolchain install stable --profile minimal -c clippy -c rustfmt && rustup default stable && cargo fetch --locked && cargo build --all-targets --locked && cargo install cargo-audit --locked" + "install": "rustup toolchain install stable --profile minimal -c clippy -c rustfmt && rustup default stable && cargo fetch --locked && cargo build --all-targets --locked && cargo install cargo-audit --locked && npm install -g @openai/codex@0.149.1 --prefix \"$HOME/.local\"" } From e4373a01727a2a3953bb54fe746665dd05468740 Mon Sep 17 00:00:00 2001 From: chou xiao Date: Wed, 26 Aug 2026 04:48:12 +0000 Subject: [PATCH 3/3] chore(env): track latest Codex CLI instead of pinning a version Co-authored-by: xJoker --- .cursor/environment.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cursor/environment.json b/.cursor/environment.json index 931d949..728d75e 100644 --- a/.cursor/environment.json +++ b/.cursor/environment.json @@ -1,4 +1,4 @@ { "name": "codex-switch", - "install": "rustup toolchain install stable --profile minimal -c clippy -c rustfmt && rustup default stable && cargo fetch --locked && cargo build --all-targets --locked && cargo install cargo-audit --locked && npm install -g @openai/codex@0.149.1 --prefix \"$HOME/.local\"" + "install": "rustup toolchain install stable --profile minimal -c clippy -c rustfmt && rustup default stable && cargo fetch --locked && cargo build --all-targets --locked && cargo install cargo-audit --locked && npm install -g @openai/codex@latest --prefix \"$HOME/.local\"" }