Vai al contenuto principale
Z

dsh-codex-switch

zchenw/dsh-codex-switch

ChatGPT OAuth and Codex models for DeepSeek Harness.

Installazione

dsh plugin --profile web add github:zchenw/dsh-codex-switch

README

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

Plugin correlati