Connor Peet
75d61a59ae
Update CLI agent commands for AHP 0.4 ( #322173 )
...
AHP 0.4 moves turns/active_turn off SessionState onto per-chat ChatState
(SessionState now carries a `chats` catalog), and SessionStatus is now a
newtype bitset instead of a repr enum.
- agent_ps: use SessionStatus::bits()/from_bits().contains() instead of
`as u32` casts
- agent_stop: resolve in-progress chats from the session catalog, subscribe
to each chat to find its active turn, and dispatch the renamed
StateAction::ChatTurnCancelled to the chat URI
- agent_logs: print the session's chats catalog instead of the removed
turns/active_turn
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-20 01:30:32 +02:00
Connor Peet
608255bcd0
cli: bump ahp and ahp-types to 0.3.0 ( #320322 )
2026-06-08 13:22:02 +09:00
Connor Peet
d2f6870a95
cli: drop ahp-ws dependency in favor of direct tungstenite ( #319451 )
...
* 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)
2026-06-01 21:30:05 +00:00
dependabot[bot]
e281de6a2e
build(deps): bump tar from 0.4.45 to 0.4.46 in /cli ( #319053 )
...
Bumps [tar](https://github.com/composefs/tar-rs ) from 0.4.45 to 0.4.46.
- [Release notes](https://github.com/composefs/tar-rs/releases )
- [Commits](https://github.com/composefs/tar-rs/compare/0.4.45...0.4.46 )
---
updated-dependencies:
- dependency-name: tar
dependency-version: 0.4.46
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-29 21:02:00 +00:00
dependabot[bot]
e82ad7b1ca
Bump openssl from 0.10.79 to 0.10.80 in /cli ( #317394 )
...
Bumps [openssl](https://github.com/rust-openssl/rust-openssl ) from 0.10.79 to 0.10.80.
- [Release notes](https://github.com/rust-openssl/rust-openssl/releases )
- [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.79...openssl-v0.10.80 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.80
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-19 22:54:26 +00:00
Copilot
5089fb0bb7
chore: bump rand in cli to 0.8.6 ( #316462 )
...
chore: bump rand in cli from 0.10 to 0.8.6 and fix API usage
Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/dadd6751-1668-4f1a-931b-dfa34f0fc227
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com >
2026-05-15 13:12:20 -07:00
dependabot[bot]
f289f9ac1b
Bump openssl from 0.10.78 to 0.10.79 in /cli ( #314591 )
...
Bumps [openssl](https://github.com/rust-openssl/rust-openssl ) from 0.10.78 to 0.10.79.
- [Release notes](https://github.com/rust-openssl/rust-openssl/releases )
- [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.78...openssl-v0.10.79 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.79
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-06 07:57:18 -07:00
Connor Peet
487b69ff5c
cli: move back to microsoft/dev-tunnels
...
Had a temporary fork to support the in-progress relay client connections
2026-05-04 12:22:46 -07:00
Connor Peet
ed85ff7a6c
comments and more deps
2026-04-28 08:56:30 -07:00
Connor Peet
3317944fde
Merge remote-tracking branch 'origin/main' into connor4312/cli-ahp-management
2026-04-28 08:35:16 -07:00
Connor Peet
2c36ddb55e
cli: implement client AHP control functionality
2026-04-28 08:10:51 -07:00
Connor Peet
06db90587c
cli: clean up and update dependencies
2026-04-26 19:53:35 -07:00
dependabot[bot]
8f547df8f6
Bump openssl from 0.10.75 to 0.10.78 in /cli ( #312161 )
...
Bumps [openssl](https://github.com/rust-openssl/rust-openssl ) from 0.10.75 to 0.10.78.
- [Release notes](https://github.com/rust-openssl/rust-openssl/releases )
- [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.75...openssl-v0.10.78 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.78
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com >
2026-04-24 21:48:09 +00:00
dependabot[bot]
7d224d9546
build(deps): bump rand from 0.8.5 to 0.9.3 in /cli ( #309689 )
...
* build(deps): bump rand from 0.8.5 to 0.9.3 in /cli
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.5 to 0.9.3.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.3 )
---
updated-dependencies:
- dependency-name: rand
dependency-version: 0.9.3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix clippy lint warnings after rand 0.8.5 → 0.9.3 upgrade
Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/8e6151a9-d6c4-42c0-9e9e-e8e384b8ce48
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com >
2026-04-17 10:31:19 -07:00
dependabot[bot]
6ee1160198
Bump tar from 0.4.44 to 0.4.45 in /cli ( #303573 )
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.44 to 0.4.45.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.44...0.4.45 )
---
updated-dependencies:
- dependency-name: tar
dependency-version: 0.4.45
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-20 13:28:16 -07:00
Robo
1bb7b74f67
chore: update cli dependency ( #297618 )
2026-02-25 07:44:49 +00:00
Raymond Zhao
965d950c25
chore: run cargo update ( #295062 )
2026-02-13 10:58:40 -08:00
dependabot[bot]
c959e6409e
Bump bytes from 1.6.0 to 1.11.1 in /cli ( #292663 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.6.0 to 1.11.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: bytes
dependency-version: 1.11.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-06 10:27:20 -08:00
dependabot[bot]
87bb001971
Bump crossbeam-channel from 0.5.13 to 0.5.15 in /cli ( #246213 )
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.13 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.13...crossbeam-channel-0.5.15 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 10:42:53 +02:00
dependabot[bot]
74e9aabf76
Bump tokio from 1.37.0 to 1.38.2 in /cli ( #245924 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.37.0 to 1.38.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.38.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 10:42:21 +02:00
dependabot[bot]
6c707c80c8
Bump openssl from 0.10.70 to 0.10.72 in /cli
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.70 to 0.10.72.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.70...openssl-v0.10.72 )
---
updated-dependencies:
- dependency-name: openssl
dependency-version: 0.10.72
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-04 20:52:20 +00:00
dependabot[bot]
d04d44610f
Bump openssl from 0.10.66 to 0.10.70 in /cli ( #239517 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.66 to 0.10.70.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.66...openssl-v0.10.70 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 08:05:29 -08:00
Connor Peet
e2e9a7306b
cli: update url to 2.5.4 for dependabot ( #237417 )
2025-01-07 18:37:48 +01:00
dependabot[bot]
f0e1640e0a
Bump openssl from 0.10.64 to 0.10.66 in /cli ( #223104 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 10:49:42 -07:00
Connor Peet
eb99b85bdf
chore: update CLI dependences, add env var options for login
2024-05-20 08:33:23 -07:00
Connor Peet
21e0716833
cli: update proc macro and clippy ( #210414 )
2024-04-15 20:27:34 +02:00
dependabot[bot]
a9174e5ac9
Bump h2 from 0.3.24 to 0.3.26 in /cli ( #209660 )
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 00:48:00 +02:00
Connor Peet
6813d7ccbc
chore: update to rust 1.77 ( #209563 )
...
* chore: update to rust 1.77
* fix tests
2024-04-04 20:34:01 +02:00
dependabot[bot]
968f1b2c40
Bump mio from 0.8.4 to 0.8.11 in /cli ( #206845 )
...
---
updated-dependencies:
- dependency-name: mio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:10:24 -07:00
Connor Peet
5bdc31357d
cli: update dev tunnel sdk ( #207018 )
2024-03-06 16:10:10 -08:00
Connor Peet
2ff1b39452
cli: update dev tunnels ( #203997 )
...
Fixes #201417
2024-02-01 10:07:46 -08:00
Connor Peet
d7cfba7af7
cli: update dev tunnel sdk ( #203763 )
2024-01-30 03:01:21 +01:00
dependabot[bot]
442419c7a2
Bump h2 from 0.3.17 to 0.3.24 in /cli ( #202867 )
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.17 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.17...v0.3.24 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-20 11:06:39 -08:00
dependabot[bot]
0c021d3625
Bump openssl from 0.10.55 to 0.10.60 in /cli ( #199456 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.55 to 0.10.60.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.55...openssl-v0.10.60 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 09:18:33 -05:00
dependabot[bot]
a632e19c59
Bump rustix from 0.37.19 to 0.37.25 in /cli ( #195931 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.37.19 to 0.37.25.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.19...v0.37.25 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 10:02:18 -07:00
Connor Peet
e0502b5442
cli: update dev tunnels ( #195183 )
2023-10-09 12:44:12 -07:00
Connor Peet
db135a575a
cli: fix decompression loop stalling ( #191512 )
...
Fixes #191501
It turns out this was a difference in inflate/deflate implementations
between the extension/SDK and the CLI. The SDK uses Node's zlib bindings,
while by default Rust's flate2 library uses a rust port of [miniz][1].
The 'logic' in the CLI was good, but miniz does not appear to flush
decompressed data as nicely on SYNC'd boundaries as zlib does, which
caused data to 'stall'. Telling the flate2 crate to use the native
bindings fixed this.
This could also be the cause of the flakiness occasionally seen on idle
tunnel connections!
[1]: https://github.com/richgel999/miniz
2023-08-28 21:51:04 +02:00
Connor Peet
ac0d0a89c8
cli: adopt latest devtunnels for ipv6 forwarding support ( #191236 )
2023-08-24 19:53:05 +02:00
Connor Peet
1fe8359ed0
cli: implement 'server of server' for a local web server ( #191014 )
...
Closes https://github.com/microsoft/vscode/issues/168492
This implements @aeschli's 'server server' concept in a new
`code serve-web` command.
Command line args are similar to the standalone web server. The first
time a user hits that page, the latest version of the VS Code web server
will be downloaded and run. Thanks to Martin's previous PRs, all
resources the page requests are prefixed with `/<quality-<commit>`.
The latest release version is cached, but when the page is loaded again
and there's a new release, a the new server version will be downloaded
and started up.
Behind the scenes the servers all listen on named pipes/sockets and the
CLI acts as a proxy server to those sockets. Servers without connections
for an hour will be shut down automatically.
2023-08-22 17:29:51 -07:00
Connor Peet
2e9459b34c
cli: add more details to the status command ( #190212 )
...
For azml's integration
Closes https://github.com/microsoft/vscode-remote-tunnels/issues/669
2023-08-10 20:13:14 -07:00
Connor Peet
0d22bb7efa
cli: update dependencies for s360 ( #189562 )
...
* cli: update dependencies for s360
* update rust
2023-08-03 18:05:46 +01:00
Zuo Zongyuan
b0620485c2
Fix: Remote tunnel service running on VM with XGETBV disabled exit with SIGILL when being connected ( #187345 )
...
fix: update cpufeatures from v0.2.5 to v0.2.8 (#187343 )
2023-07-10 14:58:32 +00:00
Raymond Zhao
300617543f
chore: bump semver and openssl ( #186949 )
2023-07-03 19:48:04 -07:00
Connor Peet
382cdece5c
cli: bump enumflags2 for dependabot ( #185181 )
2023-06-15 08:29:27 +02:00
Connor Peet
75c2f321b2
cli: update dependencies ( #184189 )
...
Up all the dependencies! Notably:
- russh to the latest main now that tunnel changes are merged
- secret-service-rs to 3.x and dropping our custom fork
- which also fixes SDL pings
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/4328
Fixes https://github.com/microsoft/vscode-internalbacklog/issues/4077
2023-06-02 10:27:47 -07:00
Connor Peet
679bb967c3
cli: add stdio control server
...
* signing: implement signing service on the web
* wip
* cli: implement stdio service
This is used to implement the exec server for WSL. Guarded behind a signed handshake.
* update distro
* rm debug
* address pr comments
2023-05-19 17:19:52 +02:00
Connor Peet
34f65dc1d7
cli: update hyper for cg ( #180135 )
2023-04-17 10:19:53 -07:00
dependabot[bot]
1e774371f2
Bump h2 from 0.3.14 to 0.3.17 in /cli ( #179890 )
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.14 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.14...v0.3.17 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 21:11:48 -07:00
Connor Peet
2d8ff25c85
cli: add streams to rpc, generic 'spawn' command ( #179732 )
...
* cli: apply improvements from integrated wsl branch
* cli: add streams to rpc, generic 'spawn' command
For the "exec server" concept, fyi @aeschli.
* update clippy and apply fixes
* fix unused imports :(
2023-04-12 16:51:29 +01:00
dependabot[bot]
29d93918d2
Bump openssl from 0.10.42 to 0.10.48 in /cli ( #178296 )
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.42 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.42...openssl-v0.10.48 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 08:20:29 -07:00