mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
23af69041c
Migrate 15 example integrations from the v1 compatibility facade to native v2 CopilotKit APIs. The v1 surface delegates to v2 internally so this is an API surface change, not a functional one. Key changes per integration: - Import paths: @copilotkit/react-core -> react-core/v2, @copilotkit/runtime -> runtime/v2 - Hook renames: useCoAgent -> useAgent, useCopilotAction -> useFrontendTool, useRenderToolCall -> useRenderTool - UI: CopilotSidebar from react-ui -> react-core/v2 - Styles: react-ui/styles.css -> react-core/v2/styles.css - Runtime: copilotRuntimeNextJSAppRouterEndpoint -> createCopilotEndpoint + hono/vercel - Removed @copilotkit/react-ui and @copilotkit/shared deps Integrations migrated (v1 -> v2): a2a-middleware, adk, agno, crewai-crews, crewai-flows, langgraph-js, llamaindex, mastra, ms-agent-framework-dotnet, ms-agent-framework-python, pydantic-ai, strands-python Mixed integrations cleaned up (stale deps removed): agent-spec, agentcore, langgraph-fastapi, langgraph-python, langgraph-python-threads
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "a2a-agui-starter",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Minimal starter template for building multi-agent applications with A2A Protocol and AG-UI",
|
|
"scripts": {
|
|
"dev": "concurrently --names \"UI,Orch,Research,Analysis\" --prefix-colors \"cyan,gray,green,blue\" \"npm run dev:ui\" \"npm run dev:orchestrator\" \"npm run dev:research\" \"npm run dev:analysis\"",
|
|
"dev:ui": "next dev --turbopack",
|
|
"dev:orchestrator": "agents/.venv/bin/python agents/orchestrator.py",
|
|
"dev:research": "agents/.venv/bin/python agents/research_agent.py",
|
|
"dev:analysis": "agents/.venv/bin/python agents/analysis_agent.py",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@a2a-js/sdk": "latest",
|
|
"@ag-ui/a2a-middleware": "0.0.2",
|
|
"@ag-ui/client": "0.0.52",
|
|
"@copilotkit/react-core": "latest",
|
|
"@copilotkit/runtime": "latest",
|
|
"hono": "^4",
|
|
"next": "15.5.15",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"concurrently": "^9.1.2",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3.4.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5"
|
|
},
|
|
"overrides": {
|
|
"@ag-ui/client": "0.0.52"
|
|
}
|
|
}
|