feat: 添加仓库管理页面和 AI 功能,优化路由和导航

- 新增仓库列表页面,支持查看和管理 CNB 仓库
- 添加 AI 代理系统和状态管理
- 新增 tags-input、popover、textarea、tooltip 等 UI 组件
- 更新依赖:@kevisual/cnb 升级至 0.0.22,添加 idb-keyval
- 改进路由守卫:未配置 API Key 时自动跳转配置页
- 优化 Dialog 遮罩层样式和整体布局

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-09 04:44:28 +08:00
parent 0ced574b8b
commit a2629fec7b
22 changed files with 1606 additions and 62 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "vite-react",
"name": "@kevisual/cnb-center",
"private": true,
"version": "0.0.1",
"type": "module",
@@ -21,7 +21,7 @@
"@ai-sdk/openai": "^3.0.26",
"@ai-sdk/openai-compatible": "^2.0.28",
"@base-ui/react": "^1.1.0",
"@kevisual/cnb": "^0.0.20",
"@kevisual/cnb": "^0.0.22",
"@kevisual/context": "^0.0.4",
"@kevisual/router": "0.0.70",
"@tanstack/react-router": "^1.158.4",
@@ -30,6 +30,7 @@
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
"es-toolkit": "^1.44.0",
"idb-keyval": "^6.2.2",
"lucide-react": "^0.563.0",
"nanoid": "^5.1.6",
"next-themes": "^0.4.6",