fix(dashboard): drop residual terminated-state refs lost in merger autostash

Recovers cleanups from stash@{2}/stash@{3} (FN-3530 merger autostashes)
that the merger never restored: 4 dead `[data-state="terminated"]`
selectors in AgentListModal.css, 3 CSS-class assertions in
agent-css-classes.test.ts targeting classes the runtime no longer emits,
and a `state: "terminated"` fixture in routes-agents.test.ts now flipped
to `paused` so the "invalid state transitions" test exercises a real
rejection (paused→paused is not in AGENT_VALID_TRANSITIONS).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-05 23:56:04 -07:00
parent 89fd7a9bf1
commit 24017b8353
4 changed files with 9 additions and 11 deletions

View File

@@ -2034,7 +2034,7 @@ describe("Agent create/update routes", () => {
buildAgentApp(),
"POST",
`/api/agents/${agentId}/state`,
JSON.stringify({ state: "terminated" }),
JSON.stringify({ state: "paused" }),
{ "Content-Type": "application/json" },
);