← Commit history
Update 5 file(s)
5 files changed
+12−9
bridge/BRIDGE_VERSION+1−1@@ -1 +1 @@-0.1.23+0.1.24
bridge/bridge.json+1−1@@ -2,7 +2,7 @@ "manifest_version": 1, "name": "native-browser", "displayName": "Adom Native Browser (Chrome + Edge)",- "version": "0.1.23",+ "version": "0.1.24", "expectedExtensionVersion": "0.1.2", "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",
bridge/package.json+1−1@@ -1,6 +1,6 @@ { "name": "adom-native-browser-bridge",- "version": "0.1.23",+ "version": "0.1.24", "private": true, "description": "adom-desktop bridge for the Adom native-browser extension (Chrome + Edge)", "main": "server.js",
bridge/server.js+5−2@@ -1491,8 +1491,11 @@ function dispatch(verb, args) { '"@', `[WMC]::PostMessage([IntPtr]${hwnd},0x0010,[IntPtr]::Zero,[IntPtr]::Zero)`, ].join('\r\n');- await adCommand('desktop', 'run_script', { interpreter: 'powershell', scriptB64: Buffer.from(psBody, 'utf8').toString('base64'), timeoutSeconds: 20 });- logActivity({ verb: 'nbrowser_force_close', sessionId: (args && args.sessionId) || null, thread: (args && args.thread) || null, profile: 'os-hwnd', ok: true });+ const rr = await adCommand(null, 'run_script', { interpreter: 'powershell', scriptB64: Buffer.from(psBody, 'utf8').toString('base64'), timeoutSeconds: 20 });+ const rb = rr && rr.body;+ const sent = !!(rr && rr.status && rr.status < 300 && rb && (rb.success === true || rb.ok === true) && (rb.exitCode === undefined || rb.exitCode === 0));+ logActivity({ verb: 'nbrowser_force_close', sessionId: (args && args.sessionId) || null, thread: (args && args.thread) || null, profile: 'os-hwnd', ok: sent, errorCode: sent ? null : 'wm_close_failed' });+ if (!sent) return resolve({ success: false, errorCode: 'wm_close_failed', error: `attestation accepted but the WM_CLOSE could not be delivered (${(rb && (rb.error || rb.stderr)) || 'AD run_script failed'})`, _hint: 'The window was NOT closed. Retry force_close from call 1 ({hwnd} for a fresh ticket); if AD is unreachable, taskbar/flash are degraded too - check nbrowser_activity for _ad_link entries.' }); return resolve({ success: true, output: JSON.stringify({ ok: true, closed: true, hwnd, osLevel: true, reason: args.reason, _hint: 'Sent a graceful WM_CLOSE. A window with unsaved state may show a confirm dialog instead of closing - verify with desktop_list_windows.' }) }); })(); return;
native-browser-bridge-manifest.json+4−4@@ -1,8 +1,8 @@ { "manifest_version": 1,- "version": "0.1.23",- "url": "https://wiki.adom.inc/download/adom/adom-browser-extension/0.1.23/native-browser-bridge-v0.1.23.bin",- "sha256": "355a10953b9ad63683da9a2d6e299f2b67fe85a9f63261c0926e29d771c5a454",- "size": 77021,+ "version": "0.1.24",+ "url": "https://wiki.adom.inc/download/adom/adom-browser-extension/0.1.24/native-browser-bridge-v0.1.24.bin",+ "sha256": "7788707593167ccaf75d121952f001ecd63b94f66b25057e994e020b0794b3e2",+ "size": 77289, "released_at": "2026-07-18T00:00:00Z" }