jonah791/dsh-session-handoff ↗★ 0
dsh-session-handoff
会话自动衔接:新建会话时自动把上一场会话的尾部对话注入为交接材料(per-session 动态上下文,仅在存在新鲜对话时注入) 适合需要跨会话保持上下文连贯性、实现无缝交接的对话任务。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jonah791/dsh-session-handoffREADME
Read the full README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关 |
maxAgeMinutes | 720 | 新鲜度窗口:上一场会话最后活动早于此则不衔接 |
maxChars | 3000 | 交接块字符预算 |
messageChars | 400 | 单条消息字符上限 |
maxMessages | 8 | 最多引用多少条消息 |
sameWorkspaceOnly | true | 只衔接同一工作目录的会话 |
maxCandidates | 3 | 最多向前探查几个候选(每个都要读日志,故设上限) |
order | 850 | 动态上下文排序位 |