@remnic/core 9.65.8 → 9.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (637) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -12
  2. package/dist/access-admin-ops-surface.js +49 -46
  3. package/dist/access-authorization-probe.d.ts +11 -12
  4. package/dist/access-authorization-probe.js +50 -47
  5. package/dist/access-boundary.d.ts +11 -12
  6. package/dist/access-boundary.js +49 -46
  7. package/dist/access-citation-namespace.js +3 -3
  8. package/dist/access-cli.js +111 -106
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-coding-context-resolution.d.ts +1 -2
  11. package/dist/access-coding-context-resolution.js +2 -2
  12. package/dist/access-extraction-force-flush.d.ts +11 -12
  13. package/dist/access-extraction-force-flush.js +49 -46
  14. package/dist/access-health-types.d.ts +1 -2
  15. package/dist/access-http-lcm-compaction.d.ts +11 -12
  16. package/dist/access-http-lifecycle-flush.d.ts +11 -12
  17. package/dist/access-http-offline-stream.d.ts +11 -12
  18. package/dist/access-http-query.d.ts +2 -3
  19. package/dist/access-http-query.js +51 -48
  20. package/dist/access-http.d.ts +12 -13
  21. package/dist/access-http.js +68 -65
  22. package/dist/access-identity-continuity-surface.d.ts +9 -10
  23. package/dist/access-identity-continuity-surface.js +49 -46
  24. package/dist/access-lcm-surface.d.ts +11 -12
  25. package/dist/access-lcm-surface.js +49 -46
  26. package/dist/access-mcp-output-schemas.js +1 -1
  27. package/dist/access-mcp.d.ts +11 -12
  28. package/dist/access-mcp.js +62 -59
  29. package/dist/access-memory-search-fanout.d.ts +2 -3
  30. package/dist/{access-namespace-preflight-CpAOrS-9.d.ts → access-namespace-preflight-CLWUoMyW.d.ts} +1 -1
  31. package/dist/access-namespace-preflight.d.ts +3 -4
  32. package/dist/access-namespace-preflight.js +49 -46
  33. package/dist/access-observe-write-surface.d.ts +11 -12
  34. package/dist/access-observe-write-surface.js +49 -46
  35. package/dist/access-offline-manifest.d.ts +9 -10
  36. package/dist/access-offline-manifest.js +15 -15
  37. package/dist/access-operations-batch.js +54 -51
  38. package/dist/access-operations.d.ts +17 -18
  39. package/dist/access-operations.js +59 -56
  40. package/dist/access-recall-concurrency.d.ts +11 -12
  41. package/dist/access-recall-concurrency.js +49 -46
  42. package/dist/access-recall-response.d.ts +11 -12
  43. package/dist/access-recall-response.js +49 -46
  44. package/dist/access-recall-surface.d.ts +11 -12
  45. package/dist/access-recall-surface.js +49 -46
  46. package/dist/access-schema.d.ts +83 -83
  47. package/dist/access-schema.js +7 -7
  48. package/dist/{access-service-Diu61Cfv.d.ts → access-service-CEUE1Isj.d.ts} +66 -66
  49. package/dist/access-service-helpers.d.ts +11 -12
  50. package/dist/access-service.d.ts +11 -12
  51. package/dist/access-service.js +49 -46
  52. package/dist/access-surface-catalog.d.ts +11 -12
  53. package/dist/access-surface-catalog.js +53 -48
  54. package/dist/access-surface-catalog.js.map +1 -1
  55. package/dist/access-wearables-meetings-surface.d.ts +3 -4
  56. package/dist/action-confidence.d.ts +1 -2
  57. package/dist/active-memory-bridge.d.ts +1 -2
  58. package/dist/active-memory-bridge.js +2 -2
  59. package/dist/active-recall.d.ts +1 -2
  60. package/dist/active-recall.js +11 -11
  61. package/dist/ambient-provenance.d.ts +1 -2
  62. package/dist/artifact-search.d.ts +1 -2
  63. package/dist/{auto-sync-2YPITIWN.js → auto-sync-Q6Q2FVSC.js} +9 -9
  64. package/dist/behavior-learner.d.ts +1 -2
  65. package/dist/behavior-signals.d.ts +1 -2
  66. package/dist/bootstrap.d.ts +9 -10
  67. package/dist/briefing-window.d.ts +2 -3
  68. package/dist/briefing.d.ts +2 -3
  69. package/dist/briefing.js +23 -23
  70. package/dist/buffer-surprise-report.d.ts +1 -2
  71. package/dist/buffer-turn-helpers.d.ts +1 -2
  72. package/dist/buffer.d.ts +2 -3
  73. package/dist/buffer.js +20 -4
  74. package/dist/bulk-import/index.d.ts +3 -4
  75. package/dist/calibration.d.ts +1 -2
  76. package/dist/calibration.js +1 -1
  77. package/dist/capabilities.d.ts +1 -2
  78. package/dist/{capsule-merge-SGIVB3WA.js → capsule-merge-SEHERWWP.js} +4 -4
  79. package/dist/{catalog-9f-vEQLS.d.ts → catalog-D1HgugTA.d.ts} +1 -1
  80. package/dist/causal-behavior.d.ts +1 -2
  81. package/dist/causal-consolidation.d.ts +1 -2
  82. package/dist/causal-consolidation.js +24 -24
  83. package/dist/causal-trajectory-graph.d.ts +1 -2
  84. package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
  85. package/dist/{chunk-NPFUNWNX.js → chunk-23CVL7HS.js} +2 -2
  86. package/dist/{chunk-PO7NXBG2.js → chunk-2GF27PGH.js} +5 -5
  87. package/dist/{chunk-MY2BC6UE.js → chunk-2LBAFHOQ.js} +11 -11
  88. package/dist/{chunk-AZMLH5UT.js → chunk-33MFRY25.js} +2 -2
  89. package/dist/{chunk-UEBDCMOO.js → chunk-3TSU662L.js} +3 -3
  90. package/dist/{chunk-CAMNRAJF.js → chunk-4FHRZD5T.js} +2 -2
  91. package/dist/{chunk-FP7YTTVO.js → chunk-4OFKZAJG.js} +2 -1
  92. package/dist/chunk-4OFKZAJG.js.map +1 -0
  93. package/dist/{chunk-S5XOSTYM.js → chunk-4STAANV7.js} +3 -3
  94. package/dist/{chunk-LKYIOCWL.js → chunk-56IV4J5W.js} +546 -96
  95. package/dist/chunk-56IV4J5W.js.map +1 -0
  96. package/dist/{chunk-4F4AQFWL.js → chunk-6CEGSTBD.js} +10 -10
  97. package/dist/{chunk-JYSN42VN.js → chunk-6QDXA26G.js} +235 -181
  98. package/dist/chunk-6QDXA26G.js.map +1 -0
  99. package/dist/{chunk-MDD2RINF.js → chunk-6RUHELWR.js} +3 -3
  100. package/dist/{chunk-WNXYT4MK.js → chunk-72OIT7KS.js} +4 -4
  101. package/dist/{chunk-KQAFEZQX.js → chunk-7LCGFUMB.js} +4 -4
  102. package/dist/{chunk-SNOIKAHM.js → chunk-7UTDHQZ5.js} +3 -3
  103. package/dist/{chunk-5HK3CJAR.js → chunk-7XOG75AU.js} +3 -3
  104. package/dist/{chunk-7BDZTALN.js → chunk-AJTG3CP7.js} +12 -2
  105. package/dist/chunk-AJTG3CP7.js.map +1 -0
  106. package/dist/{chunk-2LWQSV6A.js → chunk-AL3UYZ5N.js} +3 -2
  107. package/dist/chunk-AL3UYZ5N.js.map +1 -0
  108. package/dist/{chunk-UPFNQJC7.js → chunk-CN4VKV3S.js} +2 -2
  109. package/dist/{chunk-PMVPCZJZ.js → chunk-CTCGHNWN.js} +6 -6
  110. package/dist/{chunk-EGBDFJ36.js → chunk-DD5JFCWM.js} +2 -2
  111. package/dist/{chunk-XBGHAAKR.js → chunk-DDX6KIXF.js} +2 -2
  112. package/dist/{chunk-JIYDRBVZ.js → chunk-DJORULH3.js} +2 -2
  113. package/dist/{chunk-UENKPWCS.js → chunk-DMEHOEC7.js} +6 -6
  114. package/dist/{chunk-7KQB4EBS.js → chunk-DUAJKRR2.js} +2 -2
  115. package/dist/{chunk-XDL5CYZN.js → chunk-EEOUMG3J.js} +2 -1
  116. package/dist/{chunk-XDL5CYZN.js.map → chunk-EEOUMG3J.js.map} +1 -1
  117. package/dist/{chunk-SEEJOGQX.js → chunk-EFQCDJZ2.js} +4 -4
  118. package/dist/{chunk-Q57GOHLF.js → chunk-EGALNSZ4.js} +3 -3
  119. package/dist/{chunk-KCT36JAW.js → chunk-ESNFSSO4.js} +2 -2
  120. package/dist/{chunk-XQ3HXAQH.js → chunk-ET2CNMLD.js} +4 -4
  121. package/dist/{chunk-PU56CXZA.js → chunk-EZSCW4EM.js} +2 -2
  122. package/dist/{chunk-HMZKGHMD.js → chunk-FESUGFIL.js} +3 -3
  123. package/dist/{chunk-3A2NJP2U.js → chunk-FKKGCGYL.js} +3 -3
  124. package/dist/{chunk-BWGCOLEL.js → chunk-FTTJRVB7.js} +2 -2
  125. package/dist/{chunk-ODU2CNNX.js → chunk-FYWLSFFS.js} +2 -2
  126. package/dist/{chunk-W2BAGGEW.js → chunk-GEJKYA7D.js} +33 -24
  127. package/dist/{chunk-W2BAGGEW.js.map → chunk-GEJKYA7D.js.map} +1 -1
  128. package/dist/chunk-GSKINLAK.js +267 -0
  129. package/dist/chunk-GSKINLAK.js.map +1 -0
  130. package/dist/{chunk-3PKAS6VL.js → chunk-GX6FTSYH.js} +2 -2
  131. package/dist/{chunk-76DIF5KT.js → chunk-H7VDIF2V.js} +2 -2
  132. package/dist/{chunk-F7XUD3PL.js → chunk-HJXA6ZM7.js} +2 -2
  133. package/dist/{chunk-4QEYREAV.js → chunk-HNPE66LB.js} +2 -2
  134. package/dist/{chunk-P36Z4JRA.js → chunk-I5VB44ZK.js} +2 -2
  135. package/dist/{chunk-EUYWQ7TS.js → chunk-IEZ6CGTW.js} +2 -2
  136. package/dist/{chunk-OXRRJXPR.js → chunk-IHGMRDEE.js} +275 -1678
  137. package/dist/chunk-IHGMRDEE.js.map +1 -0
  138. package/dist/{chunk-5DHKCO52.js → chunk-IVIAHQBR.js} +2 -2
  139. package/dist/{chunk-TFR3HG4K.js → chunk-J3OND5QT.js} +4 -4
  140. package/dist/{chunk-UW5NPZJ2.js → chunk-JALOAKSZ.js} +59 -7
  141. package/dist/chunk-JALOAKSZ.js.map +1 -0
  142. package/dist/{chunk-5ACCD4L7.js → chunk-JRRQ747T.js} +7 -7
  143. package/dist/{chunk-V4IDF3EZ.js → chunk-JTWZKNUH.js} +5 -5
  144. package/dist/chunk-K66OY4EI.js +202 -0
  145. package/dist/chunk-K66OY4EI.js.map +1 -0
  146. package/dist/{chunk-XAB6STPO.js → chunk-KODXCHXJ.js} +17 -3
  147. package/dist/chunk-KODXCHXJ.js.map +1 -0
  148. package/dist/{chunk-KZIF6XHX.js → chunk-KXIXO76C.js} +28 -15
  149. package/dist/chunk-KXIXO76C.js.map +1 -0
  150. package/dist/{chunk-5RWZH6PH.js → chunk-L4X4PJYK.js} +2 -2
  151. package/dist/{chunk-UTQUEHC7.js → chunk-LUDBXTBJ.js} +8 -8
  152. package/dist/{chunk-XNWXSGHS.js → chunk-MAH64N55.js} +28 -10
  153. package/dist/chunk-MAH64N55.js.map +1 -0
  154. package/dist/{chunk-LDKPDODJ.js → chunk-ME35HVDJ.js} +2 -2
  155. package/dist/{chunk-DPCXDG7G.js → chunk-MJRGVXPQ.js} +2 -2
  156. package/dist/{chunk-773TRRGT.js → chunk-MJUCDM3C.js} +2 -2
  157. package/dist/{chunk-T6ILXUAH.js → chunk-MN5NOOI7.js} +2 -2
  158. package/dist/{chunk-AHPIFKNG.js → chunk-N4F7ZSSG.js} +2 -2
  159. package/dist/{chunk-JOZUBF4A.js → chunk-NACLNNFQ.js} +2 -2
  160. package/dist/{chunk-LC2BDILZ.js → chunk-NBP4EX5N.js} +2 -2
  161. package/dist/{chunk-ZVPVTPGI.js → chunk-NNZFPYYX.js} +4 -4
  162. package/dist/{chunk-DA7ITC5Z.js → chunk-O57GM3FR.js} +2 -2
  163. package/dist/{chunk-7VZFRUQU.js → chunk-O7ERGZDA.js} +5 -5
  164. package/dist/{chunk-3SZD4CYO.js → chunk-OAJMQKQR.js} +3 -3
  165. package/dist/{chunk-HSZMX3ZJ.js → chunk-ODW5GDFE.js} +2 -2
  166. package/dist/{chunk-7WOWGRAU.js → chunk-PEBH5DCK.js} +10 -7
  167. package/dist/{chunk-7WOWGRAU.js.map → chunk-PEBH5DCK.js.map} +1 -1
  168. package/dist/{chunk-J2WC5LF4.js → chunk-QBC33MPY.js} +2 -1
  169. package/dist/{chunk-T7XP6IZE.js → chunk-QCRJMU5V.js} +2 -2
  170. package/dist/chunk-QJCWK2A7.js +1466 -0
  171. package/dist/chunk-QJCWK2A7.js.map +1 -0
  172. package/dist/{chunk-YEUXERJ6.js → chunk-RDGKVH6T.js} +7 -3
  173. package/dist/{chunk-YEUXERJ6.js.map → chunk-RDGKVH6T.js.map} +1 -1
  174. package/dist/{chunk-OA2O2GJ4.js → chunk-RZ3IZIJG.js} +3 -3
  175. package/dist/{chunk-UL4MKZHI.js → chunk-SN4JXNLL.js} +2 -2
  176. package/dist/chunk-TB2MJRI6.js +866 -0
  177. package/dist/chunk-TB2MJRI6.js.map +1 -0
  178. package/dist/{chunk-7PHI6GUI.js → chunk-TEZ2HTC7.js} +42 -2
  179. package/dist/chunk-TEZ2HTC7.js.map +1 -0
  180. package/dist/{chunk-CPA5NBHN.js → chunk-TNGH4ZYI.js} +2 -2
  181. package/dist/{chunk-F3NVYTTA.js → chunk-TNXNECAN.js} +6 -6
  182. package/dist/{chunk-BEC4YBNA.js → chunk-TVW4C7PV.js} +2 -2
  183. package/dist/{chunk-UFKPQBXH.js → chunk-U62OK7BB.js} +2 -2
  184. package/dist/{chunk-AX7UXCHJ.js → chunk-UYA36DQ7.js} +2 -1
  185. package/dist/chunk-UYA36DQ7.js.map +1 -0
  186. package/dist/{chunk-DEACDKE3.js → chunk-VCKWULAK.js} +112 -87
  187. package/dist/chunk-VCKWULAK.js.map +1 -0
  188. package/dist/chunk-VOSWUO3K.js +100 -0
  189. package/dist/chunk-VOSWUO3K.js.map +1 -0
  190. package/dist/{chunk-TUHBYJXL.js → chunk-VQ4AMTGZ.js} +1 -1
  191. package/dist/{chunk-3BCULS4U.js → chunk-VQNRICAQ.js} +145 -507
  192. package/dist/chunk-VQNRICAQ.js.map +1 -0
  193. package/dist/{chunk-H2YSH3DG.js → chunk-WKAXBXVA.js} +2 -2
  194. package/dist/{chunk-HRHO3ZNG.js → chunk-WKJFIMVN.js} +2 -2
  195. package/dist/{chunk-SXIMQLGV.js → chunk-WVGXCBOC.js} +2 -2
  196. package/dist/{chunk-CRML27CO.js → chunk-X5YYSAZX.js} +4 -4
  197. package/dist/{chunk-FZEEWOI2.js → chunk-XJJYSX6F.js} +2 -2
  198. package/dist/{chunk-U7EW2W4W.js → chunk-XKNHFDTT.js} +26 -6
  199. package/dist/chunk-XKNHFDTT.js.map +1 -0
  200. package/dist/{chunk-UG6VXIOK.js → chunk-XSTNGNJP.js} +2 -2
  201. package/dist/{chunk-YDPAE2RD.js → chunk-YFLLGRXO.js} +2 -2
  202. package/dist/{chunk-LPNCR4QK.js → chunk-YXFCALVT.js} +12 -12
  203. package/dist/{chunk-Q4WONDMJ.js → chunk-YYGZJPOK.js} +2 -2
  204. package/dist/{chunk-GTO56JY5.js → chunk-ZJPM7GZ3.js} +2 -2
  205. package/dist/{chunk-LOXHYCVS.js → chunk-ZW4VXELZ.js} +2 -2
  206. package/dist/{cli-O3F-ht3i.d.ts → cli-BEkm2MEf.d.ts} +5 -5
  207. package/dist/cli.d.ts +13 -14
  208. package/dist/cli.js +90 -85
  209. package/dist/coding/export-okf-codegraph.d.ts +56 -0
  210. package/dist/coding/export-okf-codegraph.js +526 -0
  211. package/dist/coding/export-okf-codegraph.js.map +1 -0
  212. package/dist/coding/pre-action-gate.d.ts +1 -2
  213. package/dist/compounding/engine.d.ts +2 -3
  214. package/dist/compounding/engine.js +24 -24
  215. package/dist/compounding/preference-consolidator.d.ts +1 -2
  216. package/dist/compression-optimizer.d.ts +1 -2
  217. package/dist/config.d.ts +1 -2
  218. package/dist/config.js +11 -11
  219. package/dist/connectors/codex-materialize-runner.d.ts +1 -2
  220. package/dist/connectors/codex-materialize-runner.js +23 -23
  221. package/dist/connectors/codex-materialize.d.ts +1 -2
  222. package/dist/connectors/index.d.ts +1 -2
  223. package/dist/connectors/index.js +23 -23
  224. package/dist/consolidation-provenance-check.d.ts +2 -3
  225. package/dist/consolidation-provenance-check.js +4 -4
  226. package/dist/consolidation-undo.d.ts +2 -3
  227. package/dist/consolidation-undo.js +3 -3
  228. package/dist/contradiction/index.d.ts +3 -4
  229. package/dist/contradiction/index.js +9 -9
  230. package/dist/{contradiction-scan-AKUWPX5N.js → contradiction-scan-NOYMFG66.js} +3 -3
  231. package/dist/converge-config.d.ts +1 -2
  232. package/dist/convergence-refresh.d.ts +2 -3
  233. package/dist/convergence-refresh.js +25 -25
  234. package/dist/conversation-index/backend.d.ts +1 -2
  235. package/dist/conversation-index/backend.js +2 -2
  236. package/dist/conversation-index/chunker.d.ts +1 -2
  237. package/dist/conversation-index/faiss-adapter.d.ts +1 -2
  238. package/dist/conversation-index/indexer.d.ts +1 -2
  239. package/dist/conversation-index/search.d.ts +1 -2
  240. package/dist/corpus-watermark.d.ts +1 -2
  241. package/dist/corpus-watermark.js +25 -25
  242. package/dist/cross-lingual-recall.d.ts +1 -2
  243. package/dist/day-summary.d.ts +1 -2
  244. package/dist/delinearize.d.ts +1 -2
  245. package/dist/dependency-propagation-config.d.ts +1 -2
  246. package/dist/{dependency-propagation-delivery-CL6RWXTA.d.ts → dependency-propagation-delivery-BCpeo14F.d.ts} +1 -1
  247. package/dist/direct-answer-wiring.d.ts +1 -2
  248. package/dist/direct-answer.d.ts +1 -2
  249. package/dist/embedding-fallback.d.ts +1 -2
  250. package/dist/enrichment/index.d.ts +1 -2
  251. package/dist/entity-origin-fields.d.ts +1 -2
  252. package/dist/entity-retrieval.d.ts +2 -3
  253. package/dist/entity-retrieval.js +23 -23
  254. package/dist/entity-schema.d.ts +1 -2
  255. package/dist/episodic-context.d.ts +1 -2
  256. package/dist/eval-trajectory-contracts.d.ts +1 -2
  257. package/dist/eval-trajectory-store.d.ts +1 -2
  258. package/dist/eval-trajectory.d.ts +1 -2
  259. package/dist/explicit-capture.d.ts +9 -10
  260. package/dist/explicit-capture.js +11 -11
  261. package/dist/external-wiki-access.d.ts +11 -12
  262. package/dist/external-wiki-access.js +50 -47
  263. package/dist/external-wiki-collection-registration.d.ts +1 -2
  264. package/dist/external-wiki-collection.d.ts +1 -2
  265. package/dist/external-wiki-mcp-tools.d.ts +11 -12
  266. package/dist/extraction-error-classification.d.ts +1 -2
  267. package/dist/extraction-faithfulness.d.ts +1 -2
  268. package/dist/extraction-faithfulness.js +2 -2
  269. package/dist/extraction-judge-telemetry.d.ts +1 -2
  270. package/dist/extraction-judge-training.d.ts +1 -2
  271. package/dist/extraction-judge.d.ts +1 -2
  272. package/dist/extraction-judge.js +2 -2
  273. package/dist/extraction-liveness.d.ts +1 -2
  274. package/dist/extraction-normalization.d.ts +1 -2
  275. package/dist/extraction-prompt.d.ts +1 -2
  276. package/dist/extraction-source-grounding-rules.d.ts +1 -2
  277. package/dist/extraction-source-grounding.d.ts +1 -2
  278. package/dist/extraction.d.ts +1 -2
  279. package/dist/extraction.js +32 -29
  280. package/dist/fallback-llm.d.ts +7 -2
  281. package/dist/fallback-llm.js +1 -1
  282. package/dist/{first-start-migration-4NETATFF.js → first-start-migration-KHIMCBIC.js} +3 -3
  283. package/dist/graph-dashboard-diff.d.ts +1 -2
  284. package/dist/graph-dashboard-key.d.ts +1 -2
  285. package/dist/graph-dashboard-parser.d.ts +1 -2
  286. package/dist/graph-edge-reinforcement.d.ts +1 -2
  287. package/dist/graph-path-reconstruction.d.ts +1 -2
  288. package/dist/graph-path-scoring.d.ts +1 -2
  289. package/dist/graph-snapshot.d.ts +1 -2
  290. package/dist/graph.d.ts +1 -2
  291. package/dist/harmonic-retrieval.js +1 -1
  292. package/dist/importance.d.ts +1 -2
  293. package/dist/importers/index.d.ts +1 -2
  294. package/dist/in-flight-reads.d.ts +1 -2
  295. package/dist/{index-C7Xep6S9.d.ts → index-D_pyMUaP.d.ts} +2 -2
  296. package/dist/index.d.ts +929 -700
  297. package/dist/index.js +167 -132
  298. package/dist/intent.d.ts +1 -2
  299. package/dist/lcm/engine.d.ts +1 -2
  300. package/dist/lcm/index.d.ts +1 -2
  301. package/dist/lcm/tools.d.ts +1 -2
  302. package/dist/lifecycle.d.ts +1 -2
  303. package/dist/live-connectors-runner.d.ts +1 -2
  304. package/dist/local-llm.d.ts +1 -2
  305. package/dist/local-model-endpoint.d.ts +1 -2
  306. package/dist/location/index.d.ts +315 -6
  307. package/dist/location/index.js +151 -19
  308. package/dist/maintenance/memory-governance.d.ts +1 -2
  309. package/dist/maintenance/memory-governance.js +23 -23
  310. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -3
  311. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -23
  312. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -3
  313. package/dist/maintenance/rebuild-memory-projection.js +24 -24
  314. package/dist/{maintenance-CJ-xqFp0.d.ts → maintenance-DDUX9d6D.d.ts} +3 -3
  315. package/dist/mcp-memory-inspector-app.d.ts +11 -12
  316. package/dist/mcp-read-only-tools.js +1 -1
  317. package/dist/memory-action-policy.d.ts +1 -2
  318. package/dist/memory-cache.d.ts +1 -2
  319. package/dist/memory-controller.d.ts +1 -2
  320. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -2
  321. package/dist/memory-projection-mutations.js +3 -3
  322. package/dist/memory-projection-store.d.ts +1 -2
  323. package/dist/memory-projection-store.js +1 -1
  324. package/dist/memory-provenance.d.ts +1 -2
  325. package/dist/memory-snapshot.d.ts +1 -2
  326. package/dist/memory-subject-cli.d.ts +11 -12
  327. package/dist/memory-subject.d.ts +11 -12
  328. package/dist/memory-subject.js +4 -4
  329. package/dist/memory-worth-outcomes.d.ts +2 -3
  330. package/dist/models-json.d.ts +1 -2
  331. package/dist/namespaces/migrate.d.ts +3 -4
  332. package/dist/namespaces/migrate.js +24 -24
  333. package/dist/namespaces/principal.d.ts +1 -2
  334. package/dist/namespaces/search.d.ts +1 -2
  335. package/dist/namespaces/search.js +5 -5
  336. package/dist/namespaces/storage.d.ts +3 -4
  337. package/dist/namespaces/storage.js +23 -23
  338. package/dist/native-knowledge.d.ts +1 -2
  339. package/dist/offline-sync-file-io.js +3 -3
  340. package/dist/offline-sync-impression-drain.d.ts +1 -2
  341. package/dist/offline-sync-impression-drain.js +9 -9
  342. package/dist/offline-sync.js +4 -4
  343. package/dist/operator-doctor-corpus.d.ts +1 -2
  344. package/dist/operator-doctor-corpus.js +26 -26
  345. package/dist/operator-doctor-replica.d.ts +1 -2
  346. package/dist/operator-toolkit.d.ts +3 -4
  347. package/dist/operator-toolkit.js +42 -42
  348. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -3
  349. package/dist/orchestration/maintenance.d.ts +4 -5
  350. package/dist/orchestration/maintenance.js +37 -36
  351. package/dist/{orchestrator-BsntWxLy.d.ts → orchestrator-3F4jihCo.d.ts} +8 -8
  352. package/dist/orchestrator.d.ts +9 -10
  353. package/dist/orchestrator.js +111 -106
  354. package/dist/page-versioning.js +3 -3
  355. package/dist/patterns-cli.d.ts +1 -2
  356. package/dist/{pipeline-CVoysPm2.d.ts → pipeline-CB1dj6Uh.d.ts} +1 -1
  357. package/dist/policy-runtime.d.ts +1 -2
  358. package/dist/proactive-contention.d.ts +1 -2
  359. package/dist/provenance.d.ts +1 -2
  360. package/dist/{public-http-CuOxlTC2.d.ts → public-http-34-JIAGQ.d.ts} +1 -1
  361. package/dist/{purge-GB7PZHT2.js → purge-OP6BEDFY.js} +2 -2
  362. package/dist/{qmd-DWMAGA5l.d.ts → qmd-edLLZXc5.d.ts} +1 -1
  363. package/dist/qmd-preflight.d.ts +2 -3
  364. package/dist/qmd-recall-cache.d.ts +1 -2
  365. package/dist/qmd.d.ts +2 -3
  366. package/dist/recall-concurrency-config.d.ts +1 -2
  367. package/dist/recall-disclosure-escalation.d.ts +1 -2
  368. package/dist/recall-explain-renderer.d.ts +1 -2
  369. package/dist/recall-memory-map.d.ts +1 -2
  370. package/dist/recall-planner-llm.d.ts +1 -2
  371. package/dist/recall-planner-llm.js +1 -1
  372. package/dist/recall-state.d.ts +1 -2
  373. package/dist/recall-tag-filter.d.ts +1 -2
  374. package/dist/recall-timings.d.ts +1 -2
  375. package/dist/recall-xray-cli.d.ts +1 -2
  376. package/dist/recall-xray-renderer.d.ts +1 -2
  377. package/dist/recall-xray.d.ts +1 -2
  378. package/dist/reconcile/cursor.d.ts +1 -2
  379. package/dist/reconcile/manifest.d.ts +1 -2
  380. package/dist/reconcile/manifest.js +4 -4
  381. package/dist/reconcile/plan.d.ts +1 -2
  382. package/dist/replay/normalizers/chatgpt.d.ts +1 -2
  383. package/dist/replay/normalizers/claude.d.ts +1 -2
  384. package/dist/replay/normalizers/openclaw.d.ts +1 -2
  385. package/dist/replay/normalizers/shared.d.ts +1 -2
  386. package/dist/replay/runner.d.ts +1 -2
  387. package/dist/replay/types.d.ts +1 -2
  388. package/dist/replica-divergence.d.ts +1 -2
  389. package/dist/replica-peers-config.d.ts +1 -2
  390. package/dist/{resolution-XWBPKYFB.js → resolution-4DLI3IOR.js} +10 -10
  391. package/dist/resolve-auth-token.d.ts +1 -2
  392. package/dist/resume-bundles.js +12 -12
  393. package/dist/retrieval-agents.d.ts +2 -3
  394. package/dist/retrieval-tiers.d.ts +1 -2
  395. package/dist/routing/engine.d.ts +1 -2
  396. package/dist/routing/store.d.ts +1 -2
  397. package/dist/salvage-envelope.d.ts +1 -2
  398. package/dist/salvage-envelope.js +6 -6
  399. package/dist/schemas.d.ts +639 -174
  400. package/dist/schemas.js +3 -1
  401. package/dist/{scope-profiles-CPWkW_dI.d.ts → scope-profiles-BF2lu81V.d.ts} +1 -1
  402. package/dist/search/document-scanner.js +1 -1
  403. package/dist/search/embed-helper.d.ts +1 -2
  404. package/dist/search/factory.d.ts +1 -2
  405. package/dist/search/factory.js +4 -4
  406. package/dist/search/index.d.ts +1 -2
  407. package/dist/search/index.js +4 -4
  408. package/dist/search/lancedb-backend.d.ts +1 -2
  409. package/dist/search/lancedb-backend.js +1 -1
  410. package/dist/search/meilisearch-backend.d.ts +1 -2
  411. package/dist/search/meilisearch-backend.js +1 -1
  412. package/dist/search/noop-backend.d.ts +1 -2
  413. package/dist/search/orama-backend.d.ts +1 -2
  414. package/dist/search/orama-backend.js +1 -1
  415. package/dist/search/port.d.ts +1 -2
  416. package/dist/search/remote-backend.d.ts +1 -2
  417. package/dist/secure-store/index.js +3 -3
  418. package/dist/{semantic-consolidation-CNFVBXFc.d.ts → semantic-consolidation-5OuWXBRt.d.ts} +1 -1
  419. package/dist/semantic-consolidation.d.ts +2 -3
  420. package/dist/semantic-consolidation.js +24 -24
  421. package/dist/semantic-rule-promotion.js +23 -23
  422. package/dist/semantic-rule-verifier.d.ts +1 -2
  423. package/dist/semantic-rule-verifier.js +23 -23
  424. package/dist/{service-Bb-JIdQ0.d.ts → service-CrqEhLXD.d.ts} +2 -2
  425. package/dist/session-observer-bands.d.ts +1 -2
  426. package/dist/session-observer-state.d.ts +1 -2
  427. package/dist/shared-context/manager.d.ts +7 -8
  428. package/dist/signal.d.ts +1 -2
  429. package/dist/source-agent-qualifier.d.ts +1 -2
  430. package/dist/source-agent-qualifier.js +30 -27
  431. package/dist/standup/build.d.ts +16 -0
  432. package/dist/standup/build.js +17 -0
  433. package/dist/standup/build.js.map +1 -0
  434. package/dist/{storage-CukrlNKk.d.ts → storage-BQn-xnxm.d.ts} +1 -1
  435. package/dist/storage.d.ts +2 -3
  436. package/dist/storage.js +22 -22
  437. package/dist/subject-config.d.ts +1 -2
  438. package/dist/subject-config.js +5 -5
  439. package/dist/summarizer.d.ts +1 -2
  440. package/dist/summarizer.js +2 -2
  441. package/dist/summary-snapshot.d.ts +1 -2
  442. package/dist/support-passport/index.d.ts +16 -17
  443. package/dist/support-passport/index.js +52 -49
  444. package/dist/temporal-supersession.d.ts +2 -3
  445. package/dist/temporal-timeline-recall.d.ts +1 -2
  446. package/dist/temporal-validity.d.ts +1 -2
  447. package/dist/threading.d.ts +1 -2
  448. package/dist/tier-migration.d.ts +2 -3
  449. package/dist/tier-routing.d.ts +1 -2
  450. package/dist/tier-routing.js +2 -2
  451. package/dist/{tier-stats-4B5IJ3NE.js → tier-stats-2TOW3QNL.js} +3 -3
  452. package/dist/topics.d.ts +1 -2
  453. package/dist/transcript.d.ts +1 -2
  454. package/dist/transfer/capsule-export.js +2 -2
  455. package/dist/transfer/capsule-import.js +5 -5
  456. package/dist/transfer/export-okf.d.ts +39 -0
  457. package/dist/transfer/export-okf.js +112 -0
  458. package/dist/transfer/export-okf.js.map +1 -0
  459. package/dist/transfer/types.d.ts +78 -78
  460. package/dist/trust-score-stage.d.ts +1 -2
  461. package/dist/trust-score.d.ts +1 -2
  462. package/dist/{types-djxQlxJ7.d.ts → types-BRpcNjHZ.d.ts} +117 -2
  463. package/dist/types.d.ts +1 -2
  464. package/dist/utility-runtime.d.ts +1 -2
  465. package/dist/verified-recall.js +23 -23
  466. package/dist/who-knows-cli.d.ts +11 -12
  467. package/dist/who-knows-cli.js +24 -24
  468. package/dist/who-knows.d.ts +11 -12
  469. package/dist/who-knows.js +23 -23
  470. package/dist/write-envelope.d.ts +1 -2
  471. package/dist/write-envelope.js +5 -5
  472. package/package.json +34 -3
  473. package/src/access-admin-ops-surface.ts +6 -1
  474. package/src/access-boundary.ts +1 -0
  475. package/src/access-http.ts +3 -1
  476. package/src/access-mcp-output-schemas.ts +1 -0
  477. package/src/access-mcp.ts +3 -3
  478. package/src/access-operations.ts +1 -0
  479. package/src/access-service-offline-file-content.test.ts +63 -0
  480. package/src/access-surface-catalog.ts +2 -0
  481. package/src/activity/config.test.ts +1 -0
  482. package/src/activity/config.ts +21 -1
  483. package/src/activity/index.ts +1 -0
  484. package/src/activity/timeline/build.ts +279 -0
  485. package/src/activity/timeline/categories.ts +111 -0
  486. package/src/activity/timeline/classify.ts +110 -0
  487. package/src/activity/timeline/corrections.ts +145 -0
  488. package/src/activity/timeline/index.ts +6 -0
  489. package/src/activity/timeline/timeline.test.ts +277 -0
  490. package/src/activity/timeline/types.ts +106 -0
  491. package/src/activity/types.ts +6 -0
  492. package/src/cli/okf-commands.ts +45 -0
  493. package/src/cli.ts +2 -2
  494. package/src/coding/export-okf-codegraph.test.ts +381 -0
  495. package/src/coding/export-okf-codegraph.ts +565 -0
  496. package/src/config.test.ts +1 -0
  497. package/src/extraction-prompt-safety.test.ts +14 -2
  498. package/src/extraction.ts +21 -1
  499. package/src/fallback-llm.test.ts +134 -0
  500. package/src/fallback-llm.ts +77 -5
  501. package/src/location/access-operations.ts +17 -8
  502. package/src/location/backfill.ts +137 -0
  503. package/src/location/config.test.ts +3 -0
  504. package/src/location/config.ts +46 -2
  505. package/src/location/http-glue.ts +1 -1
  506. package/src/location/index.ts +3 -0
  507. package/src/location/intervals.ts +1 -0
  508. package/src/location/matching.test.ts +65 -0
  509. package/src/location/matching.ts +354 -0
  510. package/src/location/mcp-tools.ts +2 -1
  511. package/src/location/surfaces.test.ts +15 -2
  512. package/src/location/surfaces.ts +95 -18
  513. package/src/location/tagging.test.ts +119 -0
  514. package/src/location/tagging.ts +277 -0
  515. package/src/location/types.ts +23 -1
  516. package/src/mcp-read-only-tools.ts +1 -0
  517. package/src/memory-projection-store.ts +3 -1
  518. package/src/okf/cli.ts +18 -5
  519. package/src/okf/config.ts +5 -0
  520. package/src/okf/index-files.test.ts +60 -0
  521. package/src/okf/index-files.ts +114 -0
  522. package/src/okf/render.ts +133 -0
  523. package/src/okf/type-mapping.test.ts +3 -0
  524. package/src/okf/type-mapping.ts +2 -0
  525. package/src/orchestration/extraction-run.ts +2 -1
  526. package/src/orchestration/generic-recall-paths.ts +4 -3
  527. package/src/schemas.ts +17 -1
  528. package/src/standup/access-operations.ts +14 -0
  529. package/src/standup/build.test.ts +34 -0
  530. package/src/standup/build.ts +115 -0
  531. package/src/standup/http-glue.ts +15 -0
  532. package/src/standup/mcp-tools.ts +16 -0
  533. package/src/support-passport/card-projection.ts +1 -0
  534. package/src/support-passport/card-service-commit-forwarding.test.ts +1 -0
  535. package/src/support-passport/card-service.test.ts +75 -1
  536. package/src/support-passport/card-service.ts +6 -3
  537. package/src/support-passport/card-state.ts +5 -1
  538. package/src/support-passport/offline-sync-guard.ts +14 -1
  539. package/src/transfer/export-okf.test.ts +164 -0
  540. package/src/transfer/export-okf.ts +286 -0
  541. package/dist/chunk-2LWQSV6A.js.map +0 -1
  542. package/dist/chunk-3BCULS4U.js.map +0 -1
  543. package/dist/chunk-7BDZTALN.js.map +0 -1
  544. package/dist/chunk-7PHI6GUI.js.map +0 -1
  545. package/dist/chunk-AX7UXCHJ.js.map +0 -1
  546. package/dist/chunk-DEACDKE3.js.map +0 -1
  547. package/dist/chunk-FP7YTTVO.js.map +0 -1
  548. package/dist/chunk-JYSN42VN.js.map +0 -1
  549. package/dist/chunk-KZIF6XHX.js.map +0 -1
  550. package/dist/chunk-LKYIOCWL.js.map +0 -1
  551. package/dist/chunk-OXRRJXPR.js.map +0 -1
  552. package/dist/chunk-U7EW2W4W.js.map +0 -1
  553. package/dist/chunk-UW5NPZJ2.js.map +0 -1
  554. package/dist/chunk-XAB6STPO.js.map +0 -1
  555. package/dist/chunk-XNWXSGHS.js.map +0 -1
  556. package/dist/types-CM86alG1.d.ts +0 -89
  557. /package/dist/{auto-sync-2YPITIWN.js.map → auto-sync-Q6Q2FVSC.js.map} +0 -0
  558. /package/dist/{capsule-merge-SGIVB3WA.js.map → capsule-merge-SEHERWWP.js.map} +0 -0
  559. /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
  560. /package/dist/{chunk-NPFUNWNX.js.map → chunk-23CVL7HS.js.map} +0 -0
  561. /package/dist/{chunk-PO7NXBG2.js.map → chunk-2GF27PGH.js.map} +0 -0
  562. /package/dist/{chunk-MY2BC6UE.js.map → chunk-2LBAFHOQ.js.map} +0 -0
  563. /package/dist/{chunk-AZMLH5UT.js.map → chunk-33MFRY25.js.map} +0 -0
  564. /package/dist/{chunk-UEBDCMOO.js.map → chunk-3TSU662L.js.map} +0 -0
  565. /package/dist/{chunk-CAMNRAJF.js.map → chunk-4FHRZD5T.js.map} +0 -0
  566. /package/dist/{chunk-S5XOSTYM.js.map → chunk-4STAANV7.js.map} +0 -0
  567. /package/dist/{chunk-4F4AQFWL.js.map → chunk-6CEGSTBD.js.map} +0 -0
  568. /package/dist/{chunk-MDD2RINF.js.map → chunk-6RUHELWR.js.map} +0 -0
  569. /package/dist/{chunk-WNXYT4MK.js.map → chunk-72OIT7KS.js.map} +0 -0
  570. /package/dist/{chunk-KQAFEZQX.js.map → chunk-7LCGFUMB.js.map} +0 -0
  571. /package/dist/{chunk-SNOIKAHM.js.map → chunk-7UTDHQZ5.js.map} +0 -0
  572. /package/dist/{chunk-5HK3CJAR.js.map → chunk-7XOG75AU.js.map} +0 -0
  573. /package/dist/{chunk-UPFNQJC7.js.map → chunk-CN4VKV3S.js.map} +0 -0
  574. /package/dist/{chunk-PMVPCZJZ.js.map → chunk-CTCGHNWN.js.map} +0 -0
  575. /package/dist/{chunk-EGBDFJ36.js.map → chunk-DD5JFCWM.js.map} +0 -0
  576. /package/dist/{chunk-XBGHAAKR.js.map → chunk-DDX6KIXF.js.map} +0 -0
  577. /package/dist/{chunk-JIYDRBVZ.js.map → chunk-DJORULH3.js.map} +0 -0
  578. /package/dist/{chunk-UENKPWCS.js.map → chunk-DMEHOEC7.js.map} +0 -0
  579. /package/dist/{chunk-7KQB4EBS.js.map → chunk-DUAJKRR2.js.map} +0 -0
  580. /package/dist/{chunk-SEEJOGQX.js.map → chunk-EFQCDJZ2.js.map} +0 -0
  581. /package/dist/{chunk-Q57GOHLF.js.map → chunk-EGALNSZ4.js.map} +0 -0
  582. /package/dist/{chunk-KCT36JAW.js.map → chunk-ESNFSSO4.js.map} +0 -0
  583. /package/dist/{chunk-XQ3HXAQH.js.map → chunk-ET2CNMLD.js.map} +0 -0
  584. /package/dist/{chunk-PU56CXZA.js.map → chunk-EZSCW4EM.js.map} +0 -0
  585. /package/dist/{chunk-HMZKGHMD.js.map → chunk-FESUGFIL.js.map} +0 -0
  586. /package/dist/{chunk-3A2NJP2U.js.map → chunk-FKKGCGYL.js.map} +0 -0
  587. /package/dist/{chunk-BWGCOLEL.js.map → chunk-FTTJRVB7.js.map} +0 -0
  588. /package/dist/{chunk-ODU2CNNX.js.map → chunk-FYWLSFFS.js.map} +0 -0
  589. /package/dist/{chunk-3PKAS6VL.js.map → chunk-GX6FTSYH.js.map} +0 -0
  590. /package/dist/{chunk-76DIF5KT.js.map → chunk-H7VDIF2V.js.map} +0 -0
  591. /package/dist/{chunk-F7XUD3PL.js.map → chunk-HJXA6ZM7.js.map} +0 -0
  592. /package/dist/{chunk-4QEYREAV.js.map → chunk-HNPE66LB.js.map} +0 -0
  593. /package/dist/{chunk-P36Z4JRA.js.map → chunk-I5VB44ZK.js.map} +0 -0
  594. /package/dist/{chunk-EUYWQ7TS.js.map → chunk-IEZ6CGTW.js.map} +0 -0
  595. /package/dist/{chunk-5DHKCO52.js.map → chunk-IVIAHQBR.js.map} +0 -0
  596. /package/dist/{chunk-TFR3HG4K.js.map → chunk-J3OND5QT.js.map} +0 -0
  597. /package/dist/{chunk-5ACCD4L7.js.map → chunk-JRRQ747T.js.map} +0 -0
  598. /package/dist/{chunk-V4IDF3EZ.js.map → chunk-JTWZKNUH.js.map} +0 -0
  599. /package/dist/{chunk-5RWZH6PH.js.map → chunk-L4X4PJYK.js.map} +0 -0
  600. /package/dist/{chunk-UTQUEHC7.js.map → chunk-LUDBXTBJ.js.map} +0 -0
  601. /package/dist/{chunk-LDKPDODJ.js.map → chunk-ME35HVDJ.js.map} +0 -0
  602. /package/dist/{chunk-DPCXDG7G.js.map → chunk-MJRGVXPQ.js.map} +0 -0
  603. /package/dist/{chunk-773TRRGT.js.map → chunk-MJUCDM3C.js.map} +0 -0
  604. /package/dist/{chunk-T6ILXUAH.js.map → chunk-MN5NOOI7.js.map} +0 -0
  605. /package/dist/{chunk-AHPIFKNG.js.map → chunk-N4F7ZSSG.js.map} +0 -0
  606. /package/dist/{chunk-JOZUBF4A.js.map → chunk-NACLNNFQ.js.map} +0 -0
  607. /package/dist/{chunk-LC2BDILZ.js.map → chunk-NBP4EX5N.js.map} +0 -0
  608. /package/dist/{chunk-ZVPVTPGI.js.map → chunk-NNZFPYYX.js.map} +0 -0
  609. /package/dist/{chunk-DA7ITC5Z.js.map → chunk-O57GM3FR.js.map} +0 -0
  610. /package/dist/{chunk-7VZFRUQU.js.map → chunk-O7ERGZDA.js.map} +0 -0
  611. /package/dist/{chunk-3SZD4CYO.js.map → chunk-OAJMQKQR.js.map} +0 -0
  612. /package/dist/{chunk-HSZMX3ZJ.js.map → chunk-ODW5GDFE.js.map} +0 -0
  613. /package/dist/{chunk-J2WC5LF4.js.map → chunk-QBC33MPY.js.map} +0 -0
  614. /package/dist/{chunk-T7XP6IZE.js.map → chunk-QCRJMU5V.js.map} +0 -0
  615. /package/dist/{chunk-OA2O2GJ4.js.map → chunk-RZ3IZIJG.js.map} +0 -0
  616. /package/dist/{chunk-UL4MKZHI.js.map → chunk-SN4JXNLL.js.map} +0 -0
  617. /package/dist/{chunk-CPA5NBHN.js.map → chunk-TNGH4ZYI.js.map} +0 -0
  618. /package/dist/{chunk-F3NVYTTA.js.map → chunk-TNXNECAN.js.map} +0 -0
  619. /package/dist/{chunk-BEC4YBNA.js.map → chunk-TVW4C7PV.js.map} +0 -0
  620. /package/dist/{chunk-UFKPQBXH.js.map → chunk-U62OK7BB.js.map} +0 -0
  621. /package/dist/{chunk-TUHBYJXL.js.map → chunk-VQ4AMTGZ.js.map} +0 -0
  622. /package/dist/{chunk-H2YSH3DG.js.map → chunk-WKAXBXVA.js.map} +0 -0
  623. /package/dist/{chunk-HRHO3ZNG.js.map → chunk-WKJFIMVN.js.map} +0 -0
  624. /package/dist/{chunk-SXIMQLGV.js.map → chunk-WVGXCBOC.js.map} +0 -0
  625. /package/dist/{chunk-CRML27CO.js.map → chunk-X5YYSAZX.js.map} +0 -0
  626. /package/dist/{chunk-FZEEWOI2.js.map → chunk-XJJYSX6F.js.map} +0 -0
  627. /package/dist/{chunk-UG6VXIOK.js.map → chunk-XSTNGNJP.js.map} +0 -0
  628. /package/dist/{chunk-YDPAE2RD.js.map → chunk-YFLLGRXO.js.map} +0 -0
  629. /package/dist/{chunk-LPNCR4QK.js.map → chunk-YXFCALVT.js.map} +0 -0
  630. /package/dist/{chunk-Q4WONDMJ.js.map → chunk-YYGZJPOK.js.map} +0 -0
  631. /package/dist/{chunk-GTO56JY5.js.map → chunk-ZJPM7GZ3.js.map} +0 -0
  632. /package/dist/{chunk-LOXHYCVS.js.map → chunk-ZW4VXELZ.js.map} +0 -0
  633. /package/dist/{contradiction-scan-AKUWPX5N.js.map → contradiction-scan-NOYMFG66.js.map} +0 -0
  634. /package/dist/{first-start-migration-4NETATFF.js.map → first-start-migration-KHIMCBIC.js.map} +0 -0
  635. /package/dist/{purge-GB7PZHT2.js.map → purge-OP6BEDFY.js.map} +0 -0
  636. /package/dist/{resolution-XWBPKYFB.js.map → resolution-4DLI3IOR.js.map} +0 -0
  637. /package/dist/{tier-stats-4B5IJ3NE.js.map → tier-stats-2TOW3QNL.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
7
7
  importance: z.ZodNumber;
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
+ source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
10
11
  confidence: number;
11
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
12
+ lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
12
13
  importance: number;
13
- lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
14
14
  }, {
15
+ source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
15
16
  confidence: number;
16
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
17
+ lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
17
18
  importance: number;
18
- lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
@@ -64,10 +64,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  value: string;
67
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
67
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
68
68
  }, {
69
69
  value: string;
70
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
70
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
71
71
  }>, "many">>>;
