From 44cb5037ec54bdc5b9f8efe483b840182e2b8d8e Mon Sep 17 00:00:00 2001 From: thzxx Date: Tue, 23 Jun 2026 21:15:17 +0800 Subject: [PATCH] =?UTF-8?q?v0.12.5:=20Plan=20=E8=87=AA=E5=8A=A8=E8=BF=BD?= =?UTF-8?q?=E8=B8=AA=20+=20=E5=BE=85=E5=8A=9E=E5=AE=8C=E6=88=90=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=20+=20=E6=90=9C=E7=B4=A2/=E4=B8=8A=E4=B8=8B=E6=96=87?= =?UTF-8?q?=E8=B4=A8=E9=87=8F=E5=8A=A0=E5=9B=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix: - Plan Mode 自动追踪 — 工具执行成功后自动匹配步骤标记完成,不再依赖模型调用 plan_track - 待办全部完成时注入正面确认信号,防止模型遗忘已完成的写入操作 - plan_track 提示词简化 — 移除冗余催促文本,进度自动更新 - 搜索自动抓取硬上限 MAX_AUTO_FETCH=8 + 相关性过滤 - 工作空间路径安全豁免 — 修复 AppData 黑名单自相矛盾 - 浏览器回退 LRU 缓存 — 同 URL 10min 内不重复渲染 - Plan Mode 任务描述固化到系统提示词 — 压缩后不丢失 - ephemeral 清理高负载时跳过 — Plan 进度在压缩时仍可见 - SearXNG 抓取条数输入框 min=1 max=8 --- README.md | 6 +- package-lock.json | 4 +- package.json | 2 +- src/main/menu.ts | 2 +- src/renderer/index.html | 2 +- src/renderer/services/agent-engine.ts | 81 +++++++++++++++++++++++++- src/renderer/services/tool-registry.ts | 3 +- 7 files changed, 88 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index fd3661d..5b57c7a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@

- version + version electron typescript license @@ -256,7 +256,7 @@ npm start ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run dist ``` -产出:`release/Metona Ollama Setup v0.12.4.exe` +产出:`release/Metona Ollama Setup v0.12.5.exe` ## 🛠️ 常用命令 @@ -507,7 +507,7 @@ npm start ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ npm run dist ``` -Output: `release/Metona Ollama Setup v0.12.4.exe` +Output: `release/Metona Ollama Setup v0.12.5.exe` ## 🛠️ Common Commands diff --git a/package-lock.json b/package-lock.json index 5c7d676..68094e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "metona-ollama-desktop", - "version": "0.12.4", + "version": "0.12.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "metona-ollama-desktop", - "version": "0.12.4", + "version": "0.12.5", "license": "MIT", "dependencies": { "ffmpeg-static": "^5.2.0", diff --git a/package.json b/package.json index 9fb53c2..b7ece6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metona-ollama-desktop", - "version": "0.12.4", + "version": "0.12.5", "description": "Metona Ollama - TypeScript + Electron \u684c\u9762 AI \u804a\u5929\u5ba2\u6237\u7aef", "main": "dist/main/main.js", "author": "thzxx", diff --git a/src/main/menu.ts b/src/main/menu.ts index 604afc0..39a6c8c 100644 --- a/src/main/menu.ts +++ b/src/main/menu.ts @@ -101,7 +101,7 @@ export function createMenu(): void { dialog.showMessageBox(mainWindow!, { type: 'info', title: '关于 Metona Ollama', - message: 'Metona Ollama Desktop v0.12.4', + message: 'Metona Ollama Desktop v0.12.5', detail: 'TypeScript + Electron Ollama AI 聊天客户端\n\nhttps://gitee.com/thzxx/metona-ollama', icon: getIconPath() }); diff --git a/src/renderer/index.html b/src/renderer/index.html index d1f74ed..6002790 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -28,7 +28,7 @@

Metona Ollama - v0.12.4 + v0.12.5