@remnic/core 9.60.1 → 9.61.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 (427) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +25 -25
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +26 -26
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +25 -25
  7. package/dist/access-cli.js +75 -74
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +11 -11
  11. package/dist/access-extraction-force-flush.js +25 -25
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.js +25 -25
  17. package/dist/access-http.d.ts +12 -12
  18. package/dist/access-http.js +38 -38
  19. package/dist/access-identity-continuity-surface.d.ts +9 -9
  20. package/dist/access-identity-continuity-surface.js +25 -25
  21. package/dist/access-lcm-surface.d.ts +11 -11
  22. package/dist/access-lcm-surface.js +25 -25
  23. package/dist/access-mcp.d.ts +11 -11
  24. package/dist/access-mcp.js +32 -32
  25. package/dist/access-memory-search-fanout.d.ts +2 -2
  26. package/dist/{access-namespace-preflight-TBXz-8s_.d.ts → access-namespace-preflight-EMvicnrb.d.ts} +1 -1
  27. package/dist/access-namespace-preflight.d.ts +3 -3
  28. package/dist/access-namespace-preflight.js +25 -25
  29. package/dist/access-observe-write-surface.d.ts +11 -11
  30. package/dist/access-observe-write-surface.js +25 -25
  31. package/dist/access-offline-manifest.d.ts +9 -9
  32. package/dist/access-operations-batch.js +27 -27
  33. package/dist/access-operations.d.ts +14 -14
  34. package/dist/access-operations.js +31 -31
  35. package/dist/access-recall-concurrency.d.ts +11 -11
  36. package/dist/access-recall-concurrency.js +25 -25
  37. package/dist/access-recall-response.d.ts +11 -11
  38. package/dist/access-recall-response.js +25 -25
  39. package/dist/access-recall-surface.d.ts +11 -11
  40. package/dist/access-recall-surface.js +25 -25
  41. package/dist/access-schema.d.ts +88 -88
  42. package/dist/access-schema.js +3 -3
  43. package/dist/{access-service-BogiG4Dy.d.ts → access-service-BeDYQQ62.d.ts} +71 -71
  44. package/dist/access-service-helpers.d.ts +11 -11
  45. package/dist/access-service.d.ts +11 -11
  46. package/dist/access-service.js +25 -25
  47. package/dist/access-surface-catalog.d.ts +11 -11
  48. package/dist/access-surface-catalog.js +27 -27
  49. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  50. package/dist/action-confidence.d.ts +1 -1
  51. package/dist/active-memory-bridge.d.ts +1 -1
  52. package/dist/active-recall.d.ts +1 -1
  53. package/dist/adapters/index.js +4 -4
  54. package/dist/adapters/registry.js +2 -2
  55. package/dist/ambient-provenance.d.ts +1 -1
  56. package/dist/artifact-search.d.ts +1 -1
  57. package/dist/behavior-learner.d.ts +1 -1
  58. package/dist/behavior-signals.d.ts +1 -1
  59. package/dist/bootstrap.d.ts +9 -9
  60. package/dist/briefing-window.d.ts +2 -2
  61. package/dist/briefing.d.ts +2 -2
  62. package/dist/briefing.js +11 -11
  63. package/dist/buffer-surprise-report.d.ts +1 -1
  64. package/dist/buffer-turn-helpers.d.ts +1 -1
  65. package/dist/buffer.d.ts +2 -2
  66. package/dist/buffer.js +4 -4
  67. package/dist/bulk-import/index.d.ts +3 -3
  68. package/dist/calibration.d.ts +1 -1
  69. package/dist/capabilities.d.ts +1 -1
  70. package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
  71. package/dist/{catalog-z1UerMbh.d.ts → catalog-B2SxZ6LU.d.ts} +1 -1
  72. package/dist/causal-behavior.d.ts +1 -1
  73. package/dist/causal-consolidation.d.ts +1 -1
  74. package/dist/causal-consolidation.js +12 -12
  75. package/dist/causal-trajectory-graph.d.ts +1 -1
  76. package/dist/{chunk-7DHFB5SG.js → chunk-2GRLJMKJ.js} +3 -3
  77. package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
  78. package/dist/{chunk-VUJN44CT.js → chunk-2RIDW23Y.js} +7 -7
  79. package/dist/{chunk-VOKK4WCG.js → chunk-3GPBFDXH.js} +2 -2
  80. package/dist/{chunk-KXYMU4IN.js → chunk-4JGSG7QN.js} +3 -3
  81. package/dist/{chunk-A7266TRJ.js → chunk-4XAVQLBR.js} +2 -2
  82. package/dist/{chunk-LLZKOSGM.js → chunk-5WVUO6QT.js} +1 -1
  83. package/dist/{chunk-LLZKOSGM.js.map → chunk-5WVUO6QT.js.map} +1 -1
  84. package/dist/{chunk-UBSM6TZP.js → chunk-76YNCJ5H.js} +2 -2
  85. package/dist/{chunk-JNWISMYG.js → chunk-7N7DB4L5.js} +5 -5
  86. package/dist/{chunk-6C7Q6NG3.js → chunk-AWRJBAIH.js} +16 -16
  87. package/dist/{chunk-GKHMV2KK.js → chunk-C3R732UY.js} +51 -32
  88. package/dist/chunk-C3R732UY.js.map +1 -0
  89. package/dist/{chunk-DE6YCZEE.js → chunk-CIA6ZUBA.js} +2 -2
  90. package/dist/{chunk-PEDYKCJI.js → chunk-CK3NQUSQ.js} +2 -2
  91. package/dist/{chunk-OU7RWWW6.js → chunk-CM4SZZBN.js} +2 -2
  92. package/dist/{chunk-ODAE36PG.js → chunk-D5HDJWNN.js} +2 -2
  93. package/dist/{chunk-4CLE2LXB.js → chunk-EGW4O32Z.js} +75 -38
  94. package/dist/chunk-EGW4O32Z.js.map +1 -0
  95. package/dist/{chunk-KF75ANST.js → chunk-EHMMRZOZ.js} +2 -2
  96. package/dist/{chunk-7G34CBKS.js → chunk-EIQFIJDM.js} +2 -2
  97. package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
  98. package/dist/{chunk-G3JFFUKR.js → chunk-FW73HN33.js} +2 -2
  99. package/dist/{chunk-MMZK2DWN.js → chunk-G3YBWFUC.js} +1 -1
  100. package/dist/chunk-GKUA4MGB.js +40 -0
  101. package/dist/chunk-GKUA4MGB.js.map +1 -0
  102. package/dist/{chunk-I4BLRM7X.js → chunk-GN7HO2LA.js} +10 -10
  103. package/dist/{chunk-ZOGOOSB3.js → chunk-H32ANIFP.js} +2 -2
  104. package/dist/{chunk-AH2NX6S7.js → chunk-HEEEMJ26.js} +3 -3
  105. package/dist/{chunk-J65AKOD6.js → chunk-HQBVQICL.js} +2 -2
  106. package/dist/{chunk-VJXSAJFW.js → chunk-I67HKRBF.js} +2 -2
  107. package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
  108. package/dist/{chunk-R7IV3EUJ.js → chunk-JKW663ZN.js} +2 -2
  109. package/dist/{chunk-YBCZTBN2.js → chunk-KAB7TZN3.js} +2 -2
  110. package/dist/{chunk-4UUF2EX3.js → chunk-KPML4Q3M.js} +2 -2
  111. package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
  112. package/dist/{chunk-YKZFX2HQ.js → chunk-L33N3BCA.js} +2 -2
  113. package/dist/{chunk-PYHOAXTI.js → chunk-LRGSLV7M.js} +4 -4
  114. package/dist/{chunk-FI5EAP4N.js → chunk-MJ4UGUR6.js} +2 -2
  115. package/dist/{chunk-KBIIE57I.js → chunk-MU3TPZOV.js} +2 -2
  116. package/dist/{chunk-77DAFTUU.js → chunk-MYZ4NA43.js} +2 -2
  117. package/dist/{chunk-T2VJ2EO5.js → chunk-N4EPIKSY.js} +6 -6
  118. package/dist/{chunk-EZXGJJXM.js → chunk-N4OYPGZS.js} +2 -2
  119. package/dist/{chunk-L3JVAM5Q.js → chunk-PA5OPZX2.js} +2 -2
  120. package/dist/{chunk-RVO6TCTU.js → chunk-QCECHYZL.js} +6 -6
  121. package/dist/{chunk-2HGV44MM.js → chunk-QRKYABS6.js} +2 -2
  122. package/dist/{chunk-P6GOYLHN.js → chunk-QWPAQLYV.js} +2 -2
  123. package/dist/{chunk-BTHDQOF4.js → chunk-QYN5PXDZ.js} +5 -5
  124. package/dist/{chunk-MG7GI4TT.js → chunk-S3B3UIQ3.js} +2 -2
  125. package/dist/{chunk-6W2ISYUV.js → chunk-TE4MKFT2.js} +4 -4
  126. package/dist/{chunk-QUJC22CT.js → chunk-URN7XWGC.js} +2 -2
  127. package/dist/{chunk-G5OB4XZX.js → chunk-VANZKHTN.js} +4 -4
  128. package/dist/{chunk-BPM6UHUL.js → chunk-VWDTV6SH.js} +2 -2
  129. package/dist/{chunk-P5OYNV7B.js → chunk-W3Y6FYRK.js} +2 -2
  130. package/dist/{chunk-VIM6QH4D.js → chunk-W4Q54HM3.js} +2 -2
  131. package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
  132. package/dist/{chunk-FUWS2MNJ.js → chunk-XBR5BAKW.js} +4 -4
  133. package/dist/{chunk-XU4OLEYW.js → chunk-XD4VGLDL.js} +45 -45
  134. package/dist/{chunk-OV36CROW.js → chunk-XDK6ZFLL.js} +3 -3
  135. package/dist/{chunk-JHMAYABJ.js → chunk-XL3TATMJ.js} +4 -4
  136. package/dist/{chunk-OLX2HJFW.js → chunk-YLHM5BQQ.js} +4 -4
  137. package/dist/{chunk-2VHCLHZ5.js → chunk-YUIBXMZY.js} +147 -40
  138. package/dist/chunk-YUIBXMZY.js.map +1 -0
  139. package/dist/{cli-CTgFjmDs.d.ts → cli-DB_uakTc.d.ts} +5 -5
  140. package/dist/cli.d.ts +13 -13
  141. package/dist/cli.js +58 -58
  142. package/dist/coding/pre-action-gate.d.ts +1 -1
  143. package/dist/compounding/engine.d.ts +2 -2
  144. package/dist/compounding/engine.js +11 -11
  145. package/dist/compounding/preference-consolidator.d.ts +1 -1
  146. package/dist/compression-optimizer.d.ts +1 -1
  147. package/dist/config.d.ts +1 -1
  148. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  149. package/dist/connectors/codex-materialize-runner.js +11 -11
  150. package/dist/connectors/codex-materialize.d.ts +1 -1
  151. package/dist/connectors/index.d.ts +1 -1
  152. package/dist/connectors/index.js +11 -11
  153. package/dist/consolidation-provenance-check.d.ts +2 -2
  154. package/dist/consolidation-undo.d.ts +2 -2
  155. package/dist/contradiction/index.d.ts +2 -2
  156. package/dist/contradiction/index.js +4 -4
  157. package/dist/converge-config.d.ts +1 -1
  158. package/dist/convergence-refresh.d.ts +2 -2
  159. package/dist/convergence-refresh.js +13 -13
  160. package/dist/conversation-index/backend.d.ts +1 -1
  161. package/dist/conversation-index/chunker.d.ts +1 -1
  162. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  163. package/dist/conversation-index/indexer.d.ts +1 -1
  164. package/dist/conversation-index/search.d.ts +1 -1
  165. package/dist/corpus-watermark.d.ts +1 -1
  166. package/dist/corpus-watermark.js +13 -13
  167. package/dist/dashboard-runtime.js +2 -2
  168. package/dist/day-summary.d.ts +1 -1
  169. package/dist/delinearize.d.ts +1 -1
  170. package/dist/dependency-propagation-config.d.ts +1 -1
  171. package/dist/{dependency-propagation-delivery-DdwSc1qh.d.ts → dependency-propagation-delivery-DcOVpK3y.d.ts} +1 -1
  172. package/dist/direct-answer-wiring.d.ts +1 -1
  173. package/dist/direct-answer.d.ts +1 -1
  174. package/dist/embedding-fallback.d.ts +1 -1
  175. package/dist/enrichment/index.d.ts +1 -1
  176. package/dist/entity-origin-fields.d.ts +28 -0
  177. package/dist/entity-origin-fields.js +10 -0
  178. package/dist/entity-origin-fields.js.map +1 -0
  179. package/dist/entity-retrieval.d.ts +2 -2
  180. package/dist/entity-retrieval.js +12 -11
  181. package/dist/entity-schema.d.ts +1 -1
  182. package/dist/explicit-capture.d.ts +9 -9
  183. package/dist/external-wiki-access.d.ts +11 -11
  184. package/dist/external-wiki-access.js +26 -26
  185. package/dist/external-wiki-collection-registration.d.ts +1 -1
  186. package/dist/external-wiki-collection.d.ts +1 -1
  187. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  188. package/dist/extraction-error-classification.d.ts +1 -1
  189. package/dist/extraction-faithfulness.d.ts +1 -1
  190. package/dist/extraction-judge-telemetry.d.ts +1 -1
  191. package/dist/extraction-judge-training.d.ts +1 -1
  192. package/dist/extraction-judge.d.ts +1 -1
  193. package/dist/extraction-liveness.d.ts +1 -1
  194. package/dist/extraction-normalization.d.ts +1 -1
  195. package/dist/extraction-prompt.d.ts +1 -1
  196. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  197. package/dist/extraction-source-grounding.d.ts +1 -1
  198. package/dist/extraction.d.ts +1 -1
  199. package/dist/extraction.js +15 -15
  200. package/dist/fallback-llm.d.ts +1 -1
  201. package/dist/graph-dashboard-diff.d.ts +1 -1
  202. package/dist/graph-dashboard-key.d.ts +1 -1
  203. package/dist/graph-dashboard-parser.d.ts +1 -1
  204. package/dist/graph-edge-reinforcement.d.ts +1 -1
  205. package/dist/graph-path-reconstruction.d.ts +1 -1
  206. package/dist/graph-path-scoring.d.ts +1 -1
  207. package/dist/graph-snapshot.d.ts +1 -1
  208. package/dist/graph.d.ts +1 -1
  209. package/dist/harmonic-retrieval.js +1 -1
  210. package/dist/importance.d.ts +1 -1
  211. package/dist/importers/index.d.ts +1 -1
  212. package/dist/in-flight-reads.d.ts +1 -1
  213. package/dist/index.d.ts +697 -697
  214. package/dist/index.js +85 -84
  215. package/dist/intent.d.ts +1 -1
  216. package/dist/lcm/engine.d.ts +1 -1
  217. package/dist/lcm/index.d.ts +1 -1
  218. package/dist/lcm/index.js +3 -3
  219. package/dist/lcm/tools.d.ts +1 -1
  220. package/dist/lifecycle.d.ts +1 -1
  221. package/dist/live-connectors-runner.d.ts +1 -1
  222. package/dist/local-llm.d.ts +1 -1
  223. package/dist/local-model-endpoint.d.ts +1 -1
  224. package/dist/maintenance/memory-governance.d.ts +1 -1
  225. package/dist/maintenance/memory-governance.js +11 -11
  226. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  227. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +11 -11
  228. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  229. package/dist/maintenance/rebuild-memory-projection.js +12 -12
  230. package/dist/{maintenance-DvkiF7fm.d.ts → maintenance-5c1olVtB.d.ts} +3 -3
  231. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  232. package/dist/memory-action-policy.d.ts +1 -1
  233. package/dist/memory-cache.d.ts +1 -1
  234. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  235. package/dist/memory-projection-store.d.ts +1 -1
  236. package/dist/memory-provenance.d.ts +1 -1
  237. package/dist/memory-snapshot.d.ts +1 -1
  238. package/dist/memory-worth-outcomes.d.ts +2 -2
  239. package/dist/models-json.d.ts +1 -1
  240. package/dist/namespaces/migrate.d.ts +3 -3
  241. package/dist/namespaces/migrate.js +12 -12
  242. package/dist/namespaces/principal.d.ts +1 -1
  243. package/dist/namespaces/search.d.ts +1 -1
  244. package/dist/namespaces/search.js +8 -8
  245. package/dist/namespaces/storage.d.ts +3 -3
  246. package/dist/namespaces/storage.js +11 -11
  247. package/dist/native-knowledge.d.ts +1 -1
  248. package/dist/offline-sync-impression-drain.d.ts +1 -1
  249. package/dist/operator-doctor-corpus.d.ts +1 -1
  250. package/dist/operator-doctor-corpus.js +14 -14
  251. package/dist/operator-doctor-replica.d.ts +1 -1
  252. package/dist/operator-toolkit.d.ts +3 -3
  253. package/dist/operator-toolkit.js +18 -18
  254. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  255. package/dist/orchestration/maintenance.d.ts +4 -4
  256. package/dist/orchestration/maintenance.js +16 -16
  257. package/dist/{orchestrator-CXPIzs3D.d.ts → orchestrator-HPuY6I4i.d.ts} +8 -8
  258. package/dist/orchestrator.d.ts +9 -9
  259. package/dist/orchestrator.js +75 -74
  260. package/dist/patterns-cli.d.ts +1 -1
  261. package/dist/{pipeline-BuYWU9rt.d.ts → pipeline-CvVe1Q2_.d.ts} +1 -1
  262. package/dist/policy-runtime.d.ts +1 -1
  263. package/dist/proactive-contention.d.ts +1 -1
  264. package/dist/provenance.d.ts +1 -1
  265. package/dist/{public-http-CEwDOGO7.d.ts → public-http-D0JKFkyf.d.ts} +1 -1
  266. package/dist/{qmd-DYnrPw-m.d.ts → qmd-Bd0Tp76_.d.ts} +1 -1
  267. package/dist/qmd-preflight.d.ts +2 -2
  268. package/dist/qmd-recall-cache.d.ts +1 -1
  269. package/dist/qmd.d.ts +2 -2
  270. package/dist/qmd.js +4 -4
  271. package/dist/recall-concurrency-config.d.ts +1 -1
  272. package/dist/recall-disclosure-escalation.d.ts +1 -1
  273. package/dist/recall-explain-renderer.d.ts +1 -1
  274. package/dist/recall-explain-renderer.js +3 -3
  275. package/dist/recall-memory-map.d.ts +1 -1
  276. package/dist/recall-planner-llm.d.ts +1 -1
  277. package/dist/recall-state.d.ts +1 -1
  278. package/dist/recall-tag-filter.d.ts +1 -1
  279. package/dist/recall-timings.d.ts +1 -1
  280. package/dist/recall-xray-cli.d.ts +1 -1
  281. package/dist/recall-xray-cli.js +4 -4
  282. package/dist/recall-xray-renderer.d.ts +1 -1
  283. package/dist/recall-xray-renderer.js +3 -3
  284. package/dist/recall-xray.d.ts +1 -1
  285. package/dist/recall-xray.js +2 -2
  286. package/dist/reconcile/cursor.d.ts +1 -1
  287. package/dist/reconcile/manifest.d.ts +1 -1
  288. package/dist/reconcile/plan.d.ts +1 -1
  289. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  290. package/dist/replay/normalizers/claude.d.ts +1 -1
  291. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  292. package/dist/replay/normalizers/shared.d.ts +1 -1
  293. package/dist/replay/runner.d.ts +1 -1
  294. package/dist/replay/types.d.ts +1 -1
  295. package/dist/replica-divergence.d.ts +1 -1
  296. package/dist/replica-peers-config.d.ts +1 -1
  297. package/dist/resolve-auth-token.d.ts +1 -1
  298. package/dist/retrieval-agents.d.ts +2 -2
  299. package/dist/retrieval-tiers.d.ts +1 -1
  300. package/dist/routing/engine.d.ts +1 -1
  301. package/dist/routing/store.d.ts +1 -1
  302. package/dist/salvage-envelope.d.ts +1 -1
  303. package/dist/schemas.d.ts +138 -138
  304. package/dist/{scope-profiles-C1QG4Cmv.d.ts → scope-profiles-ClLtm9gK.d.ts} +1 -1
  305. package/dist/search/embed-helper.d.ts +1 -1
  306. package/dist/search/factory.d.ts +1 -1
  307. package/dist/search/factory.js +7 -7
  308. package/dist/search/index.d.ts +1 -1
  309. package/dist/search/index.js +7 -7
  310. package/dist/search/lancedb-backend.d.ts +1 -1
  311. package/dist/search/lancedb-backend.js +2 -2
  312. package/dist/search/meilisearch-backend.d.ts +1 -1
  313. package/dist/search/meilisearch-backend.js +2 -2
  314. package/dist/search/noop-backend.d.ts +1 -1
  315. package/dist/search/orama-backend.d.ts +1 -1
  316. package/dist/search/orama-backend.js +2 -2
  317. package/dist/search/port.d.ts +1 -1
  318. package/dist/search/remote-backend.d.ts +1 -1
  319. package/dist/{semantic-consolidation-DMeX8XS0.d.ts → semantic-consolidation-B1EkeEDj.d.ts} +1 -1
  320. package/dist/semantic-consolidation.d.ts +2 -2
  321. package/dist/semantic-consolidation.js +12 -12
  322. package/dist/semantic-rule-promotion.js +11 -11
  323. package/dist/semantic-rule-verifier.d.ts +1 -1
  324. package/dist/semantic-rule-verifier.js +11 -11
  325. package/dist/{service-CT3ENiTO.d.ts → service-Cf3ANQj9.d.ts} +2 -2
  326. package/dist/session-observer-bands.d.ts +1 -1
  327. package/dist/session-observer-state.d.ts +1 -1
  328. package/dist/shared-context/manager.d.ts +9 -9
  329. package/dist/signal.d.ts +1 -1
  330. package/dist/source-agent-qualifier.d.ts +1 -1
  331. package/dist/source-agent-qualifier.js +13 -13
  332. package/dist/{storage-B0L76y7N.d.ts → storage-DS2O_6Qt.d.ts} +4 -2
  333. package/dist/storage.d.ts +2 -2
  334. package/dist/storage.js +12 -10
  335. package/dist/summarizer.d.ts +1 -1
  336. package/dist/summary-snapshot.d.ts +1 -1
  337. package/dist/support-passport/index.d.ts +14 -14
  338. package/dist/support-passport/index.js +28 -28
  339. package/dist/temporal-supersession.d.ts +2 -2
  340. package/dist/temporal-timeline-recall.d.ts +1 -1
  341. package/dist/temporal-validity.d.ts +1 -1
  342. package/dist/threading.d.ts +1 -1
  343. package/dist/tier-migration.d.ts +2 -2
  344. package/dist/tier-routing.d.ts +1 -1
  345. package/dist/topics.d.ts +1 -1
  346. package/dist/transcript.d.ts +1 -1
  347. package/dist/transfer/backup.js +2 -2
  348. package/dist/transfer/capsule-export.js +2 -2
  349. package/dist/transfer/capsule-import.js +2 -2
  350. package/dist/transfer/import-sqlite.js +2 -2
  351. package/dist/transfer/types.d.ts +66 -66
  352. package/dist/trust-score-stage.d.ts +1 -1
  353. package/dist/trust-score.d.ts +1 -1
  354. package/dist/{types-D7pB0QwO.d.ts → types-BOANGhCJ.d.ts} +3 -1
  355. package/dist/types.d.ts +1 -1
  356. package/dist/types.js +1 -1
  357. package/dist/utility-runtime.d.ts +1 -1
  358. package/dist/verified-recall.js +11 -11
  359. package/dist/write-envelope.d.ts +1 -1
  360. package/package.json +2 -2
  361. package/src/entity-origin-fields.ts +56 -0
  362. package/src/entity-retrieval.ts +84 -84
  363. package/src/orchestration/extraction-injection-gate.ts +17 -5
  364. package/src/orchestration/extraction-persist.ts +1 -1
  365. package/src/recall-authority-fence.test.ts +40 -0
  366. package/src/security/audit-memory.test.ts +24 -1
  367. package/src/storage/entity-store.ts +52 -17
  368. package/src/storage/entity-timeline.ts +96 -16
  369. package/src/storage.ts +18 -18
  370. package/src/types.ts +2 -2
  371. package/dist/chunk-2VHCLHZ5.js.map +0 -1
  372. package/dist/chunk-4CLE2LXB.js.map +0 -1
  373. package/dist/chunk-GKHMV2KK.js.map +0 -1
  374. /package/dist/{capsule-crypto-GWVG7LGC.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  375. /package/dist/{chunk-7DHFB5SG.js.map → chunk-2GRLJMKJ.js.map} +0 -0
  376. /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
  377. /package/dist/{chunk-VUJN44CT.js.map → chunk-2RIDW23Y.js.map} +0 -0
  378. /package/dist/{chunk-VOKK4WCG.js.map → chunk-3GPBFDXH.js.map} +0 -0
  379. /package/dist/{chunk-KXYMU4IN.js.map → chunk-4JGSG7QN.js.map} +0 -0
  380. /package/dist/{chunk-A7266TRJ.js.map → chunk-4XAVQLBR.js.map} +0 -0
  381. /package/dist/{chunk-UBSM6TZP.js.map → chunk-76YNCJ5H.js.map} +0 -0
  382. /package/dist/{chunk-JNWISMYG.js.map → chunk-7N7DB4L5.js.map} +0 -0
  383. /package/dist/{chunk-6C7Q6NG3.js.map → chunk-AWRJBAIH.js.map} +0 -0
  384. /package/dist/{chunk-DE6YCZEE.js.map → chunk-CIA6ZUBA.js.map} +0 -0
  385. /package/dist/{chunk-PEDYKCJI.js.map → chunk-CK3NQUSQ.js.map} +0 -0
  386. /package/dist/{chunk-OU7RWWW6.js.map → chunk-CM4SZZBN.js.map} +0 -0
  387. /package/dist/{chunk-ODAE36PG.js.map → chunk-D5HDJWNN.js.map} +0 -0
  388. /package/dist/{chunk-KF75ANST.js.map → chunk-EHMMRZOZ.js.map} +0 -0
  389. /package/dist/{chunk-7G34CBKS.js.map → chunk-EIQFIJDM.js.map} +0 -0
  390. /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
  391. /package/dist/{chunk-G3JFFUKR.js.map → chunk-FW73HN33.js.map} +0 -0
  392. /package/dist/{chunk-MMZK2DWN.js.map → chunk-G3YBWFUC.js.map} +0 -0
  393. /package/dist/{chunk-I4BLRM7X.js.map → chunk-GN7HO2LA.js.map} +0 -0
  394. /package/dist/{chunk-ZOGOOSB3.js.map → chunk-H32ANIFP.js.map} +0 -0
  395. /package/dist/{chunk-AH2NX6S7.js.map → chunk-HEEEMJ26.js.map} +0 -0
  396. /package/dist/{chunk-J65AKOD6.js.map → chunk-HQBVQICL.js.map} +0 -0
  397. /package/dist/{chunk-VJXSAJFW.js.map → chunk-I67HKRBF.js.map} +0 -0
  398. /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
  399. /package/dist/{chunk-R7IV3EUJ.js.map → chunk-JKW663ZN.js.map} +0 -0
  400. /package/dist/{chunk-YBCZTBN2.js.map → chunk-KAB7TZN3.js.map} +0 -0
  401. /package/dist/{chunk-4UUF2EX3.js.map → chunk-KPML4Q3M.js.map} +0 -0
  402. /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
  403. /package/dist/{chunk-YKZFX2HQ.js.map → chunk-L33N3BCA.js.map} +0 -0
  404. /package/dist/{chunk-PYHOAXTI.js.map → chunk-LRGSLV7M.js.map} +0 -0
  405. /package/dist/{chunk-FI5EAP4N.js.map → chunk-MJ4UGUR6.js.map} +0 -0
  406. /package/dist/{chunk-KBIIE57I.js.map → chunk-MU3TPZOV.js.map} +0 -0
  407. /package/dist/{chunk-77DAFTUU.js.map → chunk-MYZ4NA43.js.map} +0 -0
  408. /package/dist/{chunk-T2VJ2EO5.js.map → chunk-N4EPIKSY.js.map} +0 -0
  409. /package/dist/{chunk-EZXGJJXM.js.map → chunk-N4OYPGZS.js.map} +0 -0
  410. /package/dist/{chunk-L3JVAM5Q.js.map → chunk-PA5OPZX2.js.map} +0 -0
  411. /package/dist/{chunk-RVO6TCTU.js.map → chunk-QCECHYZL.js.map} +0 -0
  412. /package/dist/{chunk-2HGV44MM.js.map → chunk-QRKYABS6.js.map} +0 -0
  413. /package/dist/{chunk-P6GOYLHN.js.map → chunk-QWPAQLYV.js.map} +0 -0
  414. /package/dist/{chunk-BTHDQOF4.js.map → chunk-QYN5PXDZ.js.map} +0 -0
  415. /package/dist/{chunk-MG7GI4TT.js.map → chunk-S3B3UIQ3.js.map} +0 -0
  416. /package/dist/{chunk-6W2ISYUV.js.map → chunk-TE4MKFT2.js.map} +0 -0
  417. /package/dist/{chunk-QUJC22CT.js.map → chunk-URN7XWGC.js.map} +0 -0
  418. /package/dist/{chunk-G5OB4XZX.js.map → chunk-VANZKHTN.js.map} +0 -0
  419. /package/dist/{chunk-BPM6UHUL.js.map → chunk-VWDTV6SH.js.map} +0 -0
  420. /package/dist/{chunk-P5OYNV7B.js.map → chunk-W3Y6FYRK.js.map} +0 -0
  421. /package/dist/{chunk-VIM6QH4D.js.map → chunk-W4Q54HM3.js.map} +0 -0
  422. /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
  423. /package/dist/{chunk-FUWS2MNJ.js.map → chunk-XBR5BAKW.js.map} +0 -0
  424. /package/dist/{chunk-XU4OLEYW.js.map → chunk-XD4VGLDL.js.map} +0 -0
  425. /package/dist/{chunk-OV36CROW.js.map → chunk-XDK6ZFLL.js.map} +0 -0
  426. /package/dist/{chunk-JHMAYABJ.js.map → chunk-XL3TATMJ.js.map} +0 -0
  427. /package/dist/{chunk-OLX2HJFW.js.map → chunk-YLHM5BQQ.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";
10
11
  confidence: number;
11
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
12
- importance: number;
13
12
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
13
+ importance: number;
14
14
  }, {
15
+ source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
15
16
  confidence: number;
16
- source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
17
- importance: number;
18
17
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
18
+ importance: number;
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
@@ -64,10 +64,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  value: string;
67
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
67
+ type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
68
68
  }, {
69
69
  value: string;
70
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
70
+ type: "constraint" | "entity" | "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
- description: string;
116
115
  order: number;
117
- }, {
118
116
  description: string;
117
+ }, {
119
118
  order: number;
119
+ description: string;
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
- description: string;
128
127
  order: number;
128
+ description: string;
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
- description: string;
137
136
  order: number;
137
+ description: string;
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
- description: string;
146
145
  order: number;
146
+ description: string;
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
- description: string;
155
154
  order: number;
155
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
165
+ tags: string[];
166
166
  content: string;
167
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
167
168
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
173
+ type: "constraint" | "entity" | "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
- description: string;
191
190
  order: number;
191
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
201
+ tags: string[];
202
202
  content: string;
203
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
203
204
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
209
+ type: "constraint" | "entity" | "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
- description: string;
227
226
  order: number;
227
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
237
+ tags: string[];
238
238
  content: string;
239
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
239
240
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
245
+ type: "constraint" | "entity" | "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
- description: string;
263
262
  order: number;
263
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
273
+ tags: string[];
274
274
  content: string;
275
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
275
276
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
281
+ type: "constraint" | "entity" | "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
- description: string;
299
298
  order: number;
299
+ description: string;
300
300
  }[];
301
301
  finalAnswer?: string | null | undefined;
302
302
  final_answer?: string | null | undefined;
@@ -316,12 +316,12 @@ declare const EntityMentionSchema: z.ZodObject<{
316
316
  title: z.ZodString;
317
317
  facts: z.ZodArray<z.ZodString, "many">;
318
318
  }, "strip", z.ZodTypeAny, {
319
- key: string;
320
319
  title: string;
320
+ key: string;
321
321
  facts: string[];
322
322
  }, {
323
- key: string;
324
323
  title: string;
324
+ key: string;
325
325
  facts: string[];
326
326
  }>, "many">>>;
327
327
  }, "strip", z.ZodTypeAny, {
@@ -330,8 +330,8 @@ declare const EntityMentionSchema: z.ZodObject<{
330
330
  facts: string[];
331
331
  promptedByQuestion?: string | null | undefined;
332
332
  structuredSections?: {
333
- key: string;
334
333
  title: string;
334
+ key: string;
335
335
  facts: string[];
336
336
  }[] | null | undefined;
337
337
  }, {
@@ -340,8 +340,8 @@ declare const EntityMentionSchema: z.ZodObject<{
340
340
  facts: string[];
341
341
  promptedByQuestion?: string | null | undefined;
342
342
  structuredSections?: {
343
- key: string;
344
343
  title: string;
344
+ key: string;
345
345
  facts: string[];
346
346
  }[] | null | undefined;
347
347
  }>;
@@ -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
- label: string;
395
394
  source: string;
395
+ label: string;
396
396
  target: string;
397
397
  promptedByQuestion?: string | null | undefined;
398
398
  }, {
399
- label: string;
400
399
  source: string;
400
+ label: 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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
416
+ type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
417
417
  }, {
418
418
  value: string;
419
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
419
+ type: "constraint" | "entity" | "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
- description: string;
465
464
  order: number;
466
- }, {
467
465
  description: string;
466
+ }, {
468
467
  order: number;
468
+ description: string;
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
- description: string;
477
476
  order: number;
477
+ description: string;
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
- description: string;
486
485
  order: number;
486
+ description: string;
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
- description: string;
495
494
  order: number;
495
+ description: string;
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
- description: string;
504
503
  order: number;
504
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
514
+ tags: string[];
515
515
  content: string;
516
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
516
517
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
522
+ type: "constraint" | "entity" | "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
- description: string;
540
539
  order: number;
540
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
550
+ tags: string[];
551
551
  content: string;
552
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
552
553
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
558
+ type: "constraint" | "entity" | "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
- description: string;
576
575
  order: number;
576
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
586
+ tags: string[];
587
587
  content: string;
588
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
588
589
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
594
+ type: "constraint" | "entity" | "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
- description: string;
612
611
  order: number;
612
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
622
+ tags: string[];
623
623
  content: string;
624
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
624
625
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
630
+ type: "constraint" | "entity" | "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
- description: string;
648
647
  order: number;
648
+ description: string;
649
649
  }[];
650
650
  finalAnswer?: string | null | undefined;
651
651
  final_answer?: string | null | undefined;
@@ -666,12 +666,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
666
666
  title: z.ZodString;
667
667
  facts: z.ZodArray<z.ZodString, "many">;
668
668
  }, "strip", z.ZodTypeAny, {
669
- key: string;
670
669
  title: string;
670
+ key: string;
671
671
  facts: string[];
672
672
  }, {
673
- key: string;
674
673
  title: string;
674
+ key: string;
675
675
  facts: string[];
676
676
  }>, "many">>>;
