qzl
e55f12cdc1
test: 更新 AgentScope 相关单元测试与集成测试
...
- 重命名 test_react_runner.py 为 test_runner.py
- 新增 test_utils.py 测试工具函数
- 更新现有测试用例适配新架构
2026-03-16 16:11:06 +08:00
zl-q
dcceb48d84
feat: 实现 AgentScope ReAct Runner 两阶段执行并重构事件处理
2026-03-16 09:01:01 +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
87215f9d41
feat(agent): 补充会话上下文构建单元测试
2026-03-12 00:19:04 +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
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
zl-q
e55e445906
feat: 添加好友功能并集成 LiteLLM 代理服务
...
- 新增好友搜索、添加、好友列表功能
- 集成 LiteLLM 代理服务及多模型定价配置
- 更新 iOS CocoaPods 配置
- 更新 .gitignore 和环境变量配置
2026-03-11 09:14:51 +08:00
qzl
487405aa5b
feat: 应用名称更新为灵可析并增强 Chat 功能
...
- 更新 Android/iOS 应用名称和图标为灵可析
- Chat 支持取消正在运行的 Agent 对话
- 改进 ChatBloc 状态管理(区分发送/等待/流式/取消状态)
- HomeScreen 支持外部注入 ChatBloc 和显示等待指示器
- 后端 Agent 运行服务优化(消息处理、usage 追踪)
- 补充相关单元测试和 Widget 测试
2026-03-10 18:39:53 +08:00
qzl
95d6927724
fix: 后端 JWT 验证改为 HS256 方式提升认证可靠性
2026-03-10 17:43:55 +08:00
zl-q
c9a2c75c35
fix: 增强云端 Supabase 认证可靠性,修复验证码失败可观测性
...
- JWT 验证器新增 apikey 参数,支持云端 JWKS 认证头
- Auth 网关新增上游超时/错误映射为 503 状态码
- Auth 网关新增重定向 URL 校验,阻断开放重定向风险
- 用户依赖传递 anon_key 给 JWT 验证器
- 新增相关单元测试覆盖 JWKS 头、503 映射、重定向校验
- 新增实现计划文档
2026-03-10 09:11:27 +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
3ac09475ad
feat(agent): add voice input capability and standardize tool naming
...
- Add voice recording with transcribe endpoint (ASR) for multimodal input
- Android: add RECORD_AUDIO and INTERNET permissions
- Refactor tool naming: frontend tools use 'front.' prefix, backend tools use 'back.'
- Migrate calendar tools: create_calendar_event -> back.mutate/list/delete events
- Add calendar_event_list.v1 and calendar_operation.v1 UI card types
- Update all Flutter and Python tests to match new tool naming conventions
- Add record package dependency for voice recording
2026-03-09 00:10:09 +08:00
zl-q
2980213a5b
fix(agent): stabilize live e2e tool execution and loop isolation
2026-03-08 22:41:59 +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
qzl
105e7849fe
refactor: Web 服务器从 gunicorn 迁移到 uvicorn
2026-03-06 17:55:01 +08:00
qzl
b6087fd195
chore: checkpoint current backend/runtime changes
2026-03-06 17:28:17 +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
db158de39c
feat(agent): 实现 Agent Runtime LLM 配置与消息元数据结构化支持
2026-03-05 18:25:51 +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
80cbb3512f
refactor: 切换到 litellm,删除未使用的代码
...
- 添加 litellm 依赖,统一 LLM 调用层
- 新增 litellm_client.py 支持多厂商
- 更新 llm_catalog.yaml 添加 litellm_model 映射
- 删除旧的 cost_tracker.py (litellm 内置 cost 追踪)
- 删除未使用的 multimodal.py 和 storage_adapter.py
- 删除空文件 crewai/__init__.py, tools/__init__.py
- 更新测试以适配新代码
2026-03-03 17:52:34 +08:00
qzl
971ba30032
test: add unit tests for load_user_agent_catalog function
...
- test_user_agent_catalog_file_exists_and_has_required_fields: verifies catalog file exists with correct structure
- test_load_user_agent_catalog_raises_on_invalid_structure: verifies invalid YAML is properly rejected
2026-03-02 16:05:30 +08:00
qzl
6b32990986
refactor: 重构 config 目录结构,按领域分类静态配置
2026-03-02 14:40:45 +08:00
qzl
99d540a18d
refactor: 重命名 agent_chat 模块为 agent
2026-03-02 11:13:20 +08:00
qzl
cd40b2b4f4
feat(agent-chat): complete core workflow and strengthen auth rate limiting
2026-02-25 16:51:12 +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