@agenr/openclaw-plugin 0.13.0 → 0.13.2
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/CHANGELOG.md +56 -0
- package/README.md +10 -10
- package/dist/index.js +23436 -21526
- package/package.json +4 -5
- package/skills/skills/SKILL.md +0 -77
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenr/openclaw-plugin",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "agenr memory plugin for OpenClaw — lightweight plugin-only package without the CLI",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"author": "agenr-ai",
|
|
@@ -25,9 +25,8 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@libsql/client": "^0.17.2",
|
|
28
|
-
"@mariozechner/pi-ai": "^0.
|
|
29
|
-
"@sinclair/typebox": "^0.34.48"
|
|
30
|
-
"agenr": "0.13.0"
|
|
28
|
+
"@mariozechner/pi-ai": "^0.62.0",
|
|
29
|
+
"@sinclair/typebox": "^0.34.48"
|
|
31
30
|
},
|
|
32
31
|
"openclaw": {
|
|
33
32
|
"extensions": [
|
|
@@ -40,4 +39,4 @@
|
|
|
40
39
|
"memory",
|
|
41
40
|
"plugin"
|
|
42
41
|
]
|
|
43
|
-
}
|
|
42
|
+
}
|
package/skills/skills/SKILL.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: agenr
|
|
3
|
-
description: Use when storing new knowledge (decisions, preferences, lessons, todos) or recalling context mid-session. The agenr plugin auto-injects memory at session start - this skill covers proactive store and on-demand recall.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## agenr_store
|
|
7
|
-
|
|
8
|
-
Use proactively for durable knowledge - decisions, preferences, lessons, and facts that future sessions need to make better decisions.
|
|
9
|
-
|
|
10
|
-
**The future-session test:** Before storing, ask: "If I woke up in a fresh session and recalled this, would it change how I act?" If the answer is just "it tells me something that already happened and is done" - do not store it.
|
|
11
|
-
|
|
12
|
-
**Store:**
|
|
13
|
-
- Architecture decisions and design rationale
|
|
14
|
-
- Workflow constraints and operational rules
|
|
15
|
-
- Lessons learned from problems (recurring bugs, what worked, what did not)
|
|
16
|
-
- User preferences and working-style observations
|
|
17
|
-
- Durable facts about systems, environments, people, projects
|
|
18
|
-
- Important open risks or unresolved hazards
|
|
19
|
-
|
|
20
|
-
**Do not store:**
|
|
21
|
-
- Version or release shipping events ("v1.2.3 shipped") - changelogs are the system of record
|
|
22
|
-
- Issue or PR filing records ("filed #123, #124") - the issue tracker is the system of record
|
|
23
|
-
- Phase plans or release packaging decisions - transient coordination artifacts, stale within a session
|
|
24
|
-
- Progress snapshots ("3 of 5 tasks done") - stale within minutes
|
|
25
|
-
- Prompt file paths or internal build logistics - look-up-able, not memory-worthy
|
|
26
|
-
- Anything whose only value is duplicating files, the issue tracker, or git history
|
|
27
|
-
|
|
28
|
-
Do not ask before storing - but do ask whether future-you needs it.
|
|
29
|
-
|
|
30
|
-
Required: `type`, `content`, `importance`.
|
|
31
|
-
Optional: `subject` (short label), `tags` (array), `scope` (`private`|`personal`|`public`), `project`, `platform`, `source`.
|
|
32
|
-
|
|
33
|
-
Types: `fact | decision | preference | todo | lesson | event | relationship`
|
|
34
|
-
Do not store secrets/credentials, temporary state, or verbatim conversation.
|
|
35
|
-
|
|
36
|
-
### Importance calibration
|
|
37
|
-
|
|
38
|
-
- **10**: Once-per-project permanent constraints. At most 1-2 per project lifetime.
|
|
39
|
-
- **9**: Critical breaking changes or immediate cross-session decisions. At most 1 per significant session, often 0.
|
|
40
|
-
- **8**: Things an active parallel session would act on right now. Fires a cross-session signal. Use conservatively.
|
|
41
|
-
- **7**: Default. Project facts, decisions, preferences, milestones. No signal fired.
|
|
42
|
-
- **6**: Routine dev observations (verified X, tests passing). Cap here unless the result is surprising.
|
|
43
|
-
- **5**: Borderline. Only store if clearly durable beyond today.
|
|
44
|
-
- **Importance is not recency.** Something that just happened is not automatically important. A shipping event is importance 5-6 at best unless it teaches a lesson. A recurring operational hazard is importance 7-8 because it affects future decisions.
|
|
45
|
-
|
|
46
|
-
Entries at 7 are saved silently. Use 8+ only if other active sessions need to know NOW.
|
|
47
|
-
|
|
48
|
-
### Confidence-aware extraction (OpenClaw transcripts)
|
|
49
|
-
|
|
50
|
-
OpenClaw transcripts include `[user]` / `[assistant]` role labels. The extractor uses this signal:
|
|
51
|
-
- Hedged or unverified assistant factual claims are tagged `unverified` and hard-capped at importance 5.
|
|
52
|
-
- Tool-verified assistant claims follow normal importance rules.
|
|
53
|
-
- User messages are never capped.
|
|
54
|
-
|
|
55
|
-
This means: if you say something unverified, it will be stored at max importance 5. To store a fact at higher importance, verify it with a tool call first.
|
|
56
|
-
|
|
57
|
-
## agenr_recall
|
|
58
|
-
|
|
59
|
-
Use mid-session when you need context you don't already have. Session-start recall is handled automatically - do not call at turn 1 unless you need extra context beyond the injected summary.
|
|
60
|
-
|
|
61
|
-
Parameters:
|
|
62
|
-
- `query` (required): semantic search string
|
|
63
|
-
- `limit`: max results (default 10)
|
|
64
|
-
- `context`: `"default"` (semantic+vector) or `"session-start"` (fast bootstrap)
|
|
65
|
-
- `since`: lower date bound - only entries newer than this (ISO or relative, e.g. `"7d"`, `"2026-01-01"`)
|
|
66
|
-
- `until`: upper date bound - only entries older than this ceiling (e.g. `"7d"` = entries created before 7 days ago). Use with `since` for a date window.
|
|
67
|
-
- `types`: comma-separated entry types (`fact,decision,preference,todo,lesson,event`)
|
|
68
|
-
- `platform`: filter by platform (`openclaw`, `claude-code`, `codex`)
|
|
69
|
-
- `project`: filter by project scope (pass `*` for all projects)
|
|
70
|
-
|
|
71
|
-
## agenr_retire
|
|
72
|
-
|
|
73
|
-
Soft-deletes an entry. Use when something is outdated, wrong, or superseded. Pass `entry_id` (from recall results) and optionally `reason` and `persist: true` to write to the retirements ledger.
|
|
74
|
-
|
|
75
|
-
## agenr_extract
|
|
76
|
-
|
|
77
|
-
Extracts structured knowledge entries from raw text without storing them. Useful for previewing what would be stored from a block of text before committing.
|