* fix(mcp): support NODE_EXTRA_CA_CERTS for enterprise MITM proxies When NODE_EXTRA_CA_CERTS is set, reads the CA certificate file and injects it into undici's global dispatcher. This fixes fetch failures behind enterprise transparent SSL intercept proxies (Zscaler, etc.) where the default TLS context does not trust the corporate CA. The CA certs are also passed through when an explicit HTTPS_PROXY is configured, so both proxy modes work with custom certificates. Fixes #2268 This contribution was developed with AI assistance (Claude Code). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: add changeset for NODE_EXTRA_CA_CERTS support * fix(mcp): preserve default CAs with NODE_EXTRA_CA_CERTS * chore: add changeset for CA trust fix * chore: remove superseded changeset * fix(mcp): lint test files with test tsconfig * fix(mcp): use explicit test file path * fix(mcp): support older Node TLS CA APIs * test(mcp): run certificate test with vitest --------- Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
203 B
JSON
10 lines
203 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"outDir": "./dist-test",
|
|
"rootDir": "."
|
|
},
|
|
"include": ["src/**/*", "test/**/*"],
|
|
"exclude": ["node_modules", "dist", "dist-test"]
|
|
}
|