
Security News
Cloudflare Introduces a Faster TypeScript Compiler Written in Rust
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.
dsh-harness-desktop
Advanced tools
DeepSeek Harness 桌面版:双击启动 DSH Web,后台运行无终端窗口,关闭窗口即停止后台服务。内置运行时,无需安装 Node.js。
DSH(DeepSeek Harness)的桌面壳:像普通桌面应用一样使用 DSH —— 双击打开, 关窗后 DSH 继续在右下角托盘后台运行,随时点开秒回。无需安装 Node.js。
dsh-plugin/dsh-desktop/dsh-harness-desktop-1.0.2-x64.exe(87MB 单文件):
想要桌面快捷方式?在 exe 所在目录执行:
.\dsh-harness-desktop-1.0.2-x64.exe --install-shortcut
# 桌面出现「桌面版」图标,以后双击它直接打开
Windows 弹出「已保护你的电脑」?点 更多信息 → 仍要运行 即可 (exe 未签名,本地构建产物,安全)。
日常使用:关窗后应用仍在右下角托盘后台运行(DSH 服务不停)。左键单击托盘图标打开窗口; 右键托盘图标可退出(带确认)或勾选开机自启(登录后后台常驻,双击图标即开)。
# ① 建个文件夹并进入
mkdir dsh-app && cd dsh-app
# ② 安装(npm 源,国内镜像也快;看到 added 1 package 即成功)
npm install dsh-harness-desktop
# ③ 进入包目录,补装 electron 运行时(必做:npm 默认不装对方包的开发工具)
cd node_modules/dsh-harness-desktop
npm install
# ④ 启动(首次自动下载 DSH 本体,之后秒开)
npm start
⚠️ 国内网络第 ③ 步大概率报
TypeError: fetch failed(electron 二进制从 GitHub 下载被挡)。解决:先设镜像再执行npm install:$env:ELECTRON_MIRROR='https://npmmirror.com/mirrors/electron/' npm install若已经报错,设完镜像后执行
node node_modules/electron/install.js即可补下成功。
桌面快捷方式(可选):在包目录执行 npx dsh-harness-desktop shortcut。
cd dsh-plugin/dsh-desktop
npm install && npm start # 源码运行
npm run dist # 打包便携 exe → dist/dsh-harness-desktop-1.0.2-x64.exe
npm run pack # 快速验证:不打安装包,直接跑 win-unpacked/
常用环境变量(可选):
| 变量 | 默认 | 说明 |
|---|---|---|
DSH_DESKTOP_PORT | 3080 | DSH 服务端口 |
DSH_DESKTOP_COMMAND | 内置运行时 | 自定义启动命令(整行,shell 解析;设置后跳过内置运行时) |
DSH_DESKTOP_REGISTRY | 自动测速选源 | 安装 DSH 时的 npm 源;默认并发测速官方源与 npmmirror 选快者,设置后强制用它 |
DSH_DESKTOP_REINSTALL=1 | 关 | 强制重装/升级 DSH 运行时(走 @latest 显式版本) |
DSH_DESKTOP_HIDDEN=1 | 关 | 隐藏启动:窗口不显示,右下角托盘常驻(服务化;--hidden 同效) |
DSH_DESKTOP_USER_DATA | 默认 | 独立 userData 目录(测试隔离:单实例锁/设置按目录隔离,普通用户不需要) |
内部调试变量(
DSH_DESKTOP_SMOKE/DSH_DESKTOP_SHOT/DSH_DESKTOP_SIZE)见main.js顶部注释。
DSH_DESKTOP_PORT 换一个端口。%APPDATA%\dsh-desktop\runtime 目录后重新打开,或设置 DSH_DESKTOP_REINSTALL=1 启动
(重装走 @latest 显式版本,确保真的拉到新版)。DSH_DESKTOP_COMMAND 指定完整启动方式。ELECTRON_RUN_AS_NODE)+ 捆绑
npm(11MB)→ 首次运行自动安装 DSH 到 %APPDATA%/dsh-desktop/runtime,之后离线可用。DSH_DESKTOP_REGISTRY 可指定源)比对 semver,
发现新版经确认后强制重装 @latest 并自动重启;REINSTALL 环境变量同路径。%LOCALAPPDATA%/npm-cache/_npx)已有 DSH →
直接复制复用(免联网下载);② 否则并发测速官方源与 npmmirror,自动选快者下载;
③ 安装页显示真实进度(字节/包数/百分比),90 秒无进展提示可「切换镜像重试」。%APPDATA%/dsh-desktop/dsh.log(Linux/macOS 为 ~/.config/dsh-desktop/dsh.log),
出错页可直接查看尾部。FAQs
DeepSeek Harness 桌面版:双击启动 DSH Web,后台运行无终端窗口,关闭窗口即停止后台服务。内置运行时,无需安装 Node.js。
The npm package dsh-harness-desktop receives a total of 1 weekly downloads. As such, dsh-harness-desktop popularity was classified as not popular.
We found that dsh-harness-desktop 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 introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.