Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: add breadcumb for agent

Gus7d08965a47c1
diff --git a/.gitignore b/.gitignore
index 619c85bcb..69a49e10e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,6 @@ docs/
.alook/
.dev.vars
plans/
+.agents/
+.claude/
+.impeccable.md
\ No newline at end of file
diff --git a/README.md b/README.md
index 3eae2647d..b62d18232 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@ graph TD
- **Database:** Cloudflare D1 (SQLite)
- **Storage:** Cloudflare R2
- **Real-time:** WebSockets via Durable Objects
-- **AI Runtimes:** Claude (Agent SDK), Codex (OpenAI SDK)
+- **AI Runtimes:** Claude (Agent SDK), Codex (OpenAI SDK),
- **CLI Runtime:** Bun
- **Monorepo:** Turborepo + pnpm workspaces
- **Testing:** Vitest
diff --git a/src/web/src/app/(app)/w/[slug]/agents/[id]/layout.tsx b/src/web/src/app/(app)/w/[slug]/agents/[id]/layout.tsx
index 33ab10999..0fc49aa76 100644
--- a/src/web/src/app/(app)/w/[slug]/agents/[id]/layout.tsx
+++ b/src/web/src/app/(app)/w/[slug]/agents/[id]/layout.tsx
@@ -2,6 +2,7 @@
import { useState, type ReactNode } from "react";
import { useParams, useRouter } from "next/navigation";
+import Link from "next/link";
import { useAgentContext } from "@/contexts/agent-context";
import { useWorkspace } from "@/contexts/workspace-context";
import { Button } from "@/components/ui/button";
@@ -33,15 +34,25 @@ export default function AgentDetailLayout({ children }: { children: ReactNode })
<div className="flex items-center justify-between border-b border-border/50 px-5 py-2.5">
<div className="flex items-center gap-2 min-w-0">
{agent && (
- <span
+ <Link
+ href={`/w/${slug}/runtimes`}
title={isOnline ? "Runtime online" : "Runtime offline"}
- className={cn(
- "size-2 rounded-full shrink-0",
- isOnline ? "bg-status-online" : "bg-status-offline"
- )}
- />
+ >
+ <span
+ className={cn(
+ "size-2 rounded-full shrink-0 block",
+ isOnline ? "bg-status-online" : "bg-status-offline"
+ )}
+ />
+ </Link>
)}
- <h1 className="text-sm font-medium truncate">{agent?.name || "Agent"}</h1>
+ <Link
+ href={`/w/${slug}/agents/${agentId}/chat`}
+ onClick={() => setEditing(false)}
+ className="text-sm font-medium truncate hover:text-foreground/80 transition-colors"
+ >
+ {agent?.name || "Agent"}
+ </Link>
{editing && <span className="text-xs text-muted-foreground">/ Settings</span>}
</div>
{agent && (