@remnic/core 9.50.3 → 9.51.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 (486) hide show
  1. package/dist/access-admin-ops-surface.d.ts +13 -11
  2. package/dist/access-admin-ops-surface.js +41 -39
  3. package/dist/access-authorization-probe.d.ts +13 -11
  4. package/dist/access-authorization-probe.js +42 -40
  5. package/dist/access-boundary.d.ts +13 -11
  6. package/dist/access-boundary.js +41 -39
  7. package/dist/access-cli.js +109 -104
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +3 -1
  10. package/dist/access-extraction-force-flush.d.ts +13 -11
  11. package/dist/access-extraction-force-flush.js +41 -39
  12. package/dist/access-health-types.d.ts +3 -1
  13. package/dist/access-http-lcm-compaction.d.ts +13 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +13 -11
  15. package/dist/access-http-offline-stream.d.ts +13 -11
  16. package/dist/access-http-query.js +41 -39
  17. package/dist/access-http.d.ts +13 -11
  18. package/dist/access-http.js +52 -50
  19. package/dist/access-identity-continuity-surface.d.ts +11 -9
  20. package/dist/access-identity-continuity-surface.js +41 -39
  21. package/dist/access-lcm-surface.d.ts +13 -11
  22. package/dist/access-lcm-surface.js +41 -39
  23. package/dist/access-mcp.d.ts +13 -11
  24. package/dist/access-mcp.js +47 -45
  25. package/dist/access-memory-search-fanout.d.ts +4 -2
  26. package/dist/{access-namespace-preflight-Dj2QolFE.d.ts → access-namespace-preflight-Ds6CGlCP.d.ts} +1 -1
  27. package/dist/access-namespace-preflight.d.ts +5 -3
  28. package/dist/access-namespace-preflight.js +41 -39
  29. package/dist/access-observe-write-surface.d.ts +13 -11
  30. package/dist/access-observe-write-surface.js +41 -39
  31. package/dist/access-offline-manifest.d.ts +11 -9
  32. package/dist/access-operations-batch.js +43 -41
  33. package/dist/access-operations.d.ts +16 -14
  34. package/dist/access-operations.js +46 -44
  35. package/dist/access-recall-concurrency.d.ts +13 -11
  36. package/dist/access-recall-concurrency.js +41 -39
  37. package/dist/access-recall-response.d.ts +13 -11
  38. package/dist/access-recall-response.js +41 -39
  39. package/dist/access-recall-surface.d.ts +13 -11
  40. package/dist/access-recall-surface.js +41 -39
  41. package/dist/access-schema.d.ts +88 -88
  42. package/dist/access-schema.js +3 -3
  43. package/dist/{access-service-DesbnTSa.d.ts → access-service-BY0KJ44c.d.ts} +7 -7
  44. package/dist/access-service-helpers.d.ts +13 -11
  45. package/dist/access-service.d.ts +13 -11
  46. package/dist/access-service.js +41 -39
  47. package/dist/access-surface-catalog.d.ts +13 -11
  48. package/dist/access-wearables-meetings-surface.d.ts +5 -3
  49. package/dist/action-confidence.d.ts +3 -1
  50. package/dist/active-memory-bridge.d.ts +3 -1
  51. package/dist/active-recall.d.ts +3 -1
  52. package/dist/active-recall.js +5 -3
  53. package/dist/active-recall.js.map +1 -1
  54. package/dist/adapters/index.js +4 -4
  55. package/dist/adapters/registry.js +2 -2
  56. package/dist/ambient-provenance.d.ts +3 -1
  57. package/dist/archive-mutation-version.d.ts +9 -0
  58. package/dist/archive-mutation-version.js +20 -0
  59. package/dist/artifact-search.d.ts +3 -1
  60. package/dist/behavior-learner.d.ts +3 -1
  61. package/dist/behavior-signals.d.ts +3 -1
  62. package/dist/bootstrap.d.ts +11 -9
  63. package/dist/briefing.d.ts +4 -2
  64. package/dist/briefing.js +10 -9
  65. package/dist/buffer-surprise-report.d.ts +3 -1
  66. package/dist/buffer-turn-helpers.d.ts +3 -1
  67. package/dist/buffer.d.ts +4 -2
  68. package/dist/buffer.js +5 -5
  69. package/dist/bulk-import/index.d.ts +5 -3
  70. package/dist/calibration.d.ts +3 -1
  71. package/dist/capabilities.d.ts +3 -1
  72. package/dist/{catalog-D-G7RgXR.d.ts → catalog-D3B4RDy1.d.ts} +1 -1
  73. package/dist/causal-behavior.d.ts +3 -1
  74. package/dist/causal-behavior.js +2 -2
  75. package/dist/causal-chain.js +2 -2
  76. package/dist/causal-consolidation.d.ts +3 -1
  77. package/dist/causal-consolidation.js +13 -12
  78. package/dist/causal-consolidation.js.map +1 -1
  79. package/dist/causal-retrieval.js +2 -2
  80. package/dist/causal-trajectory-graph.d.ts +4 -2
  81. package/dist/causal-trajectory-graph.js +2 -1
  82. package/dist/causal-trajectory-graph.js.map +1 -1
  83. package/dist/causal-trajectory.js +1 -1
  84. package/dist/{chunk-KDG2KTWW.js → chunk-33SV3E43.js} +4 -4
  85. package/dist/{chunk-2HGUDBRJ.js → chunk-37ZO6LLJ.js} +2 -2
  86. package/dist/{chunk-QW3WFHKU.js → chunk-45BRYON6.js} +2 -2
  87. package/dist/{chunk-GZICBRWK.js → chunk-4F6X3RXW.js} +2 -2
  88. package/dist/{chunk-7BAYBYY5.js → chunk-4PC4PRJE.js} +2 -2
  89. package/dist/{chunk-VJXY5ZCT.js → chunk-52UKFTUK.js} +2 -2
  90. package/dist/{chunk-ESG7Z255.js → chunk-5UDMFE3Q.js} +2 -2
  91. package/dist/{chunk-JPHEOE6Z.js → chunk-6MTSFX7A.js} +15 -15
  92. package/dist/chunk-6ZN34ISG.js +44 -0
  93. package/dist/chunk-6ZN34ISG.js.map +1 -0
  94. package/dist/{chunk-M4MP34AQ.js → chunk-AHZOMHWN.js} +1 -1
  95. package/dist/{chunk-Z3RHPGSY.js → chunk-AIUBBHSF.js} +3 -3
  96. package/dist/{chunk-S3AYIQCU.js → chunk-AXIDQG5A.js} +12 -12
  97. package/dist/{chunk-QN7NTKRC.js → chunk-AZ2QBGYB.js} +1 -1
  98. package/dist/{chunk-47J4EDGR.js → chunk-AZM4CCAC.js} +8 -8
  99. package/dist/{chunk-IXXABW5A.js → chunk-BHXYAVUM.js} +11 -5
  100. package/dist/chunk-BHXYAVUM.js.map +1 -0
  101. package/dist/{chunk-L2DPF4DF.js → chunk-BIJAWZYW.js} +54 -12
  102. package/dist/chunk-BIJAWZYW.js.map +1 -0
  103. package/dist/{chunk-LEJPSMKM.js → chunk-C5QLI33R.js} +3 -3
  104. package/dist/{chunk-SV3PSA7Y.js → chunk-CV6BBVYV.js} +5 -5
  105. package/dist/{chunk-V7X767RT.js → chunk-DCZBSE4F.js} +52 -52
  106. package/dist/chunk-FC67T4E6.js +70 -0
  107. package/dist/chunk-FC67T4E6.js.map +1 -0
  108. package/dist/{chunk-7PKFPLLZ.js → chunk-FXTYIA46.js} +2 -2
  109. package/dist/{chunk-64BHFFKZ.js → chunk-HLYR2TQL.js} +5 -5
  110. package/dist/{chunk-5C2HNJMO.js → chunk-J5LLX6IL.js} +32 -32
  111. package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
  112. package/dist/{chunk-PLKFO2HJ.js → chunk-JL43BVDE.js} +2 -2
  113. package/dist/{chunk-2S72LWKX.js → chunk-JYL3BVVZ.js} +2 -2
  114. package/dist/{chunk-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
  115. package/dist/chunk-LXY5VVGM.js +61 -0
  116. package/dist/chunk-LXY5VVGM.js.map +1 -0
  117. package/dist/{chunk-PYKKWQZ2.js → chunk-M7BXDKPR.js} +6 -6
  118. package/dist/{chunk-Z54EM5YZ.js → chunk-MAXVH44E.js} +7 -7
  119. package/dist/{chunk-LYMNZZIM.js → chunk-NIS256NW.js} +2 -2
  120. package/dist/{chunk-67QG75MJ.js → chunk-NLK2VZYZ.js} +2 -2
  121. package/dist/{chunk-A4QMKFFO.js → chunk-O5FFBO2M.js} +14 -28
  122. package/dist/chunk-O5FFBO2M.js.map +1 -0
  123. package/dist/{chunk-JYIFGGEM.js → chunk-OUKBMQ2O.js} +2 -2
  124. package/dist/{chunk-75XOWNRS.js → chunk-OYESWJ43.js} +4 -4
  125. package/dist/{chunk-TS4AJ2GI.js → chunk-PA45XCUD.js} +3 -3
  126. package/dist/{chunk-BJYET5TX.js → chunk-PRDJMOST.js} +7 -1
  127. package/dist/chunk-PRDJMOST.js.map +1 -0
  128. package/dist/{chunk-4MBPIL4V.js → chunk-PUSLMZBQ.js} +2 -2
  129. package/dist/{chunk-RVO6TCTU.js → chunk-QCECHYZL.js} +6 -6
  130. package/dist/{chunk-GFIKG4FR.js → chunk-QGR6OVGT.js} +2 -2
  131. package/dist/{chunk-NSGU76YO.js → chunk-QHFV6VNU.js} +6 -2
  132. package/dist/chunk-QHFV6VNU.js.map +1 -0
  133. package/dist/{chunk-PDEKQWDV.js → chunk-QT2FRYI4.js} +18 -2
  134. package/dist/chunk-QT2FRYI4.js.map +1 -0
  135. package/dist/{chunk-HNZKVLAN.js → chunk-S354QO4R.js} +2 -2
  136. package/dist/{chunk-NO37MR45.js → chunk-SOEN6KCF.js} +2 -2
  137. package/dist/{chunk-FXX6RQYC.js → chunk-TPTECFWR.js} +2 -2
  138. package/dist/{chunk-GDDGZVFI.js → chunk-UEVLYVNW.js} +2 -2
  139. package/dist/{chunk-YQ4IQ2GA.js → chunk-UT5BV5OG.js} +2 -2
  140. package/dist/{chunk-LAQ33B5D.js → chunk-UU3G6GUP.js} +1 -1
  141. package/dist/chunk-UU3G6GUP.js.map +1 -0
  142. package/dist/{chunk-LNTUXKBT.js → chunk-UYYW2KPU.js} +2 -2
  143. package/dist/{chunk-BOFVT6P3.js → chunk-VBHPOWBJ.js} +175 -98
  144. package/dist/chunk-VBHPOWBJ.js.map +1 -0
  145. package/dist/{chunk-QSYL5CXK.js → chunk-VKXWK44Q.js} +3 -3
  146. package/dist/{chunk-KMWYZTIE.js → chunk-VMMQDEN5.js} +2 -2
  147. package/dist/{chunk-JB6D7EFB.js → chunk-VVG2BOKA.js} +2 -2
  148. package/dist/chunk-W5BIQOAJ.js +69 -0
  149. package/dist/chunk-W5BIQOAJ.js.map +1 -0
  150. package/dist/{chunk-V5H6OJCR.js → chunk-W5XVQFLM.js} +2 -2
  151. package/dist/{chunk-OIOZ6MOP.js → chunk-W6FNX2LP.js} +2 -2
  152. package/dist/{chunk-6QPHF6RR.js → chunk-WQM326GS.js} +2 -2
  153. package/dist/{chunk-TQFHQPWD.js → chunk-XADV5IZ3.js} +8 -8
  154. package/dist/{chunk-DATDLJAO.js → chunk-XAPMEU3K.js} +2 -2
  155. package/dist/chunk-XXSOVESA.js +42 -0
  156. package/dist/chunk-XXSOVESA.js.map +1 -0
  157. package/dist/{chunk-IK6X5QPO.js → chunk-ZHY5TMJG.js} +1193 -443
  158. package/dist/chunk-ZHY5TMJG.js.map +1 -0
  159. package/dist/{chunk-N3LL5NEU.js → chunk-ZMYDYNI4.js} +2 -2
  160. package/dist/{cli-D4vvtxjY.d.ts → cli-CnOkH9hA.d.ts} +6 -6
  161. package/dist/cli.d.ts +15 -13
  162. package/dist/cli.js +74 -70
  163. package/dist/coding/pre-action-gate.d.ts +3 -1
  164. package/dist/coding/pre-action-gate.js +2 -2
  165. package/dist/compounding/engine.d.ts +4 -2
  166. package/dist/compounding/engine.js +10 -9
  167. package/dist/compounding/preference-consolidator.d.ts +3 -1
  168. package/dist/compression-optimizer.d.ts +3 -1
  169. package/dist/config.d.ts +3 -1
  170. package/dist/config.js +5 -3
  171. package/dist/connectors/codex-materialize-runner.d.ts +3 -1
  172. package/dist/connectors/codex-materialize-runner.js +10 -9
  173. package/dist/connectors/codex-materialize.d.ts +3 -1
  174. package/dist/connectors/index.d.ts +3 -1
  175. package/dist/connectors/index.js +10 -9
  176. package/dist/consolidation-provenance-check.d.ts +4 -2
  177. package/dist/consolidation-undo.d.ts +4 -2
  178. package/dist/contradiction/index.d.ts +4 -2
  179. package/dist/contradiction-config.d.ts +29 -0
  180. package/dist/contradiction-config.js +12 -0
  181. package/dist/contradiction-config.js.map +1 -0
  182. package/dist/converge-config.d.ts +3 -1
  183. package/dist/convergence-refresh.d.ts +4 -2
  184. package/dist/convergence-refresh.js +12 -11
  185. package/dist/conversation-index/backend.d.ts +3 -1
  186. package/dist/conversation-index/chunker.d.ts +3 -1
  187. package/dist/conversation-index/faiss-adapter.d.ts +3 -1
  188. package/dist/conversation-index/indexer.d.ts +3 -1
  189. package/dist/conversation-index/search.d.ts +3 -1
  190. package/dist/corpus-watermark.d.ts +3 -1
  191. package/dist/corpus-watermark.js +21 -20
  192. package/dist/day-summary.d.ts +3 -1
  193. package/dist/delinearize.d.ts +3 -1
  194. package/dist/dependency-propagation-config.d.ts +3 -1
  195. package/dist/direct-answer-wiring.d.ts +3 -1
  196. package/dist/direct-answer.d.ts +3 -1
  197. package/dist/embedding-fallback.d.ts +3 -1
  198. package/dist/enrichment/index.d.ts +3 -1
  199. package/dist/entity-retrieval.d.ts +4 -2
  200. package/dist/entity-retrieval.js +10 -9
  201. package/dist/entity-schema.d.ts +3 -1
  202. package/dist/explicit-capture.d.ts +11 -9
  203. package/dist/explicit-capture.js +3 -2
  204. package/dist/external-wiki-access.d.ts +13 -11
  205. package/dist/external-wiki-access.js +42 -40
  206. package/dist/external-wiki-collection-registration.d.ts +3 -1
  207. package/dist/external-wiki-collection.d.ts +3 -1
  208. package/dist/external-wiki-mcp-tools.d.ts +13 -11
  209. package/dist/extraction-error-classification.d.ts +3 -1
  210. package/dist/extraction-faithfulness.d.ts +3 -1
  211. package/dist/extraction-judge-telemetry.d.ts +3 -1
  212. package/dist/extraction-judge-training.d.ts +3 -1
  213. package/dist/extraction-judge.d.ts +3 -1
  214. package/dist/extraction-liveness.d.ts +3 -1
  215. package/dist/extraction-normalization.d.ts +3 -1
  216. package/dist/extraction-prompt.d.ts +3 -1
  217. package/dist/extraction-source-grounding-rules.d.ts +3 -1
  218. package/dist/extraction-source-grounding.d.ts +3 -1
  219. package/dist/extraction.d.ts +3 -1
  220. package/dist/extraction.js +22 -21
  221. package/dist/fallback-llm.d.ts +3 -1
  222. package/dist/graph-444E-DrF.d.ts +349 -0
  223. package/dist/graph-dashboard-diff.d.ts +4 -2
  224. package/dist/graph-dashboard-key.d.ts +4 -2
  225. package/dist/graph-dashboard-parser.d.ts +4 -2
  226. package/dist/{graph-edge-decay-Z6ENALU2.js → graph-edge-decay-65KMOJWY.js} +4 -3
  227. package/dist/graph-edge-decay-65KMOJWY.js.map +1 -0
  228. package/dist/graph-edge-reinforcement.d.ts +4 -2
  229. package/dist/graph-path-reconstruction.d.ts +10 -0
  230. package/dist/graph-path-reconstruction.js +12 -0
  231. package/dist/graph-path-reconstruction.js.map +1 -0
  232. package/dist/graph-path-scoring-config.d.ts +8 -0
  233. package/dist/graph-path-scoring-config.js +10 -0
  234. package/dist/graph-path-scoring-config.js.map +1 -0
  235. package/dist/graph-path-scoring.d.ts +36 -0
  236. package/dist/graph-path-scoring.js +11 -0
  237. package/dist/graph-path-scoring.js.map +1 -0
  238. package/dist/graph-snapshot.d.ts +4 -2
  239. package/dist/graph-snapshot.js +3 -2
  240. package/dist/graph.d.ts +5 -318
  241. package/dist/graph.js +5 -1
  242. package/dist/harmonic-retrieval.js +1 -1
  243. package/dist/importance.d.ts +3 -1
  244. package/dist/importers/index.d.ts +3 -1
  245. package/dist/in-flight-reads.d.ts +3 -1
  246. package/dist/index.d.ts +696 -694
  247. package/dist/index.js +149 -144
  248. package/dist/intent.d.ts +3 -1
  249. package/dist/lcm/engine.d.ts +3 -1
  250. package/dist/lcm/engine.js +3 -3
  251. package/dist/lcm/index.d.ts +3 -1
  252. package/dist/lcm/index.js +6 -6
  253. package/dist/lcm/tools.d.ts +3 -1
  254. package/dist/lifecycle.d.ts +3 -1
  255. package/dist/live-connectors-runner.d.ts +3 -1
  256. package/dist/local-llm.d.ts +3 -1
  257. package/dist/local-model-endpoint.d.ts +3 -1
  258. package/dist/maintenance/memory-governance.d.ts +3 -1
  259. package/dist/maintenance/memory-governance.js +10 -9
  260. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +4 -2
  261. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -9
  262. package/dist/maintenance/rebuild-memory-projection.d.ts +4 -2
  263. package/dist/maintenance/rebuild-memory-projection.js +11 -10
  264. package/dist/{maintenance-ClmUVpGI.d.ts → maintenance-CKwxpdRx.d.ts} +3 -3
  265. package/dist/mcp-memory-inspector-app.d.ts +13 -11
  266. package/dist/memory-action-policy.d.ts +3 -1
  267. package/dist/memory-cache.d.ts +3 -1
  268. package/dist/memory-lifecycle-ledger-utils.d.ts +3 -1
  269. package/dist/memory-projection-store.d.ts +3 -1
  270. package/dist/memory-provenance.d.ts +3 -1
  271. package/dist/memory-snapshot.d.ts +3 -1
  272. package/dist/memory-worth-outcomes.d.ts +4 -2
  273. package/dist/models-json.d.ts +3 -1
  274. package/dist/namespaces/migrate.d.ts +5 -3
  275. package/dist/namespaces/migrate.js +20 -19
  276. package/dist/namespaces/principal.d.ts +3 -1
  277. package/dist/namespaces/search.d.ts +3 -1
  278. package/dist/namespaces/search.js +7 -7
  279. package/dist/namespaces/storage.d.ts +5 -3
  280. package/dist/namespaces/storage.js +10 -9
  281. package/dist/native-knowledge.d.ts +3 -1
  282. package/dist/offline-sync-impression-drain.d.ts +3 -1
  283. package/dist/operator-doctor-corpus.d.ts +3 -1
  284. package/dist/operator-doctor-corpus.js +22 -21
  285. package/dist/operator-doctor-replica.d.ts +3 -1
  286. package/dist/operator-toolkit.d.ts +6 -4
  287. package/dist/operator-toolkit.js +33 -29
  288. package/dist/orchestration/compression-guideline-coordinator.d.ts +4 -2
  289. package/dist/orchestration/maintenance.d.ts +6 -4
  290. package/dist/orchestration/maintenance.js +15 -14
  291. package/dist/{orchestrator-qJ07zI8H.d.ts → orchestrator-BshGam-o.d.ts} +45 -19
  292. package/dist/orchestrator.d.ts +11 -9
  293. package/dist/orchestrator.js +109 -104
  294. package/dist/patterns-cli.d.ts +3 -1
  295. package/dist/{pipeline-WFCxhHOn.d.ts → pipeline-D21Rs6gW.d.ts} +1 -1
  296. package/dist/policy-runtime.d.ts +3 -1
  297. package/dist/proactive-contention.d.ts +3 -1
  298. package/dist/provenance.d.ts +3 -1
  299. package/dist/{qmd-5tzkQ44y.d.ts → qmd-Dhle1P4X.d.ts} +1 -1
  300. package/dist/qmd-preflight.d.ts +4 -2
  301. package/dist/qmd-recall-cache.d.ts +3 -1
  302. package/dist/qmd.d.ts +4 -2
  303. package/dist/qmd.js +4 -4
  304. package/dist/recall-concurrency-config.d.ts +3 -1
  305. package/dist/recall-disclosure-escalation.d.ts +3 -1
  306. package/dist/recall-explain-renderer.d.ts +3 -1
  307. package/dist/recall-explain-renderer.js +3 -3
  308. package/dist/recall-memory-map.d.ts +3 -1
  309. package/dist/recall-planner-llm.d.ts +3 -1
  310. package/dist/recall-planner-llm.js +3 -3
  311. package/dist/recall-state.d.ts +7 -1
  312. package/dist/recall-state.js +1 -1
  313. package/dist/recall-tag-filter.d.ts +3 -1
  314. package/dist/recall-timings.d.ts +3 -1
  315. package/dist/recall-xray-cli.d.ts +3 -1
  316. package/dist/recall-xray-cli.js +4 -4
  317. package/dist/recall-xray-renderer.d.ts +3 -1
  318. package/dist/recall-xray-renderer.js +3 -3
  319. package/dist/recall-xray.d.ts +7 -1
  320. package/dist/recall-xray.js +2 -2
  321. package/dist/reconcile/cursor.d.ts +3 -1
  322. package/dist/reconcile/manifest.d.ts +3 -1
  323. package/dist/reconcile/plan.d.ts +3 -1
  324. package/dist/replay/normalizers/chatgpt.d.ts +3 -1
  325. package/dist/replay/normalizers/claude.d.ts +3 -1
  326. package/dist/replay/normalizers/openclaw.d.ts +3 -1
  327. package/dist/replay/normalizers/shared.d.ts +3 -1
  328. package/dist/replay/runner.d.ts +3 -1
  329. package/dist/replay/types.d.ts +3 -1
  330. package/dist/replica-divergence.d.ts +3 -1
  331. package/dist/replica-peers-config.d.ts +3 -1
  332. package/dist/resolve-auth-token.d.ts +3 -1
  333. package/dist/resume-bundles.js +6 -4
  334. package/dist/retrieval-agents.d.ts +4 -2
  335. package/dist/retrieval-tiers.d.ts +3 -1
  336. package/dist/routing/engine.d.ts +3 -1
  337. package/dist/routing/store.d.ts +3 -1
  338. package/dist/salvage-envelope.d.ts +3 -1
  339. package/dist/schemas.d.ts +116 -116
  340. package/dist/{scope-profiles--vfXPl3X.d.ts → scope-profiles-NzGPDXLn.d.ts} +1 -1
  341. package/dist/search/embed-helper.d.ts +3 -1
  342. package/dist/search/factory.d.ts +3 -1
  343. package/dist/search/factory.js +6 -6
  344. package/dist/search/index.d.ts +3 -1
  345. package/dist/search/index.js +12 -12
  346. package/dist/search/lancedb-backend.d.ts +3 -1
  347. package/dist/search/meilisearch-backend.d.ts +3 -1
  348. package/dist/search/noop-backend.d.ts +3 -1
  349. package/dist/search/orama-backend.d.ts +3 -1
  350. package/dist/search/port.d.ts +3 -1
  351. package/dist/search/remote-backend.d.ts +3 -1
  352. package/dist/{semantic-consolidation-BBDuP9nJ.d.ts → semantic-consolidation-DLDKvyy5.d.ts} +1 -1
  353. package/dist/semantic-consolidation.d.ts +4 -2
  354. package/dist/semantic-consolidation.js +11 -10
  355. package/dist/semantic-rule-promotion.js +10 -9
  356. package/dist/semantic-rule-verifier.d.ts +3 -1
  357. package/dist/semantic-rule-verifier.js +10 -9
  358. package/dist/{service-B8DtbpCM.d.ts → service-BIgVM7fL.d.ts} +2 -2
  359. package/dist/session-observer-bands.d.ts +3 -1
  360. package/dist/session-observer-state.d.ts +3 -1
  361. package/dist/shared-context/manager.d.ts +11 -9
  362. package/dist/signal.d.ts +3 -1
  363. package/dist/source-agent-qualifier.d.ts +3 -1
  364. package/dist/source-agent-qualifier.js +18 -17
  365. package/dist/{storage-BkYN1RIy.d.ts → storage-CVfGWqCI.d.ts} +7 -6
  366. package/dist/storage.d.ts +4 -2
  367. package/dist/storage.js +9 -8
  368. package/dist/summarizer.d.ts +3 -1
  369. package/dist/summary-snapshot.d.ts +3 -1
  370. package/dist/temporal-supersession.d.ts +4 -2
  371. package/dist/temporal-timeline-recall.d.ts +3 -1
  372. package/dist/temporal-validity.d.ts +3 -1
  373. package/dist/threading.d.ts +3 -1
  374. package/dist/tier-migration.d.ts +4 -2
  375. package/dist/tier-routing.d.ts +3 -1
  376. package/dist/topics.d.ts +3 -1
  377. package/dist/transcript.d.ts +3 -1
  378. package/dist/transfer/autodetect.js +1 -1
  379. package/dist/transfer/backup.js +1 -1
  380. package/dist/transfer/capsule-export.js +2 -2
  381. package/dist/transfer/types.d.ts +66 -66
  382. package/dist/trust-score-stage.d.ts +3 -1
  383. package/dist/trust-score.d.ts +3 -1
  384. package/dist/{types-u2s9j1uD.d.ts → types-CkiDUorT.d.ts} +10 -16
  385. package/dist/types.d.ts +3 -1
  386. package/dist/types.js +1 -1
  387. package/dist/utility-runtime.d.ts +3 -1
  388. package/dist/verified-recall.js +10 -9
  389. package/dist/write-envelope.d.ts +3 -1
  390. package/package.json +2 -2
  391. package/src/archive-mutation-version.ts +59 -0
  392. package/src/config.test.ts +45 -0
  393. package/src/config.ts +10 -30
  394. package/src/contradiction/contradiction.test.ts +86 -1
  395. package/src/contradiction-config.ts +92 -0
  396. package/src/graph-path-reconstruction.ts +91 -0
  397. package/src/graph-path-scoring-config.ts +55 -0
  398. package/src/graph-path-scoring.test.ts +238 -0
  399. package/src/graph-path-scoring.ts +77 -0
  400. package/src/graph.test.ts +225 -5
  401. package/src/graph.ts +72 -5
  402. package/src/orchestration/contradiction-linking-coordinator.ts +246 -76
  403. package/src/orchestration/contradiction-localization.integration.test.ts +1953 -0
  404. package/src/orchestration/extraction-anchor-snapshot.ts +83 -0
  405. package/src/orchestration/extraction-persist-deps.ts +8 -2
  406. package/src/orchestration/extraction-persist.ts +43 -34
  407. package/src/orchestration/graph-path-state-loader.test.ts +801 -0
  408. package/src/orchestration/graph-path-state-loader.ts +318 -0
  409. package/src/orchestration/graph-recall-coordinator.integration.test.ts +1163 -0
  410. package/src/orchestration/graph-recall-coordinator.ts +206 -29
  411. package/src/orchestration/graph-recall-seam.ts +19 -0
  412. package/src/orchestration/recall-internal-deps.ts +7 -13
  413. package/src/orchestration/recall-internal.ts +5 -0
  414. package/src/orchestration/recall-introspection.ts +9 -1
  415. package/src/orchestration/recall-search-pipeline.ts +8 -13
  416. package/src/orchestration/update-localization.test.ts +784 -0
  417. package/src/orchestration/update-localization.ts +173 -0
  418. package/src/orchestrator.ts +19 -18
  419. package/src/recall-state.test.ts +29 -1
  420. package/src/recall-state.ts +13 -0
  421. package/src/recall-xray-renderer.test.ts +45 -0
  422. package/src/recall-xray-renderer.ts +16 -0
  423. package/src/recall-xray.ts +13 -0
  424. package/src/storage/supersession-side-effects.ts +97 -0
  425. package/src/storage/tombstone-blocked-capture-sync.ts +13 -5
  426. package/src/storage-contract/cache-coherence.test.ts +299 -0
  427. package/src/storage.ts +86 -88
  428. package/src/types.ts +12 -15
  429. package/dist/chunk-A4QMKFFO.js.map +0 -1
  430. package/dist/chunk-BJYET5TX.js.map +0 -1
  431. package/dist/chunk-BOFVT6P3.js.map +0 -1
  432. package/dist/chunk-IK6X5QPO.js.map +0 -1
  433. package/dist/chunk-IXXABW5A.js.map +0 -1
  434. package/dist/chunk-L2DPF4DF.js.map +0 -1
  435. package/dist/chunk-LAQ33B5D.js.map +0 -1
  436. package/dist/chunk-NSGU76YO.js.map +0 -1
  437. package/dist/chunk-PDEKQWDV.js.map +0 -1
  438. /package/dist/{graph-edge-decay-Z6ENALU2.js.map → archive-mutation-version.js.map} +0 -0
  439. /package/dist/{chunk-KDG2KTWW.js.map → chunk-33SV3E43.js.map} +0 -0
  440. /package/dist/{chunk-2HGUDBRJ.js.map → chunk-37ZO6LLJ.js.map} +0 -0
  441. /package/dist/{chunk-QW3WFHKU.js.map → chunk-45BRYON6.js.map} +0 -0
  442. /package/dist/{chunk-GZICBRWK.js.map → chunk-4F6X3RXW.js.map} +0 -0
  443. /package/dist/{chunk-7BAYBYY5.js.map → chunk-4PC4PRJE.js.map} +0 -0
  444. /package/dist/{chunk-VJXY5ZCT.js.map → chunk-52UKFTUK.js.map} +0 -0
  445. /package/dist/{chunk-ESG7Z255.js.map → chunk-5UDMFE3Q.js.map} +0 -0
  446. /package/dist/{chunk-JPHEOE6Z.js.map → chunk-6MTSFX7A.js.map} +0 -0
  447. /package/dist/{chunk-M4MP34AQ.js.map → chunk-AHZOMHWN.js.map} +0 -0
  448. /package/dist/{chunk-Z3RHPGSY.js.map → chunk-AIUBBHSF.js.map} +0 -0
  449. /package/dist/{chunk-S3AYIQCU.js.map → chunk-AXIDQG5A.js.map} +0 -0
  450. /package/dist/{chunk-QN7NTKRC.js.map → chunk-AZ2QBGYB.js.map} +0 -0
  451. /package/dist/{chunk-47J4EDGR.js.map → chunk-AZM4CCAC.js.map} +0 -0
  452. /package/dist/{chunk-LEJPSMKM.js.map → chunk-C5QLI33R.js.map} +0 -0
  453. /package/dist/{chunk-SV3PSA7Y.js.map → chunk-CV6BBVYV.js.map} +0 -0
  454. /package/dist/{chunk-V7X767RT.js.map → chunk-DCZBSE4F.js.map} +0 -0
  455. /package/dist/{chunk-7PKFPLLZ.js.map → chunk-FXTYIA46.js.map} +0 -0
  456. /package/dist/{chunk-64BHFFKZ.js.map → chunk-HLYR2TQL.js.map} +0 -0
  457. /package/dist/{chunk-5C2HNJMO.js.map → chunk-J5LLX6IL.js.map} +0 -0
  458. /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
  459. /package/dist/{chunk-PLKFO2HJ.js.map → chunk-JL43BVDE.js.map} +0 -0
  460. /package/dist/{chunk-2S72LWKX.js.map → chunk-JYL3BVVZ.js.map} +0 -0
  461. /package/dist/{chunk-IPLYGWQF.js.map → chunk-KQAFEZQX.js.map} +0 -0
  462. /package/dist/{chunk-PYKKWQZ2.js.map → chunk-M7BXDKPR.js.map} +0 -0
  463. /package/dist/{chunk-Z54EM5YZ.js.map → chunk-MAXVH44E.js.map} +0 -0
  464. /package/dist/{chunk-LYMNZZIM.js.map → chunk-NIS256NW.js.map} +0 -0
  465. /package/dist/{chunk-67QG75MJ.js.map → chunk-NLK2VZYZ.js.map} +0 -0
  466. /package/dist/{chunk-JYIFGGEM.js.map → chunk-OUKBMQ2O.js.map} +0 -0
  467. /package/dist/{chunk-75XOWNRS.js.map → chunk-OYESWJ43.js.map} +0 -0
  468. /package/dist/{chunk-TS4AJ2GI.js.map → chunk-PA45XCUD.js.map} +0 -0
  469. /package/dist/{chunk-4MBPIL4V.js.map → chunk-PUSLMZBQ.js.map} +0 -0
  470. /package/dist/{chunk-RVO6TCTU.js.map → chunk-QCECHYZL.js.map} +0 -0
  471. /package/dist/{chunk-GFIKG4FR.js.map → chunk-QGR6OVGT.js.map} +0 -0
  472. /package/dist/{chunk-HNZKVLAN.js.map → chunk-S354QO4R.js.map} +0 -0
  473. /package/dist/{chunk-NO37MR45.js.map → chunk-SOEN6KCF.js.map} +0 -0
  474. /package/dist/{chunk-FXX6RQYC.js.map → chunk-TPTECFWR.js.map} +0 -0
  475. /package/dist/{chunk-GDDGZVFI.js.map → chunk-UEVLYVNW.js.map} +0 -0
  476. /package/dist/{chunk-YQ4IQ2GA.js.map → chunk-UT5BV5OG.js.map} +0 -0
  477. /package/dist/{chunk-LNTUXKBT.js.map → chunk-UYYW2KPU.js.map} +0 -0
  478. /package/dist/{chunk-QSYL5CXK.js.map → chunk-VKXWK44Q.js.map} +0 -0
  479. /package/dist/{chunk-KMWYZTIE.js.map → chunk-VMMQDEN5.js.map} +0 -0
  480. /package/dist/{chunk-JB6D7EFB.js.map → chunk-VVG2BOKA.js.map} +0 -0
  481. /package/dist/{chunk-V5H6OJCR.js.map → chunk-W5XVQFLM.js.map} +0 -0
  482. /package/dist/{chunk-OIOZ6MOP.js.map → chunk-W6FNX2LP.js.map} +0 -0
  483. /package/dist/{chunk-6QPHF6RR.js.map → chunk-WQM326GS.js.map} +0 -0
  484. /package/dist/{chunk-TQFHQPWD.js.map → chunk-XADV5IZ3.js.map} +0 -0
  485. /package/dist/{chunk-DATDLJAO.js.map → chunk-XAPMEU3K.js.map} +0 -0
  486. /package/dist/{chunk-N3LL5NEU.js.map → chunk-ZMYDYNI4.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>;
@@ -64,10 +64,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  value: string;
67
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
67
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
68
68
  }, {
69
69
  value: string;
70
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
70
+ type: "entity" | "constraint" | "file" | "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"]>>>;
@@ -112,11 +112,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
112
112
  order: z.ZodNumber;
113
113
  description: z.ZodString;
114
114
  }, "strip", z.ZodTypeAny, {
115
- order: number;
116
115
  description: string;
117
- }, {
118
116
  order: number;
117
+ }, {
119
118
  description: string;
119
+ order: number;
120
120
  }>, "many">;
