@remnic/core 9.3.700 → 9.3.702

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 (323) hide show
  1. package/dist/access-boundary.d.ts +7 -7
  2. package/dist/access-boundary.js +17 -14
  3. package/dist/access-cli.js +40 -37
  4. package/dist/access-cli.js.map +1 -1
  5. package/dist/access-http.d.ts +7 -7
  6. package/dist/access-http.js +20 -17
  7. package/dist/access-mcp.d.ts +7 -7
  8. package/dist/access-mcp.js +19 -16
  9. package/dist/access-operations.d.ts +7 -7
  10. package/dist/access-operations.js +18 -15
  11. package/dist/{access-service-Cte3ol0W.d.ts → access-service-COCzhgEL.d.ts} +397 -19
  12. package/dist/access-service.d.ts +6 -6
  13. package/dist/access-service.js +16 -13
  14. package/dist/access-surface-catalog.d.ts +7 -7
  15. package/dist/action-confidence.d.ts +1 -1
  16. package/dist/active-memory-bridge.d.ts +1 -1
  17. package/dist/active-memory-bridge.js +2 -2
  18. package/dist/active-recall.d.ts +1 -1
  19. package/dist/active-recall.js +7 -6
  20. package/dist/active-recall.js.map +1 -1
  21. package/dist/behavior-learner.d.ts +1 -1
  22. package/dist/behavior-signals.d.ts +1 -1
  23. package/dist/bootstrap.d.ts +5 -5
  24. package/dist/briefing.d.ts +1 -1
  25. package/dist/briefing.js +8 -7
  26. package/dist/buffer-surprise-report.d.ts +1 -1
  27. package/dist/buffer.d.ts +1 -1
  28. package/dist/calibration.d.ts +1 -1
  29. package/dist/capabilities.d.ts +1 -1
  30. package/dist/{catalog-DN1PzThs.d.ts → catalog-DxCzhjE6.d.ts} +28 -54
  31. package/dist/causal-behavior.d.ts +1 -1
  32. package/dist/causal-consolidation.d.ts +1 -1
  33. package/dist/causal-consolidation.js +9 -8
  34. package/dist/causal-consolidation.js.map +1 -1
  35. package/dist/{chunk-XJNBEDFE.js → chunk-3FAMU5TX.js} +31 -74
  36. package/dist/chunk-3FAMU5TX.js.map +1 -0
  37. package/dist/{chunk-PCZR32VL.js → chunk-3JJWNZTT.js} +2 -2
  38. package/dist/{chunk-YXLT4EMM.js → chunk-4463LUIE.js} +12 -2
  39. package/dist/chunk-4463LUIE.js.map +1 -0
  40. package/dist/{chunk-R5DB26G6.js → chunk-4SBW47WK.js} +9 -23
  41. package/dist/chunk-4SBW47WK.js.map +1 -0
  42. package/dist/{chunk-CCOXIDRM.js → chunk-5VXVXJH6.js} +149 -6
  43. package/dist/{chunk-CCOXIDRM.js.map → chunk-5VXVXJH6.js.map} +1 -1
  44. package/dist/{chunk-PQG4T5V3.js → chunk-64XXOQRW.js} +49 -45
  45. package/dist/chunk-64XXOQRW.js.map +1 -0
  46. package/dist/{chunk-YXIFA36P.js → chunk-6TAETM63.js} +2 -2
  47. package/dist/{chunk-6JDGADXK.js → chunk-6VVP6NK7.js} +2 -2
  48. package/dist/{chunk-FN2SM5SN.js → chunk-ABCGDW3A.js} +75 -12
  49. package/dist/chunk-ABCGDW3A.js.map +1 -0
  50. package/dist/{chunk-CHM274U6.js → chunk-AMNLZ6SF.js} +2 -2
  51. package/dist/{chunk-JX3YZVII.js → chunk-CZJ6QSKG.js} +3 -3
  52. package/dist/{chunk-GYVVQYA3.js → chunk-EOOVJK2U.js} +3 -3
  53. package/dist/{chunk-JKW5XSWC.js → chunk-EYJD6KIO.js} +2 -2
  54. package/dist/{chunk-XY4WJTEX.js → chunk-EZR35XHX.js} +2 -2
  55. package/dist/{chunk-UU6MVCJ6.js → chunk-FIOYURII.js} +32 -25
  56. package/dist/chunk-FIOYURII.js.map +1 -0
  57. package/dist/{chunk-2NWHLAXX.js → chunk-FVI5B7DE.js} +2 -2
  58. package/dist/{chunk-X74FJSW7.js → chunk-GFIARMA7.js} +16 -8
  59. package/dist/chunk-GFIARMA7.js.map +1 -0
  60. package/dist/{chunk-PONNZ54D.js → chunk-GY3SKOS4.js} +4 -4
  61. package/dist/{chunk-U33LWTQQ.js → chunk-HV57RHMD.js} +4 -4
  62. package/dist/{chunk-RC3CNIPK.js → chunk-IO5NQEGZ.js} +2 -2
  63. package/dist/{chunk-IKNQAGBV.js → chunk-IX3UQT4H.js} +1 -1
  64. package/dist/{chunk-IKNQAGBV.js.map → chunk-IX3UQT4H.js.map} +1 -1
  65. package/dist/{chunk-HDLC75NX.js → chunk-IX72AAMZ.js} +2 -2
  66. package/dist/{chunk-DR2JTSLZ.js → chunk-JMA4RYRN.js} +62 -163
  67. package/dist/chunk-JMA4RYRN.js.map +1 -0
  68. package/dist/{chunk-G5PKTQ5J.js → chunk-JTKFZMZ7.js} +2 -2
  69. package/dist/{chunk-YMTGXDN6.js → chunk-KC6TCAWV.js} +5 -5
  70. package/dist/{chunk-ROZJACKP.js → chunk-KKK7YTYN.js} +4 -1
  71. package/dist/chunk-KKK7YTYN.js.map +1 -0
  72. package/dist/{chunk-EC2AYKRX.js → chunk-L6W77GWW.js} +10 -24
  73. package/dist/chunk-L6W77GWW.js.map +1 -0
  74. package/dist/{chunk-ED35D32I.js → chunk-LQ4J7ELC.js} +2 -2
  75. package/dist/{chunk-YPR7DOPD.js → chunk-LTJAMRGI.js} +4 -4
  76. package/dist/{chunk-YPR7DOPD.js.map → chunk-LTJAMRGI.js.map} +1 -1
  77. package/dist/chunk-LUPVCGYK.js +63 -0
  78. package/dist/chunk-LUPVCGYK.js.map +1 -0
  79. package/dist/{chunk-RJ2THZ4H.js → chunk-MBUM2Y3L.js} +2 -2
  80. package/dist/{chunk-T5QAZIBO.js → chunk-MOXFPLD6.js} +3 -3
  81. package/dist/{chunk-O54DY26V.js → chunk-MXEWQKM7.js} +2 -2
  82. package/dist/{chunk-33L6XHU2.js → chunk-NUIJEGVD.js} +6 -6
  83. package/dist/{chunk-3E5WRQNQ.js → chunk-OXEAMU42.js} +529 -9
  84. package/dist/chunk-OXEAMU42.js.map +1 -0
  85. package/dist/{chunk-EOBJRBLC.js → chunk-QGJAGC2J.js} +2 -2
  86. package/dist/{chunk-SMIVW7XC.js → chunk-QIMFOCSH.js} +2 -2
  87. package/dist/{chunk-IJEZMWKA.js → chunk-SFOAQQDJ.js} +3 -3
  88. package/dist/{chunk-HRUULBBV.js → chunk-SHRRWOVY.js} +81 -4
  89. package/dist/chunk-SHRRWOVY.js.map +1 -0
  90. package/dist/{chunk-NINRTFSV.js → chunk-SINGJCUR.js} +5 -5
  91. package/dist/{chunk-ZPQVJEVQ.js → chunk-SK2CR6MW.js} +146 -2
  92. package/dist/chunk-SK2CR6MW.js.map +1 -0
  93. package/dist/{chunk-SEWF2O74.js → chunk-TGAHHCB6.js} +2 -2
  94. package/dist/{chunk-D75JXBV4.js → chunk-WN4GHSDH.js} +2 -2
  95. package/dist/{chunk-K4DWSPMW.js → chunk-WRGPE6AW.js} +2 -2
  96. package/dist/{chunk-GA5A6MJH.js → chunk-XGMCUY5P.js} +62 -116
  97. package/dist/chunk-XGMCUY5P.js.map +1 -0
  98. package/dist/{chunk-SDPDU2PM.js → chunk-YTMDF6S7.js} +2 -2
  99. package/dist/{chunk-ZDK2IW5F.js → chunk-Z7XEIAV4.js} +2 -2
  100. package/dist/{chunk-NHBEO3F3.js → chunk-ZCEI242W.js} +24 -24
  101. package/dist/{cli--yVN9yEV.d.ts → cli-BM4xQPp4.d.ts} +3 -3
  102. package/dist/cli.d.ts +7 -7
  103. package/dist/cli.js +35 -34
  104. package/dist/compounding/engine.d.ts +1 -1
  105. package/dist/compounding/engine.js +8 -7
  106. package/dist/compounding/preference-consolidator.d.ts +1 -1
  107. package/dist/compression-optimizer.d.ts +1 -1
  108. package/dist/config.d.ts +1 -1
  109. package/dist/config.js +4 -2
  110. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  111. package/dist/connectors/codex-materialize-runner.js +8 -7
  112. package/dist/connectors/codex-materialize.d.ts +1 -1
  113. package/dist/connectors/index.d.ts +1 -1
  114. package/dist/connectors/index.js +9 -8
  115. package/dist/consolidation-provenance-check.d.ts +1 -1
  116. package/dist/consolidation-undo.d.ts +1 -1
  117. package/dist/contradiction/index.d.ts +2 -2
  118. package/dist/conversation-index/backend.d.ts +1 -1
  119. package/dist/conversation-index/chunker.d.ts +1 -1
  120. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  121. package/dist/conversation-index/indexer.d.ts +1 -1
  122. package/dist/conversation-index/search.d.ts +1 -1
  123. package/dist/day-summary.d.ts +1 -1
  124. package/dist/delinearize.d.ts +1 -1
  125. package/dist/direct-answer-wiring.d.ts +1 -1
  126. package/dist/direct-answer.d.ts +1 -1
  127. package/dist/embedding-fallback.d.ts +1 -1
  128. package/dist/enrichment/index.d.ts +1 -1
  129. package/dist/entity-retrieval.d.ts +1 -1
  130. package/dist/entity-retrieval.js +8 -7
  131. package/dist/entity-schema.d.ts +1 -1
  132. package/dist/event-order-recall.js +2 -1
  133. package/dist/explicit-capture.d.ts +5 -5
  134. package/dist/explicit-capture.js +2 -2
  135. package/dist/explicit-cue-recall.js +2 -1
  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 +14 -1
  141. package/dist/extraction.js +5 -3
  142. package/dist/fallback-llm.d.ts +1 -1
  143. package/dist/{forget-BEXG5PQC.js → forget-6SOIPUMQ.js} +3 -3
  144. package/dist/identity-continuity.d.ts +1 -1
  145. package/dist/importance.d.ts +1 -1
  146. package/dist/index.d.ts +123 -123
  147. package/dist/index.js +57 -56
  148. package/dist/index.js.map +1 -1
  149. package/dist/intent.d.ts +1 -1
  150. package/dist/lcm/engine.d.ts +1 -1
  151. package/dist/lcm/index.d.ts +1 -1
  152. package/dist/lcm/tools.d.ts +1 -1
  153. package/dist/lifecycle.d.ts +1 -1
  154. package/dist/live-connectors-runner.d.ts +1 -1
  155. package/dist/local-llm.d.ts +1 -1
  156. package/dist/maintenance/memory-governance.d.ts +1 -1
  157. package/dist/maintenance/memory-governance.js +8 -7
  158. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -7
  159. package/dist/maintenance/rebuild-memory-projection.js +9 -8
  160. package/dist/mcp-memory-inspector-app.d.ts +7 -7
  161. package/dist/memory-action-policy.d.ts +1 -1
  162. package/dist/memory-cache.d.ts +1 -1
  163. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  164. package/dist/memory-projection-store.d.ts +1 -1
  165. package/dist/memory-provenance.d.ts +1 -1
  166. package/dist/memory-worth-outcomes.d.ts +1 -1
  167. package/dist/models-json.d.ts +1 -1
  168. package/dist/namespaces/migrate.d.ts +2 -2
  169. package/dist/namespaces/migrate.js +9 -8
  170. package/dist/namespaces/principal.d.ts +1 -1
  171. package/dist/namespaces/search.d.ts +1 -1
  172. package/dist/namespaces/storage.d.ts +14 -3
  173. package/dist/namespaces/storage.js +8 -7
  174. package/dist/native-knowledge.d.ts +1 -1
  175. package/dist/operator-toolkit.d.ts +1 -1
  176. package/dist/operator-toolkit.js +14 -13
  177. package/dist/orchestration/maintenance.d.ts +2 -2
  178. package/dist/orchestration/maintenance.js +10 -9
  179. package/dist/{orchestrator-CJI4xdqV.d.ts → orchestrator-C9CDWAm6.d.ts} +4 -4
  180. package/dist/orchestrator.d.ts +5 -5
  181. package/dist/orchestrator.js +33 -31
  182. package/dist/patterns-cli.d.ts +1 -1
  183. package/dist/policy-runtime.d.ts +1 -1
  184. package/dist/provenance.d.ts +36 -2
  185. package/dist/provenance.js +5 -1
  186. package/dist/qmd-recall-cache.d.ts +1 -1
  187. package/dist/qmd.d.ts +1 -1
  188. package/dist/recall-disclosure-escalation.d.ts +1 -1
  189. package/dist/recall-explain-renderer.d.ts +1 -1
  190. package/dist/recall-explain-renderer.js +3 -3
  191. package/dist/recall-pipeline-stages.d.ts +15 -0
  192. package/dist/recall-pipeline-stages.js +3 -56
  193. package/dist/recall-pipeline-stages.js.map +1 -1
  194. package/dist/recall-planner-llm.d.ts +1 -1
  195. package/dist/recall-state.d.ts +1 -1
  196. package/dist/recall-tag-filter.d.ts +1 -1
  197. package/dist/recall-xray-cli.d.ts +1 -1
  198. package/dist/recall-xray-cli.js +4 -4
  199. package/dist/recall-xray-renderer.d.ts +1 -1
  200. package/dist/recall-xray-renderer.js +3 -3
  201. package/dist/recall-xray.d.ts +1 -1
  202. package/dist/recall-xray.js +2 -2
  203. package/dist/resolve-auth-token.d.ts +1 -1
  204. package/dist/response-guidance-recall.js +2 -1
  205. package/dist/resume-bundles.js +7 -5
  206. package/dist/retrieval-agents.d.ts +1 -1
  207. package/dist/retrieval-tiers.d.ts +1 -1
  208. package/dist/routing/engine.d.ts +1 -1
  209. package/dist/routing/store.d.ts +1 -1
  210. package/dist/schemas.d.ts +19 -0
  211. package/dist/schemas.js +1 -1
  212. package/dist/search/embed-helper.d.ts +1 -1
  213. package/dist/search/factory.d.ts +1 -1
  214. package/dist/search/index.d.ts +1 -1
  215. package/dist/search/lancedb-backend.d.ts +1 -1
  216. package/dist/search/meilisearch-backend.d.ts +1 -1
  217. package/dist/search/noop-backend.d.ts +1 -1
  218. package/dist/search/orama-backend.d.ts +1 -1
  219. package/dist/search/port.d.ts +1 -1
  220. package/dist/search/remote-backend.d.ts +1 -1
  221. package/dist/{semantic-DJR8_DMQ.d.ts → semantic-SLAa_prH.d.ts} +1 -1
  222. package/dist/{semantic-consolidation-BtUfv-AL.d.ts → semantic-consolidation-DgFXyALl.d.ts} +1 -1
  223. package/dist/semantic-consolidation.d.ts +2 -2
  224. package/dist/semantic-consolidation.js +9 -8
  225. package/dist/semantic-rule-promotion.js +8 -7
  226. package/dist/semantic-rule-verifier.d.ts +1 -1
  227. package/dist/semantic-rule-verifier.js +8 -7
  228. package/dist/session-observer-bands.d.ts +1 -1
  229. package/dist/session-observer-state.d.ts +1 -1
  230. package/dist/shared-context/manager.d.ts +1 -1
  231. package/dist/signal.d.ts +1 -1
  232. package/dist/storage.d.ts +13 -1
  233. package/dist/storage.js +7 -6
  234. package/dist/summarizer.d.ts +1 -1
  235. package/dist/summarizer.js +3 -2
  236. package/dist/summary-snapshot.d.ts +1 -1
  237. package/dist/summary-snapshot.js +2 -1
  238. package/dist/targeted-fact-recall.js +2 -1
  239. package/dist/temporal-supersession.d.ts +1 -1
  240. package/dist/temporal-validity.d.ts +1 -1
  241. package/dist/threading.d.ts +1 -1
  242. package/dist/tier-migration.d.ts +1 -1
  243. package/dist/tier-routing.d.ts +1 -1
  244. package/dist/topics.d.ts +1 -1
  245. package/dist/transcript.d.ts +1 -1
  246. package/dist/transcript.js +2 -2
  247. package/dist/{types-PuiPZ9iE.d.ts → types-MWKPZnM0.d.ts} +25 -1
  248. package/dist/types.d.ts +1 -1
  249. package/dist/types.js +1 -1
  250. package/dist/utility-runtime.d.ts +1 -1
  251. package/dist/utils/serialize-mutations.js +1 -1
  252. package/dist/verified-recall.js +8 -7
  253. package/package.json +2 -2
  254. package/src/access-http.ts +162 -0
  255. package/src/access-service.ts +215 -0
  256. package/src/admin/admin-surfaces.test.ts +458 -0
  257. package/src/admin/admin-surfaces.ts +819 -0
  258. package/src/event-order-recall.test.ts +53 -0
  259. package/src/event-order-recall.ts +61 -37
  260. package/src/explicit-cue-recall.ts +21 -1
  261. package/src/extraction.ts +91 -6
  262. package/src/namespaces/catalog.test.ts +222 -14
  263. package/src/namespaces/catalog.ts +54 -187
  264. package/src/namespaces/storage.ts +87 -80
  265. package/src/orchestrator.ts +46 -5
  266. package/src/provenance-extraction.test.ts +838 -0
  267. package/src/provenance.ts +413 -0
  268. package/src/recall-pipeline-parity.test.ts +288 -0
  269. package/src/recall-pipeline-stages.test.ts +43 -0
  270. package/src/recall-pipeline-stages.ts +22 -0
  271. package/src/response-guidance-recall.ts +32 -36
  272. package/src/schemas.ts +7 -0
  273. package/src/storage.ts +23 -0
  274. package/src/summary-snapshot.test.ts +63 -1
  275. package/src/summary-snapshot.ts +61 -80
  276. package/src/targeted-fact-recall.ts +25 -32
  277. package/src/types.ts +24 -0
  278. package/src/utils/serialize-mutations.ts +10 -6
  279. package/dist/chunk-3E5WRQNQ.js.map +0 -1
  280. package/dist/chunk-DR2JTSLZ.js.map +0 -1
  281. package/dist/chunk-EC2AYKRX.js.map +0 -1
  282. package/dist/chunk-FN2SM5SN.js.map +0 -1
  283. package/dist/chunk-GA5A6MJH.js.map +0 -1
  284. package/dist/chunk-HRUULBBV.js.map +0 -1
  285. package/dist/chunk-PQG4T5V3.js.map +0 -1
  286. package/dist/chunk-R5DB26G6.js.map +0 -1
  287. package/dist/chunk-ROZJACKP.js.map +0 -1
  288. package/dist/chunk-UU6MVCJ6.js.map +0 -1
  289. package/dist/chunk-X74FJSW7.js.map +0 -1
  290. package/dist/chunk-XJNBEDFE.js.map +0 -1
  291. package/dist/chunk-YXLT4EMM.js.map +0 -1
  292. package/dist/chunk-ZPQVJEVQ.js.map +0 -1
  293. /package/dist/{chunk-PCZR32VL.js.map → chunk-3JJWNZTT.js.map} +0 -0
  294. /package/dist/{chunk-YXIFA36P.js.map → chunk-6TAETM63.js.map} +0 -0
  295. /package/dist/{chunk-6JDGADXK.js.map → chunk-6VVP6NK7.js.map} +0 -0
  296. /package/dist/{chunk-CHM274U6.js.map → chunk-AMNLZ6SF.js.map} +0 -0
  297. /package/dist/{chunk-JX3YZVII.js.map → chunk-CZJ6QSKG.js.map} +0 -0
  298. /package/dist/{chunk-GYVVQYA3.js.map → chunk-EOOVJK2U.js.map} +0 -0
  299. /package/dist/{chunk-JKW5XSWC.js.map → chunk-EYJD6KIO.js.map} +0 -0
  300. /package/dist/{chunk-XY4WJTEX.js.map → chunk-EZR35XHX.js.map} +0 -0
  301. /package/dist/{chunk-2NWHLAXX.js.map → chunk-FVI5B7DE.js.map} +0 -0
  302. /package/dist/{chunk-PONNZ54D.js.map → chunk-GY3SKOS4.js.map} +0 -0
  303. /package/dist/{chunk-U33LWTQQ.js.map → chunk-HV57RHMD.js.map} +0 -0
  304. /package/dist/{chunk-RC3CNIPK.js.map → chunk-IO5NQEGZ.js.map} +0 -0
  305. /package/dist/{chunk-HDLC75NX.js.map → chunk-IX72AAMZ.js.map} +0 -0
  306. /package/dist/{chunk-G5PKTQ5J.js.map → chunk-JTKFZMZ7.js.map} +0 -0
  307. /package/dist/{chunk-YMTGXDN6.js.map → chunk-KC6TCAWV.js.map} +0 -0
  308. /package/dist/{chunk-ED35D32I.js.map → chunk-LQ4J7ELC.js.map} +0 -0
  309. /package/dist/{chunk-RJ2THZ4H.js.map → chunk-MBUM2Y3L.js.map} +0 -0
  310. /package/dist/{chunk-T5QAZIBO.js.map → chunk-MOXFPLD6.js.map} +0 -0
  311. /package/dist/{chunk-O54DY26V.js.map → chunk-MXEWQKM7.js.map} +0 -0
  312. /package/dist/{chunk-33L6XHU2.js.map → chunk-NUIJEGVD.js.map} +0 -0
  313. /package/dist/{chunk-EOBJRBLC.js.map → chunk-QGJAGC2J.js.map} +0 -0
  314. /package/dist/{chunk-SMIVW7XC.js.map → chunk-QIMFOCSH.js.map} +0 -0
  315. /package/dist/{chunk-IJEZMWKA.js.map → chunk-SFOAQQDJ.js.map} +0 -0
  316. /package/dist/{chunk-NINRTFSV.js.map → chunk-SINGJCUR.js.map} +0 -0
  317. /package/dist/{chunk-SEWF2O74.js.map → chunk-TGAHHCB6.js.map} +0 -0
  318. /package/dist/{chunk-D75JXBV4.js.map → chunk-WN4GHSDH.js.map} +0 -0
  319. /package/dist/{chunk-K4DWSPMW.js.map → chunk-WRGPE6AW.js.map} +0 -0
  320. /package/dist/{chunk-SDPDU2PM.js.map → chunk-YTMDF6S7.js.map} +0 -0
  321. /package/dist/{chunk-ZDK2IW5F.js.map → chunk-Z7XEIAV4.js.map} +0 -0
  322. /package/dist/{chunk-NHBEO3F3.js.map → chunk-ZCEI242W.js.map} +0 -0
  323. /package/dist/{forget-BEXG5PQC.js.map → forget-6SOIPUMQ.js.map} +0 -0
