Repository navigation
docs: explain pi built-in subagents and how to disable them - #2380
Conversation
[bot] 🏷 PR #2380 审查结论(docs-only,纯插入 +36 行,基线即当前 master 逐条事实核对(全部对源码验证过):
diff 整洁度:2 文件、36 插入 0 删除, 重复筛查:无重复的开放 PR;相关已合并工作(#2221 内联、#2230 配置家)是功能本身,本 PR 补的是入口文档缺口(#2379),方向正确。 CI:已完成的全部检查绿(docs-sync、docs-coverage、kernel-guard、lane-guard、build-artifact、version-guard、unused-exports、全部 real-client e2e lane、hermetic registry e2e);4 个 test 矩阵作业仍在跑,完成后应全绿(作者本地唯一失败为环境继承 结构化八问
判定:可合(待 4 个 in-progress test 作业跑完转绿;合并由人工执行)。 |
|
是不是放错了位置?可以在 pi 安装插件的地方提一嘴 然后详情放到后面 不影响主要流程 |
Per review feedback: keep the entry flow (client table -> Install -> Quickstart) uninterrupted. One-line mention with anchor link in the Option 1 native-plugin notes where pi installs are documented; full details moved to a 'Pi built-in subagents' subsection at the end of the Configuration section. Content unchanged, en/zh mirrored.
[bot] 🏷 已按意见调整并推送到 PR 分支(增量提交 调整内容(en/zh 对称):
验证: 结构化八问
PR 现为 mergeable(behind 的仅是 v0.1.188 release 提交,未触碰 README,无需 rebase);CI 在新 head 上重跑中。判定:待 CI 转绿后可合(合并人工执行)。 |
[bot] 🏷 补充:新 head |
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.135-master.0812344 # this exact build
npm install -g billion-context@master # always the newest merged build
|
Closes #2379
pi 用户在 README 安装入口看不到默认内置的子代理功能,容易继续启用其他 subagent 插件,也不容易找到只关闭子代理、保留上下文压缩的方法。
本 PR 在中英文 README 的客户端选择表后同步增加说明:
bili pi和 pi 原生插件默认自带acp_delegate、acp_delegate_wait、acp_delegate_cancel。pi-subagents的自动让位保护与仅有用户级安装时的区别。{"pi":{"subagents":false}}的完整配置示例、配置文件位置、BILI_CONFIG_FILE覆盖方式,以及重启 pi 并开启新会话的生效条件。说明上下文压缩继续启用,独立插件需要分别处理。仅修改 README.md 和 README.zh-CN.md,共新增 36 行;链接现有中英文配置参考,不改变运行行为或配置结构。
验证:
#pi锚点存在、代码块闭合、git diff --check。tests/web-routing.test.ts中 Web 代理设置测试:本机继承的BILI_UPSTREAM_PROXY按既有优先级覆盖了测试设置的地址。在复测子进程中移除该变量后,该文件的 8 项测试全部通过;未修改任何源码或测试。1716212。