Commit Graph

283 Commits

Author SHA1 Message Date
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 19a2cd451d refactor(runtime): decouple scheduler tasks and align worker group names 2026-03-20 14:06:37 +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 7fd536e976 refactor: finalize agent schemas and profile model
- Remove deprecated calendar UI tests
- Update profile model with phone field support
- Update agent schemas with runtime_models and forwarded_props
- Update system_agent with new agent configuration
2026-03-19 18:43:35 +08:00
qzl 524b91f454 docs: update AGENTS.md with new guidelines
- Add ui-ux-pro-max skill reference
- Add keyboard overlay behavior rules for Flutter
- Update testing strategy to prioritize high-regression flows
- Add copy priority rules for auth and form pages
- Update minimal interface copy guidelines
2026-03-19 18:43:23 +08:00
qzl 9ddd7a0147 chore: update configuration and infrastructure
- Add SOCIAL_RUNTIME__TRUSTED_PROXY_IPS to .env.example
- Add SOCIAL_AUTOMATION_SCHEDULER__* config options
- Change SOCIAL_TEST__EMAIL to SOCIAL_TEST__PHONE
- Update app.sh startup script
- Add new database migrations for phone auth and automation
2026-03-19 18:43:15 +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 f0af44d840 refactor(backend): update API routes and service layer
- Update agent router/service/repository with new endpoints
- Update auth routes with phone-based authentication
- Update users service with new phone lookup
- Update schedule_items with new schemas
- Update message schemas with visibility support
- Update settings with new automation scheduler config
- Update CLI with new commands
- Update tests to match new API contracts
2026-03-19 18:42:59 +08:00
qzl 641d847008 docs: update agent and UI protocol documentation
- Update api-endpoints.md with new agent endpoints
- Update run-agent-input.md with new input schemas
- Update sse-events.md with new event types
- Update ui-schema.md with schema changes
2026-03-19 18:42:45 +08:00
qzl 0abf51e837 feat(agentscope): add memory system and automation job support
- Add consumer_registry and pipeline_registry for runtime orchestration
- Add Visibility schema for message filtering
- Add PipelineSpec for agent pipeline configuration
- Add automation job models and configuration
- Remove memory_prompt.py (consolidated into memory system)
- Update runtime components: context_loader, context_service, orchestrator, runner, tasks
- Update toolkit: tool_config, tool_middleware, custom tools (calendar, user_lookup)
- Add auth_helpers and calendar_domain utilities
- Add system_agents.yaml configuration
2026-03-19 18:42:35 +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 636b37ee5a test(apps): 添加 UI Schema 单元测试 2026-03-19 00:52:23 +08:00
zl-q 7c70422ad1 docs: 更新协议文档和设计文档 2026-03-19 00:52:16 +08:00
zl-q caf9304064 test(backend): 更新后端测试文件 2026-03-19 00:52:12 +08:00
zl-q 522b53c993 refactor(backend): 更新 agent 服务和配置层 2026-03-19 00:52:12 +08:00
zl-q c8e51d1329 refactor(backend): 更新 agentscope 工具系统 2026-03-19 00:52:10 +08:00
zl-q 05096d22de refactor(backend): 更新 agentscope 提示词系统 2026-03-19 00:52:07 +08:00
zl-q a8ec9d460b refactor(backend): 更新 agentscope 事件存储和编解码 2026-03-19 00:52:06 +08:00
zl-q f709023b6d refactor(backend): 重构 agentscope 运行时模块 2026-03-19 00:52:05 +08:00
zl-q 9219e8d047 test(apps): 更新测试文件适配路由重构 2026-03-19 00:52:02 +08:00
zl-q 21d7189d22 docs(apps): 添加 Home 首页消息加载与滚动规则 2026-03-19 00:52:02 +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 adccecd691 feat(apps/ios): 添加麦克风权限描述 2026-03-19 00:51:46 +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 257cb0f5d5 docs: 更新自动化记忆设计文档与协议路由
- 重构 automation-memory-design.md 为 v2 版本,新增 Execution Profile 抽象层
- 删除 auth-global-rewrite-design.md 和 auth-global-rewrite-plan.md
- 更新 agent/api-endpoints.md 协议文档
- 更新 ASR 与 worker token latency 优化 TODO 文档
2026-03-18 17:03:33 +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 3bf7640000 feat: 实现 AgentScope tool call context,支持 runtime 上下文续接 2026-03-17 14:12:44 +08:00
qzl d6cc5a0dae chore: 从仓库删除 APK 文件,仅保留 manifest.json 2026-03-17 12:19:26 +08:00
qzl 19495ccc08 chore: 忽略 deploy/static/releases 目录下的 APK/IPA 文件 2026-03-17 12:19:07 +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