sherlockguo-yc/dsh-session-memory ↗★ 0
dsh-session-memory
One-click session memory for DeepSeek Harness: mounts the official session-query tools and auto-injects a digest of prior sessions at session start.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sherlockguo-yc/dsh-session-memory说明文档
阅读完整 README ↗配置
安装后可通过 profile 的 cordis.patch.yml 覆盖配置(插件行 id: session-memory):
| Key | 默认 | 含义 |
|---|---|---|
enabled | true | 总开关;false 时保留官方检索工具但停止自动注入 |
maxSessions | 10 | 摘要最多列出多少个最近的会话 |
workspaceOnly | true | 只列出 cwd 与当前会话相同的历史会话(无 cwd 时静默跳过) |
injectOn | ['startup','resume'] | 触发注入的会话生命周期来源(startup/resume/clear/compact) |
header | 见源码 | 摘要的标题行文案 |
示例(在 profile 的 cordis.patch.yml 或更晚的 patch 层中,按 id 覆盖整行 config):
- id: session-memory
config:
maxSessions: 5
header: 'Prior sessions in this workspace (auto-injected):'