Commit Graph

138984 Commits

Author SHA1 Message Date
Megan Rogge
ca9fa4fbac prevent right prompt from being considered ghost text (#269732)
fix #269730
2025-10-10 14:07:07 -07:00
Tyler James Leonhardt
32064a768b Move Authorization Server Metadata fetching to oauth.ts (#270797)
* Move Authorization Server Metadata fetching to oauth.ts

* Simplified MCP code
* Keep all oauth stuff in one place
* tests!

* Update src/vs/base/test/common/oauth.test.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 13:48:30 -07:00
Dmitriy Vasyura
fe61d4ae71 Merge pull request #270815 from microsoft/dev/dmitriv/fix-59826
Change icon on the 'View extension details' button from eye to Info
2025-10-10 13:32:59 -07:00
Dmitriy Vasyura
2ede26706d Merge branch 'main' into dev/dmitriv/fix-59826 2025-10-10 13:07:56 -07:00
Dmitriy Vasyura
2b572da8ca Change icon on the 'View extension details' button from eye to Info 2025-10-10 13:06:42 -07:00
Megan Rogge
257898b1bc don't play diff sound deleted unless it's relevant in accessible view (#270808)
fixes #257095
2025-10-10 12:31:10 -07:00
Aaron Munger
63173cdabc add logging service to notebook text model to trace edit activity (#270786)
* add logging service to text model and small cleanup

* log output edits

* less redundant category

* Update src/vs/workbench/contrib/notebook/test/browser/testNotebookEditor.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 11:35:41 -07:00
Matt Bierner
1414a15c9a Merge pull request #270134 from microsoft/dev/mjbvz/typed-icommandhandler
Make `ICommandHandler` default to `...args: unknown[]`
2025-10-10 11:26:40 -07:00
Matt Bierner
15f50a68c9 Fix arguments 2025-10-10 11:12:52 -07:00
Matt Bierner
26134ef4a7 Fix test 2025-10-10 10:55:35 -07:00
Aaron Munger
32fbf1d72e skip all but the simplest (#270790) 2025-10-10 10:52:12 -07:00
Matt Bierner
f1c671e24b Merge branch 'main' into dev/mjbvz/typed-icommandhandler 2025-10-10 10:42:10 -07:00
Matt Bierner
4538d521a7 Fix last errors 2025-10-10 10:41:33 -07:00
Aaron Munger
57409952f0 re-enable tests to look for failure (#270299)
* re-enable tests to look for failure

* edit to focus back in the cell

* make command available for smoke test
2025-10-10 10:01:16 -07:00
Copilot
09575e1f1b Fix terminal tool incorrectly suggesting to send literal "any key" text (#270426) 2025-10-10 15:34:06 +00:00
Megan Rogge
bc7b093dd2 use chat function (#270780) 2025-10-10 17:31:41 +02:00
Megan Rogge
22deaf61a5 remove comments from code block before running in the terminal (#270779) 2025-10-10 15:15:17 +00:00
Lee Murray
a23918ac8c Merge pull request #270768 from microsoft/mrleemurray/ethical-crocodile-white
Update button styles for high contrast mode
2025-10-10 15:54:25 +01:00
Megan Rogge
a31b263154 pass back profile instead of just shell (#270605) 2025-10-10 16:39:28 +02:00
mrleemurray
42ec48a04d Update button background color for high contrast mode and add border to chat action bar 2025-10-10 14:56:26 +01:00
Lee Murray
54bc1a3449 Merge pull request #270748 from microsoft/mrleemurray/worried-swift-red
Increase activity bar icon size
2025-10-10 11:41:53 +01:00
Johannes Rieken
34a398361a Merge pull request #270262 from danielbayley/snippets-directory-base
Add `TM_DIRECTORY_BASE` snippets variable
2025-10-10 12:35:16 +02:00
mrleemurray
ebd6708321 Increased activity bar icon size 2025-10-10 11:25:53 +01:00
Daniel Imms
389b760991 Merge pull request #270747 from microsoft/tyriar/267669
Use ^ and $ for new matchCommandLine rules
2025-10-10 19:24:14 +09:00
Daniel Imms
be32f09868 Use ^ and $ for new matchCommandLine rules
Fixes #267669
2025-10-10 19:12:15 +09:00
Johannes Rieken
32036c573c immediately close inline chat UI when session is cancelled (#270742)
fixes https://github.com/microsoft/vscode/issues/265579
2025-10-10 10:02:22 +00:00
Daniel Imms
6292ba3380 Merge pull request #270737 from microsoft/tyriar/270736
Fix auto approve links for new rules
2025-10-10 18:19:31 +09:00
Daniel Imms
d9d9335d2c Fix auto approve links for new rules
Fixes #270736
2025-10-10 18:07:23 +09:00
João Moreno
d8b078709b undo focus input change (#270724)
related to #268553 and #270705
2025-10-10 08:16:53 +00:00
dileepyavan
f1b211e5eb Fixing failed tests in build (#270704)
* Changes to remove the disabled extensionMCP server from cached servers.

* Adding tests for extensionMCPDiscovery

* removing extra lines

* removing extra lines

* adding more tests

* Fixing the tests for build error

* Fixing the tests for build error
2025-10-10 05:40:21 +00:00
dileepyavan
9ebd5bfca1 Fixes build issue caused by extensionMcpDiscovery tests (#270695)
* Changes to remove the disabled extensionMCP server from cached servers.

* Adding tests for extensionMCPDiscovery

* removing extra lines

* removing extra lines

* adding more tests

* Fixing the tests for build error
2025-10-09 21:37:42 -07:00
Peng Lyu
398d359bd2 Merge pull request #270460 from microsoft/dineshc/findFiles
Fixed issue with findFiles2 returning dups (#263911 and #263400)
2025-10-09 20:36:20 -07:00
Peng Lyu
6b53ee0d92 Merge pull request #270686 from microsoft/rebornix/various-sailfish
Fix chat session view menu context key.
2025-10-09 20:23:58 -07:00
Peng Lyu
fe2ff4f9d5 Fix chat session view menu context key. 2025-10-09 19:34:44 -07:00
Matt Bierner
205991b58c Merge pull request #270679 from mjbvz/dev/mjbvz/unpleasant-catfish
Update chat code block languages when languages change
2025-10-09 19:14:16 -07:00
Matt Bierner
bad1b34c88 Update chat code block languages when languages change
Fixes #263216
2025-10-09 18:04:26 -07:00
Tyler James Leonhardt
50e2e985b5 Retry MCP Auth on a 401 (#270675)
* Retry Auth on a 401

If we have an Authorization header and still get a 401 when trying to connect to an MCP Server, we should retry with a new auth registration.

This fix was for the local MCP dev loop, where you may use an in-memory OAuth server. If you kill the server and start it again, any tokens will be rejected. This PR allows us to react to that by re-doing the auth flow.

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

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 00:58:58 +00:00
Copilot
cbbcf0dfb0 Fix MCP authentication fallback when authorization server returns non-JSON responses (#270579)
* Initial plan

* Add Content-Type check before JSON parsing in _getAuthorizationServerMetadata

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Improve comment explaining Content-Type check fallback behavior

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Fix: Check both status AND content-type for all metadata URL attempts

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Refactor: Try parsing JSON payload instead of checking Content-Type

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Refactor: Use early returns instead of nested if blocks

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* add a log

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2025-10-10 00:52:20 +00:00
dileepyavan
691bcc63e6 Refreshing cached MCP servers when the extension MCP's are disabled. (#270476)
* Changes to remove the disabled extensionMCP server from cached servers.

* Adding tests for extensionMCPDiscovery

* removing extra lines

* removing extra lines

* adding more tests
2025-10-09 16:34:40 -07:00
Bryan Chen
576c69b64c Merge pull request #270615 from microsoft/brchen/debug-focus-on-exception
Fix debug exception navigation appearing in all editor groups
2025-10-09 16:25:53 -07:00
Dmitriy Vasyura
a3619258ff Add prompt support to QuickPick (#270497)
* Add prompt support to QuickPick

* Update src/vs/platform/quickinput/browser/quickInput.ts

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

* Fix incorrect suggestion

* PR feedback

* Merge branch 'main' into dev/dmitriv/fix-78335

* PR feedback

* Merge branch 'main' into dev/dmitriv/fix-78335

* Fix build break.
2025-10-09 16:03:19 -07:00
Ben Villalobos
683d1e36fb Prompt Updates: Remove think, fully qualify github mcp (#270656) 2025-10-09 22:32:16 +00:00
Matt Bierner
9553c0719c Merge pull request #270651 from mjbvz/dev/mjbvz/semantic-swan
Mark most `Event` properties as `readonly`
2025-10-09 14:36:20 -07:00
Sergei Druzhkov
c611432c5f Fix disassembly view (#270361)
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2025-10-09 16:04:54 -05:00
Matt Bierner
245265d15e Mark most Event properties as readonly
We want to prevent mistaken changes that do something like this:

```ts
foo.onEvent = () => { ... };
```

When they almost always mean:

```ts
foo.onEvent(() => { ... })
```
2025-10-09 13:59:00 -07:00
Copilot
efdc6b1042 Add package.json contribution for terminal completion provider descriptions (#270597) 2025-10-09 16:02:28 -04:00
Benjamin Pasero
e0b35bf4fc chat - make the plus icon a dropdown for more options in the view (#270621) 2025-10-09 21:26:53 +02:00
Benjamin Pasero
d118d57ec0 prompts - cleanup (#270622) 2025-10-09 12:25:26 -07:00
Dmitriy Vasyura
1042375c6c Add a button to view extension details from Managed Trusted Extensions picker (#270450)
* Add a button to view extension details from Managed Trusted Extensions picker

* PR feedback
2025-10-09 19:12:58 +00:00
Rob Lourens
7ab28d031a Don't require agent mode to set default model experiment (#270620) 2025-10-09 18:57:52 +00:00