feat(agent): implement global Agent panel with site navigation and interrupt functionality

This commit is contained in:
HouYunFei
2026-07-09 16:19:32 +08:00
parent 387d8be961
commit 7b347729ec
17 changed files with 319 additions and 1588 deletions
+7 -3
View File
@@ -1,12 +1,16 @@
import type { ReactNode } from "react";
import { AgentPanel } from "@/components/agent/agent-panel";
import { AppTopNav } from "@/components/layout/app-top-nav";
export default function UserLayout({ children }: { children: ReactNode }) {
return (
<div className="flex h-dvh flex-col overflow-hidden bg-background text-foreground">
<AppTopNav />
<div className="min-h-0 flex-1 overflow-hidden">{children}</div>
<div className="flex h-dvh overflow-hidden bg-background text-foreground">
<div className="flex min-w-0 flex-1 flex-col overflow-hidden">
<AppTopNav />
<div className="min-h-0 flex-1 overflow-hidden">{children}</div>
</div>
<AgentPanel />
</div>
);
}