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