feat: add AgentRealtimeProvider and integrate it into WorkbenchLayout and ConversationsPage

This commit is contained in:
mlogclub
2026-06-13 12:53:39 +08:00
parent 878d4bb811
commit 7ed6b628c1
8 changed files with 80 additions and 7 deletions
+2
View File
@@ -5,6 +5,7 @@ import { usePathname, useRouter } from "next/navigation"
import type { CSSProperties, ReactNode } from "react"
import { useEffect } from "react"
import { AgentRealtimeProvider } from "@/components/agent-realtime-provider"
import { useAuth } from "@/components/auth-provider"
import { NotificationProvider } from "@/components/notification-provider"
import { WorkbenchHeader } from "@/components/workbench-header"
@@ -56,6 +57,7 @@ export default function WorkbenchLayout({
}
>
<NotificationProvider>
<AgentRealtimeProvider />
<WorkbenchRail />
<div className="flex min-w-0 flex-1 flex-col overflow-hidden">
<WorkbenchHeader />