@remnic/core 9.27.0 → 9.28.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 (439) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -10
  2. package/dist/access-admin-ops-surface.js +43 -38
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.d.ts +13 -10
  5. package/dist/access-authorization-probe.js +44 -39
  6. package/dist/access-boundary.d.ts +13 -10
  7. package/dist/access-boundary.js +43 -38
  8. package/dist/access-cli.js +100 -94
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-health-types.d.ts +10 -1
  11. package/dist/access-http-lcm-compaction.d.ts +13 -10
  12. package/dist/access-http.d.ts +13 -10
  13. package/dist/access-http.js +53 -48
  14. package/dist/access-identity-continuity-surface.d.ts +9 -8
  15. package/dist/access-identity-continuity-surface.js +43 -38
  16. package/dist/access-lcm-surface.d.ts +13 -10
  17. package/dist/access-lcm-surface.js +43 -38
  18. package/dist/access-mcp.d.ts +13 -10
  19. package/dist/access-mcp.js +48 -43
  20. package/dist/access-memory-search-fanout.d.ts +2 -2
  21. package/dist/{access-namespace-preflight-wRSZEO5V.d.ts → access-namespace-preflight-BiQ_-iUJ.d.ts} +1 -1
  22. package/dist/access-namespace-preflight.d.ts +3 -3
  23. package/dist/access-namespace-preflight.js +43 -38
  24. package/dist/access-observe-write-surface.d.ts +13 -10
  25. package/dist/access-observe-write-surface.js +43 -38
  26. package/dist/access-operations-batch.js +45 -40
  27. package/dist/access-operations.d.ts +16 -13
  28. package/dist/access-operations.js +47 -42
  29. package/dist/access-recall-concurrency.d.ts +13 -10
  30. package/dist/access-recall-concurrency.js +43 -38
  31. package/dist/access-recall-response.d.ts +13 -10
  32. package/dist/access-recall-response.js +43 -38
  33. package/dist/access-recall-surface.d.ts +13 -10
  34. package/dist/access-recall-surface.js +43 -38
  35. package/dist/access-schema.d.ts +80 -80
  36. package/dist/access-schema.js +4 -4
  37. package/dist/{access-service-B4-Fu9x2.d.ts → access-service-CXkIgcGh.d.ts} +12 -8
  38. package/dist/access-service.d.ts +13 -10
  39. package/dist/access-service.js +43 -38
  40. package/dist/access-surface-catalog.d.ts +13 -10
  41. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  42. package/dist/action-confidence.d.ts +1 -1
  43. package/dist/active-memory-bridge.d.ts +1 -1
  44. package/dist/active-recall.d.ts +1 -1
  45. package/dist/active-recall.js +4 -2
  46. package/dist/active-recall.js.map +1 -1
  47. package/dist/adapters/index.js +7 -7
  48. package/dist/adapters/registry.js +3 -3
  49. package/dist/behavior-learner.d.ts +1 -1
  50. package/dist/behavior-signals.d.ts +1 -1
  51. package/dist/bootstrap.d.ts +9 -8
  52. package/dist/briefing.d.ts +3 -2
  53. package/dist/briefing.js +12 -10
  54. package/dist/buffer-surprise-report.d.ts +1 -1
  55. package/dist/buffer.d.ts +3 -2
  56. package/dist/bulk-import/index.d.ts +3 -3
  57. package/dist/calibration.d.ts +1 -1
  58. package/dist/capabilities.d.ts +1 -1
  59. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
  60. package/dist/{catalog-BLLxZ5L5.d.ts → catalog-Bouj8Gfg.d.ts} +1 -1
  61. package/dist/causal-behavior.d.ts +1 -1
  62. package/dist/causal-consolidation.d.ts +1 -1
  63. package/dist/causal-consolidation.js +13 -11
  64. package/dist/causal-consolidation.js.map +1 -1
  65. package/dist/causal-trajectory-graph.d.ts +1 -1
  66. package/dist/{chunk-7RZJWZ46.js → chunk-227UFSEQ.js} +5 -5
  67. package/dist/{chunk-UT3OQPFA.js → chunk-2BEJ4XCF.js} +2 -2
  68. package/dist/{chunk-EOLC6EXV.js → chunk-2FYNLDKJ.js} +24 -3
  69. package/dist/chunk-2FYNLDKJ.js.map +1 -0
  70. package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
  71. package/dist/{chunk-6NNNURLK.js → chunk-2PHX3I5C.js} +8 -8
  72. package/dist/{chunk-HORJVJ6K.js → chunk-2TQ2UFKH.js} +65 -60
  73. package/dist/chunk-2TQ2UFKH.js.map +1 -0
  74. package/dist/{chunk-RPA2RX5P.js → chunk-3BSJBIZ3.js} +2 -2
  75. package/dist/{chunk-JCVQV6QX.js → chunk-3UOSVTFR.js} +11 -11
  76. package/dist/{chunk-AJ7QCSIS.js → chunk-7CPOZH6Y.js} +2 -2
  77. package/dist/{chunk-MEBQFQ26.js → chunk-AHFZXUZM.js} +7 -5
  78. package/dist/chunk-AHFZXUZM.js.map +1 -0
  79. package/dist/{chunk-U3TH5Q2Q.js → chunk-ALTP3MFS.js} +2 -2
  80. package/dist/{chunk-77CNV7DY.js → chunk-BLAKS3CP.js} +4 -4
  81. package/dist/{chunk-XQ4EH6DI.js → chunk-BR4UFMLO.js} +2 -2
  82. package/dist/chunk-CVILPI77.js +432 -0
  83. package/dist/chunk-CVILPI77.js.map +1 -0
  84. package/dist/{chunk-WEAO45M4.js → chunk-DKQM5Q6Q.js} +2 -2
  85. package/dist/{chunk-CSXHRAJJ.js → chunk-EG64LXKL.js} +3 -3
  86. package/dist/{chunk-PTN6UAUA.js → chunk-ES36HTSC.js} +4 -4
  87. package/dist/{chunk-5BRT4Z2I.js → chunk-EZWWCN7I.js} +2 -2
  88. package/dist/{chunk-XKGPIWGI.js → chunk-FBZTWUK5.js} +5 -5
  89. package/dist/{chunk-GJJBPI6I.js → chunk-FOCEI3TN.js} +6 -3
  90. package/dist/chunk-FOCEI3TN.js.map +1 -0
  91. package/dist/{chunk-FRVTCCGD.js → chunk-GJPCP5CA.js} +2 -2
  92. package/dist/{chunk-CI26JDZA.js → chunk-GQSMYXKL.js} +6 -4
  93. package/dist/{chunk-CI26JDZA.js.map → chunk-GQSMYXKL.js.map} +1 -1
  94. package/dist/{chunk-TGQ2NTWH.js → chunk-IJ6WHMFB.js} +16 -2
  95. package/dist/{chunk-TGQ2NTWH.js.map → chunk-IJ6WHMFB.js.map} +1 -1
  96. package/dist/{chunk-VDX2J7OX.js → chunk-IPLYGWQF.js} +6 -6
  97. package/dist/{chunk-YSGBD3QN.js → chunk-IYT632D5.js} +3 -3
  98. package/dist/{chunk-2QSZNTDO.js → chunk-JBPKEARU.js} +7 -7
  99. package/dist/{chunk-RSYJV25N.js → chunk-JIF3VRKQ.js} +8 -8
  100. package/dist/{chunk-V25OWXAC.js → chunk-JQ7T5VDC.js} +1 -1
  101. package/dist/chunk-JQ7T5VDC.js.map +1 -0
  102. package/dist/{chunk-EUSLKI4X.js → chunk-KKBTBUVT.js} +2 -2
  103. package/dist/{chunk-RNY3BO35.js → chunk-LIHC3T43.js} +2 -2
  104. package/dist/{chunk-RGJBM7Z3.js → chunk-MJPV4LBH.js} +79 -79
  105. package/dist/{chunk-RGJBM7Z3.js.map → chunk-MJPV4LBH.js.map} +1 -1
  106. package/dist/{chunk-UGH6VPPO.js → chunk-MWTMTW2T.js} +2 -2
  107. package/dist/{chunk-MG6MNSP4.js → chunk-MXJ3VP6S.js} +6 -6
  108. package/dist/{chunk-XKO7BM2C.js → chunk-NBNDVNJ2.js} +186 -25
  109. package/dist/chunk-NBNDVNJ2.js.map +1 -0
  110. package/dist/{chunk-M5EPMNS4.js → chunk-P2CLYN6H.js} +2 -2
  111. package/dist/{chunk-BNGPHGVZ.js → chunk-PXQM2HOG.js} +13 -6
  112. package/dist/{chunk-BNGPHGVZ.js.map → chunk-PXQM2HOG.js.map} +1 -1
  113. package/dist/{chunk-CIQXI47W.js → chunk-Q5VJUNXA.js} +1192 -268
  114. package/dist/chunk-Q5VJUNXA.js.map +1 -0
  115. package/dist/{chunk-KGTD2KZJ.js → chunk-Q6YJW6KE.js} +2 -2
  116. package/dist/{chunk-X3SQYAPP.js → chunk-R372P2EH.js} +2 -2
  117. package/dist/{chunk-4MJZTF42.js → chunk-RKXZ7P4V.js} +3 -3
  118. package/dist/chunk-RMMVQQA6.js +70 -0
  119. package/dist/chunk-RMMVQQA6.js.map +1 -0
  120. package/dist/{chunk-2RAC4JIG.js → chunk-S24E4MBQ.js} +14 -14
  121. package/dist/chunk-S24E4MBQ.js.map +1 -0
  122. package/dist/{chunk-RYHWZ52A.js → chunk-S2BBISHU.js} +4 -4
  123. package/dist/{chunk-LLISELSY.js → chunk-TBMRQZDY.js} +2 -2
  124. package/dist/{chunk-FMLKOL2Z.js → chunk-TC3VNKGX.js} +4 -4
  125. package/dist/{chunk-7K5Q6COX.js → chunk-TVVEYCNW.js} +4 -4
  126. package/dist/{chunk-NUWMZIYZ.js → chunk-UR5SIN7H.js} +53 -35
  127. package/dist/chunk-UR5SIN7H.js.map +1 -0
  128. package/dist/{chunk-JDOJZTFF.js → chunk-VFNI3RPT.js} +2 -2
  129. package/dist/chunk-VNA7W7QF.js +134 -0
  130. package/dist/chunk-VNA7W7QF.js.map +1 -0
  131. package/dist/{chunk-EYJSW2RV.js → chunk-VYYNBJXH.js} +5 -5
  132. package/dist/chunk-WNIUPHWV.js +152 -0
  133. package/dist/chunk-WNIUPHWV.js.map +1 -0
  134. package/dist/chunk-WRJVB3C2.js +118 -0
  135. package/dist/chunk-WRJVB3C2.js.map +1 -0
  136. package/dist/{chunk-BHLN7L7M.js → chunk-WVVK2RFM.js} +6 -6
  137. package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
  138. package/dist/{chunk-HEXSNYJD.js → chunk-YOBNCD3Z.js} +6 -6
  139. package/dist/chunk-YXZG5TVN.js +40 -0
  140. package/dist/chunk-YXZG5TVN.js.map +1 -0
  141. package/dist/{chunk-4DJQYKMN.js → chunk-ZIKENA2C.js} +2 -2
  142. package/dist/chunk-ZIKENA2C.js.map +1 -0
  143. package/dist/{chunk-SK3EYPKC.js → chunk-ZN4UZWMT.js} +2 -2
  144. package/dist/{cli-Bz7X7dGx.d.ts → cli-DJbkaZBU.d.ts} +5 -5
  145. package/dist/cli.d.ts +14 -12
  146. package/dist/cli.js +79 -74
  147. package/dist/compounding/engine.d.ts +3 -2
  148. package/dist/compounding/engine.js +12 -10
  149. package/dist/compounding/preference-consolidator.d.ts +1 -1
  150. package/dist/compression-optimizer.d.ts +1 -1
  151. package/dist/config.d.ts +1 -1
  152. package/dist/config.js +4 -2
  153. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  154. package/dist/connectors/codex-materialize-runner.js +12 -10
  155. package/dist/connectors/codex-materialize.d.ts +1 -1
  156. package/dist/connectors/index.d.ts +1 -1
  157. package/dist/connectors/index.js +12 -10
  158. package/dist/consolidation-provenance-check.d.ts +3 -2
  159. package/dist/consolidation-undo.d.ts +3 -2
  160. package/dist/contradiction/index.d.ts +3 -2
  161. package/dist/conversation-index/backend.d.ts +1 -1
  162. package/dist/conversation-index/backend.js +2 -2
  163. package/dist/conversation-index/chunker.d.ts +1 -1
  164. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  165. package/dist/conversation-index/indexer.d.ts +1 -1
  166. package/dist/conversation-index/search.d.ts +1 -1
  167. package/dist/corpus-watermark.d.ts +15 -2
  168. package/dist/corpus-watermark.js +25 -21
  169. package/dist/day-summary.d.ts +1 -1
  170. package/dist/delinearize.d.ts +1 -1
  171. package/dist/direct-answer-wiring.d.ts +1 -1
  172. package/dist/direct-answer.d.ts +1 -1
  173. package/dist/embedding-fallback.d.ts +1 -1
  174. package/dist/enrichment/index.d.ts +1 -1
  175. package/dist/entity-id-normalization.d.ts +4 -0
  176. package/dist/entity-id-normalization.js +10 -0
  177. package/dist/entity-id-normalization.js.map +1 -0
  178. package/dist/entity-retrieval-boundaries.d.ts +3 -0
  179. package/dist/entity-retrieval-boundaries.js +8 -0
  180. package/dist/entity-retrieval-boundaries.js.map +1 -0
  181. package/dist/entity-retrieval.d.ts +3 -2
  182. package/dist/entity-retrieval.js +13 -10
  183. package/dist/entity-schema.d.ts +1 -1
  184. package/dist/entity-schema.js +1 -1
  185. package/dist/explicit-capture.d.ts +9 -8
  186. package/dist/extraction-error-classification.d.ts +1 -1
  187. package/dist/extraction-faithfulness.d.ts +1 -1
  188. package/dist/extraction-judge-telemetry.d.ts +1 -1
  189. package/dist/extraction-judge-training.d.ts +1 -1
  190. package/dist/extraction-judge.d.ts +1 -1
  191. package/dist/extraction-liveness.d.ts +1 -1
  192. package/dist/extraction.d.ts +1 -1
  193. package/dist/fallback-llm.d.ts +1 -1
  194. package/dist/{first-start-migration-LEXL3XYL.js → first-start-migration-BKNGOFED.js} +4 -4
  195. package/dist/graph-dashboard-diff.d.ts +1 -1
  196. package/dist/graph-dashboard-key.d.ts +1 -1
  197. package/dist/graph-dashboard-parser.d.ts +1 -1
  198. package/dist/graph-edge-reinforcement.d.ts +1 -1
  199. package/dist/graph-snapshot.d.ts +1 -1
  200. package/dist/graph.d.ts +1 -1
  201. package/dist/importance.d.ts +1 -1
  202. package/dist/importers/index.d.ts +1 -1
  203. package/dist/in-flight-reads.d.ts +1 -1
  204. package/dist/index.d.ts +409 -407
  205. package/dist/index.js +147 -141
  206. package/dist/intent.d.ts +1 -1
  207. package/dist/lcm/engine.d.ts +1 -1
  208. package/dist/lcm/engine.js +3 -3
  209. package/dist/lcm/index.d.ts +1 -1
  210. package/dist/lcm/index.js +9 -9
  211. package/dist/lcm/tools.d.ts +1 -1
  212. package/dist/lifecycle.d.ts +1 -1
  213. package/dist/live-connectors-runner.d.ts +1 -1
  214. package/dist/local-llm.d.ts +1 -1
  215. package/dist/local-model-endpoint.d.ts +1 -1
  216. package/dist/maintenance/memory-governance.d.ts +1 -1
  217. package/dist/maintenance/memory-governance.js +12 -10
  218. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  219. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +12 -10
  220. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  221. package/dist/maintenance/rebuild-memory-projection.js +13 -11
  222. package/dist/{maintenance-DgnD2z8S.d.ts → maintenance-DveW6azo.d.ts} +3 -3
  223. package/dist/mcp-memory-inspector-app.d.ts +13 -10
  224. package/dist/memory-action-policy.d.ts +1 -1
  225. package/dist/memory-cache.d.ts +1 -1
  226. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  227. package/dist/memory-projection-mutations.d.ts +4 -0
  228. package/dist/memory-projection-mutations.js +15 -0
  229. package/dist/memory-projection-mutations.js.map +1 -0
  230. package/dist/memory-projection-store.d.ts +1 -1
  231. package/dist/memory-provenance.d.ts +1 -1
  232. package/dist/memory-worth-outcomes.d.ts +3 -2
  233. package/dist/models-json.d.ts +1 -1
  234. package/dist/namespaces/migrate.d.ts +4 -3
  235. package/dist/namespaces/migrate.js +22 -20
  236. package/dist/namespaces/principal.d.ts +1 -1
  237. package/dist/namespaces/search.d.ts +1 -1
  238. package/dist/namespaces/search.js +9 -9
  239. package/dist/namespaces/storage.d.ts +4 -3
  240. package/dist/namespaces/storage.js +12 -10
  241. package/dist/native-knowledge.d.ts +1 -1
  242. package/dist/offline-sync-impression-drain.d.ts +1 -1
  243. package/dist/offline-sync-impression-drain.js +3 -3
  244. package/dist/operator-doctor-corpus.d.ts +22 -3
  245. package/dist/operator-doctor-corpus.js +32 -22
  246. package/dist/operator-doctor-replica.d.ts +52 -0
  247. package/dist/operator-doctor-replica.js +15 -0
  248. package/dist/operator-doctor-replica.js.map +1 -0
  249. package/dist/operator-toolkit.d.ts +7 -3
  250. package/dist/operator-toolkit.js +33 -27
  251. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  252. package/dist/orchestration/maintenance.d.ts +5 -4
  253. package/dist/orchestration/maintenance.js +17 -15
  254. package/dist/{orchestrator-rIHmHpv1.d.ts → orchestrator-Cvlgpe6I.d.ts} +7 -7
  255. package/dist/orchestrator.d.ts +9 -8
  256. package/dist/orchestrator.js +99 -93
  257. package/dist/patterns-cli.d.ts +1 -1
  258. package/dist/{pipeline-Bq5zU6Bp.d.ts → pipeline-BveYVaz7.d.ts} +1 -1
  259. package/dist/policy-runtime.d.ts +1 -1
  260. package/dist/proactive-contention.d.ts +1 -1
  261. package/dist/provenance.d.ts +1 -1
  262. package/dist/{qmd-3ILJkC70.d.ts → qmd-CLWDsbYR.d.ts} +1 -1
  263. package/dist/qmd-preflight.d.ts +2 -2
  264. package/dist/qmd-recall-cache.d.ts +1 -1
  265. package/dist/qmd.d.ts +2 -2
  266. package/dist/recall-concurrency-config.d.ts +1 -1
  267. package/dist/recall-disclosure-escalation.d.ts +1 -1
  268. package/dist/recall-explain-renderer.d.ts +1 -1
  269. package/dist/recall-explain-renderer.js +3 -3
  270. package/dist/recall-memory-map.d.ts +1 -1
  271. package/dist/recall-planner-llm.d.ts +1 -1
  272. package/dist/recall-state.d.ts +1 -1
  273. package/dist/recall-state.js +2 -2
  274. package/dist/recall-tag-filter.d.ts +1 -1
  275. package/dist/recall-timings.d.ts +1 -1
  276. package/dist/recall-xray-cli.d.ts +1 -1
  277. package/dist/recall-xray-cli.js +4 -4
  278. package/dist/recall-xray-renderer.d.ts +1 -1
  279. package/dist/recall-xray-renderer.js +3 -3
  280. package/dist/recall-xray.d.ts +1 -1
  281. package/dist/recall-xray.js +2 -2
  282. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  283. package/dist/replay/normalizers/claude.d.ts +1 -1
  284. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  285. package/dist/replay/normalizers/shared.d.ts +1 -1
  286. package/dist/replay/runner.d.ts +1 -1
  287. package/dist/replay/types.d.ts +1 -1
  288. package/dist/replica-divergence.d.ts +279 -0
  289. package/dist/replica-divergence.js +28 -0
  290. package/dist/replica-divergence.js.map +1 -0
  291. package/dist/replica-peers-config.d.ts +5 -0
  292. package/dist/replica-peers-config.js +13 -0
  293. package/dist/replica-peers-config.js.map +1 -0
  294. package/dist/resolve-auth-token.d.ts +21 -2
  295. package/dist/resolve-auth-token.js +5 -1
  296. package/dist/resume-bundles.js +5 -3
  297. package/dist/retrieval-agents.d.ts +2 -2
  298. package/dist/retrieval-tiers.d.ts +1 -1
  299. package/dist/routing/engine.d.ts +1 -1
  300. package/dist/routing/store.d.ts +1 -1
  301. package/dist/salvage-envelope.d.ts +1 -1
  302. package/dist/schemas.d.ts +76 -76
  303. package/dist/{scope-profiles-D0-ff4xT.d.ts → scope-profiles-BVf3DZ7z.d.ts} +1 -1
  304. package/dist/search/embed-helper.d.ts +1 -1
  305. package/dist/search/factory.d.ts +1 -1
  306. package/dist/search/factory.js +8 -8
  307. package/dist/search/index.d.ts +1 -1
  308. package/dist/search/index.js +13 -13
  309. package/dist/search/lancedb-backend.d.ts +1 -1
  310. package/dist/search/lancedb-backend.js +2 -2
  311. package/dist/search/meilisearch-backend.d.ts +1 -1
  312. package/dist/search/meilisearch-backend.js +2 -2
  313. package/dist/search/noop-backend.d.ts +1 -1
  314. package/dist/search/orama-backend.d.ts +1 -1
  315. package/dist/search/orama-backend.js +2 -2
  316. package/dist/search/port.d.ts +1 -1
  317. package/dist/search/remote-backend.d.ts +1 -1
  318. package/dist/{semantic-consolidation-4Tfh7c1g.d.ts → semantic-consolidation-DXLV47y2.d.ts} +1 -1
  319. package/dist/semantic-consolidation.d.ts +2 -2
  320. package/dist/semantic-consolidation.js +13 -11
  321. package/dist/semantic-rule-promotion.js +12 -10
  322. package/dist/semantic-rule-verifier.d.ts +1 -1
  323. package/dist/semantic-rule-verifier.js +12 -10
  324. package/dist/{service-cTvil7D_.d.ts → service-DbgPTeMJ.d.ts} +2 -2
  325. package/dist/session-observer-bands.d.ts +1 -1
  326. package/dist/session-observer-state.d.ts +1 -1
  327. package/dist/shared-context/manager.d.ts +9 -9
  328. package/dist/signal.d.ts +1 -1
  329. package/dist/{storage-C9ibpTme.d.ts → storage-DOzTm8wG.d.ts} +13 -19
  330. package/dist/storage.d.ts +3 -2
  331. package/dist/storage.js +13 -10
  332. package/dist/summarizer.d.ts +1 -1
  333. package/dist/summary-snapshot.d.ts +1 -1
  334. package/dist/temporal-supersession.d.ts +3 -2
  335. package/dist/temporal-timeline-recall.d.ts +1 -1
  336. package/dist/temporal-validity.d.ts +1 -1
  337. package/dist/threading.d.ts +1 -1
  338. package/dist/tier-migration.d.ts +3 -2
  339. package/dist/tier-routing.d.ts +1 -1
  340. package/dist/topics.d.ts +1 -1
  341. package/dist/transcript.d.ts +1 -1
  342. package/dist/transfer/autodetect.js +1 -1
  343. package/dist/transfer/backup.js +2 -2
  344. package/dist/transfer/capsule-export.js +3 -3
  345. package/dist/transfer/capsule-import.js +2 -2
  346. package/dist/transfer/types.d.ts +66 -66
  347. package/dist/trust-score-stage.d.ts +1 -1
  348. package/dist/trust-score.d.ts +1 -1
  349. package/dist/{types-DHBxIF0s.d.ts → types-BA7W-_xy.d.ts} +53 -4
  350. package/dist/types.d.ts +1 -1
  351. package/dist/types.js +1 -1
  352. package/dist/utility-runtime.d.ts +1 -1
  353. package/dist/verified-recall.js +12 -10
  354. package/dist/write-envelope.d.ts +1 -1
  355. package/package.json +2 -2
  356. package/src/access-health-types.ts +8 -0
  357. package/src/access-http.test.ts +4 -0
  358. package/src/access-service-health.test.ts +23 -0
  359. package/src/access-service.ts +27 -4
  360. package/src/cli.ts +9 -7
  361. package/src/config.ts +2 -1
  362. package/src/corpus-watermark.test.ts +21 -0
  363. package/src/corpus-watermark.ts +25 -3
  364. package/src/entity-id-normalization.ts +55 -0
  365. package/src/entity-retrieval-boundaries.ts +134 -0
  366. package/src/entity-retrieval.ts +253 -27
  367. package/src/entity-schema.ts +2 -1
  368. package/src/memory-projection-mutations.ts +132 -0
  369. package/src/namespaces/storage.ts +5 -3
  370. package/src/operator-doctor-corpus.ts +41 -0
  371. package/src/operator-doctor-replica.test.ts +261 -0
  372. package/src/operator-doctor-replica.ts +129 -0
  373. package/src/operator-toolkit.ts +5 -4
  374. package/src/orchestration/orchestrator-init.ts +2 -2
  375. package/src/replica-divergence.test.ts +1475 -0
  376. package/src/replica-divergence.ts +910 -0
  377. package/src/replica-peers-config.ts +250 -0
  378. package/src/resolve-auth-token.ts +38 -0
  379. package/src/storage/entity-canonical-id-migration-adapter.ts +72 -0
  380. package/src/storage/entity-canonical-id-migration-runner.ts +68 -0
  381. package/src/storage/entity-canonical-id-migration.ts +904 -0
  382. package/src/storage/entity-store.ts +44 -0
  383. package/src/storage/memory-frontmatter-metadata.ts +17 -0
  384. package/src/storage/memory-migration-serialization.ts +37 -0
  385. package/src/storage/memory-read-store.ts +3 -2
  386. package/src/storage/profile-header.ts +8 -7
  387. package/src/storage-profile-timestamp.test.ts +68 -0
  388. package/src/storage.ts +68 -69
  389. package/src/types.ts +3 -3
  390. package/dist/chunk-2RAC4JIG.js.map +0 -1
  391. package/dist/chunk-4DJQYKMN.js.map +0 -1
  392. package/dist/chunk-CIQXI47W.js.map +0 -1
  393. package/dist/chunk-EOLC6EXV.js.map +0 -1
  394. package/dist/chunk-GJJBPI6I.js.map +0 -1
  395. package/dist/chunk-HORJVJ6K.js.map +0 -1
  396. package/dist/chunk-MEBQFQ26.js.map +0 -1
  397. package/dist/chunk-NUWMZIYZ.js.map +0 -1
  398. package/dist/chunk-V25OWXAC.js.map +0 -1
  399. package/dist/chunk-XKO7BM2C.js.map +0 -1
  400. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  401. /package/dist/{chunk-7RZJWZ46.js.map → chunk-227UFSEQ.js.map} +0 -0
  402. /package/dist/{chunk-UT3OQPFA.js.map → chunk-2BEJ4XCF.js.map} +0 -0
  403. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
  404. /package/dist/{chunk-6NNNURLK.js.map → chunk-2PHX3I5C.js.map} +0 -0
  405. /package/dist/{chunk-RPA2RX5P.js.map → chunk-3BSJBIZ3.js.map} +0 -0
  406. /package/dist/{chunk-JCVQV6QX.js.map → chunk-3UOSVTFR.js.map} +0 -0
  407. /package/dist/{chunk-AJ7QCSIS.js.map → chunk-7CPOZH6Y.js.map} +0 -0
  408. /package/dist/{chunk-U3TH5Q2Q.js.map → chunk-ALTP3MFS.js.map} +0 -0
  409. /package/dist/{chunk-77CNV7DY.js.map → chunk-BLAKS3CP.js.map} +0 -0
  410. /package/dist/{chunk-XQ4EH6DI.js.map → chunk-BR4UFMLO.js.map} +0 -0
  411. /package/dist/{chunk-WEAO45M4.js.map → chunk-DKQM5Q6Q.js.map} +0 -0
  412. /package/dist/{chunk-CSXHRAJJ.js.map → chunk-EG64LXKL.js.map} +0 -0
  413. /package/dist/{chunk-PTN6UAUA.js.map → chunk-ES36HTSC.js.map} +0 -0
  414. /package/dist/{chunk-5BRT4Z2I.js.map → chunk-EZWWCN7I.js.map} +0 -0
  415. /package/dist/{chunk-XKGPIWGI.js.map → chunk-FBZTWUK5.js.map} +0 -0
  416. /package/dist/{chunk-FRVTCCGD.js.map → chunk-GJPCP5CA.js.map} +0 -0
  417. /package/dist/{chunk-VDX2J7OX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  418. /package/dist/{chunk-YSGBD3QN.js.map → chunk-IYT632D5.js.map} +0 -0
  419. /package/dist/{chunk-2QSZNTDO.js.map → chunk-JBPKEARU.js.map} +0 -0
  420. /package/dist/{chunk-RSYJV25N.js.map → chunk-JIF3VRKQ.js.map} +0 -0
  421. /package/dist/{chunk-EUSLKI4X.js.map → chunk-KKBTBUVT.js.map} +0 -0
  422. /package/dist/{chunk-RNY3BO35.js.map → chunk-LIHC3T43.js.map} +0 -0
  423. /package/dist/{chunk-UGH6VPPO.js.map → chunk-MWTMTW2T.js.map} +0 -0
  424. /package/dist/{chunk-MG6MNSP4.js.map → chunk-MXJ3VP6S.js.map} +0 -0
  425. /package/dist/{chunk-M5EPMNS4.js.map → chunk-P2CLYN6H.js.map} +0 -0
  426. /package/dist/{chunk-KGTD2KZJ.js.map → chunk-Q6YJW6KE.js.map} +0 -0
  427. /package/dist/{chunk-X3SQYAPP.js.map → chunk-R372P2EH.js.map} +0 -0
  428. /package/dist/{chunk-4MJZTF42.js.map → chunk-RKXZ7P4V.js.map} +0 -0
  429. /package/dist/{chunk-RYHWZ52A.js.map → chunk-S2BBISHU.js.map} +0 -0
  430. /package/dist/{chunk-LLISELSY.js.map → chunk-TBMRQZDY.js.map} +0 -0
  431. /package/dist/{chunk-FMLKOL2Z.js.map → chunk-TC3VNKGX.js.map} +0 -0
  432. /package/dist/{chunk-7K5Q6COX.js.map → chunk-TVVEYCNW.js.map} +0 -0
  433. /package/dist/{chunk-JDOJZTFF.js.map → chunk-VFNI3RPT.js.map} +0 -0
  434. /package/dist/{chunk-EYJSW2RV.js.map → chunk-VYYNBJXH.js.map} +0 -0
  435. /package/dist/{chunk-BHLN7L7M.js.map → chunk-WVVK2RFM.js.map} +0 -0
  436. /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
  437. /package/dist/{chunk-HEXSNYJD.js.map → chunk-YOBNCD3Z.js.map} +0 -0
  438. /package/dist/{chunk-SK3EYPKC.js.map → chunk-ZN4UZWMT.js.map} +0 -0
  439. /package/dist/{first-start-migration-LEXL3XYL.js.map → first-start-migration-BKNGOFED.js.map} +0 -0
package/dist/topics.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile, aw as TopicScore } from './types-DHBxIF0s.js';
1
+ import { M as MemoryFile, ay as TopicScore } from './types-BA7W-_xy.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,4 +1,4 @@
1
- import { P as PluginConfig, T as TranscriptEntry, m as Checkpoint } from './types-DHBxIF0s.js';
1
+ import { P as PluginConfig, T as TranscriptEntry, m as Checkpoint } from './types-BA7W-_xy.js';
2
2
  import { SessionIntegrityReport } from './session-integrity.js';
