gitnexus 1.3.7 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -311,10 +311,8 @@ export const analyzeCommand = async (inputPath, options) => {
311
311
  console.log('\n Tip: Run `gitnexus setup` to configure MCP for your editor.');
312
312
  }
313
313
  console.log('');
314
- // ONNX Runtime registers native atexit hooks that segfault during process
315
- // shutdown on macOS (#38) and some Linux configs (#40). Force-exit to
316
- // bypass them when embeddings were loaded.
317
- if (!embeddingSkipped) {
318
- process.exit(0);
319
- }
314
+ // KuzuDB's native module holds open handles that prevent Node from exiting.
315
+ // ONNX Runtime also registers native atexit hooks that segfault on some
316
+ // platforms (#38, #40). Force-exit to ensure clean termination.
317
+ process.exit(0);
320
318
  };
@@ -195,7 +195,8 @@ const findEnclosingFunctionId = (node, filePath) => {
195
195
  if (current.type === 'init_declaration' || current.type === 'deinit_declaration') {
196
196
  const funcName = current.type === 'init_declaration' ? 'init' : 'deinit';
197
197
  const label = 'Constructor';
198
- return generateId(label, `${filePath}:${funcName}`);
198
+ const startLine = current.startPosition?.row ?? 0;
199
+ return generateId(label, `${filePath}:${funcName}:${startLine}`);
199
200
  }
200
201
  if (['function_declaration', 'function_definition', 'async_function_declaration',
201
202
  'generator_function_declaration', 'function_item'].includes(current.type)) {
@@ -233,7 +234,8 @@ const findEnclosingFunctionId = (node, filePath) => {
233
234
  }
234
235
  }
235
236
  if (funcName) {
236
- return generateId(label, `${filePath}:${funcName}`);
237
+ const startLine = current.startPosition?.row ?? 0;
238
+ return generateId(label, `${filePath}:${funcName}:${startLine}`);
237
239
  }
238
240
  }
239
241
  current = current.parent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexus",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "Graph-powered code intelligence for AI agents. Index any codebase, query via MCP or CLI.",
5
5
  "author": "Abhigyan Patwari",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",