DSH Plugins Marketplace

DSH Plugins

Plugins

/

Models & Providers

/

dsh-codex-switch

d

dsh-codex-switch

Manifest valid

Connects ChatGPT accounts through OAuth, switches among them manually or automatically, and adds Codex models with usage limits to DeepSeek Harness.

UI (client)hasBundlePatch

Codex Switch

npm version

English | 中文

Multi-account Codex for DeepSeek Harness, powered by your ChatGPT subscription.

What it does

  • Connects ChatGPT accounts with OAuth.
  • Shows each account's 5-hour and weekly limits, and the reset time of every window that has started.
  • Redeems banked rate-limit resets granted by OpenAI, right from the account card.
  • Warms up an account on request, to start a window that has not run yet.
  • 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

  1. Open Settings → Plugins → Plugin configuration → Codex Switch.
  2. Select Sign in with ChatGPT and add your accounts.
  3. Choose Manual or Automatic, then select a Codex model.
ModeBehavior
ManualYou choose the Current account.
AutomaticCodex 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.

Quota windows

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.

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. 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.

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.1-rc.3: failedDSH 0.2.1-alpha.4: failed

Versions

Latest versionPublishedSize
0.1.0-alpha.1——
0.1.0-alpha.2——
0.1.0-alpha.3——
0.1.0-alpha.4——
0.1.0-alpha.5——
0.1.0-alpha.6——
0.1.0-alpha.7——
0.1.0-alpha.8——

Comments

Loading…

Similar plugins

dsh-chatgpt-oauth

by zhangnan

ChatGPT OAuth login and Codex usage for DeepSeek Harness

Security & AuditModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 23, 2026

dsh plugin --profile web add dsh-chatgpt-oauth

by ckanner

Use your ChatGPT subscription as a model provider in DeepSeek Harness (dsh). Sign in with ChatGPT over OAuth — no API key — and the account's own models appear in the model picker.

Models & ProvidersManifest valid

★ 11

MIT

TypeScript

Oct 27, 2026

dsh plugin --profile web add dsh-plugin-chatgpt

Community Codex provider for DeepSeek Harness with ChatGPT OAuth, Codex models, image input, quota display, per-session Fast and transport controls, and safe stream recovery.

Models & ProvidersManifest valid

★ 0

↓ 209/wk

dsh plugin --profile web add dsh-codex-community

by HaydenSmith1121

Codex (ChatGPT) model provider for DeepSeek Harness - serves the ChatGPT subscription models the Codex CLI uses, over OAuth session credentials instead of an API key

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 1

↓ 39/wk

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add dsh-codex-provider

by DGPisces

DeepSeek Harness provider for GPT models using managed ChatGPT OAuth through Codex app-server

Models & ProvidersManifest valid

★ 5

↓ 146/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-openai-oauth

by Player-MINEPIG

在 dsh(DeepSeek Harness)里使用你的 ChatGPT / Codex 订阅。插件通过 OpenAI Codex 的 OAuth 流程登录 ChatGPT 账号,把订阅额度暴露成 dsh 的 `codex-oauth` 模型提供方。

Models & ProvidersManifest valid

★ 8

MIT

JavaScript

Aug 31, 2026

dsh plugin --profile web add dsh-llm-codex-oauth