dsh-archive-purge

在已归档会话的行菜单里加入「删除会话」:永久移除会话日志目录、它启动的子代理会话日志、工作区归属、归档标记、投影缓存记录与 spill 溢出目录;宿主仍持有的会话先登记,下次启动或点「完成待删除清理」时完成。另外会清扫被放弃的空白占位、遗留的孤儿子代理与失效的投影缓存记录,并让空白占位不再出现在 @ 引用列表里。

插件介绍

在已归档会话的行菜单里加入「删除会话」:永久移除会话日志目录、它启动的子代理会话日志、工作区归属、归档标记、投影缓存记录与 spill 溢出目录;宿主仍持有的会话先登记,下次启动或点「完成待删除清理」时完成。另外会清扫被放弃的空白占位、遗留的孤儿子代理与失效的投影缓存记录,并让空白占位不再出现在 @ 引用列表里。

安装方式

通过 npm 安装

dsh plugin --profile web add @angela_lwh/dsh-archive-purge

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:Angela-lwh/dsh-archive-purge

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.

版本兼容情况

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