Files
6a709005a4 fix(acp): 修复文件回复的调用上下文与原始消息定位 (#2937)
* fix(acp): 修复文件回复的调用上下文与原始消息定位

* style(acp): 修正上下文回归测试的 Ruff 格式

* fix(acp): send ACP-shaped MCP descriptors and dispatch daemon MCP calls concurrently

- Serialize MCP servers for ACP through one shared helper so HTTP headers and
  stdio env are always [{name, value}] arrays (local and daemon paths alike);
  OpenCode rejects session/new with -32602 when headers is missing.
- Dispatch daemon mcp.request in its own task inside the owning job's
  Context so a slow tool call no longer blocks pings, run events or other
  jobs on the same daemon socket; cancel in-flight calls on disconnect after
  the daemon ID is released.
- Keep runtime internals out of the public Runner API docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

---------

Co-authored-by: Junyan Qin (Chin) <rockchinq@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-11-10 12:17:09 +08:00
..