Introduction¶
In DeepSeek Harness (DSH), the sidebar lists multiple workspaces and their sessions. When multiple people share the same machine, or when the DSH Web interface is left open in a browser for extended periods, anyone clicking on the sidebar can view the conversation content within a specific workspace. While the common practice in the DSH ecosystem is to install plugins for enhanced sidebars or session management, requirements such as “setting passwords per workspace” or “hiding the interface via a lock screen” necessitate dedicated UI-level access control. This article introduces dsh-workspace-lock, maintained by HyperForce: a plugin dedicated solely to workspace locking, without encrypting underlying data.
What is this¶
dsh-workspace-lock is a single-purpose plugin for the DSH Web UI: right-clicking a workspace in the sidebar allows you to Lock / Unlock / Remove Lock. Once locked, sessions are hidden from the sidebar, the main chat area displays a lock screen, and content is only revealed after the password is entered. An optional Admin Master Password can unlock all workspaces at once. It is categorized under admin-security. Currently, it has 0 stars on GitHub, uses the MIT license, and is at package version 0.4.2.
Maintainer: HyperForce. For source code and documentation, see the GitHub Repository. For the community directory page, see SkillHub (an independent site with no official affiliation with DeepSeek or High-Flyer).
Core Features¶
The following features are derived from the project’s README, with key points listed below.
-
Right-Click Menu
Right-clicking a workspace reveals options to Lock / Unlock / Remove Lock. If the sidebar already has a native right-click menu (e.g., from dsh-better-workspace or the native DSH sidebar row menu), the entries will be injected into it; otherwise, the plugin’s own menu is used. The README confirms that menu injection is compatible with dsh-better-workspace 0.11 – 0.27 and the native sidebar. -
Interface Behavior After Locking
A padlock badge appears on the workspace row; sessions under that workspace are hidden in the sidebar; the chat area turns into a lock screen, requiring the workspace password to proceed. The lock state persists after a page refresh (requiring another unlock). -
Admin Master Password (Optional)
Configurable in Settings → Plugins → dsh-workspace-lock (also referred to as “Workspace Lock” in the package description). The master password can unlock all workspaces at once and is used to authorize any unlock or lock removal operations. The README states that it is stored only as a salted hash. -
Boundary Description (Mandatory Reading)
The documentation explicitly marks this as a UI-level lock—it only hides the interface display and does not encrypt data or intercept server-side APIs. It cannot replace disk encryption, permission systems, or network-layer isolation.
Installation and Activation¶
Requires DSH >= 0.1.5-rc.1; the README notes that development and testing were conducted on versions 0.1.5-rc.2, 0.1.7-rc.1, and 0.2.0-rc.1/rc.2. The plugin does not declare dsh peerDependencies; the client only requires host seed modules (react, react-dom/client), with no separate build step required.
Installation steps (commands from the README; please replace the path with your local clone or mounted repository directory):
dsh plugin --profile web add link:/path/to/this/repo
docker restart dsh-harness
Removal:
dsh plugin --profile web remove dsh-workspace-lock
docker restart dsh-harness
Lock states are persisted in <home>/.dsh/workspace-locks.json (located within the dsh-data volume). They remain intact after container restarts or plugin reinstallation unless the lock is actively removed or the file is deleted.
Typical Usage¶
- Locate the workspace you wish to protect in the DSH Web sidebar, Right-click → Lock, and follow the prompt to set a password for that workspace.
- After locking, attempt to switch sessions: the sessions for that workspace should not be visible in the sidebar, and the main area should show a lock screen; enter the correct password to unlock.
- If password protection is no longer needed: Right-click → Remove Lock (if an Admin Master Password has been set, authorization with the master password may be required depending on the plugin’s logic).
- When managing multiple workspaces, you can configure an Admin Master Password in the plugin settings to unlock all workspaces at once when needed.
For the complete changelog, see the repository’s CHANGELOG.md.
Use Cases and Notes¶
Who is it for
- Developers or small teams using the same DSH instance and browser profile who want specific workspace conversations to remain “hidden from view when away from the desk.”
- Users already utilizing dsh-better-workspace or the native sidebar who wish to add a layer of UI access control without modifying the server side.
Things to Note Before Use
- The plugin runs with the permissions of the current DSH process; you should review the source code and the MIT license before installation to ensure compliance with your security policy.
- This is UI-level hiding; visitors knowledgeable about DevTools, direct API calls, or storage reading may still bypass the interface lock. In sensitive environments, this should be combined with OS accounts, network security, and data encryption measures.
- The installation command uses a
link:local path, not agithub:owner/repoconstructed from the plugin name; the path must point to the complete plugin directory containinglib/index.js, etc.
Conclusion¶
dsh-workspace-lock implements “setting passwords per workspace and hiding sessions via a lock screen” as a single-responsibility plugin. This aligns with DSH’s philosophy of “everything is a plugin”: install it only when needed, without touching encryption or API interception. If you want an extra layer of privacy against prying eyes on the Web UI, you can follow the README to install it using dsh plugin --profile web add link:... and restart the harness.