@spark-agents/engram 0.1.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.
@@ -0,0 +1,58 @@
1
+ {
2
+ "id": "engram",
3
+ "kind": "memory",
4
+ "configSchema": {
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "geminiApiKey": {
9
+ "type": "string"
10
+ },
11
+ "dimensions": {
12
+ "type": "number",
13
+ "enum": [768, 1536, 3072]
14
+ },
15
+ "chunkTokens": {
16
+ "type": "number",
17
+ "minimum": 256,
18
+ "maximum": 8192
19
+ },
20
+ "chunkOverlap": {
21
+ "type": "number",
22
+ "minimum": 0,
23
+ "maximum": 0.5
24
+ },
25
+ "reranking": {
26
+ "type": "boolean"
27
+ },
28
+ "timeDecay": {
29
+ "type": "object"
30
+ },
31
+ "maxSessionShare": {
32
+ "type": "number",
33
+ "minimum": 0,
34
+ "maximum": 1
35
+ },
36
+ "multimodal": {
37
+ "type": "object",
38
+ "additionalProperties": false,
39
+ "properties": {
40
+ "enabled": {
41
+ "type": "boolean"
42
+ },
43
+ "modalities": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "string",
47
+ "enum": ["image", "audio"]
48
+ }
49
+ },
50
+ "maxFileBytes": {
51
+ "type": "number",
52
+ "minimum": 1
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@spark-agents/engram",
3
+ "version": "0.1.0",
4
+ "description": "Multimodal memory for OpenClaw agents — powered by Gemini Embedding-2. Hybrid search (BM25 + vectors), cross-encoder reranking, image/audio/PDF memory.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/Spark-Agents-Workforce/engram.git"
8
+ },
9
+ "license": "MIT",
10
+ "type": "module",
11
+ "main": "dist/index.js",
12
+ "types": "dist/index.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ }
18
+ },
19
+ "files": ["dist", "openclaw.plugin.json"],
20
+ "keywords": ["openclaw", "plugin", "memory", "gemini", "multimodal", "ai-agent", "hybrid-search"],
21
+ "scripts": {
22
+ "build": "tsc",
23
+ "prepublishOnly": "npm run build",
24
+ "test": "vitest run",
25
+ "lint": "tsc --noEmit"
26
+ },
27
+ "dependencies": {
28
+ "@xenova/transformers": "^2.17.2",
29
+ "better-sqlite3": "^12.8.0",
30
+ "chokidar": "^4.0.3",
31
+ "sqlite-vec": "^0.1.7-alpha.10"
32
+ },
33
+ "devDependencies": {
34
+ "@types/better-sqlite3": "^7.6.13",
35
+ "@types/node": "^22.0.0",
36
+ "typescript": "^5.7.0",
37
+ "vitest": "^3.0.0"
38
+ }
39
+ }