DSH Hub

ZChenW/dsh-codex-switch

dsh-codex-switch

UIVision0 GitHub stars· updated 2026-08-23

ChatGPT OAuth, multi-account switching, and Codex models for DeepSeek Harness.

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-codex-switch@alpha

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-codex-switch DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-codex-switch.svg)](https://dshhub.dev/plugins/dsh-codex-switch)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from ZChenW/dsh-codex-switch, cleaned of badges and images.

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.
  • 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 active account.
AutomaticCodex 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.

Related plugins