1086
effective = { ...e, state: { ...e.state, _meta: { ...toolCall?._meta, ...e.state._meta, ...toToolCallMeta({ autoApproveBySetting: true }) } } };
1087
} else if (autoApproval !== undefined) {
1089
>
agent.respondToPermissionRequest(e.state.toolCallId, true);
1090
>
// Strip confirmationTitle so createToolReadyAction emits the
1091
>
// auto-approved (no-options) action.
1092
>
effective = { ...e, state: { ...e.state, confirmationTitle: undefined } };
1093
} else if (effective.state.confirmationTitle) {
1094
// Make sure the agent is registered for the eventual `ChatToolCallConfirmed` response.