@@ -54,8 +54,11 @@ main() {
54
54
export BUILD_SOURCEVERSION
55
55
BUILD_SOURCEVERSION=$( git rev-parse HEAD)
56
56
57
- # Add the date, our name, links, and enable telemetry (this just makes
58
- # telemetry available; telemetry can still be disabled by flag or setting).
57
+ # Add the date, our name, links, enable telemetry (this just makes telemetry
58
+ # available; telemetry can still be disabled by flag or setting), and
59
+ # configure trusted extensions (since some, like github.copilot-chat, never
60
+ # ask to be trusted and this is the only way to get auth working).
61
+ #
59
62
# This needs to be done before building as Code will read this file and embed
60
63
# it into the client-side code.
61
64
git checkout product.json # Reset in case the script exited early.
@@ -87,7 +90,13 @@ main() {
87
90
"tipsAndTricksUrl": "https://go.microsoft.com/fwlink/?linkid=852118",
88
91
"newsletterSignupUrl": "https://www.research.net/r/vsc-newsletter",
89
92
"linkProtectionTrustedDomains": [
90
- "https://open-vsx.org"
93
+ "https://open-vsx.org",
94
+ "https://*.github.com"
95
+ ],
96
+ "trustedExtensionAuthAccess": [
97
+ "vscode.git", "vscode.github",
98
+ "github.vscode-pull-request-github",
99
+ "github.copilot", "github.copilot-chat"
91
100
],
92
101
"aiConfig": {
93
102
"ariaKey": "code-server"
0 commit comments