3
3
  import './message-parts/index.js';
4
4
  import './bounded-jsonl-state.js';
@@ -4,8 +4,8 @@ import {
4
4
  import "../chunk-2DL3OFLD.js";
5
5
  import "../chunk-G4IAEX6D.js";
6
6
  import "../chunk-765K3SAT.js";
7
- import "../chunk-WEHSQBFR.js";
8
7
  import "../chunk-J4EB7DNW.js";
8
+ import "../chunk-WEHSQBFR.js";
9
9
  import "../chunk-UI3NYK34.js";
10
10
  import "../chunk-GCGJW34D.js";
11
11
  import "../chunk-PZ5AY32C.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  backupMemoryDir
3
- } from "../chunk-BXLOS5AJ.js";
3
+ } from "../chunk-2NLLXCJG.js";
4
4
  import "../chunk-765K3SAT.js";
5
- import "../chunk-DQEMWVMT.js";
6
5
  import "../chunk-J4EB7DNW.js";
6
+ import "../chunk-X7Y7WX73.js";
7
7
  import "../chunk-BJMBJZ2Y.js";
8
8
  import "../chunk-UKJAGEXH.js";
9
9
  import "../chunk-FP2373TW.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  exportCapsule,
3
3
  isValidCapsuleSince
4
- } from "../chunk-VDX2J7OX.js";
5
- import "../chunk-WEHSQBFR.js";
6
- import "../chunk-DQEMWVMT.js";
4
+ } from "../chunk-IPLYGWQF.js";
7
5
  import "../chunk-J4EB7DNW.js";
