DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Workspace Lock — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
W

dsh-workspace-lock

Workspace Lock

DSH Web GUI 的按工作区密码锁定:不依赖 bw:在侧边栏中右键点击工作区(使用独立菜单;可用时注入 dsh-better-workspace 的上下文菜单),即可加锁/解锁/移除锁;锁定工作区的会话会在侧边栏中隐藏,中间栏会显示锁定屏幕,直到输入密码(仅限当前页面;刷新后会再次锁定)。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:HyperForce/dsh-workspace-lock#884a884ac908b4c800c7b8d503a262be0a264135
README兼容性版本

说明

DSH Web GUI 的按工作区密码锁定:不依赖 bw:在侧边栏中右键点击工作区(使用独立菜单;可用时注入 dsh-better-workspace 的上下文菜单),即可加锁/解锁/移除锁;锁定工作区的会话会在侧边栏中隐藏,中间栏会显示锁定屏幕,直到输入密码(仅限当前页面;刷新后会再次锁定)。管理员主密码(设置 → 插件 → dsh-workspace-lock)可一次性解锁所有工作区,并授权执行任何解锁/移除锁操作;密码仅以加盐哈希形式存储。仅在 UI 层面锁定。

兼容性与来源证明

Workspace Lock 以 dsh-workspace-lock 发布,当前版本为 0.3.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/20

版本

0.3.4stable
2026/9/20

相关插件

正在加载相关插件…

最新版
0.3.4
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/20
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-workspace-lock

English | 中文

Per-workspace password locks for the DeepSeek Harness (DSH) web UI. Right-click a workspace in the sidebar to lock it; its sessions hide and the chat area is replaced by a lock screen until the correct password is entered.

为 DeepSeek Harness (DSH) 网页界面开发的工作区密码锁插件:在侧栏右键工作区即可加锁, 被锁工作区的会话隐藏、聊天区变为锁屏,输入密码才能查看。

Features

  • Right-click menu — 加锁 (Lock) / 解锁 (Unlock) / 移除锁 (Remove lock) on any workspace row. Renders as a native context-menu row: it injects into dsh-better-workspace's own menu when that plugin is present (0.11 and 0.14 supported), and otherwise opens its own themed menu at the cursor.
  • Sidebar hiding — a locked workspace's session rows hide and the row gets a minimal monochrome padlock badge; matching entries are hidden from search too.
  • Lock screen — while a locked workspace is the active one, the chat area is replaced by a lock screen (supports the admin master password).
  • Admin master password — configured in Settings → Plugins → 工作区锁. Unlocks every workspace at once and can replace any workspace password. Stored only as a salted hash.
  • Page-scoped unlock — unlocking lasts for the current browser page; a refresh locks everything again.
  • Theme following — all surfaces follow the system light/dark preference via prefers-color-scheme (the same signal the DSH app itself uses).
  • bw-independent — works with or without dsh-better-workspace; sidebar decoration speaks both the bw-tree dialect and the stock sidebar.

功能说明(中文)

  • 右键菜单:在侧栏工作区行上右键 → 加锁 / 解锁 / 移除锁。装了 dsh-better-workspace 时自动注入它的原生菜单(兼容 0.11 与 0.14 两种实现); 未安装时在鼠标位置弹出自带的主题化菜单。
  • 侧栏隐藏:被锁工作区的会话行隐藏,行尾显示黑白线性挂锁徽标;搜索结果同步隐藏。
  • 锁屏:被锁工作区处于打开状态时,聊天区被锁屏替代(支持管理员密码)。
  • 管理员密码:在 设置 → 插件 → 工作区锁 卡片中设置,可一次性解锁所有工作区, 也可代替任意工作区密码。服务器仅保存加盐哈希。
  • 刷新即重新上锁:解锁只在当前页面有效,刷新浏览器后全部恢复锁定。
  • 主题跟随:锁屏/弹窗/菜单跟随系统深浅色(与 DSH 主界面同一信号)。

What it is NOT / 边界

This is a UI-level lock. It hides things in the interface; it does not encrypt data and does not gate the server APIs — content remains technically reachable via direct API calls. It protects against casual shoulder-surfing on a shared screen, nothing more. / 这是界面级锁:只隐藏界面显示,不加密数据、不拦截服务端 API, 用于防止同事随手翻看,不是安全边界。

Install / 安装

Requires DSH >= 0.1.5-rc.1 (tested on 0.1.5-rc.2). No build step, no dependencies beyond what every DSH install ships.

# from a checkout of this repo, inside the DSH host container:
dsh plugin --profile web add link:/path/to/this/repo
docker restart dsh-harness   # or however you restart your DSH web process

To remove:

dsh plugin --profile web remove dsh-workspace-lock
docker restart dsh-harness

Locks and the admin password live in <home>/.dsh/workspace-locks.json (the dsh-data volume) and survive removals and restarts.

How it works / 工作原理

  • Host half (lib/index.js, a cordis component): same-origin-fenced routes under /api/workspace-locks/* (list / set / unlock / remove / unlock-all / admin-set / admin-clear), salted-SHA-256 storage with atomic writes, and an 800 ms wrong-password delay. The admin password is registered as a Settings → Plugins namespace so the card appears in the settings UI.
  • Browser half (lib/client.js): a hand-written window.__ModuleLoader__ module (no build step) that requires only react and react-dom/client. It renders the lock screen and password dialogs, decorates the sidebar (dsh-better-workspace tree dialect plus stock-sidebar fallback), injects the right-click menu items, and adopts the host PluginCard chrome for its Settings card so it always looks native.

Compatibility / 兼容性

  • DSH core: built for 0.1.5-rc.2, targets >= 0.1.5-rc.1.
  • dsh-better-workspace: 0.11.x (.bw-ctx-* menu injection) and 0.14.x (div[role="menu"] portal injection) both supported; absent = own menu.
  • Client bundle requires only react + react-dom/client (always in the host module table), plus @deepseek-ai/dsh-client-ui-slots for the Settings card slot.

Development / 开发

No build step. Edit lib/client.js / lib/index.js directly.

node smoke/smoke_host.mjs    # host half: routes, fencing, hashing, storage
node smoke/smoke_client.js   # client half: factory loads against a mock module table

License

MIT

相关插件

继续浏览 security-access 分类下经过校验的插件。

Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。Codex Subscriptiondsh-codex-subscription通过 OAuth 在 DeepSeek Harness 中使用 ChatGPT 和 Codex 订阅,支持配额管理、安全重置、网页搜索、图像和快速模式