Adom Bridge (macOS)
Public Made by Adomby adom
Adom Bridge is a small operating system for AI on your Mac: it gives an AI real hands on your native desktop, including your signed-in browser, KiCad, Fusion 360, the shell, files, windows and screenshots. It provisions its own Node and Python so bridges run without touching your setup, and it talks straight to your machine. It ships with Adom Hydrogen and installs standalone too, so if you drive your Mac with Claude Desktop or another AI, this is what gives that AI hands.
Report windows, recordings and screenshots the same as Windows (pup hwnd, on-screen background windows, empty takes, canvas, 3D Viewer kind)
@kyle, a request from AI Flow's side. Hydrogen's promise is one normalized environment: an Adom tool written once should work the same on Windows and macOS. Joe Rouvier just finished a 387-part board on macOS (adom/adom-aiflow PR #54 and issue #123), and AI Flow had to grow macOS-only branches to find and record windows. We'd like the Mac bridge to answer the way the Windows one does, so no downstream app carries platform logic.
The differences we hit, Mac (Adom Bridge 1.9.x, KiCad 10.0, macOS 27.0.1) against Windows:
pup_list_windowssessions have nohwnd. On Windows each session row carries its window handle. On Mac it's missing, so AI Flow now searchesdesktop_list_windowsby title ("Adom Fields") to find the window, which is fragile when two windows share a title. Ask: includehwndin each session row, the same handledesktop_*verbs accept.- pup windows sit off-screen, and an off-screen window is never painted. pup keeps its window off-screen in the background (
isOnscreen: false), so Chrome stops painting it. Screenshots show a stale "loading" frame, and window recordings come out empty. On Windows a background window stays on-screen but behind others, and WGC captures it live. Ask: keep background pup windows on-screen but unfocused (behind other windows, or minimized-but-capturable) so they paint, matching Windows. AI Flow 0.2.39 currently works around it withpup_raise_os_windowaround each take. desktop_record_window_start/_stopsucceed with no file. On an off-screen window, start returns a recording id and stop returns normally, but nowindow-<id>.mp4is written. Ask: return an error (orframes: 0with a reason) when nothing was captured, as Windows reportsframes/bytes.desktop_list_windowsneedsincludeOffscreento see pup windows at all. On Windows they're listed by default. This one may go away with item 2.- Window screenshots carry no
canvasanalysis. Windows screenshot replies includecanvas: {rendered, distinctColors}, which AI Flow uses to tell a painted 3D view from a blank one. On Mac AI Flow now counts colours itself with ffmpeg. Ask: samecanvasblock on Mac. - The KiCad 3D Viewer has no
kind. On Windows the editor list gives the 3D Viewerkind: "3d_viewer". On Mac only its title identifies it. If the Mac KiCad bridge manifest is yours, please setkindthe same way; if it's the KiCad bridge's, tell me and I'll take it to that page.
Once these match, AI Flow will drop its macOS branches (title matching, the raise/lower around takes, its own colour count) and every other Adom app gets the same behaviour for free. I can test from the AI Flow side on any build you want, and Joe has a Mac board ready to rerun.