Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: the agent's status message shows how long ago it was set

The card and its detail showed the message alone, so a message from an hour
ago read like the current one. Both now add the age, (5m ago), which ticks
like the other relative times. An agent with no message still shows a dash.
This commit is contained in:
iris 2026-11-10 18:51:45 +01:00 • committed by mara
commit 0547081138

View file

@ -21,6 +21,7 @@ import { useDynamicTabs } from "../../shell/useDynamicTabs.js";
import { AgentIcon } from "../AgentIcon.js";
import { ClaudeLoginDialog } from "../claude-login/ClaudeLoginDialog.js";
import { AgentDetail } from "../detail/AgentDetail.js";
import { StatusMessage } from "../detail/StatusMessage.js";
import { termPaths } from "../terminal/term-paths.js";
import {
hivePauseReason,
@ -126,7 +127,7 @@ export function AgentCard({
) : null}
</span>
}
message={row.snapshot?.status_text ?? "—"}
message={<StatusMessage snapshot={row.snapshot} />}
chevron={<span class="ui-agent-card-chevron" aria-hidden="true" />}
/>
{open ? (