677
677
  }, "strip", z.ZodTypeAny, {
@@ -680,8 +680,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
680
680
  facts: string[];
681
681
  promptedByQuestion?: string | null | undefined;
682
682
  structuredSections?: {
683
- key: string;
684
683
  title: string;
684
+ key: string;
685
685
  facts: string[];
686
686
  }[] | null | undefined;
687
687
  }, {
@@ -690,8 +690,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
690
690
  facts: string[];
691
691
  promptedByQuestion?: string | null | undefined;
692
692
  structuredSections?: {
693
- key: string;
694
693
  title: string;
694
+ key: string;
695
695
  facts: string[];
696
696
  }[] | null | undefined;
697
697
  }>, "many">;
@@ -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
- label: string;
705
704
  source: string;
705
+ label: string;
706
706
  target: string;
707
707
  promptedByQuestion?: string | null | undefined;
708
708
  }, {
709
- label: string;
710
709
  source: string;
710
+ label: string;
711
711
  target: string;
712
712
  promptedByQuestion?: string | null | undefined;
713
713
  }>, "many">>>;
714
714
  }, "strip", z.ZodTypeAny, {
715
715
  facts: {
716
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
716
+ tags: string[];
717
717
  content: string;
718
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
718
719
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
724
+ type: "constraint" | "entity" | "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
- description: string;
742
741
  order: number;
742
+ description: string;
743
743
  }[];
744
744
  finalAnswer?: string | null | undefined;
745
745
  final_answer?: string | null | undefined;
@@ -755,29 +755,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
755
755
  facts: string[];
756
756
  promptedByQuestion?: string | null | undefined;
757
757
  structuredSections?: {
758
- key: string;
759
758
  title: string;
759
+ key: string;
760
760
  facts: string[];
761
761
  }[] | null | undefined;
762
762
  }[];
