GitNexus/gitnexus/src
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
..
cli fix: lazy-import embeddings to avoid onnxruntime crash on unsupported Node versions 2026-02-27 12:09:17 +05:30
config feat(php): add PHP to SupportedLanguages enum and file extension detection 2026-02-25 01:03:44 +03:00
core merge: resolve conflicts with main for remote server mode (PR #66) 2026-02-26 18:40:25 +05:30
lib feat: merge gitnexus-mcp into gitnexus package - unified CLI+MCP 2026-02-04 01:12:41 +05:30
mcp fix: remove unconditional embedder import from disconnect() to prevent crash on Node v24+ 2026-02-27 17:41:06 +05:30
server fix: lazy-import embeddings to avoid onnxruntime crash on unsupported Node versions 2026-02-27 12:09:17 +05:30
storage repowiki CLI command implemented 2026-02-17 02:25:07 +05:30
types feat(gitnexus): large-repo optimizations, multi-language support, bug fixes 2026-02-26 10:23:23 +05:30