Accept a KiCad project zip as the upload unit for hierarchical sheets.

Sheets, optional BOM, and PCB are extracted together; a storage round-trip test proves the pipeline can re-parse child Sheetfiles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-11 08:15:00 +02:00
co-authored by Cursor
parent 14fd3ba890
commit aebe8f6cc3
8 changed files with 232 additions and 24 deletions
+6
View File
@@ -295,6 +295,9 @@ export interface UploadNetlistResult {
// browser-side PADS parser produces. Empty list for PADS uploads (the
// browser parses those locally).
designator_pins: NetlistPreviewDesignator[];
pcb_saved?: boolean;
bom_saved?: boolean;
sheets?: number;
}
export async function uploadPcb(
@@ -344,6 +347,9 @@ export async function uploadNetlist(
sub_designs: (data.sub_designs as EdifSubDesign[] | undefined) ?? [],
designator_pins:
(data.designator_pins as NetlistPreviewDesignator[] | undefined) ?? [],
pcb_saved: Boolean(data.pcb_saved),
bom_saved: Boolean(data.bom_saved),
sheets: typeof data.sheets === "number" ? data.sheets : undefined,
};
}
+1 -1
View File
@@ -1,4 +1,4 @@
// AUTO-GENERATED by scripts/sync-version.mjs from content/changelog.md.
// Do not edit by hand — change the top "## X.Y.Z" heading in the changelog.
export const APP_VERSION = "2.26.2";
export const APP_VERSION = "2.26.3";
export const APP_VERSION_DATE = "2026-09-11";