763
763
  profileUpdates: string[];
764
764
  relationships?: {
765
- label: string;
766
765
  source: string;
766
+ label: string;
767
767
  target: string;
768
768
  promptedByQuestion?: string | null | undefined;
769
769
  }[] | null | undefined;
770
770
  }, {
771
771
  facts: {
772
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
772
+ tags: string[];
773
773
  content: string;
774
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
774
775
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
780
+ type: "constraint" | "entity" | "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
- description: string;
798
797
  order: number;
798
+ description: string;
799
799
  }[];
800
800
  finalAnswer?: string | null | undefined;
801
801
  final_answer?: string | null | undefined;
@@ -811,15 +811,15 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
811
811
  facts: string[];
812
812
  promptedByQuestion?: string | null | undefined;
813
813
  structuredSections?: {
814
- key: string;
815
814
  title: string;
815
+ key: string;
816
816
  facts: string[];
817
817
  }[] | null | undefined;
818
818
  }[];
819
819
  profileUpdates: string[];
820
820
  relationships?: {
821
- label: string;
822
821
  source: string;
822
+ label: 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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
839
+ type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
840
840
  }, {
841
841
  value: string;
842
- type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
842
+ type: "constraint" | "entity" | "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
- description: string;
888
887
  order: number;
889
- }, {
890
888
  description: string;
889
+ }, {
891
890
  order: number;
891
+ description: string;
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
- description: string;
900
899
  order: number;
900
+ description: string;
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
- description: string;
909
908
  order: number;
909
+ description: string;
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
- description: string;
918
917
  order: number;
918
+ description: string;
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
- description: string;
927
926
  order: number;
927
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
937
+ tags: string[];
938
938
  content: string;
939
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
939
940
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
945
+ type: "constraint" | "entity" | "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
- description: string;
963
962
  order: number;
963
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
973
+ tags: string[];
974
974
  content: string;
975
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
975
976
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
981
+ type: "constraint" | "entity" | "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
- description: string;
999
998
  order: number;
999
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1009
+ tags: string[];
1010
1010
  content: string;
1011
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1011
1012
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1017
+ type: "constraint" | "entity" | "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
- description: string;
1035
1034
  order: number;
1035
+ description: string;
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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1045
+ tags: string[];
1046
1046
  content: string;
1047
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1047
1048
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1053
+ type: "constraint" | "entity" | "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
- description: string;
1071
1070
  order: number;
1071
+ description: string;
1072
1072
  }[];
