Files
hermes-agent/tests/plugins/platforms
BearHuddleston 987241ead6 fix(photon): setup and install-sidecar never run npm inside a sealed bundle
`hermes photon setup` and `hermes photon install-sidecar` ran `npm ci`
(then `npm install`) in whatever dir the resolver returned, with no
check. In a desktop bundle the resolver returns the in-bundle sidecar
when its deps are baked and current, or when mirroring to HERMES_HOME
failed, so either command rewrote node_modules inside the signed .app,
and a failed run wrote .photon-npm-error.log there too.

_install_sidecar() now stops first on a sealed-bundle dir: baked deps
report as installed (exit 0), missing ones print why (the mirror
failed; make HERMES_HOME writable) and exit 1. The gateway's sealed
refusal used the read-only message, which told the user to run
`npm ci` in the bundle; both now share sealed_bundle_deps_missing().
2026-11-28 11:34:20 -06:00
..
…