121
121
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
122
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -124,8 +124,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
124
124
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
125
  }, "strip", z.ZodTypeAny, {
126
126
  steps: {
127
- order: number;
128
127
  description: string;
128
+ order: number;
129
129
  }[];
130
130
  finalAnswer?: string | null | undefined;
131
131
  final_answer?: string | null | undefined;
@@ -133,8 +133,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
133
133
  observed_outcome?: string | null | undefined;
134
134
  }, {
135
135
  steps: {
136
- order: number;
137
136
  description: string;
137
+ order: number;
138
138
  }[];
139
139
  finalAnswer?: string | null | undefined;
140
140
  final_answer?: string | null | undefined;
@@ -142,8 +142,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
142
142
  observed_outcome?: string | null | undefined;
143
143
  }>, {
144
144
  steps: {
145
- order: number;
146
145
  description: string;
146
+ order: number;
147
147
  }[];
148
148
  finalAnswer?: string | null | undefined;
149
149
  final_answer?: string | null | undefined;
@@ -151,8 +151,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
151
151
  observed_outcome?: string | null | undefined;
152
152
  }, {
153
153
  steps: {
154
- order: number;
155
154
  description: string;
155
+ order: number;
156
156
  }[];
157
157
  finalAnswer?: string | null | undefined;
158
158
  final_answer?: string | null | undefined;
@@ -162,15 +162,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
162
162
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
163
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
164
  }, "strip", z.ZodTypeAny, {
165
- content: string;
166
- tags: string[];
167
165
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
166
+ content: string;
168
167
  confidence: number;
168
+ tags: string[];
169
169
  entityRef?: string | null | undefined;
170
170
  structuredAttributes?: Record<string, string> | null | undefined;
171
171
  cueAnchors?: {
172
172
  value: string;
173
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
173
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
174
174
  }[] | null | undefined;
175
175
  promptedByQuestion?: string | null | undefined;
176
176
  scope?: "project" | "global" | null | undefined;
@@ -187,8 +187,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
187
187
  }[] | null | undefined;
