agenr 0.12.2 → 0.13.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{chunk-L2CPAYHC.js → chunk-7OEB2NZE.js} +3092 -2280
  3. package/dist/chunk-7ZIZVJUL.js +368 -0
  4. package/dist/chunk-BLYY63EG.js +257 -0
  5. package/dist/chunk-CDGZDPJA.js +91 -0
  6. package/dist/{chunk-CUCVRI3K.js → chunk-CEX5WR3X.js} +1 -1
  7. package/dist/{chunk-HMBONTF3.js → chunk-E7EJHBRB.js} +1174 -57
  8. package/dist/chunk-GOV2RGHZ.js +338 -0
  9. package/dist/{chunk-D3DYUJKW.js → chunk-HIQNQX7X.js} +10881 -4676
  10. package/dist/{chunk-V5SX4AI7.js → chunk-J25ELEKV.js} +208 -30
  11. package/dist/chunk-KO3TIRQJ.js +133 -0
  12. package/dist/chunk-L6AXOHGF.js +235 -0
  13. package/dist/{chunk-P742N37X.js → chunk-MAMLZUD4.js} +221 -15
  14. package/dist/{chunk-FIKYMSL6.js → chunk-QDGOYFN7.js} +1 -1
  15. package/dist/chunk-QZAQIPBN.js +3714 -0
  16. package/dist/{chunk-5645B45W.js → chunk-SL4UITEY.js} +98 -10
  17. package/dist/chunk-TXSLOSHI.js +37 -0
  18. package/dist/{chunk-7VFBBJVV.js → chunk-UUUFPTSM.js} +8 -1
  19. package/dist/chunk-VQ6SX6AO.js +548 -0
  20. package/dist/chunk-WTHMJ2VH.js +1960 -0
  21. package/dist/{classify-entries-XI6ACRFB.js → classify-entries-YGZFBN3C.js} +10 -16
  22. package/dist/cli-main.d.ts +45 -49
  23. package/dist/cli-main.js +2878 -3348
  24. package/dist/{config-6IVI3FGF.js → config-LFH37TH2.js} +2 -5
  25. package/dist/{openclaw-plugin → edge/openclaw}/index.d.ts +1 -1
  26. package/dist/{openclaw-plugin → edge/openclaw}/index.js +108 -128
  27. package/dist/eval-NTIVAYFR.js +22 -0
  28. package/dist/ingestion-CJMFT7RS.js +31 -0
  29. package/dist/{maintain-5PS7LHYL.js → maintain-LSJIZKWU.js} +187 -500
  30. package/dist/openclaw-L4WDWYBC.js +21 -0
  31. package/dist/operations-J4THG5OC.js +32 -0
  32. package/dist/{process-before-reset-recall-feedback-WXQLJQ2Y.js → process-before-reset-recall-feedback-V5YENARN.js} +4 -5
  33. package/dist/{types-CxyMaRsR.d.ts → types-fKF0FEBn.d.ts} +1 -1
  34. package/dist/workflow-ZW6Y2O3I.js +26 -0
  35. package/package.json +4 -4
  36. package/dist/agent-store-passthrough-defaults-M7BZ5U6A.js +0 -36
  37. package/dist/bulk-store-defaults-DDVYI3DG.js +0 -15
  38. package/dist/chunk-5JLYIHAQ.js +0 -144
  39. package/dist/chunk-6HTA55NQ.js +0 -172
  40. package/dist/chunk-BR65GBJG.js +0 -28
  41. package/dist/chunk-BX5JHADB.js +0 -12
  42. package/dist/chunk-BXN5MMRG.js +0 -261
  43. package/dist/chunk-H34G5ZCO.js +0 -205
  44. package/dist/chunk-IMKGWRRR.js +0 -77
  45. package/dist/chunk-IVDSYJNR.js +0 -8
  46. package/dist/chunk-MLKGABMK.js +0 -9
  47. package/dist/chunk-NCZ5BARN.js +0 -214
  48. package/dist/chunk-O72E3MNJ.js +0 -160
  49. package/dist/chunk-OZK32TEX.js +0 -45
  50. package/dist/chunk-PLKJCOGB.js +0 -158
  51. package/dist/chunk-QDW77NBA.js +0 -281
  52. package/dist/chunk-R2X5CMR3.js +0 -927
  53. package/dist/chunk-RVPPKW4P.js +0 -668
  54. package/dist/chunk-TXJKNB2Y.js +0 -24
  55. package/dist/chunk-UNB2GHB2.js +0 -1228
  56. package/dist/chunk-W776WVZS.js +0 -31
  57. package/dist/chunk-YFOFO2FC.js +0 -485
  58. package/dist/chunk-YXHYBR54.js +0 -10154
  59. package/dist/chunk-YYZIBBIX.js +0 -16
  60. package/dist/eval-defaults-KQT4VBA7.js +0 -47
  61. package/dist/openclaw-recall-feedback-defaults-JZL5ZCDQ.js +0 -28
  62. package/dist/retire-service-defaults-ZLZPDD64.js +0 -9
  63. package/dist/target-processor-defaults-BYNJEJCQ.js +0 -12
  64. package/dist/watch-context-defaults-3OJZV2VC.js +0 -26
  65. package/dist/workflow-CNIGIVEH.js +0 -33
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0] - 2026-03-22
4
+
5
+ ### Architecture
6
+
7
+ - **Hexagonal architecture restructure.** Complete reorganization of the codebase into a modular monolith with hexagonal (ports & adapters) architecture. `src/` now has four top-level directories: `modules/`, `shared/`, `edge/`, and `runtime/`.
8
+ - **Six bounded context modules.** `recall`, `store`, `consolidation`, `ingestion`, `maintenance`, and `eval` — each with `domain/`, `application/`, `ports/`, and `adapters/` layers.
9
+ - **OpenClaw plugin as edge adapter.** Moved to `src/edge/openclaw/` with internal hex layering (`domain/`, `application/`, `adapters/`), alongside CLI, MCP, and watch edge adapters.
10
+ - **Eliminated `src/memory/`.** The awkward middle layer between app and db is gone. Recall orchestration moved to the recall module; store pipeline moved to the store module.
11
+ - **Eliminated `src/domain/`, `src/app/`, `src/prompts/`, `src/adapters/`.** Each module now owns its own domain logic, application workflows, and prompt templates.
12
+ - **Runtime consolidation.** Collapsed 31 `*-defaults.ts` wiring files into 9 focused composition roots — one per module plus shared infrastructure.
13
+ - **Module boundary tests.** New architecture boundary tests enforce: domain purity, no cross-module internal imports, ports-only cross-module communication.
14
+ - **Operations owner matrix.** DB utility workflows assigned to owning modules (`context/` → recall, `classify-entries/` → store, `clusters/` → consolidation, `watcher-report/` and `session-store-metrics/` → maintenance). Only genuinely cross-module admin tooling remains in `src/shared/operations/`.
15
+ - **App-boundary allowlist dropped to zero.** All previously allowlisted cross-layer imports are now legitimate within-module imports or port-mediated cross-module calls.
16
+
17
+ ## [0.12.3] - 2026-03-22
18
+
19
+ ### Fixed
20
+
21
+ - **Plugin DB tables in core schema.** `session_projects`, `seen_sessions`, and `session_identity_breadcrumbs` tables are now created as part of the main schema init, fixing `SQLITE_ERROR: no such table: session_projects` errors when calling `agenr_set_session_project` or `agenr_get_session_project`. Previously these tables depended on a lazy plugin-db init path that could fail to run.
22
+ - **Tool schema Codex compatibility.** Replaced `Type.Union([Type.Literal(...)])` with `Type.String({ enum: [...] })` for the `expiry` and recall `context` fields in tool schemas. Codex and other providers that reject `anyOf`/`oneOf` at top level now get clean schemas.
23
+ - **Support-aware cluster validation.** Consolidation cluster validation now uses support-aware entry resolution, preventing false merge candidates from stale or unsupported cluster assignments.
24
+
3
25
  ## [0.12.2] - 2026-03-22
4
26
 
5
27
  ### Recall Scoping Fixes