@remnic/core 9.69.36 → 9.69.38

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 (690) hide show
  1. package/dist/access-admin-ops-surface.d.ts +14 -12
  2. package/dist/access-admin-ops-surface.js +77 -74
  3. package/dist/access-authorization-probe.d.ts +14 -12
  4. package/dist/access-authorization-probe.js +78 -75
  5. package/dist/access-boundary.d.ts +14 -12
  6. package/dist/access-boundary.js +77 -74
  7. package/dist/access-cli.js +180 -170
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +2 -1
  10. package/dist/access-extraction-force-flush.d.ts +14 -12
  11. package/dist/access-extraction-force-flush.js +77 -74
  12. package/dist/access-health-types.d.ts +2 -1
  13. package/dist/access-http-briefing.d.ts +14 -12
  14. package/dist/access-http-briefing.js +78 -75
  15. package/dist/access-http-lcm-compaction.d.ts +14 -12
  16. package/dist/access-http-lifecycle-flush.d.ts +14 -12
  17. package/dist/access-http-offline-stream.d.ts +14 -12
  18. package/dist/access-http-query.d.ts +3 -2
  19. package/dist/access-http-query.js +79 -76
  20. package/dist/access-http.d.ts +15 -13
  21. package/dist/access-http.js +97 -94
  22. package/dist/access-identity-continuity-surface.d.ts +12 -10
  23. package/dist/access-identity-continuity-surface.js +77 -74
  24. package/dist/access-lcm-surface.d.ts +14 -12
  25. package/dist/access-lcm-surface.js +77 -74
  26. package/dist/access-mcp.d.ts +14 -12
  27. package/dist/access-mcp.js +86 -83
  28. package/dist/access-memory-search-fanout.d.ts +3 -2
  29. package/dist/{access-namespace-preflight-D8qri11P.d.ts → access-namespace-preflight-DY4z6L5X.d.ts} +1 -1
  30. package/dist/access-namespace-preflight.d.ts +4 -3
  31. package/dist/access-namespace-preflight.js +77 -74
  32. package/dist/access-observe-transcript.d.ts +12 -10
  33. package/dist/access-observe-write-category.d.ts +37 -0
  34. package/dist/access-observe-write-category.js +34 -0
  35. package/dist/access-observe-write-surface.d.ts +17 -15
  36. package/dist/access-observe-write-surface.js +77 -74
  37. package/dist/access-offline-manifest.d.ts +12 -10
  38. package/dist/access-offline-manifest.js +15 -15
  39. package/dist/access-operations-batch.js +80 -77
  40. package/dist/access-operations.d.ts +17 -30
  41. package/dist/access-operations.js +85 -82
  42. package/dist/access-recall-concurrency.d.ts +14 -12
  43. package/dist/access-recall-concurrency.js +77 -74
  44. package/dist/access-recall-response.d.ts +14 -12
  45. package/dist/access-recall-response.js +77 -74
  46. package/dist/access-recall-surface.d.ts +14 -12
  47. package/dist/access-recall-surface.js +77 -74
  48. package/dist/access-schema.d.ts +214 -111
  49. package/dist/access-schema.js +7 -13
  50. package/dist/{access-service-Cl_x57xR.d.ts → access-service-gBcdRUHY.d.ts} +101 -77
  51. package/dist/access-service-helpers.d.ts +14 -12
  52. package/dist/access-service.d.ts +14 -12
  53. package/dist/access-service.js +77 -74
  54. package/dist/access-surface-catalog.d.ts +14 -12
  55. package/dist/access-surface-catalog.js +79 -76
  56. package/dist/access-surface-catalog.js.map +1 -1
  57. package/dist/access-wearables-meetings-surface.d.ts +5 -3
  58. package/dist/action-confidence.d.ts +2 -1
  59. package/dist/active-memory-bridge.d.ts +2 -1
  60. package/dist/active-memory-bridge.js +3 -3
  61. package/dist/active-recall.d.ts +2 -1
  62. package/dist/active-recall.js +20 -16
  63. package/dist/active-recall.js.map +1 -1
  64. package/dist/activity/digest.d.ts +2 -1
  65. package/dist/adapters/index.js +4 -4
  66. package/dist/adapters/registry.js +2 -2
  67. package/dist/ambient-provenance.d.ts +2 -1
  68. package/dist/artifact-search.d.ts +2 -1
  69. package/dist/{auto-sync-4YFATLFQ.js → auto-sync-RP4C6ZPF.js} +12 -10
  70. package/dist/{auto-sync-4YFATLFQ.js.map → auto-sync-RP4C6ZPF.js.map} +1 -1
  71. package/dist/background-generation-config.d.ts +10 -0
  72. package/dist/background-generation-config.js +9 -0
  73. package/dist/background-generation.d.ts +25 -0
  74. package/dist/background-generation.js +11 -0
  75. package/dist/background-generation.js.map +1 -0
  76. package/dist/behavior-learner.d.ts +2 -1
  77. package/dist/behavior-signals.d.ts +2 -1
  78. package/dist/bootstrap.d.ts +12 -10
  79. package/dist/briefing-window.d.ts +3 -2
  80. package/dist/briefing.d.ts +3 -2
  81. package/dist/briefing.js +25 -24
  82. package/dist/buffer-surprise-report.d.ts +2 -1
  83. package/dist/buffer-turn-helpers.d.ts +2 -1
  84. package/dist/buffer.d.ts +3 -2
  85. package/dist/buffer.js +8 -8
  86. package/dist/bulk-import/index.d.ts +4 -3
  87. package/dist/calibration.d.ts +3 -1
  88. package/dist/calibration.js +5 -3
  89. package/dist/calibration.js.map +1 -1
  90. package/dist/capabilities.d.ts +2 -1
  91. package/dist/{capsule-merge-ZCXUPLNJ.js → capsule-merge-IPG4IOFP.js} +2 -2
  92. package/dist/{catalog-Bq1AxZwF.d.ts → catalog-CW87xGx8.d.ts} +1 -1
  93. package/dist/causal-behavior.d.ts +2 -1
  94. package/dist/causal-behavior.js +2 -2
  95. package/dist/causal-chain.js +2 -2
  96. package/dist/causal-consolidation.d.ts +2 -1
  97. package/dist/causal-consolidation.js +27 -26
  98. package/dist/causal-consolidation.js.map +1 -1
  99. package/dist/causal-retrieval.js +2 -2
  100. package/dist/causal-trajectory-graph.d.ts +2 -1
  101. package/dist/causal-trajectory.js +1 -1
  102. package/dist/{chunk-LO4UKPKX.js → chunk-27MKMTBY.js} +2 -2
  103. package/dist/{chunk-TK4FHQRN.js → chunk-2J3V5QEO.js} +4 -4
  104. package/dist/{chunk-DVOBLPSQ.js → chunk-2MT4ADLQ.js} +15 -39
  105. package/dist/chunk-2MT4ADLQ.js.map +1 -0
  106. package/dist/{chunk-JSRVXI6E.js → chunk-2OGTN37H.js} +10 -10
  107. package/dist/{chunk-DK4X5B6I.js → chunk-2PTNJTBE.js} +2 -2
  108. package/dist/chunk-2QG4SLZI.js +44 -0
  109. package/dist/chunk-2QG4SLZI.js.map +1 -0
  110. package/dist/{chunk-27IOSH2W.js → chunk-375ARKRS.js} +32 -11
  111. package/dist/chunk-375ARKRS.js.map +1 -0
  112. package/dist/{chunk-PWPIERBM.js → chunk-37CAEC7E.js} +4 -4
  113. package/dist/{chunk-S2ULTQZR.js → chunk-3N3PBBEH.js} +2 -2
  114. package/dist/{chunk-ZTG4P7NZ.js → chunk-3OYSIVOO.js} +168 -168
  115. package/dist/{chunk-ZBEGS7OB.js → chunk-474DL7UB.js} +3 -3
  116. package/dist/{chunk-YNN26CIZ.js → chunk-4B3HBIFX.js} +2 -2
  117. package/dist/{chunk-HC4GFLMQ.js → chunk-4BCHFSC7.js} +3 -3
  118. package/dist/{chunk-YEDVOYL2.js → chunk-4RX5O34R.js} +2 -2
  119. package/dist/{chunk-W6IJMWTZ.js → chunk-5AERZWJD.js} +2 -2
  120. package/dist/{chunk-XPJNT6PI.js → chunk-5N4MZLEH.js} +10 -6
  121. package/dist/chunk-5N4MZLEH.js.map +1 -0
  122. package/dist/{chunk-UBG4GAEP.js → chunk-5U7K4W6K.js} +6 -2
  123. package/dist/chunk-5U7K4W6K.js.map +1 -0
  124. package/dist/{chunk-PAAJWQH5.js → chunk-62D2PAAM.js} +4 -4
  125. package/dist/{chunk-JHZCXUQI.js → chunk-62QIQEUC.js} +157 -154
  126. package/dist/chunk-62QIQEUC.js.map +1 -0
  127. package/dist/{chunk-52II7PB6.js → chunk-645WOU5I.js} +4 -4
  128. package/dist/{chunk-326KUXIR.js → chunk-6EHM2AV7.js} +6 -6
  129. package/dist/{chunk-YM7YN37H.js → chunk-6ET2VII7.js} +2 -2
  130. package/dist/chunk-6H2G7RFT.js +58 -0
  131. package/dist/chunk-6H2G7RFT.js.map +1 -0
  132. package/dist/{chunk-A2YQL2FF.js → chunk-6P4REYKL.js} +5 -5
  133. package/dist/{chunk-FVJ4D6L7.js → chunk-6PRY6CLC.js} +4 -4
  134. package/dist/{chunk-GLZH5VEN.js → chunk-6ZMNTRU3.js} +2 -2
  135. package/dist/{chunk-Z7ACR6MJ.js → chunk-74AHCL56.js} +3 -3
  136. package/dist/{chunk-5VAF4ID4.js → chunk-7S53BPTU.js} +25 -25
  137. package/dist/{chunk-EEBQFG5E.js → chunk-A6CKMIPK.js} +14 -14
  138. package/dist/chunk-A6CXG5WI.js +51 -0
  139. package/dist/chunk-A6CXG5WI.js.map +1 -0
  140. package/dist/{chunk-JR6PP7UM.js → chunk-ACY4ZPF7.js} +28 -2
  141. package/dist/chunk-ACY4ZPF7.js.map +1 -0
  142. package/dist/{chunk-2YLMUME2.js → chunk-AECJY3GJ.js} +2 -2
  143. package/dist/{chunk-NPNSKE76.js → chunk-B36GUU6T.js} +4 -4
  144. package/dist/{chunk-Y63ZFP4X.js → chunk-BJEJUOGM.js} +2 -2
  145. package/dist/{chunk-7CBKAQIG.js → chunk-BOADKFN4.js} +28 -4
  146. package/dist/chunk-BOADKFN4.js.map +1 -0
  147. package/dist/{chunk-TLHNF6GA.js → chunk-BV4ZKIZH.js} +1 -1
  148. package/dist/{chunk-3FJKJ5UZ.js → chunk-BX4EOMKT.js} +2 -2
  149. package/dist/{chunk-6J6K3STG.js → chunk-BYZKLEWG.js} +15 -12
  150. package/dist/chunk-BYZKLEWG.js.map +1 -0
  151. package/dist/{chunk-BJETIR53.js → chunk-CBFYCDYO.js} +3 -3
  152. package/dist/{chunk-ZWEZXVYH.js → chunk-CEO4DONG.js} +2 -2
  153. package/dist/chunk-CWTCMZGE.js +858 -0
  154. package/dist/chunk-CWTCMZGE.js.map +1 -0
  155. package/dist/{chunk-WPDKBUWX.js → chunk-DPMTLJCT.js} +2 -2
  156. package/dist/{chunk-65RENJGB.js → chunk-E2AWJ7KQ.js} +8 -4
  157. package/dist/chunk-E2AWJ7KQ.js.map +1 -0
  158. package/dist/{chunk-LYDJRF45.js → chunk-EY5JAWZC.js} +2 -2
  159. package/dist/{chunk-R4OCGPSH.js → chunk-FJMYMJLR.js} +2 -2
  160. package/dist/{chunk-OS2AT2JU.js → chunk-G43PMSME.js} +27 -10
  161. package/dist/chunk-G43PMSME.js.map +1 -0
  162. package/dist/{chunk-YXLUTALO.js → chunk-GAS7KYC7.js} +5 -5
  163. package/dist/{chunk-LSLCFCCQ.js → chunk-GDYU6VF4.js} +1 -1
  164. package/dist/chunk-GDYU6VF4.js.map +1 -0
  165. package/dist/{chunk-UDZYNIDJ.js → chunk-GGAXFTNH.js} +2 -2
  166. package/dist/{chunk-QURNMKME.js → chunk-GQQVEH6V.js} +6 -6
  167. package/dist/{chunk-J7PB5UQ4.js → chunk-GT4ZHOKT.js} +3 -3
  168. package/dist/{chunk-WIKO4SCR.js → chunk-H3TKENU4.js} +5 -5
  169. package/dist/{chunk-ZLN7AROH.js → chunk-HIP6DKJJ.js} +5 -5
  170. package/dist/{chunk-UYUCCQ46.js → chunk-HVS7TH2Y.js} +2 -2
  171. package/dist/{chunk-Z3O53WZR.js → chunk-IWO6QXWJ.js} +2 -2
  172. package/dist/{chunk-4MDKNUV4.js → chunk-IYKZJVL5.js} +1 -1
  173. package/dist/chunk-IYKZJVL5.js.map +1 -0
  174. package/dist/{chunk-42DJ235G.js → chunk-J272ODKJ.js} +2 -2
  175. package/dist/{chunk-JR6H5CYS.js → chunk-JA2QJOAX.js} +2 -2
  176. package/dist/{chunk-R3TLVTWW.js → chunk-JDX2OA4R.js} +3 -3
  177. package/dist/chunk-JE26AUX6.js +16 -0
  178. package/dist/chunk-JE26AUX6.js.map +1 -0
  179. package/dist/{chunk-AJTG3CP7.js → chunk-JHU4EYDV.js} +11 -1
  180. package/dist/chunk-JHU4EYDV.js.map +1 -0
  181. package/dist/{chunk-HXSAWV3A.js → chunk-JNSENHV5.js} +6 -6
  182. package/dist/{chunk-RRZKTSFG.js → chunk-JPOX2AJB.js} +2 -2
  183. package/dist/{chunk-TKFSXDOB.js → chunk-K5DA5TRG.js} +9 -9
  184. package/dist/{chunk-AZSKROVQ.js → chunk-KDFDXEXZ.js} +2 -2
  185. package/dist/{chunk-AKE4GGQ3.js → chunk-KQW3YGEN.js} +2 -2
  186. package/dist/{chunk-B3O3IRZN.js → chunk-L63GFNKL.js} +1 -1
  187. package/dist/{chunk-YEN4TREG.js → chunk-LQNRVPTV.js} +54 -567
  188. package/dist/chunk-LQNRVPTV.js.map +1 -0
  189. package/dist/{chunk-YJ6VCDMZ.js → chunk-M6HBPLBA.js} +2 -2
  190. package/dist/chunk-MCRVQ5YQ.js +14 -0
  191. package/dist/chunk-MCRVQ5YQ.js.map +1 -0
  192. package/dist/{chunk-L2WQVSKP.js → chunk-MLWMR2GE.js} +2 -2
  193. package/dist/{chunk-WHHEPAO3.js → chunk-NWMUSKED.js} +8 -8
  194. package/dist/chunk-OEBLZZKK.js +53 -0
  195. package/dist/chunk-OEBLZZKK.js.map +1 -0
  196. package/dist/{chunk-JRWW7GM6.js → chunk-OKO57IXB.js} +7 -7
  197. package/dist/{chunk-L2QLDZJC.js → chunk-P4ZAEYKG.js} +67 -33
  198. package/dist/chunk-P4ZAEYKG.js.map +1 -0
  199. package/dist/{chunk-MPAJFFP3.js → chunk-PGAB2V53.js} +5 -5
  200. package/dist/{chunk-MPAJFFP3.js.map → chunk-PGAB2V53.js.map} +1 -1
  201. package/dist/{chunk-VYXDUPYE.js → chunk-PPQEP4OH.js} +2 -2
  202. package/dist/{chunk-LEMD7WZJ.js → chunk-QHT7MOUF.js} +70 -25
  203. package/dist/chunk-QHT7MOUF.js.map +1 -0
  204. package/dist/chunk-QJ2AX6DU.js +19 -0
  205. package/dist/chunk-QJ2AX6DU.js.map +1 -0
  206. package/dist/{chunk-Q4AUIFUA.js → chunk-QMWKENNK.js} +4 -4
  207. package/dist/{chunk-XCOV45MO.js → chunk-R4VAUNNC.js} +3 -3
  208. package/dist/{chunk-353KGBKY.js → chunk-RW4QNB4J.js} +4 -4
  209. package/dist/{chunk-FQXJAC3T.js → chunk-SGUDMW2K.js} +4 -4
  210. package/dist/{chunk-S5G2LAL7.js → chunk-SV4Z2S67.js} +4 -4
  211. package/dist/{chunk-HUT2JR6I.js → chunk-T32B72QX.js} +3 -3
  212. package/dist/{chunk-OQ7SSRXP.js → chunk-TRHBQVVO.js} +23 -17
  213. package/dist/chunk-TRHBQVVO.js.map +1 -0
  214. package/dist/{chunk-LMCD5W5B.js → chunk-TRLOFIQC.js} +2 -2
  215. package/dist/{chunk-JZ2CHRLB.js → chunk-TTSJ7WUC.js} +2 -2
  216. package/dist/{chunk-CNV2A557.js → chunk-TUKGXQ5T.js} +3 -3
  217. package/dist/{chunk-QATYVTP7.js → chunk-UIOIDW3L.js} +2 -2
  218. package/dist/{chunk-776GVKL7.js → chunk-ULDBGA5W.js} +2 -2
  219. package/dist/{chunk-NN4JEFON.js → chunk-UQNYPK7G.js} +3 -3
  220. package/dist/{chunk-A5UQ52YQ.js → chunk-UZZ7SQT3.js} +5 -5
  221. package/dist/{chunk-F6IVBYFS.js → chunk-V6G2PSXA.js} +72 -72
  222. package/dist/{chunk-RUXPVSML.js → chunk-VHOSM5G4.js} +6 -6
  223. package/dist/{chunk-QBLDCI6E.js → chunk-VMNCZ627.js} +2 -2
  224. package/dist/{chunk-P3ONDDIJ.js → chunk-VV4ZVUE6.js} +2 -2
  225. package/dist/{chunk-A7GQBJP5.js → chunk-X2NFFBTO.js} +4 -4
  226. package/dist/{chunk-ECKG5WSI.js → chunk-XGRXQR6T.js} +2 -2
  227. package/dist/{chunk-LNDLXMH6.js → chunk-XN6XT6GR.js} +3 -3
  228. package/dist/{chunk-C6KRO3SU.js → chunk-XVDZFTN5.js} +4 -4
  229. package/dist/chunk-XVZA6VXC.js +160 -0
  230. package/dist/chunk-XVZA6VXC.js.map +1 -0
  231. package/dist/{chunk-2BQ4ZIWC.js → chunk-XWLLFKHM.js} +8 -8
  232. package/dist/chunk-YFTNZMGR.js +71 -0
  233. package/dist/chunk-YFTNZMGR.js.map +1 -0
  234. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  235. package/dist/{chunk-BNGHPYZU.js → chunk-YUW66UAH.js} +3 -3
  236. package/dist/{chunk-5JG5EBVL.js → chunk-ZEGL7YCC.js} +2 -2
  237. package/dist/{chunk-PHP3MUGF.js → chunk-ZKZFFWLV.js} +2 -2
  238. package/dist/{chunk-GCBIXUPT.js → chunk-ZMWSYUUL.js} +2 -2
  239. package/dist/{chunk-X2QPKLPL.js → chunk-ZZUVBZL2.js} +2 -2
  240. package/dist/{cli-p813oxbm.d.ts → cli-BNg-TAlz.d.ts} +5 -5
  241. package/dist/cli-fallback.d.ts +4 -2
  242. package/dist/cli-fallback.js +3 -1
  243. package/dist/cli.d.ts +16 -14
  244. package/dist/cli.js +125 -119
  245. package/dist/coding/export-okf-codegraph.d.ts +2 -1
  246. package/dist/coding/export-okf-codegraph.js +24 -23
  247. package/dist/coding/export-okf-codegraph.js.map +1 -1
  248. package/dist/coding/pre-action-gate.d.ts +2 -1
  249. package/dist/coding/pre-action-gate.js +2 -2
  250. package/dist/compat/codex-cli-fallback.d.ts +1 -1
  251. package/dist/compat/codex-cli-fallback.js +3 -1
  252. package/dist/compat/codex-cli-fallback.js.map +1 -1
  253. package/dist/compounding/engine.d.ts +3 -2
  254. package/dist/compounding/engine.js +25 -24
  255. package/dist/compounding/preference-consolidator.d.ts +2 -1
  256. package/dist/compression-optimizer.d.ts +2 -1
  257. package/dist/config.d.ts +2 -1
  258. package/dist/config.js +18 -14
  259. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  260. package/dist/connectors/codex-materialize-runner.js +24 -23
  261. package/dist/connectors/codex-materialize.d.ts +2 -1
  262. package/dist/connectors/index.d.ts +2 -1
  263. package/dist/connectors/index.js +27 -26
  264. package/dist/consolidation-provenance-check.d.ts +3 -2
  265. package/dist/consolidation-undo.d.ts +3 -2
  266. package/dist/contradiction/index.d.ts +5 -3
  267. package/dist/contradiction/index.js +7 -7
  268. package/dist/{contradiction-scan-GVD4JJ7B.js → contradiction-scan-BSGKZHYJ.js} +4 -4
  269. package/dist/contradiction-scan-BSGKZHYJ.js.map +1 -0
  270. package/dist/converge-config.d.ts +2 -1
  271. package/dist/convergence-refresh.d.ts +3 -2
  272. package/dist/convergence-refresh.js +27 -26
  273. package/dist/conversation-index/backend.d.ts +2 -1
  274. package/dist/conversation-index/chunker.d.ts +2 -1
  275. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  276. package/dist/conversation-index/indexer.d.ts +2 -1
  277. package/dist/conversation-index/search.d.ts +2 -1
  278. package/dist/corpus-watermark.d.ts +2 -1
  279. package/dist/corpus-watermark.js +27 -26
  280. package/dist/cross-lingual-recall.d.ts +2 -1
  281. package/dist/dashboard-runtime.js +2 -2
  282. package/dist/day-summary.d.ts +2 -1
  283. package/dist/deep-recall-http-glue.d.ts +14 -12
  284. package/dist/deep-recall-http-glue.js +2 -12
  285. package/dist/deep-recall-mcp-tools.d.ts +14 -12
  286. package/dist/deep-recall-policy-llm.d.ts +3 -1
  287. package/dist/deep-recall-policy-llm.js +5 -3
  288. package/dist/deep-recall-seeds.d.ts +2 -1
  289. package/dist/deep-recall.js +2 -2
  290. package/dist/delinearize.d.ts +2 -1
  291. package/dist/dependency-propagation-config.d.ts +2 -1
  292. package/dist/{dependency-propagation-delivery-DLiAtj25.d.ts → dependency-propagation-delivery-Cq1ekOwV.d.ts} +1 -1
  293. package/dist/direct-answer-wiring.d.ts +2 -1
  294. package/dist/direct-answer.d.ts +2 -1
  295. package/dist/embedding-fallback.d.ts +2 -1
  296. package/dist/enrichment/index.d.ts +2 -1
  297. package/dist/entity-origin-fields.d.ts +2 -1
  298. package/dist/entity-retrieval.d.ts +3 -2
  299. package/dist/entity-retrieval.js +26 -25
  300. package/dist/entity-schema.d.ts +2 -1
  301. package/dist/episodic-context.d.ts +2 -1
  302. package/dist/eval-trajectory-contracts.d.ts +2 -1
  303. package/dist/eval-trajectory-store.d.ts +2 -1
  304. package/dist/eval-trajectory.d.ts +2 -1
  305. package/dist/event-order-recall.js +3 -3
  306. package/dist/explicit-capture.d.ts +12 -10
  307. package/dist/explicit-capture.js +6 -6
  308. package/dist/external-wiki-access.d.ts +14 -12
  309. package/dist/external-wiki-access.js +78 -75
  310. package/dist/external-wiki-collection-registration.d.ts +2 -1
  311. package/dist/external-wiki-collection.d.ts +2 -1
  312. package/dist/external-wiki-mcp-tools.d.ts +14 -12
  313. package/dist/extraction-error-classification.d.ts +2 -1
  314. package/dist/extraction-faithfulness.d.ts +3 -1
  315. package/dist/extraction-faithfulness.js +5 -3
  316. package/dist/extraction-judge-telemetry.d.ts +3 -1
  317. package/dist/extraction-judge-training.d.ts +3 -1
  318. package/dist/extraction-judge.d.ts +3 -1
  319. package/dist/extraction-judge.js +6 -4
  320. package/dist/extraction-liveness.d.ts +2 -1
  321. package/dist/extraction-normalization.d.ts +2 -1
  322. package/dist/extraction-normalization.js +2 -2
  323. package/dist/extraction-prompt.d.ts +12 -2
  324. package/dist/extraction-prompt.js +7 -3
  325. package/dist/extraction-source-grounding-rules.d.ts +4 -2
  326. package/dist/extraction-source-grounding-rules.js +1 -1
  327. package/dist/extraction-source-grounding.d.ts +3 -2
  328. package/dist/extraction-source-grounding.js +4 -4
  329. package/dist/extraction-span-config.d.ts +16 -0
  330. package/dist/extraction-span-config.js +15 -0
  331. package/dist/extraction-span-config.js.map +1 -0
  332. package/dist/extraction-span-materialize.d.ts +106 -0
  333. package/dist/extraction-span-materialize.js +30 -0
  334. package/dist/extraction-span-materialize.js.map +1 -0
  335. package/dist/extraction-span-slice.js +3 -12
  336. package/dist/extraction-span-slice.js.map +1 -1
  337. package/dist/extraction-span-source-hash.js +4 -46
  338. package/dist/extraction-span-source-hash.js.map +1 -1
  339. package/dist/extraction-span-validate.js +3 -15
  340. package/dist/extraction-span-validate.js.map +1 -1
  341. package/dist/extraction.d.ts +8 -1
  342. package/dist/extraction.js +48 -43
  343. package/dist/fallback-llm-codex-subscription.d.ts +79 -0
  344. package/dist/fallback-llm-codex-subscription.js +22 -0
  345. package/dist/fallback-llm-codex-subscription.js.map +1 -0
  346. package/dist/fallback-llm.d.ts +5 -1
  347. package/dist/fallback-llm.js +4 -2
  348. package/dist/{first-start-migration-L3UFX5CU.js → first-start-migration-ZWMV5CX4.js} +4 -4
  349. package/dist/{generic-recall-paths-DbitKJI5.d.ts → generic-recall-paths-BcySh_f9.d.ts} +1 -1
  350. package/dist/graph-append-error.d.ts +2 -1
  351. package/dist/graph-dashboard-diff.d.ts +2 -1
  352. package/dist/graph-dashboard-key.d.ts +2 -1
  353. package/dist/graph-dashboard-parser.d.ts +2 -1
  354. package/dist/graph-edge-reinforcement.d.ts +2 -1
  355. package/dist/graph-jsonl.d.ts +2 -1
  356. package/dist/graph-path-reconstruction.d.ts +2 -1
  357. package/dist/graph-path-scoring.d.ts +2 -1
  358. package/dist/graph-snapshot.d.ts +2 -1
  359. package/dist/graph.d.ts +2 -1
  360. package/dist/harmonic-retrieval.js +3 -3
  361. package/dist/importance.d.ts +2 -1
  362. package/dist/importers/index.d.ts +2 -1
  363. package/dist/importers/test-utils.d.ts +2 -1
  364. package/dist/in-flight-reads.d.ts +2 -1
  365. package/dist/{index-BINUgPFo.d.ts → index-DWOb4wz9.d.ts} +2 -2
  366. package/dist/index.d.ts +712 -704
  367. package/dist/index.js +368 -299
  368. package/dist/intent.d.ts +2 -1
  369. package/dist/lcm/engine.d.ts +2 -1
  370. package/dist/lcm/engine.js +2 -2
  371. package/dist/lcm/index.d.ts +2 -1
  372. package/dist/lcm/index.js +7 -7
  373. package/dist/lcm/tools.d.ts +2 -1
  374. package/dist/lifecycle.d.ts +2 -1
  375. package/dist/live-connectors-runner.d.ts +2 -1
  376. package/dist/local-llm-config.d.ts +7 -1
  377. package/dist/local-llm-config.js +12 -0
  378. package/dist/local-llm.d.ts +2 -1
  379. package/dist/local-model-endpoint.d.ts +2 -1
  380. package/dist/location/index.d.ts +4 -3
  381. package/dist/location/index.js +60 -59
  382. package/dist/maintenance/memory-governance.d.ts +2 -1
  383. package/dist/maintenance/memory-governance.js +24 -23
  384. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
  385. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +25 -24
  386. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  387. package/dist/maintenance/rebuild-memory-projection.js +26 -25
  388. package/dist/{maintenance-ag1gYztC.d.ts → maintenance-CW9wCzMP.d.ts} +3 -3
  389. package/dist/mcp-memory-inspector-app.d.ts +14 -12
  390. package/dist/memory-action-policy.d.ts +2 -1
  391. package/dist/memory-cache.d.ts +2 -1
  392. package/dist/memory-controller.d.ts +2 -1
  393. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  394. package/dist/memory-projection-store.d.ts +2 -1
  395. package/dist/memory-provenance.d.ts +2 -1
  396. package/dist/memory-snapshot.d.ts +2 -1
  397. package/dist/memory-subject-cli.d.ts +14 -12
  398. package/dist/memory-subject.d.ts +14 -12
  399. package/dist/memory-worth-outcomes.d.ts +3 -2
  400. package/dist/models-json.d.ts +2 -1
  401. package/dist/namespaces/migrate.d.ts +4 -3
  402. package/dist/namespaces/migrate.js +25 -24
  403. package/dist/namespaces/principal.d.ts +2 -1
  404. package/dist/namespaces/search.d.ts +2 -1
  405. package/dist/namespaces/search.js +4 -4
  406. package/dist/namespaces/storage.d.ts +4 -3
  407. package/dist/namespaces/storage.js +24 -23
  408. package/dist/native-knowledge.d.ts +2 -1
  409. package/dist/offline-sync-impression-drain.d.ts +2 -1
  410. package/dist/offline-sync-impression-drain.js +4 -4
  411. package/dist/operator-doctor-corpus.d.ts +2 -1
  412. package/dist/operator-doctor-corpus.js +28 -27
  413. package/dist/operator-doctor-replica.d.ts +2 -1
  414. package/dist/operator-toolkit.d.ts +4 -3
  415. package/dist/operator-toolkit.js +49 -44
  416. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  417. package/dist/orchestration/maintenance.d.ts +5 -4
  418. package/dist/orchestration/maintenance.js +37 -36
  419. package/dist/{orchestrator-Cf3G-3Ed.d.ts → orchestrator-DocO0_hw.d.ts} +9 -9
  420. package/dist/orchestrator.d.ts +12 -10
  421. package/dist/orchestrator.js +208 -198
  422. package/dist/patterns-cli.d.ts +2 -1
  423. package/dist/{pipeline-AwB03fw_.d.ts → pipeline-CiYcqqhl.d.ts} +1 -1
  424. package/dist/policy-runtime.d.ts +2 -1
  425. package/dist/proactive-contention.d.ts +2 -1
  426. package/dist/provenance.d.ts +2 -1
  427. package/dist/provenance.js +2 -2
  428. package/dist/{public-http-C3bLjE-L.d.ts → public-http-C0FoTiL_.d.ts} +1 -1
  429. package/dist/qmd-preflight.d.ts +3 -2
  430. package/dist/{qmd-Bfaydrfm.d.ts → qmd-qXD4vatU.d.ts} +1 -1
  431. package/dist/qmd-recall-cache.d.ts +2 -1
  432. package/dist/qmd.d.ts +3 -2
  433. package/dist/recall-concurrency-config.d.ts +2 -1
  434. package/dist/recall-disclosure-escalation.d.ts +2 -1
  435. package/dist/recall-explain-renderer.d.ts +2 -1
  436. package/dist/recall-explain-renderer.js +3 -3
  437. package/dist/recall-memory-map.d.ts +2 -1
  438. package/dist/recall-navigate-access.d.ts +2 -1
  439. package/dist/recall-navigate-access.js +2 -2
  440. package/dist/recall-navigate-disclosure.d.ts +2 -1
  441. package/dist/recall-navigate-disclosure.js +1 -1
  442. package/dist/recall-navigate.d.ts +2 -1
  443. package/dist/recall-navigate.js +2 -2
  444. package/dist/recall-planner-llm.d.ts +3 -1
  445. package/dist/recall-planner-llm.js +4 -2
  446. package/dist/recall-planner-llm.js.map +1 -1
  447. package/dist/recall-state-view-admission.d.ts +3 -2
  448. package/dist/recall-state-view-admission.js +6 -6
  449. package/dist/recall-state.d.ts +2 -1
  450. package/dist/recall-tag-filter.d.ts +2 -1
  451. package/dist/recall-timings.d.ts +2 -1
  452. package/dist/recall-xray-cli.d.ts +2 -1
  453. package/dist/recall-xray-cli.js +4 -4
  454. package/dist/recall-xray-renderer.d.ts +2 -1
  455. package/dist/recall-xray-renderer.js +3 -3
  456. package/dist/recall-xray.d.ts +2 -1
  457. package/dist/recall-xray.js +2 -2
  458. package/dist/reconcile/cursor.d.ts +2 -1
  459. package/dist/reconcile/cursor.js +2 -2
  460. package/dist/reconcile/manifest.d.ts +12 -2
  461. package/dist/reconcile/manifest.js +8 -6
  462. package/dist/reconcile/plan.d.ts +2 -1
  463. package/dist/reconcile/plan.js +2 -2
  464. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  465. package/dist/replay/normalizers/claude.d.ts +2 -1
  466. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  467. package/dist/replay/normalizers/shared.d.ts +2 -1
  468. package/dist/replay/runner.d.ts +2 -1
  469. package/dist/replay/types.d.ts +2 -1
  470. package/dist/replica-divergence.d.ts +2 -1
  471. package/dist/replica-peers-config.d.ts +2 -1
  472. package/dist/{resolution-OHJZG45O.js → resolution-4GG3QZRJ.js} +8 -8
  473. package/dist/resolution-4GG3QZRJ.js.map +1 -0
  474. package/dist/resolve-auth-token.d.ts +2 -1
  475. package/dist/resume-bundles.js +19 -15
  476. package/dist/retrieval-agents.d.ts +3 -2
  477. package/dist/retrieval-tiers.d.ts +2 -1
  478. package/dist/routing/engine.d.ts +2 -1
  479. package/dist/routing/store.d.ts +2 -1
  480. package/dist/salvage-envelope.d.ts +2 -1
  481. package/dist/salvage-envelope.js +2 -2
  482. package/dist/schemas.d.ts +370 -160
  483. package/dist/schemas.js +1 -1
  484. package/dist/{scope-profiles-nxTKvjE-.d.ts → scope-profiles-BT9rqC3w.d.ts} +1 -1
  485. package/dist/search/embed-helper.d.ts +2 -1
  486. package/dist/search/factory.d.ts +2 -1
  487. package/dist/search/factory.js +3 -3
  488. package/dist/search/index.d.ts +2 -1
  489. package/dist/search/index.js +7 -7
  490. package/dist/search/lancedb-backend.d.ts +2 -1
  491. package/dist/search/meilisearch-backend.d.ts +2 -1
  492. package/dist/search/noop-backend.d.ts +2 -1
  493. package/dist/search/orama-backend.d.ts +2 -1
  494. package/dist/search/port.d.ts +2 -1
  495. package/dist/search/remote-backend.d.ts +2 -1
  496. package/dist/{semantic-consolidation-C83DVakV.d.ts → semantic-consolidation-CmZi7thY.d.ts} +1 -1
  497. package/dist/semantic-consolidation.d.ts +3 -2
  498. package/dist/semantic-consolidation.js +25 -24
  499. package/dist/semantic-rule-promotion.js +24 -23
  500. package/dist/semantic-rule-verifier.d.ts +2 -1
  501. package/dist/semantic-rule-verifier.js +24 -23
  502. package/dist/{service-q-xtOoAr.d.ts → service-CLkA7AQB.d.ts} +2 -2
  503. package/dist/session-observer-bands.d.ts +2 -1
  504. package/dist/session-observer-state.d.ts +2 -1
  505. package/dist/shared-context/manager.d.ts +8 -7
  506. package/dist/signal.d.ts +2 -1
  507. package/dist/source-agent-qualifier.d.ts +2 -1
  508. package/dist/source-agent-qualifier.js +40 -39
  509. package/dist/standup/build.js +25 -24
  510. package/dist/{storage-Ca0MbTfm.d.ts → storage-wvX01lht.d.ts} +1 -1
  511. package/dist/storage.d.ts +3 -2
  512. package/dist/storage.js +23 -22
  513. package/dist/subject-config.d.ts +2 -1
  514. package/dist/subject-config.js +2 -2
  515. package/dist/summarizer.d.ts +2 -1
  516. package/dist/summarizer.js +6 -3
  517. package/dist/summary-snapshot.d.ts +2 -1
  518. package/dist/support-passport/index.d.ts +17 -15
  519. package/dist/support-passport/index.js +83 -80
  520. package/dist/temporal-supersession.d.ts +3 -2
  521. package/dist/temporal-timeline-recall.d.ts +2 -1
  522. package/dist/temporal-validity.d.ts +2 -1
  523. package/dist/threading.d.ts +2 -1
  524. package/dist/tier-migration.d.ts +3 -2
  525. package/dist/tier-routing.d.ts +2 -1
  526. package/dist/tier-routing.js +3 -3
  527. package/dist/{tier-stats-VK5PCO2L.js → tier-stats-LUSUUNU6.js} +4 -4
  528. package/dist/topics.d.ts +2 -1
  529. package/dist/transcript.d.ts +2 -1
  530. package/dist/transfer/capsule-import.js +1 -1
  531. package/dist/transfer/export-okf.d.ts +2 -1
  532. package/dist/transfer/export-okf.js +24 -23
  533. package/dist/transfer/types.d.ts +98 -98
  534. package/dist/trust-score-stage.d.ts +2 -1
  535. package/dist/trust-score.d.ts +2 -1
  536. package/dist/{types-yDgWDkrJ.d.ts → types-Cyr32ABj.d.ts} +51 -10
  537. package/dist/types.d.ts +2 -1
  538. package/dist/types.js +1 -1
  539. package/dist/utility-runtime.d.ts +2 -1
  540. package/dist/verified-recall.js +24 -23
  541. package/dist/who-knows-cli.d.ts +14 -12
  542. package/dist/who-knows-cli.js +25 -24
  543. package/dist/who-knows.d.ts +14 -12
  544. package/dist/who-knows.js +24 -23
  545. package/dist/write-envelope.d.ts +7 -1
  546. package/dist/write-envelope.js +1 -1
  547. package/package.json +42 -2
  548. package/src/access-boundary.ts +21 -6
  549. package/src/access-category-alias.test.ts +488 -51
  550. package/src/access-http.test.ts +292 -5
  551. package/src/access-http.ts +4 -0
  552. package/src/access-mcp.test.ts +2 -2
  553. package/src/access-observe-write-category.ts +25 -0
  554. package/src/access-observe-write-surface.ts +58 -57
  555. package/src/access-operations-batch.ts +28 -2
  556. package/src/access-operations.ts +6 -4
  557. package/src/access-schema.ts +106 -50
  558. package/src/access-service.ts +23 -9
  559. package/src/background-generation-config.ts +79 -0
  560. package/src/background-generation.test.ts +123 -0
  561. package/src/background-generation.ts +52 -0
  562. package/src/cli-fallback.ts +8 -2
  563. package/src/config.test.ts +172 -0
  564. package/src/config.ts +4 -45
  565. package/src/extraction-prompt.ts +37 -3
  566. package/src/extraction-source-grounding-rules.ts +46 -9
  567. package/src/extraction-source-grounding.ts +2 -1
  568. package/src/extraction-span-config.ts +81 -0
  569. package/src/extraction-span-materialize.test.ts +376 -0
  570. package/src/extraction-span-materialize.ts +241 -0
  571. package/src/extraction.ts +70 -25
  572. package/src/fallback-llm-codex-subscription.ts +168 -0
  573. package/src/fallback-llm.test.ts +46 -0
  574. package/src/fallback-llm.ts +60 -48
  575. package/src/index.ts +2 -16
  576. package/src/local-llm-config.ts +84 -0
  577. package/src/providers/codex-subscription.test.ts +804 -1
  578. package/src/providers/codex-subscription.ts +407 -65
  579. package/src/reconcile/manifest.test.ts +11 -1
  580. package/src/reconcile/manifest.ts +12 -0
  581. package/src/schemas.ts +14 -0
  582. package/src/source-agent-qualifier.ts +5 -1
  583. package/src/summarizer.ts +25 -0
  584. package/src/testing/subjects/extraction-lifecycle.test.ts +27 -10
  585. package/src/types.ts +12 -11
  586. package/src/write-envelope.ts +5 -0
  587. package/dist/chunk-27IOSH2W.js.map +0 -1
  588. package/dist/chunk-4MDKNUV4.js.map +0 -1
  589. package/dist/chunk-65RENJGB.js.map +0 -1
  590. package/dist/chunk-6J6K3STG.js.map +0 -1
  591. package/dist/chunk-7CBKAQIG.js.map +0 -1
  592. package/dist/chunk-AJTG3CP7.js.map +0 -1
  593. package/dist/chunk-DVOBLPSQ.js.map +0 -1
  594. package/dist/chunk-JHZCXUQI.js.map +0 -1
  595. package/dist/chunk-JR6PP7UM.js.map +0 -1
  596. package/dist/chunk-L2QLDZJC.js.map +0 -1
  597. package/dist/chunk-LEMD7WZJ.js.map +0 -1
  598. package/dist/chunk-LSLCFCCQ.js.map +0 -1
  599. package/dist/chunk-OQ7SSRXP.js.map +0 -1
  600. package/dist/chunk-OS2AT2JU.js.map +0 -1
  601. package/dist/chunk-UBG4GAEP.js.map +0 -1
  602. package/dist/chunk-XPJNT6PI.js.map +0 -1
  603. package/dist/chunk-YEN4TREG.js.map +0 -1
  604. /package/dist/{contradiction-scan-GVD4JJ7B.js.map → access-observe-write-category.js.map} +0 -0
  605. /package/dist/{resolution-OHJZG45O.js.map → background-generation-config.js.map} +0 -0
  606. /package/dist/{capsule-merge-ZCXUPLNJ.js.map → capsule-merge-IPG4IOFP.js.map} +0 -0
  607. /package/dist/{chunk-LO4UKPKX.js.map → chunk-27MKMTBY.js.map} +0 -0
  608. /package/dist/{chunk-TK4FHQRN.js.map → chunk-2J3V5QEO.js.map} +0 -0
  609. /package/dist/{chunk-JSRVXI6E.js.map → chunk-2OGTN37H.js.map} +0 -0
  610. /package/dist/{chunk-DK4X5B6I.js.map → chunk-2PTNJTBE.js.map} +0 -0
  611. /package/dist/{chunk-PWPIERBM.js.map → chunk-37CAEC7E.js.map} +0 -0
  612. /package/dist/{chunk-S2ULTQZR.js.map → chunk-3N3PBBEH.js.map} +0 -0
  613. /package/dist/{chunk-ZTG4P7NZ.js.map → chunk-3OYSIVOO.js.map} +0 -0
  614. /package/dist/{chunk-ZBEGS7OB.js.map → chunk-474DL7UB.js.map} +0 -0
  615. /package/dist/{chunk-YNN26CIZ.js.map → chunk-4B3HBIFX.js.map} +0 -0
  616. /package/dist/{chunk-HC4GFLMQ.js.map → chunk-4BCHFSC7.js.map} +0 -0
  617. /package/dist/{chunk-YEDVOYL2.js.map → chunk-4RX5O34R.js.map} +0 -0
  618. /package/dist/{chunk-W6IJMWTZ.js.map → chunk-5AERZWJD.js.map} +0 -0
  619. /package/dist/{chunk-PAAJWQH5.js.map → chunk-62D2PAAM.js.map} +0 -0
  620. /package/dist/{chunk-52II7PB6.js.map → chunk-645WOU5I.js.map} +0 -0
  621. /package/dist/{chunk-326KUXIR.js.map → chunk-6EHM2AV7.js.map} +0 -0
  622. /package/dist/{chunk-YM7YN37H.js.map → chunk-6ET2VII7.js.map} +0 -0
  623. /package/dist/{chunk-A2YQL2FF.js.map → chunk-6P4REYKL.js.map} +0 -0
  624. /package/dist/{chunk-FVJ4D6L7.js.map → chunk-6PRY6CLC.js.map} +0 -0
  625. /package/dist/{chunk-GLZH5VEN.js.map → chunk-6ZMNTRU3.js.map} +0 -0
  626. /package/dist/{chunk-Z7ACR6MJ.js.map → chunk-74AHCL56.js.map} +0 -0
  627. /package/dist/{chunk-5VAF4ID4.js.map → chunk-7S53BPTU.js.map} +0 -0
  628. /package/dist/{chunk-EEBQFG5E.js.map → chunk-A6CKMIPK.js.map} +0 -0
  629. /package/dist/{chunk-2YLMUME2.js.map → chunk-AECJY3GJ.js.map} +0 -0
  630. /package/dist/{chunk-NPNSKE76.js.map → chunk-B36GUU6T.js.map} +0 -0
  631. /package/dist/{chunk-Y63ZFP4X.js.map → chunk-BJEJUOGM.js.map} +0 -0
  632. /package/dist/{chunk-TLHNF6GA.js.map → chunk-BV4ZKIZH.js.map} +0 -0
  633. /package/dist/{chunk-3FJKJ5UZ.js.map → chunk-BX4EOMKT.js.map} +0 -0
  634. /package/dist/{chunk-BJETIR53.js.map → chunk-CBFYCDYO.js.map} +0 -0
  635. /package/dist/{chunk-ZWEZXVYH.js.map → chunk-CEO4DONG.js.map} +0 -0
  636. /package/dist/{chunk-WPDKBUWX.js.map → chunk-DPMTLJCT.js.map} +0 -0
  637. /package/dist/{chunk-LYDJRF45.js.map → chunk-EY5JAWZC.js.map} +0 -0
  638. /package/dist/{chunk-R4OCGPSH.js.map → chunk-FJMYMJLR.js.map} +0 -0
  639. /package/dist/{chunk-YXLUTALO.js.map → chunk-GAS7KYC7.js.map} +0 -0
  640. /package/dist/{chunk-UDZYNIDJ.js.map → chunk-GGAXFTNH.js.map} +0 -0
  641. /package/dist/{chunk-QURNMKME.js.map → chunk-GQQVEH6V.js.map} +0 -0
  642. /package/dist/{chunk-J7PB5UQ4.js.map → chunk-GT4ZHOKT.js.map} +0 -0
  643. /package/dist/{chunk-WIKO4SCR.js.map → chunk-H3TKENU4.js.map} +0 -0
  644. /package/dist/{chunk-ZLN7AROH.js.map → chunk-HIP6DKJJ.js.map} +0 -0
  645. /package/dist/{chunk-UYUCCQ46.js.map → chunk-HVS7TH2Y.js.map} +0 -0
  646. /package/dist/{chunk-Z3O53WZR.js.map → chunk-IWO6QXWJ.js.map} +0 -0
  647. /package/dist/{chunk-42DJ235G.js.map → chunk-J272ODKJ.js.map} +0 -0
  648. /package/dist/{chunk-JR6H5CYS.js.map → chunk-JA2QJOAX.js.map} +0 -0
  649. /package/dist/{chunk-R3TLVTWW.js.map → chunk-JDX2OA4R.js.map} +0 -0
  650. /package/dist/{chunk-HXSAWV3A.js.map → chunk-JNSENHV5.js.map} +0 -0
  651. /package/dist/{chunk-RRZKTSFG.js.map → chunk-JPOX2AJB.js.map} +0 -0
  652. /package/dist/{chunk-TKFSXDOB.js.map → chunk-K5DA5TRG.js.map} +0 -0
  653. /package/dist/{chunk-AZSKROVQ.js.map → chunk-KDFDXEXZ.js.map} +0 -0
  654. /package/dist/{chunk-AKE4GGQ3.js.map → chunk-KQW3YGEN.js.map} +0 -0
  655. /package/dist/{chunk-B3O3IRZN.js.map → chunk-L63GFNKL.js.map} +0 -0
  656. /package/dist/{chunk-YJ6VCDMZ.js.map → chunk-M6HBPLBA.js.map} +0 -0
  657. /package/dist/{chunk-L2WQVSKP.js.map → chunk-MLWMR2GE.js.map} +0 -0
  658. /package/dist/{chunk-WHHEPAO3.js.map → chunk-NWMUSKED.js.map} +0 -0
  659. /package/dist/{chunk-JRWW7GM6.js.map → chunk-OKO57IXB.js.map} +0 -0
  660. /package/dist/{chunk-VYXDUPYE.js.map → chunk-PPQEP4OH.js.map} +0 -0
  661. /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
  662. /package/dist/{chunk-XCOV45MO.js.map → chunk-R4VAUNNC.js.map} +0 -0
  663. /package/dist/{chunk-353KGBKY.js.map → chunk-RW4QNB4J.js.map} +0 -0
  664. /package/dist/{chunk-FQXJAC3T.js.map → chunk-SGUDMW2K.js.map} +0 -0
  665. /package/dist/{chunk-S5G2LAL7.js.map → chunk-SV4Z2S67.js.map} +0 -0
  666. /package/dist/{chunk-HUT2JR6I.js.map → chunk-T32B72QX.js.map} +0 -0
  667. /package/dist/{chunk-LMCD5W5B.js.map → chunk-TRLOFIQC.js.map} +0 -0
  668. /package/dist/{chunk-JZ2CHRLB.js.map → chunk-TTSJ7WUC.js.map} +0 -0
  669. /package/dist/{chunk-CNV2A557.js.map → chunk-TUKGXQ5T.js.map} +0 -0
  670. /package/dist/{chunk-QATYVTP7.js.map → chunk-UIOIDW3L.js.map} +0 -0
  671. /package/dist/{chunk-776GVKL7.js.map → chunk-ULDBGA5W.js.map} +0 -0
  672. /package/dist/{chunk-NN4JEFON.js.map → chunk-UQNYPK7G.js.map} +0 -0
  673. /package/dist/{chunk-A5UQ52YQ.js.map → chunk-UZZ7SQT3.js.map} +0 -0
  674. /package/dist/{chunk-F6IVBYFS.js.map → chunk-V6G2PSXA.js.map} +0 -0
  675. /package/dist/{chunk-RUXPVSML.js.map → chunk-VHOSM5G4.js.map} +0 -0
  676. /package/dist/{chunk-QBLDCI6E.js.map → chunk-VMNCZ627.js.map} +0 -0
  677. /package/dist/{chunk-P3ONDDIJ.js.map → chunk-VV4ZVUE6.js.map} +0 -0
  678. /package/dist/{chunk-A7GQBJP5.js.map → chunk-X2NFFBTO.js.map} +0 -0
  679. /package/dist/{chunk-ECKG5WSI.js.map → chunk-XGRXQR6T.js.map} +0 -0
  680. /package/dist/{chunk-LNDLXMH6.js.map → chunk-XN6XT6GR.js.map} +0 -0
  681. /package/dist/{chunk-C6KRO3SU.js.map → chunk-XVDZFTN5.js.map} +0 -0
  682. /package/dist/{chunk-2BQ4ZIWC.js.map → chunk-XWLLFKHM.js.map} +0 -0
  683. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  684. /package/dist/{chunk-BNGHPYZU.js.map → chunk-YUW66UAH.js.map} +0 -0
  685. /package/dist/{chunk-5JG5EBVL.js.map → chunk-ZEGL7YCC.js.map} +0 -0
  686. /package/dist/{chunk-PHP3MUGF.js.map → chunk-ZKZFFWLV.js.map} +0 -0
  687. /package/dist/{chunk-GCBIXUPT.js.map → chunk-ZMWSYUUL.js.map} +0 -0
  688. /package/dist/{chunk-X2QPKLPL.js.map → chunk-ZZUVBZL2.js.map} +0 -0
  689. /package/dist/{first-start-migration-L3UFX5CU.js.map → first-start-migration-ZWMV5CX4.js.map} +0 -0
  690. /package/dist/{tier-stats-VK5PCO2L.js.map → tier-stats-LUSUUNU6.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: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
10
+ source: "extraction" | "manual" | "unknown" | "consolidation" | "replay";
11
11
  confidence: number;
12
+ lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
12
13
  importance: number;
13
- lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
14
14
  }, {
15
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
15
+ source: "extraction" | "manual" | "unknown" | "consolidation" | "replay";
16
16
  confidence: number;
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>;
@@ -63,11 +63,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
63
63
  type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
67
66
  value: string;
67
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
68
68
  }, {
69
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
70
69
  value: string;
70
+ type: "constraint" | "file" | "entity" | "tool" | "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"]>>>;
@@ -108,16 +108,38 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
108
108
  expectedOutcome?: string | null | undefined;
