Commit Graph

40 Commits

Author SHA1 Message Date
Robo
1fefbeea3c fix: insiders cli launch from wsl terminal (#279444)
* fix: insiders cli launch from wsl terminal

* chore: also update server cli

* chore: address review feedback
2025-11-26 16:29:52 +01:00
Benjamin Pasero
fd49ad959b debt - reduce use of any type (#273692) 2025-10-28 06:35:39 +00:00
Benjamin Pasero
d2edee2476 Revert "Allow dialogs in automation" (#262444)
Revert "Allow dialogs in automation (#262417)"

This reverts commit 53c9922948.
2025-08-20 06:24:03 +00:00
Tyler James Leonhardt
53c9922948 Allow dialogs in automation (#262417)
So that mcp can use dialogs and let the user answer the dialogs. This is critical for auth.

This also switches to using the custom dialog in electron so that the driver can interact with it.
2025-08-19 18:56:19 -07:00
Benjamin Pasero
2ba0803abf multi root - allow --remove for removal of workspace folders (fix #204770) (#236580) 2024-12-19 13:02:00 +01:00
Martin Aeschlimann
b7f7aeaf81 std-in files (/tmp/code-stdin-*) are not removed on remote and should have user only access rights (#236251) 2024-12-16 18:33:46 +01:00
Sandeep Somavarapu
4920694ece fix #234843 (#235955)
* fix #234843

* fix lint error
2024-12-12 16:48:37 +01:00
Martin Aeschlimann
f43f3cc8f9 server.cli.ts does not await Promises (#235738) 2024-12-10 17:26:34 +01:00
Connor Peet
450a3b337f remote: broaden URI identification on openExternal (#234380)
I want to protocol-activate copilot in a remote workspace using
openExternal, but I observed the URI was being treated as a path and
malformed. This change broadens the URI identification logic to accept
anything that looks like a protocol. I think this is okay since we
were already excluding file URIs from the rebase, so this really just
impacts any other estoeric URIs in addition to the protocol `urlProtocol`.

fyi @alexdima
2024-11-21 20:08:49 +01:00
Benjamin Pasero
1330eb7389 WSL terminal CLI is broken (#230584) (#232441) 2024-10-28 12:43:28 -07:00
Daniel Imms
2029af475a Merge pull request #232411 from microsoft/tyriar/230584
Fix __dirname access in server.cli.ts
2024-10-28 11:12:45 -07:00
Daniel Imms
7e688863a8 Move fish SI script out of xdg named dir
Fixes #232408
2024-10-28 06:57:42 -07:00
Daniel Imms
db6dfc6e4c Fix __dirname access in server.cli.ts
Fixes #230584
2024-10-28 05:47:43 -07:00
Benjamin Pasero
cb481e46ad debt - reduce one import (#231462) 2024-10-16 00:44:25 -07:00
Benjamin Pasero
68817ed0df 💄 __dirname usage (#231427) 2024-10-15 20:44:01 +02:00
James Harris
510419cd01 Fix missing __dirname in --locate-shell-integration-path 2024-10-15 11:40:18 -05:00
Benjamin Pasero
a5f52063e4 debt - reduce any in internal API signatures (#228912) 2024-09-18 10:14:01 +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
Benjamin Pasero
16654e6126 esm - reduce diff to branch (#221154) 2024-07-09 08:08:56 +02:00
Benjamin Pasero
b9226f2929 In WSL --wait is still enforced for stdin (fix #209925) (#210016) 2024-04-10 11:18:35 +02:00
Robo
fb76955440 chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
samhanic
74c419b5bd add cli update-extensions prototype 2023-12-03 14:25:40 +01:00
Martin Aeschlimann
1b5c0af328 Use pipe for WSL2 (#194010) 2023-09-25 23:36:05 +02:00
Martin Aeschlimann
9392904ae4 support diff with reading from stdin (#192149)
support diff with reading from stdin. https://github.com/microsoft/vscode-remote-release/issues/8876
2023-09-04 17:12:32 +02:00
Flo
b2c2ba8691 Restore ShellIntegration for fish (#184659)
Resolves #184659
2023-06-09 15:18:17 +00:00
Martin Aeschlimann
17c7a08962 Add cli & command to run the code server on the desktop (#163546)
Add cli & command to run the code server on the desktop
2022-10-13 15:02:42 +02:00
Benjamin Pasero
099445be72 debt - avoid statSync when computing workspace identifier 2022-09-11 10:04:33 +02:00
Daniel Imms
394bc80513 Fix remote fish shell integration path
Fixes #159890
2022-09-02 05:27:30 -07:00
Z. Grace Moreau
95ef9dd07e add --locate-shell-integration-path CLI support 2022-08-05 11:06:36 -06:00
Benjamin Pasero
f8ae10c8d0 Piping into Code fails if data writes delayed (fix #155341) (#156973) 2022-08-03 09:41:12 +02:00
Daniel Imms
ac4d678fb9 Support --locate-shell-integration-path in server CLI (#155870)
* Fix shell-integration remote cli

* Don't silently fail based on TERM_PROGRAM

We want this to work even in terminals where TERM_PROGRAM may not exist, such
as in a regular ssh session. The manual install recommends using an if before
sourcing anyway.

* Handle shell integration option on server cli

* Move shell integration option handling higher
2022-07-25 08:39:27 -07:00
Daniel Imms
ee636283a9 shell-integration -> locate-shell-integration-path
Part of #153921
2022-07-19 06:18:59 -07:00
Daniel Imms
053da9df55 Add shell-integration to isSupportedForCmd
Fixes #153921
2022-07-18 10:10:00 -07:00
Benjamin Pasero
a567b593d5 introduce --merge to bring up merge editor (for #5770) (#155039)
* introduce `--merge` to bring up merge editor (for #5770)

* wait on proper editor when merging

* sqlite slowness

* disable flush on write in tests unless disk tests

* more runWithFakedTimers

* disable flush also in pfs

* introduce `IResourceMergeEditorInput`

* cleanup

* align with merge editor names

* stronger check

* adopt `ResourceSet`

* no need to coalesce

* improve `matches` method
2022-07-18 12:44:07 -04:00
Johannes
0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Martin Aeschlimann
80d30e41d7 Warn when using an empty argument. Fixes #150714 (#150715) 2022-05-30 16:38:30 +02:00
Benjamin Pasero
18377e6ee2 smoke - allow to enable verbose vscode logs and enable for now 2022-04-06 10:41:22 +02:00
Johannes Rieken
4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Martin Aeschlimann
5abc4e0071 remote cli: improve error handling over the pipe 2022-02-02 14:22:01 +01:00
Alex Dima
9908a5dd4e Rename remoteCli to server.cli 2022-01-24 14:16:07 +01:00