Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(mcp): resolve accepted HTTP acknowledgements

vastsa324dffcf301e
diff --cc docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index 5a642745f,5dbe4aa6a..707733a36
--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
@@@ -8286,23 -8271,20 +8292,41 @@@ the latest destination. These assertion
- **限制:** OS 根证书的纳入在不安装根证书的条件下检查。TLS 成功夹具只使用
子进程额外 CA,不复现某个具体杀毒软件安装,也不宣称已完成 macOS/Linux 实机验证。
+### E2E-CHAT-turn-process-and-thinking-display
+
+- **先决条件:** 一个回合包含进度段落 A、多次搜索及思考、进度段落 B、多条命令及
+ 思考和最终回答;详细与紧凑显示模式。
+- **步骤:** 在详细模式静态审查嵌套披露路径,包括相互独立的组/条目切换、父级收起
+ 与恢复、单项片段、字面最后一项选择、失败/被拒/恢复和保留窗格重新挂载。
+ 随后在紧凑模式重复,并覆盖权限/提问/计划/目标操作卡、中止的部分回答、
+ 助手错误和委派子任务。
+- **预期:** 两种模式都使用一个整体过程披露,并把最终回答、助手错误、中止后的末尾
+ 文字和待处理操作留在过程之外。详细模式的活动中/已完成过程默认展开;活动多项组
+ 展开,未操作组在完成时收起。紧凑模式的过程、组和载荷默认收起,隐藏推理;记录过
+ 失败/被拒工具的未操作活动过程会在恢复期间保持展开,并在完成后收起。单项没有组。
+ 详细模式只自动展开最后一个活动组中符合条件的字面最后工具/搜索项;不会越过思考
+ 向前查找,失败/被拒叶子保持关闭。父级、子级和同级状态相互独立;窗格拥有的用户
+ 选择跨更新、模式切换和重新挂载保留,渲染器重启后重新应用默认值。已保存模式跨重启
+ 保留,缺失或未知设置按详细模式处理。
+- **2026-09-20 变更的验证范围:** 本次变更只包含多级折叠与活动组呈现;精确转录搜索
+ 定位不在本次范围内,保持原有搜索行为。
+- **规格:** 04-ux/06-settings-ia、04-ux/08-component-spec、
+ 04-ux/09-interaction-patterns;ADR turn-process-and-thinking-display。
++
+ ### E2E-MCP-HTTP-ACK — HTTP acknowledgement and authorization status
+
+ - **Preconditions**: A local mock Streamable HTTP server returns JSON for
+ initialize, `202` with plain-text `Accepted` for notifications/initialized,
+ SSE for tools/list, and JSON for tools/call. No provider credentials needed.
+ - **Steps**: Connect, discover a tool, and call it. Render the MCP settings row
+ with idle, connecting, ready, non-authentication failure, and authentication
+ failure statuses, including an expired stored OAuth credential.
+ - **Expected**: The acknowledgement does not enter the JSON parser; discovery,
+ calls, and session headers remain functional. Only explicit authRequired
+ status shows the authorization-required badge. Non-authentication failures
+ retain their original error. Authentication failures remain actionable.
+ - **Specs**: 07-plugins/01-plugin-system §12.2; ADR 0038; ADR 0283.
+ - **Acceptance**: HTTP client integration and settings component rendering.
+ - **Milestone**: Maintenance.
+ - **Status**: Covered by the existing HTTP client integration fixture and a
+ focused component-render validation; no live IDA process required.