dsh-deepseek-web-free

modeltested: passnpmMIT

Registers a `deepseek-web` provider that drives your own signed-in chat.deepseek.com account as an extra model in DSH, and also embeds the DeepSeek web app inside the DSH window: a right-sidebar tab, plus a draggable and resizable whale floating window whose position and size are remembered across r

下载量 / Downloads
930
依赖体积 / node_modules
16.82 MB
测试时间 / Tested
2026-11-07
DSH 版本 / Version
0.2.2-rc.1

Install

dsh plugin --profile web add dsh-deepseek-web-free

Sandbox test results

StageResult
1 install✓
2 list✓
3 mount✓
4 boot—

Four stages run in an isolated sandbox: install (network on) → list → mount → boot (last three with no network).

README

<div align="center">

dsh-deepseek-web-free

把 DeepSeek 网页端接入 DeepSeek Harness,并在对话界面内嵌网页面板 —— y-wi/dsh-deepseek-web 的 fork

English · 安装 · npm · CHANGELOG

![npm](https://www.npmjs.com/package/dsh-deepseek-web-free)

![license](https://github.com/loyalchiiina/dsh-deepseek-web-free/blob/main/LICENSE)

![node](https://nodejs.org)

开源 TypeScript 集成层 · 预编译 WASM 协议核心

<h3>

请严格遵循相关使用政策,禁止将此项目用于反代等破坏系统正常运行的行为,仅限个人学习使用

</h3>

</div>

非官方 Provider。本仓库开放 Harness 集成层与传输层;协议兼容由随包分发的预编译 WebAssembly 提供。

本项目与 DeepSeek 无隶属或背书关系。使用你自己的 DeepSeek 账号。插件不会绕过 CAPTCHA、WAF 或账号访问控制;交互式验证在隔离浏览器窗口中完成。

[!WARNING]
免责声明(务必先读)
本插件只是为了让你在 DSH 里直接用 DeepSeek 网页端更方便:它复用你自己的 DeepSeek 网页账号登录态来过模型请求,也可以把网页面板嵌进 DSH 侧栏 / 悬浮球里直接对话。它不加速、不绕过任何风控,也不承诺长期可用。
使用网页端能力可能存在账号风险(包括但不限于:被限流、被临时或永久封禁、会话异常、页面行为变化导致功能失效)。由此产生的任何后果由使用者自行承担,本项目与作者不承担任何责任,也不提供任何形式的担保。请自行评估风险后再决定是否登录使用。
本项目与 DeepSeek 无隶属或背书关系,请遵守 DeepSeek 的服务条款与使用政策。

关于本 fork

本包是 y-wi/dsh-deepseek-web 的 fork。上游包名 dsh-deepseek-web 已被原作者占用,无法同名发布,故本 fork 的 npm 包名改为 dsh-deepseek-web-free。

装包请认准名字 dsh-deepseek-web-free。 装成 dsh-deepseek-web 拿到的就是上游原版,不含下面这些修复。

相对上游(基线 1.0.3)的改动,逐条见 CHANGELOG.md:

改动 · 说明

适配 DSH 0.2.1-alpha.2 · @deepseek-ai/dsh-settings 移除了 installSettingsSection / settingsNamespace 导出(ESM 具名导入缺名 = 链接期 SyntaxError)→ 改用 ctx.settings.configure(),配置字段标 .volatile()

客户端图标换名 · IconOutline14/16 已废除 → IconOutlineRegular / *OutlineMedium(否则 React error #130,槽位渲染崩)

peerDependencies 改范围写法 · 精确钉版会被 DSH 插件兼容性门禁静默拒绝装载且零日志

不再吞掉上游错误 · 服务端 SSE hint 带 type:"error"(如 finish_reason:"backend_err")时,原来返回空消息并当作成功,毒化历史、下一轮报 invalid message id;现在直接抛出可见错误

修会话列表空 · 改名后遗留 pathname.slice(34) 硬编码 —— 34 是旧前缀长度,新前缀长 39,切出 "sions" 导致所有 sessions 请求 404

保持不变的部分(有意为之,勿改):provider id 仍是 deepseek-web;浏览器 profile 目录仍用旧名 browser-profiles/dsh-deepseek-web、缓存目录仍用 cache/dsh-deepseek-web/browser —— 改名会导致已登录用户丢失登录态。

安装

需要 DeepSeek Harness 0.1.0-rc.7(或兼容版本),Node ^22.19.0 || >=24.0.0。

dsh plugin --profile web add dsh-deepseek-web-free
dsh plugin --profile web peers check
dsh web

然后到 设置 → DeepSeek Web → Sign in with DeepSeek。确认 Provider deepseek-web 出现,模型 default / expert 可见。

DSH / Cordis / React 由运行时 $DSH_HOME/profiles/node_modules 提供,不会在插件目录再装一份。

<details>

<summary>TUI、CLI 与更新</summary>

TUI 侧由 ./tui 导出提供(lib/tui.js,注册 deepSeekWebTui 服务与 deepseek-web 命令树):

dsh plugin --profile dsh-tui add dsh-deepseek-web-free
dsh-tui

本包带 CLI 可执行入口 dsh-deepseek-web-free → lib/bin.js(package.json 的 bin 字段):

dsh plugin --profile web exec dsh-deepseek-web-free status
dsh plugin --profile web exec dsh-deepseek-web-free login
dsh plugin --profile web exec dsh-deepseek-web-free doctor

升级:

dsh plugin --profile web update dsh-deepseek-web-free

无界面回退(login --token-stdin):从 stdin 读一行 token,调上游 currentUser() 校验,只打印脱敏后的账号哈希前缀与「把 token 存进 DSH 凭证的哪个键名」,不落盘、不写凭证。它不能替代浏览器登录:

dsh plugin --profile web exec dsh-deepseek-web-free login --token-stdin
直接执行 lib/bin.js(不经 dsh)时,status / doctor / login / logout / browser 只会打印提示,让你改用 dsh plugin ... exec —— 因为凭证解析和浏览器 profile 都要靠 DSH 运行时。无参数则打印 usage。

</details>

<details>

<summary>包导出(供其他插件/宿主引用)</summary>

package.json 的 exports 共六项:

子路径 · 目标 · 用途

. · lib/index.js · 插件主体(宿主侧)

./client · lib/client.js · 客户端 __ModuleLoader__.load bundle

./tui · lib/tui.js · TUI profile 侧

./invariant · lib/invariant.js · 向 ctx.invariants 注册包名不变量

./cordis.patch.yml · cordis.patch.yml · 装载补丁

./package.json · package.json · 元数据

</details>

能力

(截图资源只在 GitHub 仓库中提供,npm 包内不含。)

网页面板(1.0.12 起): 除了「把网页端当模型」,插件还能把 chat.deepseek.com 直接嵌进 DSH 界面——右侧栏标签页,或一颗可拖动、可拉伸的鲸鱼悬浮球窗口(位置与尺寸跨重启记忆、拖球时窗口跟随)。登录只需一次:设置页登录与面板内登录双向同步,退出也一样同步,重启后无需重登。详见下文「网页面板」一节。

<table>

<tr>

<td>

<img src="docs/assets/showcase-panel.png" alt="网页面板嵌在 DSH 右侧栏,与对话左右并列" width="430">

<p><b>网页面板(侧边栏)。</b> 在 DSH 右侧栏直接打开真实的 <code>chat.deepseek.com</code>,与对话左右并列、互不遮挡;也可切换成悬浮球。</p>

</td>

</tr>

<tr>

<td>

<img src="docs/assets/showcase-panel-chat.png" alt="在面板内对话并搜索切换模型" width="720">

<p><b>面板内对话 + 换模型。</b> 在面板里直接与 DeepSeek 对话,还能搜索并切换模型 / 分组。底部保留网页端原生的「深度思考」「智能搜索」开关。</p>

</td>

</tr>

<tr>

<td>

<img src="docs/assets/showcase-panel-toggle.png" alt="网页面板位置:悬浮球或侧边栏" width="582">

<p><b>位置切换。</b> 悬浮球(可拖动、可拉伸的鲸鱼窗口)/ 侧边栏,一键切换。</p>

</td>

</tr>

<tr>

<td>

<img src="docs/assets/showcase-panel-settings.png" alt="DeepSeek Web 设置页:登录、诊断、网页面板" width="470">

<p><b>设置页。</b> 隔离浏览器登录(一次登录长期有效)、诊断、启用网页面板、选择位置、立即打开。</p>

</td>

</tr>

</table>

能力 · 说明

DSH 原生工具 · 将 DeepSeek 网页端接入 Harness;插件把模型输出转成工具请求。FS / Shell / MCP / 审批由 Harness 执行

网页搜索 · 始终开启官方网页端 Web Search;Expert 不能搜;不是 DSH web_search

预构建 WASM · 安装无需 Rust / wasm-pack;token 与 cookie 不进入 WASM

网页面板 · 在 DSH 界面内以侧边栏 tab 或鲸鱼悬浮球直接打开 chat.deepseek.com;登录态由 Host 侧凭据自动注入,免二次登录

图片输入 · 直接在 DSH 发图,插件读取图片经网页端 upload_file 上传、fetch_files 轮询就绪,随消息以 ref_file_ids 发送,由 DeepSeek 完成识图并回传;支持 PNG / JPEG / WebP / GIF,单张上限 5 MB

详见 docs/remote-sessions.md。

网页面板(侧边栏

…(truncated)

Rendered from the README published on npm. Formatted only, not edited.

Versions

Published on npm::8,最后更新 2026-11-05

Links

GitHub · Homepage · npm

Same category