- feat(process): comprehensive cross-platform Node.js path discovery, supporting 9 version managers (nvm, nvm-windows, fnm, volta, asdf, mise, n, Homebrew, Scoop) across macOS, Linux, and Windows for reliable agent preflight. - fix(process): use semver-aware sorting for Node.js version selection to prevent older versions being chosen over newer ones (e.g. v20.9 incorrectly ranked above v20.11). - fix(process): harden Node.js path discovery for production readiness with improved error handling and edge-case resilience. - fix(settings): remove ineffective max reasoning effort level for Claude Code. - fix(ci): replace softprops/action-gh-release with gh CLI for server asset upload. - fix(windows): improve fnm Node path discovery with correct platform-specific default directories. (thanks @Kwensiu, #75) ----------------------------- # 发布版本 0.8.9 - 功能(进程):全面的跨平台 Node.js 路径发现,支持 9 种版本管理器(nvm、nvm-windows、fnm、volta、asdf、mise、n、Homebrew、Scoop),覆盖 macOS、Linux 和 Windows,确保代理预检可靠找到 Node.js; - 修复(进程):使用语义化版本排序选择 Node.js 版本,避免旧版本被错误优先选择(如 v20.9 被排在 v20.11 之前); - 修复(进程):增强 Node.js 路径发现的生产环境健壮性,改进错误处理和边界情况适应能力; - 修复(设置):移除 Claude Code 中无效的最大推理力度级别选项; - 修复(CI):将服务器产物上传从 softprops/action-gh-release 替换为 gh CLI; - 修复(Windows):改进 fnm Node 路径发现,使用正确的平台特定默认目录。(感谢 @Kwensiu,#75)
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "codeg",
|
|
"version": "0.8.9",
|
|
"identifier": "app.codeg",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:3000",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"frontendDist": "../out"
|
|
},
|
|
"app": {
|
|
"windows": [],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"createUpdaterArtifacts": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": {
|
|
"../out": "web/"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDQ4OEM3NkMyMTVENjdBODgKUldTSWV0WVZ3bmFNU0NnSzhpdFg2bXFmMHFidWd1eWpuZ2Y2WmU5QmVXdWVrU0ZpOCt2dnd6WW4K",
|
|
"endpoints": [
|
|
"https://github.com/xintaofei/codeg/releases/latest/download/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
}
|
|
}
|