@agenr/openclaw-plugin 0.12.0 → 0.12.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 +42 -0
- package/README.md +2 -2
- package/dist/index.js +9346 -8377
- package/package.json +3 -3
- package/skills/SKILL.md +22 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.2] - 2026-03-22
|
|
4
|
+
|
|
5
|
+
### Recall Scoping Fixes
|
|
6
|
+
|
|
7
|
+
- **Wildcard project passthrough.** `project: "*"` no longer gets silently dropped to `undefined` during recall request building. The wildcard marker now flows through the full stack to `hasWildcardProjectOverride` in `prepareRecallInputs`, enabling true cross-project recall.
|
|
8
|
+
- **Default project fallback for unscoped recall.** When an agent calls `agenr_recall` without an explicit `project`, the session's default project is now used as a `universal_first` hint — searching the default project first with null-project fallback. Previously, unscoped recall defaulted to null-project-only entries, silently returning near-empty results for project-heavy corpora.
|
|
9
|
+
- **Wildcard default when no project context.** When neither an explicit project nor a session default is available, unscoped recall now defaults to wildcard (`*`) cross-project search instead of null-project-only.
|
|
10
|
+
|
|
11
|
+
### Browse Recall
|
|
12
|
+
|
|
13
|
+
- **Temporal proximity rebalancing.** Browse mode recall now prioritizes temporal proximity over importance with a diversity pass, better surfacing recent entries during temporal exploration.
|
|
14
|
+
- **Removed default 1d since window.** Browse mode no longer applies a default 1-day `since` window, allowing full temporal exploration of the corpus.
|
|
15
|
+
|
|
16
|
+
### Update & Retire Improvements
|
|
17
|
+
|
|
18
|
+
- **Expiry changes via `agenr_update`.** The update tool now supports changing an entry's expiry tier (`core` → `permanent`, etc.) without retiring and re-creating it. Entry history (confirmations, recall count, created_at) is preserved.
|
|
19
|
+
- **Subject selectors for update and retire.** Both `agenr_update` and `agenr_retire` now accept `subject` as an alternative to `entry_id`. Subject matching is case-insensitive exact match; when multiple entries share a subject, the most recent is targeted.
|
|
20
|
+
- **Agent action replay.** Retire and update operations now support recall target hints for agent action replay workflows.
|
|
21
|
+
|
|
22
|
+
### Maintenance
|
|
23
|
+
|
|
24
|
+
- **Vector integrity detection.** New `vector-integrity` maintain task detects and repairs drift between the vector shadow table and the entries table.
|
|
25
|
+
|
|
26
|
+
## [0.12.1] - 2026-03-21
|
|
27
|
+
|
|
28
|
+
### Post-Ingest Quality Fixes
|
|
29
|
+
|
|
30
|
+
- **Active-only FTS index.** FTS triggers and rebuild helpers now scope to active entries only (`retired = 0, superseded_by IS NULL`). Retired entries no longer occupy FTS slots or get reindexed during maintenance.
|
|
31
|
+
- **Active-only vector index.** The `idx_entries_embedding_shadow` partial index now excludes retired entries. Vector `top_k` queries no longer waste slots on retired embeddings that get post-filtered. Rebuild and health-check paths updated to match.
|
|
32
|
+
- **Schema regression test.** Fresh `init`/`reset` must create active-only trigger and index definitions — validated by new schema test.
|
|
33
|
+
|
|
34
|
+
### Passthrough Dedup Fix
|
|
35
|
+
|
|
36
|
+
- **Normalized content hash dedup.** Passthrough now checks active `norm_content_hash` before insert, catching exact duplicates that survived because the previous `contentHash` included `source.file`. Identical content from different tool calls is now correctly deduplicated.
|
|
37
|
+
- **Within-batch norm-hash tracking.** Local batch dedup tracks both `contentHash` and `normContentHash`, preventing same-batch duplicates with different synthetic source files.
|
|
38
|
+
- **Granular skip tracking.** `stats.skipped` now counts by skipped candidates rather than matched set size.
|
|
39
|
+
|
|
40
|
+
### Store Guidance
|
|
41
|
+
|
|
42
|
+
- **Future-session test.** Updated `agenr_store` tool description, Memory Doctrine (`system-context.ts`), and SKILL.md with concrete store/don't-store guidance. Agents are now instructed to apply the "future-session test" before storing: will a fresh session need this to act differently, or is this just logging what happened?
|
|
43
|
+
- **Importance calibration.** Added "importance is not recency" guidance — shipping events are 5-6, recurring operational hazards are 7-8.
|
|
44
|
+
|
|
3
45
|
## [0.12.0] - 2026-03-20
|
|
4
46
|
|
|
5
47
|
### Ingestion Overhaul
|
package/README.md
CHANGED
|
@@ -162,7 +162,7 @@ agenr recall "package manager"
|
|
|
162
162
|
tags: tooling, package-manager
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
Recall supports date range queries (`--since 14d --until 7d`), temporal browse mode (`--browse --since 1d`), and around-date targeting (`--around 2026-02-15 --around-radius 14`) to rank entries by distance from a specific date.
|
|
165
|
+
Recall supports date range queries (`--since 14d --until 7d`), temporal browse mode (`--browse --since 1d`), and around-date targeting (`--around 2026-02-15 --around-radius 14`) to rank entries primarily by distance from a specific date with importance used as a secondary tiebreaker.
|
|
166
166
|
|
|
167
167
|
### Cross-session Handoff
|
|
168
168
|
|
|
@@ -257,7 +257,7 @@ This exposes four MCP tools: `agenr_recall`, `agenr_extract`, `agenr_retire`, an
|
|
|
257
257
|
| `agenr store [files...]` | Store entries with semantic dedup |
|
|
258
258
|
| `agenr recall [query]` | Semantic + memory-aware recall. Use `--since`/`--until` for date ranges, `--around` for target-date ranking, `--browse` for temporal mode. |
|
|
259
259
|
| `agenr retire [subject]` | Retire a stale entry (hidden, not deleted). Match by subject or `--id`. |
|
|
260
|
-
| `agenr update --id <id> --importance <n
|
|
260
|
+
| `agenr update --id <id> [--importance <n>] [--expiry <level>]` | Update mutable entry metadata in place. Supports importance and expiry; pass at least one. |
|
|
261
261
|
| `agenr watch [file]` | Live-watch files/directories, auto-extract knowledge |
|
|
262
262
|
| `agenr watcher install` | Install background watch daemon (macOS launchd) |
|
|
263
263
|
| `agenr watcher status` | Show daemon status (running/stopped, pid, watched file, recent logs) |
|