@@ -1,12 +1,13 @@
1
+ import { b as NamespaceRecord } from './catalog-DxCzhjE6.js';
2
+ import { aL as ScopeProfileLayerId, aM as ScopeProfilePromotionTarget, aN as ScopeProfileConfig, P as PluginConfig, aG as CodingContext, a2 as DaySummaryResult, i as RecallPlanMode, j as RecallDisclosure, g as MemoryFile, m as MemoryLifecycleEvent, E as EntityFile, h as MemoryStatus, aO as DreamsStatusResult, aP as DreamsPhase, aQ as DreamsRunResult } from './types-MWKPZnM0.js';
1
3
  import { StorageManager } from './storage.js';
2
4
  import { a as Peer, b as PeerProfile } from './types-B1VHaf2w.js';
3
5
  import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
4
- import { P as PluginConfig, aw as ScopeProfileLayerId, ax as ScopeProfilePromotionTarget, a2 as DaySummaryResult, i as RecallPlanMode, j as RecallDisclosure, g as MemoryFile, m as MemoryLifecycleEvent, E as EntityFile, h as MemoryStatus, ay as DreamsStatusResult, az as DreamsPhase, aA as DreamsRunResult } from './types-PuiPZ9iE.js';
5
6
  import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
6
7
  import { ExplicitCaptureInput } from './explicit-capture.js';
