infiniloom-node 0.4.9 → 0.4.11
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/README.md
CHANGED
|
@@ -964,7 +964,7 @@ if (isGitRepo('./my-project')) {
|
|
|
964
964
|
- **O3** / **O3-mini** - O3 reasoning models
|
|
965
965
|
- **O1** / **O1-mini** / **O1-preview** - O1 reasoning models
|
|
966
966
|
|
|
967
|
-
### OpenAI GPT-4 Series
|
|
967
|
+
### OpenAI GPT-4 Series (Legacy)
|
|
968
968
|
- **GPT-4o** / **GPT-4o-mini** - GPT-4o models (o200k_base tokenizer)
|
|
969
969
|
- **GPT-4** - GPT-4 (cl100k_base tokenizer)
|
|
970
970
|
- **GPT-3.5-turbo** - GPT-3.5
|
package/index.d.ts
CHANGED
|
@@ -391,7 +391,7 @@ export interface IndexStatus {
|
|
|
391
391
|
* The index enables fast diff-to-context lookups and impact analysis.
|
|
392
392
|
*
|
|
393
393
|
* # Arguments
|
|
394
|
-
* * `path` - Path to repository root
|
|
394
|
+
* * `path` - Path to repository root (null/undefined returns error)
|
|
395
395
|
* * `options` - Optional index build options
|
|
396
396
|
*
|
|
397
397
|
* # Returns
|
|
@@ -408,7 +408,7 @@ export interface IndexStatus {
|
|
|
408
408
|
* const status2 = buildIndex('./my-repo', { force: true });
|
|
409
409
|
* ```
|
|
410
410
|
*/
|
|
411
|
-
export declare function buildIndex(path
|
|
411
|
+
export declare function buildIndex(path?: string | undefined | null, options?: IndexOptions | undefined | null): IndexStatus
|
|
412
412
|
/**
|
|
413
413
|
* Get the status of an existing index
|
|
414
414
|
*
|
|
@@ -853,7 +853,7 @@ export interface RepoChunk {
|
|
|
853
853
|
* Useful for processing large repositories that exceed LLM context limits.
|
|
854
854
|
*
|
|
855
855
|
* # Arguments
|
|
856
|
-
* * `path` - Path to repository root
|
|
856
|
+
* * `path` - Path to repository root (null/undefined returns error)
|
|
857
857
|
* * `options` - Optional chunking options
|
|
858
858
|
*
|
|
859
859
|
* # Returns
|
|
@@ -875,7 +875,7 @@ export interface RepoChunk {
|
|
|
875
875
|
* }
|
|
876
876
|
* ```
|
|
877
877
|
*/
|
|
878
|
-
export declare function chunk(path
|
|
878
|
+
export declare function chunk(path?: string | undefined | null, options?: ChunkOptions | undefined | null): Array<RepoChunk>
|
|
879
879
|
/** Options for impact analysis */
|
|
880
880
|
export interface ImpactOptions {
|
|
881
881
|
/** Depth of dependency traversal (1-3, default: 2) */
|
|
@@ -1068,7 +1068,7 @@ export declare function scanAsync(path?: string | undefined | null, model?: stri
|
|
|
1068
1068
|
* const status = await buildIndexAsync('./my-repo', { force: true });
|
|
1069
1069
|
* ```
|
|
1070
1070
|
*/
|
|
1071
|
-
export declare function buildIndexAsync(path
|
|
1071
|
+
export declare function buildIndexAsync(path?: string | undefined | null, options?: IndexOptions | undefined | null): Promise<IndexStatus>
|
|
1072
1072
|
/**
|
|
1073
1073
|
* Async version of chunk
|
|
1074
1074
|
*
|
|
@@ -1079,7 +1079,7 @@ export declare function buildIndexAsync(path: string, options?: IndexOptions | u
|
|
|
1079
1079
|
* const chunks = await chunkAsync('./large-repo', { maxTokens: 50000 });
|
|
1080
1080
|
* ```
|
|
1081
1081
|
*/
|
|
1082
|
-
export declare function chunkAsync(path
|
|
1082
|
+
export declare function chunkAsync(path?: string | undefined | null, options?: ChunkOptions | undefined | null): Promise<Array<RepoChunk>>
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Async version of analyzeImpact
|
|
1085
1085
|
*
|
|
@@ -1245,8 +1245,8 @@ export declare function getTestsForFile(path: string, filePath: string): Array<s
|
|
|
1245
1245
|
* Requires an index to be built first (use `buildIndex`).
|
|
1246
1246
|
*
|
|
1247
1247
|
* # Arguments
|
|
1248
|
-
* * `path` - Path to repository root
|
|
1249
|
-
* * `symbol_name` - Name of the symbol to find call sites for
|
|
1248
|
+
* * `path` - Path to repository root (null/undefined returns error)
|
|
1249
|
+
* * `symbol_name` - Name of the symbol to find call sites for (null/undefined returns error)
|
|
1250
1250
|
*
|
|
1251
1251
|
* # Returns
|
|
1252
1252
|
* Array of call sites with caller information and line numbers
|
|
@@ -1263,7 +1263,7 @@ export declare function getTestsForFile(path: string, filePath: string): Array<s
|
|
|
1263
1263
|
* }
|
|
1264
1264
|
* ```
|
|
1265
1265
|
*/
|
|
1266
|
-
export declare function getCallSites(path
|
|
1266
|
+
export declare function getCallSites(path?: string | undefined | null, symbolName?: string | undefined | null): Array<CallSite>
|
|
1267
1267
|
/** Async version of getSymbolsInFile */
|
|
1268
1268
|
export declare function getSymbolsInFileAsync(path: string, filePath: string, filter?: SymbolFilter | undefined | null): Promise<Array<SymbolInfo>>
|
|
1269
1269
|
/** Async version of getSymbolSource */
|
|
@@ -1273,7 +1273,7 @@ export declare function getChangedSymbolsAsync(path: string, fromRef: string, to
|
|
|
1273
1273
|
/** Async version of getTestsForFile */
|
|
1274
1274
|
export declare function getTestsForFileAsync(path: string, filePath: string): Promise<Array<string>>
|
|
1275
1275
|
/** Async version of getCallSites */
|
|
1276
|
-
export declare function getCallSitesAsync(path
|
|
1276
|
+
export declare function getCallSitesAsync(path?: string | undefined | null, symbolName?: string | undefined | null): Promise<Array<CallSite>>
|
|
1277
1277
|
/** Options for filtering changed symbols (Feature #6) */
|
|
1278
1278
|
export interface ChangedSymbolsFilter {
|
|
1279
1279
|
/**
|
|
@@ -1364,8 +1364,8 @@ export interface TransitiveCallersOptions {
|
|
|
1364
1364
|
* of the specified symbol, up to a maximum depth.
|
|
1365
1365
|
*
|
|
1366
1366
|
* # Arguments
|
|
1367
|
-
* * `path` - Path to repository root
|
|
1368
|
-
* * `symbol_name` - Name of the symbol to find callers for
|
|
1367
|
+
* * `path` - Path to repository root (null/undefined returns error)
|
|
1368
|
+
* * `symbol_name` - Name of the symbol to find callers for (null/undefined returns error)
|
|
1369
1369
|
* * `options` - Optional query options
|
|
1370
1370
|
*
|
|
1371
1371
|
* # Returns
|
|
@@ -1382,7 +1382,7 @@ export interface TransitiveCallersOptions {
|
|
|
1382
1382
|
* }
|
|
1383
1383
|
* ```
|
|
1384
1384
|
*/
|
|
1385
|
-
export declare function getTransitiveCallers(path
|
|
1385
|
+
export declare function getTransitiveCallers(path?: string | undefined | null, symbolName?: string | undefined | null, options?: TransitiveCallersOptions | undefined | null): Array<TransitiveCallerInfo>
|
|
1386
1386
|
/** A call site with surrounding context (Feature #9) */
|
|
1387
1387
|
export interface CallSiteWithContext {
|
|
1388
1388
|
/** Name of the calling function/method */
|
|
@@ -1420,8 +1420,8 @@ export interface CallSitesContextOptions {
|
|
|
1420
1420
|
* for each call site, useful for AI-powered code review.
|
|
1421
1421
|
*
|
|
1422
1422
|
* # Arguments
|
|
1423
|
-
* * `path` - Path to repository root
|
|
1424
|
-
* * `symbol_name` - Name of the symbol to find call sites for
|
|
1423
|
+
* * `path` - Path to repository root (null/undefined returns error)
|
|
1424
|
+
* * `symbol_name` - Name of the symbol to find call sites for (null/undefined returns error)
|
|
1425
1425
|
* * `options` - Optional context options
|
|
1426
1426
|
*
|
|
1427
1427
|
* # Returns
|
|
@@ -1442,13 +1442,13 @@ export interface CallSitesContextOptions {
|
|
|
1442
1442
|
* }
|
|
1443
1443
|
* ```
|
|
1444
1444
|
*/
|
|
1445
|
-
export declare function getCallSitesWithContext(path
|
|
1445
|
+
export declare function getCallSitesWithContext(path?: string | undefined | null, symbolName?: string | undefined | null, options?: CallSitesContextOptions | undefined | null): Array<CallSiteWithContext>
|
|
1446
1446
|
/** Async version of getChangedSymbolsFiltered */
|
|
1447
1447
|
export declare function getChangedSymbolsFilteredAsync(path: string, fromRef: string, toRef: string, filter?: ChangedSymbolsFilter | undefined | null): Promise<Array<ChangedSymbolInfo>>
|
|
1448
1448
|
/** Async version of getTransitiveCallers */
|
|
1449
|
-
export declare function getTransitiveCallersAsync(path
|
|
1449
|
+
export declare function getTransitiveCallersAsync(path?: string | undefined | null, symbolName?: string | undefined | null, options?: TransitiveCallersOptions | undefined | null): Promise<Array<TransitiveCallerInfo>>
|
|
1450
1450
|
/** Async version of getCallSitesWithContext */
|
|
1451
|
-
export declare function getCallSitesWithContextAsync(path
|
|
1451
|
+
export declare function getCallSitesWithContextAsync(path?: string | undefined | null, symbolName?: string | undefined | null, options?: CallSitesContextOptions | undefined | null): Promise<Array<CallSiteWithContext>>
|
|
1452
1452
|
/** Infiniloom class for advanced usage */
|
|
1453
1453
|
export declare class Infiniloom {
|
|
1454
1454
|
/**
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|