feat(ai): AI 生成强化——流式进度、可取消、超时、增量修改、自动纠错与结果清洗

- 流式接收(SSE):实时显示已用时 / 思考字符数 / 输出字符数,可随时取消
- 空闲 180 秒无数据自动超时并给出可读提示(此前可能无限等待)
- 新增「修改当前工程」模式:在现有工程上增删改,不再只能整图替换
- 解析/校验失败时自动把错误反馈给模型修复(最多 2 次重试)
- 结果清洗:修正非法时长与越界角度、剔除无效依赖、层号归一化,并提示修正项
- 提示词优化:layer 按并行资源分配(避免层数爆炸)、命名与 id 引用约束
- 版本号 1.1.0+11
This commit is contained in:
2026-10-08 15:44:37 +08:00
parent 0a0ea3c0ec
commit 91c6132ef9
6 changed files with 428 additions and 60 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.9+10
version: 1.1.0+11
environment:
sdk: ^3.13.3