dsh-session-resume
Manifest validDSH plugin: on reopen, asks to resume the turn that was still running when the app closed
dsh-session-resume
Asks "pick up where you left off?" when DSH reopens, for every conversation whose last turn never finished.
How it decides
Session logs are append-only; one turn/start without a later turn/end means the process died
mid-turn. The host half scans logs younger than 14 days and serves one summary per unfinished turn
(title, workspace, age, step number, the tool that was running, the original task, the last output).
Behaviour
- One centred dialog per page load, one conversation at a time: handle it, the next appears, and the dialog closes after the last one (or right after a successful copy).
- "Resume" opens that conversation and pre-fills the continuation — it never sends for you.
- "Ignore" remembers the interruption timestamp; a later interruption asks again.
- The dialog closes itself once the last resumable row is handled, and shows an empty state otherwise.
- If the composer cannot be recognised the instruction is shown with a copy button; the fill is retried for 9 seconds and verified after a re-render.
Liveness
A log written in the last 45 seconds counts as a running turn and stays out of the dialog. The page re-checks every 4 seconds (up to 30 times), so right after a restart the prompt appears on its own once that window passes — no refresh needed.
Install
dsh plugin add "D:/Deepseek work/workplace/dsh-session-resume"
Then reload the page. Both manifest entries are required — dependencies and
dsh.profile.bundles; a missing bundle entry leaves the routes unregistered (the earlier 404).
Fallback without the CLI: node install-offline.mjs with DSH closed.
Test
node --test --test-timeout=15000 test/host.test.mjs test/routes.test.mjs test/client.test.mjs
node test/live-roundtrip.mjs
Install from GitHub
dsh plugin --profile desktop add github:879745uhjun/dsh-session-resume
Reload the Web UI page after installing.
Comments
Loading…
Similar plugins
by monkey-sking
Reads stored sessions at host boot and resumes the one whose last turn a restart interrupted, sending a short follow-up so the work continues.
★ 0
MIT
JavaScript
Oct 31, 2026
dsh plugin --profile web add dsh-boot-resumeby NecromanAlbert
Any DSH session can request a Desktop restart, then the same persisted session is resumed and followup'd with its mission.
★ 0
↓ 34/wk
MIT
JavaScript
Aug 26, 2026
dsh plugin --profile web add dsh-self-restartby flandre2233
Auto-resumes DSH turns interrupted by a host restart
★ 1
↓ 352/wk
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add dsh-recovery-resumeby TianYa-DAO
Keeps running, finished-but-unopened and currently open sessions at the top of the DSH Web sidebar workspace list.
★ 1
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-pinned-sessionsby Eason-22
DeepSeek Harness plugin: restart without losing work, with an idle-aware graceful restart and automatic session resume after the host comes back. Built-in restart supports the Windows desktop app only
★ 3
MIT
JavaScript
Nov 23, 2026
dsh plugin --profile web add dsh-autorestartby itchenshi
DeepSeek Harness plugin: reopen the conversation you were last in after a restart, without patching engine files
★ 0
MIT
JavaScript
Oct 5, 2026
dsh plugin --profile web add dsh-gui-last-session