huajuan2024/dsh-session-manager ↗★ 2

dsh-session-manager

DSH plugin that lists, views, deletes, and exports DeepSeek Harness session histories.

Package
dsh-session-manager
Compatibility
Unverified
Harness peer range
0.2.0-rc.2
Cordis peer range
~4.0.4
Version
0.2.0
License
MIT
Last updated
Nov 5, 2026

Other repositories with this package name

Install

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

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/sessionsDSH 会话存档根目录
maxExportBytes10485760单次导出的字节上限(10 MiB),超过返回 too-large
previewMessageLimit200readHistory 单次返回的最大消息条数