From 72770305d388fd5ec247493e05a89b686c6d0026 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 16 May 2026 02:26:14 +0300 Subject: feat: add hook-owned custom agent status labels --- src/ui/mobile.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui/mobile.rs') diff --git a/src/ui/mobile.rs b/src/ui/mobile.rs index 9a09f3e0..9e8c57e9 100644 --- a/src/ui/mobile.rs +++ b/src/ui/mobile.rs @@ -599,6 +599,9 @@ fn mobile_agent_detail(entry: &AgentPanelEntry) -> String { if let Some(agent_label) = entry.agent_label.as_deref() { parts.push(agent_label.to_string()); } + if let Some(custom_status) = entry.custom_status.as_deref() { + parts.push(custom_status.to_string()); + } format!(" {}", parts.join(" ยท ")) } @@ -909,6 +912,7 @@ mod tests { agent_label: agent_label.map(str::to_string), state: AgentState::Idle, seen: true, + custom_status: None, } } -- cgit v1.2.3