@melandlabs/memory-store 1.1.2 → 1.1.3
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/contracts.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { MemoryRecord } from '@melandlabs/ai/memory';
|
|
1
2
|
import { FactType } from '@melandlabs/contracts';
|
|
2
3
|
export { StoreVsaFactInput, StoreVsaFactOutput, VsaFact, VsaFactStorage, VsaFactSummary, VsaForgetInput, VsaForgetOutput, VsaListInput, VsaRecallInput, VsaRecallOutput, VsaRecallScore, VsaVocabularyEntry, vsaAssertSameDim, vsaNormalizeVector } from '@melandlabs/contracts';
|
|
3
|
-
import { MemoryRecord } from '@melandlabs/ai/memory';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Memory-store contracts — types and constants that were originally re-exported
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MemoryGraphWriteEnvironment, MemoryGraphWritePolicyDecision } from './memory-graph-write-policy.js';
|
|
2
2
|
import '../contracts.js';
|
|
3
|
-
import '@melandlabs/contracts';
|
|
4
3
|
import '@melandlabs/ai/memory';
|
|
4
|
+
import '@melandlabs/contracts';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Memory-graph correction policy.
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
2
|
+
"name": "@melandlabs/memory-store",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist",
|
|
7
|
+
"README.md",
|
|
8
|
+
"LICENSE"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./contracts": "./dist/contracts.js",
|
|
18
|
+
"./http": {
|
|
19
|
+
"types": "./dist/http.d.ts",
|
|
20
|
+
"import": "./dist/http.js"
|
|
21
|
+
},
|
|
22
|
+
"./mcp": {
|
|
23
|
+
"types": "./dist/mcp.d.ts",
|
|
24
|
+
"import": "./dist/mcp.js"
|
|
25
|
+
},
|
|
26
|
+
"./raw-message-store": "./dist/storage/raw-message-store.js",
|
|
27
|
+
"./sqlite-raw-message-store": "./dist/storage/sqlite-raw-message-store.js",
|
|
28
|
+
"./postgres-raw-message-factory": "./dist/storage/postgres-raw-message-factory.js",
|
|
29
|
+
"./sqlite-vector-index": "./dist/storage/sqlite-vector-index.js",
|
|
30
|
+
"./chroma-memory-index": "./dist/storage/chroma-memory-index.js",
|
|
31
|
+
"./unified-search": "./dist/search/unified-search.js",
|
|
32
|
+
"./memory-graph-write-policy": "./dist/policies/memory-graph-write-policy.js",
|
|
33
|
+
"./memory-graph-correction-policy": "./dist/policies/memory-graph-correction-policy.js"
|
|
34
|
+
},
|
|
35
|
+
"bin": {
|
|
36
|
+
"opencontext-memory-http": "./dist/server/cli-http.js",
|
|
37
|
+
"opencontext-memory-mcp": "./dist/server/cli-mcp.js"
|
|
38
|
+
},
|
|
39
|
+
"repository": {
|
|
40
|
+
"type": "git",
|
|
41
|
+
"url": "git+https://github.com/melandlabs/opencontext.git",
|
|
42
|
+
"directory": "packages/memory-store"
|
|
43
|
+
},
|
|
44
|
+
"license": "Apache-2.0",
|
|
45
|
+
"description": "OpenContext memory storage + search SDK with HTTP and MCP server entry points.",
|
|
46
|
+
"keywords": [
|
|
47
|
+
"opencontext",
|
|
48
|
+
"memory",
|
|
49
|
+
"storage",
|
|
50
|
+
"search",
|
|
51
|
+
"sdk",
|
|
52
|
+
"mcp",
|
|
53
|
+
"http"
|
|
54
|
+
],
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@hono/node-server": "^1.13.7",
|
|
60
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
61
|
+
"hono": "^4.6.14",
|
|
62
|
+
"zod": "^4.3.6",
|
|
63
|
+
"@melandlabs/ai": "0.7.1",
|
|
64
|
+
"@melandlabs/contracts": "0.6.0",
|
|
65
|
+
"@melandlabs/env-config": "0.4.0",
|
|
66
|
+
"@melandlabs/memory-consolidation": "0.5.0",
|
|
67
|
+
"@melandlabs/okf": "0.2.0",
|
|
68
|
+
"@melandlabs/rag": "0.3.0",
|
|
69
|
+
"@melandlabs/shared": "0.4.0",
|
|
70
|
+
"@melandlabs/sqlite": "0.5.1",
|
|
71
|
+
"@melandlabs/vsa": "0.3.0"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"@melandlabs/ai-rag": "0.2.9",
|
|
75
|
+
"@melandlabs/indexeddb": "0.5.8"
|
|
76
|
+
},
|
|
77
|
+
"peerDependenciesMeta": {
|
|
78
|
+
"@melandlabs/ai-rag": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"@melandlabs/indexeddb": {
|
|
82
|
+
"optional": true
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@types/node": "^22.13.10",
|
|
87
|
+
"typescript": "^5.6.3",
|
|
88
|
+
"@melandlabs/ai-rag": "0.2.9",
|
|
89
|
+
"@melandlabs/config": "0.3.0"
|
|
90
|
+
},
|
|
91
|
+
"scripts": {
|
|
92
|
+
"build": "tsup",
|
|
93
|
+
"typecheck": "tsc --noEmit",
|
|
94
|
+
"lint": "biome check .",
|
|
95
|
+
"lint:fix": "biome check --write .",
|
|
96
|
+
"test": "vitest run",
|
|
97
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
98
|
+
"test:watch": "vitest"
|
|
99
|
+
}
|
|
100
|
+
}
|