dsh-web-ui
zhu1090093659
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
PROJECT TOPICS
PROJECT README
DeepSeek Harness 插件管理 —— 在设置面板中查看已安装插件,支持停用 / 启用 / 卸载,中英双语界面。
dsh plugin remove 彻底删除包文件 + 移除注册node_modules 中的文件保留dshmarket)与插件管理自身不能被本页面卸载(提示改用 dsh CLI)安装后在 DeepSeek Harness 的设置(Settings)面板左侧出现「插件管理」页(settings.section,order 45)。
┌─────────────────────────────┐ RPC channel: /plugin-manager-cmd
│ Client (浏览器端) │ ──────► Host (dsh 进程内, trusted-host)
│ lib/client.js │ list / setEnabled / uninstall
│ React 组件 + 中英字典 │ ◄────── 直接读写 profiles\<profile>\package.json
└─────────────────────────────┘ 通过 loader 热切换插件挂载
lib/index.js/plugin-manager-cmd(connection.rpc.handle)package.json(dependencies + dsh.profile.bundles)loader.entries() 找到插件条目并调用 entry.update({disabled}, false, true) 实现运行中即时停用,无需重启dsh plugin remove --profile <profile>),自动识别 bin.js 入口;对插件名做 TARGET_RE 白名单校验,输出流截断防爆内存,15 分钟超时保护lib/client.jswindow.__ModuleLoader__.load() 模块,require('react') 渲染插件列表settings.section「插件管理」页,中英文字典经 ctx.locale.register/bind 提供本插件以 DSH 插件包形式安装到 profiles:
profiles\node_modules\dsh-plugin-managerprofiles\web\package.json 的 dependencies 与 dsh.profile.bundles 中登记 dsh-plugin-manager插件需要 DSH 宿主提供
loader、connection、slots、locale服务与dsh-client-*客户端依赖。
TARGET_RE(^[A-Za-z0-9@:./_#+-]+$)白名单校验,拒绝路径穿越等恶意输入dependencies 中{ ok, value | error } 结构,异常不外泄堆栈CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: plugin-manager、ui。