aboutsummaryrefslogtreecommitdiff
path: root/src/workspace
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-17 16:08:43 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-17 16:08:43 +0300
commit54490254f70469cd154ee630bc4bec84da178f0c (patch)
tree450bf0397398b28932f636d33e37f73c011dd19d /src/workspace
parentd998753efe506a04c80306795efc72bff60bb0ec (diff)
feat: sort agent panel by priority
refs #318
Diffstat (limited to 'src/workspace')
-rw-r--r--src/workspace/aggregate.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/workspace/aggregate.rs b/src/workspace/aggregate.rs
index d1fcf984..365decbf 100644
--- a/src/workspace/aggregate.rs
+++ b/src/workspace/aggregate.rs
@@ -17,6 +17,7 @@ pub struct PaneDetail {
pub agent: Option<Agent>,
pub state: AgentState,
pub seen: bool,
+ pub last_agent_state_change_seq: Option<u64>,
pub custom_status: Option<String>,
pub state_labels: HashMap<String, String>,
}
@@ -60,6 +61,7 @@ impl Tab {
agent: terminal.effective_known_agent(),
state: terminal.state,
seen: pane.seen,
+ last_agent_state_change_seq: terminal.last_agent_state_change_seq,
custom_status: presentation.custom_status,
state_labels: presentation.state_labels,
})