72
72
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
73
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -113,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
113
113
  order: z.ZodNumber;
114
114
  description: z.ZodString;
115
115
  }, "strip", z.ZodTypeAny, {
116
- description: string;
117
116
  order: number;
118
- }, {
119
117
  description: string;
118
+ }, {
120
119
  order: number;
120
+ description: string;
121
121
  }>, "many">;
122
122
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
123
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
125
125
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
126
  }, "strip", z.ZodTypeAny, {
127
127
  steps: {
128
- description: string;
129
128
  order: number;
129
+ description: string;
130
130
  }[];
131
131
  finalAnswer?: string | null | undefined;
132
132
  final_answer?: string | null | undefined;
@@ -134,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
134
134
  observed_outcome?: string | null | undefined;
135
135
  }, {
136
136
  steps: {
137
- description: string;
138
137
  order: number;
138
+ description: string;
139
139
  }[];
140
140
  finalAnswer?: string | null | undefined;
141
141
  final_answer?: string | null | undefined;
@@ -143,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
143
143
  observed_outcome?: string | null | undefined;
144
144
  }>, {
145
145
  steps: {
146
- description: string;
147
146
  order: number;
147
+ description: string;
148
148
  }[];
149
149
  finalAnswer?: string | null | undefined;
150
150
  final_answer?: string | null | undefined;
@@ -152,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
152
  observed_outcome?: string | null | undefined;
153
153
  }, {
154
154
  steps: {
155
- description: string;
156
155
  order: number;
156
+ description: string;
157
157
  }[];
158
158
  finalAnswer?: string | null | undefined;
159
159
  final_answer?: string | null | undefined;
@@ -163,17 +163,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
163
163
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
164
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
165
  }, "strip", z.ZodTypeAny, {
166
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
167
166
  content: string;
168
- confidence: number;
169
167
  tags: string[];
168
+ confidence: number;
169
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
170
+ scope?: "project" | "global" | null | undefined;
171
+ subject?: "user" | "agent" | null | undefined;
170
172
  entityRef?: string | null | undefined;
171
173
  structuredAttributes?: Record<string, string> | null | undefined;
172
- subject?: "user" | "agent" | null | undefined;
173
- scope?: "project" | "global" | null | undefined;
174
174
  cueAnchors?: {
175
175
  value: string;
176
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
176
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
177
177
  }[] | null | undefined;
178
178
  promptedByQuestion?: string | null | undefined;
179
179
  quote?: string | null | undefined;
@@ -189,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
189
189
  }[] | null | undefined;
190
190
  reasoningTrace?: {
191
191
  steps: {
192
- description: string;
193
192
  order: number;
193
+ description: string;
194
194
  }[];
195
195
  finalAnswer?: string | null | undefined;
196
196
  final_answer?: string | null | undefined;
@@ -200,17 +200,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
200
200
  eventTime?: string | null | undefined;
201
201
  event_time?: string | null | undefined;
202
202
  }, {
203
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
204
203
  content: string;
205
- confidence: number;
206
204
  tags: string[];
205
+ confidence: number;
206
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
207
+ scope?: "project" | "global" | null | undefined;
208
+ subject?: "user" | "agent" | null | undefined;
207
209
  entityRef?: string | null | undefined;
208
210
  structuredAttributes?: Record<string, string> | null | undefined;
209
- subject?: "user" | "agent" | null | undefined;
210
- scope?: "project" | "global" | null | undefined;
211
211
  cueAnchors?: {
212
212
  value: string;
213
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
213
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
214
214
  }[] | null | undefined;
215
215
  promptedByQuestion?: string | null | undefined;
216
216
  quote?: string | null | undefined;
@@ -226,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
226
226
  }[] | null | undefined;
227
227
  reasoningTrace?: {
228
228
  steps: {
229
- description: string;
230
229
  order: number;
230
+ description: string;
231
231
  }[];
232
232
  finalAnswer?: string | null | undefined;
233
233
  final_answer?: string | null | undefined;
@@ -237,17 +237,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
237
237
  eventTime?: string | null | undefined;
238
238
  event_time?: string | null | undefined;
239
239
  }>, {
240
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
241
240
  content: string;
242
- confidence: number;
243
241
  tags: string[];
242
+ confidence: number;
243
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
244
+ scope?: "project" | "global" | null | undefined;
245
+ subject?: "user" | "agent" | null | undefined;
244
246
  entityRef?: string | null | undefined;
245
247
  structuredAttributes?: Record<string, string> | null | undefined;
246
- subject?: "user" | "agent" | null | undefined;
247
- scope?: "project" | "global" | null | undefined;
248
248
  cueAnchors?: {
249
249
  value: string;
250
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
250
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
251
251
  }[] | null | undefined;
252
252
  promptedByQuestion?: string | null | undefined;
253
253
  quote?: string | null | undefined;
@@ -263,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
263
263
  }[] | null | undefined;
