liuyu-f/dsh-plugin-session-cascade-delete ↗★ 0

@liuyu-f/dsh-plugin-session-cascade-delete

Permanently delete DeepSeek Harness sessions from the UI (header button + sidebar row menu) or via the session_delete tool: removes the log directory, projection cache and workspace accounting, cascades into the subagent sessions a session owns (your forked branches are never touched), and stops a running agent first. 适合需要彻底清理无用会话、释放存储空间并停止运行代理的用户。

Package
@liuyu-f/dsh-plugin-session-cascade-delete
Compatibility
Unverified
Version
0.6.8
License
MIT
Last updated
Oct 4, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liuyu-f/dsh-plugin-session-cascade-delete

配置(可选)

写在 profile 的 cordis.patch.yml 里(本插件不导出 Config schema,故设置页没有表单):

- id: session-delete
  name: "@liuyu-f/dsh-plugin-session-cascade-delete"
  config:
    deleteSubagents: false # 默认 true:删父会话时连子代理会话一起删
    sessionsRoot: "" # 可选:覆盖会话日志根目录,默认 $DSH_HOME/sessions