1073
1073
  finalAnswer?: string | null | undefined;
1074
1074
  final_answer?: string | null | undefined;
@@ -1089,12 +1089,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
1089
1089
  title: z.ZodString;
1090
1090
  facts: z.ZodArray<z.ZodString, "many">;
1091
1091
  }, "strip", z.ZodTypeAny, {
1092
- key: string;
1093
1092
  title: string;
1093
+ key: string;
1094
1094
  facts: string[];
1095
1095
  }, {
1096
- key: string;
1097
1096
  title: string;
1097
+ key: string;
1098
1098
  facts: string[];
1099
1099
  }>, "many">>>;
1100
1100
  }, "strip", z.ZodTypeAny, {
@@ -1103,8 +1103,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1103
1103
  facts: string[];
1104
1104
  promptedByQuestion?: string | null | undefined;
1105
1105
  structuredSections?: {
1106
- key: string;
1107
1106
  title: string;
1107
+ key: string;
1108
1108
  facts: string[];
1109
1109
  }[] | null | undefined;
1110
1110
  }, {
@@ -1113,8 +1113,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
1113
1113
  facts: string[];
1114
1114
  promptedByQuestion?: string | null | undefined;
1115
1115
  structuredSections?: {
1116
- key: string;
1117
1116
  title: string;
1117
+ key: string;
1118
1118
  facts: string[];
1119
1119
  }[] | null | undefined;
1120
1120
  }>, "many">;