109
109
  optional?: boolean | null | undefined;
110
110
  }>, "many">>>;
111
+ span: z.ZodNullable<z.ZodOptional<z.ZodObject<{
112
+ sourceMessageIndex: z.ZodNumber;
113
+ charStart: z.ZodNumber;
114
+ charEnd: z.ZodNumber;
115
+ frame: z.ZodString;
116
+ sourceHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
117
+ sourceLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ sourceMessageIndex: number;
120
+ charStart: number;
121
+ charEnd: number;
122
+ frame: string;
123
+ sourceHash?: string | null | undefined;
124
+ sourceLength?: number | null | undefined;
125
+ }, {
126
+ sourceMessageIndex: number;
127
+ charStart: number;
128
+ charEnd: number;
129
+ frame: string;
130
+ sourceHash?: string | null | undefined;
131
+ sourceLength?: number | null | undefined;
132
+ }>>>;
111
133
  reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
112
134
  steps: z.ZodArray<z.ZodObject<{
113
135
  order: z.ZodNumber;
114
136
  description: z.ZodString;
115
137
  }, "strip", z.ZodTypeAny, {
116
- description: string;
117
138
  order: number;
118
- }, {
119
139
  description: string;
140
+ }, {
120
141
  order: number;
142
+ description: string;
121
143
  }>, "many">;
