Commit Graph
3607 Commits
Author SHA1 Message Date
Benjamin Pasero 09723854ed cli - always print --transient info (#254383) 2025-07-07 07:46:30 +02:00
Copilot 9b592e0c0a Implement --transient CLI option for stateless VS Code sessions (#254223) 2025-07-06 15:47:20 +02:00
Sandeep Somavarapu 535bf22ea8 move user mcp management to shared process (#254086) 2025-07-04 10:36:50 +00:00
Sandeep SomavarapuandJosh Spicer 6986b1c856 register missing services (#253747)
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
2025-07-03 19:19:27 +00:00
Benjamin Pasero c59715207b Provide option to open code chat in empty workspace or existing workspace (fix #253383) 2025-07-03 12:35:12 +02:00
Benjamin Pasero aae9b00abc Allow to start chat session from the command line (#252588) 2025-06-30 08:57:56 -07:00
Benjamin Pasero 0139f086ed Issues with CSS in development mode (#237676) (#252939) 2025-06-30 16:48:51 +02:00
Connor Peet d33c40d6bb mcp: fix add-mcp command errors out on insiders (#252705)
Fixes #252512
2025-06-27 23:48:41 +02:00
Benjamin Pasero 189d83c590 layout - allow to maximise the secondary sidebar (#252301) 2025-06-26 08:33:19 +02:00
Rob Lourens cf2063d0bb Add releaseDate to builtin vscode telemetry too (#252047)
* Add releaseDate to builtin vscode telemetry too

* Use common. prefix

* Fix test
2025-06-23 15:42:00 -04:00
Johannes 3618588ffe Merge branch 'main' into joh/systematic-mockingbird 2025-06-10 08:53:40 +02:00
Benjamin Pasero a3beb7acb9 debt - ensure to remove listeners 2025-06-09 17:01:32 +02:00
Johannes 5586bddae5 fix some cyclic dependencies 2025-06-09 14:36:36 +02:00
Benjamin Pasero cdf404ff47 debt - restore old layer name (#250928) 2025-06-09 07:08:43 +00:00
Benjamin Pasero 4534383902 debt - reduce use of node.js path (#249423) 2025-05-21 09:08:40 +02:00
Benjamin Pasero 2984f68510 debt - avoid any for timeout/interval (#249348) 2025-05-20 20:08:25 +02: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
Benjamin Pasero 174dc35fe5 debt - inline bootstrap-window (#248373) 2025-05-08 09:58:09 +02:00
Benjamin Pasero 2a5bd4dfac process explorer - remove old standalone window solution (#248319) 2025-05-08 06:34:38 +00:00
Ron Buckton 639b67695e Add casts to silence breaks due to updated DOM types 2025-05-07 16:17:16 -04:00
Justin Chen 94590884c8 refactor ui element selection to standalone service (#248185)
* big refator to ui element's own service

* move native to own file

* add native type

* fix in layer checker

* fix in layer checker

* fix whitespace

* fix another whitespace

* Update layersChecker.js

* build still not passing

* Update layersChecker.js

* update layerChecker using npm run compile

* try updating layer checker rules

* rename simple browser service

* another rename in app.ts
2025-05-07 01:24:21 -07:00
jeffrey 81daed21e6 Merge branch 'main' into pointer-lock-in-webview 2025-04-27 20:19:52 -07:00
Benjamin Pasero fd149dca51 layout - add a setting to show secondary sidebar by default (fix #191202) (#245974)
* layout - add a setting to show secondary sidebar by default (fix #191202)

* .

* revamp
2025-04-08 13:20:07 +00:00
Justin Chen c588828980 drag and drop from external URLs (#243816)
* re-add drag and drop URLs, do some fetching

* add fallback by using canvas'
i

* some cleanup

* more cleanup

* more cleanup

* better handling

* remove unused function

* add sessionDefault

* move to webextractorservice

* ensure data type

* now using shared process

* make sure to register shared process

* add more headers to help specify:

* fix comment

* add register singlton to pass test

* adress some comments

* add cancellation token, rename

* no more text/html, better if cases

* address more comments

* make token required
2025-03-24 13:10:29 -07:00
Robo 8dd2ad65d4 refactor: setup errorTelemetry from electron-main (#244020) 2025-03-20 12:10:07 +09:00
Tyler James Leonhardt c27b2c1fbb Move helper to another file (#244055)
Follow up for @bpasero from https://github.com/microsoft/vscode/pull/244026#discussion_r2004102518
2025-03-20 00:14:29 +01:00
Tyler James Leonhardt 9ed88381e1 Filter out offscreen windows from getAllWindows call sites (#244026)
We don't want these extra windows to cause anything to go wrong, so we replace explicit calls of `getAllWindows` with a wrapper that excludes them.

@deepak1556 and I also went through all other static APIs on BrowserWindow and found none that would be problematic to these new offscreen windows.
2025-03-19 11:23:08 -07:00
jeffrey b92cdebbc2 Merge branch 'main' into pointer-lock-in-webview 2025-03-17 20:23:31 -07:00
Josh Spicer bd077e517b Add registering macOS NativePolicyServer in cliProcessMain (#243799)
Add registering macOS NativePolicyServer in cliProcessMain (https://github.com/microsoft/vscode/issues/148942)
2025-03-17 12:54:43 -07:00
Tyler James Leonhardt f99a4603d6 Initial cut of WebContentExtractorService & a fetch tool (#243609)
* Initial cut of WebContentExtractorService & a fetch tool

I will likely move the tool into Copilot so it can take advantage of prompt-tsx and embeddings indexing... but this is the first cut to play around with it.

This leverages Chrome DevTools Protocol's `Accessibility.getFullAXTree` command in order to get a representation of a page while marking what is useful on the page and what is not. We take the output of the command and turn it into a string that the caller can easily consume. This transformer will get more sophisticated over time to make sure we keep content that's important, and ditch content that is not.

On the tool side of things... this implements a Confirmation flow that verifies if the urls being requested is a trusted domain. We are _rendering_ these urls (albiet, sandboxed without JS) so we want to make sure they're safe. If it's not trusted, they'll be asked to confirm.

* fix naming
2025-03-14 16:25:06 -07:00
Sandeep Somavarapu c17dd1da05 extension gallery manifest service (#243568)
- send gallery info from workbench to shared process
2025-03-14 08:15:51 -07:00
Connor Peet 146b31fbe9 mcp: rm --add-mcp-to-workspace for now (#243377)
This isn't supported in the IConfigEditingService, and is probably not a feature we need in the immdiate future anyhow.
2025-03-12 19:12:07 +01:00
Connor Peet 589bd5dfe9 mcp: work on --add-mcp CLI (#243282)
* mcp: work on --add-mcp CLI

* throw an error, get it mergable
2025-03-12 01:22:35 +00:00
jeffrey 4038bf9da2 Merge branch 'main' into pointer-lock-in-webview 2025-03-11 14:25:34 -07:00
Connor Peet 0e01b1cc94 refactor: adopt proxychannel for calling INativeMcpDiscoveryHelperService 2025-03-11 10:53:25 -07:00
Connor Peet 4fda13acb3 Merge remote-tracking branch 'origin/main' into connor4312/mcp-1 2025-03-11 08:36:46 -07:00
Benjamin Pasero 129f975fd4 debt - prepare for property initialisation order changes #243049 (#243153) 2025-03-11 08:51:56 +00:00
Connor Peet 81775e7ade mcp: make discovery good
- There's an mcpDiscoveryRegistry that allows components to register in
  how they discover MCP servers.
- Config discovery is one of these. Figured out all the bits for a
  standalone file config shebang. Duplication there that could be
  cleaned up but it works.
- The others are remote and local filesystem discovery. I ended up
  making another message channel for the main process/remote server to
  get a couple environment variables we need since I didn't see anything
  generic for this already(?)

![](https://memes.peet.io/img/25-03-29927218-daa9-4206-8cef-29992850d9ba.mp4)
2025-03-10 23:06:29 -07:00
Josh Spicer 56440fa442 @vscode/policy-watcher 1.2.0 (#243132)
* mac policy support (code changes)

* adopt @vscode/policy-watcher 1.2.0
2025-03-11 02:51:51 +01:00
Raymond Zhao 20dccd9313 Remove redundant permission (#243098) 2025-03-10 18:45:11 +01:00
Raymond Zhao 7d57de4438 Merge pull request #214572 from SimonSiefke/feature/font-picker
feature: support font family picker in settings
2025-03-10 10:21:29 -07:00
Benjamin Pasero df54f43ef6 title - custom window controls setting (#242986) 2025-03-10 10:57:51 +01:00
Raymond Zhao 5d042962b3 Merge branch 'main' into feature/font-picker 2025-03-05 15:24:12 -08:00
Benjamin Pasero cdca876177 linux - cleanup from custom title experiment (#241379) 2025-02-21 09:48:25 +01:00
Robo f94b27000c chore: update to Electron 34 (#237557)
* chore: update electron@33.3.0

* chore: update for webFrameMain possibly being null

Refs https://github.com/electron/electron/commit/ae9f2df082ceac3b100d2bb3cccb5608c9cd81a9

* chore: update debian deps

* chore: update rpm deps

* chore: bump electron@34.0.0-beta.12

* temp: use std::format for spdlog

* chore: update debian deps

* chore: update rpm deps

* chore: bump electron@34.0.0

* chore: bump electron@34.0.1

* chore: bump electron@34.1.0

* chore: update required portal version

* chore: use enableDeprecatedPaste

* chore: update builds

* chore: bump distro
2025-02-12 10:36:35 +01:00
Sandeep Somavarapu 922615def6 checking .vsix file extension should be case insensitive (#239804) 2025-02-06 15:26:10 +01:00
Sandeep Somavarapu 28918e310d Add command to show telemetry output and some clean up (#239697)
fix #238725
2025-02-05 18:25:50 -07:00
Benjamin Pasero baf5cf7c70 splash - include more parts with override support (#238691) 2025-01-24 20:58:38 +01:00
Jake Bailey 75db9eb509 Remove paths from tsconfig.base.json 2025-01-22 08:37:06 -08:00
Sandeep Somavarapu 61760c4641 delete unwanted telemetry events (#238130)
* delete unwanted telemetry events

* fix compilation
2025-01-20 11:57:08 +01:00