In DSH development, registering a local folder as a workspace is a common task. Manually entering paths is inefficient and error-prone. The dsh-set-workspace plugin eliminates this repetitive step by adding a context menu item to Windows Explorer.
What Is This¶
This is a DSH plugin maintained by tsingshitao-nuke. It adds an “Open DSH Workspace Here” option to the Windows folder right-click menu. It handles the entire flow of starting DSH if it is not already running, creating a workspace, starting a session, and switching the DSH page to that workspace.
Core Features¶
- Context menu integration: Right-click a folder in Windows File Explorer to open it as a workspace.
- Automatic startup: If DSH is not running, automatically starts DSH (desktop app or CLI).
- Session management: Registers the workspace and starts a session.
- Automatic switching: Automatically switches the DSH page to the new workspace.
- System support: Supports Windows 11.
- Hidden window: Uses wscript for hidden-window startup to avoid console flicker.
- Browser mode: Supports browser mode, with configurable focus on the browser page.
Installation and Enabling¶
- Make sure Windows, Node.js >= 20, and DSH are installed on your system.
- Run the installation command:
dsh plugin --profile web add github:tsingshitao-nuke/dsh-set-workspace
Typical Usage¶
- Right-click a folder in Windows Explorer, then select “Open DSH Workspace Here”.
- If DSH is not running, the plugin will start it.
- To use it in browser mode, use the
--browserflag or a configuration file to focus the browser page instead of the desktop window.
Use Cases and Notes¶
- Unofficial project: This is an unofficial community project and is not endorsed by DeepSeek.
- System requirements: Requires Windows, Node.js >= 20, and an installation of DSH.
- Windows 11 behavior: On Windows 11, the menu item may appear under “Show more options” (Shift+F10) rather than in the top-level menu.
- Communication method: The bridge uses loop communication.
- Browser limitation: Windows does not have a cross-browser API to activate a specific tab, so it may open a new tab instead of switching to an already open tab.
Summary¶
This plugin simplifies the workspace setup process through the right-click menu. For more details and source code, refer to the project homepage.