264
264
  reasoningTrace?: {
265
265
  steps: {
266
- description: string;
267
266
  order: number;
267
+ description: string;
268
268
  }[];
269
269
  finalAnswer?: string | null | undefined;
270
270
  final_answer?: string | null | undefined;
@@ -274,17 +274,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
274
274
  eventTime?: string | null | undefined;
275
275
  event_time?: string | null | undefined;
276
276
  }, {
277
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
278
277
  content: string;
279
- confidence: number;
280
278
  tags: string[];
279
+ confidence: number;
280
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
281
+ scope?: "project" | "global" | null | undefined;
282
+ subject?: "user" | "agent" | null | undefined;
281
283
  entityRef?: string | null | undefined;
282
284
  structuredAttributes?: Record<string, string> | null | undefined;
283
- subject?: "user" | "agent" | null | undefined;
284
- scope?: "project" | "global" | null | undefined;
285
285
  cueAnchors?: {
286
286
  value: string;
287
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
287
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
288
288
  }[] | null | undefined;
289
289
  promptedByQuestion?: string | null | undefined;
290
290
  quote?: string | null | undefined;
@@ -300,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
300
300
  }[] | null | undefined;
301
301
  reasoningTrace?: {
302
302
  steps: {
303
- description: string;
304
303
  order: number;
304
+ description: string;
305
305
  }[];
306
306
  finalAnswer?: string | null | undefined;
307
307
  final_answer?: string | null | undefined;
@@ -396,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
396
396
  label: z.ZodString;
397
397
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
398
398
  }, "strip", z.ZodTypeAny, {
399
- label: string;
400
399
  source: string;
400
+ label: string;
401
401
  target: string;
402
402
  promptedByQuestion?: string | null | undefined;
403
403
  }, {
404
- label: string;
405
404
  source: string;
405
+ label: string;
406
406
  target: string;
407
407
  promptedByQuestion?: string | null | undefined;
408
408
  }>;
