mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-08 07:44:33 +01:00
d2f6870a95
* cli: drop ahp-ws dependency in favor of direct tungstenite - Removes the external ahp-ws crate so the CLI owns its WebSocket transport directly, avoiding a thin wrapper dependency and keeping the transport logic alongside the existing tunnel transport. - Updates the agent commands to the ahp 0.2 API (channel-based params, optional snapshots, and the two-argument dispatch signature) so the CLI compiles against the pinned crate versions again. (Commit message generated by Copilot) * cli: deduplicate WebSocket transport adapter - Replaces the separate WsTransport and TunnelWsTransport implementations with a single generic WsTransport over the stream type plus an optional keep-alive guard, so the direct and tunnel connections share one send/recv/close adapter and cannot drift apart. (Commit message generated by Copilot)