@equationalapplications/core-llm-wiki 8.2.0 → 8.3.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 +1 -1
- package/dist/{chunk-FOX6TNFO.mjs → chunk-V432RHCG.mjs} +239 -29
- package/dist/chunk-V432RHCG.mjs.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +108 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -183
- package/dist/index.mjs.map +1 -1
- package/dist/{testing-D6So3dKX.d.mts → testing-BT5qSnGB.d.mts} +57 -34
- package/dist/{testing-D6So3dKX.d.ts → testing-BT5qSnGB.d.ts} +57 -34
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +245 -16
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-FOX6TNFO.mjs.map +0 -1
|
@@ -778,9 +778,11 @@ interface VectorRanker {
|
|
|
778
778
|
* Called after a fact's embedding is successfully persisted to embedding_blob (or cleared).
|
|
779
779
|
* Hosts use this to keep sqlite-vec / external indexes consistent with SQLite as source of truth.
|
|
780
780
|
*
|
|
781
|
-
* On
|
|
782
|
-
*
|
|
783
|
-
*
|
|
781
|
+
* On forget and prune, core awaits this hook with `vector: null` after the delete commits, and
|
|
782
|
+
* a failure or timeout rejects the call. Cleanup is not yet durable: the loop stops at the
|
|
783
|
+
* first failing id, a retry re-sends ids already removed (make deletes idempotent), and a crash
|
|
784
|
+
* after commit loses the pending calls. Heal, re-ingest and replace-mode import only report
|
|
785
|
+
* failures (`hook_failed`). See the "Deleting data" guide.
|
|
784
786
|
*
|
|
785
787
|
* Treat `vector` as readonly — core provides a defensive copy, but adapters MUST NOT mutate.
|
|
786
788
|
*
|
|
@@ -1097,6 +1099,30 @@ declare class WikiTransactionError extends Error {
|
|
|
1097
1099
|
cause: unknown;
|
|
1098
1100
|
});
|
|
1099
1101
|
}
|
|
1102
|
+
/** Selectors for {@link WikiMemory.forget}. `clearAll` excludes the other selectors. */
|
|
1103
|
+
interface ForgetParams {
|
|
1104
|
+
entryId?: string;
|
|
1105
|
+
taskId?: string;
|
|
1106
|
+
sourceRef?: string;
|
|
1107
|
+
sourceHash?: string;
|
|
1108
|
+
/** Soft-delete every fact and task of the entity, delete its edges, and delete its source-ref index rows. */
|
|
1109
|
+
clearAll?: boolean;
|
|
1110
|
+
/**
|
|
1111
|
+
* With `clearAll: true` only: also hard-delete every event of the entity,
|
|
1112
|
+
* read by the librarian or not, and reset the librarian's position. Without
|
|
1113
|
+
* it, events stay and a later maintenance run can read them into facts again.
|
|
1114
|
+
*/
|
|
1115
|
+
includeEvents?: boolean;
|
|
1116
|
+
}
|
|
1117
|
+
/** Result of {@link WikiMemory.forget}. `deleted.events` is present only with `includeEvents`. */
|
|
1118
|
+
interface ForgetResult {
|
|
1119
|
+
deleted: {
|
|
1120
|
+
entries: number;
|
|
1121
|
+
tasks: number;
|
|
1122
|
+
events?: number;
|
|
1123
|
+
};
|
|
1124
|
+
metadataReset?: boolean;
|
|
1125
|
+
}
|
|
1100
1126
|
declare class PrunePartialFailureError extends Error {
|
|
1101
1127
|
readonly deleted: number;
|
|
1102
1128
|
readonly failedAt: string;
|
|
@@ -1946,6 +1972,12 @@ declare class SourceRefIndexRepository extends BaseRepository {
|
|
|
1946
1972
|
* backfill (the colon separator keeps the two ID spaces disjoint).
|
|
1947
1973
|
*/
|
|
1948
1974
|
upsert(entityId: string, sourceHash: string, sourceRef: string, tx: SQLiteAdapter): Promise<void>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Hard-delete every row of the entity, live or soft-deleted (forget clearAll,
|
|
1977
|
+
* spec import-followups §6 rev 4). Nothing reads a soft-deleted row and
|
|
1978
|
+
* runPrune never sweeps this table, so a wipe leaves no tombstones.
|
|
1979
|
+
*/
|
|
1980
|
+
deleteByEntityId(entityId: string, tx: SQLiteAdapter): Promise<number>;
|
|
1949
1981
|
/**
|
|
1950
1982
|
* Idempotent soft-delete of the live row for (entity_id, source_ref).
|
|
1951
1983
|
* Called at the start of every ingestDocument to remove the prior run's
|
|
@@ -3054,6 +3086,10 @@ declare class EventRepository extends BaseRepository {
|
|
|
3054
3086
|
* Defaults to a limit of 50.
|
|
3055
3087
|
*/
|
|
3056
3088
|
getRecentForEntities(entityIds: string[], limit?: number): Promise<WikiEvent[]>;
|
|
3089
|
+
/** Hard-delete every event of the entity, read or not (requested wipe, spec import-followups §6). */
|
|
3090
|
+
deleteByEntityId(entityId: string, tx: SQLiteAdapter): Promise<{
|
|
3091
|
+
changes: number;
|
|
3092
|
+
}>;
|
|
3057
3093
|
/**
|
|
3058
3094
|
* Delete events for an entity that were created at or before the given cutoff timestamp.
|
|
3059
3095
|
* Returns the number of deleted rows.
|
|
@@ -3221,7 +3257,8 @@ declare class MaintenanceService {
|
|
|
3221
3257
|
private embeddingService;
|
|
3222
3258
|
private ontologyService?;
|
|
3223
3259
|
private promptService;
|
|
3224
|
-
constructor(db: SQLiteAdapter, prefix: string, options: WikiOptions, entryRepo: EntryRepository, sourceRefIndexRepo: SourceRefIndexRepository, taskRepo: TaskRepository, eventRepo: EventRepository, metadataRepo: MetadataRepository, searchService: SearchService, jobManager: JobManager, embeddingService: EmbeddingService, promptService?: PromptService, ontologyService?: OntologyService | undefined);
|
|
3260
|
+
constructor(db: SQLiteAdapter, prefix: string, options: WikiOptions, entryRepo: EntryRepository, sourceRefIndexRepo: SourceRefIndexRepository, taskRepo: TaskRepository, eventRepo: EventRepository, metadataRepo: MetadataRepository, searchService: SearchService, jobManager: JobManager, embeddingService: EmbeddingService, promptService?: PromptService, ontologyService?: OntologyService | undefined, edgeRepo?: EdgeRepository);
|
|
3261
|
+
private edgeRepo;
|
|
3225
3262
|
runPrune(entityId: string, options?: {
|
|
3226
3263
|
retainSoftDeletedFor?: number | null;
|
|
3227
3264
|
retainEventsFor?: number | null;
|
|
@@ -3270,21 +3307,9 @@ declare class MaintenanceService {
|
|
|
3270
3307
|
force?: boolean;
|
|
3271
3308
|
skipExisting?: boolean;
|
|
3272
3309
|
}): Promise<ReembedResult>;
|
|
3273
|
-
forget(entityId: string, params: {
|
|
3274
|
-
entryId?: string;
|
|
3275
|
-
taskId?: string;
|
|
3276
|
-
sourceRef?: string;
|
|
3277
|
-
sourceHash?: string;
|
|
3278
|
-
clearAll?: boolean;
|
|
3279
|
-
}, opts?: {
|
|
3310
|
+
forget(entityId: string, params: ForgetParams, opts?: {
|
|
3280
3311
|
dryRun?: boolean;
|
|
3281
|
-
}): Promise<
|
|
3282
|
-
deleted: {
|
|
3283
|
-
entries: number;
|
|
3284
|
-
tasks: number;
|
|
3285
|
-
};
|
|
3286
|
-
metadataReset?: boolean;
|
|
3287
|
-
}>;
|
|
3312
|
+
}): Promise<ForgetResult>;
|
|
3288
3313
|
/**
|
|
3289
3314
|
* Whether forget() should soft-delete in source_ref_index (#316,
|
|
3290
3315
|
* specs/forget-pre-v9 §3.1). Normally true: setup()'s DDL creates the table.
|
|
@@ -3927,21 +3952,19 @@ declare class WikiMemory {
|
|
|
3927
3952
|
importDump(dump: MemoryDump, opts?: {
|
|
3928
3953
|
merge?: boolean;
|
|
3929
3954
|
}): Promise<void>;
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3955
|
+
/**
|
|
3956
|
+
* Soft-delete facts and tasks by id, by source, or all of them (`clearAll`).
|
|
3957
|
+
* `clearAll` also deletes the entity's edges and its source-ref index rows.
|
|
3958
|
+
* Add `includeEvents: true` to `clearAll` to hard-delete every event too,
|
|
3959
|
+
* read or not, and reset the librarian's position: without it a later
|
|
3960
|
+
* maintenance run can read the events into facts again. `runPrune()` then
|
|
3961
|
+
* hard-deletes the soft-deleted rows once they are older than
|
|
3962
|
+
* `retainSoftDeletedFor` (7 days by default; pass 0 to remove them now).
|
|
3963
|
+
* `dryRun` previews the counts.
|
|
3964
|
+
*/
|
|
3965
|
+
forget(entityId: string, params: ForgetParams, opts?: {
|
|
3937
3966
|
dryRun?: boolean;
|
|
3938
|
-
}): Promise<
|
|
3939
|
-
deleted: {
|
|
3940
|
-
entries: number;
|
|
3941
|
-
tasks: number;
|
|
3942
|
-
};
|
|
3943
|
-
metadataReset?: boolean;
|
|
3944
|
-
}>;
|
|
3967
|
+
}): Promise<ForgetResult>;
|
|
3945
3968
|
/**
|
|
3946
3969
|
* End `oldId`'s validity and link it to its replacement (spec §4.3). One
|
|
3947
3970
|
* transaction. Throws `WikiSupersedeError` for missing, foreign, already
|
|
@@ -4165,5 +4188,5 @@ declare class WikiMemory {
|
|
|
4165
4188
|
setGeneratedByTask(taskId: string, entityId: string, actor: string): Promise<void>;
|
|
4166
4189
|
}
|
|
4167
4190
|
|
|
4168
|
-
export {
|
|
4169
|
-
export type { ChunkFailure as C, DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, IngestDocumentResult as I,
|
|
4191
|
+
export { HEAL_BATCH_SIZE as H, ONTOLOGY_BACKFILL_MAX_PROMPT_CHARS as J, ONTOLOGY_BACKFILL_RECHECK_MS as K, ONTOLOGY_BACKFILL_BATCH_SIZE as O, PromptService as a1, PrunePartialFailureError as a2, WikiSearchUnavailableError as aA, WikiSourceRefHashCollision as aB, WikiStrictOntologyViolation as aC, WikiSupersedeError as aD, WikiTransactionError as aG, isWikiSearchUnavailableError as aH, validateManifest as aI, EmbeddingService as aJ, ImportExportService as aK, IngestionService as aL, JobManager as aM, MaintenanceService as aN, RetrievalService as aO, SearchService as aP, WriteService as aQ, WikiBusyError as ac, WikiDraftNotFound as am, WikiDuplicateHashError as an, WikiGraphNodeOwnershipConflict as ar, WikiIngestEmptyError as as, WikiInvalidReadOptions as au, WikiMigrationRequiredError as ax, WikiParseError as az, WikiMemory as c, HEAL_RECHECK_MS as u, HOOK_TIMEOUT_MARKER as v };
|
|
4192
|
+
export type { PendingSourceStatus as $, MaintenanceStopReason as A, MigrationPolicy as B, ChunkFailure as C, DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, IngestDocumentResult as I, LLMProvider as L, MemoryBundle as M, OntologyBackfillResult as N, OntologyConfig as P, OntologyEdgeType as Q, ReadOptions as R, SQLiteAdapter as S, OntologyManifest as T, OntologyMode as U, OntologyNodeType as V, WikiOptions as W, OntologyPromptContext as X, OntologyUpdates as Y, PendingMaintenance as Z, PendingMigrationWork as _, MemoryDump as a, PromptOverrides as a0, ReembedResult as a3, RememberInput as a4, RunPendingMaintenanceOptions as a5, RunPendingMaintenanceResult as a6, SupersedeReplacement as a7, VectorRanker as a8, VectorRankerFallback as a9, WikiSupersedeReason as aE, WikiTask as aF, VectorRankerRankArgs as aa, VectorRankerSemanticResult as ab, WikiBusyOperation as ad, WikiCheckpoint as ae, WikiConfig as af, WikiDiagnostic as ag, WikiDiagnosticCode as ah, WikiDiagnosticDetail as ai, WikiDiagnosticOperation as aj, WikiDiagnosticSeverity as ak, WikiDiagnosticTrigger as al, WikiEdge as ao, WikiEvent as ap, WikiFact as aq, WikiInstructions as at, WikiLintReport as av, WikiMemoryTestAccess as aw, WikiOutboxEvent as ay, FormattedMemoryDump as b, ClassifierAnswer as d, ClassifierQuestion as e, ClassifyRequest as f, ClassifyResponse as g, DraftPage as h, EmbedFailureKind as i, EmbeddingMarkerKind as j, EntityMaintenanceReport as k, EntityStatus as l, ExtractedFact as m, ExtractedFactEdge as n, ExtractedFactWithOntology as o, ExtractedTask as p, ForgetParams as q, ForgetResult as r, GraphTraversalOptions as s, GroundingConfig as t, HealResult as w, LibrarianConfig as x, LibrarianGateConfig as y, MaintenanceJob as z };
|
|
@@ -778,9 +778,11 @@ interface VectorRanker {
|
|
|
778
778
|
* Called after a fact's embedding is successfully persisted to embedding_blob (or cleared).
|
|
779
779
|
* Hosts use this to keep sqlite-vec / external indexes consistent with SQLite as source of truth.
|
|
780
780
|
*
|
|
781
|
-
* On
|
|
782
|
-
*
|
|
783
|
-
*
|
|
781
|
+
* On forget and prune, core awaits this hook with `vector: null` after the delete commits, and
|
|
782
|
+
* a failure or timeout rejects the call. Cleanup is not yet durable: the loop stops at the
|
|
783
|
+
* first failing id, a retry re-sends ids already removed (make deletes idempotent), and a crash
|
|
784
|
+
* after commit loses the pending calls. Heal, re-ingest and replace-mode import only report
|
|
785
|
+
* failures (`hook_failed`). See the "Deleting data" guide.
|
|
784
786
|
*
|
|
785
787
|
* Treat `vector` as readonly — core provides a defensive copy, but adapters MUST NOT mutate.
|
|
786
788
|
*
|
|
@@ -1097,6 +1099,30 @@ declare class WikiTransactionError extends Error {
|
|
|
1097
1099
|
cause: unknown;
|
|
1098
1100
|
});
|
|
1099
1101
|
}
|
|
1102
|
+
/** Selectors for {@link WikiMemory.forget}. `clearAll` excludes the other selectors. */
|
|
1103
|
+
interface ForgetParams {
|
|
1104
|
+
entryId?: string;
|
|
1105
|
+
taskId?: string;
|
|
1106
|
+
sourceRef?: string;
|
|
1107
|
+
sourceHash?: string;
|
|
1108
|
+
/** Soft-delete every fact and task of the entity, delete its edges, and delete its source-ref index rows. */
|
|
1109
|
+
clearAll?: boolean;
|
|
1110
|
+
/**
|
|
1111
|
+
* With `clearAll: true` only: also hard-delete every event of the entity,
|
|
1112
|
+
* read by the librarian or not, and reset the librarian's position. Without
|
|
1113
|
+
* it, events stay and a later maintenance run can read them into facts again.
|
|
1114
|
+
*/
|
|
1115
|
+
includeEvents?: boolean;
|
|
1116
|
+
}
|
|
1117
|
+
/** Result of {@link WikiMemory.forget}. `deleted.events` is present only with `includeEvents`. */
|
|
1118
|
+
interface ForgetResult {
|
|
1119
|
+
deleted: {
|
|
1120
|
+
entries: number;
|
|
1121
|
+
tasks: number;
|
|
1122
|
+
events?: number;
|
|
1123
|
+
};
|
|
1124
|
+
metadataReset?: boolean;
|
|
1125
|
+
}
|
|
1100
1126
|
declare class PrunePartialFailureError extends Error {
|
|
1101
1127
|
readonly deleted: number;
|
|
1102
1128
|
readonly failedAt: string;
|
|
@@ -1946,6 +1972,12 @@ declare class SourceRefIndexRepository extends BaseRepository {
|
|
|
1946
1972
|
* backfill (the colon separator keeps the two ID spaces disjoint).
|
|
1947
1973
|
*/
|
|
1948
1974
|
upsert(entityId: string, sourceHash: string, sourceRef: string, tx: SQLiteAdapter): Promise<void>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Hard-delete every row of the entity, live or soft-deleted (forget clearAll,
|
|
1977
|
+
* spec import-followups §6 rev 4). Nothing reads a soft-deleted row and
|
|
1978
|
+
* runPrune never sweeps this table, so a wipe leaves no tombstones.
|
|
1979
|
+
*/
|
|
1980
|
+
deleteByEntityId(entityId: string, tx: SQLiteAdapter): Promise<number>;
|
|
1949
1981
|
/**
|
|
1950
1982
|
* Idempotent soft-delete of the live row for (entity_id, source_ref).
|
|
1951
1983
|
* Called at the start of every ingestDocument to remove the prior run's
|
|
@@ -3054,6 +3086,10 @@ declare class EventRepository extends BaseRepository {
|
|
|
3054
3086
|
* Defaults to a limit of 50.
|
|
3055
3087
|
*/
|
|
3056
3088
|
getRecentForEntities(entityIds: string[], limit?: number): Promise<WikiEvent[]>;
|
|
3089
|
+
/** Hard-delete every event of the entity, read or not (requested wipe, spec import-followups §6). */
|
|
3090
|
+
deleteByEntityId(entityId: string, tx: SQLiteAdapter): Promise<{
|
|
3091
|
+
changes: number;
|
|
3092
|
+
}>;
|
|
3057
3093
|
/**
|
|
3058
3094
|
* Delete events for an entity that were created at or before the given cutoff timestamp.
|
|
3059
3095
|
* Returns the number of deleted rows.
|
|
@@ -3221,7 +3257,8 @@ declare class MaintenanceService {
|
|
|
3221
3257
|
private embeddingService;
|
|
3222
3258
|
private ontologyService?;
|
|
3223
3259
|
private promptService;
|
|
3224
|
-
constructor(db: SQLiteAdapter, prefix: string, options: WikiOptions, entryRepo: EntryRepository, sourceRefIndexRepo: SourceRefIndexRepository, taskRepo: TaskRepository, eventRepo: EventRepository, metadataRepo: MetadataRepository, searchService: SearchService, jobManager: JobManager, embeddingService: EmbeddingService, promptService?: PromptService, ontologyService?: OntologyService | undefined);
|
|
3260
|
+
constructor(db: SQLiteAdapter, prefix: string, options: WikiOptions, entryRepo: EntryRepository, sourceRefIndexRepo: SourceRefIndexRepository, taskRepo: TaskRepository, eventRepo: EventRepository, metadataRepo: MetadataRepository, searchService: SearchService, jobManager: JobManager, embeddingService: EmbeddingService, promptService?: PromptService, ontologyService?: OntologyService | undefined, edgeRepo?: EdgeRepository);
|
|
3261
|
+
private edgeRepo;
|
|
3225
3262
|
runPrune(entityId: string, options?: {
|
|
3226
3263
|
retainSoftDeletedFor?: number | null;
|
|
3227
3264
|
retainEventsFor?: number | null;
|
|
@@ -3270,21 +3307,9 @@ declare class MaintenanceService {
|
|
|
3270
3307
|
force?: boolean;
|
|
3271
3308
|
skipExisting?: boolean;
|
|
3272
3309
|
}): Promise<ReembedResult>;
|
|
3273
|
-
forget(entityId: string, params: {
|
|
3274
|
-
entryId?: string;
|
|
3275
|
-
taskId?: string;
|
|
3276
|
-
sourceRef?: string;
|
|
3277
|
-
sourceHash?: string;
|
|
3278
|
-
clearAll?: boolean;
|
|
3279
|
-
}, opts?: {
|
|
3310
|
+
forget(entityId: string, params: ForgetParams, opts?: {
|
|
3280
3311
|
dryRun?: boolean;
|
|
3281
|
-
}): Promise<
|
|
3282
|
-
deleted: {
|
|
3283
|
-
entries: number;
|
|
3284
|
-
tasks: number;
|
|
3285
|
-
};
|
|
3286
|
-
metadataReset?: boolean;
|
|
3287
|
-
}>;
|
|
3312
|
+
}): Promise<ForgetResult>;
|
|
3288
3313
|
/**
|
|
3289
3314
|
* Whether forget() should soft-delete in source_ref_index (#316,
|
|
3290
3315
|
* specs/forget-pre-v9 §3.1). Normally true: setup()'s DDL creates the table.
|
|
@@ -3927,21 +3952,19 @@ declare class WikiMemory {
|
|
|
3927
3952
|
importDump(dump: MemoryDump, opts?: {
|
|
3928
3953
|
merge?: boolean;
|
|
3929
3954
|
}): Promise<void>;
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3955
|
+
/**
|
|
3956
|
+
* Soft-delete facts and tasks by id, by source, or all of them (`clearAll`).
|
|
3957
|
+
* `clearAll` also deletes the entity's edges and its source-ref index rows.
|
|
3958
|
+
* Add `includeEvents: true` to `clearAll` to hard-delete every event too,
|
|
3959
|
+
* read or not, and reset the librarian's position: without it a later
|
|
3960
|
+
* maintenance run can read the events into facts again. `runPrune()` then
|
|
3961
|
+
* hard-deletes the soft-deleted rows once they are older than
|
|
3962
|
+
* `retainSoftDeletedFor` (7 days by default; pass 0 to remove them now).
|
|
3963
|
+
* `dryRun` previews the counts.
|
|
3964
|
+
*/
|
|
3965
|
+
forget(entityId: string, params: ForgetParams, opts?: {
|
|
3937
3966
|
dryRun?: boolean;
|
|
3938
|
-
}): Promise<
|
|
3939
|
-
deleted: {
|
|
3940
|
-
entries: number;
|
|
3941
|
-
tasks: number;
|
|
3942
|
-
};
|
|
3943
|
-
metadataReset?: boolean;
|
|
3944
|
-
}>;
|
|
3967
|
+
}): Promise<ForgetResult>;
|
|
3945
3968
|
/**
|
|
3946
3969
|
* End `oldId`'s validity and link it to its replacement (spec §4.3). One
|
|
3947
3970
|
* transaction. Throws `WikiSupersedeError` for missing, foreign, already
|
|
@@ -4165,5 +4188,5 @@ declare class WikiMemory {
|
|
|
4165
4188
|
setGeneratedByTask(taskId: string, entityId: string, actor: string): Promise<void>;
|
|
4166
4189
|
}
|
|
4167
4190
|
|
|
4168
|
-
export {
|
|
4169
|
-
export type { ChunkFailure as C, DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, IngestDocumentResult as I,
|
|
4191
|
+
export { HEAL_BATCH_SIZE as H, ONTOLOGY_BACKFILL_MAX_PROMPT_CHARS as J, ONTOLOGY_BACKFILL_RECHECK_MS as K, ONTOLOGY_BACKFILL_BATCH_SIZE as O, PromptService as a1, PrunePartialFailureError as a2, WikiSearchUnavailableError as aA, WikiSourceRefHashCollision as aB, WikiStrictOntologyViolation as aC, WikiSupersedeError as aD, WikiTransactionError as aG, isWikiSearchUnavailableError as aH, validateManifest as aI, EmbeddingService as aJ, ImportExportService as aK, IngestionService as aL, JobManager as aM, MaintenanceService as aN, RetrievalService as aO, SearchService as aP, WriteService as aQ, WikiBusyError as ac, WikiDraftNotFound as am, WikiDuplicateHashError as an, WikiGraphNodeOwnershipConflict as ar, WikiIngestEmptyError as as, WikiInvalidReadOptions as au, WikiMigrationRequiredError as ax, WikiParseError as az, WikiMemory as c, HEAL_RECHECK_MS as u, HOOK_TIMEOUT_MARKER as v };
|
|
4192
|
+
export type { PendingSourceStatus as $, MaintenanceStopReason as A, MigrationPolicy as B, ChunkFailure as C, DegradedRecord as D, EmbedFactResult as E, FormatContextOptions as F, GraphNeighborhood as G, IngestDocumentResult as I, LLMProvider as L, MemoryBundle as M, OntologyBackfillResult as N, OntologyConfig as P, OntologyEdgeType as Q, ReadOptions as R, SQLiteAdapter as S, OntologyManifest as T, OntologyMode as U, OntologyNodeType as V, WikiOptions as W, OntologyPromptContext as X, OntologyUpdates as Y, PendingMaintenance as Z, PendingMigrationWork as _, MemoryDump as a, PromptOverrides as a0, ReembedResult as a3, RememberInput as a4, RunPendingMaintenanceOptions as a5, RunPendingMaintenanceResult as a6, SupersedeReplacement as a7, VectorRanker as a8, VectorRankerFallback as a9, WikiSupersedeReason as aE, WikiTask as aF, VectorRankerRankArgs as aa, VectorRankerSemanticResult as ab, WikiBusyOperation as ad, WikiCheckpoint as ae, WikiConfig as af, WikiDiagnostic as ag, WikiDiagnosticCode as ah, WikiDiagnosticDetail as ai, WikiDiagnosticOperation as aj, WikiDiagnosticSeverity as ak, WikiDiagnosticTrigger as al, WikiEdge as ao, WikiEvent as ap, WikiFact as aq, WikiInstructions as at, WikiLintReport as av, WikiMemoryTestAccess as aw, WikiOutboxEvent as ay, FormattedMemoryDump as b, ClassifierAnswer as d, ClassifierQuestion as e, ClassifyRequest as f, ClassifyResponse as g, DraftPage as h, EmbedFailureKind as i, EmbeddingMarkerKind as j, EntityMaintenanceReport as k, EntityStatus as l, ExtractedFact as m, ExtractedFactEdge as n, ExtractedFactWithOntology as o, ExtractedTask as p, ForgetParams as q, ForgetResult as r, GraphTraversalOptions as s, GroundingConfig as t, HealResult as w, LibrarianConfig as x, LibrarianGateConfig as y, MaintenanceJob as z };
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aJ as EmbeddingService, aK as ImportExportService, aL as IngestionService, aM as JobManager, aM as JobManagerType, aN as MaintenanceService, aO as RetrievalService, aP as SearchService, aP as SearchServiceType, aw as WikiMemoryTestAccess, aQ as WriteService } from './testing-BT5qSnGB.mjs';
|
|
2
2
|
import '@equationalapplications/core-okf';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aJ as EmbeddingService, aK as ImportExportService, aL as IngestionService, aM as JobManager, aM as JobManagerType, aN as MaintenanceService, aO as RetrievalService, aP as SearchService, aP as SearchServiceType, aw as WikiMemoryTestAccess, aQ as WriteService } from './testing-BT5qSnGB.js';
|
|
2
2
|
import '@equationalapplications/core-okf';
|