DSH Plugin Store
Back to home

Hanihahaha

deepseek-harness-plugins

No description

Stars
0
Language
JavaScript
Created
Aug 14, 2026
Updated
Aug 14, 2026
Skills
GitHub repo

Introduction

deepseek-harness-plugins

DeepSeek Harness(DSH)插件集合。

包含的插件

说明
packages/dsh-skill-mcp-manager在会话内管理 Harness 的 Skill 与 MCP 服务器;含 Web 设置页"技能与 MCP"可视化界面(设置 → 技能与 MCP)

安装插件到 profile

# 以 web profile 为例(相对路径会锚定到当前目录)
dsh plugin --profile web add ".\packages\dsh-skill-mcp-manager"
dsh --profile web --dump-config   # 验证组合后的条目树
# 重启 dsh web 后生效:模型工具、/skill-mgr、/mcp-mgr 命令、以及设置页 UI

插件包通过 package.jsondsh.bundle.patch 声明为 bundle 层,安装后自动激活;同时通过 dsh.client 声明 Web 客户端一半(lib/client.js),由 dsh-client-modules 编入 boot 图并提供,无需重新构建 DSH 前端。

开发

  • 每个插件包是标准 ESM 包,导出 { name, inject, Config, apply }(Cordis 插件契约);浏览器 half 为手写 lazy-CJS bundle(window.__ModuleLoader__.load),仅依赖 react 与现有客户端服务。
  • 根目录 node_modules 是指向 DSH 安装依赖的 junction,仅用于本地测试时的模块解析。
  • 冒烟测试:
    • node packages/dsh-skill-mcp-manager/test/smoke.mjs(宿主端工具 + 命令协议)
    • node packages/dsh-skill-mcp-manager/test/client-smoke.mjs(客户端 bundle 加载 / apply / 插槽注册 / 命令桥)