Commit Graph

145015 Commits

Author SHA1 Message Date
Dmitriy Vasyura 4ac8b5ed98 Enable Windows ARM sanity tests on the new pool (#291753)
* Enable Windows ARM sanity tests on the new pool

* Update README
2026-01-29 23:30:36 +00:00
Rob Lourens 28f29f6087 Use correct id for model from subagent (#291757)
Fix #291681
2026-01-29 23:22:46 +00:00
Justin Chen 66fe91254e fix scrolling as content expands in thinking (#291750)
* fix scrolling as content expands in thinking

* add disposables?
2026-01-29 23:17:02 +00:00
Connor Peet 3c7595e8d0 mcp: prevent duplicate collection registrations on extension host restart (#291747)
* mcp: prevent duplicate collection registrations on extension host restart

Fixes duplicate tool registration when MCP server definition providers
have a 'when' clause in their package.json. The issue occurred because
ExtensionMcpDiscovery and MainThreadMcp both independently managed
collection registration with 'when' clauses, and on extension host
restart the registry would end up with duplicate non-lazy collections.

- Modified registerCollection() to return early (Disposable.None) if a
  non-lazy collection with the same ID is already registered, preventing
  duplicates
- Preserve lazy-to-non-lazy replacement behavior for proper collection
  lifecycle management
- Prevents scenarios where servers accumulate in the registry across
  EULA restarts

Fixes https://github.com/microsoft/vscode/issues/284024

(Commit message generated by Copilot)

* add tests
2026-01-29 23:14:36 +00:00
Sandeep Somavarapu e83c168def fix #https://github.com/microsoft/vscode-dev/issues/1366 (#291731) 2026-01-29 15:07:27 -08:00
Connor Peet 9eaa9ff9b2 chat: fix control flow logic in tool invocation state transition (#291743)
Fixes the incorrect use of 'if' instead of 'else if' in the tool invocation
state transition logic. This ensures that the confirmation check is only
performed when autoConfirmed is falsy, preventing logic errors during tool
invocation processing.

Fixes https://github.com/microsoft/vscode/issues/291453
Fixes https://github.com/microsoft/vscode/issues/290250

(Commit message generated by Copilot)
2026-01-29 23:00:16 +00:00
Rob Lourens aa328e0fed Ensure we read the observable on the right input part (#291748)
Hoping to fix a layout issue reported by Harald but I don't think this is it.
2026-01-29 22:36:56 +00:00
Copilot 07e6e58af5 Fix excessive padding on terminal tool progress part action bar icons (#291648) 2026-01-29 22:23:14 +00:00
Copilot 6b7d765cc0 Fix chat terminal streaming chevron vertical alignment (#291650) 2026-01-29 22:02:09 +00:00
Raymond Zhao 000e601e5e Revert "engineering: use tar+zstd for win32 node_modules cache" (#291740)
Revert "engineering: use tar+zstd for win32 node_modules cache (#291624)"

This reverts commit 70529729e6.
2026-01-29 21:48:29 +00:00
Justin Chen 218de2609f thinking header fix: styling and better generic text (#291462)
* thinking header fix: styling and better generic text

* only increment in constructor if there is thinking text

* reset the timer, accidentally set to 1 for testing
2026-01-29 21:16:57 +00:00
dileepyavan 9fbb7b8708 In sandbox mode for chatUI, the command should be displayed without sandbox command and environment variables (#291395)
changes
2026-01-29 13:14:59 -08:00
dependabot[bot] acfc362937 Bump tar from 7.5.6 to 7.5.7 (#291723)
Bumps tar from 7.5.6 to 7.5.7.

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 20:51:53 +00:00
dependabot[bot] fd3565eb6b Bump tar and dmg-builder in /build (#291331)
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.7 and updates ancestor dependency [dmg-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/dmg-builder). These dependencies need to be updated together.


Updates `tar` from 6.2.1 to 7.5.7
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.5.7)

Updates `dmg-builder` from 26.5.0 to 26.6.0
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/dmg-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.6.0/packages/dmg-builder)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
- dependency-name: dmg-builder
  dependency-version: 26.6.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 20:25:06 +00:00
Benjamin Pasero c534163aad update instructions (#291715)
* update instructions

* .
2026-01-29 21:19:58 +01:00
João Moreno 70529729e6 engineering: use tar+zstd for win32 node_modules cache (#291624)
* engineering: use tar+zstd for win32 node_modules cache

* bump cache

* Update .github/workflows/pr-node-modules.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update build/azure-pipelines/win32/product-build-win32-node-modules.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update build/azure-pipelines/win32/steps/product-build-win32-compile.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/workflows/pr-win32-test.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* bump cache salt

* more fixes

---------

Co-authored-by: Aman Karmani <aman@tmm1.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-29 21:16:43 +01:00
Eleanor Boyd e5035e945f Merge pull request #291686 from microsoft/close-wombat
add missing team members to endgame notebook
2026-01-29 12:02:15 -08:00
dependabot[bot] 8936d7e785 Bump tar from 7.5.6 to 7.5.7 in /build/npm/gyp (#291362)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.6 to 7.5.7.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.6...v7.5.7)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-29 12:01:31 -08:00
Connor Peet c026062cfd chat: add post-approval feedback message (#291712)
Adds display of a localized 'Approve tool result?' message when a chat
response is waiting for post-approval confirmation on a tool invocation.

- Updates ChatResponseModel to detect WaitingForPostApproval state
- Displays appropriate confirmation message to user during tool approval
- Improves UX by providing clear feedback on what action is needed

(Commit message generated by Copilot)
2026-01-29 19:52:57 +00:00
Karthik Nadig b3f114a506 feat: implement auto-resize for freeform textarea in ask questions (#291680)
* feat: implement auto-resize for freeform textarea in chat question carousel

* fix: use auto exapnding textarea for all freeform input

* review comments

* fix: tests
2026-01-29 11:49:39 -08:00
Benjamin Pasero 6579a01f28 refactor - remove unused diff files indicators (#291707) 2026-01-29 20:36:14 +01:00
Benjamin Pasero d1fa3d656d feat - update icon for Codex and Claude providers (#291706) 2026-01-29 19:29:51 +00:00
Benjamin Pasero 82530a3d2b refactor - simplify auto-expand logic in AgentSessionsControl (#291705) 2026-01-29 19:25:51 +00:00
Eleanor Boyd a0b16aed63 Merge branch 'main' into close-wombat 2026-01-29 11:07:34 -08:00
dileepyavan d6d5aec8e8 Adding sandbox pre-reqs to the setting UI for linux (#291670)
changes in settings UI
2026-01-29 18:51:58 +00:00
Megan Rogge 9081bdd491 check output before appending (#291658) 2026-01-29 18:45:54 +00:00
Megan Rogge 424641585a don't prompt if user explicitly set automatic tasks to off (#291671) 2026-01-29 10:32:56 -08:00
João Moreno bf729fa50a strip out git askpass sourcemap footer (#291673)
fixes #282020
2026-01-29 18:27:20 +00:00
Benjamin Pasero 90d24f7d34 Chat Sessions: Toggling filter collapses More section (fix #291544) (#291683) 2026-01-29 18:24:33 +00:00
Megan Rogge a72cd7b63e add wait for command function (#291653) 2026-01-29 18:23:33 +00:00
ulugbekna 148bbfdb57 fix(stringEdit): prevent _tryRebase from producing non-disjoint edits
## Problem

The `_tryRebase` method could produce edits that violate the sorted/disjoint
invariant required by `StringEdit`, causing a `BugIndicatingError` to be
thrown with the message:
`Edits must be disjoint and sorted. Found [X, X) -> "..." after Y`

## Root Cause

When a base edit deletes significantly more characters than it inserts
(creating a negative offset), subsequent "our" edits can get transformed
to positions that conflict with previously-added edits.

Example scenario:
1. `ourEdit1`: [100, 110) → "A" — added to result, ends at position 110
2. `baseEdit`: [110, 125) → "" — deletes 15 chars, offset becomes -15
3. `ourEdit2`: [120, 120) → "B" — transforms to [105, 105) after offset

Problem: Position 105 is BEFORE 110 (the end of `ourEdit1`), violating
the invariant that edits must be sorted and disjoint.

The original code only checked for direct intersections with base edits,
but missed this case where the cumulative offset transformation causes
an "our" edit to land before the end of a previously-added "our" edit.

## Fix

Track the exclusive end position of the last added edit (`lastEndEx`) and
before adding each transformed edit, verify that its start position is not
before `lastEndEx`. If it is:
- When `noOverlap=true` (tryRebase): return `undefined`
- When `noOverlap=false` (rebaseSkipConflicting): skip the conflicting edit

## Behavior Changes

- `tryRebase()`: Now returns `undefined` for cases that previously crashed
- `rebaseSkipConflicting()`: Skips conflicting edits instead of crashing
- `trySwap()`: Uses `tryRebase` internally, handles edge cases gracefully

These are safe changes since the previous behavior was to throw an error.
Callers of `tryRebase()` already handle `undefined` returns, and
`rebaseSkipConflicting()` is expected to drop conflicting edits.
2026-01-29 19:22:29 +01:00
Benjamin Pasero e710e34297 refactor - remove unused chat issue reporting command (#291684) 2026-01-29 18:19:19 +00:00
Lee Murray 65b61f6e72 Merge pull request #291674 from microsoft/mrleemurray/moderate-coral-urial
Update @vscode/codicons to version 0.0.45-4 and add 'claude' icon
2026-01-29 17:56:09 +00:00
Raymond Zhao 80c02caeb0 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-29 09:56:04 -08:00
Kyle Cutler 6f458a11a9 Browser: make paused state less jarring (#291637)
* Browser: make paused state less jarring

* Update src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* 15%

* fix

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-29 09:52:38 -08:00
Eleanor Boyd ede4c001b2 fix 2026-01-29 09:48:56 -08:00
Eleanor Boyd 57508a1769 add missing team members 2026-01-29 09:47:47 -08:00
mrleemurray 12ce890b0b Update @vscode/codicons to version 0.0.45-4 and add 'claude' icon to codiconsLibrary 2026-01-29 17:26:06 +00:00
Alex Ross e0e634e326 Bump macOS test timeout to 90 minutes (#291664)
The owners of this have asked us to try a longer timeout to help them determine if the issues we're seeing are perf degradation or a hang
2026-01-29 17:25:35 +00:00
Johannes Rieken fe1d4cfca0 chore: update known CSS variabled (#291663) 2026-01-29 17:24:06 +00:00
Benjamin Christopher Simmonds 3699d9f2c2 Merge pull request #291633 from microsoft/benibenj/interested-slug
Change gutter color to be based on editor hover color
2026-01-29 18:23:23 +01:00
Lee Murray 16ef2c1fd2 Merge pull request #291659 from microsoft/mrleemurray/vocational-amethyst-meadowlark
Update 2026 theme names
2026-01-29 17:10:01 +00:00
Lee Murray aca1a9779f Merge pull request #291646 from microsoft/mrleemurray/thin-chocolate-gerbil
Update @vscode/codicons to version 0.0.45-2 and add 'openai' icon
2026-01-29 16:59:01 +00:00
Benjamin Christopher Simmonds f94bca23a3 Merge branch 'main' into benibenj/interested-slug 2026-01-29 17:58:30 +01:00
Martin Aeschlimann fe90dba7c1 improve new agent.md default empty tool selection (#291647) 2026-01-29 16:55:27 +00:00
Martin Aeschlimann 46308bc433 Remove unnecessary log statement in JSON client (#291645)
[json] remove unnecessary og statement
2026-01-29 16:51:13 +00:00
Connor Peet 00b43c826d mcp: update draft typings and announce mcp apps support (#291654)
Implements https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx#client-host-capabilities

Updates MCP typings to the latest draft to be able to specify that field.
2026-01-29 16:49:53 +00:00
Johannes Rieken d9e4d027eb https://github.com/microsoft/vscode/issues/289753 (#291644) 2026-01-29 16:36:55 +00:00
mrleemurray 7ba11de8cf fix: update theme IDs and labels for consistency 2026-01-29 16:35:41 +00:00
Martin Aeschlimann d944566c4d Show chat agents/prompts in extension features list (#291643) 2026-01-29 16:34:57 +00:00