const { requestUserInput } = window.aparte;
// Offer "always" only when your app has somewhere to remember it, and say what it reaches.
requestUserInput({
kind: 'approval',
message: 'Run run_command?',
details: 'git status',
options: [
{ value: 'approve', label: 'Allow once' },
{ value: 'approve-always', label: 'Always allow', description: 'git status, in this workspace' },
{ value: 'reject', label: 'Reject', tone: 'deny' },
],
}).catch(() => {});