Commit Graph

145084 Commits

Author SHA1 Message Date
Rob Lourens 968b908772 Don't log tool cancellation as error (#291797)
Fix #291096
2026-01-29 21:10:27 -08:00
Daniel Imms 40e01fce60 Merge pull request #291795 from microsoft/tyriar/290972
Clamp terminal timeout to save values
2026-01-29 20:16:40 -08:00
Daniel Imms b9bd16fb3e Clamp terminal timeout to save values
Fixes #290972
2026-01-29 19:48:59 -08:00
Rob Lourens 543804d5de Disable question tool for subagent (#291780)
Fix #291416
2026-01-30 02:01:24 +00:00
Justin Chen b17f5e9ede fix css mismatch between spinner and thinking header (#291773) 2026-01-30 01:42:36 +00:00
Justin Chen d9bb11ef31 associate spinner text with tool call or reasoning block (#291762)
* associate spinner text with tool call or reasoning block

* address some comments, removed a loading title
2026-01-29 16:48:46 -08:00
Rob Lourens 830c548e67 Don't log full renderData (#291767)
This is causing severe log spam and filling up the Window log
2026-01-29 16:46:25 -08:00
Matt Bierner a5cfde1b64 Merge pull request #291454 from mjbvz/dev/mjbvz/straightforward-flyingfish
Add a title for generated mermaid diagrams and use this for opened editors
2026-01-29 16:40:22 -08:00
Matt Bierner a148fff6a9 Merge branch 'main' into dev/mjbvz/straightforward-flyingfish 2026-01-29 16:19:43 -08:00
Henning Dieterichs be2a52eb32 Fixes https://github.com/microsoft/vscode/issues/291242 (#291760) 2026-01-30 00:09:00 +00:00
Copilot f1b439a339 Fix chat terminal streaming editor height when there is only one line (#291651)
* Initial plan

* Fix editor height calculation to include vertical padding

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>
2026-01-29 23:53:39 +00:00
Rob Lourens 946a11c493 Clarify that verification-steps-needed is for the team, not the external issue opener (#291758) 2026-01-29 23:32:11 +00:00
Daniel Imms 31a01ada16 Merge pull request #291725 from microsoft/tyriar/287652_2
Allow xxd exact command line
2026-01-29 15:31:06 -08:00
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
Paul 9d43a751c0 Merge branch 'main' into tyriar/287652_2 2026-01-29 15:07:52 -08: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
Matt Bierner bf05ca89b6 Merge branch 'main' into dev/mjbvz/straightforward-flyingfish 2026-01-29 13:41:21 -08: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
Matt Bierner f7cb28aad3 Merge branch 'main' into dev/mjbvz/straightforward-flyingfish 2026-01-29 13:06:10 -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
Daniel Imms 9cec1f5c35 Allow xxd exact command line 2026-01-29 12:23:06 -08: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