gitnexus 1.3.1 → 1.3.2

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.
@@ -298,12 +298,13 @@ export const analyzeCommand = async (inputPath, options) => {
298
298
  if (hookResult.registered) {
299
299
  console.log(` Hooks: ${hookResult.message}`);
300
300
  }
301
- // Show warnings (missing schema pairs, etc.) after the clean output
301
+ // Show a quiet summary if some edge types needed fallback insertion
302
302
  if (kuzuWarnings.length > 0) {
303
- console.log(`\n Warnings (${kuzuWarnings.length}):`);
304
- for (const w of kuzuWarnings) {
305
- console.log(` ${w}`);
306
- }
303
+ const totalFallback = kuzuWarnings.reduce((sum, w) => {
304
+ const m = w.match(/\((\d+) edges\)/);
305
+ return sum + (m ? parseInt(m[1]) : 0);
306
+ }, 0);
307
+ console.log(` Note: ${totalFallback} edges across ${kuzuWarnings.length} types inserted via fallback (schema will be updated in next release)`);
307
308
  }
308
309
  try {
309
310
  await fs.access(getGlobalRegistryPath());
@@ -3,8 +3,8 @@ import path from 'path';
3
3
  import { glob } from 'glob';
4
4
  import { shouldIgnorePath } from '../../config/ignore-service.js';
5
5
  const READ_CONCURRENCY = 32;
6
- /** Skip files larger than 512KBthey're usually generated/vendored and crash tree-sitter */
7
- const MAX_FILE_SIZE = 512 * 1024;
6
+ /** Skip files larger than 2MBcovers all real source files, excludes minified bundles/generated code */
7
+ const MAX_FILE_SIZE = 2 * 1024 * 1024;
8
8
  /**
9
9
  * Phase 1: Scan repository — stat files to get paths + sizes, no content loaded.
10
10
  * Memory: ~10MB for 100K files vs ~1GB+ with content.
@@ -42,7 +42,7 @@ export const walkRepositoryPaths = async (repoPath, onProgress) => {
42
42
  }
43
43
  }
44
44
  if (skippedLarge > 0) {
45
- console.warn(` Skipped ${skippedLarge} files larger than ${MAX_FILE_SIZE / 1024}KB`);
45
+ console.warn(` Skipped ${skippedLarge} files larger than ${Math.round(MAX_FILE_SIZE / 1024 / 1024)}MB (likely generated/vendored)`);
46
46
  }
47
47
  return entries;
48
48
  };
@@ -157,7 +157,7 @@ const processParsingSequential = async (graph, files, symbolTable, astCache, onF
157
157
  if (!language)
158
158
  continue;
159
159
  // Skip very large files — they can crash tree-sitter or cause OOM
160
- if (file.content.length > 512 * 1024)
160
+ if (file.content.length > 2 * 1024 * 1024)
161
161
  continue;
162
162
  await loadLanguage(language, file.path);
163
163
  let tree;
@@ -352,7 +352,7 @@ const processFileGroup = (files, language, queryString, result, onFileProcessed)
352
352
  }
353
353
  for (const file of files) {
354
354
  // Skip very large files — they can crash tree-sitter or cause OOM
355
- if (file.content.length > 512 * 1024)
355
+ if (file.content.length > 2 * 1024 * 1024)
356
356
  continue;
357
357
  let tree;
358
358
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexus",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
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",