Lists recent sessions across every workspace in one panel, with time grouping, two sort orders, content search, reveal-in-file-manager, and local notes that offer to insert themselves into the draft.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/huangxp12/dsh-recent-sessions/releases/download/v0.1.2/dsh-recent-sessions-0.1.2.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:huangxp12/dsh-recent-sessions
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Every session you have been working in, across every workspace, in one panel — plus a place to jot down a thought and have it come back to you when you reopen that conversation.
A DSH (DeepSeek Harness) client plugin. 中文说明见 README.md.

Why this exists
DSH's sidebar groups sessions by workspace, shows the newest few rows per workspace, and only lists workspaces you registered. Once you work in a dozen directories at once, a project you have not touched for a while is simply not on screen — and a session that lives in a directory you were not looking for is effectively lost.
There is a second, quieter problem: the thought you have about an answer twenty minutes later, while doing something else, has nowhere to go. You either remember it or you lose it.
This plugin adds a global panel that is not tied to any session — one flat list of every session across every workspace — and a way to capture a deferred thought without waking anything up.
What you get
- One flat list across all workspaces. Every session, newest first, including sessions the sidebar is currently hiding (collapsed workspaces, unregistered directories). Each row carries its workspace as a clickable chip — click it to filter to that workspace, click the chip in the toolbar to clear.
- "What was I asking?" — a second line per row with that session's last human prompt, read from the host's
turnOutlinesession projection. Hover it to see a preview of the last assistant reply. - Time grouping and two sort orders — Today / Yesterday / This week / Earlier; sort by most recent or by least recently touched (for cleanup — the time buckets flip as well).
- Filters — only unfinished / include blank sessions / include subagent sessions; archived sessions stay hidden by default. Your view state is remembered locally.
- Find it again — full-text search over message content (host index), instant local title/path filtering, and per-row actions: open the session, reveal its folder in your file manager, copy the path.
- Deferred thoughts. Jot one line on any row. It is stored locally and nothing is sent. When you open that session, a one-line strip appears above the composer: expand it to insert the text into your draft (an official, undoable editor insertion), say not now (the thought stays, it just stops nagging), or discard.
- A separate window. Open the panel in its own same-origin window; it selects itself on load.
- Quiet by design. No notifications, no red badges, no auto-archiving. "Long untouched" is expressed by grouping, not by alarm.
Install
From the plugin market inside DSH, or:
dsh plugin --profile <your-profile> add dsh-recent-sessions
How it works
Everything goes through documented extension points — no DOM hacks, no monkey-patching:
| What | Where |
|---|---|
| Global panel | main keyed slot, key recent-sessions |
| Sidebar entry | sidebar.panellist (its id must equal the panel key) |
| Floating entry | shell.overlay (the layer is click-through; only the pill takes pointer events) |
| Thought strip | conversation.input.dock (session scope) |
| Draft insertion | InputActions.captureInsertion() + insertText(text, span) |
| Session list | root hooks useSessions / useSessionStatus / useWorkspaces |
| Prompt previews | ctx.sessions.refreshProjections(id) → the turnOutline projection |
| Content search | ctx.sessions.search(query, signal) |
| Reveal folder | ctx.remote.session.canOpenWorkspacePath() / openWorkspacePath({ path, action: "reveal" }) |
Privacy and footprint
- The host half does nothing at all (empty
apply): no tools, no HTTP routes, no session events. The plugin never writes to your conversations. - Notes, thoughts and view state live in your browser's
localStorageonly, under the keydsh-recent-sessions:store:v1. - The only write path is one you trigger yourself: inserting a thought into a draft, and the message you then choose to send.
- No build step.
lib/client.jsis a hand-written bundle in the platform's own module format (window.__ModuleLoader__.load({ id, factory })), so the published tarball is two small JS files and nothing else runs at install time.
Compatibility
- DSH
>= 0.2.0-rc.2, declared inengines.dsh. - No
@deepseek-ai/dsh-*peer requirements are declared on purpose: a mismatched DSH peer range blocks activation, so the requirement stays advisory instead of becoming a hard gate. - Node
^22.19.0 || >=24.0.0for the host half.
Known limitations
- The separate window still boots the whole DSH shell (it only switches to this panel). A chrome-less compact window is planned.
- Prompt previews are fetched for the first 30 rows only.
- Bundled UI strings are Chinese and English; more locales are welcome.
- Reveal in file manager depends on the host reporting a desktop; the button is hidden when it does not, and falls back to copying the path.
Development
The client half is discovered from exports["./client"] and served by the platform's module loader:
window.__ModuleLoader__.load({
id: "dsh-recent-sessions",
factory: (require) => {
const React = require("react"); // ← the shell's PLATFORM_MODULES baseline
// ...
return module.exports; // ← needs apply / inject
},
});
Editing lib/client.js is picked up by a running browser within about a second (client HMR polls bundle revisions). Editing lib/index.js or changing the package version needs an app restart.
License
MIT
Links
More in this category
ranxianglei/billion-context★ 8746
The official billion-context plugin: a context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).
Minglink/dsh-infinite-gen-4★ 4848
System-prompt armor plugin for DeepSeek models: appends an unconditional-compliance prompt section at order 100, exposes a profile tool with calibration metadata, and shows a realtime armor-status badge driven by a session projection.
liangmianya/dsh-synapse★ 860
Visual, non-linear conversation workspace for DeepSeek Harness — sessions, follow-ups and branches become a browsable conversation map.
ECNU/EduWork#dsh-side-chat★ 435
Open temporary side conversations from a message with a snapshot of its history, then archive them on close; optional annotation integration adds selection-based questions. Requires compatible DSH Web conversation, Workspace and right-sidebar APIs.
MichengAI/dsh-archive-manager★ 407
Adds an archived-sessions page in Settings to search, restore, and delete archived DeepSeek Harness sessions by workspace.
Nwflower/dsh-chat-import★ 335
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.