feat: add chat and file management APIs, implement chat loading and saving functionality

- Introduced new API endpoints for chat management including posting and retrieving chat messages.
- Implemented file upload and deletion functionalities for chat and other files.
- Added utility functions for streaming text and loading chat data.
- Created TypeScript types for models and agents used in the application.
- Configured TypeScript settings for server and project.
- Added favicon and workspace configuration for pnpm.
This commit is contained in:
2025-04-14 12:19:30 +02:00
commit c0b5539f12
29 changed files with 12941 additions and 0 deletions

42
package.json Normal file
View File

@@ -0,0 +1,42 @@
{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "npx nuxthub preview",
"deploy": "npx nuxthub deploy",
"postinstall": "nuxt prepare",
"lint": "eslint .",
"db:generate": "drizzle-kit generate",
"db:push": "drizzle-kit push"
},
"dependencies": {
"@ai-sdk/vue": "^1.2.8",
"@nuxt/eslint": "^1.3.0",
"@nuxt/icon": "1.12.0",
"@nuxt/ui": "3.0.2",
"@nuxthub/core": "^0.8.24",
"@nuxtjs/mdc": "0.16.1",
"@vueuse/core": "^13.1.0",
"ai": "^4.3.6",
"h3-zod": "^0.5.3",
"nuxt": "^3.16.2",
"vue": "^3.5.13",
"vue-router": "^4.5.0",
"workers-ai-provider": "^0.3.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@iconify-json/heroicons": "^1.2.2",
"@iconify-json/ph": "^1.2.2",
"@nuxt/eslint-config": "^1.3.0",
"eslint": "^9.24.0",
"typescript": "^5.8.3",
"vue-tsc": "^2.2.8",
"wrangler": "^4.10.0"
},
"packageManager": "pnpm@10.8.0"
}