aboutsummaryrefslogtreecommitdiff
path: root/src/detect/mod.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-22 18:31:37 +0300
committerGitHub <noreply@github.com>2026-09-22 18:31:37 +0300
commit90b0e40ab31bbdde8803f17d0140c6f4b436694a (patch)
tree057467a09b53dc23bbeb246c23804d8d32d44895 /src/detect/mod.rs
parentf6390752a57a5ac3256f3213af870c0b62e224d7 (diff)
fix: preserve hook agent status across live handoff (#4493)
Diffstat (limited to 'src/detect/mod.rs')
-rw-r--r--src/detect/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect/mod.rs b/src/detect/mod.rs
index 4ed32344..7fe15d11 100644
--- a/src/detect/mod.rs
+++ b/src/detect/mod.rs
@@ -7,7 +7,7 @@ pub mod manifest;
pub mod manifest_update;
/// The detected state of a terminal pane.
-#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
pub enum AgentState {
/// Agent finished, prompt visible, nothing happening.
Idle,