Commit Graph

35 Commits

Author SHA1 Message Date
zl-q c26cdbbc27 feat: 添加日历批量操作与客户端时区感知功能,优化前端 UI 交互体验 2026-03-17 00:13:41 +08:00
qzl d3783522e6 feat: 优化前端 UI 与交互体验 2026-03-16 19:04:54 +08:00
qzl 5a34616287 feat: 优化 Agent 运行时与聊天设置体验 2026-03-16 18:32:09 +08:00
qzl e55f12cdc1 test: 更新 AgentScope 相关单元测试与集成测试
- 重命名 test_react_runner.py 为 test_runner.py
- 新增 test_utils.py 测试工具函数
- 更新现有测试用例适配新架构
2026-03-16 16:11:06 +08:00
qzl 3273d63b23 feat: 重构 Home Screen 视觉设计与消息输入组件
- 新增 Home Screen 视觉设计 token (背景、工具栏、对话区、输入框等)
- 重构首页布局为浮动式底部输入栈结构
- 新增 HomeBackgroundField、HomeFloatingHeader、HomeAttachmentStrip 组件
- 优化 MessageComposer 视觉样式为悬浮 shell 设计
- 添加相关测试用例
2026-03-13 17:25:29 +08:00
qzl 01c36eb32e refactor: 移除前端 Mock API,新增共享组件,优化认证流程
- 删除 mock_api_client、mock_calendar_service、mock_history_service
- 新增 fixed_length_code_input、link_button、message_composer 共享组件
- 优化登录/注册/密码重置页面使用新组件
- 简化 injection.dart 移除 mock 分支
- 更新 env.dart 配置(BACKEND_URL 替换 API_URL)
- 后端 agentscope 工具和测试更新
- 重构 AGENTS.md 文档结构
- 新增 deploy/ 目录和 protocol 文档
2026-03-12 16:41:45 +08:00
zl-q 7b8865e256 feat: 添加 Agent 步骤事件与图片附件功能
- 新增 stepStarted/stepFinished 事件类型支持
- 前端实现图片附件上传和预览功能
- 后端增强工具结果存储和事件处理
- 完善相关单元测试和集成测试
2026-03-12 09:29:57 +08:00
qzl 145e3dc615 refactor: 重构 Agent 模块为 AgentScope,删除旧版 CrewAI/LiteLLM 实现 2026-03-11 20:51:56 +08:00
qzl e2eff03060 merge: 合并首页图片选择功能 2026-03-11 17:27:26 +08:00
qzl 9f2b060282 feat: 添加首页图片选择功能(拍照/相册) 2026-03-11 17:20:35 +08:00
qzl 85b314cf64 feat: 增强日历功能并集成 AgentScope 代理服务 2026-03-11 17:16:11 +08:00
qzl e20e7d2a02 feat: 增强日历功能并集成 AgentScope 代理服务 2026-03-11 15:28:29 +08:00
qzl 487405aa5b feat: 应用名称更新为灵可析并增强 Chat 功能
- 更新 Android/iOS 应用名称和图标为灵可析
- Chat 支持取消正在运行的 Agent 对话
- 改进 ChatBloc 状态管理(区分发送/等待/流式/取消状态)
- HomeScreen 支持外部注入 ChatBloc 和显示等待指示器
- 后端 Agent 运行服务优化(消息处理、usage 追踪)
- 补充相关单元测试和 Widget 测试
2026-03-10 18:39:53 +08:00
qzl 2ec0965322 fix: 优化语音识别功能,增加转写中状态和错误处理 2026-03-10 17:43:28 +08:00
zl-q 3ac09475ad feat(agent): add voice input capability and standardize tool naming
- Add voice recording with transcribe endpoint (ASR) for multimodal input
- Android: add RECORD_AUDIO and INTERNET permissions
- Refactor tool naming: frontend tools use 'front.' prefix, backend tools use 'back.'
- Migrate calendar tools: create_calendar_event -> back.mutate/list/delete events
- Add calendar_event_list.v1 and calendar_operation.v1 UI card types
- Update all Flutter and Python tests to match new tool naming conventions
- Add record package dependency for voice recording
2026-03-09 00:10:09 +08:00
zl-q 8a23018b6d feat(agent): migrate to native CrewAI tool loop and async resume enqueue 2026-03-08 16:01:16 +08:00
zl-q 120df903d2 feat: AG-UI 协议对齐与路由导航功能
- 前端: 添加 SSE 流式支持、stateSnapshot 事件、路由导航工具
- 前端: 实现工具调用审批流程,支持 pending 状态展示
- 后端: Agent 状态管理与会话持久化相关重构
- 文档: 新增 agent-agui-full-alignance 设计文档
- 测试: 补充相关单元测试和集成测试
2026-03-07 17:30:20 +08:00
qzl e161ca22c4 refactor(chat): 重构聊天模块并集成历史消息加载功能
- 删除冗余的 chat_history_repository 和 home_mock_data
- 简化 ag_ui_event fromJson 使用工厂映射表
- 提取 ChatBloc 事件处理方法,添加 loadHistory/loadMoreHistory
- HomeScreen 集成 ChatBloc 实现历史消息加载和下拉刷新
- 更新 AGENTS.md 文档约束
2026-03-02 15:05:10 +08:00
qzl c3192a2431 feat(chat): add ChatBubble widget and mock data for home screen
- Add ChatBubble reusable widget for chat messages
- Add HomeMockData for chat list mock data
- Add HomeScreen widget tests
- Add AG-UI chat design and implementation plan docs
- Add friendship design docs
- Ignore backend/logs directory
2026-02-28 14:47:33 +08:00
qzl d37677c533 fix(chat): fix ChatBloc event callback and test reliability
- Fix onEvent callback initialization in ChatBloc constructor
- Add MockAgUiService to isolate test from mock API behavior
- Remove unnecessary non-null assertions in tests
2026-02-28 14:41:21 +08:00
qzl 92781ddbbe test(chat): add comprehensive unit tests 2026-02-28 13:49:51 +08:00
qzl 3d6ae7695f refactor: 优化日历状态管理与首页输入框,添加API客户端抽象 2026-02-27 18:36:21 +08:00
qzl e4e995854d feat: 实现密码重置功能与用户搜索API,优化注册登录流程
- 新增忘记密码页面与重置密码确认流程(前端+后端)
- 修复注册验证码页登录跳转路由
- 新增用户搜索API(按邮箱查询)
- 简化infra脚本,统一为app.sh
- 补充密码重置与用户API测试覆盖
- 更新runtime文档与AGENTS配置
2026-02-27 15:22:42 +08:00
qzl d635d9a5e0 refactor(frontend): adapt to RESTful API routes 2026-02-26 14:28:58 +08:00
qzl cc7a70d793 fix(auth): correct resend response type and improve error messages 2026-02-26 12:13:50 +08:00
qzl 4f9889bb3f fix(auth): set failure status on sendCodeSilently error 2026-02-26 11:25:51 +08:00
qzl 8235ac5cd9 fix(auth): improve resendCode with status tracking and return value 2026-02-26 11:12:04 +08:00
qzl 8e8bcfa4f5 fix(auth): prevent concurrent sendCodeSilently and add edge case tests 2026-02-26 10:46:16 +08:00
qzl 175da2a8b7 feat(auth): add sendCodeSilently with isSending state 2026-02-26 10:37:02 +08:00
qzl c9195b81b6 feat(apps): add LoginCubit for login form 2026-02-25 15:09:29 +08:00
qzl 89d2722241 feat(apps): add RegisterCubit for signup form 2026-02-25 15:05:29 +08:00
qzl 9b51c8b293 feat(apps): add AuthBloc for global auth state 2026-02-25 14:59:20 +08:00
qzl 3be03d8c74 fix(apps): improve auth repository tests 2026-02-25 14:55:07 +08:00
qzl b00cfc80ab feat(apps): add auth repository 2026-02-25 14:51:21 +08:00
qzl bfec6ffd7d feat(apps): add auth data models 2026-02-25 14:45:08 +08:00