Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
feat: add 'bring machine online' prompt on home when no runtime is online
Generb920536b6cd0
diff --git a/src/web/src/app/(app)/w/[slug]/home/page.tsx b/src/web/src/app/(app)/w/[slug]/home/page.tsxindex 73d3a7a82..2b0e81893 100644--- a/src/web/src/app/(app)/w/[slug]/home/page.tsx+++ b/src/web/src/app/(app)/w/[slug]/home/page.tsx@@ -42,31 +42,42 @@ export default function HomePage() {}// Empty state — no agents- const hasMachines = runtimes.length > 0;+ const hasOnline = runtimes.some((r) => r.status === "online");return (<div className="flex flex-1 items-center justify-center"><div className="text-center animate-[fade-up_400ms_ease-out_both]">- {hasMachines ? (+ {runtimes.length === 0 ? (<>- <p className="text-muted-foreground text-sm">No agents yet.</p>+ <p className="text-muted-foreground text-sm">No machines yet.</p><Buttonsize="sm"className="mt-4"- onClick={() => router.push(`/w/${slug}/agents/new`)}+ onClick={() => router.push(`/w/${slug}/runtimes?connect`)}>- Create Agent+ Connect Machine+ </Button>+ </>+ ) : !hasOnline ? (+ <>+ <p className="text-muted-foreground text-sm">No machines online.</p>+ <Button+ size="sm"+ className="mt-4"+ onClick={() => router.push(`/w/${slug}/runtimes`)}+ >+ Bring Machine Online</Button></>) : (<>- <p className="text-muted-foreground text-sm">No machines yet.</p>+ <p className="text-muted-foreground text-sm">No agents yet.</p><Buttonsize="sm"className="mt-4"- onClick={() => router.push(`/w/${slug}/runtimes?connect`)}+ onClick={() => router.push(`/w/${slug}/agents/new`)}>- Connect Machine+ Create Agent</Button></>)}