jonah791/dsh-session-handoff ↗★ 0

dsh-session-handoff

会话自动衔接:新建会话时自动把上一场会话的尾部对话注入为交接材料(per-session 动态上下文,仅在存在新鲜对话时注入) 适合需要跨会话保持上下文连贯性、实现无缝交接的对话任务。

Package
dsh-session-handoff
Compatibility
Unverified
Harness peer range
>=0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.1.0
Last updated
Oct 15, 2026

Other repositories with this package name

Install

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

配置

字段默认说明
enabledtrue总开关
maxAgeMinutes720新鲜度窗口:上一场会话最后活动早于此则不衔接
maxChars3000交接块字符预算
messageChars400单条消息字符上限
maxMessages8最多引用多少条消息
sameWorkspaceOnlytrue只衔接同一工作目录的会话
maxCandidates3最多向前探查几个候选(每个都要读日志,故设上限)
order850动态上下文排序位