Commit Graph

25 Commits

Author SHA1 Message Date
25d3781f06 feat: 优化 Model 连接测试,支持阿里云 DashScope
- 添加阿里云 provider 支持
- 添加连接超时 (10s)
- 优化 URL 构建逻辑
- 默认状态改为 inactive
- 添加详细日志

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:21:29 +08:00
9908ba7237 feat: 优化 Knowledge 页面并添加样式文件
- 重构 Knowledge 页面代码
- 新增 knowledge.css 样式文件
- 添加知识库截图

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 14:29:35 +08:00
42a562d171 feat: 重构 Settings 页面样式
- 拆分 Settings 页面样式到独立 CSS 文件
- 新增 modelSettings、settings-parsing、settings 等样式文件
- 添加 TypeScript 类型定义

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 14:28:50 +08:00
2d8f0fa312 fix: 优化数据库页面按钮交互样式
- 编辑和映射按钮添加 hover 颜色
- 优化翻页按钮过渡动画

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 14:28:25 +08:00
aae61ef27a docs: 添加 Model API 需求文档
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:54:06 +08:00
e4970c154f docs: 添加项目截图
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:53:58 +08:00
b894e9b21c fix: 优化 Dashboard 页面和类型定义
- Dashboard 页面样式调整
- 添加数据库相关 TypeScript 类型定义

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:53:53 +08:00
7e2bf7b508 feat: 新增 Knowledge 和 Settings 页面
- 添加 Knowledge 知识库页面
- 添加 Settings 设置页面
- 添加 Model 设置需求文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:53:41 +08:00
64f0db714d feat: 更新路由和侧边栏导航
- 侧边栏添加 Knowledge、Settings、Team 页面链接
- 路由新增对应页面配置
- 注册 Model handler 路由

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:53:35 +08:00
aabdf81073 feat: 新增Model管理模块
- 添加 Model 实体定义
- 实现 Model CRUD 接口
- 添加 Model 仓储层和服务层

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:53:27 +08:00
eda1af6938 chore: 添加数据库连接配置
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:51:58 +08:00
22be617905 feat: 完善子表删除逻辑和table_count同步更新
- 数据库更新时自动删除不在新列表中的子表
- 同步更新 table_count 为当前子表数量
- 删除数据库时级联删除关联的子表记录
- 添加相关需求文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:38:27 +08:00
189e2d61d2 chore: 添加数据库连接配置
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:38:12 +08:00
b6791cb18d chore: 添加数据库资源和需求文档
- 新增数据库连接配置 (db_info)
- 添加 DDL 编辑需求文档
- 添加 TODO 待办事项

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:34:16 +08:00
945cf6c950 fix: 修复空状态显示问题,添加DDL编辑功能
- 修复无数据时重复显示空状态的问题
- 将DDL展示改为可编辑的textarea
- 优化空状态UI样式和提示文案

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:33:45 +08:00
2eddc53249 feat: 更新数据库时支持同步保存子表配置和DDL
- UpdateDatabaseRequest 添加 SubTables 字段
- 数据库更新时同步创建或更新子表记录
- 支持子表 DDL 的保存

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:33:30 +08:00
c917d6b04c feat: 添加Neo4j图数据库支持及前端代码重构
- 新增 Neo4j 图数据库 handler、service、model
- 后端添加 SaveGraph API 接口
- 前端 Database.vue 重构,拆分为独立组件
- 新增 web/src/views/database/ 组件目录
- 删除临时文件 (temp_*.go)
- 添加 Neo4j 相关 API 需求文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 09:11:08 +08:00
20015dbd2a fix: 修复暗色主题下下拉菜单白色背景闪烁问题
- 添加 dark-select-dropdown 自定义类
- 修复鼠标移出后下拉菜单出现白色背景的问题
- 强制覆盖所有可能的白色背景样式

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 16:49:18 +08:00
b2bc9988a9 feat: 重构前后端架构,添加Go后端和Python Agent服务
- 新增 Go 语言后端服务(server/),包含用户认证、Agent管理、数据库连接等API
- 新增 Python Agent 服务(agent/),实现Agent核心逻辑和工具集
- 前端从原生HTML迁移到Vue.js框架(web/src/)
- 添加 Docker Compose 支持(docker-compose.yml)
- 添加项目架构文档(docs/ARCHITECTURE.md)
- 添加环境变量示例(.env.example)和本地启动脚本(start-local.ps1)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 16:39:42 +08:00
6fe3c412f4 feat: 更新Dashboard页面布局和样式
- 将Dashboard顶部的卡片改为CPU、内存、Active Agents三个卡片
- 移除Active MCP Servers和Active Models卡片
- 增强Element Plus下拉框暗色主题样式
- 修复旧HTML文件导致的Tailwind冲突问题
- 统一下拉框样式与输入框风格

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 09:29:16 +08:00
3c33f15f82 feat: 优化暗色主题样式,将原生select替换为el-select
- 优化el-select组件的暗色主题样式,包括输入框、下拉菜单、选中状态等
- 在Agents、MCP、ModelAPIs页面中将原生select替换为Element Plus el-select组件
- 提升UI一致性和用户体验

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 11:31:36 +08:00
2154db01cf Move frontend files to web/ directory
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 10:49:58 +08:00
6d5ae6c604 Add Database page with new connection feature
- Reorganize project structure: move frontend to web/ directory
- Add Database page with connection list (name, type, subtables, status, created, actions)
- Integrate Element Plus for UI components with dark theme support
- Add Quicksand font for rounded UI design
- Configure root package.json to run frontend from web/ directory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 10:49:46 +08:00
7f5781d4f1 1 .first update 2026-03-05 09:28:32 +08:00
f7207cc627 Initial commit 2026-03-05 09:24:14 +08:00