Commit Graph
143895 Commits
Author SHA1 Message Date
mrleemurray 28d64353ca fix padding in chat scroll down button in interactive list 2026-01-19 16:21:46 +00:00
Lee Murray 7d2e826469 Merge pull request #288921 from microsoft/mrleemurray/usage-indicator
Context window usage indicator
2026-01-19 16:15:26 +00:00
Alex Ross d331d50a2c See more -> Show pull request (#288916)
Part of #288848
2026-01-19 16:59:04 +01:00
mrleemurray 28fb9be1dd Enhance ChatContextUsageWidget with additional token tracking and improved hover display styling 2026-01-19 15:55:02 +00:00
Martin Aeschlimann 05e7063883 fix review comments (#288913) 2026-01-19 15:38:20 +00:00
Ladislau Szomoru 2882d8f782 Engineering - release the build that is being triggered at 19:00 (#288903)
* Engineering - release the build that is being triggered at 19:00

* Add second schedule

* Revert variable
2026-01-19 15:22:06 +00:00
Benjamin Pasero 38e15e93c7 chat - indicate running session in view badge (#283051) (#288905) 2026-01-19 14:59:15 +00:00
Martin Aeschlimann 0fb4f77929 allow agents to define which subagents can be used (#288902)
* add ICustomAgent.agents

* add agent as built-in toolset

* update

* update

* add tests for completions

* use subagents list
2026-01-19 14:44:25 +00:00
Dmitriy Vasyura b2795bd8bb Add Collapse All action to SCM view pane (#285407)
Added Collapse All action to SCM view pane
2026-01-19 06:43:38 -08:00
Copilotandalexr00 afea1bf7cf Log error for invalid chatContext icon format instead of silently ignoring (#288885)
* Initial plan

* Add error logging for invalid chatContext icon format

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Fix: Only log error when icon exists but has invalid format

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Add comment explaining defensive check

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2026-01-19 14:29:44 +00:00
Benjamin Pasero 99d227e67c agents - fix regression with projection not applying when opening session (#288889)
* agents - fix regression with projection not applying when opening session

* limit to setting only

* .
2026-01-19 13:21:19 +00:00
Benjamin PaseroandCopilot 6aa820992b chat - end the log spam when reading from disk (#288877)
* chat - end the log spam when reading from disk

* .

* Update src/vs/workbench/contrib/chat/common/model/chatSessionStore.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-19 13:02:38 +00:00
mrleemurray e2b039a8a1 Refactor token counting in ChatContextUsageWidget to include image and selection tokens; update related calculations and display 2026-01-19 13:00:41 +00:00
Copilotandalexr00 986be4ec40 Don't persist extension contributed chat contexts across reload (#288106)
* Initial plan

* Don't persist extension contributed chat contexts across reload

Filter out IChatRequestStringVariableEntry and IChatRequestImplicitVariableEntry
with StringChatContextValue values during serialization as these have handles
that become invalid after window reload.

Fixes microsoft/vscode#280380

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2026-01-19 12:52:54 +00:00
mrleemurray 658baa7739 Refactor token counting in ChatContextUsageWidget for improved performance and readability; add styling for quota sub-label in hover display 2026-01-19 12:49:16 +00:00
Alex Ross e9f791745f Add tooltip to chat context item (#288418)
* Add tooltip to chat context item
Part of #280658

* Copilot feedback
2026-01-19 13:46:14 +01:00
mrleemurray ecb744fd3a Remove unused hover separator from ChatContextUsageWidget styles 2026-01-19 12:40:11 +00:00
mrleemurray 27c0d63f0f Refactor ChatContextUsageWidget to improve token usage display and enhance hover interactions 2026-01-19 12:38:06 +00:00
Robo 6543b51327 feat: enabled windows version update for stable (#288126)
* feat: enabled windows version update for stable

* chore: update setup file

* temp: bump distro

* chore: fix electron re-download

* fix: oss callsite in updateservice

* chore: simplify check in tunnel-forwarding
2026-01-19 12:16:20 +00:00
Christof Marti c0828d057e Add suspend/resume telemetry for reliability insights 2026-01-19 13:08:49 +01:00
mrleemurray a81e20f4a5 Enhance ChatContextUsageWidget with hover display and token usage updates 2026-01-19 12:05:33 +00:00
Benjamin Christopher Simmonds de60e8a862 Merge pull request #288863 from microsoft/benibenj/elaborate-mastodon
Remove chat_enabled flag
2026-01-19 12:56:47 +01:00
Sandeep Somavarapu e5c481e4af do not set policy data if not fetched (#288866) 2026-01-19 11:39:32 +00:00
mrleemurray 4547b4a3a5 Add ChatContextUsageWidget to display token usage in chat input 2026-01-19 11:36:49 +00:00
BeniBenj 9a0734e5ed Remove chat_enabled flag 2026-01-19 12:12:39 +01:00
Benjamin Christopher Simmonds 67044669e7 Merge pull request #288850 from microsoft/benibenj/free-tortoise
Move continue chat into agent type picker
2026-01-19 12:08:55 +01:00
Ladislau Szomoru 0971437ee0 Background - fix viewing changes action in working set (#288845) 2026-01-19 11:06:53 +00:00
Martin Aeschlimann 08132f0222 remote cli: do not open files with openExternal (#288856) 2026-01-19 11:06:19 +00:00
Copilotandjoaomoreno 6ba7b2e6ca Chat: Fix excessive top padding in request bubble when user replies with a bullet list (#288113)
* Initial plan

* Fix excessive top padding in chat request bubble when user replies with a bullet list

Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
2026-01-19 12:00:58 +01:00
Benjamin Pasero a2ad5acb04 agent sessions - introduce experiments and adopt for projection & status (#288696) 2026-01-19 10:41:52 +00:00
BeniBenj 2ef6933279 Move continue chat in into agent type picker 2026-01-19 11:24:46 +01:00
Takashi TamuraandAlexandru Dima 471da7c9b8 Optimize rendering performance by scheduling DOM updates at the next animation frame in NativeEditContext and TextAreaEditContext (#285906)
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2026-01-19 09:49:17 +00:00
Sandeep Somavarapu 9d307cff50 use default account in chat entitlements service (#288165)
#269294 use default account in chat entitlements service
2026-01-19 09:04:54 +00:00
Sandeep Somavarapu a0929aabec trim the key (#288819) 2026-01-19 08:57:30 +00:00
Bhavya U 6b921dda5c remove todo item description field and make it readonly (#288760) 2026-01-18 12:50:21 -08:00
7b5ef178cd Reveal setting in JSON editor when query looks like a setting key (#288427)
* Initial plan

* Fix: convert query to revealSetting when opening JSON settings editor

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Check for @id: prefix before using query as setting key

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* Remove build-output.log and add to gitignore

Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>

* clean up

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sandy081 <10746682+sandy081@users.noreply.github.com>
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2026-01-18 17:35:57 +00:00
Copilotandulugbekna 61644682e9 Fix extension-specific default log levels not being applied (#287729)
* Initial plan

* Fix default log level not applied to extensions correctly

The issue was in extHostOutput.ts where getLogLevel() always returns a value (never undefined) because it falls back to the global default. This was overriding the extension-specific default log level.

Changed to only override if there's an explicitly set log level for that logger resource using getRegisteredLogger() which returns the ILoggerResource with logLevel as undefined when using default.

Co-authored-by: ulugbekna <16353531+ulugbekna@users.noreply.github.com>

* Improve comment clarity based on code review feedback

Co-authored-by: ulugbekna <16353531+ulugbekna@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ulugbekna <16353531+ulugbekna@users.noreply.github.com>
2026-01-18 17:09:46 +00:00
Sandeep Somavarapu df2c07422b fix skipping models from other vendors (#288713) 2026-01-18 05:54:13 -08:00
Ladislau Szomoru 434f92ed0a Chat - fix working set secondary text button height (#288704) 2026-01-18 05:53:30 -08:00
Benjamin Pasero a8aad7d100 chat - better alignment for chat input (#288690) 2026-01-18 00:05:08 -08:00
97b81ef023 Agent sessions: support multi-select for mark read/unread and archive/unarchive (#288449)
* Initial plan

* Add multi-select support for agent session mark read/unread and archive/unarchive operations

Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>

* polish

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2026-01-18 06:04:12 +00:00
Rob Lourens 2ffa47e52b Fix error in chatwidget setup (#288680)
* Fix error in chatwidget setup
Leftover from #288653

* Also remove this unneeded layout call that runs too often
2026-01-17 21:08:13 -08:00
Rob Lourens 7710bbee04 Adjust chat-current-response-min-height behavior (#288674)
Only show the request/response, don't show any of the previous response. This looks cleaner, part of #274099.
Also, measuring from the top means that we don't shift the response up and down when expanding the list of edited files (if the response is shorter than the minimum)
2026-01-17 21:07:48 -08:00
Rob LourensandJustin Chen 2d7335fead Lazy render collapsed thinking group parts (#288535)
* Lazy render collapsed thinking group parts
Fix #287176

* re-comment

* Update src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatThinkingContentPart.ts

Co-authored-by: Justin Chen <54879025+justschen@users.noreply.github.com>

* - In fixedScrolling mode, need to make sure we know that the part is not streaming before rendering it, so that we don't render the tool parts then immediate finalize and collapse the group
- Diffing with lazily created tool parts is a bit weird, led to rendering extra tool parts at the bottom of the response. One thing I added to help with this is clearing out all rendered parts when a new model is swapped in. I wanted to do this anyway because keeping all those parts around can lead to leaks.

---------

Co-authored-by: Justin Chen <54879025+justschen@users.noreply.github.com>
2026-01-17 21:06:39 -08:00
Rob Lourens 50532b11cb StaticResourceContextKey followup (#288673)
Address copilot comments in https://github.com/microsoft/vscode/pull/288641
2026-01-18 02:39:35 +00:00
Rob Lourens 9a414036ba Change chat input layout to be based on ResizeObserver (#288653)
Simplify the logic and avoid layout thrashing when we would layout multiple times
2026-01-17 17:18:57 -08:00
Rob Lourens 2e7a9e070c Avoid hashing variables for dataId (#288650)
* Avoid hashing variables for dataId
This can be extremely slow when loading large models.
Instead we increment a version number each time they change (which isn't really necessary anyway today, the vars used to be updated async but now they are just set when the request is created, but set this up correctly for changes later)

* Actually increment version
2026-01-17 17:18:08 -08:00
Benjamin Pasero ed4f003a2d feat - add retry and report issue commands in SetupAgent on timeout (#288645) 2026-01-17 19:14:11 +00:00
Rob Lourens 40552e3bce Prevent calling updateElementHeight while rendering the element (#288644)
There are too many ways this can happen on accident so just applying an overall check
2026-01-17 19:01:49 +00:00
Rob Lourens 141b5fe8dd Add StaticResourceContextKey to skip global event listeners (#288641)
Fix leak warnings from inline anchor widgets - not real leaks, we just create a lot of these and don't dispose when you might expect them to be
2026-01-17 10:55:32 -08:00