xun404/dsh-pihuo-plugins--packages-acp-worker ↗★ 1
@pihuo/dsh-pihuo-acp-worker
Host plugin: register pihuo-acp on ctx.subagents
AI 分析
核心用途是为 DSH 注册 ACP 1.2 子进程供应器。适合需要运行本地 ACP 智能体工人的用户。必要条件是运行时需由 DSH profile 提供相关未公开的依赖包。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
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
| Field | Default | Notes |
|---|---|---|
providerName | pihuo-acp | Do not use first-party acp. |
command | required | Child executable. |
args | [] | Must be non-empty at start() — empty refuses so a bare node cannot hang. |
cwd | parent session cwd | Absolute after load. |
env | {} | Merged after the subprocess seam scrubs parent env. |
disposeGraceMs | 3000 | SIGTERM→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.