@utaba/deep-memory 0.15.0 → 0.17.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/LICENSE +1 -1
- package/dist/{StorageProvider-BGtKZZt4.d.cts → StorageProvider-DDTLUcuj.d.ts} +32 -8
- package/dist/{StorageProvider-D_o2Hksf.d.ts → StorageProvider-DGH7bVuK.d.cts} +32 -8
- package/dist/index.cjs +380 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +71 -13
- package/dist/index.d.ts +71 -13
- package/dist/index.js +375 -99
- package/dist/index.js.map +1 -1
- package/dist/{portability-P1hL-bOa.d.cts → portability-Dbm6vCdD.d.cts} +15 -3
- package/dist/{portability-P1hL-bOa.d.ts → portability-Dbm6vCdD.d.ts} +15 -3
- package/dist/providers/index.cjs.map +1 -1
- package/dist/providers/index.d.cts +3 -3
- package/dist/providers/index.d.ts +3 -3
- package/dist/testing/conformance.cjs +10 -0
- package/dist/testing/conformance.cjs.map +1 -1
- package/dist/testing/conformance.d.cts +2 -2
- package/dist/testing/conformance.d.ts +2 -2
- package/dist/testing/conformance.js +10 -0
- package/dist/testing/conformance.js.map +1 -1
- package/dist/{traversal-CBE5h5ob.d.cts → traversal-1f35drOx.d.cts} +24 -3
- package/dist/{traversal-B_84kGaO.d.ts → traversal-OkXViSTI.d.ts} +24 -3
- package/dist/types/index.d.cts +13 -4
- package/dist/types/index.d.ts +13 -4
- package/package.json +2 -3
package/dist/types/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export { Q as QueryMetadata,
|
|
1
|
+
import { a0 as ProvenanceContext, e as CreateEntityInput, i as Entity, aI as UpdateEntityInput, f as CreateRelationshipInput, a3 as Relationship, aM as VocabularyChangeRecord } from '../portability-Dbm6vCdD.cjs';
|
|
2
|
+
export { A as AdaptiveConcurrencyAdjustEvent, a as AdaptiveConcurrencyAdjustReason, b as AdaptiveConcurrencyHandle, c as AdaptiveConcurrencyOptions, B as BulkImportOptions, d as BulkImportResult, C as ConceptSearchOptions, D as DeleteEntitiesResult, g as DeleteProgressCallback, h as DetailLevel, E as EnrichedRelationship, j as EntityBrief, k as EntityMap, l as EntitySummary, m as EntityTypeDefinition, n as EntityTypeInput, o as EntityValidationIssue, p as EntityValidationPage, q as ExploreOptions, r as ExportArchive, s as ExportChunk, t as ExportLegalMetadata, u as ExportManifest, v as ExportOptions, w as ExportPipelineMetadata, x as ExportStreamItem, F as FindEntitiesQuery, G as GetEntitiesOptions, y as GetEntityOptions, z as GovernanceConfig, H as GovernanceMode, I as GraphResult, J as ImportChunk, K as ImportOptions, L as ImportResult, M as ImportStreamHeader, N as ImportWarning, O as MemoryVocabulary, P as Neighborhood, Q as NeighborhoodCenter, R as NeighborhoodGroup, S as NeighborhoodLayer, T as PaginatedResult, U as PaginationOptions, V as Path, W as PathOptions, X as PathResult, Y as PropertyFilter, Z as PropertySchema, _ as PropertyType, $ as Provenance, a1 as ProvenanceFilter, a2 as ReembedResult, a4 as RelationshipDirection, a5 as RelationshipQueryOptions, a6 as RelationshipSummary, a7 as RelationshipTypeDefinition, a8 as RelationshipTypeInput, a9 as RelationshipValidationIssue, aa as RelationshipValidationPage, ab as RemoveRelationshipsResult, ac as RepositoryConfig, ad as RepositoryFilter, ae as RepositoryMetadata, af as RepositoryStats, ag as RepositorySummary, ah as RepositoryUpdate, ai as ResolvedVocabulary, aj as ScoredEntity, ak as SearchHit, al as SearchOptions, am as StorageExploreOptions, an as StorageFindQuery, ao as StorageNeighborhood, ap as StorageNeighborhoodGroup, aq as StorageNeighborhoodLayer, ar as StoragePath, as as StoragePathOptions, at as StoragePathResult, au as StorageRepositoryConfig, av as StorageTimelineEvent, aw as StorageTimelineOptions, ax as StorageTimelineResult, ay as StoredEntity, az as StoredEntityUpdate, aA as StoredRelationship, aB as StoredRepository, aC as StoredRepositorySummary, aD as TimelineEntityRef, aE as TimelineEvent, aF as TimelineOptions, aG as TimelineRelationshipDetail, aH as TimelineResult, aJ as ValidateEntitiesOptions, aK as ValidateRelationshipsOptions, aN as VocabularyInput, aO as VocabularyProposal, aP as VocabularyProposalResult } from '../portability-Dbm6vCdD.cjs';
|
|
3
|
+
export { Q as QueryMetadata, T as TraversalAggregation, a as TraversalPath, b as TraversalProjection, c as TraversalRelationship, d as TraversalResult, e as TraversalReturnMode, f as TraversalSpec, g as TraversalStart, h as TraversalStep } from '../traversal-1f35drOx.cjs';
|
|
4
4
|
|
|
5
5
|
/** All event types emitted by the Deep Memory engine */
|
|
6
|
-
type DeepMemoryEventType = 'repository:created' | 'repository:opened' | 'repository:updated' | 'repository:deleted' | 'entity:creating' | 'entity:created' | 'entity:updating' | 'entity:updated' | 'entity:deleting' | 'entity:deleted' | 'relationship:creating' | 'relationship:created' | 'relationship:removing' | 'relationship:removed' | 'vocabulary:proposal' | 'vocabulary:approved' | 'vocabulary:rejected' | 'vocabulary:pending' | 'vocabulary:changed' | 'validation:failed' | 'search:executed' | 'reembed:started' | 'reembed:progress' | 'reembed:completed' | 'reembed:failed' | 'export:started' | 'export:progress' | 'export:completed' | 'import:started' | 'import:progress' | 'import:completed' | 'import:failed' | 'delete:started' | 'delete:progress' | 'delete:completed';
|
|
6
|
+
type DeepMemoryEventType = 'repository:created' | 'repository:opened' | 'repository:updated' | 'repository:deleted' | 'entity:creating' | 'entity:created' | 'entity:updating' | 'entity:updated' | 'entity:deleting' | 'entity:deleted' | 'relationship:creating' | 'relationship:created' | 'relationship:removing' | 'relationship:removed' | 'vocabulary:proposal' | 'vocabulary:approved' | 'vocabulary:rejected' | 'vocabulary:pending' | 'vocabulary:changed' | 'validation:failed' | 'search:executed' | 'reembed:started' | 'reembed:progress' | 'reembed:item-failed' | 'reembed:completed' | 'reembed:failed' | 'export:started' | 'export:progress' | 'export:completed' | 'import:started' | 'import:progress' | 'import:item-failed' | 'import:completed' | 'import:failed' | 'delete:started' | 'delete:progress' | 'delete:completed';
|
|
7
7
|
/** Type-safe event payload mapping */
|
|
8
8
|
type EventPayload<T extends DeepMemoryEventType> = T extends 'repository:created' ? {
|
|
9
9
|
repositoryId: string;
|
|
@@ -66,6 +66,10 @@ type EventPayload<T extends DeepMemoryEventType> = T extends 'repository:created
|
|
|
66
66
|
processed: number;
|
|
67
67
|
totalEntities: number;
|
|
68
68
|
failed: number;
|
|
69
|
+
} : T extends 'reembed:item-failed' ? {
|
|
70
|
+
repositoryId: string;
|
|
71
|
+
entityId: string;
|
|
72
|
+
error: string;
|
|
69
73
|
} : T extends 'reembed:completed' ? {
|
|
70
74
|
repositoryId: string;
|
|
71
75
|
processed: number;
|
|
@@ -100,6 +104,11 @@ type EventPayload<T extends DeepMemoryEventType> = T extends 'repository:created
|
|
|
100
104
|
totalRelationships: number;
|
|
101
105
|
chunksCompleted: number;
|
|
102
106
|
totalChunks: number;
|
|
107
|
+
} : T extends 'import:item-failed' ? {
|
|
108
|
+
repositoryId: string;
|
|
109
|
+
itemId: string;
|
|
110
|
+
itemType: 'entity' | 'relationship';
|
|
111
|
+
error: string;
|
|
103
112
|
} : T extends 'import:completed' ? {
|
|
104
113
|
repositoryId: string;
|
|
105
114
|
entitiesImported: number;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export { Q as QueryMetadata,
|
|
1
|
+
import { a0 as ProvenanceContext, e as CreateEntityInput, i as Entity, aI as UpdateEntityInput, f as CreateRelationshipInput, a3 as Relationship, aM as VocabularyChangeRecord } from '../portability-Dbm6vCdD.js';
|
|
2
|
+
export { A as AdaptiveConcurrencyAdjustEvent, a as AdaptiveConcurrencyAdjustReason, b as AdaptiveConcurrencyHandle, c as AdaptiveConcurrencyOptions, B as BulkImportOptions, d as BulkImportResult, C as ConceptSearchOptions, D as DeleteEntitiesResult, g as DeleteProgressCallback, h as DetailLevel, E as EnrichedRelationship, j as EntityBrief, k as EntityMap, l as EntitySummary, m as EntityTypeDefinition, n as EntityTypeInput, o as EntityValidationIssue, p as EntityValidationPage, q as ExploreOptions, r as ExportArchive, s as ExportChunk, t as ExportLegalMetadata, u as ExportManifest, v as ExportOptions, w as ExportPipelineMetadata, x as ExportStreamItem, F as FindEntitiesQuery, G as GetEntitiesOptions, y as GetEntityOptions, z as GovernanceConfig, H as GovernanceMode, I as GraphResult, J as ImportChunk, K as ImportOptions, L as ImportResult, M as ImportStreamHeader, N as ImportWarning, O as MemoryVocabulary, P as Neighborhood, Q as NeighborhoodCenter, R as NeighborhoodGroup, S as NeighborhoodLayer, T as PaginatedResult, U as PaginationOptions, V as Path, W as PathOptions, X as PathResult, Y as PropertyFilter, Z as PropertySchema, _ as PropertyType, $ as Provenance, a1 as ProvenanceFilter, a2 as ReembedResult, a4 as RelationshipDirection, a5 as RelationshipQueryOptions, a6 as RelationshipSummary, a7 as RelationshipTypeDefinition, a8 as RelationshipTypeInput, a9 as RelationshipValidationIssue, aa as RelationshipValidationPage, ab as RemoveRelationshipsResult, ac as RepositoryConfig, ad as RepositoryFilter, ae as RepositoryMetadata, af as RepositoryStats, ag as RepositorySummary, ah as RepositoryUpdate, ai as ResolvedVocabulary, aj as ScoredEntity, ak as SearchHit, al as SearchOptions, am as StorageExploreOptions, an as StorageFindQuery, ao as StorageNeighborhood, ap as StorageNeighborhoodGroup, aq as StorageNeighborhoodLayer, ar as StoragePath, as as StoragePathOptions, at as StoragePathResult, au as StorageRepositoryConfig, av as StorageTimelineEvent, aw as StorageTimelineOptions, ax as StorageTimelineResult, ay as StoredEntity, az as StoredEntityUpdate, aA as StoredRelationship, aB as StoredRepository, aC as StoredRepositorySummary, aD as TimelineEntityRef, aE as TimelineEvent, aF as TimelineOptions, aG as TimelineRelationshipDetail, aH as TimelineResult, aJ as ValidateEntitiesOptions, aK as ValidateRelationshipsOptions, aN as VocabularyInput, aO as VocabularyProposal, aP as VocabularyProposalResult } from '../portability-Dbm6vCdD.js';
|
|
3
|
+
export { Q as QueryMetadata, T as TraversalAggregation, a as TraversalPath, b as TraversalProjection, c as TraversalRelationship, d as TraversalResult, e as TraversalReturnMode, f as TraversalSpec, g as TraversalStart, h as TraversalStep } from '../traversal-OkXViSTI.js';
|
|
4
4
|
|
|
5
5
|
/** All event types emitted by the Deep Memory engine */
|
|
6
|
-
type DeepMemoryEventType = 'repository:created' | 'repository:opened' | 'repository:updated' | 'repository:deleted' | 'entity:creating' | 'entity:created' | 'entity:updating' | 'entity:updated' | 'entity:deleting' | 'entity:deleted' | 'relationship:creating' | 'relationship:created' | 'relationship:removing' | 'relationship:removed' | 'vocabulary:proposal' | 'vocabulary:approved' | 'vocabulary:rejected' | 'vocabulary:pending' | 'vocabulary:changed' | 'validation:failed' | 'search:executed' | 'reembed:started' | 'reembed:progress' | 'reembed:completed' | 'reembed:failed' | 'export:started' | 'export:progress' | 'export:completed' | 'import:started' | 'import:progress' | 'import:completed' | 'import:failed' | 'delete:started' | 'delete:progress' | 'delete:completed';
|
|
6
|
+
type DeepMemoryEventType = 'repository:created' | 'repository:opened' | 'repository:updated' | 'repository:deleted' | 'entity:creating' | 'entity:created' | 'entity:updating' | 'entity:updated' | 'entity:deleting' | 'entity:deleted' | 'relationship:creating' | 'relationship:created' | 'relationship:removing' | 'relationship:removed' | 'vocabulary:proposal' | 'vocabulary:approved' | 'vocabulary:rejected' | 'vocabulary:pending' | 'vocabulary:changed' | 'validation:failed' | 'search:executed' | 'reembed:started' | 'reembed:progress' | 'reembed:item-failed' | 'reembed:completed' | 'reembed:failed' | 'export:started' | 'export:progress' | 'export:completed' | 'import:started' | 'import:progress' | 'import:item-failed' | 'import:completed' | 'import:failed' | 'delete:started' | 'delete:progress' | 'delete:completed';
|
|
7
7
|
/** Type-safe event payload mapping */
|
|
8
8
|
type EventPayload<T extends DeepMemoryEventType> = T extends 'repository:created' ? {
|
|
9
9
|
repositoryId: string;
|
|
@@ -66,6 +66,10 @@ type EventPayload<T extends DeepMemoryEventType> = T extends 'repository:created
|
|
|
66
66
|
processed: number;
|
|
67
67
|
totalEntities: number;
|
|
68
68
|
failed: number;
|
|
69
|
+
} : T extends 'reembed:item-failed' ? {
|
|
70
|
+
repositoryId: string;
|
|
71
|
+
entityId: string;
|
|
72
|
+
error: string;
|
|
69
73
|
} : T extends 'reembed:completed' ? {
|
|
70
74
|
repositoryId: string;
|
|
71
75
|
processed: number;
|
|
@@ -100,6 +104,11 @@ type EventPayload<T extends DeepMemoryEventType> = T extends 'repository:created
|
|
|
100
104
|
totalRelationships: number;
|
|
101
105
|
chunksCompleted: number;
|
|
102
106
|
totalChunks: number;
|
|
107
|
+
} : T extends 'import:item-failed' ? {
|
|
108
|
+
repositoryId: string;
|
|
109
|
+
itemId: string;
|
|
110
|
+
itemType: 'entity' | 'relationship';
|
|
111
|
+
error: string;
|
|
103
112
|
} : T extends 'import:completed' ? {
|
|
104
113
|
repositoryId: string;
|
|
105
114
|
entitiesImported: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utaba/deep-memory",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Vocabulary-driven graph memory for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -54,10 +54,9 @@
|
|
|
54
54
|
"README.md"
|
|
55
55
|
],
|
|
56
56
|
"engines": {
|
|
57
|
-
"node": ">=
|
|
57
|
+
"node": ">=22"
|
|
58
58
|
},
|
|
59
59
|
"license": "Apache-2.0",
|
|
60
|
-
"homepage": "https://utaba.ai",
|
|
61
60
|
"repository": {
|
|
62
61
|
"type": "git",
|
|
63
62
|
"url": "https://github.com/TjWheeler/deep-memory.git",
|