Huo-yang/dsh-session-trash
为 DSH Web GUI 添加会话删除、回收站、恢复与自动清理功能
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH), designed to extend DSH's Web GUI with session trash and permanent deletion management capabilities. To install the plugin, users first need to have a working DSH installation, then download the versioned tgz package from the repository's GitHub Releases page, verify its checksum against the provided SHA256SUMS.txt, then install it correctly via the DSH CLI command. After installation, users can start DSH and access the generated web address with an access token to start using the new trash management features.
The core workflow for users is straightforward, and the plugin integrates seamlessly into DSH's existing native interface. When a user wants to delete a session, they can open the session's three-dot menu, and select either move to trash or immediate permanent deletion. If a session is accidentally sent to trash, users can later restore it from the unified trash panel at any time, or permanently delete individual sessions or empty the entire trash in bulk. This plugin is targeted at DSH users who want better session lifecycle management and protection against accidental deletion.
The plugin requires Node.js 24 or higher, uses pnpm 11.19.0 as its fixed package manager, and is currently only officially compatible with DSH version 0.1.5-rc.x. It is licensed under the open-source MIT license, and is a community developed third-party plugin with no official affiliation to the core upstream DSH project. The plugin currently only works with DSH's Web GUI, and relies on Chinese menu text for full element detection, so full English interface support is not yet guaranteed. Uninstalling the plugin does not automatically clear existing local stored trash data.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,用于为DSH的Web图形界面添加会话删除与回收站功能。它在原有会话的更多菜单中新增了「移入回收站」和「彻底删除」选项,提供统一的回收站面板供用户恢复或彻底删除已删除会话,同时将插件配置项融入DSH原生设置界面,不用额外跳转配置。
用户使用时,可直接通过会话行的更多菜单将不需要的会话移入回收站暂存,也可选择直接彻底删除确认无用的会话。当需要恢复误删的会话时,只需打开侧边栏的回收站面板选中对应会话即可完成恢复。这款插件适合需要对DSH会话进行精细化管理、想要避免误删会话的DSH用户使用。
该插件要求Node.js版本不低于24,使用pnpm 11.19.0进行包管理,当前仅适配DSH 0.1.5-rc.x版本,采用MIT许可证免费开源。插件仅支持DSH Web GUI,菜单识别依赖中文界面文案,上游DSH升级后可能需要重新验证兼容性,卸载后也不会自动清除回收站数据。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-session-trash(Huo-yang/dsh-session-trash)
仓库:https://github.com/Huo-yang/dsh-session-trash
本站详情页:https://www.yhbd.top/plugins/huo-yang-dsh-session-trash/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-10-02 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile trash add "@deepseek-ai/dsh-web-app@0.2.0-rc.2"
把 Huo-yang/dsh-session-trash 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-session-trash
为 DSH Web GUI 添加会话删除与回收站
会话菜单一键移入回收站,在统一面板中恢复或彻底删除
支持保留天数、删除确认与到期自动清理,设置融入原生界面
简体中文 | English
功能
- 会话行菜单:在「…」菜单中添加「移入回收站」和「彻底删除」。
- 回收站面板:查看已删除会话,支持恢复、逐条永久删除和清空。
- 侧边栏入口:回收站有内容时显示绿色状态点,不显示数字角标。
- 原生插件配置:在 DSH「插件」页配置暂存、保留天数、确认提示和到期自动清理。
- 列表同步:按精确会话 ID 隐藏已删除条目,并处理日志已删除但仍留在列表中的会话。
DSH 原生“删除工作区”只移除工作区登记,保留项目目录和会话日志;本插件负责会话级回收站与物理清理。删除工作区不会批量删除其中的会话,恢复时原工作区若已不存在,会话将显示在“未分组”中。
界面预览
会话菜单
在会话的「…」菜单中直接移入回收站或彻底删除。

回收站面板
集中查看已删除会话,并执行恢复、永久删除或清空回收站。

会话删除设置
在 DSH 原生「插件」页面中配置回收站、保留天数、确认提示和自动清理。

兼容性
| 项目 | 当前范围 |
|---|---|
| DSH | 每个版本已验证的 DSH 版本记录在对应 GitHub Release 说明中 |
| 界面 | DSH Web GUI;DSH 0.2 使用官方会话菜单插槽,旧版保留兼容路径 |
| Node.js | 开发基线为 Node.js 24,本地验证版本为 24.11.0 |
| 包管理器 | pnpm 11.19.0,由 packageManager 固定 |
| 系统 | Windows 已做本地隔离验证;GitHub CI 覆盖 Windows / Linux |
DSH 0.2 的会话菜单使用官方插槽,并以 data-row-key 识别会话;工具栏及旧版兼容路径仍使用 DOM 注入,旧版身份识别可能依赖 React 内部结构。上游升级后仍需按 Release 说明重新验证。英文 README 不代表插件界面已完整支持英文。
安装
前提:已安装 DSH。推荐从项目的 GitHub Releases 页面下载对应版本的 dsh-session-trash-<版本>.tgz,并按同页 SHA256SUMS.txt 校验文件。
将下载的压缩包直接交给 DSH 安装,无需手工解压:
dsh plugin --profile trash add "C:\Downloads\dsh-session-trash-0.2.1.tgz"
仅当该 profile 尚未配置 Web GUI 时,再添加 Web 插件,然后启动 DSH:
dsh plugin --profile trash add "@deepseek-ai/dsh-web-app@0.2.0-rc.2"
dsh --profile trash --port 3080
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill