@remnic/core 9.63.9 → 9.63.11

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 (464) hide show
  1. package/dist/access-admin-ops-surface.d.ts +12 -11
  2. package/dist/access-admin-ops-surface.js +23 -23
  3. package/dist/access-authorization-probe.d.ts +12 -11
  4. package/dist/access-authorization-probe.js +24 -24
  5. package/dist/access-boundary.d.ts +12 -11
  6. package/dist/access-boundary.js +23 -23
  7. package/dist/access-cli.js +84 -82
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +12 -11
  11. package/dist/access-extraction-force-flush.js +23 -23
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +12 -11
  16. package/dist/access-http-query.d.ts +2 -2
  17. package/dist/access-http-query.js +25 -25
  18. package/dist/access-http.d.ts +13 -12
  19. package/dist/access-http.js +36 -36
  20. package/dist/access-identity-continuity-surface.d.ts +9 -9
  21. package/dist/access-identity-continuity-surface.js +23 -23
  22. package/dist/access-lcm-surface.d.ts +12 -11
  23. package/dist/access-lcm-surface.js +23 -23
  24. package/dist/access-mcp.d.ts +12 -11
  25. package/dist/access-mcp.js +30 -30
  26. package/dist/access-memory-search-fanout.d.ts +2 -2
  27. package/dist/{access-namespace-preflight-DB0zXFek.d.ts → access-namespace-preflight-CrF0FKaz.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +3 -3
  29. package/dist/access-namespace-preflight.js +23 -23
  30. package/dist/access-observe-write-surface.d.ts +12 -11
  31. package/dist/access-observe-write-surface.js +23 -23
  32. package/dist/access-offline-manifest.d.ts +9 -9
  33. package/dist/access-operations-batch.js +26 -25
  34. package/dist/access-operations.d.ts +14 -14
  35. package/dist/access-operations.js +29 -29
  36. package/dist/access-recall-concurrency.d.ts +12 -11
  37. package/dist/access-recall-concurrency.js +23 -23
  38. package/dist/access-recall-response.d.ts +12 -11
  39. package/dist/access-recall-response.js +23 -23
  40. package/dist/access-recall-surface.d.ts +12 -11
  41. package/dist/access-recall-surface.js +23 -23
  42. package/dist/access-schema.d.ts +92 -92
  43. package/dist/access-schema.js +3 -3
  44. package/dist/{access-service-DwfdjqkZ.d.ts → access-service-U6jiERic.d.ts} +86 -161
  45. package/dist/access-service-helpers.d.ts +12 -11
  46. package/dist/access-service.d.ts +12 -11
  47. package/dist/access-service.js +23 -23
  48. package/dist/access-surface-catalog.d.ts +12 -11
  49. package/dist/access-surface-catalog.js +25 -25
  50. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  51. package/dist/action-confidence.d.ts +1 -1
  52. package/dist/active-memory-bridge.d.ts +1 -1
  53. package/dist/active-recall.d.ts +1 -1
  54. package/dist/ambient-provenance.d.ts +1 -1
  55. package/dist/artifact-search.d.ts +1 -1
  56. package/dist/{auto-sync-3SHMZVQS.js → auto-sync-5L7EUZ27.js} +4 -3
  57. package/dist/{auto-sync-3SHMZVQS.js.map → auto-sync-5L7EUZ27.js.map} +1 -1
  58. package/dist/behavior-learner.d.ts +1 -1
  59. package/dist/behavior-signals.d.ts +1 -1
  60. package/dist/bootstrap.d.ts +9 -9
  61. package/dist/briefing-window.d.ts +2 -2
  62. package/dist/briefing.d.ts +5 -3
  63. package/dist/briefing.js +11 -9
  64. package/dist/buffer-surprise-report.d.ts +1 -1
  65. package/dist/buffer-turn-helpers.d.ts +1 -1
  66. package/dist/buffer.d.ts +2 -2
  67. package/dist/bulk-import/index.d.ts +3 -3
  68. package/dist/calibration.d.ts +1 -1
  69. package/dist/capabilities.d.ts +1 -1
  70. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-GWVG7LGC.js} +2 -2
  71. package/dist/{catalog-CCzmf8IH.d.ts → catalog-C0KIwZqR.d.ts} +1 -1
  72. package/dist/causal-behavior.d.ts +1 -1
  73. package/dist/causal-consolidation.d.ts +1 -1
  74. package/dist/causal-consolidation.js +10 -10
  75. package/dist/causal-trajectory-graph.d.ts +1 -1
  76. package/dist/{chunk-4POAMKV6.js → chunk-27IOSH2W.js} +5 -2
  77. package/dist/chunk-27IOSH2W.js.map +1 -0
  78. package/dist/{chunk-OQIRBGUU.js → chunk-2Q4UAPLD.js} +4 -4
  79. package/dist/{chunk-PHKU6BZ2.js → chunk-36XS2ASP.js} +2 -2
  80. package/dist/{chunk-BRHKW7GY.js → chunk-4IIDTPSK.js} +2 -2
  81. package/dist/{chunk-EDZNW3HE.js → chunk-57WMVU4D.js} +54 -45
  82. package/dist/chunk-57WMVU4D.js.map +1 -0
  83. package/dist/{chunk-Q5XKKDFQ.js → chunk-5SZ6CLGJ.js} +2 -2
  84. package/dist/{chunk-VDX2J7OX.js → chunk-5W7CTZ2E.js} +4 -4
  85. package/dist/{chunk-EUYWQ7TS.js → chunk-652S5A5D.js} +2 -2
  86. package/dist/{chunk-ULZFZL7K.js → chunk-6IKXAAJI.js} +17 -28
  87. package/dist/chunk-6IKXAAJI.js.map +1 -0
  88. package/dist/{chunk-3TDAA7VA.js → chunk-6NMZXEJ7.js} +2 -2
  89. package/dist/{chunk-ZOAAY2OE.js → chunk-77E7LLMV.js} +7 -7
  90. package/dist/{chunk-MIUL6AUZ.js → chunk-7ML7STOD.js} +3 -3
  91. package/dist/{chunk-5SCFDQEJ.js → chunk-BPLPGOUJ.js} +2 -2
  92. package/dist/{chunk-RWMSMTQP.js → chunk-BS75WJBH.js} +2 -2
  93. package/dist/{chunk-XE2QCCT2.js → chunk-BTBAHTQ5.js} +2 -2
  94. package/dist/{chunk-42TIIO2M.js → chunk-BTUIHRRR.js} +2 -2
  95. package/dist/{chunk-3IMYRX3W.js → chunk-BYFKJXIR.js} +2 -2
  96. package/dist/chunk-CIO7GCWE.js +29 -0
  97. package/dist/chunk-CIO7GCWE.js.map +1 -0
  98. package/dist/{chunk-SNEUAZ6B.js → chunk-CK3DZ6OE.js} +2 -2
  99. package/dist/{chunk-VYMICVRA.js → chunk-DIJCMHUE.js} +2 -2
  100. package/dist/{chunk-AJRJDXYR.js → chunk-E7MYSCSL.js} +2 -2
  101. package/dist/{chunk-3T6HIIKA.js → chunk-EHC3FIJ4.js} +2 -2
  102. package/dist/{chunk-YTXNDEUS.js → chunk-FEP45MYY.js} +4 -3
  103. package/dist/{chunk-YTXNDEUS.js.map → chunk-FEP45MYY.js.map} +1 -1
  104. package/dist/{chunk-KFB4YNXM.js → chunk-G5F4MXXC.js} +2 -2
  105. package/dist/{chunk-VANZKHTN.js → chunk-G5OB4XZX.js} +4 -4
  106. package/dist/{chunk-645WOU5I.js → chunk-H7BZBSP6.js} +4 -4
  107. package/dist/{chunk-SZ4HFZKB.js → chunk-HMKPFW7R.js} +2 -2
  108. package/dist/{chunk-WBPD6SBZ.js → chunk-HP6B732E.js} +54 -54
  109. package/dist/{chunk-VFZQXYN5.js → chunk-HZXO2CJ6.js} +2 -2
  110. package/dist/{chunk-DGUVXXAU.js → chunk-IRXMJLTW.js} +12 -3
  111. package/dist/{chunk-DGUVXXAU.js.map → chunk-IRXMJLTW.js.map} +1 -1
  112. package/dist/{chunk-O52TB5SL.js → chunk-IUSV4XJC.js} +2 -2
  113. package/dist/{chunk-5TF5STAV.js → chunk-JASFZQ76.js} +4 -4
  114. package/dist/{chunk-ML3U4KPR.js → chunk-K547KS3X.js} +4 -4
  115. package/dist/{chunk-UHGBNIOS.js → chunk-KVDUKH5E.js} +7 -2
  116. package/dist/chunk-KVDUKH5E.js.map +1 -0
  117. package/dist/{chunk-XTMYB2HY.js → chunk-LJQGQUNS.js} +2 -2
  118. package/dist/{chunk-WAS4HV46.js → chunk-LNH76ZJX.js} +87 -3
  119. package/dist/chunk-LNH76ZJX.js.map +1 -0
  120. package/dist/{chunk-J6QIAYNR.js → chunk-LVXBC6YB.js} +7 -2
  121. package/dist/{chunk-J6QIAYNR.js.map → chunk-LVXBC6YB.js.map} +1 -1
  122. package/dist/{chunk-IVKIODHO.js → chunk-MB6GLPRY.js} +4 -4
  123. package/dist/chunk-MKYRCCSN.js +145 -0
  124. package/dist/chunk-MKYRCCSN.js.map +1 -0
  125. package/dist/{chunk-6433HV72.js → chunk-MVIYRRVJ.js} +5 -5
  126. package/dist/{chunk-LTYH2L6E.js → chunk-NWHKHBL4.js} +44 -64
  127. package/dist/chunk-NWHKHBL4.js.map +1 -0
  128. package/dist/{chunk-BXLOS5AJ.js → chunk-OWHERGF2.js} +2 -2
  129. package/dist/{chunk-QQYHYW2N.js → chunk-PQODT53H.js} +3 -3
  130. package/dist/{chunk-PQHNZ63P.js → chunk-R5AWIILH.js} +37 -29
  131. package/dist/chunk-R5AWIILH.js.map +1 -0
  132. package/dist/{chunk-TOP3FSDW.js → chunk-RFFCBYBD.js} +11 -11
  133. package/dist/{chunk-MYI3RKI6.js → chunk-SYU5JOBQ.js} +2 -2
  134. package/dist/{chunk-JXS5PDQ7.js → chunk-UOBPK2OS.js} +25 -7
  135. package/dist/chunk-UOBPK2OS.js.map +1 -0
  136. package/dist/{chunk-BOSIHHOH.js → chunk-UUYQWKHO.js} +2 -2
  137. package/dist/{chunk-DQEMWVMT.js → chunk-UVYI6VIX.js} +1 -1
  138. package/dist/{chunk-KXWE62IH.js → chunk-V2YH7T6T.js} +2 -2
  139. package/dist/{chunk-M4AHBM72.js → chunk-VCBG52MM.js} +4 -4
  140. package/dist/{chunk-N7V3P4V5.js → chunk-VCEE4YNA.js} +2 -2
  141. package/dist/{chunk-62Y5AGCM.js → chunk-VENMDW4U.js} +10 -10
  142. package/dist/{chunk-6NAPOLRO.js → chunk-VY47VI2T.js} +6 -4
  143. package/dist/chunk-VY47VI2T.js.map +1 -0
  144. package/dist/{chunk-QTXNS3HB.js → chunk-WCWIV2JH.js} +2 -2
  145. package/dist/{chunk-6UKSOXAO.js → chunk-WQ6TRWAE.js} +3 -3
  146. package/dist/{chunk-CBY54QYW.js → chunk-X6HNXVXS.js} +4 -4
  147. package/dist/{chunk-SY5JUJ2X.js → chunk-XREXYQ5U.js} +39 -39
  148. package/dist/{chunk-JPWSYHLB.js → chunk-YGSDWO3U.js} +2 -2
  149. package/dist/{chunk-BPQ7L27U.js → chunk-YI25J2JD.js} +16 -16
  150. package/dist/chunk-YI25J2JD.js.map +1 -0
  151. package/dist/{chunk-GBVRVYF4.js → chunk-YINSSARY.js} +1 -1
  152. package/dist/{chunk-Q6OL23WM.js → chunk-Z4UPRZR6.js} +2 -2
  153. package/dist/{chunk-4F67JJPG.js → chunk-ZPN7W3OP.js} +2 -2
  154. package/dist/{cli-kcUqoV4E.d.ts → cli-BsaYHAH9.d.ts} +5 -5
  155. package/dist/cli.d.ts +14 -13
  156. package/dist/cli.js +55 -54
  157. package/dist/coding/pre-action-gate.d.ts +1 -1
  158. package/dist/compounding/engine.d.ts +2 -2
  159. package/dist/compounding/engine.js +9 -9
  160. package/dist/compounding/preference-consolidator.d.ts +1 -1
  161. package/dist/compression-optimizer.d.ts +1 -1
  162. package/dist/config.d.ts +1 -1
  163. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  164. package/dist/connectors/codex-materialize-runner.js +9 -9
  165. package/dist/connectors/codex-materialize.d.ts +1 -1
  166. package/dist/connectors/index.d.ts +1 -1
  167. package/dist/connectors/index.js +9 -9
  168. package/dist/consolidation-provenance-check.d.ts +2 -2
  169. package/dist/consolidation-undo.d.ts +2 -2
  170. package/dist/contradiction/index.d.ts +2 -2
  171. package/dist/contradiction/index.js +4 -4
  172. package/dist/converge-config.d.ts +1 -1
  173. package/dist/convergence-refresh.d.ts +2 -2
  174. package/dist/convergence-refresh.js +11 -11
  175. package/dist/conversation-index/backend.d.ts +1 -1
  176. package/dist/conversation-index/chunker.d.ts +1 -1
  177. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  178. package/dist/conversation-index/indexer.d.ts +1 -1
  179. package/dist/conversation-index/search.d.ts +1 -1
  180. package/dist/corpus-watermark.d.ts +1 -1
  181. package/dist/corpus-watermark.js +11 -11
  182. package/dist/day-summary.d.ts +1 -1
  183. package/dist/day-summary.js +1 -1
  184. package/dist/delinearize.d.ts +1 -1
  185. package/dist/dependency-propagation-config.d.ts +1 -1
  186. package/dist/{dependency-propagation-delivery-DiY5T63p.d.ts → dependency-propagation-delivery-Cph4PnBe.d.ts} +1 -1
  187. package/dist/direct-answer-wiring.d.ts +1 -1
  188. package/dist/direct-answer-wiring.js +2 -1
  189. package/dist/direct-answer.d.ts +1 -1
  190. package/dist/embedding-fallback.d.ts +1 -1
  191. package/dist/enrichment/index.d.ts +1 -1
  192. package/dist/entity-origin-fields.d.ts +1 -1
  193. package/dist/entity-retrieval-i18n.d.ts +34 -0
  194. package/dist/entity-retrieval-i18n.js +13 -0
  195. package/dist/entity-retrieval-i18n.js.map +1 -0
  196. package/dist/entity-retrieval.d.ts +2 -2
  197. package/dist/entity-retrieval.js +10 -9
  198. package/dist/entity-schema.d.ts +1 -1
  199. package/dist/episodic-context.d.ts +1 -1
  200. package/dist/event-order-recall.js +2 -2
  201. package/dist/explicit-capture.d.ts +9 -9
  202. package/dist/external-wiki-access.d.ts +12 -11
  203. package/dist/external-wiki-access.js +24 -24
  204. package/dist/external-wiki-collection-registration.d.ts +1 -1
  205. package/dist/external-wiki-collection.d.ts +1 -1
  206. package/dist/external-wiki-mcp-tools.d.ts +12 -11
  207. package/dist/extraction-error-classification.d.ts +1 -1
  208. package/dist/extraction-faithfulness.d.ts +1 -1
  209. package/dist/extraction-judge-telemetry.d.ts +1 -1
  210. package/dist/extraction-judge-training.d.ts +1 -1
  211. package/dist/extraction-judge.d.ts +1 -1
  212. package/dist/extraction-liveness.d.ts +1 -1
  213. package/dist/extraction-normalization.d.ts +1 -1
  214. package/dist/extraction-prompt.d.ts +1 -1
  215. package/dist/extraction-source-grounding-helpers.d.ts +10 -1
  216. package/dist/extraction-source-grounding-helpers.js +3 -1
  217. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  218. package/dist/extraction-source-grounding-rules.js +2 -2
  219. package/dist/extraction-source-grounding.d.ts +1 -1
  220. package/dist/extraction-source-grounding.js +3 -3
  221. package/dist/extraction.d.ts +1 -1
  222. package/dist/extraction.js +18 -18
  223. package/dist/fallback-llm.d.ts +1 -1
  224. package/dist/graph-dashboard-diff.d.ts +1 -1
  225. package/dist/graph-dashboard-key.d.ts +1 -1
  226. package/dist/graph-dashboard-parser.d.ts +1 -1
  227. package/dist/graph-edge-reinforcement.d.ts +1 -1
  228. package/dist/graph-path-reconstruction.d.ts +1 -1
  229. package/dist/graph-path-scoring.d.ts +1 -1
  230. package/dist/graph-snapshot.d.ts +1 -1
  231. package/dist/graph.d.ts +1 -1
  232. package/dist/harmonic-retrieval.js +1 -1
  233. package/dist/importance.d.ts +1 -1
  234. package/dist/importance.js +2 -1
  235. package/dist/importers/index.d.ts +1 -1
  236. package/dist/in-flight-reads.d.ts +1 -1
  237. package/dist/index.d.ts +697 -697
  238. package/dist/index.js +105 -103
  239. package/dist/intent.d.ts +1 -1
  240. package/dist/lcm/engine.d.ts +1 -1
  241. package/dist/lcm/engine.js +2 -2
  242. package/dist/lcm/index.d.ts +1 -1
  243. package/dist/lcm/index.js +4 -4
  244. package/dist/lcm/tools.d.ts +1 -1
  245. package/dist/lifecycle.d.ts +1 -1
  246. package/dist/live-connectors-runner.d.ts +1 -1
  247. package/dist/local-llm.d.ts +1 -1
  248. package/dist/local-llm.js +2 -2
  249. package/dist/local-model-endpoint.d.ts +1 -1
  250. package/dist/maintenance/memory-governance.d.ts +1 -1
  251. package/dist/maintenance/memory-governance.js +9 -9
  252. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  253. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +9 -9
  254. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  255. package/dist/maintenance/rebuild-memory-projection.js +10 -10
  256. package/dist/{maintenance-CaqA4z7V.d.ts → maintenance-BNq31xpo.d.ts} +3 -3
  257. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  258. package/dist/memory-action-policy.d.ts +1 -1
  259. package/dist/memory-cache.d.ts +1 -1
  260. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  261. package/dist/memory-projection-store.d.ts +1 -1
  262. package/dist/memory-provenance.d.ts +1 -1
  263. package/dist/memory-snapshot.d.ts +1 -1
  264. package/dist/memory-worth-outcomes.d.ts +2 -2
  265. package/dist/models-json.d.ts +1 -1
  266. package/dist/namespaces/migrate.d.ts +3 -3
  267. package/dist/namespaces/migrate.js +10 -10
  268. package/dist/namespaces/principal.d.ts +1 -1
  269. package/dist/namespaces/search.d.ts +1 -1
  270. package/dist/namespaces/search.js +7 -7
  271. package/dist/namespaces/storage.d.ts +3 -3
  272. package/dist/namespaces/storage.js +9 -9
  273. package/dist/native-knowledge.d.ts +1 -1
  274. package/dist/offline-sync-impression-drain.d.ts +1 -1
  275. package/dist/operator-doctor-corpus.d.ts +1 -1
  276. package/dist/operator-doctor-corpus.js +12 -12
  277. package/dist/operator-doctor-replica.d.ts +1 -1
  278. package/dist/operator-toolkit.d.ts +3 -3
  279. package/dist/operator-toolkit.js +17 -17
  280. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  281. package/dist/orchestration/maintenance.d.ts +4 -4
  282. package/dist/orchestration/maintenance.js +15 -15
  283. package/dist/{orchestrator-Bay_AofR.d.ts → orchestrator-CBuUOP2J.d.ts} +8 -8
  284. package/dist/orchestrator.d.ts +9 -9
  285. package/dist/orchestrator.js +84 -82
  286. package/dist/patterns-cli.d.ts +1 -1
  287. package/dist/{pipeline-X606GdRJ.d.ts → pipeline-CW_Q4WvX.d.ts} +1 -1
  288. package/dist/policy-runtime.d.ts +1 -1
  289. package/dist/proactive-contention.d.ts +1 -1
  290. package/dist/provenance.d.ts +1 -1
  291. package/dist/{public-http-DscQtnCx.d.ts → public-http-jMlmLny4.d.ts} +1 -1
  292. package/dist/qmd-preflight.d.ts +2 -2
  293. package/dist/{qmd-DCKeR-GX.d.ts → qmd-q-cAzYuC.d.ts} +1 -1
  294. package/dist/qmd-recall-cache.d.ts +1 -1
  295. package/dist/qmd.d.ts +2 -2
  296. package/dist/recall-concurrency-config.d.ts +1 -1
  297. package/dist/recall-disclosure-escalation.d.ts +1 -1
  298. package/dist/recall-explain-renderer.d.ts +1 -1
  299. package/dist/recall-memory-map.d.ts +1 -1
  300. package/dist/recall-planner-llm.d.ts +1 -1
  301. package/dist/recall-state.d.ts +1 -1
  302. package/dist/recall-tag-filter.d.ts +1 -1
  303. package/dist/recall-timings.d.ts +1 -1
  304. package/dist/recall-xray-cli.d.ts +1 -1
  305. package/dist/recall-xray-renderer.d.ts +1 -1
  306. package/dist/recall-xray.d.ts +1 -1
  307. package/dist/reconcile/cursor.d.ts +1 -1
  308. package/dist/reconcile/manifest.d.ts +1 -1
  309. package/dist/reconcile/plan.d.ts +1 -1
  310. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  311. package/dist/replay/normalizers/claude.d.ts +1 -1
  312. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  313. package/dist/replay/normalizers/shared.d.ts +1 -1
  314. package/dist/replay/runner.d.ts +1 -1
  315. package/dist/replay/types.d.ts +1 -1
  316. package/dist/replica-divergence.d.ts +1 -1
  317. package/dist/replica-peers-config.d.ts +1 -1
  318. package/dist/resolve-auth-token.d.ts +1 -1
  319. package/dist/retrieval-agents.d.ts +2 -2
  320. package/dist/retrieval-tiers.d.ts +1 -1
  321. package/dist/routing/engine.d.ts +1 -1
  322. package/dist/routing/store.d.ts +1 -1
  323. package/dist/salvage-envelope.d.ts +1 -1
  324. package/dist/schemas.d.ts +108 -108
  325. package/dist/{scope-profiles-_Y_RHCeE.d.ts → scope-profiles-CIr4mXgp.d.ts} +1 -1
  326. package/dist/search/embed-helper.d.ts +1 -1
  327. package/dist/search/factory.d.ts +1 -1
  328. package/dist/search/factory.js +6 -6
  329. package/dist/search/index.d.ts +1 -1
  330. package/dist/search/index.js +11 -11
  331. package/dist/search/lancedb-backend.d.ts +1 -1
  332. package/dist/search/lancedb-backend.js +2 -2
  333. package/dist/search/meilisearch-backend.d.ts +1 -1
  334. package/dist/search/meilisearch-backend.js +2 -2
  335. package/dist/search/noop-backend.d.ts +1 -1
  336. package/dist/search/orama-backend.d.ts +1 -1
  337. package/dist/search/orama-backend.js +2 -2
  338. package/dist/search/port.d.ts +1 -1
  339. package/dist/search/remote-backend.d.ts +1 -1
  340. package/dist/{semantic-consolidation-DT2VSrU0.d.ts → semantic-consolidation-BZ6J46j-.d.ts} +1 -1
  341. package/dist/semantic-consolidation.d.ts +2 -2
  342. package/dist/semantic-consolidation.js +10 -10
  343. package/dist/semantic-rule-promotion.js +9 -9
  344. package/dist/semantic-rule-verifier.d.ts +1 -1
  345. package/dist/semantic-rule-verifier.js +9 -9
  346. package/dist/{service-BMo-gwDE.d.ts → service-CCl4iyyY.d.ts} +2 -2
  347. package/dist/session-observer-bands.d.ts +1 -1
  348. package/dist/session-observer-state.d.ts +1 -1
  349. package/dist/shared-context/manager.d.ts +9 -9
  350. package/dist/signal.d.ts +1 -1
  351. package/dist/source-agent-qualifier.d.ts +1 -1
  352. package/dist/source-agent-qualifier.js +13 -13
  353. package/dist/{storage-CGzJGUUu.d.ts → storage-BPXmJKIt.d.ts} +1 -1
  354. package/dist/storage.d.ts +2 -2
  355. package/dist/storage.js +8 -8
  356. package/dist/summarizer.d.ts +1 -1
  357. package/dist/summarizer.js +3 -3
  358. package/dist/summary-snapshot.d.ts +1 -1
  359. package/dist/support-passport/index.d.ts +15 -14
  360. package/dist/support-passport/index.js +26 -26
  361. package/dist/temporal-supersession.d.ts +2 -2
  362. package/dist/temporal-timeline-recall.d.ts +1 -1
  363. package/dist/temporal-validity.d.ts +1 -1
  364. package/dist/threading.d.ts +1 -1
  365. package/dist/tier-migration.d.ts +2 -2
  366. package/dist/tier-routing.d.ts +1 -1
  367. package/dist/topics.d.ts +1 -1
  368. package/dist/topics.js +2 -1
  369. package/dist/transcript.d.ts +1 -1
  370. package/dist/transfer/backup.js +2 -2
  371. package/dist/transfer/capsule-export.js +2 -2
  372. package/dist/transfer/capsule-import.js +2 -2
  373. package/dist/transfer/types.d.ts +66 -66
  374. package/dist/trust-score-stage.d.ts +1 -1
  375. package/dist/trust-score.d.ts +1 -1
  376. package/dist/{types-CBEAYU76.d.ts → types-CltSWcND.d.ts} +1 -1
  377. package/dist/types.d.ts +1 -1
  378. package/dist/utility-runtime.d.ts +1 -1
  379. package/dist/verified-recall.js +9 -9
  380. package/dist/write-envelope.d.ts +1 -1
  381. package/package.json +2 -2
  382. package/src/access-http.ts +47 -60
  383. package/src/access-mcp.test.ts +6 -10
  384. package/src/access-mcp.ts +21 -22
  385. package/src/access-operations-batch.ts +66 -18
  386. package/src/access-schema.ts +12 -1
  387. package/src/access-service.ts +18 -91
  388. package/src/briefing.test.ts +50 -0
  389. package/src/briefing.ts +3 -2
  390. package/src/chat/chat-engine.test.ts +15 -0
  391. package/src/chat/chat-engine.ts +13 -2
  392. package/src/day-summary.test.ts +63 -0
  393. package/src/day-summary.ts +13 -1
  394. package/src/entity-retrieval-i18n.test.ts +115 -0
  395. package/src/entity-retrieval-i18n.ts +161 -0
  396. package/src/entity-retrieval.ts +34 -34
  397. package/src/extraction-source-grounding-helpers.ts +112 -2
  398. package/src/extraction-source-grounding-rules.ts +3 -1
  399. package/src/extraction-source-grounding.test.ts +52 -0
  400. package/src/importance.ts +32 -22
  401. package/src/recall-disclosure.test.ts +1 -1
  402. package/src/taxonomy/resolver.ts +7 -7
  403. package/src/topics.ts +5 -2
  404. package/src/utils/script-aware-text.ts +52 -0
  405. package/src/write-classifiers-cjk.test.ts +115 -0
  406. package/dist/chunk-4POAMKV6.js.map +0 -1
  407. package/dist/chunk-6NAPOLRO.js.map +0 -1
  408. package/dist/chunk-BPQ7L27U.js.map +0 -1
  409. package/dist/chunk-EDZNW3HE.js.map +0 -1
  410. package/dist/chunk-JXS5PDQ7.js.map +0 -1
  411. package/dist/chunk-LTYH2L6E.js.map +0 -1
  412. package/dist/chunk-PQHNZ63P.js.map +0 -1
  413. package/dist/chunk-UHGBNIOS.js.map +0 -1
  414. package/dist/chunk-ULZFZL7K.js.map +0 -1
  415. package/dist/chunk-WAS4HV46.js.map +0 -1
  416. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  417. /package/dist/{chunk-OQIRBGUU.js.map → chunk-2Q4UAPLD.js.map} +0 -0
  418. /package/dist/{chunk-PHKU6BZ2.js.map → chunk-36XS2ASP.js.map} +0 -0
  419. /package/dist/{chunk-BRHKW7GY.js.map → chunk-4IIDTPSK.js.map} +0 -0
  420. /package/dist/{chunk-Q5XKKDFQ.js.map → chunk-5SZ6CLGJ.js.map} +0 -0
  421. /package/dist/{chunk-VDX2J7OX.js.map → chunk-5W7CTZ2E.js.map} +0 -0
  422. /package/dist/{chunk-EUYWQ7TS.js.map → chunk-652S5A5D.js.map} +0 -0
  423. /package/dist/{chunk-3TDAA7VA.js.map → chunk-6NMZXEJ7.js.map} +0 -0
  424. /package/dist/{chunk-ZOAAY2OE.js.map → chunk-77E7LLMV.js.map} +0 -0
  425. /package/dist/{chunk-MIUL6AUZ.js.map → chunk-7ML7STOD.js.map} +0 -0
  426. /package/dist/{chunk-5SCFDQEJ.js.map → chunk-BPLPGOUJ.js.map} +0 -0
  427. /package/dist/{chunk-RWMSMTQP.js.map → chunk-BS75WJBH.js.map} +0 -0
  428. /package/dist/{chunk-XE2QCCT2.js.map → chunk-BTBAHTQ5.js.map} +0 -0
  429. /package/dist/{chunk-42TIIO2M.js.map → chunk-BTUIHRRR.js.map} +0 -0
  430. /package/dist/{chunk-3IMYRX3W.js.map → chunk-BYFKJXIR.js.map} +0 -0
  431. /package/dist/{chunk-SNEUAZ6B.js.map → chunk-CK3DZ6OE.js.map} +0 -0
  432. /package/dist/{chunk-VYMICVRA.js.map → chunk-DIJCMHUE.js.map} +0 -0
  433. /package/dist/{chunk-AJRJDXYR.js.map → chunk-E7MYSCSL.js.map} +0 -0
  434. /package/dist/{chunk-3T6HIIKA.js.map → chunk-EHC3FIJ4.js.map} +0 -0
  435. /package/dist/{chunk-KFB4YNXM.js.map → chunk-G5F4MXXC.js.map} +0 -0
  436. /package/dist/{chunk-VANZKHTN.js.map → chunk-G5OB4XZX.js.map} +0 -0
  437. /package/dist/{chunk-645WOU5I.js.map → chunk-H7BZBSP6.js.map} +0 -0
  438. /package/dist/{chunk-SZ4HFZKB.js.map → chunk-HMKPFW7R.js.map} +0 -0
  439. /package/dist/{chunk-WBPD6SBZ.js.map → chunk-HP6B732E.js.map} +0 -0
  440. /package/dist/{chunk-VFZQXYN5.js.map → chunk-HZXO2CJ6.js.map} +0 -0
  441. /package/dist/{chunk-O52TB5SL.js.map → chunk-IUSV4XJC.js.map} +0 -0
  442. /package/dist/{chunk-5TF5STAV.js.map → chunk-JASFZQ76.js.map} +0 -0
  443. /package/dist/{chunk-ML3U4KPR.js.map → chunk-K547KS3X.js.map} +0 -0
  444. /package/dist/{chunk-XTMYB2HY.js.map → chunk-LJQGQUNS.js.map} +0 -0
  445. /package/dist/{chunk-IVKIODHO.js.map → chunk-MB6GLPRY.js.map} +0 -0
  446. /package/dist/{chunk-6433HV72.js.map → chunk-MVIYRRVJ.js.map} +0 -0
  447. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-OWHERGF2.js.map} +0 -0
  448. /package/dist/{chunk-QQYHYW2N.js.map → chunk-PQODT53H.js.map} +0 -0
  449. /package/dist/{chunk-TOP3FSDW.js.map → chunk-RFFCBYBD.js.map} +0 -0
  450. /package/dist/{chunk-MYI3RKI6.js.map → chunk-SYU5JOBQ.js.map} +0 -0
  451. /package/dist/{chunk-BOSIHHOH.js.map → chunk-UUYQWKHO.js.map} +0 -0
  452. /package/dist/{chunk-DQEMWVMT.js.map → chunk-UVYI6VIX.js.map} +0 -0
  453. /package/dist/{chunk-KXWE62IH.js.map → chunk-V2YH7T6T.js.map} +0 -0
  454. /package/dist/{chunk-M4AHBM72.js.map → chunk-VCBG52MM.js.map} +0 -0
  455. /package/dist/{chunk-N7V3P4V5.js.map → chunk-VCEE4YNA.js.map} +0 -0
  456. /package/dist/{chunk-62Y5AGCM.js.map → chunk-VENMDW4U.js.map} +0 -0
  457. /package/dist/{chunk-QTXNS3HB.js.map → chunk-WCWIV2JH.js.map} +0 -0
  458. /package/dist/{chunk-6UKSOXAO.js.map → chunk-WQ6TRWAE.js.map} +0 -0
  459. /package/dist/{chunk-CBY54QYW.js.map → chunk-X6HNXVXS.js.map} +0 -0
  460. /package/dist/{chunk-SY5JUJ2X.js.map → chunk-XREXYQ5U.js.map} +0 -0
  461. /package/dist/{chunk-JPWSYHLB.js.map → chunk-YGSDWO3U.js.map} +0 -0
  462. /package/dist/{chunk-GBVRVYF4.js.map → chunk-YINSSARY.js.map} +0 -0
  463. /package/dist/{chunk-Q6OL23WM.js.map → chunk-Z4UPRZR6.js.map} +0 -0
  464. /package/dist/{chunk-4F67JJPG.js.map → chunk-ZPN7W3OP.js.map} +0 -0
@@ -1,22 +1,22 @@
1
- import { b as NamespaceRecord } from './catalog-CCzmf8IH.js';
2
- import { P as PluginConfig, C as CodingContext, w as MemoryCategory, G as GatewayConfig, aF as DaySummaryResult, R as RecallPlanMode, n as RecallDisclosure, M as MemoryFile, J as MemoryLifecycleEvent, E as EntityFile, y as MemoryStatus, o as SourceConnectorProvenance, bc as DreamsStatusResult, D as DreamsPhase, a as DreamsRunResult } from './types-CBEAYU76.js';
3
- import { S as ScopePlan, E as EngramAccessNamespaceWritableRequest, W as WritableNamespaceResult } from './access-namespace-preflight-DB0zXFek.js';
4
- import { S as StorageManager } from './storage-CGzJGUUu.js';
1
+ import { b as NamespaceRecord } from './catalog-C0KIwZqR.js';
2
+ import { P as PluginConfig, C as CodingContext, x as MemoryCategory, G as GatewayConfig, aG as DaySummaryResult, o as RecallDisclosure, R as RecallPlanMode, M as MemoryFile, K as MemoryLifecycleEvent, E as EntityFile, z as MemoryStatus, p as SourceConnectorProvenance, bd as DreamsStatusResult, D as DreamsPhase, a as DreamsRunResult } from './types-CltSWcND.js';
3
+ import { S as ScopePlan, E as EngramAccessNamespaceWritableRequest, W as WritableNamespaceResult } from './access-namespace-preflight-CrF0FKaz.js';
4
+ import { S as StorageManager } from './storage-BPXmJKIt.js';
5
5
  import { a as Peer, b as PeerProfile } from './types-B1VHaf2w.js';
