dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
通过官方 Sign in with ChatGPT 授权在 DeepSeek Harness Desktop 使用 ChatGPT 订阅,支持动态 Agent 注册及原生模型和推理强度选择。
Use your ChatGPT subscription in DeepSeek Harness Desktop through official Sign in with ChatGPT (SIWC).
English | 简体中文
Independent community plugin; not affiliated with OpenAI or DeepSeek. This is not the legacy fixed-client Codex OAuth/backend-api integration.
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.
| Environment | Status |
|---|---|
| Windows Desktop 0.2.1-rc.2 | Native 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.1 | Native and real desktop validation pending for these releases; 0.2.0-rc.2 native suites passed |
| Windows/macOS/Linux Node CI | Protocol/package tests only; not proof of desktop login or inference |
| Older DSH, remote/headless Hosts, Linux Desktop | Not currently claimed supported |
See compatibility and verification. Do not bypass compatibility contracts or upgrade bundled framework dependencies to force compatibility.
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.
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.6.tgz
Do not keep the old private bundle and this bundle enabled simultaneously: they deliberately preserve the same provider/credential identity. See migration.
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.
maxTokens/temperature remain rejected under this provider's conservative SIWC preview contract, not silently ignored; clear them before ordinary chat. On Desktop 0.2.1-rc.2, 0.3.6 integrates SIWC compaction and per-session coverage safety into the same provider bundle for standard/cordis/ptc/minimal, in memory without writing user presets. No separate local compatibility bundle is needed. Other runtime versions and custom compositions do not automatically acquire this validation.npm ci
npm test
npm run check
npm run test:package
npm run test:native
npm run test:race
npm run test:compaction # Desktop 0.2.1-rc.2 hook
npm run test:presets # real main entry + all supported preset realms
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.
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.