-
Notifications
You must be signed in to change notification settings - Fork 37
Comparing changes
Open a pull request
base repository: LC044/TrailSnap
base: v0.3.1
head repository: LC044/TrailSnap
compare: v0.3.2
- 18 commits
- 82 files changed
- 2 contributors
Commits on Mar 21, 2026
-
feat(backend): 实现智能相册Agent核心服务及工具链
- 引入 LangChain与LangGraph 框架,构建基于ReAct架构的 Agent。 - 新增 tools.py,实现检索本地相册和旅行记录的自定义工具。 - 新增 service.py,处理 Agent 对话上下文、系统提示词注入及LLM调用。
Configuration menu - View commit details
-
Copy full SHA for 44862e9 - Browse repository at this point
Copy the full SHA 44862e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d1a9a3 - Browse repository at this point
Copy the full SHA 7d1a9a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d53d9d - Browse repository at this point
Copy the full SHA 6d53d9dView commit details -
- 新增数据库模型 AgentSession 和 AgentMessage,支持会话持久化存储 - 添加会话 CRUD 操作和 API 端点,支持创建、删除、置顶会话及消息管理 - 重构聊天服务,将内存中的聊天历史迁移到数据库存储 - 更新前端 API 客户端,支持会话相关操作 - 移除无用的工具页面组件,优化项目结构 - 修复航班工具中字段引用错误的问题
Configuration menu - View commit details
-
Copy full SHA for 6f1ca37 - Browse repository at this point
Copy the full SHA 6f1ca37View commit details
Commits on Mar 22, 2026
-
feat(agent): 添加令牌管理功能以支持第三方应用访问
- 新增 AgentToken 数据模型、CRUD 操作及 API 端点 - 在用户设置页面添加令牌管理界面,支持创建、查看、复制和删除令牌 - 扩展认证依赖以支持令牌认证(前缀为 ts_),允许第三方应用使用令牌访问 API - 修复用户删除接口的返回类型,使其与 CRUD 操作保持一致 - 优化错误响应消息,显示更详细的服务器错误信息 - 更新图片预览链接,将 /thumbnail 替换为 /file 以获取原图
Configuration menu - View commit details
-
Copy full SHA for 1cacdee - Browse repository at this point
Copy the full SHA 1cacdeeView commit details -
feat(agent): 为智能相册助手添加流式对话与增强搜索功能
- 后端支持流式响应,使用 SSE 实时返回 AI 回复 - 前端实现流式消息处理,优化用户体验与滚动逻辑 - 增强照片搜索工具,支持按地点、标签、人物等多维度筛选 - 新增工具:获取照片详细地址、标签、人物信息 - 更新系统提示,引导使用增强工具集
Configuration menu - View commit details
-
Copy full SHA for 4b92907 - Browse repository at this point
Copy the full SHA 4b92907View commit details -
feat(agent): 优化工具函数返回去重列表并提高默认查询上限
- 将 search_photos_tool 的默认 limit 从 10 提升至 100 - 重构 get_photo_locations_tool、get_photo_tags_tool 和 get_photo_persons_tool,使其返回去重后的分类列表,而非每张照片的详细信息,以提升信息聚合效率 - 更新相关工具函数的文档字符串以反映返回格式的变化
Configuration menu - View commit details
-
Copy full SHA for dc01bf7 - Browse repository at this point
Copy the full SHA dc01bf7View commit details
Commits on Mar 23, 2026
-
在流式聊天中,当用户首次发送消息时,后台异步生成一个简短的会话标题。前端通过新增的 `onTitleUpdate` 回调接收并更新当前会话及会话列表中的标题,以提升用户体验。同时调整了消息容器的布局样式,使内容区域居中并优化了间距。
Configuration menu - View commit details
-
Copy full SHA for 7ef22be - Browse repository at this point
Copy the full SHA 7ef22beView commit details -
在批量删除和添加到相册操作后,调用 galleryRef 的 exitSelectionMode 方法以自动退出选择模式,提升用户体验
Configuration menu - View commit details
-
Copy full SHA for dd5931a - Browse repository at this point
Copy the full SHA dd5931aView commit details
Commits on Mar 25, 2026
-
- 在设置页面添加外部图库详细说明链接 - 新增外部图库设置文档(中英文版本) - 更新导航配置以包含目录设置页面 - 修正README中年度报告描述
Configuration menu - View commit details
-
Copy full SHA for ae54c75 - Browse repository at this point
Copy the full SHA ae54c75View commit details -
fix(exif): 改进EXIF数据提取的兼容性与错误处理,增加对HEIC/HEIF格式的支持
- 使用Pillow 8.2.0+的新API (getexif()和get_ifd())提取EXIF数据,提高兼容性 - 增加对HEIC/HEIF格式的支持 - 添加异常处理和traceback记录,便于调试 - 修复GPSInfo数据提取时的类型检查问题 - 保持向后兼容,当新API不可用时回退到_getexif()方法
Configuration menu - View commit details
-
Copy full SHA for dadd107 - Browse repository at this point
Copy the full SHA dadd107View commit details -
- 新增 TimelineNode 和 TimelineResponse 接口定义 - 扩展 locationStore 支持时间轴和轨迹视图模式 - 实现后端时间轴节点聚合 API 接口 - 新增 LocationTimelineView 时间轴视图组件 - 新增 LocationTrajectoryView 轨迹地图视图组件 - 更新 LocationList 主视图支持新视图切换
Configuration menu - View commit details
-
Copy full SHA for dc00a37 - Browse repository at this point
Copy the full SHA dc00a37View commit details
Commits on Mar 27, 2026
-
- 在 TimelineNode 接口和模型中添加 level 字段以支持场景级别导航 - 将时间线数据查询从逐张照片改为按日期和位置分组聚合,提升性能 - 将照片查询的年筛选参数改为起止日期范围,支持更精确的时间筛选 - 在时间线和轨迹视图中添加点击封面直接跳转到位置详情的功能 - 统一位置跳转逻辑,自动传递日期范围参数
Configuration menu - View commit details
-
Copy full SHA for 73827c5 - Browse repository at this point
Copy the full SHA 73827c5View commit details -
- 将年份筛选升级为日期范围筛选,支持自定义时间区间 - 统一前后端API接口,将year参数替换为start_date和end_date - 优化时间轴和地图视图的日期筛选逻辑 - 修复Element Plus国际化配置,确保中文显示正常
Configuration menu - View commit details
-
Copy full SHA for 40d990f - Browse repository at this point
Copy the full SHA 40d990fView commit details
Commits on Mar 28, 2026
-
feat(车票统计): 支持按自定义日期范围筛选和统计数据(构建前端、构建后端)
- 在统计页面添加日期范围选择器,支持按年筛选或自定义日期范围 - 更新前端车票查询接口,支持 start_date 和 end_date 参数 - 修改后端车票查询逻辑,统一时间筛选参数命名和格式 - 优化缓存策略,带时间筛选条件时强制刷新数据 - 调整统计页面布局,优化响应式设计
Configuration menu - View commit details
-
Copy full SHA for b5a055c - Browse repository at this point
Copy the full SHA b5a055cView commit details -
fix(album): 修复路由和UI问题,优化地点轨迹显示(构建前端、构建后端)
- 统一相册相关路由前缀为 `/album/` - 修复地点轨迹视图中节点点击事件和照片数量徽章显示 - 优化地点列表和时间线视图的UI样式 - 修复车票编辑时类型判断逻辑 - 调整智能体服务中消息处理顺序,避免未初始化错误 - 允许搜索场景时包含公共场景 - 统一车票ID类型为字符串
Configuration menu - View commit details
-
Copy full SHA for 4f9f943 - Browse repository at this point
Copy the full SHA 4f9f943View commit details -
feat(agent/search): 增强搜索功能并优化数据库性能
- 在多个模型字段上添加数据库索引以提升查询性能 - 为文本搜索接口添加时间范围过滤参数 - 重构智能体工具,支持以文搜图和足迹时间轴查询 - 优化媒体文件接口的异步处理,提高并发性能 - 更新智能体提示词,要求先缩小搜索范围再检索照片
Configuration menu - View commit details
-
Copy full SHA for 5521e1d - Browse repository at this point
Copy the full SHA 5521e1dView commit details
Commits on Mar 29, 2026
-
chore: 更新项目版本至0.3.2并同步相关文档(构建文档)
- 更新 `package/ai`、`package/website`、`package/server` 的版本号至 0.3.2 - 在官方站点文档中添加 0.3.2 版本的更新日志、提示词文档及版本信息 - 修复 AgentChat 中图片 URL 参数问题,优化图片显示样式 - 更新服务器配置中的版本号常量
Configuration menu - View commit details
-
Copy full SHA for 09223eb - Browse repository at this point
Copy the full SHA 09223ebView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.1...v0.3.2