v3.12.3
Patch. Three field-reported fixes: the standalone binary finds its built-in templates, kj update updates the kj you actually run, and the osv-scanner go install recipe works.
Fixed
- Standalone binary ships its templates (KJC-BUG-0104): the SEA binary carried no
templates/—kj initwarnedENOENT: $HOME/templates/skillsand built-in role prompts, config-init and onboard templates were unreachable on fresh machines. Templates now travel as SEA assets (72 files) and are extracted once per version to~/.karajan/embedded-templates/; every consumer resolves through a singlegetTemplatesRoot(). npm installs keep reading the realtemplates/directory. kj updateis channel-aware and verifies the PATH (KJC-BUG-0106): it always rannpm install -g, even on standalone-binary installs — npm updated a copy the PATH never resolves, the running binary stayed old, and the command still reported success. The sea channel now re-runs the binary installer (downloaded to a temp file, never piped into a shell), the registry lookup uses HTTP instead ofnpm view, and both channels end with akj --versionprobe that fails loudly, naming the shadowing copy, when the reported version is not the target.- osv-scanner go install recipe fixed (KJC-BUG-0105):
go install github.com/google/osv-scanner@latestresolves the module but fails — the binary lives in thecmd/subpackage and since v2 the module path carries/v2. install-tools, the audit hint and the docs now point atgithub.com/google/osv-scanner/v2/cmd/osv-scanner@latest.