← Commit history

bridge 0.0.24: sync package.json to 0.0.24 + VERSION now reads bridge.json (kills version drift)

John Lauer ·4bc3267fa7 ·4mo ago ·parent c0478b2
5 files changed +11−8
bridge/BRIDGE_VERSION+1−1
@@ -1 +1 @@-0.0.23\ No newline at end of file+0.0.24\ No newline at end of file
bridge/bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "native-browser",   "displayName": "Adom Native Browser (Chrome + Edge)",-  "version": "0.0.23",+  "version": "0.0.24",   "description": "Drives the user's REAL signed-in Chrome/Edge via an installed extension (native-messaging transport). Mirrors the puppeteer bridge's verb surface as nbrowser_* but runs inside the actual logged-in profile, so cookies/SSO/saved-logins/captcha human-trust all work. The bridge binds an ephemeral loopback port (PORTS.md compliant) and writes a discovery file; the native-messaging host pumps stdio <-> this bridge; the extension never touches a TCP port.",   "homepage": "https://wiki.adom.inc/adom/adom-browser-extension",   "author": "Adom Inc.",
bridge/package.json+1−1
@@ -1,6 +1,6 @@ {   "name": "adom-native-browser-bridge",-  "version": "0.0.20",+  "version": "0.0.24",   "private": true,   "description": "adom-desktop bridge for the Adom native-browser extension (Chrome + Edge)",   "main": "server.js",
bridge/server.js+3
@@ -30,6 +30,9 @@ const path = require('path'); const BRIDGE = 'native-browser'; let VERSION = '0.0.1'; try { VERSION = require('./package.json').version || VERSION; } catch {}+// bridge.json LAST so it wins - it's the manifest AD itself reads and reports, and it's what we bump+// per release, so the code's self-reported VERSION can never drift from the release version.+try { VERSION = require('./bridge.json').version || VERSION; } catch {}  const HOSTFILE = path.join(os.homedir(), '.adom', 'bridges', BRIDGE, 'host.json'); // The Chrome-launched native-messaging host needs a Node to run its stdio pump, but Chrome does NOT
native-browser-bridge-manifest.json+5−5
@@ -1,8 +1,8 @@ {   "manifest_version": 1,-  "version": "0.0.23",-  "url": "native-browser-bridge-v0.0.23.bin",-  "sha256": "07b9969c6153a832ac1d5d521c952f2793e332aafd8303181f79e79099ff6360",-  "size": 28540,-  "released_at": "2026-07-02T19:49:03Z"+  "version": "0.0.24",+  "url": "native-browser-bridge-v0.0.24.bin",+  "sha256": "2e476f81f420e83145e93c1a057bcf890f7abb869fc45e5f860efc30ef0b0a3f",+  "size": 28630,+  "released_at": "2026-07-02T19:54:16Z" }\ No newline at end of file