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
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
7b6dbe72c3
feat: 添加 Analytics 分析功能(行为追踪、错误码、协议更新)
2026-04-02 11:52:36 +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
zl-q
6722f3d74b
refactor: 重构提醒通知系统
2026-04-01 00:42:34 +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
4285b4ec80
refactor: 重构聊天模块支持 SSE 断线重连及用户上下文隔离
2026-03-30 09:06:10 +08:00
zl-q
1aac62f39e
feat: 添加日历事件订阅者功能及权限重构
2026-03-30 09:05:50 +08:00
zl-q
f126d7a547
refactor: 重构聊天数据层至core并简化首页UI
2026-03-29 21:46:26 +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
b1f0eb8921
feat(backend): 重构 HTTP 错误处理为 RFC7807 标准并优化多个 service
2026-03-27 14:04:49 +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
55f3805ee9
fix: resolve navigation-cache regressions and todo UX
2026-03-20 16:45:08 +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
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
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
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
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
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