import React from "react"; import type { SnapshotResponse } from "@contracts"; import { Sidebar } from "./Sidebar"; import { BottomBar } from "./BottomBar"; import type { TabId } from "../../tabs/registry"; interface AppShellProps { active: TabId; onTabChange: (id: TabId) => void; snapshot: SnapshotResponse | null; children: React.ReactNode; } export function AppShell({ active, onTabChange, snapshot, children }: AppShellProps) { const tier = snapshot?.tier ?? "unknown"; const version = snapshot?.model?.name ?? ""; return (