SIGN IN SIGN UP

Update GitHub Copilot npm and permission handling (#313364)

* update github copilot npm and update permission handling to use 'approve-once' instead of 'approved'

* Updates

* Fix permissionHelpers tests: update 'approved' to 'approve-once' and fix conditional check

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/6e5d31b2-034c-4c94-8145-c6a5c7c9c81b

Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

* Add setPermissionsRequired to MockCliSdkSession test helper

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/25f015e8-12a6-41d3-84b5-26cc1ef86ea1

Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
D
Don Jayamanne committed
3b2b5e066d37893a282cdc9c0e54f0c6761ade1c
Parent: 498fb0e
Committed by GitHub <noreply@github.com> on 4/30/2026, 2:07:15 AM