Skip to content

fix(deps): pin @nexssp/os to exactly 2.0.36 (broken consumer installs) - #28

Merged
soydachi merged 1 commit into
mainfrom
fix/nexssp-pin
Aug 29, 2026
Merged

fix(deps): pin @nexssp/os to exactly 2.0.36 (broken consumer installs)#28
soydachi merged 1 commit into
mainfrom
fix/nexssp-pin

Conversation

@soydachi

Copy link
Copy Markdown
Member

Problem

The published @arcasilesgroup/ai-shell@0.1.1 is broken for fresh installs:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '.../@nexssp/os/legacy.mjs'
imported from .../@arcasilesgroup/ai-shell/dist/cli.mjs

"@nexssp/os": "^2.0.36" lets npm resolve 2.1.1, whose published tarball is missing legacy.mjs while its own exports map points at it (upstream packaging bug — already ignored for dependabot in #19). Our own CI never caught it because the committed lockfile held 2.0.36; consumers get the range.

Fix

Exact pin 2.0.36 + changeset (patch → 0.1.2).

Verification (from the registry, clean prefix)

  • installed published 0.1.1 → crash reproduced, resolved @nexssp/os was 2.1.1
  • with 2.0.36 pinned: ai --version0.1.1 OK
  • just build lint test security green, contract check passes, 0 vulnerabilities

^2.0.36 resolves to 2.1.1 on fresh installs; 2.1.x tarballs lack
legacy.mjs that their exports map references, so the CLI crashes at
startup for every consumer. Reproduced by installing the published
0.1.1 into a clean prefix; fixed by the exact pin.
@soydachi
soydachi merged commit 1ffee63 into main Aug 29, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant