diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-26 05:10:56 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-26 05:10:56 +0000 |
| commit | b009880307298abea11efad92da2cd955afafe99 (patch) | |
| tree | abcbc11d9808f4fd2abea5f235b71d1e3bc33107 /web/style.css | |
| parent | 5410069ae36bc5df5d7cc950fce5d2c5a251618a (diff) | |
fix: expose drained state in agent status API; fix AgentEvent JSON casing
AgentStatusInfo was missing drained field so UI couldn't show drain lock.
AgentEvent had no JSON tags so ev.agent/event/timestamp were undefined in
the stats timeline. UI now shows "Drain locked" card state with undrain CTA.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/style.css')
| -rw-r--r-- | web/style.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/style.css b/web/style.css index 2bba8dc..1aa6627 100644 --- a/web/style.css +++ b/web/style.css @@ -1727,6 +1727,11 @@ dialog label select:focus { background: color-mix(in srgb, var(--state-failed) 8%, transparent); } +.stats-agent-card.agent-drained { + border-color: var(--state-cancelled); + background: color-mix(in srgb, var(--state-cancelled) 8%, transparent); +} + .stats-agent-name { font-weight: 600; font-size: 0.9rem; |
