feat: Complete AI interpretation system and fix database issues

- Fixed all database connection errors in aiInterpretation.cjs
- Updated better-sqlite3 API calls from callback to sync methods
- Removed AI interpretation buttons from history page
- Added pagination to history page (10 records per page)
- Fixed mobile responsive design for AI interpretation results
- Updated Koyeb deployment configuration to use npm instead of pnpm
- Resolved API limit issues for history records
This commit is contained in:
patdelphi
2025-08-22 15:57:53 +08:00
parent 7910dd4bbf
commit b0594d5131
32 changed files with 3641 additions and 8500 deletions

View File

@@ -4,7 +4,7 @@
"version": "3.0.0",
"description": "神机阁 - AI驱动的中华传统命理分析平台提供八字、紫微斗数、易经占卜等专业分析服务",
"type": "module",
"packageManager": "pnpm@9.0.0",
"packageManager": "npm@10.0.0",
"scripts": {
"dev": "concurrently \"npm run server\" \"vite\"",
"server": "nodemon server/index.cjs",
@@ -69,9 +69,11 @@
"react-day-picker": "8.10.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.54.2",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^2.1.7",
"react-router-dom": "^6",
"recharts": "^2.12.4",
"remark-gfm": "^4.0.1",
"sonner": "^1.7.2",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",