-
Notifications
You must be signed in to change notification settings - Fork 6
fix readme install instructions causing EEXIST error #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,6 @@ Codex CLI-first multi-account OAuth manager for the official `@openai/codex` CLI | |
| ### Option A: Standard install | ||
|
|
||
| ```bash | ||
| npm i -g @openai/codex | ||
| npm i -g codex-multi-auth | ||
| ``` | ||
|
|
||
|
|
@@ -75,18 +74,16 @@ codex auth status | |
|
|
||
| ### Step-by-step | ||
|
|
||
| 1. Install global packages: | ||
| - `npm i -g @openai/codex` | ||
| 1. Install global package: | ||
| - `npm i -g codex-multi-auth` | ||
| 2. Run first login flow with `codex auth login` | ||
| 3. Validate state with `codex auth list` and `codex auth check` | ||
| 3. Validate state with `codex auth status` and `codex auth check` | ||
| 4. Confirm routing with `codex auth forecast --live` | ||
|
Comment on lines
+77
to
81
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add a small docs regression guard and a windows stale-shim note. please add a regression test that validates README command snippets against the CLI usage surface (for example against 🤖 Prompt for AI Agents |
||
|
|
||
| ### Verification | ||
|
|
||
| ```bash | ||
| codex auth status | ||
| codex auth list | ||
| codex auth check | ||
| ``` | ||
|
|
||
|
|
@@ -98,7 +95,7 @@ codex auth check | |
|
|
||
| ```bash | ||
| codex auth login | ||
| codex auth list | ||
| codex auth status | ||
| codex auth check | ||
| codex auth forecast --live | ||
| ``` | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no windows filesystem / token safety context — org policy violation
per our merge policy, every change to oc-chatgpt-multi-auth must explain how it defends against windows filesystem concurrency bugs and token leakage. this pr removes the separate
@openai/codexinstall step, which directly affects how thecodexbinary lands on disk. on windows, having two npm globals race to write the same binary path is exactly the kind of concurrency footgun we track — the eexist fix is correct, but the pr description and docs should explicitly state:npm iworkers writing the same path)please add a sentence in the pr body (or a code comment in the relevant install script) covering these points before merge.
Rule Used: What: Every code change must explain how it defend... (source)
Prompt To Fix With AI