Commit Graph

134 Commits

Author SHA1 Message Date
qzl 54f5cb2b29 refactor(notifications): remove permission fallback and add native grouping 2026-03-20 18:33:10 +08:00
qzl 15b0daef1a feat(calendar): add ReminderOverlay UI component
- Full-screen white background with title (headlineSmall) and current time (titleLarge HH:mm format)
- Bottom two buttons: 稍后提醒 (outlined) and 完成
- 稍后提醒 shows Overlay dropdown with 5分钟/15分钟 options
- 完成 triggers onArchive + dequeueCurrent + onComplete
2026-03-20 18:29:11 +08:00
qzl 454175691e feat(notifications): add IOSNotificationPayloadBridge for iOS cold start payload 2026-03-20 18:27:17 +08:00
qzl 8ac22c97c2 feat(calendar): add ReminderQueueManager for handling reminder queue 2026-03-20 18:26:11 +08:00
qzl 55f3805ee9 fix: resolve navigation-cache regressions and todo UX 2026-03-20 16:45:08 +08:00
qzl 20f3285244 fix: prioritize realtime reminder archive with cold-start fallback 2026-03-20 15:41:48 +08:00
qzl f4c07287bc feat: add app lifecycle refresh coordinator 2026-03-20 15:39:44 +08:00
qzl e64b9c670c feat: add todo cache repository and precise invalidation 2026-03-20 15:37:59 +08:00
qzl 8883248968 refactor: decouple calendar screens from route-driven reload 2026-03-20 15:34:44 +08:00
qzl 0476f7f80c feat: switch main navigation to stateful shell tabs 2026-03-20 15:31:08 +08:00
qzl a99973fb96 refactor: merge profile cache into unified cache repository 2026-03-20 15:29:06 +08:00
qzl 1cea877bf1 refactor: wire unified cache and invalidator in di 2026-03-20 15:25:33 +08:00
qzl 632db2b68b feat: implement hybrid cache store with singleflight 2026-03-20 15:23:56 +08:00
qzl 035ca46bd0 feat: add unified cache policy primitives 2026-03-20 15:21:52 +08:00
qzl cbbed29a75 feat: enforce hierarchical back navigation and home-only exit 2026-03-20 15:20:29 +08:00
qzl fbf15bc937 refactor(todo): 移除 due_at 字段,改用 order 字段管理象限内顺序 2026-03-20 11:09:38 +08:00
zl-q d574128815 feat: 实现日历提醒 in-app fallback 机制及通知服务重构 2026-03-20 01:30:34 +08:00
qzl 8d4a14150b feat(apps): update UI screens and shared components
- Update home screen with new composer and interactions
- Update settings screens with new profile flow
- Update calendar share dialog
- Update contacts screen
- Add new shared widgets: confirm_sheet, phone_prefix_selector
- Add new formatters: phone_display_formatter
- Update tests for modified components
2026-03-19 18:43:08 +08:00
qzl 0661016827 feat(auth): transition from email to phone-based OTP authentication
- Replace Email+Password login with Phone+OTP flow
- Remove RegisterCubit and registration screens (email verification)
- Remove ResetPasswordCubit and reset password screens
- Add phone normalization and international dial code support
- Update LoginCubit with sendCode/resend cooldown logic
- Add new widgets: phone prefix selector, confirm sheet
- Update all auth API endpoints: /otp/send, /phone-session
- Update form inputs: Email -> Phone with E.164 validation
- Update tests for new auth flow
2026-03-19 18:42:05 +08:00
zl-q 29a4ea5294 feat(apps): 更新消息邀请详情和认证流程路由 2026-03-19 00:51:58 +08:00
zl-q 81cbc14219 feat(apps/chat): 新增 UI Schema 导航和路由导航工具 2026-03-19 00:51:57 +08:00
zl-q bfc3096199 feat(apps): 新增 ErrorRetrySurface 和 FullScreenLoading 通用组件 2026-03-19 00:51:56 +08:00
zl-q 82a7d594bd feat(apps/todo): 新增 TodoEditScreen 编辑功能 2026-03-19 00:51:52 +08:00
zl-q 039e8b73d6 feat(apps/home): 新增 HomeScreen 录音交互与导航组件 2026-03-19 00:51:52 +08:00
zl-q 14ccf2cb28 feat(apps/calendar): 新增日历事件创建/编辑/分享功能 2026-03-19 00:51:51 +08:00
zl-q 12180ff65a feat(apps): 拆分 UI Schema 为多文件结构 2026-03-19 00:51:46 +08:00
zl-q 5def0358ba feat(apps/router): 重构路由系统使用 AppRoutes 常量 2026-03-19 00:51:45 +08:00
qzl 00f37d7e19 feat: 实现日历提醒完整功能(操作执行、通知服务重构、归档)
- 新增 ReminderActionExecutor 处理取消/稍后提醒操作
- 新增 ReminderOutboxStore 本地存储待处理操作
- 重构 LocalNotificationService 支持聚合提醒和交互操作
- 新增 event_color_resolver 工具类统一颜色解析
- 新增 CalendarService.archiveEvent 归档方法
- 增强 ModelTracking 支持缓存命中、推理token和成本追踪
- 添加 qwen3.5-35b-a3b 模型配置
- 更新 AndroidManifest 全屏intent权限
- 补充相关单元测试和文档
2026-03-18 19:12:47 +08:00
qzl 8539f05a66 feat: 增强 HomeScreen 录音交互与 ChatBloc 状态管理
- 新增录音启动延迟处理,解决权限未就绪时的竞态问题
- 实现历史分页滚动位置保持,提升加载体验
- 添加文本输入框点击键盘显示与焦点管理
- 优化 ChatBloc provider 到 MultiBlocProvider 支持
- 修复 ApiException 429 错误详情解析(支持 JSON 字符串 body)
- 改进 LocalNotificationService 精确闹钟权限请求
- 优化 UiSchemaRenderer GridView children 生成
- 支持导航 action 的 replace 参数
- 移除 Agent router 速率限制逻辑(_allow_run_request, _allow_transcribe_request)
- 补充相关单元测试与集成测试
2026-03-18 17:03:22 +08:00
qzl b34697660d feat: 实现 Auth 全局状态机与 401 统一处理机制
- 新增 AuthSessionInvalidated 事件处理 token 失效场景
- ApiInterceptor 新增 authFailureCallback 单飞机制
- AuthBloc 区分 manual logout 与 auto expiry 语义
- 新增 startup recovery fallback 防止启动卡死

