@remnic/core 9.49.0 → 9.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (606) hide show
  1. package/dist/abstraction-nodes.d.ts +12 -1
  2. package/dist/abstraction-nodes.js +9 -2
  3. package/dist/access-admin-ops-surface.d.ts +10 -10
  4. package/dist/access-admin-ops-surface.js +48 -48
  5. package/dist/access-authorization-probe.d.ts +10 -10
  6. package/dist/access-authorization-probe.js +49 -49
  7. package/dist/access-boundary.d.ts +10 -10
  8. package/dist/access-boundary.js +48 -48
  9. package/dist/access-cli.js +132 -127
  10. package/dist/access-cli.js.map +1 -1
  11. package/dist/access-coding-context-resolution.d.ts +1 -1
  12. package/dist/access-extraction-force-flush.d.ts +10 -10
  13. package/dist/access-extraction-force-flush.js +48 -48
  14. package/dist/access-health-types.d.ts +1 -1
  15. package/dist/access-http-lcm-compaction.d.ts +10 -10
  16. package/dist/access-http-lifecycle-flush.d.ts +10 -10
  17. package/dist/access-http-offline-stream.d.ts +10 -10
  18. package/dist/access-http-query.js +48 -48
  19. package/dist/access-http.d.ts +10 -10
  20. package/dist/access-http.js +60 -60
  21. package/dist/access-identity-continuity-surface.d.ts +8 -8
  22. package/dist/access-identity-continuity-surface.js +48 -48
  23. package/dist/access-lcm-surface.d.ts +10 -10
  24. package/dist/access-lcm-surface.js +48 -48
  25. package/dist/access-mcp.d.ts +10 -10
  26. package/dist/access-mcp.js +55 -55
  27. package/dist/access-memory-search-fanout.d.ts +2 -2
  28. package/dist/{access-namespace-preflight--H6HwN85.d.ts → access-namespace-preflight-DuDU301-.d.ts} +1 -1
  29. package/dist/access-namespace-preflight.d.ts +3 -3
  30. package/dist/access-namespace-preflight.js +48 -48
  31. package/dist/access-observe-write-surface.d.ts +10 -10
  32. package/dist/access-observe-write-surface.js +48 -48
  33. package/dist/access-offline-manifest.d.ts +8 -8
  34. package/dist/access-offline-manifest.js +3 -3
  35. package/dist/access-operations-batch.js +51 -51
  36. package/dist/access-operations.d.ts +13 -13
  37. package/dist/access-operations.js +54 -54
  38. package/dist/access-recall-concurrency.d.ts +10 -10
  39. package/dist/access-recall-concurrency.js +48 -48
  40. package/dist/access-recall-response.d.ts +10 -10
  41. package/dist/access-recall-response.js +48 -48
  42. package/dist/access-recall-surface.d.ts +10 -10
  43. package/dist/access-recall-surface.js +48 -48
  44. package/dist/access-schema.d.ts +105 -105
  45. package/dist/access-schema.js +4 -4
  46. package/dist/{access-service-DvXOzCrM.d.ts → access-service--_3T_v23.d.ts} +7 -7
  47. package/dist/access-service-helpers.d.ts +10 -10
  48. package/dist/access-service.d.ts +10 -10
  49. package/dist/access-service.js +48 -48
  50. package/dist/access-surface-catalog.d.ts +10 -10
  51. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  52. package/dist/action-confidence.d.ts +1 -1
  53. package/dist/active-memory-bridge.d.ts +1 -1
  54. package/dist/active-recall.d.ts +1 -1
  55. package/dist/active-recall.js +3 -2
  56. package/dist/active-recall.js.map +1 -1
  57. package/dist/adapters/index.js +4 -4
  58. package/dist/adapters/registry.js +2 -2
  59. package/dist/ambient-provenance.d.ts +1 -1
  60. package/dist/artifact-search.d.ts +1 -1
  61. package/dist/{auto-sync-7O6RP2RT.js → auto-sync-QFQGOEO2.js} +4 -4
  62. package/dist/behavior-learner.d.ts +1 -1
  63. package/dist/behavior-signals.d.ts +1 -1
  64. package/dist/bootstrap.d.ts +8 -8
  65. package/dist/briefing.d.ts +2 -2
  66. package/dist/briefing.js +12 -12
  67. package/dist/buffer-surprise-report.d.ts +1 -1
  68. package/dist/buffer-turn-helpers.d.ts +1 -1
  69. package/dist/buffer.d.ts +2 -2
  70. package/dist/buffer.js +4 -4
  71. package/dist/bulk-import/index.d.ts +3 -3
  72. package/dist/calibration.d.ts +1 -1
  73. package/dist/calibration.js +1 -1
  74. package/dist/capabilities.d.ts +1 -1
  75. package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
  76. package/dist/{capsule-merge-6GFHWECG.js → capsule-merge-KXTRZ23Z.js} +4 -4
  77. package/dist/{catalog-Iwbk9h5E.d.ts → catalog-DjUmUIal.d.ts} +1 -1
  78. package/dist/causal-behavior.d.ts +1 -1
  79. package/dist/causal-behavior.js +3 -3
  80. package/dist/causal-chain.js +3 -3
  81. package/dist/causal-consolidation.d.ts +1 -1
  82. package/dist/causal-consolidation.js +16 -16
  83. package/dist/causal-retrieval.js +3 -3
  84. package/dist/causal-trajectory-graph.d.ts +1 -1
  85. package/dist/causal-trajectory.d.ts +51 -2
  86. package/dist/causal-trajectory.js +8 -2
  87. package/dist/{chunk-EY64JLOM.js → chunk-24BKGKGO.js} +30 -19
  88. package/dist/chunk-24BKGKGO.js.map +1 -0
  89. package/dist/{chunk-ICP53SKG.js → chunk-2HIJHXB3.js} +2 -2
  90. package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
  91. package/dist/{chunk-LZGCJSQR.js → chunk-3LD4N2TF.js} +151 -37
  92. package/dist/chunk-3LD4N2TF.js.map +1 -0
  93. package/dist/{chunk-5JRC6BYS.js → chunk-47J4EDGR.js} +11 -11
  94. package/dist/{chunk-2VHLLPTX.js → chunk-4EABKPZS.js} +4 -4
  95. package/dist/{chunk-RJV6Q2FT.js → chunk-4JWJMRPJ.js} +2 -2
  96. package/dist/{chunk-MXPB6PJQ.js → chunk-4S3ECH3U.js} +2 -2
  97. package/dist/{chunk-CGASUJVP.js → chunk-5V6IXHPI.js} +4 -4
  98. package/dist/{chunk-R5IGA2NH.js → chunk-5XCN4XBU.js} +4 -4
  99. package/dist/{chunk-2RPJ4NEE.js → chunk-64BHFFKZ.js} +2 -2
  100. package/dist/{chunk-FQC3DHH2.js → chunk-66SE3BNH.js} +2 -2
  101. package/dist/{chunk-TERNBNJB.js → chunk-6FC3IZ26.js} +2 -2
  102. package/dist/{chunk-K7VKAHFE.js → chunk-6XGEBQ3R.js} +4 -4
  103. package/dist/{chunk-JFLOOTXU.js → chunk-7BLWBSRL.js} +3 -3
  104. package/dist/{chunk-ABR2HEJO.js → chunk-7NDM2PNK.js} +3 -3
  105. package/dist/{chunk-JXZ7NLYH.js → chunk-7VWZ4LRW.js} +2 -2
  106. package/dist/{chunk-RN53QBM4.js → chunk-A4QMKFFO.js} +5 -1
  107. package/dist/chunk-A4QMKFFO.js.map +1 -0
  108. package/dist/chunk-ACPCA4NO.js +321 -0
  109. package/dist/chunk-ACPCA4NO.js.map +1 -0
  110. package/dist/chunk-AMTEYNYK.js +72 -0
  111. package/dist/chunk-AMTEYNYK.js.map +1 -0
  112. package/dist/{chunk-R6YJI3HE.js → chunk-AW4QUFQF.js} +1 -1
  113. package/dist/{chunk-P65YJEEL.js → chunk-AXFWMRKI.js} +2 -2
  114. package/dist/{chunk-WG5HSQ4P.js → chunk-BAKXNQ3C.js} +2 -2
  115. package/dist/{chunk-NM2WP3B7.js → chunk-BJYET5TX.js} +2 -2
  116. package/dist/{chunk-HLKPRWF4.js → chunk-DATDLJAO.js} +6 -6
  117. package/dist/chunk-DJUKBGAD.js +260 -0
  118. package/dist/chunk-DJUKBGAD.js.map +1 -0
  119. package/dist/{chunk-DX3XRGLH.js → chunk-DQTCGVFK.js} +2 -2
  120. package/dist/{chunk-IPBNC77A.js → chunk-E633OXMH.js} +11 -11
  121. package/dist/{chunk-J7T4MX7P.js → chunk-EEAMSNSG.js} +12 -1
  122. package/dist/chunk-EEAMSNSG.js.map +1 -0
  123. package/dist/{chunk-Z5UC3OKB.js → chunk-ELQCS47S.js} +7 -7
  124. package/dist/{chunk-FMXJ555A.js → chunk-EURCX6PS.js} +2 -2
  125. package/dist/{chunk-MZZR3J6M.js → chunk-FV7YQTN3.js} +2 -2
  126. package/dist/chunk-G73MCJKL.js +20 -0
  127. package/dist/chunk-G73MCJKL.js.map +1 -0
  128. package/dist/{chunk-3R6D33UF.js → chunk-GGBSF2X7.js} +2 -2
  129. package/dist/{chunk-SYUBB3WM.js → chunk-GKEYXXKX.js} +2 -2
  130. package/dist/{chunk-5AGR7SAI.js → chunk-GSEPRIZC.js} +3 -3
  131. package/dist/{chunk-UTVZKHJK.js → chunk-GUKBW4HL.js} +2 -2
  132. package/dist/chunk-GXSOUIA4.js +293 -0
  133. package/dist/chunk-GXSOUIA4.js.map +1 -0
  134. package/dist/{chunk-2F6NP3NT.js → chunk-HDQUQBPW.js} +2 -2
  135. package/dist/{chunk-6HMYUWXR.js → chunk-HTP6XRUI.js} +2 -2
  136. package/dist/{chunk-UYUYZ4WY.js → chunk-IARXXZU4.js} +2 -2
  137. package/dist/{chunk-MNB5RMAY.js → chunk-IIFFC3RL.js} +2 -2
  138. package/dist/{chunk-VDX2J7OX.js → chunk-IPLYGWQF.js} +6 -6
  139. package/dist/{chunk-NZBZ7IS2.js → chunk-JDCQK3C5.js} +2 -2
  140. package/dist/{chunk-C3KVFJH5.js → chunk-JI62YGPI.js} +2 -2
  141. package/dist/{chunk-LULR4IUW.js → chunk-KATEWTQJ.js} +2 -2
  142. package/dist/{chunk-BMCHFWGX.js → chunk-KMWYZTIE.js} +2 -2
  143. package/dist/{chunk-JGSKJHF7.js → chunk-KQS72GCR.js} +2 -2
  144. package/dist/{chunk-3S63QIFQ.js → chunk-LAQ33B5D.js} +1 -1
  145. package/dist/chunk-LAQ33B5D.js.map +1 -0
  146. package/dist/chunk-LNTUXKBT.js +224 -0
  147. package/dist/chunk-LNTUXKBT.js.map +1 -0
  148. package/dist/{chunk-2RIWJUSQ.js → chunk-LQKXVQZR.js} +12 -12
  149. package/dist/{chunk-LQL7ARIC.js → chunk-LTOAJXZB.js} +4 -4
  150. package/dist/{chunk-QKD65RGL.js → chunk-LYMNZZIM.js} +2 -2
  151. package/dist/{chunk-W4FBGYGK.js → chunk-M4MP34AQ.js} +189 -5
  152. package/dist/chunk-M4MP34AQ.js.map +1 -0
  153. package/dist/{chunk-3PY7VHV7.js → chunk-MCA2X4WH.js} +2 -2
  154. package/dist/{chunk-S5NZBKKQ.js → chunk-N3CXAYPJ.js} +3 -3
  155. package/dist/{chunk-WQIHRA5F.js → chunk-N3LL5NEU.js} +2 -2
  156. package/dist/{chunk-Z4U6U3M3.js → chunk-NKL25FCF.js} +2 -2
  157. package/dist/{chunk-LMDRGRJ2.js → chunk-NOB2T2FC.js} +2 -2
  158. package/dist/{chunk-P2OTGMTR.js → chunk-NSGU76YO.js} +2 -2
  159. package/dist/{chunk-L6DCVUCA.js → chunk-O76MWTVS.js} +2 -2
  160. package/dist/{chunk-WZFAPHIK.js → chunk-OIOZ6MOP.js} +3 -3
  161. package/dist/{chunk-DNHVPZOD.js → chunk-P26YHAQH.js} +201 -1
  162. package/dist/chunk-P26YHAQH.js.map +1 -0
  163. package/dist/{chunk-UMOO7IY7.js → chunk-P2KBDJJ6.js} +2 -2
  164. package/dist/{chunk-KVJRXN2E.js → chunk-P4QOYG52.js} +125 -13
  165. package/dist/chunk-P4QOYG52.js.map +1 -0
  166. package/dist/chunk-P77QX3ID.js +332 -0
  167. package/dist/chunk-P77QX3ID.js.map +1 -0
  168. package/dist/{chunk-SXWHN7GC.js → chunk-PDEKQWDV.js} +2 -2
  169. package/dist/{chunk-ENEA47UC.js → chunk-PLCHU56K.js} +3 -3
  170. package/dist/{chunk-IXPKESVP.js → chunk-PWIMF7LP.js} +37 -37
  171. package/dist/{chunk-RHTO4HTL.js → chunk-PWLB4TRK.js} +2 -2
  172. package/dist/{chunk-RVYVMQK4.js → chunk-QSYL5CXK.js} +3 -3
  173. package/dist/{chunk-B6KGGRUL.js → chunk-QWLW3VQH.js} +2 -2
  174. package/dist/{chunk-YQIVWS7Y.js → chunk-RBPH3GZV.js} +405 -101
  175. package/dist/chunk-RBPH3GZV.js.map +1 -0
  176. package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
  177. package/dist/{chunk-QCECHYZL.js → chunk-RVO6TCTU.js} +6 -6
  178. package/dist/{chunk-SHDZNSK4.js → chunk-S2SJEOTM.js} +2 -2
  179. package/dist/{chunk-ULWHRQEQ.js → chunk-S75UQ3T3.js} +3 -3
  180. package/dist/{chunk-LXOM6IQU.js → chunk-SEF4IOFE.js} +2 -2
  181. package/dist/{chunk-I3YHVVT4.js → chunk-SHYIMIX5.js} +2 -2
  182. package/dist/{chunk-IZANPXMV.js → chunk-T35UJI5R.js} +86 -82
  183. package/dist/chunk-T35UJI5R.js.map +1 -0
  184. package/dist/{chunk-G5OB4XZX.js → chunk-VANZKHTN.js} +4 -4
  185. package/dist/{chunk-I4TQST3L.js → chunk-VFS3MK5F.js} +2 -2
  186. package/dist/chunk-VUDMT5CP.js +86 -0
  187. package/dist/chunk-VUDMT5CP.js.map +1 -0
  188. package/dist/{chunk-CMQZNEIF.js → chunk-WFLBP5GC.js} +8 -1
  189. package/dist/chunk-WFLBP5GC.js.map +1 -0
  190. package/dist/{chunk-SMPVHGHG.js → chunk-WPZX7MEA.js} +3 -3
  191. package/dist/{chunk-ZRWB5D4H.js → chunk-WT6UL3UA.js} +2 -2
  192. package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
  193. package/dist/{chunk-JHMAYABJ.js → chunk-XL3TATMJ.js} +4 -4
  194. package/dist/{chunk-MC6XO7T4.js → chunk-YLBE6PLR.js} +2 -2
  195. package/dist/{chunk-OLX2HJFW.js → chunk-YLHM5BQQ.js} +4 -4
  196. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  197. package/dist/{chunk-GF22HWS2.js → chunk-Z54EM5YZ.js} +4 -4
  198. package/dist/{chunk-GVX3NAUU.js → chunk-ZDAYWJV6.js} +2 -2
  199. package/dist/{chunk-EYAIZBLM.js → chunk-ZJIFYUJI.js} +5 -5
  200. package/dist/{chunk-CNQQMB67.js → chunk-ZN4EYMKJ.js} +2 -2
  201. package/dist/{cli-PyAUaozE.d.ts → cli-BLNmNEMT.d.ts} +16 -14
  202. package/dist/cli.d.ts +13 -13
  203. package/dist/cli.js +96 -94
  204. package/dist/coding/pre-action-gate.d.ts +66 -0
  205. package/dist/coding/pre-action-gate.js +22 -0
  206. package/dist/commitment-ledger.js +2 -2
  207. package/dist/compounding/engine.d.ts +2 -2
  208. package/dist/compounding/engine.js +13 -13
  209. package/dist/compounding/preference-consolidator.d.ts +1 -1
  210. package/dist/compression-optimizer.d.ts +1 -1
  211. package/dist/config.d.ts +1 -1
  212. package/dist/config.js +3 -2
  213. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  214. package/dist/connectors/codex-materialize-runner.js +12 -12
  215. package/dist/connectors/codex-materialize.d.ts +1 -1
  216. package/dist/connectors/index.d.ts +1 -1
  217. package/dist/connectors/index.js +12 -12
  218. package/dist/consolidation-provenance-check.d.ts +2 -2
  219. package/dist/consolidation-provenance-check.js +4 -4
  220. package/dist/consolidation-undo.d.ts +2 -2
  221. package/dist/consolidation-undo.js +3 -3
  222. package/dist/contradiction/index.d.ts +2 -2
  223. package/dist/contradiction/index.js +3 -3
  224. package/dist/converge-config.d.ts +1 -1
  225. package/dist/convergence-refresh.d.ts +2 -2
  226. package/dist/convergence-refresh.js +15 -15
  227. package/dist/conversation-index/backend.d.ts +1 -1
  228. package/dist/conversation-index/chunker.d.ts +1 -1
  229. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  230. package/dist/conversation-index/indexer.d.ts +1 -1
  231. package/dist/conversation-index/search.d.ts +1 -1
  232. package/dist/corpus-watermark.d.ts +1 -1
  233. package/dist/corpus-watermark.js +23 -23
  234. package/dist/cue-anchors.d.ts +19 -1
  235. package/dist/cue-anchors.js +10 -2
  236. package/dist/dashboard-runtime.js +2 -2
  237. package/dist/day-summary.d.ts +1 -1
  238. package/dist/delinearize.d.ts +1 -1
  239. package/dist/dependency-propagation-config.d.ts +10 -0
  240. package/dist/dependency-propagation-config.js +10 -0
  241. package/dist/dependency-propagation-config.js.map +1 -0
  242. package/dist/deterministic-order.d.ts +4 -0
  243. package/dist/deterministic-order.js +10 -0
  244. package/dist/deterministic-order.js.map +1 -0
  245. package/dist/direct-answer-wiring.d.ts +1 -1
  246. package/dist/direct-answer.d.ts +1 -1
  247. package/dist/embedding-fallback.d.ts +1 -1
  248. package/dist/enrichment/index.d.ts +1 -1
  249. package/dist/entity-retrieval.d.ts +2 -2
  250. package/dist/entity-retrieval.js +12 -12
  251. package/dist/entity-schema.d.ts +1 -1
  252. package/dist/evals.js +2 -2
  253. package/dist/explicit-capture.d.ts +8 -8
  254. package/dist/explicit-capture.js +6 -6
  255. package/dist/external-wiki-access.d.ts +10 -10
  256. package/dist/external-wiki-access.js +49 -49
  257. package/dist/external-wiki-collection-registration.d.ts +1 -1
  258. package/dist/external-wiki-collection.d.ts +1 -1
  259. package/dist/external-wiki-mcp-tools.d.ts +10 -10
  260. package/dist/extraction-error-classification.d.ts +1 -1
  261. package/dist/extraction-faithfulness.d.ts +1 -1
  262. package/dist/extraction-judge-telemetry.d.ts +1 -1
  263. package/dist/extraction-judge-training.d.ts +1 -1
  264. package/dist/extraction-judge.d.ts +1 -1
  265. package/dist/extraction-liveness.d.ts +1 -1
  266. package/dist/extraction-normalization.d.ts +14 -0
  267. package/dist/extraction-normalization.js +22 -0
  268. package/dist/extraction-normalization.js.map +1 -0
  269. package/dist/extraction-prompt.d.ts +4 -3
  270. package/dist/extraction-prompt.js +3 -1
  271. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  272. package/dist/extraction-source-grounding.d.ts +1 -1
  273. package/dist/extraction.d.ts +18 -1
  274. package/dist/extraction.js +21 -19
  275. package/dist/fallback-llm.d.ts +1 -1
  276. package/dist/{first-start-migration-ZSHEFEI3.js → first-start-migration-626C5554.js} +5 -5
  277. package/dist/{forget-DNAJ66ZD.js → forget-GJ42LCBW.js} +2 -2
  278. package/dist/graph-dashboard-diff.d.ts +1 -1
  279. package/dist/graph-dashboard-key.d.ts +1 -1
  280. package/dist/graph-dashboard-parser.d.ts +1 -1
  281. package/dist/graph-edge-reinforcement.d.ts +1 -1
  282. package/dist/graph-snapshot.d.ts +1 -1
  283. package/dist/graph.d.ts +1 -1
  284. package/dist/harmonic-construction.d.ts +43 -0
  285. package/dist/harmonic-construction.js +26 -0
  286. package/dist/harmonic-construction.js.map +1 -0
  287. package/dist/harmonic-retrieval.d.ts +1 -0
  288. package/dist/harmonic-retrieval.js +10 -4
  289. package/dist/importance.d.ts +1 -1
  290. package/dist/importers/index.d.ts +1 -1
  291. package/dist/in-flight-reads.d.ts +1 -1
  292. package/dist/index.d.ts +698 -696
  293. package/dist/index.js +207 -161
  294. package/dist/intent.d.ts +1 -1
  295. package/dist/json-store.d.ts +15 -1
  296. package/dist/json-store.js +11 -3
  297. package/dist/lcm/engine.d.ts +1 -1
  298. package/dist/lcm/engine.js +2 -2
  299. package/dist/lcm/index.d.ts +1 -1
  300. package/dist/lcm/index.js +4 -4
  301. package/dist/lcm/tools.d.ts +1 -1
  302. package/dist/lifecycle.d.ts +1 -1
  303. package/dist/live-connectors-runner.d.ts +1 -1
  304. package/dist/local-llm.d.ts +1 -1
  305. package/dist/local-model-endpoint.d.ts +1 -1
  306. package/dist/maintenance/archive-observations.js +2 -2
  307. package/dist/maintenance/atomic-file.d.ts +5 -0
  308. package/dist/maintenance/atomic-file.js +12 -0
  309. package/dist/maintenance/atomic-file.js.map +1 -0
  310. package/dist/maintenance/memory-governance.d.ts +1 -1
  311. package/dist/maintenance/memory-governance.js +12 -12
  312. package/dist/maintenance/migrate-observations.js +3 -3
  313. package/dist/maintenance/observation-ledger-utils.d.ts +1 -1
  314. package/dist/maintenance/observation-ledger-utils.js +2 -2
  315. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  316. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -13
  317. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  318. package/dist/maintenance/rebuild-memory-projection.js +14 -14
  319. package/dist/maintenance/rebuild-observations.js +3 -3
  320. package/dist/{maintenance-j7sfNQdK.d.ts → maintenance-DKbKZi3u.d.ts} +3 -3
  321. package/dist/mcp-memory-inspector-app.d.ts +10 -10
  322. package/dist/memory-action-policy.d.ts +1 -1
  323. package/dist/memory-cache.d.ts +1 -1
  324. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  325. package/dist/memory-projection-store.d.ts +1 -1
  326. package/dist/memory-provenance.d.ts +1 -1
  327. package/dist/memory-snapshot.d.ts +1 -1
  328. package/dist/memory-worth-outcomes.d.ts +2 -2
  329. package/dist/models-json.d.ts +1 -1
  330. package/dist/namespaces/migrate.d.ts +3 -3
  331. package/dist/namespaces/migrate.js +22 -22
  332. package/dist/namespaces/principal.d.ts +1 -1
  333. package/dist/namespaces/search.d.ts +1 -1
  334. package/dist/namespaces/search.js +9 -9
  335. package/dist/namespaces/storage.d.ts +3 -3
  336. package/dist/namespaces/storage.js +12 -12
  337. package/dist/native-knowledge.d.ts +1 -1
  338. package/dist/objective-state-writers.js +3 -3
  339. package/dist/objective-state.js +2 -2
  340. package/dist/offline-sync-impression-drain.d.ts +1 -1
  341. package/dist/offline-sync-impression-drain.js +2 -2
  342. package/dist/operator-doctor-corpus.d.ts +1 -1
  343. package/dist/operator-doctor-corpus.js +24 -24
  344. package/dist/operator-doctor-replica.d.ts +1 -1
  345. package/dist/operator-toolkit.d.ts +3 -3
  346. package/dist/operator-toolkit.js +33 -32
  347. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  348. package/dist/orchestration/maintenance.d.ts +4 -4
  349. package/dist/orchestration/maintenance.js +18 -18
  350. package/dist/{orchestrator-Haa9xVPV.d.ts → orchestrator-BRwD7ceU.d.ts} +7 -7
  351. package/dist/orchestrator.d.ts +8 -8
  352. package/dist/orchestrator.js +132 -127
  353. package/dist/page-versioning.js +3 -3
  354. package/dist/patterns-cli.d.ts +1 -1
  355. package/dist/{pipeline-1h2GpiHP.d.ts → pipeline-DC-1C9T8.d.ts} +1 -1
  356. package/dist/policy-runtime.d.ts +1 -1
  357. package/dist/proactive-contention.d.ts +1 -1
  358. package/dist/provenance.d.ts +1 -1
  359. package/dist/{qmd-UdwoF71D.d.ts → qmd-DdeCEZdb.d.ts} +1 -1
  360. package/dist/qmd-preflight.d.ts +2 -2
  361. package/dist/qmd-recall-cache.d.ts +1 -1
  362. package/dist/qmd.d.ts +2 -2
  363. package/dist/qmd.js +4 -4
  364. package/dist/recall-concurrency-config.d.ts +1 -1
  365. package/dist/recall-disclosure-escalation.d.ts +1 -1
  366. package/dist/recall-explain-renderer.d.ts +1 -1
  367. package/dist/recall-explain-renderer.js +3 -3
  368. package/dist/recall-memory-map.d.ts +1 -1
  369. package/dist/recall-planner-llm.d.ts +1 -1
  370. package/dist/recall-state.d.ts +1 -1
  371. package/dist/recall-state.js +2 -2
  372. package/dist/recall-tag-filter.d.ts +1 -1
  373. package/dist/recall-timings.d.ts +1 -1
  374. package/dist/recall-xray-cli.d.ts +1 -1
  375. package/dist/recall-xray-cli.js +4 -4
  376. package/dist/recall-xray-renderer.d.ts +1 -1
  377. package/dist/recall-xray-renderer.js +3 -3
  378. package/dist/recall-xray.d.ts +1 -1
  379. package/dist/recall-xray.js +2 -2
  380. package/dist/reconcile/cursor.d.ts +1 -1
  381. package/dist/reconcile/manifest.d.ts +1 -1
  382. package/dist/reconcile/plan.d.ts +1 -1
  383. package/dist/relevance.js +2 -2
  384. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  385. package/dist/replay/normalizers/claude.d.ts +1 -1
  386. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  387. package/dist/replay/normalizers/shared.d.ts +1 -1
  388. package/dist/replay/runner.d.ts +1 -1
  389. package/dist/replay/types.d.ts +1 -1
  390. package/dist/replica-divergence.d.ts +1 -1
  391. package/dist/replica-peers-config.d.ts +1 -1
  392. package/dist/{resolution-3K27T4VO.js → resolution-MDPNOEG6.js} +4 -4
  393. package/dist/resolution-MDPNOEG6.js.map +1 -0
  394. package/dist/resolve-auth-token.d.ts +1 -1
  395. package/dist/resume-bundles.js +8 -7
  396. package/dist/retrieval-agents.d.ts +2 -2
  397. package/dist/retrieval-tiers.d.ts +1 -1
  398. package/dist/routing/engine.d.ts +1 -1
  399. package/dist/routing/store.d.ts +1 -1
  400. package/dist/salvage-envelope.d.ts +1 -1
  401. package/dist/salvage-envelope.js +3 -3
  402. package/dist/schemas.d.ts +213 -116
  403. package/dist/schemas.js +1 -1
  404. package/dist/{scope-profiles-APjhSe-w.d.ts → scope-profiles-BXVq4Jv0.d.ts} +1 -1
  405. package/dist/search/embed-helper.d.ts +1 -1
  406. package/dist/search/factory.d.ts +1 -1
  407. package/dist/search/factory.js +8 -8
  408. package/dist/search/index.d.ts +1 -1
  409. package/dist/search/index.js +13 -13
  410. package/dist/search/lancedb-backend.d.ts +1 -1
  411. package/dist/search/lancedb-backend.js +2 -2
  412. package/dist/search/meilisearch-backend.d.ts +1 -1
  413. package/dist/search/meilisearch-backend.js +2 -2
  414. package/dist/search/noop-backend.d.ts +1 -1
  415. package/dist/search/orama-backend.d.ts +1 -1
  416. package/dist/search/orama-backend.js +2 -2
  417. package/dist/search/port.d.ts +1 -1
  418. package/dist/search/remote-backend.d.ts +1 -1
  419. package/dist/{semantic-consolidation-CrySDbk3.d.ts → semantic-consolidation-CGYxfa8F.d.ts} +1 -1
  420. package/dist/semantic-consolidation.d.ts +2 -2
  421. package/dist/semantic-consolidation.js +13 -13
  422. package/dist/semantic-rule-promotion.js +12 -12
  423. package/dist/semantic-rule-verifier.d.ts +1 -1
  424. package/dist/semantic-rule-verifier.js +12 -12
  425. package/dist/{service-Da_BI4S8.d.ts → service-CBDBQFCN.d.ts} +2 -2
  426. package/dist/session-observer-bands.d.ts +1 -1
  427. package/dist/session-observer-state.d.ts +1 -1
  428. package/dist/shared-context/manager.d.ts +11 -11
  429. package/dist/signal.d.ts +1 -1
  430. package/dist/source-agent-qualifier.d.ts +1 -1
  431. package/dist/source-agent-qualifier.js +16 -16
  432. package/dist/{storage-D1apCiCS.d.ts → storage-V--MQi7w.d.ts} +1 -1
  433. package/dist/storage.d.ts +2 -2
  434. package/dist/storage.js +11 -11
  435. package/dist/summarizer.d.ts +1 -1
  436. package/dist/summary-snapshot.d.ts +1 -1
  437. package/dist/temporal-supersession.d.ts +13 -2
  438. package/dist/temporal-supersession.js +1 -1
  439. package/dist/temporal-timeline-recall.d.ts +1 -1
  440. package/dist/temporal-validity.d.ts +1 -1
  441. package/dist/threading.d.ts +1 -1
  442. package/dist/tier-migration.d.ts +2 -2
  443. package/dist/tier-routing.d.ts +1 -1
  444. package/dist/{tier-stats-OPTSBNRH.js → tier-stats-2JCZYEF7.js} +5 -5
  445. package/dist/topics.d.ts +1 -1
  446. package/dist/transcript.d.ts +1 -1
  447. package/dist/transfer/autodetect.js +1 -1
  448. package/dist/transfer/backup.js +2 -2
  449. package/dist/transfer/capsule-export.js +3 -3
  450. package/dist/transfer/capsule-import.js +5 -5
  451. package/dist/transfer/types.d.ts +66 -66
  452. package/dist/trust-score-stage.d.ts +1 -1
  453. package/dist/trust-score.d.ts +1 -1
  454. package/dist/trust-zones.js +2 -2
  455. package/dist/{types-D_Au9qJO.d.ts → types-D_a6Sqjz.d.ts} +25 -8
  456. package/dist/types.d.ts +1 -1
  457. package/dist/types.js +1 -1
  458. package/dist/utility-learner.js +3 -3
  459. package/dist/utility-runtime.d.ts +1 -1
  460. package/dist/utility-runtime.js +4 -4
  461. package/dist/utility-telemetry.js +2 -2
  462. package/dist/verified-recall.js +12 -12
  463. package/dist/work-product-ledger.js +2 -2
  464. package/dist/write-envelope.d.ts +1 -1
  465. package/dist/write-envelope.js +2 -2
  466. package/package.json +32 -2
  467. package/src/abstraction-nodes.ts +182 -4
  468. package/src/causal-trajectory.ts +258 -3
  469. package/src/cli/harmonic-search.ts +23 -0
  470. package/src/cli/research-status-commands.ts +2 -1
  471. package/src/cli.ts +1 -24
  472. package/src/coding/pre-action-gate.test.ts +516 -0
  473. package/src/coding/pre-action-gate.ts +320 -0
  474. package/src/config.test.ts +85 -0
  475. package/src/config.ts +2 -0
  476. package/src/cue-anchors.test.ts +90 -0
  477. package/src/cue-anchors.ts +264 -11
  478. package/src/dependency-frontmatter.test.ts +83 -0
  479. package/src/dependency-propagation-config.ts +94 -0
  480. package/src/deterministic-order.ts +14 -0
  481. package/src/extraction-normalization.ts +71 -0
  482. package/src/extraction-prompt.ts +45 -11
  483. package/src/extraction.ts +48 -32
  484. package/src/faithfulness-graph-guard.test.ts +27 -0
  485. package/src/harmonic-construction.test.ts +1799 -0
  486. package/src/harmonic-construction.ts +367 -0
  487. package/src/harmonic-retrieval.ts +166 -25
  488. package/src/index.ts +4 -5
  489. package/src/json-store.ts +354 -12
  490. package/src/orchestration/consolidation-run.ts +192 -0
  491. package/src/orchestration/contradiction-linking-coordinator.ts +35 -1
  492. package/src/orchestration/dependency-propagation-triggers.test.ts +286 -0
  493. package/src/orchestration/dependency-propagation.test.ts +487 -0
  494. package/src/orchestration/dependency-propagation.ts +263 -0
  495. package/src/orchestration/dependency-revalidation.ts +173 -0
  496. package/src/orchestration/extraction-persist-deps.ts +93 -0
  497. package/src/orchestration/extraction-persist.ts +101 -94
  498. package/src/orchestration/harmonic-construction-persist.ts +86 -0
  499. package/src/orchestration/recall-internal.ts +1 -0
  500. package/src/orchestrator.ts +2 -1
  501. package/src/schemas.ts +15 -0
  502. package/src/storage.ts +14 -0
  503. package/src/temporal-supersession.ts +29 -1
  504. package/src/testing/orchestrator-lite.ts +27 -8
  505. package/src/testing/subjects/extraction-lifecycle.test.ts +91 -50
  506. package/src/types.ts +22 -7
  507. package/dist/chunk-3S63QIFQ.js.map +0 -1
  508. package/dist/chunk-CMQZNEIF.js.map +0 -1
  509. package/dist/chunk-DNHVPZOD.js.map +0 -1
  510. package/dist/chunk-EY64JLOM.js.map +0 -1
  511. package/dist/chunk-FZZ2QTJI.js +0 -111
  512. package/dist/chunk-FZZ2QTJI.js.map +0 -1
  513. package/dist/chunk-IZANPXMV.js.map +0 -1
  514. package/dist/chunk-J7T4MX7P.js.map +0 -1
  515. package/dist/chunk-KVJRXN2E.js.map +0 -1
  516. package/dist/chunk-LPSF4OQH.js +0 -47
  517. package/dist/chunk-LPSF4OQH.js.map +0 -1
  518. package/dist/chunk-LZGCJSQR.js.map +0 -1
  519. package/dist/chunk-OADWQ5CR.js +0 -115
  520. package/dist/chunk-OADWQ5CR.js.map +0 -1
  521. package/dist/chunk-RN53QBM4.js.map +0 -1
  522. package/dist/chunk-W4FBGYGK.js.map +0 -1
  523. package/dist/chunk-YQIVWS7Y.js.map +0 -1
  524. /package/dist/{auto-sync-7O6RP2RT.js.map → auto-sync-QFQGOEO2.js.map} +0 -0
  525. /package/dist/{capsule-crypto-YO5QJ6L3.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  526. /package/dist/{capsule-merge-6GFHWECG.js.map → capsule-merge-KXTRZ23Z.js.map} +0 -0
  527. /package/dist/{chunk-ICP53SKG.js.map → chunk-2HIJHXB3.js.map} +0 -0
  528. /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
  529. /package/dist/{chunk-5JRC6BYS.js.map → chunk-47J4EDGR.js.map} +0 -0
  530. /package/dist/{chunk-2VHLLPTX.js.map → chunk-4EABKPZS.js.map} +0 -0
  531. /package/dist/{chunk-RJV6Q2FT.js.map → chunk-4JWJMRPJ.js.map} +0 -0
  532. /package/dist/{chunk-MXPB6PJQ.js.map → chunk-4S3ECH3U.js.map} +0 -0
  533. /package/dist/{chunk-CGASUJVP.js.map → chunk-5V6IXHPI.js.map} +0 -0
  534. /package/dist/{chunk-R5IGA2NH.js.map → chunk-5XCN4XBU.js.map} +0 -0
  535. /package/dist/{chunk-2RPJ4NEE.js.map → chunk-64BHFFKZ.js.map} +0 -0
  536. /package/dist/{chunk-FQC3DHH2.js.map → chunk-66SE3BNH.js.map} +0 -0
  537. /package/dist/{chunk-TERNBNJB.js.map → chunk-6FC3IZ26.js.map} +0 -0
  538. /package/dist/{chunk-K7VKAHFE.js.map → chunk-6XGEBQ3R.js.map} +0 -0
  539. /package/dist/{chunk-JFLOOTXU.js.map → chunk-7BLWBSRL.js.map} +0 -0
  540. /package/dist/{chunk-ABR2HEJO.js.map → chunk-7NDM2PNK.js.map} +0 -0
  541. /package/dist/{chunk-JXZ7NLYH.js.map → chunk-7VWZ4LRW.js.map} +0 -0
  542. /package/dist/{chunk-R6YJI3HE.js.map → chunk-AW4QUFQF.js.map} +0 -0
  543. /package/dist/{chunk-P65YJEEL.js.map → chunk-AXFWMRKI.js.map} +0 -0
  544. /package/dist/{chunk-WG5HSQ4P.js.map → chunk-BAKXNQ3C.js.map} +0 -0
  545. /package/dist/{chunk-NM2WP3B7.js.map → chunk-BJYET5TX.js.map} +0 -0
  546. /package/dist/{chunk-HLKPRWF4.js.map → chunk-DATDLJAO.js.map} +0 -0
  547. /package/dist/{chunk-DX3XRGLH.js.map → chunk-DQTCGVFK.js.map} +0 -0
  548. /package/dist/{chunk-IPBNC77A.js.map → chunk-E633OXMH.js.map} +0 -0
  549. /package/dist/{chunk-Z5UC3OKB.js.map → chunk-ELQCS47S.js.map} +0 -0
  550. /package/dist/{chunk-FMXJ555A.js.map → chunk-EURCX6PS.js.map} +0 -0
  551. /package/dist/{chunk-MZZR3J6M.js.map → chunk-FV7YQTN3.js.map} +0 -0
  552. /package/dist/{chunk-3R6D33UF.js.map → chunk-GGBSF2X7.js.map} +0 -0
  553. /package/dist/{chunk-SYUBB3WM.js.map → chunk-GKEYXXKX.js.map} +0 -0
  554. /package/dist/{chunk-5AGR7SAI.js.map → chunk-GSEPRIZC.js.map} +0 -0
  555. /package/dist/{chunk-UTVZKHJK.js.map → chunk-GUKBW4HL.js.map} +0 -0
  556. /package/dist/{chunk-2F6NP3NT.js.map → chunk-HDQUQBPW.js.map} +0 -0
  557. /package/dist/{chunk-6HMYUWXR.js.map → chunk-HTP6XRUI.js.map} +0 -0
  558. /package/dist/{chunk-UYUYZ4WY.js.map → chunk-IARXXZU4.js.map} +0 -0
  559. /package/dist/{chunk-MNB5RMAY.js.map → chunk-IIFFC3RL.js.map} +0 -0
  560. /package/dist/{chunk-VDX2J7OX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  561. /package/dist/{chunk-NZBZ7IS2.js.map → chunk-JDCQK3C5.js.map} +0 -0
  562. /package/dist/{chunk-C3KVFJH5.js.map → chunk-JI62YGPI.js.map} +0 -0
  563. /package/dist/{chunk-LULR4IUW.js.map → chunk-KATEWTQJ.js.map} +0 -0
  564. /package/dist/{chunk-BMCHFWGX.js.map → chunk-KMWYZTIE.js.map} +0 -0
  565. /package/dist/{chunk-JGSKJHF7.js.map → chunk-KQS72GCR.js.map} +0 -0
  566. /package/dist/{chunk-2RIWJUSQ.js.map → chunk-LQKXVQZR.js.map} +0 -0
  567. /package/dist/{chunk-LQL7ARIC.js.map → chunk-LTOAJXZB.js.map} +0 -0
  568. /package/dist/{chunk-QKD65RGL.js.map → chunk-LYMNZZIM.js.map} +0 -0
  569. /package/dist/{chunk-3PY7VHV7.js.map → chunk-MCA2X4WH.js.map} +0 -0
  570. /package/dist/{chunk-S5NZBKKQ.js.map → chunk-N3CXAYPJ.js.map} +0 -0
  571. /package/dist/{chunk-WQIHRA5F.js.map → chunk-N3LL5NEU.js.map} +0 -0
  572. /package/dist/{chunk-Z4U6U3M3.js.map → chunk-NKL25FCF.js.map} +0 -0
  573. /package/dist/{chunk-LMDRGRJ2.js.map → chunk-NOB2T2FC.js.map} +0 -0
  574. /package/dist/{chunk-P2OTGMTR.js.map → chunk-NSGU76YO.js.map} +0 -0
  575. /package/dist/{chunk-L6DCVUCA.js.map → chunk-O76MWTVS.js.map} +0 -0
  576. /package/dist/{chunk-WZFAPHIK.js.map → chunk-OIOZ6MOP.js.map} +0 -0
  577. /package/dist/{chunk-UMOO7IY7.js.map → chunk-P2KBDJJ6.js.map} +0 -0
  578. /package/dist/{chunk-SXWHN7GC.js.map → chunk-PDEKQWDV.js.map} +0 -0
  579. /package/dist/{chunk-ENEA47UC.js.map → chunk-PLCHU56K.js.map} +0 -0
  580. /package/dist/{chunk-IXPKESVP.js.map → chunk-PWIMF7LP.js.map} +0 -0
  581. /package/dist/{chunk-RHTO4HTL.js.map → chunk-PWLB4TRK.js.map} +0 -0
  582. /package/dist/{chunk-RVYVMQK4.js.map → chunk-QSYL5CXK.js.map} +0 -0
  583. /package/dist/{chunk-B6KGGRUL.js.map → chunk-QWLW3VQH.js.map} +0 -0
  584. /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
  585. /package/dist/{chunk-QCECHYZL.js.map → chunk-RVO6TCTU.js.map} +0 -0
  586. /package/dist/{chunk-SHDZNSK4.js.map → chunk-S2SJEOTM.js.map} +0 -0
  587. /package/dist/{chunk-ULWHRQEQ.js.map → chunk-S75UQ3T3.js.map} +0 -0
  588. /package/dist/{chunk-LXOM6IQU.js.map → chunk-SEF4IOFE.js.map} +0 -0
  589. /package/dist/{chunk-I3YHVVT4.js.map → chunk-SHYIMIX5.js.map} +0 -0
  590. /package/dist/{chunk-G5OB4XZX.js.map → chunk-VANZKHTN.js.map} +0 -0
  591. /package/dist/{chunk-I4TQST3L.js.map → chunk-VFS3MK5F.js.map} +0 -0
  592. /package/dist/{chunk-SMPVHGHG.js.map → chunk-WPZX7MEA.js.map} +0 -0
  593. /package/dist/{chunk-ZRWB5D4H.js.map → chunk-WT6UL3UA.js.map} +0 -0
  594. /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
  595. /package/dist/{chunk-JHMAYABJ.js.map → chunk-XL3TATMJ.js.map} +0 -0
  596. /package/dist/{chunk-MC6XO7T4.js.map → chunk-YLBE6PLR.js.map} +0 -0
  597. /package/dist/{chunk-OLX2HJFW.js.map → chunk-YLHM5BQQ.js.map} +0 -0
  598. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  599. /package/dist/{chunk-GF22HWS2.js.map → chunk-Z54EM5YZ.js.map} +0 -0
  600. /package/dist/{chunk-GVX3NAUU.js.map → chunk-ZDAYWJV6.js.map} +0 -0
  601. /package/dist/{chunk-EYAIZBLM.js.map → chunk-ZJIFYUJI.js.map} +0 -0
  602. /package/dist/{chunk-CNQQMB67.js.map → chunk-ZN4EYMKJ.js.map} +0 -0
  603. /package/dist/{resolution-3K27T4VO.js.map → coding/pre-action-gate.js.map} +0 -0
  604. /package/dist/{first-start-migration-ZSHEFEI3.js.map → first-start-migration-626C5554.js.map} +0 -0
  605. /package/dist/{forget-DNAJ66ZD.js.map → forget-GJ42LCBW.js.map} +0 -0
  606. /package/dist/{tier-stats-OPTSBNRH.js.map → tier-stats-2JCZYEF7.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
7
7
  importance: z.ZodNumber;
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
- source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
11
10
  confidence: number;
12
- lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
11
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
13
12
  importance: number;
13
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
14
14
  }, {
15
- source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
16
15
  confidence: number;
17
- lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
16
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
18
17
  importance: number;
18
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
@@ -59,6 +59,16 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
59
59
  confidence: z.ZodNumber;
60
60
  tags: z.ZodArray<z.ZodString, "many">;
61
61
  entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
62
+ cueAnchors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
63
+ type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
64
+ value: z.ZodString;
65
+ }, "strip", z.ZodTypeAny, {
66
+ value: string;
67
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
68
+ }, {
69
+ value: string;
70
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
71
+ }>, "many">>>;
62
72
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
63
73
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
64
74
  quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -152,15 +162,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
162
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
163
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
164
  }, "strip", z.ZodTypeAny, {
155
- tags: string[];
156
- content: string;
157
165
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
166
+ content: string;
158
167
  confidence: number;
168
+ tags: string[];
159
169
  entityRef?: string | null | undefined;
160
170
  structuredAttributes?: Record<string, string> | null | undefined;
161
- quote?: string | null | undefined;
171
+ cueAnchors?: {
172
+ value: string;
173
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
174
+ }[] | null | undefined;
162
175
  promptedByQuestion?: string | null | undefined;
163
176
  scope?: "project" | "global" | null | undefined;
177
+ quote?: string | null | undefined;
164
178
  procedureSteps?: {
165
179
  intent: string;
166
180
  order: number;
@@ -184,15 +198,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
184
198
  eventTime?: string | null | undefined;
185
199
  event_time?: string | null | undefined;
186
200
  }, {
187
- tags: string[];
188
- content: string;
189
201
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
202
+ content: string;
190
203
  confidence: number;
204
+ tags: string[];
191
205
  entityRef?: string | null | undefined;
192
206
  structuredAttributes?: Record<string, string> | null | undefined;
193
- quote?: string | null | undefined;
207
+ cueAnchors?: {
208
+ value: string;
209
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
210
+ }[] | null | undefined;
194
211
  promptedByQuestion?: string | null | undefined;
195
212
  scope?: "project" | "global" | null | undefined;
213
+ quote?: string | null | undefined;
196
214
  procedureSteps?: {
197
215
  intent: string;
198
216
  order: number;
@@ -216,15 +234,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
216
234
  eventTime?: string | null | undefined;
217
235
  event_time?: string | null | undefined;
218
236
  }>, {
219
- tags: string[];
220
- content: string;
221
237
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
238
+ content: string;
222
239
  confidence: number;
240
+ tags: string[];
223
241
  entityRef?: string | null | undefined;
224
242
  structuredAttributes?: Record<string, string> | null | undefined;
225
- quote?: string | null | undefined;
243
+ cueAnchors?: {
244
+ value: string;
245
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
246
+ }[] | null | undefined;
226
247
  promptedByQuestion?: string | null | undefined;
227
248
  scope?: "project" | "global" | null | undefined;
249
+ quote?: string | null | undefined;
228
250
  procedureSteps?: {
229
251
  intent: string;
230
252
  order: number;
@@ -248,15 +270,19 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
248
270
  eventTime?: string | null | undefined;
249
271
  event_time?: string | null | undefined;
250
272
  }, {
251
- tags: string[];
252
- content: string;
253
273
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
274
+ content: string;
254
275
  confidence: number;
276
+ tags: string[];
255
277
  entityRef?: string | null | undefined;
256
278
  structuredAttributes?: Record<string, string> | null | undefined;
257
- quote?: string | null | undefined;
279
+ cueAnchors?: {
280
+ value: string;
281
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
282
+ }[] | null | undefined;
258
283
  promptedByQuestion?: string | null | undefined;
259
284
  scope?: "project" | "global" | null | undefined;
285
+ quote?: string | null | undefined;
260
286
  procedureSteps?: {
261
287
  intent: string;
262
288
  order: number;
@@ -290,34 +316,34 @@ declare const EntityMentionSchema: z.ZodObject<{
290
316
  title: z.ZodString;
291
317
  facts: z.ZodArray<z.ZodString, "many">;
292
318
  }, "strip", z.ZodTypeAny, {
293
- title: string;
294
319
  key: string;
320
+ title: string;
295
321
  facts: string[];
296
322
  }, {
297
- title: string;
298
323
  key: string;
324
+ title: string;
299
325
  facts: string[];
300
326
  }>, "many">>>;
301
327
  }, "strip", z.ZodTypeAny, {
302
328
  type: "project" | "other" | "person" | "tool" | "company" | "place";
303
329
  name: string;
304
330
  facts: string[];
331
+ promptedByQuestion?: string | null | undefined;
305
332
  structuredSections?: {
306
- title: string;
307
333
  key: string;
334
+ title: string;
308
335
  facts: string[];
309
336
  }[] | null | undefined;
310
- promptedByQuestion?: string | null | undefined;
311
337
  }, {
312
338
  type: "project" | "other" | "person" | "tool" | "company" | "place";
313
339
  name: string;
314
340
  facts: string[];
341
+ promptedByQuestion?: string | null | undefined;
315
342
  structuredSections?: {
316
- title: string;
317
343
  key: string;
344
+ title: string;
318
345
  facts: string[];
319
346
  }[] | null | undefined;
320
- promptedByQuestion?: string | null | undefined;
321
347
  }>;
322
348
  declare const ExtractedQuestionSchema: z.ZodObject<{
323
349
  question: z.ZodString;
@@ -365,13 +391,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
365
391
  label: z.ZodString;
366
392
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
367
393
  }, "strip", z.ZodTypeAny, {
368
- source: string;
369
394
  label: string;
395
+ source: string;
370
396
  target: string;
371
397
  promptedByQuestion?: string | null | undefined;
372
398
  }, {
373
- source: string;
374
399
  label: string;
400
+ source: string;
375
401
  target: string;
376
402
  promptedByQuestion?: string | null | undefined;
377
403
  }>;
@@ -382,6 +408,16 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
382
408
  confidence: z.ZodNumber;
383
409
  tags: z.ZodArray<z.ZodString, "many">;
384
410
  entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
411
+ cueAnchors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
412
+ type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
413
+ value: z.ZodString;
414
+ }, "strip", z.ZodTypeAny, {
415
+ value: string;
416
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
417
+ }, {
418
+ value: string;
419
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
420
+ }>, "many">>>;
385
421
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
386
422
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
387
423
  quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -475,15 +511,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
475
511
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
512
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
513
  }, "strip", z.ZodTypeAny, {
478
- tags: string[];
479
- content: string;
480
514
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
515
+ content: string;
481
516
  confidence: number;
517
+ tags: string[];
482
518
  entityRef?: string | null | undefined;
483
519
  structuredAttributes?: Record<string, string> | null | undefined;
484
- quote?: string | null | undefined;
520
+ cueAnchors?: {
521
+ value: string;
522
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
523
+ }[] | null | undefined;
485
524
  promptedByQuestion?: string | null | undefined;
486
525
  scope?: "project" | "global" | null | undefined;
526
+ quote?: string | null | undefined;
487
527
  procedureSteps?: {
488
528
  intent: string;
489
529
  order: number;
@@ -507,15 +547,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
507
547
  eventTime?: string | null | undefined;
508
548
  event_time?: string | null | undefined;
509
549
  }, {
510
- tags: string[];
511
- content: string;
512
550
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
551
+ content: string;
513
552
  confidence: number;
553
+ tags: string[];
514
554
  entityRef?: string | null | undefined;
515
555
  structuredAttributes?: Record<string, string> | null | undefined;
516
- quote?: string | null | undefined;
556
+ cueAnchors?: {
557
+ value: string;
558
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
559
+ }[] | null | undefined;
517
560
  promptedByQuestion?: string | null | undefined;
518
561
  scope?: "project" | "global" | null | undefined;
562
+ quote?: string | null | undefined;
519
563
  procedureSteps?: {
520
564
  intent: string;
521
565
  order: number;
@@ -539,15 +583,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
539
583
  eventTime?: string | null | undefined;
540
584
  event_time?: string | null | undefined;
541
585
  }>, {
542
- tags: string[];
543
- content: string;
544
586
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
587
+ content: string;
545
588
  confidence: number;
589
+ tags: string[];
546
590
  entityRef?: string | null | undefined;
547
591
  structuredAttributes?: Record<string, string> | null | undefined;
548
- quote?: string | null | undefined;
592
+ cueAnchors?: {
593
+ value: string;
594
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
595
+ }[] | null | undefined;
549
596
  promptedByQuestion?: string | null | undefined;
550
597
  scope?: "project" | "global" | null | undefined;
598
+ quote?: string | null | undefined;
551
599
  procedureSteps?: {
552
600
  intent: string;
553
601
  order: number;
@@ -571,15 +619,19 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
571
619
  eventTime?: string | null | undefined;
572
620
  event_time?: string | null | undefined;
573
621
  }, {
574
- tags: string[];
575
- content: string;
576
622
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
623
+ content: string;
577
624
  confidence: number;
625
+ tags: string[];
578
626
  entityRef?: string | null | undefined;
579
627
  structuredAttributes?: Record<string, string> | null | undefined;
580
- quote?: string | null | undefined;
628
+ cueAnchors?: {
629
+ value: string;
630
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
631
+ }[] | null | undefined;
581
632
  promptedByQuestion?: string | null | undefined;
582
633
  scope?: "project" | "global" | null | undefined;
634
+ quote?: string | null | undefined;
583
635
  procedureSteps?: {
584
636
  intent: string;
585
637
  order: number;
@@ -614,34 +666,34 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
614
666
  title: z.ZodString;
615
667
  facts: z.ZodArray<z.ZodString, "many">;
616
668
  }, "strip", z.ZodTypeAny, {
617
- title: string;
618
669
  key: string;
670
+ title: string;
619
671
  facts: string[];
620
672
  }, {
621
- title: string;
622
673
  key: string;
674
+ title: string;
623
675
  facts: string[];
624
676
  }>, "many">>>;
625
677
  }, "strip", z.ZodTypeAny, {
626
678
  type: "project" | "other" | "person" | "tool" | "company" | "place";
627
679
  name: string;
628
680
  facts: string[];
681
+ promptedByQuestion?: string | null | undefined;
629
682
  structuredSections?: {
630
- title: string;
631
683
  key: string;
684
+ title: string;
632
685
  facts: string[];
633
686
  }[] | null | undefined;
634
- promptedByQuestion?: string | null | undefined;
635
687
  }, {
636
688
  type: "project" | "other" | "person" | "tool" | "company" | "place";
637
689
  name: string;
638
690
  facts: string[];
691
+ promptedByQuestion?: string | null | undefined;
639
692
  structuredSections?: {
640
- title: string;
641
693
  key: string;
694
+ title: string;
642
695
  facts: string[];
643
696
  }[] | null | undefined;
644
- promptedByQuestion?: string | null | undefined;
645
697
  }>, "many">;
646
698
  relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
647
699
  source: z.ZodString;
@@ -649,27 +701,31 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
649
701
  label: z.ZodString;
650
702
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
651
703
  }, "strip", z.ZodTypeAny, {
652
- source: string;
653
704
  label: string;
705
+ source: string;
654
706
  target: string;
655
707
  promptedByQuestion?: string | null | undefined;
656
708
  }, {
657
- source: string;
658
709
  label: string;
710
+ source: string;
659
711
  target: string;
660
712
  promptedByQuestion?: string | null | undefined;
661
713
  }>, "many">>>;
662
714
  }, "strip", z.ZodTypeAny, {
663
715
  facts: {
664
- tags: string[];
665
- content: string;
666
716
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
717
+ content: string;
667
718
  confidence: number;
719
+ tags: string[];
668
720
  entityRef?: string | null | undefined;
669
721
  structuredAttributes?: Record<string, string> | null | undefined;
670
- quote?: string | null | undefined;
722
+ cueAnchors?: {
723
+ value: string;
724
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
725
+ }[] | null | undefined;
671
726
  promptedByQuestion?: string | null | undefined;
672
727
  scope?: "project" | "global" | null | undefined;
728
+ quote?: string | null | undefined;
673
729
  procedureSteps?: {
674
730
  intent: string;
675
731
  order: number;
@@ -697,31 +753,35 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
697
753
  type: "project" | "other" | "person" | "tool" | "company" | "place";
698
754
  name: string;
699
755
  facts: string[];
756
+ promptedByQuestion?: string | null | undefined;
700
757
  structuredSections?: {
701
- title: string;
702
758
  key: string;
759
+ title: string;
703
760
  facts: string[];
704
761
  }[] | null | undefined;
705
- promptedByQuestion?: string | null | undefined;
706
762
  }[];
707
763
  profileUpdates: string[];
708
764
  relationships?: {
709
- source: string;
710
765
  label: string;
766
+ source: string;
711
767
  target: string;
712
768
  promptedByQuestion?: string | null | undefined;
713
769
  }[] | null | undefined;
714
770
  }, {
715
771
  facts: {
716
- tags: string[];
717
- content: string;
718
772
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
773
+ content: string;
719
774
  confidence: number;
775
+ tags: string[];
720
776
  entityRef?: string | null | undefined;
721
777
  structuredAttributes?: Record<string, string> | null | undefined;
722
- quote?: string | null | undefined;
778
+ cueAnchors?: {
779
+ value: string;
780
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
781
+ }[] | null | undefined;
723
782
  promptedByQuestion?: string | null | undefined;
724
783
  scope?: "project" | "global" | null | undefined;
784
+ quote?: string | null | undefined;
725
785
  procedureSteps?: {
726
786
  intent: string;
727
787
  order: number;
@@ -749,17 +809,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
749
809
  type: "project" | "other" | "person" | "tool" | "company" | "place";
750
810
  name: string;
751
811
  facts: string[];
812
+ promptedByQuestion?: string | null | undefined;
752
813
  structuredSections?: {
753
- title: string;
754
814
  key: string;
815
+ title: string;
755
816
  facts: string[];
756
817
  }[] | null | undefined;
757
- promptedByQuestion?: string | null | undefined;
758
818
  }[];
759
819
  profileUpdates: string[];
760
820
  relationships?: {
761
- source: string;
762
821
  label: string;
822
+ source: string;
763
823
  target: string;
764
824
  promptedByQuestion?: string | null | undefined;
765
825
  }[] | null | undefined;
@@ -771,6 +831,16 @@ declare const ExtractionResultSchema: z.ZodObject<{
771
831
  confidence: z.ZodNumber;
772
832
  tags: z.ZodArray<z.ZodString, "many">;
773
833
  entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
834
+ cueAnchors: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
835
+ type: z.ZodEnum<["entity", "file", "tool", "outcome", "constraint", "date"]>;
836
+ value: z.ZodString;
837
+ }, "strip", z.ZodTypeAny, {
838
+ value: string;
839
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
840
+ }, {
841
+ value: string;
842
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
843
+ }>, "many">>>;
774
844
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
775
845
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
776
846
  quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -864,15 +934,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
864
934
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
865
935
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
866
936
  }, "strip", z.ZodTypeAny, {
867
- tags: string[];
868
- content: string;
869
937
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
938
+ content: string;
870
939
  confidence: number;
940
+ tags: string[];
871
941
  entityRef?: string | null | undefined;
872
942
  structuredAttributes?: Record<string, string> | null | undefined;
873
- quote?: string | null | undefined;
943
+ cueAnchors?: {
944
+ value: string;
945
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
946
+ }[] | null | undefined;
874
947
  promptedByQuestion?: string | null | undefined;
875
948
  scope?: "project" | "global" | null | undefined;
949
+ quote?: string | null | undefined;
876
950
  procedureSteps?: {
877
951
  intent: string;
878
952
  order: number;
@@ -896,15 +970,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
896
970
  eventTime?: string | null | undefined;
897
971
  event_time?: string | null | undefined;
898
972
  }, {
899
- tags: string[];
900
- content: string;
901
973
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
974
+ content: string;
902
975
  confidence: number;
976
+ tags: string[];
903
977
  entityRef?: string | null | undefined;
904
978
  structuredAttributes?: Record<string, string> | null | undefined;
905
- quote?: string | null | undefined;
979
+ cueAnchors?: {
980
+ value: string;
981
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
982
+ }[] | null | undefined;
906
983
  promptedByQuestion?: string | null | undefined;
907
984
  scope?: "project" | "global" | null | undefined;
985
+ quote?: string | null | undefined;
908
986
  procedureSteps?: {
909
987
  intent: string;
910
988
  order: number;
@@ -928,15 +1006,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
928
1006
  eventTime?: string | null | undefined;
929
1007
  event_time?: string | null | undefined;
930
1008
  }>, {
931
- tags: string[];
932
- content: string;
933
1009
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1010
+ content: string;
934
1011
  confidence: number;
1012
+ tags: string[];
935
1013
  entityRef?: string | null | undefined;
936
1014
  structuredAttributes?: Record<string, string> | null | undefined;
937
- quote?: string | null | undefined;
1015
+ cueAnchors?: {
1016
+ value: string;
1017
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1018
+ }[] | null | undefined;
938
1019
  promptedByQuestion?: string | null | undefined;
939
1020
  scope?: "project" | "global" | null | undefined;
1021
+ quote?: string | null | undefined;
940
1022
  procedureSteps?: {
941
1023
  intent: string;
942
1024
  order: number;
@@ -960,15 +1042,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
960
1042
  eventTime?: string | null | undefined;
961
1043
  event_time?: string | null | undefined;
962
1044
  }, {
963
- tags: string[];
964
- content: string;
965
1045
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1046
+ content: string;
966
1047
  confidence: number;
1048
+ tags: string[];
967
1049
  entityRef?: string | null | undefined;
968
1050
  structuredAttributes?: Record<string, string> | null | undefined;
969
- quote?: string | null | undefined;
1051
+ cueAnchors?: {
1052
+ value: string;
1053
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1054
+ }[] | null | undefined;
970
1055
  promptedByQuestion?: string | null | undefined;
971
1056
  scope?: "project" | "global" | null | undefined;
1057
+ quote?: string | null | undefined;
972
1058
  procedureSteps?: {
973
1059
  intent: string;
974
1060
  order: number;
@@ -1003,34 +1089,34 @@ declare const ExtractionResultSchema: z.ZodObject<{
1003
1089
  title: z.ZodString;
1004
1090
  facts: z.ZodArray<z.ZodString, "many">;
1005
1091
  }, "strip", z.ZodTypeAny, {
1006
- title: string;
1007
1092
  key: string;
1093
+ title: string;
1008
1094
  facts: string[];
1009
1095
  }, {
1010
- title: string;
1011
1096
  key: string;
1097
+ title: string;
1012
1098
  facts: string[];
1013
1099
  }>, "many">>>;
1014
1100
  }, "strip", z.ZodTypeAny, {
1015
1101
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1016
1102
  name: string;
1017
1103
  facts: string[];
1104
+ promptedByQuestion?: string | null | undefined;
1018
1105
  structuredSections?: {
1019
- title: string;
1020
1106
  key: string;
1107
+ title: string;
1021
1108
  facts: string[];
1022
1109
  }[] | null | undefined;
1023
- promptedByQuestion?: string | null | undefined;
1024
1110
  }, {
1025
1111
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1026
1112
  name: string;
1027
1113
  facts: string[];
1114
+ promptedByQuestion?: string | null | undefined;
1028
1115
  structuredSections?: {
1029
- title: string;
1030
1116
  key: string;
1117
+ title: string;
1031
1118
  facts: string[];
1032
1119
  }[] | null | undefined;
1033
- promptedByQuestion?: string | null | undefined;
1034
1120
  }>, "many">;
1035
1121
  questions: z.ZodArray<z.ZodObject<{
1036
1122
  question: z.ZodString;
@@ -1046,19 +1132,20 @@ declare const ExtractionResultSchema: z.ZodObject<{
1046
1132
  context: string;
1047
1133
  }>, "many">;
1048
1134
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1135
+ episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1049
1136
  relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1050
1137
  source: z.ZodString;
1051
1138
  target: z.ZodString;
1052
1139
  label: z.ZodString;
1053
1140
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1054
1141
  }, "strip", z.ZodTypeAny, {
1055
- source: string;
1056
1142
  label: string;
1143
+ source: string;
1057
1144
  target: string;
1058
1145
  promptedByQuestion?: string | null | undefined;
1059
1146
  }, {
1060
- source: string;
1061
1147
  label: string;
1148
+ source: string;
1062
1149
  target: string;
1063
1150
  promptedByQuestion?: string | null | undefined;
1064
1151
  }>, "many">>>;
@@ -1069,15 +1156,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
1069
1156
  context: string;
1070
1157
  }[];
1071
1158
  facts: {
1072
- tags: string[];
1073
- content: string;
1074
1159
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1160
+ content: string;
1075
1161
  confidence: number;
1162
+ tags: string[];
1076
1163
  entityRef?: string | null | undefined;
1077
1164
  structuredAttributes?: Record<string, string> | null | undefined;
1078
- quote?: string | null | undefined;
1165
+ cueAnchors?: {
1166
+ value: string;
1167
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1168
+ }[] | null | undefined;
1079
1169
  promptedByQuestion?: string | null | undefined;
1080
1170
  scope?: "project" | "global" | null | undefined;
1171
+ quote?: string | null | undefined;
1081
1172
  procedureSteps?: {
1082
1173
  intent: string;
1083
1174
  order: number;
@@ -1105,21 +1196,22 @@ declare const ExtractionResultSchema: z.ZodObject<{
1105
1196
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1106
1197
  name: string;
1107
1198
  facts: string[];
1199
+ promptedByQuestion?: string | null | undefined;
1108
1200
  structuredSections?: {
1109
- title: string;
1110
1201
  key: string;
1202
+ title: string;
1111
1203
  facts: string[];
1112
1204
  }[] | null | undefined;
1113
- promptedByQuestion?: string | null | undefined;
1114
1205
  }[];
1115
1206
  profileUpdates: string[];
1116
1207
  relationships?: {
1117
- source: string;
1118
1208
  label: string;
1209
+ source: string;
1119
1210
  target: string;
1120
1211
  promptedByQuestion?: string | null | undefined;
1121
1212
  }[] | null | undefined;
1122
1213
  identityReflection?: string | null | undefined;
1214
+ episodeTitle?: string | null | undefined;
1123
1215
  }, {
1124
1216
  questions: {
1125
1217
  question: string;
@@ -1127,15 +1219,19 @@ declare const ExtractionResultSchema: z.ZodObject<{
1127
1219
  context: string;
1128
1220
  }[];
1129
1221
  facts: {
1130
- tags: string[];
1131
- content: string;
1132
1222
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1223
+ content: string;
1133
1224
  confidence: number;
1225
+ tags: string[];
1134
1226
  entityRef?: string | null | undefined;
1135
1227
  structuredAttributes?: Record<string, string> | null | undefined;
1136
- quote?: string | null | undefined;
1228
+ cueAnchors?: {
1229
+ value: string;
1230
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1231
+ }[] | null | undefined;
1137
1232
  promptedByQuestion?: string | null | undefined;
1138
1233
  scope?: "project" | "global" | null | undefined;
1234
+ quote?: string | null | undefined;
1139
1235
  procedureSteps?: {
1140
1236
  intent: string;
1141
1237
  order: number;
@@ -1163,21 +1259,22 @@ declare const ExtractionResultSchema: z.ZodObject<{
1163
1259
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1164
1260
  name: string;
1165
1261
  facts: string[];
1262
+ promptedByQuestion?: string | null | undefined;
1166
1263
  structuredSections?: {
1167
- title: string;
1168
1264
  key: string;
1265
+ title: string;
1169
1266
  facts: string[];
1170
1267
  }[] | null | undefined;
1171
- promptedByQuestion?: string | null | undefined;
1172
1268
  }[];
1173
1269
  profileUpdates: string[];
1174
1270
  relationships?: {
1175
- source: string;
1176
1271
  label: string;
1272
+ source: string;
1177
1273
  target: string;
1178
1274
  promptedByQuestion?: string | null | undefined;
1179
1275
  }[] | null | undefined;
1180
1276
  identityReflection?: string | null | undefined;
1277
+ episodeTitle?: string | null | undefined;
1181
1278
  }>;
1182
1279
  declare const ConsolidationItemSchema: z.ZodObject<{
1183
1280
  existingId: z.ZodString;
@@ -1229,34 +1326,34 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1229
1326
  title: z.ZodString;
1230
1327
  facts: z.ZodArray<z.ZodString, "many">;
1231
1328
  }, "strip", z.ZodTypeAny, {
1232
- title: string;
1233
1329
  key: string;
1330
+ title: string;
1234
1331
  facts: string[];
1235
1332
  }, {
1236
- title: string;
1237
1333
  key: string;
1334
+ title: string;
1238
1335
  facts: string[];
1239
1336
  }>, "many">>>;
1240
1337
  }, "strip", z.ZodTypeAny, {
1241
1338
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1242
1339
  name: string;
1243
1340
  facts: string[];
1341
+ promptedByQuestion?: string | null | undefined;
1244
1342
  structuredSections?: {
1245
- title: string;
1246
1343
  key: string;
1344
+ title: string;
1247
1345
  facts: string[];
1248
1346
  }[] | null | undefined;
1249
- promptedByQuestion?: string | null | undefined;
1250
1347
  }, {
1251
1348
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1252
1349
  name: string;
1253
1350
  facts: string[];
1351
+ promptedByQuestion?: string | null | undefined;
1254
1352
  structuredSections?: {
1255
- title: string;
1256
1353
  key: string;
1354
+ title: string;
1257
1355
  facts: string[];
1258
1356
  }[] | null | undefined;
1259
- promptedByQuestion?: string | null | undefined;
1260
1357
  }>, "many">;
1261
1358
  }, "strip", z.ZodTypeAny, {
1262
1359
  items: {
@@ -1271,12 +1368,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1271
1368
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1272
1369
  name: string;
1273
1370
  facts: string[];
1371
+ promptedByQuestion?: string | null | undefined;
1274
1372
  structuredSections?: {
1275
- title: string;
1276
1373
  key: string;
1374
+ title: string;
1277
1375
  facts: string[];
1278
1376
  }[] | null | undefined;
1279
- promptedByQuestion?: string | null | undefined;
1280
1377
  }[];
1281
1378
  }, {
1282
1379
  items: {
@@ -1291,12 +1388,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1291
1388
  type: "project" | "other" | "person" | "tool" | "company" | "place";
1292
1389
  name: string;
1293
1390
  facts: string[];
1391
+ promptedByQuestion?: string | null | undefined;
1294
1392
  structuredSections?: {
1295
- title: string;
1296
1393
  key: string;
1394
+ title: string;
1297
1395
  facts: string[];
1298
1396
  }[] | null | undefined;
1299
- promptedByQuestion?: string | null | undefined;
1300
1397
  }[];
1301
1398
  }>;
1302
1399
  declare function buildProfileConsolidationResultSchema(targetLines: number): z.ZodObject<{
@@ -1342,15 +1439,15 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
1342
1439
  reasoning: z.ZodString;
1343
1440
  whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
1344
1441
  }, "strip", z.ZodTypeAny, {
1345
- reasoning: string;
1346
1442
  confidence: number;
1443
+ reasoning: string;
1347
1444
  isContradiction: boolean;
1348
- whichIsNewer: "second" | "first" | "unclear";
1445
+ whichIsNewer: "first" | "second" | "unclear";
1349
1446
  }, {
1350
- reasoning: string;
1351
1447
  confidence: number;
1448
+ reasoning: string;
1352
1449
  isContradiction: boolean;
1353
- whichIsNewer: "second" | "first" | "unclear";
1450
+ whichIsNewer: "first" | "second" | "unclear";
1354
1451
  }>;
1355
1452
  type ContradictionVerificationResult = z.infer<typeof ContradictionVerificationSchema>;
1356
1453
  declare const MemoryLinkSchema: z.ZodObject<{
@@ -1360,12 +1457,12 @@ declare const MemoryLinkSchema: z.ZodObject<{
1360
1457
  reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1361
1458
  }, "strip", z.ZodTypeAny, {
1362
1459
  targetId: string;
1363
- linkType: "follows" | "references" | "contradicts" | "supports" | "related";
1460
+ linkType: "supports" | "follows" | "references" | "contradicts" | "related";
1364
1461
  strength: number;
1365
1462
  reason?: string | null | undefined;
1366
1463
  }, {
1367
1464
  targetId: string;
1368
- linkType: "follows" | "references" | "contradicts" | "supports" | "related";
1465
+ linkType: "supports" | "follows" | "references" | "contradicts" | "related";
1369
1466
  strength: number;
1370
1467
  reason?: string | null | undefined;
1371
1468
  }>;
@@ -1377,26 +1474,26 @@ declare const SuggestedLinksSchema: z.ZodObject<{
1377
1474
  reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1378
1475
  }, "strip", z.ZodTypeAny, {
1379
1476
  targetId: string;
1380
- linkType: "follows" | "references" | "contradicts" | "supports" | "related";
1477
+ linkType: "supports" | "follows" | "references" | "contradicts" | "related";
1381
1478
  strength: number;
1382
1479
  reason?: string | null | undefined;
1383
1480
  }, {
1384
1481
  targetId: string;
1385
- linkType: "follows" | "references" | "contradicts" | "supports" | "related";
1482
+ linkType: "supports" | "follows" | "references" | "contradicts" | "related";
1386
1483
  strength: number;
1387
1484
  reason?: string | null | undefined;
1388
1485
  }>, "many">;
1389
1486
  }, "strip", z.ZodTypeAny, {
1390
1487
  links: {
1391
1488
  targetId: string;
1392
- linkType: "follows" | "references" | "contradicts" | "supports" | "related";
1489
+ linkType: "supports" | "follows" | "references" | "contradicts" | "related";
1393
1490
  strength: number;
1394
1491
  reason?: string | null | undefined;
1395
1492
  }[];
1396
1493
  }, {
1397
1494
  links: {
1398
1495
  targetId: string;
1399
- linkType: "follows" | "references" | "contradicts" | "supports" | "related";
1496
+ linkType: "supports" | "follows" | "references" | "contradicts" | "related";
1400
1497
  strength: number;
1401
1498
  reason?: string | null | undefined;
1402
1499
  }[];
@@ -1443,8 +1540,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1443
1540
  reason: z.ZodString;
1444
1541
  appliedAt: z.ZodString;
1445
1542
  }, "strip", z.ZodTypeAny, {
1446
- confidence: number;
1447
1543
  reason: string;
1544
+ confidence: number;
1448
1545
  parameter: string;
1449
1546
  previousValue: number;
1450
1547
  nextValue: number;
@@ -1452,8 +1549,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1452
1549
  evidenceCount: number;
1453
1550
  appliedAt: string;
1454
1551
  }, {
1455
- confidence: number;
1456
1552
  reason: string;
1553
+ confidence: number;
1457
1554
  parameter: string;
1458
1555
  previousValue: number;
1459
1556
  nextValue: number;
@@ -1477,8 +1574,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1477
1574
  reason: z.ZodString;
1478
1575
  appliedAt: z.ZodString;
1479
1576
  }, "strip", z.ZodTypeAny, {
1480
- confidence: number;
1481
1577
  reason: string;
1578
+ confidence: number;
1482
1579
  parameter: string;
1483
1580
  previousValue: number;
1484
1581
  nextValue: number;
@@ -1486,8 +1583,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1486
1583
  evidenceCount: number;
1487
1584
  appliedAt: string;
1488
1585
  }, {
1489
- confidence: number;
1490
1586
  reason: string;
1587
+ confidence: number;
1491
1588
  parameter: string;
1492
1589
  previousValue: number;
1493
1590
  nextValue: number;
@@ -1498,14 +1595,13 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1498
1595
  updatedAt: z.ZodString;
1499
1596
  }, "strip", z.ZodTypeAny, {
1500
1597
  version: number;
1501
- updatedAt: string;
1502
1598
  windowDays: number;
1503
1599
  minSignalCount: number;
1504
1600
  maxDeltaPerCycle: number;
1505
1601
  protectedParams: string[];
1506
1602
  adjustments: {
1507
- confidence: number;
1508
1603
  reason: string;
1604
+ confidence: number;
1509
1605
  parameter: string;
1510
1606
  previousValue: number;
1511
1607
  nextValue: number;
@@ -1513,16 +1609,16 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1513
1609
  evidenceCount: number;
1514
1610
  appliedAt: string;
1515
1611
  }[];
1612
+ updatedAt: string;
1516
1613
  }, {
1517
1614
  version: number;
1518
- updatedAt: string;
1519
1615
  windowDays: number;
1520
1616
  minSignalCount: number;
1521
1617
  maxDeltaPerCycle: number;
1522
1618
  protectedParams: string[];
1523
1619
  adjustments: {
1524
- confidence: number;
1525
1620
  reason: string;
1621
+ confidence: number;
1526
1622
  parameter: string;
1527
1623
  previousValue: number;
1528
1624
  nextValue: number;
@@ -1530,6 +1626,7 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1530
1626
  evidenceCount: number;
1531
1627
  appliedAt: string;
1532
1628
  }[];
1629
+ updatedAt: string;
1533
1630
  }>;
1534
1631
  type BehaviorLoopAdjustmentParsed = z.infer<typeof BehaviorLoopAdjustmentSchema>;
1535
1632
  type BehaviorLoopPolicyStateParsed = z.infer<typeof BehaviorLoopPolicyStateSchema>;