not-big-dog/DSH-pipeline-kernel 预览 preview

not-big-dog/DSH-pipeline-kernel

Plugin插件 Native原生 ⭐ 30 MIT Subagents & Orchestration子代理与编排

Project Overview项目介绍

This repository is a native Cordis plugin built exclusively for DeepSeek Harness (DSH), acting as the management kernel for multi-agent pipelines within DSH. It provides a full set of core management features including a task board, ledger tracking, pipeline deployment, a role registry, automatic watchdog monitoring, packaging and reuse of existing pipelines, and a web-based control panel. The kernel is intentionally designed to be pipeline-agnostic, meaning it does not include any pre-built business logic or default pipelines, and all pipelines must be defined and deployed by the end user. It automatically adapts to DSH's language settings and switches between Chinese and English for UI and documentation.

After installation, users follow a standard workflow to get started: first you define your custom pipeline configuration via the pipeline_define tool, then deploy the pipeline to your DSH instance with pipeline_deploy. Next you seed role sessions to the pipeline with pipeline_seed, which automatically creates sessions for unregistered roles and updates the registry. Once the pipeline is ready, you push tasks to it, and then tasks flow through the pipeline via claims, completion, and automatic routing to the next role in the chain. The built-in control panel gives you a visual overview of all running pipelines and their task statuses, and it supports common operations like creating new pipelines and archiving completed ones.

To run this plugin, you need DeepSeek Harness version 0.1.0-rc.8 or newer, and the plugin depends on Cordis 4.x. You can install it either by manually adding the package reference to your DSH profile's package.json file and adding it to the bundles list, or by running the CLI command dsh plugin --profile web add <path-to-package>. After installation, you must restart the DSH web interface and create a new session for the pipeline_* tools to load correctly. Starting from version 0.8, the automatic watchdog monitoring feature is enabled by default, and it can be configured or disabled via the cordis.patch.yml file. The plugin is released under the permissive open source MIT license.

本项目是DeepSeek Harness(DSH)专属的原生Cordis插件,为DSH提供多Agent管线管理内核能力,包含任务看板、台账管理、管线部署、注册表、巡检监控、打包复用、控制面板等核心功能。它是管线无关的管理内核,不绑定任何具体业务,默认也没有预置管线,所有管线都由使用者自行定义与部署,适配DSH的多语言设置,自动跟随DSH切换界面和文档语言。

用户使用本插件的典型工作流,从通过pipeline_define命令定义自定义管线开始,之后通过pipeline_deploy完成部署,再通过pipeline_seed初始化角色会话,接着向管线投递任务,再通过认领、完成、自动路由完成任务流转。插件配套的Web控制面板提供可视化界面,可以查看所有活跃管线和任务状态,也支持新建管线、归档旧管线等操作。本插件面向需要在DSH上构建和管理自定义多Agent工作流的开发者和团队使用。

本插件要求DeepSeek Harness 0.1.0-rc.8及以上版本才可运行,依赖Cordis 4.x。可通过手动向DSH配置文件package.json添加依赖,或执行命令dsh plugin --profile web add <包路径>完成安装。安装后需要重启DSH Web并创建新会话才可加载插件工具,它以MIT开源许可证发布,从v0.8版本起巡检功能默认开启。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 30 stars - an early-stage project星标 30,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:not-big-dog/DSH-pipeline-kernel

把 not-big-dog/DSH-pipeline-kernel 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

pipeline-kernel

DeepSeek Harness (DSH) 插件(Cordis)| 多 Agent 管线管理内核:任务板 / 台账 / 部署 / 注册表 / 巡检 / 打包复用 / 控制面板 A DSH (DeepSeek Harness) Cordis plugin — the management kernel for multi-agent pipelines: task board / ledger / deployment / registry / watchdog / packaging & reuse / control panel.

pipeline-kernel 是管线无关的管理内核:管线 = 配置数据(pipelines 表一行,用 pipeline_define 定义),内核不绑定任何具体业务。默认无预置管线,由使用者自行定义与部署。

The kernel is pipeline-agnostic: a pipeline is just a config row (defined via pipeline_define); no business is baked in. There is no preset pipeline — define and deploy your own.

English · 中文


中文

定位

  • 内核 = 管线无关的管理能力(通讯 / 台账 / UI 三大职责,见 docs/);管线 = 数据(配置行)
  • 业务能力(生图、视频等)是管线内部设置,不进内核
  • 多语言:UI 与文档自动跟随 DSH 语言设置(中文 / English)

安装

// C:\Users\<you>\.dsh\profiles\web\package.json → dependencies
"dsh-pipeline-kernel": "link:<本包路径>"
// bundles 列表加入 "dsh-pipeline-kernel"

或 dsh plugin --profile web add <本包路径>。重启 dsh web 后,新会话带 pipeline_* 工具(存量会话工具目录固定,需重建会话)。

依赖要求(v0.9+):宿主 deepseek-harness 0.1.0-rc.8 及以上(本插件自身锁定 ^0.1.0-rc.8,cordis 4.x)。开发/CI 用 pnpm install --frozen-lockfile。

快速开始

  1. 定义管线:pipeline_define {id:"my-pipe", roles:{supervisor:{preset:"pipeline-supervisor"}, ...}, chain:["supervisor",...], gates:{...}}
  2. 起链:pipeline_deploy {pipelineId:"my-pipe"}
  3. 播种角色会话:pipeline_seed {pipelineId:"my-pipe"}(按定义给未注册角色创建会话,自动写注册表)
  4. 投任务:pipeline_push {title, description, tags:["target:<角色>","task:<编号>","attempt:1"]}
  5. 流转:pipeline_list → pipeline_claim → pipeline_done {result:"done route:<角色|UID> 产物:..."}(内核自动路由下一环)
  6. 看全景:pipeline_status

控制面板(Web UI)

右下角 pipeline 胶囊按钮 → 展开右侧全高侧栏:

  • 活动:各管线运行摘要(角色状态 / 进行中任务 / 最近完成 / 失败置顶)
  • 管线:管线一等实体(Graph 缩略图 / KPI / 打包产物);点击任务展开 Task Inspector
  • 新建:定义新管线(工作文件夹必选,走系统目录选择器)
  • 归档:冷存储——归档不删除数据,可恢复;永久删除仅在归档箱内、需输入管线 id 确认

巡检(watchdog)

v0.8 起 默认开启(无需配置):每 5 分钟扫描 open 任务补唤醒(同任务 10 分钟冷却)、done 但路由未完成(僵尸)自愈补投、全链静止 30 分钟汇报主管。无管线/无任务时零噪音。如需调整或关闭,在 cordis.patch.yml 覆写:

# c:\users\<you>\.dsh\profiles\web\cordis.patch.yml
pipeline-kernel:
  watchdogEnabled: false          # 关闭巡检(默认 true)
  watchdogIntervalMs: 300000      # 巡检周期(默认 5 分钟)
  watchdogStallMs: 1800000        # 全链静止判定(默认 30 分钟)
  watchdogWakeCooldownMs: 600000  # 同任务补唤醒冷却(默认 10 分钟)
  watchdogReportCooldownMs: 1800000

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-whale-report 下一个 Next clutch-dsh →