From d09008f23fd0852d81ea03572ba4f2c3611237ea Mon Sep 17 00:00:00 2001 From: fylorn <249551762+fylorn@users.noreply.github.com> Date: Sun, 4 Oct 2026 15:56:50 +0800 Subject: [PATCH] chore: 2026.10.3 Co-Authored-By: Claude Opus 5.5 --- package.json | 2 +- release-notes/2026.10.2.md | 2 +- release-notes/2026.10.3.md | 11 +++++++++++ src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 6 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 release-notes/2026.10.3.md diff --git a/package.json b/package.json index dde7814..34ff1ec 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "thinkwatch-lite", "private": true, "description": "Desktop app for a local AI API gateway on macOS, Windows and Linux", - "version": "2026.10.2", + "version": "2026.10.3", "type": "module", "packageManager": "pnpm@11.13.0", "scripts": { diff --git a/release-notes/2026.10.2.md b/release-notes/2026.10.2.md index d1cb9af..3c38ccb 100644 --- a/release-notes/2026.10.2.md +++ b/release-notes/2026.10.2.md @@ -1,7 +1,7 @@ **Upgrade notes:** - The bundled core is now 0.60.0, which speaks control-plane protocol 36. A remote server has to run core 0.60.0 too: this version does not connect to 0.59.0, and 2026.10.1 and earlier do not connect to 0.60.0. - Request history is kept. -- Auxiliary requests have two modes now (see *Auxiliary requests*). If a kind under Routing › Auxiliary was ever set to Pass through or Use routing, `config.yaml` holds `passthrough` or `route` for it under `client_probes:`. Core does not start with either, and the app runs in safe mode until each one is changed to `forward` or its line is deleted. Kinds that were never changed are not in the file and are not affected. +- Auxiliary requests have two modes now (see *Auxiliary requests*). If a kind under Routing › Auxiliary was ever set to Pass through or Use routing, `config.yaml` holds `passthrough` or `route` for it under `client_probes:`. Core does not start with either, and the app shows that core is not running until each one is changed to `forward` or its line is deleted. 2026.10.3 shows the line at fault and repairs it in one click. Kinds that were never changed are not in the file and are not affected. - Release files are now named `ThinkWatch-Lite---…`. Installed copies keep updating as before. **Auxiliary requests:** diff --git a/release-notes/2026.10.3.md b/release-notes/2026.10.3.md new file mode 100644 index 0000000..9ed1f53 --- /dev/null +++ b/release-notes/2026.10.3.md @@ -0,0 +1,11 @@ +**Upgrade notes:** +- The bundled core is now 0.61.0, which speaks control-plane protocol 37. A remote server has to run core 0.61.0 too: this version does not connect to 0.60.0, and 2026.10.2 and earlier do not connect to 0.61.0. +- Request history is kept. +- If 2026.10.2 showed "core is not running" after the update because `config.yaml` still set `passthrough` or `route` under `client_probes:`, this version shows the line at fault and repairs it in one click. + +**Configuration errors:** +- When core cannot read `config.yaml`, the app shows the file, the line, the reason and the line itself, instead of "core is not running". Core runs in safe mode: client requests are not forwarded, and the configuration can still be edited and rolled back. +- One-click repair: a value outside its choices goes back to its default, and an unknown field is removed. The changes are listed before they are made, and the previous version is kept in Version history. The same repair is offered when an edit to the file is refused while the gateway keeps running on the previous version. +- Once a working configuration is saved in safe mode, the gateway starts forwarding again on its own. +- A value outside its choices and a misspelled field, the two commonest mistakes, are described in the interface language. +- When core still cannot start, the app shows the reason core gave. diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 0821e58..80b6a66 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4756,7 +4756,7 @@ dependencies = [ [[package]] name = "thinkwatch-lite" -version = "2026.10.2" +version = "2026.10.3" dependencies = [ "anyhow", "block2", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 8ccacad..ad5f076 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thinkwatch-lite" -version = "2026.10.2" +version = "2026.10.3" edition = "2024" # **这个数决定依赖能升到哪一版。**edition 2024 的解析器只挑声明的 Rust # 版本编得动的依赖:写 1.85 的时候,`cargo update` 一直停在旧的 time 和 diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 40e86c9..5ff3a7d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "ThinkWatch Lite", - "version": "2026.10.2", + "version": "2026.10.3", "identifier": "app.thinkwatch.lite", "build": { "beforeDevCommand": "pnpm dev",