Files
vscode/cli
Connor PeetandCopilot d1bf0ed77d cli: route agent tunnels through the full tunnel server (#340136)
* cli: route agent tunnels through the full tunnel server

- Make `agent --tunnel` and `agent host --tunnel` use the normal tunnel server so remote
  sessions also support editor access.
- Remove the agent-only tunnel mode, relay lifecycle, unused sidecar methods, and obsolete
  reuse fields.
- Reject local-only host options when starting a tunnel and document the aliases.
- Route both aliases before logger setup to prevent a duplicate global logger installation.
- Add argument, credential expiry, and subprocess startup regression tests.
- Update AHP dependencies to 1.0.0 and send the remaining token lifetime when it is known.

Fixes https://github.com/microsoft/vscode/issues/340096

(Commit message generated by Copilot)

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

* tests: use full tunnels in the remote agent smoke fixture

- Remove the retired agent-only flag from CLI discovery and fixture startup.
- Create and verify both editor control and agent host ports before and after startup.
- Update the smoke test documentation for the full tunnel server.

Validation:
- npm --prefix test/smoke run compile: passed.
- npm run eslint -- test/smoke/src/areas/agentsWindow/remoteDevContainerFixtures.ts: passed.
- The compiled fixture capability probe accepts the current CLI.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-06 20:59:44 +00:00
..