the deferred hyper-svc import has to be opaque to actually stay out
⛔ DEFERRING IT CHANGED NOTHING, and I claimed otherwise one commit ago. `await
import('hyper-svc')` is a static string, so bare-pack FOLLOWS it — measured on the packed
worklet: a THIRD copy of hyper-svc appeared under
favela-host/node_modules/favela-bridge/node_modules/hyper-svc, 610 files to 915.
A computed specifier is unfollowable at pack time and resolves normally at runtime, which is
the trick this repo's own deployment rules already name for bare-sidecar (`'pear-' +
'runtime'`). The socket path is the only one that loads it, and it is only ever taken on a
desktop — a phone can never open a unix socket for it.
Measured after: 915 files back to 610, three copies to two, bundle 43.40 MB to 41.93 MB. The
whole on-device projector now costs +0.93 MB over the 41.00 MB baseline.
The functional half of the previous commit stands: an injected transport IS a configured
sink. Only the bundle-size claim was wrong.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
acae1c033535d4a829372f16cba045c47219f9bb
by plankatron <fleeky@gmail.com> · 2026-09-11T22:51:08.000Z