mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 06:42:27 +08:00
- Update log-feedback API to find existing chat trace by sessionId and attach score to it - Update log-save API to create span on existing chat trace instead of standalone trace - Add thumbs up/down feedback buttons on assistant messages - Add message regeneration and edit functionality - Add save dialog with format selection (drawio, png, svg) - Pass sessionId through components for Langfuse linking
64 lines
2.0 KiB
JSON
64 lines
2.0 KiB
JSON
{
|
|
"name": "next-ai-draw-io",
|
|
"version": "0.2.0",
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack --port 6002",
|
|
"build": "next build",
|
|
"start": "next start --port 6001",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/amazon-bedrock": "^3.0.62",
|
|
"@ai-sdk/anthropic": "^2.0.44",
|
|
"@ai-sdk/azure": "^2.0.69",
|
|
"@ai-sdk/deepseek": "^1.0.30",
|
|
"@ai-sdk/google": "^2.0.0",
|
|
"@ai-sdk/openai": "^2.0.19",
|
|
"@ai-sdk/react": "^2.0.22",
|
|
"@langfuse/client": "^4.4.9",
|
|
"@langfuse/otel": "^4.4.4",
|
|
"@langfuse/tracing": "^4.4.9",
|
|
"@next/third-parties": "^16.0.6",
|
|
"@openrouter/ai-sdk-provider": "^1.2.3",
|
|
"@opentelemetry/sdk-trace-node": "^2.2.0",
|
|
"@radix-ui/react-dialog": "^1.1.6",
|
|
"@radix-ui/react-scroll-area": "^1.2.3",
|
|
"@radix-ui/react-select": "^2.2.6",
|
|
"@radix-ui/react-slot": "^1.1.2",
|
|
"@radix-ui/react-tooltip": "^1.1.8",
|
|
"@vercel/analytics": "^1.5.0",
|
|
"@xmldom/xmldom": "^0.9.8",
|
|
"ai": "^5.0.89",
|
|
"base-64": "^1.0.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"jsdom": "^26.0.0",
|
|
"lucide-react": "^0.483.0",
|
|
"next": "^16.0.7",
|
|
"ollama-ai-provider-v2": "^1.5.4",
|
|
"pako": "^2.1.0",
|
|
"prism-react-renderer": "^2.4.1",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-drawio": "^1.0.3",
|
|
"react-icons": "^5.5.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"tailwind-merge": "^3.0.2",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"zod": "^4.1.12"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/pako": "^2.0.3",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "9.39.1",
|
|
"eslint-config-next": "16.0.5",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|