@remnic/core 9.4.0 → 9.4.2

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 (329) hide show
  1. package/dist/access-admin-ops-surface.d.ts +5 -5
  2. package/dist/access-admin-ops-surface.js +22 -21
  3. package/dist/access-boundary.d.ts +5 -5
  4. package/dist/access-boundary.js +23 -22
  5. package/dist/access-cli.js +63 -62
  6. package/dist/access-cli.js.map +1 -1
  7. package/dist/access-http.d.ts +5 -5
  8. package/dist/access-http.js +31 -30
  9. package/dist/access-identity-continuity-surface.d.ts +4 -4
  10. package/dist/access-identity-continuity-surface.js +22 -21
  11. package/dist/access-lcm-surface.d.ts +5 -5
  12. package/dist/access-lcm-surface.js +22 -21
  13. package/dist/access-mcp.d.ts +5 -5
  14. package/dist/access-mcp.js +27 -26
  15. package/dist/access-observe-write-surface.d.ts +5 -5
  16. package/dist/access-observe-write-surface.js +22 -21
  17. package/dist/access-operations-batch.js +24 -23
  18. package/dist/access-operations.d.ts +9 -9
  19. package/dist/access-operations.js +26 -25
  20. package/dist/access-recall-surface.d.ts +5 -5
  21. package/dist/access-recall-surface.js +22 -21
  22. package/dist/access-schema.d.ts +68 -68
  23. package/dist/access-schema.js +3 -3
  24. package/dist/{access-service-CdW6B2qQ.d.ts → access-service-m-2VO_Ig.d.ts} +3 -3
  25. package/dist/access-service.d.ts +5 -5
  26. package/dist/access-service.js +22 -21
  27. package/dist/access-surface-catalog.d.ts +5 -5
  28. package/dist/action-confidence.d.ts +1 -1
  29. package/dist/active-memory-bridge.d.ts +1 -1
  30. package/dist/active-recall.d.ts +1 -1
  31. package/dist/active-recall.js +1 -1
  32. package/dist/adapters/index.js +4 -4
  33. package/dist/adapters/registry.js +2 -2
  34. package/dist/{auto-sync-M47VTCFI.js → auto-sync-HMHQHUAG.js} +4 -4
  35. package/dist/behavior-learner.d.ts +1 -1
  36. package/dist/behavior-signals.d.ts +1 -1
  37. package/dist/bootstrap.d.ts +4 -4
  38. package/dist/briefing.d.ts +1 -1
  39. package/dist/briefing.js +5 -5
  40. package/dist/buffer-surprise-report.d.ts +1 -1
  41. package/dist/buffer.d.ts +1 -1
  42. package/dist/calibration.d.ts +1 -1
  43. package/dist/capabilities.d.ts +1 -1
  44. package/dist/{catalog-bflYNWsM.d.ts → catalog-BxWokdC2.d.ts} +1 -1
  45. package/dist/causal-behavior.d.ts +1 -1
  46. package/dist/causal-consolidation.d.ts +1 -1
  47. package/dist/causal-consolidation.js +6 -6
  48. package/dist/causal-trajectory-graph.d.ts +1 -1
  49. package/dist/{chunk-TKUQSXU4.js → chunk-27FLVMDC.js} +12 -12
  50. package/dist/{chunk-XXEOGY77.js → chunk-2FOD2YY3.js} +7 -7
  51. package/dist/{chunk-6Y4JTNX7.js → chunk-2MR3MFQB.js} +2 -2
  52. package/dist/{chunk-AU7Q3LSC.js → chunk-2QSZNTDO.js} +4 -4
  53. package/dist/{chunk-64ZYXSCO.js → chunk-2U2A5HF4.js} +10 -4
  54. package/dist/chunk-2U2A5HF4.js.map +1 -0
  55. package/dist/{chunk-RBGL4MKQ.js → chunk-3F4N4WDH.js} +75 -110
  56. package/dist/chunk-3F4N4WDH.js.map +1 -0
  57. package/dist/{chunk-4NMATTXV.js → chunk-4BFRBP45.js} +2 -2
  58. package/dist/{chunk-L4UZBJNM.js → chunk-4P4626RY.js} +4 -4
  59. package/dist/{chunk-XZJMIJLW.js → chunk-5QZDMSSN.js} +29 -29
  60. package/dist/chunk-64UDOIMI.js +121 -0
  61. package/dist/chunk-64UDOIMI.js.map +1 -0
  62. package/dist/{chunk-H2EJNV2Z.js → chunk-66FLU5BT.js} +2 -2
  63. package/dist/{chunk-MWH5MAFP.js → chunk-6BISDEN6.js} +5 -5
  64. package/dist/{chunk-VBVSN2TV.js → chunk-6ZIETXZ2.js} +2 -2
  65. package/dist/{chunk-42BBIR33.js → chunk-7N2RUBAP.js} +2 -2
  66. package/dist/{chunk-UQI2NHTY.js → chunk-7QWMTOIF.js} +37 -37
  67. package/dist/{chunk-QICQ35K5.js → chunk-7Z2DZNWN.js} +17 -8
  68. package/dist/{chunk-QICQ35K5.js.map → chunk-7Z2DZNWN.js.map} +1 -1
  69. package/dist/{chunk-JI5AVXYO.js → chunk-AKUCU7CI.js} +5 -5
  70. package/dist/{chunk-FT37KV7R.js → chunk-BGTAL46Y.js} +2 -2
  71. package/dist/{chunk-7VFZTJ7K.js → chunk-BV2TIZ4F.js} +2 -2
  72. package/dist/{chunk-FWPHPN3V.js → chunk-CLX5VDNY.js} +5 -5
  73. package/dist/{chunk-TH2KIPP7.js → chunk-CZAA5N5S.js} +2 -2
  74. package/dist/{chunk-7BAJAXGB.js → chunk-CZAZX7JP.js} +4 -4
  75. package/dist/{chunk-APMGGGTY.js → chunk-DGYCWCQ7.js} +2 -2
  76. package/dist/{chunk-GEVIE5NV.js → chunk-DR6PEJU3.js} +4 -4
  77. package/dist/{chunk-2TCZE3C2.js → chunk-EPGWWCZF.js} +2 -2
  78. package/dist/{chunk-OUXPVWTZ.js → chunk-FLVL4L3L.js} +5 -5
  79. package/dist/{chunk-YPL66L3U.js → chunk-FZGGZAAU.js} +2 -2
  80. package/dist/{chunk-XOE5DYQL.js → chunk-HRCACVHL.js} +2 -2
  81. package/dist/{chunk-KS4PRHRD.js → chunk-IC6QX5TC.js} +2 -2
  82. package/dist/{chunk-H25TAODC.js → chunk-ILFJ7AVS.js} +4 -4
  83. package/dist/{chunk-UQMCR5RW.js → chunk-JLR3JSTL.js} +3 -3
  84. package/dist/{chunk-5H56JAHW.js → chunk-KCJ5H6XQ.js} +2 -2
  85. package/dist/{chunk-H5IT5JL7.js → chunk-LOR6ZM5R.js} +3 -3
  86. package/dist/{chunk-VBBMTSOV.js → chunk-M7GGMGMZ.js} +6 -6
  87. package/dist/{chunk-G47FEGGK.js → chunk-NG7YBCJO.js} +4 -4
  88. package/dist/{chunk-QGS7Z7YU.js → chunk-OHDJ34CC.js} +2 -2
  89. package/dist/{chunk-UAOZJX5J.js → chunk-P6SYWE4G.js} +53 -6
  90. package/dist/chunk-P6SYWE4G.js.map +1 -0
  91. package/dist/{chunk-LLMZK53N.js → chunk-PUBTHW5O.js} +2 -2
  92. package/dist/{chunk-AGNBY3VG.js → chunk-PYHOAXTI.js} +2 -2
  93. package/dist/{chunk-SXN3LCUT.js → chunk-RHOZ5LLO.js} +100 -4
  94. package/dist/chunk-RHOZ5LLO.js.map +1 -0
  95. package/dist/{chunk-6KYMPV2O.js → chunk-RL6NEVXT.js} +45 -2
  96. package/dist/chunk-RL6NEVXT.js.map +1 -0
  97. package/dist/{chunk-7WV3F5DQ.js → chunk-V7IZKJI3.js} +2 -2
  98. package/dist/{chunk-IGF4DII6.js → chunk-X4A62ET7.js} +9 -9
  99. package/dist/{chunk-OH6BKCPB.js → chunk-XN3TUUX2.js} +2 -2
  100. package/dist/{chunk-5K5VEDFY.js → chunk-YDSWRD33.js} +4 -4
  101. package/dist/{chunk-ABGDGBDT.js → chunk-YPEMNNNY.js} +2 -2
  102. package/dist/{chunk-YM7IEUO7.js → chunk-ZPOROUTX.js} +2 -2
  103. package/dist/{cli-Dfnc66gs.d.ts → cli-EiBBOt3r.d.ts} +3 -3
  104. package/dist/cli.d.ts +6 -6
  105. package/dist/cli.js +51 -50
  106. package/dist/compounding/engine.d.ts +1 -1
  107. package/dist/compounding/engine.js +5 -5
  108. package/dist/compounding/preference-consolidator.d.ts +1 -1
  109. package/dist/compression-optimizer.d.ts +1 -1
  110. package/dist/config.d.ts +1 -1
  111. package/dist/config.js +1 -1
  112. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  113. package/dist/connectors/codex-materialize-runner.js +5 -5
  114. package/dist/connectors/codex-materialize.d.ts +1 -1
  115. package/dist/connectors/index.d.ts +1 -1
  116. package/dist/connectors/index.js +5 -5
  117. package/dist/consolidation-provenance-check.d.ts +1 -1
  118. package/dist/consolidation-undo.d.ts +1 -1
  119. package/dist/contradiction/index.d.ts +1 -1
  120. package/dist/conversation-index/backend.d.ts +1 -1
  121. package/dist/conversation-index/backend.js +2 -2
  122. package/dist/conversation-index/chunker.d.ts +1 -1
  123. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  124. package/dist/conversation-index/indexer.d.ts +1 -1
  125. package/dist/conversation-index/search.d.ts +1 -1
  126. package/dist/day-summary.d.ts +1 -1
  127. package/dist/delinearize.d.ts +1 -1
  128. package/dist/direct-answer-wiring.d.ts +1 -1
  129. package/dist/direct-answer.d.ts +1 -1
  130. package/dist/embedding-fallback.d.ts +1 -1
  131. package/dist/enrichment/index.d.ts +1 -1
  132. package/dist/entity-retrieval.d.ts +1 -1
  133. package/dist/entity-retrieval.js +5 -5
  134. package/dist/entity-schema.d.ts +1 -1
  135. package/dist/explicit-capture.d.ts +4 -4
  136. package/dist/extraction-faithfulness.d.ts +1 -1
  137. package/dist/extraction-judge-telemetry.d.ts +1 -1
  138. package/dist/extraction-judge-training.d.ts +1 -1
  139. package/dist/extraction-judge.d.ts +1 -1
  140. package/dist/extraction.d.ts +1 -1
  141. package/dist/fallback-llm.d.ts +1 -1
  142. package/dist/graph-dashboard-diff.d.ts +1 -1
  143. package/dist/graph-dashboard-key.d.ts +1 -1
  144. package/dist/graph-dashboard-parser.d.ts +1 -1
  145. package/dist/graph-edge-reinforcement.d.ts +1 -1
  146. package/dist/graph-snapshot.d.ts +1 -1
  147. package/dist/graph.d.ts +1 -1
  148. package/dist/identity-continuity.d.ts +1 -1
  149. package/dist/importance.d.ts +1 -1
  150. package/dist/index.d.ts +17 -12
  151. package/dist/index.js +79 -78
  152. package/dist/intent.d.ts +1 -1
  153. package/dist/lcm/engine.d.ts +1 -1
  154. package/dist/lcm/engine.js +4 -4
  155. package/dist/lcm/index.d.ts +1 -1
  156. package/dist/lcm/index.js +6 -6
  157. package/dist/lcm/schema.js +2 -2
  158. package/dist/lcm/tools.d.ts +1 -1
  159. package/dist/lifecycle.d.ts +1 -1
  160. package/dist/live-connectors-runner.d.ts +1 -1
  161. package/dist/local-llm.d.ts +1 -1
  162. package/dist/local-model-endpoint.d.ts +1 -1
  163. package/dist/maintenance/memory-governance.d.ts +1 -1
  164. package/dist/maintenance/memory-governance.js +5 -5
  165. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
  166. package/dist/maintenance/rebuild-memory-projection.js +6 -6
  167. package/dist/mcp-memory-inspector-app.d.ts +5 -5
  168. package/dist/memory-action-policy.d.ts +1 -1
  169. package/dist/memory-cache.d.ts +1 -1
  170. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  171. package/dist/memory-projection-store.d.ts +23 -3
  172. package/dist/memory-projection-store.js +9 -2
  173. package/dist/memory-provenance.d.ts +1 -1
  174. package/dist/memory-worth-outcomes.d.ts +1 -1
  175. package/dist/models-json.d.ts +1 -1
  176. package/dist/namespaces/migrate.d.ts +2 -2
  177. package/dist/namespaces/migrate.js +17 -16
  178. package/dist/namespaces/principal.d.ts +1 -1
  179. package/dist/namespaces/search.d.ts +1 -1
  180. package/dist/namespaces/search.js +11 -10
  181. package/dist/namespaces/storage.d.ts +2 -2
  182. package/dist/namespaces/storage.js +5 -5
  183. package/dist/native-knowledge.d.ts +1 -1
  184. package/dist/operator-toolkit.d.ts +11 -2
  185. package/dist/operator-toolkit.js +23 -20
  186. package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
  187. package/dist/orchestration/maintenance.d.ts +2 -2
  188. package/dist/orchestration/maintenance.js +7 -7
  189. package/dist/{orchestrator-Y9wyG4jK.d.ts → orchestrator-B2Y28Z9t.d.ts} +3 -3
  190. package/dist/orchestrator.d.ts +4 -4
  191. package/dist/orchestrator.js +63 -62
  192. package/dist/patterns-cli.d.ts +1 -1
  193. package/dist/policy-runtime.d.ts +1 -1
  194. package/dist/provenance.d.ts +1 -1
  195. package/dist/{purge-IHRX4Z7X.js → purge-NDWV6WYD.js} +4 -3
  196. package/dist/{purge-IHRX4Z7X.js.map → purge-NDWV6WYD.js.map} +1 -1
  197. package/dist/qmd-Db9mOkzB.d.ts +330 -0
  198. package/dist/qmd-preflight.d.ts +5 -0
  199. package/dist/qmd-preflight.js +31 -0
  200. package/dist/qmd-preflight.js.map +1 -0
  201. package/dist/qmd-recall-cache.d.ts +1 -1
  202. package/dist/qmd.d.ts +3 -305
  203. package/dist/qmd.js +10 -8
  204. package/dist/recall-disclosure-escalation.d.ts +1 -1
  205. package/dist/recall-explain-renderer.d.ts +1 -1
  206. package/dist/recall-planner-llm.d.ts +1 -1
  207. package/dist/recall-state.d.ts +1 -1
  208. package/dist/recall-tag-filter.d.ts +1 -1
  209. package/dist/recall-timings.d.ts +1 -1
  210. package/dist/recall-xray-cli.d.ts +1 -1
  211. package/dist/recall-xray-renderer.d.ts +1 -1
  212. package/dist/recall-xray.d.ts +1 -1
  213. package/dist/resolve-auth-token.d.ts +1 -1
  214. package/dist/resume-bundles.js +2 -2
  215. package/dist/retrieval-agents.d.ts +2 -2
  216. package/dist/retrieval-tiers.d.ts +1 -1
  217. package/dist/routing/engine.d.ts +1 -1
  218. package/dist/routing/store.d.ts +1 -1
  219. package/dist/runtime/better-sqlite.d.ts +17 -1
  220. package/dist/runtime/better-sqlite.js +5 -3
  221. package/dist/schemas.d.ts +84 -84
  222. package/dist/search/embed-helper.d.ts +1 -1
  223. package/dist/search/factory.d.ts +1 -1
  224. package/dist/search/factory.js +10 -9
  225. package/dist/search/index.d.ts +1 -1
  226. package/dist/search/index.js +15 -14
  227. package/dist/search/lancedb-backend.d.ts +1 -1
  228. package/dist/search/lancedb-backend.js +2 -2
  229. package/dist/search/meilisearch-backend.d.ts +1 -1
  230. package/dist/search/meilisearch-backend.js +2 -2
  231. package/dist/search/noop-backend.d.ts +1 -1
  232. package/dist/search/orama-backend.d.ts +1 -1
  233. package/dist/search/orama-backend.js +2 -2
  234. package/dist/search/port.d.ts +1 -1
  235. package/dist/search/remote-backend.d.ts +1 -1
  236. package/dist/{semantic-consolidation-bfXJNKVf.d.ts → semantic-consolidation-BDVIbLRw.d.ts} +1 -1
  237. package/dist/semantic-consolidation.d.ts +2 -2
  238. package/dist/semantic-consolidation.js +6 -6
  239. package/dist/semantic-rule-promotion.js +5 -5
  240. package/dist/semantic-rule-verifier.d.ts +1 -1
  241. package/dist/semantic-rule-verifier.js +5 -5
  242. package/dist/session-observer-bands.d.ts +1 -1
  243. package/dist/session-observer-state.d.ts +1 -1
  244. package/dist/session-transcript-migration.js +2 -2
  245. package/dist/shared-context/manager.d.ts +9 -9
  246. package/dist/signal.d.ts +1 -1
  247. package/dist/storage.d.ts +1 -1
  248. package/dist/storage.js +4 -4
  249. package/dist/summarizer.d.ts +1 -1
  250. package/dist/summary-snapshot.d.ts +1 -1
  251. package/dist/temporal-supersession.d.ts +1 -1
  252. package/dist/temporal-validity.d.ts +1 -1
  253. package/dist/threading.d.ts +1 -1
  254. package/dist/tier-migration.d.ts +1 -1
  255. package/dist/tier-routing.d.ts +1 -1
  256. package/dist/topics.d.ts +1 -1
  257. package/dist/transcript.d.ts +1 -1
  258. package/dist/transfer/autodetect.js +1 -1
  259. package/dist/transfer/backup.js +1 -1
  260. package/dist/transfer/capsule-export.js +2 -2
  261. package/dist/transfer/export-sqlite.js +2 -2
  262. package/dist/transfer/import-sqlite.js +2 -2
  263. package/dist/transfer/types.d.ts +66 -66
  264. package/dist/trust-score-stage.d.ts +1 -1
  265. package/dist/trust-score.d.ts +1 -1
  266. package/dist/{types-D1iBqhJA.d.ts → types-ljkd82rn.d.ts} +13 -1
  267. package/dist/types.d.ts +1 -1
  268. package/dist/utility-runtime.d.ts +1 -1
  269. package/dist/verified-recall.js +5 -5
  270. package/package.json +2 -2
  271. package/src/memory-projection-open-failure.test.ts +322 -0
  272. package/src/memory-projection-store.ts +179 -2
  273. package/src/operator-toolkit.ts +64 -0
  274. package/src/qmd-preflight.test.ts +197 -0
  275. package/src/qmd-preflight.ts +167 -0
  276. package/src/qmd.ts +115 -129
  277. package/src/runtime/better-sqlite.test.ts +54 -0
  278. package/src/runtime/better-sqlite.ts +83 -3
  279. package/src/wearables/cleanup.test.ts +56 -0
  280. package/src/wearables/cleanup.ts +22 -1
  281. package/src/wearables/config.test.ts +25 -0
  282. package/src/wearables/config.ts +31 -4
  283. package/src/wearables/types.ts +12 -1
  284. package/dist/chunk-64ZYXSCO.js.map +0 -1
  285. package/dist/chunk-6KYMPV2O.js.map +0 -1
  286. package/dist/chunk-RBGL4MKQ.js.map +0 -1
  287. package/dist/chunk-SXN3LCUT.js.map +0 -1
  288. package/dist/chunk-UAOZJX5J.js.map +0 -1
  289. /package/dist/{auto-sync-M47VTCFI.js.map → auto-sync-HMHQHUAG.js.map} +0 -0
  290. /package/dist/{chunk-TKUQSXU4.js.map → chunk-27FLVMDC.js.map} +0 -0
  291. /package/dist/{chunk-XXEOGY77.js.map → chunk-2FOD2YY3.js.map} +0 -0
  292. /package/dist/{chunk-6Y4JTNX7.js.map → chunk-2MR3MFQB.js.map} +0 -0
  293. /package/dist/{chunk-AU7Q3LSC.js.map → chunk-2QSZNTDO.js.map} +0 -0
  294. /package/dist/{chunk-4NMATTXV.js.map → chunk-4BFRBP45.js.map} +0 -0
  295. /package/dist/{chunk-L4UZBJNM.js.map → chunk-4P4626RY.js.map} +0 -0
  296. /package/dist/{chunk-XZJMIJLW.js.map → chunk-5QZDMSSN.js.map} +0 -0
  297. /package/dist/{chunk-H2EJNV2Z.js.map → chunk-66FLU5BT.js.map} +0 -0
  298. /package/dist/{chunk-MWH5MAFP.js.map → chunk-6BISDEN6.js.map} +0 -0
  299. /package/dist/{chunk-VBVSN2TV.js.map → chunk-6ZIETXZ2.js.map} +0 -0
  300. /package/dist/{chunk-42BBIR33.js.map → chunk-7N2RUBAP.js.map} +0 -0
  301. /package/dist/{chunk-UQI2NHTY.js.map → chunk-7QWMTOIF.js.map} +0 -0
  302. /package/dist/{chunk-JI5AVXYO.js.map → chunk-AKUCU7CI.js.map} +0 -0
  303. /package/dist/{chunk-FT37KV7R.js.map → chunk-BGTAL46Y.js.map} +0 -0
  304. /package/dist/{chunk-7VFZTJ7K.js.map → chunk-BV2TIZ4F.js.map} +0 -0
  305. /package/dist/{chunk-FWPHPN3V.js.map → chunk-CLX5VDNY.js.map} +0 -0
  306. /package/dist/{chunk-TH2KIPP7.js.map → chunk-CZAA5N5S.js.map} +0 -0
  307. /package/dist/{chunk-7BAJAXGB.js.map → chunk-CZAZX7JP.js.map} +0 -0
  308. /package/dist/{chunk-APMGGGTY.js.map → chunk-DGYCWCQ7.js.map} +0 -0
  309. /package/dist/{chunk-GEVIE5NV.js.map → chunk-DR6PEJU3.js.map} +0 -0
  310. /package/dist/{chunk-2TCZE3C2.js.map → chunk-EPGWWCZF.js.map} +0 -0
  311. /package/dist/{chunk-OUXPVWTZ.js.map → chunk-FLVL4L3L.js.map} +0 -0
  312. /package/dist/{chunk-YPL66L3U.js.map → chunk-FZGGZAAU.js.map} +0 -0
  313. /package/dist/{chunk-XOE5DYQL.js.map → chunk-HRCACVHL.js.map} +0 -0
  314. /package/dist/{chunk-KS4PRHRD.js.map → chunk-IC6QX5TC.js.map} +0 -0
  315. /package/dist/{chunk-H25TAODC.js.map → chunk-ILFJ7AVS.js.map} +0 -0
  316. /package/dist/{chunk-UQMCR5RW.js.map → chunk-JLR3JSTL.js.map} +0 -0
  317. /package/dist/{chunk-5H56JAHW.js.map → chunk-KCJ5H6XQ.js.map} +0 -0
  318. /package/dist/{chunk-H5IT5JL7.js.map → chunk-LOR6ZM5R.js.map} +0 -0
  319. /package/dist/{chunk-VBBMTSOV.js.map → chunk-M7GGMGMZ.js.map} +0 -0
  320. /package/dist/{chunk-G47FEGGK.js.map → chunk-NG7YBCJO.js.map} +0 -0
  321. /package/dist/{chunk-QGS7Z7YU.js.map → chunk-OHDJ34CC.js.map} +0 -0
  322. /package/dist/{chunk-LLMZK53N.js.map → chunk-PUBTHW5O.js.map} +0 -0
  323. /package/dist/{chunk-AGNBY3VG.js.map → chunk-PYHOAXTI.js.map} +0 -0
  324. /package/dist/{chunk-7WV3F5DQ.js.map → chunk-V7IZKJI3.js.map} +0 -0
  325. /package/dist/{chunk-IGF4DII6.js.map → chunk-X4A62ET7.js.map} +0 -0
  326. /package/dist/{chunk-OH6BKCPB.js.map → chunk-XN3TUUX2.js.map} +0 -0
  327. /package/dist/{chunk-5K5VEDFY.js.map → chunk-YDSWRD33.js.map} +0 -0
  328. /package/dist/{chunk-ABGDGBDT.js.map → chunk-YPEMNNNY.js.map} +0 -0
  329. /package/dist/{chunk-YM7IEUO7.js.map → chunk-ZPOROUTX.js.map} +0 -0