6
+ import "../chunk-WEHSQBFR.js";
7
+ import "../chunk-X7Y7WX73.js";
8
8
  import "../chunk-BJMBJZ2Y.js";
9
9
  import "../chunk-UKJAGEXH.js";
10
10
  import "../chunk-FP2373TW.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  importCapsule
3
- } from "../chunk-AJ7QCSIS.js";
3
+ } from "../chunk-7CPOZH6Y.js";
4
4
  import "../chunk-5VQJBH2G.js";
5
5
  import "../chunk-AITCS2RC.js";
6
6
  import "../chunk-XMMESCPD.js";
7
7
  import "../chunk-42JKGUFJ.js";
8
8
  import "../chunk-PDJTHRAW.js";
9
9
  import "../chunk-WEHSQBFR.js";
10
- import "../chunk-DQEMWVMT.js";
10
+ import "../chunk-X7Y7WX73.js";
11
11
  import "../chunk-BJMBJZ2Y.js";
12
12
  import "../chunk-UKJAGEXH.js";
13
13
  import "../chunk-FP2373TW.js";
@@ -20,26 +20,26 @@ declare const ExportManifestV1Schema: z.ZodObject<{
20
20
  bytes: number;
21
21
  }>, "many">;
22
22
  }, "strip", z.ZodTypeAny, {
23
- format: "openclaw-engram-export";
23
+ schemaVersion: 1;
24
24
  createdAt: string;
25
- pluginVersion: string;
26
25
  files: {
27
26
  path: string;
28
27
  sha256: string;
29
28
  bytes: number;
30
29
  }[];
31
- schemaVersion: 1;
30
+ format: "openclaw-engram-export";
31
+ pluginVersion: string;
32
32
  includesTranscripts: boolean;
33
33
  }, {
34
- format: "openclaw-engram-export";
34
+ schemaVersion: 1;
35
35
  createdAt: string;
36
- pluginVersion: string;
37
36
  files: {
38
37
  path: string;
39
38
  sha256: string;
40
39
  bytes: number;
41
40
  }[];
42
- schemaVersion: 1;
41
+ format: "openclaw-engram-export";
42
+ pluginVersion: string;
43
43
  includesTranscripts: boolean;
44
44
  }>;
