aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema/panes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema/panes.rs')
-rw-r--r--src/api/schema/panes.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/api/schema/panes.rs b/src/api/schema/panes.rs
index dfef31f8..9dbe0221 100644
--- a/src/api/schema/panes.rs
+++ b/src/api/schema/panes.rs
@@ -372,6 +372,10 @@ pub struct PaneReportAgentParams {
pub agent_session_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub agent_session_path: Option<String>,
+ /// Command that resumes this agent's session after a Herdr restart. The
+ /// first element must be a plain command name.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub resume_argv: Option<Vec<String>>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema)]
@@ -387,6 +391,10 @@ pub struct PaneReportAgentSessionParams {
pub agent_session_path: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub session_start_source: Option<String>,
+ /// Command that resumes this agent's session after a Herdr restart. The
+ /// first element must be a plain command name.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub resume_argv: Option<Vec<String>>,
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema)]