@@ -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
- label: string;
1143
1142
  source: string;
1143
+ label: string;
1144
1144
  target: string;
1145
1145
  promptedByQuestion?: string | null | undefined;
1146
1146
  }, {
1147
- label: string;
1148
1147
  source: string;
1148
+ label: 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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1159
+ tags: string[];
1160
1160
  content: string;
1161
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1161
1162
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1167
+ type: "constraint" | "entity" | "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
- description: string;
1185
1184
  order: number;
1185
+ description: string;
1186
1186
  }[];
1187
1187
  finalAnswer?: string | null | undefined;
1188
1188
  final_answer?: string | null | undefined;
@@ -1198,15 +1198,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1198
1198
  facts: string[];
1199
1199
  promptedByQuestion?: string | null | undefined;
1200
1200
  structuredSections?: {
1201
- key: string;
1202
1201
  title: string;
1202
+ key: string;
1203
1203
  facts: string[];
1204
1204
  }[] | null | undefined;
1205
1205
  }[];
1206
1206
  profileUpdates: string[];
1207
1207
  relationships?: {
1208
- label: string;
1209
1208
  source: string;
1209
+ label: 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
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1222
+ tags: string[];
1223
1223
  content: string;
1224
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
1224
1225
  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: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
1230
+ type: "constraint" | "entity" | "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
- description: string;
1248
1247
  order: number;
1248
+ description: string;
1249
1249
  }[];
