@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 +5 -0
- package/dist/{chunk-2FGDZKC2.mjs → chunk-6FWG2DG4.mjs} +2 -2
- package/dist/chunk-6FWG2DG4.mjs.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +45 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +47 -10
- package/dist/index.mjs.map +1 -1
- package/dist/{testing-hfpeX01Q.d.mts → testing-CDIDE4Jd.d.mts} +31 -2
- package/dist/{testing-hfpeX01Q.d.ts → testing-CDIDE4Jd.d.ts} +31 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2FGDZKC2.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Pure TypeScript business logic for LLM Wiki Memory.
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/@equationalapplications/core-llm-wiki) [](https://www.npmjs.com/package/@equationalapplications/core-llm-wiki)
|
|
6
|
+
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](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-
|
|
2547
|
-
//# sourceMappingURL=chunk-
|
|
2546
|
+
//# sourceMappingURL=chunk-6FWG2DG4.mjs.map
|
|
2547
|
+
//# sourceMappingURL=chunk-6FWG2DG4.mjs.map
|