From b11dabdaca0d3369986975be285db92c8795cea5 Mon Sep 17 00:00:00 2001 From: cdrci <78873720+cdrci@users.noreply.github.com> Date: Fri, 11 Sep 2026 06:38:15 +1000 Subject: [PATCH] Update Code to 1.137.0 (#8005) --- CHANGELOG.md | 6 ++++++ lib/vscode | 2 +- patches/clipboard.diff | 4 ++-- patches/external-file-actions.diff | 6 +++--- patches/getting-started.diff | 4 ++-- patches/local-storage.diff | 2 +- patches/update-check.diff | 12 ++++++------ patches/webview.diff | 2 +- 8 files changed, 22 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a108fb8f..ad158005a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,12 @@ Code v99.99.999 ## Unreleased +Code v1.137.0 + +### Changed + +- Update to Code 1.137.0 + ## [4.136.2](https://github.com/coder/code-server/releases/tag/v4.136.2) - 2026-09-08 Code v1.136.1 diff --git a/lib/vscode b/lib/vscode index a44adf7f5..645f29cc3 160000 --- a/lib/vscode +++ b/lib/vscode @@ -1 +1 @@ -Subproject commit a44adf7f53e00964ab890f9f8758a334f1fc15bc +Subproject commit 645f29cc3176500b4b5762ba887cf2a7f0ffdf2c diff --git a/patches/clipboard.diff b/patches/clipboard.diff index 9fcaa3b26..5517d968e 100644 --- a/patches/clipboard.diff +++ b/patches/clipboard.diff @@ -78,7 +78,7 @@ Index: code-server/lib/vscode/src/vs/platform/environment/common/argv.ts =================================================================== --- code-server.orig/lib/vscode/src/vs/platform/environment/common/argv.ts +++ code-server/lib/vscode/src/vs/platform/environment/common/argv.ts -@@ -147,6 +147,7 @@ export interface NativeParsedArgs { +@@ -148,6 +148,7 @@ export interface NativeParsedArgs { 'disable-chromium-sandbox'?: boolean; sandbox?: boolean; 'enable-coi'?: boolean; @@ -90,7 +90,7 @@ Index: code-server/lib/vscode/src/vs/platform/environment/node/argv.ts =================================================================== --- code-server.orig/lib/vscode/src/vs/platform/environment/node/argv.ts +++ code-server/lib/vscode/src/vs/platform/environment/node/argv.ts -@@ -115,6 +115,7 @@ export const OPTIONS: OptionDescriptions +@@ -116,6 +116,7 @@ export const OPTIONS: OptionDescriptions 'user-data-dir': { type: 'string', cat: 'o', args: 'dir', description: localize('userDataDir', "Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.") }, 'profile': { type: 'string', 'cat': 'o', args: 'profileName', description: localize('profileName', "Opens the provided folder or workspace with the given profile and associates the profile with the workspace. If the profile does not exist, a new empty one is created.") }, 'help': { type: 'boolean', cat: 'o', alias: 'h', description: localize('help', "Print usage.") }, diff --git a/patches/external-file-actions.diff b/patches/external-file-actions.diff index 02b83029f..f7261328f 100644 --- a/patches/external-file-actions.diff +++ b/patches/external-file-actions.diff @@ -48,8 +48,8 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi =================================================================== --- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts +++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts -@@ -34,6 +34,16 @@ export interface IBrowserWorkbenchEnviro - readonly options?: IWorkbenchConstructionOptions; +@@ -39,6 +39,16 @@ export interface IBrowserWorkbenchEnviro + readonly sessionTitle?: string; /** + * Enable downloading files via menu actions. @@ -65,7 +65,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi * Gets whether a resolver extension is expected for the environment. */ readonly expectsResolverExtension: boolean; -@@ -111,6 +121,20 @@ export class BrowserWorkbenchEnvironment +@@ -116,6 +126,20 @@ export class BrowserWorkbenchEnvironment return this.options.userDataPath; } diff --git a/patches/getting-started.diff b/patches/getting-started.diff index eb385c243..7bfbf3d6d 100644 --- a/patches/getting-started.diff +++ b/patches/getting-started.diff @@ -151,7 +151,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi =================================================================== --- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts +++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts -@@ -44,6 +44,11 @@ export interface IBrowserWorkbenchEnviro +@@ -49,6 +49,11 @@ export interface IBrowserWorkbenchEnviro readonly isEnabledFileUploads?: boolean; /** @@ -163,7 +163,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi * Gets whether a resolver extension is expected for the environment. */ readonly expectsResolverExtension: boolean; -@@ -135,6 +140,13 @@ export class BrowserWorkbenchEnvironment +@@ -140,6 +145,13 @@ export class BrowserWorkbenchEnvironment return this.options.isEnabledFileUploads; } diff --git a/patches/local-storage.diff b/patches/local-storage.diff index 72e0829d5..c42dd189f 100644 --- a/patches/local-storage.diff +++ b/patches/local-storage.diff @@ -46,7 +46,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi =================================================================== --- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts +++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts -@@ -102,7 +102,14 @@ export class BrowserWorkbenchEnvironment +@@ -107,7 +107,14 @@ export class BrowserWorkbenchEnvironment get logFile(): URI { return joinPath(this.windowLogsPath, 'window.log'); } @memoize diff --git a/patches/update-check.diff b/patches/update-check.diff index 2944b3e7b..682faf18b 100644 --- a/patches/update-check.diff +++ b/patches/update-check.diff @@ -101,14 +101,14 @@ Index: code-server/lib/vscode/src/vs/base/common/product.ts readonly version: string; readonly date?: string; -@@ -151,6 +152,7 @@ export interface IProductConfiguration { - readonly resourceUrlTemplate: string; - readonly nlsBaseUrl: string; - readonly accessSKUs?: string[]; -+ readonly authorizationHeaderToken?: string; +@@ -145,6 +146,7 @@ export interface IProductConfiguration { }; - readonly agentSdks?: { readonly [packageId: string]: IAgentSdkProductConfig }; + readonly extensionsGallery?: { ++ readonly authorizationHeaderToken?: string; + readonly serviceUrl: string; + readonly controlUrl: string; + readonly extensionUrlTemplate: string; Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts =================================================================== --- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts diff --git a/patches/webview.diff b/patches/webview.diff index fd8a8921d..45a7865a7 100644 --- a/patches/webview.diff +++ b/patches/webview.diff @@ -28,7 +28,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/environment/browser/envi =================================================================== --- code-server.orig/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts +++ code-server/lib/vscode/src/vs/workbench/services/environment/browser/environmentService.ts -@@ -234,7 +234,7 @@ export class BrowserWorkbenchEnvironment +@@ -239,7 +239,7 @@ export class BrowserWorkbenchEnvironment @memoize get webviewExternalEndpoint(): string {