@@ -1,3 +1,7 @@
1
+ import {
2
+ searchConversationIndex,
3
+ searchConversationIndexFaissFailOpen
4
+ } from "./chunk-FC77VUX5.js";
1
5
  import {
2
6
  failOpenFaissHealth
3
7
  } from "./chunk-TN7THW5U.js";
@@ -5,10 +9,6 @@ import {
5
9
  rebuildConversationChunksFailOpen,
6
10
  upsertConversationChunksFailOpen
7
11
  } from "./chunk-R5VAVVHP.js";
8
- import {
9
- searchConversationIndex,
10
- searchConversationIndexFaissFailOpen
11
- } from "./chunk-FC77VUX5.js";
12
12
 
13
13
  // src/conversation-index/backend.ts
14
14
  function createConversationIndexBackend(options) {
@@ -235,4 +235,4 @@ function createFaissBackend(getFaiss) {
235
235
  export {
236
236
  createConversationIndexBackend
237
237
  };
238
- //# sourceMappingURL=chunk-JI5AVXYO.js.map
238
+ //# sourceMappingURL=chunk-AKUCU7CI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EGGE52UU.js";
5
5
  import {
6
6
  StorageManager
7
- } from "./chunk-VBBMTSOV.js";
7
+ } from "./chunk-M7GGMGMZ.js";
8
8
  import {
9
9
  MutationSerializer
10
10
  } from "./chunk-LTJAMRGI.js";
@@ -339,4 +339,4 @@ export {
339
339
  resolveNamespaceStorageRoot,
340
340
  NamespaceStorageRouter
341
341
  };
342
- //# sourceMappingURL=chunk-FT37KV7R.js.map
342
+ //# sourceMappingURL=chunk-BGTAL46Y.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-Z734BLO3.js";
5
5
  import {
6
6
  openBetterSqlite3
7
- } from "./chunk-6KYMPV2O.js";
7
+ } from "./chunk-RL6NEVXT.js";
8
8
  import {
9
9
  computeTransferOutputRel,
10
10
  isTransferPathExcluded
@@ -58,4 +58,4 @@ async function exportSqlite(opts) {
58
58
  export {
59
59
  exportSqlite
60
60
  };
61
- //# sourceMappingURL=chunk-7VFZTJ7K.js.map
61
+ //# sourceMappingURL=chunk-BV2TIZ4F.js.map
@@ -1,7 +1,10 @@
1
+ import {
2
+ assembleCompressedHistory
3
+ } from "./chunk-KCYE2MZM.js";
1
4
  import {
2
5
  ensureLcmStateDir,
3
6
  openLcmDatabase
4
- } from "./chunk-42BBIR33.js";
7
+ } from "./chunk-7N2RUBAP.js";
5
8
  import {
6
9
  LcmSummarizer
7
10
  } from "./chunk-MTR7BZQN.js";
@@ -14,9 +17,6 @@ import {
14
17
  import {
15
18
  LcmWorkQueue
16
19
  } from "./chunk-TPDBFYEG.js";
17
- import {
18
- assembleCompressedHistory
19
- } from "./chunk-KCYE2MZM.js";
20
20
  import {
21
21
  log
22
22
  } from "./chunk-37CTGERM.js";
@@ -516,4 +516,4 @@ export {
516
516
  extractLcmConfig,
517
517
  LcmEngine
518
518
  };
519
- //# sourceMappingURL=chunk-FWPHPN3V.js.map
519
+ //# sourceMappingURL=chunk-CLX5VDNY.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UI4FVU6T.js";
5
5
  import {
6
6
  StorageManager
7
- } from "./chunk-VBBMTSOV.js";
7
+ } from "./chunk-M7GGMGMZ.js";
8
8
  import {
9
9
  parseContinuityImprovementLoops
10
10
  } from "./chunk-LDXUBPMO.js";
@@ -1276,4 +1276,4 @@ export {
1276
1276
  defaultTierMigrationCycleBudget,
1277
1277
  CompoundingEngine
1278
1278
  };
1279
- //# sourceMappingURL=chunk-TH2KIPP7.js.map
1279
+ //# sourceMappingURL=chunk-CZAA5N5S.js.map
@@ -1,10 +1,10 @@
1
- import {
2
- scanMemoryDir
3
- } from "./chunk-AER6MT24.js";
4
1
  import {
5
2
  isSearchAborted,
6
3
  throwIfSearchAborted
7
4
  } from "./chunk-CINZGPSJ.js";
5
+ import {
6
+ scanMemoryDir
7
+ } from "./chunk-AER6MT24.js";
8
8
  import {
9
9
  reportSearchDegradation,
10
10
  resolveEnsureCollectionArgs
@@ -613,4 +613,4 @@ export {
613
613
  resolveOramaCollectionDbFilePath,
614
614
  OramaBackend
615
615
  };
616
- //# sourceMappingURL=chunk-7BAJAXGB.js.map
616
+ //# sourceMappingURL=chunk-CZAZX7JP.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  StorageManager,
3
3
  normalizeEntityName
4
- } from "./chunk-VBBMTSOV.js";
4
+ } from "./chunk-M7GGMGMZ.js";
5
5
  import {
6
6
  serializeMutations
7
7
  } from "./chunk-LTJAMRGI.js";
