Commit Graph

149068 Commits

Author SHA1 Message Date
Elijah King
e803db27c6 Merge branch 'main' into eli/compact-command-center-status 2026-03-12 09:33:12 -07:00
Matt Bierner
d9195789ea Merge pull request #300946 from mjbvz/dev/mjbvz/yeasty-cockroach
Make chat sessions give a delta of what has changed
2026-03-12 09:25:02 -07:00
Rob Lourens
9daef69a5b Fix test 2026-03-12 09:23:50 -07:00
Rob Lourens
cb1bf5f351 Fix copilot pty.node packaging 2026-03-12 09:11:36 -07:00
Connor Peet
3e15c2da57 agentHost: hello world from server
Exposes --agent-host-port/--agent-host-path to specify an additional
port for them to listen on. This runs as a separate process mirroring
the architecture from main.

Does a 'hello world', I need to keep testing it some more. I honestly
don't know a lot about the import changes Opus is doing here. Without
them, there is an error:

```
import { CopilotClient } from "@github/copilot-sdk";
         ^^^^^^^^^^^^^
SyntaxError: The requested module '@github/copilot-sdk' does not provide an export named 'CopilotClient'
```

This was Copilot's explanation for why they're needed here but not in Electron:

>The agent host process itself didn't change — the issue is the **module resolution environment** differs between Electron and the server.
>
>**Electron (desktop):** `ElectronAgentHostStarter` spawns a utility process that inherits the main process's module resolution. It resolves packages from the **root** node_modules, where `@github/copilot-sdk`, `ws`, etc. are all installed. Everything just works.
>
>**Server:** `NodeAgentHostStarter` spawns a child via `bootstrap-fork.js`, which registers a custom ESM resolver hook (bootstrap-import.ts) that **redirects** all module lookups to node_modules instead of root node_modules. That's the `[bootstrap-import] Initialized node_modules redirector for: ...\remote\node_modules` log line. The remote folder has its own package.json with a curated set of server-specific dependencies.
>
>The problems were:
>1. **Missing deps** — `@github/copilot-sdk`, `@github/copilot`, and `ws` weren't in package.json because the agent host had never run in the server context before
>2. **Resolver bugs** — bootstrap-import.ts was written when all remote deps were CJS. It hardcoded `format: 'commonjs'`, didn't handle `exports` maps, didn't handle `.mjs` files, and didn't resolve subpath imports like `vscode-jsonrpc/node`. These are pre-existing limitations that never mattered until now because no server component previously depended on ESM-only npm packages.
>
>So in short: the agent host code is identical — it's the server's module resolution plumbing that needed updating to support the ESM packages the agent host depends on.

