From 0354a8357494f52ba861fd1320d2775696e99450 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 18:59:42 +0000 Subject: [PATCH 1/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles.css b/src/styles.css index 1caba00..d068c53 100644 --- a/src/styles.css +++ b/src/styles.css @@ -92,7 +92,11 @@ --destructive: oklch(0.58 0.24 27); /* #DC2626 red-600 — distinto do laranja */ --destructive-foreground: oklch(0.99 0 0); --success: oklch(0.72 0.17 162); /* #10B981 — sucesso continua verde */ + --success-foreground: oklch(0.99 0 0); --warning: oklch(0.78 0.17 70); + --warning-foreground: oklch(0.18 0.04 265); + --info: oklch(0.62 0.19 255); /* #3B82F6 blue-500 */ + --info-foreground: oklch(0.99 0 0); --border: oklch(0.92 0.01 256); /* #E2E8F0 */ --input: oklch(0.92 0.01 256); From 3f50136cce940ae17af5a6b89b6e76f837d5e7e8 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 18:59:48 +0000 Subject: [PATCH 2/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles.css b/src/styles.css index d068c53..ae3f60f 100644 --- a/src/styles.css +++ b/src/styles.css @@ -152,7 +152,11 @@ --destructive: oklch(0.63 0.23 25); --destructive-foreground: oklch(0.99 0 0); --success: oklch(0.72 0.17 162); + --success-foreground: oklch(0.18 0.04 265); --warning: oklch(0.80 0.17 72); + --warning-foreground: oklch(0.18 0.04 265); + --info: oklch(0.68 0.17 255); + --info-foreground: oklch(0.18 0.04 265); --border: oklch(0.32 0.03 256); /* #334155 */ --input: oklch(0.32 0.03 256); From 37748e422ac6e550b23de7c7a92936f66a9a52aa Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 18:59:54 +0000 Subject: [PATCH 3/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles.css b/src/styles.css index ae3f60f..bd26bc9 100644 --- a/src/styles.css +++ b/src/styles.css @@ -43,7 +43,11 @@ --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); --color-success: var(--success); + --color-success-foreground: var(--success-foreground); --color-warning: var(--warning); + --color-warning-foreground: var(--warning-foreground); + --color-info: var(--info); + --color-info-foreground: var(--info-foreground); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); From b694546dbd308fd2bd321eebf7dd2c1e3436e01a Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 19:00:02 +0000 Subject: [PATCH 4/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/components/ui/badge.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsx index 3aabd17..0b6ba98 100644 --- a/src/components/ui/badge.tsx +++ b/src/components/ui/badge.tsx @@ -14,6 +14,10 @@ const badgeVariants = cva( destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80", outline: "text-foreground", + success: "border-success/30 bg-success/15 text-success", + warning: "border-warning/30 bg-warning/15 text-warning", + info: "border-info/30 bg-info/15 text-info", + muted: "border-muted-foreground/20 bg-muted text-muted-foreground", }, }, defaultVariants: { From 33694bf8f420032a1545bfc42715a2725bbc07a6 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 19:00:15 +0000 Subject: [PATCH 5/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- .../mika/skills/SkillStatusBadge.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/mika/skills/SkillStatusBadge.tsx b/src/components/mika/skills/SkillStatusBadge.tsx index f83cfb9..6ec9702 100644 --- a/src/components/mika/skills/SkillStatusBadge.tsx +++ b/src/components/mika/skills/SkillStatusBadge.tsx @@ -1,6 +1,6 @@ "use client"; -import { Badge } from "@/components/ui/badge"; +import { Badge, type BadgeProps } from "@/components/ui/badge"; import { cn } from "@/lib/utils"; const STATUS_LABELS: Record = { @@ -11,21 +11,21 @@ const STATUS_LABELS: Record = { archived: "Arquivada", }; -const STATUS_CLASSES: Record = { - draft: "bg-amber-500/15 text-amber-600 dark:text-amber-400 border-amber-500/30", - testing: "bg-blue-500/15 text-blue-600 dark:text-blue-400 border-blue-500/30", - active: "bg-emerald-500/15 text-emerald-600 dark:text-emerald-400 border-emerald-500/30", - disabled: "bg-slate-500/15 text-slate-600 dark:text-slate-400 border-slate-500/30", - archived: "bg-slate-500/10 text-slate-500/70 border-slate-500/20", +const STATUS_VARIANTS: Record = { + draft: "warning", + testing: "info", + active: "success", + disabled: "muted", + archived: "muted", }; export function SkillStatusBadge({ status, className }: { status: string; className?: string }) { return ( From 6ddf0ccb76753fa309b6883c8dcd258ea6e48e9b Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 19:00:24 +0000 Subject: [PATCH 6/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/routes/painel.agente.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routes/painel.agente.tsx b/src/routes/painel.agente.tsx index b71d7ab..e07ac73 100644 --- a/src/routes/painel.agente.tsx +++ b/src/routes/painel.agente.tsx @@ -24,11 +24,11 @@ export const Route = createFileRoute("/painel/agente")({ component: AgentePage, }); -const STATUS_MAP: Record = { - provisioning: { label: "Provisionando", color: "bg-amber-500/15 text-amber-600 dark:text-amber-400 border-amber-500/30", pulse: true }, - active: { label: "Online", color: "bg-emerald-500/15 text-emerald-600 dark:text-emerald-400 border-emerald-500/30" }, - suspended: { label: "Suspenso", color: "bg-destructive/15 text-destructive border-destructive/30" }, - error: { label: "Erro", color: "bg-destructive/15 text-destructive border-destructive/30" }, +const STATUS_MAP: Record = { + provisioning: { label: "Provisionando", variant: "warning", pulse: true }, + active: { label: "Online", variant: "success" }, + suspended: { label: "Suspenso", variant: "destructive" }, + error: { label: "Erro", variant: "destructive" }, }; function AgentePage() { From c39d1c48699e4f5f455d0d96b6355c8f54f284a7 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 19:00:33 +0000 Subject: [PATCH 7/7] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- src/routes/painel.agente.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/painel.agente.tsx b/src/routes/painel.agente.tsx index e07ac73..8adde1a 100644 --- a/src/routes/painel.agente.tsx +++ b/src/routes/painel.agente.tsx @@ -84,16 +84,16 @@ function AgentePage() {
- +

{agentName}

{statusInfo.label}