7
8
  import { BudgetDecision } from './cross-namespace-budget.js';
8
9
  import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
9
- import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-CJI4xdqV.js';
10
+ import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, W as WearablesService } from './orchestrator-C9CDWAm6.js';
10
11
  import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
11
12
  import { LastRecallSnapshot } from './recall-state.js';
12
13
  import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
@@ -15,7 +16,7 @@ import { RecallXraySnapshot } from './recall-xray.js';
15
16
  import { L as LcmMessagePartInput, M as MessagePartSourceFormat } from './index-DJ9QWMw-.js';
16
17
  import { LocalLlmClient } from './local-llm.js';
17
18
  import { FallbackLlmClient } from './fallback-llm.js';
18
- import { S as SemanticDedupLookup } from './semantic-DJR8_DMQ.js';
19
+ import { a as SemanticDedupLookup } from './semantic-SLAa_prH.js';
19
20
  import { MemoryOutcomeKind, RecordMemoryOutcomeResult } from './memory-worth-outcomes.js';
20
21
  import { ImportCapsuleOptions, ImportCapsuleResult } from './transfer/capsule-import.js';
21
22
  import { ExportCapsuleOptions, ExportCapsuleResult } from './transfer/capsule-export.js';
@@ -23,6 +24,355 @@ import { CapsuleListEntry } from './capsule-cli.js';
23
24
  import { OfflineSyncFileState, OfflineSyncSnapshot, OfflineSyncFileRecord, OfflineSyncFileContentChunk, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplyChangesetResult } from './offline-sync.js';
