@fathippo/fathippo-context-engine 0.1.1
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/README.md +76 -0
- package/dist/api/client.d.ts +75 -0
- package/dist/api/client.d.ts.map +1 -0
- package/dist/api/client.js +176 -0
- package/dist/api/client.js.map +1 -0
- package/dist/cognitive/sanitize.d.ts +3 -0
- package/dist/cognitive/sanitize.d.ts.map +1 -0
- package/dist/cognitive/sanitize.js +17 -0
- package/dist/cognitive/sanitize.js.map +1 -0
- package/dist/cognitive/trace-capture.d.ts +51 -0
- package/dist/cognitive/trace-capture.d.ts.map +1 -0
- package/dist/cognitive/trace-capture.js +659 -0
- package/dist/cognitive/trace-capture.js.map +1 -0
- package/dist/engine.d.ts +147 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +1092 -0
- package/dist/engine.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +54 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +103 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/dist/utils/filtering.d.ts +24 -0
- package/dist/utils/filtering.d.ts.map +1 -0
- package/dist/utils/filtering.js +95 -0
- package/dist/utils/filtering.js.map +1 -0
- package/dist/utils/formatting.d.ts +21 -0
- package/dist/utils/formatting.d.ts.map +1 -0
- package/dist/utils/formatting.js +86 -0
- package/dist/utils/formatting.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +3 -0
- package/dist/version.js.map +1 -0
- package/openclaw.plugin.json +123 -0
- package/package.json +45 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fathippo-context-engine",
|
|
3
|
+
"name": "FatHippo Context Engine",
|
|
4
|
+
"version": "0.1.1",
|
|
5
|
+
"kind": "context-engine",
|
|
6
|
+
"description": "Persistent agent memory with hosted cognition or private local mode",
|
|
7
|
+
"configSchema": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"additionalProperties": false,
|
|
10
|
+
"properties": {
|
|
11
|
+
"mode": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Run FatHippo in auto, hosted, or local-only mode",
|
|
14
|
+
"default": "auto",
|
|
15
|
+
"enum": ["auto", "hosted", "local"]
|
|
16
|
+
},
|
|
17
|
+
"apiKey": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "FatHippo API key"
|
|
20
|
+
},
|
|
21
|
+
"baseUrl": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "FatHippo API base URL",
|
|
24
|
+
"default": "https://fathippo.ai/api"
|
|
25
|
+
},
|
|
26
|
+
"injectCritical": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "Auto-inject critical memories",
|
|
29
|
+
"default": true
|
|
30
|
+
},
|
|
31
|
+
"injectLimit": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"description": "Maximum memories to inject per turn",
|
|
34
|
+
"default": 20
|
|
35
|
+
},
|
|
36
|
+
"captureUserOnly": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Only capture user messages (avoid self-poisoning)",
|
|
39
|
+
"default": true
|
|
40
|
+
},
|
|
41
|
+
"dreamCycleOnCompact": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"description": "Run Dream Cycle during compaction instead of lossy summarization (hosted mode)",
|
|
44
|
+
"default": true
|
|
45
|
+
},
|
|
46
|
+
"cognitiveEnabled": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"description": "Enable hosted trace capture, constraints, and cognitive context",
|
|
49
|
+
"default": true
|
|
50
|
+
},
|
|
51
|
+
"cognitiveHeartbeatEnabled": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"description": "Run extraction and skill synthesis on heartbeat turns",
|
|
54
|
+
"default": true
|
|
55
|
+
},
|
|
56
|
+
"shareEligibleByDefault": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "Allow sanitized traces to contribute to shared global patterns",
|
|
59
|
+
"default": true
|
|
60
|
+
},
|
|
61
|
+
"conversationId": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Scope memories to a specific conversation/project (null = derive from session)"
|
|
64
|
+
},
|
|
65
|
+
"localProfileId": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Profile key for local-only mode memory storage"
|
|
68
|
+
},
|
|
69
|
+
"localStoragePath": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "Filesystem path for local-only mode storage"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": []
|
|
75
|
+
},
|
|
76
|
+
"uiHints": {
|
|
77
|
+
"mode": {
|
|
78
|
+
"label": "Mode"
|
|
79
|
+
},
|
|
80
|
+
"apiKey": {
|
|
81
|
+
"label": "API Key",
|
|
82
|
+
"sensitive": true,
|
|
83
|
+
"placeholder": "mem_..."
|
|
84
|
+
},
|
|
85
|
+
"baseUrl": {
|
|
86
|
+
"label": "API Base URL",
|
|
87
|
+
"advanced": true
|
|
88
|
+
},
|
|
89
|
+
"injectCritical": {
|
|
90
|
+
"label": "Inject Critical Memories"
|
|
91
|
+
},
|
|
92
|
+
"injectLimit": {
|
|
93
|
+
"label": "Injection Limit"
|
|
94
|
+
},
|
|
95
|
+
"captureUserOnly": {
|
|
96
|
+
"label": "Capture User Messages Only"
|
|
97
|
+
},
|
|
98
|
+
"dreamCycleOnCompact": {
|
|
99
|
+
"label": "Dream Cycle on Compact"
|
|
100
|
+
},
|
|
101
|
+
"cognitiveEnabled": {
|
|
102
|
+
"label": "Enable Cognitive Loop"
|
|
103
|
+
},
|
|
104
|
+
"cognitiveHeartbeatEnabled": {
|
|
105
|
+
"label": "Heartbeat Extraction"
|
|
106
|
+
},
|
|
107
|
+
"shareEligibleByDefault": {
|
|
108
|
+
"label": "Shared Learning"
|
|
109
|
+
},
|
|
110
|
+
"conversationId": {
|
|
111
|
+
"label": "Conversation ID",
|
|
112
|
+
"advanced": true
|
|
113
|
+
},
|
|
114
|
+
"localProfileId": {
|
|
115
|
+
"label": "Local Profile ID",
|
|
116
|
+
"advanced": true
|
|
117
|
+
},
|
|
118
|
+
"localStoragePath": {
|
|
119
|
+
"label": "Local Storage Path",
|
|
120
|
+
"advanced": true
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fathippo/fathippo-context-engine",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"openclaw": {
|
|
5
|
+
"extensions": ["./dist/index.js"]
|
|
6
|
+
},
|
|
7
|
+
"description": "FatHippo context engine for OpenClaw - encrypted agent memory",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"openclaw.plugin.json"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"prebuild": "npm --prefix ../local run build",
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"dev": "tsc --watch",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"openclaw",
|
|
23
|
+
"fathippo",
|
|
24
|
+
"memory",
|
|
25
|
+
"context-engine",
|
|
26
|
+
"ai-agent"
|
|
27
|
+
],
|
|
28
|
+
"author": "FatHippo",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/jscianna/fathippo.git",
|
|
33
|
+
"directory": "packages/context-engine"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"openclaw": ">=2026.3.7"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@fathippo/local": "^0.1.0"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"typescript": "^5.9.0",
|
|
43
|
+
"@types/node": "^22.0.0"
|
|
44
|
+
}
|
|
45
|
+
}
|