
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-deepseek-chat
Advanced tools
在 DeepSeek Harness(DSH)桌面版里,用 CHAT | HARNESS 一键切换网页聊天与原工作区。
CHAT模式 加载真实的 DeepSeek Chat 官网,使用官网的聊天功能和账号历史;HARNESS模式 为原 DSH 工作区。
当前版本 0.1.23 · 适配 DSH 0.2.0-rc.2 桌面版 · 默认语言为简体中文。


切换器位于左侧顶部的 DeepSeek 品牌旁。白色圆角表示当前模式;切回 HARNESS 会恢复进入 CHAT 前的主面板,再进入 CHAT 时回到刚才的网页。折叠侧栏后,可通过原展开按钮回到切换器。

在 DSH 原生 设置 → CHAT设置 中查看官网账号状态、退出登录和切换语言。
希望尽快获取仓库中最新版本时,建议复制下方仓库地址,在 DSH 插件安装输入框中安装。
按 npm 名称 dsh-deepseek-chat 安装,可能受到已锁定版本、包元数据缓存或 pnpm 的最低发布时间策略影响,刚发布的新版本不一定立即被选中。例如,minimumReleaseAge: 1440 表示版本发布满 24 小时后才符合该策略;这不是固定的“24 小时缓存”,具体取决于 DSH 使用的 pnpm 版本和配置。参见 pnpm 官方说明。
仓库地址安装获取的是已推送到 GitHub 的源码及编译产物;作者尚未推送的本地修改不会包含在内。已有安装也需要手动更新,并完整退出后重新打开 DSH。
在 DSH 的插件安装输入框中粘贴:
https://github.com/xingxingbk-git/dsh-deepseek-chat
仓库同时提供源码和编译好的 lib,安装直接加载编译产物,无需运行构建脚本或修改 allowBuilds。
使用命令行也可以安装:
dsh plugin --profile desktop add https://github.com/xingxingbk-git/dsh-deepseek-chat
旧名称 dsh-chat 在 npm 上属于其他项目,请使用新的插件名称或完整仓库地址。
在 DSH 的插件安装输入框中输入:
dsh-deepseek-chat
也可以使用命令行:
dsh plugin --profile desktop add dsh-deepseek-chat
这是 npm 上的插件包,由 DSH 安装;无需运行独立的 npx 命令。
已有安装可能继续使用之前锁定的版本。升级到当前版本时,在 DSH 的插件安装输入框中明确输入:
dsh-deepseek-chat@0.1.23
指定版本可以明确安装目标,但仍可能受到发布时间策略限制。使用命令行指定要升级的版本:
dsh plugin --profile desktop add dsh-deepseek-chat@0.1.23
完整退出并重新打开 DSH,在插件管理页检查已安装版本为 0.1.23。进入 CHAT 后,“对话”标题右侧应显示刷新图标,未登录时登录按钮应有蓝色背景。
使用其他 profile 时替换 desktop。通过 DSH 官方插件管理器或 CLI 更新,让依赖记录和锁文件一起更新;直接覆盖安装目录中的文件不能保证下次启动仍使用新版。
将构建生成的 .tgz 文件交给 DSH 官方插件管理器安装,或使用 CLI:
dsh plugin --profile desktop add /absolute/path/dsh-deepseek-chat-0.1.23.tgz
将路径替换成你的实际安装包;使用其他 profile 时替换 desktop。安装或更新后,完整退出并重新打开 DSH,让新插件生效。
如果之前从本仓库安装过 dsh-chat,先禁用并移除旧插件,再安装 dsh-deepseek-chat,避免两个版本同时接管界面。新版可尝试迁移本插件原有登录记忆;无法定位旧记录时,需要正常登录一次。
安装规则参见 DSH 官方插件安装文档。
当前登录在插件网页中完成。外部浏览器登录后自动授权回跳需要官网提供面向 Chat 的授权交换接口,目前未确认可用;直接在其他浏览器登录不会自动登录本插件。
页面加载失败时,可在故障提示中重试;登录保存服务连接失败时,会显示原因和重试入口。插件会自动收起官网固定的“使用环境异常”说明,其他提示、验证码和认证错误仍由官网处理。
刷新列表会重新加载当前官网页面,并保留当前对话地址。检测到未发送的输入或正在生成等状态时,会提示先完成当前操作;插件不会保存草稿。刷新中请稍候;官网加载失败或超时后,可点击右侧提示中的“重试网页”。
聊天和账号历史由 DeepSeek 官网处理。插件为界面适配读取公开的导航标题、分组、链接、昵称与语言设置;导航资料只留在当前授权期间的内存中,语言偏好通过 DSH 官方配置服务保存。
网页登录记忆仅处理插件自身 chat.deepseek.com 页面的最小授权数据,通过 DSH 官方凭据服务保存。插件根据 DSH 启动器提供的配置路径生成独立记录标识,使不同配置的登录记忆分开,记录对应的官网账号;退出时清除旧授权并隔离迟到保存。缺少可信配置上下文时,仍可正常网页登录,但不能保存登录记忆。这依赖官网当前实现,并非稳定的官方 OAuth 接口;不承诺永久免登录。
插件不保存密码、Cookie 或聊天正文,不读取 DSH/其他插件令牌或其他浏览器的登录数据,不调用私有认证接口,不修改 DSH 安装包或关闭网页安全策略。数据流和授权边界详见 架构说明 与 网页登录说明。
环境:Node.js 22(22.19 及以上)或 24 及以上、pnpm 10.33.2。运行依赖目标为 Cordis 4.0.4 / React 18.3.1。
git clone https://github.com/xingxingbk-git/dsh-deepseek-chat.git
cd dsh-deepseek-chat
pnpm install --frozen-lockfile
pnpm package:plugin
生成 artifacts/dsh-deepseek-chat-0.1.23.tgz,包含 Host、Client、类型声明、图标和 bundle patch。插件管理列表的图标位于 assets/icon.svg,替换后重新打包安装即可;SVG 须自包含且不超过 256 KiB。
修改源码后执行 pnpm release:prepare,并将源码与整个 lib/ 一起提交。pnpm check:distribution 会检查编译产物与源码、版本及安装入口是否一致;旧产物或缺失文件会使检查失败。安装用户不需要执行这些开发命令。
卸载插件:
dsh plugin --profile desktop remove dsh-deepseek-chat
CHAT 模式可以正常创建分享链接,但点击“创建并复制”或“复制”可能提示复制失败。DSH 桌面版内嵌浏览器会拒绝网页的剪贴板权限请求,目前没有提供开启此权限的配置项。遇到此问题,请选中完整链接,在 macOS 按 ⌘C、Windows 按 Ctrl+C 手动复制。
FAQs
CHAT / HARNESS mode switcher for DeepSeek Harness
We found that dsh-deepseek-chat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.