deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
dsh-plugin-sirchmunk is a DSH-native web plugin that adds a Sirchmunk section to the DSH settings interface. The section provides one place to inspect knowledge graphs, manage clusters, review shared history, monitor runtime metrics, and configure privacy controls.
The current UI uses a local Sirchmunk service health endpoint at http://localhost:8584/api/v1/health. Graph, cluster, history, and metrics data are represented by the API adapter in src/services/api.ts, which can be connected to the production backend without changing the DSH plugin entry points.
The package follows the DSH host/client split:
cordis.patch.yml
└─ registers dsh-plugin-sirchmunk as the sirchmunk bundle entry
lib/index.js
└─ host entry: exports name and apply(ctx)
lib/client.js
└─ browser entry: window.__ModuleLoader__.load(...)
└─ apply(ctx)
└─ settings.section / sirchmunk / order 35
└─ src/App.tsx
├─ graph view
├─ cluster manager
├─ shared history
├─ runtime metrics
└─ privacy and permission settings
React and ReactDOM are peer dependencies supplied by the DSH runtime. The browser build treats both packages as external dependencies, so they are not embedded in the published client bundle.
settings.section slot with ID sirchmunk and order 35.sirchmunk-search): provides a standardized skill that allows users and agents to actively query local knowledge and documents across 100+ file formats (PDF, DOCX, XLSX, Markdown, code, etc.) using the Sirchmunk MCP search tool (mcp__sirchmunk__sirchmunk_search). Supports FAST, DEEP, and FILENAME_ONLY modes.Install the package in the same Node.js package environment used by the DSH host:
npm install dsh-plugin-sirchmunk
The package metadata points DSH to cordis.patch.yml, the host entry at lib/index.js, and the web client entry at lib/client.js. Restart the DSH host after installation so that it can apply the bundle patch and load the browser module. The settings interface will then expose Sirchmunk in the settings.section slot.
Build the project and install its directory into the DSH package environment:
cd /path/to/dsh-plugin-sirchmunk
npm install
npm run build
cd /path/to/your/dsh-package-environment
npm install /path/to/dsh-plugin-sirchmunk
Restart DSH after replacing or upgrading a local build.
Requirements:
http://localhost:8584Install dependencies and start the Vite development server:
npm install
npm run dev
Run static type checking and create the DSH package entries:
npm run typecheck
npm run build
The build produces:
lib/index.js: ESM host entry.lib/client.js: CommonJS client bundle wrapped by window.__ModuleLoader__.load.Create and inspect the exact npm publication archive before publishing:
npm pack --dry-run
npm publish runs the prepack script, which rebuilds both entries before npm creates the archive.
dsh-plugin-sirchmunk 是一个 DSH 原生 Web 插件,用于在 DSH 设置界面中注册 Sirchmunk 设置区域。该页面集中提供知识图谱、聚类管理、共享历史、运行监控以及隐私与权限设置。
当前 UI 会通过 http://localhost:8584/api/v1/health 检查本地 Sirchmunk 服务状态。图谱、聚类、历史和监控数据通过 src/services/api.ts 中的 API 适配层访问,后续可在不改动 DSH 插件入口的前提下接入生产后端。
该包按照 DSH 的 Host/Client 双入口模式组织:
cordis.patch.yml
└─ 将 dsh-plugin-sirchmunk 注册为 sirchmunk bundle 入口
lib/index.js
└─ Host 入口:导出 name 和 apply(ctx)
lib/client.js
└─ Browser 入口:window.__ModuleLoader__.load(...)
└─ apply(ctx)
└─ settings.section / sirchmunk / order 35
└─ src/App.tsx
├─ 图谱视图
├─ 聚类管理
├─ 共享历史
├─ 运行监控
└─ 隐私和权限设置
React 和 ReactDOM 由 DSH 运行时提供,并作为 peer dependency 声明。Browser 构建会将它们外置,不将 React 运行时打入发布包。
settings.section slot 注册,ID 为 sirchmunk,顺序为 35。sirchmunk-search): 提供内置的技能规范,支持使用者或 Agent 主动调用 Sirchmunk MCP 检索工具(mcp__sirchmunk__sirchmunk_search)对本地文档与知识库进行跨格式(PDF、Word、Excel、PPTX、Markdown、代码等 100+ 种格式)查询,支持 FAST 快速匹配、DEEP 深度大模型综合分析与 FILENAME_ONLY 仅文件名匹配模式。在 DSH Host 使用的 Node.js 包环境中安装:
npm install dsh-plugin-sirchmunk
包元数据会将 DSH 指向 cordis.patch.yml、Host 入口 lib/index.js 和 Web Client 入口 lib/client.js。安装后重启 DSH Host,使其应用 bundle patch 并加载浏览器模块。加载成功后,设置界面的 settings.section 会出现 Sirchmunk。
先构建项目,再将项目目录安装到 DSH 的包环境:
cd /path/to/dsh-plugin-sirchmunk
npm install
npm run build
cd /path/to/your/dsh-package-environment
npm install /path/to/dsh-plugin-sirchmunk
替换或升级本地构建后需要重启 DSH。
环境要求:
http://localhost:8584 的 Sirchmunk 后端安装依赖并启动 Vite 开发服务:
npm install
npm run dev
运行静态类型检查并生成 DSH 发布入口:
npm run typecheck
npm run build
构建产物:
lib/index.js:ESM Host 入口。lib/client.js:由 window.__ModuleLoader__.load 包裹的 CommonJS Client bundle。发布前生成并检查 npm 实际打包清单:
npm pack --dry-run
npm publish 会自动执行 prepack,在 npm 生成发布包之前重建两个入口。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。