Huo-yang/dsh-session-trash 预览 preview

Huo-yang/dsh-session-trash

Plugin插件 Native原生 ⭐ 3 MIT Sessions & Context会话与上下文

为 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升级后可能需要重新验证兼容性,卸载后也不会自动清除回收站数据。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 添加会话删除与回收站

会话菜单一键移入回收站,在统一面板中恢复或彻底删除

支持保留天数、删除确认与到期自动清理,设置融入原生界面

Version 0.2.1 License: MIT Node.js >= 24 pnpm 11.19.0

简体中文 | English

安装 · 界面预览 · 开发 · 贡献指南 · 更新记录

功能

  • 会话行菜单:在「…」菜单中添加「移入回收站」和「彻底删除」。
  • 回收站面板:查看已删除会话,支持恢复、逐条永久删除和清空。
  • 侧边栏入口:回收站有内容时显示绿色状态点,不显示数字角标。
  • 原生插件配置:在 DSH「插件」页配置暂存、保留天数、确认提示和到期自动清理。
  • 列表同步:按精确会话 ID 隐藏已删除条目,并处理日志已删除但仍留在列表中的会话。

DSH 原生“删除工作区”只移除工作区登记,保留项目目录和会话日志;本插件负责会话级回收站与物理清理。删除工作区不会批量删除其中的会话,恢复时原工作区若已不存在,会话将显示在“未分组”中。

界面预览

会话菜单

在会话的「…」菜单中直接移入回收站或彻底删除。

会话菜单中的移入回收站与彻底删除操作

回收站面板

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

包含恢复、永久删除、设置和清空操作的会话回收站

会话删除设置

在 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 →

← 上一个 Prev dsh-prompt-optimizer 下一个 Next DeepSeek-cli →