DeepSeek Harness plugin

dsh-archived-sessions-hashdian

在设置面板中新增“已归档会话”分区:列出被归档的会话(默认在侧边栏不可见),点击即可重新打开

Jump to install

Source facts

Repository
hashdiana/dsh-archived-sessions
Latest update
Aug 13, 2026
Category
Memory
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/hashdiana/dsh-archived-sessions
Plugin: dsh-archived-sessions-hashdian
Author: hashdiana

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

<div align="center">

dsh-archived-sessions

An "Archived sessions" page in the DeepSeek Harness settings — reopen the sessions the sidebar hides.

![GitHub stars](https://github.com/hashdiana/dsh-archived-sessions/stargazers) ![License: MIT](https://github.com/hashdiana/dsh-archived-sessions/blob/main/LICENSE) ![DSH Plugin](https://github.com/topics/dsh-plugin)

🌐 中文 · English

</div>

A DSH plugin adding an Archived sessions page to the Settings panel: it lists every session in the registry-global archive set (normally hidden from the sidebar grouping surfaces and search), and clicking a row reopens that session and closes the settings panel.

🎯 Archiving shouldn't be a one-way door — every archived session stays one click away.

<details> <summary><b>Contents</b></summary>

  • [Why](#why)
  • [Install](#install)
  • [Develop](#develop)
  • [Architecture](#architecture)
  • [Verification matrix](#verification-matrix)
  • [License](#license)

</details>

Why

In DSH 0.1.0-rc.6 archiving is one-way: workspace.archiveSession moves a session into the registry-global archive set, all grouping surfaces and search hide it, and this version ships no unarchive API. This plugin closes that gap — session logs and workspace accounting survive archiving, so an archived session can always be reopened from here.

Install

From GitHub (recommended):

npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hashdiana/dsh-archived-sessions

From a local checkout:

npx -p @deepseek-ai/dsh dsh plugin --profile web add <path-to-this-repo>

Restart the target profile afterwards. The plugin is a pure client plugin: an empty host half plus a browser half registering one settings.section entry. (lib/ build artifacts are committed, so Git installs never build.)

Develop

pnpm install
pnpm typecheck   # tsc -b
pnpm build       # tsc -b && tsdown → lib/index.js (host) + lib/client.js (browser)
pnpm test        # vitest run --pool=threads
  • The client bundle is emitted as window.__ModuleLoader__.load({id, factory})

by tsdown; CSS Modules go through lightningcss hashing plus <style data-plugin> injection.

  • After changing sources, run pnpm build and commit lib/ (Git installs use

the committed artifacts; they do not build).

Architecture

  • Seam: settings.section (list slot; typed by dsh-client-ui-settings,

declared at runtime by ui-settings-general), entry id=archived-sessions, order=100, thunked label: () => t('nav') — the shell re-resolves it on every locale revision, so language switches apply automatically.

  • Data: ctx.workspaces.list (WorkspaceListState.archivedSessionIds, in

archive order) and ctx.sessions.list (SessionListState.byId for titles, timestamps, running state), passed into the component through the register inject factory and subscribed via useSyncExternalStore.

  • Behavior: clicking a row calls ctx.sessions.open(id) plus the section

owner's close(); archived sessions stay in the session list store, so they open directly.

Verification matrix

  • pnpm typecheck / pnpm build / pnpm test
  • Fresh scratch profile: dsh plugin --profile <scratch> add github:hashdiana/dsh-archived-sessions

dsh --profile <scratch> --dump-config must show the dsh-archived-sessions layer

  • GUI: open Settings in a web profile → the nav shows Archived sessions

archive a session and it appears in the list → click to reopen

License

MIT