diff --git a/desktop/go.mod b/desktop/go.mod index da48bbfb4..5c8c2a3a0 100644 --- a/desktop/go.mod +++ b/desktop/go.mod @@ -4,7 +4,7 @@ go 1.26.0 // gofmt output differs between releases (1.27 aligns long map keys differently), // so CI (setup-go reads this line) and local builds must format with one toolchain. -toolchain go1.27.3 +toolchain go1.27.4 require ( github.com/creack/pty v1.1.24 diff --git a/desktop/viva.toml b/desktop/viva.toml index d9493c663..a47ec8cdc 100644 --- a/desktop/viva.toml +++ b/desktop/viva.toml @@ -9,7 +9,7 @@ name = "Lithe Desktop" # A separate identity from the SwiftUI client (app.lithe.desktop), so both can be installed # while this client grows. id = "app.lithe.viva" -version = "0.8.13" +version = "0.8.14" executable = "lithe" package = "./cmd/lithe" # The full-bleed square of the SwiftUI client's icon; viva package shapes it into the macOS tile. diff --git a/docs/development/desktop-getting-started.md b/docs/development/desktop-getting-started.md index f64b07c44..a530a4071 100644 --- a/docs/development/desktop-getting-started.md +++ b/docs/development/desktop-getting-started.md @@ -47,21 +47,21 @@ Go 通过 cgo 静态链接 Rust 内核,所以**不能直接运行 `go build` | 工具 | 版本要求 | 用途 | | --- | --- | --- | | Git | 任意较新版本 | 克隆本仓库和 Lithe-core-rust | -| Go | **1.27.3**(`desktop/go.mod` 的 `toolchain` 行) | 编译桌面客户端 | +| Go | **1.27.4**(`desktop/go.mod` 的 `toolchain` 行) | 编译桌面客户端 | | Rust | **1.100.0**(仓库根目录 `rust-toolchain.toml` 固定),通过 rustup 安装 | 编译 Rust 内核 | | C 编译器 | 见各平台章节 | cgo 编译和链接 | | GNU make 和 Bash | — | 运行 `desktop/Makefile` 和 `scripts/desktop/*.sh` | | Node.js | 20.11 或更新,推荐当前 LTS | 只用于 i18n 和脚本检查,构建和运行客户端不需要 | -关于 Go 版本:不同 Go 版本的 `gofmt` 输出不同(1.27 对齐长 map 键的方式与 1.26 不一样),CI 用 `go.mod` 里的 1.27.3 检查格式。请安装 **Go 1.27.3**,并确认 `go` 和 `gofmt` 来自同一个安装: +关于 Go 版本:不同 Go 版本的 `gofmt` 输出不同(1.27 对齐长 map 键的方式与 1.26 不一样),CI 用 `go.mod` 里的 1.27.4 检查格式。请安装 **Go 1.27.4**,并确认 `go` 和 `gofmt` 来自同一个安装: ```bash cd desktop -go version # 应输出 go1.27.3 +go version # 应输出 go1.27.4 command -v go gofmt # 两者应在同一个目录 ``` -本机装的是更旧的 Go 时,`go` 命令会按 `toolchain` 行自动下载 1.27.3,但 `make fmt` 直接调用的 `gofmt` 仍是旧版本;装的是更新的 Go 时,`go` 不会降级。这两种情况都会导致本地格式化结果和 CI 不一致。 +本机装的是更旧的 Go 时,`go` 命令会按 `toolchain` 行自动下载 1.27.4,但 `make fmt` 直接调用的 `gofmt` 仍是旧版本;装的是更新的 Go 时,`go` 不会降级。这两种情况都会导致本地格式化结果和 CI 不一致。 关于 Rust 版本:仓库根目录的 `rust-toolchain.toml` 固定 Rust 版本,与 CI 和 Lithe-core-rust 一致。 @@ -79,7 +79,7 @@ command -v go gofmt # 两者应在同一个目录 # Xcode 命令行工具:提供 clang、make、git,以及 Rust 内核构建时 bindgen 需要的 libclang xcode-select --install -# Go 和 Node.js(以 Homebrew 为例;也可以从 https://go.dev/dl/ 下载 go1.27.3 安装包) +# Go 和 Node.js(以 Homebrew 为例;也可以从 https://go.dev/dl/ 下载 go1.27.4 安装包) brew install go node # Rust(官方安装脚本) @@ -122,8 +122,8 @@ Rust 内核在 Windows 上必须编成 `x86_64-pc-windows-gnu` 目标,因为 c # Git for Windows(提供 Git Bash) winget install --id Git.Git -e -# Go:从 https://go.dev/dl/ 下载 go1.27.3.windows-amd64.msi 安装。 -# winget 安装的是最新版,可能高于 1.27.3,见第二节“关于 Go 版本”。 +# Go:从 https://go.dev/dl/ 下载 go1.27.4.windows-amd64.msi 安装。 +# winget 安装的是最新版,可能高于 1.27.4,见第二节“关于 Go 版本”。 # rustup;首次运行 rustup-init 时按提示安装 Visual Studio 生成工具 winget install --id Rustlang.Rustup -e @@ -144,7 +144,7 @@ choco install mingw -y 打开一个新的 Git Bash 检查: ```bash -go version # go1.27.3 windows/amd64 +go version # go1.27.4 windows/amd64 rustc -vV | grep host # host: x86_64-pc-windows-msvc gcc --version mingw32-make --version @@ -222,11 +222,11 @@ Ubuntu 24.04 及更新版本中 `libglib2.0-0` 已改名为 `libglib2.0-0t64`, ### 2. 安装 Go、Rust 和 Node.js -发行版仓库里的 Go 通常不是 1.27.3,建议使用官方压缩包(arm64 机器把 `amd64` 换成 `arm64`): +发行版仓库里的 Go 通常不是 1.27.4,建议使用官方压缩包(arm64 机器把 `amd64` 换成 `arm64`): ```bash -curl -LO https://go.dev/dl/go1.27.3.linux-amd64.tar.gz -sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.27.3.linux-amd64.tar.gz +curl -LO https://go.dev/dl/go1.27.4.linux-amd64.tar.gz +sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.27.4.linux-amd64.tar.gz echo 'export PATH=/usr/local/go/bin:$PATH' >> ~/.bashrc curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh @@ -348,7 +348,7 @@ node scripts/i18n/generate-i18n.mjs --check # i18n 生成结果 **`make fmt-check` 在本地通过、CI 失败,或反过来** -本地 `gofmt` 不是 1.27.3,见第二节“关于 Go 版本”。 +本地 `gofmt` 不是 1.27.4,见第二节“关于 Go 版本”。 **首次构建长时间停在 `git clone` / `git fetch`,或下载依赖很慢** diff --git a/docs/releases/v0.8.14.md b/docs/releases/v0.8.14.md new file mode 100644 index 000000000..13bcd4419 --- /dev/null +++ b/docs/releases/v0.8.14.md @@ -0,0 +1,153 @@ +## 中文 + +Lithe Desktop 0.8.14 让远程开发可以用于日常工作:在 SSH 主机、WSL 发行版和 Docker/Podman 容器中打开项目后,可以编辑文件、使用终端、搜索、运行 Git 和程序。 + +### 下载 + +- [项目主页](https://github.com/1lck/Lithe-IDEA) +- [macOS Apple Silicon DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.14/lithe-0.8.14-darwin-arm64.dmg) +- [macOS Intel DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.14/lithe-0.8.14-darwin-amd64.dmg) +- [Windows x64 安装程序](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.14/lithe-0.8.14-windows-amd64-setup.exe) +- [全部下载文件与 SHA-256 校验文件](https://github.com/1lck/Lithe-IDEA/releases/tag/desktop-v0.8.14) + +### 重点更新 + +连接 Linux 主机后,项目文件、终端、搜索、Git 和运行都在主机上进行,Lithe 和插件仍在本机。 + +#### ✨ 新功能 + +- 在远程工作区打开、编辑、保存和比较主机上的文件,主机上的修改会同步到项目树和已打开的文档。 +- 远程工作区的终端在主机上运行。 +- 在文件中查找、全局搜索和全部替换直接处理主机上的文件。 +- 信任远程文件夹后,Git 在主机上运行,也可以打开和新建 Git 工作树。 +- 在主机上运行程序和脚本运行配置及其执行前步骤,断线重连后输出继续显示。 +- 关闭远程工作区时,可以把仍在运行的进程留在主机上,下次连接后在运行窗口接回。 +- 新增“端口”工具窗口,列出主机正在监听的端口并按需转发到本机,支持主机侧转发规则和反向转发。默认不自动转发,标签、规则和未停止的转发会在重连或重新打开后恢复。 +- 在 Windows 上,远程开发窗口列出本机的 WSL 发行版,可直接作为远程工作区打开。 +- 进入本机、SSH 主机或 WSL 发行版上正在运行的 Docker/Podman 容器,也可以从本机文件夹中的 `devcontainer.json` 构建并打开 Dev Container。 +- 通过状态栏的连接菜单打开工作区以外的主机文件,这些文件以只读方式打开。 +- 在“设置 → 工具 → 远程工作区”中指定 SSH 程序、断线重连时长,以及关闭时如何处理主机上的进程。 + +#### ⚡ 改进 + +- 远程开发窗口重新设计。没有保存的连接时可以直接快速连接,可从 Motty 或 `~/.ssh/config` 导入主机,连接过程分步显示,SSH 询问直接在窗口中回答。 +- 第一次打开远程文件夹时会询问是否信任,“设置 → 工具 → 可信位置”按连接列出远程工作区的信任记录并可删除。 +- 连接支持 Windows 域用户(`DOMAIN\name`、`name@domain`),从 Motty 导入时会在对应字段标出不能导入的设置。 + +#### 🛠 修复 + +- 修复 Windows 普通账户在只有“修改”权限的项目中保存已有运行配置时提示拒绝访问的问题。 +- 设置文件无法读取时,启动后会提示已改用默认设置,并在下次保存时说明原文件的备份位置。 +- 修复窗口异常退出后进程无法结束的问题,未保存的编辑会存为恢复草稿。 +- 连接未安装的 WSL 发行版时说明无法连接,用户不存在等其他失败会显示 `wsl.exe` 给出的消息。 + +#### 🔌 插件需要的新宿主能力 + +以下插件版本需要本版新增的宿主方法及其权限,Lithe 0.8.13 及更早的版本不认识这些权限,会拒绝安装。 + +- [Gradle](https://github.com/Lithe-IDEA/lithe-plugin-gradle) 2.0.2(尚未发布)需要宿主方法 `build/getOptions`(权限 `build.options.read`)和 `build/watchConfiguration`(权限 `build.configuration.watch`),用于把工具栏的离线模式、Gradle 用户目录和 `gradle.properties` 中的设置交给 Java 导入,并在这些配置变化后刷新导入。 + +### 升级说明 + +- 可从标题栏的更新入口或“设置 → 关于”检查更新,也可以下载完整安装包。 +- macOS 用户打开对应架构的 DMG,将 `Lithe Desktop.app` 拖入“应用程序”。 +- Homebrew 配方更新后,运行 `brew update && brew upgrade --cask lithe`。 +- Windows 用户运行 x64 安装程序,从 Windows 0.8.0 升级时请手动下载安装。 +- 全部下载文件中提供 Linux x64、ARM64 的 DEB、RPM 和 tar.gz。 + +### 兼容性与已知问题 + +- macOS 最低要求 13.0。Windows 提供 x64 安装包,Linux 需要兼容的运行库和图形环境。 +- macOS 安装包使用临时签名,Windows 安装包无发行者签名。系统可能显示安全提示。 +- 远程开发只支持 x86_64 和 arm64 的 Linux 主机。SSH 连接使用本机的 OpenSSH,WSL 只能在 Windows 上使用,Dev Container 需要本机安装 Dev Container CLI,且只能在本机构建。[#2231](https://github.com/1lck/Lithe-IDEA/issues/2231) +- 远程工作区暂不启动语言服务器,调试、测试、构建工具以及插件提供的运行配置和执行前任务暂不可用,“在新窗口打开”和“在文件浏览器中显示”也暂不可用。[#2231](https://github.com/1lck/Lithe-IDEA/issues/2231) +- 远程 Git 推送和拉取时的凭据询问暂不显示在窗口中,仓库根目录位于所打开文件夹上级时暂不支持。 +- Windows 首次导入 Gradle 项目时,如果 Wrapper 尚未下载且探测超时,可在项目目录运行 `gradlew.bat --version` 等待下载完成,再回到 Lithe 重试。 +- 在 Windows 11 ARM64 上运行 x64 版时,Spring Petclinic 的 Gradle 调试因 Java 语言服务器请求超时而未能启动。 +- 以 `build.xml` 为根的 Apache Ant 工程仍有项目导入、调试和源码跳转缺口。[#1761](https://github.com/1lck/Lithe-IDEA/issues/1761) + +如果 macOS 提示无法打开 `Lithe Desktop.app`,请在“应用程序”中按住 Control 点按应用并选择“打开”。如果仍被阻止,可执行 `xattr -dr com.apple.quarantine "/Applications/Lithe Desktop.app"`。旧版 `Lithe.app` 使用 `xattr -dr com.apple.quarantine /Applications/Lithe.app`。仅对可信来源的应用使用。 + +[查看完整变更](https://github.com/1lck/Lithe-IDEA/compare/desktop-v0.8.13...desktop-v0.8.14) + +--- + +## English + +Lithe Desktop 0.8.14 makes remote development ready for daily work. Open a project on an SSH host, a WSL distribution, or a Docker or Podman container, then edit files, use the terminal, search, and run Git and programs there. + +### Downloads + +- [Project homepage](https://github.com/1lck/Lithe-IDEA) +- [macOS Apple Silicon DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.14/lithe-0.8.14-darwin-arm64.dmg) +- [macOS Intel DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.14/lithe-0.8.14-darwin-amd64.dmg) +- [Windows x64 installer](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.14/lithe-0.8.14-windows-amd64-setup.exe) +- [All downloads and SHA-256 checksums](https://github.com/1lck/Lithe-IDEA/releases/tag/desktop-v0.8.14) + +### Highlights + +Once you connect to a Linux host, project files, the terminal, search, Git, and runs all happen on the host, while Lithe and its plugins stay on your computer. + +#### ✨ New features + +- Open, edit, save, and compare host files in a remote workspace. Changes made on the host update the project tree and open documents. +- Terminals in a remote workspace run on the host. +- Find in Files, Search Everywhere, and Replace All work directly on host files. +- After you trust a remote folder, Git runs on the host, and you can open and create Git worktrees. +- Run program and script run configurations and their before-launch steps on the host. Output continues after a reconnect. +- When you close a remote workspace, you can keep its running processes on the host and take them back in the Run window the next time you connect. +- The new Ports tool window lists the ports the host listens on and forwards them to your computer on request, with host-side forwarding rules and reverse forwarding. Nothing is forwarded automatically, and labels, rules, and active forwards come back after a reconnect or reopen. +- On Windows, the Remote Development window lists your WSL distributions and opens one as a remote workspace. +- Enter a running Docker or Podman container on your computer, an SSH host, or a WSL distribution, or build and open a Dev Container from a `devcontainer.json` in a local folder. +- Open host files outside the workspace from the connection menu in the status bar. These files open read-only. +- Choose the SSH program, the reconnect duration, and what happens to host processes on close in Settings → Tools → Remote Workspace. + +#### ⚡ Improvements + +- The Remote Development window has a new design. With no saved connections you can connect right away, import hosts from Motty or `~/.ssh/config`, follow each connection step, and answer SSH prompts in the window. +- Opening a remote folder for the first time asks whether to trust it, and Settings → Tools → Trusted Locations lists and removes the trust records of remote workspaces by connection. +- Connections accept Windows domain users (`DOMAIN\name`, `name@domain`), and a Motty import marks each setting it cannot import on its own field. + +#### 🛠 Fixes + +- Fixes “Access is denied” when a standard Windows account with Modify access saves an existing run configuration. +- When the settings file cannot be read, Lithe now says at startup that it uses the default settings and names the backup of the original file on the next save. +- Fixes the process not exiting after its window loop ends unexpectedly. Unsaved edits are kept as recovery drafts. +- Connecting to a WSL distribution that is not installed now says it cannot be reached, and other failures such as an unknown user show the message from `wsl.exe`. + +#### 🔌 New host capabilities that plugins need + +These plugin versions need host methods and permissions added in this release. Lithe 0.8.13 and earlier do not know these permissions and refuse to install them. + +- [Gradle](https://github.com/Lithe-IDEA/lithe-plugin-gradle) 2.0.2 (not yet published) needs the host methods `build/getOptions` (permission `build.options.read`) and `build/watchConfiguration` (permission `build.configuration.watch`) to pass the toolbar's offline mode, Gradle user home, and `gradle.properties` settings to the Java import, and to refresh the import when they change. + +### Upgrade instructions + +- Check for updates from the title bar or Settings → About, or download a full installer. +- On macOS, open the DMG for your processor and drag `Lithe Desktop.app` to Applications. +- With Homebrew, run `brew update && brew upgrade --cask lithe` once the cask update is available. +- On Windows, run the x64 installer. Windows 0.8.0 users should download and install it manually. +- Linux downloads include DEB, RPM, and tar.gz packages for x64 and ARM64. + +### Compatibility and known issues + +- macOS requires 13.0 or newer. Windows packages target x64. Linux requires compatible libraries and a graphical environment. +- macOS packages use ad hoc signing. Windows installers have no publisher signature. Your system may show security prompts. +- Remote development supports x86_64 and arm64 Linux hosts only. SSH connections use the OpenSSH on your computer, WSL is available only on Windows, and Dev Containers need the Dev Container CLI installed on your computer and build only there. [#2231](https://github.com/1lck/Lithe-IDEA/issues/2231) +- Remote workspaces do not start language servers yet. Debugging, tests, build tools, and plugin-provided run configurations and before-launch tasks are not available yet, and neither are Open in New Window and Reveal in File Manager. [#2231](https://github.com/1lck/Lithe-IDEA/issues/2231) +- Credential prompts from remote Git push and pull are not shown in the window yet, and repositories whose root is above the opened folder are not supported yet. +- On Windows, a Gradle project can time out during its first import if its Wrapper distribution still needs to download. Run `gradlew.bat --version` in the project directory, wait for it to finish, and retry in Lithe. +- Gradle debugging for Spring Petclinic could not start in the x64 app on Windows 11 ARM64 because the Java language server request timed out. +- Apache Ant projects rooted at `build.xml` still have gaps in project import, debugging, and source navigation. [#1761](https://github.com/1lck/Lithe-IDEA/issues/1761) + +If macOS cannot open `Lithe Desktop.app`, Control-click it in Applications and choose Open. If it is still blocked, run `xattr -dr com.apple.quarantine "/Applications/Lithe Desktop.app"` in Terminal. For the older `Lithe.app`, use `xattr -dr com.apple.quarantine /Applications/Lithe.app`. Use these commands only for an app from a source you trust. + +[Full changelog](https://github.com/1lck/Lithe-IDEA/compare/desktop-v0.8.13...desktop-v0.8.14) + +### 🙌 感谢贡献者 + +感谢 [@1lck](https://github.com/1lck) 和 [@xiaoyumuxi](https://github.com/xiaoyumuxi)。 + +### 🙌 Contributors + +Thanks to [@1lck](https://github.com/1lck) and [@xiaoyumuxi](https://github.com/xiaoyumuxi). diff --git a/scripts/desktop/build-desktop-core.sh b/scripts/desktop/build-desktop-core.sh index 18c7b9bc8..de53d92d2 100755 --- a/scripts/desktop/build-desktop-core.sh +++ b/scripts/desktop/build-desktop-core.sh @@ -341,10 +341,12 @@ PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" # status; #165 ending a remote session releases the search indexes it built (#2231, #2277). # Lithe-core-rust main at 18feb4a: #167 remote.attachProcess takes back a process of a resumed or # kept host session (#2231). -# Lithe-core-rust #169 at edad041, until it is merged: a WSL connection reads what wsl.exe printed -# on standard output, so a distribution that is not installed is unreachable and other failures -# keep its message (#2231). -PINNED_CORE_REVISION="edad0419872837674fdee72124da37f81360767e" +# Lithe-core-rust main at 3cb3c5b: #169 (eeebb58) a WSL connection reads what wsl.exe printed on +# standard output, so a distribution that is not installed is unreachable and other failures keep +# its message (#2231); #170 (1f05cfe) only fixes the Windows clippy CI step and a test; #171 moves +# the Go plugin SDK to Go 1.27.4 like the desktop. The Rust sources are the same as #169's branch +# commit edad041 that the desktop pinned before. +PINNED_CORE_REVISION="3cb3c5b9bc0f1b17b0fcd863a1318cd550ccf20a" PROFILE="debug" CHECKOUT_ONLY="no" while [[ $# -gt 0 ]]; do diff --git a/shared/platform-feature-matrix/features/settings-about-page.json b/shared/platform-feature-matrix/features/settings-about-page.json index 03893a6fb..0e6d50d8a 100644 --- a/shared/platform-feature-matrix/features/settings-about-page.json +++ b/shared/platform-feature-matrix/features/settings-about-page.json @@ -17,6 +17,7 @@ "scripts/desktop/generate-desktop-icons.sh", "desktop/internal/buildinfo/buildinfo.go", "desktop/viva.toml", + "desktop/go.mod", "desktop/internal/buildinfo/stable.go", "desktop/internal/buildinfo/preview.go", "desktop/internal/workbench/welcome_view.go", @@ -38,6 +39,7 @@ "scripts/desktop/generate-desktop-icons.sh", "desktop/internal/buildinfo/buildinfo.go", "desktop/viva.toml", + "desktop/go.mod", "desktop/internal/buildinfo/stable.go", "desktop/internal/buildinfo/preview.go", "desktop/internal/workbench/welcome_view.go", @@ -47,6 +49,6 @@ }, "owner": "Settings", "releaseSource": "只有 Desktop Release 为 desktop-v<版本> 标签的提交打包时传 package-desktop.sh --stable(lithe_stable 构建标签),应用内显示不带“预览版”的版本号,package-release.sh 校验每个打包程序都带这个标签;desktop-AutoBuild、本地打包和 go run 都显示“<版本> 预览版”。", - "verification": "发布验收:在 macOS 和 Windows 的正式包中核对欢迎页、关于页和复制的版本信息均与对应桌面发布标签的版本号一致,且均无预览版标识;同版本的本地构建仍显示预览版。无头窗口测试覆盖:关于页排在 AI 之后、面包屑只有“关于”;预览版显示“0.7.0 预览版”;QQ 群、Issue、Rust Core 和 Viva 上游链接打开对应地址;复制成功与失败(失败时显示原因并上报);版本信息与更新卡片“已是最新”在正式版和预览版下的文字;复制内容与平台、构建、运行时的读取(打包写入的提交与时间优先,含未记录提交和时间不可读)。macOS 生成了中英文、浅色和深色的无头截图(36-settings-about,以及滚到项目卡片的 36-settings-about-projects)。运行 scripts/desktop/desktop-go.sh test -race ./internal/settingswindow ./internal/workbench -run 'TestAbout|TestUpdateLineSays|TestWelcomeTitleAndVersion'。真实窗口、Windows 实机和正式版安装包上的标识尚未验收。", - "notes": "Viva 设置侧栏在 AI 之后增加一级页面“关于”:顶部是图标、名称、简介和复制按钮(复制版本、平台、构建与运行时,用于提交 Issue);“版本信息”显示版本、平台、构建(提交与日期)和 Go 运行时;“更新”是完整的更新设置:自动检查更新、更新渠道、发布源(保存与恢复默认)和立即检查,不再重复当前版本与构建;“加入交流”有 QQ 群 163027877 与微信群(飞书页面);“项目”有源码仓库、Issue、Rust Core(Lithe-IDEA/Lithe-core-rust)和 Viva 上游(vivaui/viva,图标是 Viva 标志,由 generate-desktop-icons.sh 从固定版本的 Viva 源码编译)。不显示 Core C ABI 版本。版本号来自 desktop/viva.toml;欢迎页、关于页和复制内容都按同一规则显示正式版或预览版。2026-11-18:外观与行为下的独立“更新”页删除,更新设置整体迁入关于页。" + "verification": "发布验收:在 macOS 和 Windows 的正式包中核对欢迎页、关于页和复制的版本信息均与对应桌面发布标签的版本号一致,且均无预览版标识;版本信息和复制内容里的 Go 运行时与 desktop/go.mod 的 toolchain 行一致;同版本的本地构建仍显示预览版。无头窗口测试覆盖:关于页排在 AI 之后、面包屑只有“关于”;预览版显示“0.7.0 预览版”;QQ 群、Issue、Rust Core 和 Viva 上游链接打开对应地址;复制成功与失败(失败时显示原因并上报);版本信息与更新卡片“已是最新”在正式版和预览版下的文字;复制内容与平台、构建、运行时的读取(打包写入的提交与时间优先,含未记录提交和时间不可读)。macOS 生成了中英文、浅色和深色的无头截图(36-settings-about,以及滚到项目卡片的 36-settings-about-projects)。运行 scripts/desktop/desktop-go.sh test -race ./internal/settingswindow ./internal/workbench -run 'TestAbout|TestUpdateLineSays|TestWelcomeTitleAndVersion'。真实窗口、Windows 实机和正式版安装包上的标识尚未验收。", + "notes": "Viva 设置侧栏在 AI 之后增加一级页面“关于”:顶部是图标、名称、简介和复制按钮(复制版本、平台、构建与运行时,用于提交 Issue);“版本信息”显示版本、平台、构建(提交与日期)和 Go 运行时;“更新”是完整的更新设置:自动检查更新、更新渠道、发布源(保存与恢复默认)和立即检查,不再重复当前版本与构建;“加入交流”有 QQ 群 163027877 与微信群(飞书页面);“项目”有源码仓库、Issue、Rust Core(Lithe-IDEA/Lithe-core-rust)和 Viva 上游(vivaui/viva,图标是 Viva 标志,由 generate-desktop-icons.sh 从固定版本的 Viva 源码编译)。不显示 Core C ABI 版本。版本号来自 desktop/viva.toml;Go 运行时是 runtime.Version(),即构建所用的工具链,CI 的 setup-go 按 desktop/go.mod 的 toolchain 行安装;欢迎页、关于页和复制内容都按同一规则显示正式版或预览版。2026-11-18:外观与行为下的独立“更新”页删除,更新设置整体迁入关于页。" }