AI Agent Hub
Back to plugins
🖥️

dsh-custom-context-menu

Client Updated 2026.08.16

Run the following command in DeepSeek Harness:

dsh plugin install sulfide2085/dsh-custom-context-menu

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install sulfide2085/dsh-custom-context-menu in your terminal to install this plugin from https://github.com/sulfide2085/dsh-custom-context-menu; restart DSH Web for it to take effect.

About this plugin

DSH Web UI runs inside a browser, and the native context menu offers virtually no hooks for custom components like the sidebar or workspace rows. If you want to right-click a workspace row and launch the OS file manager directly, or attach your own Quick Actions to any UI region, this plugin fills that gap.

It takes over the contextmenu event at the capture stage and ships a zero-dependency, pure-DOM extensible menu framework: a single register() call adds menu items with group headers, separators, disabled, danger, and hint affordances. The menu supports full keyboard navigation (arrow-key cycling, Enter/Space to commit) and smart positioning that auto-flips and clamps when the viewport edge is about to be overflowed. When no provider returns items, the browser native menu passes through untouched—no empty placeholder.

The built-in Open Folder action covers Windows (explorer.exe with foreground activation), macOS (open), and Linux (xdg-open), validating directory existence before launch and surfacing a clear error on a stale path instead of a false success. Workspace matching uses a three-way strategy (aria-label, title, basename) and skips ambiguous duplicates to avoid opening the wrong directory. Whether you are a daily DSH Web UI user, a plugin author adding contextual actions to the web surface, or a developer who simply wants one less window switch to the file manager, this plugin makes the right-click menu actually serve your workflow.

Use Cases

  • Right-click a workspace row in the sidebar to launch the OS file manager instantly
  • Register custom quick-action menus on any DOM region within DSH Web UI
  • Replace the browser default context menu with an extensible, workflow-aware panel via providers

Best For

  • Daily DSH Web UI users who want fewer window switches between browser and file manager
  • DSH plugin developers adding contextual actions to the web surface
  • Frontend or full-stack engineers who rely heavily on right-click shortcuts