deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
一条命令,把个人版 Harness 变成多人可用的企业工作台:账号登录、权限分级、私有工作区、共享协作,全部开箱即用。
原版 dsh 的 Web 界面默认"裸奔"——谁打开网址谁就是主人。web-enterprise 在不修改 dsh 源码一行的情况下,为你的部署加上完整的准入控制:
/api 请求先过登录态校验,未认证一律 401,fail-closed 设计:认证服务不在,门就不开dsh plugin --profile web add github:Chammoon/web-enterprise
重启 dsh web 即生效。首次启动前设置管理员密码(可选,不设则自动生成并打印到日志):
export DSH_BOOTSTRAP_ADMIN_PASSWORD=你的管理员密码
dsh web # 引导账号为 admin
dsh plugin --profile web remove @duiba/dsh-web-enterprise
dsh plugin --profile web update @duiba/dsh-web-enterprise
cordis.patch.yml(由 dsh.bundle.patch 声明)禁用原生 /api 载体行,插入:企业级 carrier、本地账号、enterprise remotes、企业 UI、会话访问控制,以及一个供浏览器 roster 扫描发现客户端包的根行./host/* 子路径导出挂载;三个浏览器半边(carrier / remotes / UI)合并为单一客户端包 lib/client.js,在页面模块表中注册后按 carrier → remotes → UI 顺序挂载@deepseek-ai/* 依赖在运行时通过 dsh 安装自身的符号链接解析(~/.dsh/profiles/node_modules),因此插件始终与你运行中的 dsh 版本一致;仅 ws 与 zod 来自 npmlib/ 预构建产物直接入库,安装时无构建步骤,也不触发 pnpm 的构建脚本白名单lib/ 为预构建产物。修改 src/ 后,需在仍保留 enterprise 包的 dsh monorepo 检出中构建(tsc -b + 各包的 tsdown 双面构建),再拷回:各包 lib/index.js → lib/host/*.js,packages/core/{auth,session-access}/lib/index.js → lib/core/*.js,三个 client bundle 拼接加合成入口 → lib/client.js(见其尾部注释)。
Out-of-tree DeepSeek Harness plugin: enterprise admission control (local accounts, per-user Personal Workspace, group sharing, RBAC, admin console) layered over the web profile. One-command install (dsh plugin --profile web add github:Chammoon/web-enterprise), zero intrusion, no npm publish required; @deepseek-ai/* imports resolve against the running dsh installation at runtime.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。