Files
vscode/src/vs/code/node
696460bc4c Run Agents App in transient mode when VS Code is launched with --transient (#312693)
* Run Agents App in transient mode when VS Code is launched with --transient

When VS Code is launched with --transient, the Agents App now also runs
in transient mode with its own dedicated temporary user data and
extensions directories created under the same temp parent folder.

- Add `--agents-user-data-dir` and `--agents-extensions-dir` CLI args
- In --transient handling, create `agents-data/` and `agents-extensions/`
  subdirs alongside existing temp dirs and pass them via the new args
- In `launchSiblingApp`, forward transient agents dirs as
  `--user-data-dir` and `--extensions-dir` to the sibling Agents process

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

* Also forward --shared-data-dir and --agent-plugins-dir to sibling Agents app

To ensure the sibling Agents process is fully isolated in transient mode,
forward shared-data-dir and agent-plugins-dir in addition to user-data-dir
and extensions-dir.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-27 12:31:00 +02:00
..