Kehong-Chen/dsh-handoff ↗★ 0

dsh-handoff

Six-section state handoff for DSH automatic compaction, with the shadowed raw transcript archived as line-numbered text for grep/sed selective reading, plus a /handoff command.

Package
dsh-handoff
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Nov 14, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kehong-Chen/dsh-handoff

配置

在 profile 的 cordis.patch.yml 里改 id: dsh-handoff 那一行的 config:

字段默认含义
handoffTemplatetrue是否用六段模板替换内置压缩指令;false 保留内置 8 段
archivetrue是否把被压缩原文落盘
archiveDir.dsh-handoff相对路径挂在会话自己的工作目录下;绝对路径原样使用
maxArchiveBytes8388608单会话归档上限,超过后只记「已达上限」不再追加
systemPromptNotetrue是否在系统提示里加一节「归档历史的定点读法」