deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
中文 | English
dsh-plugin-sidebar-manager 为 DSH Web UI 左侧栏添加“插件”按钮,将系统自带插件和用户新增插件分类展示,简化插件管理和搜索操作。
@deepseek-ai/* 与 cordis:* 归为“系统插件”,其他模块归为“用户新增”。entryId 搜索,不区分大小写。需要 DSH 0.1.0-rc.7 和 pnpm。按顺序执行:
# 1. 克隆仓库
git clone https://github.com/rain02333z-spec/dsh-plugin-sidebar-manager.git
cd dsh-plugin-sidebar-manager
# 2. 准备本地安装包
node scripts/prepare-checkout.mjs
# 3. 安装到 web profile
dsh plugin --profile web add ./packages/dsh-plugin-sidebar-manager
# 4. 重启 DSH Web
dsh web
重启后,左侧栏底部出现“插件”入口即表示安装成功。
卸载插件:
dsh plugin --profile web remove dsh-plugin-sidebar-manager
插件包含两部分:
pluginManager.setEnabled Remote,通过 Cordis Loader 的 Entry.update({ disabled }) 修改当前运行状态。pluginInventory.list() Remote,并注册到 sidebar.footer.action。启停只修改当前 Loader 运行状态,不写回 profile 的 cordis.patch.yml。重启 DSH 后,插件状态按照原 profile 配置恢复。
当前源码和安装包面向 DSH 0.1.0-rc.7。它依赖该版本提供的:
pluginInventory Remotesidebar.footer.action 列表 slot源码使用 DSH monorepo 的双端插件构建约定。将本目录同步到 packages/extensions/plugin-manager,并确保根 tsconfig.host.json、tsconfig.client.json 引用对应项目后运行:
Set-Location <DSH monorepo root>
pnpm exec vitest run packages/extensions/plugin-manager/tests
pnpm exec tsc -b packages/extensions/plugin-manager/tsconfig.host.json packages/extensions/plugin-manager/tsconfig.client.json
pnpm --filter dsh-plugin-sidebar-manager bundle
pnpm --filter dsh-plugin-sidebar-manager pack
面板属于可见 Web 行为;合入 DSH 仓库前还应运行 pnpm run test:gui 和 Web replay 测试。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。