Skip to content

feat(npm): prebuilt global package, isolated install, and release CI - #14

Merged
kmanisk merged 5 commits into
mainfrom
feat/npm-distribution
Nov 17, 2026
Merged

kmanisk merged 5 commits into
mainfrom
feat/npm-distribution

Conversation

@kmanisk

@kmanisk kmanisk commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Changes

  • Prebuilt npm tarball (CLI, Admin UI, runtime profiles and required helper scripts) with Node 22+, allowlist, prepack compilation, and no consumer postinstall.
  • Detect npm/portable/managed install origins, provide accurate --version, doctor, and manual npm update guidance without invoking npm/root actions on behalf of users.
  • Fail closed: standalone npm gateways cannot inherit the signed YOLO lease of an unrelated managed service; preserve verified managed-release behavior and add synthetic regression proof.
  • Pack + clean-install regression: disposable prefix/home, no runtime credentials, package secret/file checks, real gateway start, MCP initialize, Admin UI load; Linux/macOS/Windows CI.
  • Version-tag release workflow tests all platforms, validates tag/main ancestry, retains reviewed tarball and permits provenance-backed npm trusted publish only with explicitly configured NPM_PUBLISH_ENABLED=true. No tag or npm publication in this PR.
  • README, INSTALL and RELEASING procedure.

Local validation

pnpm run build, pnpm test, pnpm run test:policy, test:portable, test:cli, test:extensions, test:integration, test:all, test:package, headless test:browser, tool-manifest check, and git diff --check passed. Production service untouched.

@kmanisk
kmanisk merged commit b21616a into main Nov 17, 2026
18 checks passed
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