diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-16 02:26:14 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-16 02:26:14 +0300 |
| commit | 72770305d388fd5ec247493e05a89b686c6d0026 (patch) | |
| tree | 44d95c9c69042ab07e27ace37853e190b6f00ba0 /src/app/actions.rs | |
| parent | 58c379f1f07adb4113e5f9ee673768b2e4b5be07 (diff) | |
feat: add hook-owned custom agent status labels
Diffstat (limited to 'src/app/actions.rs')
| -rw-r--r-- | src/app/actions.rs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/app/actions.rs b/src/app/actions.rs index 21e17bf0..870044a8 100644 --- a/src/app/actions.rs +++ b/src/app/actions.rs @@ -683,10 +683,18 @@ impl AppState { agent_label, state, message, + custom_status, seq, } => self .update_pane_state(pane_id, |pane| { - pane.set_hook_authority(source, agent_label, state, message, seq) + pane.set_hook_authority_with_custom_status( + source, + agent_label, + state, + message, + custom_status, + seq, + ) }) .into_iter() .collect(), @@ -1365,6 +1373,7 @@ mod tests { agent_label: "hermes".into(), state: AgentState::Blocked, message: None, + custom_status: None, seq: None, }); |
