1. 任务开始时空白状态:当 agent streaming 启动但尚无 assistant 响应时,在时间线末尾插入虚拟 "处理中..." 节点(带脉动 * 动画), 避免用户发送 prompt 后界面无任何反馈。 (chat_page.dart: _needsWorkingNode + ListView itemCount+1) 2. * 动画从旋转改为脉动:_SpinnerDot 由 Transform.rotate 改为 Transform.scale(0.6x↔1.2x 缩放 + 透明度 0.6↔1.0 呼吸), duration 从 1000ms 降至 800ms 并启用 reverse,视觉效果类似 星星闪烁而非机械旋转。 (timeline_event_node.dart: _SpinnerDotState) 3. 工具执行完成后状态卡在 spinner:ToolResultEvent 到达时仅创建 新 toolResult 消息,未回溯更新对应 toolUse 消息的 ToolStatus, 导致时间线上工具节点永远显示 executing spinner。修复:在 ToolResultEvent handler 中向前查找最近的 executing 状态的 toolUse 消息,将其 status 更新为 completed/error。 (chat_providers.dart: ToolResultEvent case) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios/Runner/Assets.xcassets/AppIcon.appiconset | ||
| lib | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.lock | ||
| pubspec.yaml | ||
README.md
it0_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.