mac02: building 8jb19sf6pv6217mjgs4n5zxx1xmrcd70-mcp-remote-0.17.1.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/q9i645fx163ncs5sijbmbkwngdssis43-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-84354-1207446590/source /nix/var/nix/builds/nix-84354-1207446590/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-84354-1207446590/.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-84354-1207446590/tmp.l8OUbb79Kh 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 214 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 2.7s 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.1 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-84354-1207446590/source/package.json CLI Target: es2022 CLI Cleaning output folder ESM Build start DTS 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-RSTQQBUC.js 1.62 MB ESM ⚡️ Build success in 318ms DTS ⚡️ Build success in 4431ms 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.1 test /nix/var/nix/builds/nix-84354-1207446590/source > vitest run RUN v3.2.3 /nix/var/nix/builds/nix-84354-1207446590/source ❯ src/lib/node-oauth-client-provider.test.ts [queued] Test Files 0 passed (23) Tests 0 passed (0) Start at 13:52:51 Duration 239ms ❯ 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 (23) Tests 0 passed (0) Start at 13:52:51 Duration 364ms ❯ 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 (23) Tests 0 passed (19) Start at 13:52:51 Duration 749ms ✓ src/lib/mcp-auth-config.test.ts (19 tests) 88ms ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/device-authorization.test.ts 0/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 1/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 [queued] ❯ src/lib/utils.test.ts [queued] Test Files 1 passed (23) Tests 20 passed (220) Start at 13:52:51 Duration 989ms 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. 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 10/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 4 passed (23) Tests 73 passed (220) Start at 13:52:51 Duration 1.09s ✓ src/lib/device-authorization.test.ts (24 tests) 53ms ✓ src/lib/issuer-metadata-validation.test.ts (10 tests) 147ms ❯ 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 10/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 4 passed (23) Tests 73 passed (220) Start at 13:52:51 Duration 1.09s 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" ❯ 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 10/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 4 passed (23) Tests 73 passed (220) Start at 13:52:51 Duration 1.09s ✓ src/lib/discovery-state.test.ts (9 tests) 146ms ❯ 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 10/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 4 passed (23) Tests 73 passed (220) Start at 13:52:51 Duration 1.09s 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 10/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/utils.test.ts [queued] Test Files 4 passed (23) Tests 73 passed (220) Start at 13:52:51 Duration 1.09s ✓ src/lib/protected-resource-metadata.test.ts (24 tests) 21ms ❯ 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 13/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 53/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/258 Test Files 5 passed (23) Tests 152 passed (520) Start at 13:52:51 Duration 1.19s 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/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 13/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 53/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/258 Test Files 5 passed (23) Tests 152 passed (520) Start at 13:52:51 Duration 1.19s ✓ src/lib/explicit-client-credentials.test.ts (17 tests) 395ms ❯ 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/endpoint-policy.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 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/258 Test Files 7 passed (23) Tests 208 passed (520) Start at 13:52:51 Duration 1.29s stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse basic server URL [86534] 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 port [86534] 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 [86534] 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 [86534] Using callback path: /custom-callback [86534] 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 [86534] Using client metadata document: https://example.com/.well-known/oauth-client-metadata [86534] 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 [86534] Warning: Ignoring invalid client metadata URL: http://example.com/client-metadata. It must be an HTTPS URL with a path. [86534] 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 [86534] Warning: Ignoring invalid client metadata URL: https://example.com/. It must be an HTTPS URL with a path. [86534] 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 [86534] Warning: Ignoring invalid client metadata URL: https://example.com. It must be an HTTPS URL with a path. [86534] 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 [86534] Warning: Ignoring invalid client metadata URL: not-a-url. It must be an HTTPS URL with a path. [86534] 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 [86534] 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 [86534] Using the ID token as the bearer credential [86534] 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 [86534] 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 [86534] Using the OAuth device grant; no browser will be opened on this machine [86534] 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 [86534] 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 [86534] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [86534] 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 [86534] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [86534] Using an explicit OAuth token endpoint at https://auth.example.com [86534] 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 [86534] 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 [86534] Replacing ${MCP_TEST_SECRET} with environment value in static OAuth client information [86534] Using static OAuth client information from string [86534] 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 [86534] 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 [86534] Using client metadata document: https://client.example.com/metadata [86534] 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 [86534] Warning: Ignoring invalid callback path: custom-callback. It must start with '/'. [86534] 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 [86534] Warning: Ignoring reserved callback path: /wait-for-auth. It is used to coordinate concurrent instances. [86534] 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 [86534] 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 [86534] 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 [86534] Using custom headers: foo [86534] 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 [86534] Using custom headers: Authorization, Content-Type [86534] Using callback port derived from the server URL: 6065 ❯ 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/endpoint-policy.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 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/258 Test Files 7 passed (23) Tests 208 passed (520) Start at 13:52:51 Duration 1.29s ✓ src/lib/connect-to-remote-server.test.ts (18 tests) 100ms ❯ 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/endpoint-policy.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 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/258 Test Files 7 passed (23) Tests 208 passed (520) Start at 13:52:51 Duration 1.29s stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Isolate credentials by the expanded values of custom headers [86534] Using custom headers: X-Tenant [86534] Replacing ${MCP_TEST_TENANT} with environment value in header 'X-Tenant' [86534] 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 [86534] Using custom headers: X-Tenant [86534] Replacing ${MCP_TEST_TENANT} with environment value in header 'X-Tenant' [86534] 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 [86534] Using custom headers: X-Tenant [86534] 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 [86534] Loaded 2 header(s) from /nix/var/nix/builds/nix-84354-1207446590/mcp-remote-headers-S6bdB5/headers.txt stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Read headers from a file [86534] Using custom headers: Authorization, X-Tenant [86534] 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 [86534] Warning: ignoring a --header argument that is not in Name:Value form [86534] 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 [86534] 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 [86534] 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 [86534] Using custom headers: Authorization [86534] Using specified callback port: 4000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default transport strategy when not specified [86534] 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 [86534] Using transport strategy: sse-only [86534] 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 [86534] Using transport strategy: http-only [86534] 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 [86534] Using transport strategy: sse-first [86534] 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 [86534] Using transport strategy: http-first [86534] 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 [86534] Warning: Ignoring invalid transport strategy: invalid-strategy. Valid values are: sse-only, http-only, sse-first, http-first [86534] 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 [86534] 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 [86534] 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 [86534] Using callback hostname: myserver.local [86534] 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 [86534] Using callback hostname: 127.0.0.1 [86534] 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 [86534] Using callback hostname: myserver.local [86534] 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 [86534] Using transport strategy: sse-only [86534] Using callback hostname: custom.host.com [86534] 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 [86534] 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 [86534] Binding the OAuth callback server to: 0.0.0.0 [86534] 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 [86534] Binding the OAuth callback server to: ::1 [86534] Using callback hostname: [::1] (derived from --bind-host) [86534] 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 [86534] Binding the OAuth callback server to: ::1 [86534] Using callback hostname: [::1] (derived from --bind-host) [86534] 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 [86534] Binding the OAuth callback server to: ::1 [86534] Using callback hostname: [::1] (derived from --bind-host) [86534] 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 [86534] Binding the OAuth callback server to: :: [86534] 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 [86534] Using callback hostname: localhost [86534] Binding the OAuth callback server to: ::1 [86534] 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 [86534] Using callback hostname: [::1] [86534] 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 [86534] Binding the OAuth callback server to: ::1 [86534] Using callback hostname: [::1] (derived from --bind-host) [86534] 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 [86534] Warning: ignoring an empty --bind-host; the OAuth callback server stays on loopback [86534] 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 [86534] Warning: ignoring an empty --bind-host; the OAuth callback server stays on loopback [86534] 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 [86534] 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 [86534] Ignoring tool: foo [86534] 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 [86534] Ignoring tool: foo [86534] Ignoring tool: bar [86534] Ignoring tool: baz [86534] 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 [86534] Using transport strategy: sse-only [86534] Using callback hostname: localhost [86534] Ignoring tool: tool1 [86534] Ignoring tool: tool2 [86534] Using specified callback port: 4000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default auth timeout when not specified [86534] 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 [86534] Using auth callback timeout: 60 seconds [86534] 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/endpoint-policy.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 87/141 ❯ src/lib/protected-resource-metadata.test.ts 24/24 ❯ src/lib/utils.test.ts 0/258 Test Files 7 passed (23) Tests 208 passed (520) Start at 13:52:51 Duration 1.29s ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.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 87/141 ❯ src/lib/utils.test.ts 69/258 Test Files 7 passed (23) Tests 277 passed (520) Start at 13:52:51 Duration 1.39s ❯ 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/coordination.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 96/141 ❯ src/lib/refresh-coordination.test.ts [queued] ❯ src/lib/utils.test.ts 73/258 Test Files 7 passed (23) Tests 290 passed (520) Start at 13:52:51 Duration 1.59s ❯ 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/coordination.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 97/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 76/258 Test Files 7 passed (23) Tests 294 passed (550) Start at 13:52:51 Duration 1.69s ❯ 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/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 15/27 ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts 97/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 78/258 Test Files 7 passed (23) Tests 311 passed (550) Start at 13:52:51 Duration 1.79s ✓ src/lib/endpoint-policy.test.ts (27 tests) 186ms ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 0/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/node-oauth-client-provider.test.ts 98/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 104/258 Test Files 8 passed (23) Tests 350 passed (591) Start at 13:52:51 Duration 2.00s 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 [86554] [Local→Remote] tools/call ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 0/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/node-oauth-client-provider.test.ts 98/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 104/258 Test Files 8 passed (23) Tests 350 passed (591) Start at 13:52:51 Duration 2.00s ✓ src/lib/node-oauth-client-provider.test.ts (141 tests) 1109ms ❯ src/lib/auth-success-url.test.ts 17/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 1/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/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 106/258 Test Files 10 passed (23) Tests 432 passed (610) Start at 13:52:51 Duration 2.10s 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 17/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 1/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/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 106/258 Test Files 10 passed (23) Tests 432 passed (610) Start at 13:52:51 Duration 2.10s ✓ src/lib/authorization-server-metadata.test.ts (19 tests) 24ms ❯ src/lib/auth-success-url.test.ts 17/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 1/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/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 106/258 Test Files 10 passed (23) Tests 432 passed (610) Start at 13:52:51 Duration 2.10s 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 [86554] 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 [86554] OAuth callback server running at http://127.0.0.1:59010 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 [86554] This instance is running the sign-in for this server (callback port 59010) 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 [86554] Please authorize this client by visiting: https://auth.example.test/authorize?response_type=code&client_id=static-client&code_challenge=Ohgny-jU66_enupIIcSg9KTIlzKlTGmOMlKhH_iNCaA&code_challenge_method=S256&redirect_uri=http%3A%2F%2F127.0.0.1%3A59010%2Foauth%2Fcallback&state=b7bcfd21-c61c-4be4-8ccc-072c1aea48c3&scope=openid+email+profile&resource=https%3A%2F%2Fmcp.example.test%2Fmcp 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/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 [86554] Auth code received, resolving promise 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" ❯ src/lib/auth-success-url.test.ts 18/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 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/utils.test.ts 108/258 Test Files 11 passed (23) Tests 440 passed (629) Start at 13:52:51 Duration 2.20s ✓ src/lib/refresh-coordination.test.ts (3 tests) 431ms ✓ Feature: Instances sharing a store redeem a refresh token once between them > Scenario: Three instances refused the same token redeem its refresh token once 390ms ❯ src/lib/auth-success-url.test.ts 18/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 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/utils.test.ts 108/258 Test Files 11 passed (23) Tests 440 passed (629) Start at 13:52:51 Duration 2.20s 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 [86554] 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 [86554] Error from remote server: UnauthorizedError: Unauthorized at handleOAuthUnauthorized (file:///nix/var/nix/builds/nix-84354-1207446590/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-84354-1207446590/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-84354-1207446590/source/src/lib/utils.ts:1715: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 [86554] 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 [86554] [Remote→Local] 1 ❯ src/lib/auth-success-url.test.ts 18/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 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/utils.test.ts 108/258 Test Files 11 passed (23) Tests 440 passed (629) Start at 13:52:51 Duration 2.20s ✓ src/lib/cookie-jar.test.ts (19 tests) 33ms ✓ src/lib/mid-session-401.test.ts (1 test) 340ms ✓ Feature: A 401 on a mid-session request > Scenario: the first refused request completes its sign-in instead of waiting for a lost code 339ms ❯ src/lib/auth-success-url.test.ts 19/26 ❯ src/lib/authorization-server-metadata.test.ts 19/19 ❯ src/lib/cookie-jar.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/coordination.test.ts 0/11 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 141/141 ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/utils.test.ts 112/258 Test Files 13 passed (23) Tests 465 passed (640) Start at 13:52:51 Duration 2.30s ✓ src/lib/coordination.test.ts (11 tests) 135ms ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/cookie-jar.test.ts 19/19 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/refresh-coordination.test.ts 3/3 ❯ src/lib/utils.test.ts 115/258 ❯ src/proxy.test.ts 0/9 Test Files 14 passed (23) Tests 485 passed (649) Start at 13:52:51 Duration 2.40s ✓ src/proxy.test.ts (9 tests) 104ms ❯ 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/open-browser.test.ts [queued] ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 130/258 Test Files 15 passed (23) Tests 510 passed (649) Start at 13:52:51 Duration 2.50s ✓ src/lib/auth-success-url.test.ts (26 tests) 653ms ✓ src/lib/open-browser.test.ts (5 tests) 16ms ✓ src/lib/protocol-era.test.ts (19 tests) 35ms ❯ src/lib/client-credentials.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 136/258 Test Files 18 passed (23) Tests 540 passed (673) Start at 13:52:51 Duration 2.60s ❯ 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/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts 138/258 Test Files 18 passed (23) Tests 542 passed (685) Start at 13:52:51 Duration 2.70s ✓ src/lib/client-credentials.test.ts (12 tests) 27ms ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/static-client-info.test.ts 0/4 ❯ src/lib/utils.test.ts 141/258 Test Files 19 passed (23) Tests 557 passed (689) Start at 13:52:51 Duration 2.80s ✓ src/lib/static-client-info.test.ts (4 tests) 58ms ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/utils.test.ts 142/258 Test Files 20 passed (23) Tests 562 passed (689) Start at 13:52:51 Duration 2.90s ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/utils.test.ts 144/258 Test Files 20 passed (23) Tests 564 passed (689) Start at 13:52:51 Duration 3.01s ❯ src/lib/client-diagnostics.test.ts 0/3 ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/utils.test.ts 146/258 Test Files 20 passed (23) Tests 566 passed (692) Start at 13:52:51 Duration 3.11s ✓ src/lib/client-diagnostics.test.ts (3 tests) 60ms ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 571 passed (692) Start at 13:52:51 Duration 3.31s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 571 passed (692) Start at 13:52:51 Duration 3.92s ❯ src/lib/coordinate-auth.test.ts 5/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 572 passed (692) Start at 13:52:51 Duration 4.22s ❯ src/lib/coordinate-auth.test.ts 5/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 572 passed (692) Start at 13:52:51 Duration 4.94s ❯ src/lib/coordinate-auth.test.ts 6/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 573 passed (692) Start at 13:52:51 Duration 5.25s ❯ src/lib/coordinate-auth.test.ts 7/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 574 passed (692) Start at 13:52:51 Duration 5.45s ❯ src/lib/coordinate-auth.test.ts 8/14 ❯ src/lib/utils.test.ts 147/258 Test Files 21 passed (23) Tests 575 passed (692) Start at 13:52:51 Duration 5.65s ✓ src/lib/coordinate-auth.test.ts (14 tests) 3762ms ✓ Feature: Deciding who runs the sign-in > Scenario: A sibling holding a token nobody can use is not mistaken for a finished sign-in 1021ms ✓ Feature: Deciding who runs the sign-in > Scenario: An unanswered sign-in stops the follower instead of authorizing without ownership 1011ms ✓ Feature: Deciding who runs the sign-in > Scenario: A sibling on a specific --bind-host is asked there, not on 127.0.0.1 1011ms ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 5.96s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 6.98s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 8.00s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 8.92s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 9.94s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 10.95s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 11.96s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:52:51 Duration 12.98s ❯ src/lib/utils.test.ts 148/258 Test Files 22 passed (23) Tests 582 passed (692) Start at 13:52:51 Duration 13.70s ❯ src/lib/utils.test.ts 148/258 Test Files 22 passed (23) Tests 582 passed (692) Start at 13:52:51 Duration 14.01s ❯ src/lib/utils.test.ts 150/258 Test Files 22 passed (23) Tests 584 passed (692) Start at 13:52:51 Duration 14.11s ❯ src/lib/utils.test.ts 151/258 Test Files 22 passed (23) Tests 585 passed (692) Start at 13:52:51 Duration 14.31s ❯ src/lib/utils.test.ts 152/258 Test Files 22 passed (23) Tests 586 passed (692) Start at 13:52:51 Duration 14.41s ❯ src/lib/utils.test.ts 154/258 Test Files 22 passed (23) Tests 588 passed (692) Start at 13:52:51 Duration 14.61s ❯ src/lib/utils.test.ts 155/258 Test Files 22 passed (23) Tests 589 passed (692) Start at 13:52:51 Duration 14.71s ❯ src/lib/utils.test.ts 158/258 Test Files 22 passed (23) Tests 592 passed (692) Start at 13:52:51 Duration 14.82s ❯ src/lib/utils.test.ts 160/258 Test Files 22 passed (23) Tests 594 passed (692) Start at 13:52:51 Duration 14.92s ❯ src/lib/utils.test.ts 160/258 Test Files 22 passed (23) Tests 594 passed (692) Start at 13:52:51 Duration 15.94s ❯ src/lib/utils.test.ts 160/258 Test Files 22 passed (23) Tests 594 passed (692) Start at 13:52:51 Duration 16.96s ❯ src/lib/utils.test.ts 162/258 Test Files 22 passed (23) Tests 596 passed (692) Start at 13:52:51 Duration 17.36s ❯ src/lib/utils.test.ts 162/258 Test Files 22 passed (23) Tests 596 passed (692) Start at 13:52:51 Duration 17.98s ❯ src/lib/utils.test.ts 162/258 Test Files 22 passed (23) Tests 596 passed (692) Start at 13:52:51 Duration 18.99s ❯ src/lib/utils.test.ts 163/258 Test Files 22 passed (23) Tests 597 passed (692) Start at 13:52:51 Duration 19.30s ❯ src/lib/utils.test.ts 164/258 Test Files 22 passed (23) Tests 598 passed (692) Start at 13:52:51 Duration 19.50s ❯ src/lib/utils.test.ts 165/258 Test Files 22 passed (23) Tests 599 passed (692) Start at 13:52:51 Duration 19.61s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:52:51 Duration 19.81s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:52:51 Duration 20.01s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:52:51 Duration 20.93s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:52:51 Duration 21.95s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:52:51 Duration 22.97s ❯ src/lib/utils.test.ts 167/258 Test Files 22 passed (23) Tests 601 passed (692) Start at 13:52:51 Duration 23.88s ❯ src/lib/utils.test.ts 167/258 Test Files 22 passed (23) Tests 601 passed (692) Start at 13:52:51 Duration 23.98s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:52:51 Duration 24.39s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:52:51 Duration 25.00s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:52:51 Duration 26.02s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:52:51 Duration 26.94s ❯ src/lib/utils.test.ts 169/258 Test Files 22 passed (23) Tests 603 passed (692) Start at 13:52:51 Duration 27.45s ❯ src/lib/utils.test.ts 170/258 Test Files 22 passed (23) Tests 604 passed (692) Start at 13:52:51 Duration 27.85s ❯ src/lib/utils.test.ts 170/258 Test Files 22 passed (23) Tests 604 passed (692) Start at 13:52:51 Duration 27.95s ❯ src/lib/utils.test.ts 172/258 Test Files 22 passed (23) Tests 606 passed (692) Start at 13:52:51 Duration 28.36s ❯ src/lib/utils.test.ts 173/258 Test Files 22 passed (23) Tests 607 passed (692) Start at 13:52:51 Duration 28.56s ❯ src/lib/utils.test.ts 174/258 Test Files 22 passed (23) Tests 608 passed (692) Start at 13:52:51 Duration 28.77s stderr | src/lib/utils.test.ts > Feature: Choosing the authorization server with --authorization-server > Scenario: Rejects --authorization-server ["--debug"] [2026-11-26T13:53:20.159Z][86534] 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-26T13:53:20.161Z][86534] Signing in at the authorization server set by --authorization-server: http://127.0.0.1:9000/realm [2026-11-26T13:53:20.161Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.161Z][86534] 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-26T13:53:20.162Z][86534] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [2026-11-26T13:53:20.162Z][86534] 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-26T13:53:20.163Z][86534] Starting OAuth server discovery { serverUrl: 'http://127.0.0.1:59106/mcp' } [2026-11-26T13:53:20.164Z][86534] 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-26T13:53:20.174Z][86534] Received 401 with WWW-Authenticate header { hasHeader: true, header: 'Bearer resource_metadata="http://127.0.0.1:59106/.well-known/oauth-protected-resource/mcp"' } [2026-11-26T13:53:20.174Z][86534] Parsed WWW-Authenticate header { hasResourceMetadata: true, hasScope: false, error: undefined } [2026-11-26T13:53:20.175Z][86534] Starting Protected Resource Metadata discovery { resourceUrl: 'http://127.0.0.1:59106/mcp', hasWWWAuthenticateHeader: true } [2026-11-26T13:53:20.175Z][86534] Parsed WWW-Authenticate header { hasResourceMetadata: true, hasScope: false, error: undefined } [2026-11-26T13:53:20.175Z][86534] Using resource_metadata URL from WWW-Authenticate header { url: 'http://127.0.0.1:59106/.well-known/oauth-protected-resource/mcp' } [2026-11-26T13:53:20.175Z][86534] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:59106/.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-26T13:53:20.177Z][86534] Successfully fetched Protected Resource Metadata { resource: 'http://127.0.0.1:59106/mcp', authorizationServers: [ 'http://127.0.0.1:59106/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-26T13:53:20.178Z][86534] Using authorization server from Protected Resource Metadata { authorizationServerUrl: 'http://127.0.0.1:59106/shared' } [2026-11-26T13:53:20.178Z][86534] Fetching authorization server metadata { serverUrl: 'http://127.0.0.1:59106/shared', candidates: [ 'http://127.0.0.1:59106/.well-known/oauth-authorization-server/shared', 'http://127.0.0.1:59106/.well-known/oauth-authorization-server', 'http://127.0.0.1:59106/.well-known/openid-configuration/shared', 'http://127.0.0.1:59106/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-26T13:53:20.180Z][86534] Successfully fetched authorization server metadata { issuer: 'http://127.0.0.1:59106/shared', scopes_supported: undefined, scopeCount: 0 } 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-26T13:53:20.200Z][86534] 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-26T13:53:55.775Z][86534] Error from remote server: Error: timed out waiting for the re-initialize response at /nix/var/nix/builds/nix-84354-1207446590/source/src/lib/utils.ts:1485:16 at callTimer (file:///nix/var/nix/builds/nix-84354-1207446590/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-84354-1207446590/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-84354-1207446590/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-26T13:53:55.775Z][86534] Error from remote server { stack: 'Error: timed out waiting for the re-initialize response\n' + ' at /nix/var/nix/builds/nix-84354-1207446590/source/src/lib/utils.ts:1485:16\n' + ' at callTimer (file:///nix/var/nix/builds/nix-84354-1207446590/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-84354-1207446590/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-84354-1207446590/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-26T13:53:55.775Z][86534] 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-26T13:53:57.775Z][86534] 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-26T13:53:59.475Z][86534] Error from remote server: Error: timed out waiting for the re-initialize response at /nix/var/nix/builds/nix-84354-1207446590/source/src/lib/utils.ts:1485:16 at callTimer (file:///nix/var/nix/builds/nix-84354-1207446590/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-84354-1207446590/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-84354-1207446590/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-26T13:53:59.475Z][86534] Error from remote server { stack: 'Error: timed out waiting for the re-initialize response\n' + ' at /nix/var/nix/builds/nix-84354-1207446590/source/src/lib/utils.ts:1485:16\n' + ' at callTimer (file:///nix/var/nix/builds/nix-84354-1207446590/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-84354-1207446590/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-84354-1207446590/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-26T13:53:20.227Z][86534] 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-26T13:53:20.229Z][86534] 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-26T13:53:50.229Z][86534] [Remote→Local] client-1 [2026-11-26T13:53:50.229Z][86534] 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-26T13:53:20.231Z][86534] 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-26T13:53:50.231Z][86534] 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-26T13:53:20.232Z][86534] 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-26T13:53:50.232Z][86534] 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-26T13:53:20.234Z][86534] 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-26T13:53:50.234Z][86534] 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-26T13:54:20.234Z][86534] 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-26T13:53:20.236Z][86534] [Local→Remote] initialize [2026-11-26T13:53:20.236Z][86534] Local → Remote message { method: 'initialize', id: 'init-1', params: '{}' } [2026-11-26T13:53:20.236Z][86534] { "jsonrpc": "2.0", "method": "initialize", "id": "init-1", "params": {} } [2026-11-26T13:53:20.236Z][86534] 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-26T13:53:50.236Z][86534] 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-26T13:53:20.238Z][86534] [Local→Remote] initialize [2026-11-26T13:53:20.238Z][86534] Local → Remote message { method: 'initialize', id: 'init-1', params: '{}' } [2026-11-26T13:53:20.238Z][86534] { "jsonrpc": "2.0", "method": "initialize", "id": "init-1", "params": {} } [2026-11-26T13:53:20.238Z][86534] 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-26T13:53:49.238Z][86534] [Remote→Local] init-1 [2026-11-26T13:53:49.238Z][86534] Remote → Local message { method: undefined, id: 'init-1', result: 'result-present', error: undefined } [2026-11-26T13:53:49.238Z][86534] 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-26T13:53:20.242Z][86534] [Local→Remote] tools/call [2026-11-26T13:53:20.242Z][86534] 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-26T13:53:20.244Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.244Z][86534] 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-26T13:53:20.245Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.245Z][86534] 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-26T13:53:20.245Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.246Z][86534] 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-26T13:53:20.246Z][86534] Warning: Ignoring invalid --ping-interval value: soon. Must be a positive number of seconds. [2026-11-26T13:53:20.246Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.247Z][86534] 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-26T13:53:20.247Z][86534] Using extra authorization parameters: access_type, prompt [2026-11-26T13:53:20.247Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.248Z][86534] 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-26T13:53:20.249Z][86534] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:20.249Z][86534] 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-26T13:53:20.257Z][86534] Starting OAuth server discovery { serverUrl: 'http://127.0.0.1:59120/mcp' } [2026-11-26T13:53:20.258Z][86534] Probing MCP server for WWW-Authenticate header 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-26T13:53:20.259Z][86534] Starting Protected Resource Metadata discovery { resourceUrl: 'http://127.0.0.1:59120/mcp', hasWWWAuthenticateHeader: false } [2026-11-26T13:53:20.260Z][86534] Built Protected Resource Metadata URLs { resourceUrl: 'http://127.0.0.1:59120/mcp', urls: [ 'http://127.0.0.1:59120/.well-known/oauth-protected-resource/mcp', 'http://127.0.0.1:59120/.well-known/oauth-protected-resource' ] } [2026-11-26T13:53:20.260Z][86534] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.261Z][86534] Protected Resource Metadata not found (404) { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.262Z][86534] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.263Z][86534] Protected Resource Metadata not found (404) { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.263Z][86534] 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-26T13:53:20.263Z][86534] No Protected Resource Metadata found, falling back to server URL as authorization server [2026-11-26T13:53:20.263Z][86534] Fetching authorization server metadata { serverUrl: 'http://127.0.0.1:59120/mcp', candidates: [ 'http://127.0.0.1:59120/.well-known/oauth-authorization-server/mcp', 'http://127.0.0.1:59120/.well-known/oauth-authorization-server', 'http://127.0.0.1:59120/.well-known/openid-configuration/mcp', 'http://127.0.0.1:59120/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-26T13:53:20.264Z][86534] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.265Z][86534] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.266Z][86534] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:59120/.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-26T13:53:20.267Z][86534] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:59120/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-26T13:53:20.267Z][86534] No authorization server metadata found at any candidate URL { serverUrl: 'http://127.0.0.1:59120/mcp', candidates: [ 'http://127.0.0.1:59120/.well-known/oauth-authorization-server/mcp', 'http://127.0.0.1:59120/.well-known/oauth-authorization-server', 'http://127.0.0.1:59120/.well-known/openid-configuration/mcp', 'http://127.0.0.1:59120/mcp/.well-known/openid-configuration' ] } ❯ src/lib/utils.test.ts 232/258 Test Files 22 passed (23) Tests 666 passed (692) Start at 13:52:51 Duration 28.87s ✓ src/lib/utils.test.ts (258 tests) 27716ms ✓ 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 10540ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: Every later resource subscription is honoured, not just the first 2120ms ✓ 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 2068ms ✓ 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 4082ms ✓ 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 462ms ✓ 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 3154ms ✓ 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 310ms Test Files 23 passed (23) Tests 692 passed (692) Start at 13:52:51 Duration 28.99s (transform 1.81s, setup 0ms, collect 10.70s, tests 35.64s, environment 33ms, prepare 3.27s) checkPhase completed in 30 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-84354-1207446590/ in /nix/store/6dznq5zla0sm9rjnqyb8z6bc6p8r8jjx-mcp-remote-0.17.1... patching script interpreter paths in /nix/store/6dznq5zla0sm9rjnqyb8z6bc6p8r8jjx-mcp-remote-0.17.1 /nix/store/6dznq5zla0sm9rjnqyb8z6bc6p8r8jjx-mcp-remote-0.17.1/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/6dznq5zla0sm9rjnqyb8z6bc6p8r8jjx-mcp-remote-0.17.1/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.1 in the output of the command /nix/store/6dznq5zla0sm9rjnqyb8z6bc6p8r8jjx-mcp-remote-0.17.1/bin/mcp-remote --version 0.17.1 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing