Commit Graph

242 Commits

Author SHA1 Message Date
Kyle Cutler
06c5122892 Bootstrap Playwright service (#295261)
* Bootstrap Playwright service

* feedback
2026-02-17 10:19:57 +11: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
Christof Marti
2fd6a33c04 Surface power API 2026-02-05 16:57:40 +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
Paul
d72d6a2424 Generate policy data as JSON (#272368) 2025-10-21 12:48:33 -07:00
Paul
6025703c6a Revert "Generate policy data as JSON" (#272362) 2025-10-20 16:12:10 -07:00
Paul
99c299e880 Generate policy data as JSON (#272018) 2025-10-20 14:38:48 -07:00
Sandeep Somavarapu
48aa70ff76 Introduce MCP gallery manifest service (#263238) 2025-08-25 14:27:21 +02:00
Justin Chen
df984eb56f make sure to resize images coming from tool calls (#257785)
* make sure to resize images coming from tool calls

* try/catch, resize in the right areas

* new image service

* some cleanup

* clean up service usage

* no more electron main service

* app.ts cleanup

* address comments

* wrap in try catch and revert

* proper revert
2025-07-28 18:00:38 +00:00
Sandeep Somavarapu
535bf22ea8 move user mcp management to shared process (#254086) 2025-07-04 10:36:50 +00:00
Benjamin Pasero
cdf404ff47 debt - restore old layer name (#250928) 2025-06-09 07:08:43 +00: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
Benjamin Pasero
708b6aa379 process - convert explorer to editor (#248120) 2025-05-06 17:21:02 +02:00
Sandeep Somavarapu
b1e3f43d26 remove unused code (#243897) 2025-03-18 20:06:53 +01: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
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
Sandeep Somavarapu
e380382614 support opening all outputs in editor (#237998) 2025-01-15 22:20:08 +01:00
Johannes Rieken
1a5b1f329a register command to open the active log with the macos native log viewer (#235963)
* register command to open the active log with the macos native log viewer

helps with https://github.com/microsoft/vscode-copilot/issues/11205

* make layer check happy
2024-12-13 10:15:08 +00:00
Benjamin Pasero
734112deb5 chat - setup and quotas tweaks (#235325) 2024-12-04 21:33:32 +01:00
Benjamin Pasero
da17c9e740 Remove chat welcome view for moved location (fix #232789) 2024-11-15 08:07:39 +01:00
Benjamin Pasero
4217d01d85 chat - move setup components into the respective contrib 2024-11-08 16:47:48 +01:00
Benjamin Pasero
52b944e89d chat - tweaks to chat setup (#233178) 2024-11-06 22:13:38 +01:00
SteVen Batten
e1de28e4ee move the default location of the chat view (#232098) 2024-10-24 03:26:21 -07:00
Benjamin Pasero
42b425bc8e Offer chat install experience for entitled users (#231287) 2024-10-20 17:29:33 +02:00
Benjamin Pasero
0e8897ee66 Support sending ad-hoc notification to Insiders (#227321) (#227355) 2024-09-02 16:48:58 +02:00
Benjamin Pasero
6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Justin Chen
4bbebd8af9 splits up process explorer and issue reporter services (#216766)
* split up process explorer and issue reporter services

* more cleanup

* fix comment

* remove comments
2024-06-20 18:56:01 -07:00
Justin Chen
d05d280364 web reporter refactor and issueFormService (#212951)
* web version working

* change to mainWindow

* PROPER MOVEMENT

* working for web as well

* move issueFormService to workbench/contrib/issue

* cleaning up{

* more cleanup, added setting

* styling

* use mainwindow to open and closee

* css fixes

* fix css again

* fix CSS and wonky applyCSS rules

* change gulpfile

* add and update system info

* address some of the comments

* move files! small changes

* move JS and non window specific back to electron sandbox

* fix on issueReporter.js

* fix build file

* fix gulp file too....

* move everything into contrib

* fix workbench import

* move everything else into contrib, fix import

* change name to web

* applying more feedback fixes :D

* fix command and remove unused import:

* add back issueTroubleshoot

* fix gulpile outputs

* fix out exclusion:
2024-05-24 11:36:46 -07:00
Sandeep Somavarapu
f944c75d54 Implement workspace extensions (#207465)
* #206783 Implement workspace extensions

* fix compliaion

* fix web - add scanner service

* Web: add extensionsProfileScannerService to workbench
2024-03-12 21:08:38 +01:00
Tyler James Leonhardt
29e000b1e5 Migrate user's password-store if they are gnome or gnome-keyring (#204553)
* Migrate user's `password-store` if they are `gnome` or `gnome-keyring`

True fix for https://github.com/microsoft/vscode/issues/204318

* add import
2024-02-07 03:06:06 +01:00
Johannes
f8e03eceb9 Merge branch 'main' into joh/bumpy-bonobo 2024-01-12 15:47:17 +01:00
Sandeep Somavarapu
4c92920ffe fix #116191 (#202249) 2024-01-11 15:40:10 +01:00
Johannes
2f40bba1a2 first version od quick voice that starts inline chat with what you said 2023-12-20 16:54:43 +01:00
Benjamin Pasero
3148688541 themes - add a setting to hardcode the native theme source (#200144)
* themes - add a setting to hardcode the native theme source

* disable in linux

* .

* .
2023-12-18 11:21:31 +01:00
Henning Dieterichs
090fd2c772 Implements first iteration of multi diff editors.
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2023-11-07 16:51:38 +01:00
Benjamin Pasero
45dda0e1da debt - remove old style voice transcriber (#195883) 2023-10-18 14:42:02 +02:00
Benjamin Pasero
91e59a296e aux window - better focus and reveal handling for editors (#194828)
* first cut focus handling

* 💄

* implement moveToTop

* cleanup
2023-10-05 09:51:10 +02:00
João Moreno
45358184ef Introduce trustedExtensionProtocolHandlers (#194304)
* remove url

* use trustedExtensionProtocolHandlers
2023-09-27 15:35:55 +01:00
Tyler James Leonhardt
5134662139 Remove CredentialsService & keytar (#192224)
* Remove CredentialsService & keytar

ref https://github.com/microsoft/vscode/issues/115215
fixes https://github.com/microsoft/vscode/issues/143395

* compile

* remove imports

* rip the bandaid
2023-09-05 17:47:30 -07:00
Benjamin Pasero
b96621b58c voice - implement direct MessagePort communcation between audio worklet and shared process 2023-08-17 11:47:14 +02:00
Benjamin Pasero
707bffbdae voice - scaffold a basic voice recorder service 2023-08-08 17:08:44 +02:00
Tyler James Leonhardt
8245737e93 Use setUsePlainTextEncryption properly and allow control of password-store via argv.json (#186207) 2023-06-26 14:23:30 -07:00
Tyler James Leonhardt
fb13a2838f Improve error messages to users where encryption fails/isn't available (#186037) 2023-06-25 14:31:58 -07:00
Tyler James Leonhardt
b07469d8e3 First move off of keytar (#185077)
* First move off of keytar

Since keytar is now deprecated, we need a solution going forward. That solution is the electron safeStorage API.

This PR:
* Uses the Electron safeStorage API for encryption
* Since we have encrypted strings we then store them in the StorageService (at the application & machine level)

This PR also refactors things quite a bit... a diagram of the change is going to be in the PR.

It gives embedders the ability to override the behavior of the secret storage similar to the existing Credential Provider embedder API... only with a better API surface since we no longer need to conform to keytar's shape.

More will come after this PR such as:
* Converting all CredentialService usages to SecretStorageService usages

After a while:

* Removing MainThreadKeytar
* Removing all the old code marked in this PR

* Use InMemoryStorageService

* use pausable emitter
2023-06-14 20:09:24 +02:00
Benjamin Pasero
8a652f9380 🚀 sandbox - enable by default and remove setting 🚀 (#181638)
* sandbox - enable by default and remove setting

* remove more

* set flags again

* fix lint

* more cleanup
2023-05-12 13:36:29 +02:00
Tyler James Leonhardt
b9e657dbf5 Organize Issue Services better (#180432)
The issue services were due for a clean up. They now have this shape:

* `platform/issue` has the `IssueMainService`, the service running on the Main process that Desktop takes advantage of
* `workbench/contrib/issue` has the contributions and the registered commands
* `workbench/services/issue` has the services that the renderer side can use to launch the issue reporter.

After this, I will work on getting out the raw IPC calls in the IssueMainService.
2023-04-20 11:45:16 -07:00
Sandeep Somavarapu
9c4d6d2957 support loading profile in web (#180331)
* support loading profile in web
- embedder api to pass profile and contents
- initialise the profile

* fix typo
2023-04-19 20:56:39 +02:00
Benjamin Pasero
6d5b85427d debt - remove unsupported max_old_space_size option (#180183) 2023-04-17 22:32:23 -07:00