huajuan2024/dsh-session-manager ↗★ 2
dsh-session-manager
DSH plugin that lists, views, deletes, and exports DeepSeek Harness session histories.
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:huajuan2024/dsh-session-managerREADME
Read the full README ↗Profile 配置
安装 bundle 后,包内 cordis.patch.yml 提供默认配置。需要覆盖时,在对应 profile
的 home patch 里使用同一个 id:
- Desktop:
~/.dsh/profiles/desktop/cordis.patch.yml - Web:
~/.dsh/profiles/web/cordis.patch.yml
- insert:
- id: sessionManager
name: dsh-session-manager
config:
sessionsRoot: ~/.dsh/sessions
maxExportBytes: 10485760
previewMessageLimit: 200
如果文件当前内容只有 [],必须用上面的列表替换 [],不能把列表追加在 [] 后面。
Harness 的后置 patch 会按 id 替换整份 config,因此覆盖时需要写出希望保留的全部字段。
检查最终组合结果:
dsh --profile desktop --dump-config
dsh --profile web --dump-config
配置项
| 字段 | 默认值 | 说明 |
|---|---|---|
sessionsRoot | ~/.dsh/sessions | DSH 会话存档根目录 |
maxExportBytes | 10485760 | 单次导出的字节上限(10 MiB),超过返回 too-large |
previewMessageLimit | 200 | readHistory 单次返回的最大消息条数 |