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
qzl
9f2b060282
feat: 添加首页图片选择功能(拍照/相册)
2026-03-11 17:20:35 +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
8da9377ed9
chore: 更新配置和环境变量适配云端 Supabase
2026-03-10 17:44:08 +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
120df903d2
feat: AG-UI 协议对齐与路由导航功能
...
- 前端: 添加 SSE 流式支持、stateSnapshot 事件、路由导航工具
- 前端: 实现工具调用审批流程,支持 pending 状态展示
- 后端: Agent 状态管理与会话持久化相关重构
- 文档: 新增 agent-agui-full-alignance 设计文档
- 测试: 补充相关单元测试和集成测试
2026-03-07 17:30:20 +08:00
qzl
5e169251fe
refactor(apps): simplify API layer by removing redundant wrapper classes
...
- Remove ApiClientWrapper and MockApiClientWrapper
- Simplify IApiClient interface
- Update dependency injection configuration
- Optimize calendar service and AG-UI chat models
2026-03-03 10:12:46 +08:00
qzl
e161ca22c4
refactor(chat): 重构聊天模块并集成历史消息加载功能
...
- 删除冗余的 chat_history_repository 和 home_mock_data
- 简化 ag_ui_event fromJson 使用工厂映射表
- 提取 ChatBloc 事件处理方法,添加 loadHistory/loadMoreHistory
- HomeScreen 集成 ChatBloc 实现历史消息加载和下拉刷新
- 更新 AGENTS.md 文档约束
2026-03-02 15:05:10 +08:00
qzl
87b8727ca4
docs: 添加 AG-UI 协议规则约束到 apps/AGENTS.md
2026-03-02 11:17:20 +08:00
qzl
99d540a18d
refactor: 重命名 agent_chat 模块为 agent
2026-03-02 11:13:20 +08:00
qzl
d37677c533
fix(chat): fix ChatBloc event callback and test reliability
...
- Fix onEvent callback initialization in ChatBloc constructor
- Add MockAgUiService to isolate test from mock API behavior
- Remove unnecessary non-null assertions in tests
2026-02-28 14:41:21 +08:00
qzl
f82a8072a2
feat(chat): add ChatHistoryRepository with shared_preferences
2026-02-28 13:41:58 +08:00
qzl
e1973a9868
feat(chat): add ChatBloc for state management
2026-02-28 13:40:46 +08:00
qzl
d12f846cc0
feat(chat): add UiSchemaRenderer with design tokens
2026-02-28 13:38:58 +08:00
qzl
1fd33c57a7
feat(chat): add AgUiService with mock event stream
2026-02-28 13:38:26 +08:00
qzl
7e0e6457d7
feat(chat): add AiDecisionEngine with force trigger support
2026-02-28 13:36:59 +08:00
qzl
f0ae3b31e2
feat(chat): add ToolRegistry with validation
2026-02-28 13:36:30 +08:00
qzl
bc7bfa0692
feat(chat): add ChatListItem models in chat feature
2026-02-28 13:36:08 +08:00
qzl
e20b5e0b4f
feat(chat): add AG-UI event models with wire protocol mapping
2026-02-28 13:34:55 +08:00
qzl
4044b50cf9
feat(chat): add ToolResult and UiCard models
2026-02-28 13:33:08 +08:00