Commit Graph

148279 Commits

Author SHA1 Message Date
Benjamin Christopher Simmonds
72634f195e Merge pull request #295991 from microsoft/benibenj/reluctant-raven
Fix sessions window issues
2026-02-18 13:15:05 +01:00
Johannes
0c3635fc05 feat: enhance inline chat affordance with command tracking and UI improvements 2026-02-18 13:07:07 +01:00
Benjamin Pasero
2ef3c126b7 sessions - use activeSessionService for opening from picker (#295984) 2026-02-18 13:04:11 +01:00
Benjamin Pasero
1ea241d6ed sessions - retire chat.agentsControl.clickBehavior: focus (#295980) 2026-02-18 13:03:54 +01:00
BeniBenj
39924a5ec0 remove contrib 2026-02-18 12:57:55 +01:00
BeniBenj
16c3f4409c sessions window fixes 2026-02-18 12:52:42 +01:00
Johannes
33b466b265 feat: add inline chat input functionality and styling improvements 2026-02-18 12:39:25 +01:00
Benjamin Pasero
045f45a19c sessions - fix part layout assumptions (#295988) 2026-02-18 11:36:50 +00:00
Benjamin Pasero
790026d0e1 sessions - retire chat.agentsControl.clickBehavior: focus (#295975) 2026-02-18 10:37:17 +00:00
Benjamin Pasero
4a2f9d4ad6 chore - comment out session exclusion in settings (#295971) 2026-02-18 10:10:12 +00:00
Alex Ross
9ae007d1bb Prevent static contribution API file from getting line ending changes (#295962) 2026-02-18 10:53:11 +01:00
Henning Dieterichs
1874f55074 Potential fix for https://github.com/microsoft/vscode/issues/295379 (#295967) 2026-02-18 09:44:30 +00:00
Prasanth Pulavarthi
2500a2c880 A/B experiment: close button vs Skip for now on sign-in dialog (#295867)
A/B experiment: close button vs Skip for now button on sign-in dialog

Add experiment 'chatSetupDialogCloseButton' using IWorkbenchAssignmentService:
- Treatment (true): show standard X close button, hide Skip for now button
- Control (default): show Skip for now button, hide X close button

Both variants produce the same 'failedMaybeLater' telemetry on dismiss.
Test locally via: experiments.override.chatSetupDialogCloseButton: true
2026-02-18 08:39:46 +00:00
Benjamin Pasero
e5895d4db7 🆙 distro (#295946) 2026-02-18 09:38:29 +01:00
Zhichao Li
ed52ab8bc1 perf: defer expensive repo diff capture to export time (#295936)
* perf: defer expensive repo diff capture to export time

Split repo info capture into two paths:

1. On first chat message (lightweight, no file I/O):
   - captureRepoMetadata() reads only from already-loaded SCM
     provider observables (branch name, commit hash, remote refs)
   - Synchronous, zero file I/O, no diff computation
   - Stores ~200 bytes of metadata per session

2. At export time only (on-demand, user-initiated):
   - captureRepoInfo() performs full file reads and diff generation
   - Only runs when user explicitly triggers 'Export Chat as Zip'

Additional changes:
- Remove repoData from toJSON() serialization. Repo state does not
  need to survive VS Code restarts, only matters for current session
  export. This eliminates serialization overhead in saveState().
- Remove trimOldSessionDiffs(). No longer needed since diffs are
  never stored on the model.
- Remove IFileService dependency from ChatRepoInfoContribution
- Export action no longer gated on chat.repoInfo.enabled for diff
  capture (always captures at export time since it is user-initiated)

Addresses feedback from #286812 about per-message overhead.
Fixes #294863 root cause (expensive file I/O on every message).

* fix: address PR review feedback

- Fix undefined === undefined falsely reporting 'synced' by requiring
  both localHeadCommit and remoteHeadCommit to be defined
- Use 'local-git' / 'local-only' when no remote refs are available
  instead of always claiming 'remote-git'
- Update setting description to reflect metadata-only capture
2026-02-18 08:55:27 +01:00
Paul
cb12b134bc Fix instructions reading in WSL (#295898) 2026-02-18 08:54:45 +01:00
Joaquín Ruales
ddf7d0b4c2 Browser: Disable toolbar buttons when not possible to use them (#295942)
Disable buttons when not possible to use them
2026-02-17 23:38:29 -08:00
Robo
31659231a3 fix: crash with run_as_node in sub app (#295927)
* fix: crash with run_as_node in sub app

* chore: bump distro
2026-02-17 22:30:08 -08:00
Kyle Cutler
ebbe486b2e Browser: Managed CDP context groups (#295676)
* Browser: Managed CDP context groups

* layering

* feedback

* Fail fast

* two-way lookup

* feedback, cleanup
2026-02-17 21:48:15 -08:00
Rob Lourens
3e19988320 Merge pull request #295923 from microsoft/roblou/high-gibbon
Fix some jumping on scrolling up
2026-02-18 05:21:59 +00:00
Anthony Kim
f32f3306fd Enable kitty graphics protocol, bump xterm.js (#295701)
* Bump xterm to enable kitty images

* edit comment about gpu acceleration+kitty

* Update to 162

* Update please

* Mention enable transparency mode

* Stop messing with git

* Update to 165
2026-02-17 21:12:26 -08:00
Rob Lourens
bceeaccee1 fix 2026-02-17 20:15:58 -08:00
Rob Lourens
e67a6f835a Merge pull request #295916 from microsoft/roblou/boring-squid
Fix /agents to open agent picker instead of agent configuration
2026-02-18 04:12:06 +00:00
Rob Lourens
be3c70f6d2 Fix some jumping on scrolling up
- Chat session loads, katex has not yet been loaded
- ListView really wants to render from the top down so it checks the heights of some elements at the top
- Katex not loaded, so we don't render markdown at all
- Measured element height is very wrong
- But we initialize scroll all the way down so those elements don't get a chance to fix their height
- When scrolling up, we render an element and it is resized massively from the previous estimate, content shifts down
2026-02-17 20:07:31 -08:00
Rob Lourens
a697c81718 Action id constants 2026-02-17 19:32:27 -08:00
Rob Lourens
f7cc82233f Fix /agents to open agent picker instead of agent configuration
microsoft/vscode-internalbacklog#6707
2026-02-17 19:25:08 -08:00
Justin Chen
321e4e1f8b add console to chat from integrated browser (#295839)
* add console to chat from integrated browser

* address some comments and change icon
2026-02-17 19:10:15 -08:00
Benjamin Christopher Simmonds
6b7de4769f Merge pull request #295876 from microsoft/benibenj/minor-kingfisher
Fix changes view visibility and add auxiliary bar contribution
2026-02-18 04:06:57 +01:00
Rob Lourens
5b40015603 Merge pull request #295903 from microsoft/roblou/frozen-kangaroo
Disallow tools running on canceled/complete chat requests
2026-02-18 03:05:34 +00:00
David Dossett
039d4936d6 Revert toolbar icons and labels to use regular foreground color (#295895)
* Revert toolbar icons and labels to use foreground instead of descriptionForeground

* Remove rule
2026-02-17 18:02:18 -08:00
David Dossett
25f20632b3 Polish chat confirmation widget styling (#295890)
* Polish chat confirmation widget styling

* Fix padding
2026-02-17 18:01:55 -08:00
Rob Lourens
a77d179ca1 Disallow tools running on canceled/complete chat requests
Safeguard for anything else that might be breaking
2026-02-17 17:46:17 -08:00
Rob Lourens
8c4b9502a5 Merge pull request #295896 from microsoft/roblou/attractive-ape
Fix global /hooks stealing claude /hooks
2026-02-18 01:20:24 +00:00
Matt Bierner
de93d65144 Remove a few more chat session id usages
For #274403

Confirmed that the api change should not effect copilot-chat
2026-02-17 17:17:10 -08:00
Rob Lourens
4d39872ca6 Fix global /hooks stealing claude /hooks 2026-02-17 16:56:53 -08:00
Matt Bierner
3f8fc43e23 Use standard setting name and fix check 2026-02-17 16:56:50 -08:00
David Dossett
ec514175b2 Fix todo list widget border radius to match chat input (#295888) 2026-02-17 15:57:03 -08:00
Naoto Ishikawa
0a1e0c9205 debug: cancel debug launch when ESC is pressed on input variable dialog (#293837)
* fix: return undefined when user canceled input

* fix: resolve eslint warning local/code-no-any-casts
2026-02-17 23:56:44 +00:00
Matt Bierner
08534fdc69 Merge pull request #295812 from microsoft/dev/mjbvz/fix-295527
Try to align `scanBuiltinExtensions` with new esbuild changes
2026-02-17 15:55:03 -08:00
Martin Aeschlimann
48b2dca809 improved yaml parser (#295833)
* improved yaml parser

* Update src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-17 15:49:57 -08:00
Connor Peet
da135e423f queuing: interrupt when messages are sent during confirmation (#295866)
* queuing: interrupt when messages are sent during confirmation

Got this feedback from a few people that steering/queuing during a tool
call confirmation should just cancel the confirmation and send the
message. This does that.

Also cleans up the opt-in setting I had added initially that was only
partially working, now that the feature has shipped.

* comments
2026-02-17 23:45:26 +00:00
Sandeep Somavarapu
fe7aa51a10 new model picker in sessions window (#295871)
* revamp model picker

* implement new model picker and enable it in sessions window

* cleanup

* Apply suggestion from @Copilot

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

* Update src/vs/workbench/contrib/chat/browser/widget/input/chatModelPicker.ts

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

* feedback

* fix color

* revert

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-17 15:39:08 -08:00
Rob Lourens
67da8fbdd2 Merge pull request #295884 from microsoft/roblou/proposed-dormouse
Remove dead code
2026-02-17 23:28:32 +00:00
Connor Peet
3a4a8cee2b chat: allow stopping agent when message is queued (#295879)
Fixes an issue where stopping a chat session would fail to cancel the
request when a message was queued. The problem occurred because queued
messages could replace the pending request before the finally block
attempted to delete it.

The fix stores a reference to the CancellableRequest and checks that it
matches before deleting, preventing race conditions between queued messages
and request cancellation.

Fixes https://github.com/microsoft/vscode/issues/295022

(Commit message generated by Copilot)
2026-02-17 15:21:33 -08:00
Rob Lourens
2761b1ce31 Remove dead code 2026-02-17 15:13:58 -08:00
Alex Ross
d692656d9d Fix tsgo ext build problem matching (#295603)
* Fix tsgo ext build problem matching

* Update .vscode/tasks.json

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

* Fix double timestamp

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-17 14:50:48 -08:00
Anthony Kim
ab105ed278 Allow workspace folder selection option when creating external terminals (#295073)
* Support multi-root external terminal selection

* Dont use any

* Can I get rid of unknown?

* unknown to any

* edit tests

* try fix test

* better types?

* Use service directly
2026-02-17 14:34:31 -08:00
BeniBenj
5d1ee87bd5 fixed to changes view 2026-02-17 23:30:01 +01:00
Joaquín Ruales
6ba094bf1e Make custom agent show/hide eye icon behave like a toggle (#293566)
Instead of always showing the `eyeClosed` icon, show the `eye` or `eyeClosed` icon depending on the current visibility.
2026-02-17 14:22:00 -08:00
Copilot
08fc1e062a Lock editor group when opening integrated browser side-by-side (#295838)
* Initial plan

* Add lock group feature when opening integrated browser side-by-side

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>
2026-02-17 22:18:21 +00:00