@@ -956,4 +956,4 @@ export {
956
956
  resolveBriefingSaveDir,
957
957
  briefingFilename
958
958
  };
959
- //# sourceMappingURL=chunk-APMGGGTY.js.map
959
+ //# sourceMappingURL=chunk-DGYCWCQ7.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-5RUE3GHQ.js";
7
7
  import {
8
8
  validateRequest
9
- } from "./chunk-6Y4JTNX7.js";
9
+ } from "./chunk-2MR3MFQB.js";
10
10
  import {
11
11
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
12
12
  REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-T4WDJPEZ.js";
16
16
  import {
17
17
  getOperation
18
- } from "./chunk-YPL66L3U.js";
18
+ } from "./chunk-FZGGZAAU.js";
19
19
  import {
20
20
  EngramAccessInputError
21
- } from "./chunk-IGF4DII6.js";
21
+ } from "./chunk-X4A62ET7.js";
22
22
  import {
23
23
  readEnvVar
24
24
  } from "./chunk-JUC24CTX.js";
@@ -3784,4 +3784,4 @@ export {
3784
3784
  MCP_SUPPORTED_PROTOCOL_VERSIONS,
3785
3785
  EngramMcpServer
3786
3786
  };
3787
- //# sourceMappingURL=chunk-GEVIE5NV.js.map
3787
+ //# sourceMappingURL=chunk-DR6PEJU3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPostConsolidationMaterialize
3
- } from "./chunk-5H56JAHW.js";
3
+ } from "./chunk-KCJ5H6XQ.js";
4
4
  import {
5
5
  discoverMemoryExtensions,
6
6
  renderExtensionsBlock,
@@ -220,4 +220,4 @@ export {
220
220
  buildExtensionsBlockForConsolidation,
221
221
  materializeAfterSemanticConsolidation
222
222
  };
223
- //# sourceMappingURL=chunk-2TCZE3C2.js.map
223
+ //# sourceMappingURL=chunk-EPGWWCZF.js.map
@@ -1,7 +1,3 @@
1
- import {
2
- CAPSULE_SCHEMA_VERSION,
3
- EXPORT_FORMAT
4
- } from "./chunk-J4EB7DNW.js";
5
1
  import {
6
2
  CAPSULE_ID_PATTERN,
7
3
  CapsuleBlockSchema,
@@ -11,6 +7,10 @@ import {
11
7
  import {
12
8
  encryptCapsuleFile
13
9
  } from "./chunk-437S3G37.js";
10
+ import {
11
+ CAPSULE_SCHEMA_VERSION,
12
+ EXPORT_FORMAT
13
+ } from "./chunk-J4EB7DNW.js";
14
14
  import {
15
15
  DEFAULT_TRANSFER_EXCLUDE_DIRS,
16
16
  computeTransferOutputRel
@@ -261,4 +261,4 @@ export {
261
261
  exportCapsule,
262
262
  isValidCapsuleSince
263
263
  };
264
- //# sourceMappingURL=chunk-OUXPVWTZ.js.map
264
+ //# sourceMappingURL=chunk-FLVL4L3L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EngramAccessInputError
3
- } from "./chunk-IGF4DII6.js";
3
+ } from "./chunk-X4A62ET7.js";
4
4
  import {
5
5
  expandTildePath
6
6
  } from "./chunk-EYIEWJNI.js";
@@ -130,4 +130,4 @@ export {
130
130
  listRegisteredOperations,
131
131
  __resetRegistryForTest
132
132
  };
133
- //# sourceMappingURL=chunk-YPL66L3U.js.map
133
+ //# sourceMappingURL=chunk-FZGGZAAU.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-SFQ6QNL7.js";
7
7
  import {
8
8
  StorageManager
9
- } from "./chunk-VBBMTSOV.js";
9
+ } from "./chunk-M7GGMGMZ.js";
10
10
  import {
11
11
  buildLifecycleEventsForMemory,
12
12
  sortMemoryLifecycleEvents
@@ -115,4 +115,4 @@ export {
115
115
  backupExistingLedger,
116
116
  rebuildMemoryLifecycleLedger
117
117
  };
118
- //# sourceMappingURL=chunk-XOE5DYQL.js.map
118
+ //# sourceMappingURL=chunk-HRCACVHL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StorageManager
3
- } from "./chunk-VBBMTSOV.js";
3
+ } from "./chunk-M7GGMGMZ.js";
4
4
  import {
5
5
  assertPathInsideRoot
6
6
  } from "./chunk-5GPPACXK.js";
