davidgereb/dsh-plugin-watchdog

davidgereb★ 0JavaScript最后同步: 2026-08-15

在 GitHub 打开

Restart your ongoing agent sessions once on server restart in DeepSeek Harness.

README 摘要

dsh-plugin-watchdog Host-side crash/restart watchdog for dsh. When the dsh server process dies — a crash, OOM, kill -9 , or a restart — every running agent is interrupted and the work simply stops. The persisted session logs survive, but nothing picks the work back up until a human reopens the sessions. This plugin closes that gap: - No browser needed. It is a host-only Cordis plugin; it runs inside the dsh server and works whether the GUI is open, closed, or never opened. - On restart it checks recently active sessions and resumes the ones whose work was genuinely interrupted — not the ones that were deliberately stopped. - It picks up where they left off : it resumes the persisted session via ctx.agents.resume , then either re-arms the active goal (the goal-round driver queues the next itself) or wakes the agent with a "continue where you left off" follow-up prompt. Crash-recovery closers ( TOOL OUTCOME UNKNOWN / TOOL NOT STARTED ) are already in the resumed history, so the model verifies uncertain side effects before retrying. Install The plugin is a host-only Cordis plugin resolved from your dsh profile's package store. The profile's dsh plugin command forwards to pnpm, so any …

在 GitHub 查看完整 README →
皮肤/UIcrash-recoverydeepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdshdsh-plugindsh-pluginsresume

分类