Preface¶
The DeepSeek Harness (DSH) Web GUI’s left sidebar comes with only the Workspaces view by default: expand projects by folder, then look for sessions under each project. If you just finished chatting in project A and want to return to that session after switching to project B, you have to recall which workspace it belongs to and then expand the corresponding folder. Codex-like products commonly expose two sidebar views—Projects (folders) and Recent (flat, time-ordered)—but DSH natively provides only the former. The community plugin dsh-recent (maintainer ttmouse, category: client) adds a Recent section below the workspace list, flattening the latest sessions from every workspace into a single timeline, and also collapses the workspace list by default down to the five folders with recent records. The sections below describe what it does, how to install it, and what to watch out for.
What Is This¶
dsh-recent is a plugin for the DSH Web GUI: it registers into an existing sidebar slot and renders a Recent section between the workspace tree and settings. Data and session operations go through the framework’s standard toolkit (useSessions / useWorkspaces, etc.) and the uiWorkspace service exposed by the shell, without modifying the DSH frontend source. The project is hosted on GitHub: ttmouse/dsh-recent; community catalog page: skillhub.cn/plugins/ttmouse/dsh-recent. The DSH ecosystem emphasizes “everything is a plugin”; SkillHub and similar catalogs are community sites with no official affiliation with DeepSeek / High-Flyer.
Core Features¶
Flat Timeline¶
Collects all sessions with history across workspaces and arranges them in a flat list sorted by update time, with no row cap and unaffected by whether the projects above are collapsed. It renders one page (20 items) by default; scrolling to the end of the already-rendered part automatically fetches the next page until history is exhausted. The section sits inside the workspace list’s own scroll area, so the whole rail has one scrollbar—scrolling from the workspace tree into “Recent” and further back into older sessions—there is no collapse toggle and no inner scrollbar.
Row and Hover Card Aligned with the Shell¶
Each row’s size, spacing, radius, hover, and current highlight come from the shell’s session rows (32px row height, --dsw-radius-md, --dsw-alias-interactive-bg-hover, etc.). Visible elements include a 16px status tile, title, relative time (10px, three-level color), and a pinned marker; when the session is waiting for your response, the time tile turns into “Needs approval / Plan pending review / Awaiting answer”. On hover, the time and pinned marker give way to row actions (⋯ menu, archive, pin), using the same icons and spacing as the workspace tree; the hover highlight is painted on a separate layer, inset by 4px on each side, with the row itself not shifting and no transition.
The overlay uses HoverCard from @deepseek-ai/dsh-client-ui-primitives, consistent with session cards: full title, relative time, and run status; it also adds a “folder icon + project name” line to distinguish same-named sessions across projects. Clicking the card copies the title. Time bucketing uses the shell-exported relativeTime and refreshes every 30 seconds, matching the readings in the workspace tree.
Visibility rules match the workspace tree: archived sessions are not shown; sub-agent sessions are grouped under the parent session; blank placeholder sessions are not shown.
Default Collapse of Workspaces and Sessions¶
The workspace list shows only the 5 folders with recent records by default (each group competes based on its own latest session time; groups without records do not occupy a default slot), and the rest are folded behind a single line “Show remaining N workspaces”, with a collapse toggle styled like the shell. The expanded state is temporary: collapsing the sidebar and expanding it again returns to the default collapsed state.
Session rows under each project likewise keep only the latest 5 by update time (running/waiting sessions do not get extra slots—a running session older than the fifth one will also be collapsed). Extra sessions are folded behind a single line; if the shell already renders “Show remaining N sessions” it is reused, otherwise the plugin inserts a matching line. Clicking the shell’s expand button also releases the plugin’s session collapse.
Display Scope and Other Behaviors¶
Shown only in the wide sidebar; under the 56px icon rail (wide: false) this section renders as null. Archiving a session that is still running is rejected by the host; the plugin shows a confirmation “Stop and archive this session?” in the same style as the shell, and stops before archiving. The ⋯ menu includes pin, fork, and archive, but not rename (the entry lives in the shell’s internal store, which the plugin cannot access).
Installation and Enablement¶
The plugin runs with the permissions of the current dsh process; before installing, it is recommended to read the source and the MIT license on GitHub.
Run in the profile directory that serves the GUI (usually ~/.dsh/profiles/web):
dsh plugin --profile web add github:ttmouse/dsh-recent
This command writes the dependency into the profile’s package.json and appends dsh-recent to dsh.profile.bundles. The bundle list is read at startup, so after changing it you need to restart the Web GUI and refresh the page:
# Stop the current dsh web, then restart it
dsh web
When working on the plugin source locally, you can use link: pointing to the cloned directory (changes are followed), which also requires restarting dsh web; hot reload only covers source changes in already-loaded plugins, while bundle-list changes require a restart.
Typical Usage¶
After installing and restarting, open the DSH Web wide sidebar and you will see the Recent section below the workspace list.
- Return to the session you just left: no need to locate the workspace first—find the row by time in “Recent” and click it to open via
uiWorkspace.openSession(this also clears the panel selected in the middle column). - Distinguish same-named sessions across projects: hover over the row to see the “folder icon + project name” in the overlay.
- Handle sessions that are waiting: a yellow dot indicates it is waiting for your response; the row end or the overlay’s status line will state In progress / Needs approval / Plan pending review / Awaiting answer.
- Find older history: scroll down the whole rail; when near the end of the loaded list, the next 20 rows are appended automatically; for very old sessions, using search in the workspace tree is still faster than scrolling to the bottom.
- Expand collapsed workspaces or sessions: click “Show remaining N workspaces” or “Show remaining N sessions”; collapsing and re-expanding the sidebar restores the defaults of showing only 5 workspaces and the first page of “Recent”.
When developing this plugin (not required for end users): run pnpm install inside the repo, and after editing the source run pnpm run build, since the host loads lib/client.js.
Use Cases and Caveats¶
Suitable for: Web GUI users who frequently switch between multiple DSH workspaces and want a single timeline to jump back to recent sessions; and users who want a shorter sidebar by default, highlighting only a few recently active folders.
Limitations and dependencies (from the README “Known limitations”):
- The workspace and session collapse rely on the shell’s DOM (
_groupSection,data-row-key="workspace:<id>"/session:<id>, etc.); when the shell’s structure changes, the collapse may silently stop working and degrade into a full list, usually without errors. - The collapse only decides who stays; it does not reorder workspaces—ordering is still determined by the shell’s list.
- No search; no rename from the recent rows; the section is not shown in the 56px rail.
- With many sessions, loading is scroll-based, with no page numbers or jumps; when a title is empty, fallback values such as the session id may be displayed.
The plugin’s current package version is 0.1.0, requiring Node ^22.19.0 || >=24.0.0.
Epilogue¶
Without touching the DSH frontend source, dsh-recent adds a Codex-style “Recent” view to the sidebar, and stays consistent with the workspace tree’s session rows, cards, and actions; at the same time it trims the default workspace and session lists down to a small number of recently active entries, reducing the burden of long lists. Catalog page: https://www.skillhub.cn/plugins/ttmouse/dsh-recent; source and full design notes: https://github.com/ttmouse/dsh-recent.