dsh-deepseek-web-free
loyalchiiina/dsh-deepseek-web-free
把你已登录的 chat.deepseek.com 账号当作额外模型接入 DSH:注册 `deepseek-web` provider,无需 Open Platform API key;侧边栏底部列出你的网页端会话,「Fork to Workspace」会开一个独立的 Harness 会话、不回写原对话,`default` 模型保持网页端原生搜索,`/clean` 是只发送人类文本的会话开关。本包是 y-wi/dsh-deepseek-web 的 fork,已适配 DSH 0.2.1-alpha.2:放宽 peer 范围以免被兼容性门禁整包拒绝、用 `ctx.settings.configure()` 与配置字段 `.volatile()` 替代被移除的 settings API、更新已改名的客户端图标、并让上游 SSE 错误直接报错(不再返回空消息污染会话历史)。此外还修掉了改名为 `-free` 后遗留的两处问题:会话列表路由原先按旧包名继承下来的硬编码长度切分路径,导致登录正常但每个会话请求都返回 404;侧边栏会话浮层原先用宿主的半透明菜单色,而该色只有配合磨砂背景才像菜单、挂到 body 上的面板无法安装磨砂,现已改用不透明表面色。
安装
dsh plugin --profile web add github:loyalchiiina/dsh-deepseek-web-freeREADME
dsh-deepseek-web-free
See the repository README for install, models, tools, and security boundaries.
This package is a DeepSeek Harness plugin. It uses DeepSeek Web through a compatibility layer, is not the official Open Platform adapter, and does not bypass CAPTCHA/WAF or account access controls.
After browser sign-in, the sidebar footer lists DeepSeek Web conversations. Fork
to Workspace creates an independent Harness session that does not write back to
the original Web conversation. Native search stays on for default. /clean
is a session toggle that sends only the human text.
本 fork 的差异(dsh-deepseek-web-free)
本包是 y-wi/dsh-deepseek-web 的 fork,
包名改为 dsh-deepseek-web-free(上游包名 dsh-deepseek-web 已被原作者占用,无法同名发布)。
相对上游的改动(详见 CHANGELOG.md):
- 适配 DSH 0.2.1-alpha.2:
@deepseek-ai/dsh-settings的installSettingsSection/settingsNamespace已被新版移除,改用ctx.settings.configure()+ 配置字段.volatile()。 - 客户端图标换名:
Icon*Outline16/14命名已废除 →Icon*OutlineRegular(否则 React error #130,槽位渲染崩)。 peerDependencies改范围写法:精确钉版会被 DSH 插件兼容性门禁静默拒绝装载。- 上游错误不再被吞掉:服务端 SSE
hint带type:"error"(如finish_reason:"backend_err")时, 原来会返回空消息并当作成功,毒化会话历史、下一轮报invalid message id; 现在直接抛出可见错误。
provider id 仍为 deepseek-web,浏览器 profile / 缓存目录名保持不变(避免重新登录)。
仓库结构
本仓库的根目录就是插件本体(lib/ 构建产物 + wasm/ 预编译协议核 + cordis.patch.yml + package.json),
npm 包 dsh-deepseek-web-free 发布的就是这些文件。
packages/ 下保留上游 y-wi/dsh-deepseek-web 1.0.3 的 TypeScript 源码作为存档;
docs/upstream/ 下保留上游原仓库的 README 与工作区 package.json。
⚠️ 说明:1.0.4 起的修复是直接改在 lib/ 构建产物上的(见 CHANGELOG),
packages/ 里的 TS 源码不能重新构建出当前的 lib/。以 lib/ 为准。
许可证与版权声明沿用上游(MIT)。