cc @bpasero as the expert in this area
2026-03-12 09:00:40 -07:00
Matt Bierner
2f278eccbc Restore safer behavior for now 2026-03-12 08:34:44 -07:00
Connor Peet
03d87f6b18 plugins: support plugin specific paths, adding a plugin directly (#301024)
* plugins: support plugin specific paths, adding a plugin directly

- Supports custom fields for commands/skills/agents/etc in plugins,
  matching the new plugins spec.
- Support adding a plugin (without needing a repo) directly via
  'Chat: Install Plugin from Source' in the command palette, installed
  plugins view, or the chat customizations view.

Closes https://github.com/microsoft/vscode/issues/300945?reload=1

* comments
2026-03-12 17:28:14 +09:00
Paul
6f7de9c47a Move troubleshoot skill to files-based approach (#300907) 2026-03-12 07:06:41 +00:00
Justin Chen
9621f35a6c Revert "Using computed editor options instead of direct values (#300868) (#301023)
Revert "Using computed editor options instead of direct values  (#300868)"

This reverts commit 446c7554ba.
2026-03-12 06:42:52 +00:00
Justin Chen
9c8a42f3ec chat rendering fix for working + cli specific issues (#301015)
* chat rendering fix for working + cli specific issues

* address comments
2026-03-12 06:39:46 +00:00
Johannes Rieken
cabe52dcbe Merge pull request #300845 from microsoft/joh/ideological-albatross
Add continue and rephrase actions to inline chat, enhance session management
2026-03-12 06:53:08 +01:00
Osvaldo Ortega
a988b69b4e Main button commands and mocks 2026-03-11 22:38:59 -07:00
Robo
d666fe6572 feat: add assets for macOS 26 icon support (#300901) 2026-03-12 05:32:01 +00:00
Joaquín Ruales
d7e0f773c6 Small improvements to browser zoom feature (#300973)
* Match vscode shortcuts

* Simplify setting name
2026-03-11 22:08:44 -07:00
Robo
85b156f976 fix: move versioned folder check closer to the package task (#300685) 2026-03-11 21:51:42 -07:00
Tyler James Leonhardt
ec9a529880 Add a simple log for when we can't get the output channel (#300969)
Helps demystify why Show Details doesn't show.
2026-03-12 04:37:43 +00:00
Vijay Upadya
c7e08526a6 Debug Panel: Import cap and large file optimizations (#300949)
* import cap and large file optimizations

* feedback updates
2026-03-11 21:34:11 -07:00
Luca
8ca4fb20bf Fix: comment typo in authIssuers proposal (#300899)
Fix: Correct comment references to supportedAuthorizationServers field
2026-03-12 04:17:16 +00:00
Peng Lyu
b79bcf7011 Merge pull request #300983 from microsoft/rebornix/hollow-tarantula-image
feat: add image carousel
2026-03-11 20:39:36 -07:00
Peng Lyu
850a3933ea Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-11 20:11:36 -07:00
Justin Chen
68b4b790c5 show working progress more consistently (#300986) 2026-03-12 02:47:23 +00:00
Peng Lyu
c3d734644a feat: add image carousel project to i18n resources 2026-03-11 19:22:50 -07:00
Peng Lyu
70b2564eb4 feat: implement image carousel actions and keyboard navigation 2026-03-11 19:18:09 -07:00
Peng Lyu
346c218fa3 Refactor image carousel: simplify architecture, fix review feedback
- Rename chatImageSlideshow -> imageCarousel as a generic workbench contrib
- Remove editor resolver and collection store (direct EditorInput creation)
- Remove F1 command (single entry point via internal command)
- Fix response matching: only open collection containing clicked image
- Add registerOpenEditorListeners for keyboard/accessibility parity
- Localize all user-facing strings
- Add chat.imageCarousel.enabled preview setting (default: false)
- Rename command to workbench.action.chat.openImageInCarousel
- Use h() helper for declarative DOM, getMediaMime() for MIME types
- Editor not restorable (canSerialize returns false)
2026-03-11 18:35:25 -07:00
Tyler James Leonhardt
ac668ca577 Distro Bump (#300964)
BUMP THAT DISTRO
2026-03-11 18:23:22 -07:00
Matt Bierner
cfff60f09d Merge pull request #300860 from mjbvz/dev/mjbvz/heavy-swallow
Re-remove webpack (again again)
2026-03-11 18:14:40 -07:00
Martin Aeschlimann
bb5835fb94 support for chat customizations in parent repo folders (#300916)
* support for parent repo folders for all chat customizations

* update
2026-03-11 18:13:34 -07:00
Bryan Chen
3ce494989d Merge pull request #300559 from microsoft/copilot/fix-uncaught-typeerror-dimensions
Fix telemetry path redaction to preserve node_modules paths
2026-03-11 18:12:55 -07:00
Justin Chen
99c4016d8e when thinking is collapsed, make sure to show full tool info (#300952)
* /yolo -> switches to bypass mode, /autopilot switches to autopilot

* in collapsed mode, make sure headers are updated with more info

* Revert "in collapsed mode, make sure headers are updated with more info"

This reverts commit 104db3926e.

* Revert "/yolo -> switches to bypass mode, /autopilot switches to autopilot"

This reverts commit ded22eca4b.

* in collapsed mode, make sure headers are updated with more info

* better todos and fix comments
2026-03-11 18:00:52 -07:00
Justin Chen
b8b027b4fd /yolo -> switches to bypass mode, /autopilot switches to autopilot (#300939) 2026-03-11 17:57:54 -07:00
Jean Pierre
422d2969f3 Support terminal creation on web worker extension host when there's remote authority (#300897) 2026-03-12 00:55:31 +00:00
Connor Peet
8432b8b46a plugins: support openplugin format (#300948)
* plugins: support openplugin format

Generally just our existing stuff with minor tweaks

* compile
2026-03-11 17:46:44 -07:00
Tyler James Leonhardt
d582a1590b Allow vscode-sessions strings in the main bundle (#300944)
It seems like the sessions experience _can_ run in the VS Code world, so we actually do need these strings.
2026-03-11 17:46:40 -07:00
Harald Kirschner
121ed5f865 Simplify chat.autoReply: skip questions instead of LLM-answering them (#300926)
* Simplify chat auto-reply: skip questions instead of LLM-answering them

When `chat.autoReply` is enabled, the questions tool now returns the
same 'user is not available, use your best judgment' response used in
autopilot mode — instead of sending questions to a separate LLM call
for answer resolution.

This removes ~450 lines of LLM prompt engineering, JSON parsing with
retry, fuzzy option matching, fallback answer generation, and opt-in
dialog management.

* Address review: skip in-flight carousels when auto-reply is enabled mid-session

Listen for chat.autoReply config changes in chatListRenderer and skip
all pending question carousels when the setting becomes enabled. This
handles the edge case where a carousel is already awaiting user input
and the user enables auto-reply or switches to autopilot afterward.
2026-03-11 20:43:57 -04:00
Matt Bierner
47e20e1d83 Fix import 2026-03-11 16:43:21 -07:00
Matt Bierner
ee699b749f Make chat sessions give a delta of what has changed
For #300770
2026-03-11 16:39:13 -07:00
Rob Lourens
076b448ec0 Merge remote-tracking branch 'origin/main' into roblou/agent-host 2026-03-11 16:03:31 -07:00
Connor Peet
354646866f Merge pull request #300929 from microsoft/connor4312/agent-host-adopt
Adopt agent host protocol
2026-03-11 15:59:52 -07:00
Connor Peet
fce44bebc0 cleanup 2026-03-11 15:59:27 -07:00
Joaquín Ruales
cc5c2fd418 Browser Zoom (#299161)
* Browser Zoom

* Remove logic from editor

* Feedback

* Small comment change

* Zoom factors, not percentages

* Comment on keybinding

* Add keybindings back to actions

* Add browserZoomLabel helper for zoom percentage display

* First AI changes

* AI pass with zoom level hierarchy

* Fix zoom not applying to other origins after default zoom change

* Promote per-origin zoom to user setting workbench.browser.zoom.perOriginZoomLevels

* Remove unnecessary configuration migration for zoom setting

* Add 'Match VS Code' default zoom level option for Integrated Browser

* Add missing localize import to platform/browserView/common/browserView.ts

* Switch per-origin zoom tracking to per-host (http/https only)

* Rename zoom settings: defaultZoomLevel→pageZoom, perHostZoomLevels→zoomLevels; mark zoomLevels as advanced

* Update setting description and scope

* Improve zoom service: lazy synchronizer, pre-computed label map, RunOnceScheduler, always forceApply on navigate

* Remove self-evident and redundant comments

* Refactor zoom to two independent cascades (ephemeral/persistent each fall back to default independently)

* Use IStorageService for per-host browser zoom instead of settings

* Remove VS Code product name from browser zoom code
2026-03-11 15:38:03 -07:00
Megan Rogge
f144e45025 Revert macOS chunking PR (#300933)
Revert PR
2026-03-11 15:21:44 -07:00
Megan Rogge
898a015090 make accessible view bigger (#300932) 2026-03-11 22:06:18 +00:00
eli-w-king
01e9a2b8dd updated default to compact 2026-03-11 15:02:40 -07:00
Elijah King
c9789345a9 Merge branch 'main' into eli/compact-command-center-status 2026-03-11 15:02:15 -07:00
Aiday Marlen Kyzy
446c7554ba Using computed editor options instead of direct values (#300868)
* wiring in options instead of direct values

* fixing the tests

* adding wrapping info
2026-03-11 14:50:13 -07:00
Harald Kirschner
bf19d9d126 askQuestions tool: default allowFreeformInput to true (#300923)
The askQuestions tool was defaulting allowFreeformInput to false when the
model omitted it, which meant users couldn't provide freeform text answers
unless the model explicitly opted in. This restores the previous behavior
where freeform input is shown by default alongside options.

Also updates the schema description and model description to reflect that
allowFreeformInput defaults to true and can be set to false to restrict
to predefined options only.
2026-03-11 21:42:29 +00:00
Henning Dieterichs
5d56633a57 updates component explorer 2026-03-11 22:30:41 +01:00
Logan Ramos
b49670d4a1 Fix context indicator (#300917) 2026-03-11 22:28:34 +01:00
Christof Marti
383c174f7a Add proxy support to WebSocket (#298236) 2026-03-11 21:27:42 +00:00
Connor Peet
e9299757f2 first working protocol version
align more closely with protocol

json rpc and some gaps
2026-03-11 14:25:45 -07:00