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 宿主进程的用户。

パッケージ
@dsh-restart/one-click-restart
互換性
未検証
Harness ピア範囲
^0.1.7-rc.1
Cordis ピア範囲
^4.0.4
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/27

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:G57651/dsh-one-click-restart

ドキュメント

README 全文を読む ↗

配置

在 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