- New egress-proxy/ container (tinyproxy) that only allows CONNECT to api.anthropic.com, refuses everything else. - docker-compose.yml: sde-meeting-toolkit is no longer on 'default' at all. Its only networks are 'proxy' (NPM, inbound) and a new private 'egress' network shared only with egress-proxy. egress-proxy is the only container with a real internet route. - server.js: route the one outbound Anthropic call through EGRESS_PROXY_URL when set, using undici's own fetch + ProxyAgent together (mixing them with Node's global fetch throws a version mismatch error - caught this locally before it hit a real deploy). - Add undici as a real dependency (package.json, package-lock.json), npm ci step in Dockerfile. - Add smoke-test-egress.sh + Step 9b in DOCKER_TESTING.md to verify this whole chain with real Docker. - Update CHANGELOG.
25 lines
597 B
JSON
25 lines
597 B
JSON
{
|
|
"name": "sde-meeting-toolkit",
|
|
"version": "1.0.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "sde-meeting-toolkit",
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"undici": "^8.11.2"
|
|
}
|
|
},
|
|
"node_modules/undici": {
|
|
"version": "8.11.2",
|
|
"resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz",
|
|
"integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=22.19.0"
|
|
}
|
|
}
|
|
}
|
|
}
|