@@ -751,4 +751,4 @@ export {
751
751
  listMemoryGovernanceRuns,
752
752
  readMemoryGovernanceRunArtifact
753
753
  };
754
- //# sourceMappingURL=chunk-KS4PRHRD.js.map
754
+ //# sourceMappingURL=chunk-IC6QX5TC.js.map
@@ -25,16 +25,16 @@ import {
25
25
  } from "./chunk-T4WDJPEZ.js";
26
26
  import {
27
27
  defineOperation
28
- } from "./chunk-YPL66L3U.js";
28
+ } from "./chunk-FZGGZAAU.js";
29
29
  import {
30
30
  EngramAccessInputError
31
- } from "./chunk-IGF4DII6.js";
31
+ } from "./chunk-X4A62ET7.js";
32
32
  import {
33
33
  projectTagProjectId
34
34
  } from "./chunk-BAVVI5GP.js";
35
35
  import {
36
36
  validateBriefingFormat
37
- } from "./chunk-APMGGGTY.js";
37
+ } from "./chunk-DGYCWCQ7.js";
38
38
  import {
39
39
  resolvePrincipal
40
40
  } from "./chunk-PE6XR4GG.js";
@@ -439,4 +439,4 @@ defineOperation({ name: "offline_sync_snapshot_stream", description: "SSE stream
439
439
  defineOperation({ name: "graph_events", description: "SSE graph events.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { stream: "sse" } }) });
440
440
  defineOperation({ name: "chat_message", description: "Chat message.", schema: strictSchema({ message: S.str, chatSessionId: S.str }), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
441
441
  defineOperation({ name: "chat_events", description: "SSE chat events.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { stream: "sse" } }) });
442
- //# sourceMappingURL=chunk-H25TAODC.js.map
442
+ //# sourceMappingURL=chunk-ILFJ7AVS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamespaceStorageRouter
3
- } from "./chunk-FT37KV7R.js";
3
+ } from "./chunk-BGTAL46Y.js";
4
4
  import {
5
5
  namespaceCollectionName
6
- } from "./chunk-4NMATTXV.js";
6
+ } from "./chunk-4BFRBP45.js";
7
7
  import {
8
8
  namespaceIdentityFromToken,
9
9
  namespaceIdentityToken
@@ -207,4 +207,4 @@ export {
207
207
  verifyNamespaces,
208
208
  runNamespaceMigration
209
209
  };
210
- //# sourceMappingURL=chunk-UQMCR5RW.js.map
210
+ //# sourceMappingURL=chunk-JLR3JSTL.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-3UXOZBHV.js";
8
8
  import {
9
9
  StorageManager
10
- } from "./chunk-VBBMTSOV.js";
10
+ } from "./chunk-M7GGMGMZ.js";
11
11
  import {
12
12
  isSafeRouteNamespace
13
13
  } from "./chunk-U3PN77QT.js";
@@ -118,4 +118,4 @@ export {
118
118
  runCodexMaterialize,
119
119
  runPostConsolidationMaterialize
120
120
  };
121
- //# sourceMappingURL=chunk-5H56JAHW.js.map
121
+ //# sourceMappingURL=chunk-KCJ5H6XQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  resolveDefaultNamespaceRoot,
3
3
  resolveNamespaceStorageRoot
4
- } from "./chunk-FT37KV7R.js";
4
+ } from "./chunk-BGTAL46Y.js";
5
5
  import {
6
6
  getConfiguredNamespaces
7
7
  } from "./chunk-BAVVI5GP.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-LTJAMRGI.js";
17
17
  import {
18
18
  displayErrorDetail
19
- } from "./chunk-6KYMPV2O.js";
19
+ } from "./chunk-RL6NEVXT.js";
20
20
  import {
21
21
  isSafeRouteNamespace
22
22
  } from "./chunk-U3PN77QT.js";
@@ -2042,4 +2042,4 @@ export {
2042
2042
  runNamespaceMaintenancePlan,
2043
2043
  runNamespaceMaintenanceBatchPlan
2044
2044
  };
2045
- //# sourceMappingURL=chunk-H5IT5JL7.js.map
2045
+ //# sourceMappingURL=chunk-LOR6ZM5R.js.map
@@ -1,12 +1,12 @@
1
+ import {
2
+ WEARABLES_DIR_NAME,
3
+ isValidTranscriptDate
4
+ } from "./chunk-M7XQSUBB.js";
1
5
  import {
2
6
  TombstoneStore,
3
7
  buildRetiredFactTombstoneInputs,
4
8
  collectRetiredMemoriesForRebuild
5
9
  } from "./chunk-L2B3EE7B.js";
6
- import {
7
- WEARABLES_DIR_NAME,
8
- isValidTranscriptDate
9
- } from "./chunk-M7XQSUBB.js";
10
10
  import {
11
11
  isErrnoCode
12
12
  } from "./chunk-5UZXUTVO.js";
@@ -54,7 +54,7 @@ import {
54
54
  readProjectedMemoryState,
55
55
  readProjectedMemoryTimeline,
56
56
  updateProjectedMemoryPath
57
- } from "./chunk-SXN3LCUT.js";
57
+ } from "./chunk-RHOZ5LLO.js";
58
58
  import {
59
59
  rotateMarkdownFileToArchive
60
60
  } from "./chunk-DM2T26WE.js";
@@ -6154,4 +6154,4 @@ export {
6154
6154
  isValidBufferSurpriseEvent,
6155
6155
  StorageManager3 as StorageManager
6156
6156
  };
6157
- //# sourceMappingURL=chunk-VBBMTSOV.js.map
6157
+ //# sourceMappingURL=chunk-M7GGMGMZ.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  memoryStoreRequestSchema
3
- } from "./chunk-6Y4JTNX7.js";
3
+ } from "./chunk-2MR3MFQB.js";
4
4
  import {
5
5
  defineOperation
6
- } from "./chunk-YPL66L3U.js";
6
+ } from "./chunk-FZGGZAAU.js";
7
7
  import {
8
8
  CorrectionContractError,
9
9
  DECISION_SUBCOMMANDS,
10
10
  DELTA_SUBCOMMANDS,
11
11
  EngramAccessInputError,
12
12
  isCodegraphToolName
13
- } from "./chunk-IGF4DII6.js";
13
+ } from "./chunk-X4A62ET7.js";
14
14
 
