chore: 版本号更新至 3.2.5

更新文件:package.json、index.html、README.md、docs/BUILD.md、docs/CHANGELOG.md
This commit is contained in:
thzxx
2026-04-08 14:24:43 +08:00
parent 2fafa357b1
commit 68c5571dd8
5 changed files with 21 additions and 7 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
> 💻 桌面版仓库 | 🌐 [Web 版历史存档](https://gitee.com/thzxx/metona-ollama-web)
![版本](https://img.shields.io/badge/version-3.2.4--desktop-brightgreen)
![版本](https://img.shields.io/badge/version-3.2.5--desktop-brightgreen)
![平台](https://img.shields.io/badge/platform-Windows%20x64-blue)
![TypeScript](https://img.shields.io/badge/TypeScript-5.7-3178c6)
![Electron](https://img.shields.io/badge/Electron-33-47848f)
@@ -190,7 +190,7 @@ v3.2 四大子系统协调运作:
| 文件 | 类型 |
|------|------|
| `Metona Ollama Setup 3.2.4.exe` | NSIS 安装包(可选目录、创建快捷方式) |
| `Metona Ollama Setup 3.2.5.exe` | NSIS 安装包(可选目录、创建快捷方式) |
> ⚠️ v3.2.0 起不再提供便携版,仅保留 NSIS 安装包。
>
@@ -210,7 +210,7 @@ v3.2 四大子系统协调运作:
```bash
git clone https://gitee.com/thzxx/metona-ollama-desktop.git
cd metona-ollama-desktop
git checkout metona-ollama-desktop-v3.2.4
git checkout metona-ollama-desktop-v3.2.5
# 安装依赖(国内使用 npmmirror 加速)
npm config set registry https://registry.npmmirror.com
+7 -1
View File
@@ -14,7 +14,7 @@
# 1. 克隆并安装依赖
git clone https://gitee.com/thzxx/metona-ollama-desktop.git
cd metona-ollama-desktop
git checkout metona-ollama-desktop-v3.2.4
git checkout metona-ollama-desktop-v3.2.5
npm config set registry https://registry.npmmirror.com
npm install
@@ -176,6 +176,12 @@ electron-builder 会自动处理所有依赖下载(Electron、NSIS、winCodeSi
## 构建日志
### v3.2.52026-04-08 — metona-ollama-desktop 仓库
- 🔧 修复工具相对路径解析:新增 `resolvePath()` 基于工作空间目录解析
- 🔧 影响工具:read_file / write_file / list_directory / search_files / create_directory / delete_file
- ✅ 分支 `metona-ollama-desktop-v3.2.5` 待创建并推送
### v3.2.42026-04-08 — metona-ollama-desktop 仓库
- 🔧 AI 命令执行走工作空间终端,实时流式显示
+9 -1
View File
@@ -3,7 +3,7 @@
## 分支结构
**桌面版主线**`master`):
- `metona-ollama-desktop-v1``metona-ollama-desktop-v1.1``metona-ollama-desktop-v2``metona-ollama-desktop-v3``metona-ollama-desktop-v3.2.0``metona-ollama-desktop-v3.2.1``metona-ollama-desktop-v3.2.2``metona-ollama-desktop-v3.2.3``metona-ollama-desktop-v3.2.4`(当前)
- `metona-ollama-desktop-v1.1``metona-ollama-desktop-v2``metona-ollama-desktop-v3.0.0``metona-ollama-desktop-v3.1.0``metona-ollama-desktop-v3.1.1``metona-ollama-desktop-v3.2.0``metona-ollama-desktop-v3.2.1``metona-ollama-desktop-v3.2.2``metona-ollama-desktop-v3.2.3``metona-ollama-desktop-v3.2.4``metona-ollama-desktop-v3.2.5`(当前)
**Web 版历史**已独立为 [metona-ollama-web](https://gitee.com/thzxx/metona-ollama-web) 仓库(v1.1.0 ~ v4.0.3)。
@@ -11,6 +11,14 @@
## 桌面版(Desktop
### Desktop v3.2.5 — 工具路径修复 & 安全性增强
- 🔧 **修复工具相对路径解析错误**
- 所有文件系统工具(`read_file` / `write_file` / `list_directory` / `search_files` / `create_directory` / `delete_file`)的相对路径此前用 `path.resolve()` 解析到进程当前工作目录,导致 AI 创建的文件实际写到了错误位置
- 新增 `resolvePath()` 辅助函数:相对路径统一基于 `getWorkspaceDir()`(工作空间目录)解析,绝对路径保持不变
- 📦 **构建产物**
- `Metona Ollama Setup 3.2.5.exe`
### Desktop v3.2.4 — AI 命令执行走工作空间终端 & Bug 修复
- 🔧 **AI 命令执行走工作空间终端**
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "metona-ollama-desktop",
"version": "3.2.4",
"version": "3.2.5",
"description": "Metona Ollama - TypeScript + Electron 桌面 AI 聊天客户端",
"main": "dist/main/main.js",
"author": "thzxx",
+1 -1
View File
@@ -27,7 +27,7 @@
<div class="header-left">
<span class="logo">🦙</span>
<span class="app-title">Metona Ollama</span>
<span class="app-version">v3.2.4</span>
<span class="app-version">v3.2.5</span>
<button class="icon-btn help-btn" id="btnHelp" title="使用帮助">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>