zl-q
1aac62f39e
feat: 添加日历事件订阅者功能及权限重构
2026-03-30 09:05:50 +08:00
qzl
5900993ee7
refactor: unify storage config keys and refresh local dev setup
2026-03-26 13:25:25 +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
6be616f108
feat: 重构 memory 系统,支持 user memory 和 work memory 分离
2026-03-23 14:25:47 +08:00
qzl
fbf15bc937
refactor(todo): 移除 due_at 字段,改用 order 字段管理象限内顺序
2026-03-20 11:09:38 +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
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
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
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
145e3dc615
refactor: 重构 Agent 模块为 AgentScope,删除旧版 CrewAI/LiteLLM 实现
2026-03-11 20:51:56 +08:00
qzl
c5ccfc4b88
feat(agent): add redis short-term user context cache and align tests
2026-03-06 12:02:10 +08:00
qzl
b486e78ff3
feat(agent): complete closed-loop runtime and pricing fallback
2026-03-05 15:34:37 +08:00
qzl
87399f74c8
fix(alembic): update imports for agent architecture changes
2026-03-04 11:12:41 +08:00
qzl
2d410e8e84
feat(db): add migration to simplify agent architecture
...
- Add migration to delete user_agents table and memories.agent_id
- Rename user_agent_catalog to system_agents
- Remove UserAgents model
- Rename UserAgentCatalog to SystemAgents model
2026-03-04 11:04:13 +08:00
qzl
fb8f4fdeeb
fix(migration): allow multiple agents per user (one per agent_type)
...
- Drop single-column UNIQUE constraint on user_agents.user_id
- Add composite UNIQUE constraint on (user_id, agent_type)
- Enables trigger to insert 3 agents per user (INTENT_RECOGNITION, TASK_EXECUTION, RESULT_REPORTING)
- Maintain reversible downgrade path
2026-03-02 15:51:04 +08:00
qzl
27b09ce9c0
feat(migration): add user_agent_catalog table and update trigger
2026-03-02 15:36:25 +08:00
qzl
dbd3f68dd4
test: add invite code validation tests and fix migration rollback
...
- Add TestInviteCodeSignup integration tests for valid/invalid invite codes
- Fix migration downgrade: avoid dropping trigger dependency
- Add DB CHECK constraint for invite_codes.code format
- Update runtime-route.md with invite_code documentation
- Update runtime-runbook.md with change log
2026-02-28 10:56:09 +08:00
qzl
80d04688fc
feat: add invite code feature (create, validate, referrer tracking)
2026-02-27 17:27:55 +08:00
qzl
e4e995854d
feat: 实现密码重置功能与用户搜索API,优化注册登录流程
...
- 新增忘记密码页面与重置密码确认流程(前端+后端)
- 修复注册验证码页登录跳转路由
- 新增用户搜索API(按邮箱查询)
- 简化infra脚本,统一为app.sh
- 补充密码重置与用户API测试覆盖
- 更新runtime文档与AGENTS配置
2026-02-27 15:22:42 +08:00
qzl
f3d08a7fcf
refactor: remove legacy migration revisions
...
drop obsolete alembic history replaced by the new split social schema migration chain
2026-02-26 17:58:49 +08:00
qzl
6641eba9df
feat: split initial social schema migration chain
...
replace monolithic migration with ordered scripts, include profiles/sessions in migration, and verify full downgrade/upgrade cycle for clean Supabase bootstrap
2026-02-26 17:58:37 +08:00
qzl
443977be9b
fix(security): enforce defensive RLS for agent chat tables
...
Close Supabase advisor findings by enabling RLS and deny-by-default policies on new public agent-chat tables. Clarify backend RLS governance and incident runbook steps to prevent config-drift regressions.
2026-02-25 18:04:05 +08:00
qzl
cd40b2b4f4
feat(agent-chat): complete core workflow and strengthen auth rate limiting
2026-02-25 16:51:12 +08:00
qzl
7d6dda57c1
feat: complete auth/profile username migration and runtime safeguards
2026-02-25 10:20:43 +08:00
qzl
08571cfc95
chore: sync current workspace to dev
2026-02-24 18:18:42 +08:00
qzl
ad06fe7de4
refactor: align backend layout and supabase infra
...
Consolidate backend modules/tests under the backend package while syncing Supabase compose/env config and related plans.
2026-02-05 15:13:06 +08:00