dsh-delete-session-menu

在侧栏会话菜单里加中英双语的「删除会话」。确认后删除 <DSH_HOME>/sessions 下的会话日志、从 Workspace 注册表摘掉该 id(sessionIds、置顶、归档),先 detach 活会话再删文件,并广播 api-session/removed,让所有已连接客户端同步移除该行。

插件介绍

在侧栏会话菜单里加中英双语的「删除会话」。确认后删除 <DSH_HOME>/sessions 下的会话日志、从 Workspace 注册表摘掉该 id(sessionIds、置顶、归档),先 detach 活会话再删文件,并广播 api-session/removed,让所有已连接客户端同步移除该行。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:ba1ying2/dsh-delete-session-menu

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.

版本兼容情况

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