Commit Graph

143720 Commits

Author SHA1 Message Date
Christof Marti
f322d8ea8a Add telemetry event 2026-01-16 10:38:04 +01:00
Copilot
f22245625a Agent sessions: allow context menu actions on section headers (#288148)
* Initial plan

* Add context menu actions for session section headers

- Add new `AgentSessionSectionContext` MenuId for section context menus
- Update `ArchiveAgentSessionSectionAction` to appear in section context menu
- Update `UnarchiveAgentSessionSectionAction` to appear in section context menu
- Add new `MarkAgentSessionSectionReadAction` for marking all sessions as read
- Update `agentSessionsControl.ts` to show context menu for section headers

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

* .

* .

* Update src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.ts

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

* Update src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.ts

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

---------

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@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-16 09:20:24 +00:00
Benjamin Pasero
66a451a86c Revert "Fix 100% CPU on Windows when watched file is deleted" (#288266)
Revert "Fix 100% CPU on Windows when watched file is deleted (#288003)"

This reverts commit fa78c64031.
2026-01-16 10:11:06 +01:00
Alexandru Dima
3e64d23c25 Merge pull request #288262 from microsoft/alexd/illegal-tortoise
Defer remote extension host activation for immediate activations
2026-01-16 10:06:01 +01:00
Alex Dima
93c8f45105 Revert package-lock changes 2026-01-16 09:44:10 +01:00
Alex Dima
a77622a536 Fix unit test failures 2026-01-16 09:43:28 +01:00
Alex Dima
324dec72f1 Remove short-circuit in ExtensionHostManager for Immediate activation events 2026-01-16 09:20:44 +01:00
Alex Dima
45d95bbbe4 Defer remote extension host activation for Immediate activations
When `activateByEvent` is called with `ActivationKind.Immediate`, only
activate on local extension hosts (LocalProcess, LocalWebWorker) and
defer remote host activation until the remote host is ready. This
prevents blocking startup when extensions need immediate activation
but the remote host isn't available yet.

Changes:
- Add `activationKind` to `IWillActivateEvent` interface
- Track deferred activation events in `_pendingRemoteActivationEvents`
- Filter to local hosts only for Immediate activation
- Replay deferred events on remote hosts after initialization
- Fire `onWillActivateByEvent` again with Normal kind when replaying

Fixes #260061
2026-01-16 09:13:37 +01:00
Ladislau Szomoru
338850982f Chat - background session should always use the session menu (#288254) 2026-01-16 09:06:24 +01:00
Justin Chen
e719265db2 change thinking icons and ui fixes (#288248)
* change thinking icons and style fixes

* fix padding
2026-01-16 07:50:40 +00:00
Rob Lourens
891a63f5ca Fix some subagent ui jank (#288227)
Properly join runSubagent tool invocation with its tool calls
2026-01-16 07:19:38 +01:00
Justin Chen
58cd404d33 do not pin mermaid tool call (#288226) 2026-01-16 07:19:22 +01:00
Benjamin Pasero
563f788ca9 deps - check in a package.lock (#288233) 2026-01-16 07:19:00 +01:00
Paul
03f79ac30b Agent skills extension file contribution API (#287671) 2026-01-15 18:54:31 -08:00
Osvaldo Ortega
da9916e1a1 Merge pull request #288181 from microsoft/osortega/back-whitefish
Agent sessions welcome view
2026-01-15 16:44:24 -08:00
Josh Spicer
94bd7d47f9 rebuild agentStatusWidget (#288192)
* rebuild agentStatusWidget

* Update src/vs/workbench/contrib/chat/browser/agentSessions/agentStatusWidget.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-16 00:30:02 +00:00
Megan Rogge
2baec29920 prevent flicker in expanding chat output (#287865) 2026-01-15 16:11:43 -08:00
Osvaldo Ortega
5f0d68e0df Hygiene 2026-01-15 16:09:36 -08:00
Osvaldo Ortega
22c339672d Merge branch 'main' of https://github.com/microsoft/vscode into osortega/back-whitefish 2026-01-15 15:42:42 -08:00
Osvaldo Ortega
d71906bc72 Agents welcome view 2026-01-15 15:40:18 -08:00
Zhichao Li
7b5c084b8f Merge pull request #288180 from microsoft/zhichli/fixchatrepoinfo
Fix and enhance newline handling in git diff generation of `chatRepoInfo`
2026-01-15 15:27:36 -08:00
Paul
8a2adc0d0a Fix missing user prompt files (#288182) 2026-01-15 15:21:55 -08:00
Alex Dima
5606ec9727 Simplify code 2026-01-16 00:01:29 +01:00
Megan Rogge
3f178fb6c1 use f2 for mac, windows (#288175)
fixes #288174
2026-01-15 14:56:53 -08:00
Osvaldo Ortega
ad012358c4 WIP 2026-01-15 14:23:42 -08:00
Zhichao Li
eec05c584c enhance newline handling of diff export in chatRepoIno 2026-01-15 14:13:08 -08:00
Josh Spicer
1656700d1d streaming latest session to agentSessionWidget (#288176)
* stream progress

* tidy
2026-01-15 22:03:48 +00:00
Josh Spicer
ccdcaa2407 refactor agent command center and projection code (#288163)
* change how we draw their attention

* more

* swap X to esc button

* refactor

* remove unused

* fix placeholder
2026-01-15 21:36:13 +00:00
Connor Peet
bebef40b5a chat: fix uri compare failing in chat session storage (#288169)
Fixes a data loss issue where we'd fail to store the session
2026-01-15 21:34:23 +00:00
Ladislau Szomoru
88091dc760 Chat - only render working set when there are session files (#288164) 2026-01-15 20:47:58 +00:00
Matt Bierner
0bd6afc8e0 Merge pull request #287923 from mjbvz/dev/mjbvz/artificial-barnacle
Hide getAllChatSessionItemProviders
2026-01-15 12:29:14 -08:00
Connor Peet
8e70e1e590 chat: fix last response state stored as active in the session index (#288161) 2026-01-15 20:09:00 +00:00
Ladislau Szomoru
ffd0ae8c67 Button - fix overflow wrapping (#288160) 2026-01-15 20:04:34 +00:00
Justin Chen
601d342dde terminal in thinking dropdown (#287902)
* terminals in thinking dropdown

* make setting on by default:'

* fix chat confirmation widget

* fix spelling

* fix public issue

* add backup icon for terminal
2026-01-15 19:58:03 +00:00
Matt Bierner
c3d9a398df Merge pull request #288079 from kiofaw/fix/256854
fix: replace AsyncIterableObject with AsyncIterableProducer
2026-01-15 11:54:33 -08:00
Josh Spicer
4b8d9aa13a Agents control show Esc button hint (#288135)
* change how we draw their attention

* more

* swap X to esc button
2026-01-15 11:46:10 -08:00
Matt Bierner
45069f93db Merge branch 'main' into dev/mjbvz/artificial-barnacle 2026-01-15 11:43:14 -08:00
Matt Bierner
9d80d65212 Merge pull request #287940 from mjbvz/dev/mjbvz/organic-giraffe
Fix handling of `ExtendedLanguageModelToolResult2`
2026-01-15 11:41:00 -08:00
Logan Ramos
63be45bc13 Fix create file not properly rendering (#288150)
* Fix create file not properly rendering

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 19:39:38 +00:00
Tyler James Leonhardt
9a53549070 fix: add descriptions to chat session picker options (#288149) 2026-01-15 19:21:06 +00:00
Robo
3e56b3a2a4 feat: enable win11 context menu for stable (#287832)
* feat: enable win11 context menu for stable

* chore: update dll package

* chore: codesign appx for stable

* feat: support system setup

* fix: allow installing appx for system setup

* fix: add -SkipLicense to avoid exception during install
2026-01-15 19:49:28 +01:00
Copilot
fa78c64031 Fix 100% CPU on Windows when watched file is deleted (#288003)
* Initial plan

* Fix 100% CPU on Windows when watched file is deleted

When a watched file/folder is deleted on Windows, Parcel's subscribe
callback may continue to receive errors from ReadDirectoryChangesW.
Previously, these errors were processed by onUnexpectedError which
would fire _onDidError events repeatedly. This caused 100% CPU usage
as the error handling loop never stopped.

The fix checks if the watcher has already failed (via watcher.failed)
before processing errors. When the watcher has failed (which happens
when the watched path is deleted), additional errors from Parcel are
ignored. This prevents the CPU spike while still allowing the normal
suspend/resume mechanism to handle watching the path when it's recreated.

Fixes microsoft/vscode#263718

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

* Update comments to better explain CPU issue prevention

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

* Add same fix to nodejs watcher for Windows CPU issue

Apply the same fix to nodejsWatcherLib.ts as suggested by the reviewer.
The error handler now checks if the watcher has already failed before
processing additional errors, preventing the endless error loop on
Windows when a watched path is deleted.

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

* lets not change parcel watcher for now

* .

* .

---------

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@microsoft.com>
2026-01-15 18:47:11 +00:00
Paul
12bce8da5a Agent skills management UX and file support (#287201) 2026-01-16 05:46:36 +11:00
Bhavya U
a03c603b04 Show todo list when there are any todos available (#288119) 2026-01-15 19:43:23 +01:00
Benjamin Christopher Simmonds
1c1762b073 Merge pull request #288120 from microsoft/benibenj/meaningful-junglefowl
Improved chat input pickers
2026-01-15 18:39:23 +01:00
BeniBenj
2cd5626d13 improved chat input pickers 2026-01-15 18:17:26 +01:00
João Moreno
3ecb8e893f Add compatibility checks for Copilot Chat extension in release build script (#287807)
* Add compatibility checks for Copilot Chat extension in release build script

* add tests

* address comment
2026-01-15 17:16:53 +00:00
Ladislau Szomoru
448f171f94 Chat - fix chat input rendering bug (#288110) 2026-01-15 18:07:12 +01:00
Ladislau Szomoru
cdc06ed9ac Git - handle case when the repository only contains the main worktree (#288056) 2026-01-15 16:42:07 +00:00
Joaquín Ruales
2f9749dc7c Integrated Browser: Select all URL text when URL bar receives focus (#287919) 2026-01-15 08:34:31 -08:00