aboutsummaryrefslogtreecommitdiff
path: root/src/handoff_runtime.rs
diff options
context:
space:
mode:
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 {