xun404/dsh-pihuo-plugins--packages-acp-worker1

@pihuo/dsh-pihuo-acp-worker

Host plugin: register pihuo-acp on ctx.subagents

包名
@pihuo/dsh-pihuo-acp-worker
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@pihuo/dsh-pihuo-acp-worker

Host plugin. Registers ctx.subagents provider pihuo-acp (config providerName).

Phase 1: every start() spawns a new ACP 1.2 child. Session reuse is phase 2.

inject: subagents, subprocess.

At runtime the dsh profile supplies @deepseek-ai/cordis, @deepseek-ai/dsh-session, @deepseek-ai/dsh-subagent, and @deepseek-ai/dsh-subprocess. They are not declared as peers here because those packages are not on the public npm registry.

Config

FieldDefaultNotes
providerNamepihuo-acpDo not use first-party acp.
commandrequiredChild executable.
args[]Must be non-empty at start() — empty refuses so a bare node cannot hang.
cwdparent session cwdAbsolute after load.
env{}Merged after the subprocess seam scrubs parent env.
disposeGraceMs3000SIGTERM→SIGKILL grace.

Local mock:

command: node
args:
  - /absolute/path/to/packages/acp-protocol/bin/mock-acp-agent.mjs

scripts/write-dev-patch.mjs writes that overlay.