Figure export: one <base>.bundle.zip download (STORE zip writer, no deps)
TheYuchen
c4e53ef
Packaging decision resolved: zip, without the dependency. New
frontend/src/lib/zip.ts is a minimal STORE-method ZIP writer (local
file headers + central directory + EOCD, table-driven CRC-32, ~100
lines, pure JS). exportFigure now collects the .svg, the .png (hybrid/
raster path only) and the .provenance.json and downloads exactly ONE
<base>.bundle.zip — a single camera click can no longer trip browser
multi-download blocking, which silently dropped the sidecar and/or
PNG. In-SVG provenance <metadata> unchanged. New node lane
scripts/check_zip.test.ts asserts the CRC-32 check vector
("123456789" -> 0xCBF43926), the archive structure, and interop:
the fixture is listed with `python3 -m zipfile -l` and CRC-tested
with `-t` (Done testing). Camera button/claims-map wording and the
Wave-Q export contract + filename notes updated. Backlog entry
removed.