aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema/response.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-20 00:54:05 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-20 00:55:36 +0300
commitd30ab1b54f6b6be95a0cb47ddc38da1d5e088700 (patch)
treeeb2002b408c856d9fcd7a573afe73b917f22cd97 /src/api/schema/response.rs
parent3f80947678a9723434aa7fddfe23750b5393e24c (diff)
feat: add plugin-driven agent views and startup hooks
Diffstat (limited to 'src/api/schema/response.rs')
-rw-r--r--src/api/schema/response.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/api/schema/response.rs b/src/api/schema/response.rs
index e1f47efd..db8cfc7b 100644
--- a/src/api/schema/response.rs
+++ b/src/api/schema/response.rs
@@ -107,6 +107,13 @@ pub enum ResponseResult {
AgentList {
agents: Vec<AgentInfo>,
},
+ AgentView {
+ active: bool,
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ source: Option<String>,
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ label: Option<String>,
+ },
PaneInfo {
pane: PaneInfo,
},