dsh-session-archive-delete

给 DSH 会话「···」菜单加「备份删除」与「彻底删除」两个入口:这是一个安全的会话删除工具(session-delete),删除会话前先把会话目录、投影缓存和元数据快照复制到本地归档文件夹并逐文件校验,通过后再删除原件以释放磁盘空间;派生的子代理会话一并处理,每个备份文件夹都带 RESTORE.txt 恢复步骤。

插件介绍

给 DSH 会话「···」菜单加「备份删除」与「彻底删除」两个入口:这是一个安全的会话删除工具(session-delete),删除会话前先把会话目录、投影缓存和元数据快照复制到本地归档文件夹并逐文件校验,通过后再删除原件以释放磁盘空间;派生的子代理会话一并处理,每个备份文件夹都带 RESTORE.txt 恢复步骤。

安装方式

通过 npm 安装

dsh plugin --profile web add @device1999/dsh-session-archive-delete

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:device1999/dsh-session-archive-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.

版本兼容情况

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

安装提示

  • 可能调用终端命令