- Início
- Plugins
- Ferramentas e funções
- dsh-codex-switch
Z
dsh-codex-switch
zchenw/dsh-codex-switch
ChatGPT OAuth and Codex models for DeepSeek Harness.
Instalar
dsh plugin --profile web add github:zchenw/dsh-codex-switchREADME
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
- Open Settings → Plugins → Plugin configuration → Codex Switch.
- Select Sign in with ChatGPT and add your accounts.
- Choose Manual or Automatic, then select a Codex model.
| Mode | Behavior |
|---|---|
| Manual | You choose the active account. |
| Automatic | Codex 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.