DSH XD Pool
XDTrees/dsh-xdpool把本机 WorkBuddy 桌面 App 登录过的所有账号自动并入 DSH 模型池:多账号轮换自动容错、实时积分,模型目录按模型标注积分倍率与限时免费 / 夜间折扣。
通过 OAuth 连接 ChatGPT 账号,支持手动或自动切换,并为 DeepSeek Harness 添加带用量限额信息的 Codex 模型。
English | 中文
Multi-account Codex for DeepSeek Harness, powered by your ChatGPT subscription.
view_image.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
| Mode | Behavior |
|---|---|
| Manual | You choose the Current account. |
| Automatic | Codex Switch uses Available accounts by Account order. |
Search and view_image are disabled by default. Codex Switch does not change your default model or global search provider.
Codex Switch treats remaining capacity and reset lifecycle as separate facts. A zero-use 5-hour window shows Starts after first use rather than a meaningless countdown. The weekly lifecycle is independent: a stable weekly reset can keep counting down even while the 5-hour window is idle or visually full. Moving full-window projections are never presented as reset anchors. If OpenAI reports usage without a usable reset time, the card says Reset time unavailable.
Warm up reads that account's authorized Codex model list, then sends one minimal request for the core pool and each eligible additional model pool that still needs activation. It consumes a small amount of that account's quota, so it asks for confirmation and never runs on its own — not on refresh, sign-in, automatic switching, or background polling. Acceptance is not proof activation succeeded: Codex Switch re-reads usage, and keeps offering an explicit retry until positive use and at least five elapsed minutes prove the relevant window is running.
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.
pnpm install --frozen-lockfile
pnpm run check
Apache-2.0. Codex Switch is maintained by CHAKEW and retains upstream work by Frank Song and Yan-Zero. Third-party notices and modification history are documented in NOTICE and MODIFICATIONS.md.