MuWinds/dsh-archived-sessions 预览 preview

MuWinds/dsh-archived-sessions

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

归档会话管理(Archived sessions manager)—— DeepSeek Harness Web 界面的设置页扩展,以单 bundle 包分发,一条命令即可安装。

catalog descriptioncatalog 简介 / catalog description:DeepSeek Harness 插件-归档会话管理,支持释放、清除归档会话

Project Overview项目介绍

This is a settings page extension built exclusively for the DeepSeek Harness web interface, designed to manage archived chat sessions. It is distributed as a pre-built single bundle package, so users do not need to allow pnpm builds to install it directly from GitHub. The standard installation command is dsh plugin --profile web add github:MuWinds/dsh-archived-sessions, and after running the command, users just need to restart the Harness web server to see the new "Archived Sessions" entry in the settings menu. Users who prefer to lock the plugin to a specific commit can also append the commit SHA to the end of the installation path, like github:MuWinds/dsh-archived-sessions#<sha>.

The plugin adds a range of useful session management features to the new archived sessions page. It lets you view complete metadata for all of your archived sessions including title, creation time, storage directory, file path on disk, and total disk usage per session and across all sessions. You can unarchive single or multiple sessions to return them to your original active workspace, delete single or all unwanted archived sessions with a two-step confirmation to avoid accidental mistakes, and click any session title to expand and preview its full message content.

This plugin is built exclusively for Harness version 0.1.5-rc.1 and newer, and has no third-party runtime dependencies on the host side. The only browser-side dependency is React, which is provided by the Harness platform runtime itself. To uninstall the plugin, run dsh plugin --profile web remove @muwinds/dsh-archived-sessions, which will also remove all associated dependencies. It is released under the open-source MIT license, and the only important caveat is that deleted session files cannot be recovered, so users should review any source code and confirm they trust it before installation.

这是一款专为 DeepSeek Harness Web 界面开发的原生插件,是设置页的归档会话管理扩展,以单 bundle 包形式分发,可通过一条命令完成安装。安装后会在 Harness 的「设置」菜单下新增「归档会话」入口,支持查看所有已归档会话的标题、创建时间、存储路径、单会话与总磁盘占用,还支持单条、批量取消归档或删除会话,也可点击展开预览完整会话内容。

当用户需要整理大量归档会话、清理磁盘占用空间,或是找回误归档的历史会话时,这款插件可以直接满足相关管理需求。用户可以在新增的设置页面中批量筛选需要操作的会话,一键取消归档将它们恢复到原工作区,也可以批量删除不需要的归档会话释放磁盘空间,非常适合经常使用 Harness 管理会话、需要定期整理归档内容的用户。

本插件兼容 0.1.5-rc.1 及以上版本的 Harness Web 端,宿主端无第三方运行依赖,浏览器端仅依赖 Harness 自带的 React 运行时。插件采用 MIT 许可开源免费使用,需要注意删除会话文件操作不可恢复,安装即代表同意信任插件代码,用户可自行审阅源码后再决定是否安装。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
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 web add github:MuWinds/dsh-archived-sessions

把 MuWinds/dsh-archived-sessions 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-archived-sessions

归档会话管理(Archived sessions manager)—— DeepSeek Harness Web 界面的设置页扩展,以单 bundle 包分发,一条命令即可安装。

在 Harness 的「设置 → 归档会话」页面中提供:

  • 查看所有已归档会话(标题、创建时间、所属目录、磁盘上的实际文件路径)
  • 每个会话占用的磁盘空间与总占用
  • 释放(取消归档,回到原工作区)—— 单个、批量、一键全部
  • 从硬盘删除会话文件 —— 单个、批量、一键清空(两步确认)
  • 点击会话标题展开查看会话内容(用户 / 助手 / 工具消息预览)

⚠️ 安全提示:本插件包含「从硬盘删除会话文件」能力,删除不可恢复。安装即代表信任本仓库代码会在你的机器上以你的权限运行,请自行审阅源码。

安装(推荐:bundle 一键安装)

本包是一个声明了 dsh.bundle 的插件组合包,lib/ 里已是构建好的纯 JavaScript,可直接从 GitHub 安装:

dsh plugin --profile web add github:MuWinds/dsh-archived-sessions

然后重启 Harness(npx @deepseek-ai/dsh web)。设置面板底部会出现「归档会话」页面。

lib/ 中的分发产物是纯 JS、没有 prepare 构建脚本,因此不需要 pnpm allowBuilds 授权。若你习惯锁定版本,可钉住 commit:github:MuWinds/dsh-archived-sessions#<sha>。

从本地目录安装(开发调试)

dsh plugin --profile web add ./dsh-archived-sessions

⚠️ 路径含空格时不要直接写 link:<路径>:dsh plugin 会按空格切分参数,把路径拆成两个包(例如 C:\...\Coding Project\pkg 会被装成 Coding 和 Project\pkg)。先把目录 junction 到无空格路径,或改用绝对路径的 junction 再 link:

New-Item -ItemType Junction -Path 'C:\dsh-archived-sessions' -Target 'C:\path with space\dsh-archived-sessions'
dsh plugin --profile web add 'link:C:\dsh-archived-sessions'

dsh plugin --profile web remove @muwinds/dsh-archived-sessions 可卸载(同时移除依赖与对应的 bundle 层)。

仓库结构

dsh-archived-sessions/
├── package.json          # dsh.bundle + dsh.client 声明(单包双端)+ 构建脚本
├── cordis.patch.yml      # 插入一行 archived-sessions(宿主端 + 浏览器端)
├── src/                  # TypeScript 源码(npm run build 编译到 lib/)
│   ├── index.ts          # 宿主端插件:webServer 路由 /dsh-archived/* + 全部业务逻辑
│   └── client.tsx        # 浏览器端插件:设置页 UI(JSX,编译后包装为 __ModuleLoader__ bundle)
├── lib/                  # 构建产物(package.json 的 main / exports 指向这里)
│   ├── index.js          # 由 src/index.ts 编译生成(ESM)
│   └── client.js         # 由 src/client.tsx 编译 + scripts/build-client.mjs 包装生成
├── scripts/
│   └── build-client.mjs  # 把编译后的 client 模块包装进 window.__ModuleLoader__.load({...})
├── tsconfig.json         # 宿主端编译配置(NodeNext / ESM → lib/index.js)
├── tsconfig.client.json  # 浏览器端编译配置(CommonJS + JSX → lib/.client/)
├── README.md
└── LICENSE               # MIT

开发与构建

源码是 TypeScript,lib/ 里的 JS 由 npm run build 生成(package.json 的 main / exports 仍指向 lib/,安装与分发方式不变):

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-noname-kit 下一个 Next ghidra-skill-for-dsh →