@agenr/agenr-plugin 1.6.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,86 @@
1
+ {
2
+ "id": "agenr",
3
+ "name": "agenr",
4
+ "version": "1.6.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
+ "continuityModel": {
20
+ "label": "Continuity summary model",
21
+ "help": "Optional model override for continuity summary generation (provider/model format). Falls back to the agent's primary model when unset."
22
+ },
23
+ "episodeModel": {
24
+ "label": "Episode summary model",
25
+ "help": "Optional model override for episode summary generation (provider/model format). Falls back to the agent's primary model when unset."
26
+ },
27
+ "claimExtractionModel": {
28
+ "label": "Claim extraction model",
29
+ "help": "Model used for claim-key extraction when storing entries. Uses OpenClaw's configured auth. Format: provider/model (for example, openai/gpt-5.4-nano). Defaults to the agent's primary model."
30
+ },
31
+ "storeNudge": {
32
+ "label": "Store nudge",
33
+ "help": "Optional mid-session reminder settings for prompting durable memory storage after several turns of memory silence."
34
+ }
35
+ },
36
+ "configSchema": {
37
+ "type": "object",
38
+ "additionalProperties": false,
39
+ "properties": {
40
+ "dbPath": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ },
44
+ "configPath": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ },
48
+ "continuityModel": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "description": "Model override for continuity summary generation (e.g. 'openai/gpt-5.4-mini'). Falls back to the agent's primary model."
52
+ },
53
+ "episodeModel": {
54
+ "type": "string",
55
+ "minLength": 1,
56
+ "description": "Model override for episode summary generation (e.g. 'openai/gpt-5.4-mini'). Falls back to the agent's primary model."
57
+ },
58
+ "claimExtractionModel": {
59
+ "type": "string",
60
+ "minLength": 1,
61
+ "description": "Model override for claim-key extraction at store time (e.g. 'openai/gpt-5.4-mini'). Uses OpenClaw auth and falls back to the agent's primary model."
62
+ },
63
+ "storeNudge": {
64
+ "type": "object",
65
+ "additionalProperties": false,
66
+ "description": "Optional mid-session reminder settings for prompting durable memory storage after several turns without memory activity.",
67
+ "properties": {
68
+ "enabled": {
69
+ "type": "boolean",
70
+ "description": "Enable or disable mid-session store nudges. Defaults to true."
71
+ },
72
+ "threshold": {
73
+ "type": "integer",
74
+ "minimum": 1,
75
+ "description": "Turns without durable memory activity before prompting the agent to review recent conversation. Defaults to 8."
76
+ },
77
+ "maxPerSession": {
78
+ "type": "integer",
79
+ "minimum": 1,
80
+ "description": "Maximum nudges injected during one session lifetime. Defaults to 5."
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@agenr/agenr-plugin",
3
+ "version": "1.6.0",
4
+ "description": "agenr memory plugin for OpenClaw",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "openclaw.plugin.json",
12
+ "README.md"
13
+ ],
14
+ "openclaw": {
15
+ "extensions": [
16
+ "./dist/index.js"
17
+ ]
18
+ },
19
+ "scripts": {
20
+ "build": "tsup --config tsup.config.ts",
21
+ "build:debug": "tsup --config tsup.config.ts --sourcemap"
22
+ },
23
+ "dependencies": {
24
+ "@libsql/client": "^0.17.2",
25
+ "openclaw": "^2026.3.24"
26
+ },
27
+ "engines": {
28
+ "node": ">=24"
29
+ },
30
+ "license": "AGPL-3.0"
31
+ }