@agenr/openclaw-plugin 0.14.1 → 1.2.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.
- package/README.md +6 -314
- package/dist/index.js +4830 -35551
- package/openclaw.plugin.json +20 -172
- package/package.json +16 -27
- package/CHANGELOG.md +0 -2641
- package/dist/index.d.ts +0 -338
- package/skills/SKILL.md +0 -77
package/openclaw.plugin.json
CHANGED
|
@@ -1,185 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "agenr",
|
|
3
|
-
"name": "agenr
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
"name": "agenr",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"description": "agenr memory plugin for OpenClaw",
|
|
6
|
+
"kind": "memory",
|
|
7
|
+
"contracts": {
|
|
8
|
+
"tools": ["agenr_store", "agenr_recall", "agenr_retire", "agenr_update", "agenr_trace"]
|
|
9
|
+
},
|
|
10
|
+
"uiHints": {
|
|
11
|
+
"dbPath": {
|
|
12
|
+
"label": "Database path",
|
|
13
|
+
"help": "Optional override for the agenr knowledge database. Defaults to the dbPath in agenr's config.json, then ~/.agenr/knowledge.db."
|
|
14
|
+
},
|
|
15
|
+
"configPath": {
|
|
16
|
+
"label": "Config path",
|
|
17
|
+
"help": "Optional path to agenr's config.json. Defaults to AGENR_CONFIG_PATH, then config.json next to dbPath when dbPath is set, then ~/.agenr/config.json."
|
|
18
|
+
}
|
|
19
|
+
},
|
|
8
20
|
"configSchema": {
|
|
9
21
|
"type": "object",
|
|
10
22
|
"additionalProperties": false,
|
|
11
23
|
"properties": {
|
|
12
|
-
"budget": {
|
|
13
|
-
"type": "number",
|
|
14
|
-
"description": "Token budget for session-start recall. Default: 2000."
|
|
15
|
-
},
|
|
16
|
-
"sessionStartBudgetChars": {
|
|
17
|
-
"type": "number",
|
|
18
|
-
"description": "Hard cap for total injected session-start context characters. Default: 12000.",
|
|
19
|
-
"minimum": 1
|
|
20
|
-
},
|
|
21
|
-
"project": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "Project scope for recall and store. Omit for global (default)."
|
|
24
|
-
},
|
|
25
|
-
"enabled": {
|
|
26
|
-
"type": "boolean",
|
|
27
|
-
"description": "Set false to disable memory injection without uninstalling."
|
|
28
|
-
},
|
|
29
|
-
"debug": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"description": "Enable debug logging to stderr (default: false)."
|
|
32
|
-
},
|
|
33
|
-
"signalMinImportance": {
|
|
34
|
-
"type": "number",
|
|
35
|
-
"description": "Minimum importance for mid-session signals (1-10, default: 8). Raise to reduce noise."
|
|
36
|
-
},
|
|
37
|
-
"signalMaxPerSignal": {
|
|
38
|
-
"type": "number",
|
|
39
|
-
"description": "Max entries per signal notification (default: 3)."
|
|
40
|
-
},
|
|
41
|
-
"signalCooldownMs": {
|
|
42
|
-
"type": "number",
|
|
43
|
-
"description": "Minimum ms between signal batches per session (default: 30000). Set 0 to disable cooldown."
|
|
44
|
-
},
|
|
45
|
-
"signalMaxPerSession": {
|
|
46
|
-
"type": "number",
|
|
47
|
-
"description": "Max total signal batches delivered per session lifetime (default: 10). Set 0 to disable."
|
|
48
|
-
},
|
|
49
|
-
"signalMaxAgeSec": {
|
|
50
|
-
"type": "number",
|
|
51
|
-
"description": "Only surface entries created within last N seconds (default: 300). Set 0 to disable age filter."
|
|
52
|
-
},
|
|
53
|
-
"signalsEnabled": {
|
|
54
|
-
"type": "boolean",
|
|
55
|
-
"description": "Set false to disable mid-session signals without uninstalling."
|
|
56
|
-
},
|
|
57
|
-
"midSessionRecall": {
|
|
58
|
-
"type": "object",
|
|
59
|
-
"description": "Mid-session recall tuning and controls.",
|
|
60
|
-
"additionalProperties": false,
|
|
61
|
-
"properties": {
|
|
62
|
-
"enabled": {
|
|
63
|
-
"type": "boolean",
|
|
64
|
-
"description": "Set false to disable heuristic-gated mid-session recall (default: true)."
|
|
65
|
-
},
|
|
66
|
-
"normalLimit": {
|
|
67
|
-
"type": "number",
|
|
68
|
-
"description": "Max recall results for normal messages (default: 5)."
|
|
69
|
-
},
|
|
70
|
-
"complexLimit": {
|
|
71
|
-
"type": "number",
|
|
72
|
-
"description": "Max recall results for complex messages (default: 8)."
|
|
73
|
-
},
|
|
74
|
-
"querySimilarityThreshold": {
|
|
75
|
-
"type": "number",
|
|
76
|
-
"description": "Skip repeat recall when query Jaccard similarity exceeds this value (default: 0.85)."
|
|
77
|
-
},
|
|
78
|
-
"limit": {
|
|
79
|
-
"type": "number",
|
|
80
|
-
"description": "Max recall results per mid-session query (default: 8). Overrides normalLimit/complexLimit."
|
|
81
|
-
},
|
|
82
|
-
"injectMax": {
|
|
83
|
-
"type": "number",
|
|
84
|
-
"description": "Max entries to directly inject in hybrid mode (default: 2). Remaining matches generate a nudge."
|
|
85
|
-
},
|
|
86
|
-
"mode": {
|
|
87
|
-
"type": "string",
|
|
88
|
-
"enum": ["hybrid", "inject", "nudge"],
|
|
89
|
-
"description": "Mid-session recall mode: hybrid (inject top + nudge rest, default), inject (inject all, legacy), nudge (nudge only, no injection)."
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"openclawMemoryDoctrine": {
|
|
94
|
-
"type": "object",
|
|
95
|
-
"description": "Stable agenr-first doctrine injected with prependSystemContext.",
|
|
96
|
-
"additionalProperties": false,
|
|
97
|
-
"properties": {
|
|
98
|
-
"enabled": {
|
|
99
|
-
"type": "boolean",
|
|
100
|
-
"description": "Set false to disable stable doctrine injection while preserving dynamic prependContext memory injection."
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
24
|
"dbPath": {
|
|
105
25
|
"type": "string",
|
|
106
|
-
"
|
|
26
|
+
"minLength": 1
|
|
107
27
|
},
|
|
108
|
-
"
|
|
28
|
+
"configPath": {
|
|
109
29
|
"type": "string",
|
|
110
|
-
"
|
|
111
|
-
},
|
|
112
|
-
"handoff": {
|
|
113
|
-
"type": "object",
|
|
114
|
-
"description": "Handoff summarizer options.",
|
|
115
|
-
"additionalProperties": false,
|
|
116
|
-
"properties": {
|
|
117
|
-
"includeBackground": {
|
|
118
|
-
"type": "boolean",
|
|
119
|
-
"description": "Include prior session as background context in handoff summary (default: false)."
|
|
120
|
-
},
|
|
121
|
-
"logEnabled": {
|
|
122
|
-
"type": "boolean",
|
|
123
|
-
"description": "Enable writing handoff LLM request/response logs to logDir (default: false)."
|
|
124
|
-
},
|
|
125
|
-
"logDir": {
|
|
126
|
-
"type": "string",
|
|
127
|
-
"description": "Directory to write handoff LLM request/response logs for debugging. Requires logEnabled: true."
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"storeNudge": {
|
|
132
|
-
"type": "object",
|
|
133
|
-
"description": "Store nudge configuration.",
|
|
134
|
-
"properties": {
|
|
135
|
-
"enabled": {
|
|
136
|
-
"type": "boolean",
|
|
137
|
-
"description": "Set false to disable store nudging (default: true)."
|
|
138
|
-
},
|
|
139
|
-
"threshold": {
|
|
140
|
-
"type": "number",
|
|
141
|
-
"description": "Turns without agenr_store before nudging (default: 8)."
|
|
142
|
-
},
|
|
143
|
-
"maxPerSession": {
|
|
144
|
-
"type": "number",
|
|
145
|
-
"description": "Max nudges per session (default: 5)."
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"additionalProperties": false
|
|
149
|
-
},
|
|
150
|
-
"coreProjects": {
|
|
151
|
-
"type": "array",
|
|
152
|
-
"items": {
|
|
153
|
-
"type": "string"
|
|
154
|
-
},
|
|
155
|
-
"description": "Project names whose core entries are always injected at session start. Empty list or omit to skip core injection."
|
|
156
|
-
},
|
|
157
|
-
"sessionStartSectionCaps": {
|
|
158
|
-
"type": "object",
|
|
159
|
-
"description": "Per-section caps for session-start memory injection. Set a section to 0 to disable it. Defaults: core=6, active=4, preferences=4, recent=2.",
|
|
160
|
-
"additionalProperties": false,
|
|
161
|
-
"properties": {
|
|
162
|
-
"core": {
|
|
163
|
-
"type": "number",
|
|
164
|
-
"description": "Max core entries injected at session start (default: 6).",
|
|
165
|
-
"minimum": 0
|
|
166
|
-
},
|
|
167
|
-
"active": {
|
|
168
|
-
"type": "number",
|
|
169
|
-
"description": "Max active todo entries injected at session start (default: 4).",
|
|
170
|
-
"minimum": 0
|
|
171
|
-
},
|
|
172
|
-
"preferences": {
|
|
173
|
-
"type": "number",
|
|
174
|
-
"description": "Max preference/decision entries injected at session start (default: 4).",
|
|
175
|
-
"minimum": 0
|
|
176
|
-
},
|
|
177
|
-
"recent": {
|
|
178
|
-
"type": "number",
|
|
179
|
-
"description": "Max recent state/continuity entries injected at session start (default: 2).",
|
|
180
|
-
"minimum": 0
|
|
181
|
-
}
|
|
182
|
-
}
|
|
30
|
+
"minLength": 1
|
|
183
31
|
}
|
|
184
32
|
}
|
|
185
33
|
}
|
package/package.json
CHANGED
|
@@ -1,42 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenr/openclaw-plugin",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "agenr memory plugin for OpenClaw
|
|
5
|
-
"license": "AGPL-3.0",
|
|
6
|
-
"author": "agenr-ai",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/agenr-ai/agenr.git"
|
|
10
|
-
},
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "agenr memory plugin for OpenClaw",
|
|
11
5
|
"type": "module",
|
|
12
6
|
"exports": {
|
|
13
|
-
".":
|
|
14
|
-
"import": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
16
|
-
}
|
|
7
|
+
".": "./dist/index.js"
|
|
17
8
|
},
|
|
18
9
|
"files": [
|
|
19
10
|
"dist",
|
|
20
|
-
"skills",
|
|
21
11
|
"openclaw.plugin.json",
|
|
22
|
-
"CHANGELOG.md",
|
|
23
|
-
"LICENSE",
|
|
24
12
|
"README.md"
|
|
25
13
|
],
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@libsql/client": "^0.17.2",
|
|
28
|
-
"@mariozechner/pi-ai": "^0.62.0",
|
|
29
|
-
"@sinclair/typebox": "^0.34.48"
|
|
30
|
-
},
|
|
31
14
|
"openclaw": {
|
|
32
15
|
"extensions": [
|
|
33
16
|
"./dist/index.js"
|
|
34
17
|
]
|
|
35
18
|
},
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"openclaw"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@libsql/client": "^0.17.2",
|
|
21
|
+
"openclaw": "^2026.3.24"
|
|
22
|
+
},
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=24"
|
|
25
|
+
},
|
|
26
|
+
"license": "AGPL-3.0",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsup --config tsup.config.ts",
|
|
29
|
+
"build:debug": "tsup --config tsup.config.ts --sourcemap"
|
|
30
|
+
}
|
|
31
|
+
}
|