Commit Graph

145762 Commits

Author SHA1 Message Date
Johannes
2cb8fc3b9d Merge remote-tracking branch 'origin/main' into joh/esbuild-the-things 2026-02-11 09:52:59 +01:00
Johannes Rieken
a54b03126f Merge pull request #293357 from microsoft/joh/fix-inline-chat-exit-tool
fix: permit internal infrastructure tools when agent mode is disabled
2026-02-11 09:28:23 +01:00
Justin Chen
456a429c0a fix for moving hooks to extension (#294441)
* fix for moving hooks to extension

* fix hygiene

* address comments
2026-02-11 07:35:35 +00:00
Paul
cacbbe30b9 Add support for disabling all hooks and use JSONC (#294234) 2026-02-10 23:24:45 -08:00
Benjamin Pasero
6ee76b61de update code notifications (#294198) 2026-02-10 22:19:35 -08:00
Rob Lourens
a97da020ee Add /debug (#294346) 2026-02-10 20:10:37 -08:00
Rob Lourens
cc808c1a4e Mention "agent" in chat.tools.edits.autoApprove setting (#294327)
This is just more clear and returns search results for "agent"
2026-02-11 03:13:40 +00:00
David Dossett
272ea03136 Set textPreformat.background in dark 2026 theme (#294303)
Tweak code backgrounds in markdown
2026-02-11 02:32:00 +00:00
David Dossett
50a163589e Apply consistent border-radius to tables, code blocks, and code block toolbars in chat (#294275)
Improve rendered markdown table styling in chat
2026-02-10 18:24:46 -08:00
David Dossett
46b0829be4 Use font-weight 600 for bold in rendered markdown (#294274)
Use font-weight 600 for bold text in rendered markdown
2026-02-10 18:24:36 -08:00
David Dossett
4efca97794 Improve rendered li elements in chat markdown (#294268)
Add vertical spacing to rendered markdown list items in chat
2026-02-10 18:24:15 -08:00
Rob Lourens
8e9f58e01a Add 'view as tree' to chat edited files list (#294284) 2026-02-11 02:12:52 +00:00
Josh Spicer
720ab15773 honor when clause for chatSession contibution in agent sessions filter (#294283) 2026-02-11 02:09:54 +00:00
Matt Bierner
9df63296ba Merge pull request #294270 from mjbvz/dev/mjbvz/classical-silkworm
Add optimized way to update a single chat session item
2026-02-10 17:27:14 -08:00
Megan Rogge
52d25405c6 fix alt buffer opening (#294251) 2026-02-10 17:21:24 -08:00
Paul
ce62dd2d13 Update hook timeout format (#294266) 2026-02-11 01:17:12 +00:00
Raymond Zhao
c4909f8a5c fix: chat settings feature filter regression (#294265) 2026-02-10 17:14:07 -08:00
Matt Bierner
9dbaef0209 Add optimized way to update a single chat session item
Reduce amount of data we're passing over to ext host each time an update happens
2026-02-10 17:03:53 -08:00
Matt Bierner
e2fdcd4f6f Merge pull request #294264 from mjbvz/dev/mjbvz/long-meerkat
Start adopting unified js/ts config for code lenses
2026-02-10 16:46:47 -08:00
Josh Spicer
90c1e41253 Add chatSessions isReadOnly (#294255)
* PROTOTYPE: Add growth agent (https://github.com/microsoft/vscode-copilot-chat/pull/3460)

* support vscode.ChatSessionStatus.NeedsInput in chatSessions ext api

ref https://github.com/microsoft/vscode/issues/292430

* Add isReadOnly flag to chat sessions contributions

  Read-only session types (e.g., Growth) are passive/informational and
  should not be registered as agents, appear in session target pickers,
  or be delegation targets. Commands are still registered to support
  openSessionWithPrompt.

* Collapse isReadOnly and canDelegate branches in _enableContribution

  Both need agent and command registration; picker filtering handles
  keeping isReadOnly sessions out of the UI separately.

  the alternative (and probably ideal) UI is to 'grey out'/'disable' the
  chat input for isReadOnly sessions.  That way we don't have this
 problem at all of a non-functional chatInput

* fix description

* redundant doc

* update test
2026-02-10 16:16:39 -08:00
Matt Bierner
0493189e18 Start adopting unified js/ts config for code lenses
For #292934

Testing this with a self contained area first: code lenses. Will keep support for the old setting values too to avoid breaking existing settings
2026-02-10 16:14:49 -08:00
Dmitriy Vasyura
c78a202c54 Fix selection of string literals when clicking around quotes (#294120) 2026-02-10 15:57:10 -08:00
Matt Bierner
b20cd36e9a Merge pull request #294253 from mjbvz/dev/mjbvz/worldwide-rat
Store sessionResource as view state instead of id
2026-02-10 15:42:46 -08:00
Peng Lyu
c177d564a6 experiment background agent display name (#294218)
* experiment background agent display name

* update session type picker to handle background agent display name changes
2026-02-10 15:38:31 -08:00
Matt Bierner
f7f99edcd0 Store sessionResource as view state instead of id
For #274403

Should let us support non-local sessions. Keeping around id support for backcompat
2026-02-10 15:19:21 -08:00
Matt Bierner
ae0ebc931c Merge pull request #294221 from microsoft/dev/mjbvz/vivacious-parrotfish
Allow contributed configurations to define additional "search terms"
2026-02-10 15:17:30 -08:00
Megan Rogge
5075f3e014 Tweak tips (#294248)
* Tweak tips

* add steering
2026-02-10 23:12:48 +00:00
Sandeep Somavarapu
ea12208c7f set expiration time for data (#294240) 2026-02-10 15:08:52 -08:00
Rob Lourens
11bbecdc9c Move hook execution to extension (#294215)
* Refactor hook execution

* Fix compilation: add IExtHostHooks import, remove unused IHookResult, inline ChatRequestHooks type

* Move hooks property to chatHooks proposal, sync DTS

* cleanup

* Remove dead hook execution code: proxy, RPC, output channel, progress events

All hook execution now happens in the extension via NodeHookExecutor.
HooksExecutionService is now a pure registry (registerHooks/getHooksForSession).

Removed:
- executeHook, setProxy, onDidHookProgress from service
- IHooksExecutionProxy, IHookProgressEvent, HookAbortError, formatHookErrorMessage
- hooksCommandTypes.ts, hooksTypes.ts (dead type files)
- mainThreadHooks proxy setup
- extHostHooksNode., extHostHooksWorker.
- ExtHostHooksShape. protocol
- IExtHostHooks DI registrations
- ChatHooksProgressContribution
- All associated test files

* Remove HooksExecutionService entirely

The service was only a registry for session hooks, but hooks are already
passed directly on the chat request DTO. The registerHooks/getHooksForSession
pattern was redundant.

* Restore modelName support in chatSubagentContentPart that was accidentally removed during merge

* Revert unrelated tabIndex change on chatSubagentContentPart

* Remove empty hooks ext host infrastructure

Delete IExtHostHooks, NodeExtHostHooks, WorkerExtHostHooks,
MainThreadHooks, ExtHostHooksShape, MainThreadHooksShape -
all were empty stubs after hook execution moved to extension.

* Remove mainThreadHooks import from extensionHost.contribution

* Fix DTS comments: env and timeoutSec are values, not implementation promises
2026-02-10 14:59:11 -08:00
Matt Bierner
b3c0c092b3 searchTerms -> keywords 2026-02-10 14:24:13 -08:00
Megan Rogge
9f6e415379 add more tips, make all of them contextual (#294237)
fixes #290019
2026-02-10 14:20:11 -08:00
Paul
0991a42347 Add more configuration slash commands (#294231) 2026-02-10 14:10:55 -08:00
Raymond Zhao
d99eacc2c1 fix: apply Copilot feedback (#294235) 2026-02-10 22:04:52 +00:00
Benjamin Pasero
4448228afb Escape closes modal too eagerly when in text editor (fix #294179) (#294195)
* Escape closes modal too eagerly when in text editor (fix #294179)

* feedback
2026-02-10 13:36:22 -08:00
Paul
fa527f4c80 Update handling of claude hooks config (#294187) 2026-02-10 13:35:40 -08:00
Benjamin Pasero
efa1a41a18 modal editor - allow to maximise (#294185)
* modal editor - allow to maximise

* feedback

* feedback
2026-02-10 21:51:20 +01:00
Matt Bierner
d434a65945 Use esbuild to pack the markdown extension for desktop and web (#294208)
* Try using esbuild to bundle our built-in extensions

Test switching to esbuild instead of webpack to bundle our buildin extensions. Setup so we can do this incrementally and starting with the markdown extension as a test

* Fix build ext media

* Fix .ts script name check

* Update comment

* Use ts for all scripts
2026-02-10 20:32:40 +00:00
Matt Bierner
8efd494dc8 Allow contributed configurations to define additional "search terms" 2026-02-10 12:21:40 -08:00
Raymond Zhao
0b8bc90178 feat: force chat setting to be in subcategory (#294212) 2026-02-10 20:20:41 +00:00
Megan Rogge
2050e3c2c3 Terminal: update auto replies configuration (#294207)
fix #294200
2026-02-10 19:55:00 +00:00
Daniel Imms
6deb688f65 Merge pull request #294189 from microsoft/tyriar/294158
Redact keys in trace logs
2026-02-10 11:39:49 -08:00
Daniel Imms
d2df466021 Merge pull request #294191 from microsoft/tyriar/logs
Add logs around early terminal input
2026-02-10 11:39:32 -08:00
Megan Rogge
97f7c15f5d do not use same kb for question carousel and confirmation dialog (#294182)
fix #294039
2026-02-10 19:27:14 +00:00
Megan Rogge
891dbff6f2 tips cleanup, improvements (#294177) 2026-02-10 19:11:23 +00:00
João Moreno
52457c5f1f Chat - implement session picker in the chat panel title (#293426)
* refactor layout and layout2d into base common

* support anchored quick pick

* wip: use anchored quick pick in scm

* almost there

* undo scm history view pane

* Chat - implement session picker in the chat panel title

* Apply suggestions from code review

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

* Port changes again, and clean things up

* Pull request feedback

* missing changes

* cleanup

* fix bad merge

* reduce complexity

* polish

* update title

* Adopt the anchor

* Fix compilation error

* Fix monaco editor check

* Enhance drag-and-drop functionality in QuickInput: add cursor style for no-drag state and enable/disable control

* Fix positioning bug

* fix change of behavior of layout2d

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Tyler James Leonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2026-02-10 20:05:45 +01:00
Matt Bierner
5f41dcfdca Merge pull request #294176 from mjbvz/dev/mjbvz/biological-fox
Fix local sessions not refreshing properly
2026-02-10 10:52:57 -08:00
Daniel Imms
e955f18c75 Add logs around early terminal input 2026-02-10 10:23:42 -08:00
Daniel Imms
0ad4e82a02 Redact keys in trace logs
Fixes #294158
2026-02-10 10:22:04 -08:00
Sandeep Somavarapu
d4ee4a532a fix when to use last fetched data (#294174) 2026-02-10 10:07:56 -08:00
Harald Kirschner
5efd436fe4 Merge pull request #294172 from microsoft/digitarald/strong-silkworm
Moved planAgent model config to core for picker UI
2026-02-10 10:02:53 -08:00