45
45
  type ExportManifestV1 = z.infer<typeof ExportManifestV1Schema>;
@@ -75,26 +75,26 @@ declare const ExportBundleV1Schema: z.ZodObject<{
75
75
  bytes: number;
76
76
  }>, "many">;
77
77
  }, "strip", z.ZodTypeAny, {
78
- format: "openclaw-engram-export";
78
+ schemaVersion: 1;
79
79
  createdAt: string;
80
- pluginVersion: string;
81
80
  files: {
82
81
  path: string;
83
82
  sha256: string;
84
83
  bytes: number;
85
84
  }[];
86
- schemaVersion: 1;
85
+ format: "openclaw-engram-export";
86
+ pluginVersion: string;
87
87
  includesTranscripts: boolean;
88
88
  }, {
89
- format: "openclaw-engram-export";
89
+ schemaVersion: 1;
90
90
  createdAt: string;
91
- pluginVersion: string;
92
91
  files: {
93
92
  path: string;
94
93
  sha256: string;
95
94
  bytes: number;
96
95
  }[];
97
- schemaVersion: 1;
96
+ format: "openclaw-engram-export";
97
+ pluginVersion: string;
98
98
  includesTranscripts: boolean;
99
99
  }>;
100
100
  records: z.ZodArray<z.ZodObject<{
@@ -109,15 +109,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
109
109
  }>, "many">;
