mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-27 13:40:37 +00:00
* fix(artifacts): preserve account-scoped drafts across navigation * docs(artifacts): keep draft lifecycle guidance within its budget * fix(artifacts): retain drafts through unknown auth and isolate typing updates * fix(artifacts): preserve drafts when visiting public showcases * fix(artifacts): preserve edits after pending save
31 lines
833 B
TypeScript
31 lines
833 B
TypeScript
import "@/styles/globals.css";
|
|
|
|
import { type Metadata } from "next";
|
|
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
import { ArtifactDraftsProvider } from "@/core/artifacts/draft-context";
|
|
import { DEFAULT_LOCALE } from "@/core/i18n/locale";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "DeerFlow",
|
|
description: "A LangChain-based framework for building super agents.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{ children: React.ReactNode }>) {
|
|
return (
|
|
<html
|
|
lang={DEFAULT_LOCALE}
|
|
suppressContentEditableWarning
|
|
suppressHydrationWarning
|
|
>
|
|
<body>
|
|
<ThemeProvider attribute="class" enableSystem disableTransitionOnChange>
|
|
<ArtifactDraftsProvider>{children}</ArtifactDraftsProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|