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.

套件
dsh-handoff
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年11月14日

同名套件的其他儲存庫

安裝

$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是否在系统提示里加一节「归档历史的定点读法」