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
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
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
4d55df45ab
refactor: unify skills+cli runtime and streamline ag-ui flow
2026-04-22 17:09:37 +08:00
qzl
91bf3c3f96
feat: 重构 Reminder Notification 系统并更新应用包名
2026-03-30 18:36:57 +08:00
zl-q
4285b4ec80
refactor: 重构聊天模块支持 SSE 断线重连及用户上下文隔离
2026-03-30 09:06:10 +08:00
zl-q
f126d7a547
refactor: 重构聊天数据层至core并简化首页UI
2026-03-29 21:46:26 +08:00
qzl
96fc4a1e77
feat: 支持 agent 运行取消功能
2026-03-25 18:33: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
23359c2d01
feat: 添加自动化任务(automation_jobs)功能模块
2026-03-24 12:38:11 +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
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
5a34616287
feat: 优化 Agent 运行时与聊天设置体验
2026-03-16 18:32:09 +08:00
qzl
e55f12cdc1
test: 更新 AgentScope 相关单元测试与集成测试
...
- 重命名 test_react_runner.py 为 test_runner.py
- 新增 test_utils.py 测试工具函数
- 更新现有测试用例适配新架构
2026-03-16 16:11:06 +08:00
zl-q
072c09d99d
refactor: 简化 AgentScope 运行时模块与 prompt 系统
2026-03-15 17:14:15 +08:00
qzl
1c02503d1d
refactor: 简化 AgentScope 运行时模块与事件处理
...
- 移除冗余的 user_token 参数传递
- 重构 tool.result 事件使用 ToolAgentOutput 模型
- 重构 text.end 事件使用 WorkerAgentOutput 模型
- 简化 store 模块的 tool result 处理逻辑
- 更新 router/service 适配新事件结构
- 清理废弃的测试文件与设计文档
- 新增 AgentRuns 多模态存储设计文档
2026-03-13 17:27:18 +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
zl-q
7b8865e256
feat: 添加 Agent 步骤事件与图片附件功能
...
- 新增 stepStarted/stepFinished 事件类型支持
- 前端实现图片附件上传和预览功能
- 后端增强工具结果存储和事件处理
- 完善相关单元测试和集成测试
2026-03-12 09:29:57 +08:00
zl-q
21ba8e4a44
feat(agent): 增强多模态链路与工具调用能力
2026-03-12 00:18:45 +08:00
qzl
18db6c50e7
fix(redis): 修复 Redis 流读取兼容性问题
...
- 支持 bytes 和 str 类型的 entry_id
- 支持 list 类型响应格式
- 优化 payload 解码处理
2026-03-11 21:33:25 +08:00
qzl
a8dacbe81f
chore: no changes needed for calendar message card
2026-03-11 21:06:02 +08:00
qzl
145e3dc615
refactor: 重构 Agent 模块为 AgentScope,删除旧版 CrewAI/LiteLLM 实现
2026-03-11 20:51:56 +08:00
qzl
85b314cf64
feat: 增强日历功能并集成 AgentScope 代理服务
2026-03-11 17:16:11 +08:00
qzl
e20e7d2a02
feat: 增强日历功能并集成 AgentScope 代理服务
2026-03-11 15:28:29 +08:00
qzl
2049184456
chore: 后端 agent 和 users 模块代码更新优化
2026-03-10 17:44:29 +08:00
qzl
6fe2e7b6c3
refactor: 迁移本地 Supabase 到云端,使用 JWKS 进行 JWT 验证
...
- 新增 JwtVerifier 支持 RS256 + JWKS 验证
- 简化 docker-compose,删除本地 Supabase 服务(kong/auth/storage等)
- 删除冗余的 Supabase 配置文件(volumes目录)
- 适配测试用例以支持新配置方式
- 更新运行时文档和迁移计划
2026-03-09 18:03:04 +08:00
zl-q
14508c52f6
merge: integrate feature/tasks-8-9-multimodal-asr into dev
2026-03-08 17:35:53 +08:00
zl-q
1060503a2d
feat(agent): support multimodal intent input and ASR transcribe endpoint
2026-03-08 17:34:28 +08:00
zl-q
daa1c86d02
feat(agent): complete task4-6 tool result persistence flow
2026-03-08 17:07:09 +08:00
zl-q
8a23018b6d
feat(agent): migrate to native CrewAI tool loop and async resume enqueue
2026-03-08 16:01:16 +08:00
zl-q
120df903d2
feat: AG-UI 协议对齐与路由导航功能
...
- 前端: 添加 SSE 流式支持、stateSnapshot 事件、路由导航工具
- 前端: 实现工具调用审批流程,支持 pending 状态展示
- 后端: Agent 状态管理与会话持久化相关重构
- 文档: 新增 agent-agui-full-alignance 设计文档
- 测试: 补充相关单元测试和集成测试
2026-03-07 17:30:20 +08:00
zl-q
ec33bb0cee
refactor: 统一认证端点并删除冗余 profile 模块
...
- 合并 auth 端点: /verifications/verify → /verify, /verifications/resend → /resend
- 整合密码重置到 /verify 端点 (type=recovery)
- 移除未使用的 /auth/users 端点
- 添加 redirect URL 白名单验证 (site_url + additional_redirect_urls)
- 限流改用 Redis + IP 标识,替代内存锁
- 删除 v1/profile 死代码模块
- 更新前端 auth_api 适配新端点
- 添加 supabase site_url 和 additional_redirect_urls 配置
2026-03-07 14:55:00 +08:00
qzl
2c59fe5ee2
refactor: 统一 Redis 连接管理,改用 RedisService
...
- App 启动时初始化 RedisService,关闭时释放连接
- Celery worker 通过 worker_process_init 钩子初始化 Redis
- Agent 端点改用 RedisService 替代直接创建连接
- Celery task 改为 async def,使用统一连接
- 删除无用的 infra 模块和 core/http/models
- 日志脱敏,不记录 Redis 密码
- 初始化失败时 fail-fast
- 异常发布添加二级保护
2026-03-06 16:11:43 +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
b02a322bf3
refactor: 移除 crewai agent 架构相关代码并更新 LLM 配置
2026-03-04 11:37:09 +08:00
qzl
30a4a1af5d
fix(agent): polish interrupt-resume flow for merge readiness
2026-03-03 17:26:04 +08:00
qzl
9aefb76c9e
fix(agent): address CRITICAL/HIGH security and validation issues
...
- Fix SSE JSON injection: use json.dumps for safe serialization
- Add tool validation to dispatcher with allowlist
- Add field validation to tool_registry with proper error handling
- Add run_id consistency check (409 on mismatch)
- Add RunAgentInput constraints: min_length, extra=forbid
- Fix crewai_flow: use Field(default_factory), prefix unused params
2026-03-03 16:25:43 +08:00
qzl
6a4c98bb63
feat(agent): close interrupt resume tool result loop
2026-03-03 16:00:11 +08:00
qzl
5bac134506
feat(agent): add sse run/resume endpoints with auth
2026-03-03 15:55:38 +08:00
qzl
99d540a18d
refactor: 重命名 agent_chat 模块为 agent
2026-03-02 11:13:20 +08:00
qzl
b417bc800a
Merge branch 'feature-calendar-sharing' into dev
2026-02-28 13:28:49 +08:00
qzl
173d91086f
test: add calendar sharing tests and update API docs
2026-02-28 12:28:45 +08:00
qzl
330589f702
Merge remote-tracking branch 'origin/feature/friendship' into dev
2026-02-28 12:22:18 +08:00
qzl
e0cd20f16e
test: add integration tests for friendship routes
2026-02-28 12:16:06 +08:00
qzl
50b38de488
feat: add schedule items CRUD API
...
- Add ScheduleItem Pydantic schemas with metadata support
- Add repository layer with CRUD operations
- Add service layer with authorization
- Add FastAPI router with all endpoints
- Add unit and integration tests
- Update API documentation
2026-02-28 11:34:49 +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
e4e995854d
feat: 实现密码重置功能与用户搜索API,优化注册登录流程
...
- 新增忘记密码页面与重置密码确认流程(前端+后端)
- 修复注册验证码页登录跳转路由
- 新增用户搜索API(按邮箱查询)
- 简化infra脚本,统一为app.sh
- 补充密码重置与用户API测试覆盖
- 更新runtime文档与AGENTS配置
2026-02-27 15:22:42 +08:00