zhouchengke2046/dsh-restart ↗★ 0
dsh-restart
Independent one-click restart for the DeepSeek Harness web service, surfaced in the Settings page. · 独立的 DSH Web 一键重启(设置页入口)。
AI Analysis
核心用途是无需通过终端命令行,直接在网页端重启 DSH 后台服务。适合经常调整配置、安装插件而需要频繁重启服务的 DSH 网页端用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhouchengke2046/dsh-restartREADME
Read the full README ↗配置 / Configuration
| 键 | 默认 | 说明 |
|---|---|---|
restartEnabled | true | 是否注册重启路由 |
restartCommand | "" | 覆盖重启命令;留空则 macOS 自动用 launchctl kickstart -k gui// |
restartLabel | com.dsh.web | launchd agent 标签 |
restartDelayMs | 600 | 响应发出后延迟执行重启的毫秒数 |
覆盖方式(profile 的 cordis.patch.yml):
- insert:
- id: dsh-restart
name: dsh-restart
config:
restartEnabled: true
restartLabel: com.dsh.web