feat: 重构 Calendar DayWeek 视图事件布局引擎

- 新增 DayEventLayoutEngine 解耦事件计算与渲染
- 新增 DayTimelineMetrics 统一时间轴常量
- 新增 DayViewScale 支持捏合缩放

feat: 新增 Settings 页面共享 UI 组件

- 新增 BackTitlePageHeader 统一页面 header
- 新增 DetailHeaderActionMenu 统一操作菜单
- 新增 DestructiveActionSheet 统一删除确认
- 新增 AppToggleSwitch 统一开关组件

feat: Chat UI Schema 支持导航操作

- 支持 navigation 类型 action 触发内部路由跳转
- 新增路径验证与参数处理

chore: 更新相关测试覆盖 auth 失效路径
2026-03-18 13:35:25 +08:00
qzl 19981964fb refactor: 移除 LiteLLM proxy 架构,后端直连 Provider API
- 移除 backend/scripts/build_litellm_proxy_config.py
- 简化 LiteLLMService,移除 run_completion_with_cost 方法
- AgentScopeRunner 改为从 LlmFactory 获取 api_base 和 api_key
- 部署配置移除 litellm/litellm-config-job 服务
- Flutter 新增 AuthBootScreen 引导页
- Android 添加通知权限 (POST_NOTIFICATIONS, RECEIVE_BOOT_COMPLETED, SCHEDULE_EXACT_ALARM)
- 优化 LocalNotificationService 调度失败 fallback
- 更新 manifest.json (version 3)
2026-03-17 18:05:49 +08:00
qzl cf56b358ad fix: stabilize chat run lifecycle rendering 2026-03-17 15:58:29 +08:00
qzl aa30fe0ce6 refactor: 重构 Tool Result 契约,移除 ui_hints 统一使用 result 字段
- ToolAgentOutput 移除 result_summary 和 ui_hints,统一使用 result 字段
- 日历/用户查找工具移除 ui_hints 输出,改为机器可读的结构化结果
- Agent History 移除 tool 消息的 ui_hints 处理逻辑
- App 版本检查改为 manifest.json 方式,支持多渠道发布
- 更新 settings 配置和测试用例适配新结构
2026-03-17 12:18:09 +08:00
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 3f79cf0df7 chore: 清理废弃的生成文件和重命名文件 2026-03-16 16:13:27 +08:00
qzl 4b92772535 feat: 优化前端 UI 组件与交互体验
- 优化日历、待办、消息等页面交互
- 更新 ChatBloc 与 UI Schema 渲染
- 优化联系人、首页、设置页面体验
2026-03-16 16:11:28 +08:00
qzl a75c868bca feat: 新增 AppLoadingIndicator 和 AppPressable 组件
- 新增 AppLoadingIndicator 加载指示器组件
- 新增 AppPressable 按压反馈组件
- 新增 AppSheetInputField 输入框组件
- 更新 AppButton 和其他共享组件
2026-03-16 16:11:16 +08:00
qzl ab073c88ed feat: 添加 App 检查更新功能
- 前端:设置页面添加检查更新菜单项,从 pubspec.yaml 动态获取版本号
- 后端:新增 /api/v1/app/check-updates 接口,自动扫描 releases 目录对比版本
- 配置:新增 AppVersionSettings,支持通过环境变量配置版本和下载链接
- Docker:添加 releases 目录挂载
2026-03-16 16:09:07 +08:00
qzl 3273d63b23 feat: 重构 Home Screen 视觉设计与消息输入组件
- 新增 Home Screen 视觉设计 token (背景、工具栏、对话区、输入框等)
- 重构首页布局为浮动式底部输入栈结构
- 新增 HomeBackgroundField、HomeFloatingHeader、HomeAttachmentStrip 组件
- 优化 MessageComposer 视觉样式为悬浮 shell 设计
- 添加相关测试用例
2026-03-13 17:25:29 +08:00
qzl 4c10929498 refactor: 重构 AgentScope 运行时模块并优化前端附件展示 2026-03-13 15:42:01 +08:00
qzl a10a2db27a feat: 添加视觉设计语言系统并重构认证页面UI
- 新增 visual_design_language.md 设计规范文档
- 新增 auth 设计 tokens (authBackground, authCard, authInput, feedback 系列等)
- 重构登录/注册/验证码/重置密码页面为新设计系统
- 新增 AuthHeroHeader, AuthSurfaceCard, AuthSection, AuthField, PasswordField 组件
- 重构 AppBanner 和 Toast 支持多类型配置 (info/success/warning/error)
- 后端 AgentScope: 重整 schemas/prompts/tools 作用域, 新增协议文档
- 更新 AGENTS.md 集成视觉设计语言约束
2026-03-13 14:10:13 +08:00
qzl f201babb48 refactor: 重构前端 UI 组件与后端 AgentScope schemas 2026-03-12 18:26:10 +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
qzl d7fbb74bf8 fix(home): 移除按住说话模式下的重复提示文字 2026-03-12 13:57:48 +08:00
qzl 5e8d615f3b fix(home): 修复按住说话功能,移除旧麦克风逻辑 2026-03-12 13:55:56 +08:00
qzl 231610d762 feat(home): 实现按住说话功能 2026-03-12 13:51:20 +08:00
zl-q 7b8865e256 feat: 添加 Agent 步骤事件与图片附件功能
- 新增 stepStarted/stepFinished 事件类型支持
- 前端实现图片附件上传和预览功能
- 后端增强工具结果存储和事件处理
- 完善相关单元测试和集成测试
2026-03-12 09:29:57 +08:00
qzl 18db6c50e7 fix(redis): 修复 Redis 流读取兼容性问题
- 支持 bytes 和 str 类型的 entry_id
- 支持 list 类型响应格式
- 优化 payload 解码处理
2026-03-11 21:33:25 +08:00