Skip to content

Visual Studio Code, rebuilt in Rust

Rust

chore(exthost): regenerate proxy ids for VS Code 1.148.0

rokartur8f594f33f340
diff --git a/native/crates/exthost/src/proxy_ids.rs b/native/crates/exthost/src/proxy_ids.rs
index 6409eb0fbca..5506e9ff2b6 100644
--- a/native/crates/exthost/src/proxy_ids.rs
+++ b/native/crates/exthost/src/proxy_ids.rs
@@ -1,7 +1,7 @@
// @generated by port/tools/gen-proxy-ids.ts from src/vs/workbench/api/common/extHost.protocol.ts
/// Index i holds the proxy with rpc id i + 1, named by its MainContext/ExtHostContext key.
-pub const PROXY_NAMES: [&str; 171] = [
+pub const PROXY_NAMES: [&str; 172] = [
"MainThreadAuthentication", // 1
"MainThreadBulkEdits", // 2
"MainThreadLanguageModels", // 3
@@ -91,86 +91,87 @@ pub const PROXY_NAMES: [&str; 171] = [
"MainThreadChatContext", // 87
"MainThreadChatDebug", // 88
"MainThreadBrowsers", // 89
- "ExtHostCodeMapper", // 90
- "ExtHostCommands", // 91
- "ExtHostConfiguration", // 92
- "ExtHostDiagnostics", // 93
- "ExtHostDebugService", // 94
- "ExtHostDecorations", // 95
- "ExtHostDocumentsAndEditors", // 96
- "ExtHostDocuments", // 97
- "ExtHostDocumentContentProviders", // 98
- "ExtHostDocumentSaveParticipant", // 99
- "ExtHostEditors", // 100
- "ExtHostTreeViews", // 101
- "ExtHostFileSystem", // 102
- "ExtHostFileSystemInfo", // 103
- "ExtHostFileSystemEventService", // 104
- "ExtHostLanguages", // 105
- "ExtHostLanguageFeatures", // 106
- "ExtHostQuickOpen", // 107
- "ExtHostQuickDiff", // 108
- "ExtHostAgentEditorComments", // 109
- "ExtHostStatusBar", // 110
- "ExtHostShare", // 111
- "ExtHostExtensionService", // 112
- "ExtHostLogLevelServiceShape", // 113
- "ExtHostTerminalService", // 114
- "ExtHostTerminalShellIntegration", // 115
- "ExtHostSCM", // 116
- "ExtHostSearch", // 117
- "ExtHostTask", // 118
- "ExtHostWorkspace", // 119
- "ExtHostWindow", // 120
- "ExtHostPower", // 121
- "ExtHostWebviews", // 122
- "ExtHostWebviewPanels", // 123
- "ExtHostCustomEditors", // 124
- "ExtHostWebviewViews", // 125
- "ExtHostEditorInsets", // 126
- "ExtHostEditorTabs", // 127
- "ExtHostProgress", // 128
- "ExtHostComments", // 129
- "ExtHostSecretState", // 130
- "ExtHostStorage", // 131
- "ExtHostUrls", // 132
- "ExtHostUriOpeners", // 133
- "ExtHostChatOutputRenderer", // 134
- "ExtHostProfileContentHandlers", // 135
- "ExtHostOutputService", // 136
- "ExtHostLabelService", // 137
- "ExtHostNotebook", // 138
- "ExtHostNotebookDocuments", // 139
- "ExtHostNotebookEditors", // 140
- "ExtHostNotebookKernels", // 141
- "ExtHostNotebookRenderers", // 142
- "ExtHostNotebookDocumentSaveParticipant", // 143
- "ExtHostInteractive", // 144
- "ExtHostChatAgents2", // 145
- "ExtHostLanguageModelTools", // 146
- "ExtHostChatProvider", // 147
- "ExtHostChatContext", // 148
- "ExtHostChatDebug", // 149
- "ExtHostSpeech", // 150
- "ExtHostEmbeddings", // 151
- "ExtHostAiRelatedInformation", // 152
- "ExtHostAiEmbeddingVector", // 153
- "ExtHostAiSettingsSearch", // 154
- "ExtHostTheming", // 155
- "ExtHostTunnelService", // 156
- "ExtHostManagedSockets", // 157
- "ExtHostBrowserTunnelProxy", // 158
- "ExtHostAuthentication", // 159
- "ExtHostTimeline", // 160
- "ExtHostChatArtifactIntegrations", // 161
- "ExtHostTesting", // 162
- "ExtHostTelemetry", // 163
- "ExtHostMeteredConnection", // 164
- "ExtHostLocalization", // 165
- "ExtHostMcp", // 166
- "ExtHostDataChannels", // 167
- "ExtHostChatSessions", // 168
- "ExtHostChatQuota", // 169
- "ExtHostGitExtension", // 170
- "ExtHostBrowsers", // 171
+ "MainThreadRemoteAgentHosts", // 90
+ "ExtHostCodeMapper", // 91
+ "ExtHostCommands", // 92
+ "ExtHostConfiguration", // 93
+ "ExtHostDiagnostics", // 94
+ "ExtHostDebugService", // 95
+ "ExtHostDecorations", // 96
+ "ExtHostDocumentsAndEditors", // 97
+ "ExtHostDocuments", // 98
+ "ExtHostDocumentContentProviders", // 99
+ "ExtHostDocumentSaveParticipant", // 100
+ "ExtHostEditors", // 101
+ "ExtHostTreeViews", // 102
+ "ExtHostFileSystem", // 103
+ "ExtHostFileSystemInfo", // 104
+ "ExtHostFileSystemEventService", // 105
+ "ExtHostLanguages", // 106
+ "ExtHostLanguageFeatures", // 107
+ "ExtHostQuickOpen", // 108
+ "ExtHostQuickDiff", // 109
+ "ExtHostAgentEditorComments", // 110
+ "ExtHostStatusBar", // 111
+ "ExtHostShare", // 112
+ "ExtHostExtensionService", // 113
+ "ExtHostLogLevelServiceShape", // 114
+ "ExtHostTerminalService", // 115
+ "ExtHostTerminalShellIntegration", // 116
+ "ExtHostSCM", // 117
+ "ExtHostSearch", // 118
+ "ExtHostTask", // 119
+ "ExtHostWorkspace", // 120
+ "ExtHostWindow", // 121
+ "ExtHostPower", // 122
+ "ExtHostWebviews", // 123
+ "ExtHostWebviewPanels", // 124
+ "ExtHostCustomEditors", // 125
+ "ExtHostWebviewViews", // 126
+ "ExtHostEditorInsets", // 127
+ "ExtHostEditorTabs", // 128
+ "ExtHostProgress", // 129
+ "ExtHostComments", // 130
+ "ExtHostSecretState", // 131
+ "ExtHostStorage", // 132
+ "ExtHostUrls", // 133
+ "ExtHostUriOpeners", // 134
+ "ExtHostChatOutputRenderer", // 135
+ "ExtHostProfileContentHandlers", // 136
+ "ExtHostOutputService", // 137
+ "ExtHostLabelService", // 138
+ "ExtHostNotebook", // 139
+ "ExtHostNotebookDocuments", // 140
+ "ExtHostNotebookEditors", // 141
+ "ExtHostNotebookKernels", // 142
+ "ExtHostNotebookRenderers", // 143
+ "ExtHostNotebookDocumentSaveParticipant", // 144
+ "ExtHostInteractive", // 145
+ "ExtHostChatAgents2", // 146
+ "ExtHostLanguageModelTools", // 147
+ "ExtHostChatProvider", // 148
+ "ExtHostChatContext", // 149
+ "ExtHostChatDebug", // 150
+ "ExtHostSpeech", // 151
+ "ExtHostEmbeddings", // 152
+ "ExtHostAiRelatedInformation", // 153
+ "ExtHostAiEmbeddingVector", // 154
+ "ExtHostAiSettingsSearch", // 155
+ "ExtHostTheming", // 156
+ "ExtHostTunnelService", // 157
+ "ExtHostManagedSockets", // 158
+ "ExtHostBrowserTunnelProxy", // 159
+ "ExtHostAuthentication", // 160
+ "ExtHostTimeline", // 161
+ "ExtHostChatArtifactIntegrations", // 162
+ "ExtHostTesting", // 163
+ "ExtHostTelemetry", // 164
+ "ExtHostMeteredConnection", // 165
+ "ExtHostLocalization", // 166
+ "ExtHostMcp", // 167
+ "ExtHostDataChannels", // 168
+ "ExtHostChatSessions", // 169
+ "ExtHostChatQuota", // 170
+ "ExtHostGitExtension", // 171
+ "ExtHostBrowsers", // 172
];
diff --git a/port/ledger.md b/port/ledger.md
index 22e5dedbef6..172183af46b 100644
--- a/port/ledger.md
+++ b/port/ledger.md
@@ -104,7 +104,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,
| M24 Windows | .github/workflows/windows.yml:1 | open | [windows S] x64 on `windows-latest`, arm64 on `windows-11-arm`, by hand (`workflow_dispatch`), uploading the zips, setups and feed entries. | one dispatched run green for both architectures |
| M21 uplift | setup: reference | done | On the Studio: `~/Developer/vscode-ref-1.148.0`, an APFS copy (`cp -c`) of `~/Developer/vscode-ref` checked out at `1.148.0`, `pnpm install` and `pnpm run compile` (it and its extensions, port/notes.md "Reference"), then `port/tools/fetch-builtin-extensions`. `~/Developer/vscode-ref` stays at 1.147.0 while milestones 16 and 20 verify against it; the reference tools take the new one through `REF` (and `VSCODE_GPUI_EXTENSIONS` where they default to the old one's extensions). The GUI VMs share only `~/Developer/vscode-ref`, so 1.148.0 GUI runs need the host lane. | `~/Developer/vscode-ref-1.148.0/package.json` names 1.148.0; `REF=~/Developer/vscode-ref-1.148.0 port/tools/ref-screenshot /tmp/m21-ref dark` draws the empty workbench (2026-12-01) |
| M21 uplift | setup: upstream checkout | done | `upstream/` checked out at `1.148.0` (1.148.0 is not a descendant of 1.147.0: each release is its own branch; `GIT_LFS_SKIP_SMUDGE=1`, the LFS files are Copilot test caches); the Studio mirror links it to `~/Developer/vscode-ref-1.148.0`. 1.148.0 does not change the files that the 8 `port/patches/*.patch` and the `product.json` overlay touch (`git diff 1.147.0 1.148.0` of them is empty). Extension host rebuilt. | `git -C upstream apply --check port/patches/*.patch`: all 8 apply; `port/tools/build-exthost`: 683 modules bundled (2026-12-01) |
-| M21 uplift | setup: proxy ids | later | 1.148.0 appends `MainThreadRemoteAgentHosts` to `MainContext`, so every `ExtHostContext` id after it moves by one: rerun `bun port/tools/gen-proxy-ids.ts`. The port answers the new proxy as inert, the same as the other removed agent proxies. | `cargo test -p exthost`; exthost-probe 30/30 on Bun and Node |
+| M21 uplift | setup: proxy ids | done | 1.148.0 appends `MainThreadRemoteAgentHosts` to `MainContext` (id 90), so every `ExtHostContext` id after it moves by one: `bun port/tools/gen-proxy-ids.ts` (172 identifiers). The port answers the new proxy as inert, the same as the other removed agent proxies: its two methods return void, so the session.rs fallback (`undefined`) is the whole answer. | `cargo test -p exthost`: 88 passed; exthost-probe on Bun and Node: 26/26 code extensions activate, both round trips pass, the same 26 as with the 1.147.0 extensions (2026-12-01) |
| M21 uplift | setup: reference dumps | later | Rerun `port/tools/dump-settings`, `ref-commands`, `ref-contextmenu`, `ref-menubar`, `ref-hover` and `ref-dom`. They bring in without code: `workbench.editor.newTabButton` (renamed from `workbench.editor.experimental.newTabButton`), the removed `multiDiffEditor.experimental.fileList`, the new `update.enableEarlyStaging`, `markdown.editor.initialMode` and `workbench.editor.experimental.emptyEditorHintOpenInMarkdownEditor`. | `port/tools/settings-check` lists the new settings and not the removed one |
| M21 uplift | setup: baselines | later | Refresh the pixel-check baseline and `port/results/api-tests-reference.md`. 1.148.0 adds `browser.tools.test.ts` cases (integrated browser, removed) and an `http.noProxy` step in `proxy.test.ts` (row extension/vscode-api-tests). | api-tests reference numbers for 1.148.0 in port/results/api-tests-reference.md |
| M21 uplift | setup: version bump | later | 1.148.0 in `VERSION` (`native/crates/app/src/main.rs`) and in this file's text that names 1.147.0; rerun `bun port/tools/gen-ledger.ts`. New units: `mainthread/MainThreadRemoteAgentHosts` gets a `removed` row (remote agent hosts); `mainthread/MainThreadGitExtensionService` (21 lines) is a client of the removed IGitService and stays with the `removed` row `mainthread/MainThreadGitExtension`. | `bun port/tools/ledger-check.ts` |