1250
1250
  finalAnswer?: string | null | undefined;
1251
1251
  final_answer?: string | null | undefined;
@@ -1261,15 +1261,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
1261
1261
  facts: string[];
1262
1262
  promptedByQuestion?: string | null | undefined;
1263
1263
  structuredSections?: {
1264
- key: string;
1265
1264
  title: string;
1265
+ key: string;
1266
1266
  facts: string[];
1267
1267
  }[] | null | undefined;
1268
1268
  }[];
1269
1269
  profileUpdates: string[];
1270
1270
  relationships?: {
1271
- label: string;
1272
1271
  source: string;
1272
+ label: 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";
1287
1286
  reason: string;
1288
1287
  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";
1293
1292
  reason: string;
1294
1293
  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";
1307
1306
  reason: string;
1308
1307
  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";
1313
1312
  reason: string;
1314
1313
  existingId: string;
1314
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1315
1315
  mergeWith?: string | null | undefined;
1316
1316
  updatedContent?: string | null | undefined;
1317
1317
  }>, "many">;
@@ -1326,12 +1326,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1326
1326
  title: z.ZodString;
1327
1327
  facts: z.ZodArray<z.ZodString, "many">;
1328
1328
  }, "strip", z.ZodTypeAny, {
1329
- key: string;
1330
1329
  title: string;
1330
+ key: string;
1331
1331
  facts: string[];
1332
1332
  }, {
1333
- key: string;
1334
1333
  title: string;
1334
+ key: string;
1335
1335
  facts: string[];
1336
1336
  }>, "many">>>;
