Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
模型与提供方 #deepseek-harness#dsh#dsh-plugin

dsh-provider-login

Sign in to DeepSeek Harness model providers with a subscription: drives the OAuth flows the harness registers but never exposes.

shaneconner @shaneconner ⬇ 1 ★ 0 main

安装

dsh plugin --profile web add github:shaneconner/dsh-provider-login
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

Sign in to DeepSeek Harness model providers with a subscription: drives the OAuth flows the harness registers but never exposes.

该插件未提供要点说明,请参考仓库 README。

deepseek-harnessdshdsh-plugin
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/shaneconner/dsh-provider-login
许可证MIT
主要语言main
下载量1
GitHub 星标0
最近推送2026-08-30
收录日期2026-09-19
分类模型与提供方

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-provider-login

Sign in to [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) **model providers** with a subscription you already pay for, rather than an API key.

## Install

```sh
dsh plugin --profile web add dsh-provider-login
```

Restart `dsh`. Then, in a session:

```
/login                  what you can sign in to, and what you already have
/login openai-codex     sign in with a ChatGPT Plus or Pro subscription
/login anthropic        sign in with a Claude Pro or Max subscription
/logout openai-codex    forget a stored credential
```

A browser page opens, you approve there, and the session finishes on its own. The credential is written to the harness credential file and refreshes itself from then on.

Not to be confused with [`dsh-login`](https://www.npmjs.com/package/dsh-login), which is an unrelated package by another author that puts a password gate on the dsh web port. This one signs you in to the models.

## Why this exists

The harness already knows how to do all of this. `@deepseek-ai/dsh-llm-pi-ai` registers an authorization flow for every provider its catalogue can log in to, six of which offer OAuth, including "Anthropic (Claude Pro/Max)" and "OpenAI (ChatGPT Plus/Pro)". The flows are complete: PKCE, a loopback callback, token storage through the harness credential store, and automatic refresh.

Two things kept them out of reach.

The registration is gated behind `ctx.inject(['authorization'], ...)`, and no shipped bundle mounts `@deepseek-ai/dsh-authorization`. The package exists and is published; nothing provides it. So the flows are registered against a service that is never there.

And nothing anywhere calls `ctx.authorization.begin()`. There is no CLI command and no panel in the web client. Even with the registry mounted, a flow has no surface to be driven from.

The result is working OAuth that cannot be reached, and an `apiKeyEnv` that a subscription has no key for. This plugin supplies both halves: its patch mounts the registry, and it registers the two commands that drive it.

## What it does and does not do

It plays the browser half of the flow. Each flow races a loopback callback against a pasted authorization code; this surface opens the page and leaves the code prompt unanswered rather than declining it, because declining would settle the race against the half that works here. If nothing can open a browser, the error carries the URL so you can open it yourself.

It lists only providers that offer OAuth. A provider that authenticates with an API key is configured through `apiKeyEnv` and the credential file, which is the harness's own path and needs no command.

## A note on Anthropic billing

`/login anthropic` uses the harness's own Anthropic OAuth. Per Pi's documentation of the same library, third-party harness usage through that route **draws from extra usage and is billed per token, not against Claude plan limits**. If you want usage to land on a Pro or Max plan instead, that needs a different mechanism: a provider that drives the Claude Code CLI through the Agent SDK, the way `pi-claude-bridge` does for Pi.

## License

MIT

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。