Hand your long DSH session over to a clean one
WeiYe6/dsh-session-handoff · productivity
Hand your long DSH session over to a clean one: /handoff summarizes the conversation with an LLM, creates a new session+agent in the same workspace, injects the handoff document, and auto-opens it.
★ 4GitHub stars
0Forks
2026-08-28Last updated
JavaScriptLanguage
MITLicense
Key features
- Clean handoff — a fresh session with the origin's workspace, model route, and agent preset (system prompt / tools / skills), no context bloat
- Hand your long DSH session over to a clean one.
- Client half (src/client/, tsdown → lib/client.js): a handoff conversation node matches the /handoff success event and auto-opens the child session (polling until it is addressable, deduped via localStorage).
- Auto-open — the client half waits for the new session to be ready and navigates to it (each child auto-opens once
- Robust by default — summaries run with thinking off (fast, cheap), oversized excerpts keep the newest messages instead of erroring, and finish reasons (max-tokens / error / aborted) are translated into actionable errors
Requirements
- The handoff document lives in the session only
- it is not written to disk (HANDOFF.md is a future enhancement).
Install command
dsh plugin --profile web add github:WeiYe6/dsh-session-handoff