You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .codex/INSTALL.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,18 +67,18 @@ python -m codex_fast_proxy doctor
67
67
Report the JSON result in the reply. When `"ok": true`, explicitly tell the user:
68
68
69
69
```text
70
-
请重启 Codex App 并回到这个对话,或新开 CLI 实例,让它重新扫描 ~/.agents/skills;然后再说“启用 Codex Fast proxy”。
70
+
Restart Codex App and return to this conversation, or open a new CLI process, so Codex can rescan ~/.agents/skills. Then ask Codex to enable Codex Fast proxy.
71
71
```
72
72
73
73
Do not claim the skill is available before the restart.
74
74
75
75
After restarting Codex App or opening a new CLI process, the user can ask:
76
76
77
-
-`启用 Codex Fast proxy`
78
-
-`启用 Codex Fast proxy 的 ChatGPT 登录兼容模式`
79
-
-`全局开启 Codex Fast proxy 的 Fast 注入`
80
-
-`查看 Codex Fast proxy 状态`
81
-
-`停止 Codex Fast proxy`
77
+
-`Enable Codex Fast proxy`
78
+
-`Prepare Codex Fast proxy for ChatGPT account login`
79
+
-`Enable global Fast injection for Codex Fast proxy`
80
+
-`Show Codex Fast proxy status`
81
+
-`Stop Codex Fast proxy`
82
82
83
83
Default enable uses `--service-tier-policy auto`. In ChatGPT-login or unclear states this respects
84
84
Codex App/CLI Fast UI choices; in API-key mode it may inject the priority tier when Codex omits
Codex config has been restored to direct upstream, and the proxy was left running temporarily to avoid interrupting the current process. Restart Codex App and return to this conversation, or open a new CLI process, then run uninstall again to finish cleanup.
88
88
```
89
89
90
90
If `direct_upstream_auth_warning` is present, add this before the restart instruction:
Warning: ChatGPT login appears to be active. After uninstall restores direct upstream, requests no longer pass through the proxy upstream auth override. If Codex keeps using ChatGPT auth, the third-party provider may receive a ChatGPT token and return 401. Switch back to API-key/third-party provider auth before restarting, or keep the proxy enabled for ChatGPT-login UI with a third-party provider.
Copy file name to clipboardExpand all lines: .codex/UPDATE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Report the install JSON and the final status JSON when the proxy was already ena
57
57
status JSON as the current state. If the skill was newly linked or changed, explicitly tell the user:
58
58
59
59
```text
60
-
请重启 Codex App 并回到这个对话,或新开 CLI 实例,让它重新扫描 ~/.agents/skills;然后再说“启用 Codex Fast proxy”。
60
+
Restart Codex App and return to this conversation, or open a new CLI process, so Codex can rescan ~/.agents/skills. Then ask Codex to enable Codex Fast proxy.
61
61
```
62
62
63
63
If `install --start` ran during update, it refreshes `~/.codex/hooks.json` and enables Codex `SessionStart` autostart for future App/CLI starts. It also compares the running proxy runtime with the installed code; if the proxy is healthy but stale, explicit `install --start`/`start` may restart the proxy before returning. Use the final `status` output to report `runtime_matches` and `needs_restart`. If `status.needs_restart` is still `true`, tell the user to restart Codex App, open a new CLI process after the old proxy is gone, or run `python -m codex_fast_proxy start` when it is safe to refresh runtime code. Codex may fire `SessionStart` for each new or resumed session; `autostart --quiet` does not restart an already healthy proxy just because runtime code is stale, and it does not log normal no-op checks.
Explain that provider auth was verified and saved, but the running proxy has not loaded the new
94
+
override yet. The user must restart Codex App or explicitly allow `python -m codex_fast_proxy start`
95
+
before signing in with ChatGPT.
94
96
- After provider auth split is active and `status.needs_restart=false`, tell the user they can sign
95
-
in with ChatGPT, but include this Windows troubleshooting note: `如果登录 ChatGPT 账号时遇到 OSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试,通常是 Windows 端口排除/WinNAT 状态问题。可以在管理员 PowerShell 里依次执行 net stop winnat、netsh interface ipv4 show excludedportrange protocol=tcp、net start winnat、netsh interface ipv4 show excludedportrange protocol=tcp,然后重试登录。`
97
+
in with ChatGPT, and report the `chatgpt_login_windows_troubleshooting` JSON field when present.
96
98
- If proxy startup or config switching fails, the manager restores the backed-up config before returning.
97
99
- Use `set-upstream` when the user wants to change the provider URL, upstream auth environment name,
98
100
or service tier policy while the proxy is already enabled. It must keep Codex config pointed at the
- After `.codex/INSTALL.md` or `.codex/UPDATE.md` changes skill files, explicitly tell the user: `请重启 Codex App 并回到这个对话,或新开 CLI 实例,让它重新扫描 ~/.agents/skills;然后再说“启用 Codex Fast proxy”。`
161
-
- After `.codex/UNINSTALL.md`, explicitly tell the user: `请重启 Codex App,或新开 CLI 实例,让它从 skill 列表中移除 codex-fast-proxy。`
162
-
- After a successful `install --start`, explicitly tell the user: `Fast proxy 已启用,但当前 Codex 进程不会热切换;请重启 Codex App 并回到这个对话,或新开 CLI 实例后继续使用。`
162
+
- After `.codex/INSTALL.md` or `.codex/UPDATE.md` changes skill files, explicitly tell the user to restart Codex App and return to the conversation, or open a new CLI process, so Codex can rescan `~/.agents/skills`; then ask Codex to enable Codex Fast proxy.
163
+
- After `.codex/UNINSTALL.md`, explicitly tell the user to restart Codex App, or open a new CLI process, so Codex removes `codex-fast-proxy` from the skill list.
164
+
- After a successful `install --start`, explicitly tell the user that Fast proxy is enabled, but the current Codex process will not hot-switch; they should restart Codex App and return to the conversation, or open a new CLI process.
163
165
- After a successful `install --start`, always append this optional ChatGPT-login UI note even if
164
-
the status summary is already long: `可选提示:你现在是 API-key 模式,可以继续保持当前方式使用第三方 API + 全局 Fast。若想使用更完整的 Codex App UI,例如插件市场、GitHub/Apps/connectors、Fast 手动选择和状态提示、语音输入等,请先让我执行 prepare-chatgpt-login 准备 provider 鉴权,再切换 ChatGPT 账号登录;不要直接切换,否则可能 401。`
165
-
- After `uninstall --defer-stop`, explicitly tell the user: `配置已恢复直连,代理暂时保留运行以避免打断当前进程;请重启 Codex App 并回到这个对话,或新开 CLI 实例后再次执行卸载完成清理。`
166
-
- If `direct_upstream_auth_warning` is present after uninstall, add first: `注意:当前检测到 ChatGPT 登录态。卸载恢复直连后不再经过 proxy 的 upstream auth override;如果继续保持 ChatGPT 登录,第三方 provider 可能收到 ChatGPT token 并返回 401。请先退出 ChatGPT 登录并切回第三方/API-key 认证,或暂时不要卸载、继续保留 proxy。`
166
+
the status summary is already long: the user may keep API-key mode for third-party API plus global Fast. If they want richer Codex App UI such as plugin marketplace, GitHub/Apps/connectors, manual Fast controls, status hints, and voice input, they should run `prepare-chatgpt-login` before switching Codex App to ChatGPT login; switching directly may cause 401.
167
+
- After `uninstall --defer-stop`, explicitly tell the user that Codex config has been restored to direct upstream, and the proxy was left running temporarily to avoid interrupting the current process. They should restart Codex App and return to the conversation, or open a new CLI process, then run uninstall again to finish cleanup.
168
+
- If `direct_upstream_auth_warning` is present after uninstall, first warn that ChatGPT login appears active. After direct upstream restore, requests no longer pass through the proxy upstream auth override. Keeping ChatGPT login may send ChatGPT auth to the third-party provider and return 401. The user should switch back to API-key/third-party provider auth before restarting, or keep the proxy enabled for ChatGPT-login UI with a third-party provider.
167
169
168
170
Use `--provider <name>` only when the user names a provider or when `doctor` reports that no active provider can be selected.
169
171
@@ -179,8 +181,9 @@ For upstream URL changes after enable, prefer `set-upstream --upstream-base <url
0 commit comments