DSH Plugins Marketplace

DSH Plugins

Plugins

/

Models & Providers

/

dsh-openai-oauth

d

dsh-openai-oauth

Manifest valid

Use ChatGPT subscriptions in DeepSeek Harness Desktop via official Sign in with ChatGPT, with dynamic Agent registration and native model and reasoning selection.

UI (client)hasBundlePatch

dsh-openai-oauth

Use your ChatGPT subscription in DeepSeek Harness Desktop through official Sign in with ChatGPT (SIWC).

English | 简体中文

Verify

Independent community plugin; not affiliated with OpenAI or DeepSeek. This is not the legacy fixed-client Codex OAuth/backend-api integration.

Features

  • Continue with ChatGPT, dynamic Agent registration, persistent host identity, and verified ID Tokens.
  • Account-specific models and reasoning levels in DSH's existing model selector.
  • Public Responses streaming, local function tools, tool results, and compatible history replay.
  • Multiple saved account/workspace registrations, explicit account selection, rotating refresh, and scoped sign-out.
  • Keeps DeepSeek Account, API-key providers, other sources, and existing sessions independent. No silent billing fallback.
  • Stable account/session-scoped Responses affinity for cache reuse, without sending raw session identifiers.
  • No Codex CLI, API key, patched ASAR, or replacement pi-ai installation.

Compatibility

Validated Desktop releases: 0.2.1-rc.2, 0.2.1-rc.1 and 0.2.0-rc.2. Development/install helpers require Node.js 24+.

Forward-eligible range: 0.2.0-rc.2 || >=0.2.1-rc.1 <0.3.0-0. Later 0.2.x releases are candidates, not validated releases: installation and direct-update startup require isolated native checks before real-account activation. Next-minor prereleases/final, mixed components and failed contracts are rejected. See forward compatibility.

EnvironmentStatus
Windows Desktop 0.2.1-rc.2Native suites pass; initial UI recovery confirmed; hardened-startup recheck pending
Windows Desktop 0.2.1-rc.1 (0.2.0-rc.2 baseline)Previously validated native suites and desktop source/account/selection
macOS Desktop 0.2.1-rc.2 / 0.2.1-rc.1Native and real desktop validation pending for these releases; 0.2.0-rc.2 native suites passed
Windows/macOS/Linux Node CIProtocol/package tests only; not proof of desktop login or inference
Older DSH, remote/headless Hosts, Linux DesktopNot currently claimed supported

See compatibility and verification. Do not bypass compatibility contracts or upgrade bundled framework dependencies to force compatibility.

Install from source

No npm publication is required or currently promised.

git clone https://github.com/pyh-pan/dsh-openai-oauth.git
cd dsh-openai-oauth
npm ci
npm test
npm run check
npm run test:package
npm run doctor
npm run dsh -- plugin --profile desktop add -w .

The dsh helper discovers the installed desktop executable and invokes its own bundled CLI; it does not install another Host. Use DSH_APP for a nonstandard installation. See installation for Windows PowerShell and macOS examples.

Only restart DSH after running tasks have finished. A window close may hide the application to the tray; use its normal Quit action.

Use a reviewed archive

For a clean/archive installation only. If the package is already linked to a checkout, keep it linked and use native add -w from the reviewed checkout instead; do not remove then install an archive over the Junction. See the safe linked-update procedure.

npm run pack
npm run dsh -- plugin --profile desktop add ./artifacts/pyh-pan-dsh-openai-oauth-0.3.3.tgz

Do not keep the old private bundle and this bundle enabled simultaneously: they deliberately preserve the same provider/credential identity. See migration.

Sign in and use

  1. Open Settings → Models → ChatGPT subscription.
  2. Click Continue with ChatGPT, then open the official authorization link in your browser.
  3. Name/approve the Agent on OpenAI's page. Finish authentication yourself; never copy tokens from another client.
  4. Read the first-use notice and select Use this account. Signing in alone does not switch your conversation's model.
  5. Select ChatGPT Subscription in the existing model picker. Its Reasoning level submenu shows only choices advertised by that model.
  6. Use Manage usage to review the Agent, quota, limits, and access at ChatGPT Settings → Usage.