6
6
  import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
7
7
  import { CitationUsageRequest, CitationUsageResult } from './access-citation.js';
8
8
  import { EngramAccessHealthResponse } from './access-health-types.js';
9
9
  import { ResolveSecretRefFn } from './resolve-auth-token.js';
10
- import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult } from './orchestrator-Bay_AofR.js';
10
+ import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult } from './orchestrator-CBuUOP2J.js';
11
11
  import { BudgetWarning } from './cross-namespace-budget.js';
12
12
  import { ExplicitCaptureInput } from './explicit-capture.js';
13
13
  import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
14
14
  import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
15
- import { W as WearablesService, c as MeetingsListResult, b as MeetingsGetResult, a as MeetingsDayBuildSummary } from './service-BMo-gwDE.js';
15
+ import { W as WearablesService, c as MeetingsListResult, b as MeetingsGetResult, a as MeetingsDayBuildSummary } from './service-CCl4iyyY.js';
16
16
  import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
17
17
  import { WearablesMeetingsScope } from './access-wearables-meetings-surface.js';
18
18
  import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
19
- import { S as ScopeProfileLayerResolution, a as ScopeProfilePromotionResolution, R as ResolvedScopeProfilePlan } from './scope-profiles-_Y_RHCeE.js';
19
+ import { S as ScopeProfileLayerResolution, a as ScopeProfilePromotionResolution, R as ResolvedScopeProfilePlan } from './scope-profiles-CIr4mXgp.js';
20
20
  import { RecallContextComposition } from './recall-context-composition.js';