122
144
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
145
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,8 +147,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
125
147
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
148
  }, "strip", z.ZodTypeAny, {
127
149
  steps: {
128
- description: string;
129
150
  order: number;
151
+ description: string;
130
152
  }[];
131
153
  finalAnswer?: string | null | undefined;
132
154
  final_answer?: string | null | undefined;
@@ -134,8 +156,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
134
156
  observed_outcome?: string | null | undefined;
135
157
  }, {
136
158
  steps: {
137
- description: string;
138
159
  order: number;
160
+ description: string;
139
161
  }[];
140
162
  finalAnswer?: string | null | undefined;
141
163
  final_answer?: string | null | undefined;
@@ -143,8 +165,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
143
165
  observed_outcome?: string | null | undefined;
144
166
  }>, {
145
167
  steps: {
146
- description: string;
147
168
  order: number;
169
+ description: string;
148
170
  }[];
149
171
  finalAnswer?: string | null | undefined;
150
172
  final_answer?: string | null | undefined;
@@ -152,8 +174,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
174
  observed_outcome?: string | null | undefined;
153
175
  }, {
154
176
  steps: {
155
- description: string;
156
177
  order: number;
178
+ description: string;
157
179
  }[];
158
180
  finalAnswer?: string | null | undefined;
159
181
  final_answer?: string | null | undefined;
@@ -163,17 +185,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
163
185
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
186
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
187
  }, "strip", z.ZodTypeAny, {
166
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
188
+ tags: string[];
167
189
  content: string;
168
190
  confidence: number;
169
- tags: string[];
191
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
192
+ scope?: "project" | "global" | null | undefined;
170
193
  subject?: "user" | "agent" | null | undefined;
171
194
  entityRef?: string | null | undefined;
172
195
  structuredAttributes?: Record<string, string> | null | undefined;
173
- scope?: "project" | "global" | null | undefined;
174
196
  cueAnchors?: {
175
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
176
197
  value: string;
198
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
177
199
  }[] | null | undefined;
178
200
  promptedByQuestion?: string | null | undefined;
179
201
  quote?: string | null | undefined;
@@ -187,10 +209,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
187
209
  expectedOutcome?: string | null | undefined;
188
210
  optional?: boolean | null | undefined;
189
211
  }[] | null | undefined;