Accounts without the granted direct-inference scope remain signed in but disabled for inference. Explicitly enable subscription inference to request consent again. Reauthorization reuses the registration; adding a different account is a separate action.

Limits and security

  • Models, reasoning choices and quota are account/server dependent, not an unlimited or universal model entitlement.
  • Currently advertises text input and client function tools. Direct image/file upload and hosted MCP/tool-search are not implemented.
  • Explicit maxTokens/temperature remain rejected under this provider's conservative SIWC preview contract, not silently ignored; clear them before ordinary chat. DSH's built-in capped summarizer needs the separately reviewed SIWC compaction replacement—updating this provider alone does not change a preset.
  • Subscription failures never switch to an API-key/balance provider.
  • Tokens stay in the native Host credentials service, not browser storage or ordinary plugin settings. Native local storage is not a promise of OS-keychain encryption.
  • Sign-out attempts remote revocation and clears this account's local tokens, retaining its registration. Unconfirmed remote revocation is reported; review access in ChatGPT settings.
  • Read SECURITY.md, protocol design, and third-party notices.

Development

npm ci
npm test
npm run check
npm run test:package
npm run test:native
npm run test:race
npm run test:compaction # optional compaction hook: Desktop 0.2.1-rc.2 only

Pure tests use generated identities and mock upstreams. Native tests use an installed DSH and temporary credentials; they do not read your grant or spend inference quota. Real-account desktop validation is separately documented and always user-controlled.

Source is published directly as ESM; no generated lib/ or vendor snapshot is necessary. See CONTRIBUTING.md.

Update / remove

If both the source and authorization settings disappear after a DSH upgrade, check version compatibility troubleshooting before signing in again. An incompatible bundle is skipped before its code runs.

For a linked checkout, review/pull changes, run checks, then restart DSH safely. For an archive, install the reviewed replacement using the native plugin command. To remove:

npm run dsh -- plugin --profile desktop remove @pyh-pan/dsh-openai-oauth

Removal preserves stored credentials. If you want to disconnect this Agent, sign out or manage access in ChatGPT settings first; do not delete the entire DSH profile.

MIT

Comments

Loading…

Similar plugins

dsh-plugin-chatgpt

by ckanner

Use your ChatGPT subscription as a model provider in DeepSeek Harness (dsh). Sign in with ChatGPT over OAuth — no API key — and the account's own models appear in the model picker.

Models & ProvidersManifest valid

★ 8

↓ 944/wk

MIT

TypeScript

Oct 16, 2026

dsh plugin --profile web add dsh-plugin-chatgpt

by songoao25

ChatGPT Subscription - a DeepSeek Harness plugin: bind your ChatGPT account via official OAuth and chat with ChatGPT models inside DSH, using your Plus/Pro subscription quota

Development & InfrastructureManifest valid

★ 26

↓ 390/wk

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-chatgpt-sub

by songoao25

ChatGPT Subscription - a DeepSeek Harness plugin: bind your ChatGPT account via official OAuth and chat with ChatGPT models inside DSH, using your Plus/Pro subscription quota

Workflow & AutomationDevelopment & InfrastructureModels & ProvidersManifest valid

★ 18

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add dsh-chatgpt-subscription

by solstice621

OpenAI / Codex ChatGPT subscription auth for DeepSeek Harness Desktop, with native account and quota UI.

Manifest valid

★ 0

MIT

JavaScript

Oct 9, 2026

dsh plugin --profile web add dsh-openai-auth

by Starlight-bananice

在 DeepSeek Harness 里用 ChatGPT 账号登录,并把 ChatGPT 方案模型当成普通 provider 使用 / Sign in with ChatGPT inside DeepSeek Harness and use ChatGPT-plan models as a normal provider route

Manifest valid

★ 0

MIT

TypeScript

Oct 4, 2026

dsh plugin --profile web add @bananiceee/dsh-chatgpt-provider

by BaoBao1996121

DSH 插件:ChatGPT 订阅登录、主 Agent 模型选择与直连/Clash 网络设置

Development & InfrastructureTerminal & ClientsModels & ProvidersManifest valid

★ 2

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add dsh-chatgpt-subscription