@equationalapplications/core-llm-wiki 7.2.1 → 7.4.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 +48 -0
- package/dist/{chunk-TTECJ3S3.mjs → chunk-G5OR2VWD.mjs} +371 -49
- package/dist/chunk-G5OR2VWD.mjs.map +1 -0
- package/dist/index.d.mts +3 -5
- package/dist/index.d.ts +3 -5
- package/dist/index.js +501 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +134 -13
- package/dist/index.mjs.map +1 -1
- package/dist/{testing-DYeMd9d1.d.mts → testing-Dmh1kfkd.d.mts} +171 -7
- package/dist/{testing-DYeMd9d1.d.ts → testing-Dmh1kfkd.d.ts} +171 -7
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +353 -46
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-TTECJ3S3.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MemoryBundle, F as FormatContextOptions, G as GraphNeighborhood, a as MemoryDump, b as FormattedMemoryDump,
|
|
2
|
-
export { C as ChunkFailure, D as DegradedRecord, E as EmbedFactResult,
|
|
1
|
+
import { M as MemoryBundle, F as FormatContextOptions, G as GraphNeighborhood, a as MemoryDump, b as FormattedMemoryDump, R as ReadOptions, S as SQLiteAdapter, W as WikiOptions, c as WikiMemory } from './testing-Dmh1kfkd.mjs';
|
|
2
|
+
export { C as ChunkFailure, D as DegradedRecord, d as DraftPage, E as EmbedFactResult, e as EmbedFailureKind, f as EmbeddingMarkerKind, g as EntityStatus, h as ExtractedFact, i as ExtractedFactEdge, j as ExtractedFactWithOntology, k as ExtractedTask, l as GraphTraversalOptions, H as HEAL_BATCH_SIZE, m as HEAL_RECHECK_MS, n as HOOK_TIMEOUT_MARKER, o as HealResult, I as IngestDocumentResult, L as LLMProvider, O as ONTOLOGY_BACKFILL_BATCH_SIZE, p as ONTOLOGY_BACKFILL_MAX_PROMPT_CHARS, q as ONTOLOGY_BACKFILL_RECHECK_MS, r as OntologyBackfillResult, s as OntologyConfig, t as OntologyEdgeType, u as OntologyManifest, v as OntologyMode, w as OntologyNodeType, x as OntologyPromptContext, y as OntologyUpdates, P as PromptOverrides, z as PromptService, A as PrunePartialFailureError, B as ReembedResult, V as VectorRanker, J as VectorRankerFallback, K as VectorRankerRankArgs, N as VectorRankerSemanticResult, Q as WikiBusyError, T as WikiBusyOperation, U as WikiCheckpoint, X as WikiConfig, Y as WikiDiagnostic, Z as WikiDiagnosticCode, _ as WikiDiagnosticDetail, $ as WikiDiagnosticOperation, a0 as WikiDiagnosticSeverity, a1 as WikiDiagnosticTrigger, a2 as WikiDraftNotFound, a3 as WikiDuplicateHashError, a4 as WikiEdge, a5 as WikiEvent, a6 as WikiFact, a7 as WikiGraphNodeOwnershipConflict, a8 as WikiIngestEmptyError, a9 as WikiInvalidReadOptions, aa as WikiMemoryTestAccess, ab as WikiOutboxEvent, ac as WikiParseError, ad as WikiSourceRefHashCollision, ae as WikiStrictOntologyViolation, af as WikiTask, ag as WikiTransactionError, ah as validateManifest } from './testing-Dmh1kfkd.mjs';
|
|
3
3
|
import { OkfFile } from '@equationalapplications/core-okf';
|
|
4
4
|
import 'minisearch';
|
|
5
5
|
|
|
@@ -91,8 +91,6 @@ declare function parseOkfBundle(entityId: string, files: OkfFile[], options?: Ok
|
|
|
91
91
|
|
|
92
92
|
declare function parseEmbedding(blob: Uint8Array | null | undefined, text: string | null | undefined): Float32Array | null;
|
|
93
93
|
|
|
94
|
-
declare function validateManifest(manifest: OntologyManifest): void;
|
|
95
|
-
|
|
96
94
|
type GetRandomValues = (bytes: Uint8Array) => void;
|
|
97
95
|
/**
|
|
98
96
|
* Inject a platform-specific `getRandomValues` implementation.
|
|
@@ -157,4 +155,4 @@ declare const ONTOLOGY_BACKFILL_SYSTEM_PROMPT = "You are a knowledge classificat
|
|
|
157
155
|
|
|
158
156
|
declare function createWiki(db: SQLiteAdapter, options: WikiOptions): WikiMemory;
|
|
159
157
|
|
|
160
|
-
export { DEFAULT_CHUNK_OVERLAP, DEFAULT_LIBRARIAN_SYNTHESIS_PROMPT, DEFAULT_MAX_CHUNK_LENGTH, DEFAULT_MAX_EMBED_CHARS, EMBED_CHARS_CEILING, FormatContextOptions, type FormatOkfBundleOptions, FormattedMemoryDump, GraphNeighborhood, HEAL_ANCHORS_PER_CANDIDATE, HEAL_MAX_FACT_BODY_CHARS_L3, HEAL_MAX_TASKS, type LibrarianOptions, type LibrarianPromptVariables, MemoryBundle, MemoryDump, ONTOLOGY_BACKFILL_SYSTEM_PROMPT, type OkfFormatProfile, type OkfImportOptions,
|
|
158
|
+
export { DEFAULT_CHUNK_OVERLAP, DEFAULT_LIBRARIAN_SYNTHESIS_PROMPT, DEFAULT_MAX_CHUNK_LENGTH, DEFAULT_MAX_EMBED_CHARS, EMBED_CHARS_CEILING, FormatContextOptions, type FormatOkfBundleOptions, FormattedMemoryDump, GraphNeighborhood, HEAL_ANCHORS_PER_CANDIDATE, HEAL_MAX_FACT_BODY_CHARS_L3, HEAL_MAX_TASKS, type LibrarianOptions, type LibrarianPromptVariables, MemoryBundle, MemoryDump, ONTOLOGY_BACKFILL_SYSTEM_PROMPT, type OkfFormatProfile, type OkfImportOptions, ReadOptions, SQLiteAdapter, WikiMemory, WikiOptions, chunkText, configureRandomSource, createWiki, formatContext, formatGraphContext, formatMemoryDump, formatOkfBundle, hydrateLibrarianPrompt, mapLibrarianOptionsToReadOptions, parseEmbedding, parseOkfBundle, safeSlice, validateLibrarianPromptTemplate };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MemoryBundle, F as FormatContextOptions, G as GraphNeighborhood, a as MemoryDump, b as FormattedMemoryDump,
|
|
2
|
-
export { C as ChunkFailure, D as DegradedRecord, E as EmbedFactResult,
|
|
1
|
+
import { M as MemoryBundle, F as FormatContextOptions, G as GraphNeighborhood, a as MemoryDump, b as FormattedMemoryDump, R as ReadOptions, S as SQLiteAdapter, W as WikiOptions, c as WikiMemory } from './testing-Dmh1kfkd.js';
|
|
2
|
+
export { C as ChunkFailure, D as DegradedRecord, d as DraftPage, E as EmbedFactResult, e as EmbedFailureKind, f as EmbeddingMarkerKind, g as EntityStatus, h as ExtractedFact, i as ExtractedFactEdge, j as ExtractedFactWithOntology, k as ExtractedTask, l as GraphTraversalOptions, H as HEAL_BATCH_SIZE, m as HEAL_RECHECK_MS, n as HOOK_TIMEOUT_MARKER, o as HealResult, I as IngestDocumentResult, L as LLMProvider, O as ONTOLOGY_BACKFILL_BATCH_SIZE, p as ONTOLOGY_BACKFILL_MAX_PROMPT_CHARS, q as ONTOLOGY_BACKFILL_RECHECK_MS, r as OntologyBackfillResult, s as OntologyConfig, t as OntologyEdgeType, u as OntologyManifest, v as OntologyMode, w as OntologyNodeType, x as OntologyPromptContext, y as OntologyUpdates, P as PromptOverrides, z as PromptService, A as PrunePartialFailureError, B as ReembedResult, V as VectorRanker, J as VectorRankerFallback, K as VectorRankerRankArgs, N as VectorRankerSemanticResult, Q as WikiBusyError, T as WikiBusyOperation, U as WikiCheckpoint, X as WikiConfig, Y as WikiDiagnostic, Z as WikiDiagnosticCode, _ as WikiDiagnosticDetail, $ as WikiDiagnosticOperation, a0 as WikiDiagnosticSeverity, a1 as WikiDiagnosticTrigger, a2 as WikiDraftNotFound, a3 as WikiDuplicateHashError, a4 as WikiEdge, a5 as WikiEvent, a6 as WikiFact, a7 as WikiGraphNodeOwnershipConflict, a8 as WikiIngestEmptyError, a9 as WikiInvalidReadOptions, aa as WikiMemoryTestAccess, ab as WikiOutboxEvent, ac as WikiParseError, ad as WikiSourceRefHashCollision, ae as WikiStrictOntologyViolation, af as WikiTask, ag as WikiTransactionError, ah as validateManifest } from './testing-Dmh1kfkd.js';
|
|
3
3
|
import { OkfFile } from '@equationalapplications/core-okf';
|
|
4
4
|
import 'minisearch';
|
|
5
5
|
|
|
@@ -91,8 +91,6 @@ declare function parseOkfBundle(entityId: string, files: OkfFile[], options?: Ok
|
|
|
91
91
|
|
|
92
92
|
declare function parseEmbedding(blob: Uint8Array | null | undefined, text: string | null | undefined): Float32Array | null;
|
|
93
93
|
|
|
94
|
-
declare function validateManifest(manifest: OntologyManifest): void;
|
|
95
|
-
|
|
96
94
|
type GetRandomValues = (bytes: Uint8Array) => void;
|
|
97
95
|
/**
|
|
98
96
|
* Inject a platform-specific `getRandomValues` implementation.
|
|
@@ -157,4 +155,4 @@ declare const ONTOLOGY_BACKFILL_SYSTEM_PROMPT = "You are a knowledge classificat
|
|
|
157
155
|
|
|
158
156
|
declare function createWiki(db: SQLiteAdapter, options: WikiOptions): WikiMemory;
|
|
159
157
|
|
|
160
|
-
export { DEFAULT_CHUNK_OVERLAP, DEFAULT_LIBRARIAN_SYNTHESIS_PROMPT, DEFAULT_MAX_CHUNK_LENGTH, DEFAULT_MAX_EMBED_CHARS, EMBED_CHARS_CEILING, FormatContextOptions, type FormatOkfBundleOptions, FormattedMemoryDump, GraphNeighborhood, HEAL_ANCHORS_PER_CANDIDATE, HEAL_MAX_FACT_BODY_CHARS_L3, HEAL_MAX_TASKS, type LibrarianOptions, type LibrarianPromptVariables, MemoryBundle, MemoryDump, ONTOLOGY_BACKFILL_SYSTEM_PROMPT, type OkfFormatProfile, type OkfImportOptions,
|
|
158
|
+
export { DEFAULT_CHUNK_OVERLAP, DEFAULT_LIBRARIAN_SYNTHESIS_PROMPT, DEFAULT_MAX_CHUNK_LENGTH, DEFAULT_MAX_EMBED_CHARS, EMBED_CHARS_CEILING, FormatContextOptions, type FormatOkfBundleOptions, FormattedMemoryDump, GraphNeighborhood, HEAL_ANCHORS_PER_CANDIDATE, HEAL_MAX_FACT_BODY_CHARS_L3, HEAL_MAX_TASKS, type LibrarianOptions, type LibrarianPromptVariables, MemoryBundle, MemoryDump, ONTOLOGY_BACKFILL_SYSTEM_PROMPT, type OkfFormatProfile, type OkfImportOptions, ReadOptions, SQLiteAdapter, WikiMemory, WikiOptions, chunkText, configureRandomSource, createWiki, formatContext, formatGraphContext, formatMemoryDump, formatOkfBundle, hydrateLibrarianPrompt, mapLibrarianOptionsToReadOptions, parseEmbedding, parseOkfBundle, safeSlice, validateLibrarianPromptTemplate };
|