Explore to support desktop notifications when in agent mode (#251621) (#255643)

This commit is contained in:
Benjamin Pasero
2025-07-14 13:45:53 +02:00
committed by GitHub
parent 6a2aa04439
commit b50ac5ac92
9 changed files with 90 additions and 32 deletions

View File

@@ -168,7 +168,7 @@ export class CodeApplication extends Disposable {
const isUrlFromWindow = (requestingUrl?: string | undefined) => requestingUrl?.startsWith(`${Schemas.vscodeFileResource}://${VSCODE_AUTHORITY}`);
const isUrlFromWebview = (requestingUrl: string | undefined) => requestingUrl?.startsWith(`${Schemas.vscodeWebview}://`);
const alwaysAllowedPermissions = new Set(['pointerLock']);
const alwaysAllowedPermissions = new Set(['pointerLock', 'notifications']);
const allowedPermissionsInWebview = new Set([
...alwaysAllowedPermissions,