15
15
  // src/access-operations.ts
16
16
  import { z } from "zod";
@@ -463,4 +463,4 @@ export {
463
463
  codegraphIngestTracesOperation,
464
464
  REGISTERED_OPERATIONS
465
465
  };
466
- //# sourceMappingURL=chunk-G47FEGGK.js.map
466
+ //# sourceMappingURL=chunk-NG7YBCJO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StorageManager
3
- } from "./chunk-VBBMTSOV.js";
3
+ } from "./chunk-M7GGMGMZ.js";
4
4
 
5
5
  // src/semantic-rule-promotion.ts
6
6
  import { createHash, randomUUID } from "crypto";
@@ -529,4 +529,4 @@ export {
529
529
  setSemanticRulePromotionTestHooks,
530
530
  promoteSemanticRuleFromMemory
531
531
  };
532
- //# sourceMappingURL=chunk-QGS7Z7YU.js.map
532
+ //# sourceMappingURL=chunk-OHDJ34CC.js.map
@@ -3,10 +3,10 @@ import {
3
3
  readNamespaceMaintenanceLastRanStatuses,
4
4
  readNamespaceMaintenanceStatuses,
5
5
  runNamespaceMaintenancePlan
6
- } from "./chunk-H5IT5JL7.js";
6
+ } from "./chunk-LOR6ZM5R.js";
7
7
  import {
8
8
  listNamespaces
9
- } from "./chunk-UQMCR5RW.js";
9
+ } from "./chunk-JLR3JSTL.js";
10
10
  import {
11
11
  analyzeSessionIntegrity,
12
12
  applySessionRepair,
@@ -38,17 +38,20 @@ import {
38
38
  } from "./chunk-YBPYIAA5.js";
39
39
  import {
40
40
  parseConfig
41
- } from "./chunk-QICQ35K5.js";
41
+ } from "./chunk-7Z2DZNWN.js";
42
42
  import {
43
43
  listMemoryGovernanceRuns,
44
44
  readMemoryGovernanceRunArtifact
45
- } from "./chunk-KS4PRHRD.js";
45
+ } from "./chunk-IC6QX5TC.js";
46
46
  import {
47
47
  analyzeGraphHealth
48
48
  } from "./chunk-OBMR4VIX.js";
