rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:pyh-pan/dsh-openai-oauth
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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.
Minimum Desktop requirement: >=0.2.0-rc.2. Development/install helpers require Node.js 24+. Historical native baselines are 0.2.1-rc.2, 0.2.1-rc.1 and 0.2.0-rc.2; current platform evidence is recorded below.
New release labels do not require an allowlist entry or a startup test subprocess. Loading uses the minimum floor; actual Interfaces, owner authentication and session protection decide capability. Unknown metadata and different component version strings alone do not disable a working Host. A broad loading range is not certification of every future release. 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 |
| macOS Desktop 0.2.1-rc.3 | 0.3.7 source/settings/coverage UI confirmed; 0.3.8 real interaction failed; 0.3.9 native checks pass, real-account acceptance pending |
| 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.9.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.
Model/effort selection can use previously verified, account-scoped metadata. This disk cache never supplies authorization, context capacity or attachment capabilities. Actual preparation and native pressure compaction obtain credential-bound runtime capabilities; unknown facts still fail closed. Refresh status is read-only; Update model catalog uses the network and renews only when needed; Renew authorization is explicit maintenance, never an unattended install test.
The macOS direct connector uses only a recognized existing DNS policy, native proxy routing and strict original-host TLS; unknown/proxy/hosts-override routes and Windows remain with Host fetch. No global network settings are changed. Advanced native plugin configuration may select requestPolicy.transport: host to retain Host transport.
Unconfirmed rotating-token outcomes are durably fenced, not automatically retried by the next caller. Verified grants and operation fences use credential payload schema v2: an old reader refuses them rather than ignoring their safety state. Do not hand-edit records or downgrade them to v1. An account affected by a previous unconfirmed renewal should be officially reauthorized first. See the diagnosis, pi comparison, verification and rollout boundaries.
maxTokens/temperature remain rejected under this provider's conservative SIWC preview contract, not silently ignored; clear them before ordinary chat. The same provider bundle integrates SIWC compaction and per-session coverage safety for compatible standard/cordis/ptc/minimal declarations, in memory without writing user presets. No separate local compatibility bundle is needed. From 0.3.7 integration follows actual Host capabilities, not an exact release. Missing/pending protection blocks session requests without removing account settings; custom/uncovered compositions are not silently approved.npm ci
npm test
npm run check
npm run test:package
npm run test:native
npm run test:race
npm run test:compaction # installed native compaction contracts
npm run test:presets # real main entry + all supported preset realms
Run these suites explicitly during development/release review; production startup and installation never spawn them just because a Host version changed. 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.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: openai、deepseek-harness。