Commit Graph

7 Commits

Author SHA1 Message Date
77203955a5 Restrict outbound network to api.anthropic.com only
- 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.
2026-09-29 18:16:35 -07:00
0f53a159f0 Fix 502 on AI draft button; restyle landing page
- docker-compose.yml: keep the container on both 'proxy' and 'default'
  networks. 'proxy' alone has no internet route, which broke the
  outbound call to api.anthropic.com once NPM routing was added.
- server.js: replace the plain landing page with one matching both
  tools' existing design (dark header, IBM Plex Sans, card layout).
- Update CHANGELOG.
2026-09-29 17:49:15 -07:00
fac6e7f356 Turn per-user token quota off by default; keep code for later 2026-08-21 12:51:29 -07:00
f1200b7d79 Add per-user daily token quota with persistent usage tracking 2026-08-21 12:25:57 -07:00
2c3dc66878 Add MOCK_AI mode to test the AI draft button with no API key 2026-08-21 11:40:28 -07:00
e77cd64d88 Add login gate, rate limiting, and container deploy files for company-wide use 2026-08-20 15:06:37 -07:00
e5c01003f8 Add local proxy server for AI draft button; point button at /api/claude 2026-08-20 14:49:26 -07:00