Files
hermes-agent/hermes_cli
teknium1 6cf2f066a8 fix(lsp): unknown lsp.package_manager fails closed; yarn uses the global --cwd form
Review follow-up: an unknown `lsp.package_manager` value (a typo such as `pnmp`)
warned and then ran npm anyway, bypassing exactly the pnpm/yarn supply-chain
policy the option exists to enforce. It now warns with the allowed set and skips
the install, the same outcome as a configured-but-missing manager.

Yarn's argv moves to the global `yarn --cwd <staging> add ...` form, which both
Yarn Classic (1.x) and Yarn Berry (2+) accept (`add --cwd` is Classic-only), and
the docs note that Berry's default PnP linker writes no `node_modules/.bin`, so
the staging dir needs `nodeLinker: node-modules`. The test moves above the
`__main__` guard and now covers the yarn argv and the fail-closed typo case.
2026-09-19 01:55:28 -07:00
..
…
…
…
…
…
…
…
…
…