Fix OTA under bare: import events via #node: map (bare-events)
pgh-runtime/index.js imported plain 'events', which doesn't resolve under bare
in the content-addressed install — so every pgh-installed app logged
'ota: disabled — MODULE_NOT_FOUND: events' and never self-updated. Add a
#node:events import map (→ bare-events / events) + bare-events dep, matching the
daemon's bare-compat pattern. Verified: pgh-runtime imports cleanly under bare.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
e1ff03f6e003799a7e21d6d0311419f339b523cb
by plankatron <fleeky@gmail.com> · 2026-05-28T22:43:49.000Z