aboutsummaryrefslogtreecommitdiff
path: root/src/handoff_runtime.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-17 23:55:08 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-17 23:59:56 +0300
commite0758c32118f2aa006db3d8fa4b41833fe6e7ead (patch)
tree2b29dd61ebf870db8d0ac95cc0b4515178c834c4 /src/handoff_runtime.rs
parent040956531f673c8fb7720037494ed4e61b123c6c (diff)
feat: harden named agent cli workflows
refs #1525
Diffstat (limited to 'src/handoff_runtime.rs')
-rw-r--r--src/handoff_runtime.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/handoff_runtime.rs b/src/handoff_runtime.rs
index e5121a88..29ba85f4 100644
--- a/src/handoff_runtime.rs
+++ b/src/handoff_runtime.rs
@@ -1,6 +1,13 @@
#[cfg(unix)]
use serde::{Deserialize, Serialize};
+/// Long-lived pane runtime transferred during server replacement.
+///
+/// Handoff preserves server-owned session state such as PTYs, processes, agent
+/// identity, and durable plugin/session metadata. It intentionally does not
+/// preserve transient coordination such as in-flight requests, waits,
+/// subscriptions, client sockets, or pane-to-pane messages; clients reconnect
+/// and retry those operations after replacement.
#[cfg(unix)]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub(crate) struct HandoffRuntimeState {