Commit Graph

144137 Commits

Author SHA1 Message Date
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
Copilot 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
Alex Dima 91eeae05dd Abstract CopyPasteController from DOM clipboard APIs
Introduce widget-level onWillCopy/onWillCut/onWillPaste events that
bubble up from edit contexts through View to CodeEditorWidget.
CopyPasteController now subscribes to these abstracted events instead
of directly listening to DOM clipboard events.
2026-01-19 10:52:40 +01:00
Takashi Tamura 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
Connor Peet aa79fe4641 pr comment 2026-01-18 23:36:30 -08:00
Connor Peet 262d6b1e24 Merge remote-tracking branch 'origin/main' into connor4312/chat-list-hover 2026-01-18 23:33:59 -08:00
Bhavya U 6b921dda5c remove todo item description field and make it readonly (#288760) 2026-01-18 12:50:21 -08:00
Copilot 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
Copilot 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
Copilot 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 Lourens 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
Daniel Imms ecd137fe6f Merge pull request #288633 from microsoft/tyriar/286269
Don't show initial hint for hideFromUser and  terms with content
2026-01-17 10:03:15 -08:00
Daniel Imms 1fd1907833 Update src/vs/workbench/contrib/terminalContrib/inlineHint/browser/terminal.initialHint.contribution.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-17 09:41:36 -08:00
Daniel Imms 72eab05d19 Don't show initial hint for hideFromUser and terms with content
Fixes #286269
2026-01-17 09:28:29 -08:00
Benjamin Pasero 58fc596843 💄 2026-01-17 14:05:20 +01:00
Benjamin Pasero 33501abd3f reduce diff 2026-01-17 14:00:11 +01:00
Daniel Imms 7d96fc6dc8 Merge pull request #288593 from microsoft/tyriar/288589
Make sed /e and /w rule more specific
2026-01-17 04:04:45 -08:00
Daniel Imms 8a8aefa9f4 Merge pull request #288584 from microsoft/tyriar/288118
Optimize initial hint at low widths
2026-01-17 04:04:01 -08:00
Daniel Imms 7eec263c7c Address feedback 2026-01-17 03:25:48 -08:00
Daniel Imms 80553c1ac8 Make sed /e and /w rule more specific
Fixes #288589
2026-01-17 03:18:30 -08:00
Daniel Imms c93e674e1c Optimize initial hint at low widths
Fixes #288118
2026-01-17 02:42:05 -08:00
Daniel Imms 310e30d66f Merge pull request #288579 from microsoft/tyriar/288431_dir
Add dir to default auto approve rules
2026-01-17 02:18:21 -08:00
Daniel Imms 8278a15831 Add dir to default auto approve rules
Fixes #288431
2026-01-17 01:59:52 -08:00
Daniel Imms 9d5bba5e86 Merge pull request #288447 from microsoft/tyriar/287772_py__node__rb
Add ruby presenter
2026-01-17 01:26:58 -08:00
Justin Chen a149ab4bd9 fix padding in thinking part (#288545) 2026-01-17 05:37:15 +00:00
Rob Lourens c945bef6b5 Increase max number of persisted sessions (#288528)
Fix #283123
2026-01-17 01:57:56 +00:00
Osvaldo Ortega 1e90b6c4dd Merge pull request #288523 from microsoft/osortega/irrelevant-monkey
Open Agent Sessions button should maximize chat
2026-01-16 17:12:55 -08:00
Osvaldo Ortega 654d7d529a Merge pull request #288521 from microsoft/osortega/registered-rat
Agents welcome page layout fix
2026-01-16 17:10:19 -08:00