DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-oauth-login

d

dsh-oauth-login

Manifest valid★ 1

DSH-owned subscription login powered by Pi AI adapters: OAuth plus official Plan API keys, with an independent credential store.

UI (client)hasBundlePatch

dsh-oauth-login

中文 | English

dsh plugin --profile web add github:aa2246740/dsh-oauth-login

PATH 上需要官方 dsh(没有的话用 npx @deepseek-ai/dsh)和 pnpm。装完重启这个 Host,刷新页面。dsh plugin add 只写 profile,不会热挂正在跑的 Host。

把 ChatGPT、Claude、Grok、Copilot、OpenRouter、Kimi 的 OAuth 登录和智谱 GLM Coding Plan 接到 DeepSeek Harness。凭据只写 $DSH_HOME/.dsh-oauth-auth.json。

厂商公开 OAuth 就按其流程登录。智谱用官方 Coding Plan API Key。官方 codex login、Claude Code、grok CLI、Pi Agent 的 ~/.pi/agent/auth.json,这里不读也不写。

入口在 设置 → 订阅登录。

设置里的厂商列表

Copilot 等待授权

Copilot 正在等授权码

混合登录状态

CLI status 读的是 DSH 这份 store

安装

需要 Node 22.19+,以及能跑起来的官方 DeepSeek Harness 0.1.7-rc.1(@deepseek-ai/dsh@0.1.7-rc.1,tag dsh-v0.1.7-rc.1)。

这条 github: 命令能装上,是因为包装了 dsh.bundle.patch,并且仓库提交了编好的 lib/。官方 dsh plugin add 在 $DSH_HOME/profiles/web 里跑 pnpm,再把这个包装进 dsh.profile.bundles。不需要 Creator Mode,也不需要另装一套工具。

没有 dsh 时:

npx @deepseek-ai/dsh plugin --profile web add github:aa2246740/dsh-oauth-login

本机改源码时再用 file:(不要写成裸的 ./):

git clone https://github.com/aa2246740/dsh-oauth-login.git
dsh plugin --profile web add file:./dsh-oauth-login

file: 前缀必须留着。写成 ./dsh-oauth-login 会被装成符号链接,peer 依赖解析不到。

打开 设置 → 订阅登录。对话里选 pi-… 路由。

dsh plugin --profile web exec dsh-oauth-login login openai-codex
dsh plugin --profile web exec dsh-oauth-login login xai
dsh plugin --profile web exec dsh-oauth-login login zai-coding-cn
dsh plugin --profile web exec dsh-oauth-login status

status 不打印 token。旧版 .pi-login-auth.json 只在下次写入时迁到新文件名。

支持哪些登录

设置页Harness 路由Pi provider凭据方式
ChatGPT Codexpi-openai-codexopenai-codexOAuth
Claude Pro/Maxpi-anthropicanthropicOAuth
xAI Grokpi-xaixaiOAuth
GitHub Copilotpi-github-copilotgithub-copilotOAuth
OpenRouterpi-openrouteropenrouterOAuth
Kimi For Codingpi-kimi-codingkimi-codingOAuth
智谱 GLM Coding Planpi-zai-coding-cnzai-coding-cnPlan API Key

Radius 没做。

OpenRouter 登录成功后拉官方模型目录,已登录时大约每 15 分钟同步一次。模型菜单可以筛「仅免费」。目录缓存在 $DSH_HOME/.dsh-oauth-openrouter-models.json,不含凭据。细节见 OpenRouter 模型同步。

智谱点「连接套餐」会打开官方 Coding Plan 个人页,把 Key 贴回本机 DSH。接口是 https://open.bigmodel.cn/api/coding/paas/v4。插件不读 BigModel Cookie。从 0.2.1 起同时提供 glm-5.3 和 glm-5.3-flash。

不要把这份登录文件、API Key、回调 URL、授权码或 token 贴到公开 Issue。私下报告见 SECURITY.md。

厂商自己的搜索和出图

这些路由上,插件会拿掉 DSH 的 web_search / web_fetch,改挂厂商自己的工具:

路由Hosted tools
pi-xaiweb_search、x_search、image_generation
pi-openai-codexweb_search、image_generation
pi-anthropicweb_search_20250305

Copilot、OpenRouter、Kimi、智谱不挂 hosted tool。要继续用 DSH 自己的搜索:

- id: llm-oauth-login
  name: dsh-oauth-login
  config:
    nativeTools: false

nativeImage: false 只留搜索,去掉出图。

Chat 失败重试走官方 dsh-llm-retry。429 不等于额度耗尽。设置 → 订阅登录 → 网络代理只影响本插件。

许可

Apache-2.0。见 LICENSE。

Compatibility

DSH 0.2.2-alpha.2: failedDSH 0.2.1-alpha.5: failedDSH 0.1.5-rc.2: failed

Versions

Latest versionPublishedSize
0.2.7——
0.2.8——
0.2.5——
0.2.4——

Comments

Loading…

Similar plugins

dsh-vendor-login

by MochiNek0

Sign in to AI coding plans that have no API key — Claude Pro/Max/Team, ChatGPT Plus/Pro, Copilot, SuperGrok — from the dsh settings UI.

Manifest valid

★ 0

↓ 276/wk

MIT

TypeScript

Oct 27, 2026

dsh plugin --profile web add dsh-vendor-login

by dingyiliao

Provider-card OAuth controls and fallback commands for DeepSeek Harness pi-ai

Terminal & ClientsManifest valid

★ 0

MIT

TypeScript

Nov 3, 2026

dsh plugin --profile web add @dingyiliao/dsh-pi-ai-auth

by snail-vs

OAuth login plugin for DeepSeek Harness (DSH), enabling subscription LLM accounts such as ChatGPT Plus/Pro to work without API keys.

Manifest valid

★ 0

MIT

TypeScript

Aug 22, 2026

dsh plugin --profile web add dsh-llm-oauth

by kangshifu1

DSH multi-tenant auth plugin: PostgreSQL-backed accounts, admin management, per-user workspace isolation. #dsh-plugin

Manifest valid

★ 0

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-accounts

by callqh

Sign in to OpenAI Codex from DeepSeek Harness with a ChatGPT Plus/Pro subscription, by driving the authorization flow llm-pi-ai already registers.

Terminal & ClientsModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-codex-oauth

by Eve-146T

dsh plugin for openai codex subscriptions that can pool multiple accounts.

Terminal & ClientsModels & ProvidersManifest valid

★ 3

GPL-3.0

JavaScript

Sep 5, 2026

dsh plugin --profile web add dsh-openai-codex-auth