3 months ago
a1f524f- Add 30s timeout (configurable via callTimeoutMs) to callTool() to prevent hangs when Context7 subprocess is unresponsive - Cache negative library resolutions (sentinel empty library_id) with 1-day TTL to skip repeated Context7 round-trips for bad library names - Export disposeSharedClient() and wire to SIGTERM/SIGINT/exit handlers in MCP server to prevent orphaned Context7 subprocesses - Add console.warn when falling back to stale cache for operator visibility - Remove misleading FetchedDocs.tokens field (always 0; caller computes) Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Parentcb25c0d