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:
parent
060bd6fed7
commit
ddf5e26806
|
|
@ -830,7 +830,6 @@ export async function forwardSessionUpdates(
|
|||
clientCapabilities,
|
||||
cwd,
|
||||
parentToolUseId,
|
||||
streamingActive,
|
||||
},
|
||||
)
|
||||
for (const notification of notifications) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user