dsh-archived-sessions
Manifest validAdd a new "Archived Sessions" section in the settings panel: lists archived sessions (not visible in the sidebar by default), click to reopen them
dsh-archived-sessions
An "Archived sessions" page in the DeepSeek Harness settings — reopen the sessions the sidebar hides.
🌐 中文 · English
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.
Contents
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 buildand commitlib/(Git installs use the committed artifacts; they do not build).
Architecture
- Seam:
settings.section(list slot; typed bydsh-client-ui-settings, declared at runtime by ui-settings-general), entryid=archived-sessions,order=100, thunkedlabel: () => 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) andctx.sessions.list(SessionListState.byIdfor titles, timestamps, running state), passed into the component through the register inject factory and subscribed viauseSyncExternalStore. - Behavior: clicking a row calls
ctx.sessions.open(id)plus the section owner'sclose(); 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-configmust show thedsh-archived-sessionslayer - 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
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4k
↓ 16k/wk
MIT
TypeScript
Oct 5, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 344/wk
Apache-2.0
TypeScript
Oct 5, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 1.9k
↓ 38.8k/wk
Apache-2.0
TypeScript
Oct 5, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 282
↓ 571/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 81
MIT
JavaScript
Oct 3, 2026