huermi/dsh-deepseek-web-adapter
免费的DeepSeek网页版(chat.deepseek.com)LLM服务提供方,用于DeepSeek Harness——无需API密钥。自动启动网关,支持工具调用和连续对话。
Project Overview项目介绍
This is a native DSH plugin that lets DSH use DeepSeek's public web version as a free, no-cost, no-API-key LLM provider. Once installed via the DSH plugin management command, it automatically spins up a local gateway locally running in a persistent Chrome browser instance. The gateway exposes an OpenAI-compatible API that supports all core DSH features including continuous conversations, tool calling, model switching, and concurrent sub-agent calls. Users only need a personal DeepSeek account, no separate official API key registration is required to start using the service.
After installation, users edit DSH's settings.yaml file to add the DeepSeek web provider configuration, then navigate to the local gateway address to log into their DeepSeek account. It is recommended to check the "remember me" option to keep the login session persistent across restarts of DSH or the local gateway. Once logged in, users can select any of the three available DeepSeek models (fast chat, expert reasoning, vision) directly from DSH's built-in model selector. This plugin is ideal for users who want to use DeepSeek's latest models in DSH without applying for an official API key or paying for API usage.
This plugin is currently in developer preview, and has not been tested at scale in production real-world environments. It requires a local installation of the Chrome browser, and some features including multi-turn tool loops, disconnected session recovery, and headless mode are not fully validated yet. Because it relies on CSS selectors for DeepSeek's web UI, any frontend changes to DeepSeek's website may break the plugin until maintainers release an updated driver. It is released under the open MIT license, so anyone can fork, modify, and contribute to the project freely without prior authorization.
这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,作用是将 DeepSeek 网页版转换为 DSH 免 API Key 的大模型提供方。插件加载后会自动拉起本地常驻浏览器网关,提供兼容 OpenAI 的 API,支持连续对话、工具调用、模型切换和子代理并发,仅需一条 dsh plugin add 命令即可完成安装,无需额外申请 API Key,只需登录个人 DeepSeek 账号即可使用。
安装完成后,用户只需编辑 DSH 的配置文件,添加 DeepSeek 网页版的模型配置信息,再打开本地网关地址手动登录 DeepSeek 账号,勾选保持登录选项以持久化会话,之后就能在 DSH 的模型选择器中直接选择 DeepSeek 网页版的快速、专家、识图三种模型开始使用。适合不想申请或无法申请 DeepSeek API Key,又想在 DSH 中体验 DeepSeek 大模型能力的用户。
本插件目前处于开发者预览阶段,未经大规模真实环境测试,部分功能如多轮工具循环、长对话迁移、断线恢复等尚未充分验证。它依赖本地安装的 Chrome 浏览器,DeepSeek 网页版改版可能会导致选择器失效,项目采用 MIT 许可证开放,允许任何人自由修改、分发和二次开发。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-deepseek-web-adapter(huermi/dsh-deepseek-web-adapter)
仓库:https://github.com/huermi/dsh-deepseek-web-adapter
本站详情页:https://www.yhbd.top/plugins/huermi-dsh-deepseek-web-adapter/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 12 · 最近提交 2026-08-15 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 12 stars - an early-stage project星标 12,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-deepseek-web-adapter
把 huermi/dsh-deepseek-web-adapter 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-deepseek-web-adapter
English: README.en.md
⚠️ Developer Preview(开发者预览):本插件由个人开发者发布,未经大规模真实环境测试。 已验证:登录、基本问答、专家模式切换、单次工具调用、网关自动拉起/回收。 未充分验证:多轮工具循环、长对话迁移、子 agent 并发、无头模式、识图模式、断线恢复。 使用前请阅读下方已知限制。遇到问题欢迎提交 Issues。
把 DeepSeek 网页版(chat.deepseek.com) 变成 DSH 的免 API Key 模型提供方。
插件加载后自动拉起本地网关(resources/dsweb-gateway.js + driver.js,单一常驻浏览器),
提供 OpenAI 兼容 API。支持:连续对话、工具调用、模型校准、子 agent 并发。
- 无需 API Key、无需登录第三方平台(只需登录你自己的 DeepSeek 账号)
dsh plugin add一条命令,网关自动启动/停止
已知限制
| 限制 | 说明 |
|---|---|
| 开发中(Beta) | 未经大规模真实环境验证,可能有不稳定行为 |
| 无 client 卡片 UI | 本包只有 host(自动拉起网关)。没有登录按钮/校准/无头开关等卡片控件——登录请手动打开 http://127.0.0.1:5688/login,配置用 curl 调 /config(见手动控制)。卡片 UI 在开发仓库(dsweb-plugin/client-llm.js),欢迎贡献 |
| 依赖真实浏览器 | 需要本机安装 Chrome;登录态是内存 cookie,关闭窗口需重新登录 |
| 依赖 DeepSeek 网页版 UI | 网页版改版可能导致选择器失效(校准/发送/提取),届时需更新 driver.js |
| 解析器有兜底但非万能 | 54 场景回归覆盖常见格式;模型输出极端怪异格式时工具调用仍可能失败 |
安装
dsh plugin --profile web add dsh-deepseek-web-adapter
# 或从 GitHub(发布后):
dsh plugin --profile web add github:你的用户名/dsh-deepseek-web-adapter
插件加载后,网关自动启动(3-8 秒,日志见 DSH 终端:DeepSeek 网页版网关已监听 5688)。
配置 DSH 模型提供方
编辑 ~/.dsh/settings.yaml,在 llm-pi-ai.providers: { ... } 内加入:
dsweb:
{
displayName: DeepSeek 网页版 (免 API),
apiKeyEnv: MOCK_LLM_KEY,
api: openai-completions,
baseURL: http://127.0.0.1:5688/v1/,
models:
[
{ id: deepseek-chat, name: DeepSeek 快速 },
{ id: deepseek-reasoner, name: DeepSeek 专家 },
{ id: deepseek-vision, name: DeepSeek 识图 }
]
}
并在 ~/.dsh/.credentials.yaml 加:MOCK_LLM_KEY: sk-mock-any-value(任意值,网关不校验)。
DSH 配置热加载——模型选择器立即出现 DeepSeek 网页版。
登录
浏览器打开 http://127.0.0.1:5688/login → 登录 chat.deepseek.com
(若有"保持登录/记住我"务必勾上——会话持久,关窗口/重启不丢)。
使用
DSH 模型选择器选 DeepSeek 网页版(快速/专家/识图)直接使用。
| 能力 | 说明 |
|---|---|
| 连续对话 | 网页版历史保持,超长度限制(默认 50 条,可调)自动迁移+摘要 |
| 工具调用 | 模型输出 tool_call 代码块 → 网关解析(54 场景容错)→ DSH 执行 |
| 模型校准 | deepseek-reasoner → 专家模式(校准数据内置,可重录) |
| 子 agent 并发 | 并发请求用独立页面(多窗口并行) |
手动控制
# 查看网关日志 / 状态
curl http://127.0.0.1:5688/v1/models
# 重启网关(卸载插件即停止网关;重新启用即自动拉起)
dsh plugin --profile web remove dsh-deepseek-web-adapter && dsh plugin --profile web add dsh-deepseek-web-adapter
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
passingby000/dsh-nl-model-switch
Ayuilos/Miffan
HOWILLMAKEIT/dsh-model-context-catalog
HiWhaleW/dsh-toolbox
cloveric/tarocub