}
if (e.type === 'tool.execution_start') {
const parentToolCallId = resolveParentToolCallId(e.agentId, d.parentToolCallId);
const info = makeToolStartInfo(d.toolName, d.arguments, parentToolCallId, workingDirectory, d);
if (!info) {
continue;
}
const command = isString(info.parameters?.command) ? info.parameters.command : undefined;
if (isEditTool(d.toolName, command)) {
editToolCallIds.push(d.toolCallId);
}
}