deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
装完新插件/新技能,点一下「刷新 DSH」就生效 —— 不用手动重启。 New plugin or skill installed? One click on "Refresh DSH" and it's live — no manual restart.
English | 中文
装完新插件(dsh-market 里安装的、或 dsh plugin add 装的)或新技能(放进 ~/.dsh/skills 的)之后,不用在终端里手动重启 dsh——点一下侧边栏的「刷新 DSH」按钮:
比命令行手动重启更省事:一个按钮完成全部,页面还会自己恢复。
--no-open,不会额外打开浏览器页面/dsh-health 每 5 秒探测服务健康状态# 本地目录安装
dsh plugin --profile web add link:/path/to/dsh-quick-restart
# 或从 GitHub
dsh plugin --profile web add github:Xyz10088/dsh-quick-restart#main
# 或使用预构建包(推荐)
dsh plugin --profile web add https://github.com/Xyz10088/dsh-quick-restart/releases/download/v0.1.0/dsh-quick-restart-0.1.0.tgz
重启 dsh web,侧边栏底部即出现「刷新 DSH」按钮。
lib/index.js):注册 POST /restart-dsh 与 GET /dsh-health 路由;重启处理器以分离进程拉起重启脚本,脚本杀掉 3080 端口监听进程后重新启动 dsh web(--no-open)。lib/client.js):注册 sidebar.footer.action 槽位按钮;点击后 POST /restart-dsh,随后轮询 /dsh-health,观察到服务离线→恢复后自动 location.reload()。注意:
lib/index.js中RESTART_SCRIPT常量默认指向C:\Users\Administrator\.dsh\desktop-launcher\restart-dsh-web.ps1,不同机器请按需修改为你自己的重启/启动命令。
dsh plugin --profile web remove dsh-quick-restart
MIT
Installed a new plugin (from dsh-market or dsh plugin add) or a new skill (dropped into ~/.dsh/skills)? No need to manually restart dsh from the terminal — just click the "Refresh DSH" button in the sidebar:
Easier than a manual command-line restart: one button does it all, and the page recovers by itself.
--no-open so no extra browser tab is opened/dsh-health every 5 seconds# from a local directory
dsh plugin --profile web add link:/path/to/dsh-quick-restart
# or from GitHub
dsh plugin --profile web add github:Xyz10088/dsh-quick-restart#main
# or use the prebuilt package (recommended)
dsh plugin --profile web add https://github.com/Xyz10088/dsh-quick-restart/releases/download/v0.1.0/dsh-quick-restart-0.1.0.tgz
Restart dsh web, and the "Refresh DSH" button appears at the sidebar footer.
lib/index.js): registers POST /restart-dsh and GET /dsh-health routes; the handler launches a detached restart script that kills the process listening on port 3080 and starts dsh web again (--no-open).lib/client.js): registers a button in the sidebar.footer.action slot; on click it POSTs /restart-dsh, then polls /dsh-health — once the service is observed down and then back up, it calls location.reload().Note: the
RESTART_SCRIPTconstant inlib/index.jsdefaults toC:\Users\Administrator\.dsh\desktop-launcher\restart-dsh-web.ps1— adjust it to your own restart/launch command on other machines.
dsh plugin --profile web remove dsh-quick-restart
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。