188
188
  reasoningTrace?: {
189
189
  steps: {
190
- order: number;
191
190
  description: string;
191
+ order: number;
192
192
  }[];
193
193
  finalAnswer?: string | null | undefined;
194
194
  final_answer?: string | null | undefined;
@@ -198,15 +198,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
198
198
  eventTime?: string | null | undefined;
199
199
  event_time?: string | null | undefined;
200
200
  }, {
201
- content: string;
202
- tags: string[];
203
201
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
202
+ content: string;
204
203
  confidence: number;
204
+ tags: string[];
205
205
  entityRef?: string | null | undefined;
206
206
  structuredAttributes?: Record<string, string> | null | undefined;
207
207
  cueAnchors?: {
208
208
  value: string;
209
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
209
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
210
210
  }[] | null | undefined;
211
211
  promptedByQuestion?: string | null | undefined;
212
212
  scope?: "project" | "global" | null | undefined;
@@ -223,8 +223,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
223
223
  }[] | null | undefined;
224
224
  reasoningTrace?: {
225
225
  steps: {
226
- order: number;
227
226
  description: string;
227
+ order: number;
228
228
  }[];
229
229
  finalAnswer?: string | null | undefined;
230
230
  final_answer?: string | null | undefined;
@@ -234,15 +234,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
234
234
  eventTime?: string | null | undefined;
235
235
  event_time?: string | null | undefined;
236
236
  }>, {
237
- content: string;
238
- tags: string[];
239
237
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
238
+ content: string;
240
239
  confidence: number;
240
+ tags: string[];
241
241
  entityRef?: string | null | undefined;
242
242
  structuredAttributes?: Record<string, string> | null | undefined;
243
243
  cueAnchors?: {
244
244
  value: string;
245
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
245
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
246
246
  }[] | null | undefined;
247
247
  promptedByQuestion?: string | null | undefined;
248
248
  scope?: "project" | "global" | null | undefined;
@@ -259,8 +259,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
259
259
  }[] | null | undefined;
