diff --git a/gui/src/components/BackgroundMode/AgentsList.tsx b/gui/src/components/BackgroundMode/AgentsList.tsx index e3a2cdea8..f663bbf50 100644 --- a/gui/src/components/BackgroundMode/AgentsList.tsx +++ b/gui/src/components/BackgroundMode/AgentsList.tsx @@ -77,14 +77,14 @@ export function AgentsList() { if (isLoading) { return (
- +
); } if (error) { return ( -
+
Error loading agents: {error}
); @@ -92,7 +92,7 @@ export function AgentsList() { if (agents.length === 0) { return ( -
+
No background agents yet. Submit a message above to create one.
); @@ -100,14 +100,14 @@ export function AgentsList() { return (
-
+
Recent Agents
{agents.map((agent) => (
{ // Open agent detail in browser ideMessenger.post("controlPlane/openUrl", { @@ -118,10 +118,10 @@ export function AgentsList() { >
-
+
{agent.name || "Unnamed Agent"}
-
+
{agent.metadata?.github_repo || agent.repoUrl}
@@ -129,7 +129,7 @@ export function AgentsList() {
-
+
{formatRelativeTime(agent.createdAt)}
@@ -141,18 +141,18 @@ export function AgentsList() { function AgentStatusBadge({ status }: { status: string }) { const statusColors: Record = { - running: "bg-green-100 text-green-800", - pending: "bg-yellow-100 text-yellow-800", - creating: "bg-blue-100 text-blue-800", - failure: "bg-red-100 text-red-800", - suspended: "bg-gray-100 text-gray-800", + running: "border-success text-success", + pending: "border-warning text-warning", + creating: "border-info text-info", + failure: "border-error text-error", + suspended: "border-description text-description", }; - const color = statusColors[status] || "bg-gray-100 text-gray-800"; + const color = statusColors[status] || "border-description text-description"; return ( {status} diff --git a/gui/src/components/BackgroundMode/BackgroundModeView.tsx b/gui/src/components/BackgroundMode/BackgroundModeView.tsx index 1abd94d01..fe5105e37 100644 --- a/gui/src/components/BackgroundMode/BackgroundModeView.tsx +++ b/gui/src/components/BackgroundMode/BackgroundModeView.tsx @@ -86,17 +86,17 @@ export function BackgroundModeView({ onCreateAgent }: BackgroundModeViewProps) { if (!session) { return (
- +

Background Agents

-

+

Trigger long-running background agents that work on your codebase autonomously. Sign in to Continue to get started.

@@ -129,7 +129,7 @@ export function BackgroundModeView({ onCreateAgent }: BackgroundModeViewProps) {
)} -
+
Agents you trigger will run in the background and appear below.