Memory & Contextdsh-plugin

dsh-session-handoff

Session handoff and context management plugin for DeepSeek Harness, providing structured handoff export/resume, active context pruning via the compaction API, session management tools, and model route switching.

Stars
5
Forks
1
Open issues
9
Last push
Nov 1, 2026
Latest release
v0.17.19
24h Growth
+0
7d Growth
+0

Installation

dsh plugin --profile web add github:snow-The/dsh-session-handoff

Overview

Session handoff and context management plugin for DeepSeek Harness, providing structured handoff export/resume, active context pruning via the compaction API, session management tools, and model route switching.

  • handoff_status, handoff_export, and handoff_resume tools create and load structured Markdown handoff documents under <workspace>/.dsh-handoff/.
  • Active context pruning tools (acp_status, acp_compress, acp_decompress, acp_search, acp_config, acp_set_limit) use the official compaction API.
  • Session management tools list, trash, restore, and purge sessions; trash entries persist as JSON under $DSH_HOME/dsh-session-handoff-trash/.
  • Model routes tools list every route and switch the agent-default-model, with optional vision wrapper selection and warnings for missing key families.
  • A web GUI settings section provides a model routes panel, auto failover priority list, session handoff export button, and compaction threshold sliders.
  • Optional enhancers: OpenViking and archify commands are embedded in the handoff package when detected; the core works without them.
  • Includes a /handoff command and a system-prompt pressure banner that nudges the model to compress past soft/hard limits.

Related plugins