dsh-oauth-adapter
Manifest valid★ 7An OAuth adapter for DSH
dsh-oauth-adapter
English | 中文
An OAuth account page for the DSH Web profile. It supports:
| Provider | pi-ai sign-in path |
|---|---|
| OpenAI Codex | Browser callback or device code |
| GitHub Copilot | GitHub or GitHub Enterprise device code |
| Anthropic | Browser callback with manual code/redirect fallback |
| Kimi For Coding | Device code |
| OpenRouter | Browser PKCE callback |
| xAI | Device code |
dsh-oauth-adapter>= v0.1.3-rc.0 has been adapted for DSHv0.1.2-rc.1; for earlier versions, please use dsh-oauth-adapter v0.1.2-rc.0.
Install
For DSH~v0.1.2-rc.1
dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
or
npx @deepseek-ai/dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
For DSH0.1.1-rc.2
dsh plugin --profile web add @edge-sky/dsh-oauth-adapter@v0.1.2-rc.0
or
npx @deepseek-ai/dsh plugin --profile web add @edge-sky/dsh-oauth-adapter@v0.1.2-rc.0
Start DSH:
npx @deepseek-ai/dsh web
For models not explicitly listed as supported by the built-in pi-ai, you can add them manually (availability needs to be verified on your own).
How it works
DSH integrates pi-ai through the @deepseek-ai/dsh-llm-pi-ai adapter, but does not provide an OAuth entry point. @edge-sky/dsh-oauth-adapter exposes pi-ai's existing provider login flows through the DSH Authorization Service. Browser links, device codes, text and secret input, method selection, cancellation, and withdrawn prompts all use the same provider-neutral transport.
Because DSH does not currently mount the ctx.authorization service, this plugin also mounts it manually.
The plugin itself does not manage OAuth credentials or maintain login state. Maybe DSH support this sign-in method in the future; but for now, this plugin lets you enjoy it.
If this plugins is has helped you, please give a star for me, or create issues if you have any suggestion~
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.1-rc.3 | — | — |
| 0.1.1-rc.4 | — | — |
| 0.1.1-rc.5 | — | — |
| 0.1.1-rc.6 | — | — |
| 0.1.1-rc.7 | — | — |
| 0.1.1-rc.8 | — | — |
| 0.1.1-rc.9 | — | — |
| 0.1.1-rc.10 | — | — |
| 0.1.1-rc.11 | — | — |
| 0.1.1-rc.12 | — | — |
| 0.1.2-beta.0 | — | — |
| 0.1.2-beta.1 | — | — |
| 0.1.2-rc.0 | — | — |
| 0.1.2-dev.1 | — | — |
| 0.1.2-dev.2 | — | — |
| 0.1.3-rc.0 | — | — |
| 0.1.3-rc.1 | — | — |
| 0.1.3-rc.2 | — | — |
| 0.1.3-beta.3 | — | — |
| 0.1.3-rc.3 | — | — |
Comments
Loading…
Similar plugins
by Uersx
dsh-dashscope-tool-adapter
★ 0
TypeScript
Aug 18, 2026
dsh plugin --profile web add dsh-dashscope-tool-adapterby 12398k
dsh-opencode-go-dashboard
★ 0
MIT
TypeScript
Sep 19, 2026
dsh plugin --profile web add dsh-opencode-go-dashboardby ARFCON
dsh-hub — DSH 插件中枢
★ 3
↓ 11/wk
MIT
JavaScript
Aug 22, 2026
dsh plugin --profile web add dsh-hubby taichuy
DeepSeek Harness auth插件
★ 26
↓ 229/wk
Apache-2.0
TypeScript
Oct 2, 2026
dsh plugin --profile web add deepseek-harness-authDSH-owned subscription login powered by Pi AI adapters: OAuth plus official Plan API keys, with an independent credential store.
★ 1
↓ 164/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-oauth-loginby luodeb
Authentication reverse-proxy gateway plugin for DeepSeek Harness Web
★ 3
↓ 68/wk
BSD-3-Clause
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-web-auth-gateway