fix(coding-agent): use npm view for update checks on non-default registries (#3164)
Previously, getLatestNpmVersion() hardcoded a fetch to registry.npmjs.org, which 404s for packages on alternate registries (private, Verdaccio, GitHub Packages, etc.). The error was silently swallowed, so users never saw update notifications for these packages. Replace the direct fetch with via the existing runCommandCapture helper. This uses the same registry resolution as npm install (reads .npmrc config chain), respects the npmCommand setting, and runs with this.cwd for correct .npmrc lookup.
This commit is contained in:
@@ -55,6 +55,7 @@ How to disable it:
|
||||
- Fixed `Container.render()` stack overflow on long sessions by replacing `Array.push(...spread)` with a loop-based push, preventing `RangeError: Maximum call stack size exceeded` when child output exceeds the V8 call stack argument limit ([#2651](https://github.com/badlogic/pi-mono/issues/2651))
|
||||
- Fixed editor sticky-column tracking around paste markers so vertical cursor navigation restores the column from before the cursor entered a paste marker instead of jumping inside or past pasted content ([#3092](https://github.com/badlogic/pi-mono/pull/3092) by [@Perlence](https://github.com/Perlence))
|
||||
- Fixed queued messages typed during `/tree` branch summarization to flush automatically after navigation completes, so they no longer remain stuck in the steering queue ([#3091](https://github.com/badlogic/pi-mono/pull/3091) by [@Perlence](https://github.com/Perlence))
|
||||
- Fixed npm package update check to work with packages on non-default registries by using `npm view` instead of hardcoded `registry.npmjs.org` fetch ([#3164](https://github.com/badlogic/pi-mono/pull/3164) by [@aliou](https://github.com/aliou))
|
||||
|
||||
## [0.67.0] - 2026-04-13
|
||||
|
||||
|
||||
Reference in New Issue
Block a user