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.
install_library silently does the wrong thing for a single-symbol file (registers each part as its own library, leaves Adom empty)
Split out of #71 (Ray) rather than bundled into an unrelated fix.
A caller who wants "put this part into the Adom library" naturally reaches for kicad_install_library. That verb registers a library PAIR in sym-lib-table, so handed a single .kicad_sym it registers that part as its own library:
Library 'WS2812B-2020' already registered ... symbols/WS2812B-2020.kicad_sym
...while the shared Adom library stays empty. Every call returns ok. kicad_adom_library_status then correctly reports symbols: 0, and show_symbol cannot resolve anything — so the failure surfaces two verbs downstream of the mistake, with nothing pointing back at it.
The right verb is kicad_install_symbol. Nothing in install_library's output hints at that.
Ask: when install_library is handed a path that is a single .kicad_sym (or a file rather than a library pair), say so in the response and name kicad_install_symbol. It does not have to refuse — a hint on the success path is enough, because the current output is not wrong about what it did, only silent about it being the wrong tool for what the caller meant.
Reported by Ray in #71: "nothing in install_library's output hints that it is the wrong tool for putting a part into the Adom library."