@@ -418,10 +418,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
418
418
  value: z.ZodString;
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  value: string;
421
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
421
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
422
422
  }, {
423
423
  value: string;
424
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
424
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
425
425
  }>, "many">>>;
426
426
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
427
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -467,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
467
467
  order: z.ZodNumber;
468
468
  description: z.ZodString;
469
469
  }, "strip", z.ZodTypeAny, {
470
- description: string;
471
470
  order: number;
472
- }, {
473
471
  description: string;
472
+ }, {
474
473
  order: number;
474
+ description: string;
475
475
  }>, "many">;
476
476
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
477
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -479,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
479
479
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
480
480
  }, "strip", z.ZodTypeAny, {
481
481
  steps: {
482
- description: string;
483
482
  order: number;
483
+ description: string;
484
484
  }[];
485
485
  finalAnswer?: string | null | undefined;
486
486
  final_answer?: string | null | undefined;
@@ -488,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
488
488
  observed_outcome?: string | null | undefined;
489
489
  }, {
490
490
  steps: {
491
- description: string;
492
491
  order: number;
492
+ description: string;
493
493
  }[];
494
494
  finalAnswer?: string | null | undefined;
495
495
  final_answer?: string | null | undefined;
@@ -497,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
497
497
  observed_outcome?: string | null | undefined;
498
498
  }>, {
499
499
  steps: {
500
- description: string;
501
500
  order: number;
501
+ description: string;
502
502
  }[];
503
503
  finalAnswer?: string | null | undefined;
504
504
  final_answer?: string | null | undefined;
@@ -506,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
506
506
  observed_outcome?: string | null | undefined;
507
507
  }, {
508
508
  steps: {
509
- description: string;
510
509
  order: number;
510
+ description: string;
511
511
  }[];
512
512
  finalAnswer?: string | null | undefined;
513
513
  final_answer?: string | null | undefined;
@@ -517,17 +517,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
517
517
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
518
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
519
  }, "strip", z.ZodTypeAny, {
520
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
521
520
  content: string;
522
- confidence: number;
523
521
  tags: string[];
522
+ confidence: number;
523
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
524
+ scope?: "project" | "global" | null | undefined;
525
+ subject?: "user" | "agent" | null | undefined;
524
526
  entityRef?: string | null | undefined;
525
527
  structuredAttributes?: Record<string, string> | null | undefined;
526
- subject?: "user" | "agent" | null | undefined;
527
- scope?: "project" | "global" | null | undefined;
528
528
  cueAnchors?: {
529
529
  value: string;
530
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
530
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
531
531
  }[] | null | undefined;
532
532
  promptedByQuestion?: string | null | undefined;
533
533
  quote?: string | null | undefined;
@@ -543,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
543
543
  }[] | null | undefined;
