Introduction¶
When adding workspaces to DeepSeek Harness (DSH) on Windows, the built-in directory picker only allows navigation up the directory tree of the current drive. It cannot go beyond D:\ to access C:\ or other drives; furthermore, the breadcrumbs collapse at the user’s home directory, hiding paths to other drives. Changing drives often requires manually typing absolute paths.
dsh-workspace-drive-picker is a DSH client plugin published by community maintainer Charlotteyi5. It takes over the directory flow interface for “Add Workspace,” adding features such as a drive bar, complete breadcrumbs, a path box, and last-directory memory. This article covers its positioning, features, installation, and usage notes. See SkillHub for the plugin directory, and GitHub for source code and documentation.
What is this¶
The plugin’s full name is dsh-workspace-drive-picker (the npm package name is the same). In short: it adds one-click drive access to DSH’s “Add Workspace” selector and remembers the last directory you were in.
It takes over two directory flow slots via DSH’s slot mechanism: sidebar.workspaces.directoryFlow and conversation.hero.workspace.directoryFlow. The priority is set to −1000 (lower than dsh-remote-ssh’s −100 and the official browse’s 0), meaning this plugin handles rendering under shadowing semantics; the original interface restores itself upon uninstallation without needing changes to other configurations.
Core Features¶
The following summarizes capabilities described in the README, all of which occur within the local “Add Workspace” modal.
Drive Bar and Volume Info¶
- A row of chips that allow direct jumping to the root of the corresponding drive upon clicking. The host side enumerates
A:–Z:, and only actually accessible drives are displayed. - Each chip displays the volume label and remaining space (example format:
C: System 316.7G); hovering reveals the full path and total capacity. - Volume labels and capacity are queried via PowerShell on Windows using
Win32_LogicalDisk(DriveType=3, local fixed disks only); results are cached for 2 minutes. If the query fails, it degrades to showing no volume label and no remaining space, but the modal still allows navigation using the drive letter.
Navigation and Input¶
- Frequent Directories: Quick access to Downloads, Documents, and Desktop.
- Always-visible Path Box: Paste any absolute path and press Enter to jump.
- Complete Breadcrumbs: Displayed from the root, without collapsing at the home directory.
- New Folder: Create and enter a new folder at the current level.
Remember Last Directory¶
State is written to the host file ~/.dsh/workspace-drive-picker.json, for example:
{ "path": "D:\\work", "tab": "local" }
Since the GUI port changes with every restart, localStorage cannot reliably remember preferences due to origin isolation; therefore, the host handles persistence. Writing is best-effort; a corrupted or non-existent file is treated as “not remembered.” If the remembered path has been deleted or the drive is not mounted, listing will fail and report an error within the modal, though you can still continue using the drive bar or path box.
Local and Remote Tabs¶
The modal provides “Local / Remote” tabs. The remote side reuses the SSH connections and workspaces configured by the installed dsh-remote-ssh, without requiring reconfiguration within this plugin. The remote panel only lists directories and does not create folders on the remote end (use dsh-remote-ssh’s settings page for remote directory creation).
Installation and Activation¶
The installation method provided in the official README involves placing the repository locally and registering the plugin using a file: path (not by concatenating the repository name with dsh plugin add github:...).
# Place the repository anywhere locally, and run this in that directory:
dsh plugin --profile desktop add file:<absolute path to repository>
Example (repository located at D:\plugins\dsh-workspace-drive-picker):
dsh plugin --profile desktop add file:D:\plugins\dsh-workspace-drive-picker
If the CLI is unavailable, add a file: reference to the dependencies in ~/.dsh/profiles/desktop/package.json, add it to dsh.profile.bundles, and run pnpm install.
After installation, restart the DSH desktop client and refresh the page. To uninstall, remove the dependency and bundle entry from package.json, run pnpm install, and restart.
The runtime environment requires Node >=20 (see engines in package.json). The license is MIT.
Typical Usage¶
After installation and restart, trigger “Add Workspace” in the sidebar or a conversation, and the modal will be rendered by this plugin.
- To switch drives, click the corresponding chip on the drive bar to go directly to that drive’s root.
- To access deep directories, use breadcrumbs or the list to navigate level by level, or paste a path like
D:\work\projectinto the path box and press Enter. - After closing and reopening the modal, if there is still a valid path in
workspace-drive-picker.json, it will return to the last directory you were in; thetabfield distinguishes between Local / Remote tabs.
If using dsh-remote-ssh simultaneously, browse and select remote workspace directories under the “Remote” tab; behavior aligns with the connections configured in the remote plugin.
For development or troubleshooting, the repository provides a smoke script that does not rely on the GUI, for example:
node smoke.mjs
This is used to verify host-side routing, drive enumeration, and CSRF barriers (see the “Testing” section in the README for details).
Use Cases and Notes¶
Who it is for: Developers primarily using the DSH desktop client on Windows to add local workspaces and frequently switching between multiple drive letters; users with dsh-remote-ssh installed can switch between local and remote directories within the same modal.
Security and Boundaries (the plugin runs with the permissions of the current DSH host process; please review the source code and MIT license before installing):
- Routes require the
X-Requested-Withheader, consistent with CSRF protection in other plugins on the same host. - The remote proxy only allows
listProfiles/listDir/mkdir/createRemoteWorkspace; it cannot be used as a general-purpose SSH console. - Single-level listing is capped at 500 entries, and the request body limit is 1 MB.
Known Limitations:
- Drive letters are probed via
readdir('X:\\'); volumes that exist but cannot be read (e.g., fully permission-denied) will not appear in the drive bar, though they can still be accessed via manual typing in the path box. - Volume label queries rely on Windows and PowerShell; on non-Windows systems or if blocked by policy, the display will degrade.
Conclusion¶
dsh-workspace-drive-picker addresses the issue with DSH’s built-in selector on Windows with multiple drives (“cannot go up, breadcrumbs hide paths”) by enhancing the “Add Workspace” experience via a client-side plugin: drive chips, full navigation, a path box, and host-side directory memory, sharing remote configuration with dsh-remote-ssh.
- Community Directory: SkillHub — dsh-workspace-drive-picker
- Source Code and Full Documentation: github.com/Charlotteyi5/dsh-workspace-drive-picker