From bdbae8244a28ac672e9c3e8204545c0f56a87f65 Mon Sep 17 00:00:00 2001 From: renyuanz Date: Thu, 19 Nov 2026 20:09:39 +0800 Subject: [PATCH] chore: release 0.28.0 Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 12 +++--- Cargo.toml | 2 +- docs/releases/2026-11-19-0.28.0.md | 50 ++++++++++++++++++++++ packages/desktop/src-tauri/Cargo.lock | 2 +- packages/desktop/src-tauri/tauri.conf.json | 2 +- 5 files changed, 59 insertions(+), 9 deletions(-) create mode 100644 docs/releases/2026-11-19-0.28.0.md diff --git a/Cargo.lock b/Cargo.lock index 730fb148..8d93f105 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1441,7 +1441,7 @@ dependencies = [ [[package]] name = "offdesk-cli" -version = "0.27.1" +version = "0.28.0" dependencies = [ "base64", "clap", @@ -1467,7 +1467,7 @@ dependencies = [ [[package]] name = "offdesk-hub" -version = "0.27.1" +version = "0.28.0" dependencies = [ "axum", "base64", @@ -1517,7 +1517,7 @@ dependencies = [ [[package]] name = "offdesk-machine" -version = "0.27.1" +version = "0.28.0" dependencies = [ "base64", "bytes", @@ -1553,7 +1553,7 @@ dependencies = [ [[package]] name = "offdesk-preview-transport" -version = "0.27.1" +version = "0.28.0" dependencies = [ "futures", "offdesk-protocol", @@ -1564,7 +1564,7 @@ dependencies = [ [[package]] name = "offdesk-protocol" -version = "0.27.1" +version = "0.28.0" dependencies = [ "bytes", "dirs", @@ -1576,7 +1576,7 @@ dependencies = [ [[package]] name = "offdesk-secure" -version = "0.27.1" +version = "0.28.0" dependencies = [ "base64", "futures", diff --git a/Cargo.toml b/Cargo.toml index 26f67897..42a591a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ resolver = "2" # packages/desktop/src-tauri/tauri.conf.json before tagging vX.Y.Z, or the # Release workflow refuses the tag (docs/releasing.md). [workspace.package] -version = "0.27.1" +version = "0.28.0" [workspace.dependencies] serde = { version = "1", features = ["derive"] } diff --git a/docs/releases/2026-11-19-0.28.0.md b/docs/releases/2026-11-19-0.28.0.md new file mode 100644 index 00000000..006ba95b --- /dev/null +++ b/docs/releases/2026-11-19-0.28.0.md @@ -0,0 +1,50 @@ +# 0.28.0: files for an agent, saved on its machine + +Release scope: everything ships in the one release `v0.28.0`, upgrading from +0.27.1: + +- the Hub, node and CLI; +- the desktop app for macOS, Windows and Linux; +- the Android app; +- iOS, through TestFlight. + +Only the Hub changed. The node, the CLI and the apps are rebuilt at the new +version with no other changes. + +## Changes + +- **Files for a run's agent, saved on its machine** (#655, OFF-143). + - New bridge commands `upload_begin`, `upload_chunk` and `upload_end`, and + `POST /api/agent-runs/{id}/files/begin|chunk|end` for tokens with + `runs:message`, save a file of up to 100 MB in + `~/.offdesk/attachments/` on the run's machine, through the node's + existing file transfer (`fs-ops-v1`). The answer is the file's path, for + the message to name; a name already there is kept and the new file gets + another. + - Chunks go one at a time and in order. A failed chunk ends the upload. A + node without `fs-ops-v1` answers 503, an ended run 409, a file too large + 413. + - Each upload counts toward the bridge's `max_answers_per_hour`, and + `upload_end` is audited. Chunk data is never logged. + - offdesk.so uses it to attach pictures, recordings and files to a message + for an agent; it hides attachments for Hubs older than 0.28.0. + +## Upgrading + +- Update the Hub on each machine (the desktop app updates its bundled one). + Nothing else needs to change first. + +## Validation and publication + +- Run CI on the release preparation, then merge and tag `v0.28.0` on the + merge commit. The Release workflow checks the tag, builds every component + into the draft, and publishes the release once every asset and + `latest.json` are in place. +- Check that `updater-channel` and `mirror` uploaded rather than skipped. +- After publishing: + - Check that `https://offdesk.dev/updates/desktop/latest.json` and GitHub's + `desktop-latest/latest.json` name 0.28.0. + - With a Hub on 0.28.0 paired to offdesk.so, attach a file to a message for + an agent and check it lands in `~/.offdesk/attachments/`. + - Offer the iOS build to testers with `TestFlight Release Distribution` + (`release_tag` `v0.28.0`). diff --git a/packages/desktop/src-tauri/Cargo.lock b/packages/desktop/src-tauri/Cargo.lock index 49b4ff20..e2021d5d 100644 --- a/packages/desktop/src-tauri/Cargo.lock +++ b/packages/desktop/src-tauri/Cargo.lock @@ -3071,7 +3071,7 @@ dependencies = [ [[package]] name = "offdesk-secure" -version = "0.27.1" +version = "0.28.0" dependencies = [ "base64 0.22.1", "futures", diff --git a/packages/desktop/src-tauri/tauri.conf.json b/packages/desktop/src-tauri/tauri.conf.json index 325636b8..3b3e74f1 100644 --- a/packages/desktop/src-tauri/tauri.conf.json +++ b/packages/desktop/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "productName": "Offdesk Dev", - "version": "0.27.1", + "version": "0.28.0", "identifier": "dev.offdesk.desktop", "build": { "frontendDist": "../../app/dist",