- Главная
- Плагины
- Модели и провайдеры
- dsh-oauth-adapter
dsh-oauth-adapter
edge-sky/dsh-oauth-adapter
Предоставляет страницу аккаунта OAuth для DSH Web, в настоящее время поддерживает OpenAI Codex, GitHub Copilot, Anthropic, Kimi For Coding, OpenRouter и xAI.
Установка
dsh plugin --profile web add github:edge-sky/dsh-oauth-adapterREADME
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 |
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~
Похожие плагины
dsh-our-free-model
ebony-vinyl/dsh-our-free-model
dsh-routing-suite
yjh051108/dsh-routing-suite
dsh-workbuddy-connect
corrinehu/dsh-workbuddy-connect
dsh-connect-workbuddy
dingminhua/dsh-connect-workbuddy