Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: LC044/TrailSnap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: LC044/TrailSnap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.2
Choose a head ref
  • 18 commits
  • 82 files changed
  • 2 contributors

Commits on Mar 21, 2026

  1. feat(backend): 实现智能相册Agent核心服务及工具链

    - 引入 LangChain与LangGraph 框架,构建基于ReAct架构的 Agent。
    - 新增 tools.py,实现检索本地相册和旅行记录的自定义工具。
    - 新增 service.py,处理 Agent 对话上下文、系统提示词注入及LLM调用。
    rpxaaa committed Mar 21, 2026
    Configuration menu
    Copy the full SHA
    44862e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d1a9a3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d53d9d View commit details
    Browse the repository at this point in the history
  4. feat(agent): 添加会话管理功能并重构聊天服务

    - 新增数据库模型 AgentSession 和 AgentMessage,支持会话持久化存储
    - 添加会话 CRUD 操作和 API 端点,支持创建、删除、置顶会话及消息管理
    - 重构聊天服务,将内存中的聊天历史迁移到数据库存储
    - 更新前端 API 客户端,支持会话相关操作
    - 移除无用的工具页面组件,优化项目结构
    - 修复航班工具中字段引用错误的问题
    LC044 committed Mar 21, 2026
    Configuration menu
    Copy the full SHA
    6f1ca37 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2026

  1. feat(agent): 添加令牌管理功能以支持第三方应用访问

    - 新增 AgentToken 数据模型、CRUD 操作及 API 端点
    - 在用户设置页面添加令牌管理界面,支持创建、查看、复制和删除令牌
    - 扩展认证依赖以支持令牌认证(前缀为 ts_),允许第三方应用使用令牌访问 API
    - 修复用户删除接口的返回类型,使其与 CRUD 操作保持一致
    - 优化错误响应消息,显示更详细的服务器错误信息
    - 更新图片预览链接,将 /thumbnail 替换为 /file 以获取原图
    LC044 committed Mar 22, 2026
    Configuration menu
    Copy the full SHA
    1cacdee View commit details
    Browse the repository at this point in the history
  2. feat(agent): 为智能相册助手添加流式对话与增强搜索功能

    - 后端支持流式响应,使用 SSE 实时返回 AI 回复
    - 前端实现流式消息处理,优化用户体验与滚动逻辑
    - 增强照片搜索工具,支持按地点、标签、人物等多维度筛选
    - 新增工具:获取照片详细地址、标签、人物信息
    - 更新系统提示,引导使用增强工具集
    LC044 committed Mar 22, 2026
    Configuration menu
    Copy the full SHA
    4b92907 View commit details
    Browse the repository at this point in the history
  3. feat(agent): 优化工具函数返回去重列表并提高默认查询上限

    - 将 search_photos_tool 的默认 limit 从 10 提升至 100
    - 重构 get_photo_locations_tool、get_photo_tags_tool 和 get_photo_persons_tool,使其返回去重后的分类列表,而非每张照片的详细信息,以提升信息聚合效率
    - 更新相关工具函数的文档字符串以反映返回格式的变化
    LC044 committed Mar 22, 2026
    Configuration menu
    Copy the full SHA
    dc01bf7 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. feat(agent): 为会话添加自动标题生成功能

    在流式聊天中,当用户首次发送消息时,后台异步生成一个简短的会话标题。前端通过新增的 `onTitleUpdate` 回调接收并更新当前会话及会话列表中的标题,以提升用户体验。同时调整了消息容器的布局样式,使内容区域居中并优化了间距。
    LC044 committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    7ef22be View commit details
    Browse the repository at this point in the history
  2. fix: 批量操作后自动退出选择模式

    在批量删除和添加到相册操作后,调用 galleryRef 的 exitSelectionMode 方法以自动退出选择模式,提升用户体验
    LC044 committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    dd5931a View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2026

  1. docs: 更新文档并添加外部图库设置指南(构建文档)

    - 在设置页面添加外部图库详细说明链接
    - 新增外部图库设置文档(中英文版本)
    - 更新导航配置以包含目录设置页面
    - 修正README中年度报告描述
    LC044 committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    ae54c75 View commit details
    Browse the repository at this point in the history
  2. fix(exif): 改进EXIF数据提取的兼容性与错误处理,增加对HEIC/HEIF格式的支持

    - 使用Pillow 8.2.0+的新API (getexif()和get_ifd())提取EXIF数据,提高兼容性
    - 增加对HEIC/HEIF格式的支持
    - 添加异常处理和traceback记录,便于调试
    - 修复GPSInfo数据提取时的类型检查问题
    - 保持向后兼容,当新API不可用时回退到_getexif()方法
    LC044 committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    dadd107 View commit details
    Browse the repository at this point in the history
  3. feat(足迹): 新增时间轴与轨迹视图

    - 新增 TimelineNode 和 TimelineResponse 接口定义
    - 扩展 locationStore 支持时间轴和轨迹视图模式
    - 实现后端时间轴节点聚合 API 接口
    - 新增 LocationTimelineView 时间轴视图组件
    - 新增 LocationTrajectoryView 轨迹地图视图组件
    - 更新 LocationList 主视图支持新视图切换
    LC044 committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    dc00a37 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2026

  1. feat(位置): 优化时间线数据聚合并支持按日期范围筛选

    - 在 TimelineNode 接口和模型中添加 level 字段以支持场景级别导航
    - 将时间线数据查询从逐张照片改为按日期和位置分组聚合,提升性能
    - 将照片查询的年筛选参数改为起止日期范围,支持更精确的时间筛选
    - 在时间线和轨迹视图中添加点击封面直接跳转到位置详情的功能
    - 统一位置跳转逻辑,自动传递日期范围参数
    LC044 committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    73827c5 View commit details
    Browse the repository at this point in the history
  2. feat(足迹): 支持按自定义日期范围筛选

    - 将年份筛选升级为日期范围筛选,支持自定义时间区间
    - 统一前后端API接口,将year参数替换为start_date和end_date
    - 优化时间轴和地图视图的日期筛选逻辑
    - 修复Element Plus国际化配置,确保中文显示正常
    LC044 committed Mar 27, 2026
    Configuration menu
    Copy the full SHA
    40d990f View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2026

  1. feat(车票统计): 支持按自定义日期范围筛选和统计数据(构建前端、构建后端)

    - 在统计页面添加日期范围选择器,支持按年筛选或自定义日期范围
    - 更新前端车票查询接口,支持 start_date 和 end_date 参数
    - 修改后端车票查询逻辑,统一时间筛选参数命名和格式
    - 优化缓存策略,带时间筛选条件时强制刷新数据
    - 调整统计页面布局,优化响应式设计
    LC044 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    b5a055c View commit details
    Browse the repository at this point in the history
  2. fix(album): 修复路由和UI问题,优化地点轨迹显示(构建前端、构建后端)

    - 统一相册相关路由前缀为 `/album/`
    - 修复地点轨迹视图中节点点击事件和照片数量徽章显示
    - 优化地点列表和时间线视图的UI样式
    - 修复车票编辑时类型判断逻辑
    - 调整智能体服务中消息处理顺序,避免未初始化错误
    - 允许搜索场景时包含公共场景
    - 统一车票ID类型为字符串
    LC044 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    4f9f943 View commit details
    Browse the repository at this point in the history
  3. feat(agent/search): 增强搜索功能并优化数据库性能

    - 在多个模型字段上添加数据库索引以提升查询性能
    - 为文本搜索接口添加时间范围过滤参数
    - 重构智能体工具,支持以文搜图和足迹时间轴查询
    - 优化媒体文件接口的异步处理,提高并发性能
    - 更新智能体提示词,要求先缩小搜索范围再检索照片
    LC044 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    5521e1d View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2026

  1. chore: 更新项目版本至0.3.2并同步相关文档(构建文档)

    - 更新 `package/ai`、`package/website`、`package/server` 的版本号至 0.3.2
    - 在官方站点文档中添加 0.3.2 版本的更新日志、提示词文档及版本信息
    - 修复 AgentChat 中图片 URL 参数问题,优化图片显示样式
    - 更新服务器配置中的版本号常量
    LC044 committed Mar 29, 2026
    Configuration menu
    Copy the full SHA
    09223eb View commit details
    Browse the repository at this point in the history
Loading