dsh-SIWC
其他 活跃维护

dsh-SIWC

f4ah6o/dsh-SIWC

提供基于 OAuth 的 ChatGPT 登录接入方案,无需额外注册,用户授权即可完成身份验证。集成步骤清晰,开发者可快速嵌入现有服务,兼顾安全与便捷。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
1
Open Issues
TypeScript
主要语言
None
开源协议
517 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:f4ah6o/dsh-SIWC
git clone https://github.com/f4ah6o/dsh-SIWC.git
git clone git@github.com:f4ah6o/dsh-SIWC.git
README.md main

dsh-SIWC

Sign in with ChatGPT on deepseek harness

The current package is @f12o/dsh-siwc@0.1.0-alpha.5, published on npm under the alpha dist-tag, with source and setup guidance in packages/chatgpt. The preserved v5 artifact under the former identity @f4ah6o/dsh-chatgpt@0.1.0 is historical only. This repository has no build-time dependency on a sibling DeepSeek Harness checkout.

The package declares compatibility with the DSH 0.2.0-rc.2, 0.2.1-alpha.1 through 0.2.1-alpha.4, and 0.2.1-rc.2 API lines and their corresponding Cordis runtimes. Its build uses the published Typert generator with the narrow pinned patch in patches; the package tests check the generated Host Remote contract and OAuth lifecycle, while pnpm run build also builds the lazy Client entry point.

Run pnpm install, pnpm run build, and pnpm test from this directory. Profile requirements, account setup, headless browser sign-in, and model configuration are in the package README. Release operators can follow the npm publishing guide.

Install from npm

Install the published prerelease into an initialized Desktop profile with Desktop's managed dsh command (fully quit Desktop first):

dsh plugin --profile desktop add @f12o/dsh-siwc@0.1.0-alpha.5

The published 0.1.0-alpha.4 does not accept DSH 0.2.1-rc.2 in its compatibility range, so use 0.1.0-alpha.5 for the current DSH line. Use Desktop's bundled CLI or Plugin Manager, not an npm-installed dsh command. If the profile has the former package installed, fully quit Desktop and remove it before installing the renamed package:

dsh plugin --profile desktop remove @f4ah6o/dsh-chatgpt

Do not keep both package names in one profile. The historical v5 artifact is @f4ah6o/dsh-chatgpt@0.1.0, SHA-256 66ed59d58fe7d241d2cfcfc777939a7a3d7d49710cdce4cbecc9dcee8ffeeb2d; it is an ignored, untracked workspace file. The prior prepublication 0.1.0 candidate is @f12o/dsh-siwc@0.1.0, SHA-256 15c16502dc658f752c5551b116d98dae286f32c69de3cc9e4d54a279ef1c4110; its official and fork consumer matrix passed for that exact tarball. The published 0.1.0-alpha.5 artifact is @f12o/dsh-siwc@0.1.0-alpha.5, registry SHA-256 9ca8b408d0336423aa02f25a1bdf8df39e67678d6b0dbc7bc153d2152dba3c55, SHA-1 f16d3aa8adae1e67183fbbb26d0a4f99b5fce1e2, integrity sha512-hlmoJgvXyIKMS+Bmp0eNY/63/RPjJ1xvrt5nIHJz6Z6ltsaB3UdCpm3QABPnO4CJzfYqxcVNezydGBO0w7y3RA==; it was built and published with provenance by workflow run 39027790810. The local candidate tarball is dist/f12o-dsh-siwc-0.1.0-alpha.5.tgz, SHA-256 7425bc6ed094e2c9e560b9d9700bb204271f7e37fd2a126bfa9c2df08ea10039; it is an ignored, untracked workspace file. Both the local candidate and the registry artifact passed the build, typecheck, and 75-test suite, the auxiliary wire probe against published DSH 0.2.1-rc.2 packages, and an installed Web smoke on the current 0.2.1-rc.2 runtime, where the Host Remote loaded and the ChatGPT settings section rendered the empty-account state. No live ChatGPT inference was performed for this release. The earlier @f12o/dsh-siwc@0.1.0-alpha.1 tarball, SHA-256 3c5f83e28a590c804245d05791b5cbead7fbbcc400649ed861bf775c02524a02, remains historical. The alpha artifact comparison records that the alpha.1 and 0.1.0 tarballs differ in the three package READMEs, the version-only manifest change, and generated CSS-map property ordering in lib/client.js; the CSS maps have the same key/value pairs. Desktop acceptance remains pending. A Windows Desktop attempt with official DSH 0.2.0-rc.2 failed after plugin installation because ctx.connection was missing when Desktop read authenticatedUrl; the underlying composition cause is unresolved. See the verification report and installed-Desktop checklist.

Validation artifacts