mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
3ac7ac7977
Foundational layer that the per-demo work in subsequent commits builds on. - Manifest-driven landing page (src/app/page.tsx) — auto-generated grid of demo cards from manifest.yaml, grouped by tag with explicit ordering for chat-ui / interactivity / generative-ui / agent-state / multi-agent / headless / platform. - Per-demo titles (src/middleware.ts + src/app/demos/layout.tsx). - Diagnostic console gated to NODE_ENV=production in app/layout.tsx so deployed showcases surface uncaught errors and iframe context. - src/app/globals.css — Tailwind v4 @theme inline block that maps showcase CSS variables into Tailwind theme tokens (without it, shadcn utilities like bg-muted / text-foreground compile to nothing). body intentionally NOT given width:100% so <CopilotSidebar /> can shrink the document via marginInlineEnd. - shadcn primitives under src/components/ui/ + src/lib/utils.ts. - tsconfig.json — @/* path alias rooted at src/. Removed: - src/app/copilotkit-overrides.css (global override layer, superseded by per-demo theming) - src/app/api/copilotkit-mcp-apps/route.ts (replaced with [[...slug]]/route.ts so v2 subpath POSTs like /v2/agent/run resolve)
22 lines
431 B
JSON
22 lines
431 B
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema.json",
|
|
"style": "new-york",
|
|
"rsc": true,
|
|
"tsx": true,
|
|
"tailwind": {
|
|
"config": "",
|
|
"css": "src/app/globals.css",
|
|
"baseColor": "neutral",
|
|
"cssVariables": true,
|
|
"prefix": ""
|
|
},
|
|
"aliases": {
|
|
"components": "@/components",
|
|
"utils": "@/lib/utils",
|
|
"ui": "@/components/ui",
|
|
"lib": "@/lib",
|
|
"hooks": "@/hooks"
|
|
},
|
|
"iconLibrary": "lucide"
|
|
}
|