260
260
  reasoningTrace?: {
261
261
  steps: {
262
- order: number;
263
262
  description: string;
263
+ order: number;
264
264
  }[];
265
265
  finalAnswer?: string | null | undefined;
266
266
  final_answer?: string | null | undefined;
@@ -270,15 +270,15 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
270
270
  eventTime?: string | null | undefined;
271
271
  event_time?: string | null | undefined;
272
272
  }, {
273
- content: string;
274
- tags: string[];
275
273
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
274
+ content: string;
276
275
  confidence: number;
276
+ tags: string[];
277
277
  entityRef?: string | null | undefined;
278
278
  structuredAttributes?: Record<string, string> | null | undefined;
279
279
  cueAnchors?: {
280
280
  value: string;
281
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
281
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
282
282
  }[] | null | undefined;
283
283
  promptedByQuestion?: string | null | undefined;
284
284
  scope?: "project" | "global" | null | undefined;
@@ -295,8 +295,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
295
295
  }[] | null | undefined;
296
296
  reasoningTrace?: {
297
297
  steps: {
298
- order: number;
299
298
  description: string;
299
+ order: number;
300
300
  }[];
301
301
  finalAnswer?: string | null | undefined;
302
302
  final_answer?: string | null | undefined;
@@ -391,13 +391,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
391
391
  label: z.ZodString;
392
392
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
393
393
  }, "strip", z.ZodTypeAny, {
394
- source: string;
395
394
  label: string;
395
+ source: string;
396
396
  target: string;
397
397
  promptedByQuestion?: string | null | undefined;
398
398
  }, {
399
- source: string;
400
399
  label: string;
400
+ source: string;
401
401
  target: string;
402
402
  promptedByQuestion?: string | null | undefined;
403
403
  }>;
