
MuWinds/dsh-archived-sessions
30Last commit Aug 15, 2026
dsh-archived-sessions DSH plugin
This plugin adds an 'Archived Sessions' page to the Harness Settings. It lets you list all archived sessions, see their disk usage, and perform actions like unarchiving or permanently deleting them. Designed for the web profile, it installs as a single bundle.
How to install the dsh-archived-sessions DSH plugin
dsh plugin --profile web add github:MuWinds/dsh-archived-sessionsCopying does not run this command. Review the repository and version before installing the dsh-archived-sessions DSH plugin.
dsh-archived-sessions DSH plugin data source
dsh-archived-sessions DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-archived-sessions DSH plugin can do
- List all archived sessions with title, creation time, directory, and file path
- Show per-session and total disk space usage
- Unarchive single, multiple, or all sessions back to their original workspace
- Delete session files from disk with single, batch, or clear-all options (two-step confirmation)
- Expand a session to preview its messages (user, assistant, tool)
Where the dsh-archived-sessions DSH plugin fits
- Free up disk space by permanently deleting old archived sessions
- Recover a session that was accidentally archived by unarchiving it
- Review the content of archived sessions without restoring them
- Batch clean up multiple sessions after a project ends
- Audit which sessions are taking up the most storage
Who the dsh-archived-sessions DSH plugin is for
- DeepSeek Harness users who frequently archive sessions
- Developers managing large numbers of chat sessions and needing disk space management
dsh-archived-sessions DSH plugin limitations
- Only works with the Harness web profile (requires `--profile web`)
- Targets Harness version `0.1.0-rc.6`; compatibility with other versions not guaranteed
- Deleted session files are permanently removed and cannot be recovered
- API endpoints are unauthenticated and rely on same-origin access
dsh-archived-sessions DSH plugin: from the repository README
Quoted from the MuWinds/dsh-archived-sessions README, the upstream source of the dsh-archived-sessions DSH plugin. Copyright remains with the original authors.
归档会话管理(Archived sessions manager)—— DeepSeek Harness Web 界面的设置页扩展,以单 bundle 包分发,一条命令即可安装。 在 Harness 的「设置 → 归档会话」页面中提供: - 查看所有已归档会话(标题、创建时间、所属目录、磁盘上的实际文件路径) - 每个会话占用的磁盘空间与总占用 - 释放(取消归档,回到原工作区)—— 单个、批量、一键全部 - 从硬盘删除会话文件 —— 单个、批量、一键清空(两步确认) - 点击会话标题展开查看会话内容(用户 / 助手 / 工具消息预览) > ⚠️ **安全提示**:本插件包含「从硬盘删除会话文件」能力,删除不可恢复。安装即代表信任本仓库代码会在你的机器上以你的权限运行,请自行审阅源码。 ## 安装(推荐:bundle 一键安装) 本包是一个声明了 `dsh.bundle` 的插件组合包,纯 JavaScript、无构建步骤,可直接从 GitHub 安装: ```sh dsh plugin --profile web add github:MuWinds/dsh-archived-sessions ``` 然后**重启 Harness**(`npx @deepseek-ai/dsh web`)。设置面板底部会出现「归档会话」页面。 > 纯 JS 包没有 `prepare` 构建脚本,因此**不需要** pnpm `allowBuilds` 授权。若你习惯锁定版本,可钉住 commit:`github:MuWinds/dsh-archived-sessions#<sha>`。 ### 从本地目录安装(开发调试) ```sh dsh plugin --profile web add ./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(宿主端 + 浏览器端) ├── lib/ │ ├── index.js # 宿主端插件:webServer 路由 /dsh-archived/* + 全部业务逻辑 │ └── client.js # 浏览器端插件:设置页 UI(__ModuleLoader__ bundle) ├── README
Read the full READMERepository license: MIT
dsh-archived-sessions DSH plugin questions
How do I install dsh-archived-sessions?
Run `dsh plugin --profile web add github:MuWinds/dsh-archived-sessions` and then restart Harness with `npx @deepseek-ai/dsh web`. The plugin will appear in Settings under 'Archived Sessions'.
Can I uninstall the plugin?
Yes, run `dsh plugin --profile web remove @muwinds/dsh-archived-sessions`. This removes the bundle and its dependencies. Restart Harness to complete the removal.
Is there a way to recover deleted sessions?
No. The plugin performs a permanent delete from disk. There is no undo or recycle bin. Always double-check before confirming deletion, especially when using the 'clear all' option.
Does it support batch operations?
Yes. You can unarchive or delete multiple sessions at once using checkboxes, or use the 'unarchive all' and 'clear all' buttons for the entire list. The 'clear all' delete requires a two-step confirmation.
Will this plugin affect performance on large numbers of sessions?
The plugin lists all archived sessions and their disk usage efficiently. For very large archives, the initial listing may take a moment, but operations like unarchive or delete are performed per session. No performance issues are expected for typical usage.