会话档案 / Session Archive for DeepSeek Harness:按工作区浏览和全文搜索归档聊天,原生只读预览消息、工具活动与已存储图片;支持标签备注、历史版本恢复为副本、ZIP 备份恢复、带保护快照的可撤销回收站、空间分账、保留策略和会话来源与分支。所有数据仅保存在本机。 / Browse and full-text search archived chats with native read-only previews, tags, notes, History restore-as-copy, ZIP backup and restore, an undoable Recycle Bin, storage accounting, retention policies, and session lineage. All data stays local.
在 DeepSeek Harness 终端运行:
dsh plugin --profile web add dsh-archived-chats@latest
A local-first archived-chat center for DeepSeek Harness
dsh-archived-chats
English · 简体中文
Plugin market · npm · Releases · Discussions · Private security report
Session Archive gives DeepSeek Harness a first-class home for chats that disappear from the sidebar after archive. Browse every archived conversation by workspace, search its full content, inspect validated local history, and recover or remove it through explicit, reversible workflows.
Formerly Archived Chats, now Session Archive / 会话档案. The package name, repository, install command, and local data location are unchanged; existing users need no data migration.
dsh plugin --profile web add dsh-archived-chats@latest
Restart DSH once, then open Settings → Session Archive.
Update an existing installation:
dsh plugin --profile web update dsh-archived-chats
| Area | What it provides |
|---|---|
| Browse and search | Workspace-grouped archive browsing, full-text search across messages and tool results, filters, sorting, tags, and notes. |
| Archive a workspace | From Settings → Session Archive, choose a workspace and open one confirmation for every eligible chat in it. Empty new-session windows are excluded; the workspace and its directory stay unchanged. |
| Read-only preview | Native conversation layout for Markdown, reasoning, tool activity, JSON, code, and available stored images, with responsive turn navigation. |
| Local History | Validated versions captured after archive, read-only snapshot preview, confirmed deletion, clear-history, and Restore as copy without overwriting the source. |
| Backup and restore | JSON + Markdown ZIP export with preview-first, conflict-safe import. Existing session IDs are never overwritten. |
| Recoverable deletion | Snapshot-protected Recycle Bin with immediate Undo, two-level restore, and separately confirmed permanent deletion. |
| Storage and relationships | Separate storage accounting, preview-first retention policies, and read-only Origins & Branches for forks and subagent trees. |
$DSH_HOME/plugin-data/archived-chats/. Nothing is uploaded or cloud-synced.turn/start are eligible; empty new-session windows and sessions whose content cannot be confirmed are skipped. Its five-minute, single-use credential excludes chats added later; a running chat is skipped, never stopped or moved.Features activate from the public capabilities exposed by the DeepSeek Harness Host instead of a hard-coded Host version.
| Host capability | Plugin behavior |
|---|---|
| Archive and session reads | Browsing, search, preview, History inventory, storage accounting, and lineage. |
settings.section + public archiveSession |
The plugin-owned settings page provides the workspace chooser and one-confirmation archive flow without requiring a workspace-menu extension slot. Without archive capability, preparation returns workspace-archive-unsupported and makes no change. |
| Attachment reads | Stored images appear in conversation and snapshot previews; without it, text remains readable. |
| Session-scoped log location | Recycle Bin permanent deletion uses the persistence provider's public locate(meta) capability. Providers without a session-scoped location remain unsupported; failed operations retain their rows and display the reason. |
| Public session writer | ZIP import, Restore as copy, and snapshot fallback when an original is missing all write through the Host's public create / append / locate capability, or a dedicated restore entry point where one exists. |
| Missing write capability | The operation returns restore-unsupported without writing or overwriting data. |
Back up $DSH_HOME/plugin-data/archived-chats/ before downgrading to a release that does not display History or understand recycle snapshots.
The eight fixed screenshots below come from an isolated Simplified Chinese light-theme Web environment with synthetic conversations. They contain no real user data, paths, notes, or credentials, and are the same ordered image set declared to the plugin market.
View all eight screenshots![]() Archive overview |
![]() Full-text search |
![]() Read-only preview |
![]() History timeline |
![]() Clear History confirmation |
![]() Recycle Bin |
![]() Storage and retention |
![]() Origins and Branches |
| Resource | English | 简体中文 |
|---|---|---|
| User guide | Read the guide | 查看指南 |
| Architecture | Maintainer architecture | 维护者架构 |
| Release history | GitHub Releases | GitHub Releases |
See also Support, Security, Contributing, Code of Conduct, and Discussions. Before claiming work or opening a pull request, contributors must read the Contributing Guide in full.
Session Archive is actively maintained. The latest stable npm release receives fixes and security updates; older releases should be upgraded before reporting a problem. Reproducible bug reports and focused pull requests are welcome. Accepted community tasks are marked help wanted; read the claim workflow before starting substantial work. Maintenance is performed as availability permits, so no fixed response or release schedule is promised.
npm test
The suite covers Host and browser behavior, export/import, History, Recycle Bin, retention, search, responsive layout, public types, package contents, and repository hygiene. It uses isolated temporary data and never reads real sessions.
dsh plugin --profile web remove dsh-archived-chats
Uninstalling removes only the plugin package. It does not delete local data under $DSH_HOME/plugin-data/archived-chats/ or trigger Recycle Bin permanent purge. Retained data includes metadata.json, trash.json, retention.json, the snapshots/ directory, and any legacy pending-deletions.json that has not yet been migrated. A later reinstall can use this data. Before permanently removing the directory, restore and back up anything you need, then delete it manually only after confirming that none of its data is still required.
登录后即可为该插件评分和评价。
还没有人评价这个插件,来抢个沙发吧!