mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-23 00:35:51 +00:00
fix: ACP 模式加载 agent 定义并透传 subagent 层级信息
- agent.ts: session 创建时调用 getAgentDefinitionsWithOverrides 加载内置 subagent(Explore/Plan/General-Purpose 等),注入 appState 和 engineConfig - bridge.ts: assistantMessageToAcpNotifications 调用时补上 parentToolUseId, 使 subagent 内部工具调用的 _meta 中携带父级标记
This commit is contained in:
@@ -827,6 +827,7 @@ export async function forwardSessionUpdates(
|
||||
{
|
||||
clientCapabilities,
|
||||
cwd,
|
||||
parentToolUseId,
|
||||
},
|
||||
)
|
||||
for (const notification of notifications) {
|
||||
|
||||
Reference in New Issue
Block a user