← Commit history

v0.16.63 (insiders): fix: three internal run_script calls (export preflight, the Win32 stage scanner, the Win32 save-dialog finder) passed scriptB64, which only the CLI understands - the direct ab API takes plain body, so they all silently ran nothing and returned empty. This is why the preflight reported clear with a Codex agent running, and why the dialog detection was unreliable.

John Lauer ·898af9aba8 ·12d ago ·parent d5b4307
6 files changed +8−8
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.62';           // keep in lockstep with package.json (pkg version)+const VERSION = '0.16.63';           // 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.62\ No newline at end of file+0.16.63\ 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.62",+  "version": "0.16.63",   "expectedExtensionVersion": "0.2.22",   "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.62",+  "version": "0.16.63",   "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−3
@@ -3225,7 +3225,7 @@ async function scanExportStageWin32() {     '$res | ConvertTo-Json -Compress -Depth 4',   ].join('; ');   try {-    const r = await abCommand(null, 'run_script', { interpreter: 'powershell', scriptB64: Buffer.from(ps, 'utf8').toString('base64'),+    const r = await abCommand(null, 'run_script', { interpreter: 'powershell', body: ps,   // direct ab API takes plain `body`; scriptB64 is a CLI-only field       reason: 'nb-bridge#55: see which export window is on screen right now, to narrate the step', timeoutSeconds: 20 });     const out = String((r && r.body && (r.body.stdout || (r.body.data && r.body.data.stdout))) || '').trim();     return JSON.parse(out || '{}');@@ -3256,7 +3256,7 @@ async function findSaveDialogWin32() {     'if ($out.Count -eq 0) { "{}" } else { $out[0] | ConvertTo-Json -Compress }',   ].join('; ');   try {-    const r = await abCommand(null, 'run_script', { interpreter: 'powershell', scriptB64: Buffer.from(ps, 'utf8').toString('base64'),+    const r = await abCommand(null, 'run_script', { interpreter: 'powershell', body: ps,   // direct ab API takes plain `body`; scriptB64 is a CLI-only field       reason: 'nb-bridge#55: find the export save dialog (ab does not list an elevated one)', timeoutSeconds: 20 });     const out = String((r && r.body && (r.body.stdout || (r.body.data && r.body.data.stdout))) || '').trim();     const j = JSON.parse(out || '{}');@@ -3296,7 +3296,7 @@ async function exportPreflight(browser) {     '$r | ConvertTo-Json -Compress',   ].join('; ');   try {-    const rr = await abCommand(null, 'run_script', { interpreter: 'powershell', scriptB64: Buffer.from(ps, 'utf8').toString('base64'),+    const rr = await abCommand(null, 'run_script', { interpreter: 'powershell', body: ps,   // direct ab API takes plain `body`; scriptB64 is a CLI-only field       reason: 'nb-bridge#55 preflight: is the browser elevated, or is another computer-use agent holding input?', timeoutSeconds: 20 });     const out = String((rr && rr.body && (rr.body.stdout || (rr.body.data && rr.body.data.stdout))) || '').trim();     const j = JSON.parse(out || '{}');
package.json+1−1
@@ -1,6 +1,6 @@ {   "slug": "nb-bridge",-  "version": "0.16.62",+  "version": "0.16.63",   "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.",