Commit Graph

16293 Commits

Author SHA1 Message Date
Tyler James Leonhardt
71b461ab86 Support PKCE for GitHub Auth (#265381)
Fixes https://github.com/microsoft/vscode/issues/264795
2025-09-05 19:55:35 +02:00
Benjamin Pasero
229c487a9a files - update to latest @parcel/watcher (#265144) 2025-09-05 13:14:35 +02:00
Logan Ramos
2eae3caa26 Implement API changes from TPI feedback (#265213)
* Implement API changes from TPI feedback

* Update names

* Handle old fallback
2025-09-04 17:45:03 -04:00
Christof Marti
7be2a0b2e6 Retry with first fetcher to avoid fallback on resume 2025-09-04 21:42:15 +02:00
Martin Aeschlimann
f52be6a9d7 Disable loading schemas from http/s in untrusted workspaces (#265176) 2025-09-04 15:56:18 +00:00
Alexandru Dima
2617e6ca16 Add proposed API for code and model inline completions unification (#265101)
* Add proposed API for code and model inline completions unification

* Remove the assertion from the event

* Allow api tests to use new API
2025-09-04 11:23:57 +02:00
Christy 😺
8bdbcf0e32 compare with workspace use diff editor instead of merge editor (#265054)
compare with workspace use diff editor instead of merge
2025-09-03 20:33:10 -07:00
Christy 😺
901aa3b820 directly call simplified merge editor for worktree merges (#265024)
directly call own simplified merge editor for worktree merges
2025-09-03 14:45:41 -07:00
Tyler James Leonhardt
7a4d034fc5 Disable macOS broker support due to blocking MSAL bug (#264954)
Sigh... Unfortunately, MSAL seems to fail for clients that don't have managed machines that have opted in to the broker... I have opened a blocking issue on them internally.

At least, when they fix it, it would just be a matter of updating the package version and the conditional here.
2025-09-03 17:30:49 +00:00
Tyler James Leonhardt
151a19f321 Only add the broker if it's available (#264785)
We shouldn't have to do this, but let's see if this resolves issues with users who don't have the broker installed.
2025-09-02 22:28:03 +00:00
Christy 😺
f562c9d3e8 Enable users to view and apply changes from worktree to main repo, per file (#263927)
* enable compare with workspace command

* add context to command

* clean up
2025-09-02 15:28:07 +02:00
Christy 😺
211615d751 Git: Fix worktree checkout default actions (#262414)
* fix worktree checkout default action

* remove comments

* clean up

* fix returns

* change action to 'cancel'
2025-09-01 15:46:09 +02:00
Tyler James Leonhardt
70e7eae770 MSAL Redirect Funkiness (#264057)
Why do they do this to me...
2025-08-29 08:47:16 -10:00
Tyler James Leonhardt
54b39dc336 Typo in telemetry (#264041) 2025-08-29 16:50:45 +00:00
Copilot
f14ccecb1e Add support for Entra ID v1.0 authorization servers in VSCode MCP Client (#262603)
* Initial plan

* Add v1.0 Entra ID support and optimize MCP discovery for Microsoft endpoints

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

* Add tests for v1.0 authorization server support

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

* Address code review feedback: remove redundant tests and Microsoft-specific logic

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2025-08-29 12:21:53 +02:00
Tyler James Leonhardt
7e8f8e9230 Add new msal-no-broker implementation option to allow for getting rid of classic soon (#263966)
Also, removes the redirectUri from acquireTokenSilent because MSAL was throwing because of it.
2025-08-29 09:01:02 +02:00
Tyler James Leonhardt
2e43a0c0d6 Handle authority & redirectUri in acquireTokenByRefreshToken (#263958)
Handle authority in acquireTokenByRefreshToken

This fixes the migration logic for clients that that moving from MSAL to MSAL+Broker
2025-08-29 04:27:54 +00:00
Tyler James Leonhardt
5b25d491ca Add a log statement for acquireTokenSilent (#263951)
* Add a log statement for acquireTokenSilent

* stringify
2025-08-29 06:09:28 +02:00
Tyler James Leonhardt
7d1d412b25 default is true, fix the log (#263931) 2025-08-29 00:14:58 +00:00
Christy 😺
9c9a837573 clean up dialog and add additional warning (#263908)
* restrict dialog to less than 5 files

* add warning dialog
2025-08-28 15:34:27 -07:00
Christy 😺
79712fb87f migrate worktree changes (#262656)
* migrate worktree changes

* detect LocalChangesOverwritten error before creating & applying stash

* error handle

* make error label clearer

* delete redundant stash length check

* clean up error handling
2025-08-28 07:57:26 -07:00
Matt Bierner
682e96ee85 Merge pull request #263714 from mjbvz/quarrelsome-goat
Update markdown tm grammar
2025-08-27 17:34:05 -07:00
Matt Bierner
ede7111b18 Merge pull request #263550 from remcohaszing/markdown-code-blocks
Highlight more languages in markdown code blocks
2025-08-27 17:23:32 -07:00
Matt Bierner
6d8ab9737d Update markdown tm grammar 2025-08-27 16:52:40 -07:00
Tyler James Leonhardt
da3cf78129 Enable the broker in macOS (#261148)
* Enable the broker in macOS

Fixes https://github.com/microsoft/vscode/issues/260158

* for testing

* better globbing

* guh

* guh

* delete

* log it all

* let's just log everything

* Only do on supported OS/Arches

* Add a console.log

* look at VSCODE_ARCH

* add msal files

* add entitlement maybe here

* actually it's probably here

* build: bundle msal libs for x64 and arm64

* revert that

* try again

* try adding $(AppIdentifierPrefix)

* temp: add debuggee entitlements

* bump msal and pass in redirect uri on macOS

* revert entitlement files

* forgot the .helper

* Allow PII for the output channel only

* use unsigned option

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2025-08-27 14:31:09 -07:00
Daniel Imms
832ae085a4 Merge pull request #263623 from rwoll/fix-blockOnResponse
skip flakey blockOnResponse tests
2025-08-27 10:49:55 -07:00
Logan Ramos
a18d41e90a Finalize LM API (#263415)
* Finalize BYOK API

* More byok

* Fix compile errors

* Feedback

* Fix fat fingering

* Fix capabilities

* Bump version

* Rename contrib point + activation events

* Update test

* Add proposed api check to require authorization

* Change comment
2025-08-27 17:25:34 +00:00
Ross A. Wollman
87b4d2a251 skip flakey blockOnResponse tests
`workbench.action.chat.open.blockOnResponse` is flaking in CI. So far,
I cannot reproduce locally so skipping to avoid noise in CI while I
debug.

Since the core logic (i.e. not the test) is only hit if `blockOnResponse`
is set to `true`, leaving it in is low-risk.

Relates #263572.
Relates #263575.
2025-08-27 10:24:04 -07:00
Remco Haszing
dbfc87155d Highlight more languages in markdown code blocks
This adds syntax highlighting for the `ignore`, `jsonl`, and
`restructuredtext` languages inside of markdown code blocks.

Refs https://github.com/microsoft/vscode-markdown-tm-grammar/issues/177
2025-08-27 09:56:06 +02:00
Ladislau Szomoru
a63acf5e40 Git - accept working set changes when a resource is staged/committed (#262885) 2025-08-25 08:07:51 -07:00
Daniel Imms
72a0301b7a Add PR icons and support display name 2025-08-25 06:34:52 -07:00
Daniel Imms
7642e8d2db Pull in gh updates from withfig/autocomplete#2600 2025-08-25 06:23:42 -07:00
Daniel Imms
4600226d67 Fork gh spec into vscode 2025-08-25 06:19:29 -07:00
Rob Lourens
a9ca87f882 Reenable integration test (#263181)
Some things have changed, hoping this is more stable now
Fix #242671
2025-08-24 13:41:59 -07:00
Daniel Imms
dfb5c1a7e2 Use branch icon in gh spec 2025-08-24 12:47:41 -07:00
Daniel Imms
885a41a029 Merge remote-tracking branch 'origin/main' into tyriar/263167 2025-08-24 12:45:41 -07:00
Daniel Imms
1e834ed666 Add gh spec 2025-08-24 12:43:48 -07:00
Daniel Imms
bdab5cc7bf Delete unwanted specs, get rid of some web requests 2025-08-24 12:31:33 -07:00
Daniel Imms
edccd3f918 More completions, fix importing for some 2025-08-24 12:06:20 -07:00
Daniel Imms
89b9268261 Add more fig specs
Fixes #263167
2025-08-24 11:52:05 -07:00
Daniel Imms
4be46ba077 Add terminal suggest git kinds with icons
Fixes #240232
2025-08-24 11:37:09 -07:00
Matt Bierner
f35f9bcaa2 Merge pull request #262682 from Da-nie-elT/update-forin-snippet
Update for-in loop snippet with `Object.hasOwn()`
2025-08-21 22:57:37 -07:00
Benjamin Pasero
d44d16c464 Wire in a auth callback parameter to indicate Copilot terms were shown to the user (microsoft/vscode-internalbacklog#5761) (#262439)
* implement as a bag

* nit

---------

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
2025-08-22 14:42:25 +09:00
Da-nie-elT
a92f6c9324 Use Object static 2025-08-21 13:57:45 +02:00
Da-nie-elT
3a91ebc454 Removed accidental whitespace 2025-08-21 13:44:14 +02:00
Da-nie-elT
215dbb213a Updated For-In Loops in snippets 2025-08-21 13:42:27 +02:00
Ross Wollman
58c4c3bf4b Wait for agent loop to finish in automation (#262370)
* add `workbench.action.chat.open::waitForComplete`

* s/waitForCompletion/blockOnResponse

* cleanup tests

* remove unused comment

* Apply suggestion from @connor4312

Co-authored-by: Connor Peet <connor@peet.io>

* fixup tests

* don't block test loop on invokeTool

* Revert "don't block test loop on invokeTool"

This reverts commit d8d16dbe79.

* fix tool confirmation test

* attempt to account for the flip of isPendingConfirmation

* [DEBUG] debug CI flake

* register tool so it exists in all test envs

* finish configuring custom tool

* run test in seperate chat windows

* revert debug changes

* remove timeout dep

* fix assertion

* cleaup tests by examining output of command directly

---------

Co-authored-by: Connor Peet <connor@peet.io>
2025-08-20 10:13:48 -07:00
Ladislau Szomoru
845601668b Git - fix commit signing regression (#262479)
* Git - fix commit signing regression

* Extract file name when signing commit
2025-08-20 10:55:44 +00:00
Ladislau Szomoru
792addc4a2 Git - reveal specific file in the multi-file diff editor (#262458)
Git - reveal specific file in the multi-file diff ediotr
2025-08-20 08:46:53 +00:00
Christof Marti
5bf6e4d607 Fall back to alternate fetch implementation (#262181) 2025-08-19 04:46:22 -07:00