Files
vscode/build/next/devTunnelsShims/process.js
T
Connor PeetandCopilot 00e3c8998e sessions: connect to agent hosts through browser tunnels
Move Dev Tunnels discovery and relay connections into the browser Agents window.

- Builds a lazy browser-only Dev Tunnels ES module beside the sessions code.
- Shares tunnel connection, gateway selection, and WebSocket-over-stream logic.
- Restores the editor-versus-dedicated host choice and saves the preference.
- Keeps desktop tunnel connections on the shared connector implementation.
- Adds focused tests for tunnel selection, framing, cleanup, and browser discovery.

(Commit message generated by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-18 21:14:46 -07:00

15 lines
564 B
JavaScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/**
* Minimal browser process shim for the Dev Tunnels dependency graph.
*/
export const process = {
env: Object.create(null),
nextTick(callback, ...args) {
queueMicrotask(() => callback(...args));
},
};