DeepSeek Harness plugin

dsh-codex-switch

ChatGPT OAuth and Codex models for DeepSeek Harness.

Jump to install

Source facts

Repository
ZChenW/dsh-codex-switch
Latest update
Aug 20, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/ZChenW/dsh-codex-switch
Plugin: dsh-codex-switch
Author: ZChenW

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

Codex Switch

![npm version](https://www.npmjs.com/package/dsh-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](LICENSE). Third-party notices and modification history are documented in [NOTICE](NOTICE) and [MODIFICATIONS.md](MODIFICATIONS.md).