agenr 0.5.4 → 0.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.
- package/CHANGELOG.md +19 -11
- package/README.md +2 -0
- package/dist/cli-main.d.ts +9 -0
- package/dist/cli-main.js +4953 -3184
- package/package.json +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.6.0] - 2026-02-18
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
|
-
- feat(
|
|
7
|
-
- feat(
|
|
8
|
-
- feat(
|
|
6
|
+
- feat(consolidate): forgettingScore, protected subject patterns, and active forgetting pass with `--forget` deletion gate
|
|
7
|
+
- feat(config): `forgetting.protect` never-forget registry plus `scoreThreshold`/`maxAgeDays`/`enabled` config defaults
|
|
8
|
+
- feat(health): new `agenr health` command with read-only DB health and forgetting candidate summaries
|
|
9
|
+
- feat(consolidate): `--report` pre-run consolidation stats mode (and report-only behavior with `--dry-run`)
|
|
10
|
+
- feat(watch): `context-mini.md` and `context-hot.md` context variants on watch context refresh
|
|
11
|
+
- feat(schema): retired, retired_at, retired_reason, suppressed_contexts columns
|
|
12
|
+
- feat(recall): session-start context filtering respects suppressed_contexts
|
|
13
|
+
- feat(db): retirements.json ledger for durable retirement across re-ingest
|
|
14
|
+
- feat(mcp): entry IDs in agenr_recall output
|
|
15
|
+
- feat(mcp): agenr_retire tool - retire any entry type by ID
|
|
16
|
+
- feat(cli): agenr retire command with dry-run, persist, contains flags
|
|
9
17
|
|
|
10
18
|
### Fixed
|
|
11
|
-
- fix(
|
|
19
|
+
- fix(health): initialize schema before health queries and support `--db` path override
|
|
20
|
+
- fix(health): reduce scan memory usage by omitting `content` from health stats query
|
|
21
|
+
- fix(consolidate): batch forgetting deletes, reuse assessed candidates, and avoid synchronous full `VACUUM`
|
|
22
|
+
- fix(watch): use real recall score breakdown in generated context variants
|
|
23
|
+
|
|
24
|
+
### Removed
|
|
25
|
+
- agenr_done MCP tool removed (breaking change) -- use agenr_retire instead. agenr_retire accepts an entry ID from agenr_recall output and works on all entry types, not just todos.
|
|
12
26
|
|
|
13
27
|
## [0.5.3] - 2026-02-18
|
|
14
28
|
|
|
@@ -49,12 +63,6 @@
|
|
|
49
63
|
- Watch ingestion now advances `byteOffset` by bytes actually read in each cycle, preventing duplicate processing when files grow during read.
|
|
50
64
|
- Watch state saves are now atomic (temp file + rename), preventing partial-write corruption on process crashes.
|
|
51
65
|
|
|
52
|
-
## 0.6.0 (2026-02-18)
|
|
53
|
-
|
|
54
|
-
### Added
|
|
55
|
-
- feat(extractor): explicit "remember this/that" intent detection, importance >= 7
|
|
56
|
-
- feat(watch): session label -> project mapping via `config.labelProjectMap`
|
|
57
|
-
|
|
58
66
|
## 0.5.0 (2026-02-17)
|
|
59
67
|
|
|
60
68
|
### Added
|
package/README.md
CHANGED
package/dist/cli-main.d.ts
CHANGED
|
@@ -20,6 +20,13 @@ interface AgenrConfig {
|
|
|
20
20
|
auth?: AgenrAuthMethod;
|
|
21
21
|
provider?: AgenrProvider;
|
|
22
22
|
model?: string;
|
|
23
|
+
labelProjectMap?: Record<string, string>;
|
|
24
|
+
forgetting?: {
|
|
25
|
+
protect?: string[];
|
|
26
|
+
scoreThreshold?: number;
|
|
27
|
+
maxAgeDays?: number;
|
|
28
|
+
enabled?: boolean;
|
|
29
|
+
};
|
|
23
30
|
credentials?: AgenrStoredCredentials;
|
|
24
31
|
embedding?: {
|
|
25
32
|
provider?: "openai";
|
|
@@ -36,6 +43,7 @@ interface KnowledgeEntry {
|
|
|
36
43
|
content: string;
|
|
37
44
|
subject: string;
|
|
38
45
|
canonical_key?: string;
|
|
46
|
+
suppressedContexts?: string[];
|
|
39
47
|
platform?: KnowledgePlatform;
|
|
40
48
|
project?: string;
|
|
41
49
|
importance: number;
|
|
@@ -104,6 +112,7 @@ interface ParsedTranscript {
|
|
|
104
112
|
startedAt?: string;
|
|
105
113
|
model?: string;
|
|
106
114
|
cwd?: string;
|
|
115
|
+
sessionLabel?: string;
|
|
107
116
|
};
|
|
108
117
|
}
|
|
109
118
|
interface ResolvedModel {
|