@@ -413,10 +413,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
413
413
  value: z.ZodString;
414
414
  }, "strip", z.ZodTypeAny, {
415
415
  value: string;
416
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
416
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
417
417
  }, {
418
418
  value: string;
419
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
419
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
420
420
  }>, "many">>>;
421
421
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
422
422
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -461,11 +461,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
461
461
  order: z.ZodNumber;
462
462
  description: z.ZodString;
463
463
  }, "strip", z.ZodTypeAny, {
464
- order: number;
465
464
  description: string;
466
- }, {
467
465
  order: number;
466
+ }, {
468
467
  description: string;
468
+ order: number;
469
469
  }>, "many">;
470
470
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
471
471
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -473,8 +473,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
473
473
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
474
474
  }, "strip", z.ZodTypeAny, {
475
475
  steps: {
476
- order: number;
477
476
  description: string;
477
+ order: number;
478
478
  }[];
479
479
  finalAnswer?: string | null | undefined;
480
480
  final_answer?: string | null | undefined;
@@ -482,8 +482,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
482
482
  observed_outcome?: string | null | undefined;
483
483
  }, {
484
484
  steps: {
485
- order: number;
486
485
  description: string;
486
+ order: number;
487
487
  }[];
488
488
  finalAnswer?: string | null | undefined;
489
489
  final_answer?: string | null | undefined;
@@ -491,8 +491,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
491
491
  observed_outcome?: string | null | undefined;
492
492
  }>, {
493
493
  steps: {
494
- order: number;
495
494
  description: string;
495
+ order: number;
496
496
  }[];
497
497
  finalAnswer?: string | null | undefined;
498
498
  final_answer?: string | null | undefined;
@@ -500,8 +500,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
500
500
  observed_outcome?: string | null | undefined;
501
501
  }, {
502
502
  steps: {
503
- order: number;
504
503
  description: string;
504
+ order: number;
505
505
  }[];
506
506
  finalAnswer?: string | null | undefined;
507
507
  final_answer?: string | null | undefined;
@@ -511,15 +511,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
511
511
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
512
512
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
513
513
  }, "strip", z.ZodTypeAny, {
514
- content: string;
515
- tags: string[];
516
514
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
515
+ content: string;
517
516
  confidence: number;
517
+ tags: string[];
518
518
  entityRef?: string | null | undefined;
519
519
  structuredAttributes?: Record<string, string> | null | undefined;
520
520
  cueAnchors?: {
521
521
  value: string;
522
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
522
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
523
523
  }[] | null | undefined;
524
524
  promptedByQuestion?: string | null | undefined;
525
525
  scope?: "project" | "global" | null | undefined;
@@ -536,8 +536,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
536
536
  }[] | null | undefined;
