@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.
@@ -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.
@@ -1,6 +1,6 @@
1
1
  export { CHAT_MEMORY_EVIDENCE_ID_PREFIX } from '../contracts.js';
2
- import '@melandlabs/contracts';
3
2
  import '@melandlabs/ai/memory';
3
+ import '@melandlabs/contracts';
4
4
 
5
5
  /**
6
6
  * Memory-graph write policy.
File without changes
@@ -1,6 +1,6 @@
1
1
  import { RawMessage } from '../contracts.js';
2
- import '@melandlabs/contracts';
3
2
  import '@melandlabs/ai/memory';
3
+ import '@melandlabs/contracts';
4
4
 
5
5
  /**
6
6
  * Chroma-backed raw-message + insight vector index.
package/package.json CHANGED
@@ -1,100 +1,100 @@
1
1
  {
2
- "name": "@melandlabs/memory-store",
3
- "version": "1.1.2",
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
- "@melandlabs/ai": "workspace:*",
62
- "@melandlabs/contracts": "workspace:*",
63
- "@melandlabs/env-config": "workspace:*",
64
- "@melandlabs/memory-consolidation": "workspace:*",
65
- "@melandlabs/okf": "workspace:*",
66
- "@melandlabs/rag": "workspace:*",
67
- "@melandlabs/shared": "workspace:*",
68
- "@melandlabs/sqlite": "workspace:*",
69
- "@melandlabs/vsa": "workspace:*",
70
- "hono": "^4.6.14",
71
- "zod": "^4.3.6"
72
- },
73
- "peerDependencies": {
74
- "@melandlabs/ai-rag": "workspace:*",
75
- "@melandlabs/indexeddb": "workspace:*"
76
- },
77
- "peerDependenciesMeta": {
78
- "@melandlabs/ai-rag": {
79
- "optional": true
80
- },
81
- "@melandlabs/indexeddb": {
82
- "optional": true
83
- }
84
- },
85
- "devDependencies": {
86
- "@melandlabs/ai-rag": "workspace:*",
87
- "@melandlabs/config": "workspace:*",
88
- "@types/node": "^22.13.10",
89
- "typescript": "^5.6.3"
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
- }
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
+ }