G57651/dsh-one-click-restart ↗★ 0
@dsh-restart/one-click-restart
One-click restart for DeepSeek Harness: a model-callable tool plus a detached watchdog that relaunches the app after exit. 适合频繁安装或调试插件,需要快速重启 DSH 宿主进程的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:G57651/dsh-one-click-restart配置
在 profile 的 cordis.patch.yml 里按 id 覆盖:
- id: one-click-restart
name: "@dsh-restart/one-click-restart"
config:
appName: "DeepSeek Harness" # open -a 用的应用名
relaunchDelayMs: 1500 # 退出后到拉起之间的延迟
maxRelaunchAttempts: 10 # 拉起重试次数
requestGracefulExit: true # web 路径是否走 appExit
enableHttpRoute: true # 是否暴露按钮用的 HTTP 路由
# restartToken: 固定令牌(默认每次启动随机生成)
# appBundlePath: /Applications/DeepSeek Harness.app