Files
copilotkit__copilotkit/examples/v2/react-router/package.json
Alem Tuzlak 4a69d7a8e3 feat(runtime): add multimodal support to TanStack converter
- Fix convertInputToTanStackAI silently dropping multimodal
  content (images, audio, video, documents) by converting
  AG-UI content parts to TanStack AI ContentPart format
- Switch react-router example from Hono server to a React
  Router resource route using createCopilotRuntimeHandler
- Both agents now use BuiltInAgent factory pattern
- Remove hono/react-router-hono-server deps from example
2026-04-10 17:15:57 +02:00

43 lines
1016 B
JSON

{
"name": "react-router-example",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "react-router dev",
"build": "react-router build",
"start": "react-router-serve ./build/server/index.js"
},
"dependencies": {
"@ai-sdk/openai": "latest",
"@copilotkit/react-core": "workspace:*",
"@copilotkit/runtime": "workspace:*",
"@react-router/node": "^7.11.0",
"@tanstack/ai": "latest",
"@tanstack/ai-openai": "latest",
"ai": "latest",
"isbot": "^5.1.27",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router": "^7.11.0"
},
"devDependencies": {
"@react-router/dev": "^7.11.0",
"@react-router/fs-routes": "^7.11.0",
"@tailwindcss/vite": "^4.0.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"tailwindcss": "^4.0.0",
"typescript": "~5.7.0",
"vite": "^6.0.0",
"vite-tsconfig-paths": "^4.3.0"
},
"nx": {
"targets": {
"build": {
"cache": false
}
}
}
}