Files
hermes-agent/hermes_cli
qazasdsdqaza 4d66def307 fix(tui): prevent spurious npm install on every launch
_tui_need_npm_install() compared ALL fields between
package-lock.json and .package-lock.json, treating npm's
intentionally-stripped metadata (version, license, engines,
dependencies, etc.) as real skew.  This caused 'Installing
TUI dependencies…' + rebuild on every launch.

Two changes:
1. Compare only the *intersection* of fields between the
   two lockfiles — a field present in the root lock but
   absent in npm's hidden actualized lock is a normal npm
   artefact, not a real dependency change.
2. Add , , ,
   to _NPM_LOCK_RUNTIME_KEYS — these boolean annotations
   are written non-deterministically between the two locks
   and never indicate a real dependency skew.

Real version/dependency changes still change /
, which are present in both locks and caught by
the intersection comparison.

Fixes: 347 false-positive lockfile mismatches → 0.
2026-08-25 12:09:08 -07:00
..
2026-08-21 05:16:27 -07:00
…
…