From 3602c757e07645383dc092f8540dcb72ba0ed49d Mon Sep 17 00:00:00 2001 From: Can Celik Date: Mon, 21 Sep 2026 15:22:46 +0300 Subject: fix: refresh forwarded ssh agents after reconnect (#4443) refs #1931 --- docs/next/api/herdr-api.schema.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'docs/next/api/herdr-api.schema.json') diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json index ea888dc3..bd758e9e 100644 --- a/docs/next/api/herdr-api.schema.json +++ b/docs/next/api/herdr-api.schema.json @@ -3965,6 +3965,18 @@ }, "type": "object" }, + "ServerSshAgentRegisterParams": { + "properties": { + "socket_path": { + "description": "Absolute remote-host agent socket. Registration lasts until this API connection closes.", + "type": "string" + } + }, + "required": [ + "socket_path" + ], + "type": "object" + }, "SplitDirection": { "enum": [ "right", @@ -4817,6 +4829,22 @@ ], "type": "object" }, + { + "properties": { + "method": { + "const": "server.ssh_agent.register", + "type": "string" + }, + "params": { + "$ref": "#/schemas/request/$defs/ServerSshAgentRegisterParams" + } + }, + "required": [ + "method", + "params" + ], + "type": "object" + }, { "properties": { "method": { @@ -10638,6 +10666,11 @@ "live_handoff": { "type": "boolean" }, + "ssh_agent_registration": { + "default": false, + "description": "Supports connection-scoped `server.ssh_agent.register` on the local JSON API.", + "type": "boolean" + }, "surface_interest": { "default": false, "description": "Whether this server supports explicit client-shell surface interest.", -- cgit v1.2.3