⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import type { ReactNode } from 'react';
import { cookies } from 'next/headers';
import GodShell from '@/components/layout/GodShell';
// God mode lives outside the project shell: its settings are instance-wide, so no
// project is loaded. The sidebar open/collapsed state uses the same `sidebar_state`
// cookie as the project layout, so the sidebar keeps its width across the two.
export default async function GodLayout({ children }: { children: ReactNode }) {
const cookieStore = await cookies();
const defaultSidebarOpen = cookieStore.get('sidebar_state')?.value !== 'false';
return <GodShell defaultSidebarOpen={defaultSidebarOpen}>{children}</GodShell>;
}