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.
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kehong-Chen/dsh-handoffREADME
Read the full README ↗配置
在 profile 的 cordis.patch.yml 里改 id: dsh-handoff 那一行的 config:
| 字段 | 默认 | 含义 |
|---|---|---|
handoffTemplate | true | 是否用六段模板替换内置压缩指令;false 保留内置 8 段 |
archive | true | 是否把被压缩原文落盘 |
archiveDir | .dsh-handoff | 相对路径挂在会话自己的工作目录下;绝对路径原样使用 |
maxArchiveBytes | 8388608 | 单会话归档上限,超过后只记「已达上限」不再追加 |
systemPromptNote | true | 是否在系统提示里加一节「归档历史的定点读法」 |