1337
1337
  }, "strip", z.ZodTypeAny, {
@@ -1340,8 +1340,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1340
1340
  facts: string[];
1341
1341
  promptedByQuestion?: string | null | undefined;
1342
1342
  structuredSections?: {
1343
- key: string;
1344
1343
  title: string;
1344
+ key: string;
1345
1345
  facts: string[];
1346
1346
  }[] | null | undefined;
1347
1347
  }, {
@@ -1350,16 +1350,16 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1350
1350
  facts: string[];
1351
1351
  promptedByQuestion?: string | null | undefined;
1352
1352
  structuredSections?: {
1353
- key: string;
1354
1353
  title: string;
1354
+ key: string;
1355
1355
  facts: string[];
1356
1356
  }[] | null | undefined;
1357
1357
  }>, "many">;
1358
1358
  }, "strip", z.ZodTypeAny, {
1359
1359
  items: {
1360
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1361
1360
  reason: string;
1362
1361
  existingId: string;
1362
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1363
1363
  mergeWith?: string | null | undefined;
1364
1364
  updatedContent?: string | null | undefined;
1365
1365
  }[];
@@ -1370,16 +1370,16 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1370
1370
  facts: string[];
1371
1371
  promptedByQuestion?: string | null | undefined;
1372
1372
  structuredSections?: {
1373
- key: string;
1374
1373
  title: string;
1374
+ key: string;
1375
1375
  facts: string[];
1376
1376
  }[] | null | undefined;
1377
1377
  }[];
