Provides an OAuth account page for DSH Web, currently supporting OpenAI Codex, GitHub Copilot, Anthropic, Kimi For Coding, OpenRouter, and xAI.
Install
# from npm (prebuilt)
dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:edge-sky/dsh-oauth-adapter
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
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 |
The current plugin declares DSH peer compatibility as >=0.2.0-rc.2, with no upper version limit. Development dependencies remain pinned to 0.2.0-rc.2 to verify the minimum supported version.
Install
For DSH >=0.2.0-rc.2:
dsh plugin --profile web add @edge-sky/dsh-oauth-adapter
Or for the official desktop, use @edge-sky/dsh-oauth-adapter
For DSH 0.1.2-rc.1 through 0.1.5-rc.1, use an adapter release from the 0.1.3 series. For DSH 0.1.1-rc.2, use @edge-sky/dsh-oauth-adapter@0.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.
The profile patch mounts an authorization fallback when the host does not provide ctx.authorization.
DSH owns OAuth credentials and login state. This adapter stores model configuration in dsh-oauth-adapter.modelStore; see model migration and recovery.
If this plugins is has helped you, please give a star for me, or create issues if you have any suggestion~
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 89228
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 2083
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 1023
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 644
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 631
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 631
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.