Commit Graph

141520 Commits

Author SHA1 Message Date
Martin Aeschlimann
21ca4eb7b3 list agents to be used as subagents (#278624)
* instructions list: use XML and tool variables

* update

* update

* Merge branch 'main' into aeschli/xenial-felidae-488

* allow to run agents as subagents (#278971)

* fix

* Merge remote-tracking branch 'origin/main' into aeschli/xenial-felidae-488

* fix

* fix
2025-11-24 13:09:27 +01:00
Martin Aeschlimann
5f169bfa1b fix promptCodeActions.test.ts (#279154) 2025-11-24 12:02:27 +00:00
dependabot[bot]
03d31bd4db Bump js-yaml in /build (#278241)
Bumps  and [js-yaml](https://github.com/nodeca/js-yaml). These dependencies needed to be updated together.

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 11:53:37 +01:00
dependabot[bot]
6ab096b474 Bump glob from 10.4.5 to 10.5.0 in /build/npm/gyp (#278273)
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 11:53:24 +01:00
dependabot[bot]
1870f2c5f3 Bump zx from 8.7.0 to 8.8.5 (#278826)
Bumps [zx](https://github.com/google/zx) from 8.7.0 to 8.8.5.
- [Release notes](https://github.com/google/zx/releases)
- [Commits](https://github.com/google/zx/compare/8.7.0...8.8.5)

---
updated-dependencies:
- dependency-name: zx
  dependency-version: 8.8.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 11:53:06 +01:00
Sandeep Somavarapu
faf9bc1cfe fix #279127 (#279135) 2025-11-24 10:13:05 +00:00
Martin Aeschlimann
43d850f173 Polish ILanguageModelToolsService (#278946)
* polish ILanguageModelToolsService

* more readonly

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2025-11-24 11:05:51 +01:00
Sandeep Somavarapu
8dffa69e4b fix #278610 (#279130) 2025-11-24 09:59:14 +00:00
Henning Dieterichs
b46736f6b7 DomWidget / ChatStatus cleanup (#278860)
* Introduces DomWidget to define a base for UI widgets.

* Extracts chatStatusDashboard, fixes leak and makes it a DomWidget.

* Addresses feedback from PR

* Fixes cyclic dependency
2025-11-24 10:53:45 +01:00
Benjamin Pasero
12f5370e37 Merge pull request #279024 from microsoft/ben/little-lizard
agent sessions - refactoring and services
2025-11-24 08:40:20 +01:00
Benjamin Pasero
6064ded0ea agent sessions - render diff like chat (#279118) 2025-11-24 07:02:11 +00:00
Lee Murray
99502a54ae Refactor watermark entry management and improve styling (#278758) 2025-11-24 06:59:13 +00:00
Benjamin Pasero
1148506a92 Merge branch 'main' into ben/little-lizard 2025-11-24 07:46:12 +01:00
Benjamin Pasero
335383fa28 agent sessions - removal of history from chat view (#278958) 2025-11-24 07:37:01 +01:00
Benjamin Pasero
c62c6f9634 agent sessions - some cleanup 2025-11-24 07:34:11 +01:00
Robo
f35b832d60 chore: bump electron@39.2.3 (#278722)
* chore: bump electron@39.2.3

* chore: bump distro
2025-11-24 06:30:18 +00:00
Simon Siefke
eb1831a469 fix: memory leak in startup page (#277199) 2025-11-24 06:23:10 +00:00
Benjamin Pasero
f0accc5702 agent sessions - have 1 suite for tests 2025-11-24 07:21:17 +01:00
Rob Lourens
f46b8a4886 Add disableBackgroundKeepAlive option for chat sessions (#278979)
* Add disableBackgroundKeepAlive for quick chat ChatModels

* Named interface

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2025-11-24 06:20:40 +00:00
Benjamin Pasero
16d107fa64 agent sessions - add more tests 2025-11-24 07:15:59 +01:00
Rob Lourens
0b0efb84e0 Adopt IChatWidgetService.openSession in more places (#278973)
* Adopt ChatWidgetService.openSession in more places

* Simplify

* Update import chat

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2025-11-24 05:57:12 +00:00
Benjamin Pasero
d67db18d24 chat - add category to "Continue Chat in" dropdown (#278959) 2025-11-24 05:40:26 +00:00
Martin Aeschlimann
4578adfd60 Prompt file diagnostics hover improvements and tests (#279054)
* Prompt file diagnostics hover does not offer quick fix

* add tests

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
2025-11-24 05:36:04 +00:00
Benjamin Pasero
52f0590d80 agent sessions - add actions to plus menu for background/cloud chats (#278954)
* agent sessions - add actions to plus menu for background/cloud chats

* feedback
2025-11-24 05:33:56 +00:00
Benjamin Pasero
2a310ce81f agent sessions - implement persistence for archived states 2025-11-24 06:22:57 +01:00
Rob Lourens
30cfcc9385 Fix ChatService.onDidDispose (#278917)
* Fix ChatService.onDidDispose

* Fix?

* Wait for disposal

* Mop up remaining disposable leaks

* Dispose IChatService

* And this

* Simplify

* Dispose Emitter
2025-11-24 05:21:12 +00:00
Don Jayamanne
7e370bd080 Hide Keep/Undo from non-local Chat sessions (#279101)
* Hide Keep/Undo from non-local Chat sessions

* Hide Keep/Undo from non-local Chat sessions
2025-11-24 06:07:19 +01:00
Justin Chen
fb141a99bd fix confirmation widget for non-tool call confirmations (#279104)
fix confirmation widget for non-tool calls
2025-11-24 06:07:11 +01:00
Benjamin Pasero
74f4df8909 Merge branch 'main' into ben/little-lizard 2025-11-24 06:05:23 +01:00
Rob Lourens
29ea21caf8 Rework chat stream rate estimation (#278990)
* Rework chat stream rate estimation
Yet again
Primarily to fix #272033

* Revert

* Fix

* Fix?

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-24 04:29:37 +00:00
Don Jayamanne
3d4f182ea6 Ensure Github Copilot CLI directory refs are represented as directories (with directory icon) (#279082)
* Ensure Github Copilot CLI directory refs are represented as directories (with directory icon)

* Update src/vs/workbench/api/common/extHostChatSessions.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-24 01:51:49 +01:00
Ladislau Szomoru
9d86ca4a19 Chat - skip ChatSessionsService suite (#279072) 2025-11-23 21:38:44 +00:00
Ladislau Szomoru
be127fdd32 Engineering - don't use hashFiles on macOS (#279015) 2025-11-23 21:16:37 +01:00
Benjamin Pasero
5b4a2c1c01 agent sessions - support archiving actions 2025-11-23 20:32:05 +01:00
Benjamin Pasero
4b8014b51e agent sessions - have basic method for archived states (in memory) 2025-11-23 18:02:42 +01:00
Benjamin Pasero
fbda6e53e7 agent sessions - introduce a service and adopt 2025-11-23 14:11:24 +01:00
Megan Rogge
60706b48bb render xterm instead of html for the chat terminal output (#278684) 2025-11-22 03:36:14 +00:00
Josh Spicer
cc7cded369 cloud agent fix attaching uri to context (#278905) 2025-11-21 18:54:21 -08:00
Rob Lourens
3873b96a9c Retain ChatModel ref when it has confirmations (#278903) 2025-11-22 02:31:46 +00:00
Rob Lourens
4867ea3bbe Clean up chat model management and add tests (#278896)
* Clean up async chatmodel disposal
enable reusing the same model when it is re-acquired during disposal

* Move ChatModelStore, add tests

* More tests

* Clean up tests

* test

* fix
2025-11-22 02:21:27 +00:00
Megan Rogge
a8e321dca0 move registering of actions/kbs out of progress part (#278844) 2025-11-22 02:18:36 +00:00
Copilot
61915ccbab Show disabled Agent mode with policy indicator instead of hiding it (#278650)
* Initial plan

* Add support for showing disabled Agent mode with policy indicator

- Extended IChatModeService with isAgentModeDisabledByPolicy() method
- Added IConfigurationService to ChatModeService to check policy values
- Updated getBuiltinModes() to always include Agent mode
- Modified ModePickerActionItem to show lock icon and "Managed by your organization" tooltip for disabled Agent mode
- Disabled modes are greyed out and cannot be selected

Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>

* Filter out disabled Agent mode from mode cycling

- Updated getNextMode() to skip Agent mode when disabled by policy
- Prevents users from accidentally switching to disabled mode via keyboard shortcuts

Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>

* Update tests for Agent mode policy handling

- Updated test to expect Agent mode always present in builtin modes
- Added test for isAgentModeDisabledByPolicy() method
- Added IConfigurationService to test setup

Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>

* Fixing lock and grey rendering for agent

* Disabled custom agents and refactor

* polish

* code dupe

* revert test

* Update src/vs/workbench/contrib/chat/test/common/mockChatModeService.ts

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

* Update src/vs/workbench/contrib/chat/browser/chatInputPart.ts

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

* thanks copilot suggest edit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: cwebster-99 <60238438+cwebster-99@users.noreply.github.com>
Co-authored-by: cwebster-99 <cowebster@microsoft.com>
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-21 17:51:50 -08:00
Josh Spicer
ab2f720670 use h() in chatContinueInAction (#278881)
use h()
2025-11-22 01:15:36 +00:00
Tyler James Leonhardt
80f75cffa0 Don't unregister built-in providers on 403 (#278890)
related to https://github.com/microsoft/vscode/issues/278875
2025-11-21 17:11:03 -08:00
Copilot
38beac69a4 Add tests for eligibleForAutoApproval with legacyToolReferenceFullNames (#278631)
* Initial plan

* Add comprehensive tests for eligibleForAutoApproval with legacyToolReferenceFullNames

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
2025-11-21 17:05:50 -08:00
Paul
3fb7279918 Update toolsets (#278628) 2025-11-21 17:05:07 -08:00
Osvaldo Ortega
9152d6c5a1 Adding progress description to all session providers (#278891)
* Adding progress description to all providers

* Review comments
2025-11-22 00:33:56 +00:00
Josh Spicer
1f6cf55fbf Show all 'continue on' targets on handoff actions (#278690)
* implement https://github.com/microsoft/vscode/issues/278484#issuecomment-3560845119

* revert file

* always show delegation targets in menu by reading from chatSessionsService

* Fix memory leak in chat suggest next widget button disposables (#278880)

* Initial plan

* Fix memory leak in chatSuggestNextWidget by managing button disposables

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Add showContinueOn flag to control handoff delegation dropdown per-handoff (#278815)

* Initial plan

* Add showContinueOn flag to control handoff dropdown visibility

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Add tests for showContinueOn flag

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Move showContinueOn flag from agent-level to per-handoff

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* tweak

* fix file validation

* vertical seperator for button

* with fixed test

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-21 15:34:10 -08:00
Daniel Imms
49729c6e6c Merge pull request #278877 from microsoft/tyriar/278871
Fix HoverStyle.Mouse when setupDelayedHover is used
2025-11-21 15:06:02 -08:00
Matt Bierner
1381fbc920 Merge pull request #278843 from mjbvz/dev/mjbvz/mysterious-vulture
Pick up latest test-web
2025-11-21 14:00:20 -08:00