@equationalapplications/core-llm-wiki 9.19.0 → 9.20.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/{chunk-JTKJXNB6.mjs → chunk-PLZNFRMM.mjs} +50 -8
- package/dist/chunk-PLZNFRMM.mjs.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +55 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{testing-hg6O6N-X.d.mts → testing-CnXg2aRj.d.mts} +13 -3
- package/dist/{testing-hg6O6N-X.d.ts → testing-CnXg2aRj.d.ts} +13 -3
- 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 +2 -2
- package/dist/chunk-JTKJXNB6.mjs.map +0 -1
|
@@ -1325,6 +1325,14 @@ interface StoredSource {
|
|
|
1325
1325
|
charCount: number;
|
|
1326
1326
|
storedAt: number;
|
|
1327
1327
|
}
|
|
1328
|
+
/** Options for the paged `listStoredSources` (spec source-store §7).
|
|
1329
|
+
* Omitted or `undefined` keys count as absent; `null` is a defined value and throws. */
|
|
1330
|
+
interface ListStoredSourcesOptions {
|
|
1331
|
+
/** Keyset cursor: the last sourceRef of the previous page. A defined key starts paging. */
|
|
1332
|
+
afterSourceRef?: string;
|
|
1333
|
+
/** In paging mode: default 200; invalid args throw. */
|
|
1334
|
+
limit?: number;
|
|
1335
|
+
}
|
|
1328
1336
|
/** One entry of `listStoredSources`. */
|
|
1329
1337
|
interface StoredSourceSummary {
|
|
1330
1338
|
sourceRef: string;
|
|
@@ -5339,7 +5347,9 @@ declare class WikiMemory {
|
|
|
5339
5347
|
text: string;
|
|
5340
5348
|
}): Promise<StoreSourceResult>;
|
|
5341
5349
|
getStoredSource(entityId: string, sourceRef: string): Promise<StoredSource | null>;
|
|
5342
|
-
listStoredSources(entityId: string): Promise<StoredSourceSummary[]>;
|
|
5350
|
+
listStoredSources(entityId: string, opts?: ListStoredSourcesOptions): Promise<StoredSourceSummary[]>;
|
|
5351
|
+
/** Spec source-store-paging §2: point probe passthrough; a bad entityId throws here, never a silent false. */
|
|
5352
|
+
hasStoredSource(entityId: string, sourceRef: string): Promise<boolean>;
|
|
5343
5353
|
/**
|
|
5344
5354
|
* End `oldId`'s validity and link it to its replacement (spec §4.3). One
|
|
5345
5355
|
* transaction. Throws `WikiSupersedeError` for missing, foreign, already
|
|
@@ -5596,5 +5606,5 @@ declare class WikiMemory {
|
|
|
5596
5606
|
setGeneratedByTask(taskId: string, entityId: string, actor: string): Promise<void>;
|
|
5597
5607
|
}
|
|
5598
5608
|
|
|
5599
|
-
export {
|
|
5600
|
-
export type { DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, HealResult as I, ImportDumpResult as J, IngestDocumentResult as K, IngestTypingCounters as L, MemoryBundle as M, LLMProvider as N, OntologyMode as O, LibrarianConfig as P, LibrarianGateConfig as Q, ReadOptions as R, SQLiteAdapter as S,
|
|
5609
|
+
export { ONTOLOGY_BACKFILL_BATCH_SIZE as $, HEAL_RECHECK_MS as A, HOOK_TIMEOUT_MARKER as B, CLASSIFIER_MAX_CHOICES as C, HEAL_BATCH_SIZE as H, ONTOLOGY_ABSTAIN_SENTINEL as _, isWikiSearchUnavailableError as a$, ONTOLOGY_BACKFILL_RECHECK_MS as a0, WikiDraftNotFound as aC, WikiDuplicateHashError as aD, WikiExternalDeletionError as aG, WikiGraphNodeOwnershipConflict as aI, WikiIngestEmptyError as aJ, WikiInvalidReadOptions as aL, WikiMigrationRequiredError as aO, WikiParseError as aQ, WikiSearchUnavailableError as aR, WikiSourceRefHashCollision as aT, WikiStrictOntologyViolation as aU, WikiSupersedeError as aV, WikiTransactionError as aY, isReservedAbstainSlug as a_, PromptService as ab, PrunePartialFailureError as ac, WikiBusyError as at, validateManifest as b0, EmbeddingService as b1, ImportExportService as b2, IngestionService as b3, JobManager as b4, MaintenanceService as b5, RetrievalService as b6, SearchService as b7, WriteService as b8, WikiMemory as e, CheckpointIncompleteError as f, EraseStepError as r };
|
|
5610
|
+
export type { DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, HealResult as I, ImportDumpResult as J, IngestDocumentResult as K, IngestTypingCounters as L, MemoryBundle as M, LLMProvider as N, OntologyMode as O, LibrarianConfig as P, LibrarianGateConfig as Q, ReadOptions as R, SQLiteAdapter as S, ListStoredSourcesOptions as T, LockedMaintenanceJob as U, MaintenanceJob as V, WikiConfig as W, MaintenanceStopReason as X, MemoryDumpEntity as Y, MigrationPolicy as Z, MemoryDump as a, OntologyBackfillResult as a1, OntologyEdgeType as a2, OntologyManifest as a3, OntologyNodeType as a4, OntologyPromptContext as a5, OntologyUpdates as a6, PendingMaintenance as a7, PendingMigrationWork as a8, PendingSourceStatus as a9, WikiDiagnosticSeverity as aA, WikiDiagnosticTrigger as aB, WikiEdge as aE, WikiEvent as aF, WikiFact as aH, WikiInstructions as aK, WikiLintReport as aM, WikiMemoryTestAccess as aN, WikiOutboxEvent as aP, WikiSourcePointer as aS, WikiSupersedeReason as aW, WikiTask as aX, WriteOntologyPromptContext as aZ, PromptOverrides as aa, ReembedResult as ad, RememberInput as ae, RunPendingMaintenanceOptions as af, RunPendingMaintenanceResult as ag, SourcePassage as ah, StoreSourceResult as ai, StoredSource as aj, StoredSourceDump as ak, StoredSourceSummary as al, SupersedeReplacement as am, SystemOneConfig as an, SystemOneThresholdSite as ao, VectorRanker as ap, VectorRankerFallback as aq, VectorRankerRankArgs as ar, VectorRankerSemanticResult as as, WikiBusyOperation as au, WikiCheckpoint as av, WikiDiagnostic as aw, WikiDiagnosticCode as ax, WikiDiagnosticDetail as ay, WikiDiagnosticOperation as az, FormattedMemoryDump as b, OntologyConfig as c, WikiOptions as d, ChunkFailure as g, ClassifierAnswer as h, ClassifierQuestion as i, ClassifyRequest as j, ClassifyResponse as k, DraftPage as l, EmbedFailureKind as m, EmbeddingMarkerKind as n, EntityMaintenanceReport as o, EntityStatus as p, EraseReport as q, ExtractedFact as s, ExtractedFactEdge as t, ExtractedFactWithOntology as u, ExtractedTask as v, ForgetParams as w, ForgetResult as x, GraphTraversalOptions as y, GroundingConfig as z };
|
|
@@ -1325,6 +1325,14 @@ interface StoredSource {
|
|
|
1325
1325
|
charCount: number;
|
|
1326
1326
|
storedAt: number;
|
|
1327
1327
|
}
|
|
1328
|
+
/** Options for the paged `listStoredSources` (spec source-store §7).
|
|
1329
|
+
* Omitted or `undefined` keys count as absent; `null` is a defined value and throws. */
|
|
1330
|
+
interface ListStoredSourcesOptions {
|
|
1331
|
+
/** Keyset cursor: the last sourceRef of the previous page. A defined key starts paging. */
|
|
1332
|
+
afterSourceRef?: string;
|
|
1333
|
+
/** In paging mode: default 200; invalid args throw. */
|
|
1334
|
+
limit?: number;
|
|
1335
|
+
}
|
|
1328
1336
|
/** One entry of `listStoredSources`. */
|
|
1329
1337
|
interface StoredSourceSummary {
|
|
1330
1338
|
sourceRef: string;
|
|
@@ -5339,7 +5347,9 @@ declare class WikiMemory {
|
|
|
5339
5347
|
text: string;
|
|
5340
5348
|
}): Promise<StoreSourceResult>;
|
|
5341
5349
|
getStoredSource(entityId: string, sourceRef: string): Promise<StoredSource | null>;
|
|
5342
|
-
listStoredSources(entityId: string): Promise<StoredSourceSummary[]>;
|
|
5350
|
+
listStoredSources(entityId: string, opts?: ListStoredSourcesOptions): Promise<StoredSourceSummary[]>;
|
|
5351
|
+
/** Spec source-store-paging §2: point probe passthrough; a bad entityId throws here, never a silent false. */
|
|
5352
|
+
hasStoredSource(entityId: string, sourceRef: string): Promise<boolean>;
|
|
5343
5353
|
/**
|
|
5344
5354
|
* End `oldId`'s validity and link it to its replacement (spec §4.3). One
|
|
5345
5355
|
* transaction. Throws `WikiSupersedeError` for missing, foreign, already
|
|
@@ -5596,5 +5606,5 @@ declare class WikiMemory {
|
|
|
5596
5606
|
setGeneratedByTask(taskId: string, entityId: string, actor: string): Promise<void>;
|
|
5597
5607
|
}
|
|
5598
5608
|
|
|
5599
|
-
export {
|
|
5600
|
-
export type { DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, HealResult as I, ImportDumpResult as J, IngestDocumentResult as K, IngestTypingCounters as L, MemoryBundle as M, LLMProvider as N, OntologyMode as O, LibrarianConfig as P, LibrarianGateConfig as Q, ReadOptions as R, SQLiteAdapter as S,
|
|
5609
|
+
export { ONTOLOGY_BACKFILL_BATCH_SIZE as $, HEAL_RECHECK_MS as A, HOOK_TIMEOUT_MARKER as B, CLASSIFIER_MAX_CHOICES as C, HEAL_BATCH_SIZE as H, ONTOLOGY_ABSTAIN_SENTINEL as _, isWikiSearchUnavailableError as a$, ONTOLOGY_BACKFILL_RECHECK_MS as a0, WikiDraftNotFound as aC, WikiDuplicateHashError as aD, WikiExternalDeletionError as aG, WikiGraphNodeOwnershipConflict as aI, WikiIngestEmptyError as aJ, WikiInvalidReadOptions as aL, WikiMigrationRequiredError as aO, WikiParseError as aQ, WikiSearchUnavailableError as aR, WikiSourceRefHashCollision as aT, WikiStrictOntologyViolation as aU, WikiSupersedeError as aV, WikiTransactionError as aY, isReservedAbstainSlug as a_, PromptService as ab, PrunePartialFailureError as ac, WikiBusyError as at, validateManifest as b0, EmbeddingService as b1, ImportExportService as b2, IngestionService as b3, JobManager as b4, MaintenanceService as b5, RetrievalService as b6, SearchService as b7, WriteService as b8, WikiMemory as e, CheckpointIncompleteError as f, EraseStepError as r };
|
|
5610
|
+
export type { DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, HealResult as I, ImportDumpResult as J, IngestDocumentResult as K, IngestTypingCounters as L, MemoryBundle as M, LLMProvider as N, OntologyMode as O, LibrarianConfig as P, LibrarianGateConfig as Q, ReadOptions as R, SQLiteAdapter as S, ListStoredSourcesOptions as T, LockedMaintenanceJob as U, MaintenanceJob as V, WikiConfig as W, MaintenanceStopReason as X, MemoryDumpEntity as Y, MigrationPolicy as Z, MemoryDump as a, OntologyBackfillResult as a1, OntologyEdgeType as a2, OntologyManifest as a3, OntologyNodeType as a4, OntologyPromptContext as a5, OntologyUpdates as a6, PendingMaintenance as a7, PendingMigrationWork as a8, PendingSourceStatus as a9, WikiDiagnosticSeverity as aA, WikiDiagnosticTrigger as aB, WikiEdge as aE, WikiEvent as aF, WikiFact as aH, WikiInstructions as aK, WikiLintReport as aM, WikiMemoryTestAccess as aN, WikiOutboxEvent as aP, WikiSourcePointer as aS, WikiSupersedeReason as aW, WikiTask as aX, WriteOntologyPromptContext as aZ, PromptOverrides as aa, ReembedResult as ad, RememberInput as ae, RunPendingMaintenanceOptions as af, RunPendingMaintenanceResult as ag, SourcePassage as ah, StoreSourceResult as ai, StoredSource as aj, StoredSourceDump as ak, StoredSourceSummary as al, SupersedeReplacement as am, SystemOneConfig as an, SystemOneThresholdSite as ao, VectorRanker as ap, VectorRankerFallback as aq, VectorRankerRankArgs as ar, VectorRankerSemanticResult as as, WikiBusyOperation as au, WikiCheckpoint as av, WikiDiagnostic as aw, WikiDiagnosticCode as ax, WikiDiagnosticDetail as ay, WikiDiagnosticOperation as az, FormattedMemoryDump as b, OntologyConfig as c, WikiOptions as d, ChunkFailure as g, ClassifierAnswer as h, ClassifierQuestion as i, ClassifyRequest as j, ClassifyResponse as k, DraftPage as l, EmbedFailureKind as m, EmbeddingMarkerKind as n, EntityMaintenanceReport as o, EntityStatus as p, EraseReport as q, ExtractedFact as s, ExtractedFactEdge as t, ExtractedFactWithOntology as u, ExtractedTask as v, ForgetParams as w, ForgetResult as x, GraphTraversalOptions as y, GroundingConfig as z };
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b1 as EmbeddingService, b2 as ImportExportService, b3 as IngestionService, b4 as JobManager, b4 as JobManagerType, b5 as MaintenanceService, b6 as RetrievalService, b7 as SearchService, b7 as SearchServiceType, aN as WikiMemoryTestAccess, b8 as WriteService } from './testing-CnXg2aRj.mjs';
|
|
2
2
|
import '@equationalapplications/core-okf';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b1 as EmbeddingService, b2 as ImportExportService, b3 as IngestionService, b4 as JobManager, b4 as JobManagerType, b5 as MaintenanceService, b6 as RetrievalService, b7 as SearchService, b7 as SearchServiceType, aN as WikiMemoryTestAccess, b8 as WriteService } from './testing-CnXg2aRj.js';
|
|
2
2
|
import '@equationalapplications/core-okf';
|