v0.16.11: Plan Mode 最小必要性清理 — 删除进度注入和死代码链
删除项: - Plan Mode 每轮进度注入代码(formatPlanStatus() 主动注入到 user 消息) AI 改为从 plan_track mark_done/status 工具返回值自行推断进度 - _lastPlanStatus 死代码链(agent-engine.ts 2 处保存 + input-area.ts 2 处清空) 保存后从未被读取使用,纯死代码 - formatPlanStatus import(已无调用点) - _lastPlanStatus 和 _planLastInjectedDone StateKey 声明 简化项: - "计划已批准"消息移除 (web_search、write_file 等) 工具名列举,让 AI 自行判断 修正项: - L2431 注释从"AI 可通过 formatPlanStatus() 看到剩余步骤" 改为"AI 通过 plan_track mark_done/status 的工具返回值获知进度" 总计 8 文件变更
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://img.shields.io/badge/version-v0.16.10-E8734A?style=flat-square" alt="version">
|
||||
<img src="https://img.shields.io/badge/version-v0.16.11-E8734A?style=flat-square" alt="version">
|
||||
<img src="https://img.shields.io/badge/electron-33+-47848F?style=flat-square&logo=electron" alt="electron">
|
||||
<img src="https://img.shields.io/badge/typescript-5.7+-3178C6?style=flat-square&logo=typescript" alt="typescript">
|
||||
<img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="license">
|
||||
@@ -253,7 +253,7 @@ npm start
|
||||
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run dist
|
||||
```
|
||||
|
||||
产出:`release/Metona Ollama Setup v0.16.10.exe`
|
||||
产出:`release/Metona Ollama Setup v0.16.11.exe`
|
||||
|
||||
## 🛠️ 常用命令
|
||||
|
||||
@@ -501,7 +501,7 @@ npm start
|
||||
ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run dist
|
||||
```
|
||||
|
||||
Output: `release/Metona Ollama Setup v0.16.10.exe`
|
||||
Output: `release/Metona Ollama Setup v0.16.11.exe`
|
||||
|
||||
## 🛠️ Common Commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user