feat(wasm): unify editor builds — footprint/symbol editors via runtime --frame

The footprint and symbol editors are no longer separate WASM bundles: the frontend loads the parent pcbnew/eeschema bundle and passes --frame=fpedit / --frame=symedit (TOOL_BUNDLE + TOOL_FRAME -> Module.arguments in boot). Drops the two duplicate build+deploy targets and their wrapper scripts + vestigial embind; adds low-level harnesses (footprint_editor.html, symbol_editor.html) and a runtime-frame spec. Bumps the kicad submodule to the runtime --frame launcher.

The frame-runtime spec is listed in PCBNEW_FAMILY_SPECS so CI routes it to the chromium-ci (V8) project — its footprint case boots the pcbnew module, which OOMs SpiderMonkey on x86 CI. Includes the editor-unification dossier (research docs 01-04 + the as-built implementation record 05).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Istvan Matejcsok 2026-07-01 17:39:42 +02:00
commit c6716e6b60
22 changed files with 1066 additions and 103 deletions

View file

@ -29,13 +29,15 @@ import {
// --- tools & per-file rules ---------------------------------------------------
// Tools served to the browser editor. sym_convert is a node CLI, not served.
// Bundles served to the browser editor. symbol_editor / footprint_editor are NOT
// separate bundles: they are the eeschema / pcbnew bundle booted with a runtime
// --frame flag (editor-unification), so they publish nothing of their own. The
// frontend maps them onto their parent bundle via TOOL_BUNDLE. sym_convert is a
// node CLI, not served.
const TOOLS = [
"pcbnew",
"eeschema",
"pl_editor",
"symbol_editor",
"footprint_editor",
"gerbview",
"calculator",
];