diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-21 15:22:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-21 15:22:46 +0300 |
| commit | 3602c757e07645383dc092f8540dcb72ba0ed49d (patch) | |
| tree | 4c4aae37a34a5bfe16ac45e710bbb9a8684915d2 /src/api/schema/server.rs | |
| parent | 5a649142233631f8407b4099da0e8e78dfef8574 (diff) | |
fix: refresh forwarded ssh agents after reconnect (#4443)
refs #1931
Diffstat (limited to 'src/api/schema/server.rs')
| -rw-r--r-- | src/api/schema/server.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/api/schema/server.rs b/src/api/schema/server.rs index b274bc95..1adb62f5 100644 --- a/src/api/schema/server.rs +++ b/src/api/schema/server.rs @@ -14,6 +14,12 @@ pub struct ServerLiveHandoffParams { } #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema)] +pub struct ServerSshAgentRegisterParams { + /// Absolute remote-host agent socket. Registration lasts until this API connection closes. + pub socket_path: String, +} + +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema)] pub struct ServerCapabilities { pub live_handoff: bool, #[serde(default)] @@ -27,4 +33,7 @@ pub struct ServerCapabilities { /// Whether this server supports endpoint health probes. #[serde(default)] pub health_check: bool, + /// Supports connection-scoped `server.ssh_agent.register` on the local JSON API. + #[serde(default)] + pub ssh_agent_registration: bool, } |
