dsh-archive-manager
NPM-installable DSH Web plugin for managing archived sessions.
liushutan
@liushutan
⬇ 2
★ 0
main
安装
dsh plugin --profile web add github:liushutan/dsh-archive-manager
需要可复现安装时,可在仓库后追加 #commit 固定提交。
NPM-installable DSH Web plugin for managing archived sessions.
该插件未提供要点说明,请参考仓库 README。
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/liushutan/dsh-archive-manager |
| 许可证 | Apache-2.0 |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-09-01 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
[图片: DSH Archive Manager] # DSH Archive Manager **Safely manage archived sessions in DeepSeek Harness** [简体中文](README.zh-CN.md) · [Changelog](CHANGELOG.md) · [Apache-2.0](LICENSE) [](LICENSE) [](https://www.npmjs.com/package/@liushutan/dsh-archive-manager) [](https://www.npmjs.com/package/@liushutan/dsh-archive-manager) [](https://github.com/liushutan/dsh-archive-manager) [](https://nodejs.org/) > DSH Archive Manager is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product. ## Features - Archive a session from the sidebar session menu. - Search archived chats, sort them by update time, creation time, or title, and filter them by workspace in **Settings → Archived**. - Restore a session to its original workspace with **Unarchive**. - Restore or permanently delete every archived chat in a project group. - Restore all archived chats from the page header. - Permanently delete a confirmed session, its workspace association, archive marker, and projection cache. - Delete all archived chats after confirmation, including child agents. - Remove unloaded deleted sessions from connected sidebars immediately. - Paste one sentence into DSH, Codex, or WorkBuddy and let that agent install the plugin locally. ## Screenshots Open the sidebar session menu and choose **Archive session**:  Search, sort, filter by project, unarchive, or permanently delete chats in **Settings → Archived**:  ## DSH product ecosystem This product can be installed independently or used through the desktop app or Web suite. They share the same DSH core but serve different ways of working: | Product | Relationship to this product | | --- | --- | | [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) | The host runtime that provides models, sessions, tools, and the plugin system | | [DSH Doubao Desktop](https://github.com/liushutan/dsh-codex-desktop) | A ready-to-install desktop product with this product and the other five feature products built in | | [DSH Doubao Suite](https://github.com/liushutan/dsh-doubao-ui/tree/main/packages/dsh-codex-suite) | A one-click suite for existing DSH Web environments that installs this product and the other five feature products | | Six feature products | [Codex UI](https://github.com/liushutan/dsh-doubao-ui) · [IM Connect](https://github.com/liushutan/dsh-im-connect) · [Automation](https://github.com/liushutan/dsh-automation) · [Skills Manager](https://github.com/liushutan/dsh-skills-manager) · [Archive Manager](https://github.com/liushutan/dsh-archive-manager) · [Agency Agents](https://github.com/liushutan/dsh-agency-agents) | ## Prerequisites - A working DeepSeek Harness Web installation with `dsh` available in PowerShell. - Examples use the `web` profile; replace it with the target profile. - Source installation and development require Node.js 22+ and pnpm. npm installation does not require running `pnpm install` separately. ## Installation `dsh plugin add` forwards to `pnpm add` in the profile directory. Without a version and official registry, a local mirror or minimum-release-age policy can leave you on an older build. ### Ask another agent to install it This plugin runs inside DeepSeek Harness Web. Copy one of the sentences below into DSH, Codex, or WorkBuddy and let that agent install it into your local `web` profile. From npm: ```text Install the latest DSH plugin @liushutan/dsh-archive-manager into my local web profile using the official npm registry: dsh plugin --profile web add @liushutan/dsh-archive-manager@latest --registry=https://registry.npmjs.org/. Then run dsh --profile web --dump-config, confirm archive-manager is mounted, and remind me to restart DSH Web and hard-refresh the browser. ``` From source: ```text Install the DSH plugin from source at https://github.com/liushutan/dsh-archive-manager: clone it, run pnpm install --frozen-lockfile and pnpm build, then run dsh plugin --profile web add . from that directory. Do not copy lib by itself. Then run dsh --profile web --dump-config, confirm archive-manager is mounted, and remind me to restart DSH Web and hard-refresh the browser. ``` | Product | How to use it | | --- | --- | | DSH | Send one of the sentences above to the current session. | | Codex | Send one of the sentences above to Codex and let it install locally. | | WorkBuddy | Send one of the sentences above to WorkBuddy; for a source install you can also paste `https://github.com/liushutan/dsh-archive-manager`. | Codex and WorkBuddy only install the plugin. After that, open DSH Web and use **Settings → Archived**. You can also run the same npm command yourself: ```powershell dsh plugin --profile web add @liushutan/dsh-archive-manager@latest --registry=https://registry.npmjs.org/ ``` If `dsh` is not on PATH, replace the leading `dsh` with `npx --yes @deepseek-ai/dsh`. ### Install the latest package from the official npm registry Run this from any PowerShell directory: ```powershell [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 $OutputEncoding = [System.Text.Encoding]::UTF8 dsh plugin --profile web add @liushutan/dsh-archive-manager@latest --registry=https://registry.npmjs.org/ dsh --profile web --dump-config ``` To pin a release, replace `@latest` with a specific version such as `@x.y.z`. The configuration output should contain `workspace-archive-manager` and `ui-workspace-archive-manager`. Restart DSH Web and hard-refresh the browser. Do not copy client files manually: the Settings page and archive menu need the mounted plugin. ### Install from source Use this for debugging or unpublished changes. The cloned directory becomes the plugin source path: ```powershell [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 $OutputEncoding = [System.Text.Encoding]::UTF8 Set-Location D:\Repository\deepseek-harness-plugin git clone https://github.com/liushutan/dsh-archive-manager.git Set-Location .\dsh-archive-manager pnpm install --frozen-lockfile pnpm build dsh plugin --profile web add . dsh --profile web --dump-config ``` Restart DSH Web and hard-refresh the browser. `dsh plugin ... add .` reads the package metadata and `cordis.patch.yml`; do not install by copying `lib` directly. ## Usage 1. Open the sidebar session menu and choose **Archive session**. 2. Open **Settings → Archived** to inspect sessions by workspace. 3. Search by title, sort by update time, creation time, or title, or filter the list by project. 4. Select **Unarchive** to restore one session, or select **Restore all** in the page header. 5. Open a project heading's action menu to restore or delete all of that project's archived chats. 6. Use the delete icon to remove one session permanently, then confirm the deletion. **It cannot be undone.** If the entry is missing after installation or upgrade, restart DSH Web and hard-refresh the browser. It is located directly after **Connectors** in Settings. ## Data handling limits - Deletion always requires confirmation. - It removes the session directory, workspace records, archive set, and projection cache. - A live session finishes writing before cleanup to prevent data truncation. - The plugin replaces DSH’s default workspace and projection services. Install through the DSH profile instead of manually composing the patch. ## Secondary development This repository has no `src` directory. `lib` is directly maintained runtime source, which is its current layout rather than the recommended layout for new plugins. New plugins should prefer `src` built to `lib`. - [lib\index.js](lib/index.js): host service entry point. - [lib\workspace.js](lib/workspace.js): archived-session and workspace service. - [lib\projcache.js](lib/projcache.js): session projection cache. - [lib\client.js](lib/client.js): Settings page and archive UI. - `test\*.test.mjs`: host, client, Remote, and styling coverage. After changing the runtime source, validate, test, and install from the local directory: ```powershell [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 $OutputEncoding = [System.Text.Encoding]::UTF8 pnpm build pnpm test pnpm pack:check dsh plugin --profile web add . ``` `pnpm build` validates package integrity; it does not compile `lib` into another directory. ## Validation ```powershell [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 $OutputEncoding = [System.Text.Encoding]::UTF8 pnpm build pnpm test pnpm pack:check ``` `prepublishOnly` runs the build check and tests before publishing. ## License Licensed under [Apache License 2.0](LICENSE). ## Changelog See [CHANGELOG.md](CHANGELOG.md) for retained release notes.
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。