import type { Metadata } from "next"; import { headers } from "next/headers"; import "@/app/globals.css"; import { AppShell } from "@/components/app-shell"; export const metadata: Metadata = { title: "Claw Fleet Console", description: "OpenClaw and ZeroClaw fleet dashboard", }; export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { const headerList = await headers(); const pathname = headerList.get("x-pathname") || "/tasks"; return (