deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:becomeless/dsh-desktop-launcher
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Windows 与 macOS 的桌面启动器 for DeepSeek Harness:双击桌面图标 → 自动启动服务 → 弹出 Chrome 独立应用窗口,全程没有任何命令行黑窗,关掉窗口即自动停服,再次双击无缝续聊。
%TEMP%\DSH-Server.log.app 版本,双击即用,逻辑与 Windows 版一致(已真机实测)%LOCALAPPDATA%\DeepSeek-Harness-Launcher(macOS 为 ~/Library/Application Support/DeepSeek-Harness-Launcher)PowerShell(推荐):
[Net.ServicePointManager]::SecurityProtocol='Tls12'; iex ([System.Text.Encoding]::UTF8.GetString((New-Object Net.WebClient).DownloadData('https://cdn.jsdelivr.net/gh/becomeless/dsh-desktop-launcher@main/install.ps1')).TrimStart([char]0xFEFF))
CMD:
powershell -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol='Tls12'; iex ([System.Text.Encoding]::UTF8.GetString((New-Object Net.WebClient).DownloadData('https://cdn.jsdelivr.net/gh/becomeless/dsh-desktop-launcher@main/install.ps1')).TrimStart([char]0xFEFF))"
没装 Node.js 时,安装脚本会询问是否用 winget 自动安装;不想装也可以手动去 nodejs.org 装好后重跑。
macOS(推荐 Homebrew):
brew tap becomeless/dsh-desktop-launcher
brew install --cask dsh-desktop-launcher
或一行脚本安装:
curl -fsSL https://cdn.jsdelivr.net/gh/becomeless/dsh-desktop-launcher@main/install-macos.sh | bash
安装完成后在「应用程序」里双击 DeepSeek Harness 即可;想放 Dock 就从 Finder 拖进去。没装 Node.js 时会引导用 Homebrew 自动安装。
国内访问 jsDelivr 不稳时,把命令里的
https://cdn.jsdelivr.net/gh/becomeless/dsh-desktop-launcher@main/install.ps1换成https://raw.githubusercontent.com/becomeless/dsh-desktop-launcher/main/install.ps1即可(安装脚本内部下载也会自动回退)。
install.ps1 →「使用 PowerShell 运行」运行安装目录里的 uninstall.ps1(或 %LOCALAPPDATA%\DeepSeek-Harness-Launcher\uninstall.ps1)。不会删除 DSH 的会话数据(~/.dsh)。
DEEPSEEK_API_KEY编辑 %LOCALAPPDATA%\DeepSeek-Harness-Launcher\DSH-Launcher.ps1 顶部配置区:
| 变量 | 默认 | 说明 |
|---|---|---|
$StopServerWhenAppCloses |
$true |
关窗后是否自动停服;想常驻后台改成 $false |
$PreferredBrowser |
'chrome' |
首选浏览器,'chrome' / 'edge',找不到自动回退另一个 |
$StartupTimeoutSec |
180 |
等待服务就绪的超时秒数(首次下载依赖时可放宽) |
$ServerWindowStyle |
'Hidden' |
服务窗口样式,Hidden / Minimized |
$DshPort |
3080 |
首选服务端口;被系统保留或被占用时自动改用备用端口 |
$FallbackPorts |
8080, 18080, 18081, 30800, 33080 |
备用端口列表(按顺序尝试) |
macOS 版同理:编辑
.app内的Contents/MacOS/launcher,顶部有PORT和PORT_FALLBACK。
双击没反应? 看任务栏/通知,或查看日志 C:\Users\<你>\AppData\Local\Temp\DSH-Server.log。
启动报错弹窗? 弹窗里会带日志尾部内容;常见原因:没装 Node、网络问题、端口被占用(端口问题新版会自动换备用端口)。
报错 listen EACCES: permission denied 127.0.0.1:3080? 这是 Windows 把 3080 划进了系统保留端口段(Hyper-V/WSL2/WinNAT 的动态端口排除,常见 3002–3101),普通程序无权监听,而不是普通"端口被占用"。新版启动器会自动换用备用端口;想一劳永逸用回 3080,在管理员 PowerShell 里执行:
netsh int ipv4 set dynamicport tcp start=49152 num=16384
net stop winnat
net start winnat
怎么更新? 重新跑一遍安装命令即可(会覆盖安装目录并刷新图标)。
macOS 能用吗? 可以,已经社区真机测试通过;遇到问题欢迎提 issue 并附上日志($TMPDIR/DSH-Server.log)。
和官方 DeepSeek Harness 什么关系? 本工具只是官方的桌面入口,启动的仍是官方 npx @deepseek-ai/dsh web,不修改、不替代官方任何组件。
install.ps1 一键安装(下载 + 创建桌面图标)
install-macos.sh macOS 一键安装
uninstall.ps1 卸载(Windows)
DSH-Launcher.vbs 无窗口启动入口(快捷方式指向它)
DSH-Launcher.ps1 启动器主逻辑
DSH-Server.ps1 静默后台服务进程
DeepSeek-blue.ico 桌面图标
mac/ macOS 版素材(启动脚本 / Info.plist / AppIcon.icns)
图标取自 DeepSeek 官网 favicon(品牌蓝 #4D6BFE),商标归 DeepSeek 所有。本项目为社区工具,与 DeepSeek 官方无关;请自备 API Key,遵守 DeepSeek 的服务条款。
MIT © becomeless
One-liner install on Windows (PowerShell):
[Net.ServicePointManager]::SecurityProtocol='Tls12'; iex ([System.Text.Encoding]::UTF8.GetString((New-Object Net.WebClient).DownloadData('https://cdn.jsdelivr.net/gh/becomeless/dsh-desktop-launcher@main/install.ps1')).TrimStart([char]0xFEFF))
Double-click the desktop icon it creates → DeepSeek Harness starts silently and opens in a Chrome app window. Close the window to stop the server; sessions persist locally and resume next launch. Requires Windows 10/11, Node.js, and a DeepSeek API key (DEEPSEEK_API_KEY or the in-app model settings). Uninstall via uninstall.ps1 in the install directory. Community tool, not affiliated with DeepSeek.
macOS: brew tap becomeless/dsh-desktop-launcher && brew install --cask dsh-desktop-launcher — installs a double-clickable .app into Applications (community-tested). Script alternative: curl -fsSL https://cdn.jsdelivr.net/gh/becomeless/dsh-desktop-launcher@main/install-macos.sh | bash.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。