feat(chat): mount ActiveChatStreamRunner in the workspace shell

This commit is contained in:
CREDO23 2026-07-13 22:17:38 +02:00
parent 5c3aa72c1a
commit 5e453cefee

View file

@ -18,6 +18,7 @@ import { workspacesAtom } from "@/atoms/workspaces/workspace-query.atoms";
import { ActionLogDialog } from "@/components/agent-action-log/action-log-dialog";
import { AnnouncementSpotlight } from "@/components/announcements/AnnouncementSpotlight";
import { AnnouncementsDialog } from "@/components/announcements/AnnouncementsDialog";
import { ActiveChatStreamRunner } from "@/components/chat/active-chat-stream-runner";
import {
AlertDialog,
AlertDialogAction,
@ -644,6 +645,9 @@ export function LayoutDataProvider({ workspaceId, children }: LayoutDataProvider
return (
<>
{/* Persistent host: keeps an in-flight chat turn streaming across
in-app navigation and aborts it only on workspace teardown. */}
<ActiveChatStreamRunner />
<LayoutShell
workspaces={workspaces}
activeWorkspaceId={Number(workspaceId)}