21
21
  import { LastRecallSnapshot } from './recall-state.js';
22
22
  import { TrustZoneStoreStatus, TrustZoneName, TrustZoneRecordKind, TrustZoneSourceClass, TrustZoneProvenanceScore, TrustZonePromotionResult, TrustZoneDemoSeedResult } from './trust-zones.js';
@@ -29,6 +29,7 @@ import { CapsuleListEntry } from './capsule-cli.js';
29
29
  import { S as SemanticDedupLookup } from './semantic-TddhF0y7.js';
30
30
  import { MemoryOutcomeKind, RecordMemoryOutcomeResult } from './memory-worth-outcomes.js';
31
31
  import { LcmMessagePartInput, MessagePartSourceFormat } from './message-parts/index.js';
32
+ import { RecallRequest, ObserveRequest } from './access-schema.js';
32
33
  import { OfflineSyncFileState, OfflineSyncSnapshot, OfflineSyncFileRecord, OfflineSyncFileContentChunk, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplyChangesetResult } from './offline-sync.js';
33
34
  import { RecallXraySnapshot } from './recall-xray.js';
34
35
  import { withHeldFileLock } from './utils/serialize-mutations.js';
@@ -931,24 +932,24 @@ declare const SupportPassportDraftCardSchema: z.ZodEffects<z.ZodObject<{
931
932
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
932
933
  sourceMemoryIds: z.ZodArray<z.ZodString, "many">;
933
934
  }, "strict", z.ZodTypeAny, {
935
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
934
936
  title: string;
935
937
  sourceMemoryIds: string[];
936
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
937
938
  statement: string;
938
939
  }, {
940
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
939
941
  title: string;
940
942
  sourceMemoryIds: string[];
941
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
942
943
  statement: string;
943
944
  }>, {
945
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
944
946
  title: string;
945
947
  sourceMemoryIds: string[];
946
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
947
948
  statement: string;
948
949
  }, {
950
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
949
951
  title: string;
950
952
  sourceMemoryIds: string[];
951
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
952
953
  statement: string;
953
954
  }>;
