GitNexus/gitnexus/src/mcp
abhigyanpatwari 6b4f10cae1 fix: remove unconditional embedder import from disconnect() to prevent crash on Node v24+
The disconnect() method was unconditionally importing embedder.js on
every graceful shutdown, which loads @huggingface/transformers and
onnxruntime-node — triggering the exact crash this branch fixes.
Since process.exit(0) follows immediately, the OS reclaims all
resources without needing disposeEmbedder(). Matches the pattern
already established in analyze.ts (lines 318-320).

Fixes #89

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:41:06 +05:30
..
core feat(gitnexus): v1.2.9 — impact enrichment, cypher markdown, Windows setup fix 2026-02-25 17:10:51 +05:30
local fix: remove unconditional embedder import from disconnect() to prevent crash on Node v24+ 2026-02-27 17:41:06 +05:30
resources.ts feat: MCP hot-reload — discover newly indexed repos without restart 2026-02-21 17:07:57 +05:30
server.ts feat: add remote server connection mode and multi-repo switching 2026-02-25 11:38:28 +01:00
staleness.ts gitnexus wal cleanup preventing reindexing issue fixed 2026-02-06 06:35:15 +05:30
tools.ts feat(gitnexus): v1.2.9 — impact enrichment, cypher markdown, Windows setup fix 2026-02-25 17:10:51 +05:30