From eff35ec52255c2ac211a1ae1bf970f524e775aee Mon Sep 17 00:00:00 2001 From: Ruslan Strazhnyk Date: Mon, 3 Aug 2026 00:20:18 +0200 Subject: [PATCH] =?UTF-8?q?release:=20v1.22.1=20=E2=80=94=20ship=20the=20Q?= =?UTF-8?q?UA-1580=20cloud=20MCP=20routing=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The QUA-1580 fix merged on 2026-07-28 but has never been released. The newest tag, v1.22.0, points at 29a5fd2 — the commit immediately before it — so `main` has been exactly two commits ahead of every published build, and those two commits are the fix. Because the installer resolves `releases/latest`, every user installing qmax-code since then has received a binary whose `serve --mcp` still calls the REST API directly: tool calls set no trace context (no session history at all) and return UI-shaped payloads carrying every script's full source, which no server-side response budget can reach. Verified against the tags: none of v1.20.8, v1.20.9, v1.21.0, v1.21.1, v1.21.2 or v1.22.0 contains 8f816d2. Changelog entry + version constant only; no functional change. CI is green on 56a5940, the commit this is based on. Refs QUA-1725, QUA-1580. --- CHANGELOG.md | 19 +++++++++++++++++++ main.go | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73b78a8..fc58ccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,25 @@ All notable changes to qmax-code. Versions follow [Semantic Versioning](https:// ## [Unreleased] +## [1.22.1] - 2026-08-03 + +### Fixed +- `serve --mcp` now routes authenticated QualityMax tool calls through the + cloud MCP endpoint instead of calling the REST API directly. Calls made via + the local MCP server were previously invisible to the platform — they never + set trace context, so they produced no session history — and they returned + UI-shaped REST payloads carrying every script's full source, which no + server-side response budget could reach. Local tools, standalone mode, and + REST lifecycle traffic are unchanged (#158). +- Browser login now mints an MCP-compatible token, so the cloud routing above + is actually usable straight after `qmax-code` sign-in rather than silently + falling back (#159). + +### Note +- These fixes merged on 2026-07-28 but were never released: the v1.22.0 tag + points at the commit immediately before them, so no published build has + contained them until now. + ## [1.22.0] - 2026-07-24 ### Added diff --git a/main.go b/main.go index 3c5d1b2..00d6894 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ import ( ) // Version is set at build time via -ldflags "-X main.Version=x.y.z" -var Version = "1.22.0" +var Version = "1.22.1" const Name = "qmax-code"