← Commit history

v0.16.33 (insiders): the nbe tally reads a load-unpacked extension's version from its folder (Chrome records none), so it can say which profiles would load a stale build

John Lauer ·d86c83d621 ·1mo ago ·parent bfc50aa
6 files changed +8−5
bin/nb-dashboard+1−1
@@ -20,7 +20,7 @@ const { execFile, spawn } = require('child_process'); const fs = require('fs'); const crypto = require('crypto'); -const VERSION = '0.16.32';           // keep in lockstep with package.json (pkg version)+const VERSION = '0.16.33';           // keep in lockstep with package.json (pkg version) // SEND TO AI IS UN-PARKED (John: "yeah, we are re-enabling the send to ai. it seems to be good now"). // The ah build thread certified the crash family dead on the gate-fixed build and the delivery leg is // proven end to end. The park const is DELETED rather than flipped, so no dead branch can resurrect it.
bridge/BRIDGE_VERSION+1−1
@@ -1 +1 @@-0.16.32\ No newline at end of file+0.16.33\ 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",-  "version": "0.16.32",+  "version": "0.16.33",   "expectedExtensionVersion": "0.2.15",   "description": "Drives the user's REAL signed-in Chrome/Edge, in two layers. Layer 1 (nb) needs NOTHING installed and works on any machine: nbrowser_open_os_window (open a URL in the user's real profile, background+flashing, the OAuth/consent path), nbrowser_os_windows, nbrowser_profiles, nbrowser_wake_profile, nbrowser_force_close. Layer 2 (nbe, the Adom Native Browser Extension) unlocks the rest: CDP driving (navigate/click/read/screenshot) inside their logged-in profile. The bridge binds an ephemeral loopback port and the native-messaging host pumps stdio <-> bridge.",   "homepage": "https://wiki.adom.inc/adom/nb-bridge",
bridge/package.json+1−1
@@ -1,6 +1,6 @@ {   "name": "adom-native-browser-bridge",-  "version": "0.16.32",+  "version": "0.16.33",   "private": true,   "description": "Native-browser bridge for Bridge (ab): layer 1 (nb) plus layer 2 via nbe, the Adom Native Browser Extension (Chrome + Edge).",   "main": "server.js",
bridge/server.js+3
@@ -3348,6 +3348,9 @@ function nbeInventory() {   const profiles = [];   for (const kp of knownProfiles()) {     let st = {}; try { st = adomExtStateForProfile(kp.browser, kp.profileDir) || {}; } catch {}+    // Chrome records no manifest for a load-unpacked extension, so read the version from its folder:+    // that is also exactly what the browser will load on its next start or reload.+    if (st.installed && !st.version && st.unpackedPath) { try { st.version = JSON.parse(fs.readFileSync(path.join(st.unpackedPath, 'manifest.json'), 'utf8')).version || null; } catch {} }     const nbe = !st.checked ? 'unknown' : !st.installed ? 'missing' : !st.enabled ? 'disabled' : 'installed';     profiles.push({ profile: kp.key, browser: kp.browser, label: kp.displayName || null, profileDir: kp.profileDir, nbe,       nbeVersion: st.version || null, connected: liveKeys.has(kp.key),
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "nb-bridge",-  "version": "0.16.32",+  "version": "0.16.33",   "type": "app",   "title": "NB - Native Browser Bridge",   "description": "This package installs the SKILLS into your container so your AI knows how to drive your real signed-in Chrome and Edge; Bridge loads the bridge runtime itself from the release zip.",