bobleer/dsh-acp-for-bitfun
BitFun 与 DSH ACP 交互对接 插件
Project Overview项目介绍
This is a DSH-native plugin bundle built exclusively for integrating the BitFun agent into DeepSeek Harness sessions via the Agent Client Protocol v1 over stdio. It lets any DSH conversation delegate tasks to BitFun as a subagent using the default tool name subagent_bitfun, which is visible to the DSH-hosted LLM. The plugin reuses DSH’s official ACP client and subagent tool mounting logic, spawning a fresh BitFun ACP server process for every new task, then streams output back to the DSH session after completing the full ACP handshake.
The plugin is targeted at developers who already use both DSH and BitFun, and want to keep their workflow contained within a single DSH session without switching between tools manually. To use it, you just need to instruct the DSH LLM to call the subagent_bitfun tool with your task requirements, and the plugin will handle all process management and protocol communication automatically. You do not need to open a separate BitFun window or session to get BitFun’s output, as everything is routed back to your current DSH conversation.
Before installation, you need to have BitFun CLI version 0.2.17 or higher, DSH version 0.1.0-rc.6 or higher, and the pnpm package manager installed on your system. You should first verify that BitFun’s ACP server is working correctly by running bitfun acp doctor to pass the self-check. To install, run dsh plugin --profile web add dsh-acp-for-bitfun, then you can customize settings including BitFun’s executable path, tool name, and permission policy in DSH’s cordis.patch.yml config file. The plugin is open-source under the MIT license, and fails loudly on startup if BitFun is not detected.
这是一个专门为DeepSeek Harness(DSH)开发的原生插件包,作用是通过基于标准IO的ACP v1协议将BitFun代理接入DSH,让DSH会话中的模型可以通过subagent_bitfun工具,将任务委托给BitFun作为子代理执行。本插件复用了DSH官方提供的ACP客户端和子代理工具挂载逻辑,每次委托任务都会生成一个全新的BitFun ACP子进程,完成协议握手后流式收集BitFun的输出结果。
对于需要在DSH会话中调用BitFun的专业能力完成特定开发或任务处理的开发者来说,这个插件可以省去手动切换工具的麻烦,直接在当前DSH会话上下文中完成任务分发与结果收集。用户只需要在DSH聊天中提示模型调用该工具,将具体任务需求交给模型和BitFun处理即可,不需要额外开启独立的BitFun会话。
本插件依赖已安装的BitFun CLI(要求版本≥0.2.17)、DSH(要求版本≥0.1.0-rc.6)以及pnpm包管理器,用户需要先确保BitFun通过bitfun acp doctor自检。插件支持自定义配置可执行文件路径、工具名、权限策略等选项,加载时会自动检查BitFun是否存在,缺失会直接报错,项目采用MIT许可协议开源。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-acp-for-bitfun(bobleer/dsh-acp-for-bitfun)
仓库:https://github.com/bobleer/dsh-acp-for-bitfun
本站详情页:https://www.yhbd.top/plugins/bobleer-dsh-acp-for-bitfun/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 10 · 最近提交 2026-08-13 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 10 stars - an early-stage project星标 10,属于早期项目
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 dsh-acp-for-bitfun
把 bobleer/dsh-acp-for-bitfun 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-acp-for-bitfun
BitFun 支持 ACP deepseek-harness。
一个 DeepSeek Harness (dsh) 插件 bundle:
通过 Agent Client Protocol (ACP) v1 over stdio 把 BitFun
接入 dsh,作为 dsh 会话的 subagent。dsh 里任意会话都可以用 subagent_bitfun
工具把任务委托给 BitFun 执行。
工作原理
dsh 会话 ──subagent_bitfun 工具──▶ dsh-subagent-acp (ACP 客户端)
│ 每个任务 spawn 一个独立进程
▼
bitfun acp (ACP server, stdio JSON-RPC)
│
▼
BitFun Agent Runtime
- 本 bundle 复用 dsh 官方的
@deepseek-ai/dsh-subagent-acp作为 ACP 客户端:每次委托启动一个全新的bitfun acp子进程,完成initialize → session/new → session/prompt并流式收集agent_message_chunk。 - 工具通过
@deepseek-ai/dsh-tool-subagent挂载,模型见到的工具名默认为subagent_bitfun。 - 任务结束时关闭子进程 stdin(EOF 宽限 6s → SIGTERM → SIGKILL),BitFun 子进程 在 SIGTERM 下立即退出,会话数据由 BitFun 自身持久化。
前置条件
- BitFun CLI:安装后确认
bitfun acp doctor通过(BitFun 的 ACP server 内置于 CLI)。 - dsh:
npx @deepseek-ai/dsh --version, 需要>= 0.1.0-rc.6(与依赖的 subagent 包版本匹配)。 - pnpm:
dsh plugin通过 pnpm 安装 bundle。
安装
# 把 bundle 加进你的 dsh profile(从 npm 或本地目录)
dsh plugin --profile web add dsh-acp-for-bitfun
# 或者从本地 checkout 安装
dsh plugin --profile web add ./dsh-acp-for-bitfun
# 启动
dsh web
加载时插件会用 bitfun --version 探测 BitFun CLI:不在 PATH 上时启动直接失败
(fail loud),错误信息会提示安装 BitFun 或配置绝对路径。
配置
在 profile 的 cordis.patch.yml($DSH_HOME/profiles/<name>/cordis.patch.yml)里
按 id 覆盖:
- id: bitfun-acp
name: dsh-acp-for-bitfun
config:
command: /absolute/path/to/bitfun # 默认 'bitfun'(PATH 解析)
providerName: bitfun # 默认 'bitfun'
toolName: subagent_bitfun # 默认 'subagent_bitfun'
permission: reject # 'reject' | 'allow'
acpArgs: ['acp'] # 默认 ['acp']
env: {} # 传给 BitFun 子进程的额外环境变量
checkOnStart: true # 加载时探测 bitfun,缺失则启动失败
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Nwflower/dsh-chat-import
PolinniZhong/dsh-knit
MichengAI/dsh-automation
titanwings/dsh-plannotator
AHGGG/dsh-side-chat
iyllyt/dsh-btw