954
955
  declare const SupportPassportDraftOutputSchema: z.ZodObject<{
@@ -958,38 +959,38 @@ declare const SupportPassportDraftOutputSchema: z.ZodObject<{
958
959
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
959
960
  sourceMemoryIds: z.ZodArray<z.ZodString, "many">;
960
961
  }, "strict", z.ZodTypeAny, {
962
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
961
963
  title: string;
962
964
  sourceMemoryIds: string[];
963
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
964
965
  statement: string;
965
966
  }, {
967
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
966
968
  title: string;
967
969
  sourceMemoryIds: string[];
968
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
969
970
  statement: string;
970
971
  }>, {
972
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
971
973
  title: string;
972
974
  sourceMemoryIds: string[];
973
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
974
975
  statement: string;
975
976
  }, {
977
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
976
978
  title: string;
977
979
  sourceMemoryIds: string[];
978
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
979
980
  statement: string;
980
981
  }>, "many">;
981
982
  }, "strict", z.ZodTypeAny, {
982
983
  cards: {
984
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
983
985
  title: string;
984
986
  sourceMemoryIds: string[];
985
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
986
987
  statement: string;
987
988
  }[];
988
989
  }, {
989
990
  cards: {
991
+ category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
990
992
  title: string;
991
993
  sourceMemoryIds: string[];
992
- category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
993
994
  statement: string;
994
995
  }[];
995
996
  }>;
