@equationalapplications/core-llm-wiki 7.11.2 → 7.13.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 +22 -0
- package/dist/{chunk-522SCN2E.mjs → chunk-PCRYIUV5.mjs} +2299 -1408
- package/dist/chunk-PCRYIUV5.mjs.map +1 -0
- package/dist/index.d.mts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +5336 -4465
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +645 -669
- package/dist/index.mjs.map +1 -1
- package/dist/{testing-B0UtFCq1.d.mts → testing-CqsXv2_l.d.mts} +195 -23
- package/dist/{testing-B0UtFCq1.d.ts → testing-CqsXv2_l.d.ts} +195 -23
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +494 -35
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +3 -3
- package/dist/chunk-522SCN2E.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, R as ReadOptions, S as SQLiteAdapter, W as WikiOptions, c as WikiMemory } from './testing-
|
|
2
|
-
export { C as ChunkFailure, d as ClassifierAnswer, e as ClassifierQuestion, f as ClassifyRequest, g as ClassifyResponse, D as DegradedRecord, h as DraftPage, E as EmbedFactResult, i as EmbedFailureKind, j as EmbeddingMarkerKind, k as EntityMaintenanceReport, l as EntityStatus, m as ExtractedFact, n as ExtractedFactEdge, o as ExtractedFactWithOntology, p as ExtractedTask, q as GraphTraversalOptions, r as GroundingConfig, H as HEAL_BATCH_SIZE, s as HEAL_RECHECK_MS, t as HOOK_TIMEOUT_MARKER, u as HealResult, I as IngestDocumentResult, L as LLMProvider, v as LibrarianConfig, w as LibrarianGateConfig, x as MaintenanceJob, y as MaintenanceStopReason, O as ONTOLOGY_BACKFILL_BATCH_SIZE,
|
|
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-CqsXv2_l.mjs';
|
|
2
|
+
export { C as ChunkFailure, d as ClassifierAnswer, e as ClassifierQuestion, f as ClassifyRequest, g as ClassifyResponse, D as DegradedRecord, h as DraftPage, E as EmbedFactResult, i as EmbedFailureKind, j as EmbeddingMarkerKind, k as EntityMaintenanceReport, l as EntityStatus, m as ExtractedFact, n as ExtractedFactEdge, o as ExtractedFactWithOntology, p as ExtractedTask, q as GraphTraversalOptions, r as GroundingConfig, H as HEAL_BATCH_SIZE, s as HEAL_RECHECK_MS, t as HOOK_TIMEOUT_MARKER, u as HealResult, I as IngestDocumentResult, L as LLMProvider, v as LibrarianConfig, w as LibrarianGateConfig, x as MaintenanceJob, y as MaintenanceStopReason, z as MigrationPolicy, O as ONTOLOGY_BACKFILL_BATCH_SIZE, A as ONTOLOGY_BACKFILL_MAX_PROMPT_CHARS, B as ONTOLOGY_BACKFILL_RECHECK_MS, J as OntologyBackfillResult, K as OntologyConfig, N as OntologyEdgeType, P as OntologyManifest, Q as OntologyMode, T as OntologyNodeType, U as OntologyPromptContext, V as OntologyUpdates, X as PendingMaintenance, Y as PendingMigrationWork, Z as PendingSourceStatus, _ as PromptOverrides, $ as PromptService, a0 as PrunePartialFailureError, a1 as ReembedResult, a2 as RunPendingMaintenanceOptions, a3 as RunPendingMaintenanceResult, a4 as SupersedeReplacement, a5 as VectorRanker, a6 as VectorRankerFallback, a7 as VectorRankerRankArgs, a8 as VectorRankerSemanticResult, a9 as WikiBusyError, aa as WikiBusyOperation, ab as WikiCheckpoint, ac as WikiConfig, ad as WikiDiagnostic, ae as WikiDiagnosticCode, af as WikiDiagnosticDetail, ag as WikiDiagnosticOperation, ah as WikiDiagnosticSeverity, ai as WikiDiagnosticTrigger, aj as WikiDraftNotFound, ak as WikiDuplicateHashError, al as WikiEdge, am as WikiEvent, an as WikiFact, ao as WikiGraphNodeOwnershipConflict, ap as WikiIngestEmptyError, aq as WikiInstructions, ar as WikiInvalidReadOptions, as as WikiLintReport, at as WikiMemoryTestAccess, au as WikiMigrationRequiredError, av as WikiOutboxEvent, aw as WikiParseError, ax as WikiSearchUnavailableError, ay as WikiSourceRefHashCollision, az as WikiStrictOntologyViolation, aA as WikiSupersedeError, aB as WikiSupersedeReason, aC as WikiTask, aD as WikiTransactionError, aE as isWikiSearchUnavailableError, aF as validateManifest } from './testing-CqsXv2_l.mjs';
|
|
3
3
|
import { OkfFile } from '@equationalapplications/core-okf';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -128,6 +128,13 @@ declare const DEFAULT_MAX_EMBED_CHARS = 6000;
|
|
|
128
128
|
*/
|
|
129
129
|
declare const EMBED_CHARS_CEILING = 16000;
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* Default `setupBudgetMs`: the wall time each keyword-index quantum (one per
|
|
133
|
+
* `setup()` and per no-arg `syncSearchIndex()`) may spend on drain/rebuild
|
|
134
|
+
* chunks, checked between chunk transactions (spec #280 Config surface).
|
|
135
|
+
*/
|
|
136
|
+
declare const DEFAULT_SETUP_BUDGET_MS = 1500;
|
|
137
|
+
|
|
131
138
|
interface LibrarianOptions {
|
|
132
139
|
/** If provided, replaces the default Librarian system instructions. */
|
|
133
140
|
systemPrompt?: string;
|
|
@@ -154,4 +161,4 @@ declare const ONTOLOGY_BACKFILL_SYSTEM_PROMPT = "You are a knowledge classificat
|
|
|
154
161
|
|
|
155
162
|
declare function createWiki(db: SQLiteAdapter, options: WikiOptions): WikiMemory;
|
|
156
163
|
|
|
157
|
-
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 };
|
|
164
|
+
export { DEFAULT_CHUNK_OVERLAP, DEFAULT_LIBRARIAN_SYNTHESIS_PROMPT, DEFAULT_MAX_CHUNK_LENGTH, DEFAULT_MAX_EMBED_CHARS, DEFAULT_SETUP_BUDGET_MS, 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, R as ReadOptions, S as SQLiteAdapter, W as WikiOptions, c as WikiMemory } from './testing-
|
|
2
|
-
export { C as ChunkFailure, d as ClassifierAnswer, e as ClassifierQuestion, f as ClassifyRequest, g as ClassifyResponse, D as DegradedRecord, h as DraftPage, E as EmbedFactResult, i as EmbedFailureKind, j as EmbeddingMarkerKind, k as EntityMaintenanceReport, l as EntityStatus, m as ExtractedFact, n as ExtractedFactEdge, o as ExtractedFactWithOntology, p as ExtractedTask, q as GraphTraversalOptions, r as GroundingConfig, H as HEAL_BATCH_SIZE, s as HEAL_RECHECK_MS, t as HOOK_TIMEOUT_MARKER, u as HealResult, I as IngestDocumentResult, L as LLMProvider, v as LibrarianConfig, w as LibrarianGateConfig, x as MaintenanceJob, y as MaintenanceStopReason, O as ONTOLOGY_BACKFILL_BATCH_SIZE,
|
|
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-CqsXv2_l.js';
|
|
2
|
+
export { C as ChunkFailure, d as ClassifierAnswer, e as ClassifierQuestion, f as ClassifyRequest, g as ClassifyResponse, D as DegradedRecord, h as DraftPage, E as EmbedFactResult, i as EmbedFailureKind, j as EmbeddingMarkerKind, k as EntityMaintenanceReport, l as EntityStatus, m as ExtractedFact, n as ExtractedFactEdge, o as ExtractedFactWithOntology, p as ExtractedTask, q as GraphTraversalOptions, r as GroundingConfig, H as HEAL_BATCH_SIZE, s as HEAL_RECHECK_MS, t as HOOK_TIMEOUT_MARKER, u as HealResult, I as IngestDocumentResult, L as LLMProvider, v as LibrarianConfig, w as LibrarianGateConfig, x as MaintenanceJob, y as MaintenanceStopReason, z as MigrationPolicy, O as ONTOLOGY_BACKFILL_BATCH_SIZE, A as ONTOLOGY_BACKFILL_MAX_PROMPT_CHARS, B as ONTOLOGY_BACKFILL_RECHECK_MS, J as OntologyBackfillResult, K as OntologyConfig, N as OntologyEdgeType, P as OntologyManifest, Q as OntologyMode, T as OntologyNodeType, U as OntologyPromptContext, V as OntologyUpdates, X as PendingMaintenance, Y as PendingMigrationWork, Z as PendingSourceStatus, _ as PromptOverrides, $ as PromptService, a0 as PrunePartialFailureError, a1 as ReembedResult, a2 as RunPendingMaintenanceOptions, a3 as RunPendingMaintenanceResult, a4 as SupersedeReplacement, a5 as VectorRanker, a6 as VectorRankerFallback, a7 as VectorRankerRankArgs, a8 as VectorRankerSemanticResult, a9 as WikiBusyError, aa as WikiBusyOperation, ab as WikiCheckpoint, ac as WikiConfig, ad as WikiDiagnostic, ae as WikiDiagnosticCode, af as WikiDiagnosticDetail, ag as WikiDiagnosticOperation, ah as WikiDiagnosticSeverity, ai as WikiDiagnosticTrigger, aj as WikiDraftNotFound, ak as WikiDuplicateHashError, al as WikiEdge, am as WikiEvent, an as WikiFact, ao as WikiGraphNodeOwnershipConflict, ap as WikiIngestEmptyError, aq as WikiInstructions, ar as WikiInvalidReadOptions, as as WikiLintReport, at as WikiMemoryTestAccess, au as WikiMigrationRequiredError, av as WikiOutboxEvent, aw as WikiParseError, ax as WikiSearchUnavailableError, ay as WikiSourceRefHashCollision, az as WikiStrictOntologyViolation, aA as WikiSupersedeError, aB as WikiSupersedeReason, aC as WikiTask, aD as WikiTransactionError, aE as isWikiSearchUnavailableError, aF as validateManifest } from './testing-CqsXv2_l.js';
|
|
3
3
|
import { OkfFile } from '@equationalapplications/core-okf';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -128,6 +128,13 @@ declare const DEFAULT_MAX_EMBED_CHARS = 6000;
|
|
|
128
128
|
*/
|
|
129
129
|
declare const EMBED_CHARS_CEILING = 16000;
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* Default `setupBudgetMs`: the wall time each keyword-index quantum (one per
|
|
133
|
+
* `setup()` and per no-arg `syncSearchIndex()`) may spend on drain/rebuild
|
|
134
|
+
* chunks, checked between chunk transactions (spec #280 Config surface).
|
|
135
|
+
*/
|
|
136
|
+
declare const DEFAULT_SETUP_BUDGET_MS = 1500;
|
|
137
|
+
|
|
131
138
|
interface LibrarianOptions {
|
|
132
139
|
/** If provided, replaces the default Librarian system instructions. */
|
|
133
140
|
systemPrompt?: string;
|
|
@@ -154,4 +161,4 @@ declare const ONTOLOGY_BACKFILL_SYSTEM_PROMPT = "You are a knowledge classificat
|
|
|
154
161
|
|
|
155
162
|
declare function createWiki(db: SQLiteAdapter, options: WikiOptions): WikiMemory;
|
|
156
163
|
|
|
157
|
-
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 };
|
|
164
|
+
export { DEFAULT_CHUNK_OVERLAP, DEFAULT_LIBRARIAN_SYNTHESIS_PROMPT, DEFAULT_MAX_CHUNK_LENGTH, DEFAULT_MAX_EMBED_CHARS, DEFAULT_SETUP_BUDGET_MS, 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 };
|