DSH Plugins Marketplace

DSH Plugins

Plugins

/

Models & Providers

/

dsh-codex-oauth

W

dsh-codex-oauth

Manifest valid★ 14

Use your OpenAI subscription with DeepSeek Harness to access GPT models, image generation, and web search.

UI (client)hasBundlePatch

🔐 DSH-Codex-OAuth

English | 简体中文

🎯 What it does: Sign in with a ChatGPT / Codex subscription to enjoy powerful GPT models, image generation, and web search in DeepSeek Harness, with subscription quota reporting included.
🧩 Compatibility: Verified on DSH 0.1.0-rc.6; future releases will continue to be tested against the latest DSH version.
⚠️ Risk: This project is built on open-source software and relies on non-public ChatGPT Codex backend endpoints. OpenAI protocol changes may temporarily break features until the plugin is updated, and there may also be a low risk of account suspension.

✨ Plugin highlights

  • 🚀 Direct subscription access — GPT models, image generation, and web search share your OpenAI subscription quota.
  • 🧩 Controlled integration — the model picker, generated images, and web search integrate into DeepSeek Harness with dedicated controls.
  • 🔐 Multiple sign-in methods — supports browser sign-in and headless device-code authorization.
  • 🌗 UI adaptation — follows DSH's English/Chinese language and Light, Dark, or System theme.

📦 Install / Upgrade

🟢 npm

dsh plugin --profile web add -w @wnjxyk/dsh-codex-oauth@latest

🐙 GitHub

dsh plugin --profile web add -w github:WNJXYK/dsh-codex-oauth

🗑️ Uninstall

npm and GitHub installations use the same removal command:

dsh plugin --profile web remove -w @wnjxyk/dsh-codex-oauth

🧰 Plugin capabilities

CapabilityDescription
🤖 GPT modelsActivates DSH's built-in openai-codex provider and dynamically loads models available to the account.
🎨 Image generationRegisters the generate_image tool, supports multiple image sizes and quality levels, and displays the generated result.
🌐 Web searchRoutes native web_search through hosted GPT search and returns answer text with structured source URLs.
📊 Subscription usageShows plan, remaining quota, reset times, and windows such as 5-hour and weekly limits.
🔑 OAuthSupports browser sign-in, device codes, automatic token renewal, status refresh, and sign-out.
🖥️ Native integrationProvides model and feature controls, image previews, bilingual copy, and theme adaptation while following DSH's hot-plug design.

🖼️ Feature preview

Account status and model settingsHeadless sign-inImage generationWeb search (X/Twitter)
Account status and model settingsHeadless sign-inImage generationWeb search

⚙️ Detailed configuration

No configuration is normally required. Available options are:

OptionDefaultDescription
dshHomeDSH HomeCustom DSH home directory used to resolve default file paths.
path$DSH_HOME/codex-oauth.jsonHost-side OAuth credential file.
preferencesPath$DSH_HOME/codex-oauth-preferences.jsonModel visibility and feature switches; defaults beside path when it is overridden.
issuerhttps://auth.openai.comOAuth issuer; override only for gateways or tests.
usageUrlhttps://chatgpt.com/backend-api/wham/usageSubscription usage endpoint.
controlPort1456Loopback login, status, and preference service.
redirectPort1455Loopback browser OAuth callback.
Search modelgpt-5.6-solModel used by hosted web search, aligned with the default Codex Power configuration.

Example Cordis configuration:

- insert:
    - id: dsh-codex-oauth
      name: "@wnjxyk/dsh-codex-oauth"
      config:
        dshHome: /data/dsh
        path: /secure/codex-oauth.json
        preferencesPath: /secure/codex-oauth-preferences.json
        issuer: https://auth.openai.com
        usageUrl: https://chatgpt.com/backend-api/wham/usage
        controlPort: 1456
        redirectPort: 1455

    - id: codex-web-search
      name: "@wnjxyk/dsh-codex-oauth/web-search"
      config:
        model: gpt-5.6-sol

Web search and image-generation orchestration both default to the Codex Power model gpt-5.6-sol; images are rendered by the hosted GPT Image (image_generation) tool; chat models are discovered dynamically from the openai-codex model provider supplied by DSH's built-in llm-pi-ai plugin.

📄 License

This project is available under the MIT License, authored by WNJXYK.

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.5-rc.2: failedDSH 0.2.1-rc.1: failed

Versions

Latest versionPublishedSize
0.4.0——
0.4.1——
0.4.2——

Comments

Loading…

Similar plugins

dsh-codex-connect

by franksong2702

Use openai-codex models and image generation via ChatGPT OAuth for DeepSeek Harness.

Models & ProvidersManifest valid

★ 174

Apache-2.0

TypeScript

Oct 28, 2026

dsh plugin --profile web add dsh-codex-connect

by stoneface10

Use your ChatGPT subscription in DeepSeek Harness to access Codex models and generate or edit images with gpt-image-2—no OpenAI Platform API key required.

Models & ProvidersManifest valid

★ 4

↓ 161/wk

Apache-2.0

TypeScript

Aug 29, 2026

dsh plugin --profile web add dsh-codex-connect-plus

by callqh

Sign in to OpenAI Codex from DeepSeek Harness with a ChatGPT Plus/Pro subscription, by driving the authorization flow llm-pi-ai already registers.

Terminal & ClientsModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 30, 2026

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

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 birat-chapagain

DeepSeek Harness plugin: use your OpenAI Codex (ChatGPT Plus/Pro) subscription through OAuth

Models & ProvidersManifest valid

★ 7

↓ 79/wk

MIT

TypeScript

Aug 23, 2026

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

by AdonisSheldon

Use ChatGPT OAuth and OpenAI Codex models in DeepSeek Harness—no API key or Codex CLI required.

Models & ProvidersManifest valid

★ 9

↓ 196/wk

MIT

TypeScript

Oct 23, 2026

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