@@ -999,34 +1000,34 @@ declare const SupportPassportDraftModelInputSchema: z.ZodEffects<z.ZodObject<{
999
1000
  memoryId: z.ZodString;
1000
1001
  content: z.ZodString;
1001
1002
  }, "strict", z.ZodTypeAny, {
1002
- memoryId: string;
1003
1003
  content: string;
1004
- }, {
1005
1004
  memoryId: string;
1005
+ }, {
1006
1006
  content: string;
1007
+ memoryId: string;
1007
1008
  }>, "many">;
1008
1009
  }, "strict", z.ZodTypeAny, {
1009
1010
  memories: {
1010
- memoryId: string;
1011
1011
  content: string;
1012
+ memoryId: string;
1012
1013
  }[];
1013
1014
  consent: true;
1014
1015
  }, {
1015
1016
  memories: {
1016
- memoryId: string;
1017
1017
  content: string;
1018
+ memoryId: string;
1018
1019
  }[];
1019
1020
  consent: true;
1020
1021
  }>, {
1021
1022
  memories: {
1022
- memoryId: string;
1023
1023
  content: string;
1024
+ memoryId: string;
1024
1025
  }[];
1025
1026
  consent: true;
1026
1027
  }, {
1027
1028
  memories: {
1028
- memoryId: string;
1029
1029
  content: string;
1030
+ memoryId: string;
1030
1031
  }[];
1031
1032
  consent: true;
1032
1033
  }>;
@@ -1064,38 +1065,38 @@ declare const SupportPassportAnswerModelInputSchema: z.ZodObject<{
1064
1065
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1065
1066
  updatedAt: z.ZodEffects<z.ZodString, string, string>;
1066
1067
  }, "strict", z.ZodTypeAny, {
1067
- title: string;
1068
1068
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1069
+ title: string;
1069
1070
  updatedAt: string;
1070
1071
  cardId: string;
1071
1072
  statement: string;
1072
1073
  }, {
1073
- title: string;
1074
1074
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1075
+ title: string;
1075
1076
  updatedAt: string;
1076
1077
  cardId: string;
1077
1078
  statement: string;
1078
1079
  }>, "many">;
