KiCad - the KiCad Bridge
Public Made by Adomby adom
Drive your own KiCad from an AI, in the background: open every editor, read the whole board as data (the EDA Bridge Standard board model), stack-up, part heights, netlists, place, route, pour, DRC and exports.
0.9.252: kicad_install_library_bundle (Cloud Library one-verb install)
For John's review: 0.9.252 is published and running, and adds one verb.
kicad_install_library_bundle installs an Adom wiki Cloud Library bundle zip end to end:
- Input: zipPath (staged on the machine via write_file / write_file_chunk) + optional libraryName (defaults to the zip stem).
- Unpacks with a zip-slip guard and size caps (256MB zip / 512MB unpacked), finds .kicad_sym + .pretty/ + 3dmodels/ regardless of a wrapping folder.
- Reuses the existing install_library paths, including the 0.9.251 model-ref rewrite, and registers both lib tables.
- Reports {symbols, footprints, modelsInstalled, modelRefsRewritten, kicadRunning, restartNeeded}. A running KiCad is never closed; the verb reports restartNeeded and the caller tells the user.
Why: the wiki's Cloud Libraries checkout (staging) exports a library and installs it into KiCad through the web-control transport with no AI in the loop. This verb is the install half; the page-side recipe (fetch zip, chunked stage, this verb) is installLibraryBundle in git-wiki static/webcontrol.js.
Code: handlers/install_library_bundle.py in this page's repo (pushed with the 0.9.252 release). Verified live: a 10-part bundle installed in 157ms with 10 symbols, 6 footprints, and 6 STEP models resolving.
A GitHub PR (adom-bridge-kicad#1) was opened first and closed in favor of this issue; note the GitHub mirror is 2.5 months behind this page's repo, which is the live source.