From 2552d101afe46b8622a7695f38f6cd1766dd1afc Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 27 Sep 2026 20:57:00 +0300 Subject: feat: let agents report their own resume command (#4687) * feat: let agents report their own resume command * fix: keep reported resume commands tied to accepted sessions and current owners --- docs/next/api/herdr-api.schema.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/next/api') diff --git a/docs/next/api/herdr-api.schema.json b/docs/next/api/herdr-api.schema.json index 3151bff3..e2553f75 100644 --- a/docs/next/api/herdr-api.schema.json +++ b/docs/next/api/herdr-api.schema.json @@ -2909,6 +2909,16 @@ "pane_id": { "type": "string" }, + "resume_argv": { + "description": "Command that resumes this agent's session after a Herdr restart. The\nfirst element must be a plain command name.", + "items": { + "type": "string" + }, + "type": [ + "array", + "null" + ] + }, "seq": { "format": "uint64", "minimum": 0, @@ -2952,6 +2962,16 @@ "pane_id": { "type": "string" }, + "resume_argv": { + "description": "Command that resumes this agent's session after a Herdr restart. The\nfirst element must be a plain command name.", + "items": { + "type": "string" + }, + "type": [ + "array", + "null" + ] + }, "seq": { "format": "uint64", "minimum": 0, -- cgit v1.2.3