24
25
  import { ActionConfidenceInput, ActionConfidenceResult } from './action-confidence.js';
25
26
 
27
+ interface ScopeProfileLayerResolution {
28
+ id: ScopeProfileLayerId;
29
+ kind: "user-project" | "team-project" | "user-global" | "server-shared";
30
+ namespace?: string;
31
+ readable: boolean;
32
+ writable: boolean;
33
+ promotable: boolean;
34
+ reason: string;
35
+ }
36
+ interface ScopeProfilePromotionResolution {
37
+ target: ScopeProfilePromotionTarget;
38
+ namespace?: string;
39
+ authorized: boolean;
40
+ reason: string;
41
+ }
42
+ interface ResolvedScopeProfilePlan {
43
+ profileId: string;
44
+ profile: ScopeProfileConfig;
45
+ baseNamespace: string;
46
+ writeLayer: ScopeProfileLayerId;
47
+ writeNamespace: string;
48
+ readNamespaces: string[];
49
+ layers: ScopeProfileLayerResolution[];
50
+ promotionTargets: ScopeProfilePromotionResolution[];
51
+ warnings: string[];
52
+ }
53
+
54
+ /**
55
+ * ScopePlan resolver (issue #1521).
56
+ *
57
+ * A single pure function that resolves every namespace-bearing read/write path
58
+ * to one {@link ScopePlan} value object. Consumers (recall tiers, QMD router,
59
+ * LCM reads, maintenance) never call the ad-hoc resolution helpers directly —
60
+ * they receive a resolved plan and read its fields.
61
+ *
62
+ * The resolver DELEGATES to the existing helpers (`resolvePrincipal`,
63
+ * `recallNamespacesForPrincipal`, `resolveCodingNamespaceOverlay`,
64
+ * `resolveScopeProfilePlan`, `expandScopeProfileReadNamespaces`,
65
+ * `combineNamespaces`, `lcmReadSessionIdsForNamespaces`) — no logic rewrite.
66
+ * The ad-hoc inline resolution that previously lived in the orchestrator's
67
+ * `recallInternal` and `enqueueDirectAnswerObservation` paths is replaced by a
68
+ * single call to {@link resolveScopePlan}, eliminating the duplicated
69
+ * namespace-set construction that produced the largest share of #1519's review
70
+ * threads (scope-profile recall paths missing `readFallbacks` appends).
71
+ *
72
+ * Migration tranches (issue #1521 step 4):
73
+ * - recall tiers (this PR): the two orchestrator recall entry points consume
74
+ * the plan instead of building `recallNamespaces`/`observationNamespaces`
75
+ * inline;
76
+ * - QMD router calls, LCM reads, maintenance: follow-up PRs.
77
+ *
78
+ * CLAUDE.md rules honoured (pitfalls from the issue):
79
+ * - rule 42: read/write resolve through the same layer; the coding overlay is
80
+ * COMBINED with the principal base via `combineNamespaces`;
81
+ * - rule 39: feature gates identical across every path the plan feeds;
82
+ * - rule 22/48: LCM keys derived through `lcmSessionKeyForNamespace` (via
83
+ * `lcmReadSessionIdsForNamespaces`), never hardcoded `:`-joins; unscoped LCM
84
+ * search stays suppressed when `namespacesEnabled`.
85
+ */
86
+
87
+ /**
88
+ * A resolved scope plan: every namespace-bearing field a read or write path
89
+ * needs, produced by ONE call to {@link resolveScopePlan}.
90
+ *
91
+ * Consumers read these fields directly — they never re-resolve namespaces.
92
+ */
93
+ interface ScopePlan {
94
+ /**
95
+ * Resolved principal under which the operation runs. `undefined` only when
96
+ * `namespacesEnabled` is false (collapses to `"default"`) or no session key
97
+ * was supplied in single-user mode.
98
+ */
99
+ readonly principal: string | undefined;
100
+ /**
101
+ * Explicit namespace override, trimmed, when the caller supplied one AND it
102
+ * is readable by the principal. `undefined` when no override was given or the
103
+ * override is not readable (the plan falls through to the coding/scope-profile
104
+ * resolution in that case, mirroring the pre-existing observe-path behavior).
105
+ */
106
+ readonly namespaceOverride: string | undefined;
107
+ /**
108
+ * Resolved base (self) namespace — the effective namespace absent an explicit
109
+ * override. This is the principal-self namespace, optionally substituted by a
110
+ * scope-profile write layer or a coding overlay.
111
+ *
112
+ * Callers that persisted this as the `selfNamespace` / response namespace
113
+ * read it here.
114
+ */
115
+ readonly baseNamespace: string;
116
+ /**
117
+ * Ordered, deduped read-namespace set. Includes the coding overlay fallbacks
118
+ * (branch → project → root) combined with the principal base exactly once, so
119
+ * the #1519 miss (scope-profile path omitted `readFallbacks` appends) cannot
120
+ * recur — the fallback appends live in ONE place.
121
+ */
122
+ readonly readNamespaces: string[];
123
+ /**
124
+ * Coding overlay fallback namespaces combined with the principal base (rule
125
+ * 42). Empty when no coding overlay applies. These are the SAME entries
126
+ * appended into {@link readNamespaces} for the coding-overlay branch,
127
+ * surfaced separately so consumers that need just the fallback set (e.g.
128
+ * LCM read-key derivation) can read them without re-deriving.
129
+ */
130
+ readonly readFallbacks: string[];
131
+ /**
132
+ * LCM read namespace set. May differ from {@link readNamespaces} for
133
+ * read-authorization reasons: when the principal self base is NOT in the
134
+ * readable recall set, the overlay LCM keys collapse to the default store
135
+ * (rule 42 read/write parity; rule 48 least-privilege) even though
136
+ * {@link readNamespaces} still searches the overlay for QMD/file recall.
137
+ */
138
+ readonly lcmReadNamespaces: string[];
139
+ /**
140
+ * LCM read `session_id` set, encoded via
141
+ * `lcmReadSessionIdsForNamespaces` (which delegates to
142
+ * `lcmSessionKeyForNamespace`). Ordered and deduped; the primary overlay key
143
+ * is first. Single-user / no-overlay recall collapses to `[sessionKey]` —
144
+ * byte-for-byte the pre-#1495 behavior.
145
+ *
146
+ * Empty (`[]`) when a scope-profile plan is active and no `sessionKey` was
147
+ * supplied (mirrors the pre-existing guard).
148
+ */
149
+ readonly lcmReadSessionIds: ReadonlyArray<string | undefined>;
150
+ /**
151
+ * Resolved coding overlay, or `null` when none applies (no coding context,
152
+ * `codingMode.projectScope` false, `namespacesEnabled` false, or an explicit
153
+ * readable namespace override is set).
154
+ */
155
+ readonly codingOverlay: {
156
+ readonly namespace: string;
157
+ readonly readFallbacks: readonly string[];
158
+ } | null;
159
+ /**
160
+ * Resolved scope-profile plan, or `null` when no scope profile is active.
161
+ * Consumers that branched on "profile vs. non-profile" read this directly.
162
+ */
163
+ readonly scopeProfilePlan: ResolvedScopeProfilePlan | null;
164
+ }
165
+
166
+ /**
167
+ * One layer's contribution to the effective scope, with a human-readable
168
+ * reason it was included or skipped. Mirrors the layer set surfaced by the
169
+ * scope-profile plan plus the coding overlay and explicit override.
170
+ */
171
+ interface ScopeInspectionLayer {
172
+ /** Layer id — `userProject` / `teamProject` / `userGlobal` / `serverShared` / `coding` / `explicit` / `self`. */
173
+ id: string;
174
+ /** Resolved namespace for the layer, when applicable. */
175
+ namespace?: string;
176
+ /** Whether the layer is in the active read set. */
177
+ readable: boolean;
178
+ /** Whether the layer is the effective write target. */
179
+ writable: boolean;
180
+ /** Whether the layer is an authorized promotion target. */
181
+ promotable: boolean;
182
+ /** Human-readable explanation — used verbatim by the console "why" column. */
183
+ reason: string;
184
+ }
185
+ /** Promotion target resolved against policy + scope profile. */
186
+ interface ScopeInspectionPromotionTarget {
187
+ target: string;
188
+ namespace?: string;
189
+ authorized: boolean;
190
+ reason: string;
191
+ }
192
+ /** Output of {@link inspectScope}. */
193
+ interface ScopeInspection {
194
+ /** Resolved principal (or `undefined` in single-user mode). */
195
+ principal: string | undefined;
196
+ /** Explicit namespace override, when readable. */
197
+ namespaceOverride: string | undefined;
198
+ /** Effective write namespace. */
199
+ writeNamespace: string;
200
+ /** Read namespaces in the order recall searches them. */
201
+ readNamespaces: string[];
202
+ /** Coding overlay details (branch → project → root fallbacks). */
203
+ codingOverlay: {
204
+ namespace: string;
205
+ readFallbacks: readonly string[];
206
+ } | null;
207
+ /** Active scope profile id, if any. */
208
+ scopeProfileId: string | null;
209
+ /** Per-layer explanations. */
210
+ layers: ScopeInspectionLayer[];
211
+ /** Promotion targets available for this session/principal. */
212
+ promotionTargets: ScopeInspectionPromotionTarget[];
213
+ /** Operator warnings (missing project, disabled scope, auth failures, …). */
214
+ warnings: string[];
215
+ /**
216
+ * Frozen copy of the {@link ScopePlan} the runtime resolver produced. The
217
+ * dashboard MUST display this verbatim — never a re-derived copy — so the
218
+ * "scope inspector returns the same plan as runtime resolver" acceptance
219
+ * test (issue #1502) holds by construction.
220
+ */
221
+ plan: ScopePlan;
222
+ }
223
+ /** Operation type the caller intends to inspect (informational only). */
224
+ type ScopeInspectionOperation = "recall" | "observe" | "memory_store" | "maintenance" | "dashboard";
225
+ /** Inputs for {@link inspectScope}. */
226
+ interface InspectScopeOptions {
227
+ readonly config: PluginConfig;
228
+ readonly sessionKey?: string;
229
+ readonly namespace?: string;
230
+ readonly principalOverride?: string;
231
+ readonly codingContext?: CodingContext | null;
232
+ readonly operation?: ScopeInspectionOperation;
233
+ /**
234
+ * Whether namespace routing is enabled. Callers that already resolved the
235
+ * flag (e.g. the access-service layer, threading it through the shared
236
+ * scope-plan chokepoint) pass it here so this pure helper does not need to
237
+ * re-read the namespace gate. Defaults to reading the config flag when
238
+ * omitted so direct callers (tests, CLI) keep working.
239
+ */
240
+ readonly namespacesEnabled?: boolean;
241
+ }
242
+ /** Filters the namespace browser accepts (superset of {@link NamespaceCatalogFilter}). */
243
+ interface AdminNamespaceFilter {
244
+ kind?: NamespaceRecord["kind"];
245
+ principal?: string;
246
+ projectId?: string;
247
+ discoveredBy?: NamespaceRecord["discoveredBy"];
248
+ /** Only namespaces with a write at/after this instant. */
249
+ writtenSince?: Date;
250
+ /** Only namespaces whose last write is older than this instant (stale). */
251
+ staleBefore?: Date;
252
+ }
253
+ /** One namespace row augmented with the operator-facing diagnostics the issue lists. */
254
+ interface AdminNamespaceEntry {
255
+ namespace: string;
256
+ identityToken: string;
257
+ kind: NamespaceRecord["kind"];
258
+ principal?: string;
259
+ projectId?: string;
260
+ branch?: string;
261
+ parentNamespace?: string;
262
+ createdAt: string;
263
+ lastReadAt?: string;
264
+ lastWriteAt?: string;
265
+ lastMaintenanceAt?: Record<string, string>;
266
+ storageDir: string;
267
+ discoveredBy: NamespaceRecord["discoveredBy"];
268
+ /** True when last write is older than `staleThresholdDays` (or never written). */
269
+ stale: boolean;
270
+ }
271
+ /** Output of {@link listAdminNamespaces}. */
272
+ interface AdminNamespaceList {
273
+ /** Whether the namespace catalog is enabled. `false` collapses the list. */
274
+ enabled: boolean;
275
+ entries: AdminNamespaceEntry[];
276
+ }
277
+ /** QMD/search health snapshot for one namespace (delegated to NamespaceSearchRouter). */
278
+ interface AdminNamespaceQmdHealth {
279
+ namespace: string;
280
+ collection: string;
281
+ available: boolean;
282
+ collectionState: string;
283
+ debugStatus: string;
284
+ installedVersion: string | null;
285
+ supportedVersion: string | null;
286
+ supported: boolean | null;
287
+ upgradeAvailable: boolean | null;
288
+ daemonMode: boolean | null;
289
+ }
290
+ /** Maintenance + QMD health for one namespace. */
291
+ interface AdminNamespaceHealth {
292
+ namespace: string;
293
+ kind?: NamespaceRecord["kind"];
294
+ lastMaintenanceAt?: Record<string, string>;
295
+ /** True when no maintenance has ever been recorded. */
296
+ maintenanceMissing: boolean;
297
+ /** True when QMD is unavailable OR its collection is missing for this namespace. */
298
+ qmdDegraded: boolean;
299
+ qmd?: AdminNamespaceQmdHealth;
300
+ /** Reason the QMD probe failed, when it did. */
301
+ qmdError?: string;
302
+ }
303
+ /** Output of {@link gatherMaintenanceHealth}. */
304
+ interface MaintenanceHealthReport {
305
+ /** Whether the catalog is enabled. */
306
+ enabled: boolean;
307
+ /** Aggregate degraded-mode flag — true when ANY namespace is QMD-degraded. */
308
+ degradedMode: boolean;
309
+ perNamespace: AdminNamespaceHealth[];
310
+ }
311
+ /** One file the dry-run migration planner would re-home. */
312
+ interface TranscriptAuditFile {
313
+ sourceRelPath: string;
314
+ fileName: string;
315
+ distinctSessions: number;
316
+ movedEntries: number;
317
+ unmovableLines: number;
318
+ }
319
+ /** Output of {@link auditTranscripts}. */
320
+ interface TranscriptAuditReport {
321
+ /** Generated timestamp (ISO). */
322
+ generatedAt: string;
323
+ /** Always true — the admin surface is dry-run only. */
324
+ dryRun: true;
325
+ /** Absolute transcripts directory scanned. */
326
+ transcriptsDir: string;
327
+ /** True when any legacy fallback file (e.g. `other/default`) holds mixed sessions. */
328
+ mixedOtherDefault: boolean;
329
+ /** Distinct sessions the planner would re-home. */
330
+ distinctSessions: number;
331
+ /** Total JSONL entries that would move. */
332
+ movedEntries: number;
333
+ /** Per-file plans with at least one entry to move. */
334
+ files: TranscriptAuditFile[];
335
+ /** Operator-facing summary of the risk. */
336
+ summary: string;
337
+ }
338
+ /** Promotion target kind the console can request. */
339
+ type MemoryPromotionTargetKind = "teamProject" | "serverShared" | "userProject" | "userGlobal" | "explicit";
340
+ /** Result of one promotion attempt. */
341
+ interface MemoryPromotionTargetResult {
342
+ target: MemoryPromotionTargetKind;
343
+ namespace: string;
344
+ authorized: boolean;
345
+ promoted: boolean;
346
+ promotedMemoryId?: string;
347
+ reason: string;
348
+ }
349
+ /** Output of {@link promoteMemory}. */
350
+ interface MemoryPromotionResult {
351
+ /** Whether the caller-supplied reason was accepted. */
352
+ ok: boolean;
353
+ /** Source memory id. */
354
+ sourceMemoryId: string;
355
+ /** Source namespace the memory was read from. */
356
+ sourceNamespace: string;
357
+ /** Per-target outcomes. Empty when authorization fails up front. */
358
+ targets: MemoryPromotionTargetResult[];
359
+ /** Audit record — caller appends to the access audit log. */
360
+ audit: MemoryPromotionAudit;
361
+ }
362
+ /** Audit trail for a promotion operation. */
363
+ interface MemoryPromotionAudit {
364
+ at: string;
365
+ actor: string;
366
+ sourceMemoryId: string;
367
+ sourceNamespace: string;
368
+ reason: string;
369
+ targets: Array<{
370
+ target: MemoryPromotionTargetKind;
371
+ namespace: string;
372
+ promoted: boolean;
373
+ }>;
374
+ }
375
+
26
376
  interface ConsoleBufferState {
27
377
  /** Number of turns currently held in the default buffer slot. */
28
378
  turnsCount: number;
@@ -458,22 +808,6 @@ declare function computeProcedureStats(options: {
458
808
  */
459
809
  declare function formatProcedureStatsText(report: ProcedureStatsReport): string;
460
810
 
461
- interface ScopeProfileLayerResolution {
462
- id: ScopeProfileLayerId;
463
- kind: "user-project" | "team-project" | "user-global" | "server-shared";
464
- namespace?: string;
465
- readable: boolean;
466
- writable: boolean;
467
- promotable: boolean;
468
- reason: string;
469
- }
470
- interface ScopeProfilePromotionResolution {
471
- target: ScopeProfilePromotionTarget;
472
- namespace?: string;
473
- authorized: boolean;
474
- reason: string;
475
- }
476
-
477
811
  declare class EngramAccessInputError extends Error {
478
812
  }
479
813
  type AccessProfilingReportRequest = {
@@ -2221,6 +2555,50 @@ declare class EngramAccessService {
2221
2555
  date?: string;
2222
2556
  limit?: number;
2223
2557
  }): Promise<Awaited<ReturnType<WearablesService["transcriptMemories"]>>>;
2558
+ /**
2559
+ * Resolve an effective scope inspection for the console. Inputs are
2560
+ * redacted before return so an operator-supplied principal preview /
2561
+ * namespace override never echoes a pasted credential back.
2562
+ */
2563
+ adminInspectScope(options: {
2564
+ sessionKey?: string;
2565
+ namespace?: string;
2566
+ principalOverride?: string;
2567
+ operation?: InspectScopeOptions["operation"];
2568
+ }): Promise<ScopeInspection>;
2569
+ /**
2570
+ * List configured + discovered namespaces from the catalog with the
2571
+ * admin filters the console exposes.
2572
+ */
2573
+ adminListNamespaces(filter?: AdminNamespaceFilter): Promise<AdminNamespaceList>;
2574
+ /**
2575
+ * Per-namespace maintenance + QMD health. QMD diagnostics are probed via
2576
+ * the orchestrator's search health accessor (one probe per namespace).
2577
+ */
2578
+ adminMaintenanceHealth(): Promise<MaintenanceHealthReport>;
2579
+ /**
2580
+ * Dry-run transcript/session audit. Detects mixed `other/default` data
2581
+ * and legacy stranded directories. Never applies a migration.
2582
+ */
2583
+ adminTranscriptAudit(): Promise<TranscriptAuditReport>;
2584
+ /**
2585
+ * Manually promote a memory into one or more authorized targets. Requires
2586
+ * a non-empty reason (audit-logged). Reuses the scope-profile promotion
2587
+ * resolution and `canWriteNamespace` gate — there is no dashboard-only
2588
+ * write path.
2589
+ */
2590
+ adminPromoteMemory(request: {
2591
+ sourceMemoryId: string;
2592
+ namespace?: string;
2593
+ principal?: string;
2594
+ sessionKey?: string;
2595
+ targets: ReadonlyArray<{
2596
+ kind: MemoryPromotionTargetKind;
2597
+ namespace?: string;
2598
+ }>;
2599
+ reason: string;
2600
+ actor?: never;
2601
+ }): Promise<MemoryPromotionResult>;
2224
2602
  }
2225
2603
 
2226
2604
  export { type EngramAccessOfflineSyncFilesRequest as $, type ArchitectureSurfaceRequest as A, type EngramAccessLcmCompactionFlushRequest as B, type CodegraphSurfaceRequest as C, type DecisionSurfaceRequest as D, type EngramAccessMemoryResponse as E, type EngramAccessLcmCompactionFlushResponse as F, type EngramAccessLcmCompactionRecordRequest as G, type EngramAccessLcmCompactionRecordResponse as H, type EngramAccessLcmSearchRequest as I, type EngramAccessLcmSearchResponse as J, type EngramAccessLcmStatusResponse as K, type EngramAccessMaintenanceResponse as L, type EngramAccessMemoryBrowseRequest as M, type EngramAccessMemoryBrowseResponse as N, type EngramAccessMemoryRecord as O, type ProcedureStatsConfigSnapshot as P, type EngramAccessMemoryStoreRequest as Q, type EngramAccessMemorySummary as R, type EngramAccessObserveMessage as S, type EngramAccessObserveRequest as T, type EngramAccessObserveResponse as U, type EngramAccessOfflineSyncApplyFileContentRequest as V, type EngramAccessOfflineSyncApplyFileContentResponse as W, type EngramAccessOfflineSyncApplyRequest as X, type EngramAccessOfflineSyncApplyResponse as Y, type EngramAccessOfflineSyncFileContentRequest as Z, type EngramAccessOfflineSyncFileContentResponse as _, type ArchitectureSurfaceResponse as a, type EngramAccessOfflineSyncFilesResponse as a0, type EngramAccessOfflineSyncSnapshotRequest as a1, type EngramAccessOfflineSyncSnapshotResponse as a2, type EngramAccessOfflineSyncSnapshotStreamResponse as a3, type EngramAccessQmdCollectionState as a4, type EngramAccessQmdHealthResponse as a5, type EngramAccessQualityResponse as a6, type EngramAccessRecallExplainRequest as a7, type EngramAccessRecallExplainResponse as a8, type EngramAccessRecallRequest as a9, type EngramAccessReviewDispositionRequest as aa, type EngramAccessReviewDispositionResponse as ab, type EngramAccessReviewQueueResponse as ac, type EngramAccessScopeDebug as ad, type EngramAccessSetCodingContextRequest as ae, type EngramAccessSuggestionSubmitRequest as af, type EngramAccessTimelineResponse as ag, type EngramAccessTrustZoneBrowseRequest as ah, type EngramAccessTrustZoneBrowseResponse as ai, type EngramAccessTrustZoneDemoSeedRequest as aj, type EngramAccessTrustZoneDemoSeedResponse as ak, type EngramAccessTrustZonePromoteRequest as al, type EngramAccessTrustZonePromoteResponse as am, type EngramAccessTrustZoneRecordSummary as an, type EngramAccessTrustZoneStatusResponse as ao, type EngramAccessWriteEnvelope as ap, type MemoryScopePlan as aq, shapeMemorySummary as ar, type DecisionSurfaceResponse as b, type DeltaSurfaceRequest as c, type DeltaSurfaceResponse as d, type EngramAccessWriteResponse as e, type CodegraphSurfaceResponse as f, EngramAccessService as g, type EngramAccessRecallResponse as h, EngramAccessInputError as i, type ProcedureStatsRecent as j, type ProcedureStatsReport as k, type ProcedureStatusCounts as l, computeProcedureStats as m, formatProcedureStatsText as n, type CodingScopedWriteInput as o, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as p, type EngramAccessActionConfidenceRequest as q, type EngramAccessActionConfidenceResponse as r, type EngramAccessBriefingRequest as s, type EngramAccessBriefingResponse as t, type EngramAccessCapsuleListResponse as u, type EngramAccessDaySummaryRequest as v, type EngramAccessEntityListResponse as w, type EngramAccessEntityResponse as x, type EngramAccessEntitySummary as y, type EngramAccessHealthResponse as z };
@@ -1,13 +1,13 @@
1
+ export { o as CodingScopedWriteInput, p as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, q as EngramAccessActionConfidenceRequest, r as EngramAccessActionConfidenceResponse, s as EngramAccessBriefingRequest, t as EngramAccessBriefingResponse, u as EngramAccessCapsuleListResponse, v as EngramAccessDaySummaryRequest, w as EngramAccessEntityListResponse, x as EngramAccessEntityResponse, y as EngramAccessEntitySummary, z as EngramAccessHealthResponse, i as EngramAccessInputError, B as EngramAccessLcmCompactionFlushRequest, F as EngramAccessLcmCompactionFlushResponse, G as EngramAccessLcmCompactionRecordRequest, H as EngramAccessLcmCompactionRecordResponse, I as EngramAccessLcmSearchRequest, J as EngramAccessLcmSearchResponse, K as EngramAccessLcmStatusResponse, L as EngramAccessMaintenanceResponse, M as EngramAccessMemoryBrowseRequest, N as EngramAccessMemoryBrowseResponse, O as EngramAccessMemoryRecord, E as EngramAccessMemoryResponse, Q as EngramAccessMemoryStoreRequest, R as EngramAccessMemorySummary, S as EngramAccessObserveMessage, T as EngramAccessObserveRequest, U as EngramAccessObserveResponse, V as EngramAccessOfflineSyncApplyFileContentRequest, W as EngramAccessOfflineSyncApplyFileContentResponse, X as EngramAccessOfflineSyncApplyRequest, Y as EngramAccessOfflineSyncApplyResponse, Z as EngramAccessOfflineSyncFileContentRequest, _ as EngramAccessOfflineSyncFileContentResponse, $ as EngramAccessOfflineSyncFilesRequest, a0 as EngramAccessOfflineSyncFilesResponse, a1 as EngramAccessOfflineSyncSnapshotRequest, a2 as EngramAccessOfflineSyncSnapshotResponse, a3 as EngramAccessOfflineSyncSnapshotStreamResponse, a4 as EngramAccessQmdCollectionState, a5 as EngramAccessQmdHealthResponse, a6 as EngramAccessQualityResponse, a7 as EngramAccessRecallExplainRequest, a8 as EngramAccessRecallExplainResponse, a9 as EngramAccessRecallRequest, h as EngramAccessRecallResponse, aa as EngramAccessReviewDispositionRequest, ab as EngramAccessReviewDispositionResponse, ac as EngramAccessReviewQueueResponse, ad as EngramAccessScopeDebug, g as EngramAccessService, ae as EngramAccessSetCodingContextRequest, af as EngramAccessSuggestionSubmitRequest, ag as EngramAccessTimelineResponse, ah as EngramAccessTrustZoneBrowseRequest, ai as EngramAccessTrustZoneBrowseResponse, aj as EngramAccessTrustZoneDemoSeedRequest, ak as EngramAccessTrustZoneDemoSeedResponse, al as EngramAccessTrustZonePromoteRequest, am as EngramAccessTrustZonePromoteResponse, an as EngramAccessTrustZoneRecordSummary, ao as EngramAccessTrustZoneStatusResponse, ap as EngramAccessWriteEnvelope, e as EngramAccessWriteResponse, aq as MemoryScopePlan, ar as shapeMemorySummary } from './access-service-COCzhgEL.js';
1
2
  import './storage.js';
2
3
  import './types-B1VHaf2w.js';
3
- export { o as CodingScopedWriteInput, p as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, q as EngramAccessActionConfidenceRequest, r as EngramAccessActionConfidenceResponse, s as EngramAccessBriefingRequest, t as EngramAccessBriefingResponse, u as EngramAccessCapsuleListResponse, v as EngramAccessDaySummaryRequest, w as EngramAccessEntityListResponse, x as EngramAccessEntityResponse, y as EngramAccessEntitySummary, z as EngramAccessHealthResponse, i as EngramAccessInputError, B as EngramAccessLcmCompactionFlushRequest, F as EngramAccessLcmCompactionFlushResponse, G as EngramAccessLcmCompactionRecordRequest, H as EngramAccessLcmCompactionRecordResponse, I as EngramAccessLcmSearchRequest, J as EngramAccessLcmSearchResponse, K as EngramAccessLcmStatusResponse, L as EngramAccessMaintenanceResponse, M as EngramAccessMemoryBrowseRequest, N as EngramAccessMemoryBrowseResponse, O as EngramAccessMemoryRecord, E as EngramAccessMemoryResponse, Q as EngramAccessMemoryStoreRequest, R as EngramAccessMemorySummary, S as EngramAccessObserveMessage, T as EngramAccessObserveRequest, U as EngramAccessObserveResponse, V as EngramAccessOfflineSyncApplyFileContentRequest, W as EngramAccessOfflineSyncApplyFileContentResponse, X as EngramAccessOfflineSyncApplyRequest, Y as EngramAccessOfflineSyncApplyResponse, Z as EngramAccessOfflineSyncFileContentRequest, _ as EngramAccessOfflineSyncFileContentResponse, $ as EngramAccessOfflineSyncFilesRequest, a0 as EngramAccessOfflineSyncFilesResponse, a1 as EngramAccessOfflineSyncSnapshotRequest, a2 as EngramAccessOfflineSyncSnapshotResponse, a3 as EngramAccessOfflineSyncSnapshotStreamResponse, a4 as EngramAccessQmdCollectionState, a5 as EngramAccessQmdHealthResponse, a6 as EngramAccessQualityResponse, a7 as EngramAccessRecallExplainRequest, a8 as EngramAccessRecallExplainResponse, a9 as EngramAccessRecallRequest, h as EngramAccessRecallResponse, aa as EngramAccessReviewDispositionRequest, ab as EngramAccessReviewDispositionResponse, ac as EngramAccessReviewQueueResponse, ad as EngramAccessScopeDebug, g as EngramAccessService, ae as EngramAccessSetCodingContextRequest, af as EngramAccessSuggestionSubmitRequest, ag as EngramAccessTimelineResponse, ah as EngramAccessTrustZoneBrowseRequest, ai as EngramAccessTrustZoneBrowseResponse, aj as EngramAccessTrustZoneDemoSeedRequest, ak as EngramAccessTrustZoneDemoSeedResponse, al as EngramAccessTrustZonePromoteRequest, am as EngramAccessTrustZonePromoteResponse, an as EngramAccessTrustZoneRecordSummary, ao as EngramAccessTrustZoneStatusResponse, ap as EngramAccessWriteEnvelope, e as EngramAccessWriteResponse, aq as MemoryScopePlan, ar as shapeMemorySummary } from './access-service-Cte3ol0W.js';
4
4
  import './recall-explain-renderer.js';
5
- import './types-PuiPZ9iE.js';
5
+ import './types-MWKPZnM0.js';
6
6
  import './recall-audit-anomaly.js';
7
7
  import './explicit-capture.js';
8
8
  import './cross-namespace-budget.js';
9
9
  import './maintenance/memory-governance.js';
10
- import './orchestrator-CJI4xdqV.js';
10
+ import './orchestrator-C9CDWAm6.js';
11
11
  import './live-connectors-runner.js';
12
12
  import './recall-state.js';
13
13
  import './graph-snapshot.js';
@@ -16,13 +16,14 @@ import './recall-xray.js';
16
16
  import './index-DJ9QWMw-.js';
17
17
  import './local-llm.js';
18
18
  import './fallback-llm.js';
19
- import './semantic-DJR8_DMQ.js';
19
+ import './semantic-SLAa_prH.js';
20
20
  import './memory-worth-outcomes.js';
21
21
  import './transfer/capsule-import.js';
22
22
  import './transfer/capsule-export.js';
23
23
  import './capsule-cli.js';
24
24
  import './offline-sync.js';
25
25
  import './action-confidence.js';
26
+ import './catalog-DxCzhjE6.js';
26
27
  import './page-versioning.js';
27
28
  import './consolidation-operator.js';
28
29
  import './memory-projection-store.js';
@@ -44,7 +45,6 @@ import './session-integrity.js';
44
45
  import './summarizer.js';
45
46
  import './orchestration/maintenance.js';
46
47
  import './namespaces/search.js';
47
- import './catalog-DN1PzThs.js';
48
48
  import './framework-CNDn2164.js';
49
49
  import './relevance.js';
50
50
  import './negative.js';
@@ -58,7 +58,7 @@ import './lcm/archive.js';
58
58
  import './lcm/summarizer.js';
59
59
  import './lcm/dag.js';
60
60
  import './lcm/queue.js';
61
- import './semantic-consolidation-BtUfv-AL.js';
61
+ import './semantic-consolidation-DgFXyALl.js';
62
62
  import './connectors/codex-materialize.js';
63
63
  import './logger.js';
64
64
  import './conversation-index/backend.js';
@@ -3,25 +3,27 @@ import {
3
3
  EngramAccessInputError,
4
4
  EngramAccessService,
5
5
  shapeMemorySummary
6
- } from "./chunk-3E5WRQNQ.js";
6
+ } from "./chunk-OXEAMU42.js";
7
7
  import "./chunk-GDASG7NC.js";
8
8
  import "./chunk-GDB4J2H3.js";
9
9
  import "./chunk-DL6H3D7S.js";
10
10
  import "./chunk-VQ7B2Q6M.js";
11
11
  import "./chunk-ERA5RSMZ.js";
12
- import "./chunk-D75JXBV4.js";
12
+ import "./chunk-IQ7WCZRW.js";
13
+ import "./chunk-WN4GHSDH.js";
13
14
  import "./chunk-SOBJ6NEY.js";
14
15
  import "./chunk-BT7NVCML.js";
15
16
  import "./chunk-H7XKCNR6.js";
16
- import "./chunk-HRUULBBV.js";
17
+ import "./chunk-SHRRWOVY.js";
17
18
  import "./chunk-RS25QOKZ.js";
18
19
  import "./chunk-JGSKJHF7.js";
20
+ import "./chunk-S4DDLTPX.js";
19
21
  import "./chunk-FF4KLI5W.js";
20
- import "./chunk-SDPDU2PM.js";
22
+ import "./chunk-YTMDF6S7.js";
21
23
  import "./chunk-BMFZLLNI.js";
22
24
  import "./chunk-CI7RKSRE.js";
23
25
  import "./chunk-6HMYUWXR.js";
24
- import "./chunk-RJ2THZ4H.js";
26
+ import "./chunk-MBUM2Y3L.js";
25
27
  import "./chunk-VPAFWWCL.js";
26
28
  import "./chunk-QQW2LIEA.js";
27
29
  import "./chunk-SANZHXY2.js";
@@ -44,7 +46,7 @@ import "./chunk-YOI3ELXF.js";
44
46
  import "./chunk-EI6V5UXY.js";
45
47
  import "./chunk-PNLCEFE4.js";
46
48
  import "./chunk-O75CRYGF.js";
47
- import "./chunk-U33LWTQQ.js";
49
+ import "./chunk-HV57RHMD.js";
48
50
  import "./chunk-QDW3E4RD.js";
49
51
  import "./chunk-3ONXXHQO.js";
50
52
  import "./chunk-ODPLEWB6.js";
@@ -53,18 +55,18 @@ import "./chunk-KF74X62T.js";
53
55
  import "./chunk-2LSZVONP.js";
54
56
  import "./chunk-DEUNUKTD.js";
55
57
  import "./chunk-YN4ZT4CW.js";
56
- import "./chunk-6JDGADXK.js";
57
- import "./chunk-X74FJSW7.js";
58
- import "./chunk-PCZR32VL.js";
58
+ import "./chunk-6VVP6NK7.js";
59
+ import "./chunk-GFIARMA7.js";
60
+ import "./chunk-3JJWNZTT.js";
59
61
  import "./chunk-M7XQSUBB.js";
60
- import "./chunk-YPR7DOPD.js";
61
62
  import "./chunk-5UZXUTVO.js";
62
63
  import "./chunk-5GPPACXK.js";
63
64
  import "./chunk-OMNTQPZO.js";
64
65
  import "./chunk-IREVVFTM.js";
65
66
  import "./chunk-SVOZFLIQ.js";
67
+ import "./chunk-LTJAMRGI.js";
66
68
  import "./chunk-J6A3CX5N.js";
67
- import "./chunk-IKNQAGBV.js";
69
+ import "./chunk-IX3UQT4H.js";
68
70
  import "./chunk-SCU65EZI.js";
69
71
  import "./chunk-MB5RSUW6.js";
70
72
  import "./chunk-6KYMPV2O.js";
@@ -73,7 +75,6 @@ import "./chunk-42JKGUFJ.js";
73
75
  import "./chunk-RULE4VG5.js";
74
76
  import "./chunk-LDXUBPMO.js";
75
77
  import "./chunk-DM2T26WE.js";
76
- import "./chunk-FVQJYWH7.js";
77
78
  import "./chunk-FEB7W5JG.js";
78
79
  import "./chunk-G7D6GZ5J.js";
79
80
  import "./chunk-VF4XKTX3.js";
@@ -102,11 +103,13 @@ import "./chunk-I4WBNM3M.js";
102
103
  import "./chunk-SOAU2OE2.js";
103
104
  import "./chunk-UZYLX7M6.js";
104
105
  import "./chunk-U3PN77QT.js";
105
- import "./chunk-ZPQVJEVQ.js";
106
+ import "./chunk-SK2CR6MW.js";
107
+ import "./chunk-FVQJYWH7.js";
106
108
  import "./chunk-4DJQYKMN.js";
107
109
  import "./chunk-EYIEWJNI.js";
108
110
  import "./chunk-JUC24CTX.js";
109
111
  import "./chunk-NU3CSQ4H.js";
112
+ import "./chunk-6MKAMLQL.js";
110
113
  import "./chunk-TBBDFYXW.js";
111
114
  import "./chunk-ZBJMUXZH.js";
112
115
  import "./chunk-PVGDJXVK.js";
@@ -1,10 +1,11 @@
1
1
  import { OperationName } from './access-boundary.js';
2
2
  import 'zod';
3
- import './access-service-Cte3ol0W.js';
4
- import './storage.js';
5
- import './types-PuiPZ9iE.js';
3
+ import './access-service-COCzhgEL.js';
4
+ import './catalog-DxCzhjE6.js';
5
+ import './types-MWKPZnM0.js';
6
6
  import './types-ByK7T3L6.js';
7
7
  import './index-DJ9QWMw-.js';
8
+ import './storage.js';
8
9
  import './page-versioning.js';
9
10
  import './consolidation-operator.js';
10
11
  import './memory-projection-store.js';
@@ -22,7 +23,7 @@ import './user-model.js';
22
23
  import './recall-audit-anomaly.js';
23
24
  import './recall-audit.js';
24
25
  import './explicit-capture.js';
25
- import './orchestrator-CJI4xdqV.js';
26
+ import './orchestrator-C9CDWAm6.js';
26
27
  import './briefing.js';
27
28
  import './buffer.js';
28
29
  import './extraction-faithfulness.js';
@@ -35,14 +36,13 @@ import './session-integrity.js';
35
36
  import './summarizer.js';
36
37
  import './orchestration/maintenance.js';
37
38
  import './namespaces/search.js';
38
- import './catalog-DN1PzThs.js';
39
39
  import './live-connectors-runner.js';
40
40
  import './framework-CNDn2164.js';
41
41
  import './relevance.js';
42
42
  import './negative.js';
43
43
  import './session-observer-state.js';
44
44
  import './embedding-fallback.js';
45
- import './semantic-DJR8_DMQ.js';
45
+ import './semantic-SLAa_prH.js';
46
46
  import './capabilities.js';
47
47
  import './replay/types.js';
48
48
  import './extraction-judge.js';
@@ -51,7 +51,7 @@ import './lcm/archive.js';
51
51
  import './lcm/summarizer.js';
52
52
  import './lcm/dag.js';
53
53
  import './lcm/queue.js';
54
- import './semantic-consolidation-BtUfv-AL.js';
54
+ import './semantic-consolidation-DgFXyALl.js';
55
55
  import './connectors/codex-materialize.js';
56
56
  import './logger.js';
57
57
  import './conversation-index/backend.js';
@@ -1,5 +1,5 @@
1
1
  import { RetrievedMemoryCorrectionState, RetrievedMemorySafety } from './memory-provenance.js';
2
- import './types-PuiPZ9iE.js';
2
+ import './types-MWKPZnM0.js';
3
3
  import './types-ByK7T3L6.js';
4
4
  import './index-DJ9QWMw-.js';
5
5
  import './user-model.js';
@@ -1,4 +1,4 @@
1
- import { P as PluginConfig, g as MemoryFile } from './types-PuiPZ9iE.js';
1
+ import { P as PluginConfig, g as MemoryFile } from './types-MWKPZnM0.js';
2
2
  import './types-ByK7T3L6.js';
3
3
  import './index-DJ9QWMw-.js';
4
4