212
+ span?: {
213
+ sourceMessageIndex: number;
214
+ charStart: number;
215
+ charEnd: number;
216
+ frame: string;
217
+ sourceHash?: string | null | undefined;
218
+ sourceLength?: number | null | undefined;
219
+ } | null | undefined;
190
220
  reasoningTrace?: {
191
221
  steps: {
192
- description: string;
193
222
  order: number;
223
+ description: string;
194
224
  }[];
195
225
  finalAnswer?: string | null | undefined;
196
226
  final_answer?: string | null | undefined;
@@ -200,17 +230,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
200
230
  eventTime?: string | null | undefined;
201
231
  event_time?: string | null | undefined;
202
232
  }, {
203
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
233
+ tags: string[];
204
234
  content: string;
205
235
  confidence: number;
206
- tags: string[];
236
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
237
+ scope?: "project" | "global" | null | undefined;
207
238
  subject?: "user" | "agent" | null | undefined;
208
239
  entityRef?: string | null | undefined;
209
240
  structuredAttributes?: Record<string, string> | null | undefined;
210
- scope?: "project" | "global" | null | undefined;
211
241
  cueAnchors?: {
212
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
213
242
  value: string;
243
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
214
244
  }[] | null | undefined;
215
245
  promptedByQuestion?: string | null | undefined;
216
246
  quote?: string | null | undefined;
@@ -224,10 +254,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
224
254
  expectedOutcome?: string | null | undefined;
225
255
  optional?: boolean | null | undefined;
226
256
  }[] | null | undefined;
