elastic-arm-66057d56: building hvk0qahz3a3159al2icbdvj72zavarkk-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 ~ /build/source /build/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=/build/.home/.config/pnpm/rc manage-package-manager-versions=false npm-globalconfig=/nix/store/ycwb9dbr67z9y7wdzm73bgjs4gsq8kb6-nodejs-slim-24.22.2/etc/npmrc package-import-method=clone-or-copy platform=linux registry=https://registry.npmjs.org/ reporter=append-only store-dir=/build/tmp.KAxL5WRFmh user-agent=pnpm/10.34.7 npm/? node/v24.22.2 linux arm64 Lockfile is up to date, resolution step is skipped Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +507 Progress: resolved 507, reused 507, downloaded 0, added 0 Progress: resolved 507, reused 507, downloaded 0, added 76 Progress: resolved 507, reused 507, downloaded 0, added 89 Progress: resolved 507, reused 507, downloaded 0, added 105 Progress: resolved 507, reused 507, downloaded 0, added 121 Progress: resolved 507, reused 507, downloaded 0, added 128 Progress: resolved 507, reused 507, downloaded 0, added 137 Progress: resolved 507, reused 507, downloaded 0, added 151 Progress: resolved 507, reused 507, downloaded 0, added 168 Progress: resolved 507, reused 507, downloaded 0, added 176 Progress: resolved 507, reused 507, downloaded 0, added 201 Progress: resolved 507, reused 507, downloaded 0, added 264 Progress: resolved 507, reused 507, downloaded 0, added 281 Progress: resolved 507, reused 507, downloaded 0, added 298 Progress: resolved 507, reused 507, downloaded 0, added 339 Progress: resolved 507, reused 507, downloaded 0, added 362 Progress: resolved 507, reused 507, downloaded 0, added 409 Progress: resolved 507, reused 507, downloaded 0, added 429 Progress: resolved 507, reused 507, downloaded 0, added 459 Progress: resolved 507, reused 507, downloaded 0, added 507, 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 20.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/vitest: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/tsup: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/semantic-release: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/knip: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/tsup-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/husky: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/oxfmt: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/tsserver: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/oxlint: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/tsc: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/tsx: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.bin/knip-bun: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash" node_modules/.pnpm/bottleneck@2.19.5/node_modules/bottleneck/scripts/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/oxlint@1.80.0/node_modules/oxlint/bin/oxlint: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" node_modules/.pnpm/husky@9.1.7/node_modules/husky/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" node_modules/.pnpm/mime@4.1.0/node_modules/mime/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/mime: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/formatly: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/uglifyjs: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/handlebars: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/nanoid: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/marked: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/sucrase-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/is-inside-container: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/rc: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/highlight: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/js-yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/esbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/rollup: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/conventional-changelog-writer: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/vite: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/conventional-commits-parser: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/glob: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/npm: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/is-docker: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/why-is-node-running: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/vite-node: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/tree-kill: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/node-which: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/npx: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/semver: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/node_modules/.bin/sucrase: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/mime@1.6.0/node_modules/mime/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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-default.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/tsserver: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" node_modules/.pnpm/send@0.19.0/node_modules/send/node_modules/.bin/mime: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/yaml: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/oxfmt@0.65.0/node_modules/oxfmt/bin/oxfmt: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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-changelog-writer: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/knip@6.32.3/node_modules/knip/bin/knip.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" node_modules/.pnpm/knip@6.32.3/node_modules/knip/node_modules/.bin/formatly: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/knip@6.32.3/node_modules/knip/node_modules/.bin/jiti: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/rc@1.2.8/node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" node_modules/.pnpm/semver@7.8.5/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/marked: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/bin/npm: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" node_modules/.pnpm/npm@11.19.0/node_modules/npm/node_modules/.bin/cssesc: interpreter directive changed from "#!/bin/sh" to "/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/9zyabiswyisqky2gd1d3z1ig5rm7dd94-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/sh" 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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" 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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash" Finished pnpmConfigHook configurePhase completed in 37 seconds 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: /build/source/package.json CLI Target: es2022 CLI Cleaning output folder ESM Build start ESM dist/client.js 6.59 KB ESM dist/chunk-MLKGABMK.js 191.00 B ESM dist/webapi-WW3GGD26.js 122.45 KB ESM dist/proxy.js 534.17 KB ESM dist/chunk-RSTQQBUC.js 1.62 MB ESM ⚡️ Build success in 98ms DTS Build start DTS ⚡️ Build success in 3143ms 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 /build/source > vitest run RUN v3.2.3 /build/source ❯ src/proxy.test.ts [queued] Test Files 0 passed (23) Tests 0 passed (0) Start at 13:53:18 Duration 160ms ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/client-credentials.test.ts [queued] ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/cookie-jar.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/device-authorization.test.ts [queued] ❯ src/lib/discovery-state.test.ts [queued] ❯ src/lib/endpoint-policy.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/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/open-browser.test.ts [queued] ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/refresh-coordination.test.ts [queued] ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts [queued] ❯ src/proxy.test.ts 0/9 Test Files 0 passed (23) Tests 0 passed (9) Start at 13:53:18 Duration 556ms ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/client-credentials.test.ts [queued] ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/cookie-jar.test.ts 0/19 ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/device-authorization.test.ts [queued] ❯ src/lib/discovery-state.test.ts [queued] ❯ src/lib/endpoint-policy.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/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/open-browser.test.ts 0/5 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/protocol-era.test.ts [queued] ❯ src/lib/refresh-coordination.test.ts [queued] ❯ src/lib/static-client-info.test.ts [queued] ❯ src/lib/utils.test.ts [queued] ❯ src/proxy.test.ts 1/9 Test Files 0 passed (23) Tests 1 passed (33) Start at 13:53:18 Duration 659ms ✓ src/lib/open-browser.test.ts (5 tests) 9ms ✓ src/lib/cookie-jar.test.ts (19 tests) 9ms ✓ src/proxy.test.ts (9 tests) 186ms ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/client-credentials.test.ts 0/12 ❯ src/lib/client-diagnostics.test.ts [queued] ❯ src/lib/connect-to-remote-server.test.ts [queued] ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/device-authorization.test.ts 0/24 ❯ src/lib/discovery-state.test.ts 0/9 ❯ src/lib/endpoint-policy.test.ts [queued] ❯ src/lib/explicit-client-credentials.test.ts 0/17 ❯ src/lib/issuer-metadata-validation.test.ts 0/10 ❯ src/lib/mcp-auth-config.test.ts 0/19 ❯ src/lib/mid-session-401.test.ts [queued] ❯ src/lib/node-oauth-client-provider.test.ts [queued] ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/protocol-era.test.ts 0/19 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/static-client-info.test.ts 0/4 ❯ src/lib/utils.test.ts [queued] Test Files 3 passed (23) Tests 33 passed (150) Start at 13:53:18 Duration 758ms ✓ src/lib/protocol-era.test.ts (19 tests) 12ms ✓ src/lib/static-client-info.test.ts (4 tests) 58ms ✓ src/lib/client-credentials.test.ts (12 tests) 18ms ✓ src/lib/discovery-state.test.ts (9 tests) 73ms ✓ src/lib/device-authorization.test.ts (24 tests) 38ms ✓ src/lib/issuer-metadata-validation.test.ts (10 tests) 112ms ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/client-diagnostics.test.ts 0/3 ❯ src/lib/connect-to-remote-server.test.ts 0/18 ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 0/27 ❯ src/lib/explicit-client-credentials.test.ts 1/17 ❯ src/lib/mcp-auth-config.test.ts 11/19 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 0/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts [queued] Test Files 9 passed (23) Tests 123 passed (340) Start at 13:53:18 Duration 859ms stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > lets the SDK clear and re-register a cached dynamic client once [mcp-sdk] SEP-2352: stored OAuth credential has no 'issuer' stamp (pre-upgrade storage or provider not round-tripping the value). SEP-2352 isolation is inactive for this read; ensure your provider round-trips the issuer field. ❯ src/lib/auth-success-url.test.ts [queued] ❯ src/lib/authorization-server-metadata.test.ts [queued] ❯ src/lib/client-diagnostics.test.ts 0/3 ❯ src/lib/connect-to-remote-server.test.ts 0/18 ❯ src/lib/coordinate-auth.test.ts [queued] ❯ src/lib/coordination.test.ts [queued] ❯ src/lib/endpoint-policy.test.ts 0/27 ❯ src/lib/explicit-client-credentials.test.ts 1/17 ❯ src/lib/mcp-auth-config.test.ts 11/19 ❯ src/lib/mid-session-401.test.ts 0/1 ❯ src/lib/node-oauth-client-provider.test.ts 0/141 ❯ src/lib/protected-resource-metadata.test.ts [queued] ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts [queued] Test Files 9 passed (23) Tests 123 passed (340) Start at 13:53:18 Duration 859ms 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 [1794] [Local→Remote] tools/call 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/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms ✓ src/lib/client-diagnostics.test.ts (3 tests) 47ms ✓ src/lib/authorization-server-metadata.test.ts (19 tests) 12ms ✓ src/lib/endpoint-policy.test.ts (27 tests) 95ms ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > opens the browser for the new registration after the stale one is cleared [mcp-sdk] SEP-2352: stored OAuth credential has no 'issuer' stamp (pre-upgrade storage or provider not round-tripping the value). SEP-2352 isolation is inactive for this read; ensure your provider round-trips the issuer field. stderr | src/lib/node-oauth-client-provider.test.ts > NodeOAuthClientProvider - OAuth Scope Handling > authorization URL > opens the browser for the new registration after the stale one is cleared [mcp-sdk] OAuth "invalid_client" — invalidating the stored client credentials and tokens and retrying authorization. Cause: "Cached OAuth client registration is no longer valid" stderr | src/lib/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 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms ✓ src/lib/protected-resource-metadata.test.ts (24 tests) 14ms ✓ src/lib/mcp-auth-config.test.ts (19 tests) 212ms ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Parse basic server URL [1777] 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 [1777] 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 [1777] 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 [1777] Using callback path: /custom-callback [1777] 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 [1777] Using client metadata document: https://example.com/.well-known/oauth-client-metadata [1777] 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 [1777] Warning: Ignoring invalid client metadata URL: http://example.com/client-metadata. It must be an HTTPS URL with a path. [1777] 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 [1777] Warning: Ignoring invalid client metadata URL: https://example.com/. It must be an HTTPS URL with a path. [1777] 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 [1777] Warning: Ignoring invalid client metadata URL: https://example.com. It must be an HTTPS URL with a path. [1777] 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 [1777] Warning: Ignoring invalid client metadata URL: not-a-url. It must be an HTTPS URL with a path. [1777] 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 [1777] 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 [1777] Using the ID token as the bearer credential [1777] 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 [1777] 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 [1777] Using the OAuth device grant; no browser will be opened on this machine [1777] 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 [1777] 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 [1777] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [1777] 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 [1777] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [1777] Using an explicit OAuth token endpoint at https://auth.example.com [1777] Using callback port derived from the server URL: 23961 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 [1794] 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 [1794] OAuth callback server running at http://127.0.0.1:36349 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Refuse to send client credentials to an insecure remote token endpoint [1777] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked 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 [1794] This instance is running the sign-in for this server (callback port 36349) stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Take a client secret from the environment rather than the command line [1777] Replacing ${MCP_TEST_SECRET} with environment value in static OAuth client information [1777] Using static OAuth client information from string [1777] Using callback port derived from the server URL: 37859 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 [1794] Please authorize this client by visiting: https://auth.example.test/authorize?response_type=code&client_id=static-client&code_challenge=oIQBsCHBk8LjdzaKu6ni5hJVNJQqUvr-GOTHU8p-aDM&code_challenge_method=S256&redirect_uri=http%3A%2F%2F127.0.0.1%3A36349%2Foauth%2Fcallback&state=76025785-9235-466f-91ee-24bce7b6e274&scope=openid+email+profile&resource=https%3A%2F%2Fmcp.example.test%2Fmcp stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Keep credentials for a metadata document client apart from registered ones [1777] 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 [1777] Using client metadata document: https://client.example.com/metadata [1777] 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 [1777] Warning: Ignoring invalid callback path: custom-callback. It must start with '/'. [1777] Using callback port derived from the server URL: 37859 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" stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Ignore a callback path that shadows the long-poll endpoint [1777] Warning: Ignoring reserved callback path: /wait-for-auth. It is used to coordinate concurrent instances. [1777] 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 [1777] 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 [1777] 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 [1777] Using custom headers: foo [1777] 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 [1777] Using custom headers: Authorization, Content-Type [1777] Using callback port derived from the server URL: 6065 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Isolate credentials by the expanded values of custom headers [1777] Using custom headers: X-Tenant [1777] Replacing ${MCP_TEST_TENANT} with environment value in header 'X-Tenant' [1777] 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 [1777] Using custom headers: X-Tenant [1777] Replacing ${MCP_TEST_TENANT} with environment value in header 'X-Tenant' [1777] 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 [1777] Using custom headers: X-Tenant [1777] 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 [1777] Loaded 2 header(s) from /build/mcp-remote-headers-LfsGu4/headers.txt stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Read headers from a file [1777] Using custom headers: Authorization, X-Tenant [1777] 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 [1777] Warning: ignoring a --header argument that is not in Name:Value form [1777] 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 [1777] 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 [1777] 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 [1777] Using custom headers: Authorization [1777] Using specified callback port: 4000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default transport strategy when not specified [1777] 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 [1777] Using transport strategy: sse-only [1777] 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 [1777] Using transport strategy: http-only [1777] 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 [1777] Using transport strategy: sse-first [1777] 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 [1777] Using transport strategy: http-first [1777] 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 [1777] Warning: Ignoring invalid transport strategy: invalid-strategy. Valid values are: sse-only, http-only, sse-first, http-first [1777] 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 [1777] 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 [1777] 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 [1777] Using callback hostname: myserver.local [1777] 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 [1777] Using callback hostname: 127.0.0.1 [1777] 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 [1777] Using callback hostname: myserver.local [1777] 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 [1777] Using transport strategy: sse-only [1777] Using callback hostname: custom.host.com [1777] 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 [1777] 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 [1777] Binding the OAuth callback server to: 0.0.0.0 [1777] Using specified callback port: 9696 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 [1794] Auth code received, resolving promise stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: An IPv6 --bind-host is accepted in the bracketed form --host takes [1777] Binding the OAuth callback server to: ::1 [1777] Using callback hostname: [::1] (derived from --bind-host) [1777] 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 [1777] Binding the OAuth callback server to: ::1 [1777] Using callback hostname: [::1] (derived from --bind-host) [1777] 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 [1777] Binding the OAuth callback server to: ::1 [1777] Using callback hostname: [::1] (derived from --bind-host) [1777] 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 [1777] Binding the OAuth callback server to: :: [1777] 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 [1777] Using callback hostname: localhost [1777] Binding the OAuth callback server to: ::1 [1777] 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 [1777] Using callback hostname: [::1] [1777] 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 [1777] Binding the OAuth callback server to: ::1 [1777] Using callback hostname: [::1] (derived from --bind-host) [1777] 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 [1777] Warning: ignoring an empty --bind-host; the OAuth callback server stays on loopback [1777] 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 [1777] Warning: ignoring an empty --bind-host; the OAuth callback server stays on loopback [1777] 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 [1777] 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 [1777] Ignoring tool: foo [1777] 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 [1777] Ignoring tool: foo [1777] Ignoring tool: bar [1777] Ignoring tool: baz [1777] 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 [1777] Using transport strategy: sse-only [1777] Using callback hostname: localhost [1777] Ignoring tool: tool1 [1777] Ignoring tool: tool2 [1777] Using specified callback port: 4000 stderr | src/lib/utils.test.ts > Feature: Command Line Arguments Parsing > Scenario: Use default auth timeout when not specified [1777] 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 [1777] Using auth callback timeout: 60 seconds [1777] Using callback port derived from the server URL: 37859 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 [1794] 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 [1794] Error from remote server: UnauthorizedError: Unauthorized at handleOAuthUnauthorized (file:///build/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:///build/source/node_modules/.pnpm/@modelcontextprotocol+client@2.4.0/node_modules/@modelcontextprotocol/client/src/client/streamableHttp.ts:1084:29) at sendToServer (/build/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 [1794] Remote server requires authorization, completing sign-in ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms ✓ src/lib/connect-to-remote-server.test.ts (18 tests) 86ms ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms 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 [1794] [Remote→Local] 1 ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms ✓ src/lib/coordination.test.ts (11 tests) 60ms ❯ src/lib/auth-success-url.test.ts 0/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 3/17 ❯ src/lib/mid-session-401.test.ts 1/1 ❯ src/lib/node-oauth-client-provider.test.ts 9/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 0/258 Test Files 16 passed (23) Tests 245 passed (692) Start at 13:53:18 Duration 959ms ✓ src/lib/mid-session-401.test.ts (1 test) 148ms ❯ src/lib/auth-success-url.test.ts 18/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 5/17 ❯ src/lib/node-oauth-client-provider.test.ts 44/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 70/258 Test Files 17 passed (23) Tests 370 passed (692) Start at 13:53:18 Duration 1.06s stderr | src/lib/refresh-coordination.test.ts > Feature: Instances sharing a store redeem a refresh token once between them > Scenario: A refusal that lost the race to an instance outside the lease keeps that instance's token [mcp-sdk] OAuth "invalid_grant" — invalidating the stored tokens and retrying authorization. Cause: "The refresh token is no longer valid" stderr | src/lib/refresh-coordination.test.ts > Feature: Instances sharing a store redeem a refresh token once between them > Scenario: A refresh token the server really refused is discarded, and a sign-in follows [mcp-sdk] OAuth "invalid_grant" — invalidating the stored tokens and retrying authorization. Cause: "The refresh token is no longer valid" ❯ src/lib/auth-success-url.test.ts 18/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 5/17 ❯ src/lib/node-oauth-client-provider.test.ts 44/141 ❯ src/lib/refresh-coordination.test.ts 0/3 ❯ src/lib/utils.test.ts 70/258 Test Files 17 passed (23) Tests 370 passed (692) Start at 13:53:18 Duration 1.06s ✓ src/lib/refresh-coordination.test.ts (3 tests) 407ms ✓ Feature: Instances sharing a store redeem a refresh token once between them > Scenario: Three instances refused the same token redeem its refresh token once 331ms ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 7/17 ❯ src/lib/node-oauth-client-provider.test.ts 44/141 ❯ src/lib/utils.test.ts 77/258 Test Files 18 passed (23) Tests 389 passed (692) Start at 13:53:18 Duration 1.26s ❯ src/lib/auth-success-url.test.ts 25/26 ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/explicit-client-credentials.test.ts 13/17 ❯ src/lib/node-oauth-client-provider.test.ts 87/141 ❯ src/lib/utils.test.ts 79/258 Test Files 18 passed (23) Tests 440 passed (692) Start at 13:53:18 Duration 1.36s ✓ src/lib/auth-success-url.test.ts (26 tests) 497ms ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 96/141 ❯ src/lib/utils.test.ts 105/258 Test Files 20 passed (23) Tests 480 passed (692) Start at 13:53:18 Duration 1.46s 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/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 96/141 ❯ src/lib/utils.test.ts 105/258 Test Files 20 passed (23) Tests 480 passed (692) Start at 13:53:18 Duration 1.46s ✓ src/lib/explicit-client-credentials.test.ts (17 tests) 686ms ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 96/141 ❯ src/lib/utils.test.ts 105/258 Test Files 20 passed (23) Tests 480 passed (692) Start at 13:53:18 Duration 1.46s ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 96/141 ❯ src/lib/utils.test.ts 107/258 Test Files 20 passed (23) Tests 482 passed (692) Start at 13:53:18 Duration 1.56s ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 96/141 ❯ src/lib/utils.test.ts 109/258 Test Files 20 passed (23) Tests 484 passed (692) Start at 13:53:18 Duration 1.66s ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 97/141 ❯ src/lib/utils.test.ts 113/258 Test Files 20 passed (23) Tests 489 passed (692) Start at 13:53:18 Duration 1.76s ❯ src/lib/coordinate-auth.test.ts 0/14 ❯ src/lib/node-oauth-client-provider.test.ts 98/141 ❯ src/lib/utils.test.ts 115/258 Test Files 20 passed (23) Tests 492 passed (692) Start at 13:53:18 Duration 1.86s ✓ src/lib/node-oauth-client-provider.test.ts (141 tests) 1180ms ❯ src/lib/coordinate-auth.test.ts 3/14 ❯ src/lib/utils.test.ts 129/258 Test Files 21 passed (23) Tests 552 passed (692) Start at 13:53:18 Duration 1.96s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 136/258 Test Files 21 passed (23) Tests 560 passed (692) Start at 13:53:18 Duration 2.16s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 138/258 Test Files 21 passed (23) Tests 562 passed (692) Start at 13:53:18 Duration 2.26s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 141/258 Test Files 21 passed (23) Tests 565 passed (692) Start at 13:53:18 Duration 2.36s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 142/258 Test Files 21 passed (23) Tests 566 passed (692) Start at 13:53:18 Duration 2.46s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 144/258 Test Files 21 passed (23) Tests 568 passed (692) Start at 13:53:18 Duration 2.56s ❯ src/lib/coordinate-auth.test.ts 4/14 ❯ src/lib/utils.test.ts 146/258 Test Files 21 passed (23) Tests 570 passed (692) Start at 13:53:18 Duration 2.66s ❯ 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:53:18 Duration 2.76s ❯ 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:53:18 Duration 2.96s ❯ 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:53:18 Duration 3.06s ❯ 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:53:18 Duration 3.96s ❯ 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:53:18 Duration 4.26s ❯ 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:53:18 Duration 4.36s ❯ 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:53:18 Duration 4.56s ✓ src/lib/coordinate-auth.test.ts (14 tests) 3628ms ✓ Feature: Deciding who runs the sign-in > Scenario: A sibling holding a token nobody can use is not mistaken for a finished sign-in 1013ms ✓ Feature: Deciding who runs the sign-in > Scenario: An unanswered sign-in stops the follower instead of authorizing without ownership 1008ms ✓ Feature: Deciding who runs the sign-in > Scenario: A sibling on a specific --bind-host is asked there, not on 127.0.0.1 1007ms ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 4.96s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 5.96s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 6.96s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 7.97s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 8.97s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 9.97s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 10.97s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 11.97s ❯ src/lib/utils.test.ts 147/258 Test Files 22 passed (23) Tests 581 passed (692) Start at 13:53:18 Duration 12.97s ❯ src/lib/utils.test.ts 148/258 Test Files 22 passed (23) Tests 582 passed (692) Start at 13:53:18 Duration 13.17s ❯ src/lib/utils.test.ts 149/258 Test Files 22 passed (23) Tests 583 passed (692) Start at 13:53:18 Duration 13.37s ❯ src/lib/utils.test.ts 150/258 Test Files 22 passed (23) Tests 584 passed (692) Start at 13:53:18 Duration 13.47s ❯ src/lib/utils.test.ts 151/258 Test Files 22 passed (23) Tests 585 passed (692) Start at 13:53:18 Duration 13.67s ❯ src/lib/utils.test.ts 152/258 Test Files 22 passed (23) Tests 586 passed (692) Start at 13:53:18 Duration 13.77s ❯ src/lib/utils.test.ts 152/258 Test Files 22 passed (23) Tests 586 passed (692) Start at 13:53:18 Duration 13.97s ❯ src/lib/utils.test.ts 155/258 Test Files 22 passed (23) Tests 589 passed (692) Start at 13:53:18 Duration 14.07s ❯ src/lib/utils.test.ts 156/258 Test Files 22 passed (23) Tests 590 passed (692) Start at 13:53:18 Duration 14.17s ❯ src/lib/utils.test.ts 159/258 Test Files 22 passed (23) Tests 593 passed (692) Start at 13:53:18 Duration 14.27s ❯ src/lib/utils.test.ts 160/258 Test Files 22 passed (23) Tests 594 passed (692) Start at 13:53:18 Duration 14.37s ❯ src/lib/utils.test.ts 160/258 Test Files 22 passed (23) Tests 594 passed (692) Start at 13:53:18 Duration 14.97s ❯ src/lib/utils.test.ts 160/258 Test Files 22 passed (23) Tests 594 passed (692) Start at 13:53:18 Duration 15.97s ❯ src/lib/utils.test.ts 161/258 Test Files 22 passed (23) Tests 595 passed (692) Start at 13:53:18 Duration 16.47s ❯ src/lib/utils.test.ts 162/258 Test Files 22 passed (23) Tests 596 passed (692) Start at 13:53:18 Duration 16.77s ❯ src/lib/utils.test.ts 162/258 Test Files 22 passed (23) Tests 596 passed (692) Start at 13:53:18 Duration 16.97s ❯ src/lib/utils.test.ts 162/258 Test Files 22 passed (23) Tests 596 passed (692) Start at 13:53:18 Duration 17.98s ❯ src/lib/utils.test.ts 163/258 Test Files 22 passed (23) Tests 597 passed (692) Start at 13:53:18 Duration 18.68s ❯ src/lib/utils.test.ts 164/258 Test Files 22 passed (23) Tests 598 passed (692) Start at 13:53:18 Duration 18.98s ❯ src/lib/utils.test.ts 165/258 Test Files 22 passed (23) Tests 599 passed (692) Start at 13:53:18 Duration 19.18s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:53:18 Duration 19.98s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:53:18 Duration 20.98s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:53:18 Duration 21.98s ❯ src/lib/utils.test.ts 166/258 Test Files 22 passed (23) Tests 600 passed (692) Start at 13:53:18 Duration 22.98s ❯ src/lib/utils.test.ts 167/258 Test Files 22 passed (23) Tests 601 passed (692) Start at 13:53:18 Duration 23.28s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:53:18 Duration 23.68s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:53:18 Duration 23.98s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:53:18 Duration 24.99s ❯ src/lib/utils.test.ts 168/258 Test Files 22 passed (23) Tests 602 passed (692) Start at 13:53:18 Duration 25.99s ❯ src/lib/utils.test.ts 169/258 Test Files 22 passed (23) Tests 603 passed (692) Start at 13:53:18 Duration 26.89s ❯ src/lib/utils.test.ts 170/258 Test Files 22 passed (23) Tests 604 passed (692) Start at 13:53:18 Duration 27.19s ❯ src/lib/utils.test.ts 171/258 Test Files 22 passed (23) Tests 605 passed (692) Start at 13:53:18 Duration 27.39s ❯ src/lib/utils.test.ts 172/258 Test Files 22 passed (23) Tests 606 passed (692) Start at 13:53:18 Duration 27.69s ❯ src/lib/utils.test.ts 173/258 Test Files 22 passed (23) Tests 607 passed (692) Start at 13:53:18 Duration 27.89s ❯ src/lib/utils.test.ts 174/258 Test Files 22 passed (23) Tests 608 passed (692) Start at 13:53:18 Duration 27.99s ❯ src/lib/utils.test.ts 175/258 Test Files 22 passed (23) Tests 609 passed (692) Start at 13:53:18 Duration 28.09s stderr | src/lib/utils.test.ts > Feature: Choosing the authorization server with --authorization-server > Scenario: Rejects --authorization-server ["--debug"] [2026-11-26T13:53:46.607Z][1777] 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:46.608Z][1777] Signing in at the authorization server set by --authorization-server: http://127.0.0.1:9000/realm [2026-11-26T13:53:46.609Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.609Z][1777] 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:46.609Z][1777] Using the OAuth client_credentials grant; no browser will be opened and no user will be asked [2026-11-26T13:53:46.609Z][1777] 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:46.610Z][1777] Starting OAuth server discovery { serverUrl: 'http://127.0.0.1:45049/mcp' } [2026-11-26T13:53:46.611Z][1777] 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:46.622Z][1777] Received 401 with WWW-Authenticate header { hasHeader: true, header: 'Bearer resource_metadata="http://127.0.0.1:45049/.well-known/oauth-protected-resource/mcp"' } [2026-11-26T13:53:46.623Z][1777] Parsed WWW-Authenticate header { hasResourceMetadata: true, hasScope: false, error: undefined } [2026-11-26T13:53:46.623Z][1777] Starting Protected Resource Metadata discovery { resourceUrl: 'http://127.0.0.1:45049/mcp', hasWWWAuthenticateHeader: true } [2026-11-26T13:53:46.623Z][1777] Parsed WWW-Authenticate header { hasResourceMetadata: true, hasScope: false, error: undefined } [2026-11-26T13:53:46.623Z][1777] Using resource_metadata URL from WWW-Authenticate header { url: 'http://127.0.0.1:45049/.well-known/oauth-protected-resource/mcp' } [2026-11-26T13:53:46.623Z][1777] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:45049/.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:46.626Z][1777] Successfully fetched Protected Resource Metadata { resource: 'http://127.0.0.1:45049/mcp', authorizationServers: [ 'http://127.0.0.1:45049/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:46.627Z][1777] Using authorization server from Protected Resource Metadata { authorizationServerUrl: 'http://127.0.0.1:45049/shared' } [2026-11-26T13:53:46.627Z][1777] Fetching authorization server metadata { serverUrl: 'http://127.0.0.1:45049/shared', candidates: [ 'http://127.0.0.1:45049/.well-known/oauth-authorization-server/shared', 'http://127.0.0.1:45049/.well-known/oauth-authorization-server', 'http://127.0.0.1:45049/.well-known/openid-configuration/shared', 'http://127.0.0.1:45049/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:46.629Z][1777] Successfully fetched authorization server metadata { issuer: 'http://127.0.0.1:45049/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:46.650Z][1777] 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:54:22.250Z][1777] Error from remote server: Error: timed out waiting for the re-initialize response at /build/source/src/lib/utils.ts:1485:16 at callTimer (file:///build/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:///build/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:///build/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:54:22.250Z][1777] Error from remote server { stack: 'Error: timed out waiting for the re-initialize response\n' + ' at /build/source/src/lib/utils.ts:1485:16\n' + ' at callTimer (file:///build/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:///build/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:///build/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:54:22.250Z][1777] 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:54:24.250Z][1777] 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:54:25.950Z][1777] Error from remote server: Error: timed out waiting for the re-initialize response at /build/source/src/lib/utils.ts:1485:16 at callTimer (file:///build/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:///build/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:///build/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:54:25.950Z][1777] Error from remote server { stack: 'Error: timed out waiting for the re-initialize response\n' + ' at /build/source/src/lib/utils.ts:1485:16\n' + ' at callTimer (file:///build/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:///build/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:///build/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)' } ❯ src/lib/utils.test.ts 188/258 Test Files 22 passed (23) Tests 622 passed (692) Start at 13:53:18 Duration 28.19s 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:46.661Z][1777] 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:46.663Z][1777] 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:54:16.663Z][1777] [Remote→Local] client-1 [2026-11-26T13:54:16.663Z][1777] 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:46.665Z][1777] 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:54:16.665Z][1777] 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:46.666Z][1777] 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:54:16.666Z][1777] 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:46.667Z][1777] 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:54:16.667Z][1777] 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:46.667Z][1777] 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:46.669Z][1777] [Local→Remote] initialize [2026-11-26T13:53:46.669Z][1777] Local → Remote message { method: 'initialize', id: 'init-1', params: '{}' } [2026-11-26T13:53:46.669Z][1777] { "jsonrpc": "2.0", "method": "initialize", "id": "init-1", "params": {} } [2026-11-26T13:53:46.669Z][1777] 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:54:16.669Z][1777] 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:46.671Z][1777] [Local→Remote] initialize [2026-11-26T13:53:46.671Z][1777] Local → Remote message { method: 'initialize', id: 'init-1', params: '{}' } [2026-11-26T13:53:46.671Z][1777] { "jsonrpc": "2.0", "method": "initialize", "id": "init-1", "params": {} } [2026-11-26T13:53:46.671Z][1777] 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:54:15.671Z][1777] [Remote→Local] init-1 [2026-11-26T13:54:15.671Z][1777] Remote → Local message { method: undefined, id: 'init-1', result: 'result-present', error: undefined } [2026-11-26T13:54:15.671Z][1777] 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:46.674Z][1777] [Local→Remote] tools/call [2026-11-26T13:53:46.674Z][1777] 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:46.675Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.676Z][1777] 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:46.676Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.676Z][1777] 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:46.677Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.677Z][1777] 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:46.677Z][1777] Warning: Ignoring invalid --ping-interval value: soon. Must be a positive number of seconds. [2026-11-26T13:53:46.677Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.678Z][1777] 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:46.678Z][1777] Using extra authorization parameters: access_type, prompt [2026-11-26T13:53:46.678Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.678Z][1777] 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:46.680Z][1777] Starting mcp-remote with server URL: https://example.com/mcp [2026-11-26T13:53:46.680Z][1777] 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:46.688Z][1777] Starting OAuth server discovery { serverUrl: 'http://127.0.0.1:44965/mcp' } [2026-11-26T13:53:46.688Z][1777] 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:46.690Z][1777] Starting Protected Resource Metadata discovery { resourceUrl: 'http://127.0.0.1:44965/mcp', hasWWWAuthenticateHeader: false } [2026-11-26T13:53:46.690Z][1777] Built Protected Resource Metadata URLs { resourceUrl: 'http://127.0.0.1:44965/mcp', urls: [ 'http://127.0.0.1:44965/.well-known/oauth-protected-resource/mcp', 'http://127.0.0.1:44965/.well-known/oauth-protected-resource' ] } [2026-11-26T13:53:46.691Z][1777] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:44965/.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:46.692Z][1777] Protected Resource Metadata not found (404) { metadataUrl: 'http://127.0.0.1:44965/.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:46.692Z][1777] Fetching Protected Resource Metadata { metadataUrl: 'http://127.0.0.1:44965/.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:46.693Z][1777] Protected Resource Metadata not found (404) { metadataUrl: 'http://127.0.0.1:44965/.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:46.693Z][1777] 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:46.694Z][1777] No Protected Resource Metadata found, falling back to server URL as authorization server [2026-11-26T13:53:46.694Z][1777] Fetching authorization server metadata { serverUrl: 'http://127.0.0.1:44965/mcp', candidates: [ 'http://127.0.0.1:44965/.well-known/oauth-authorization-server/mcp', 'http://127.0.0.1:44965/.well-known/oauth-authorization-server', 'http://127.0.0.1:44965/.well-known/openid-configuration/mcp', 'http://127.0.0.1:44965/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:46.695Z][1777] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:44965/.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:46.695Z][1777] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:44965/.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:46.696Z][1777] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:44965/.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:46.697Z][1777] Authorization server metadata endpoint not found (404) { metadataUrl: 'http://127.0.0.1:44965/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:46.697Z][1777] No authorization server metadata found at any candidate URL { serverUrl: 'http://127.0.0.1:44965/mcp', candidates: [ 'http://127.0.0.1:44965/.well-known/oauth-authorization-server/mcp', 'http://127.0.0.1:44965/.well-known/oauth-authorization-server', 'http://127.0.0.1:44965/.well-known/openid-configuration/mcp', 'http://127.0.0.1:44965/mcp/.well-known/openid-configuration' ] } ✓ src/lib/utils.test.ts (258 tests) 27337ms ✓ 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 10514ms ✓ Feature: Bridging the modern surfaces a 2025-era client has never heard of > Scenario: Every later resource subscription is honoured, not just the first 2106ms ✓ 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 2053ms ✓ 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 4056ms ✓ 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 456ms ✓ 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 3152ms ✓ 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 302ms ✓ 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 303ms Test Files 23 passed (23) Tests 692 passed (692) Start at 13:53:18 Duration 28.30s (transform 4.74s, setup 0ms, collect 12.55s, tests 34.92s, environment 4ms, prepare 1.81s) Running phase: installPhase Executing npmInstallHook Lockfile is up to date, resolution step is skipped Packages: -427 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 shrinking RPATHs of ELF executables and libraries in /nix/store/0byrbn7w25ylgm4q0x4xcffml3mq7lfk-mcp-remote-0.17.1 checking for references to /build/ in /nix/store/0byrbn7w25ylgm4q0x4xcffml3mq7lfk-mcp-remote-0.17.1... patching script interpreter paths in /nix/store/0byrbn7w25ylgm4q0x4xcffml3mq7lfk-mcp-remote-0.17.1 /nix/store/0byrbn7w25ylgm4q0x4xcffml3mq7lfk-mcp-remote-0.17.1/lib/node_modules/mcp-remote/dist/proxy.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-nodejs-24.22.2/bin/node" /nix/store/0byrbn7w25ylgm4q0x4xcffml3mq7lfk-mcp-remote-0.17.1/lib/node_modules/mcp-remote/dist/client.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/pl77fywj3l09rzgsssy5drc52lpk9n0d-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/0byrbn7w25ylgm4q0x4xcffml3mq7lfk-mcp-remote-0.17.1/bin/mcp-remote --version 0.17.1 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing