Commit Graph

131056 Commits

Author SHA1 Message Date
Connor Peet
a1e2602ab0 wip on more extension-contributed collections 2025-03-13 18:17:39 -07:00
Josh Spicer
9595934bdb Generate macOS configuration profiles (#241773)
* generate configuration policy and manifests

* add darwin pipeline job

* argument for per-platform generation of policy

* adopt argument in pipeline

* formatting tweaks in generated profile (+ check in .js file)

* tidy up output plists

* copy policy definitions

* implement the remaining renderProfileValue()

* remove unnecessary platform option

* copy to .app in vscode-darwin-$PLATFORM-min-ci gulp task

* add darwinProfileUUID and darwinProfilePayloadUUID to product.json

* better way to package in gulp script

* bump distro commit (c3ec5ba485)

* Add bundles policy paths to macOS universal build 'filesToSkip'

Needs this when creating universal macOS app:

Expected all non-binary files to have identical SHAs when creating a universal build
but "Contents/Resources/app/policies/cs-cz/com.microsoft.VSCodeInsiders.plist" did not

See:
298a872f5f/src/index.ts (L163-L172)
2025-03-13 17:12:25 -07:00
Sandeep Somavarapu
d09fd2b5d7 render private extension (#243503)
* render private extension

* fix all repsitory signed flag
2025-03-14 00:00:08 +01:00
Aaron Munger
78020d1b00 check for applicable agent (#243491)
* check for applicable agent

* update test

---------

Co-authored-by: amunger <>
2025-03-13 22:34:05 +00:00
Josh Spicer
27a2ca85f4 Install remote default extensions only if already installed locally (#243499)
remote default extensions only if local
2025-03-13 15:30:11 -07:00
Megan Rogge
8bbbc45f4f add builtin fish arg/description/documentation to suggestion (#243271) 2025-03-13 22:28:50 +00:00
Megan Rogge
0eb916d682 add terminal suggest telemetry (#243478) 2025-03-13 22:28:20 +00:00
Benjamin Christopher Simmonds
bc0a681451 Gutter indicator animation and checkmark based on hover (#243498)
gutter indicator animation and checkmark
2025-03-13 23:27:15 +01:00
Daniel Imms
c193ade9f1 Merge pull request #243493 from microsoft/tyriar/243466
Ensure PSReadLine does not activate implicitly
2025-03-13 13:14:25 -07:00
Connor Peet
2655e1e408 Merge pull request #243488 from microsoft/connor4312/mcp-trust-fixes
mcp: various fixes around trust and indicator
2025-03-13 13:02:36 -07:00
Daniel Imms
f397d79d10 Ensure PSReadLine does not activate implicitly
Fixes #243466
2025-03-13 12:59:50 -07:00
Connor Peet
52c43b4b9d Merge branch 'connor4312/mcp-trust-fixes' into joh/genetic-canidae 2025-03-13 12:46:52 -07:00
Daniel Imms
aef8ac18a7 Merge pull request #243456 from microsoft/tyriar/237208_2__242897
Only light up .shellIntegration API if it has rich command detection
2025-03-13 12:36:57 -07:00
Connor Peet
73e6a5cf21 mcp: various fixes around trust and indicator
- Show the tools indicator as spinning while a server is staring up
- Don't show it if there are unknown tools from untrusted servers
- Fix some state issues around the trust storage, don't pop multiple dialogs
- Add a reset trust command
2025-03-13 12:31:26 -07:00
Daniel Imms
96c077dd18 Merge branch 'main' into tyriar/237208_2__242897 2025-03-13 12:22:16 -07:00
Anthony Stewart
743031385d Add a 2 hour offset to tests to avoid being a day short after the clocks change (#243194) 2025-03-13 20:16:01 +01:00
Lee Murray
43b1e930a2 Update codicon font file to latest version with updated thumbs up and down styles (#243476)
Update codicon font file to latest version with updated thumbs up and down icons

Co-authored-by: lemurra_microsoft <Lee.Murray@microsoft.com>
2025-03-13 19:52:19 +01:00
Connor Peet
80f37c0e82 chat: fixed leaked disposable in marker quick input (#243481)
Fixes #243451
2025-03-13 19:28:00 +01:00
Raymond Zhao
0d95f42875 Exclude setup files from BinSkim (take 2) (#243475) 2025-03-13 18:38:51 +01:00
Johannes Rieken
cc9c0a9c8d show "Select Tools" only for agent mode, swap position with "add context" (#243474) 2025-03-13 10:38:00 -07:00
Josh Spicer
2c7fff35cf Add remote.defaultExtensions (#243400)
* add remote.defaultExtensions

* some nice suggestions
2025-03-13 18:22:02 +01:00
Johannes
ccca5fd4b5 also support SSE config 2025-03-13 18:04:20 +01:00
Johannes
00d7e7b228 wip up McpConfigurationProvider api
This allows to dynamically compute the well-known mcp configuration object so that config can be made simpler
2025-03-13 17:57:32 +01:00
Daniel Imms
ab67de56b6 Merge pull request #243442 from microsoft/tyriar/237208_2
Support tracking sub-executions within a single executeCommand
2025-03-13 09:00:39 -07:00
Martin Aeschlimann
92815973e1 remoteIndicator: Debt - prepare for property initialisation order changes (#243463) 2025-03-13 16:55:18 +01:00
Daniel Imms
484d16126b Only light up .shellIntegration API if it has rich command detection
Part of #242897
2025-03-13 07:42:21 -07:00
Daniel Imms
79e31e78d2 Add test suite and fix some edge cases and lifecycle problems 2025-03-13 06:51:12 -07:00
Benjamin Pasero
38d1f29263 Refactor titlebar update logic to check element existence (#243449)
refactor: ensure element exists before updating window controls
2025-03-13 13:05:31 +01:00
Johannes Rieken
7a0085db55 simpler CSS logic (#243447) 2025-03-13 12:53:36 +01:00
Daniel Imms
f1b2c2b84d Reduce repetition 2025-03-13 04:51:06 -07:00
Daniel Imms
aabf5bd815 Support tracking sub-executions within a single executeCommand
Fixes #237208
2025-03-13 04:18:40 -07:00
Johannes Rieken
ecdc8007ac add ChatContextKeys.Editing.hasToolsAgent to attach tools command (#243441) 2025-03-13 12:07:48 +01:00
Johannes Rieken
62b1b55bd8 remove duplicated MCP status (#243439) 2025-03-13 11:58:52 +01:00
Daniel Imms
430a653d1b Merge pull request #243434 from microsoft/tyriar/action_call
Use correct registerTerminalAction call
2025-03-13 02:55:39 -07:00
Daniel Imms
638c4a1c2a Merge pull request #243431 from microsoft/tyriar/suggest_enable
Enable terminal suggest in vscode settings
2025-03-13 02:55:20 -07:00
Daniel Imms
e52300f399 Use correct registerTerminalAction call 2025-03-13 02:32:02 -07:00
João Moreno
b59ae26ad3 fix policy generation (#243429)
cc @justschen
2025-03-13 10:24:52 +01:00
Daniel Imms
a4027ce133 Enable terminal suggest in vscode settings
For natural team self hosting feedback
2025-03-13 02:18:10 -07:00
Connor Peet
747b90cfcd mcp: fix setting typo (#243411) 2025-03-13 03:12:14 +01:00
Rob Lourens
8ef2f681ce Chat view unification (#243285)
* Start enabling unified chat mode

* Move ChatAgentLocation to avoid import cycle. Update imports

* fix more imports

* More work

* Add ChatMode, make agent mode be session-specific, not global
Towards unifying chat views

* Fix mode for transferred session and request parser

* Fixes

* Fix defaultAgent, don't do intent detection

* Fixes

* Don't show mode picker in other locations

* Add chatMode context key

* Fix "new edit session" in unified

* Update context actions

* Update execute actions

* Title actions

* Update more commands
2025-03-13 00:24:40 +00:00
Matt Bierner
b61d46c3e4 Add extra catch around package manager 2025-03-12 16:58:50 -07:00
Connor Peet
4560f083af mcp: add status indicator for mcp tools, discovery setting (#243402)
The tool indicator in chat now has:
- A "refresh" action if there are new MCP servers with undiscovered
  tools (clicking starts the servers)
- An error if any tool fails to start (clicking opens the first failing
  tool options quickpick)
- A loading indicator while they're starting (clicking opens output)

This also adds a `chat.mpc.discovery.enabled` setting, off by default
for now, to configure whether filesystem discovery is enabled. I expect
to turn this on as we gain confidence with the feature.

Refs #243229
2025-03-13 00:32:31 +01:00
Oleg Solomko
4926127b06 fix linter issue 2025-03-12 16:14:07 -07:00
Oleg Solomko
925d9b56be improve recursive reference error 2025-03-12 16:14:07 -07:00
Oleg Solomko
d2c2a22458 add more doc comments 2025-03-12 16:14:07 -07:00
Oleg Solomko
2da00ee663 fix error messages content for both editor and in-chat attachment cases 2025-03-12 16:14:07 -07:00
Oleg Solomko
92de76d4bc improve error messages 2025-03-12 16:14:07 -07:00
Oleg Solomko
b846368cdf II of the PromptsLinkDiagnosticsProvider contribution 2025-03-12 16:14:07 -07:00
Oleg Solomko
b46b9de02f II of the MarkersProvider class 2025-03-12 16:14:07 -07:00
Justin Chen
33028c3db2 disable feedback setting (#243276)
* disable feedback setting

* reload when setting changed

* remove unused setting

* add policy and case when disabled and hit the button
2025-03-12 16:03:31 -07:00