* 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>
* tools sets: set the various github server names as aliases for github
* Update src/vs/workbench/contrib/chat/browser/languageModelToolsService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* use constants for github/playwright aliases
* update
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Initial plan
* Fix: Prevent multiple items from having focus in tree when clicking twisties
Replace focus instead of merging when splicing nodes with focus trait
Co-authored-by: dmitrivMS <9581278+dmitrivMS@users.noreply.github.com>
* Add test for focus behavior when collapsing/expanding tree nodes
Co-authored-by: dmitrivMS <9581278+dmitrivMS@users.noreply.github.com>
* Revert "Fix: Prevent multiple items from having focus in tree when clicking twisties"
This reverts commit 644907542e.
* Revert "Add test for focus behavior when collapsing/expanding tree nodes"
This reverts commit 0c85d5ad06.
* Updates
* PR feedback, remove tests
* PR feedback
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dmitrivMS <9581278+dmitrivMS@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
1. the mcp server wasn't working... perhaps due to our js -> ts build move... or a bump in a npm package. Either way, good now.
2. I list out all tools across Copilot CLI & VS Code that would apply in this case... there's some overlap for sure... but I want to make sure we're golden for any renamed tools situations.
Previously history was read and updated individually by chat components,
which could cause some history to get lost if multiple chat editors
were open.
This adds a ChatHistoryNavigator which is a view on the chat history.
It reacts when new entries are appended, preserving the history position
of other editors while allowing editor-local modifications via its
'overlay' (which is also used to keep the current in-progress edit
when navigating back in history).
Also brings back _getFilteredEntry which was lost in my earlier refactor.
Refs #277318
* SCM - refactor history item tooltip
* Extract the hover code into a separate file
* SCM - add references into the hover
* Pull request feedback
* Fix compilation errors