dsh-session-delete

在会话右键菜单里永久删除一个会话(先弹确认框):DSH home 下的日志目录、投影缓存缩略图、每个 workspace.json 里的会话 id、以及归档与置顶列表里的条目。本次启动后 resume 进内存的会话会先从 sessions 与 agents 两个 store 里摘除,删掉的会话不会以幽灵条目的形式回到侧边栏。会话正在跑一轮对话时拒绝删除;工作区目录本身不受影响。

插件介绍

在会话右键菜单里永久删除一个会话(先弹确认框):DSH home 下的日志目录、投影缓存缩略图、每个 workspace.json 里的会话 id、以及归档与置顶列表里的条目。本次启动后 resume 进内存的会话会先从 sessions 与 agents 两个 store 里摘除,删掉的会话不会以幽灵条目的形式回到侧边栏。会话正在跑一轮对话时拒绝删除;工作区目录本身不受影响。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:MrKillerBad/dsh-session-delete

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。