@equationalapplications/core-llm-wiki 4.6.0 → 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 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 {
@@ -357,6 +357,11 @@ declare class WikiMemory {
357
357
  private db;
358
358
  private prefix;
359
359
  private options;
360
+ private entryRepo;
361
+ private outboxRepo;
362
+ private taskRepo;
363
+ private eventRepo;
364
+ private metadataRepo;
360
365
  private activeMaintenanceJobs;
361
366
  private activeIngestJobs;
362
367
  private statusSubscribers;
@@ -442,10 +447,6 @@ declare class WikiMemory {
442
447
  * Negative return means "a ranks ahead of b" for descending score order.
443
448
  */
444
449
  private _compareScoredRows;
445
- /**
446
- * Build SQL IN clause with placeholders for multiple entity IDs.
447
- */
448
- private _entityInClause;
449
450
  /**
450
451
  * Hydrate full facts by ID. Pass scopedEntityIds to restrict to requested namespaces in SQL
451
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 {
@@ -357,6 +357,11 @@ declare class WikiMemory {
357
357
  private db;
358
358
  private prefix;
359
359
  private options;
360
+ private entryRepo;
361
+ private outboxRepo;
362
+ private taskRepo;
363
+ private eventRepo;
364
+ private metadataRepo;
360
365
  private activeMaintenanceJobs;
361
366
  private activeIngestJobs;
362
367
  private statusSubscribers;
@@ -442,10 +447,6 @@ declare class WikiMemory {
442
447
  * Negative return means "a ranks ahead of b" for descending score order.
443
448
  */
444
449
  private _compareScoredRows;
445
- /**
446
- * Build SQL IN clause with placeholders for multiple entity IDs.
447
- */
448
- private _entityInClause;
449
450
  /**
450
451
  * Hydrate full facts by ID. Pass scopedEntityIds to restrict to requested namespaces in SQL
451
452
  * (defense-in-depth against a rogue VectorRanker returning cross-entity IDs).