49
49
  import {
50
50
  StorageManager
51
- } from "./chunk-VBBMTSOV.js";
51
+ } from "./chunk-M7GGMGMZ.js";
52
+ import {
53
+ probeProjectionHealth
54
+ } from "./chunk-RHOZ5LLO.js";
52
55
  import {
53
56
  lintWorkspaceFiles
54
57
  } from "./chunk-DM2T26WE.js";
@@ -745,6 +748,48 @@ function summarizeProvenanceCoverage(memories) {
745
748
  }
746
749
  return { counts, total: memories.length };
747
750
  }
751
+ function summarizeProjectionHealth(config) {
752
+ const probe = probeProjectionHealth(config.memoryDir);
753
+ if (probe.state === "absent") {
754
+ return {
755
+ key: "memory_projection",
756
+ status: "ok",
757
+ summary: "Memory projection index not built yet (normal until first maintenance run).",
758
+ details: { state: probe.state }
759
+ };
760
+ }
761
+ if (probe.state === "openable") {
762
+ return {
763
+ key: "memory_projection",
764
+ status: "ok",
765
+ summary: "Memory projection index opens cleanly.",
766
+ details: { state: probe.state }
767
+ };
768
+ }
769
+ if (probe.state === "present-but-invalid") {
770
+ const schemaDetailSuffix = probe.detail ? ` (${probe.detail})` : "";
771
+ return {
772
+ key: "memory_projection",
773
+ status: "error",
774
+ summary: `Memory projection index exists but its schema is missing or unreadable${schemaDetailSuffix}; memory browse is falling back to full-corpus scans.`,
775
+ remediation: "Rebuild the projection with `remnic rebuild-memory-projection --write`.",
776
+ details: { state: probe.state, detail: probe.detail }
777
+ };
778
+ }
779
+ const nativeSuffix = probe.nativeBindingMismatch ? " Native binding appears built for the wrong Node.js ABI." : "";
780
+ const detailSuffix = probe.detail ? ` (${probe.detail})` : "";
781
+ return {
782
+ key: "memory_projection",
783
+ status: "error",
784
+ summary: `Memory projection index exists but could not be opened${detailSuffix}.${nativeSuffix}`,
785
+ remediation: probe.nativeBindingMismatch ? "Rebuild the better-sqlite3 native binding for this Node.js (`node scripts/ensure-better-sqlite3.mjs` or `pnpm rebuild better-sqlite3`), then restart." : "Rebuild the projection with `remnic rebuild-memory-projection --write`; check file permissions and integrity.",
786
+ details: {
787
+ state: probe.state,
788
+ detail: probe.detail,
789
+ nativeBindingMismatch: probe.nativeBindingMismatch
790
+ }
791
+ };
792
+ }
748
793
  async function runOperatorDoctor(options) {
749
794
  const now = options.now ?? /* @__PURE__ */ new Date();
750
795
  const configStatus = await loadCliPluginConfig(options.configPath);
@@ -809,6 +854,7 @@ async function runOperatorDoctor(options) {
809
854
  remediation: meta.lastExtractionAt || meta.lastConsolidationAt ? void 0 : "Run a normal agent turn or `openclaw engram consolidate` after seeding memory.",
810
855
  details: meta
811
856
  });
857
+ checks.push(summarizeProjectionHealth(config));
812
858
  let provenanceCoverage = {
813
859
  counts: { verified: 0, unverified: 0, none: 0 },
814
860
  total: 0
@@ -1587,6 +1633,7 @@ export {
1587
1633
  runOperatorSetup,
1588
1634
  runOperatorConfigReview,
1589
1635
  summarizeProvenanceCoverage,
1636
+ summarizeProjectionHealth,
1590
1637
  runOperatorDoctor,
1591
1638
  summarizeMemoryWorthLegacyCounters,
1592
1639
  summarizeBufferSurpriseDistribution,
@@ -1599,4 +1646,4 @@ export {
1599
1646
  runBenchmarkRecall,
1600
1647
  runOperatorRepair
1601
1648
  };
1602
- //# sourceMappingURL=chunk-UAOZJX5J.js.map
1649
+ //# sourceMappingURL=chunk-P6SYWE4G.js.map