Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(agents): use muted idle status dots (#1154)

Call Whitee90e657ec19a
diff --git a/ui/src/lib/agentGraph.test.ts b/ui/src/lib/agentGraph.test.ts
index 10ad95ac3..6aef6bf62 100644
--- a/ui/src/lib/agentGraph.test.ts
+++ b/ui/src/lib/agentGraph.test.ts
@@ -100,6 +100,8 @@ describe('nodeDisplayTitle', () => {
describe('statusMeta / isBackground', () => {
it('maps status to tone + glyph', () => {
expect(statusMeta('active').glyph).toBe('dot');
+ expect(statusMeta('active').dotClass).toBe('bg-mint');
+ expect(statusMeta('idle')).toMatchObject({ tone: 'muted', dotClass: 'bg-muted', glyph: 'dot' });
expect(statusMeta('succeeded').glyph).toBe('check');
expect(statusMeta('failed').glyph).toBe('cross');
expect(statusMeta('failed').tone).toBe('destructive');
diff --git a/ui/src/lib/agentGraph.ts b/ui/src/lib/agentGraph.ts
index 94a62225d..d705b4d65 100644
--- a/ui/src/lib/agentGraph.ts
+++ b/ui/src/lib/agentGraph.ts
@@ -191,7 +191,7 @@ export type StatusMeta = {
const STATUS_META: Record<AgentGraphStatus, StatusMeta> = {
active: { tone: 'mint', dotClass: 'bg-mint', labelKey: 'agents.graph.status.active', dim: false, glyph: 'dot' },
queued: { tone: 'gold', dotClass: 'bg-gold', labelKey: 'agents.graph.status.queued', dim: false, glyph: 'dot' },
- idle: { tone: 'cyan', dotClass: 'bg-cyan', labelKey: 'agents.graph.status.idle', dim: false, glyph: 'dot' },
+ idle: { tone: 'muted', dotClass: 'bg-muted', labelKey: 'agents.graph.status.idle', dim: false, glyph: 'dot' },
orphan: { tone: 'gold', dotClass: 'bg-amber-500', labelKey: 'agents.graph.status.orphan', dim: false, glyph: 'dot' },
succeeded: { tone: 'muted', dotClass: 'bg-muted', labelKey: 'agents.graph.status.succeeded', dim: true, glyph: 'check' },
failed: { tone: 'destructive', dotClass: 'bg-destructive', labelKey: 'agents.graph.status.failed', dim: true, glyph: 'cross' },