Commit Graph

131056 Commits

Author SHA1 Message Date
Johannes
c2676f75e5 - show mcp servers in ui (WIP)
- register mcp server tools as tools
- add `IMcpTool#id`
- make sure `callOn` awaits result before disposing fyi @connor4312
2025-03-10 18:11:28 +01:00
Alex Ross
897d7c8abf Fix some property init order debt in comments files (#243095)
Part of #243049
2025-03-10 18:03:17 +01:00
Raymond Zhao
b8006b5f36 Fix exact match check 2025-03-10 10:01:27 -07:00
Raymond Zhao
0287979d68 Remove old key-matching algorithm and setting
Closes #243091
2025-03-10 09:57:46 -07:00
Alex Ross
62e914e344 Make the property init order checker script Windows friendly (#243093)
Part of #243049
2025-03-10 17:54:49 +01:00
Robo
31ec1c528f build: remove legacy server support (#235232)
* build: remove legacy server support

* chore: update rpm dependencies

* chore: fix publishing

* cli: provide option for unsupported glibc sysroot

* chore: add unsupported mode to prereq check

* chore: add logging

* chore: add comment about patchelf execution order
2025-03-10 17:54:23 +01:00
Alexandru Dima
1e271e0428 Adopt initialisation order changes (#243090)
Adopt initialisation order changes (#243049)
2025-03-10 17:45:37 +01:00
Joyce Er
35372a9205 refactor: remove working set from chat editing session (#243087) 2025-03-10 17:12:56 +01:00
Sandeep Somavarapu
3ea047c09e fix #241002 (#242880) 2025-03-10 16:39:41 +01:00
Benjamin Pasero
f389507945 rename window.titleControlsStyle to window.controlsStyle (#243085) 2025-03-10 16:35:29 +01:00
Daniel Imms
b8fb0f5753 Merge pull request #243071 from microsoft/tyriar/242739
Fix shell integration smoke test flake
2025-03-10 08:29:38 -07:00
Sandeep Somavarapu
6b9869a75c start adopting to includeLatestPrereleaseAndStableVersionOnly flag (#243083)
#243072 start adopting to includeLatestPrereleaseAndStableVersionOnly flag
2025-03-10 16:20:42 +01:00
Robo
c6a01c44e2 chore: update runtime builds (#243077)
* chore: update runtime builds

* chore: bump distro
2025-03-10 16:15:18 +01:00
Alex Dima
6001ed8a20 Add workaround (again) for browser bug 2025-03-10 16:01:56 +01:00
Alexandru Dima
92c3d15600 Merge pull request #243062 from microsoft/alexd/extra-sailfish
Emit editor widget focus events via ViewModelEventDispatcher
2025-03-10 15:11:47 +01:00
Daniel Imms
0054d6f0fa Merge pull request #243075 from microsoft/tyriar/240374
Fix git aliases not completing
2025-03-10 07:07:10 -07:00
Ladislau Szomoru
6306af46f0 SCM - 💄 fix property init order in scmHistoryViewPane.ts (#243069) 2025-03-10 06:23:53 -07:00
Daniel Imms
4c1fe96dde Fix git aliases not completing
Fixes #240374
2025-03-10 06:15:49 -07:00
Aiday Marlen Kyzy
50a7fe5744 Fixing property initialization order check in ghostText.ts (#243068)
fixing property initialization order check in ghostText.ts
2025-03-10 14:04:32 +01:00
Daniel Imms
d750544dc3 Fix shell integration smoke test flake
The problem was caused by zsh being out of date causing the shell
initialized check to not work properly as the prompt was delayed after
that.

Fixes #242739
2025-03-10 06:02:42 -07:00
Robo
0018d20957 chore: fix property init order in ipc.mp.ts (#243066) 2025-03-10 13:57:36 +01:00
Aiday Marlen Kyzy
4ffd9dd633 Fixing property initialization order in stickyScrollWidget.ts file (#243067)
* running property init order check on sticky scroll widget

* refactoring
2025-03-10 13:53:34 +01:00
Ladislau Szomoru
fb57e96676 SCM - 💄 fix property init order in workingSet.ts (#243061) 2025-03-10 13:14:59 +01:00
Ladislau Szomoru
887fa0736e SCM - 💄 fix property init order in scmViewService.ts (#243060) 2025-03-10 13:10:05 +01:00
Benjamin Christopher Simmonds
838ece1cef Inline Edits Code Shifting Horizontal Support (#243059)
Inline Edits Code Shifting horizintal support
2025-03-10 12:48:46 +01:00
Ladislau Szomoru
06e9d7ece1 SCM - 💄 fix property init order in quickDiffDecorator.ts (#243058) 2025-03-10 12:46:39 +01:00
Ladislau Szomoru
8d69af582f SCM - 💄 fix property init order in activity.ts (#243056) 2025-03-10 12:27:12 +01:00
Johannes Rieken
2cde379d3a fix property init order for chatEditingCodeEditorIntegration (#243051)
* add explaining comment

* fix property init order for `chatEditingCodeEditorIntegration`

https://github.com/microsoft/vscode/issues/243049
2025-03-10 11:37:20 +01:00
Benjamin Pasero
e4abf53129 refactor: use enum for title controls style in quick input controller (#243047) 2025-03-10 11:21:09 +01:00
Benjamin Pasero
df54f43ef6 title - custom window controls setting (#242986) 2025-03-10 10:57:51 +01:00
Johannes Rieken
c04ac5a5df add property-init-order-check and run during CI (just like valid layers check) (#243042)
Enable ignore list which capture current violations and todo list
2025-03-10 10:22:18 +01:00
Rob Lourens
d8aba066d4 Bump @vscode/ripgrep (#243004)
* Bump @vscode/ripgrep
Brings in error handling fixes

* In remote/ too
2025-03-10 05:38:29 +00:00
Joyce Er
8ebc9a6f21 refactor: extract chat attachment rendering (#243019) 2025-03-09 18:40:09 -07:00
Rob Lourens
c9fd0dcc92 Add keybinding to switch models in chat (#243018)
cmd+alt+.
2025-03-09 17:41:37 -07:00
Rob Lourens
4c3374008a Fix chat render loop when rendering notebookEditGroup (#243013) 2025-03-09 14:47:16 -07:00
Connor Peet
eb700003eb mcp: initial hacking
This is some basic work to get MCP hooked up. It's enough to discover
and establish connections to MCP servers on the machine with very very
basic commands to manage them:

![](https://memes.peet.io/img/25-03-2220f93e-3d1f-41ab-867e-0b9ba616ec6f.mp4)

Refs #242864

The McpRegistry registers both collections of servers (from various
config files) and 'delegates', which is currently _only_ the node
extension host but is pretty generic and so could point at other
processes in the future. SSE could even be served from the renderer when
we aren't on a remote.

It wraps into IMcpServerConnection's, which do some basic connection
management and expose the McpServerRequestHandler which speaks JSON-RPC
to the MCP server. This is wrapped into the IMcpServer which is the
complete, stateful representation of the server. It does stuff like
caching discovered tools such that they can be viewed and controlled
even when the MCP server isn't running.

The IMcpService is the 'public' entry for other VS Code features. Its
API is very simple right now, exposing an observable of the available
servers, which should be easy for chat to consume.

Still need to get some good tests going, add proper and more discovery,
and excercise currently-untested API. SSE is also a stub right now.
2025-03-09 12:14:51 -07:00
Benjamin Pasero
b90f20946a tests - allow to run API tests in vscode (#242987) 2025-03-09 15:54:27 +01:00
Benjamin Pasero
3180cbe178 GitHub Copilot Sign-In Issues After VS Code Update (fix #242819) (#242962) 2025-03-09 08:27:07 +01:00
Rob Lourens
19775bf998 Fix #242955 (#242977) 2025-03-09 03:06:28 +01:00
Rob Lourens
4c5b6c2eba Fix chat edit session persisting (#242976)
The intent here was to persist live edit sessions, but not old ones, since there is no history for edit sessions. But there were some changes and we ended up persisting all edit sessions, just never exposing them in history.

The 25 session limit still applies, so they would rotate through like other chat sessions, but now edit sessions take up a slot that was supposed to go to chat sessions.

Fixing this will make the persisted data much smaller for people who have used agent mode and don't have a large edit session open at the moment.

But I'm going to switch to writing these to disk anyway so it's all about to change again.
2025-03-08 17:59:39 -08:00
Benjamin Pasero
d70596e87b Chat-related commands should not be available on web (without backend) (fix #241873) (#242954)
* Chat-related commands should not be available on web (without backend) (fix #241873)

* Remove notebook.cellOutput.addToChat from command palette

* Only show "Toggle agent mode" when chat enabled

* Show notebook.cellOutput.addToChat only when chat enabled

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2025-03-08 18:58:26 +01:00
Daniel Imms
6c1b5d0712 Merge pull request #242966 from microsoft/tyriar/242795_2
Remove compile workarounds in upstream specs
2025-03-08 09:47:18 -08:00
Daniel Imms
6c1afa4f7d Remove compile workarounds in upstream specs
Part of #242795
2025-03-08 06:51:01 -08:00
Benjamin Pasero
1073944dfc chat - status 💄 (#242887) 2025-03-08 12:59:09 +01:00
Joyce Er
02662f1596 fix: track active editor in implicit context widget (#242928) 2025-03-07 17:39:40 -08:00
Tyler James Leonhardt
739de723a5 Fix ScopeData so that tenantId truly is only a GUID (#242929)
Fixes https://github.com/microsoft/vscode/issues/242839
2025-03-07 14:46:25 -08:00
Joyce Er
315b2d7f61 fix: render Attach Context above input editor for both chat and edits (#242927) 2025-03-07 14:16:37 -08:00
Joyce Er
93b91e506f refactor: extract chat related files from editing session working set (#242924) 2025-03-07 22:55:38 +01:00
Joyce Er
fbfb939654 refactor: deprecate IChatEditingSession.addFileToWorkingSet() (#242918) 2025-03-07 21:03:17 +01:00
Aaron Munger
e5ac650981 bump default nb format version (#242741)
* bump default nb format version

* update tests

---------

Co-authored-by: amunger <>
2025-03-07 20:58:55 +01:00