This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
v0.2.2
Highlights
A bug-fix release led by a regression that v0.2.1 introduced. Everything KiCAD-facing was verified against a running KiCAD 10.0.5, and e2e-kicad was run as a pre-tag gate this time rather than advisory alongside the tag.
Fixed
add_viawas broken in v0.2.1 — every call failed withcould not unpack PCB_VIA from request (AS_BAD_REQUEST)(#117, reported by @ncolomer). Our padstack carried two copper-layer entries underPST_NORMAL; KiCad refuses any entry not keyed to F.Cu in that mode, and the through span is defined by the drill's start/end layers, not the copper list. The same mistake was latent in the footprint-pad builder for back-side pads and is fixed alongside it — it would have broken B.Cu placement the moment that landed.delete_no_connect/batch_delete_no_connectnever deleted anything (#114, @ncolomer). The lookup searched for a single-line(no_connect (at X Y)that no real file contains — neither eeschema's output nor our own writer's — so it always reported "not found". The batch variant additionally counted misses as successes. Same failure class as the wire-deletion bug in #64, now on the same block-based machinery that fixed it.delete_componentreported "0 deletion results" for deletions that succeeded (#116, @ncolomer). KiCad builds per-item deletion results and never attaches them. We no longer treat the empty list as failure — and rather than assume success,delete_footprintnow re-queries the board and fails if the footprint is still there.get_board_2d_viewhad failed on every call since 2026-07-08, through both v0.2.0 and v0.2.1, passing a--layersflag thatkicad-cli pcb renderrejects outright. Found during review; had no test coverage of any kind.- Mid-wire pins now connect. A pin landing inside a wire segment gets a junction dot, and the net graph reads junctions and mid-segment labels (#104, @Nigh). The under-advertised half of this is the bigger win: in KiCad's own demo corpus, 3712 of 5804 labels (64%) sit mid-segment and were being silently dropped from net formation.
Added
batch_place_componentsandbatch_connect_pins— place or wire many parts in a single read/write cycle (#111, @gcolonese). 187 registered tools + 6 meta = 193.- Bounded results for
run_drcandlist_symbols_in_library(#109), compact JSON on the wire (#106), a render-size cap forget_board_2d_view(#108), and the correct advertised MCP protocol version (#107) — all @gcolonese.
Verification
Two of this release's bugs shipped because nothing could catch them, so that changed:
- A live
add_viatest now runs against real KiCAD. Reinstating the old padstack reproduces #117's error verbatim. Nothing offline could have caught it — the message is schema-valid, so it encodes and decodes cleanly, and only KiCad's ownDeserializerefuses it. - The shipped skills and agent prompts are checked against the tool registry. That immediately found nine toolset names that have never existed (
pcb_zones,pcb_query,pcb_batch,pcb_design_rules,sch_query,sch_library,jlcpcb,3d,pcb_layout), including in the agent prompt that #112's hand sweep never reached.
Thanks to @ncolomer for four precise bug reports in one day — the AS_BAD_REQUEST text is what made #117 findable — and to @Nigh and @gcolonese for the PRs.
What's Changed
- fix(sch): make move_labels_by_offset and component moves actually move by @Nigh in #102
- fix(mcp): advertise protocol version 2025-06-18 by @gcolonese in #107
- fix(mcp): emit compact JSON for tool results by @gcolonese in #106
- feat(tools): bound run_drc and list_symbols_in_library results by @gcolonese in #109
- feat(sch): add batch_place_components and batch_connect_pins by @gcolonese in #111
- docs(skills): fix phantom tool references in kicad-* skills by @gcolonese in #112
- feat(pcb): cap get_board_2d_view render size by @gcolonese in #108
- fix(sch): connect mid-wire pins via junction dots by @Nigh in #104
Full Changelog: v0.2.1...v0.2.2