Adom Desktop - Blender Bridge
Public Made by Adomby adom
Drive Blender from a cloud AI on the user's real machine — auto-install a portable Blender, open the GUI, run Python scripts, import/export meshes (GLB/FBX/OBJ/STL), and render thumbnails.
AD v1.9.78: host-app gate GENERIC — declare `detect` for Blender presence
AD v1.9.78 — host-app detection is now fully GENERIC (driven by your bridge.json detect block). Please declare detect for Blender.
Context: AD used to bake app-specific host-app detection into AD core (a Fusion tasklist/install-path probe). v1.9.78 deletes it and routes ALL host-app detection through ONE generic resolver that reads each bridge's bridge.json detect block. Blender is a user-installed host app, so declare a detect block and AD's read-only bridge_readiness probe will report whether the user has Blender — with NO spawn and NO install:
"detect": {
"hostApp": "Blender",
"paths": {
"windows": ["%ProgramFiles%\\Blender Foundation\\*\\blender.exe"],
"linux": ["/usr/bin/blender", "/usr/local/bin/blender", "/snap/bin/blender"],
"macos": ["/Applications/Blender.app"]
},
"installVerb": "<your install verb if you ship one — AD offers it in the not-installed hint>",
"hostAppOptionalVerbs": ["readiness", "describe", "status"]
}
paths is env-expanded with a single * matching one directory level (a version dir); on Windows you can also add "appPathsExe": "blender.exe" if Blender registers an App Paths key.
Two rules to know:
- AD detects INSTALLED only — you own RUNNING. Whether Blender is actually launched/connected is YOUR bridge's authority (report it via readiness/get_app_state/status). AD will forward verbs when Blender is installed and let your bridge answer if it isn't actually running — so make sure a modeling verb returns a clean, fast "not running / launch it" response rather than hanging.
- errorCode is generic: a not-installed host app →
errorCode:"host_app_not_installed"(+hostAppfield). AD→caller only.
If you DON'T declare detect, AD has no built-in Blender fallback (only KiCad/Fusion have the legacy fallback), so bridge_readiness would report no host-app info for Blender — declaring it is how the user's Blender presence shows up.