544
544
  reasoningTrace?: {
545
545
  steps: {
546
- description: string;
547
546
  order: number;
547
+ description: string;
548
548
  }[];
549
549
  finalAnswer?: string | null | undefined;
550
550
  final_answer?: string | null | undefined;
@@ -554,17 +554,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
554
554
  eventTime?: string | null | undefined;
555
555
  event_time?: string | null | undefined;
556
556
  }, {
557
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
558
557
  content: string;
559
- confidence: number;
560
558
  tags: string[];
559
+ confidence: number;
560
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
561
+ scope?: "project" | "global" | null | undefined;
562
+ subject?: "user" | "agent" | null | undefined;
561
563
  entityRef?: string | null | undefined;
562
564
  structuredAttributes?: Record<string, string> | null | undefined;
563
- subject?: "user" | "agent" | null | undefined;
564
- scope?: "project" | "global" | null | undefined;
565
565
  cueAnchors?: {
566
566
  value: string;
567
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
567
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
568
568
  }[] | null | undefined;
569
569
  promptedByQuestion?: string | null | undefined;
570
570
  quote?: string | null | undefined;
@@ -580,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
580
580
  }[] | null | undefined;
581
581
  reasoningTrace?: {
582
582
  steps: {
583
- description: string;
584
583
  order: number;
584
+ description: string;
585
585
  }[];
586
586
  finalAnswer?: string | null | undefined;
587
587
  final_answer?: string | null | undefined;
@@ -591,17 +591,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
591
591
  eventTime?: string | null | undefined;
592
592
  event_time?: string | null | undefined;
593
593
  }>, {
594
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
595
594
  content: string;
596
- confidence: number;
597
595
  tags: string[];
596
+ confidence: number;
597
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
598
+ scope?: "project" | "global" | null | undefined;
599
+ subject?: "user" | "agent" | null | undefined;
598
600
  entityRef?: string | null | undefined;
599
601
  structuredAttributes?: Record<string, string> | null | undefined;
600
- subject?: "user" | "agent" | null | undefined;
601
- scope?: "project" | "global" | null | undefined;
602
602
  cueAnchors?: {
603
603
  value: string;
604
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
604
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
605
605
  }[] | null | undefined;
606
606
  promptedByQuestion?: string | null | undefined;
607
607
  quote?: string | null | undefined;
@@ -617,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
617
617
  }[] | null | undefined;
618
618
  reasoningTrace?: {
619
619
  steps: {
620
- description: string;
621
620
  order: number;
621
+ description: string;
622
622
  }[];
623
623
  finalAnswer?: string | null | undefined;
624
624
  final_answer?: string | null | undefined;
@@ -628,17 +628,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
628
628
  eventTime?: string | null | undefined;
629
629
  event_time?: string | null | undefined;
630
630
  }, {
631
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
632
631
  content: string;
633
- confidence: number;
634
632
  tags: string[];
633
+ confidence: number;
634
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
635
+ scope?: "project" | "global" | null | undefined;
636
+ subject?: "user" | "agent" | null | undefined;
635
637
  entityRef?: string | null | undefined;
636
638
  structuredAttributes?: Record<string, string> | null | undefined;
637
- subject?: "user" | "agent" | null | undefined;
638
- scope?: "project" | "global" | null | undefined;
639
639
  cueAnchors?: {
640
640
  value: string;
641
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
641
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
642
642
  }[] | null | undefined;
643
643
  promptedByQuestion?: string | null | undefined;
644
644
  quote?: string | null | undefined;
@@ -654,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
654
654
  }[] | null | undefined;
655
655
  reasoningTrace?: {
656
656
  steps: {
657
- description: string;
658
657
  order: number;
658
+ description: string;
659
659
  }[];
660
660
  finalAnswer?: string | null | undefined;
661
661
  final_answer?: string | null | undefined;
@@ -711,29 +711,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
711
711
  label: z.ZodString;
712
712
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
713
713
  }, "strip", z.ZodTypeAny, {
714
- label: string;
715
714
  source: string;
715
+ label: string;
716
716
  target: string;
717
717
  promptedByQuestion?: string | null | undefined;
718
718
  }, {
719
- label: string;
720
719
  source: string;
720
+ label: string;
721
721
  target: string;
722
722
  promptedByQuestion?: string | null | undefined;
723
723
  }>, "many">>>;
724
724
  }, "strip", z.ZodTypeAny, {
725
725
  facts: {
726
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
727
726
  content: string;
728
- confidence: number;
729
727
  tags: string[];
728
+ confidence: number;
729
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
730
+ scope?: "project" | "global" | null | undefined;
731
+ subject?: "user" | "agent" | null | undefined;
730
732
  entityRef?: string | null | undefined;
731
733
  structuredAttributes?: Record<string, string> | null | undefined;
732
- subject?: "user" | "agent" | null | undefined;
733
- scope?: "project" | "global" | null | undefined;
734
734
  cueAnchors?: {
735
735
  value: string;
736
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
736
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
737
737
  }[] | null | undefined;
738
738
  promptedByQuestion?: string | null | undefined;
739
739
  quote?: string | null | undefined;
@@ -749,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
749
749
  }[] | null | undefined;
750
750
  reasoningTrace?: {
751
751
  steps: {
752
- description: string;
753
752
  order: number;
753
+ description: string;
754
754
  }[];
755
755
  finalAnswer?: string | null | undefined;
756
756
  final_answer?: string | null | undefined;
@@ -773,24 +773,24 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
773
773
  }[];
774
774
  profileUpdates: string[];
775
775
  relationships?: {
776
- label: string;
777
776
  source: string;
777
+ label: string;
778
778
  target: string;
779
779
  promptedByQuestion?: string | null | undefined;
780
780
  }[] | null | undefined;
781
781
  }, {
782
782
  facts: {
783
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
784
783
  content: string;
785
- confidence: number;
786
784
  tags: string[];
785
+ confidence: number;
786
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
787
+ scope?: "project" | "global" | null | undefined;
788
+ subject?: "user" | "agent" | null | undefined;
787
789
  entityRef?: string | null | undefined;
788
790
  structuredAttributes?: Record<string, string> | null | undefined;
789
- subject?: "user" | "agent" | null | undefined;
790
- scope?: "project" | "global" | null | undefined;
791
791
  cueAnchors?: {
792
792
  value: string;
793
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
793
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
794
794
  }[] | null | undefined;
795
795
  promptedByQuestion?: string | null | undefined;
796
796
  quote?: string | null | undefined;
@@ -806,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
806
806
  }[] | null | undefined;
807
807
  reasoningTrace?: {
808
808
  steps: {
809
- description: string;
810
809
  order: number;
810
+ description: string;
811
811
  }[];
812
812
  finalAnswer?: string | null | undefined;
813
813
  final_answer?: string | null | undefined;
@@ -830,25 +830,25 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
830
830
  }[];
831
831
  profileUpdates: string[];
832
832
  relationships?: {
833
- label: string;
834
833
  source: string;
834
+ label: string;
835
835
  target: string;
836
836
  promptedByQuestion?: string | null | undefined;
837
837
  }[] | null | undefined;
838
838
  }>;
839
839
  declare const ExtractionResultSchema: z.ZodObject<{
840
840
  facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
841
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
842
841
  content: string;
843
- confidence: number;
844
842
  tags: string[];
843
+ confidence: number;
844
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
845
+ scope?: "project" | "global" | null | undefined;
846
+ subject?: "user" | "agent" | null | undefined;
845
847
  entityRef?: string | null | undefined;
846
848
  structuredAttributes?: Record<string, string> | null | undefined;
847
- subject?: "user" | "agent" | null | undefined;
848
- scope?: "project" | "global" | null | undefined;
849
849
  cueAnchors?: {
850
850
  value: string;
851
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
851
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
852
852
  }[] | null | undefined;
853
853
  promptedByQuestion?: string | null | undefined;
854
854
  quote?: string | null | undefined;
@@ -864,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
864
864
  }[] | null | undefined;
865
865
  reasoningTrace?: {
866
866
  steps: {
867
- description: string;
868
867
  order: number;
868
+ description: string;
869
869
  }[];
870
870
  finalAnswer?: string | null | undefined;
871
871
  final_answer?: string | null | undefined;
@@ -895,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
895
895
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
896
896
  episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
897
897
  relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
898
- label: string;
899
898
  source: string;
899
+ label: string;
900
900
  target: string;
901
901
  promptedByQuestion?: string | null | undefined;
902
902
  }[], unknown[]>>>;
@@ -907,17 +907,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
907
907
  context: string;
908
908
  }[];
909
909
  facts: {
910
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
911
910
  content: string;
912
- confidence: number;
913
911
  tags: string[];
912
+ confidence: number;
913
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
914
+ scope?: "project" | "global" | null | undefined;
915
+ subject?: "user" | "agent" | null | undefined;
914
916
  entityRef?: string | null | undefined;
915
917
  structuredAttributes?: Record<string, string> | null | undefined;
916
- subject?: "user" | "agent" | null | undefined;
917
- scope?: "project" | "global" | null | undefined;
918
918
  cueAnchors?: {
919
919
  value: string;
920
- type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
920
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
921
921
  }[] | null | undefined;
922
922
  promptedByQuestion?: string | null | undefined;
923
923
  quote?: string | null | undefined;
@@ -933,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
933
933
  }[] | null | undefined;
934
934
  reasoningTrace?: {
935
935
  steps: {
936
- description: string;
937
936
  order: number;
937
+ description: string;
938
938
  }[];
939
939
  finalAnswer?: string | null | undefined;
940
940
  final_answer?: string | null | undefined;
@@ -957,8 +957,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
957
957
  }[];
958
958
  profileUpdates: string[];
959
959
  relationships?: {
960
- label: string;
961
960
  source: string;
961
+ label: string;
962
962
  target: string;
963
963
  promptedByQuestion?: string | null | undefined;
964
964
  }[] | null | undefined;
@@ -973,89 +973,554 @@ declare const ExtractionResultSchema: z.ZodObject<{
973
973
  identityReflection?: string | null | undefined;
974
974
  episodeTitle?: string | null | undefined;
975
975
  }>;
