Commit Graph

148279 Commits

Author SHA1 Message Date
mrleemurray
fa94d6f5d8 Fix backdrop-filter issue in quick chat widget to prevent layout shifts 2026-02-09 12:43:37 +00:00
mrleemurray
b640cbe0e1 Add support for restart required extensions in the extensions view 2026-02-09 12:17:52 +00:00
copilot-swe-agent[bot]
1177b2af49 Also check inlineSuggest.enabled for offWhenInlineCompletions
When editor.inlineSuggest.enabled is false, offWhenInlineCompletions
should allow quick suggestions even if inline completion providers are
registered, since they won't produce results anyway.

Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>
2026-02-09 11:43:59 +00:00
Johannes
d27f42a111 use 2026-02-09 12:29:01 +01:00
Don Jayamanne
1ef1571fd6 Support rendering links in ChatCollapsibleInputOutputContentPart (#293833) 2026-02-09 11:33:03 +01:00
copilot-swe-agent[bot]
07e38233ff fix: restrict internal tool bypass to explicitly non-referenceable tools
- Change condition from `!canBeReferencedInPrompt` to `canBeReferencedInPrompt === false` to only bypass agent mode checks for tools that explicitly cannot be referenced (like inline_chat_exit)
- Add test case for issue #292935 to verify internal tools with canBeReferencedInPrompt=false are permitted when agent mode is disabled
- Update comment to clarify "explicitly cannot be referenced"

Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>
2026-02-09 09:54:43 +00:00
Johannes
696c09b061 add 2026-02-09 10:53:56 +01:00
copilot-swe-agent[bot]
8a10750c10 Initial plan 2026-02-09 09:37:43 +00:00
Johannes Rieken
94e4148f68 Update src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-09 09:35:06 +01:00
Robo
d565dc148b Revert "Bump tar and dmg-builder in /build (#293531)" (#293824)
This reverts commit aea8c3f92d.
2026-02-09 08:27:00 +00:00
copilot-swe-agent[bot]
2ae3e21eeb Add offWhenInlineCompletions value for editor.quickSuggestions setting
Adds a new 'offWhenInlineCompletions' value to the quickSuggestions
setting that disables quick suggestions when an inline completion
provider is registered for the current model. When no inline completion
provider exists, suggestions behave as if set to 'on'.

Also adds experiment: { mode: 'auto' } to the quickSuggestions setting.

Co-authored-by: jrieken <1794099+jrieken@users.noreply.github.com>
2026-02-09 08:21:56 +00:00
copilot-swe-agent[bot]
efe6215b27 Initial plan 2026-02-09 07:56:11 +00:00
Emrecan Karaçayır
de54e8d49a Fixes inconsistent coloring for agent status badge (#293224)
* Fixes: #293223

* Readded: mistakenly deleted css rule
2026-02-09 08:48:19 +01:00
Benjamin Pasero
cd49d0242d debt - fix some leaks found by copilot (#293814) 2026-02-09 08:24:19 +01:00
Benjamin Pasero
45a35b8049 debt - fix some leaks found by copilot (#293731) 2026-02-09 06:13:06 +00:00
Rob Lourens
b45c33657e Don't fail hooks when missing token (#293811) 2026-02-08 21:56:04 -08:00
Paul
55477c4cc8 Update configure hooks flow and supported paths (#293643)
* update

* updates

* Update src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.ts

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

* update handling

* PR

* test

* fix test

* cleanup

* nit

* cleanup

* clean

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-08 21:02:17 -08:00
Osvaldo Ortega
cae3c5a818 Merge pull request #293452 from microsoft/osortega/disappointed-shark
Use cache for welcome view
2026-02-09 02:40:48 +01:00
Osvaldo Ortega
56f0349a67 Comments 2026-02-09 01:58:14 +01:00
Martin Aeschlimann
825a4fb0ed support for claude agents (#293354)
* =yes

* update

* add test

* update

* adopt Target type

* update

* map model

* move tool mapping to promptsService
2026-02-08 16:13:58 -08:00
Don Jayamanne
f7e2fdc349 Avoid auto approval for confirmation tool with buttons for background agents (#293546) 2026-02-08 15:13:09 +01:00
Rob Lourens
1aa235610c Support rendering subagent details from external agents (#293705)
* Support rendering subagent details from external agents

* fix tests
2026-02-07 23:07:45 +00:00
Rob Lourens
7b1aae991c Track external tool calls (#290886)
* Track external tool calls

* Tools in progress work, subagents do not

* Remove the subagent stuff

* Safer

* Remove this

* Build fix

* Bump proposed API
Because this would lead to showing all tool calls twice in CC

* Remove this
2026-02-07 13:06:40 -08:00
Benjamin Pasero
05d55b367a debt - fix some leaks found by copilot (#293693) 2026-02-07 20:06:23 +00:00
Copilot
6babfd1c0f Fix input persistence when sending to new chat session (#293577)
* Initial plan

* Fix: Clear input when sending to new chat session

When using Ctrl+Shift+Enter to send a prompt to a new chat session,
the original chat's input is now properly cleared by calling
widget.setInput('') before creating the new session. This ensures
that when navigating back to the original session, the input field
is empty as expected.

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Add test for SendToNewChatAction input clearing

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Improve test to verify operation sequence

Updated test to assert that input clearing happens before session
clearing, ensuring the operations occur in the correct order.

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Replace dynamic import with static import

Use static import and registerChatExecuteActions() call instead of
require() to follow VS Code testing patterns.

Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>

* Remove test rather than fix it

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: roblourens <323878+roblourens@users.noreply.github.com>
Co-authored-by: Rob Lourens <roblourens@gmail.com>
2026-02-07 20:04:38 +00:00
Aiday Marlen Kyzy
a7af00610a Assigning to the folding icon variable (#293652)
assigning to the folding icon variable
2026-02-07 20:01:43 +00:00
Benjamin Pasero
a7e4a1afa6 debt - fix some leaks found by Copilot (#293689) 2026-02-07 19:50:40 +00:00
David Dossett
1bdfead3b9 Adjust agent session list item sizing (#293666)
* Adjust agent session list item sizing

- Title font size: 12px → 13px
- Details row + status time font size: 11px → 12px
- Title row line-height: 16px → 17px, padding-bottom: 2px → 4px
- Details row line-height: 14px → 15px
- Icon col line-height: 16px → 17px
- List item height: 40px → 44px
- Remove mouse-focused outline override
- Update welcome page hardcoded height

* Fix agent session section padding for right position

* Clean up padding shorthand
2026-02-07 19:41:34 +00:00
Benjamin Pasero
a4b17ff67a debt - fix some leaks found by copilot (#293685) 2026-02-07 19:38:58 +00:00
Ladislau Szomoru
efb6eeee9d Git - openRepository extension API should always open the repository without any prompts (#293681) 2026-02-07 20:37:03 +01:00
Benjamin Pasero
8eeb7b940b debt - fix some leaks found by Copilot (#293684) 2026-02-07 19:34:39 +00:00
Benjamin Pasero
80275d2977 modal editor - block most workbench commands when modal editor shows (#293657)
* modal editor - block most workbench commands when modal editor shows

* feedback

* .
2026-02-07 11:31:08 -08:00
Rob Lourens
0e9abbad9c Add /hooks slash command (#293583)
* Add /hooks slash command

* await

* Build fix
2026-02-07 19:06:14 +00:00
Benjamin Pasero
37705237e7 chat setup - improve detection for panel welcome on context keys that are relevant (#293603) 2026-02-07 09:10:57 -08:00
Paul
a09fd62459 Add common blocking behaviour for hooks (#293543) 2026-02-07 08:56:10 -08:00
Paul
4a3a4c09ec Handle remote OS for hook detection (#293596) 2026-02-07 08:55:54 -08:00
Dmitriy Vasyura
1e63652146 Update status bar entry bug fixes (#293625) 2026-02-07 16:51:29 +01:00
Dmitriy Vasyura
702d358dc9 Display a confetti animation on chat response thumbs up (#293582)
* Display a confetti animation on chat response thumbs up

* Bug fixes
2026-02-07 02:19:36 -08:00
Rob Lourens
0204a85812 Support PreCompact hook (#293581)
* Support PreCompact hook

* add this
2026-02-06 21:38:24 -08:00
Rob Lourens
f0c6399658 Limit the subagent model to a model with multiplier <= the main agent (#293570)
* Add multiplierNumeric

* Subagent model resolution with multiplierNumeric

- Use multiplierNumeric for subagent model fallback logic instead of parsing multiplier strings
- Add model name tooltip to subagent content part
- Pass toolCallId and modelId through tool invocation preparation context
- Cache resolved models between prepare and invoke phases

* Update src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.ts

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

* New tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 20:25:24 -08:00
Rob Lourens
05aadf1539 updatedInput for PreToolUse (#293575) 2026-02-06 19:27:52 -08:00
David Dossett
0ed85cc5ac Polish agent sessions list UI (#293523)
* Polish agent sessions list UI

- Show description alongside diff badge with dot separator
- Use regular foreground for active selection, descriptionForeground for inactive
- Remove background/outlines from diff badge
- Bump read indicator opacity to 20%

* Fix sessionDateFromNow test expectations

* Add white-space: nowrap to title/description for clean truncation

* Move compact time formatting to shared date utils

Add useCompactUnits option to fromNow() and getDurationString() for
single-letter compact units (5m, 2h, 3d) and remove custom functions
from agentSessionsViewer.

* Hide description when diff badge is shown

* Revert date formatting to pre-PR style (e.g. '4 hrs ago')

* Drop 'ago' suffix from session date labels

* Revert date.ts to upstream (remove unused useCompactUnits)

* Remove trailing period from completion status labels
2026-02-06 18:46:21 -08:00
Rob Lourens
d20d8cbc71 Support transcript_path on hooks (#293567) 2026-02-06 17:12:43 -08:00
Connor Peet
441344ca41 Merge pull request #293552 from microsoft/connor4312/queue-state-button-polish
chat: various fixes around queued/steering states
2026-02-06 16:08:20 -08:00
Justin Chen
92f3084076 hook streaming first pass (#293514)
* hooks streaming first pass

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

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

* update styling

* modify api shape

* address some comments + do not render for now

* new icons + no more continue

* make sure we render right, some comments addressed

* uncomment that stuffs

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 16:03:24 -08:00
David Dossett
90250bfba0 Polish integrated browser UI (#293218)
* Polish integrated browser UI: welcome state, input styling, toolbar gaps

* Update src/vs/workbench/contrib/browserView/electron-browser/media/browser.css

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

* Always show forward button, disable when not usable

* Add dev tools icon button, disable until page loaded

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-06 15:51:10 -08:00
Connor Peet
3c79374974 chat: fix attachments not showing in queued messages 2026-02-06 15:29:14 -08:00
Connor Peet
9f384abd28 chat: fix editing a past request with ongoing requests makes it steer/pend 2026-02-06 15:29:00 -08:00
Ben Villalobos
424c52d501 Fix accessibility skill (#293548) 2026-02-06 23:22:03 +00:00
Paul
1dde0d9105 Support OS-specific commands for hooks (#293530) 2026-02-06 15:19:50 -08:00