agenr 1.6.0 → 1.8.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 +88 -0
- package/README.md +5 -2
- package/dist/adapters/openclaw/index.d.ts +32 -0
- package/dist/adapters/openclaw/index.js +3375 -0
- package/dist/chunk-6CEKKEFZ.js +4954 -0
- package/dist/chunk-ETQPUJGS.js +0 -0
- package/dist/chunk-GUDCFFRV.js +1517 -0
- package/dist/chunk-LVDQXSHP.js +5122 -0
- package/dist/cli.js +11717 -7771
- package/dist/core/recall/index.d.ts +51 -136
- package/dist/core/recall/index.js +2 -1
- package/dist/internal-recall-eval-server.js +622 -161
- package/dist/ports-D2NOK2gR.d.ts +256 -0
- package/package.json +3 -2
- package/dist/chunk-6SJBRIGC.js +0 -2376
- package/dist/chunk-EUPZHNOY.js +0 -645
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
## [1.8.0] - 2026-04-11
|
|
6
|
+
|
|
7
|
+
Claim-centric trust loop close-out release.
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **Roadmap close-out hardening.** Added a narrow OpenClaw `memoryPolicy.slotPolicies.attributeHeads` seam for claim-aware read overrides, expanded operator trace surfaces with structured CLI JSON output and broader claim-transition explanations, hardened lexical recall for non-ASCII queries, and aligned docs plus a dedicated `pnpm typecheck:tests` guardrail with the delivered roadmap state.
|
|
12
|
+
- **Still intentionally deferred.** Agenr still does not ship a standalone `agenr store` CLI, a full provenance graph, or the broader external eval/reporting work owned by `agenr-evals`.
|
|
13
|
+
|
|
14
|
+
## [1.7.4] - 2026-04-04
|
|
15
|
+
|
|
16
|
+
OpenClaw plugin complete-chunk fix release.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **Plugin package chunk completeness.** The OpenClaw plugin package now ships the full set of root-build chunk files alongside `dist/index.js`, eliminating broken runtime imports caused by missing chunk files in the published tarball.
|
|
21
|
+
|
|
22
|
+
## [1.7.3] - 2026-04-04
|
|
23
|
+
|
|
24
|
+
OpenClaw plugin packaging consistency fix release.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **Plugin package artifact consistency.** Rebuilt the OpenClaw plugin package directly from the current root adapter build so the published `dist/index.js` and shipped chunk files stay in sync. This fixes the broken 1.7.2 tarball that referenced chunk files not actually included in the published package.
|
|
29
|
+
|
|
30
|
+
## [1.7.2] - 2026-04-04
|
|
31
|
+
|
|
32
|
+
OpenClaw plugin package runtime fix release.
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- **Plugin dist chunk layout.** The OpenClaw plugin package now rewrites and ships the required local chunk imports alongside `dist/index.js` so the installed plugin can resolve its runtime dependencies correctly inside OpenClaw. This fixes the broken `../../chunk-*.js` import paths introduced in 1.7.1.
|
|
37
|
+
|
|
38
|
+
## [1.7.1] - 2026-04-04
|
|
39
|
+
|
|
40
|
+
OpenClaw plugin packaging fix release.
|
|
41
|
+
|
|
42
|
+
### Fixed
|
|
43
|
+
|
|
44
|
+
- **Plugin package build layout.** The OpenClaw plugin package now imports the built root OpenClaw adapter entry instead of rebundling the entire agenr source graph into the plugin artifact. This is intended to keep the published plugin package thin and avoid install-time OpenClaw security scan blocks caused by bundled provider/runtime code patterns.
|
|
45
|
+
|
|
46
|
+
## [1.7.0] - 2026-04-04
|
|
47
|
+
|
|
48
|
+
Claim-key quality foundations, recall integration, auto-supersession, surgeon quality passes, and OpenClaw plugin publishing polish.
|
|
49
|
+
|
|
50
|
+
### Added
|
|
51
|
+
|
|
52
|
+
- **Claim-key Phase 2a foundation.** Shared normalization/validation pipeline for claim keys, stronger post-extraction validation, and explicit claim-key preservation work for re-ingest flows.
|
|
53
|
+
- **Claim-key Phase 2b extraction quality.** Improved extraction quality with better prompting/hints and related quality tuning for missing-key backfill.
|
|
54
|
+
- **Claim-key Phase 2c recall integration.** Recall lineage expansion now uses claim keys as a structural signal.
|
|
55
|
+
- **Claim-key Phase 2d store-time auto-supersession.** New entries can auto-link to prior siblings on the same claim key under safety gates.
|
|
56
|
+
- **Claim-key Phase 2e surgeon quality pass.** New surgeon claim-key quality pass with missing-key backfill, supported promotion lanes, compaction, grounded-family promotion, stable-slot promotion refinement, and entity-family convergence scaffolding.
|
|
57
|
+
- **Shadow-mode sibling-slot-resonance instrumentation.** Deterministic diagnostic instrumentation for threshold-only supported cohorts, persisted in surgeon run details and summaries without changing live auto-apply behavior.
|
|
58
|
+
|
|
59
|
+
### Changed
|
|
60
|
+
|
|
61
|
+
- **Claim-key quality promotion policy.** Rebalanced supported promotion, compact canonicalization, grounded backfill behavior, and grounded-family/stable-slot promotion rules to surface stronger candidates while preserving unresolved boundaries.
|
|
62
|
+
- **Surgeon progress/liveness reporting.** Improved preview concurrency and progress reporting during claim-key-quality runs.
|
|
63
|
+
- **Planning and review docs.** Added and updated internal plan/review docs covering claim-key quality sequencing, grounded-family promotion analysis, threshold-only cohort audit, and shadow-mode follow-up.
|
|
64
|
+
|
|
65
|
+
### Validation
|
|
66
|
+
|
|
67
|
+
Changes since last push to `origin/master`:
|
|
68
|
+
|
|
69
|
+
- feat: add historical-state recall routing
|
|
70
|
+
- Add unified recall path to recall eval seam
|
|
71
|
+
- feat: make historical recall lineage-aware
|
|
72
|
+
- fix: phase 2a claim key foundation
|
|
73
|
+
- feat: improve claim-key extraction quality
|
|
74
|
+
- fix: tighten agenr_store durable memory guidance
|
|
75
|
+
- feat: use claim keys in recall lineage expansion
|
|
76
|
+
- feat: add store-time claim-key auto-supersession
|
|
77
|
+
- feat: add surgeon claim-key quality pass
|
|
78
|
+
- Improve surgeon liveness progress reporting
|
|
79
|
+
- Improve claim-key-quality preview concurrency
|
|
80
|
+
- fix: tune claim-key-quality missing-key backfill
|
|
81
|
+
- fix: improve grounded claim-key backfill quality
|
|
82
|
+
- fix: promote supported claim-key proposals
|
|
83
|
+
- fix: compact canonical claim-key candidates
|
|
84
|
+
- fix: rebalance post-compaction claim-key promotion
|
|
85
|
+
- feat: add claim-key entity family convergence
|
|
86
|
+
- fix: promote grounded family missing-key candidates
|
|
87
|
+
- docs: add threshold-only supported cohort audit
|
|
88
|
+
- feat: add shadow sibling-slot resonance instrumentation
|
|
89
|
+
- Align surgeon presets with claim-key quality plan
|
|
90
|
+
|
|
3
91
|
## [1.6.0] - 2026-04-02
|
|
4
92
|
|
|
5
93
|
Store nudge, memory guidance improvements, plugin rename, and dead code cleanup.
|
package/README.md
CHANGED
|
@@ -146,7 +146,7 @@ The CLI surface is still intentionally compact, but it now covers setup, recall,
|
|
|
146
146
|
| `agenr ingest entries <path>` | Bulk-ingest one file or directory of OpenClaw transcript files into durable knowledge entries. |
|
|
147
147
|
| `agenr ingest episodes [path]` | Backfill episodic summaries from OpenClaw session transcripts, including rotated `.reset.*` and `.deleted.*` files. |
|
|
148
148
|
| `agenr surgeon run` | Execute a surgeon maintenance pass. Defaults to retirement; use `--pass supersession` for lineage review. Dry-run by default; add `--apply` to mutate the corpus. |
|
|
149
|
-
| `agenr surgeon status` | Show corpus health
|
|
149
|
+
| `agenr surgeon status` | Show corpus health, claim-key lifecycle counts, proposal backlog, and the latest surgeon run summary. |
|
|
150
150
|
| `agenr surgeon history` | Show recent surgeon runs. |
|
|
151
151
|
| `agenr surgeon actions <runId>` | Show the audit trail for one surgeon run. |
|
|
152
152
|
| `agenr db reset` | Delete and recreate the knowledge database. |
|
|
@@ -209,8 +209,11 @@ The surgeon is a maintenance system for the durable-memory corpus. Today it supp
|
|
|
209
209
|
```bash
|
|
210
210
|
pnpm install
|
|
211
211
|
pnpm build
|
|
212
|
+
pnpm typecheck:tests
|
|
212
213
|
pnpm test
|
|
213
|
-
pnpm check
|
|
214
|
+
pnpm check # format + lint + source typecheck + test
|
|
215
|
+
pnpm internal:recall-eval-server
|
|
216
|
+
agenr scenarios run --kind store --preserve --verbose
|
|
214
217
|
```
|
|
215
218
|
|
|
216
219
|
## Troubleshooting
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as openclaw_plugin_sdk_plugin_entry from 'openclaw/plugin-sdk/plugin-entry';
|
|
2
|
+
import { T as TranscriptPort, P as ParsedTranscript } from '../../ports-D2NOK2gR.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Parses OpenClaw JSONL session exports into normalized agenr transcripts.
|
|
6
|
+
*/
|
|
7
|
+
declare class OpenClawTranscriptParser implements TranscriptPort {
|
|
8
|
+
/**
|
|
9
|
+
* Parses an OpenClaw JSONL transcript file into agenr transcript data.
|
|
10
|
+
*
|
|
11
|
+
* @param filePath - Absolute or relative path to the transcript file.
|
|
12
|
+
* @param options - Optional parser flags for verbose diagnostics.
|
|
13
|
+
* @returns Parsed transcript messages, warnings, and metadata.
|
|
14
|
+
*/
|
|
15
|
+
parseFile(filePath: string, options?: {
|
|
16
|
+
verbose?: boolean;
|
|
17
|
+
}): Promise<ParsedTranscript>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Shared OpenClaw transcript parser instance for adapter wiring.
|
|
21
|
+
*/
|
|
22
|
+
declare const openClawTranscriptParser: OpenClawTranscriptParser;
|
|
23
|
+
|
|
24
|
+
declare const _default: {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
configSchema: openclaw_plugin_sdk_plugin_entry.OpenClawPluginConfigSchema;
|
|
29
|
+
register: NonNullable<openclaw_plugin_sdk_plugin_entry.OpenClawPluginDefinition["register"]>;
|
|
30
|
+
} & Pick<openclaw_plugin_sdk_plugin_entry.OpenClawPluginDefinition, "kind" | "reload" | "nodeHostCommands" | "securityAuditCollectors">;
|
|
31
|
+
|
|
32
|
+
export { OpenClawTranscriptParser, _default as default, openClawTranscriptParser };
|