Commit Graph

372 Commits

Author SHA1 Message Date
zl-q 33340de8f9 chore: 更新 iOS 配置文件和 Supabase 基础设施配置 2026-03-29 17:35:27 +08:00
qzl ae29a8209b refactor(apps): 主题系统迁移至 ColorScheme + 扩展架构并支持 Dark Mode 2026-03-27 19:07:39 +08:00
qzl ecc1ec6ce4 refactor(backend): 修复 agent router 中 HTTPException 与 problem_payload 混用问题 2026-03-27 14:33:40 +08:00
qzl 47e2aa3eb9 docs: 更新协议文档并清理过期的问题追踪文档 2026-03-27 14:05:14 +08:00
qzl c592cc7854 feat(apps): 重构 UI 架构为 presentation 层并新增 l10n 国际化支持 2026-03-27 14:05:03 +08:00
qzl b1f0eb8921 feat(backend): 重构 HTTP 错误处理为 RFC7807 标准并优化多个 service 2026-03-27 14:04:49 +08:00
qzl 471488f5f7 feat: enable MCP server for self-hosted Supabase 2026-03-26 13:37:26 +08:00
qzl 5900993ee7 refactor: unify storage config keys and refresh local dev setup 2026-03-26 13:25:25 +08:00
zl-q b765b9e3e1 refactor: 清理 litellm 冗余代码并锁定依赖版本 2026-03-25 20:08:34 +08:00
qzl 96fc4a1e77 feat: 支持 agent 运行取消功能 2026-03-25 18:33:25 +08:00
qzl 599c597e69 feat: 重构 agentscope 缓存架构,新增消息和附件缓存 2026-03-25 17:41:55 +08:00
qzl d22ded21f8 refactor: 重构 schemas 结构,统一枚举定义 2026-03-25 12:36:31 +08:00
qzl 389f5248fc feat: 统一自动化任务调度配置并增强聊天流恢复 2026-03-24 18:19:33 +08:00
qzl 23359c2d01 feat: 添加自动化任务(automation_jobs)功能模块 2026-03-24 12:38:11 +08:00
qzl f4b7eb7e09 refactor: 梳理规则体系并统一记忆与部署流程 2026-03-23 17:57:24 +08:00
qzl 2a14ad1d8e feat(automation_jobs): add CRUD repository methods 2026-03-23 16:38:08 +08:00
qzl 6be616f108 feat: 重构 memory 系统,支持 user memory 和 work memory 分离 2026-03-23 14:25:47 +08:00
zl-q 3aacc756db refactor(agent): remove memory agent, simplify runtime config system 2026-03-23 01:20:27 +08:00
zl-q 80ad5141a6 refactor(agent): restructure visibility masks, task queues, and memory service
Visibility mask refactoring:
- Replace dead UI_REALTIME bit with CONTEXT_ASSEMBLY (bit 1)
- Remove visibility_consumer_bit from SystemAgentLLMConfig and system_agents.yaml
- Simplify _resolve_user_message_visibility_mask: chat->UI_HISTORY|CONTEXT_ASSEMBLY, automation->0
- Simplify _resolve_stage_visibility_mask: memory->UI_HISTORY, router/worker->UI_HISTORY|CONTEXT_ASSEMBLY
- Remove stage_visibility_bit_map from store.py

Task queue renaming:
- Replace default_broker/bulk_broker/critical_broker with worker_agent_broker/worker_automation_broker
- Queue names: 'default'/'bulk'/'critical' -> 'agent'/'automation'
- Rename run_command_task -> run_command_task_agent/run_command_task_automation
- AgentService derives queue from runtime_mode: chat->agent, automation->automation

Architecture cleanup:
- Move context_service.py from runtime/ to agentscope/services/
- Add MemoryService in v1/memory/ following repository/service pattern
- Move consumer_registry.py and pipeline_spec.py from schemas/agent to agentscope/schemas/
- Delete dead code: registry_builder.py, VisibilityBitRef
- Delete superseded plan docs
2026-03-22 20:35:55 +08:00
qzl 20b9e70e84 fix(apps): 修复通知点击不显示ReminderOverlay和日历编辑后不刷新问题
- AppDelegate: 只存储payload字段而非整个userInfo字典
- LocalNotificationService: 移除旧的取消/稍后提醒action按钮配置
- ReminderNotificationCallbacks: 添加onNotificationPayloadReceived静态回调
- IOSNotificationPayloadBridge: 添加setPendingPayload方法
- main.dart: 设置onNotificationPayloadReceived触发ReminderOverlay显示,添加WidgetsBindingObserver处理后台恢复
- CalendarEventDetailScreen: 编辑保存后正确传递刷新信号给日视图
2026-03-20 19:34:06 +08:00
qzl fcf98b1142 feat(apps): refine login consent and calendar day/month UX 2026-03-20 19:00:24 +08:00
qzl 2e94908eaa merge: integrate feature/reminder-overlay into dev 2026-03-20 18:59:19 +08:00
qzl d17f5d78aa refactor: cleanup dead code from reminder system
- Remove permission fallback logic from LocalNotificationService
- Remove unused methods: _scheduleInApp*, _trackFallback, bindInAppReminderHandler
- Remove unused fields: _permissionFallbackTracker, _inAppReminderHandler, _inAppFallbackTimersByEventId, _canDeliverSystemNotification
- Remove unused _showSnoozeOptions from ReminderOverlay
- Remove unused reminderActionExecutor from AuthSessionBootstrapper
- Remove obsolete test files: reminder_permission_fallback_test, reminder_notification_bridge_test, auth_session_bootstrapper_test
- Add native notification grouping (threadIdentifier/groupKey)
2026-03-20 18:53:32 +08:00
qzl 42c2fbc8f3 feat(ios): write notification payload to UserDefaults on tap 2026-03-20 18:48:22 +08:00
qzl 4b29b300da feat(calendar): implement ReminderOverlay and supporting components
- Add ReminderQueueManager for managing notification queue
- Add IOSNotificationPayloadBridge for iOS cold start handling
- Add ReminderOverlay UI component with snooze (5/15 min) and complete actions
- Update main.dart to integrate ReminderOverlay
- LocalNotificationService: remove permission fallback logic, add native grouping
2026-03-20 18:47:50 +08:00
qzl 06026530dd feat(ios): store notification payload in UserDefaults on tap 2026-03-20 18:43:53 +08:00
qzl 6e35fff9a4 refactor(calendar): remove deprecated reminder components 2026-03-20 18:42:58 +08:00
qzl af38ca2369 feat(apps): integrate IOSNotificationPayloadBridge for cold start reminder handling
- Create IOSNotificationPayloadBridge instance to check pending payloads on startup
- If pending payload exists, enqueue to ReminderQueueManager and show ReminderOverlay
- Convert LinksyApp to StatefulWidget to manage ReminderOverlay lifecycle
- Remove dead code: unused reminderForegroundPresenter and non-existent bindInAppReminderHandler
2026-03-20 18:36:44 +08:00
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 9ece726de0 docs: add reminder overlay implementation plan 2026-03-20 18:23:52 +08:00
qzl 5e2ade614f docs: add reminder overlay design document 2026-03-20 18:22:14 +08:00
qzl e4fa7980cc merge: integrate navigation cache decoupling feature 2026-03-20 16:45:52 +08:00
qzl 55f3805ee9 fix: resolve navigation-cache regressions and todo UX 2026-03-20 16:45:08 +08:00
qzl 3f1858d733 docs: finalize navigation decoupling and unified cache rollout 2026-03-20 15:46:24 +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 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