976
- declare const ConsolidationItemSchema: z.ZodObject<{
977
- existingId: z.ZodString;
978
- action: z.ZodEnum<["ADD", "MERGE", "UPDATE", "INVALIDATE", "SKIP"]>;
979
- mergeWith: z.ZodNullable<z.ZodOptional<z.ZodString>>;
980
- updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
981
- reason: z.ZodString;
982
- }, "strip", z.ZodTypeAny, {
983
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
984
- reason: string;
985
- existingId: string;
986
- mergeWith?: string | null | undefined;
987
- updatedContent?: string | null | undefined;
988
- }, {
989
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
990
- reason: string;
991
- existingId: string;
992
- mergeWith?: string | null | undefined;
993
- updatedContent?: string | null | undefined;
994
- }>;
995
- declare const ConsolidationResultSchema: z.ZodObject<{
996
- items: z.ZodArray<z.ZodObject<{
997
- existingId: z.ZodString;
998
- action: z.ZodEnum<["ADD", "MERGE", "UPDATE", "INVALIDATE", "SKIP"]>;
999
- mergeWith: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
- updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1001
- reason: z.ZodString;
1002
- }, "strip", z.ZodTypeAny, {
1003
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1004
- reason: string;
1005
- existingId: string;
1006
- mergeWith?: string | null | undefined;
1007
- updatedContent?: string | null | undefined;
1008
- }, {
1009
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1010
- reason: string;
1011
- existingId: string;
1012
- mergeWith?: string | null | undefined;
1013
- updatedContent?: string | null | undefined;
1014
- }>, "many">;
1015
- profileUpdates: z.ZodArray<z.ZodString, "many">;
1016
- entityUpdates: z.ZodArray<z.ZodObject<{
1017
- name: z.ZodString;
1018
- type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
1019
- facts: z.ZodArray<z.ZodString, "many">;
976
+ /**
977
+ * Provider-facing extraction contract. Keep this free of transforms/refinements:
978
+ * JSON Schema generators cannot faithfully represent salvageArray's ZodEffects.
979
+ * ExtractionResultSchema remains the authoritative tolerant parser after the
980
+ * provider returns.
981
+ */
982
+ declare const ExtractionProviderOutputSchema: z.ZodObject<{
983
+ facts: z.ZodArray<z.ZodEffects<z.ZodObject<{
984
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure", "reasoning_trace"]>;
985
+ content: z.ZodString;
986
+ confidence: z.ZodNumber;
987
+ tags: z.ZodArray<z.ZodString, "many">;
988
+ entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
989
+ cueAnchors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
990
+ type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
991
+ value: z.ZodString;
992
+ }, "strip", z.ZodTypeAny, {
993
+ value: string;
994
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
995
+ }, {
996
+ value: string;
997
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
998
+ }>, "many">>>;
1020
999
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1021
- structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1022
- key: z.ZodString;
1023
- title: z.ZodString;
1024
- facts: z.ZodArray<z.ZodString, "many">;
1000
+ scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
1001
+ subject: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "agent"]>>>;
1002
+ quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1003
+ structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
1004
+ procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1005
+ order: z.ZodNumber;
1006
+ intent: z.ZodString;
1007
+ toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1008
+ kind: z.ZodString;
1009
+ signature: z.ZodString;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ kind: string;
1012
+ signature: string;
1013
+ }, {
1014
+ kind: string;
1015
+ signature: string;
1016
+ }>>>;
1017
+ expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1018
+ optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1025
1019
  }, "strip", z.ZodTypeAny, {
1026
- key: string;
1027
- title: string;
1028
- facts: string[];
1020
+ intent: string;
1021
+ order: number;
1022
+ toolCall?: {
1023
+ kind: string;
1024
+ signature: string;
1025
+ } | null | undefined;
1026
+ expectedOutcome?: string | null | undefined;
1027
+ optional?: boolean | null | undefined;
1029
1028
  }, {
1030
- key: string;
1031
- title: string;
1032
- facts: string[];
1029
+ intent: string;
1030
+ order: number;
1031
+ toolCall?: {
1032
+ kind: string;
1033
+ signature: string;
1034
+ } | null | undefined;
1035
+ expectedOutcome?: string | null | undefined;
1036
+ optional?: boolean | null | undefined;
1033
1037
  }>, "many">>>;
1034
- }, "strip", z.ZodTypeAny, {
1035
- name: string;
1036
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1037
- facts: string[];
1038
- promptedByQuestion?: string | null | undefined;
1039
- structuredSections?: {
1040
- key: string;
1041
- title: string;
1042
- facts: string[];
1043
- }[] | null | undefined;
1044
- }, {
1045
- name: string;
1046
- type: "project" | "other" | "tool" | "person" | "company" | "place";
1047
- facts: string[];
1048
- promptedByQuestion?: string | null | undefined;
1049
- structuredSections?: {
1050
- key: string;
1038
+ reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
1039
+ steps: z.ZodArray<z.ZodObject<{
1040
+ order: z.ZodNumber;
1041
+ description: z.ZodString;
1042
+ }, "strip", z.ZodTypeAny, {
1043
+ order: number;
1044
+ description: string;
1045
+ }, {
1046
+ order: number;
1047
+ description: string;
1048
+ }>, "many">;
1049
+ finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1050
+ final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1051
+ observedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1052
+ observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ steps: {
1055
+ order: number;
1056
+ description: string;
1057
+ }[];
1058
+ finalAnswer?: string | null | undefined;
1059
+ final_answer?: string | null | undefined;
1060
+ observedOutcome?: string | null | undefined;
1061
+ observed_outcome?: string | null | undefined;
1062
+ }, {
1063
+ steps: {
1064
+ order: number;
1065
+ description: string;
1066
+ }[];
1067
+ finalAnswer?: string | null | undefined;
1068
+ final_answer?: string | null | undefined;
1069
+ observedOutcome?: string | null | undefined;
1070
+ observed_outcome?: string | null | undefined;
1071
+ }>, {
1072
+ steps: {
1073
+ order: number;
1074
+ description: string;
1075
+ }[];
1076
+ finalAnswer?: string | null | undefined;
1077
+ final_answer?: string | null | undefined;
1078
+ observedOutcome?: string | null | undefined;
1079
+ observed_outcome?: string | null | undefined;
1080
+ }, {
1081
+ steps: {
1082
+ order: number;
1083
+ description: string;
1084
+ }[];
1085
+ finalAnswer?: string | null | undefined;
1086
+ final_answer?: string | null | undefined;
1087
+ observedOutcome?: string | null | undefined;
1088
+ observed_outcome?: string | null | undefined;
1089
+ }>>>;
1090
+ eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1091
+ event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ content: string;
1094
+ tags: string[];
1095
+ confidence: number;
1096
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1097
+ scope?: "project" | "global" | null | undefined;
1098
+ subject?: "user" | "agent" | null | undefined;
1099
+ entityRef?: string | null | undefined;
1100
+ structuredAttributes?: Record<string, string> | null | undefined;
1101
+ cueAnchors?: {
1102
+ value: string;
1103
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
1104
+ }[] | null | undefined;
1105
+ promptedByQuestion?: string | null | undefined;
1106
+ quote?: string | null | undefined;
1107
+ procedureSteps?: {
1108
+ intent: string;
1109
+ order: number;
1110
+ toolCall?: {
1111
+ kind: string;
1112
+ signature: string;
1113
+ } | null | undefined;
1114
+ expectedOutcome?: string | null | undefined;
1115
+ optional?: boolean | null | undefined;
1116
+ }[] | null | undefined;
1117
+ reasoningTrace?: {
1118
+ steps: {
1119
+ order: number;
1120
+ description: string;
1121
+ }[];
1122
+ finalAnswer?: string | null | undefined;
1123
+ final_answer?: string | null | undefined;
1124
+ observedOutcome?: string | null | undefined;
1125
+ observed_outcome?: string | null | undefined;
1126
+ } | null | undefined;
1127
+ eventTime?: string | null | undefined;
1128
+ event_time?: string | null | undefined;
1129
+ }, {
1130
+ content: string;
1131
+ tags: string[];
1132
+ confidence: number;
1133
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1134
+ scope?: "project" | "global" | null | undefined;
1135
+ subject?: "user" | "agent" | null | undefined;
1136
+ entityRef?: string | null | undefined;
1137
+ structuredAttributes?: Record<string, string> | null | undefined;
1138
+ cueAnchors?: {
1139
+ value: string;
1140
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
1141
+ }[] | null | undefined;
1142
+ promptedByQuestion?: string | null | undefined;
1143
+ quote?: string | null | undefined;
1144
+ procedureSteps?: {
1145
+ intent: string;
1146
+ order: number;
1147
+ toolCall?: {
1148
+ kind: string;
1149
+ signature: string;
1150
+ } | null | undefined;
1151
+ expectedOutcome?: string | null | undefined;
1152
+ optional?: boolean | null | undefined;
1153
+ }[] | null | undefined;
1154
+ reasoningTrace?: {
1155
+ steps: {
1156
+ order: number;
1157
+ description: string;
1158
+ }[];
1159
+ finalAnswer?: string | null | undefined;
1160
+ final_answer?: string | null | undefined;
1161
+ observedOutcome?: string | null | undefined;
1162
+ observed_outcome?: string | null | undefined;
1163
+ } | null | undefined;
1164
+ eventTime?: string | null | undefined;
1165
+ event_time?: string | null | undefined;
1166
+ }>, {
1167
+ content: string;
1168
+ tags: string[];
1169
+ confidence: number;
1170
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1171
+ scope?: "project" | "global" | null | undefined;
1172
+ subject?: "user" | "agent" | null | undefined;
1173
+ entityRef?: string | null | undefined;
1174
+ structuredAttributes?: Record<string, string> | null | undefined;
1175
+ cueAnchors?: {
1176
+ value: string;
1177
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
1178
+ }[] | null | undefined;
1179
+ promptedByQuestion?: string | null | undefined;
1180
+ quote?: string | null | undefined;
1181
+ procedureSteps?: {
1182
+ intent: string;
1183
+ order: number;
1184
+ toolCall?: {
1185
+ kind: string;
1186
+ signature: string;
1187
+ } | null | undefined;
1188
+ expectedOutcome?: string | null | undefined;
1189
+ optional?: boolean | null | undefined;
1190
+ }[] | null | undefined;
1191
+ reasoningTrace?: {
1192
+ steps: {
1193
+ order: number;
1194
+ description: string;
1195
+ }[];
1196
+ finalAnswer?: string | null | undefined;
1197
+ final_answer?: string | null | undefined;
1198
+ observedOutcome?: string | null | undefined;
1199
+ observed_outcome?: string | null | undefined;
1200
+ } | null | undefined;
1201
+ eventTime?: string | null | undefined;
1202
+ event_time?: string | null | undefined;
1203
+ }, {
1204
+ content: string;
1205
+ tags: string[];
1206
+ confidence: number;
1207
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1208
+ scope?: "project" | "global" | null | undefined;
1209
+ subject?: "user" | "agent" | null | undefined;
1210
+ entityRef?: string | null | undefined;
1211
+ structuredAttributes?: Record<string, string> | null | undefined;
1212
+ cueAnchors?: {
1213
+ value: string;
1214
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
1215
+ }[] | null | undefined;
1216
+ promptedByQuestion?: string | null | undefined;
1217
+ quote?: string | null | undefined;
1218
+ procedureSteps?: {
1219
+ intent: string;
1220
+ order: number;
1221
+ toolCall?: {
1222
+ kind: string;
1223
+ signature: string;
1224
+ } | null | undefined;
1225
+ expectedOutcome?: string | null | undefined;
1226
+ optional?: boolean | null | undefined;
1227
+ }[] | null | undefined;
1228
+ reasoningTrace?: {
1229
+ steps: {
1230
+ order: number;
1231
+ description: string;
1232
+ }[];
1233
+ finalAnswer?: string | null | undefined;
1234
+ final_answer?: string | null | undefined;
1235
+ observedOutcome?: string | null | undefined;
1236
+ observed_outcome?: string | null | undefined;
1237
+ } | null | undefined;
1238
+ eventTime?: string | null | undefined;
1239
+ event_time?: string | null | undefined;
1240
+ }>, "many">;
1241
+ profileUpdates: z.ZodArray<z.ZodString, "many">;
1242
+ entities: z.ZodArray<z.ZodObject<{
1243
+ name: z.ZodString;
1244
+ type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
1245
+ facts: z.ZodArray<z.ZodString, "many">;
1246
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1247
+ structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1248
+ key: z.ZodString;
1249
+ title: z.ZodString;
1250
+ facts: z.ZodArray<z.ZodString, "many">;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ key: string;
1253
+ title: string;
1254
+ facts: string[];
1255
+ }, {
1256
+ key: string;
1257
+ title: string;
1258
+ facts: string[];
1259
+ }>, "many">>>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ name: string;
1262
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1263
+ facts: string[];
1264
+ promptedByQuestion?: string | null | undefined;
1265
+ structuredSections?: {
1266
+ key: string;
1267
+ title: string;
1268
+ facts: string[];
1269
+ }[] | null | undefined;
1270
+ }, {
1271
+ name: string;
1272
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1273
+ facts: string[];
1274
+ promptedByQuestion?: string | null | undefined;
1275
+ structuredSections?: {
1276
+ key: string;
1277
+ title: string;
1278
+ facts: string[];
1279
+ }[] | null | undefined;
1280
+ }>, "many">;
1281
+ questions: z.ZodArray<z.ZodObject<{
1282
+ question: z.ZodString;
1283
+ context: z.ZodString;
1284
+ priority: z.ZodNumber;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ question: string;
1287
+ priority: number;
1288
+ context: string;
1289
+ }, {
1290
+ question: string;
1291
+ priority: number;
1292
+ context: string;
1293
+ }>, "many">;
1294
+ identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1295
+ episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1296
+ relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
+ source: z.ZodString;
1298
+ target: z.ZodString;
1299
+ label: z.ZodString;
1300
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ source: string;
1303
+ label: string;
1304
+ target: string;
1305
+ promptedByQuestion?: string | null | undefined;
1306
+ }, {
1307
+ source: string;
1308
+ label: string;
1309
+ target: string;
1310
+ promptedByQuestion?: string | null | undefined;
1311
+ }>, "many">>>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ questions: {
1314
+ question: string;
1315
+ priority: number;
1316
+ context: string;
1317
+ }[];
1318
+ facts: {
1319
+ content: string;
1320
+ tags: string[];
1321
+ confidence: number;
1322
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1323
+ scope?: "project" | "global" | null | undefined;
1324
+ subject?: "user" | "agent" | null | undefined;
1325
+ entityRef?: string | null | undefined;
1326
+ structuredAttributes?: Record<string, string> | null | undefined;
1327
+ cueAnchors?: {
1328
+ value: string;
1329
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
1330
+ }[] | null | undefined;
1331
+ promptedByQuestion?: string | null | undefined;
1332
+ quote?: string | null | undefined;
1333
+ procedureSteps?: {
1334
+ intent: string;
1335
+ order: number;
1336
+ toolCall?: {
1337
+ kind: string;
1338
+ signature: string;
1339
+ } | null | undefined;
1340
+ expectedOutcome?: string | null | undefined;
1341
+ optional?: boolean | null | undefined;
1342
+ }[] | null | undefined;
1343
+ reasoningTrace?: {
1344
+ steps: {
1345
+ order: number;
1346
+ description: string;
1347
+ }[];
1348
+ finalAnswer?: string | null | undefined;
1349
+ final_answer?: string | null | undefined;
1350
+ observedOutcome?: string | null | undefined;
1351
+ observed_outcome?: string | null | undefined;
1352
+ } | null | undefined;
1353
+ eventTime?: string | null | undefined;
1354
+ event_time?: string | null | undefined;
1355
+ }[];
1356
+ entities: {
1357
+ name: string;
1358
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1359
+ facts: string[];
1360
+ promptedByQuestion?: string | null | undefined;
1361
+ structuredSections?: {
1362
+ key: string;
1363
+ title: string;
1364
+ facts: string[];
1365
+ }[] | null | undefined;
1366
+ }[];
1367
+ profileUpdates: string[];
1368
+ relationships?: {
1369
+ source: string;
1370
+ label: string;
1371
+ target: string;
1372
+ promptedByQuestion?: string | null | undefined;
1373
+ }[] | null | undefined;
1374
+ identityReflection?: string | null | undefined;
1375
+ episodeTitle?: string | null | undefined;
1376
+ }, {
1377
+ questions: {
1378
+ question: string;
1379
+ priority: number;
1380
+ context: string;
1381
+ }[];
1382
+ facts: {
1383
+ content: string;
1384
+ tags: string[];
1385
+ confidence: number;
1386
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1387
+ scope?: "project" | "global" | null | undefined;
1388
+ subject?: "user" | "agent" | null | undefined;
1389
+ entityRef?: string | null | undefined;
1390
+ structuredAttributes?: Record<string, string> | null | undefined;
1391
+ cueAnchors?: {
1392
+ value: string;
1393
+ type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
1394
+ }[] | null | undefined;
1395
+ promptedByQuestion?: string | null | undefined;
1396
+ quote?: string | null | undefined;
1397
+ procedureSteps?: {
1398
+ intent: string;
1399
+ order: number;
1400
+ toolCall?: {
1401
+ kind: string;
1402
+ signature: string;
1403
+ } | null | undefined;
1404
+ expectedOutcome?: string | null | undefined;
1405
+ optional?: boolean | null | undefined;
1406
+ }[] | null | undefined;
1407
+ reasoningTrace?: {
1408
+ steps: {
1409
+ order: number;
1410
+ description: string;
1411
+ }[];
1412
+ finalAnswer?: string | null | undefined;
1413
+ final_answer?: string | null | undefined;
1414
+ observedOutcome?: string | null | undefined;
1415
+ observed_outcome?: string | null | undefined;
1416
+ } | null | undefined;
1417
+ eventTime?: string | null | undefined;
1418
+ event_time?: string | null | undefined;
1419
+ }[];
1420
+ entities: {
1421
+ name: string;
1422
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1423
+ facts: string[];
1424
+ promptedByQuestion?: string | null | undefined;
1425
+ structuredSections?: {
1426
+ key: string;
1427
+ title: string;
1428
+ facts: string[];
1429
+ }[] | null | undefined;
1430
+ }[];
1431
+ profileUpdates: string[];
1432
+ relationships?: {
1433
+ source: string;
1434
+ label: string;
1435
+ target: string;
1436
+ promptedByQuestion?: string | null | undefined;
1437
+ }[] | null | undefined;
1438
+ identityReflection?: string | null | undefined;
1439
+ episodeTitle?: string | null | undefined;
1440
+ }>;
1441
+ declare const ConsolidationItemSchema: z.ZodObject<{
1442
+ existingId: z.ZodString;
1443
+ action: z.ZodEnum<["ADD", "MERGE", "UPDATE", "INVALIDATE", "SKIP"]>;
1444
+ mergeWith: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1445
+ updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1446
+ reason: z.ZodString;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ reason: string;
1449
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1450
+ existingId: string;
1451
+ mergeWith?: string | null | undefined;
1452
+ updatedContent?: string | null | undefined;
1453
+ }, {
1454
+ reason: string;
1455
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1456
+ existingId: string;
1457
+ mergeWith?: string | null | undefined;
1458
+ updatedContent?: string | null | undefined;
1459
+ }>;
1460
+ declare const ConsolidationResultSchema: z.ZodObject<{
1461
+ items: z.ZodArray<z.ZodObject<{
1462
+ existingId: z.ZodString;
1463
+ action: z.ZodEnum<["ADD", "MERGE", "UPDATE", "INVALIDATE", "SKIP"]>;
1464
+ mergeWith: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1465
+ updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1466
+ reason: z.ZodString;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ reason: string;
1469
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1470
+ existingId: string;
1471
+ mergeWith?: string | null | undefined;
1472
+ updatedContent?: string | null | undefined;
1473
+ }, {
1474
+ reason: string;
1475
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1476
+ existingId: string;
1477
+ mergeWith?: string | null | undefined;
1478
+ updatedContent?: string | null | undefined;
1479
+ }>, "many">;
1480
+ profileUpdates: z.ZodArray<z.ZodString, "many">;
1481
+ entityUpdates: z.ZodArray<z.ZodObject<{
1482
+ name: z.ZodString;
1483
+ type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
1484
+ facts: z.ZodArray<z.ZodString, "many">;
1485
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1486
+ structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1487
+ key: z.ZodString;
1488
+ title: z.ZodString;
1489
+ facts: z.ZodArray<z.ZodString, "many">;
1490
+ }, "strip", z.ZodTypeAny, {
1491
+ key: string;
1492
+ title: string;
1493
+ facts: string[];
1494
+ }, {
1495
+ key: string;
1496
+ title: string;
1497
+ facts: string[];
1498
+ }>, "many">>>;
1499
+ }, "strip", z.ZodTypeAny, {
1500
+ name: string;
1501
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1502
+ facts: string[];
1503
+ promptedByQuestion?: string | null | undefined;
1504
+ structuredSections?: {
1505
+ key: string;
1506
+ title: string;
1507
+ facts: string[];
1508
+ }[] | null | undefined;
1509
+ }, {
1510
+ name: string;
1511
+ type: "project" | "other" | "tool" | "person" | "company" | "place";
1512
+ facts: string[];
1513
+ promptedByQuestion?: string | null | undefined;
1514
+ structuredSections?: {
1515
+ key: string;
1051
1516
  title: string;
1052
1517
  facts: string[];
1053
1518
  }[] | null | undefined;
1054
1519
  }>, "many">;
