Files
hermes-agent/scripts
BearHuddleston 89d7edf268 perf(bundles): pilot Windows lark_oapi.hpkg zipimport archive
Pilot Windows site-package .hpkg zipimport packing on lark_oapi alone (21,463 pure-Python files, ~17.0% of the MSIX entry count, zero data or native files).

Packs validated .py sources, deterministically compiled adjacent legacy unchecked-hash .pyc bytecode (-s stripped build root for cross-runner delta stability), and .dist-info metadata into a ZIP_STORED lark_oapi.hpkg archive (DEFLATE-compressed in 64 KiB blocks by MakeAppx), wired via a build-generated relative plain-path _hermes_hpkg.pth loaded by site.addsitedir(). Coordinates scripts/bundles/bytecode.py::_uncovered() to verify .hpkg bytecode coverage and runs staged-interpreter zipimporter, importlib.metadata, inspect.getsource, and .pyc header/marshal verification at build time.
2026-11-30 04:52:19 -08:00
..
…