Three syntax errors from earlier refactors broke index.js module load,
removing the wand menu entry and floating panel:
- arrow function pasted into an import block (line 213, cloneRuntimeDebugValue)
- arrow function pasted into an import block (line 451, shouldRunRecallForTransaction)
- missing closing brace on applyGraphLoadState (Phase 5f extraction)
Root cause the guard missed it: package.json has no type:module, so
node --check parsed .js as CommonJS/script and accepted invalid ESM.
check-syntax now pipes each file through node --check --input-type=module
so syntax validation matches how the browser actually loads these modules.