537
537
  reasoningTrace?: {
538
538
  steps: {
539
- order: number;
540
539
  description: string;
540
+ order: number;
541
541
  }[];
542
542
  finalAnswer?: string | null | undefined;
543
543
  final_answer?: string | null | undefined;
@@ -547,15 +547,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
547
547
  eventTime?: string | null | undefined;
548
548
  event_time?: string | null | undefined;
549
549
  }, {
550
- content: string;
551
- tags: string[];
552
550
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
551
+ content: string;
553
552
  confidence: number;
553
+ tags: string[];
554
554
  entityRef?: string | null | undefined;
555
555
  structuredAttributes?: Record<string, string> | null | undefined;
556
556
  cueAnchors?: {
557
557
  value: string;
558
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
558
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
559
559
  }[] | null | undefined;
560
560
  promptedByQuestion?: string | null | undefined;
561
561
  scope?: "project" | "global" | null | undefined;
@@ -572,8 +572,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
572
572
  }[] | null | undefined;
573
573
  reasoningTrace?: {
574
574
  steps: {
575
- order: number;
576
575
  description: string;
576
+ order: number;
577
577
  }[];
578
578
  finalAnswer?: string | null | undefined;
579
579
  final_answer?: string | null | undefined;
@@ -583,15 +583,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
583
583
  eventTime?: string | null | undefined;
584
584
  event_time?: string | null | undefined;
585
585
  }>, {
586
- content: string;
587
- tags: string[];
588
586
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
587
+ content: string;
589
588
  confidence: number;
589
+ tags: string[];
590
590
  entityRef?: string | null | undefined;
591
591
  structuredAttributes?: Record<string, string> | null | undefined;
592
592
  cueAnchors?: {
593
593
  value: string;
594
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
594
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
595
595
  }[] | null | undefined;
596
596
  promptedByQuestion?: string | null | undefined;
597
597
  scope?: "project" | "global" | null | undefined;
@@ -608,8 +608,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
608
608
  }[] | null | undefined;
609
609
  reasoningTrace?: {
610
610
  steps: {
611
- order: number;
612
611
  description: string;
612
+ order: number;
613
613
  }[];
614
614
  finalAnswer?: string | null | undefined;
615
615
  final_answer?: string | null | undefined;
@@ -619,15 +619,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
619
619
  eventTime?: string | null | undefined;
620
620
  event_time?: string | null | undefined;
621
621
  }, {
622
- content: string;
623
- tags: string[];
624
622
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
623
+ content: string;
625
624
  confidence: number;
625
+ tags: string[];
626
626
  entityRef?: string | null | undefined;
627
627
  structuredAttributes?: Record<string, string> | null | undefined;
628
628
  cueAnchors?: {
629
629
  value: string;
630
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
630
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
631
631
  }[] | null | undefined;
632
632
  promptedByQuestion?: string | null | undefined;
633
633
  scope?: "project" | "global" | null | undefined;
@@ -644,8 +644,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
644
644
  }[] | null | undefined;
645
645
  reasoningTrace?: {
646
646
  steps: {
647
- order: number;
648
647
  description: string;
648
+ order: number;
649
649
  }[];
650
650
  finalAnswer?: string | null | undefined;
651
651
  final_answer?: string | null | undefined;
@@ -701,27 +701,27 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
701
701
  label: z.ZodString;
702
702
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
703
703
  }, "strip", z.ZodTypeAny, {
704
- source: string;
705
704
  label: string;
705
+ source: string;
706
706
  target: string;
707
707
  promptedByQuestion?: string | null | undefined;
708
708
  }, {
709
- source: string;
710
709
  label: string;
710
+ source: string;
711
711
  target: string;
712
712
  promptedByQuestion?: string | null | undefined;
713
713
  }>, "many">>>;
