v3.12.2
Patch. Fresh npm install -g karajan-code works again. Since bundling was introduced (~v3.4.2), a fresh global install failed on every machine: npm nests all deps under karajan-code/node_modules, and bundle semantics mark that subtree as already-shipped, so npm skipped fetching better-sqlite3 & friends — empty directories whose install scripts crashed. Local installs hoist and never hit it (that's why verify-pack stayed green), and upgrades reuse the existing tree (that's why kj update kept working).
Fixed
- Global install no longer breaks on fresh machines (KJC-BUG-0103): the internal
@karajan/coreworkspace is now published to npm askarajan-coreand resolved from the registry like any other dependency;bundleDependenciesis gone. Verified: freshnpm install -gon npm 10 and 11 now succeeds andkj --versionboots. - E2E Install Test gives a real signal again (KJC-BUG-0102): the workflow had been chronically red since v3.9.0 — its tarball was packed without the bundled core, and npm never fetches bundled deps from the registry, so
kjdied at startup. Removing the bundle removes the failure mode at the root.
Infrastructure
verify-packgains a global-install smoke — the pre-publish gate now exercisesnpm install -gof the tarball, the exact path that was broken while every other gate stayed green.- The
core-no-bundled-depsarchitecture guard now also forbids reintroducingbundleDependencies.