110
110
  }, "strip", z.ZodTypeAny, {
111
111
  manifest: {
112
- format: "openclaw-engram-export";
112
+ schemaVersion: 1;
113
113
  createdAt: string;
114
- pluginVersion: string;
115
114
  files: {
116
115
  path: string;
117
116
  sha256: string;
118
117
  bytes: number;
119
118
  }[];
120
- schemaVersion: 1;
119
+ format: "openclaw-engram-export";
120
+ pluginVersion: string;
121
121
  includesTranscripts: boolean;
122
122
  };
123
123
  records: {
@@ -126,15 +126,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
126
126
  }[];
127
127
  }, {
128
128
  manifest: {
129
- format: "openclaw-engram-export";
129
+ schemaVersion: 1;
130
130
  createdAt: string;
131
- pluginVersion: string;
132
131
  files: {
133
132
  path: string;
134
133
  sha256: string;
135
134
  bytes: number;
136
135
  }[];
137
- schemaVersion: 1;
136
+ format: "openclaw-engram-export";
137
+ pluginVersion: string;
138
138
  includesTranscripts: boolean;
139
139
  };
140
140
  records: {
@@ -313,16 +313,16 @@ declare const CapsuleBlockSchema: z.ZodObject<{
313
313
  peerProfiles: boolean;
314
314
  }>;
315
315
  }, "strip", z.ZodTypeAny, {
316
+ schemaVersion: string;
316
317
  includes: {
317
318
  procedural: boolean;
318
319
  taxonomy: boolean;
319
320
  identityAnchors: boolean;
320
321
  peerProfiles: boolean;
321
322
  };
322
- description: string;
323
323
  id: string;
324
- schemaVersion: string;
325
324
  version: string;
325
+ description: string;
326
326
  parentCapsule: string | null;
327
327
  parent: {
328
328
  version: string;
@@ -334,16 +334,16 @@ declare const CapsuleBlockSchema: z.ZodObject<{
334
334
  directAnswerEnabled: boolean;
335
335
  };
336
336
  }, {
337
+ schemaVersion: string;
337
338
  includes: {
338
339
  procedural: boolean;
339
340
  taxonomy: boolean;
340
341
  identityAnchors: boolean;
341
342
  peerProfiles: boolean;
342
343
  };
343
- description: string;
344
344
  id: string;
345
- schemaVersion: string;
346
345
  version: string;
346
+ description: string;
347
347
  parentCapsule: string | null;
348
348
  retrievalPolicy: {
349
349
  tierWeights: Record<string, number>;
@@ -464,16 +464,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
464
464
  peerProfiles: boolean;
465
465
  }>;
466
466
  }, "strip", z.ZodTypeAny, {
467
+ schemaVersion: string;
467
468
  includes: {
468
469
  procedural: boolean;
469
470
  taxonomy: boolean;
470
471
  identityAnchors: boolean;
471
472
  peerProfiles: boolean;
472
473
  };
473
- description: string;
474
474
  id: string;
475
- schemaVersion: string;
476
475
  version: string;
476
+ description: string;
477
477
  parentCapsule: string | null;
478
478
  parent: {
479
479
  version: string;
@@ -485,16 +485,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
485
485
  directAnswerEnabled: boolean;
486
486
  };
487
487
  }, {
488
+ schemaVersion: string;
488
489
  includes: {
489
490
  procedural: boolean;
490
491
  taxonomy: boolean;
491
492
  identityAnchors: boolean;
492
493
  peerProfiles: boolean;
493
494
  };
494
- description: string;
495
495
  id: string;
496
- schemaVersion: string;
497
496
  version: string;
497
+ description: string;
498
498
  parentCapsule: string | null;
499
499
  retrievalPolicy: {
500
500
  tierWeights: Record<string, number>;
@@ -507,25 +507,27 @@ declare const ExportManifestV2Schema: z.ZodObject<{
507
507
  } | null | undefined;
508
508
  }>;
509
509
  }, "strip", z.ZodTypeAny, {
510
- format: "openclaw-engram-export";
510
+ schemaVersion: 2;
511
511
  createdAt: string;
512
- pluginVersion: string;
513
512
  files: {
514
513
  path: string;
515
514
  sha256: string;
516
515
  bytes: number;
517
516
  }[];
517
+ format: "openclaw-engram-export";
518
+ pluginVersion: string;
519
+ includesTranscripts: boolean;
518
520
  capsule: {
521
+ schemaVersion: string;
519
522
  includes: {
520
523
  procedural: boolean;
521
524
  taxonomy: boolean;
522
525
  identityAnchors: boolean;
523
526
  peerProfiles: boolean;
524
527
  };
525
- description: string;
526
528
  id: string;
527
- schemaVersion: string;
528
529
  version: string;
530
+ description: string;
529
531
  parentCapsule: string | null;
530
532
  parent: {
531
533
  version: string;
@@ -537,28 +539,28 @@ declare const ExportManifestV2Schema: z.ZodObject<{
537
539
  directAnswerEnabled: boolean;
538
540
  };
539
541
  };
540
- schemaVersion: 2;
541
- includesTranscripts: boolean;
542
542
  }, {
543
- format: "openclaw-engram-export";
543
+ schemaVersion: 2;
544
544
  createdAt: string;
545
- pluginVersion: string;
546
545
  files: {
547
546
  path: string;
548
547
  sha256: string;
549
548
  bytes: number;
550
549
  }[];
550
+ format: "openclaw-engram-export";
551
+ pluginVersion: string;
552
+ includesTranscripts: boolean;
551
553
  capsule: {
554
+ schemaVersion: string;
552
555
  includes: {
553
556
  procedural: boolean;
554
557
  taxonomy: boolean;
555
558
  identityAnchors: boolean;
556
559
  peerProfiles: boolean;
557
560
  };
558
- description: string;
559
561
  id: string;
560
- schemaVersion: string;
561
562
  version: string;
563
+ description: string;
562
564
  parentCapsule: string | null;
563
565
  retrievalPolicy: {
564
566
  tierWeights: Record<string, number>;
@@ -570,8 +572,6 @@ declare const ExportManifestV2Schema: z.ZodObject<{
570
572
  forkRoot: string;
571
573
  } | null | undefined;
572
574
  };
573
- schemaVersion: 2;
574
- includesTranscripts: boolean;
575
575
  }>;
576
576
  type ExportManifestV2 = z.infer<typeof ExportManifestV2Schema>;
577
577
  declare const ExportBundleV2Schema: z.ZodObject<{
@@ -683,16 +683,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
683
683
  peerProfiles: boolean;
684
684
  }>;
685
685
  }, "strip", z.ZodTypeAny, {
686
+ schemaVersion: string;
686
687
  includes: {
687
688
  procedural: boolean;
688
689
  taxonomy: boolean;
689
690
  identityAnchors: boolean;
690
691
  peerProfiles: boolean;
691
692
  };
692
- description: string;
693
693
  id: string;
694
- schemaVersion: string;
695
694
  version: string;
695
+ description: string;
696
696
  parentCapsule: string | null;
697
697
  parent: {
698
698
  version: string;
@@ -704,16 +704,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
704
704
  directAnswerEnabled: boolean;
705
705
  };
706
706
  }, {
707
+ schemaVersion: string;
707
708
  includes: {
708
709
  procedural: boolean;
709
710
  taxonomy: boolean;
710
711
  identityAnchors: boolean;
711
712
  peerProfiles: boolean;
712
713
  };
713
- description: string;
714
714
  id: string;
715
- schemaVersion: string;
716
715
  version: string;
716
+ description: string;
717
717
  parentCapsule: string | null;
718
718
  retrievalPolicy: {
719
719
  tierWeights: Record<string, number>;
@@ -726,25 +726,27 @@ declare const ExportBundleV2Schema: z.ZodObject<{
726
726
  } | null | undefined;
727
727
  }>;
728
728
  }, "strip", z.ZodTypeAny, {
729
- format: "openclaw-engram-export";
729
+ schemaVersion: 2;
730
730
  createdAt: string;
731
- pluginVersion: string;
732
731
  files: {
733
732
  path: string;
734
733
  sha256: string;
735
734
  bytes: number;
736
735
  }[];
736
+ format: "openclaw-engram-export";
737
+ pluginVersion: string;
738
+ includesTranscripts: boolean;
737
739
  capsule: {
740
+ schemaVersion: string;
738
741
  includes: {
739
742
  procedural: boolean;
740
743
  taxonomy: boolean;
741
744
  identityAnchors: boolean;
742
745
  peerProfiles: boolean;
743
746
  };
744
- description: string;
745
747
  id: string;
746
- schemaVersion: string;
747
748
  version: string;
749
+ description: string;
748
750
  parentCapsule: string | null;
749
751
  parent: {
750
752
  version: string;
@@ -756,28 +758,28 @@ declare const ExportBundleV2Schema: z.ZodObject<{
756
758
  directAnswerEnabled: boolean;
757
759
  };
758
760
  };
759
- schemaVersion: 2;
760
- includesTranscripts: boolean;
761
761
  }, {
762
- format: "openclaw-engram-export";
762
+ schemaVersion: 2;
763
763
  createdAt: string;
764
- pluginVersion: string;
765
764
  files: {
766
765
  path: string;
767
766
  sha256: string;
768
767
  bytes: number;
769
768
  }[];
769
+ format: "openclaw-engram-export";
770
+ pluginVersion: string;
771
+ includesTranscripts: boolean;
770
772
  capsule: {
773
+ schemaVersion: string;
771
774
  includes: {
772
775
  procedural: boolean;
773
776
  taxonomy: boolean;
774
777
  identityAnchors: boolean;
775
778
  peerProfiles: boolean;
776
779
  };
777
- description: string;
778
780
  id: string;
779
- schemaVersion: string;
780
781
  version: string;
782
+ description: string;
781
783
  parentCapsule: string | null;
782
784
  retrievalPolicy: {
783
785
  tierWeights: Record<string, number>;
@@ -789,8 +791,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
789
791
  forkRoot: string;
790
792
  } | null | undefined;
791
793
  };
792
- schemaVersion: 2;
793
- includesTranscripts: boolean;
794
794
  }>;
795
795
  records: z.ZodArray<z.ZodObject<{
796
796
  path: z.ZodString;
@@ -804,25 +804,27 @@ declare const ExportBundleV2Schema: z.ZodObject<{
804
804
  }>, "many">;
805
805
  }, "strip", z.ZodTypeAny, {
806
806
  manifest: {
807
- format: "openclaw-engram-export";
807
+ schemaVersion: 2;
808
808
  createdAt: string;
809
- pluginVersion: string;
810
809
  files: {
811
810
  path: string;
812
811
  sha256: string;
813
812
  bytes: number;
814
813
  }[];
814
+ format: "openclaw-engram-export";
815
+ pluginVersion: string;
816
+ includesTranscripts: boolean;
815
817
  capsule: {
818
+ schemaVersion: string;
816
819
  includes: {
817
820
  procedural: boolean;
818
821
  taxonomy: boolean;
819
822
  identityAnchors: boolean;
820
823
  peerProfiles: boolean;
821
824
  };
822
- description: string;
823
825
  id: string;
824
- schemaVersion: string;
825
826
  version: string;
827
+ description: string;
826
828
  parentCapsule: string | null;
827
829
  parent: {
828
830
  version: string;
@@ -834,8 +836,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
834
836
  directAnswerEnabled: boolean;
835
837
  };
836
838
  };
837
- schemaVersion: 2;
838
- includesTranscripts: boolean;
839
839
  };
840
840
  records: {
841
841
  content: string;
@@ -843,25 +843,27 @@ declare const ExportBundleV2Schema: z.ZodObject<{
843
843
  }[];
844
844
  }, {
845
845
  manifest: {
846
- format: "openclaw-engram-export";
846
+ schemaVersion: 2;
847
847
  createdAt: string;
848
- pluginVersion: string;
849
848
  files: {
850
849
  path: string;
851
850
  sha256: string;
852
851
  bytes: number;
853
852
  }[];
853
+ format: "openclaw-engram-export";
854
+ pluginVersion: string;
855
+ includesTranscripts: boolean;
854
856
  capsule: {
857
+ schemaVersion: string;
855
858
  includes: {
856
859
  procedural: boolean;
857
860
  taxonomy: boolean;
858
861
  identityAnchors: boolean;
859
862
  peerProfiles: boolean;
860
863
  };
861
- description: string;
862
864
  id: string;
863
- schemaVersion: string;
864
865
  version: string;
866
+ description: string;
865
867
  parentCapsule: string | null;
866
868
  retrievalPolicy: {
867
869
  tierWeights: Record<string, number>;
@@ -873,8 +875,6 @@ declare const ExportBundleV2Schema: z.ZodObject<{
873
875
  forkRoot: string;
874
876
  } | null | undefined;
875
877
  };
876
- schemaVersion: 2;
877
- includesTranscripts: boolean;
878
878
  };
879
879
  records: {
880
880
  content: string;
@@ -1,4 +1,4 @@
1
- import { F as FaithfulnessFrontmatter, J as ProvenanceSource, K as TrustWeights, Q as QmdSearchResult } from './types-DHBxIF0s.js';
1
+ import { F as FaithfulnessFrontmatter, N as ProvenanceSource, O as TrustWeights, Q as QmdSearchResult } from './types-BA7W-_xy.js';
2
2
  import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
3
3
  import './message-parts/index.js';
4
4
  import './bounded-jsonl-state.js';
@@ -1,4 +1,4 @@
1
- import { K as TrustWeights } from './types-DHBxIF0s.js';
1
+ import { O as TrustWeights } from './types-BA7W-_xy.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1122,6 +1122,56 @@ declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessO
1122
1122
  };
1123
1123
  }, nowMs?: number): Promise<string[]>;
1124
1124
 
1125
+ /**
1126
+ * `replicaPeers` config surface (issue #2149) — types + parser.
1127
+ *
1128
+ * Deliberately split out of replica-divergence.ts as a LIGHT module: it imports
1129
+ * no heavy modules (no corpus-watermark, no access-token-capabilities). PluginConfig
1130
+ * carries `replicaPeers: ReplicaPeersConfig`, so types.ts imports ReplicaPeersConfig
1131
+ * from HERE. If that type instead lived in replica-divergence.ts (which pulls in the
1132
+ * corpus census graph), then types.ts -> replica-divergence.ts -> corpus-watermark.ts
1133
+ * -> types.ts would form a heavy import cycle that rollup-plugin-dts re-expands across
1134
+ * every PluginConfig-inlining entry, OOMing the default-heap DTS worker (the issue
1135
+ * #1562 heap cliff). Keeping the config surface corpus-free severs that cycle.
1136
+ */
1137
+
1138
+ interface ReplicaPeerConfig {
1139
+ /** Base URL of the peer's agent-access HTTP server (http/https). */
1140
+ url: string;
1141
+ /**
1142
+ * Bearer token for the peer's authenticated `/health`. A literal string
1143
+ * (env-expanded) or an unresolved SecretRef preserved verbatim and resolved
1144
+ * at poll time — mirrors `agentAccessHttp.authToken` exactly.
1145
+ */
1146
+ token?: AgentAccessAuthToken;
1147
+ }
1148
+ interface ReplicaPeersConfig {
1149
+ /** Master gate. Default false — a daemon with no peers behaves exactly as before. */
1150
+ enabled: boolean;
1151
+ /** Peers to poll. Default []. */
1152
+ peers: ReplicaPeerConfig[];
1153
+ /** How often a peer is re-polled (SWR TTL), ms. Default 5 min. */
1154
+ pollIntervalMs: number;
1155
+ /** Per-peer request timeout, ms. Default 10s. */
1156
+ requestTimeoutMs: number;
1157
+ /** File-count delta (per namespace) beyond which a peer is flagged diverged. Default 100. */
1158
+ maxFileCountDelta: number;
1159
+ /** Newest-write timestamp gap (per namespace) beyond which a peer is flagged diverged, ms. Default 15 min. */
1160
+ maxWatermarkAgeDeltaMs: number;
1161
+ }
1162
+ declare function parseReplicaPeersConfig(cfg: Record<string, unknown>): ReplicaPeersConfig;
1163
+ /**
1164
+ * READ-boundary resolver (mirrors `resolveExtractionLivenessConfig`, issue #2155).
1165
+ * `parseConfig` always populates `replicaPeers`, but a host adapter, an older
1166
+ * persisted config, or a hand-built `PluginConfig` can hand a READ surface
1167
+ * (/health, doctor) an absent, partial, or loosely-typed block. Every replica
1168
+ * surface must degrade to the documented default (disabled, no peers, no polling)
1169
+ * rather than throw — `/health` must stay answerable. Unlike the strict parser, a
1170
+ * present-but-invalid field falls back to its default here instead of throwing, and
1171
+ * a malformed peer entry is dropped rather than aborting the whole block.
1172
+ */
1173
+ declare function resolveReplicaPeersConfig(block: unknown): ReplicaPeersConfig;
1174
+
1125
1175
  /**
1126
1176
  * dreams-ledger.ts — per-phase telemetry for the Dreams consolidation pipeline.
1127
1177
  *
@@ -2270,9 +2320,8 @@ interface PluginConfig extends BoundedJsonlStateConfig {
2270
2320
  dreamsPhases: DreamsPhasesConfig;
2271
2321
  procedural: ProceduralConfig;
2272
2322
  extractionLiveness: ExtractionLivenessConfig;
2273
- /** Claim-level provenance spans (#1575); see `ProvenanceConfig` for defaults.
2274
- * PR 1 parses + persists only; extraction wiring lands in PR 2.
2275
- */
2323
+ replicaPeers: ReplicaPeersConfig;
2324
+ /** Claim-level provenance spans (#1575); see `ProvenanceConfig` for defaults. */
2276
2325
  provenance: ProvenanceConfig;
2277
2326
  /**
2278
2327
  * Wearable transcript ingestion (Limitless / Bee / Omi connectors).
@@ -4626,4 +4675,4 @@ interface HourlySummary {
4626
4675
  generatedAt: string;
4627
4676
  }
4628
4677
 
4629
- export { type ActiveRecallThinking as $, type AgentPersonaModelConfig as A, type BriefingSections as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ProvenanceSource as J, type TrustWeights as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ConversationThread as N, type LifecycleState as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type PolicyClass as U, type VerificationState as V, type ExtractionFailureClass as W, type ImportanceLevel as X, type ActiveRecallChatType as Y, type ActiveRecallQueryMode as Z, type ActiveRecallPromptStyle as _, type DreamsRunResult as a, type MeetingBuildInput as a$, type ActiveRecallModelFallbackPolicy as a0, type BehaviorSignalEvent as a1, type BufferSurpriseEvent as a2, type ImportTurn as a3, type BulkImportOptions as a4, type BulkImportSource as a5, type BulkImportResult as a6, type SecretRef as a7, type AgentAccessAuthToken as a8, type CompressionGuidelineOptimizerEventCounts as a9, type ActivitySourceConfig as aA, type ActivitySourceClient as aB, type FusedWearableConversation as aC, type FusedDayMeta as aD, type FusedDayFile as aE, type MeetingRecord as aF, type MeetingDetectionSource as aG, type FusedMeeting as aH, type EntityTimelineEntry as aI, type MemoryLink as aJ, type BufferState as aK, type MetaState as aL, type FileHygieneConfig as aM, type EntityRelationship as aN, type EntityActivityEntry as aO, type AccessTrackingEntry as aP, type MemorySummary as aQ, type WearableConversation as aR, type WearableSourceSettings as aS, type WearableNativeMemory as aT, type WearableMemoryMode as aU, type WearableSourceConnector as aV, type WearablesConfig as aW, type WearableSyncSummary as aX, type WearableSourceStatus as aY, type WearableDayTranscript as aZ, type WearableCorrectionRule as a_, type CompressionGuidelineOptimizerActionSummary as aa, type CompressionGuidelineOptimizerRuleUpdate as ab, type MemoryActionType as ac, type MemoryActionEvent as ad, type CompressionGuidelineOptimizerState as ae, type EntityMention as af, type EntitySchemaDefinition as ag, type EntitySchemaSectionDefinition as ah, type EntityStructuredSection as ai, type ImportanceScore as aj, type MemoryIntent as ak, type MemoryActionEligibilityContext as al, type MemoryActionPolicyResult as am, type MemoryLifecycleEventType as an, type MemoryLifecycleStateSummary as ao, type ModelProviderConfig as ap, type NativeKnowledgeConfig as aq, type ExtractionBufferSource as ar, summarizeExtractionLiveness as as, type ProvenanceConfig as at, type RetrievalTier as au, type SignalScanResult as av, type TopicScore as aw, type QmdSearchExplain as ax, type ActivitySnapshot as ay, type ActivityConfig as az, type RecallDisclosure as b, evaluateExtractionLiveness as b$, type MeetingsConfig as b0, type MeetingsDetectionInput as b1, type FusionConversationInput as b2, type MeetingActivitySnapshot as b3, type DetectedMeeting as b4, type CodingContext as b5, type DreamsStatusResult as b6, type RecallSectionConfig as b7, type BootstrapOptions as b8, type BootstrapResult as b9, type DisagreementKind as bA, type ExtractedFact as bB, type FusedContribution as bC, type FusedConversationProvenance as bD, type FusedSegmentProvenance as bE, type FusionSegmentInput as bF, type ImportSourceRole as bG, type ImportTurnValidationIssue as bH, type MeetingScreenContextEvent as bI, type MeetingSummaryMode as bJ, type MemoryActionEligibilitySource as bK, type MemoryObservation as bL, type MemoryScope as bM, RECALL_DISCLOSURE_LEVELS as bN, type SegmentPickReason as bO, type WearableAuthCheck as bP, type WearableFetchOptions as bQ, type WearableFetchPage as bR, type WearableNativeMemoryPage as bS, type WearableTranscriptSegment as bT, isImportRole as bU, isRecallDisclosure as bV, parseIsoTimestamp as bW, validateImportTurn as bX, type ExtractionLivenessConfig as bY, ExtractionLivenessWarnThrottle as bZ, computeExtractionLivenessStatus as b_, type ConsolidationObservation as ba, type CodingModeConfig as bb, type FusedSpeaker as bc, type FusedSegment as bd, type FusedDisagreement as be, type FusionOptions as bf, type FusionDayResult as bg, type CodingKnowledgeConfig as bh, type WearableCleanupSettings as bi, type WearableFusionConfig as bj, type WearableDayTranscriptMeta as bk, type ActivityDayMeta as bl, type ActivityDayDigest as bm, type ActivitySourceCheck as bn, type ActivitySnapshotPage as bo, type MeetingsDetectionConfig as bp, type MeetingAudioWindow as bq, type MeetingAppSpan as br, type ActivityExtractionMode as bs, type BriefingConfig as bt, type BriefingOpenCommitment as bu, type BriefingWindow as bv, type BulkImportError as bw, type BulkImportSourceAdapter as bx, type CodexCompatConfig as by, DEFAULT_RECALL_DISCLOSURE as bz, type RecallTierExplain as c, type ProceduralConfig as c$, formatAgeMs as c0, gatherExtractionLivenessStatus as c1, parseExtractionLivenessConfig as c2, renderExtractionLivenessStats as c3, resolveExtractionLivenessConfig as c4, type AgentAccessHttpConfig as c5, type AgentDefaultsConfig as c6, type AgentPersona as c7, type BehaviorLoopAdjustment as c8, type BehaviorSignalDirection as c9, type ExtractedQuestion as cA, type ExtractedReasoningTrace as cB, type ExtractedReasoningTraceStep as cC, type ExtractedRelationship as cD, type ExtractionPassSource as cE, type GitHubLiveConnectorConfig as cF, type GmailLiveConnectorConfig as cG, type GoogleDriveLiveConnectorConfig as cH, type HeartbeatConfig as cI, type HeartbeatDetectionMode as cJ, type LlmTraceCallback as cK, type LlmTraceEvent as cL, type MemoryActionOutcome as cM, type MemoryActionPolicyDecision as cN, type MemoryActionStatus as cO, type MemoryLinkType as cP, type MemoryOsPresetName as cQ, type ModelApi as cR, type ModelDefinitionConfig as cS, type ModelProviderAuthMode as cT, type NamespacePolicy as cU, type NativeKnowledgeFolderRuleConfig as cV, type NativeKnowledgeObsidianVaultConfig as cW, type NativeKnowledgeOpenClawWorkspaceConfig as cX, type NotionLiveConnectorConfig as cY, type PrincipalFromSessionKeyMode as cZ, type PrincipalRule as c_, type BehaviorSignalType as ca, type BriefingCalendarSourceError as cb, type BufferEntryState as cc, type CaptureMode as cd, type ChatConfig as ce, type CodexCliReasoningEffort as cf, type CodexCompactionFlushMode as cg, type CodexConnectorConfig as ch, type CodingGraphLspConfig as ci, type CompressionGuidelineActivationState as cj, type CompressionGuidelineOptimizerSourceWindow as ck, type ConfidenceTier as cl, type ConsolidationAction as cm, type ConsolidationItem as cn, type ContradictionScanConfig as co, type CronConversationRecallMode as cp, type CronRecallMode as cq, type DreamingConfig as cr, type DreamingNarrativePromptStyle as cs, type DreamsDeepSleepConfig as ct, type DreamsLightSleepConfig as cu, type DreamsPhaseStatus as cv, type DreamsPhasesConfig as cw, type DreamsRemConfig as cx, type EngramTraceEvent as cy, type ExtractedProcedureStep as cz, type BriefingFollowup as d, type QuestionEntry as d0, type ReasoningEffort as d1, type RecallPipelineConfig as d2, type RecallTraceEvent as d3, type RelevanceFeedback as d4, SPECULATIVE_TTL_DAYS as d5, type ScopeProfileAutoPromoteConfig as d6, type ScopeProfileTeamProjectConfig as d7, type ScopeTeamConfig as d8, type ScoredEntity as d9, type SemanticChunkingConfigShape as da, type SignalLevel as db, type SlotBehaviorConfig as dc, type SlotMismatchMode as dd, type TriggerMode as de, confidenceTier as df, type BriefingFocus as e, type CalendarEvent as f, type BriefingActiveThread as g, type BriefingResult as h, type BriefingRecentEntity as i, type BufferTurn as j, type ExtractionBufferSnapshot as k, type MemoryFrontmatter as l, type Checkpoint as m, type SourceConnectorProvenance as n, type ScopeProfileConfig as o, type ScopeProfileLayerId as p, type ScopeProfilePromotionTarget as q, type BehaviorLoopPolicyState as r, type ExtractionLivenessStatus as s, type MemoryCategory as t, type MemoryStatus as u, type MemoryProjectionCurrentState as v, type MemoryLifecycleEvent as w, type ExtractionResult as x, type ConsolidationResult as y, type DaySummaryResult as z };
4678
+ export { type ImportanceLevel as $, type AgentPersonaModelConfig as A, type BriefingSections as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ConsolidationResult as J, type DaySummaryResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ProvenanceSource as N, type TrustWeights as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type ConversationThread as U, type LifecycleState as V, type VerificationState as W, type PolicyClass as X, type ReplicaPeersConfig as Y, type ReplicaPeerConfig as Z, type ExtractionFailureClass as _, type DreamsRunResult as a, type WearableDayTranscript as a$, type ActiveRecallChatType as a0, type ActiveRecallQueryMode as a1, type ActiveRecallPromptStyle as a2, type ActiveRecallThinking as a3, type ActiveRecallModelFallbackPolicy as a4, type BehaviorSignalEvent as a5, type BufferSurpriseEvent as a6, type ImportTurn as a7, type BulkImportOptions as a8, type BulkImportSource as a9, type ActivitySnapshot as aA, type ActivityConfig as aB, type ActivitySourceConfig as aC, type ActivitySourceClient as aD, type FusedWearableConversation as aE, type FusedDayMeta as aF, type FusedDayFile as aG, type MeetingRecord as aH, type MeetingDetectionSource as aI, type FusedMeeting as aJ, type EntityTimelineEntry as aK, type MemoryLink as aL, type BufferState as aM, type MetaState as aN, type FileHygieneConfig as aO, type EntityRelationship as aP, type EntityActivityEntry as aQ, type AccessTrackingEntry as aR, type MemorySummary as aS, type WearableConversation as aT, type WearableSourceSettings as aU, type WearableNativeMemory as aV, type WearableMemoryMode as aW, type WearableSourceConnector as aX, type WearablesConfig as aY, type WearableSyncSummary as aZ, type WearableSourceStatus as a_, type BulkImportResult as aa, type CompressionGuidelineOptimizerEventCounts as ab, type CompressionGuidelineOptimizerActionSummary as ac, type CompressionGuidelineOptimizerRuleUpdate as ad, type MemoryActionType as ae, type MemoryActionEvent as af, type CompressionGuidelineOptimizerState as ag, type EntityMention as ah, type EntitySchemaDefinition as ai, type EntitySchemaSectionDefinition as aj, type EntityStructuredSection as ak, type ImportanceScore as al, type MemoryIntent as am, type MemoryActionEligibilityContext as an, type MemoryActionPolicyResult as ao, type MemoryLifecycleEventType as ap, type MemoryLifecycleStateSummary as aq, type ModelProviderConfig as ar, type NativeKnowledgeConfig as as, type ExtractionBufferSource as at, summarizeExtractionLiveness as au, type ProvenanceConfig as av, type RetrievalTier as aw, type SignalScanResult as ax, type TopicScore as ay, type QmdSearchExplain as az, type RecallDisclosure as b, ExtractionLivenessWarnThrottle as b$, type WearableCorrectionRule as b0, type MeetingBuildInput as b1, type MeetingsConfig as b2, type MeetingsDetectionInput as b3, type FusionConversationInput as b4, type MeetingActivitySnapshot as b5, type DetectedMeeting as b6, type CodingContext as b7, type DreamsStatusResult as b8, type RecallSectionConfig as b9, type CodexCompatConfig as bA, DEFAULT_RECALL_DISCLOSURE as bB, type DisagreementKind as bC, type ExtractedFact as bD, type FusedContribution as bE, type FusedConversationProvenance as bF, type FusedSegmentProvenance as bG, type FusionSegmentInput as bH, type ImportSourceRole as bI, type ImportTurnValidationIssue as bJ, type MeetingScreenContextEvent as bK, type MeetingSummaryMode as bL, type MemoryActionEligibilitySource as bM, type MemoryObservation as bN, type MemoryScope as bO, RECALL_DISCLOSURE_LEVELS as bP, type SegmentPickReason as bQ, type WearableAuthCheck as bR, type WearableFetchOptions as bS, type WearableFetchPage as bT, type WearableNativeMemoryPage as bU, type WearableTranscriptSegment as bV, isImportRole as bW, isRecallDisclosure as bX, parseIsoTimestamp as bY, validateImportTurn as bZ, type ExtractionLivenessConfig as b_, type BootstrapOptions as ba, type BootstrapResult as bb, type ConsolidationObservation as bc, type CodingModeConfig as bd, type FusedSpeaker as be, type FusedSegment as bf, type FusedDisagreement as bg, type FusionOptions as bh, type FusionDayResult as bi, type CodingKnowledgeConfig as bj, type WearableCleanupSettings as bk, type WearableFusionConfig as bl, type WearableDayTranscriptMeta as bm, type ActivityDayMeta as bn, type ActivityDayDigest as bo, type ActivitySourceCheck as bp, type ActivitySnapshotPage as bq, type MeetingsDetectionConfig as br, type MeetingAudioWindow as bs, type MeetingAppSpan as bt, type ActivityExtractionMode as bu, type BriefingConfig as bv, type BriefingOpenCommitment as bw, type BriefingWindow as bx, type BulkImportError as by, type BulkImportSourceAdapter as bz, type RecallTierExplain as c, type NativeKnowledgeOpenClawWorkspaceConfig as c$, computeExtractionLivenessStatus as c0, evaluateExtractionLiveness as c1, formatAgeMs as c2, gatherExtractionLivenessStatus as c3, parseExtractionLivenessConfig as c4, renderExtractionLivenessStats as c5, resolveExtractionLivenessConfig as c6, parseReplicaPeersConfig as c7, resolveReplicaPeersConfig as c8, type AgentAccessHttpConfig as c9, type DreamsPhasesConfig as cA, type DreamsRemConfig as cB, type EngramTraceEvent as cC, type ExtractedProcedureStep as cD, type ExtractedQuestion as cE, type ExtractedReasoningTrace as cF, type ExtractedReasoningTraceStep as cG, type ExtractedRelationship as cH, type ExtractionPassSource as cI, type GitHubLiveConnectorConfig as cJ, type GmailLiveConnectorConfig as cK, type GoogleDriveLiveConnectorConfig as cL, type HeartbeatConfig as cM, type HeartbeatDetectionMode as cN, type LlmTraceCallback as cO, type LlmTraceEvent as cP, type MemoryActionOutcome as cQ, type MemoryActionPolicyDecision as cR, type MemoryActionStatus as cS, type MemoryLinkType as cT, type MemoryOsPresetName as cU, type ModelApi as cV, type ModelDefinitionConfig as cW, type ModelProviderAuthMode as cX, type NamespacePolicy as cY, type NativeKnowledgeFolderRuleConfig as cZ, type NativeKnowledgeObsidianVaultConfig as c_, type AgentDefaultsConfig as ca, type AgentPersona as cb, type BehaviorLoopAdjustment as cc, type BehaviorSignalDirection as cd, type BehaviorSignalType as ce, type BriefingCalendarSourceError as cf, type BufferEntryState as cg, type CaptureMode as ch, type ChatConfig as ci, type CodexCliReasoningEffort as cj, type CodexCompactionFlushMode as ck, type CodexConnectorConfig as cl, type CodingGraphLspConfig as cm, type CompressionGuidelineActivationState as cn, type CompressionGuidelineOptimizerSourceWindow as co, type ConfidenceTier as cp, type ConsolidationAction as cq, type ConsolidationItem as cr, type ContradictionScanConfig as cs, type CronConversationRecallMode as ct, type CronRecallMode as cu, type DreamingConfig as cv, type DreamingNarrativePromptStyle as cw, type DreamsDeepSleepConfig as cx, type DreamsLightSleepConfig as cy, type DreamsPhaseStatus as cz, type BriefingFollowup as d, type NotionLiveConnectorConfig as d0, type PrincipalFromSessionKeyMode as d1, type PrincipalRule as d2, type ProceduralConfig as d3, type QuestionEntry as d4, type ReasoningEffort as d5, type RecallPipelineConfig as d6, type RecallTraceEvent as d7, type RelevanceFeedback as d8, SPECULATIVE_TTL_DAYS as d9, type ScopeProfileAutoPromoteConfig as da, type ScopeProfileTeamProjectConfig as db, type ScopeTeamConfig as dc, type ScoredEntity as dd, type SemanticChunkingConfigShape as de, type SignalLevel as df, type SlotBehaviorConfig as dg, type SlotMismatchMode as dh, type TriggerMode as di, confidenceTier as dj, type BriefingFocus as e, type CalendarEvent as f, type BriefingActiveThread as g, type BriefingResult as h, type BriefingRecentEntity as i, type BufferTurn as j, type ExtractionBufferSnapshot as k, type MemoryFrontmatter as l, type Checkpoint as m, type SourceConnectorProvenance as n, type ScopeProfileConfig as o, type ScopeProfileLayerId as p, type ScopeProfilePromotionTarget as q, type BehaviorLoopPolicyState as r, type SecretRef as s, type AgentAccessAuthToken as t, type ExtractionLivenessStatus as u, type MemoryCategory as v, type MemoryStatus as w, type MemoryProjectionCurrentState as x, type MemoryLifecycleEvent as y, type ExtractionResult as z };