1079
1080
  }, "strict", z.ZodTypeAny, {
1080
- schemaVersion: 1;
1081
1081
  expiresAt: string;
1082
+ schemaVersion: 1;
1082
1083
  updatedAt: string;
1083
1084
  grantId: string;
1084
1085
  cards: {
1085
- title: string;
1086
1086
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1087
+ title: string;
1087
1088
  updatedAt: string;
1088
1089
  cardId: string;
1089
1090
  statement: string;
1090
1091
  }[];
1091
1092
  }, {
1092
- schemaVersion: 1;
1093
1093
  expiresAt: string;
1094
+ schemaVersion: 1;
1094
1095
  updatedAt: string;
1095
1096
  grantId: string;
1096
1097
  cards: {
1097
- title: string;
1098
1098
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1099
+ title: string;
1099
1100
  updatedAt: string;
1100
1101
  cardId: string;
1101
1102
  statement: string;
@@ -1105,13 +1106,13 @@ declare const SupportPassportAnswerModelInputSchema: z.ZodObject<{
1105
1106
  }, "strict", z.ZodTypeAny, {
1106
1107
  question: string;
1107
1108
  guide: {
1108
- schemaVersion: 1;
1109
1109
  expiresAt: string;
1110
+ schemaVersion: 1;
1110
1111
  updatedAt: string;
1111
1112
  grantId: string;
1112
1113
  cards: {
1113
- title: string;
1114
1114
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1115
+ title: string;
1115
1116
  updatedAt: string;
1116
1117
  cardId: string;
1117
1118
  statement: string;
@@ -1120,13 +1121,13 @@ declare const SupportPassportAnswerModelInputSchema: z.ZodObject<{
1120
1121
  }, {
1121
1122
  question: string;
1122
1123
  guide: {
1123
- schemaVersion: 1;
1124
1124
  expiresAt: string;
1125
+ schemaVersion: 1;
1125
1126
  updatedAt: string;
1126
1127
  grantId: string;
1127
1128
  cards: {
1128
- title: string;
1129
1129
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1130
+ title: string;
1130
1131
  updatedAt: string;
1131
1132
  cardId: string;
1132
1133
  statement: string;
@@ -1243,18 +1244,18 @@ declare const SupportPassportCardSchema: z.ZodObject<{
1243
1244
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1244
1245
  revision: z.ZodString;
1245
1246
  }, "strict", z.ZodTypeAny, {
1246
- title: string;
1247
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1248
1247
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1248
+ status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1249
+ title: string;
1249
1250
  updatedAt: string;
1250
1251
  cardId: string;
1251
1252
  statement: string;
1252
1253
  reviewBy: string;
1253
1254
  revision: string;
1254
1255
  }, {
1255
- title: string;
1256
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1257
1256
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1257
+ status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1258
+ title: string;
1258
1259
  updatedAt: string;
1259
1260
  cardId: string;
1260
1261
  statement: string;
@@ -1271,36 +1272,36 @@ declare const SupportPassportCardListSchema: z.ZodEffects<z.ZodArray<z.ZodObject
1271
1272
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1272
1273
  revision: z.ZodString;
1273
1274
  }, "strict", z.ZodTypeAny, {
1274
- title: string;
1275
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1276
1275
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1276
+ status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1277
+ title: string;
1277
1278
  updatedAt: string;
1278
1279
  cardId: string;
1279
1280
  statement: string;
1280
1281
  reviewBy: string;
1281
1282
  revision: string;
1282
1283
  }, {
1283
- title: string;
1284
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1285
1284
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1285
+ status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1286
+ title: string;
1286
1287
  updatedAt: string;
1287
1288
  cardId: string;
1288
1289
  statement: string;
1289
1290
  reviewBy: string;
1290
1291
  revision: string;
1291
1292
  }>, "many">, {
1292
- title: string;
1293
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1294
1293
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1294
+ status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1295
+ title: string;
1295
1296
  updatedAt: string;
1296
1297
  cardId: string;
1297
1298
  statement: string;
1298
1299
  reviewBy: string;
1299
1300
  revision: string;
1300
1301
  }[], {
1301
- title: string;
1302
- status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1303
1302
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1303
+ status: "active" | "pending_review" | "rejected" | "superseded" | "archived";
1304
+ title: string;
1304
1305
  updatedAt: string;
1305
1306
  cardId: string;
1306
1307
  statement: string;
@@ -1321,14 +1322,14 @@ declare const SupportPassportManualDraftInputSchema: z.ZodObject<{
1321
1322
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1322
1323
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1323
1324
  }, "strict", z.ZodTypeAny, {
1324
- title: string;
1325
1325
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1326
+ title: string;
1326
1327
  statement: string;
1327
1328
  reviewBy: string;
1328
1329
  principal: string;
1329
1330
  }, {
1330
- title: string;
1331
1331
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1332
+ title: string;
1332
1333
  statement: string;
1333
1334
  reviewBy: string;
1334
1335
  principal: string;
@@ -1360,8 +1361,8 @@ declare const SupportPassportReplaceCardInputSchema: z.ZodObject<{
1360
1361
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1361
1362
  reviewBy: z.ZodEffects<z.ZodString, string, string>;
1362
1363
  }, "strict", z.ZodTypeAny, {
1363
- title: string;
1364
1364
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1365
+ title: string;
1365
1366
  cardId: string;
1366
1367
  statement: string;
1367
1368
  reviewBy: string;
@@ -1369,8 +1370,8 @@ declare const SupportPassportReplaceCardInputSchema: z.ZodObject<{
1369
1370
  expectedRevision: string;
1370
1371
  reasonCode?: string | undefined;
1371
1372
  }, {
1372
- title: string;
1373
1373
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1374
+ title: string;
1374
1375
  cardId: string;
1375
1376
  statement: string;
1376
1377
  reviewBy: string;
@@ -1429,10 +1430,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1429
1430
  expiresAt: z.ZodEffects<z.ZodString, string, string>;
1430
1431
  revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1431
1432
  }, "strict", z.ZodTypeAny, {
1432
- schemaVersion: 1;
1433
+ namespace: string;
1433
1434
  createdAt: string;
1434
1435
  expiresAt: string;
1435
- namespace: string;
1436
+ schemaVersion: 1;
1436
1437
  stateVersion: number;
1437
1438
  grantId: string;
1438
1439
  principalHash: string;
@@ -1444,10 +1445,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1444
1445
  }[];
1445
1446
  revokedAt?: string | undefined;
1446
1447
  }, {
1447
- schemaVersion: 1;
1448
+ namespace: string;
1448
1449
  createdAt: string;
1449
1450
  expiresAt: string;
1450
- namespace: string;
1451
+ schemaVersion: 1;
1451
1452
  stateVersion: number;
1452
1453
  grantId: string;
1453
1454
  principalHash: string;
@@ -1459,10 +1460,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1459
1460
  }[];
1460
1461
  revokedAt?: string | undefined;
1461
1462
  }>, {
1462
- schemaVersion: 1;
1463
+ namespace: string;
1463
1464
  createdAt: string;
1464
1465
  expiresAt: string;
1465
- namespace: string;
1466
+ schemaVersion: 1;
1466
1467
  stateVersion: number;
1467
1468
  grantId: string;
1468
1469
  principalHash: string;
@@ -1474,10 +1475,10 @@ declare const SupportPassportGrantStateSchema: z.ZodEffects<z.ZodObject<{
1474
1475
  }[];
1475
1476
  revokedAt?: string | undefined;
1476
1477
  }, {
1477
- schemaVersion: 1;
1478
+ namespace: string;
1478
1479
  createdAt: string;
1479
1480
  expiresAt: string;
1480
- namespace: string;
1481
+ schemaVersion: 1;
1481
1482
  stateVersion: number;
1482
1483
  grantId: string;
1483
1484
  principalHash: string;
@@ -1648,9 +1649,9 @@ declare const SupportPassportOwnerGrantSchema: z.ZodObject<{
1648
1649
  revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1649
1650
  status: z.ZodEnum<["active", "expired", "revoked"]>;
1650
1651
  }, "strict", z.ZodTypeAny, {
1651
- status: "active" | "expired" | "revoked";
1652
1652
  createdAt: string;
1653
1653
  expiresAt: string;
1654
+ status: "active" | "expired" | "revoked";
1654
1655
  stateVersion: number;
1655
1656
  grantId: string;
1656
1657
  cards: {
@@ -1659,9 +1660,9 @@ declare const SupportPassportOwnerGrantSchema: z.ZodObject<{
1659
1660
  }[];
1660
1661
  revokedAt?: string | undefined;
1661
1662
  }, {
1662
- status: "active" | "expired" | "revoked";
1663
1663
  createdAt: string;
1664
1664
  expiresAt: string;
1665
+ status: "active" | "expired" | "revoked";
1665
1666
  stateVersion: number;
1666
1667
  grantId: string;
1667
1668
  cards: {
@@ -1689,9 +1690,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
1689
1690
  revokedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1690
1691
  status: z.ZodEnum<["active", "expired", "revoked"]>;
1691
1692
  }, "strict", z.ZodTypeAny, {
1692
- status: "active" | "expired" | "revoked";
1693
1693
  createdAt: string;
1694
1694
  expiresAt: string;
1695
+ status: "active" | "expired" | "revoked";
1695
1696
  stateVersion: number;
1696
1697
  grantId: string;
1697
1698
  cards: {
@@ -1700,9 +1701,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
1700
1701
  }[];
1701
1702
  revokedAt?: string | undefined;
1702
1703
  }, {
1703
- status: "active" | "expired" | "revoked";
1704
1704
  createdAt: string;
1705
1705
  expiresAt: string;
1706
+ status: "active" | "expired" | "revoked";
1706
1707
  stateVersion: number;
1707
1708
  grantId: string;
1708
1709
  cards: {
@@ -1715,9 +1716,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
1715
1716
  }, "strict", z.ZodTypeAny, {
1716
1717
  secret: string;
1717
1718
  grant: {
1718
- status: "active" | "expired" | "revoked";
1719
1719
  createdAt: string;
1720
1720
  expiresAt: string;
1721
+ status: "active" | "expired" | "revoked";
1721
1722
  stateVersion: number;
1722
1723
  grantId: string;
1723
1724
  cards: {
@@ -1729,9 +1730,9 @@ declare const SupportPassportCreatedGrantSchema: z.ZodObject<{
1729
1730
  }, {
1730
1731
  secret: string;
1731
1732
  grant: {
1732
- status: "active" | "expired" | "revoked";
1733
1733
  createdAt: string;
1734
1734
  expiresAt: string;
1735
+ status: "active" | "expired" | "revoked";
1735
1736
  stateVersion: number;
1736
1737
  grantId: string;
1737
1738
  cards: {
@@ -1748,14 +1749,14 @@ declare const SupportPassportPublicCardSchema: z.ZodObject<{
1748
1749
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1749
1750
  updatedAt: z.ZodEffects<z.ZodString, string, string>;
1750
1751
  }, "strict", z.ZodTypeAny, {
1751
- title: string;
1752
1752
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1753
+ title: string;
1753
1754
  updatedAt: string;
1754
1755
  cardId: string;
1755
1756
  statement: string;
1756
1757
  }, {
1757
- title: string;
1758
1758
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1759
+ title: string;
1759
1760
  updatedAt: string;
1760
1761
  cardId: string;
1761
1762
  statement: string;
@@ -1772,38 +1773,38 @@ declare const SupportPassportPublicGuideSchema: z.ZodObject<{
1772
1773
  category: z.ZodEnum<["communication", "environment", "transitions", "sensory", "regulation", "interests", "other"]>;
1773
1774
  updatedAt: z.ZodEffects<z.ZodString, string, string>;
1774
1775
  }, "strict", z.ZodTypeAny, {
1775
- title: string;
1776
1776
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1777
+ title: string;
1777
1778
  updatedAt: string;
1778
1779
  cardId: string;
1779
1780
  statement: string;
1780
1781
  }, {
1781
- title: string;
1782
1782
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1783
+ title: string;
1783
1784
  updatedAt: string;
1784
1785
  cardId: string;
1785
1786
  statement: string;
1786
1787
  }>, "many">;
1787
1788
  }, "strict", z.ZodTypeAny, {
1788
- schemaVersion: 1;
1789
1789
  expiresAt: string;
1790
+ schemaVersion: 1;
1790
1791
  updatedAt: string;
1791
1792
  grantId: string;
1792
1793
  cards: {
1793
- title: string;
1794
1794
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1795
+ title: string;
1795
1796
  updatedAt: string;
1796
1797
  cardId: string;
1797
1798
  statement: string;
1798
1799
  }[];
1799
1800
  }, {
1800
- schemaVersion: 1;
1801
1801
  expiresAt: string;
1802
+ schemaVersion: 1;
1802
1803
  updatedAt: string;
1803
1804
  grantId: string;
1804
1805
  cards: {
1805
- title: string;
1806
1806
  category: "other" | "communication" | "environment" | "transitions" | "sensory" | "regulation" | "interests";
1807
+ title: string;
1807
1808
  updatedAt: string;
1808
1809
  cardId: string;
1809
1810
  statement: string;
@@ -2154,17 +2155,16 @@ type AccessProfilingReportResponse = {
2154
2155
  message?: string;
2155
2156
  };
2156
2157
  declare const ENGRAM_ACCESS_WRITE_SCHEMA_VERSION = 1;
2157
- interface EngramAccessRecallRequest {
2158
- query: string;
2159
- sessionKey?: string;
2160
- namespace?: string;
2158
+ /**
2159
+ * Recall request. Wire fields derive from the canonical zod schema
2160
+ * (`recallRequestSchema`, access-schema.ts — issue #2482) so the HTTP body,
2161
+ * the MCP args, and the service share ONE model. The overlay below carries
2162
+ * server-resolved transport fields no client may set.
2163
+ */
2164
+ interface EngramAccessRecallRequest extends RecallRequest {
2161
2165
  authenticatedPrincipal?: string;
2162
2166
  /** Trusted connector identity resolved at the transport boundary. */
2163
2167
  sourceConnector?: string;
2164
- idempotencyKey?: string;
2165
- topK?: number;
2166
- mode?: RecallPlanMode | "auto";
2167
- includeDebug?: boolean;
2168
2168
  abortSignal?: AbortSignal;
2169
2169
  /**
2170
2170
  * Internal, server-set field (issue #1906): wall-clock ms the caller
@@ -2174,70 +2174,6 @@ interface EngramAccessRecallRequest {
2174
2174
  * (same pattern as `abortSignal`).
2175
2175
  */
2176
2176
  queueWaitMs?: number;
2177
- /**
2178
- * Recall disclosure depth. Omitting it preserves the `"chunk"` default.
2179
- * Other accepted values are `"section"` and `"raw"`.
2180
- */
2181
- disclosure?: RecallDisclosure;
2182
- /**
2183
- * Coding-agent context (issue #569). When a connector resolves a git
2184
- * context for the session's cwd, it passes it here and the access service
2185
- * attaches it to the orchestrator before recall so project- / branch-
2186
- * scoped namespace overlays apply.
2187
- *
2188
- * Keyed by `sessionKey`; ignored when `sessionKey` is absent.
2189
- */
2190
- codingContext?: {
2191
- projectId: string;
2192
- branch: string | null;
2193
- rootPath: string;
2194
- defaultBranch: string | null;
2195
- } | null;
2196
- /**
2197
- * Working directory of the calling agent session. When provided and no
2198
- * `codingContext` is already attached to the session, the service resolves
2199
- * git context from this path and attaches it automatically. This enables
2200
- * Claude Code hooks (and any connector that knows its cwd) to get
2201
- * project-scoped memory without explicitly constructing a `codingContext`.
2202
- */
2203
- cwd?: string;
2204
- /**
2205
- * Arbitrary project tag for non-git-based project scoping. When provided,
2206
- * creates a `CodingContext` with `projectId: "tag:<projectTag>"`.
2207
- * Useful for OpenClaw sessions where the whole workspace is one git repo
2208
- * but different conversations correspond to different client projects.
2209
- * Takes precedence over `cwd`-based git resolution but NOT over an
2210
- * explicit `codingContext`.
2211
- */
2212
- projectTag?: string;
2213
- /**
2214
- * Historical recall pin (issue #680). ISO 8601 timestamp. When set,
2215
- * the orchestrator filters out memories whose `valid_at` is after this
2216
- * instant OR whose `invalid_at` is at-or-before this instant, so the
2217
- * caller sees the corpus as it existed at `asOf`. Invalid values are
2218
- * rejected here with `EngramAccessInputError` (CLAUDE.md rule 51).
2219
- */
2220
- asOf?: string;
2221
- /**
2222
- * Free-form recall tag filter (issue #689). When non-empty, recall results
2223
- * whose frontmatter `tags` do not match are removed from the response.
2224
- * Comparison is case-sensitive exact match against tags stored on each
2225
- * memory's frontmatter (see `storage.ts` and `docs/tags.md`).
2226
- */
2227
- tags?: string[];
2228
- /**
2229
- * Match mode for `tags` (issue #689). `"any"` (default when omitted)
2230
- * admits results that carry at least one filter tag. `"all"` requires
2231
- * every filter tag to be present. Ignored when `tags` is absent or empty.
2232
- */
2233
- tagMatch?: "any" | "all";
2234
- /**
2235
- * Issue #681 — when `true`, bypasses the configured
2236
- * `graphTraversalConfidenceFloor` for this recall and includes graph edges
2237
- * below the floor in traversal. Useful for diagnostic queries that need to
2238
- * surface results pruned by confidence decay. Default `false`.
2239
- */
2240
- includeLowConfidence?: boolean;
2241
2177
  }
2242
2178
  /**
2243
2179
  * Standalone request to attach / clear the coding context for a session
@@ -2733,26 +2669,15 @@ interface EngramAccessObserveMessage {
2733
2669
  rawContent?: unknown;
2734
2670
  sourceFormat?: MessagePartSourceFormat;
2735
2671
  }
2736
- interface EngramAccessObserveRequest extends SourceConnectorProvenance {
2737
- sessionKey: string;
2672
+ /**
2673
+ * Observe request. Wire fields derive from the canonical zod schema
2674
+ * (`observeRequestSchema`, access-schema.ts — issue #2482); the service
2675
+ * consumes the transport-cleaned message form (the wire schema tolerates
2676
+ * nullable `parts`/`sourceFormat`, the service maps them to `undefined`).
2677
+ */
2678
+ interface EngramAccessObserveRequest extends Omit<ObserveRequest, "messages">, SourceConnectorProvenance {
2738
2679
  messages: EngramAccessObserveMessage[];
2739
- namespace?: string;
2740
2680
  authenticatedPrincipal?: string;
2741
- skipExtraction?: boolean;
2742
- /** Optional idempotency key (issue #1649): a retried POST with the same key is deduplicated server-side; divergent reuse is a conflict. */
2743
- idempotencyKey?: string;
2744
- /**
2745
- * Working directory of the calling agent session (issue #569 wiring).
2746
- * When provided and no `codingContext` is attached for this session,
2747
- * resolves git context from the path and attaches it so writes route to
2748
- * the correct project namespace.
2749
- */
2750
- cwd?: string;
2751
- /**
2752
- * Arbitrary project tag for non-git-based project scoping (issue #569).
2753
- * Creates a `CodingContext` with `projectId: "tag:<projectTag>"`.
2754
- */
2755
- projectTag?: string;
2756
2681
  readonly suppressQuarantine?: boolean;
2757
2682
  }
2758
2683
  /**