agenr 1.7.0 → 1.8.1

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,66 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased]
4
+
5
+ ## [1.8.1] - 2026-04-11
6
+
7
+ Ingest concurrency and progress reporting patch release.
8
+
9
+ ### Fixed
10
+
11
+ - **Dedup now honors bounded concurrency.** Multi-entry similarity clusters are now arbitrated in parallel with deterministic result ordering, and ingest paths explicitly thread configured/default concurrency into dedup instead of leaving arbitration serial.
12
+ - **Claim extraction now uses real batch concurrency without violating ordered semantics.** Batch claim-key extraction now honors configured concurrency, preserves past-only hint visibility via per-entry frozen hint snapshots, and propagates sensible defaults through the relevant ingest/store paths instead of falling back to historical hardcoded single-worker behavior.
13
+ - **Ingest spinner now reports real post-extraction stages.** Non-verbose `agenr ingest entries` runs now surface dedup, claim-key extraction, store pipeline, and bulk-write index preparation/finalization stages instead of looking stuck after `(N/N extracted)`.
14
+
15
+ ### Validation
16
+
17
+ Changes since last push to `origin/master`:
18
+
19
+ - Enhance ingestion process with stage progress events
20
+ - Refactor deduplication process to support configurable concurrency
21
+ - Refactor concurrency handling in ingestion process
22
+
23
+ ## [1.8.0] - 2026-04-11
24
+
25
+ Claim-centric trust loop close-out release.
26
+
27
+ ### Changed
28
+
29
+ - **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.
30
+ - **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`.
31
+
32
+ ## [1.7.4] - 2026-04-04
33
+
34
+ OpenClaw plugin complete-chunk fix release.
35
+
36
+ ### Fixed
37
+
38
+ - **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.
39
+
40
+ ## [1.7.3] - 2026-04-04
41
+
42
+ OpenClaw plugin packaging consistency fix release.
43
+
44
+ ### Fixed
45
+
46
+ - **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.
47
+
48
+ ## [1.7.2] - 2026-04-04
49
+
50
+ OpenClaw plugin package runtime fix release.
51
+
52
+ ### Fixed
53
+
54
+ - **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.
55
+
56
+ ## [1.7.1] - 2026-04-04
57
+
58
+ OpenClaw plugin packaging fix release.
59
+
60
+ ### Fixed
61
+
62
+ - **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.
63
+
3
64
  ## [1.7.0] - 2026-04-04
4
65
 
5
66
  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 };