项目文件夹

文件
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

24 行
784 B
TypeScript

import WorkspaceSidebar from "@/components/sidebar/WorkspaceSidebar";
import { CapabilityAccessProvider } from "@/components/access/CapabilityAccessContext";
import CapabilityGate from "@/components/access/CapabilityGate";
import { UnifiedChatProvider } from "@/context/UnifiedChatContext";
export default function WorkspaceLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<CapabilityAccessProvider>
<UnifiedChatProvider>
<div className="flex h-screen overflow-hidden">
<WorkspaceSidebar />
<main className="flex-1 overflow-hidden bg-[var(--background)]">
<CapabilityGate>{children}</CapabilityGate>
</main>
</div>
</UnifiedChatProvider>
</CapabilityAccessProvider>
);
}