@equationalapplications/core-llm-wiki 4.6.1 → 4.7.0
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/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1463 -664
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1463 -664
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ interface SQLiteAdapter {
|
|
|
11
11
|
}>;
|
|
12
12
|
getAllAsync<T>(sql: string, params?: unknown[]): Promise<T[]>;
|
|
13
13
|
getFirstAsync<T>(sql: string, params?: unknown[]): Promise<T | null>;
|
|
14
|
-
withTransactionAsync<T>(fn: () => Promise<T>): Promise<T>;
|
|
14
|
+
withTransactionAsync<T>(fn: (tx: SQLiteAdapter) => Promise<T>): Promise<T>;
|
|
15
15
|
closeAsync(): Promise<void>;
|
|
16
16
|
}
|
|
17
17
|
interface WikiConfig {
|
|
@@ -358,6 +358,10 @@ declare class WikiMemory {
|
|
|
358
358
|
private prefix;
|
|
359
359
|
private options;
|
|
360
360
|
private entryRepo;
|
|
361
|
+
private outboxRepo;
|
|
362
|
+
private taskRepo;
|
|
363
|
+
private eventRepo;
|
|
364
|
+
private metadataRepo;
|
|
361
365
|
private activeMaintenanceJobs;
|
|
362
366
|
private activeIngestJobs;
|
|
363
367
|
private statusSubscribers;
|
|
@@ -443,10 +447,6 @@ declare class WikiMemory {
|
|
|
443
447
|
* Negative return means "a ranks ahead of b" for descending score order.
|
|
444
448
|
*/
|
|
445
449
|
private _compareScoredRows;
|
|
446
|
-
/**
|
|
447
|
-
* Build SQL IN clause with placeholders for multiple entity IDs.
|
|
448
|
-
*/
|
|
449
|
-
private _entityInClause;
|
|
450
450
|
/**
|
|
451
451
|
* Hydrate full facts by ID. Pass scopedEntityIds to restrict to requested namespaces in SQL
|
|
452
452
|
* (defense-in-depth against a rogue VectorRanker returning cross-entity IDs).
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface SQLiteAdapter {
|
|
|
11
11
|
}>;
|
|
12
12
|
getAllAsync<T>(sql: string, params?: unknown[]): Promise<T[]>;
|
|
13
13
|
getFirstAsync<T>(sql: string, params?: unknown[]): Promise<T | null>;
|
|
14
|
-
withTransactionAsync<T>(fn: () => Promise<T>): Promise<T>;
|
|
14
|
+
withTransactionAsync<T>(fn: (tx: SQLiteAdapter) => Promise<T>): Promise<T>;
|
|
15
15
|
closeAsync(): Promise<void>;
|
|
16
16
|
}
|
|
17
17
|
interface WikiConfig {
|
|
@@ -358,6 +358,10 @@ declare class WikiMemory {
|
|
|
358
358
|
private prefix;
|
|
359
359
|
private options;
|
|
360
360
|
private entryRepo;
|
|
361
|
+
private outboxRepo;
|
|
362
|
+
private taskRepo;
|
|
363
|
+
private eventRepo;
|
|
364
|
+
private metadataRepo;
|
|
361
365
|
private activeMaintenanceJobs;
|
|
362
366
|
private activeIngestJobs;
|
|
363
367
|
private statusSubscribers;
|
|
@@ -443,10 +447,6 @@ declare class WikiMemory {
|
|
|
443
447
|
* Negative return means "a ranks ahead of b" for descending score order.
|
|
444
448
|
*/
|
|
445
449
|
private _compareScoredRows;
|
|
446
|
-
/**
|
|
447
|
-
* Build SQL IN clause with placeholders for multiple entity IDs.
|
|
448
|
-
*/
|
|
449
|
-
private _entityInClause;
|
|
450
450
|
/**
|
|
451
451
|
* Hydrate full facts by ID. Pass scopedEntityIds to restrict to requested namespaces in SQL
|
|
452
452
|
* (defense-in-depth against a rogue VectorRanker returning cross-entity IDs).
|