← 返回列表
D

@try-works/dsh-restart

v0.1.1 · 0 天前发布

Self-waking host restart as a DeepSeek Harness bundle: a dsh_restart tool that restarts the DSH host, records the decision, and wakes every active session when it is listening again.

deepseek-harnessdshdsh-pluginrestartself-wakinghost-restartsession-wake

README

dsh-restart

Self-waking host restart as a DeepSeek Harness bundle: a dsh_restart tool that restarts the DSH host, records the decision, and wakes every active session when the host is listening again.

What it provides

  • dsh_restart tool — restarts the running DSH host. It derives every path and URL at runtime (nothing device-hardcoded):

  • - harness dir defaults to the running host's working directory (fs.resolve('.'))
    - web base URL defaults to DSH_WEB_URL, falling back to http://127.0.0.1:<webServer.port>
    - logs dir defaults to $DSH_HOME/tmp
    - sessions = every active session + optional explicit session_id + the calling agent's own session, deduplicated
    - reason (required) is recorded
    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @try-works/dsh-restart
    Repo
    git+https://github.com/try-works/dsh-restart.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}