@@ -653,6 +653,19 @@ index 87a3b99c70..09e2c93172 100644
653
653
}
654
654
655
655
// Node: AMD loader
656
+ diff --git a/src/vs/platform/product/common/productService.ts b/src/vs/platform/product/common/productService.ts
657
+ index 266aa69fc6..243baa407b 100644
658
+ --- a/src/vs/platform/product/common/productService.ts
659
+ +++ b/src/vs/platform/product/common/productService.ts
660
+ @@ -25,6 +25,8 @@ export interface IBuiltInExtension {
661
+ export type ConfigurationSyncStore = { url: string, authenticationProviders: IStringDictionary<{ scopes: string[] }> };
662
+
663
+ export interface IProductConfiguration {
664
+ + readonly codeServerVersion: string;
665
+ +
666
+ readonly version: string;
667
+ readonly date?: string;
668
+ readonly quality?: string;
656
669
diff --git a/src/vs/platform/remote/browser/browserSocketFactory.ts b/src/vs/platform/remote/browser/browserSocketFactory.ts
657
670
index d0f6e6b18a..1966fd297d 100644
658
671
--- a/src/vs/platform/remote/browser/browserSocketFactory.ts
@@ -1328,10 +1341,10 @@ index 0000000000..56331ff1fc
1328
1341
+ require('../../bootstrap-amd').load('vs/server/entry');
1329
1342
diff --git a/src/vs/server/ipc.d.ts b/src/vs/server/ipc.d.ts
1330
1343
new file mode 100644
1331
- index 0000000000..d4771351de
1344
+ index 0000000000..0a9c95d50e
1332
1345
--- /dev/null
1333
1346
+++ b/src/vs/server/ipc.d.ts
1334
- @@ -0,0 +1,116 @@
1347
+ @@ -0,0 +1,117 @@
1335
1348
+ /**
1336
1349
+ * External interfaces for integration into code-server over IPC. No vs imports
1337
1350
+ * should be made in this file.
@@ -1434,6 +1447,7 @@ index 0000000000..d4771351de
1434
1447
+ };
1435
1448
+ readonly remoteUserDataUri: UriComponents;
1436
1449
+ readonly productConfiguration: {
1450
+ + codeServerVersion?: string;
1437
1451
+ readonly extensionsGallery?: {
1438
1452
+ readonly serviceUrl: string;
1439
1453
+ readonly itemUrl: string;
@@ -3185,6 +3199,25 @@ index f2ca5011dd..4683e80a68 100644
3185
3199
} catch (e) {
3186
3200
console.error('Could not rewrite csp');
3187
3201
}
3202
+ diff --git a/src/vs/workbench/services/dialogs/browser/dialogService.ts b/src/vs/workbench/services/dialogs/browser/dialogService.ts
3203
+ index 6b42535bff..88b7e3c3ea 100644
3204
+ --- a/src/vs/workbench/services/dialogs/browser/dialogService.ts
3205
+ +++ b/src/vs/workbench/services/dialogs/browser/dialogService.ts
3206
+ @@ -124,11 +124,12 @@ export class DialogService implements IDialogService {
3207
+ async about(): Promise<void> {
3208
+ const detailString = (useAgo: boolean): string => {
3209
+ return nls.localize('aboutDetail',
3210
+ - "Version: {0}\nCommit: {1}\nDate: {2}\nBrowser: {3}",
3211
+ + "code-server: v{4}\n VS Code: v{0}\nCommit: {1}\nDate: {2}\nBrowser: {3}",
3212
+ this.productService.version || 'Unknown',
3213
+ this.productService.commit || 'Unknown',
3214
+ this.productService.date ? `${this.productService.date}${useAgo ? ' (' + fromNow(new Date(this.productService.date), true) + ')' : ''}` : 'Unknown',
3215
+ - navigator.userAgent
3216
+ + navigator.userAgent,
3217
+ + this.productService.codeServerVersion || 'Unknown',
3218
+ );
3219
+ };
3220
+
3188
3221
diff --git a/src/vs/workbench/services/environment/browser/environmentService.ts b/src/vs/workbench/services/environment/browser/environmentService.ts
3189
3222
index 7ed6e9e21a..223fa72662 100644
3190
3223
--- a/src/vs/workbench/services/environment/browser/environmentService.ts
0 commit comments