infiniloom-node 0.6.0 → 0.6.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.
- package/index.d.ts +1604 -853
- package/index.js +34 -18
- package/infiniloom.darwin-arm64.node +0 -0
- package/infiniloom.darwin-x64.node +0 -0
- package/infiniloom.linux-arm64-gnu.node +0 -0
- package/infiniloom.linux-x64-gnu.node +0 -0
- package/package.json +28 -11
- package/infiniloom.win32-x64-msvc.node +0 -0
package/index.js
CHANGED
|
@@ -310,18 +310,16 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const {
|
|
313
|
+
const { scanSecurity, scan, scanWithOptions, countTokens, chunk, pack, isGitRepo, GitRepo, buildIndex, indexStatus, findSymbol, getCallers, getCallees, getReferences, findSymbolFiltered, getCallersFiltered, getCalleesFiltered, getReferencesFiltered, findSymbolFilteredAsync, getCallersFilteredAsync, getCalleesFilteredAsync, getReferencesFilteredAsync, getCallGraph, findSymbolAsync, getCallersAsync, getCalleesAsync, getReferencesAsync, getCallGraphAsync, findCircularDependencies, findCircularDependenciesAsync, getExportedSymbols, getExportedSymbolsAsync, getSymbolsInFile, getSymbolSource, getChangedSymbols, getTestsForFile, getCallSites, getChangedSymbolsFiltered, getTransitiveCallers, getCallSitesWithContext, getSymbolsInFileAsync, getSymbolSourceAsync, getChangedSymbolsAsync, getTestsForFileAsync, getCallSitesAsync, getChangedSymbolsFilteredAsync, getTransitiveCallersAsync, getCallSitesWithContextAsync, getDiffContext, analyzeImpact, embed, embedAsync, loadEmbedManifest, loadEmbedManifestAsync, deleteEmbedManifest, deleteEmbedManifestAsync, extractDocumentation, extractDocumentationAsync, detectDeadCode, detectDeadCodeAsync, detectBreakingChanges, detectBreakingChangesAsync, version, packAsync, scanAsync, buildIndexAsync, chunkAsync, analyzeImpactAsync, getDiffContextAsync, Infiniloom, semanticCompress } = nativeBinding
|
|
314
314
|
|
|
315
|
-
module.exports.
|
|
316
|
-
module.exports.pack = pack
|
|
315
|
+
module.exports.scanSecurity = scanSecurity
|
|
317
316
|
module.exports.scan = scan
|
|
318
317
|
module.exports.scanWithOptions = scanWithOptions
|
|
319
318
|
module.exports.countTokens = countTokens
|
|
320
|
-
module.exports.
|
|
321
|
-
module.exports.
|
|
319
|
+
module.exports.chunk = chunk
|
|
320
|
+
module.exports.pack = pack
|
|
322
321
|
module.exports.isGitRepo = isGitRepo
|
|
323
322
|
module.exports.GitRepo = GitRepo
|
|
324
|
-
module.exports.scanSecurity = scanSecurity
|
|
325
323
|
module.exports.buildIndex = buildIndex
|
|
326
324
|
module.exports.indexStatus = indexStatus
|
|
327
325
|
module.exports.findSymbol = findSymbol
|
|
@@ -342,28 +340,46 @@ module.exports.getCallersAsync = getCallersAsync
|
|
|
342
340
|
module.exports.getCalleesAsync = getCalleesAsync
|
|
343
341
|
module.exports.getReferencesAsync = getReferencesAsync
|
|
344
342
|
module.exports.getCallGraphAsync = getCallGraphAsync
|
|
345
|
-
module.exports.
|
|
346
|
-
module.exports.
|
|
347
|
-
module.exports.
|
|
348
|
-
module.exports.
|
|
349
|
-
module.exports.scanAsync = scanAsync
|
|
350
|
-
module.exports.buildIndexAsync = buildIndexAsync
|
|
351
|
-
module.exports.chunkAsync = chunkAsync
|
|
352
|
-
module.exports.analyzeImpactAsync = analyzeImpactAsync
|
|
353
|
-
module.exports.getDiffContextAsync = getDiffContextAsync
|
|
343
|
+
module.exports.findCircularDependencies = findCircularDependencies
|
|
344
|
+
module.exports.findCircularDependenciesAsync = findCircularDependenciesAsync
|
|
345
|
+
module.exports.getExportedSymbols = getExportedSymbols
|
|
346
|
+
module.exports.getExportedSymbolsAsync = getExportedSymbolsAsync
|
|
354
347
|
module.exports.getSymbolsInFile = getSymbolsInFile
|
|
355
348
|
module.exports.getSymbolSource = getSymbolSource
|
|
356
349
|
module.exports.getChangedSymbols = getChangedSymbols
|
|
357
350
|
module.exports.getTestsForFile = getTestsForFile
|
|
358
351
|
module.exports.getCallSites = getCallSites
|
|
352
|
+
module.exports.getChangedSymbolsFiltered = getChangedSymbolsFiltered
|
|
353
|
+
module.exports.getTransitiveCallers = getTransitiveCallers
|
|
354
|
+
module.exports.getCallSitesWithContext = getCallSitesWithContext
|
|
359
355
|
module.exports.getSymbolsInFileAsync = getSymbolsInFileAsync
|
|
360
356
|
module.exports.getSymbolSourceAsync = getSymbolSourceAsync
|
|
361
357
|
module.exports.getChangedSymbolsAsync = getChangedSymbolsAsync
|
|
362
358
|
module.exports.getTestsForFileAsync = getTestsForFileAsync
|
|
363
359
|
module.exports.getCallSitesAsync = getCallSitesAsync
|
|
364
|
-
module.exports.getChangedSymbolsFiltered = getChangedSymbolsFiltered
|
|
365
|
-
module.exports.getTransitiveCallers = getTransitiveCallers
|
|
366
|
-
module.exports.getCallSitesWithContext = getCallSitesWithContext
|
|
367
360
|
module.exports.getChangedSymbolsFilteredAsync = getChangedSymbolsFilteredAsync
|
|
368
361
|
module.exports.getTransitiveCallersAsync = getTransitiveCallersAsync
|
|
369
362
|
module.exports.getCallSitesWithContextAsync = getCallSitesWithContextAsync
|
|
363
|
+
module.exports.getDiffContext = getDiffContext
|
|
364
|
+
module.exports.analyzeImpact = analyzeImpact
|
|
365
|
+
module.exports.embed = embed
|
|
366
|
+
module.exports.embedAsync = embedAsync
|
|
367
|
+
module.exports.loadEmbedManifest = loadEmbedManifest
|
|
368
|
+
module.exports.loadEmbedManifestAsync = loadEmbedManifestAsync
|
|
369
|
+
module.exports.deleteEmbedManifest = deleteEmbedManifest
|
|
370
|
+
module.exports.deleteEmbedManifestAsync = deleteEmbedManifestAsync
|
|
371
|
+
module.exports.extractDocumentation = extractDocumentation
|
|
372
|
+
module.exports.extractDocumentationAsync = extractDocumentationAsync
|
|
373
|
+
module.exports.detectDeadCode = detectDeadCode
|
|
374
|
+
module.exports.detectDeadCodeAsync = detectDeadCodeAsync
|
|
375
|
+
module.exports.detectBreakingChanges = detectBreakingChanges
|
|
376
|
+
module.exports.detectBreakingChangesAsync = detectBreakingChangesAsync
|
|
377
|
+
module.exports.version = version
|
|
378
|
+
module.exports.packAsync = packAsync
|
|
379
|
+
module.exports.scanAsync = scanAsync
|
|
380
|
+
module.exports.buildIndexAsync = buildIndexAsync
|
|
381
|
+
module.exports.chunkAsync = chunkAsync
|
|
382
|
+
module.exports.analyzeImpactAsync = analyzeImpactAsync
|
|
383
|
+
module.exports.getDiffContextAsync = getDiffContextAsync
|
|
384
|
+
module.exports.Infiniloom = Infiniloom
|
|
385
|
+
module.exports.semanticCompress = semanticCompress
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "infiniloom-node",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "Node.js bindings for
|
|
3
|
+
"version": "0.6.2",
|
|
4
|
+
"description": "Node.js bindings for Infiniloom - AST-aware code context engine for RAG and vector databases. Tree-sitter parsing, PageRank ranking, BLAKE3 content-addressable chunks, 27+ tokenizers.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"napi": {
|
|
8
8
|
"name": "infiniloom",
|
|
9
9
|
"triples": {
|
|
10
|
-
"defaults":
|
|
10
|
+
"defaults": false,
|
|
11
11
|
"additional": [
|
|
12
|
+
"x86_64-unknown-linux-gnu",
|
|
12
13
|
"x86_64-unknown-linux-musl",
|
|
13
14
|
"aarch64-unknown-linux-gnu",
|
|
14
|
-
"armv7-unknown-linux-gnueabihf",
|
|
15
|
-
"aarch64-apple-darwin",
|
|
16
|
-
"aarch64-linux-android",
|
|
17
|
-
"x86_64-unknown-freebsd",
|
|
18
15
|
"aarch64-unknown-linux-musl",
|
|
19
|
-
"
|
|
16
|
+
"x86_64-apple-darwin",
|
|
17
|
+
"aarch64-apple-darwin"
|
|
20
18
|
]
|
|
21
19
|
}
|
|
22
20
|
},
|
|
@@ -30,11 +28,30 @@
|
|
|
30
28
|
"keywords": [
|
|
31
29
|
"infiniloom",
|
|
32
30
|
"llm",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
31
|
+
"rag",
|
|
32
|
+
"retrieval-augmented-generation",
|
|
33
|
+
"vector-database",
|
|
34
|
+
"pinecone",
|
|
35
|
+
"weaviate",
|
|
36
|
+
"qdrant",
|
|
37
|
+
"embeddings",
|
|
38
|
+
"code-context",
|
|
35
39
|
"code-analysis",
|
|
40
|
+
"ast",
|
|
41
|
+
"tree-sitter",
|
|
42
|
+
"pagerank",
|
|
43
|
+
"content-addressable",
|
|
44
|
+
"blake3",
|
|
45
|
+
"claude",
|
|
46
|
+
"gpt4o",
|
|
47
|
+
"gpt5",
|
|
48
|
+
"gemini",
|
|
49
|
+
"llama",
|
|
36
50
|
"napi-rs",
|
|
37
|
-
"rust"
|
|
51
|
+
"rust",
|
|
52
|
+
"ai-tools",
|
|
53
|
+
"tiktoken",
|
|
54
|
+
"code-chunking"
|
|
38
55
|
],
|
|
39
56
|
"engines": {
|
|
40
57
|
"node": ">= 16"
|
|
Binary file
|