Releases: CodeNeow/llama-cpp-desktop
Releases · CodeNeow/llama-cpp-desktop
Release list
v0.2.7
English
v0.2.7: Fix the blank API page on machines without a discrete GPU and backfill release history (2 commits since v0.2.6, per-commit core changes):
07f5730fix(frontend): guard null gpus in API page monitor rendering- Core: On machines without an NVIDIA GPU / nvidia-smi, sampleGPUs returned a nil slice which Go serialized as "gpus": null; Api.vue's status.gpus.length then threw a TypeError that blanked the whole page. The backend now always returns a non-nil empty slice (both exits use make([]MonitorGPU, 0)) and the frontend condition is hardened to status.gpus?.length as defense in depth.
38215e9docs: backfill release changelog and refresh architecture navigation- Core: CHANGELOG backfills the v0.2.6 / v0.2.5 / v0.2.3 entries (v0.2.4 was never released); AGENTS.md architecture navigation table syncs the Chat page, ModelDetail/ModelSettings standalone routes, core/router.go, core/i18n.go, tray/cross-device platform branches and the lib/ module list.
中文
v0.2.7: 修复无独立显卡机器 API 页空白并回填发布记录(v0.2.6 以来 2 个提交,按提交逐一说明核心改动):
07f5730fix(frontend): API 页监控渲染对 null gpus 防御- 核心:无 NVIDIA 独显 / nvidia-smi 不可用的机器上,后端 sampleGPUs 返回 nil slice,Go 序列化为
"gpus": null,Api.vue 模板status.gpus.length对 null 取值抛 TypeError 导致整页空白;后端 sampleGPUs 改为恒返回非 nil 空数组(两个出口均 make([]MonitorGPU,0)),前端 GPU 区块条件加固为status.gpus?.length双保险
- 核心:无 NVIDIA 独显 / nvidia-smi 不可用的机器上,后端 sampleGPUs 返回 nil slice,Go 序列化为
38215e9docs: 补录发布历史并刷新架构导航- 核心:CHANGELOG 补录 v0.2.6 / v0.2.5 / v0.2.3 条目(v0.2.4 从未发布,跳过);AGENTS.md 架构导航表同步 Chat 页、ModelDetail/ModelSettings 独立路由、core/router.go、core/i18n.go、tray/crossdevice 平台分支与 lib/ 模块清单
v0.2.6
v0.2.5
v0.2.3
v0.2.2
v0.2.1
llama-desktop v0.2.0
v0.2.0: 项目更名为 llama-desktop(仓库 llama-cpp-desktop)与 Wails v2.14.0 升级(v0.1.8 以来 3 个提交,按提交逐一说明核心改动):
2183371refactor(backend): 单参错误构造改用 errors.New 消除 vet 非常量格式串告警- 核心:core 包 6 处无格式化参数的 fmt.Errorf(tr(...)) 机械转换为 errors.New(tr(...))(app.go 2 处、engine.go 3 处、modelscope.go 1 处);tr() 返回运行时翻译串属非常量格式串,Go 1.24+ vet 新检查会拒绝该写法;消息文本与翻译参数零变化,纯等价转换
dcc359bchore(build): 升级 Wails v2.12.0 → v2.14.0(go directive 1.25.0)- 核心:go directive 1.22.0 → 1.25.0(v2.14.0 依赖声明强制),golang.org/x/* 间接依赖与 Wails CLI 同步升级至 v2.14.0;动机为 v2.14.0 修复 WebView2 引导程序下载失败时 nil pointer 崩溃(应用直接退出而非显示安装错误对话框),本项目用到的 options/runtime/embed API 无破坏性变更
fff4eefchore(build): 项目更名为 llama-desktop(仓库 llama-cpp-desktop,含旧配置无损迁移)- 核心:go module 与 wails.json 更名 llama-desktop(exe 与 NSIS ProductName/快捷方式随之变化);配置文件改名 llama-desktop-config.json,loadConfig 前置 migrateLegacyConfig,旧 llama-gui-config.json 整体迁移无损接续;主题与更新节流 localStorage 键写新读旧回退;HTTP User-Agent、应用内更新源与产物命名(llama-desktop-setup-/portable-vX.Y.Z-amd64.exe,llama-gui 三代旧命名资产仍兼容)、窗口标题/托盘 tooltip、CI 产物 glob 与全部文档统一新名称;GitHub 仓库同步重命名为 CodeNeow/llama-cpp-desktop,旧地址自动重定向
注:v0.2.0 起随项目更名重置发布历史——v0.1.x 全部 tag 与 Release 已删除,v0.2.0 为新名下首个发布。