257
+ span?: {
258
+ sourceMessageIndex: number;
259
+ charStart: number;
260
+ charEnd: number;
261
+ frame: string;
262
+ sourceHash?: string | null | undefined;
263
+ sourceLength?: number | null | undefined;
264
+ } | null | undefined;
227
265
  reasoningTrace?: {
228
266
  steps: {
229
- description: string;
230
267
  order: number;
268
+ description: string;
231
269
  }[];
232
270
  finalAnswer?: string | null | undefined;
233
271
  final_answer?: string | null | undefined;
@@ -237,17 +275,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
237
275
  eventTime?: string | null | undefined;
238
276
  event_time?: string | null | undefined;
239
277
  }>, {
240
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
278
+ tags: string[];
241
279
  content: string;
242
280
  confidence: number;
243
- tags: string[];
281
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
282
+ scope?: "project" | "global" | null | undefined;
244
283
  subject?: "user" | "agent" | null | undefined;
245
284
  entityRef?: string | null | undefined;
246
285
  structuredAttributes?: Record<string, string> | null | undefined;
247
- scope?: "project" | "global" | null | undefined;
248
286
  cueAnchors?: {
249
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
250
287
  value: string;
288
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
251
289
  }[] | null | undefined;
252
290
  promptedByQuestion?: string | null | undefined;
253
291
  quote?: string | null | undefined;
@@ -261,10 +299,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
261
299
  expectedOutcome?: string | null | undefined;
262
300
  optional?: boolean | null | undefined;
263
301
  }[] | null | undefined;
302
+ span?: {
303
+ sourceMessageIndex: number;
304
+ charStart: number;
305
+ charEnd: number;
306
+ frame: string;
307
+ sourceHash?: string | null | undefined;
308
+ sourceLength?: number | null | undefined;
309
+ } | null | undefined;
264
310
  reasoningTrace?: {
265
311
  steps: {
266
- description: string;
267
312
  order: number;
313
+ description: string;
268
314
  }[];
269
315
  finalAnswer?: string | null | undefined;
270
316
  final_answer?: string | null | undefined;
@@ -274,17 +320,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
274
320
  eventTime?: string | null | undefined;
275
321
  event_time?: string | null | undefined;
276
322
  }, {
277
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
323
+ tags: string[];
278
324
  content: string;
279
325
  confidence: number;
280
- tags: string[];
326
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
327
+ scope?: "project" | "global" | null | undefined;
281
328
  subject?: "user" | "agent" | null | undefined;
282
329
  entityRef?: string | null | undefined;
283
330
  structuredAttributes?: Record<string, string> | null | undefined;
284
- scope?: "project" | "global" | null | undefined;
285
331
  cueAnchors?: {
286
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
287
332
  value: string;
333
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
288
334
  }[] | null | undefined;
289
335
  promptedByQuestion?: string | null | undefined;
290
336
  quote?: string | null | undefined;
@@ -298,10 +344,18 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
298
344
  expectedOutcome?: string | null | undefined;
299
345
  optional?: boolean | null | undefined;
300
346
  }[] | null | undefined;
347
+ span?: {
348
+ sourceMessageIndex: number;
349
+ charStart: number;
350
+ charEnd: number;
351
+ frame: string;
352
+ sourceHash?: string | null | undefined;
353
+ sourceLength?: number | null | undefined;
354
+ } | null | undefined;
301
355
  reasoningTrace?: {
302
356
  steps: {
303
- description: string;
304
357
  order: number;
358
+ description: string;
305
359
  }[];
306
360
  finalAnswer?: string | null | undefined;
307
361
  final_answer?: string | null | undefined;
@@ -321,12 +375,12 @@ declare const EntityMentionSchema: z.ZodObject<{
321
375
  title: z.ZodString;
322
376
  facts: z.ZodArray<z.ZodString, "many">;
323
377
  }, "strip", z.ZodTypeAny, {
324
- key: string;
325
378
  title: string;
379
+ key: string;
326
380
  facts: string[];
327
381
  }, {
328
- key: string;
329
382
  title: string;
383
+ key: string;
330
384
  facts: string[];
331
385
  }>, "many">>>;
332
386
  }, "strip", z.ZodTypeAny, {
@@ -335,8 +389,8 @@ declare const EntityMentionSchema: z.ZodObject<{
335
389
  facts: string[];
336
390
  promptedByQuestion?: string | null | undefined;
337
391
  structuredSections?: {
338
- key: string;
339
392
  title: string;
393
+ key: string;
340
394
  facts: string[];
341
395
  }[] | null | undefined;
342
396
  }, {
@@ -345,8 +399,8 @@ declare const EntityMentionSchema: z.ZodObject<{
345
399
  facts: string[];
346
400
  promptedByQuestion?: string | null | undefined;
347
401
  structuredSections?: {
348
- key: string;
349
402
  title: string;
403
+ key: string;
350
404
  facts: string[];
351
405
  }[] | null | undefined;
352
406
  }>;
@@ -396,13 +450,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
396
450
  label: z.ZodString;
397
451
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
398
452
  }, "strip", z.ZodTypeAny, {
399
- label: string;
400
453
  source: string;
454
+ label: string;
401
455
  target: string;
402
456
  promptedByQuestion?: string | null | undefined;
403
457
  }, {
404
- label: string;
405
458
  source: string;
459
+ label: string;
406
460
  target: string;
407
461
  promptedByQuestion?: string | null | undefined;
408
462
  }>;
@@ -417,11 +471,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
417
471
  type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
418
472
  value: z.ZodString;
419
473
  }, "strip", z.ZodTypeAny, {
420
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
421
474
  value: string;
475
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
422
476
  }, {
423
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
424
477
  value: string;
478
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
425
479
  }>, "many">>>;
