Commit Graph

133412 Commits

Author SHA1 Message Date
Tyler James Leonhardt 86efdcd2c1 Introduce Issuer handling in the Authentication stack (#248948)
Mostly plumbing... this enables:
```
vscode.authentication.getSession('microsoft', scopes, { issuer: "https://login.microsoftonline.com/common/v2.0" });
```
And the respective API for an auth providers to handle it being passed in.

This props up work in MCP land which needs a way to map an issuer to an auth provider... but I certainly see utility outside of that space.

Fixes https://github.com/microsoft/vscode/issues/248775#issuecomment-2876711396
2025-05-14 23:02:15 +02:00
Rob Lourens 1e03c9074c Fix #selection in chat editor and new window (#248886)
* Fix #selection in chat editor and new window
Fix #248885

* Use getCodeEditor
2025-05-14 20:34:05 +00:00
Dirk Bäumer 06bd27a510 Merge pull request #248941 from microsoft/dbaeumer/positive-bandicoot-rose
Rename id to traceId and add pending responses value.
2025-05-14 21:03:47 +02:00
Osvaldo Ortega 7f0bc35b8b Merge pull request #248864 from microsoft/osortega/automatic-semantic-search-options
Adding options for automatic semantic search
2025-05-14 11:56:05 -07:00
Matt Bierner 600b9b2975 Merge pull request #248346 from rbuckton/pre-ts5.9-dom
Add casts to silence breaks due to updated DOM types
2025-05-14 11:37:18 -07:00
Rob Lourens a6870298b3 Use proper DTO type for tools (#248944)
Some ContextKeyExpressions that weren't json-stringifiable caused all tools to break.
2025-05-14 11:03:08 -07:00
Dirk Baeumer 9afa156c10 Rename id to traceId and add pending responses value. 2025-05-14 18:19:13 +02:00
Daniel Imms c2b5fd631b Merge pull request #248924 from microsoft/tyriar/xterm_20250514
@xterm/xterm@5.6.0-beta.107
2025-05-14 08:48:10 -07:00
Megan Rogge c1d5c9c8c2 troubleshoot -> fix (#248932) 2025-05-14 08:19:42 -07:00
Osvaldo Ortega 6121e88914 Merge branch 'main' into osortega/automatic-semantic-search-options 2025-05-14 08:00:08 -07:00
Sandeep Somavarapu 6f5a7f83b8 implement mcp server gallery view (#248926)
* first cut

* change schema and types

* show mcp servers in extensions view

* implement install and uninstall mcp server

* move imports

* fix layer check
2025-05-14 07:54:41 -07:00
Benjamin Pasero eef034e941 chat - revamp the setup dialog (#248789) 2025-05-14 07:38:19 -07:00
Daniel Imms 6b8426d125 @xterm/xterm@5.6.0-beta.107
Fixes #204663
Fixes #248442
2025-05-14 06:05:39 -07:00
Benjamin Christopher Simmonds e9e3e7a380 Tab accepts when in accept flow and and suggestion is visible even when curosr not at suggestion (#248918)
* Tab should always accept when in accept flow

* only one tab to accept when inside viewport when it appears
2025-05-14 03:47:17 -07:00
Benjamin Christopher Simmonds 05e60f6e16 Clicking Go To / Accept should accept (#248915) 2025-05-14 03:14:57 -07:00
Benjamin Pasero e08d8fd7ba Aux window: Support a one click "pop-in" action (fix #248652) (#248906) 2025-05-14 01:20:14 -07:00
Benjamin Pasero c44c1bef1a Support more chat related actions in aux windows and editors (fix microsoft/vscode-copilot#17324) (#248898) 2025-05-14 00:55:14 -07:00
Benjamin Christopher Simmonds 752c105576 Fix gutter indicator style (#248897)
fix gutter indicator style
2025-05-14 00:51:25 -07:00
Alex Ross 717d55b2f6 Window freezes when inserting newlines at the beginning of an INI-recognized file in Insiders (#248849)
Fixes #247495
2025-05-14 09:48:06 +02:00
Raymond Zhao 697268d0db Add collection ID trace log (#248872) 2025-05-14 09:37:45 +02:00
Ladislau Szomoru 9d960210fe SCM - fix quick diff vertical scrolling issue (#248854)
SCM - fix quick diff layout
2025-05-14 08:37:45 +02:00
Benjamin Pasero 573ec3a180 chat - reduce noise from missing agent errors (#248890) 2025-05-14 07:45:06 +02:00
Justin Chen 53524ccad1 move voice button to the end so it doesn't bounce around (#248874)
move voice chat actions to the very right before send button so it doesnt move
2025-05-13 17:47:20 -07:00
Tyler James Leonhardt a1d4a24624 Register a NullAuthProvider for github-enterprise when there is no setting set (#248870)
This should help in some cases where extensions call getSession to get github-enterprise and end up waiting 5 seconds for it to time out because it use to only be registered when there was a setting set.
2025-05-13 16:24:14 -07:00
Osvaldo Ortega e88088a680 Review comments 2025-05-13 16:09:35 -07:00
Justin Chen a18494e20a show toolbar only on last response (#248867) 2025-05-13 15:04:28 -07:00
Osvaldo Ortega 18905e101b Adding options for automatic semantic search 2025-05-13 14:29:39 -07:00
Megan Rogge e44f25c264 add json to codeblock (#248859) 2025-05-13 14:03:10 -07:00
Matt Bierner dc6e8e0717 Merge pull request #248814 from 0xEbrahim/ibrahim-dev
Fix Typo and Grammar
2025-05-13 12:58:30 -07:00
Megan Rogge 075982cefa move problem into codeblock (#248847) 2025-05-13 19:27:46 +00:00
Connor Peet 131097bb8a debug: bump js-debug (#248856)
https://github.com/microsoft/vscode-js-debug/compare/v1.100.0...v1.100.1

Refs https://github.com/microsoft/vscode-js-debug/issues/2220
2025-05-13 12:04:32 -07:00
Henning Dieterichs 27f9b6e2b0 Fixes stale reader access bug 2025-05-13 20:17:01 +02:00
Tyler Leonhardt 770ee333b9 Handle globs in Trusted Domains by part & no longer depend on it for Chat features
This commit includes 2 fixes related to Trusted Domains:
1. The Trusted Domain service would match things like `https://a.com/github.com` for glob pattern `https://*.github.com`. This change fixes that by handling parts of URLs (scheme, authority, path) separately and evaluating them
2. Chat Markdown rendering and fetch tool no longer depend on Trusted Domain Service
2025-05-13 10:48:35 -07:00
Ebrahim El-Sayed 328a3f0cb2 Merge branch 'main' into ibrahim-dev 2025-05-13 19:48:11 +03:00
Martin Aeschlimann cf04d4269b Polish New Prompt/Instruction action (#248846)
polish New Prompt/Instruction action
2025-05-13 18:35:06 +02:00
Robo 1f48d5756c fix: add workaround to reposition maximized windows in rdp scenario (#248537)
* fix: add workaround to reposition maximized windows in rdp scenario

* chore: address review feedback

* lift propert

* 💄

* 💄

* chore: gate flag behind windows

* 💄

* chore: mv display detection code to IBaseWindow

* cleanup

* cleanup

* cleanup

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-13 18:27:15 +02:00
Johannes Rieken 0c983523d0 better encapsulation for AttachInstructionsAction (#248689)
* better encapsulation for `AttachInstructionsAction`

This PR brings the menu- and keybinding-regirstrion into the action itself and avoids the "external" use of `registerCommandAndKeybindingRule` and `appendMenuItem`. With that it avoids the need for `runAttachInstructionsAction` which was an indirection to invoke the action itself.

* remove unused import for `attachInstructionsCommand`

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2025-05-13 18:26:28 +02:00
Ladislau Szomoru 0f39b4f2cd SCM Graph - fix edge case for commit margin (#248821) 2025-05-13 16:39:49 +02:00
Megan Rogge b8280a759b Add Troubleshoot with chat task command (#248753) 2025-05-13 05:44:25 -07:00
Ebrahim 866c2ebb9d Fix typo in quickFix.ts and ensure correct grammar in references-view README 2025-05-13 14:59:00 +03:00
Ebrahim 7d2075b39a fix: typo at the README file 2025-05-13 14:55:31 +03:00
Ladislau Szomoru c1b930aaa3 SCM - 💄 show cancel action while generating commit message (#248813) 2025-05-13 03:56:27 -07:00
Johannes Rieken 8922c1937f debt - remove dead code (#248811) 2025-05-13 03:56:00 -07:00
Johannes Rieken 722f98be4d use idiomatic programming in setupChatModeAndTools, also localize human readable strings (#248809) 2025-05-13 03:52:14 -07:00
Johannes Rieken 922a2d7ef0 chore - use autorun over autorunWithStore in chat land (#248808) 2025-05-13 03:25:53 -07:00
Ladislau Szomoru 2be96abe21 SCM Graph - 💄 layout polish (#248804) 2025-05-13 03:13:43 -07:00
Ladislau Szomoru b0558e4be3 Engineering - update distro (#248801) 2025-05-13 02:47:10 -07:00
Martin Aeschlimann 0c82ecfe3c Chat request removes words that start with / (#248795) 2025-05-13 02:09:59 -07:00
Ladislau Szomoru ed48873ba2 SCM - add copilot commit message generation stub action (#248791)
* Initial implementation

* Add git repository context key
2025-05-13 10:39:18 +02:00
Alex Ross be2dc546b8 Treesitter memory related errors + broken syntax highlight after inline chat (#248704)
* Treesitter memory related errors + broken syntax highlight after inline chat
Fixes #246528

* Fix injected language
2025-05-13 08:36:04 +00:00