Introduction¶
Running agents in DeepSeek Harness (DSH) over time accumulates a large number of sessions: some are already archived and no longer shown in the sidebar, but their logs remain in ~/.dsh/sessions/; others need to be debugged against code in the workspace or local logs, yet require navigating back and forth between settings and the file manager to find paths. DSH has built-in capabilities to archive sessions, but centrally viewing, searching, restoring, or completely cleaning up archived records—as well as opening workspace or session log directories with a single click from the UI—is not something that comes together by default.
@ancircle0/dsh-archive-ext (repository ancircle0/dsh-archive-ext) is a community-maintained standalone plugin, categorized as a “memory”-related extension. Below is its positioning, capabilities, and installation/usage; facts are based on the GitHub README.
What This Is¶
The plugin targets DSH Web UI and Desktop and does two things: provides “Open workspace folder” and “Open session folder” in the “…” menu of each session row; and centrally manages archived sessions in “Settings → Archive Management.” It only adds entries to the session menu, without replacing or modifying DSH’s built-in menu items, and does not depend on other third-party plugins. The maintainer is ancircle0, licensed under MIT; the current version of the npm package is 0.1.3.
Core Features¶
Quick Access from Session Menu¶
Available after clicking “…” on any session row:
- Open workspace folder: Opens the workspace directory for that session using the system file manager (Windows Explorer, macOS Finder, or
xdg-openon Linux). - Open session folder: Opens the session log directory, typically located at
~/.dsh/sessions/.../session-<id>/.
If the session has not yet generated logs (e.g., just created with no content yet), “Open session folder” will show a prompt saying “Session logs have not been generated yet or have been deleted,” instead of opening a wrong path.
Note: The workspace row’s “…” menu does not currently support plugin-added entries, so the above entries are only available in the session row menu.
Archive Management¶
The entry is located at Settings → Archive Management:
- Archived sessions are grouped by workspace and sorted by update time in descending order.
- A search box at the top can filter by title, project name, or path, and groups can be collapsed by workspace.
- Unarchive: Returns the session to the corresponding workspace in the sidebar.
- Permanently delete: After a user confirmation prompt, deletes the session log directory, immediately removes the archive record, and attempts to release the live session in memory; this operation cannot be undone. Running agents cannot be deleted.
- Invalid archive records whose logs no longer exist are grouped separately and can be cleaned up directly.
Optional Sidebar Entry¶
The settings page provides a “Show Archive Management in sidebar” toggle. When enabled, “Archive Management” appears in the global sidebar area, and clicking it opens the archive management panel in the main interface. The toggle state is saved in the current browser’s localStorage (key: dsh-archive-ext.sidebar) and does not sync across browsers.
Compatibility and Permissions¶
- Requires DSH
0.1.7or above; the README states the currently verified runtime is0.2.1-rc.2. Works with both Web UI and Desktop; primarily verified on Windows, with macOS / Linux using the corresponding system commands to open directories. - The plugin itself does not make network requests or collect telemetry data; it reads workspace and session metadata through services provided by DSH, and reads/writes archive state; it only operates on resolved workspace or session log directories. Permanent deletion only executes after user confirmation.
DSH plugins run with the current dsh process permissions. Before installation, it is recommended to review the repository source code and MIT license to confirm the behavior meets your environment policies.
Installation and Activation¶
Install from npm (Desktop profile example):
dsh plugin --profile desktop add @ancircle0/dsh-archive-ext
To pin a specific version:
dsh plugin --profile desktop add @ancircle0/dsh-archive-ext@0.1.3
For local development, you can install using a repository directory path, e.g., on Linux:
dsh plugin --profile desktop add /path/to/dsh-archive-ext
Windows example:
dsh plugin --profile desktop add C:\path\to\dsh-archive-ext
After installation or update, please fully exit and restart DSH; simply refreshing the page will not reload Host plugin code. The desktop profile is managed by the Electron application, which also requires fully exiting the app before restarting.
To uninstall:
dsh plugin --profile desktop remove @ancircle0/dsh-archive-ext
Typical Usage¶
Opening Session-Related Directories¶
- Select the target session in the sidebar and click the “…” on that row.
- Choose “Open workspace folder” or “Open session folder.”
- If the logs have not yet been generated, follow the on-screen prompt rather than relying on a non-existent path.
Managing Archives¶
- Open Settings → Archive Management (or access from the sidebar after enabling the sidebar toggle).
- Use the search box to filter by title, project name, or path; expand or collapse workspace groups as needed.
- Use “Unarchive” when you need to restore the session to the sidebar.
- When you are sure you no longer need the session data, use “Permanently delete” and complete the confirmation prompt; note that this cannot be undone, and running agents cannot be deleted. If releasing a live session fails, the normal session list may need a DSH restart to fully disappear, and the plugin will show a prompt.
- For records in the “Invalid archives” group, they can be cleaned up directly.
Use Cases and Caveats¶
Suitable for DSH users who frequently archive old sessions but occasionally need to restore them or thoroughly clean up disk usage; also suitable for quickly jumping to the workspace or session-<id> log directories during troubleshooting, reducing the need to manually copy paths.
Known limitations include: “Open session folder” depends on session logs being persisted; permanent deletion cannot be undone; if a DSH upgrade changes plugin interfaces, the plugin may require adaptation.
Community plugin directory page (not officially affiliated with DeepSeek / High-Flyer): skillhub.cn/plugins/ancircle0/dsh-archive-ext. Source code and detailed design can be found in the GitHub repository and its PLAN.md.