diff --git a/README.md b/README.md index 6983e27..9645f91 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@

- version + version electron typescript 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 diff --git a/package-lock.json b/package-lock.json index 5fc3d96..ef6323a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "metona-ollama-desktop", - "version": "0.16.10", + "version": "0.16.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "metona-ollama-desktop", - "version": "0.16.10", + "version": "0.16.11", "license": "MIT", "dependencies": { "ffmpeg-static": "^5.2.0", diff --git a/package.json b/package.json index a16cbd9..bd6906f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "metona-ollama-desktop", - "version": "0.16.10", + "version": "0.16.11", "description": "Metona Ollama - TypeScript + Electron 桌面 AI 聊天客户端", "main": "dist/main/main.js", "author": "thzxx", diff --git a/src/main/menu.ts b/src/main/menu.ts index 7235831..c1da712 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.16.10', + message: 'Metona Ollama Desktop v0.16.11', detail: 'TypeScript + Electron Ollama AI 聊天客户端\n\nhttps://gitee.com/thzxx/metona-ollama', icon: getIconPath() }); diff --git a/src/renderer/components/input-area.ts b/src/renderer/components/input-area.ts index 122197b..8100ce6 100644 --- a/src/renderer/components/input-area.ts +++ b/src/renderer/components/input-area.ts @@ -669,8 +669,6 @@ async function handleRetry(): Promise { // renderMessages 统一渲染 session 数据,先清掉流式 placeholder 避免 DOM 重复 clearMessagesDOM(); renderMessages(); - // ── 消费 _lastPlanStatus(不再保存为 session 消息,避免 system 消息渲染到聊天界面)── - state.set('_lastPlanStatus', ''); await saveCurrentSession(); } }); @@ -1372,9 +1370,6 @@ async function sendMessageWithAgentLoop(text: string, currentSession: ChatSessio // 先移除流式 placeholder 再 renderMessages,避免未渲染(纯文本)和已渲染(markdown)两个卡片同时存在 removeCurrentPlaceholder(); renderMessages(); - - // ── 消费 _lastPlanStatus(不再保存为 session 消息,避免 system 消息渲染到聊天界面)── - state.set('_lastPlanStatus', ''); await saveCurrentSession(); } }); diff --git a/src/renderer/index.html b/src/renderer/index.html index 77b9420..7be3b82 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -28,7 +28,7 @@

Metona Ollama - v0.16.10 + v0.16.11