Repository navigation
chore: sync upstream 1.146.0 - #34
Merged
Merged
Conversation
Iamliuxiaozhen
self-requested a review
November 15, 2026 11:32
Fixes #346155. The address bar of a browser tab opened from a local HTML file is read-only, so it inherited the workbench's user-select: none and could not be selected or copied. Opt the read-only address back in to text selection. Attempting to edit the read-only address (typing, Backspace, Delete, Enter, paste, cut) now shows the existing read-only hover immediately and announces it to screen readers once per focus. *🤖 Authored with GitHub Copilot on behalf of @rwoll.* Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… through (#346304) * Give the minimap an opaque editor background The minimap is drawn on top of the editor contents. Its canvas is translucent and, at fractional pixel ratios, slightly narrower than the minimap, so text and line highlights underneath showed through. 🤖 Authored with GitHub Copilot on behalf of @alexdima. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Keep a translucent minimap.background see-through Only back the minimap with its own background color when that color is opaque. A translucent minimap.background is a deliberate way to see the code underneath the minimap (#32581, #132681), so leave it transparent. 🤖 Authored with GitHub Copilot on behalf of @alexdima. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Phase 2 of #345429, for Windows: the Windows test jobs of pull requests mount the workspace image that pr-workspace-images.yml builds on main, instead of creating an empty Dev Drive and restoring the node_modules and Playwright caches. With an image, the checkout keeps its untracked files and reuses its .git, and the usual install step runs on top of its node_modules, so pnpm installs only what changed since the commit of the image. Without an image, or on any error, the jobs set up as before. The Linux and macOS test jobs follow in their own pull requests. The smoke test shard with the WSL suite, on the 1ES pool, runs none of the image steps and keeps today's setup. Pull requests to release branches look for images of their own branch, find none, and set up as before. The windows-tests call in pr.yml grants actions: read, to find and download the images. The restore step passes --timeout-seconds 240, within the 5 minutes of the step, so that image.ts gives up and cleans up before the runner stops it. Unlike in the pull request, the jobs have no step that compares the dependencies with the image, as image.ts has no `deps` command since image.ts expects, as pr-workspace-images.yml does, which a test keeps equal. Co-authored-by: Alex Dima <alexdima@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ilot) Honor available provider creation targets when starting a session from a repository-only cloud workspace. Preserve the selected repository and environment instead of falling back to an unrelated local workspace. Fixes #346339 (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
A 356 MB rpm download stalled at 0.53 MB/s for 11 min in insider 493014. curl runs synchronously, so the 10 min mocha timeout only fired after the package was installed; the silent retry then failed on the 'already installed' guard while the timed-out attempt kept running without cleanup. Bound curl with --speed-limit 1 MB/s over 60 s and --connect-timeout 30 so a stalled transfer is retried on a new connection, and log each mocha retry with the failure that caused it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
A single GitHub release 504 failed the macOS ARM64 CLI job in main CI 493213: 'Install sccache' downloads the release with a bare curl (Invoke-WebRequest on Windows) and no step retry. Retry the download 5 times and the step twice. The cache key and installed version are unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Batch Mission Control and cloud sandbox inventory publication, session resolution, and cached-session hydration. Avoid redundant connection entry and label formatter updates while retaining disconnected hosts and history. Preserve subscriptions across same-ID provider replacements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Phase 2 of #345429, for Linux, after #346270 for Windows: the Linux test jobs of pull requests mount the workspace image that pr-workspace-images.yml builds on main, an ext4 volume on a loop device at the parent of the workspace, instead of restoring the node_modules and Playwright caches. With an image, the checkout keeps its untracked files and reuses its .git, and the usual install steps (the build root, then the root with setup-env.sh) run on top of its node_modules, so pnpm installs only what changed since the commit of the image, and setup-env.sh reuses the sysroots and compilers in its .build folder. The system packages are not in the image, and are installed as before. Without an image, or on any error, the jobs set up as before. The jobs download the scripts of the image exactly as the job that builds the Linux image does, which the test of the Windows jobs now also checks for the Linux jobs. Pull requests to release branches look for images of their own branch, find none, and set up as before. The linux-tests call in pr.yml grants actions: read, to find and download the images. The restore step passes --timeout-seconds 240, within the 5 minutes of the step, so that image.ts gives up, unmounts the image and detaches the loop device before the runner stops it. Co-authored-by: Alex Dima <alexdima@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…6371) The Linux test jobs spent from 17 s to almost 2 minutes in "Setup system services": all of them download the same few MB of packages, and some get a mirror that sends them at about 30 kB/s. Like the WSL distribution of the Windows smoke tests, the daily and manual runs of pr-workspace-images.yml now cache what the jobs would download: the new linux-packages job downloads the .deb files of the packages that the runner lacks, checks that they install, and saves them under a key of the runner image (ImageOS and ImageVersion) and the package list. The new install-linux-packages action, which the Linux test jobs use, restores the newest entry of its key and installs the files with dpkg, without apt-get update. Without an entry for the image of the runner, for example during the rollout of a new runner image, or when dpkg fails, apt-get installs the packages as before and repairs what dpkg left. The package list moves to .github/actions/install-linux-packages/ packages.txt, which both jobs read, and which ripple counts as part of the definition of the test jobs. Co-authored-by: Alex Dima <alexdima@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chat: restore subagent pill duration and credits Refresh cached subagent timing and credit usage when a completed child chat is opened, and notify deferred parent pills without eagerly loading sibling transcripts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chat: preserve subagent stats across partial history restores Keep the more complete presentation for the same catalog revision and retain known credits when restored usage is missing. Cover paginated reopens, missing usage, and revision invalidation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Remotes: compact This Computer and Other Environments sections When the This Computer section is enabled, drop its card chrome, put the Remote Connections label, options and status on one row, and add an "Other Environments" heading with search and refresh above the table, separated by a divider. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remotes: wrap search and refresh together below the heading Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fixes #346330. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…nt (#346293) * partGrid: keep a pinned view spanning the top of the grid A grid can pin a view, such as the title row of a window, to its top: the first row of the grid, across all of it, with the rest below it. Every change of the arrangement ends by putting it back there, such as a part moved or dropped at an edge of the grid or beside another part, a part added or removed, or a grid restored with the view elsewhere, and the preview of a move shows it there too. Moving it keeps the sizes of the other cells: the cell beside it takes its room, and what goes below it shares the rest in proportion. Without a pinned view the arrangement is as before, and with the view already on top, such as as cells show and hide, nothing is rebuilt. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chatWindow: one title row decision across every arrangement Moving the parts of a chat window could leave its title row beside one part instead of across the window: dragging the chat part to the right left the title row over the editor part only, and dragging the editor part to the left put its tabs under the window's controls. The window's grid now pins its title row to the top, so it spans the window in every arrangement. Whether the title row merges into the title of the active chat's editor is decided in one place, for the window, its chat editors and the preview of a part being moved: the chat part leads the window, at its top left in any arrangement, and the group there shows only the active chat. So the chat on top of a stacked window merges too, and with tabs, another chat active, or another part leading, the title row shows. Either way the header of the active chat shows in exactly one place. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…reen test (#346332) * sessions: keep browser layout resizes out of the auxiliary title bar fullscreen test The browser fires its own resize events on the test's iframe as it lays it out. When one lands after the debounced host query has run, the title bar asks its host once more and the expected query count is off by one. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: allow for browser resizes in the auxiliary title bar fullscreen test instead of blocking them Counts the resizes the browser makes to the test's frame and allows one more host query for each, rather than stopping them from reaching the title bar. The test's own resizes must still ask the host once per phase. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…indow outside its editors (#346350) Opening a pull request from a chat pill in the main Agents window opened it in a chat window. The pill opens the PR through the GitHub Pull Requests extension, which shows it in `window.tabGroups.activeTabGroup`. The extension host learns that group from `onDidChangeActiveGroup`, and that event fired only when focus entered an editor part, or moved within the part grid of a window with several parts. A click in the main window's chat after using a chat window lands outside any editor part of a single-part window, so nothing was announced, and the extension host kept the chat window's group even though `activeGroup` already returned the main window's. This fixes that mismatch between the event and the getter for window switches outside editor parts. It does not restore older behaviour: before the parts work, no window switch outside editor parts was announced either. When focus arrives in a window outside its parts and the last announced group is in another window, the window's active group is announced. Focus moving into a part is still announced by the part, and focus moves within one window keep their rules, so an overlay still keeps the active part. Extensions see the effect: `window.tabGroups.activeTabGroup` and `window.activeTextEditor` follow the window that focus moves to, such as after clicking the Explorer of the main window after a floating editor window, matching what the workbench's active group and active editor already return. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ther window (#346344) terminal: keep terminal editors tracked when their group moves to another window Moving an editor group to another editor part (such as another window) copies the group, which shares its editor inputs, and then closes all editors of the source group with an UNKNOWN close context rather than MOVE. The inputs stay open in the new group and are not disposed, but TerminalEditorService took each close as a real one and stopped tracking the terminal. Only a terminal editor that became visible was picked up again, so inactive terminal editors were lost: reveal, reuse and close of those terminals failed or created duplicates. Ignore the close of an editor that is still open in another group, as the editor group itself does when it decides whether to dispose the input. Moving a single editor between groups was already handled via EditorCloseContext.MOVE. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix hourly live refresh of experiment assignments * feedback and test update
…t (#346342) Sessions: a hidden subagent chat does not keep a session's grid slot When a session's only visible chat moved into a chat window, hideChatFromGrid checked the session's open chats to decide whether it was the only chat the grid showed. Open chats include subagent (tool-origin) chats that are not shown as tabs, so the session kept its pane, showing the new-chat composer. Check the chats shown as tabs instead; subagent chats still open on demand. When the session's slot leaves the grid, remove only that slot and keep its chats shown in panes of their own, as closing the session does. Removing the slot used to dispose those detached panes too. This was already the case for a session with just a main chat and a detached chat; a hidden subagent chat only masked it by keeping the slot. If the slot was active, the session's detached pane becomes active instead of the new-session composer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…392) Agent host terminals use a custom pty, so they have no remote authority. Thus the `auto` value of `terminal.integrated.localEchoEnabled` did not enable typeahead for them, also when the agent host is on a different machine. - Adds `IShellLaunchConfig.isRemotePty` to mark a custom pty that runs on a different machine. - Sets `isRemotePty` for agent host terminals when the connection kind is not `Local`. - Makes the typeahead contribution treat a terminal with `isRemotePty` as remote. - Makes `terminal.integrated.localEchoEnabled` experiment-controlled. The default stays `off`. - Logs the experiment trigger when a remote terminal starts and the user did not set the value. (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…(#346393) Pull requests, commits and issues that ship, change, graduate or remove an experiment describe only the code change, without the experiment's rollout or results, even without numbers. The Public Content guidance and the experiments skill gave "the experiment showed no regression" and a primary-metric sentence as examples of acceptable public conclusions, which invited exactly those sentences. The conclusion example for other internal data is now "the error is common on Windows". 🤖 Authored with GitHub Copilot on behalf of @alexdima. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…(#346370) * extensions: declare the packages that the extensions use from the root workspace The built-in extensions import some packages that only the repository root's package.json declares: Node.js finds them by walking up to <repo>/node_modules. Each extension now declares what it uses, with the root's version ranges, so that the extensions no longer depend on the root workspace's manifest: - mocha and @types/mocha in the 16 extensions whose tests use them, and @types/mocha in microsoft-authentication - sinon and @types/sinon in the 7 extensions whose tests use them - glob in the css and html language server test runners - util in emmet (its browser bundle includes the polyfill) - path-browserify (the alias of the browser builds) and minimatch (the theme-seti update script) in extensions/package.json - @types/vscode-notebook-renderer in ipynb, @types/node in markdown-math The lockfile only gains the importer entries: every declaration resolves to a version that is already locked. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * build: install the built-in extensions with their own pnpm workspace The built-in extensions (every project under extensions/ except Copilot, which stays a separate install root) move from the root workspace to a new install root in extensions/, with its own pnpm-workspace.yaml and pnpm-lock.yaml. The product build bundles the extensions, so the layout of their node_modules doesn't ship; this lets the extensions change their node_modules layout (for example to pnpm's isolated layout) independently of the root workspace. - The lockfile entries were moved without resolving anything again: the 39 importers and the 663 snapshots they use (193 shared with the root, which keeps 1537). Every package entry is the same as in the root lockfile. extensions/package.json declares tslib and zod, the peers that the root project provided (applicationinsights and @vscode/hubrpc), so they resolve to the same versions; zenuml's optional playwright-core peer is no longer linked. - extensions/pnpm-workspace.yaml has the root's settings, with the overrides, allowBuilds and minimumReleaseAgeExclude entries that apply to the extensions (removed from the root where they only applied there), and hoistWorkspacePackages: false, so that the extensions aren't linked into extensions/node_modules by their names (emmet, gulp, npm, git, ...). - extensions/.pnpmfile.mjs builds native modules for Electron, from the `nativeBuild` field of the root package.json. - build/npm/dirs.ts, postinstall, the node_modules cache key, the workspace image inputs and the license scanner (extensions/node_modules, including its nested node_modules, and the extensions lockfile) know the new root. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * build: update the grammar updater, lint and Dependabot paths for the extensions workspace Review feedback on the extensions install root: - The update-grammar scripts of 33 extensions ran the grammar updater from ../../node_modules, which no longer has it: it is a dependency of extensions/package.json, so it is installed in extensions/node_modules. - A change to extensions/pnpm-lock.yaml now lints the extensions that are linted with type information, like a change to the root pnpm-lock.yaml (kept, because the root workspace's TypeScript and typescript-eslint run that lint). - Dependabot updates @vscode/markdown-editor in the extensions workspace (/extensions), which now has markdown-language-features and its lockfile. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * extensions: declare zod in mermaid-markdown-features instead of extensions/package.json mermaid-markdown-features uses @vscode/web-editors, whose @vscode/hubrpc dependency has zod as a peer. The root workspace's project used to provide it; mermaid-markdown-features now declares it (4.4.3, like markdown-language-features), instead of extensions/package.json. The lockfile resolves the same: only the importer entry moves. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * extensions: declare tslib in the extensions that need it instead of extensions/package.json @vscode/extension-telemetry uses @microsoft/applicationinsights-* 3.3.4, which has tslib as a peer. The root workspace's project used to provide it. The nine extensions that use @vscode/extension-telemetry (git, github, github-authentication, html-language-features, json-language-features, markdown-language-features, merge-conflict, microsoft-authentication, typescript-language-features) now declare it instead of extensions/package.json. The lockfile resolves the same: only the importer entries move. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…services (#346359) * sessions: dispose the Inbox's new-session composer before its scoped services The Inbox added the services of its new-session composer's scope to the same store as the composer, and before it. As the Inbox went away, those services were disposed first. The composer's prompt options then cleared its input as it went away, so its chat widget parsed the input with a disposed instantiation service and threw "InstantiationService has been disposed". The services of the composer's scope are now kept in a store disposed after the composer, as a session view does for its children. Known pattern, not changed here because nothing uses those services while it is disposed: a scope is still registered before what it creates in - the Inbox's question carousel and its chat exchange list, - SharedChatInputComposer's chat widget, after its widget services, - ChatView's chat widget, after its scoped instantiation service. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: dispose a canvas's content before the services of its scope Closing the Inbox still logged "InstantiationService has been disposed": the window canvas service added the services of a canvas's scope to its store before the canvas it created with them, so closing the Inbox disposed its child instantiation service first. Disposing an instantiation service disposes its children, so the services of the Inbox's new-session composer were gone before the Inbox disposed it, and the composer's prompt options, clearing its input as they went away, made its chat widget create with a disposed service. The canvas service now keeps the services of a canvas's scope in a store disposed after the canvas. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…working in (multi-root workspaces) (#346381) * agent Host: keep moved Local chats in the root they were working in (multi-root workspaces * Feedback updates
…ilot) Keep recorded-history retrieval out of cloud sandbox inventory discovery and retain unresolved task IDs for incremental retries after completed enumeration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…s (#346395) * agentHost: ask for consent when Copilot extensions request permissions The Copilot runtime asks for consent when an extension declares privileged capabilities, such as hooks. This request has no tool call, so the agent host rejected it without asking the user, and extensions such as grove-agent-monitor did not load. - Handles `extension-permission-access` requests before the missing-`toolCallId` check. The check stays for all other permission kinds. - Holds a request until a turn is ready to show it, then shows a confirmation in that turn: Allow Once, Always Allow, Not Now and Never. Only disposal of the session ends the wait. Allow All approves the request, and Autopilot declines it. - Adds the host setting `extensionPermissionApprovals`. Always Allow and Never are kept there for each extension name and set of capabilities, so a request for more capabilities asks again. The runtime does not keep approvals when a session resumes. - Moves the MCP skill confirmation into a shared helper, `_confirmEphemerally`. The helper keeps the Always Allow and Never decisions, and keeps the turn open until the user answers. - Emits the confirmation as a trusted root-turn action, so that it is not dropped after an abort before the next SDK turn starts. Fixes https://github.com/microsoft/vscode-internalbacklog/issues/10615 (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: show extension consent in steering and provider-initiated turns - Marks steering turns and provider-initiated turns as ready for permission prompts. These turns do not run the turn preparation, so a waiting extension consent request was not shown until a later normal send. - Adds a test for a provider-initiated turn. (Commit message generated by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the chat.agentHost.copilot.toolSearch.enabled and chat.agentHost.copilot.toolSearch.deferThreshold settings, and the matching toolSearchEnabled/toolSearchDeferThreshold Agent Host root config keys. Copilot sessions now enable tool search only when the model supports it and the client forwards its toolSearch tool, which users control with the Search Tools toggle in Chat Customizations. Turning it off loads every tool up front. The defer threshold is fixed at 1, the previous default. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Claude Desktop, Copilot, Cursor and Windsurf discovery adapters set the stdio launch cwd from homedir.fsPath on the client. On a Windows client connected to a Linux remote this produced a Windows-style path, making spawn fail with ENOENT. Pass the home directory as defaultCwd instead so the extension host resolves it; the cache nonce is unchanged so existing trust is preserved. Fixes #345646
* [Perf] sessions: index automation badge session lookups Avoid rescanning the session catalog for every automation run while preserving URI identity and first-match behavior. Fixes #346329 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * signing commit --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…46816) * Model router skill: learn the user's work from their recent chats, with their permission Routes match a request against their `when` text and examples, so a router works best when those name the work the user actually does, in the way they phrase it. The skill now offers to read the user's recent Copilot requests (only their own messages, and only if they agree). It lists the kinds of work they do and how they phrase short requests and hand-offs. It then makes sure each frequent kind is named in some route, writing examples in the user's style without copying paths, names or links. The skill names the host's own session-state folder. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Model router skill: read only the user's own messages from past chats Subagent prompts and injected content are also `user.message` events, and the host adds reminder, attachment and context blocks to the user's text. The skill now reads only events with no `agentId` and a missing, empty or `user` source, and leaves those blocks out, as the session history mapping does. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Skip context-usage DOM writes and sticky-progress viewport checks when the displayed data has not changed. Preserve geometry updates from rendering, scrolling, and layout without buffering response events. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…46290) * sessions: Reveal tunnel sessions across Editor and Agents windows A tunnel's editor windows and the Agents Window share code tunnel's agent host, but name its sessions differently: agent-host-<provider> in the editor window and remote-<authority>-<provider> in the Agents Window. Map the session scheme in both directions so the open session is revealed when switching windows, as it already is for local sessions. The editor window passes its folder so the Agents Window can resolve and connect the host first. SSH, WSL and Dev Container editor windows use an agent host started by their VS Code server, with a session registry separate from the one the Agents Window starts, so their sessions can't move between windows. Both directions now explain this instead of failing silently. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chat: Show Open in Agents Window in the Chat view title menu The action was only contributed to the title-bar Chat menu, which evaluates its when clause against the window context. The session type it checks is set only in the Chat view's scoped context, so the action never appeared. Move it to the Chat view's title menu, next to the Move Chat actions, and report it as a separate open source. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: Address review feedback on session reveal - Treat a tunnel whose gateway selected an editor's agent host as a different host, in both directions - Fall back to opening the remote window's folder when its session can't be revealed - Compare the focused host's shown chat in the fast path Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: Skip notification when WSL and SSH sessions fall back to their folder Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…(#346862) Fixes #127918 🤖 Authored with GitHub Copilot on behalf of @alexdima. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…nal children (#346948) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…nts setting (#346915) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…atchers (#346959) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…46998) * chat: add a setting to open the Agents window hover card on click Adds the experimental advanced setting chat.titleBar.openInAgentsWindow.richHoverOnClick (default off). While the title bar's Open in Agents button shows the hover card to a user who is new to the Agents window, enabling it makes activating the button (click, tap, Enter or Space) open the card as a sticky hover with focus on its Open Agents Window button, instead of opening the Agents window. Activating the button again, Escape, or clicking outside closes the card. Users who don't see the card are unaffected. The setting is experiment-controlled, and its experimentTrigger is logged in every arm when a user who sees the card activates the button. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chat: don't make the click-opened Agents window hover card sticky Activating the title bar button now opens the hover card as an ordinary hover with focus in it. It closes when the pointer leaves the button and card, on Escape, on a click outside it, or when the button is activated again. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chat: close the click-opened Agents window hover card on outside mousedowns Toolbar actions stop their mousedown from propagating, so the hover service's document listener never sees a press on them. When the card was opened from the keyboard while the pointer was elsewhere, pointer tracking never closed it either, so clicking another toolbar action left it open. Listen for mousedowns in the capture phase while the card is open, ignoring the card and the title bar button, whose click toggles the card. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…(#347150) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…model picker (#347172) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…egative on high DPI screens (#347166) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…windows (#347190) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
chat: backport sleeping feeds (Written by Copilot) Backport #346728 to release/1.146. Pause cloud task-status feed work during OS suspend, recover once after wake while preserving retry deadlines and monitoring demand, and retain buffered hints independently of replacement negotiation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…#347235) [cherry-pick] chat: release idle feeds (Written by Copilot) Backport of #346670 to release/1.146. (cherry picked from commit 2adaa77) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
chat: Restore the sandbox label when switching chats (#347213) * chat: Restore the sandbox label when switching chats Read the current permissions when applying the placeholder, even when the incoming chat uses the same base text as the outgoing chat. * chat: Exercise the public API in the sandbox placeholder test * chat: Match the sandbox observable type in the widget test --------- (cherry picked from commit b7727d5) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…y (#347296) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
…ter the toolbar replaces its item (#347335) Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
* agentHost: multi-harness sessions and Move Chats are on in Insiders and experiment-controlled Default chat.agentHost.multipleChatProviders.enabled on outside Stable, as chat.agentHost.moveChats.enabled already is, and let experiments set both defaults in startup mode, so an assignment change applies on the next start rather than mid-session. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 8e434801bfe0debaefdf9565d5ed29dc7c0badb8) * agentHost: scope the 1.146 candidate to Move Chats Keep chat.agentHost.multipleChatProviders.enabled off by default: turning it on breaks the Dev Container and SSH Agent Host smoke tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore: port fixes from release/1.145 * test: stub notebook size service in layout tests Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
…er tests The marker leaked in while resolving the rebase conflict for the strict realpath change and would fail to compile. Assisted-by: Tare CN:DeepSeek-V4.1-Flash
Upstream introduced this workflow with vscode-large-runners and a 1ES self-hosted pool, which this project does not use. Assisted-by: Tare CN:DeepSeek-V4.1-Flash
Iamliuxiaozhen
force-pushed
the
sync/upstream-1.146.0
branch
3 times, most recently
from
November 15, 2026 14:28
c2bca9e to
c5ffca4
Compare
Iamliuxiaozhen
force-pushed
the
sync/upstream-1.146.0
branch
from
November 15, 2026 15:18
4aeb86c to
c5ffca4
Compare
…caping or encoding' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Oliver Lin <oliver@liuxiaozhen.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
上游同步:1.146.0
1.146.0main@d6ded71e3b8631d3e2952a7ac91b2493e28a4ee8sync/upstream-1.146.0(分支即 tag,上游提交原样保留)上游扩展目录(BlockIDE 基线中不存在)
extensions/cpp:确认是否随包发布;不需要的话保持构建排除extensions/css-language-features:确认是否随包发布;不需要的话保持构建排除extensions/css:确认是否随包发布;不需要的话保持构建排除extensions/dart:确认是否随包发布;不需要的话保持构建排除extensions/diff:确认是否随包发布;不需要的话保持构建排除extensions/html:确认是否随包发布;不需要的话保持构建排除extensions/javascript:确认是否随包发布;不需要的话保持构建排除extensions/lua:确认是否随包发布;不需要的话保持构建排除extensions/make:确认是否随包发布;不需要的话保持构建排除extensions/npm:确认是否随包发布;不需要的话保持构建排除extensions/php-language-features:确认是否随包发布;不需要的话保持构建排除extensions/php:确认是否随包发布;不需要的话保持构建排除extensions/python:确认是否随包发布;不需要的话保持构建排除extensions/r:确认是否随包发布;不需要的话保持构建排除extensions/ruby:确认是否随包发布;不需要的话保持构建排除extensions/rust:确认是否随包发布;不需要的话保持构建排除extensions/sql:确认是否随包发布;不需要的话保持构建排除extensions/swift:确认是否随包发布;不需要的话保持构建排除需要人工处理的冲突(34 个)
.github/actions/detect-missing-caches/detect.ts.github/skills/smoke-tests/SKILL.md.github/workflows/pr-linux-test.yml.github/workflows/pr-node-modules.yml.github/workflows/pr-ripple.yml.github/workflows/pr-win32-test.yml.github/workflows/pr.ymlbuild/lib/test/agentHostTestSelection.test.tsbuild/lib/test/detectChanges.test.tsbuild/lib/test/detectMissingCaches.test.tsbuild/npm/dirs.tsextensions/css-language-features/CONTRIBUTING.mdextensions/css-language-features/client/tsconfig.jsonextensions/css-language-features/package.jsonextensions/css-language-features/server/package.jsonextensions/css-language-features/server/src/test/completion.test.tsextensions/css-language-features/server/src/test/links.test.tsextensions/css-language-features/server/tsconfig.jsonextensions/javascript/syntaxes/Readme.mdextensions/markdown-language-features/package-lock.jsonextensions/npm/package.jsonextensions/npm/src/preferred-pm.tsextensions/npm/tsconfig.jsonextensions/php-language-features/package.jsonextensions/php-language-features/tsconfig.jsonpackage-lock.jsonpackage.jsonscripts/test-integration.batscripts/test-integration.shscripts/test-remote-integration.shsrc/vs/platform/extensionManagement/common/extensionGalleryService.tssrc/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.tstest/smoke/src/areas/agentsWindow/agentsWindow.test.tstest/smoke/src/shard.tsGitHub 会在 PR 上标记 This branch has conflicts that must be resolved,并禁用合并按钮。
解决方式(任选其一):
git fetch origin git switch sync/upstream-1.146.0 git merge origin/main # 解决冲突后 git add -u git commit git push注意:把基线合入同步分支后,该 PR 的合并会退化为快进,不再产生合并提交;
如必须保留合并提交,可在解决冲突后用
git merge --no-ff手工合并到main。验证
由
scripts/sync-upstream-tag.sh生成。