diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-16 22:12:44 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-16 22:17:09 +0300 |
| commit | 0b831c86274486af9f9f7052c2534374b498bb3a (patch) | |
| tree | 3e8130be85cb387c8c3e57591617c4c7be0a26ec /src/events.rs | |
| parent | 318e6a3033b61082d9c330c79ef584cf37e6c6d0 (diff) | |
feat: allow hook-reported custom agent labels
Diffstat (limited to 'src/events.rs')
| -rw-r--r-- | src/events.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/events.rs b/src/events.rs index 52efef61..dd433d55 100644 --- a/src/events.rs +++ b/src/events.rs @@ -21,7 +21,7 @@ pub enum AppEvent { HookStateReported { pane_id: PaneId, source: String, - agent: Agent, + agent_label: String, state: AgentState, message: Option<String>, }, @@ -34,7 +34,8 @@ pub enum AppEvent { HookAgentReleased { pane_id: PaneId, source: String, - agent: Agent, + agent_label: String, + known_agent: Option<Agent>, }, /// A new version was downloaded and installed. Restart to use it. UpdateReady { version: String }, |
