Merge nucleic/zesty-pebble-raven-ergx into dev

This commit is contained in:
2026-07-27 19:42:49 -07:00
parent 5e9e3b3438
commit 1b022fd835
@@ -272,7 +272,7 @@ enum StatusStyle {
static func label(_ status: SessionStatus, disposition: TurnDisposition? = nil) -> String {
if status == .awaitingInput, disposition == .completed { return "Done" }
if status == .awaitingInput, disposition == .waitingBackground { return "Waiting…" }
if status == .awaitingInput, disposition == .waitingBackground { return "Monitoring…" }
return status.displayName
}
@@ -280,7 +280,7 @@ enum StatusStyle {
static func sortRank(_ summary: WireSessionSummary) -> Int {
switch summary.status {
case .awaitingApproval: return 0
// Both "Done" and "Waiting…" (parked on a background monitor) are calm — they sort below
// Both "Done" and "Monitoring…" (parked on a background monitor) are calm — they sort below
// running rather than up with the genuinely-needs-you turns.
case .awaitingInput:
return (summary.disposition == .completed || summary.disposition == .waitingBackground)