@equationalapplications/core-llm-wiki 4.8.0 → 4.9.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/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  Pure TypeScript business logic for LLM Wiki Memory.
4
4
 
5
+ [![npm version](https://img.shields.io/npm/v/%40equationalapplications%2Fcore-llm-wiki?label=core)](https://www.npmjs.com/package/@equationalapplications/core-llm-wiki) [![npm downloads](https://img.shields.io/npm/dm/%40equationalapplications%2Fcore-llm-wiki?label=downloads)](https://www.npmjs.com/package/@equationalapplications/core-llm-wiki)
6
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
7
+ [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
8
+
5
9
  > Inspired by [Andrej Karpathy's LLM Wiki memory spec](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f).
6
10
 
7
11
  ## Features
@@ -92,6 +96,7 @@ const wikiMemory = new WikiMemory(db, {
92
96
  staleInferredAfterDays: 60, // default: 60 (days before runHeal downgrades inferred facts; null to disable)
93
97
  preFilterLimit: 50, // default: undefined — MiniSearch pre-filter before cosine scan; recommended for >500 facts
94
98
  hybridWeight: 0.7, // default: undefined — blend semantic (1.0) ↔ keyword (0.0); pure semantic when unset
99
+ enableOutbox: false, // default: false — when true, entry/task mutations write to an internal SQLite outbox table for external sync (e.g. via @equationalapplications/prisma-outbox)
95
100
 
96
101
  // Global prompt overrides — librarianSystemPrompt and healSystemPrompt apply to write() auto-runs;
97
102
  // ingestSystemPrompt applies only to explicit ingestDocument() calls.
@@ -2543,5 +2543,5 @@ var WriteService = class {
2543
2543
  };
2544
2544
 
2545
2545
  export { EmbeddingService, HOOK_TIMEOUT_MARKER, ImportExportService, IngestionService, JobManager, MaintenanceService, PromptService, PrunePartialFailureError, RetrievalService, SearchService, WikiBusyError, WriteService, __privateAdd, __privateGet, __privateSet, generateId, normalizeSourceHash, normalizeSourceRef, parseEmbedding };
2546
- //# sourceMappingURL=chunk-2FGDZKC2.mjs.map
2547
- //# sourceMappingURL=chunk-2FGDZKC2.mjs.map
2546
+ //# sourceMappingURL=chunk-6FWG2DG4.mjs.map
2547
+ //# sourceMappingURL=chunk-6FWG2DG4.mjs.map