fix(#378): poll scoped package name in update check (#414)

The update worker queried the unscoped 'get-shit-done-redux' via
`npm view`, which returns E404 — so `latest` stayed null and
`update_available` could never become true. Now derives the name from
package.json (`require('../package.json').name`) so it always matches
the actual published scoped name (@opengsd/get-shit-done-redux).

Fixes #378.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-05-27 21:10:07 -04:00
committed by GitHub
parent 485ea1bd3d
commit 7ea6a06645
3 changed files with 107 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 378
---
Update check now polls the correct scoped package name (@opengsd/get-shit-done-redux) so update_available works.