1378
1378
  }, {
1379
1379
  items: {
1380
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1381
1380
  reason: string;
1382
1381
  existingId: string;
1382
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1383
1383
  mergeWith?: string | null | undefined;
1384
1384
  updatedContent?: string | null | undefined;
1385
1385
  }[];
@@ -1390,8 +1390,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1390
1390
  facts: string[];
1391
1391
  promptedByQuestion?: string | null | undefined;
1392
1392
  structuredSections?: {
1393
- key: string;
1394
1393
  title: string;
1394
+ key: string;
1395
1395
  facts: string[];
1396
1396
  }[] | null | undefined;
1397
1397
  }[];
@@ -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
- confidence: number;
1443
1442
  reasoning: string;
1443
+ confidence: number;
1444
1444
  isContradiction: boolean;
1445
1445
  whichIsNewer: "first" | "second" | "unclear";
1446
1446
  }, {
1447
- confidence: number;
1448
1447
  reasoning: string;
1448
+ confidence: number;
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
- reason: string;
1544
1543
  confidence: number;
1544
+ reason: string;
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
- reason: string;
1553
1552
  confidence: number;
1553
+ reason: string;
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
- reason: string;
1578
1577
  confidence: number;
1578
+ reason: string;
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
- reason: string;
1587
1586
  confidence: number;
1587
+ reason: string;
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
- reason: string;
1604
1603
  confidence: number;
1604
+ reason: string;
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
- reason: string;
1621
1620
  confidence: number;
1621
+ reason: string;
1622
1622
  parameter: string;
1623
1623
  previousValue: number;
1624
1624
  nextValue: number;