Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/cd0ikrrc02pgdqnmjxyjg2xdsk4fkq9d-source source root is source Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-2347-1861711825/source/package-lock.json and /nix/store/717wvk2f41sn35yc6i80yzflpg1hm4wv-prime-agent-0.9.3-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-2347-1861711825/cache Installing dependencies npm warn deprecated @types/diff@8.0.0: This is a stub types definition. diff provides its own type definitions, so you do not need this installed. added 351 packages, and audited 364 packages in 11s 63 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/@biomejs/biome/bin/biome: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/jiti/lib/jiti-cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/prebuild-install/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/@anthropic-ai/sdk/bin/cli: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/shx/lib/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/node-addon-api/tools/conversion.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/resolve/bin/resolve: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/@typescript/native-preview/bin/tsgo.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/concurrently/dist/bin/concurrently.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/rolldown/bin/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/extract-zip/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/marked/bin/marked.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/tsx/dist/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/shelljs/bin/shjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/cli-highlight/bin/highlight: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/esprima/bin/esparse.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/esprima/bin/esvalidate.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/koffi/lib/native/base/crc_gen.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/4l8r0s2r5fna7src82b5fc2hixdvfyw0-python3-3.14.7/bin/python3" node_modules/koffi/lib/native/base/unicode_gen.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/4l8r0s2r5fna7src82b5fc2hixdvfyw0-python3-3.14.7/bin/python3" node_modules/koffi/lib/native/base/mimetypes_gen.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/4l8r0s2r5fna7src82b5fc2hixdvfyw0-python3-3.14.7/bin/python3" node_modules/koffi/src/koffi/tools/write_trampolines.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/koffi/src/cnoke/cnoke.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/yaml/bin.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/cross-spawn/node_modules/semver/bin/semver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/husky/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/escodegen/bin/esgenerate.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/escodegen/bin/escodegen.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/which/bin/which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" node_modules/tree-kill/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" rebuilt dependencies successfully patching script interpreter paths in node_modules node_modules/canvas/build/gyp-mac-tool: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/4l8r0s2r5fna7src82b5fc2hixdvfyw0-python3-3.14.7/bin/python3" Finished npmConfigHook patchPhase completed in 1 minutes 15 seconds Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing npmBuildHook > prime-agent@0.9.3 build > cd packages/tui && npm run build && cd ../ai && npm run build && cd ../agent && npm run build && cd ../coding-agent && npm run build > @earendil-works/pi-tui@0.9.3 build > tsgo -p tsconfig.build.json > @earendil-works/pi-ai@0.9.3 build > tsgo -p tsconfig.build.json > @earendil-works/pi-agent-core@0.9.3 build > tsgo -p tsconfig.build.json > @earendil-works/pi-coding-agent@0.9.3 build > tsgo -p tsconfig.build.json && shx chmod +x dist/cli.js && npm run copy-assets && npm run bundle > @earendil-works/pi-coding-agent@0.9.3 copy-assets > shx mkdir -p dist/modes/interactive/theme && shx cp src/modes/interactive/theme/*.json dist/modes/interactive/theme/ && shx mkdir -p dist/modes/interactive/assets && shx cp src/modes/interactive/assets/*.png dist/modes/interactive/assets/ && shx mkdir -p dist/core/export-html/vendor && shx cp src/core/export-html/template.html src/core/export-html/template.css src/core/export-html/template.js dist/core/export-html/ && shx cp src/core/export-html/vendor/*.js dist/core/export-html/vendor/ && shx rm -rf dist/prime-agent-runtime && shx cp -r ../../prime-agent-runtime dist/prime-agent-runtime && shx rm -rf dist/skills && shx cp -r skills dist/skills > @earendil-works/pi-coding-agent@0.9.3 bundle > node scripts/bundle.mjs bundled dist/cli.js -> dist/bundle/ Finished npmBuildHook Running phase: glibPreInstallPhase Running phase: installPhase changed 2 packages, and audited 210 packages in 2s 29 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-2347-1861711825/ in /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3... _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found _: line 2: patchelf: command not found patching script interpreter paths in /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3 /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3/lib/prime-agent/packages/coding-agent/dist/bundle/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3/lib/prime-agent/packages/coding-agent/dist/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3/lib/prime-agent/packages/coding-agent/node_modules/@anthropic-ai/sdk/bin/cli: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3/lib/prime-agent/packages/tui/test/key-tester.ts: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3/lib/prime-agent/packages/ai/dist/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7m0kpwlabjhxzznjwlk56zh91l1y2p5k-nodejs-22.23.2/bin/node" Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 0.9.3 in the output of the command /nix/store/k7w8x7idcjnpshyb8i5kinskzpmzqq53-prime-agent-0.9.3/bin/prime-agent --version 0.9.3 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing