dsh-delete-session

在侧栏会话菜单里加一条「删除会话」,一次请求就把会话记录目录移进 Windows 回收站(用不了时移进 ~/.dsh/plugin-data 下的插件回收站,两种都可还原),并删除其溢出文件和投影缓存,正在使用的会话会先被摘下来,子代理会话一并级联清理。设置里可以关掉「删除前再次确认」,关掉后点一下就删;其它插件注册的同名菜单项会被合并,只留一条。

插件介绍

在侧栏会话菜单里加一条「删除会话」,一次请求就把会话记录目录移进 Windows 回收站(用不了时移进 ~/.dsh/plugin-data 下的插件回收站,两种都可还原),并删除其溢出文件和投影缓存,正在使用的会话会先被摘下来,子代理会话一并级联清理。设置里可以关掉「删除前再次确认」,关掉后点一下就删;其它插件注册的同名菜单项会被合并,只留一条。

安装方式

从 GitHub 安装

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

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.

版本兼容情况

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