mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
5728611dfd
Stack upgrade - fumadocs-core/ui 15.8.5 → 16.8.12, next 15 → 16 (Turbopack), react 19 → 19.2 - Swap "next lint" → "oxlint ." to match the rest of the repo - New deps for the page-actions component: @radix-ui/react-popover, class-variance-authority, clsx, tailwind-merge Layout & brand polish - Sidebar floats as a rounded-2xl card with column-aligned padding; framework picker pill, accent-purple section icons (16px), accent active state, and a single divider line at the footer - New custom <ThemeSwitch> — single 50×28 neutral switch replaces the fumadocs sun/moon split (drops the vertical divider and purple tint) - Sidebar folder collapse state persists across navigations via SidebarFolderStatePreserver - BrandNav: wider top bar, lowercase "Talk to an engineer", BookIcon for Docs, GitHub/Discord icons rendered inline in our footer row - Mobile: nav clipping + content padding fixes, content grid-span-full - TOC-less pages: lift article max-width so content stretches into the empty TOC column on wide viewports New routes - /llms.txt — page index per fumadocs LLMs integration - /llms-full.txt — concatenated full text of every docs page - /<path>.md and /<path>.mdx — per-page raw markdown with <Snippet> regions inlined as fenced code blocks (resolver in lib/llm-text.ts reuses the same demo-content.json the <Snippet> runtime reads) - Page-actions bar: Copy Markdown + Open in Claude / Claude Code / Windsurf / Codex (Codex links to https://chatgpt.com/codex for universal coverage) Content fixes - Reasoning page (generative-ui/reasoning.mdx): rewrite to point at the real reasoning-default / reasoning-custom cells instead of the stale agentic-chat-reasoning / reasoning-default-render names - Strip <FeatureIntegrations /> chip list ("SUPPORTED BY ...") from 16 docs MDX files (component definition kept in mdx-registry) - Drop hideTOC: true from 11 pages so they pick up the lifted-cap rule - Default home (/) to the built-in-agent authored sidebar; fix active state matching on the home url - Restore default fumadocs Callout (drop the bespoke docs-callout) - OpsPlatformCTA redesign — light bordered card with accent stripe - FrameworkOverview redesign — drop atmospheric chrome, smaller hero - Homepage / docs-landing redesign Integrations (LGP / LGT / ADK) - Tag @region[default-reasoning-zero-config] in reasoning-default and @region[reasoning-block-render] in reasoning-custom for all three frameworks so the docs <Snippet> calls resolve - Tag @region[use-agent-simple] + @region[message-list-simple] in headless-simple and @region[use-rendered-messages-hook] + @region[manual-tool-call-rendering] + @region[manual-activity-message-rendering] + @region[custom-bubbles] across headless-complete Other - docs/components/layout/mobile-sidebar.tsx: lowercase "engineer" to match shell-docs - .claude/launch.json + .claude/preview/ — dev launch configs for the worktree so /preview brings up shell-docs on :3003
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "@copilotkit/showcase-shell-docs",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"predev": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/generate-search-index.ts",
|
|
"dev": "next dev --port 3003",
|
|
"build": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/generate-search-index.ts && next build",
|
|
"start": "next start -p 3003",
|
|
"lint": "oxlint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"fumadocs-core": "^16.8.12",
|
|
"fumadocs-ui": "^16.8.12",
|
|
"gray-matter": "^4.0.3",
|
|
"lucide-react": "^0.469.0",
|
|
"next": "^16.0.0",
|
|
"next-mdx-remote": "^5.0.0",
|
|
"next-themes": "^0.4.6",
|
|
"posthog-js": "^1.175.0",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"react-ga4": "^2.1.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"tailwind-merge": "^3.6.0",
|
|
"yaml": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"oxlint": "^1.51.0",
|
|
"postcss": "^8.5.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.1.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.18"
|
|
}
|
|
}
|