In DeepSeek Harness Web, archiving a session usually requires two actions: hover over the session row, click the “…” menu, and then select “Archive”. This workflow can be cumbersome when there are many sessions. dsh-hover-archive aims to simplify this process into “hover to reveal, click to archive”.

What Is It

This is a pure client-side plugin maintained by zhifengjiang. It replicates Codex’s session management experience by injecting an archive button on the right side of session rows in the sidebar. It directly calls the official workspaces.archiveSession API, ensuring that archiving behaves consistently with the built-in menu.

Core Features

  • Hover Display: When the mouse hovers over a session row in the sidebar, an archive icon appears on the right.
  • One-Click Archive: Clicking the icon archives the session; the click event is captured, so the session content is not opened.
  • Placeholder Handling: The empty row (placeholder) for creating a new session is unaffected, and no button appears.
  • Multilingual and Keyboard Support: The icon text follows the application language; the button supports :focus-within display and can be triggered with the Enter or Space key.
  • Status Feedback: During archiving, the icon becomes dimmed; on failure, the icon flashes an error color and displays a message.
  • Zero Dependencies: No extra build steps; implemented in pure JavaScript.

Installation and Activation

The installation command is as follows:

dsh plugin --profile web add github:zhifengjiang/dsh-hover-archive

After installation, restart dsh web or refresh the page to activate the plugin.

Typical Usage

  1. Locate the target session row in the DSH Web sidebar.
  2. Hover the mouse over the row; the archive icon appears on the right.
  3. Click the icon; the session is archived.

Use Cases and Notes

  • Platform Limitation: Only applies to DSH Web. If the terminal uses a native list to replace the sidebar, it may not display.
  • Version Compatibility: The plugin is built for DSH 0.1.0-rc.6. If running an older Harness version that lacks the workspaces.archiveSession interface, the plugin automatically detects and disables itself to avoid breaking the UI.
  • Coexistence: It can coexist with dsh-session-manager, dsh-plugin-session-delete, and the built-in “…” menu.
  • Runtime Environment: The plugin runs in the client-side environment. It is recommended to review the source code and license (MIT) before installing.

dsh-hover-archive introduces hover-to-archive interaction, reducing the number of clicks and improving the efficiency of sidebar session management. The full source code and documentation can be found via the links below.