Commit Graph

793 Commits

Author SHA1 Message Date
Benjamin Pasero
b4e1496065 sessions - restore sessions window when all windows closed (#298793) 2026-03-02 12:47:24 -08:00
Dmitriy Vasyura
81b9086751 Defer initWindowsVersionInfo until after window open (#297241) 2026-02-24 13:18:59 +05:00
Benjamin Pasero
a609cbda94 sessions - support to open a session in a protocol link opened window (#296962) 2026-02-23 15:25:55 +01:00
Benjamin Pasero
4f18509dfb Revert "sessions - remove CLI support (not used)" (#296088)
* Revert "sessions - remove CLI support (not used) (#295801)"

This reverts commit ebeb2e6828.

* reduce change
2026-02-18 20:45:01 +00:00
Kyle Cutler
ebbe486b2e Browser: Managed CDP context groups (#295676)
* Browser: Managed CDP context groups

* layering

* feedback

* Fail fast

* two-way lookup

* feedback, cleanup
2026-02-17 21:48:15 -08:00
Benjamin Pasero
ebeb2e6828 sessions - remove CLI support (not used) (#295801)
* sessions - remove CLI support (not used)

* Update src/vs/code/electron-main/app.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-17 17:23:02 +00:00
Benjamin Pasero
b1009c98bb Sessions exploration (#294912) 2026-02-17 14:14:39 +00:00
Kyle Cutler
06c5122892 Bootstrap Playwright service (#295261)
* Bootstrap Playwright service

* feedback
2026-02-17 10:19:57 +11:00
Robo
1c7d85c39d chore: add telemetry for gpu fallback mode triggered by skia (#290476) 2026-02-12 21:31:12 +00:00
Dmitriy Vasyura
fa6cfe12c6 Metered network connections support (#288919)
Includes public API, user setting, status bar icon and a new service to support metered network connections.
Updates code in various areas performing automated actions using network to delay/pause network operations while network connection is being metered.
2026-02-06 14:52:14 -08:00
Connor Peet
6e029c339f mcp: initial data flow for MCP gateway
Adds base startGateway method and data flows. Currently the route is just a stub.
2026-02-05 12:26:47 -08:00
Benjamin Pasero
b6d6a3cc87 Move power monitor logging (fix #288875) (#289021) 2026-01-20 07:32:33 +01:00
Kyle Cutler
f85cf0ad0c Integrated Browser (#278677)
* [WIP] Integrated Browser

* clean

* refactor

* structure

* focus

* tooltips

* rename

* polish

* start unpinned

* More polish

* commands

* tweaks, new tab support

* clean

* shortcut fixes

* warnings

* Update src/vs/workbench/contrib/browserView/electron-browser/browserEditor.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Telemetry

* load errors

* PR feedback

* PR feedback

* Permissions, unloads, trust

* Storage controls

* Handle render process gone

* devtools

* Screenshot rect

* close

* Fix focused context

* Fix merge

* disposables

* 💄

* Multi-window improvements

* Fix reopen

* PR feedback

* Actions fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2026-01-08 09:25:34 -08:00
Benjamin Pasero
70a7ef1bc9 debt - start to reduce explicit any in my code (#269479) 2025-10-03 15:23:14 +00:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Benjamin Pasero
17b6af0ff4 telemetry - add logging for resolving IDs (#260269) (#262085) 2025-08-18 05:12:08 +00:00
Benjamin Pasero
b50ac5ac92 Explore to support desktop notifications when in agent mode (#251621) (#255643) 2025-07-14 11:45:53 +00: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
Benjamin Pasero
2984f68510 debt - avoid any for timeout/interval (#249348) 2025-05-20 20:08:25 +02:00
Benjamin Pasero
2a5bd4dfac process explorer - remove old standalone window solution (#248319) 2025-05-08 06:34:38 +00: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
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
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
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
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
Raymond Zhao
20dccd9313 Remove redundant permission (#243098) 2025-03-10 18:45:11 +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 ae9f2df082

* 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
Matt Bierner
dda50f51ae Merge branch 'main' into pointer-lock-in-webview 2025-01-13 10:00:55 -08:00
Benjamin Pasero
62aabbc27e Enable custom titlebar on Linux by default as experiment (fix microsoft/vscode-internalbacklog#4857) (#237490) 2025-01-08 07:06:32 -08:00
Benjamin Pasero
b7f437d2a1 Allow custom titlebar on Linux as experiment (microsoft/vscode-internalbacklog#4857) (#237337) 2025-01-06 15:37:07 +01:00
Simon Siefke
cef3c934a4 whitespace 2024-11-28 18:54:57 +01:00
Simon Siefke
33f54f7a55 undo change 2024-11-28 18:52:13 +01:00
Simon Siefke
82f65a4e45 fix merge 2024-11-28 18:49:02 +01:00
Simon Siefke
fdc5a008b1 Merge remote-tracking branch origin/main into feature/font-picker 2024-11-28 18:46:51 +01:00
Benjamin Pasero
4bfa2f866d Validating device ID slows down window opening (fix #234064) (#234065) 2024-11-18 09:17:14 +01:00
Daniel Imms
dfb1316350 Merge branch 'main' into tyriar/34103_241101 2024-11-04 06:14:10 -08:00
Benjamin Pasero
9834cf1422 perf - validate device ID after window open (#232823)
* perf - validate device ID after window open

* Add telemetry event

* Revert "Add telemetry event"

This reverts commit 27cfece321.

---------

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2024-11-01 19:03:36 +01:00
Daniel Imms
a845c87459 Add ligatures working under Electron
Part of #34103
2024-11-01 07:42:40 -07:00
Justin Chen
8f0188c73f removing old issue reporter flow (#232517)
* removing lot's of old issue reporter stuffs

* cleanup
2024-10-30 09:17:48 +01:00
Sandeep Somavarapu
a14300ec9f move signature verification to shared process (#232402) 2024-10-28 03:42:14 -07:00
Daniel Imms
8b7a797a5a Move to capturePage over display media for screenshot handling 2024-10-14 07:53:08 -07:00
Megan Rogge
6863a33f1a add screenshot capability, add screenshot to attachment context picker (#231131) 2024-10-11 14:39:13 -07:00
Simon Siefke
1eb801f8f8 Merge remote-tracking branch origin/main into feature/font-picker 2024-10-01 18:48:22 +02:00