From 3750e0bae21c54da3947d337584f180a21d0bc67 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 26 May 2026 17:10:28 +0300 Subject: feat: add pane metadata reporting refs #36 --- src/events.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/events.rs') diff --git a/src/events.rs b/src/events.rs index 49c22ec9..4bbfb219 100644 --- a/src/events.rs +++ b/src/events.rs @@ -49,6 +49,23 @@ pub enum AppEvent { seq: Option, session_ref: Option, }, + /// Display-only agent metadata was reported for a pane. + HookMetadataReported { + pane_id: PaneId, + source: String, + agent_label: Option, + applies_to_source: Option, + title: Option, + display_agent: Option, + custom_status: Option, + state_labels: std::collections::HashMap, + clear_title: bool, + clear_display_agent: bool, + clear_custom_status: bool, + clear_state_labels: bool, + seq: Option, + ttl: Option, + }, /// Hook authority was explicitly cleared for a pane. HookAuthorityCleared { pane_id: PaneId, -- cgit v1.2.3