owndsh#owndsh-plugin
早期开发中的团队管理插件,将 DeepSeek Harness 接入独立部署的自托管 OwnDsh 服务端,提供团队身份、模型授权、配额与用量审计。
owndsh-plugin
OwnDsh 的 DeepSeek Harness 官方扩展点插件。它把 DSH Desktop 或 Harness Web 连接到自托管 OwnDsh Server,让员工使用企业身份、受管模型和受管插件,而不在本机保存供应商 API Key。
当前只发布测试版。请显式安装
next,latest暂不更新。
安装
先让 pnpm 在 PATH 中可用:
▼sh复制代码corepack enable corepack install --global pnpm@11.7.0
选择实际使用的 Harness profile:
▼sh复制代码# Harness Web dsh plugin --profile web add --ignore-scripts owndsh-plugin@next # DSH Desktop dsh plugin --profile desktop add --ignore-scripts owndsh-plugin@next
从 Harness 源码运行 CLI 时:
▼sh复制代码pnpm --dir /path/to/deepseek-harness dsh \ plugin --profile web add --ignore-scripts owndsh-plugin@next
安装后重启对应 profile。填写管理员提供的 OwnDsh Server HTTP(S) 地址并完成企业登录。
登录保持
Server 地址由 Harness 官方 settings 服务保存;轮换 Refresh Token 由 Host 官方 credentials 服务保存;Access Token 只保留在 Host 内存。正常重启会静默恢复登录,浏览器 Client 不会读取或保存 Token。
主动退出、设备撤销、成员停用、改密或 30 天有效期结束后需要重新登录。
闲置时没有企业 SSE、定时配置请求或提前续期。请求遇到 Access Token 到期才续期,并合并并发续期;服务端认证 401 最多续期重试一次。Refresh Token 失效时显示登录门禁,网络故障保留凭据供下次请求重试。打开 OwnDsh 设置或点击刷新时更新目录;页面复用 Harness 已有通知读取本机状态,登录中仅作有截止时间的临时查询。
更新与卸载
▼sh复制代码dsh plugin --profile web remove owndsh-plugin dsh plugin --profile web add --ignore-scripts owndsh-plugin@next
完全卸载只执行第一条命令。把 web 换成实际 profile。
兼容性与边界
当前验证基线是 DSH Desktop 2.0.3 / DeepSeek Harness 0.1.1-rc.2。OwnDsh 不替换官方 Web/Desktop UI,不访问员工工作区,也不实现第二套模型协议。
登录和企业模型只需安装本包。管理员上传、发布并配置可见范围后,员工在「OwnDsh 设置 → 插件」内自主安装、更新或卸载。不会自动安装,其他设备独立选择。安装或卸载后需完全退出并重新打开客户端。
管理员仍需通过 profile 配置部署专属 Ed25519 公钥,并在上传时选择目标系统和对应 Harness commit;没有信任根时市场显示阻断原因。已识别 Harness 0.1.1-rc.2 和 0.1.2-rc.1。旧版 OwnDsh 仍会自动调和插件,切换为自选市场需要先升级员工插件。
项目与完整部署说明:github.com/boe1900/owndsh