714
714
  }, "strip", z.ZodTypeAny, {
715
715
  facts: {
716
- content: string;
717
- tags: string[];
718
716
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
717
+ content: string;
719
718
  confidence: number;
719
+ tags: string[];
720
720
  entityRef?: string | null | undefined;
721
721
  structuredAttributes?: Record<string, string> | null | undefined;
722
722
  cueAnchors?: {
723
723
  value: string;
724
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
724
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
725
725
  }[] | null | undefined;
726
726
  promptedByQuestion?: string | null | undefined;
727
727
  scope?: "project" | "global" | null | undefined;
@@ -738,8 +738,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
738
738
  }[] | null | undefined;
739
739
  reasoningTrace?: {
740
740
  steps: {
741
- order: number;
742
741
  description: string;
742
+ order: number;
743
743
  }[];
744
744
  finalAnswer?: string | null | undefined;
745
745
  final_answer?: string | null | undefined;
@@ -762,22 +762,22 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
762
762
  }[];
763
763
  profileUpdates: string[];
764
764
  relationships?: {
765
- source: string;
766
765
  label: string;
766
+ source: string;
767
767
  target: string;
768
768
  promptedByQuestion?: string | null | undefined;
769
769
  }[] | null | undefined;
770
770
  }, {
771
771
  facts: {
772
- content: string;
773
- tags: string[];
774
772
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
773
+ content: string;
775
774
  confidence: number;
775
+ tags: string[];
776
776
  entityRef?: string | null | undefined;
777
777
  structuredAttributes?: Record<string, string> | null | undefined;
778
778
  cueAnchors?: {
779
779
  value: string;
780
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
780
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
781
781
  }[] | null | undefined;
782
782
  promptedByQuestion?: string | null | undefined;
783
783
  scope?: "project" | "global" | null | undefined;
@@ -794,8 +794,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
794
794
  }[] | null | undefined;
795
795
  reasoningTrace?: {
796
796
  steps: {
797
- order: number;
798
797
  description: string;
798
+ order: number;
799
799
  }[];
800
800
  finalAnswer?: string | null | undefined;
801
801
  final_answer?: string | null | undefined;
@@ -818,8 +818,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
818
818
  }[];
819
819
  profileUpdates: string[];
820
820
  relationships?: {
821
- source: string;
822
821
  label: string;
822
+ source: string;
823
823
  target: string;
824
824
  promptedByQuestion?: string | null | undefined;
825
825
  }[] | null | undefined;
@@ -836,10 +836,10 @@ declare const ExtractionResultSchema: z.ZodObject<{
836
836
  value: z.ZodString;
837
837
  }, "strip", z.ZodTypeAny, {
838
838
  value: string;
839
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
839
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
840
840
  }, {
841
841
  value: string;
842
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
842
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
843
843
  }>, "many">>>;
844
844
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
845
845
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -884,11 +884,11 @@ declare const ExtractionResultSchema: z.ZodObject<{
884
884
  order: z.ZodNumber;
885
885
  description: z.ZodString;
886
886
  }, "strip", z.ZodTypeAny, {
887
- order: number;
888
887
  description: string;
889
- }, {
890
888
  order: number;
889
+ }, {
891
890
  description: string;
891
+ order: number;
892
892
  }>, "many">;
893
893
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
894
894
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -896,8 +896,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
896
896
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
897
897
  }, "strip", z.ZodTypeAny, {
898
898
  steps: {
899
- order: number;
900
899
  description: string;
900
+ order: number;
901
901
  }[];
902
902
  finalAnswer?: string | null | undefined;
903
903
  final_answer?: string | null | undefined;
@@ -905,8 +905,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
905
905
  observed_outcome?: string | null | undefined;
906
906
  }, {
907
907
  steps: {
908
- order: number;
909
908
  description: string;
909
+ order: number;
910
910
  }[];
911
911
  finalAnswer?: string | null | undefined;
912
912
  final_answer?: string | null | undefined;
@@ -914,8 +914,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
914
914
  observed_outcome?: string | null | undefined;
915
915
  }>, {
916
916
  steps: {
917
- order: number;
918
917
  description: string;
918
+ order: number;
919
919
  }[];
920
920
  finalAnswer?: string | null | undefined;
921
921
  final_answer?: string | null | undefined;
@@ -923,8 +923,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
923
923
  observed_outcome?: string | null | undefined;
924
924
  }, {
925
925
  steps: {
926
- order: number;
927
926
  description: string;
927
+ order: number;
928
928
  }[];
929
929
  finalAnswer?: string | null | undefined;
930
930
  final_answer?: string | null | undefined;
@@ -934,15 +934,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
934
934
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
935
935
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
936
936
  }, "strip", z.ZodTypeAny, {
937
- content: string;
938
- tags: string[];
939
937
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
938
+ content: string;
940
939
  confidence: number;
940
+ tags: string[];
941
941
  entityRef?: string | null | undefined;
942
942
  structuredAttributes?: Record<string, string> | null | undefined;
943
943
  cueAnchors?: {
944
944
  value: string;
945
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
945
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
946
946
  }[] | null | undefined;
947
947
  promptedByQuestion?: string | null | undefined;
948
948
  scope?: "project" | "global" | null | undefined;
@@ -959,8 +959,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
959
959
  }[] | null | undefined;
960
960
  reasoningTrace?: {
961
961
  steps: {
962
- order: number;
963
962
  description: string;
963
+ order: number;
964
964
  }[];
965
965
  finalAnswer?: string | null | undefined;
966
966
  final_answer?: string | null | undefined;
@@ -970,15 +970,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
970
970
  eventTime?: string | null | undefined;
971
971
  event_time?: string | null | undefined;
972
972
  }, {
973
- content: string;
974
- tags: string[];
975
973
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
974
+ content: string;
976
975
  confidence: number;
976
+ tags: string[];
977
977
  entityRef?: string | null | undefined;
978
978
  structuredAttributes?: Record<string, string> | null | undefined;
979
979
  cueAnchors?: {
980
980
  value: string;
981
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
981
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
982
982
  }[] | null | undefined;
983
983
  promptedByQuestion?: string | null | undefined;
984
984
  scope?: "project" | "global" | null | undefined;
@@ -995,8 +995,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
995
995
  }[] | null | undefined;
996
996
  reasoningTrace?: {
997
997
  steps: {
998
- order: number;
999
998
  description: string;
999
+ order: number;
1000
1000
  }[];
1001
1001
  finalAnswer?: string | null | undefined;
1002
1002
  final_answer?: string | null | undefined;
@@ -1006,15 +1006,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1006
1006
  eventTime?: string | null | undefined;
1007
1007
  event_time?: string | null | undefined;
1008
1008
  }>, {
1009
- content: string;
1010
- tags: string[];
1011
1009
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1010
+ content: string;
1012
1011
  confidence: number;
1012
+ tags: string[];
1013
1013
  entityRef?: string | null | undefined;
1014
1014
  structuredAttributes?: Record<string, string> | null | undefined;
1015
1015
  cueAnchors?: {
1016
1016
  value: string;
1017
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
1017
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1018
1018
  }[] | null | undefined;
1019
1019
  promptedByQuestion?: string | null | undefined;
1020
1020
  scope?: "project" | "global" | null | undefined;
@@ -1031,8 +1031,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1031
1031
  }[] | null | undefined;
1032
1032
  reasoningTrace?: {
1033
1033
  steps: {
1034
- order: number;
1035
1034
  description: string;
1035
+ order: number;
1036
1036
  }[];
1037
1037
  finalAnswer?: string | null | undefined;
1038
1038
  final_answer?: string | null | undefined;
@@ -1042,15 +1042,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1042
1042
  eventTime?: string | null | undefined;
1043
1043
  event_time?: string | null | undefined;
1044
1044
  }, {
1045
- content: string;
1046
- tags: string[];
1047
1045
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1046
+ content: string;
1048
1047
  confidence: number;
1048
+ tags: string[];
1049
1049
  entityRef?: string | null | undefined;
1050
1050
  structuredAttributes?: Record<string, string> | null | undefined;
1051
1051
  cueAnchors?: {
1052
1052
  value: string;
1053
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
1053
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1054
1054
  }[] | null | undefined;
1055
1055
  promptedByQuestion?: string | null | undefined;
1056
1056
  scope?: "project" | "global" | null | undefined;
@@ -1067,8 +1067,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1067
1067
  }[] | null | undefined;
