插件目录 / Developer / dsh-codex-switch
dsh-codex-switch
未验证 ZChenW
功能简介
ChatGPT OAuth, multi-account switching, and Codex models for DeepSeek Harness.
未验证 — 尚未实测
ChatGPT OAuth, multi-account switching, and Codex models for DeepSeek Harness. 尚未验证——请自行安装测试。
「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
Codex Switch
English | 中文
Multi-account Codex for DeepSeek Harness, powered by your ChatGPT subscription.
What it does
- Connects ChatGPT accounts with OAuth.
- Shows each account's weekly limit and reset time.
- Redeems banked rate-limit resets granted by OpenAI, right from the account card.
- Switches accounts manually or automatically.
- Adds Codex models to the Harness model picker.
- Optionally enables Codex search and
view_image.
Install
dsh plugin --profile web add dsh-codex-switch@alpha
dsh web
For pnpm 9:
dsh plugin --profile web add -w --config.auto-install-peers=false dsh-codex-switch@alpha
Set up
- Open Settings → Plugins → Plugin configuration → Codex Switch.
- Select Sign in with ChatGPT and add your accounts.
- Choose Manual or Automatic, then select a Codex model.
| Mode | Behavior |
|---|---|
| Manual | You choose the active account. |
| Automatic | Codex Switch uses enabled accounts in order. |
Search and view_image are disabled by default. Codex Switch does not change your default model or global search provider.
Commands
dsh plugin --profile web exec dsh-codex-switch status
dsh plugin --profile web exec dsh-codex-switch doctor
dsh plugin --profile web exec dsh-codex-switch accounts list
Credentials are stored under $DSH_HOME/openai-codex/credentials/. Removing the plugin does not delete them; use Sign out to remove an account.
ChatGPT subscription access is not an OpenAI API key. Available models and limits are controlled by OpenAI.
Development
pnpm install --frozen-lockfile
pnpm run check
License
Apache-2.0. Third-party notices and modification history are documented in NOTICE and MODIFICATIONS.md.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-codex-switch」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:ZChenW/dsh-codex-switch Headless(CLI)profile:
dsh plugin --profile headless add github:ZChenW/dsh-codex-switch 实测报告
尚未 L3 验证——若已跑过,见下方失败备注。