story-kit: merge 143_story_remove_0_running_count_from_agents_panel_header

This commit is contained in:
Dave
2026-02-24 13:59:10 +00:00
parent 4f1c458772
commit 41d86d29d0
2 changed files with 57 additions and 10 deletions

View File

@@ -268,16 +268,22 @@ export function AgentPanel({ configVersion = 0 }: AgentPanelProps) {
}}
>
<div style={{ fontWeight: 600 }}>Agents</div>
<div
style={{
fontSize: "0.75em",
color: "#777",
fontFamily: "monospace",
}}
>
{Object.values(agents).filter((a) => a.status === "running").length}{" "}
running
</div>
{Object.values(agents).filter((a) => a.status === "running").length >
0 && (
<div
style={{
fontSize: "0.75em",
color: "#777",
fontFamily: "monospace",
}}
>
{
Object.values(agents).filter((a) => a.status === "running")
.length
}{" "}
running
</div>
)}
</div>
{lastRefresh && (
<div style={{ fontSize: "0.7em", color: "#555" }}>