1055
1520
  }, "strip", z.ZodTypeAny, {
1056
1521
  items: {
1057
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1058
1522
  reason: string;
1523
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1059
1524
  existingId: string;
1060
1525
  mergeWith?: string | null | undefined;
1061
1526
  updatedContent?: string | null | undefined;
@@ -1074,8 +1539,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1074
1539
  }[];
1075
1540
  }, {
1076
1541
  items: {
1077
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1078
1542
  reason: string;
1543
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1079
1544
  existingId: string;
1080
1545
  mergeWith?: string | null | undefined;
1081
1546
  updatedContent?: string | null | undefined;
@@ -1337,4 +1802,4 @@ type ExtractionResultParsed = z.infer<typeof ExtractionResultSchema>;
1337
1802
  type ConsolidationItemParsed = z.infer<typeof ConsolidationItemSchema>;
1338
1803
  type ConsolidationResultParsed = z.infer<typeof ConsolidationResultSchema>;
1339
1804
 
1340
- export { type BehaviorLoopAdjustmentParsed, BehaviorLoopAdjustmentSchema, type BehaviorLoopPolicyStateParsed, BehaviorLoopPolicyStateSchema, type ConsolidationItemParsed, ConsolidationItemSchema, type ConsolidationResultParsed, ConsolidationResultSchema, type ContradictionVerificationResult, ContradictionVerificationSchema, DaySummaryResultSchema, type EntityMentionParsed, EntityMentionSchema, type ExtractedFactParsed, ExtractedFactSchema, type ExtractedQuestionParsed, ExtractedQuestionSchema, ExtractedRelationshipSchema, type ExtractionResultParsed, ExtractionResultSchema, type IdentityConsolidationResultParsed, IdentityConsolidationResultSchema, type MemoryActionEligibilityContextParsed, MemoryActionEligibilityContextSchema, type MemoryActionTypeParsed, MemoryActionTypeSchema, type MemoryLink, MemoryLinkSchema, type MemorySummaryResult, MemorySummarySchema, ProactiveExtractionResultSchema, type ProactiveQuestionsResultParsed, ProactiveQuestionsResultSchema, ProcedureStepExtractSchema, ProfileConsolidationResultSchema, type SuggestedLinks, SuggestedLinksSchema, buildProfileConsolidationResultSchema, parseMemoryActionEligibilityContext, parseMemoryActionType };
1805
+ export { type BehaviorLoopAdjustmentParsed, BehaviorLoopAdjustmentSchema, type BehaviorLoopPolicyStateParsed, BehaviorLoopPolicyStateSchema, type ConsolidationItemParsed, ConsolidationItemSchema, type ConsolidationResultParsed, ConsolidationResultSchema, type ContradictionVerificationResult, ContradictionVerificationSchema, DaySummaryResultSchema, type EntityMentionParsed, EntityMentionSchema, type ExtractedFactParsed, ExtractedFactSchema, type ExtractedQuestionParsed, ExtractedQuestionSchema, ExtractedRelationshipSchema, ExtractionProviderOutputSchema, type ExtractionResultParsed, ExtractionResultSchema, type IdentityConsolidationResultParsed, IdentityConsolidationResultSchema, type MemoryActionEligibilityContextParsed, MemoryActionEligibilityContextSchema, type MemoryActionTypeParsed, MemoryActionTypeSchema, type MemoryLink, MemoryLinkSchema, type MemorySummaryResult, MemorySummarySchema, ProactiveExtractionResultSchema, type ProactiveQuestionsResultParsed, ProactiveQuestionsResultSchema, ProcedureStepExtractSchema, ProfileConsolidationResultSchema, type SuggestedLinks, SuggestedLinksSchema, buildProfileConsolidationResultSchema, parseMemoryActionEligibilityContext, parseMemoryActionType };