Commit Graph

376 Commits

Author SHA1 Message Date
qzl 18b5e876ee test: 修复所有预存的失败测试
- test_auth_routes: monkeypatch 环境为 production 使 phone-session 限速生效
- test_schedule_items_routes: 补充必填 timezone 字段
- test_llm_pricing_service: 更新 deepseek-chat 费率期望值匹配实际 catalog
- test_sse_flow_live: 补充 runId 查询参数、改用附件上传 API、修复 history 响应断言、独立 DB session 避免跨事件循环崩溃
- test_agent_prompt: 移除已删除的 project_cli_defaults 断言
- test_toolkit: 更新 action card 断言匹配 module/method 格式
2026-04-24 14:11:11 +08:00
qzl d2d292a99e fix(agent): 修复 skill action 卡片调用约定、memory 强类型校验和死代码清理
- 所有 calendar action .md: skill/action 替换为 module/method + mode 字段
- handler_memory: 新增 Pydantic extra=forbid 模型替代手工 dict 校验
- memory/SKILL.md: 补充 UserMemoryContent/WorkProfileContent 全字段文档
- 移除 handler_calendar 死代码 _batch_status 和 runner 旧别名 AgentScopeReActRunner
- PRD §5.2-5.6 和 sse-events 协议对齐实际 module/method 实现
2026-04-24 14:10:57 +08:00
qzl d060962a5f feat(agent): redesign project_cli with module/method/input protocol
- Replace command/subcommand/args with module/method/input envelope
- Calendar handler uses discriminated union (mode) for read operations
- Strict Pydantic models with extra='forbid' for all calendar methods
- Worker max_iters=7, router prompt simplified (removed project_cli_defaults)
- Skill index cards + per-action files for progressive disclosure
- Frontend/AG-UI aligned to module/method dispatch
- Protocol docs updated to module/method/input contract