426
480
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
481
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -462,16 +516,38 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
462
516
  expectedOutcome?: string | null | undefined;
463
517
  optional?: boolean | null | undefined;
464
518
  }>, "many">>>;
519
+ span: z.ZodNullable<z.ZodOptional<z.ZodObject<{
520
+ sourceMessageIndex: z.ZodNumber;
521
+ charStart: z.ZodNumber;
522
+ charEnd: z.ZodNumber;
523
+ frame: z.ZodString;
524
+ sourceHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
525
+ sourceLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ sourceMessageIndex: number;
528
+ charStart: number;
529
+ charEnd: number;
530
+ frame: string;
531
+ sourceHash?: string | null | undefined;
532
+ sourceLength?: number | null | undefined;
533
+ }, {
534
+ sourceMessageIndex: number;
535
+ charStart: number;
536
+ charEnd: number;
537
+ frame: string;
538
+ sourceHash?: string | null | undefined;
539
+ sourceLength?: number | null | undefined;
540
+ }>>>;
465
541
  reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
466
542
  steps: z.ZodArray<z.ZodObject<{
467
543
  order: z.ZodNumber;
468
544
  description: z.ZodString;
469
545
  }, "strip", z.ZodTypeAny, {
470
- description: string;
471
546
  order: number;
472
- }, {
473
547
  description: string;
548
+ }, {
474
549
  order: number;
550
+ description: string;
475
551
  }>, "many">;
476
552
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
553
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -479,8 +555,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
479
555
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
480
556
  }, "strip", z.ZodTypeAny, {
481
557
  steps: {
482
- description: string;
483
558
  order: number;
559
+ description: string;
484
560
  }[];
485
561
  finalAnswer?: string | null | undefined;
486
562
  final_answer?: string | null | undefined;
@@ -488,8 +564,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
488
564
  observed_outcome?: string | null | undefined;
489
565
  }, {
490
566
  steps: {
491
- description: string;
492
567
  order: number;
568
+ description: string;
493
569
  }[];
494
570
  finalAnswer?: string | null | undefined;
495
571
  final_answer?: string | null | undefined;
@@ -497,8 +573,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
497
573
  observed_outcome?: string | null | undefined;
498
574
  }>, {
499
575
  steps: {
500
- description: string;
501
576
  order: number;
577
+ description: string;
502
578
  }[];
503
579
  finalAnswer?: string | null | undefined;
504
580
  final_answer?: string | null | undefined;
@@ -506,8 +582,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
506
582
  observed_outcome?: string | null | undefined;
507
583
  }, {
508
584
  steps: {
509
- description: string;
510
585
  order: number;
586
+ description: string;
511
587
  }[];
512
588
  finalAnswer?: string | null | undefined;
513
589
  final_answer?: string | null | undefined;
@@ -517,17 +593,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
517
593
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
594
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
595
  }, "strip", z.ZodTypeAny, {
520
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
596
+ tags: string[];
521
597
  content: string;
522
598
  confidence: number;
523
- tags: string[];
599
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
600
+ scope?: "project" | "global" | null | undefined;
524
601
  subject?: "user" | "agent" | null | undefined;
525
602
  entityRef?: string | null | undefined;
526
603
  structuredAttributes?: Record<string, string> | null | undefined;
527
- scope?: "project" | "global" | null | undefined;
528
604
  cueAnchors?: {
529
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
530
605
  value: string;
606
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
531
607
  }[] | null | undefined;
532
608
  promptedByQuestion?: string | null | undefined;
533
609
  quote?: string | null | undefined;
@@ -541,10 +617,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
541
617
  expectedOutcome?: string | null | undefined;
542
618
  optional?: boolean | null | undefined;
543
619
  }[] | null | undefined;
620
+ span?: {
621
+ sourceMessageIndex: number;
622
+ charStart: number;
623
+ charEnd: number;
624
+ frame: string;
625
+ sourceHash?: string | null | undefined;
626
+ sourceLength?: number | null | undefined;
627
+ } | null | undefined;
544
628
  reasoningTrace?: {
545
629
  steps: {
546
- description: string;
547
630
  order: number;
631
+ description: string;
548
632
  }[];
549
633
  finalAnswer?: string | null | undefined;
550
634
  final_answer?: string | null | undefined;
@@ -554,17 +638,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
554
638
  eventTime?: string | null | undefined;
555
639
  event_time?: string | null | undefined;
556
640
  }, {
557
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
641
+ tags: string[];
558
642
  content: string;
559
643
  confidence: number;
560
- tags: string[];
644
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
645
+ scope?: "project" | "global" | null | undefined;
561
646
  subject?: "user" | "agent" | null | undefined;
562
647
  entityRef?: string | null | undefined;
563
648
  structuredAttributes?: Record<string, string> | null | undefined;
564
- scope?: "project" | "global" | null | undefined;
565
649
  cueAnchors?: {
566
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
567
650
  value: string;
651
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
568
652
  }[] | null | undefined;
569
653
  promptedByQuestion?: string | null | undefined;
570
654
  quote?: string | null | undefined;
@@ -578,10 +662,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
578
662
  expectedOutcome?: string | null | undefined;
579
663
  optional?: boolean | null | undefined;
580
664
  }[] | null | undefined;
665
+ span?: {
666
+ sourceMessageIndex: number;
667
+ charStart: number;
668
+ charEnd: number;
669
+ frame: string;
670
+ sourceHash?: string | null | undefined;
671
+ sourceLength?: number | null | undefined;
672
+ } | null | undefined;
581
673
  reasoningTrace?: {
582
674
  steps: {
583
- description: string;
584
675
  order: number;
676
+ description: string;
585
677
  }[];
586
678
  finalAnswer?: string | null | undefined;
587
679
  final_answer?: string | null | undefined;
@@ -591,17 +683,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
591
683
  eventTime?: string | null | undefined;
592
684
  event_time?: string | null | undefined;
593
685
  }>, {
594
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
686
+ tags: string[];
595
687
  content: string;
596
688
  confidence: number;
597
- tags: string[];
689
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
690
+ scope?: "project" | "global" | null | undefined;
598
691
  subject?: "user" | "agent" | null | undefined;
599
692
  entityRef?: string | null | undefined;
600
693
  structuredAttributes?: Record<string, string> | null | undefined;
601
- scope?: "project" | "global" | null | undefined;
602
694
  cueAnchors?: {
603
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
604
695
  value: string;
696
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
605
697
  }[] | null | undefined;
606
698
  promptedByQuestion?: string | null | undefined;
607
699
  quote?: string | null | undefined;
@@ -615,10 +707,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
615
707
  expectedOutcome?: string | null | undefined;
616
708
  optional?: boolean | null | undefined;
617
709
  }[] | null | undefined;
710
+ span?: {
711
+ sourceMessageIndex: number;
712
+ charStart: number;
713
+ charEnd: number;
714
+ frame: string;
715
+ sourceHash?: string | null | undefined;
716
+ sourceLength?: number | null | undefined;
717
+ } | null | undefined;
618
718
  reasoningTrace?: {
619
719
  steps: {
620
- description: string;
621
720
  order: number;
721
+ description: string;
622
722
  }[];
623
723
  finalAnswer?: string | null | undefined;
624
724
  final_answer?: string | null | undefined;
@@ -628,17 +728,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
628
728
  eventTime?: string | null | undefined;
629
729
  event_time?: string | null | undefined;
630
730
  }, {
631
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
731
+ tags: string[];
632
732
  content: string;
633
733
  confidence: number;
634
- tags: string[];
734
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
735
+ scope?: "project" | "global" | null | undefined;
635
736
  subject?: "user" | "agent" | null | undefined;
636
737
  entityRef?: string | null | undefined;
637
738
  structuredAttributes?: Record<string, string> | null | undefined;
638
- scope?: "project" | "global" | null | undefined;
639
739
  cueAnchors?: {
640
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
641
740
  value: string;
741
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
642
742
  }[] | null | undefined;
643
743
  promptedByQuestion?: string | null | undefined;
644
744
  quote?: string | null | undefined;
@@ -652,10 +752,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
652
752
  expectedOutcome?: string | null | undefined;
653
753
  optional?: boolean | null | undefined;
654
754
  }[] | null | undefined;
755
+ span?: {
756
+ sourceMessageIndex: number;
757
+ charStart: number;
758
+ charEnd: number;
759
+ frame: string;
760
+ sourceHash?: string | null | undefined;
761
+ sourceLength?: number | null | undefined;
762
+ } | null | undefined;
655
763
  reasoningTrace?: {
656
764
  steps: {
657
- description: string;
658
765
  order: number;
766
+ description: string;
659
767
  }[];
660
768
  finalAnswer?: string | null | undefined;
661
769
  final_answer?: string | null | undefined;
@@ -676,12 +784,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
676
784
  title: z.ZodString;
677
785
  facts: z.ZodArray<z.ZodString, "many">;
678
786
  }, "strip", z.ZodTypeAny, {
679
- key: string;
680
787
  title: string;
788
+ key: string;
681
789
  facts: string[];
682
790
  }, {
683
- key: string;
684
791
  title: string;
792
+ key: string;
685
793
  facts: string[];
686
794
  }>, "many">>>;
687
795
  }, "strip", z.ZodTypeAny, {
@@ -690,8 +798,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
690
798
  facts: string[];
691
799
  promptedByQuestion?: string | null | undefined;
692
800
  structuredSections?: {
693
- key: string;
694
801
  title: string;
802
+ key: string;
695
803
  facts: string[];
696
804
  }[] | null | undefined;
697
805
  }, {
@@ -700,8 +808,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
700
808
  facts: string[];
701
809
  promptedByQuestion?: string | null | undefined;
702
810
  structuredSections?: {
703
- key: string;
704
811
  title: string;
812
+ key: string;
705
813
  facts: string[];
706
814
  }[] | null | undefined;
707
815
  }>, "many">;
@@ -711,29 +819,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
711
819
  label: z.ZodString;
712
820
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
713
821
  }, "strip", z.ZodTypeAny, {
714
- label: string;
715
822
  source: string;
823
+ label: string;
716
824
  target: string;
717
825
  promptedByQuestion?: string | null | undefined;
718
826
  }, {
719
- label: string;
720
827
  source: string;
828
+ label: string;
721
829
  target: string;
722
830
  promptedByQuestion?: string | null | undefined;
723
831
  }>, "many">>>;
724
832
  }, "strip", z.ZodTypeAny, {
725
833
  facts: {
726
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
834
+ tags: string[];
727
835
  content: string;
728
836
  confidence: number;
729
- tags: string[];
837
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
838
+ scope?: "project" | "global" | null | undefined;
730
839
  subject?: "user" | "agent" | null | undefined;
731
840
  entityRef?: string | null | undefined;
732
841
  structuredAttributes?: Record<string, string> | null | undefined;
733
- scope?: "project" | "global" | null | undefined;
734
842
  cueAnchors?: {
735
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
736
843
  value: string;
844
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
737
845
  }[] | null | undefined;
738
846
  promptedByQuestion?: string | null | undefined;
739
847
  quote?: string | null | undefined;
@@ -747,10 +855,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
747
855
  expectedOutcome?: string | null | undefined;
748
856
  optional?: boolean | null | undefined;
749
857
  }[] | null | undefined;
858
+ span?: {
859
+ sourceMessageIndex: number;
860
+ charStart: number;
861
+ charEnd: number;
862
+ frame: string;
863
+ sourceHash?: string | null | undefined;
864
+ sourceLength?: number | null | undefined;
865
+ } | null | undefined;
750
866
  reasoningTrace?: {
751
867
  steps: {
752
- description: string;
753
868
  order: number;
869
+ description: string;
754
870
  }[];
755
871
  finalAnswer?: string | null | undefined;
756
872
  final_answer?: string | null | undefined;
@@ -766,31 +882,31 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
766
882
  facts: string[];
767
883
  promptedByQuestion?: string | null | undefined;
768
884
  structuredSections?: {
769
- key: string;
770
885
  title: string;
886
+ key: string;
771
887
  facts: string[];
772
888
  }[] | null | undefined;
773
889
  }[];
774
890
  profileUpdates: string[];
775
891
  relationships?: {
776
- label: string;
777
892
  source: string;
893
+ label: string;
778
894
  target: string;
779
895
  promptedByQuestion?: string | null | undefined;
780
896
  }[] | null | undefined;
781
897
  }, {
782
898
  facts: {
783
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
899
+ tags: string[];
784
900
  content: string;
785
901
  confidence: number;
786
- tags: string[];
902
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
903
+ scope?: "project" | "global" | null | undefined;
787
904
  subject?: "user" | "agent" | null | undefined;
788
905
  entityRef?: string | null | undefined;
789
906
  structuredAttributes?: Record<string, string> | null | undefined;
790
- scope?: "project" | "global" | null | undefined;
791
907
  cueAnchors?: {
792
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
793
908
  value: string;
909
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
794
910
  }[] | null | undefined;
795
911
  promptedByQuestion?: string | null | undefined;
796
912
  quote?: string | null | undefined;
@@ -804,10 +920,18 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
804
920
  expectedOutcome?: string | null | undefined;
805
921
  optional?: boolean | null | undefined;
806
922
  }[] | null | undefined;
923
+ span?: {
924
+ sourceMessageIndex: number;
925
+ charStart: number;
926
+ charEnd: number;
927
+ frame: string;
928
+ sourceHash?: string | null | undefined;
929
+ sourceLength?: number | null | undefined;
930
+ } | null | undefined;
807
931
  reasoningTrace?: {
808
932
  steps: {
809
- description: string;
810
933
  order: number;
934
+ description: string;
811
935
  }[];
812
936
  finalAnswer?: string | null | undefined;
813
937
  final_answer?: string | null | undefined;
@@ -823,32 +947,32 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
823
947
  facts: string[];
824
948
  promptedByQuestion?: string | null | undefined;
825
949
  structuredSections?: {
826
- key: string;
827
950
  title: string;
951
+ key: string;
828
952
  facts: string[];
829
953
  }[] | null | undefined;
830
954
  }[];
831
955
  profileUpdates: string[];
832
956
  relationships?: {
833
- label: string;
834
957
  source: string;
958
+ label: string;
835
959
  target: string;
836
960
  promptedByQuestion?: string | null | undefined;
837
961
  }[] | null | undefined;
838
962
  }>;
