xun404/dsh-pihuo-plugins

PiHuo:DeepSeek Harness插件,将本地ACP进程作为聊天工作进程运行

项目介绍Project Overview

PiHuo 是 DeepSeek Harness 的树外插件,运行在 Cordis 上,无需改源码。它把本机 ACP 进程接入会话作为 Worker,由 PiHuo Leader 调度,支持从官方目录添加、信任 Worker,现场探测模型与思考能力,并按对话组建团队、分配角色。Leader 仅调度,不访问本机会话的文件或 Shell。适用于想在 dsh 中编排多个 ACP 代理的场景;目前为开发者预览,未来可能有破坏性变更。

PiHuo is an out-of-tree plugin for DeepSeek Harness, built on Cordis without modifying harness source. It connects local ACP processes as Workers in a session, scheduled by a PiHuo Leader. It can add and trust Workers from the official ACP catalog, probe models and thinking capabilities live, and assign roles per conversation. The Leader only orchestrates and does not use the local session’s files or shell. Use it to coordinate multiple ACP agents in dsh; it is a developer preview and may introduce breaking changes.

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

命令行安装CLI Install

dsh plugin --profile web add @pihuo/dsh-pihuo

xun404/dsh-pihuo-plugins 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

PiHuo

English | 中文

PiHuo 是一组 DeepSeek Harnessdsh树外插件。它把本机 ACP 进程接到会话里当 Worker,由 Leader 调度。

架构上 一切皆插件,运行在 Cordis 上,不改 harness 源码。

开发者预览

目前处于开发者预览,跟随 dsh 快速迭代。未来可能出现破坏兼容性的变更。

安装

需要 Node.js 22+,以及已安装的 DeepSeek Harness。

通过 npm

dsh plugin --profile web add @pihuo/dsh-pihuo
dsh web

Web UI 默认在 http://127.0.0.1:3080/

打开设置里的 ACP Worker,从官方目录添加 Worker 并勾选信任。新会话选用 PiHuo Leader

预发布(npm dist-tag next):

dsh plugin --profile web add @pihuo/dsh-pihuo@next

组合包:@pihuo/dsh-pihuo

从源码

git clone https://github.com/xun404/dsh-pihuo-plugins.git
cd dsh-pihuo-plugins
pnpm install
pnpm test
pnpm typecheck
pnpm build
node scripts/write-dev-patch.mjs /tmp/dsh-pihuo-web.patch.yml
npx --yes @deepseek-ai/dsh web --patch /tmp/dsh-pihuo-web.patch.yml

浏览器打开 http://127.0.0.1:3080/

能力

  • 从官方 ACP 目录添加 Worker;本机未装时可先安装再保存
  • 启用、信任、模型和思考都走现场 ACP 探测
  • PiHuo Leader 只调度,不使用本机会话的文件或 Shell
  • 每个对话可组建团队:给已注册 Worker 分配角色、模型和思考
  • Leader 调用 acp_worker 会自动入座
  • 执行卡片按到达顺序展示思考、工具和答复

社区与支持

开发

面向 agent:请遵循 AGENTS.md。进度以 HANDOVER.md 为准。

推送 vX.Y.Z tag 会把 packages/* 发到 npmjs。预发布 tag(如 v0.1.0-rc.1)走 dist-tag next

许可证

MIT

上一个 Prev DSH-Pet-Companion 下一个 Next dsh-approve-for-me