fix(release): advance served APP_VERSION to 1.25.1 and pin it to package.json

The 1.25.0 literal in diagnostics.mjs lagged the package bump, so a hot upgrade served 1.25.0 and the installer correctly rolled back on HOST_VERSION_MISMATCH. Advance the constant, add a release-efficiency guard that fails when the constant or compiled bundles drift from package.json, and add the 1.25.1 formal-release driver that refuses a candidate whose compiled server version is stale.

No product behaviour change beyond the version string; the reservation and install-scan fixes are unchanged.
This commit is contained in:
Agent Workbench Dev
2026-11-04 18:38:54 +08:00
parent 674d8221d5
commit 0a82636d16
3 changed files with 121 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { randomUUID, createHash } from 'node:crypto';
export const APP_VERSION = '1.25.0';
export const APP_VERSION = '1.25.1';
export function executionEnvironment() {
const windows = process.platform === 'win32';