DeepSeek Harness Plugin

0imzero/dsh-workspace-menu

Stars ★ 4 Downloads (30d) 2,072 Category UI Enhancements Added 2026-08-26 npm @0imzero/dsh-workspace-menu

Workspace/chat context menu for the DSH home page: pin, rename, open in file explorer, archive, fork, copy, and open in a new window.

Install

# from npm (prebuilt)

dsh plugin --profile web add @0imzero/dsh-workspace-menu

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:0imzero/dsh-workspace-menu

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

简体中文 · English

Add a context menu to workspaces and chats on the DSH home page. Right-click or double-click a row to rename it, copy a path, archive a chat, and more.

Compatibility: v2.0.0 and later support DSH 0.2.x (>= 0.2.1-rc.3). For DSH 0.1.x, use v1.2.0.

Installation

Install from npm:

dsh plugin --profile web add @0imzero/dsh-workspace-menu

Alternatively, download the package from Releases, then run this command from the download directory:

dsh plugin --profile web add 0imzero-dsh-workspace-menu-2.1.0.tgz

Restart DSH, then right-click or double-click a workspace or chat on the home page. You can turn individual actions on or off under Settings → Workspace menu. The settings page is available in English and Chinese.

When switching from the older @dsh-external/dsh-workspace-menu package, remove it before installing @0imzero/dsh-workspace-menu to avoid loading both. GitHub source installations also use the new package name.

What you can do

Workspaces

  • Pin or unpin, and rename
  • Open in the file manager, copy the path, or start a new chat
  • Remove from the list while keeping files, or delete the workspace and its directory after a second confirmation

Chats

  • Pin or unpin, rename, and mark as read or unread
  • Archive, unarchive, and fork
  • Copy the chat link or title, open in a new window, or open the containing folder
  • Delete the chat and its disk records after a second confirmation

Notes

  • Chat pins share the state used by DSH's built-in pin button. Workspace pins and unread markers are stored in the current browser's localStorage.
  • Deleting a chat archives it and opens a new chat first. If DSH still holds the record, deletion is retried later; unarchiving cancels a pending deletion.
  • The file manager action uses Windows Explorer, macOS Finder, or an available Linux program such as xdg-open or gio.
  • Opening a chat in a new window uses the plugin's ?session=<id> link.
  • Permanent deletion is handled by the plugin's host routes; @mlgbnb/dsh-archive-manager is not required. Session records live under $DSH_HOME/sessions/<workspace-slug>/<sessionId>/.
  • The plugin locates workspace and chat rows through DOM events and React fiber, without modifying DSH's built-in source.

Local development

npm install
npm run build
npm test

License

BSD 3-Clause

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.