839
963
  declare const ExtractionResultSchema: z.ZodObject<{
840
964
  facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
841
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
965
+ tags: string[];
842
966
  content: string;
843
967
  confidence: number;
844
- tags: string[];
968
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
969
+ scope?: "project" | "global" | null | undefined;
845
970
  subject?: "user" | "agent" | null | undefined;
846
971
  entityRef?: string | null | undefined;
847
972
  structuredAttributes?: Record<string, string> | null | undefined;
848
- scope?: "project" | "global" | null | undefined;
849
973
  cueAnchors?: {
850
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
851
974
  value: string;
975
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
852
976
  }[] | null | undefined;
853
977
  promptedByQuestion?: string | null | undefined;
854
978
  quote?: string | null | undefined;
@@ -862,10 +986,18 @@ declare const ExtractionResultSchema: z.ZodObject<{
862
986
  expectedOutcome?: string | null | undefined;
863
987
  optional?: boolean | null | undefined;
864
988
  }[] | null | undefined;
989
+ span?: {
990
+ sourceMessageIndex: number;
991
+ charStart: number;
992
+ charEnd: number;
993
+ frame: string;
994
+ sourceHash?: string | null | undefined;
995
+ sourceLength?: number | null | undefined;
996
+ } | null | undefined;
865
997
  reasoningTrace?: {
866
998
  steps: {
867
- description: string;
868
999
  order: number;
1000
+ description: string;
869
1001
  }[];
870
1002
  finalAnswer?: string | null | undefined;
871
1003
  final_answer?: string | null | undefined;
@@ -882,8 +1014,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
882
1014
  facts: string[];
883
1015
  promptedByQuestion?: string | null | undefined;
884
1016
  structuredSections?: {
885
- key: string;
886
1017
  title: string;
1018
+ key: string;
887
1019
  facts: string[];
888
1020
  }[] | null | undefined;
889
1021
  }[], unknown[]>;
@@ -895,8 +1027,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
895
1027
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
896
1028
  episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
897
1029
  relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
898
- label: string;
899
1030
  source: string;
1031
+ label: string;
900
1032
  target: string;
901
1033
  promptedByQuestion?: string | null | undefined;
902
1034
  }[], unknown[]>>>;
@@ -907,17 +1039,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
907
1039
  context: string;
908
1040
  }[];
909
1041
  facts: {
910
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1042
+ tags: string[];
911
1043
  content: string;
912
1044
  confidence: number;
913
- tags: string[];
1045
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1046
+ scope?: "project" | "global" | null | undefined;
914
1047
  subject?: "user" | "agent" | null | undefined;
915
1048
  entityRef?: string | null | undefined;
916
1049
  structuredAttributes?: Record<string, string> | null | undefined;
917
- scope?: "project" | "global" | null | undefined;
918
1050
  cueAnchors?: {
919
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
920
1051
  value: string;
1052
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
921
1053
  }[] | null | undefined;
922
1054
  promptedByQuestion?: string | null | undefined;
923
1055
  quote?: string | null | undefined;
@@ -931,10 +1063,18 @@ declare const ExtractionResultSchema: z.ZodObject<{
931
1063
  expectedOutcome?: string | null | undefined;
932
1064
  optional?: boolean | null | undefined;
933
1065
  }[] | null | undefined;
1066
+ span?: {
1067
+ sourceMessageIndex: number;
1068
+ charStart: number;
1069
+ charEnd: number;
1070
+ frame: string;
1071
+ sourceHash?: string | null | undefined;
1072
+ sourceLength?: number | null | undefined;
1073
+ } | null | undefined;
934
1074
  reasoningTrace?: {
935
1075
  steps: {
936
- description: string;
937
1076
  order: number;
1077
+ description: string;
938
1078
  }[];
939
1079
  finalAnswer?: string | null | undefined;
940
1080
  final_answer?: string | null | undefined;
@@ -950,15 +1090,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
950
1090
  facts: string[];
951
1091
  promptedByQuestion?: string | null | undefined;
952
1092
  structuredSections?: {
953
- key: string;
954
1093
  title: string;
1094
+ key: string;
955
1095
  facts: string[];
956
1096
  }[] | null | undefined;
957
1097
  }[];
958
1098
  profileUpdates: string[];
959
1099
  relationships?: {
960
- label: string;
961
1100
  source: string;
1101
+ label: string;
962
1102
  target: string;
963
1103
  promptedByQuestion?: string | null | undefined;
964
1104
  }[] | null | undefined;
@@ -990,11 +1130,11 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
990
1130
  type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
991
1131
  value: z.ZodString;
992
1132
  }, "strip", z.ZodTypeAny, {
993
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
994
1133
  value: string;
1134
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
995
1135
  }, {
996
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
997
1136
  value: string;
1137
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
998
1138
  }>, "many">>>;
999
1139
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1000
1140
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -1035,16 +1175,38 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1035
1175
  expectedOutcome?: string | null | undefined;
1036
1176
  optional?: boolean | null | undefined;
1037
1177
  }>, "many">>>;
1178
+ span: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1179
+ sourceMessageIndex: z.ZodNumber;
1180
+ charStart: z.ZodNumber;
1181
+ charEnd: z.ZodNumber;
1182
+ frame: z.ZodString;
1183
+ sourceHash: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1184
+ sourceLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ sourceMessageIndex: number;
1187
+ charStart: number;
1188
+ charEnd: number;
1189
+ frame: string;
1190
+ sourceHash?: string | null | undefined;
1191
+ sourceLength?: number | null | undefined;
1192
+ }, {
1193
+ sourceMessageIndex: number;
1194
+ charStart: number;
1195
+ charEnd: number;
1196
+ frame: string;
1197
+ sourceHash?: string | null | undefined;
1198
+ sourceLength?: number | null | undefined;
1199
+ }>>>;
1038
1200
  reasoningTrace: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodObject<{
1039
1201
  steps: z.ZodArray<z.ZodObject<{
1040
1202
  order: z.ZodNumber;
1041
1203
  description: z.ZodString;
1042
1204
  }, "strip", z.ZodTypeAny, {
1043
- description: string;
1044
1205
  order: number;
1045
- }, {
1046
1206
  description: string;
1207
+ }, {
1047
1208
  order: number;
1209
+ description: string;
1048
1210
  }>, "many">;
1049
1211
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1050
1212
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1052,8 +1214,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1052
1214
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1053
1215
  }, "strip", z.ZodTypeAny, {
1054
1216
  steps: {
1055
- description: string;
1056
1217
  order: number;
1218
+ description: string;
1057
1219
  }[];
1058
1220
  finalAnswer?: string | null | undefined;
1059
1221
  final_answer?: string | null | undefined;
@@ -1061,8 +1223,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1061
1223
  observed_outcome?: string | null | undefined;
1062
1224
  }, {
1063
1225
  steps: {
1064
- description: string;
1065
1226
  order: number;
1227
+ description: string;
1066
1228
  }[];
1067
1229
  finalAnswer?: string | null | undefined;
1068
1230
  final_answer?: string | null | undefined;
@@ -1070,8 +1232,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1070
1232
  observed_outcome?: string | null | undefined;
1071
1233
  }>, {
1072
1234
  steps: {
1073
- description: string;
1074
1235
  order: number;
1236
+ description: string;
1075
1237
  }[];
1076
1238
  finalAnswer?: string | null | undefined;
1077
1239
  final_answer?: string | null | undefined;
@@ -1079,8 +1241,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1079
1241
  observed_outcome?: string | null | undefined;
1080
1242
  }, {
1081
1243
  steps: {
1082
- description: string;
1083
1244
  order: number;
1245
+ description: string;
1084
1246
  }[];
1085
1247
  finalAnswer?: string | null | undefined;
1086
1248
  final_answer?: string | null | undefined;
@@ -1090,17 +1252,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1090
1252
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1091
1253
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1092
1254
  }, "strip", z.ZodTypeAny, {
1093
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1255
+ tags: string[];
1094
1256
  content: string;
1095
1257
  confidence: number;
1096
- tags: string[];
1258
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1259
+ scope?: "project" | "global" | null | undefined;
1097
1260
  subject?: "user" | "agent" | null | undefined;
1098
1261
  entityRef?: string | null | undefined;
1099
1262
  structuredAttributes?: Record<string, string> | null | undefined;
1100
- scope?: "project" | "global" | null | undefined;
1101
1263
  cueAnchors?: {
1102
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1103
1264
  value: string;
1265
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1104
1266
  }[] | null | undefined;
1105
1267
  promptedByQuestion?: string | null | undefined;
1106
1268
  quote?: string | null | undefined;
@@ -1114,10 +1276,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1114
1276
  expectedOutcome?: string | null | undefined;
1115
1277
  optional?: boolean | null | undefined;
1116
1278
  }[] | null | undefined;
1279
+ span?: {
1280
+ sourceMessageIndex: number;
1281
+ charStart: number;
1282
+ charEnd: number;
1283
+ frame: string;
1284
+ sourceHash?: string | null | undefined;
1285
+ sourceLength?: number | null | undefined;
1286
+ } | null | undefined;
1117
1287
  reasoningTrace?: {
1118
1288
  steps: {
1119
- description: string;
1120
1289
  order: number;
1290
+ description: string;
1121
1291
  }[];
1122
1292
  finalAnswer?: string | null | undefined;
1123
1293
  final_answer?: string | null | undefined;
@@ -1127,17 +1297,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1127
1297
  eventTime?: string | null | undefined;
1128
1298
  event_time?: string | null | undefined;
1129
1299
  }, {
1130
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1300
+ tags: string[];
1131
1301
  content: string;
1132
1302
  confidence: number;
1133
- tags: string[];
1303
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1304
+ scope?: "project" | "global" | null | undefined;
1134
1305
  subject?: "user" | "agent" | null | undefined;
1135
1306
  entityRef?: string | null | undefined;
1136
1307
  structuredAttributes?: Record<string, string> | null | undefined;
1137
- scope?: "project" | "global" | null | undefined;
1138
1308
  cueAnchors?: {
1139
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1140
1309
  value: string;
1310
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1141
1311
  }[] | null | undefined;
1142
1312
  promptedByQuestion?: string | null | undefined;
1143
1313
  quote?: string | null | undefined;
@@ -1151,10 +1321,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1151
1321
  expectedOutcome?: string | null | undefined;
1152
1322
  optional?: boolean | null | undefined;
1153
1323
  }[] | null | undefined;
1324
+ span?: {
1325
+ sourceMessageIndex: number;
1326
+ charStart: number;
1327
+ charEnd: number;
1328
+ frame: string;
1329
+ sourceHash?: string | null | undefined;
1330
+ sourceLength?: number | null | undefined;
1331
+ } | null | undefined;
1154
1332
  reasoningTrace?: {
1155
1333
  steps: {
1156
- description: string;
1157
1334
  order: number;
1335
+ description: string;
1158
1336
  }[];
1159
1337
  finalAnswer?: string | null | undefined;
1160
1338
  final_answer?: string | null | undefined;
@@ -1164,17 +1342,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1164
1342
  eventTime?: string | null | undefined;
1165
1343
  event_time?: string | null | undefined;
1166
1344
  }>, {
1167
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1345
+ tags: string[];
1168
1346
  content: string;
1169
1347
  confidence: number;
1170
- tags: string[];
1348
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1349
+ scope?: "project" | "global" | null | undefined;
1171
1350
  subject?: "user" | "agent" | null | undefined;
1172
1351
  entityRef?: string | null | undefined;
1173
1352
  structuredAttributes?: Record<string, string> | null | undefined;
1174
- scope?: "project" | "global" | null | undefined;
1175
1353
  cueAnchors?: {
1176
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1177
1354
  value: string;
1355
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1178
1356
  }[] | null | undefined;
1179
1357
  promptedByQuestion?: string | null | undefined;
1180
1358
  quote?: string | null | undefined;
@@ -1188,10 +1366,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1188
1366
  expectedOutcome?: string | null | undefined;
1189
1367
  optional?: boolean | null | undefined;
1190
1368
  }[] | null | undefined;
