diff --git a/package.json b/package.json index 8dfd1f9e..f655a16a 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.26", + "version": "2026.10.27", "type": "module", "packageManager": "pnpm@11.13.0", "scripts": { diff --git a/release-notes/2026.10.27.md b/release-notes/2026.10.27.md new file mode 100644 index 00000000..9749fdcf --- /dev/null +++ b/release-notes/2026.10.27.md @@ -0,0 +1,26 @@ +**Upgrade notes:** +- The bundled core is now 0.80.0. The control-plane protocol stays at 51, so a remote server running core 0.79.0 still connects; the refused requests described below appear only with 0.80.0. +- Nothing is cleared; the request history, stored payloads and settings carry over. + +**Refused requests show up in Traffic:** +- A request whose model name does not exist, is not allowed for its key, or whose alias or specified model does not resolve now appears in Traffic as "Model unavailable". The request details give the model name and the reason. +- A request that no rule decided on, or one made before any upstream is added, appears as "Not routed". +- Requests without a valid gateway key are still not recorded. + +**Interface size:** +- Settings > General has Interface size: 90%, 100%, 110%, 125% or 150%. The whole interface scales, including the update and connection windows. +- Cmd (Ctrl on Windows and Linux) with = enlarges, with - reduces, and with 0 resets to 100%. +- The size is kept on each computer and is not synced. + +**Clients:** +- Clients can be reordered by dragging the handle at the start of a row, or with Move up and Move down in the row menu. Alt+Up and Alt+Down move the focused row. The order is kept on this computer, and clients in WSL follow the same order. +- On Windows, the WSL notes now say that mirrored networking is a WSL setting. On Windows 10 and Windows 11 21H2 they explain that WSL uses NAT, so the gateway on Windows cannot be reached from inside WSL, and that WSL's mirrored networking mode needs Windows 11 22H2 or later. + +**Menu bar (macOS):** +- The numbers next to the menu bar icon use 9 pt regular type, matching other menu bar readouts. + +**Gateway keys:** +- The usage limits hint in the key dialog says that a full minute or hour limit makes requests wait, and only a used-up day, week or month limit rejects them until it resets. + +**Security:** +- The app and the core use `rustls-webpki` 0.103.16 (RUSTSEC-2026-0382) and `webpki-root-certs` 1.0.10 (RUSTSEC-2026-0383). diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 270118b8..d04e3fb6 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -3693,9 +3693,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "ring", "rustls-pki-types", @@ -4833,7 +4833,7 @@ dependencies = [ [[package]] name = "thinkwatch-lite" -version = "2026.10.26" +version = "2026.10.27" dependencies = [ "anyhow", "base64 0.22.1", @@ -5338,8 +5338,8 @@ dependencies = [ [[package]] name = "tw-api" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "serde", "serde_json", @@ -5350,8 +5350,8 @@ dependencies = [ [[package]] name = "tw-dialect" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "memchr", "serde", @@ -5360,8 +5360,8 @@ dependencies = [ [[package]] name = "tw-guard" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "aho-corasick", "base64 0.22.1", @@ -5379,8 +5379,8 @@ dependencies = [ [[package]] name = "tw-link" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "serde", "serde_json", @@ -5406,8 +5406,8 @@ dependencies = [ [[package]] name = "tw-types" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "serde", "ts-rs", @@ -5415,8 +5415,8 @@ dependencies = [ [[package]] name = "tw-watch" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "libc", "notify", @@ -5426,8 +5426,8 @@ dependencies = [ [[package]] name = "tw-yaml" -version = "0.79.0" -source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.79.0#5c1dd4ba472ad60045cf957fac7a1b1c3630b540" +version = "0.80.0" +source = "git+https://github.com/ThinkWatchProject/ThinkWatch-Core.git?tag=v0.80.0#c876eef8362711f99c81ddab52ae66c54b98ca90" dependencies = [ "saphyr-parser", "thiserror 2.0.21", @@ -5822,9 +5822,9 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +checksum = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb" dependencies = [ "rustls-pki-types", ] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f6784fb4..30c66172 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thinkwatch-lite" -version = "2026.10.26" +version = "2026.10.27" edition = "2024" # **这个数决定依赖能升到哪一版。**edition 2024 的解析器只挑声明的 Rust # 版本编得动的依赖:写 1.85 的时候,`cargo update` 一直停在旧的 time 和 @@ -26,12 +26,12 @@ license = "MIT" # twcore 二进制必须和这里编译进去的协议镜像来自同一个 core 版本 —— 打包脚本正是 # 从 tw-api 锁到的 tag 去取二进制的(见 scripts/fetch-core.sh)。 [workspace.dependencies] -tw-api = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.79.0" } -tw-types = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.79.0" } -tw-yaml = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.79.0" } -tw-guard = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.79.0" } -tw-watch = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.79.0" } -tw-link = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.79.0" } +tw-api = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.80.0" } +tw-types = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.80.0" } +tw-yaml = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.80.0" } +tw-guard = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.80.0" } +tw-watch = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.80.0" } +tw-link = { git = "https://github.com/ThinkWatchProject/ThinkWatch-Core.git", tag = "v0.80.0" } [lib] name = "thinkwatch_lite_lib" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f4f2b44d..a3b110f7 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.26", + "version": "2026.10.27", "identifier": "app.thinkwatch.lite", "build": { "beforeDevCommand": "pnpm dev",