mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
f85c1f8328
The branch's iteration arc went through several headless-demo implementations (CSS Modules, AI Elements, prompt-kit, shadcn) and a streaming-markdown experiment with `streamdown`. After the spec narrowed to shadcn-only and `react-markdown` for assistant rendering, those component libraries and their satellite packages were left installed but unused. Removed (zero importers across `src/`): - @copilotkit/react-ui (v1 UI; the showcase consumes /v2 hooks only) - @rive-app/react-webgl2 (animations, never wired) - @streamdown/cjk, /code, /math, /mermaid + streamdown (replaced by react-markdown for assistant content) - @xyflow/react (graph viz, never wired) - ai (Vercel AI SDK, was the AI Elements demo's transport) - ansi-to-react (terminal output, never wired) - marked (alternative markdown parser, never wired) - media-chrome (media player UI, never wired) - motion (animation library, was a prompt-kit demo dep) - nanoid (we use crypto.randomUUID()) - react-jsx-parser (never wired) - remark-breaks (markdown extension, never wired) - shiki (syntax highlighting, never wired) - tokenlens (never wired) - use-stick-to-bottom (was an AI Elements dep) - @radix-ui/react-use-controllable-state (no importers) Kept everything actually imported: shadcn primitive surface intact (class-variance-authority, cmdk, embla-carousel-react, lucide-react, radix-ui umbrella + per-package @radix-ui/react-checkbox / react-separator for beautiful-chat's local components), CopilotKit v2, Hashbrown + json-render BYOC catalogs, recharts, react-markdown + remark-gfm, openai (voice route), yaml (manifest parsing), zod. Build still green at 54 routes. Lockfile updated. tsconfig.json `jsx: "preserve"` — Next 15 reset this from `react-jsx` automatically on build.
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "@copilotkit/showcase-langgraph-python",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "concurrently \"next dev --turbopack\" \"PYTHONPATH=. python -m uvicorn agent_server:app --host 0.0.0.0 --port 8000 --reload\"",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"test:e2e": "playwright test"
|
|
},
|
|
"dependencies": {
|
|
"@copilotkit/a2ui-renderer": "1.56.5",
|
|
"@copilotkit/react-core": "1.56.5",
|
|
"@copilotkit/runtime": "1.56.5",
|
|
"@copilotkit/shared": "1.56.5",
|
|
"@copilotkit/voice": "1.56.5",
|
|
"@hashbrownai/core": "0.5.0-beta.4",
|
|
"@hashbrownai/react": "0.5.0-beta.4",
|
|
"@json-render/core": "0.18.0",
|
|
"@json-render/react": "0.18.0",
|
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"class-variance-authority": "^0.7.1",
|
|
"cmdk": "^0.2.1",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"lucide-react": "^1.14.0",
|
|
"next": "^15.5.15",
|
|
"openai": "^5.9.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-markdown": "^10.1.0",
|
|
"recharts": "^2.15.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"yaml": "^2.8.4",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.50.0",
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"concurrently": "^9.1.0",
|
|
"postcss": "^8.5.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|