DeepSeek Harness plugin

dsh-archive-viewer-dimitril

Archived sessions viewer for DeepSeek Harness: list archived conversations and restore them from the Web settings — no DSH core is modified.

Jump to install

Source facts

Repository
DimitriLIAN/dsh-archive-viewer
Latest update
Aug 15, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/DimitriLIAN/dsh-archive-viewer
Plugin: dsh-archive-viewer-dimitril
Author: DimitriLIAN

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-archive-viewer

English | 中文

A DeepSeek Harness (DSH) plugin that adds an Archived sessions page to Web settings, listing every archived conversation grouped by its folder with a one-click Restore and a two-tap Delete. Restoring clears the session from the registry-global archive set so it reappears in the sidebar; deleting permanently removes the stored session log.

No DSH core is modified: the host half registers two REST ops on ctx.webServer (/api2/archive/unarchive + /api2/archive/delete) over the live workspaceRegistry and sessionPersistence services; the browser half composes the list from the standard useSessions + useWorkspaces seats and registers a settings.section (id archive).

Why this exists

DSH's official workspace surface only exposes archiveSession — there is no unarchive or delete RPC, and the Web UI hides archived sessions from every grouping with no way to find, restore, or remove them. This plugin fills that gap without touching DSH core.

Install

dsh plugin add --profile web github:DimitriLIAN/dsh-archive-viewer

Then restart the web profile (dsh --profile web) so the bundle layer loads. Open Settings → Archived sessions to list, restore, or delete archived conversations.

How it works

LayerMechanism
Host halfctx.inject(['webServer', 'workspaceRegistry', 'sessionPersistence'])ctx.webServer.register() for unarchive + delete
Restoreremove the id from archivedSessionIds via setStatedomain.global.sethost/archived-sessions-changed broadcast
DeletesessionPersistence.locate()rmSync the session directory, then clear the id from archivedSessionIds
Browser halfsettings.section slot (id archive), list from useWorkspaces(archivedSessionIds) + useSessions(byId)

Build

pnpm install
pnpm run build

build = host tsc + client tsc (declarations) + tsdown (the __ModuleLoader__.load client bundle).

Known limitations

  • Reaches a runtime-visible method — the official workspace RPC has no unarchive, so the host half calls workspaceRegistry.setState (declared private in the types, present at runtime) to perform the inverse of archiveSession. It mirrors archiveSession's own write path exactly.
  • Delete is permanent — deleting removes the session log from disk with no undo.
  • Delete settles on restart — the archive list drops the row immediately, but the sidebar's session list and the workspace sessionIds slot finish clearing on the next DSH restart (the bootstrap detects the missing header). DSH storage is append-only and has no official session-delete RPC.