1068
1068
  reasoningTrace?: {
1069
1069
  steps: {
1070
- order: number;
1071
1070
  description: string;
1071
+ order: number;
1072
1072
  }[];
1073
1073
  finalAnswer?: string | null | undefined;
1074
1074
  final_answer?: string | null | undefined;
@@ -1139,13 +1139,13 @@ declare const ExtractionResultSchema: z.ZodObject<{
1139
1139
  label: z.ZodString;
1140
1140
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1141
1141
  }, "strip", z.ZodTypeAny, {
1142
- source: string;
1143
1142
  label: string;
1143
+ source: string;
1144
1144
  target: string;
1145
1145
  promptedByQuestion?: string | null | undefined;
1146
1146
  }, {
1147
- source: string;
1148
1147
  label: string;
1148
+ source: string;
1149
1149
  target: string;
1150
1150
  promptedByQuestion?: string | null | undefined;
1151
1151
  }>, "many">>>;
@@ -1156,15 +1156,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1156
1156
  context: string;
1157
1157
  }[];
1158
1158
  facts: {
1159
- content: string;
1160
- tags: string[];
1161
1159
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1160
+ content: string;
1162
1161
  confidence: number;
1162
+ tags: string[];
1163
1163
  entityRef?: string | null | undefined;
1164
1164
  structuredAttributes?: Record<string, string> | null | undefined;
1165
1165
  cueAnchors?: {
1166
1166
  value: string;
1167
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
1167
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1168
1168
  }[] | null | undefined;
1169
1169
  promptedByQuestion?: string | null | undefined;
1170
1170
  scope?: "project" | "global" | null | undefined;
@@ -1181,8 +1181,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1181
1181
  }[] | null | undefined;
1182
1182
  reasoningTrace?: {
1183
1183
  steps: {
1184
- order: number;
1185
1184
  description: string;
1185
+ order: number;
1186
1186
  }[];
1187
1187
  finalAnswer?: string | null | undefined;
1188
1188
  final_answer?: string | null | undefined;
@@ -1205,8 +1205,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1205
1205
  }[];
1206
1206
  profileUpdates: string[];
1207
1207
  relationships?: {
1208
- source: string;
1209
1208
  label: string;
1209
+ source: string;
1210
1210
  target: string;
1211
1211
  promptedByQuestion?: string | null | undefined;
1212
1212
  }[] | null | undefined;
@@ -1219,15 +1219,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1219
1219
  context: string;
1220
1220
  }[];
1221
1221
  facts: {
1222
- content: string;
1223
- tags: string[];
1224
1222
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1223
+ content: string;
1225
1224
  confidence: number;
1225
+ tags: string[];
1226
1226
  entityRef?: string | null | undefined;
1227
1227
  structuredAttributes?: Record<string, string> | null | undefined;
1228
1228
  cueAnchors?: {
1229
1229
  value: string;
1230
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
1230
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1231
1231
  }[] | null | undefined;
1232
1232
  promptedByQuestion?: string | null | undefined;
1233
1233
  scope?: "project" | "global" | null | undefined;
@@ -1244,8 +1244,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1244
1244
  }[] | null | undefined;
1245
1245
  reasoningTrace?: {
1246
1246
  steps: {
1247
- order: number;
1248
1247
  description: string;
1248
+ order: number;
1249
1249
  }[];
1250
1250
  finalAnswer?: string | null | undefined;
1251
1251
  final_answer?: string | null | undefined;
@@ -1268,8 +1268,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1268
1268
  }[];
1269
1269
  profileUpdates: string[];
1270
1270
  relationships?: {
1271
- source: string;
1272
1271
  label: string;
1272
+ source: string;
1273
1273
  target: string;
1274
1274
  promptedByQuestion?: string | null | undefined;
1275
1275
  }[] | null | undefined;
@@ -1283,15 +1283,15 @@ declare const ConsolidationItemSchema: z.ZodObject<{
1283
1283
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1284
1284
  reason: z.ZodString;
1285
1285
  }, "strip", z.ZodTypeAny, {
1286
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1286
1287
  reason: string;
1287
1288
  existingId: string;
1288
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1289
1289
  mergeWith?: string | null | undefined;
1290
1290
  updatedContent?: string | null | undefined;
1291
1291
  }, {
1292
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1292
1293
  reason: string;
1293
1294
  existingId: string;
1294
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1295
1295
  mergeWith?: string | null | undefined;
1296
1296
  updatedContent?: string | null | undefined;
1297
1297
  }>;
@@ -1303,15 +1303,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1303
1303
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1304
1304
  reason: z.ZodString;
1305
1305
  }, "strip", z.ZodTypeAny, {
1306
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1306
1307
  reason: string;
1307
1308
  existingId: string;
1308
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1309
1309
  mergeWith?: string | null | undefined;
1310
1310
  updatedContent?: string | null | undefined;
1311
1311
  }, {
1312
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1312
1313
  reason: string;
1313
1314
  existingId: string;
1314
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1315
1315
  mergeWith?: string | null | undefined;
1316
1316
  updatedContent?: string | null | undefined;
1317
1317
  }>, "many">;
@@ -1357,9 +1357,9 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1357
1357
  }>, "many">;
1358
1358
  }, "strip", z.ZodTypeAny, {
1359
1359
  items: {
1360
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1360
1361
  reason: string;
1361
1362
  existingId: string;
1362
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1363
1363
  mergeWith?: string | null | undefined;
1364
1364
  updatedContent?: string | null | undefined;
1365
1365
  }[];
@@ -1377,9 +1377,9 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1377
1377
  }[];
1378
1378
  }, {
1379
1379
  items: {
1380
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1380
1381
  reason: string;
1381
1382
  existingId: string;
1382
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1383
1383
  mergeWith?: string | null | undefined;
1384
1384
  updatedContent?: string | null | undefined;
1385
1385
  }[];
@@ -1439,13 +1439,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
1439
1439
  reasoning: z.ZodString;
1440
1440
  whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
1441
1441
  }, "strip", z.ZodTypeAny, {
1442
- reasoning: string;
1443
1442
  confidence: number;
1443
+ reasoning: string;
1444
1444
  isContradiction: boolean;
1445
1445
  whichIsNewer: "first" | "second" | "unclear";
1446
1446
  }, {
1447
- reasoning: string;
1448
1447
  confidence: number;
1448
+ reasoning: string;
1449
1449
  isContradiction: boolean;
1450
1450
  whichIsNewer: "first" | "second" | "unclear";
1451
1451
  }>;
@@ -1540,8 +1540,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1540
1540
  reason: z.ZodString;
1541
1541
  appliedAt: z.ZodString;
1542
1542
  }, "strip", z.ZodTypeAny, {
1543
- confidence: number;
1544
1543
  reason: string;
1544
+ confidence: number;
1545
1545
  parameter: string;
1546
1546
  previousValue: number;
1547
1547
  nextValue: number;
@@ -1549,8 +1549,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1549
1549
  evidenceCount: number;
1550
1550
  appliedAt: string;
1551
1551
  }, {
1552
- confidence: number;
1553
1552
  reason: string;
1553
+ confidence: number;
1554
1554
  parameter: string;
1555
1555
  previousValue: number;
1556
1556
  nextValue: number;
@@ -1574,8 +1574,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1574
1574
  reason: z.ZodString;
1575
1575
  appliedAt: z.ZodString;
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
- confidence: number;
1578
1577
  reason: string;
1578
+ confidence: number;
1579
1579
  parameter: string;
1580
1580
  previousValue: number;
1581
1581
  nextValue: number;
@@ -1583,8 +1583,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1583
1583
  evidenceCount: number;
1584
1584
  appliedAt: string;
1585
1585
  }, {
1586
- confidence: number;
1587
1586
  reason: string;
1587
+ confidence: number;
1588
1588
  parameter: string;
1589
1589
  previousValue: number;
1590
1590
  nextValue: number;
@@ -1600,8 +1600,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1600
1600
  maxDeltaPerCycle: number;
1601
1601
  protectedParams: string[];
1602
1602
  adjustments: {
1603
- confidence: number;
1604
1603
  reason: string;
1604
+ confidence: number;
1605
1605
  parameter: string;
1606
1606
  previousValue: number;
1607
1607
  nextValue: number;
@@ -1617,8 +1617,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1617
1617
  maxDeltaPerCycle: number;
1618
1618
  protectedParams: string[];
1619
1619
  adjustments: {
1620
- confidence: number;
1621
1620
  reason: string;
1621
+ confidence: number;
1622
1622
  parameter: string;
1623
1623
  previousValue: number;
1624
1624
  nextValue: number;