perf: load undici at first guarded fetch, not at boot

↗ view on GitHub · Eli Ziff · 2026-07-27 · d4dffaf4

undici (95 modules, ~100ms) was in the eager graph solely for the SSRF
guard's pinned-DNS Agent, which is per-request work. With this and the
lazy MCP SDK the server's eager module graph is 674 -> 377 modules.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents b7c05711
Stats 1 file changed , +3 , -1
Part of Frontend UI compaction / simplification pass

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-d4dffaf4.md from inside the repo you want the change in.

⬇ Download capture-commit-d4dffaf4.md