WIP: action cards need envelope fix, 2 tests need update, memory
handler needs Pydantic models.
2026-04-24 13:24:13 +08:00
qzl ab526af2c4 chore(task): archive 04-20-refactor-tool-cli-skill-ui-schema 2026-04-23 16:09:11 +08:00
qzl 043b2ba0b7 chore: record journal 2026-04-23 16:05:14 +08:00
qzl bb36bdbb9b Merge branch 'worktree/refactor-tool-cli-skill-ui-schema' into dev 2026-04-23 16:04:13 +08:00
qzl dcb0eb4c65 chore: sync worktree changes - update protocols, trellis workspace, and config 2026-04-23 16:04:04 +08:00
qzl f708bce585 refactor: remove analytics module, update tool postprocessor tests 2026-04-23 15:55:35 +08:00
qzl 1052e19134 feat(auth): dev 环境自动注册/登录
- send_otp 在 dev 环境跳过短信发送
- create_phone_session 在 dev 环境自动创建用户
- system_agents.yaml 添加 allowed_commands 配置
2026-04-23 12:32:50 +08:00
qzl 19e273a9e6 refactor: clean CLI taxonomy — canonical subcommands, merged memory.update, no aliases
- calendar: split write → create/read/update/delete/share
- contacts: rename lookup → read
- memory: merge write+forget → update (unified action field in operations)
- Remove all alias/normalization logic from adapter and handlers
- Update tool_postprocessor ui_hints builders to canonical keys
- Remove frontend legacy TOOL_CALL_START/ARGS/END events and ToolCallItem
- Update SKILL.md files and protocol docs
- Update tests and settings screens
2026-04-23 12:12:41 +08:00
qzl 91077a933d fix: pass tool_call_id to parse_tool_agent_output for proper payload resolution 2026-04-22 18:10:41 +08:00
qzl ef931ee73c chore: clean up legacy tool/UI code paths and remove unused events 2026-04-22 17:33:12 +08:00
qzl 4d55df45ab refactor: unify skills+cli runtime and streamline ag-ui flow 2026-04-22 17:09:37 +08:00
qzl eeed737949 chore: bootstrap trellis workspace and sync deployment settings 2026-04-20 17:15:50 +08:00
qzl 0842e04c39 chore(task): archive 04-20-bootstrap-fullstack-guidelines 2026-04-20 17:15:02 +08:00
qzl b906a7abe6 chore(task): archive 00-bootstrap-guidelines 2026-04-20 16:24:19 +08:00
qzl 7b6dbe72c3 feat: 添加 Analytics 分析功能(行为追踪、错误码、协议更新) 2026-04-02 11:52:36 +08:00
zl-q b101826de5 chore: add .agents/ to gitignore 2026-04-01 21:11:26 +08:00
qzl 2cdf075e92 feat: 添加用户行为分析功能 2026-04-01 18:35:32 +08:00
qzl 24eda6ff51 refactor: 重命名 automation worker 为 general worker 并完善错误处理 2026-04-01 17:24:52 +08:00
qzl 0fe28a1c62 docs: add Android APK build instructions and plan document 2026-04-01 15:18:07 +08:00
qzl 9c9b9dab95 Merge branch 'feature/flutter-logging-system' into dev 2026-04-01 15:11:53 +08:00
qzl 19aa33a609 fix: correct test failures and error propagation
- Add CacheScope provider in UserProfileCacheRepository tests
- Remove catch blocks that swallowed errors in _loadHistory/_loadMoreHistory
- Errors now properly propagate to switchUser() caller
2026-04-01 15:11:49 +08:00
qzl 640b4d15a3 test(logging): optimize logging tests and fix broken tests 2026-04-01 14:46:47 +08:00
qzl d1092df254 fix(logging): fix static setLogService and null handling 2026-04-01 14:36:09 +08:00
qzl 49c062d5a5 feat(logging): add logging to home voice recorder 2026-04-01 14:34:36 +08:00
qzl b8e5a42a12 feat(logging): add logging to chat bloc history and attachments 2026-04-01 14:33:41 +08:00
qzl 4fb41d2b36 feat(logging): add logging to todo repository 2026-04-01 14:32:29 +08:00
qzl ad37ca3c64 feat(logging): add logging to settings automation_jobs_cubit 2026-04-01 14:32:04 +08:00
qzl ccf6da60a1 feat(logging): add logging to messages inbox_repository 2026-04-01 14:31:28 +08:00
qzl 7c311b0785 feat(logging): add logging to contacts friend_repository 2026-04-01 14:30:44 +08:00
qzl 11ab3d0e22 feat(logging): add logging to calendar repository 2026-04-01 14:29:38 +08:00
qzl 63d225c567 feat(logging): add logging to auth feature 2026-04-01 14:28:30 +08:00
qzl 2b12d1ef79 test(logging): add logging tests 2026-04-01 14:20:47 +08:00
qzl 227c9c123c feat(logging): add logging to ChatBloc 2026-04-01 14:20:08 +08:00
qzl b0734da2ae feat(logging): add path_provider dependency 2026-04-01 14:18:38 +08:00
qzl 67f14d6cec feat(logging): add global error handler 2026-04-01 14:18:22 +08:00
qzl bb9e3bf91b feat(logging): add logging module skeleton 2026-04-01 14:17:23 +08:00
zl-q 6722f3d74b refactor: 重构提醒通知系统 2026-04-01 00:42:34 +08:00
qzl 9a231dae9e feat: 重构会话管理与提醒通知系统 2026-03-31 18:26:36 +08:00
zl-q a8c262e9c7 refactor: 重构 DetailHeaderActionMenu 菜单隐藏逻辑 2026-03-30 23:46:03 +08:00
zl-q 64f4c13999 feat: 更新应用标题为林小夕 2026-03-30 23:46:00 +08:00
zl-q 5e1cb71d74 feat: add .superset to gitignore 2026-03-30 20:49:41 +08:00
qzl 91bf3c3f96 feat: 重构 Reminder Notification 系统并更新应用包名 2026-03-30 18:36:57 +08:00
qzl 9fb2a6857b feat: 日历分享改为按手机号+好友关系校验 2026-03-30 11:37:41 +08:00
zl-q 60318b7aaa chore: 更新国际化翻译及 UI 组件优化 2026-03-30 09:07:30 +08:00
zl-q 0f3175e303 docs: 更新协议文档并清理过时计划文件 2026-03-30 09:07:07 +08:00
zl-q 5999d0edd1 fix: 修复 UI Schema 导航路径遍历漏洞 2026-03-30 09:06:50 +08:00
zl-q bd7ac6285c refactor: 修复预热编排器竞态条件添加 runToken 机制 2026-03-30 09:06:38 +08:00
zl-q 41f35d6e22 feat: 添加缓存作用域支持多用户数据隔离 2026-03-30 09:06:24 +08:00