infiniloom-node 0.4.1 → 0.4.3

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.
package/index.d.ts CHANGED
@@ -700,6 +700,10 @@ export interface ReferenceInfo {
700
700
  symbol: SymbolInfo
701
701
  /** Reference kind (call, import, inherit, implement) */
702
702
  kind: string
703
+ /** File path containing the reference (convenience field, same as symbol.file) */
704
+ file: string
705
+ /** Line number of the reference (convenience field, same as symbol.line) */
706
+ line: number
703
707
  }
704
708
 
705
709
  /** An edge in the call graph */
package/index.js CHANGED
@@ -310,14 +310,89 @@ if (!nativeBinding) {
310
310
  throw new Error(`Failed to load native binding`)
311
311
  }
312
312
 
313
- const { pack, scan, scanWithOptions, countTokens, Infiniloom, semanticCompress, isGitRepo, GitRepo, scanSecurity } = nativeBinding
313
+ const {
314
+ // Core functions
315
+ pack,
316
+ scan,
317
+ scanWithOptions,
318
+ countTokens,
319
+ semanticCompress,
320
+ isGitRepo,
321
+ scanSecurity,
322
+ // Index API
323
+ buildIndex,
324
+ indexStatus,
325
+ // Call graph API
326
+ findSymbol,
327
+ getCallers,
328
+ getCallees,
329
+ getReferences,
330
+ getCallGraph,
331
+ // Chunk API
332
+ chunk,
333
+ // Impact API
334
+ analyzeImpact,
335
+ // Diff context API
336
+ getDiffContext,
337
+ // Async versions
338
+ packAsync,
339
+ scanAsync,
340
+ buildIndexAsync,
341
+ findSymbolAsync,
342
+ getCallersAsync,
343
+ getCalleesAsync,
344
+ getReferencesAsync,
345
+ getCallGraphAsync,
346
+ chunkAsync,
347
+ analyzeImpactAsync,
348
+ getDiffContextAsync,
349
+ // Classes
350
+ Infiniloom,
351
+ GitRepo
352
+ } = nativeBinding
314
353
 
354
+ // Core functions
315
355
  module.exports.pack = pack
316
356
  module.exports.scan = scan
317
357
  module.exports.scanWithOptions = scanWithOptions
318
358
  module.exports.countTokens = countTokens
319
- module.exports.Infiniloom = Infiniloom
320
359
  module.exports.semanticCompress = semanticCompress
321
360
  module.exports.isGitRepo = isGitRepo
322
- module.exports.GitRepo = GitRepo
323
361
  module.exports.scanSecurity = scanSecurity
362
+
363
+ // Index API
364
+ module.exports.buildIndex = buildIndex
365
+ module.exports.indexStatus = indexStatus
366
+
367
+ // Call graph API
368
+ module.exports.findSymbol = findSymbol
369
+ module.exports.getCallers = getCallers
370
+ module.exports.getCallees = getCallees
371
+ module.exports.getReferences = getReferences
372
+ module.exports.getCallGraph = getCallGraph
373
+
374
+ // Chunk API
375
+ module.exports.chunk = chunk
376
+
377
+ // Impact API
378
+ module.exports.analyzeImpact = analyzeImpact
379
+
380
+ // Diff context API
381
+ module.exports.getDiffContext = getDiffContext
382
+
383
+ // Async versions
384
+ module.exports.packAsync = packAsync
385
+ module.exports.scanAsync = scanAsync
386
+ module.exports.buildIndexAsync = buildIndexAsync
387
+ module.exports.findSymbolAsync = findSymbolAsync
388
+ module.exports.getCallersAsync = getCallersAsync
389
+ module.exports.getCalleesAsync = getCalleesAsync
390
+ module.exports.getReferencesAsync = getReferencesAsync
391
+ module.exports.getCallGraphAsync = getCallGraphAsync
392
+ module.exports.chunkAsync = chunkAsync
393
+ module.exports.analyzeImpactAsync = analyzeImpactAsync
394
+ module.exports.getDiffContextAsync = getDiffContextAsync
395
+
396
+ // Classes
397
+ module.exports.Infiniloom = Infiniloom
398
+ module.exports.GitRepo = GitRepo
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infiniloom-node",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Node.js bindings for infiniloom - Repository context engine for LLMs",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",