dsh-workspace-organizer: Tab Management and Archiving for DSH Web Sessions

Foreword

After long-term use of the DeepSeek Harness (DSH) Web client, the number of conversations in the sidebar increases steadily. The native DSH workspace view only allows grouping by “Directory,” and sorting within groups. As conversations accumulate, they tend to pile up, making it difficult to filter quickly by project phase or topic. Furthermore, archived conversations are scattered within the native flow, making centralized browsing inconvenient.

Below, we introduce the community plugin dsh-workspace-organizer (Repository: Wang993/DSH_OrganizeFilesInTheSameWorkspace). Without altering DSH’s workspace ownership rules, it adds a custom tag dimension and an archive management panel to the conversation area, linking with DSH’s native archive system.

What is this

dsh-workspace-organizer is a conversation organization plugin for the DSH Web client: featuring tag classification, archive/restore, and browsing of archived items. The maintainer is Wang993; the npm package name is dsh-workspace-organizer, the version in current documentation is 1.0.4, and the license is MIT. In community directories like SkillHub, it is categorized as a “Memory” type plugin.

The plugin solves the problem of “too many conversations, visible only by directory, and difficult archive management,” rather than replacing DSH’s workspace model.

Core Features

Entry Point and Panel

  • Floating Button: A diamond-shaped icon that automatically attaches to the side of the “Settings” area at the bottom of the sidebar; it follows the sidebar during expansion/collapse or window resizing.
  • Organization Panel:
  • Displays all conversations grouped by Tags; untagged conversations form a separate group.
  • Features an independent “Archived” area at the bottom.
  • Top filter chips: All / Uncategorized / Archived / Specific Tags.

Per Conversation Row

  • Tags: Add or delete tags; up to 8 per conversation. Buttons are available to reuse existing tags.
  • Archive: Hides the conversation from the native sidebar list; does not delete conversation data.
  • Restore: Returns archived conversations to their original position in the sidebar.

Integration with DSH

  • Real-time Linkage: Archiving/restoring utilizes DSH’s built-in workspaceRegistry, and the native sidebar updates synchronically.
  • Theming: The panel and icons use DSH theme variables (--dsw-*), ensuring consistency with the interface in both light and dark themes.

Installation and Activation

The plugin requires a Web profile containing dsh-base and dsh-web-app (DSH’s default web template suffices). After installation, you must restart dsh web and refresh the page to see the diamond button in the sidebar.

dsh plugin --profile web add dsh-workspace-organizer

Method 2: Install from GitHub

dsh plugin --profile web add github:Wang993/DSH_OrganizeFilesInTheSameWorkspace
git clone git@github.com:Wang993/DSH_OrganizeFilesInTheSameWorkspace.git
dsh plugin --profile web add link:<absolute path to the cloned directory>

Method 4: Manually edit profile

Edit $DSH_HOME/profiles/web/package.json, add dsh-workspace-organizer to dsh.profile.bundles and dependencies, place the plugin directory at $DSH_HOME/profiles/web/dsh-workspace-organizer, and run pnpm install in that directory. Refer to the repository README for the specific JSON structure.

Typical Usage

After installation and restart as described above, follow these steps:

  1. Click the diamond button to the right of the settings area in the sidebar to open the “Conversation Organization” panel.
  2. Click “Tags” on a conversation row to classify it, then use the top tag chips to filter.
  3. Click “Archive” to collapse conversations not currently in use; click “Restore” in the “Archived” area to return them to the sidebar.
  4. The panel auto-refreshes every 5 seconds (it will not interrupt if you are currently typing a tag); you can also click “Refresh” for a manual update.

Tag data is saved in $DSH_HOME/.dsh-organizer-tags.json (pure JSON, can be backed up, manually edited, or included in version control).

Implementation Points (for Evaluation and Troubleshooting)

Component Description
Host lib/index.js Injects webServer / workspaceRegistry / sessionQuery, registers /dsh-organizer/* routes, and injects client scripts into the page
Client lib/organizer.js Pure DOM, no framework, no build step; responsible for button attachment, panel, and interaction
Archive ctx.workspaceRegistry.archiveSession(id)
Restore Reads/writes to the built-in archivedSessionIds state set

The plugin has no build step and consists only of several ESM / browser script files. Changes to lib/organizer.js take effect upon page refresh; changes to lib/index.js require restarting dsh web.

Use Cases and Notes

Target Audience: Developers who frequently open multiple conversations in DSH Web, wish to group by custom tags (rather than just working directories), and need to centrally view and restore archived conversations.

Architectural Limitations (Explicitly stated in README):

  • The workspace attribution of a conversation is still determined by the working directory. This plugin does not change attribution, only adding tag and archive management UI.
  • Button attachment depends on the sidebar class name .hHd-Xa_settingsArea; if a DSH update changes this class name, the button will fall back to a fixed position at the bottom left, but functionality remains available.
  • Archiving follows the DSH global archive set: it only hides the list entry; logs remain under $DSH_HOME/sessions.

Security and Trust: The plugin runs with the permissions of the current dsh process and can access the conversation list and archive status. Before installation, you should review the GitHub Source Code and the MIT license to decide whether to add it to your Web profile.

To uninstall, remove the package from bundles and dependencies in profiles/web/package.json, run pnpm install, and restart dsh web; you may optionally delete $DSH_HOME/.dsh-organizer-tags.json.

Conclusion

The DSH ecosystem emphasizes “Everything is a plugin”; community directories (such as SkillHub) are independent sites and have no official affiliation with DeepSeek / High-Flyer. dsh-workspace-organizer adds a layer of tags and an archive panel on top of the native workspace view, sourcing from the same workspaceRegistry, making it suitable for scenarios requiring long-term organization of Web conversations.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye