diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-26 17:10:28 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-26 17:10:28 +0300 |
| commit | 3750e0bae21c54da3947d337584f180a21d0bc67 (patch) | |
| tree | 4542d8af76b4fee0c428ca5e9378a06946ef62ca /src/events.rs | |
| parent | 1b980eaa9d4cbc050b6b81525e4b6b72ae853be5 (diff) | |
feat: add pane metadata reporting
refs #36
Diffstat (limited to 'src/events.rs')
| -rw-r--r-- | src/events.rs | 17 |
1 files changed, 17 insertions, 0 deletions
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<u64>, session_ref: Option<crate::agent_resume::AgentSessionRef>, }, + /// Display-only agent metadata was reported for a pane. + HookMetadataReported { + pane_id: PaneId, + source: String, + agent_label: Option<String>, + applies_to_source: Option<String>, + title: Option<String>, + display_agent: Option<String>, + custom_status: Option<String>, + state_labels: std::collections::HashMap<String, String>, + clear_title: bool, + clear_display_agent: bool, + clear_custom_status: bool, + clear_state_labels: bool, + seq: Option<u64>, + ttl: Option<std::time::Duration>, + }, /// Hook authority was explicitly cleared for a pane. HookAuthorityCleared { pane_id: PaneId, |
