mac02: building ar3wm28q94rjn9bc5vn75d51628is4p0-mcp-remote-0.17.2.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/mfqk8y71hp5jdr9kqz8dj5wdjkwsalsp-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Executing pnpmConfigHook ~ /nix/var/nix/builds/nix-15422-2551709818/source /nix/var/nix/builds/nix-15422-2551709818/source Found 'pnpm' with version '10.34.7' Using fetcherVersion: 4 Configuring pnpm store Installing dependencies Final pnpm config: @jsr:registry=https://npm.jsr.io/ arch=arm64 globalconfig=/nix/var/nix/builds/nix-15422-2551709818/.home/Library/Preferences/pnpm/rc manage-package-manager-versions=false npm-globalconfig=/nix/store/19fin0sr3bmy5glsz6znxna991sl3pl6-nodejs-slim-24.22.2/etc/npmrc package-import-method=clone-or-copy platform=darwin registry=https://registry.npmjs.org/ reporter=append-only store-dir=/nix/var/nix/builds/nix-15422-2551709818/tmp.t581zTykGK user-agent=pnpm/10.34.7 npm/? node/v24.22.2 darwin arm64 Lockfile is up to date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +503 Progress: resolved 503, reused 503, downloaded 0, added 155 Progress: resolved 503, reused 503, downloaded 0, added 502 Progress: resolved 503, reused 503, downloaded 0, added 503, done dependencies: + express 4.21.2 + open 10.1.0 + strict-url-sanitise 0.0.1 + undici 7.12.0 devDependencies: + @modelcontextprotocol/client 2.4.0 + @modelcontextprotocol/core 2.4.0 + @modelcontextprotocol/server 2.4.0 + @types/express 5.0.0 + @types/node 22.13.10 + husky 9.1.7 + knip 6.32.3 + oxfmt 0.65.0 + oxlint 1.80.0 + semantic-release 25.0.9 + tsup 8.4.0 + tsx 4.19.3 + typescript 5.8.2 + vitest 3.2.3 + zod 4.6.7 Done in 4.2s using pnpm v10.34.7 Patching scripts patching script interpreter paths in node_modules/@modelcontextprotocol node_modules/@types node_modules/express node_modules/husky node_modules/knip node_modules/open node_modules/oxfmt node_modules/oxlint node_modules/semantic-release node_modules/strict-url-sanitise node_modules/tsup node_modules/tsx node_modules/typescript node_modules/undici node_modules/vitest node_modules/zod node_modules/.bin node_modules/.modules.yaml node_modules/.pnpm node_modules/.pnpm-workspace-state-v1.json node_modules/.bin/tsup: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/tsserver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/oxfmt: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/vitest: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/knip: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/tsx: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/tsc: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/oxlint: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/semantic-release: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/tsup-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/husky: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.bin/knip-bun: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/dist/cli-default.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/dist/cli-node.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/sucrase: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/tsserver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/sucrase-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/tsc: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/rollup: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/esbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tsup@8.4.0_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_typescript@5.8.2_yaml@2.9.0/node_modules/tsup/node_modules/.bin/tree-kill: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/bottleneck@2.19.5/node_modules/bottleneck/scripts/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/bash" node_modules/.pnpm/bottleneck@2.19.5/node_modules/bottleneck/scripts/test_all.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/bash" node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/node_modules/.bin/vite-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/node_modules/.bin/why-is-node-running: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/traverse@0.6.8/node_modules/traverse/examples/stringify.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_yaml@2.9.0/node_modules/postcss-load-config/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_yaml@2.9.0/node_modules/postcss-load-config/node_modules/.bin/tsx: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.4_tsx@4.19.3_yaml@2.9.0/node_modules/postcss-load-config/node_modules/.bin/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/formatly@0.3.0/node_modules/formatly/bin/index.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/node_modules/.bin/node-which: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/why-is-node-running@2.3.0/node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/sucrase@3.35.0/node_modules/sucrase/bin/sucrase: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/sucrase@3.35.0/node_modules/sucrase/bin/sucrase-node: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/sucrase@3.35.0/node_modules/sucrase/node_modules/.bin/glob: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/uglify-js@3.19.3/node_modules/uglify-js/bin/uglifyjs: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/semver@7.8.5/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/marked-terminal@7.3.0_marked@15.0.12/node_modules/marked-terminal/node_modules/.bin/highlight: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/marked-terminal@7.3.0_marked@15.0.12/node_modules/marked-terminal/node_modules/.bin/marked: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/is-docker: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/is-inside-container: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/sucrase: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/sucrase-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/nanoid: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/highlight: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/uglifyjs: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/node-which: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/marked: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/js-yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/conventional-changelog-writer: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/handlebars: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/rollup: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/conventional-commits-parser: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/vite-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/formatly: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/mime: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/glob: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/why-is-node-running: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/esbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/npx: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/rc: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/npm: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/tree-kill: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/nanoid@3.3.11/node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/bundle-require@5.1.0_esbuild@0.25.1/node_modules/bundle-require/node_modules/.bin/esbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/rc@1.2.8/node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/marked@15.0.12/node_modules/marked/bin/marked.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/@semantic-release+release-notes-generator@14.1.1_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/release-notes-generator/node_modules/.bin/conventional-changelog-writer: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+release-notes-generator@14.1.1_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/release-notes-generator/node_modules/.bin/conventional-commits-parser: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+release-notes-generator@14.1.1_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/release-notes-generator/node_modules/.bin/semantic-release: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/cli-highlight@2.1.11/node_modules/cli-highlight/bin/highlight: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/rollup@4.35.0/node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/@vitest+mocker@3.2.3_vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0_/node_modules/@vitest/mocker/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/js-yaml@4.3.1/node_modules/js-yaml/bin/js-yaml.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/semantic-release@25.0.9_typescript@5.8.2/node_modules/semantic-release/bin/semantic-release.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/semantic-release@25.0.9_typescript@5.8.2/node_modules/semantic-release/node_modules/.bin/marked: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/semantic-release@25.0.9_typescript@5.8.2/node_modules/semantic-release/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/is-wsl@3.1.0/node_modules/is-wsl/node_modules/.bin/is-inside-container: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/npm-prefix.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/npm-cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/npx-cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/npx: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/bash" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/npm: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/bash" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/node-gyp-bin/node-gyp: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/node-which: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/pacote: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/installed-package-contents: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/node-gyp: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/arborist: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/cssesc: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/qrcode-terminal: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/nopt: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/pacote/bin/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/@npmcli/installed-package-contents/bin/index.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/@npmcli/arborist/bin/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/test_gyp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/3j0hvszcqcb2vwm5dz0xxfb06cx49k86-python3-3.14.10/bin/python3" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/node-gyp/gyp/gyp: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/cssesc/bin/cssesc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/qrcode-terminal/bin/qrcode-terminal.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/which/bin/which.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/nopt/bin/nopt.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/lib/utils/completion.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/bash" node_modules/.pnpm/knip@6.32.3/node_modules/knip/bin/knip.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/knip@6.32.3/node_modules/knip/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/knip@6.32.3/node_modules/knip/node_modules/.bin/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/knip@6.32.3/node_modules/knip/node_modules/.bin/formatly: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+github@12.0.9_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/github/node_modules/.bin/semantic-release: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+github@12.0.9_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/github/node_modules/.bin/mime: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/tree-kill@1.2.2/node_modules/tree-kill/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/is-docker@3.0.0/node_modules/is-docker/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/mime@1.6.0/node_modules/mime/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/mime@1.6.0/node_modules/mime/src/build.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/normalize-package-data@8.0.0/node_modules/normalize-package-data/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/husky@9.1.7/node_modules/husky/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/oxfmt@0.65.0/node_modules/oxfmt/bin/oxfmt: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/glob@10.4.5/node_modules/glob/dist/esm/bin.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/vite-node@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite-node/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vite-node@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite-node/vite-node.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/open@10.1.0/node_modules/open/node_modules/.bin/is-inside-container: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/open@10.1.0/node_modules/open/xdg-open: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/normalize-package-data@6.0.2/node_modules/normalize-package-data/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/which@2.0.2/node_modules/which/bin/node-which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/dist/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/tsx@4.19.3/node_modules/tsx/node_modules/.bin/esbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/mime@4.1.0/node_modules/mime/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/mime@4.1.0/node_modules/mime/src/mime_cli.ts: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/esbuild@0.25.1/node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/is-inside-container@1.0.0/node_modules/is-inside-container/node_modules/.bin/is-docker: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/is-inside-container@1.0.0/node_modules/is-inside-container/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/conventional-commits-parser@6.4.0/node_modules/conventional-commits-parser/dist/cli/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/bin/handlebars: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/node_modules/.bin/uglifyjs: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite/node_modules/.bin/tsx: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite/node_modules/.bin/rollup: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite/node_modules/.bin/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/vite@6.3.5_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vite/node_modules/.bin/esbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+npm@13.1.5_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/npm/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+npm@13.1.5_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/npm/node_modules/.bin/semantic-release: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+npm@13.1.5_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/npm/node_modules/.bin/npx: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+npm@13.1.5_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/npm/node_modules/.bin/rc: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+npm@13.1.5_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/npm/node_modules/.bin/npm: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+commit-analyzer@13.0.1_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/commit-analyzer/node_modules/.bin/conventional-changelog-writer: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+commit-analyzer@13.0.1_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/commit-analyzer/node_modules/.bin/conventional-commits-parser: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/@semantic-release+commit-analyzer@13.0.1_semantic-release@25.0.9_typescript@5.8.2_/node_modules/@semantic-release/commit-analyzer/node_modules/.bin/semantic-release: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/conventional-changelog-writer@8.4.0/node_modules/conventional-changelog-writer/dist/cli/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/conventional-changelog-writer@8.4.0/node_modules/conventional-changelog-writer/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/conventional-changelog-writer@8.4.0/node_modules/conventional-changelog-writer/node_modules/.bin/handlebars: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/postcss@8.5.4/node_modules/postcss/node_modules/.bin/nanoid: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/send@0.19.0/node_modules/send/node_modules/.bin/mime: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/cosmiconfig@9.0.2_typescript@5.8.2/node_modules/cosmiconfig/node_modules/.bin/tsserver: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/cosmiconfig@9.0.2_typescript@5.8.2/node_modules/cosmiconfig/node_modules/.bin/tsc: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/cosmiconfig@9.0.2_typescript@5.8.2/node_modules/cosmiconfig/node_modules/.bin/js-yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/0xvlm2gh32710pjdswinpjqyahpfifiq-bash-5.3p20/bin/sh" node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" node_modules/.pnpm/oxlint@1.80.0/node_modules/oxlint/bin/oxlint: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" Finished pnpmConfigHook Running phase: buildPhase Executing npmBuildHook npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. \|npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > mcp-remote@0.17.2 build > tsup CLI Building entry: src/client.ts, src/proxy.ts CLI Using tsconfig: tsconfig.json CLI tsup v8.4.0 CLI Using tsup config: /nix/var/nix/builds/nix-15422-2551709818/source/package.json CLI Target: es2022 CLI Cleaning output folder ESM Build start ESM dist/client.js 6.59 KB ESM dist/chunk-MLKGABMK.js 191.00 B ESM dist/webapi-WW3GGD26.js 122.45 KB ESM dist/proxy.js 534.17 KB ESM dist/chunk-KCVOT72F.js 1.62 MB ESM ⚡️ Build success in 377ms DTS Build start DTS ⚡️ Build success in 8773ms DTS dist/client.d.ts 20.00 B DTS dist/proxy.d.ts 20.00 B \Finished npmBuildHook Running phase: checkPhase > mcp-remote@0.17.2 test /nix/var/nix/builds/nix-15422-2551709818/source > vitest run RUN v3.2.3 /nix/var/nix/builds/nix-15422-2551709818/source ❯ src/lib/utils.test.ts [queued] Test Files 0 passed (24) Tests 0 passed (0) Start at 13:02:28 Duration 201ms ❯ src/lib/explicit-client-credentials.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 0 passed (24) Tests 0 passed (0) Start at 13:02:28 Duration 625ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts [queued] ❯ src/lib/discovery-state.test.ts [queued] ❯ src/lib/explicit-client-credentials.test.ts [queued] ❯ src/lib/issuer-metadata-validation.test.ts [queued] ❯ src/lib/mcp-auth-config.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 0 passed (24) Tests 0 passed (0) Start at 13:02:28 Duration 1.06s ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts [queued] ❯ src/lib/discovery-state.test.ts [queued] ❯ src/lib/explicit-client-credentials.test.ts [queued] ❯ src/lib/issuer-metadata-validation.test.ts [queued] ❯ src/lib/mcp-auth-config.test.ts 0/19 ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 0 passed (24) Tests 0 passed (19) Start at 13:02:28 Duration 1.35s ✓ src/lib/mcp-auth-config.test.ts (19 tests) 86ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 1/24 ❯ src/lib/discovery-state.test.ts 0/9 ❯ src/lib/explicit-client-credentials.test.ts 0/17 ❯ src/lib/issuer-metadata-validation.test.ts 0/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 1 passed (24) Tests 20 passed (79) Start at 13:02:28 Duration 1.55s ✓ src/lib/device-authorization.test.ts (24 tests) 57ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 6/9 ❯ src/lib/explicit-client-credentials.test.ts 0/17 ❯ src/lib/issuer-metadata-validation.test.ts 0/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/protected-resource-metadata.test.ts 0/24 ❯ src/lib/utils.test.ts [queued] Test Files 2 passed (24) Tests 49 passed (103) Start at 13:02:28 Duration 1.66s ✓ src/lib/discovery-state.test.ts (9 tests) 183ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 0/17 ❯ src/lib/issuer-metadata-validation.test.ts 4/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 0/141 ❯ src/lib/protected-resource-metadata.test.ts 0/24 ❯ src/lib/utils.test.ts [queued] Test Files 3 passed (24) Tests 56 passed (244) Start at 13:02:28 Duration 1.76s stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > lets the SDK clear and re-register a cached dynamic client once [mcp-sdk] SEP-2352: stored OAuth credential has no 'issuer' stamp (pre-upgrade storage or provider not round-tripping the value). SEP-2352 isolation is inactive for this read; ensure your provider round-trips the issuer field. ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 0/17 ❯ src/lib/issuer-metadata-validation.test.ts 4/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 0/141 ❯ src/lib/protected-resource-metadata.test.ts 0/24 ❯ src/lib/utils.test.ts [queued] Test Files 3 passed (24) Tests 56 passed (244) Start at 13:02:28 Duration 1.76s ✓ src/lib/issuer-metadata-validation.test.ts (10 tests) 264ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 1/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 7/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts [queued] Test Files 5 passed (24) Tests 94 passed (244) Start at 13:02:28 Duration 1.85s stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > lets the SDK clear and re-register a cached dynamic client once [mcp-sdk] OAuth "invalid_client" — invalidating the stored client credentials and tokens and retrying authorization. Cause: "Cached OAuth client registration is no longer valid" ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 1/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 7/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts [queued] Test Files 5 passed (24) Tests 94 passed (244) Start at 13:02:28 Duration 1.85s ✓ src/lib/protected-resource-metadata.test.ts (24 tests) 149ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 1/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 7/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts [queued] Test Files 5 passed (24) Tests 94 passed (244) Start at 13:02:28 Duration 1.85s stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > opens the browser for the new registration after the stale one is cleared [mcp-sdk] SEP-2352: stored OAuth credential has no 'issuer' stamp (pre-upgrade storage or provider not round-tripping the value). SEP-2352 isolation is inactive for this read; ensure your provider round-trips the issuer field. stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > opens the browser for the new registration after the stale one is cleared [mcp-sdk] OAuth "invalid_client" — invalidating the stored client credentials and tokens and retrying authorization. Cause: "Cached OAuth client registration is no longer valid" stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > reports a client the token endpoint refuses as refused, not as a changed authorization server [mcp-sdk] OAuth "invalid_client" — invalidating the stored client credentials and tokens and retrying authorization. Cause: "invalid_client" ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 1/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 7/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts [queued] Test Files 5 passed (24) Tests 94 passed (244) Start at 13:02:28 Duration 1.85s stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse basic server URL [18150] Using callback port derived from the server URL: 37859 ❯ src/lib/connect-to-remote-server.test.ts 0/18 ❯ src/lib/device-authorization.test.ts 24/24 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 6/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/mcp-auth-config.test.ts 19/19 ❯ src/lib/node-oauth-client-provider.test.ts 28/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/259 Test Files 5 passed (24) Tests 120 passed (521) Start at 13:02:28 Duration 1.96s stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse server URL with callback port [18150] Using specified callback port: 3000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Default to the standard callback path when --callback-path is absent [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse server URL with callback path [18150] Using callback path: /custom-callback [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse a client metadata document URL [18150] Using client metadata document: https://example.com/.well-known/oauth-client-metadata [18150] Using callback port derived from the server URL: 31608 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a client metadata URL an authorization server would reject [18150] Warning: Ignoring invalid client metadata URL: http://example.com/client-metadata. It must be an HTTPS URL with a path. [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a client metadata URL an authorization server would reject [18150] Warning: Ignoring invalid client metadata URL: https://example.com/. It must be an HTTPS URL with a path. [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a client metadata URL an authorization server would reject [18150] Warning: Ignoring invalid client metadata URL: https://example.com. It must be an HTTPS URL with a path. [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a client metadata URL an authorization server would reject [18150] Warning: Ignoring invalid client metadata URL: not-a-url. It must be an HTTPS URL with a path. [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Register dynamically when no client metadata URL is given [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ask for the ID token to be sent as the bearer credential [18150] Using the ID token as the bearer credential [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Send the access token when nothing asks otherwise [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ask to sign in without a browser on this machine [18150] Using the OAuth device grant; no browser will be opened on this machine [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use the browser flow when nothing asks otherwise [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ask to sign in as the software itself, with no user at all [18150] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use an explicit token endpoint for client credentials without discovery [18150] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [18150] Using an explicit OAuth token endpoint at https://auth.example.com [18150] Using callback port derived from the server URL: 23961 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Refuse to send client credentials to an insecure remote token endpoint [18150] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Take a client secret from the environment rather than the command line [18150] Replacing ${MCP_TEST_SECRET} with environment value in static OAuth client information [18150] Using static OAuth client information from string [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Keep credentials for a metadata document client apart from registered ones [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Keep credentials for a metadata document client apart from registered ones [18150] Using client metadata document: https://client.example.com/metadata [18150] Using callback port derived from the server URL: 14931 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a callback path that is not rooted [18150] Warning: Ignoring invalid callback path: custom-callback. It must start with '/'. [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a callback path that shadows the long-poll endpoint [18150] Warning: Ignoring reserved callback path: /wait-for-auth. It is used to coordinate concurrent instances. [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse localhost URL with HTTP protocol [18150] Using callback port derived from the server URL: 23717 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse 127.0.0.1 URL with HTTP protocol [18150] Using callback port derived from the server URL: 16626 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse single custom header [18150] Using custom headers: foo [18150] Using callback port derived from the server URL: 28726 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse multiple custom headers [18150] Using custom headers: Authorization, Content-Type [18150] Using callback port derived from the server URL: 6065 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Isolate credentials by the expanded values of custom headers [18150] Using custom headers: X-Tenant [18150] Replacing ${MCP_TEST_TENANT} with environment value in header 'X-Tenant' [18150] Using callback port derived from the server URL: 31349 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Isolate credentials by the expanded values of custom headers [18150] Using custom headers: X-Tenant [18150] Replacing ${MCP_TEST_TENANT} with environment value in header 'X-Tenant' [18150] Using callback port derived from the server URL: 21616 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Isolate credentials by the expanded values of custom headers [18150] Using custom headers: X-Tenant [18150] Using callback port derived from the server URL: 31349 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Read headers from a file [18150] Loaded 2 header(s) from /nix/var/nix/builds/nix-15422-2551709818/mcp-remote-headers-Ar9H5T/headers.txt stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Read headers from a file [18150] Using custom headers: Authorization, X-Tenant [18150] Using callback port derived from the server URL: 46953 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore invalid header format [18150] Warning: ignoring a --header argument that is not in Name:Value form [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Handle --allow-http flag for non-localhost URLs [18150] Using callback port derived from the server URL: 12806 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Accept HTTPS URLs without --allow-http flag [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Handle --allow-http with other arguments [18150] Using custom headers: Authorization [18150] Using specified callback port: 4000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default transport strategy when not specified [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse transport strategy sse-only [18150] Using transport strategy: sse-only [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse transport strategy http-only [18150] Using transport strategy: http-only [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse transport strategy sse-first [18150] Using transport strategy: sse-first [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse transport strategy http-first [18150] Using transport strategy: http-first [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore invalid transport strategy and use default [18150] Warning: Ignoring invalid transport strategy: invalid-strategy. Valid values are: sse-only, http-only, sse-first, http-first [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default host when not specified [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Default to the IPv4 loopback literal on Windows [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An explicit --host still wins on Windows [18150] Using callback hostname: myserver.local [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse custom IP host [18150] Using callback hostname: 127.0.0.1 [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse custom domain host [18150] Using callback hostname: myserver.local [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Handle host with multiple other arguments [18150] Using transport strategy: sse-only [18150] Using callback hostname: custom.host.com [18150] Using specified callback port: 3000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: The callback server stays on loopback unless --bind-host says otherwise [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: A wildcard --bind-host moves the listen address, not the host in the callback URL [18150] Binding the OAuth callback server to: 0.0.0.0 [18150] Using specified callback port: 9696 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An IPv6 --bind-host is accepted in the bracketed form --host takes [18150] Binding the OAuth callback server to: ::1 [18150] Using callback hostname: [::1] (derived from --bind-host) [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An IPv6 --bind-host also moves the callback URL to IPv6 loopback [18150] Binding the OAuth callback server to: ::1 [18150] Using callback hostname: [::1] (derived from --bind-host) [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: The bracketed IPv6 --bind-host moves the callback URL too [18150] Binding the OAuth callback server to: ::1 [18150] Using callback hostname: [::1] (derived from --bind-host) [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An IPv6 wildcard --bind-host keeps the default callback host [18150] Binding the OAuth callback server to: :: [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An explicit --host still wins over an IPv6 --bind-host [18150] Using callback hostname: localhost [18150] Binding the OAuth callback server to: ::1 [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: A bare IPv6 --host is bracketed for the callback URL [18150] Using callback hostname: [::1] [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: The Windows default host gives way to an IPv6 --bind-host [18150] Binding the OAuth callback server to: ::1 [18150] Using callback hostname: [::1] (derived from --bind-host) [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An empty --bind-host keeps the callback server on loopback [18150] Warning: ignoring an empty --bind-host; the OAuth callback server stays on loopback [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An empty --bind-host keeps the callback server on loopback [18150] Warning: ignoring an empty --bind-host; the OAuth callback server stays on loopback [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Return empty ignored tools array when none specified [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse single ignored tool [18150] Ignoring tool: foo [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse multiple ignored tools [18150] Ignoring tool: foo [18150] Ignoring tool: bar [18150] Ignoring tool: baz [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Handle ignored tools with other arguments [18150] Using transport strategy: sse-only [18150] Using callback hostname: localhost [18150] Ignoring tool: tool1 [18150] Ignoring tool: tool2 [18150] Using specified callback port: 4000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default auth timeout when not specified [18150] Using callback port derived from the server URL: 37859 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse valid auth timeout in seconds and convert to milliseconds [18150] Using auth callback timeout: 60 seconds [18150] Using callback port derived from the server URL: 37859 ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 11/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/node-oauth-client-provider.test.ts 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 0/259 Test Files 6 passed (24) Tests 202 passed (521) Start at 13:02:28 Duration 2.06s ✓ src/lib/connect-to-remote-server.test.ts (18 tests) 151ms ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 11/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/node-oauth-client-provider.test.ts 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 0/259 Test Files 6 passed (24) Tests 202 passed (521) Start at 13:02:28 Duration 2.06s stderr | src/lib/explicit-client-credentials.test.ts > Explicit client credentials with an MCP server behind enterprise discovery redirects > reports a token endpoint rejection without discovery or browser fallback [mcp-sdk] OAuth "invalid_client" — invalidating the stored client credentials and tokens and retrying authorization. Cause: "Client credentials rejected" ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 17/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/node-oauth-client-provider.test.ts 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 1/259 Test Files 7 passed (24) Tests 209 passed (521) Start at 13:02:28 Duration 2.16s ✓ src/lib/explicit-client-credentials.test.ts (17 tests) 632ms ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/discovery-state.test.ts 9/9 ❯ src/lib/explicit-client-credentials.test.ts 17/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/node-oauth-client-provider.test.ts 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 1/259 Test Files 7 passed (24) Tests 209 passed (521) Start at 13:02:28 Duration 2.16s ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/explicit-client-credentials.test.ts 17/17 ❯ src/lib/issuer-metadata-validation.test.ts 10/10 ❯ src/lib/node-oauth-client-provider.test.ts 88/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 69/259 Test Files 7 passed (24) Tests 278 passed (521) Start at 13:02:28 Duration 2.26s ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts [queued] ❯ src/lib/explicit-client-credentials.test.ts 17/17 ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 96/141 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 71/259 Test Files 7 passed (24) Tests 288 passed (521) Start at 13:02:28 Duration 2.46s ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts 18/18 ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts [queued] ❯ src/lib/explicit-client-credentials.test.ts 17/17 ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 97/141 ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 72/259 Test Files 7 passed (24) Tests 290 passed (521) Start at 13:02:28 Duration 2.56s ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts [queued] ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 98/141 ❯ src/lib/refresh-coordination.test.ts [queued] ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 77/259 Test Files 7 passed (24) Tests 296 passed (521) Start at 13:02:28 Duration 2.77s ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts [queued] ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 99/141 ❯ src/lib/refresh-coordination.test.ts [queued] ❯ src/lib/response-stream-end.test.ts [queued] ❯ src/lib/utils.test.ts 78/259 Test Files 7 passed (24) Tests 298 passed (547) Start at 13:02:28 Duration 2.87s ✓ src/lib/node-oauth-client-provider.test.ts (141 tests) 1155ms ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 0/27 ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/response-stream-end.test.ts 0/7 ❯ src/lib/utils.test.ts 105/259 Test Files 8 passed (24) Tests 367 passed (584) Start at 13:02:28 Duration 2.97s ❯ src/lib/auth-success-url.test.ts 16/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 12/27 ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/response-stream-end.test.ts 1/7 ❯ src/lib/utils.test.ts 106/259 Test Files 8 passed (24) Tests 397 passed (584) Start at 13:02:28 Duration 3.07s ✓ src/lib/endpoint-policy.test.ts (27 tests) 287ms ❯ src/lib/auth-success-url.test.ts 16/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/response-stream-end.test.ts 3/7 ❯ src/lib/utils.test.ts 108/259 Test Files 9 passed (24) Tests 416 passed (599) Start at 13:02:28 Duration 3.17s stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] [Local→Remote] tools/call ❯ src/lib/auth-success-url.test.ts 17/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 1/14 ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/response-stream-end.test.ts 4/7 ❯ src/lib/utils.test.ts 111/259 Test Files 9 passed (24) Tests 422 passed (599) Start at 13:02:28 Duration 3.27s stderr | src/lib/refresh-coordination.test.ts > Feature: Instances sharing a store redeem a refresh token once between them > Scenario: A refusal that lost the race to an instance outside the lease keeps that instance's token [mcp-sdk] OAuth "invalid_grant" — invalidating the stored tokens and retrying authorization. Cause: "The refresh token is no longer valid" stderr | src/lib/refresh-coordination.test.ts > Feature: Instances sharing a store redeem a refresh token once between them > Scenario: A refresh token the server really refused is discarded, and a sign-in follows [mcp-sdk] OAuth "invalid_grant" — invalidating the stored tokens and retrying authorization. Cause: "The refresh token is no longer valid" stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [mcp-sdk] OAuth "invalid_grant" — invalidating the stored tokens and retrying authorization. Cause: "the sign-in was ended" ❯ src/lib/auth-success-url.test.ts 18/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 4/7 ❯ src/lib/utils.test.ts 114/259 Test Files 10 passed (24) Tests 431 passed (599) Start at 13:02:28 Duration 3.37s ✓ src/lib/refresh-coordination.test.ts (3 tests) 470ms ✓ Feature: Instances sharing a store redeem a refresh token once between them > Scenario: Three instances refused the same token redeem its refresh token once 433ms ❯ src/lib/auth-success-url.test.ts 18/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 4/7 ❯ src/lib/utils.test.ts 114/259 Test Files 10 passed (24) Tests 431 passed (599) Start at 13:02:28 Duration 3.37s stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] Initializing auth coordination on-demand stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] OAuth callback server running at http://127.0.0.1:60060 stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] This instance is running the sign-in for this server (callback port 60060) stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] Please authorize this client by visiting: https://auth.example.test/authorize?response_type=code&client_id=static-client&code_challenge=faIQKHmP-TtgiVnCWN7Jv820JHaGqhY443wZNZge4sA&code_challenge_method=S256&redirect_uri=http%3A%2F%2F127.0.0.1%3A60060%2Foauth%2Fcallback&state=4020fc52-3df2-47ff-8ef3-a6a35b9f4722&scope=openid+email+profile&resource=https%3A%2F%2Fmcp.example.test%2Fmcp ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 6/7 ❯ src/lib/utils.test.ts 134/259 Test Files 11 passed (24) Tests 479 passed (618) Start at 13:02:28 Duration 3.47s ✓ src/lib/authorization-server-metadata.test.ts (19 tests) 54ms ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 6/7 ❯ src/lib/utils.test.ts 134/259 Test Files 11 passed (24) Tests 479 passed (618) Start at 13:02:28 Duration 3.47s stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] Auth code received, resolving promise ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 27/27 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 6/7 ❯ src/lib/utils.test.ts 134/259 Test Files 11 passed (24) Tests 479 passed (618) Start at 13:02:28 Duration 3.47s ✓ src/lib/response-stream-end.test.ts (7 tests) 660ms ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/cookie-jar.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 7/7 ❯ src/lib/utils.test.ts 136/259 Test Files 13 passed (24) Tests 483 passed (618) Start at 13:02:28 Duration 3.67s stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] Browser opened automatically. stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] Error from remote server: UnauthorizedError: Unauthorized at handleOAuthUnauthorized (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/@modelcontextprotocol+client@2.4.0/node_modules/@modelcontextprotocol/client/src/client/auth.ts:199:15) at processTicksAndRejections (node:internal/process/task_queues:104:5) at StreamableHTTPClientTransport._send (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/@modelcontextprotocol+client@2.4.0/node_modules/@modelcontextprotocol/client/src/client/streamableHttp.ts:1084:29) at sendToServer (/nix/var/nix/builds/nix-15422-2551709818/source/src/lib/utils.ts:1724:7) stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] Remote server requires authorization, completing sign-in stderr | src/lib/mid-session-401.test.ts > Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code [18173] [Remote→Local] 1 ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/cookie-jar.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 7/7 ❯ src/lib/utils.test.ts 136/259 Test Files 13 passed (24) Tests 483 passed (618) Start at 13:02:28 Duration 3.67s ✓ src/lib/mid-session-401.test.ts (1 test) 531ms ✓ Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code 530ms ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/cookie-jar.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 7/7 ❯ src/lib/utils.test.ts 136/259 Test Files 13 passed (24) Tests 483 passed (618) Start at 13:02:28 Duration 3.67s ✓ src/lib/auth-success-url.test.ts (26 tests) 824ms ✓ OAuth browser completion > keeps the option when a follower takes over a departed owner 356ms ❯ src/lib/auth-success-url.test.ts 26/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/cookie-jar.test.ts 0/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/response-stream-end.test.ts 7/7 ❯ src/lib/utils.test.ts 139/259 Test Files 14 passed (24) Tests 487 passed (637) Start at 13:02:28 Duration 3.78s ✓ src/lib/cookie-jar.test.ts (19 tests) 24ms ❯ src/lib/auth-success-url.test.ts 26/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/response-stream-end.test.ts 7/7 ❯ src/lib/utils.test.ts 141/259 Test Files 15 passed (24) Tests 508 passed (637) Start at 13:02:28 Duration 3.88s ❯ src/lib/auth-success-url.test.ts 26/26 ❯ src/lib/client-credentials.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/utils.test.ts 143/259 ❯ src/proxy.test.ts 0/9 Test Files 15 passed (24) Tests 510 passed (646) Start at 13:02:28 Duration 3.98s ❯ src/lib/auth-success-url.test.ts 26/26 ❯ src/lib/client-credentials.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 144/259 ❯ src/proxy.test.ts 1/9 Test Files 15 passed (24) Tests 512 passed (646) Start at 13:02:28 Duration 4.08s ✓ src/proxy.test.ts (9 tests) 142ms ❯ src/lib/client-credentials.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts 0/11 ❯ src/lib/open-browser.test.ts [queued] ❯ src/lib/protocol-era.test.ts 0/19 ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 146/259 Test Files 16 passed (24) Tests 522 passed (676) Start at 13:02:28 Duration 4.18s ✓ src/lib/protocol-era.test.ts (19 tests) 7ms ✓ src/lib/open-browser.test.ts (5 tests) 34ms ❯ src/lib/client-credentials.test.ts 0/12 ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts 2/11 ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 147/259 Test Files 18 passed (24) Tests 549 passed (693) Start at 13:02:28 Duration 4.38s ✓ src/lib/coordination.test.ts (11 tests) 217ms ✓ src/lib/client-credentials.test.ts (12 tests) 55ms ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 147/259 Test Files 20 passed (24) Tests 571 passed (693) Start at 13:02:28 Duration 4.48s ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/static-client-info.test.ts 1/4 ❯ src/lib/utils.test.ts 148/259 Test Files 20 passed (24) Tests 573 passed (697) Start at 13:02:28 Duration 4.59s ✓ src/lib/static-client-info.test.ts (4 tests) 122ms ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 148/259 Test Files 21 passed (24) Tests 576 passed (697) Start at 13:02:28 Duration 4.99s ❯ src/lib/client-diagnostics.test.ts 1/3 ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 148/259 Test Files 21 passed (24) Tests 577 passed (700) Start at 13:02:28 Duration 5.19s ✓ src/lib/client-diagnostics.test.ts (3 tests) 148ms ❯ src/lib/coordinate-auth.test.ts 5/14 ❯ src/lib/utils.test.ts 148/259 Test Files 22 passed (24) Tests 580 passed (700) Start at 13:02:28 Duration 5.50s ❯ src/lib/coordinate-auth.test.ts 5/14 ❯ src/lib/utils.test.ts 148/259 Test Files 22 passed (24) Tests 580 passed (700) Start at 13:02:28 Duration 6.00s ❯ src/lib/coordinate-auth.test.ts 6/14 ❯ src/lib/utils.test.ts 148/259 Test Files 22 passed (24) Tests 581 passed (700) Start at 13:02:28 Duration 6.52s ❯ src/lib/coordinate-auth.test.ts 7/14 ❯ src/lib/utils.test.ts 148/259 Test Files 22 passed (24) Tests 582 passed (700) Start at 13:02:28 Duration 6.72s ❯ src/lib/coordinate-auth.test.ts 8/14 ❯ src/lib/utils.test.ts 148/259 Test Files 22 passed (24) Tests 583 passed (700) Start at 13:02:28 Duration 6.92s ✓ src/lib/coordinate-auth.test.ts (14 tests) 3862ms ✓ Feature: Deciding who runs the sign-in > Scenario: A sibling holding a token nobody can use is not mistaken for a finished sign-in 1065ms ✓ Feature: Deciding who runs the sign-in > Scenario: An unanswered sign-in stops the follower instead of authorizing without ownership 1014ms ✓ Feature: Deciding who runs the sign-in > Scenario: A sibling on a specific --bind-host is asked there, not on 127.0.0.1 1016ms ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 8.04s ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 9.06s ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 10.07s ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 10.99s ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 12.00s ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 13.02s ❯ src/lib/utils.test.ts 148/259 Test Files 23 passed (24) Tests 589 passed (700) Start at 13:02:28 Duration 14.04s ❯ src/lib/utils.test.ts 149/259 Test Files 23 passed (24) Tests 590 passed (700) Start at 13:02:28 Duration 14.95s ❯ src/lib/utils.test.ts 150/259 Test Files 23 passed (24) Tests 591 passed (700) Start at 13:02:28 Duration 15.16s ❯ src/lib/utils.test.ts 151/259 Test Files 23 passed (24) Tests 592 passed (700) Start at 13:02:28 Duration 15.36s ❯ src/lib/utils.test.ts 152/259 Test Files 23 passed (24) Tests 593 passed (700) Start at 13:02:28 Duration 15.56s ❯ src/lib/utils.test.ts 153/259 Test Files 23 passed (24) Tests 594 passed (700) Start at 13:02:28 Duration 15.66s ❯ src/lib/utils.test.ts 155/259 Test Files 23 passed (24) Tests 596 passed (700) Start at 13:02:28 Duration 15.87s ❯ src/lib/utils.test.ts 156/259 Test Files 23 passed (24) Tests 597 passed (700) Start at 13:02:28 Duration 15.97s ❯ src/lib/utils.test.ts 158/259 Test Files 23 passed (24) Tests 599 passed (700) Start at 13:02:28 Duration 16.07s ❯ src/lib/utils.test.ts 161/259 Test Files 23 passed (24) Tests 602 passed (700) Start at 13:02:28 Duration 16.17s ❯ src/lib/utils.test.ts 161/259 Test Files 23 passed (24) Tests 602 passed (700) Start at 13:02:28 Duration 16.99s ❯ src/lib/utils.test.ts 161/259 Test Files 23 passed (24) Tests 602 passed (700) Start at 13:02:28 Duration 18.01s ❯ src/lib/utils.test.ts 162/259 Test Files 23 passed (24) Tests 603 passed (700) Start at 13:02:28 Duration 18.21s ❯ src/lib/utils.test.ts 163/259 Test Files 23 passed (24) Tests 604 passed (700) Start at 13:02:28 Duration 18.51s ❯ src/lib/utils.test.ts 163/259 Test Files 23 passed (24) Tests 604 passed (700) Start at 13:02:28 Duration 19.02s ❯ src/lib/utils.test.ts 163/259 Test Files 23 passed (24) Tests 604 passed (700) Start at 13:02:28 Duration 20.04s ❯ src/lib/utils.test.ts 164/259 Test Files 23 passed (24) Tests 605 passed (700) Start at 13:02:28 Duration 20.45s ❯ src/lib/utils.test.ts 165/259 Test Files 23 passed (24) Tests 606 passed (700) Start at 13:02:28 Duration 20.75s ❯ src/lib/utils.test.ts 166/259 Test Files 23 passed (24) Tests 607 passed (700) Start at 13:02:28 Duration 20.85s ❯ src/lib/utils.test.ts 167/259 Test Files 23 passed (24) Tests 608 passed (700) Start at 13:02:28 Duration 21.06s ❯ src/lib/utils.test.ts 167/259 Test Files 23 passed (24) Tests 608 passed (700) Start at 13:02:28 Duration 22.08s ❯ src/lib/utils.test.ts 167/259 Test Files 23 passed (24) Tests 608 passed (700) Start at 13:02:28 Duration 23.09s ❯ src/lib/utils.test.ts 167/259 Test Files 23 passed (24) Tests 608 passed (700) Start at 13:02:28 Duration 24.01s ❯ src/lib/utils.test.ts 167/259 Test Files 23 passed (24) Tests 608 passed (700) Start at 13:02:28 Duration 25.03s ❯ src/lib/utils.test.ts 169/259 Test Files 23 passed (24) Tests 610 passed (700) Start at 13:02:28 Duration 25.54s ❯ src/lib/utils.test.ts 169/259 Test Files 23 passed (24) Tests 610 passed (700) Start at 13:02:28 Duration 26.05s ❯ src/lib/utils.test.ts 169/259 Test Files 23 passed (24) Tests 610 passed (700) Start at 13:02:28 Duration 27.06s ❯ src/lib/utils.test.ts 169/259 Test Files 23 passed (24) Tests 610 passed (700) Start at 13:02:28 Duration 28.08s ❯ src/lib/utils.test.ts 170/259 Test Files 23 passed (24) Tests 611 passed (700) Start at 13:02:28 Duration 28.69s ❯ src/lib/utils.test.ts 171/259 Test Files 23 passed (24) Tests 612 passed (700) Start at 13:02:28 Duration 29.00s ❯ src/lib/utils.test.ts 172/259 Test Files 23 passed (24) Tests 613 passed (700) Start at 13:02:28 Duration 29.30s ❯ src/lib/utils.test.ts 173/259 Test Files 23 passed (24) Tests 614 passed (700) Start at 13:02:28 Duration 29.51s ❯ src/lib/utils.test.ts 174/259 Test Files 23 passed (24) Tests 615 passed (700) Start at 13:02:28 Duration 29.71s ❯ src/lib/utils.test.ts 175/259 Test Files 23 passed (24) Tests 616 passed (700) Start at 13:02:28 Duration 29.91s stderr | src/lib/utils.test.ts > Feature: Choosing the authorization server with --authorization-server > Scenario: Rejects --authorization-server ["--debug"] [2026-11-28T13:02:58.446Z][18150] Debug mode enabled - detailed logs will be written to ~/.mcp-auth/ stderr | src/lib/utils.test.ts > Feature: Choosing the authorization server with --authorization-server > Scenario: Allows plain HTTP on loopback, for a local authorization server [2026-11-28T13:02:58.447Z][18150] Signing in at the authorization server set by --authorization-server: http://127.0.0.1:9000/realm [2026-11-28T13:02:58.448Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.448Z][18150] Using callback port derived from the server URL: 34144 stderr | src/lib/utils.test.ts > Feature: Choosing the authorization server with --authorization-server > Scenario: Refuses to combine with --token-endpoint, which skips discovery [2026-11-28T13:02:58.448Z][18150] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [2026-11-28T13:02:58.449Z][18150] Using an explicit OAuth token endpoint at https://auth.example.com stderr | src/lib/utils.test.ts > Feature: Discovery with --authorization-server > Scenario: Without it, the advertised authorization server is used [2026-11-28T13:02:58.450Z][18150] Starting OAuth server discovery { serverUrl: 'http://127.0.0.1:60154/mcp' } [2026-11-28T13:02:58.450Z][18150] Probing MCP server for WWW-Authenticate header stderr | src/lib/utils.test.ts > Feature: Discovery with --authorization-server > Scenario: Without it, the advertised authorization server is used [2026-11-28T13:02:58.460Z][18150] Received 401 with WWW-Authenticate header { hasHeader: true, header: 'Bearer resource_metadata="http://127.0.0.1:60154/.well-known/oauth-protected-resource/mcp"' } [2026-11-28T13:02:58.461Z][18150] Parsed WWW-Authenticate header { hasResourceMetadata: true, hasScope: false, error: undefined } [2026-11-28T13:02:58.461Z][18150] Starting Protected Resource Metadata discovery { resourceUrl: 'http://127.0.0.1:60154/mcp', hasWWWAuthenticateHeader: true } [2026-11-28T13:02:58.461Z][18150] Parsed WWW-Authenticate header { hasResourceMetadata: true, hasScope: false, error: undefined } [2026-11-28T13:02:58.461Z][18150] Using resource_metadata URL from WWW-Authenticate header { url: 'http://127.0.0.1:60154/.well-known/oauth-protected-resource/mcp' } [2026-11-28T13:02:58.462Z][18150] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:60154/.well-known/oauth-protected-resource/mcp' } stderr | src/lib/utils.test.ts > Feature: Discovery with --authorization-server > Scenario: Without it, the advertised authorization server is used [2026-11-28T13:02:58.464Z][18150] Successfully fetched Protected Resource Metadata { resource: 'http://127.0.0.1:60154/mcp', authorizationServers: [ 'http://127.0.0.1:60154/shared' ], scopesSupported: [ 'calendar' ] } stderr | src/lib/utils.test.ts > Feature: Discovery with --authorization-server > Scenario: Without it, the advertised authorization server is used [2026-11-28T13:02:58.464Z][18150] Using authorization server from Protected Resource Metadata { authorizationServerUrl: 'http://127.0.0.1:60154/shared' } [2026-11-28T13:02:58.465Z][18150] Fetching authorization server metadata { serverUrl: 'http://127.0.0.1:60154/shared', candidates: [ 'http://127.0.0.1:60154/.well-known/oauth-authorization-server/shared', 'http://127.0.0.1:60154/.well-known/oauth-authorization-server', 'http://127.0.0.1:60154/.well-known/openid-configuration/shared', 'http://127.0.0.1:60154/shared/.well-known/openid-configuration' ] } stderr | src/lib/utils.test.ts > Feature: Discovery with --authorization-server > Scenario: Without it, the advertised authorization server is used [2026-11-28T13:02:58.465Z][18150] Successfully fetched authorization server metadata { issuer: 'http://127.0.0.1:60154/shared', scopes_supported: undefined, scopeCount: 0 } ❯ src/lib/utils.test.ts 188/259 Test Files 23 passed (24) Tests 629 passed (700) Start at 13:02:28 Duration 30.02s stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pings the server once per interval while the connection is open [2026-11-28T13:02:58.489Z][18150] Keep-alive enabled, pinging every 30 seconds stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pings the server once per interval while the connection is open [2026-11-28T13:03:34.064Z][18150] Error from remote server: Error: timed out waiting for the re-initialize response at /nix/var/nix/builds/nix-15422-2551709818/source/src/lib/utils.ts:1490:16 at callTimer (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2211:25) at doTickInner (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2814:30) at Immediate.nextPromiseTick (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2875:26) at processImmediate (node:internal/timers:574:21) [2026-11-28T13:03:34.064Z][18150] Error from remote server { stack: 'Error: timed out waiting for the re-initialize response\n' + ' at /nix/var/nix/builds/nix-15422-2551709818/source/src/lib/utils.ts:1490:16\n' + ' at callTimer (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2211:25)\n' + ' at doTickInner (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2814:30)\n' + ' at Immediate.nextPromiseTick (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2875:26)\n' + ' at processImmediate (node:internal/timers:574:21)' } stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pings the server once per interval while the connection is open [2026-11-28T13:03:34.064Z][18150] Reopening the change-notification stream against a filter the client changed stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pings the server once per interval while the connection is open [2026-11-28T13:03:36.064Z][18150] Subscribing to change notifications on the client behalf { notifications: { toolsListChanged: true, resourceSubscriptions: [ 'file:///a', 'file:///b' ] } } stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pings the server once per interval while the connection is open [2026-11-28T13:03:37.764Z][18150] Error from remote server: Error: timed out waiting for the re-initialize response at /nix/var/nix/builds/nix-15422-2551709818/source/src/lib/utils.ts:1490:16 at callTimer (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2211:25) at doTickInner (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2814:30) at Immediate.nextPromiseTick (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2875:26) at processImmediate (node:internal/timers:574:21) [2026-11-28T13:03:37.764Z][18150] Error from remote server { stack: 'Error: timed out waiting for the re-initialize response\n' + ' at /nix/var/nix/builds/nix-15422-2551709818/source/src/lib/utils.ts:1490:16\n' + ' at callTimer (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2211:25)\n' + ' at doTickInner (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2814:30)\n' + ' at Immediate.nextPromiseTick (file:///nix/var/nix/builds/nix-15422-2551709818/source/node_modules/.pnpm/vitest@3.2.3_@types+node@22.13.10_jiti@2.7.0_tsx@4.19.3_yaml@2.9.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js:2875:26)\n' + ' at processImmediate (node:internal/timers:574:21)' } stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: The answer to our own ping is consumed, not forwarded to the client [2026-11-28T13:02:58.509Z][18150] Keep-alive enabled, pinging every 30 seconds stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A response to the client's own request is still forwarded [2026-11-28T13:02:58.511Z][18150] Keep-alive enabled, pinging every 30 seconds stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A response to the client's own request is still forwarded [2026-11-28T13:03:28.511Z][18150] [Remote→Local] client-1 [2026-11-28T13:03:28.511Z][18150] Remote → Local message { method: undefined, id: 'client-1', result: 'result-present', error: undefined } stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A second answer to a ping is dropped, not handed to a client that never asked [2026-11-28T13:02:58.512Z][18150] Keep-alive enabled, pinging every 30 seconds stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A second answer to a ping is dropped, not handed to a client that never asked [2026-11-28T13:03:28.512Z][18150] Discarding an answer to a request this proxy is no longer waiting on { id: 'mcp-remote-keepalive-1' } stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pinging stops once the connection closes [2026-11-28T13:02:58.513Z][18150] Keep-alive enabled, pinging every 30 seconds stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: Pinging stops once the connection closes [2026-11-28T13:03:28.513Z][18150] Remote transport closed, closing local transport stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A failed ping is reported without taking the proxy down [2026-11-28T13:02:58.515Z][18150] Keep-alive enabled, pinging every 30 seconds stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A failed ping is reported without taking the proxy down [2026-11-28T13:03:28.515Z][18150] Keep-alive ping failed: socket hang up stderr | src/lib/utils.test.ts > Feature: Keeping an idle connection alive > Scenario: A failed ping is reported without taking the proxy down [2026-11-28T13:03:58.515Z][18150] Keep-alive ping failed: socket hang up stderr | src/lib/utils.test.ts > Feature: Timing out an unanswered initialize > Scenario: A server that opens a response and never answers is reported, not left hanging [2026-11-28T13:02:58.517Z][18150] [Local→Remote] initialize [2026-11-28T13:02:58.517Z][18150] Local → Remote message { method: 'initialize', id: 'init-1', params: '{}' } [2026-11-28T13:02:58.517Z][18150] { "jsonrpc": "2.0", "method": "initialize", "id": "init-1", "params": {} } [2026-11-28T13:02:58.517Z][18150] Initialize message with modified client info { clientInfo: undefined } stderr | src/lib/utils.test.ts > Feature: Timing out an unanswered initialize > Scenario: A server that opens a response and never answers is reported, not left hanging [2026-11-28T13:03:28.517Z][18150] Remote server did not answer 'initialize' within 30s stderr | src/lib/utils.test.ts > Feature: Timing out an unanswered initialize > Scenario: A late answer within the window cancels the timeout [2026-11-28T13:02:58.519Z][18150] [Local→Remote] initialize [2026-11-28T13:02:58.519Z][18150] Local → Remote message { method: 'initialize', id: 'init-1', params: '{}' } [2026-11-28T13:02:58.519Z][18150] { "jsonrpc": "2.0", "method": "initialize", "id": "init-1", "params": {} } [2026-11-28T13:02:58.519Z][18150] Initialize message with modified client info { clientInfo: undefined } stderr | src/lib/utils.test.ts > Feature: Timing out an unanswered initialize > Scenario: A late answer within the window cancels the timeout [2026-11-28T13:03:27.519Z][18150] [Remote→Local] init-1 [2026-11-28T13:03:27.519Z][18150] Remote → Local message { method: undefined, id: 'init-1', result: 'result-present', error: undefined } [2026-11-28T13:03:27.519Z][18150] Setting negotiated protocol version on remote transport 2025-11-25 stderr | src/lib/utils.test.ts > Feature: Timing out an unanswered initialize > Scenario: A slow tools/call is left alone [2026-11-28T13:02:58.521Z][18150] [Local→Remote] tools/call [2026-11-28T13:02:58.521Z][18150] Local → Remote message { method: 'tools/call', id: 'call-1', params: '{"name":"slow-tool"}' } stderr | src/lib/utils.test.ts > Feature: Keep-alive command line flags > Scenario: Off unless asked for [2026-11-28T13:02:58.522Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.522Z][18150] Using callback port derived from the server URL: 37931 stderr | src/lib/utils.test.ts > Feature: Keep-alive command line flags > Scenario: --keep-alive pings every 30 seconds by default [2026-11-28T13:02:58.523Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.523Z][18150] Using callback port derived from the server URL: 37931 stderr | src/lib/utils.test.ts > Feature: Keep-alive command line flags > Scenario: --ping-interval sets the interval and implies --keep-alive [2026-11-28T13:02:58.523Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.523Z][18150] Using callback port derived from the server URL: 37931 stderr | src/lib/utils.test.ts > Feature: Keep-alive command line flags > Scenario: An unusable interval falls back to the default rather than disabling the flag [2026-11-28T13:02:58.525Z][18150] Warning: Ignoring invalid --ping-interval value: soon. Must be a positive number of seconds. [2026-11-28T13:02:58.525Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.525Z][18150] Using callback port derived from the server URL: 37931 stderr | src/lib/utils.test.ts > Feature: Extra authorization parameters > Scenario: Collects repeated key=value flags [2026-11-28T13:02:58.525Z][18150] Using extra authorization parameters: access_type, prompt [2026-11-28T13:02:58.526Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.526Z][18150] Using callback port derived from the server URL: 32035 stderr | src/lib/utils.test.ts > Feature: Extra authorization parameters > Scenario: No flags means no parameters [2026-11-28T13:02:58.527Z][18150] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-28T13:02:58.527Z][18150] Using callback port derived from the server URL: 37931 stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.585Z][18150] Starting OAuth server discovery { serverUrl: 'http://127.0.0.1:60168/mcp' } [2026-11-28T13:02:58.592Z][18150] Probing MCP server for WWW-Authenticate header ❯ src/lib/utils.test.ts 233/259 Test Files 23 passed (24) Tests 674 passed (700) Start at 13:02:28 Duration 30.12s stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.607Z][18150] Starting Protected Resource Metadata discovery { resourceUrl: 'http://127.0.0.1:60168/mcp', hasWWWAuthenticateHeader: false } [2026-11-28T13:02:58.607Z][18150] Built Protected Resource Metadata URLs { resourceUrl: 'http://127.0.0.1:60168/mcp', urls: [ 'http://127.0.0.1:60168/.well-known/oauth-protected-resource/mcp', 'http://127.0.0.1:60168/.well-known/oauth-protected-resource' ] } [2026-11-28T13:02:58.607Z][18150] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:60168/.well-known/oauth-protected-resource/mcp' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.608Z][18150] Protected Resource Metadata not found (404) { metadataUrl: 'http://127.0.0.1:60168/.well-known/oauth-protected-resource/mcp' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.609Z][18150] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:60168/.well-known/oauth-protected-resource' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.609Z][18150] Protected Resource Metadata not found (404) { metadataUrl: 'http://127.0.0.1:60168/.well-known/oauth-protected-resource' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.609Z][18150] Protected Resource Metadata discovery failed - no metadata found stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.609Z][18150] No Protected Resource Metadata found, falling back to server URL as authorization server [2026-11-28T13:02:58.609Z][18150] Fetching authorization server metadata { serverUrl: 'http://127.0.0.1:60168/mcp', candidates: [ 'http://127.0.0.1:60168/.well-known/oauth-authorization-server/mcp', 'http://127.0.0.1:60168/.well-known/oauth-authorization-server', 'http://127.0.0.1:60168/.well-known/openid-configuration/mcp', 'http://127.0.0.1:60168/mcp/.well-known/openid-configuration' ] } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.609Z][18150] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:60168/.well-known/oauth-authorization-server/mcp' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.610Z][18150] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:60168/.well-known/oauth-authorization-server' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.610Z][18150] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:60168/.well-known/openid-configuration/mcp' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.610Z][18150] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:60168/mcp/.well-known/openid-configuration' } stderr | src/lib/utils.test.ts > Feature: Probing the server before OAuth discovery > Scenario: A probe redirected to another origin does not take the user's headers there [2026-11-28T13:02:58.611Z][18150] No authorization server metadata found at any candidate URL { serverUrl: 'http://127.0.0.1:60168/mcp', candidates: [ 'http://127.0.0.1:60168/.well-known/oauth-authorization-server/mcp', 'http://127.0.0.1:60168/.well-known/oauth-authorization-server', 'http://127.0.0.1:60168/.well-known/openid-configuration/mcp', 'http://127.0.0.1:60168/mcp/.well-known/openid-configuration' ] } ✓ src/lib/utils.test.ts (259 tests) 28250ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: Reopen a change-notification stream the server closed, so the client keeps hearing 10559ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: Every later resource subscription is honoured, not just the first 2119ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: A refused resource subscription does not cost the client the rest of its notifications 2074ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: A refusal about one resource does not stop the client subscribing to another 4085ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: A superseded exchange does not answer the request that replaced it 463ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: Reopening a stream while a session is recovering does not take the process down 3155ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: Cancelling before the server has anything in flight still ends the exchange 306ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: A cancellation does not leave the retry mapping behind for the next request 305ms Test Files 24 passed (24) Tests 700 passed (700) Start at 13:02:28 Duration 30.29s (transform 3.42s, setup 0ms, collect 17.20s, tests 38.37s, environment 3ms, prepare 5.64s) checkPhase completed in 32 seconds Running phase: installPhase Executing npmInstallHook Lockfile is up to date, resolution step is skipped Packages: -423 devDependencies: - @modelcontextprotocol/client 2.4.0 - @modelcontextprotocol/core 2.4.0 - @modelcontextprotocol/server 2.4.0 - @types/express 5.0.0 - @types/node 22.13.10 - husky 9.1.7 - knip 6.32.3 - oxfmt 0.65.0 - oxlint 1.80.0 - semantic-release 25.0.9 - tsup 8.4.0 - tsx 4.19.3 - typescript 5.8.2 - vitest 3.2.3 - zod 4.6.7 npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. Finished npmInstallHook Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-15422-2551709818/ in /nix/store/d5g6mns2q9ndmxwyrh3g5sdhpqv2bpjb-mcp-remote-0.17.2... /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 22131 Broken pipe: 13 find "$dir" -type f -not -path '*/.build-id/*' -print0 22132 Segmentation fault: 11 | while IFS= read -r -d '' file; do if isELF "$file"; then printf '%s\0' "$file" 1>&3; else if isScript "$file"; then filename=${file##*/}; dir=${file%/*}; if [ -e "$dir/.$filename-wrapped" ]; then printf '%s\0' "$file" 1>&4; fi; fi; fi; done patching script interpreter paths in /nix/store/d5g6mns2q9ndmxwyrh3g5sdhpqv2bpjb-mcp-remote-0.17.2 /nix/store/d5g6mns2q9ndmxwyrh3g5sdhpqv2bpjb-mcp-remote-0.17.2/lib/node_modules/mcp-remote/dist/client.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" /nix/store/d5g6mns2q9ndmxwyrh3g5sdhpqv2bpjb-mcp-remote-0.17.2/lib/node_modules/mcp-remote/dist/proxy.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/vxh4ylwcdwyqhils1q6084ih7l5qinwk-nodejs-24.22.2/bin/node" Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 0.17.2 in the output of the command /nix/store/d5g6mns2q9ndmxwyrh3g5sdhpqv2bpjb-mcp-remote-0.17.2/bin/mcp-remote --version 0.17.2 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing