1130
const sdkToolName = str(request.toolName);
1131
if (args && sdkToolName && isShellTool(sdkToolName) && typeof args.command === 'string') {
1133
>
const command = args.command as string;
1134
>
return {
1135
>
confirmationTitle: shellConfirmationTitle,
1136
>
invocationMessage: getInvocationMessage(sdkToolName, getToolDisplayName(sdkToolName), { command }),
1137
>
toolInput: command,
1138
>
permissionKind: 'shell',
1139
>
permissionPath: path,
1140
>
};
1141
>
}
1142
return {
1143
confirmationTitle: localize('copilot.permission.default.title', "Allow tool call?"),