feat: 添加配置页面和状态管理,集成 AI SDK

This commit is contained in:
2026-02-08 13:11:37 +08:00
parent abd9860a90
commit f117302a98
12 changed files with 416 additions and 23 deletions

View File

@@ -17,6 +17,9 @@
"author": "abearxiong <xiongxiao@xiongxiao.me>",
"license": "MIT",
"dependencies": {
"@ai-sdk/anthropic": "^3.0.38",
"@ai-sdk/openai": "^3.0.26",
"@ai-sdk/openai-compatible": "^2.0.28",
"@kevisual/cnb": "^0.0.19",
"@kevisual/context": "^0.0.4",
"@kevisual/router": "0.0.70",
@@ -29,6 +32,7 @@
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@tanstack/react-router": "^1.158.1",
"ai": "^6.0.77",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
@@ -40,6 +44,7 @@
"react-dom": "^19.2.4",
"react-hook-form": "^7.71.1",
"sonner": "^2.0.7",
"zod": "^4.3.6",
"zustand": "^5.0.11"
},
"publishConfig": {