aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema/common.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-31 16:21:53 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-31 16:22:04 +0300
commitbc1c052d1524749b3f24d91e83f120ca8b7f37c4 (patch)
treed012bd4288bec8033bd8e9ab4e2086e8f110178e /src/api/schema/common.rs
parent7db744ab4758df30f3e811ff9930646ec5f5970d (diff)
fix: read alternate-screen agent history
Diffstat (limited to 'src/api/schema/common.rs')
-rw-r--r--src/api/schema/common.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/api/schema/common.rs b/src/api/schema/common.rs
index e22fa1b3..7313002c 100644
--- a/src/api/schema/common.rs
+++ b/src/api/schema/common.rs
@@ -66,6 +66,13 @@ pub enum ReadSource {
Detection,
}
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
+pub(crate) enum ReadIntent {
+ #[default]
+ Interactive,
+ Passive,
+}
+
#[derive(
Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, schemars::JsonSchema, Default,
)]