@melandlabs/memory-store 0.2.5 → 0.2.6
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/server/cli-http.js +3 -9
- package/dist/server/cli-mcp.js +3 -9
- package/dist/server/cli-shared.js +3 -9
- package/package.json +93 -93
package/dist/server/cli-http.js
CHANGED
|
@@ -994,15 +994,9 @@ async function buildUnified(args) {
|
|
|
994
994
|
`embedQuery wired via LocalTransformersEmbeddingProvider (model=${args.embeddingModel ?? "Xenova/all-MiniLM-L6-v2"})`
|
|
995
995
|
);
|
|
996
996
|
} catch (error) {
|
|
997
|
-
log(
|
|
998
|
-
|
|
999
|
-
);
|
|
1000
|
-
log(
|
|
1001
|
-
"Semantic search will be disabled. The server will continue with keyword-only search."
|
|
1002
|
-
);
|
|
1003
|
-
log(
|
|
1004
|
-
"To fix: Ensure the model is downloaded or check your network connection to huggingface.co"
|
|
1005
|
-
);
|
|
997
|
+
log(`Warning: Failed to initialize LocalTransformersEmbeddingProvider: ${error.message}`);
|
|
998
|
+
log("Semantic search will be disabled. The server will continue with keyword-only search.");
|
|
999
|
+
log("To fix: Ensure the model is downloaded or check your network connection to huggingface.co");
|
|
1006
1000
|
}
|
|
1007
1001
|
} else if (args.embeddingProvider === "openrouter") {
|
|
1008
1002
|
const apiKey = process.env.OPENROUTER_API_KEY;
|
package/dist/server/cli-mcp.js
CHANGED
|
@@ -1006,15 +1006,9 @@ async function buildUnified(args) {
|
|
|
1006
1006
|
`embedQuery wired via LocalTransformersEmbeddingProvider (model=${args.embeddingModel ?? "Xenova/all-MiniLM-L6-v2"})`
|
|
1007
1007
|
);
|
|
1008
1008
|
} catch (error) {
|
|
1009
|
-
log(
|
|
1010
|
-
|
|
1011
|
-
);
|
|
1012
|
-
log(
|
|
1013
|
-
"Semantic search will be disabled. The server will continue with keyword-only search."
|
|
1014
|
-
);
|
|
1015
|
-
log(
|
|
1016
|
-
"To fix: Ensure the model is downloaded or check your network connection to huggingface.co"
|
|
1017
|
-
);
|
|
1009
|
+
log(`Warning: Failed to initialize LocalTransformersEmbeddingProvider: ${error.message}`);
|
|
1010
|
+
log("Semantic search will be disabled. The server will continue with keyword-only search.");
|
|
1011
|
+
log("To fix: Ensure the model is downloaded or check your network connection to huggingface.co");
|
|
1018
1012
|
}
|
|
1019
1013
|
} else if (args.embeddingProvider === "openrouter") {
|
|
1020
1014
|
const apiKey = process.env.OPENROUTER_API_KEY;
|
|
@@ -219,15 +219,9 @@ async function buildUnified(args) {
|
|
|
219
219
|
`embedQuery wired via LocalTransformersEmbeddingProvider (model=${args.embeddingModel ?? "Xenova/all-MiniLM-L6-v2"})`
|
|
220
220
|
);
|
|
221
221
|
} catch (error) {
|
|
222
|
-
log(
|
|
223
|
-
|
|
224
|
-
);
|
|
225
|
-
log(
|
|
226
|
-
"Semantic search will be disabled. The server will continue with keyword-only search."
|
|
227
|
-
);
|
|
228
|
-
log(
|
|
229
|
-
"To fix: Ensure the model is downloaded or check your network connection to huggingface.co"
|
|
230
|
-
);
|
|
222
|
+
log(`Warning: Failed to initialize LocalTransformersEmbeddingProvider: ${error.message}`);
|
|
223
|
+
log("Semantic search will be disabled. The server will continue with keyword-only search.");
|
|
224
|
+
log("To fix: Ensure the model is downloaded or check your network connection to huggingface.co");
|
|
231
225
|
}
|
|
232
226
|
} else if (args.embeddingProvider === "openrouter") {
|
|
233
227
|
const apiKey = process.env.OPENROUTER_API_KEY;
|
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
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
|
-
}
|
|
2
|
+
"name": "@melandlabs/memory-store",
|
|
3
|
+
"version": "0.2.6",
|
|
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/shared": "0.2.0",
|
|
64
|
+
"@melandlabs/sqlite": "0.2.0",
|
|
65
|
+
"@melandlabs/ai": "0.2.0",
|
|
66
|
+
"@melandlabs/rag": "0.2.0"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@melandlabs/ai-rag": "0.2.2",
|
|
70
|
+
"@melandlabs/indexeddb": "0.2.0"
|
|
71
|
+
},
|
|
72
|
+
"peerDependenciesMeta": {
|
|
73
|
+
"@melandlabs/ai-rag": {
|
|
74
|
+
"optional": true
|
|
75
|
+
},
|
|
76
|
+
"@melandlabs/indexeddb": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@types/node": "^22.13.10",
|
|
82
|
+
"typescript": "^5.6.3",
|
|
83
|
+
"@melandlabs/ai-rag": "0.2.2",
|
|
84
|
+
"@melandlabs/config": "0.2.0"
|
|
85
|
+
},
|
|
86
|
+
"scripts": {
|
|
87
|
+
"build": "tsup",
|
|
88
|
+
"typecheck": "tsc --noEmit",
|
|
89
|
+
"lint": "biome check .",
|
|
90
|
+
"lint:fix": "biome check --write .",
|
|
91
|
+
"test": "vitest run",
|
|
92
|
+
"test:watch": "vitest"
|
|
93
|
+
}
|
|
94
|
+
}
|