1369
+ span?: {
1370
+ sourceMessageIndex: number;
1371
+ charStart: number;
1372
+ charEnd: number;
1373
+ frame: string;
1374
+ sourceHash?: string | null | undefined;
1375
+ sourceLength?: number | null | undefined;
1376
+ } | null | undefined;
1191
1377
  reasoningTrace?: {
1192
1378
  steps: {
1193
- description: string;
1194
1379
  order: number;
1380
+ description: string;
1195
1381
  }[];
1196
1382
  finalAnswer?: string | null | undefined;
1197
1383
  final_answer?: string | null | undefined;
@@ -1201,17 +1387,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1201
1387
  eventTime?: string | null | undefined;
1202
1388
  event_time?: string | null | undefined;
1203
1389
  }, {
1204
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1390
+ tags: string[];
1205
1391
  content: string;
1206
1392
  confidence: number;
1207
- tags: string[];
1393
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1394
+ scope?: "project" | "global" | null | undefined;
1208
1395
  subject?: "user" | "agent" | null | undefined;
1209
1396
  entityRef?: string | null | undefined;
1210
1397
  structuredAttributes?: Record<string, string> | null | undefined;
1211
- scope?: "project" | "global" | null | undefined;
1212
1398
  cueAnchors?: {
1213
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1214
1399
  value: string;
1400
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1215
1401
  }[] | null | undefined;
1216
1402
  promptedByQuestion?: string | null | undefined;
1217
1403
  quote?: string | null | undefined;
@@ -1225,10 +1411,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1225
1411
  expectedOutcome?: string | null | undefined;
1226
1412
  optional?: boolean | null | undefined;
1227
1413
  }[] | null | undefined;
1414
+ span?: {
1415
+ sourceMessageIndex: number;
1416
+ charStart: number;
1417
+ charEnd: number;
1418
+ frame: string;
1419
+ sourceHash?: string | null | undefined;
1420
+ sourceLength?: number | null | undefined;
1421
+ } | null | undefined;
1228
1422
  reasoningTrace?: {
1229
1423
  steps: {
1230
- description: string;
1231
1424
  order: number;
1425
+ description: string;
1232
1426
  }[];
1233
1427
  finalAnswer?: string | null | undefined;
1234
1428
  final_answer?: string | null | undefined;
@@ -1249,12 +1443,12 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1249
1443
  title: z.ZodString;
1250
1444
  facts: z.ZodArray<z.ZodString, "many">;
1251
1445
  }, "strip", z.ZodTypeAny, {
1252
- key: string;
1253
1446
  title: string;
1447
+ key: string;
1254
1448
  facts: string[];
1255
1449
  }, {
1256
- key: string;
1257
1450
  title: string;
1451
+ key: string;
1258
1452
  facts: string[];
1259
1453
  }>, "many">>>;
1260
1454
  }, "strip", z.ZodTypeAny, {
@@ -1263,8 +1457,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1263
1457
  facts: string[];
1264
1458
  promptedByQuestion?: string | null | undefined;
1265
1459
  structuredSections?: {
1266
- key: string;
1267
1460
  title: string;
1461
+ key: string;
1268
1462
  facts: string[];
1269
1463
  }[] | null | undefined;
1270
1464
  }, {
@@ -1273,8 +1467,8 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1273
1467
  facts: string[];
1274
1468
  promptedByQuestion?: string | null | undefined;
1275
1469
  structuredSections?: {
1276
- key: string;
1277
1470
  title: string;
1471
+ key: string;
1278
1472
  facts: string[];
1279
1473
  }[] | null | undefined;
1280
1474
  }>, "many">;
@@ -1299,13 +1493,13 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1299
1493
  label: z.ZodString;
1300
1494
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1301
1495
  }, "strip", z.ZodTypeAny, {
1302
- label: string;
1303
1496
  source: string;
1497
+ label: string;
1304
1498
  target: string;
1305
1499
  promptedByQuestion?: string | null | undefined;
1306
1500
  }, {
1307
- label: string;
1308
1501
  source: string;
1502
+ label: string;
1309
1503
  target: string;
1310
1504
  promptedByQuestion?: string | null | undefined;
1311
1505
  }>, "many">>>;
@@ -1316,17 +1510,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1316
1510
  context: string;
1317
1511
  }[];
1318
1512
  facts: {
1319
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1513
+ tags: string[];
1320
1514
  content: string;
1321
1515
  confidence: number;
1322
- tags: string[];
1516
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1517
+ scope?: "project" | "global" | null | undefined;
1323
1518
  subject?: "user" | "agent" | null | undefined;
1324
1519
  entityRef?: string | null | undefined;
1325
1520
  structuredAttributes?: Record<string, string> | null | undefined;
1326
- scope?: "project" | "global" | null | undefined;
1327
1521
  cueAnchors?: {
1328
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1329
1522
  value: string;
1523
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1330
1524
  }[] | null | undefined;
1331
1525
  promptedByQuestion?: string | null | undefined;
1332
1526
  quote?: string | null | undefined;
@@ -1340,10 +1534,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1340
1534
  expectedOutcome?: string | null | undefined;
1341
1535
  optional?: boolean | null | undefined;
1342
1536
  }[] | null | undefined;
1537
+ span?: {
1538
+ sourceMessageIndex: number;
1539
+ charStart: number;
1540
+ charEnd: number;
1541
+ frame: string;
1542
+ sourceHash?: string | null | undefined;
1543
+ sourceLength?: number | null | undefined;
1544
+ } | null | undefined;
1343
1545
  reasoningTrace?: {
1344
1546
  steps: {
1345
- description: string;
1346
1547
  order: number;
1548
+ description: string;
1347
1549
  }[];
1348
1550
  finalAnswer?: string | null | undefined;
1349
1551
  final_answer?: string | null | undefined;
@@ -1359,15 +1561,15 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1359
1561
  facts: string[];
1360
1562
  promptedByQuestion?: string | null | undefined;
1361
1563
  structuredSections?: {
1362
- key: string;
1363
1564
  title: string;
1565
+ key: string;
1364
1566
  facts: string[];
1365
1567
  }[] | null | undefined;
1366
1568
  }[];
1367
1569
  profileUpdates: string[];
1368
1570
  relationships?: {
1369
- label: string;
1370
1571
  source: string;
1572
+ label: string;
1371
1573
  target: string;
1372
1574
  promptedByQuestion?: string | null | undefined;
1373
1575
  }[] | null | undefined;
@@ -1380,17 +1582,17 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1380
1582
  context: string;
1381
1583
  }[];
1382
1584
  facts: {
1383
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1585
+ tags: string[];
1384
1586
  content: string;
1385
1587
  confidence: number;
1386
- tags: string[];
1588
+ category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
1589
+ scope?: "project" | "global" | null | undefined;
1387
1590
  subject?: "user" | "agent" | null | undefined;
1388
1591
  entityRef?: string | null | undefined;
1389
1592
  structuredAttributes?: Record<string, string> | null | undefined;
1390
- scope?: "project" | "global" | null | undefined;
1391
1593
  cueAnchors?: {
1392
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1393
1594
  value: string;
1595
+ type: "constraint" | "file" | "entity" | "tool" | "outcome" | "date";
1394
1596
  }[] | null | undefined;
1395
1597
  promptedByQuestion?: string | null | undefined;
1396
1598
  quote?: string | null | undefined;
@@ -1404,10 +1606,18 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1404
1606
  expectedOutcome?: string | null | undefined;
1405
1607
  optional?: boolean | null | undefined;
1406
1608
  }[] | null | undefined;
1609
+ span?: {
1610
+ sourceMessageIndex: number;
1611
+ charStart: number;
1612
+ charEnd: number;
1613
+ frame: string;
1614
+ sourceHash?: string | null | undefined;
1615
+ sourceLength?: number | null | undefined;
1616
+ } | null | undefined;
1407
1617
  reasoningTrace?: {
1408
1618
  steps: {
1409
- description: string;
1410
1619
  order: number;
1620
+ description: string;
1411
1621
  }[];
1412
1622
  finalAnswer?: string | null | undefined;
1413
1623
  final_answer?: string | null | undefined;
@@ -1423,15 +1633,15 @@ declare const ExtractionProviderOutputSchema: z.ZodObject<{
1423
1633
  facts: string[];
1424
1634
  promptedByQuestion?: string | null | undefined;
1425
1635
  structuredSections?: {
1426
- key: string;
1427
1636
  title: string;
1637
+ key: string;
1428
1638
  facts: string[];
1429
1639
  }[] | null | undefined;
1430
1640
  }[];
1431
1641
  profileUpdates: string[];
1432
1642
  relationships?: {
1433
- label: string;
1434
1643
  source: string;
1644
+ label: string;
1435
1645
  target: string;
1436
1646
  promptedByQuestion?: string | null | undefined;
1437
1647
  }[] | null | undefined;
@@ -1445,14 +1655,14 @@ declare const ConsolidationItemSchema: z.ZodObject<{
1445
1655
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1446
1656
  reason: z.ZodString;
1447
1657
  }, "strip", z.ZodTypeAny, {
1448
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1449
1658
  reason: string;
1659
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1450
1660
  existingId: string;
1451
1661
  mergeWith?: string | null | undefined;
1452
1662
  updatedContent?: string | null | undefined;
1453
1663
  }, {
1454
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1455
1664
  reason: string;
1665
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1456
1666
  existingId: string;
1457
1667
  mergeWith?: string | null | undefined;
1458
1668
  updatedContent?: string | null | undefined;
@@ -1465,14 +1675,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1465
1675
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1466
1676
  reason: z.ZodString;
1467
1677
  }, "strip", z.ZodTypeAny, {
1468
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1469
1678
  reason: string;
1679
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1470
1680
  existingId: string;
1471
1681
  mergeWith?: string | null | undefined;
1472
1682
  updatedContent?: string | null | undefined;
1473
1683
  }, {
1474
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1475
1684
  reason: string;
1685
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1476
1686
  existingId: string;
1477
1687
  mergeWith?: string | null | undefined;
1478
1688
  updatedContent?: string | null | undefined;
@@ -1488,12 +1698,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1488
1698
  title: z.ZodString;
1489
1699
  facts: z.ZodArray<z.ZodString, "many">;
1490
1700
  }, "strip", z.ZodTypeAny, {
1491
- key: string;
1492
1701
  title: string;
1702
+ key: string;
1493
1703
  facts: string[];
1494
1704
  }, {
1495
- key: string;
1496
1705
  title: string;
1706
+ key: string;
1497
1707
  facts: string[];
1498
1708
  }>, "many">>>;
1499
1709
  }, "strip", z.ZodTypeAny, {
@@ -1502,8 +1712,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1502
1712
  facts: string[];
1503
1713
  promptedByQuestion?: string | null | undefined;
1504
1714
  structuredSections?: {
1505
- key: string;
1506
1715
  title: string;
1716
+ key: string;
1507
1717
  facts: string[];
1508
1718
  }[] | null | undefined;
1509
1719
  }, {
@@ -1512,15 +1722,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1512
1722
  facts: string[];
1513
1723
  promptedByQuestion?: string | null | undefined;
1514
1724
  structuredSections?: {
1515
- key: string;
1516
1725
  title: string;
1726
+ key: string;
1517
1727
  facts: string[];
1518
1728
  }[] | null | undefined;
1519
1729
  }>, "many">;
1520
1730
  }, "strip", z.ZodTypeAny, {
1521
1731
  items: {
1522
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1523
1732
  reason: string;
1733
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1524
1734
  existingId: string;
1525
1735
  mergeWith?: string | null | undefined;
1526
1736
  updatedContent?: string | null | undefined;
@@ -1532,15 +1742,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1532
1742
  facts: string[];
1533
1743
  promptedByQuestion?: string | null | undefined;
1534
1744
  structuredSections?: {
1535
- key: string;
1536
1745
  title: string;
1746
+ key: string;
1537
1747
  facts: string[];
1538
1748
  }[] | null | undefined;
1539
1749
  }[];
1540
1750
  }, {
1541
1751
  items: {
1542
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1543
1752
  reason: string;
1753
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1544
1754
  existingId: string;
1545
1755
  mergeWith?: string | null | undefined;
1546
1756
  updatedContent?: string | null | undefined;
@@ -1552,8 +1762,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1552
1762
  facts: string[];
1553
1763
  promptedByQuestion?: string | null | undefined;
1554
1764
  structuredSections?: {
1555
- key: string;
1556
1765
  title: string;
1766
+ key: string;
1557
1767
  facts: string[];
1558
1768
  }[] | null | undefined;
1559
1769
  }[];