showPermissionRequest method
Shows a permission request notification for a tool invocation.
Implementation
Future<void> showPermissionRequest(String tool, String input) async {
final notification = AppNotification(
id: _generateId(),
type: NotificationType.permission,
priority: NotificationPriority.high,
title: 'Permission Required',
body: '$tool needs approval',
metadata: {'tool': tool, 'input': input},
groupKey: 'permissions',
actions: [
const NotificationAction(label: 'Allow', isPrimary: true),
const NotificationAction(label: 'Deny'),
],
);
await show(notification);
}