summaryrefslogtreecommitdiff
path: root/src/api/client.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-25 15:36:50 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-25 15:36:50 +0300
commitd4a5e02e8433db156b9dabe2b81ddd1d2aca9ea6 (patch)
treef94ebdfc2bf1e54b3d110052269c67b6ba5f6fb8 /src/api/client.rs
parenta1543f3e248f8f5266322014ccd853e478b1dcd6 (diff)
feat: hand off ptys during updates
Diffstat (limited to 'src/api/client.rs')
-rw-r--r--src/api/client.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/api/client.rs b/src/api/client.rs
index 7929f937..7d966965 100644
--- a/src/api/client.rs
+++ b/src/api/client.rs
@@ -111,9 +111,14 @@ impl ApiClient {
method: Method::Ping(PingParams::default()),
})?;
match response.result {
- ResponseResult::Pong { version, protocol } => Ok(crate::api::RuntimeStatus {
+ ResponseResult::Pong {
+ version,
+ protocol,
+ capabilities,
+ } => Ok(crate::api::RuntimeStatus {
version: Some(version),
protocol: Some(protocol),
+ capabilities,
}),
result => Err(ApiClientError::UnexpectedResult(format!("{result:?}"))),
}