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.
PCM verbs read only http(s): a private wiki page's repository cannot be installed (no file://)
KiCad Bridge 1.0.58, 2026-10-21.
kicad_pcm_add_repository and kicad_pcm_install read only http(s) URLs. A private wiki page serves its pcm/repository.json only to a signed-in session, so the anonymous fetch answers 404 and the parts cannot be installed:
kicad_pcm_add_repository {"url": "https://wiki.adom.inc/api/pages/<owner>/<private page>/files/.../pcm/repository.json"}
-> repository_unreachable: could not read the repository and no name was given: HTTPError: http status: 404
kicad_pcm_add_repository {"url": "file:///C:/Users/<user>/Documents/.../pcm/repository.json"}
-> repository_unreachable: URLError: http: invalid format
adom-aiflow's library step is exactly this path for every board, and many project pages are private.
Workaround used: copy the repository to the desktop, rewrite its URLs to a temporary python -m http.server bound to 127.0.0.1, install, stop the server. The installed package is byte-identical, but KiCad's PCM can no longer check it for updates.
Request, either: (a) accept file:// repository and download URLs (KiCad's own PCM does), or (b) fetch wiki URLs with the user's wiki session (the bridge already signs webviews in), or (c) a kicad_pcm_install {"zipPath": ...} that installs a local package zip with the same registry row.
2 Replies
Log in to reply.