agenr 1.7.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 CHANGED
@@ -1,5 +1,48 @@
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
+
3
46
  ## [1.7.0] - 2026-04-04
4
47
 
5
48
  Claim-key quality foundations, recall integration, auto-supersession, surgeon quality passes, and OpenClaw plugin publishing polish.
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 plus the latest surgeon run summary. |
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 # format + lint + typecheck + test
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 };