@remnic/core 9.65.7 → 9.65.8

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 (512) hide show
  1. package/dist/access-admin-ops-surface.d.ts +15 -13
  2. package/dist/access-admin-ops-surface.js +42 -42
  3. package/dist/access-authorization-probe.d.ts +15 -13
  4. package/dist/access-authorization-probe.js +43 -43
  5. package/dist/access-boundary.d.ts +15 -13
  6. package/dist/access-boundary.js +42 -42
  7. package/dist/access-cli.js +143 -140
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +2 -1
  10. package/dist/access-extraction-force-flush.d.ts +15 -13
  11. package/dist/access-extraction-force-flush.js +42 -42
  12. package/dist/access-health-types.d.ts +2 -1
  13. package/dist/access-http-lcm-compaction.d.ts +15 -13
  14. package/dist/access-http-lifecycle-flush.d.ts +15 -13
  15. package/dist/access-http-offline-stream.d.ts +15 -13
  16. package/dist/access-http-query.d.ts +3 -2
  17. package/dist/access-http-query.js +44 -44
  18. package/dist/access-http.d.ts +16 -14
  19. package/dist/access-http.js +59 -59
  20. package/dist/access-identity-continuity-surface.d.ts +13 -11
  21. package/dist/access-identity-continuity-surface.js +42 -42
  22. package/dist/access-lcm-surface.d.ts +15 -13
  23. package/dist/access-lcm-surface.js +42 -42
  24. package/dist/access-mcp.d.ts +15 -13
  25. package/dist/access-mcp.js +49 -49
  26. package/dist/access-memory-search-fanout.d.ts +3 -2
  27. package/dist/{access-namespace-preflight-8VYKmRX0.d.ts → access-namespace-preflight-CpAOrS-9.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +4 -3
  29. package/dist/access-namespace-preflight.js +42 -42
  30. package/dist/access-observe-write-surface.d.ts +15 -13
  31. package/dist/access-observe-write-surface.js +42 -42
  32. package/dist/access-offline-manifest.d.ts +13 -11
  33. package/dist/access-offline-manifest.js +6 -6
  34. package/dist/access-operations-batch.js +45 -45
  35. package/dist/access-operations.d.ts +20 -18
  36. package/dist/access-operations.js +48 -48
  37. package/dist/access-recall-concurrency.d.ts +15 -13
  38. package/dist/access-recall-concurrency.js +42 -42
  39. package/dist/access-recall-response.d.ts +15 -13
  40. package/dist/access-recall-response.js +42 -42
  41. package/dist/access-recall-surface.d.ts +15 -13
  42. package/dist/access-recall-surface.js +42 -42
  43. package/dist/access-schema.d.ts +83 -83
  44. package/dist/{access-service-Crk__Git.d.ts → access-service-Diu61Cfv.d.ts} +71 -71
  45. package/dist/access-service-helpers.d.ts +15 -13
  46. package/dist/access-service.d.ts +15 -13
  47. package/dist/access-service.js +42 -42
  48. package/dist/access-surface-catalog.d.ts +15 -13
  49. package/dist/access-surface-catalog.js +44 -44
  50. package/dist/access-wearables-meetings-surface.d.ts +6 -3
  51. package/dist/action-confidence.d.ts +2 -1
  52. package/dist/active-context-config.d.ts +27 -0
  53. package/dist/active-context-config.js +14 -0
  54. package/dist/active-context-transform.d.ts +267 -0
  55. package/dist/active-context-transform.js +31 -0
  56. package/dist/active-context-transform.js.map +1 -0
  57. package/dist/active-memory-bridge.d.ts +2 -1
  58. package/dist/active-recall.d.ts +2 -1
  59. package/dist/active-recall.js +10 -9
  60. package/dist/active-recall.js.map +1 -1
  61. package/dist/adapters/index.js +7 -7
  62. package/dist/adapters/registry.js +3 -3
  63. package/dist/ambient-provenance.d.ts +2 -1
  64. package/dist/artifact-search.d.ts +2 -1
  65. package/dist/{auto-sync-XVMLL2RH.js → auto-sync-2YPITIWN.js} +6 -6
  66. package/dist/behavior-learner.d.ts +2 -1
  67. package/dist/behavior-signals.d.ts +2 -1
  68. package/dist/bootstrap.d.ts +13 -11
  69. package/dist/briefing-window.d.ts +5 -2
  70. package/dist/briefing.d.ts +5 -2
  71. package/dist/briefing.js +23 -23
  72. package/dist/buffer-surprise-report.d.ts +2 -1
  73. package/dist/buffer-turn-helpers.d.ts +2 -1
  74. package/dist/buffer.d.ts +5 -2
  75. package/dist/buffer.js +6 -6
  76. package/dist/bulk-import/index.d.ts +4 -3
  77. package/dist/calibration.d.ts +2 -1
  78. package/dist/capabilities.d.ts +2 -1
  79. package/dist/{catalog-DybwVNW3.d.ts → catalog-9f-vEQLS.d.ts} +1 -1
  80. package/dist/causal-behavior.d.ts +4 -3
  81. package/dist/causal-consolidation.d.ts +2 -1
  82. package/dist/causal-consolidation.js +24 -24
  83. package/dist/causal-trajectory-graph.d.ts +2 -1
  84. package/dist/{chunk-JBPKEARU.js → chunk-2QSZNTDO.js} +7 -7
  85. package/dist/{chunk-S3K2CIK5.js → chunk-3A2NJP2U.js} +2 -2
  86. package/dist/{chunk-OPGL46PX.js → chunk-3PKAS6VL.js} +2 -2
  87. package/dist/{chunk-GTSVEEP3.js → chunk-3SZD4CYO.js} +3 -3
  88. package/dist/chunk-43HUVDTD.js +114 -0
  89. package/dist/chunk-43HUVDTD.js.map +1 -0
  90. package/dist/{chunk-YKWFK7XA.js → chunk-4F4AQFWL.js} +7 -7
  91. package/dist/{chunk-RGCF4XNH.js → chunk-4QEYREAV.js} +9 -9
  92. package/dist/{chunk-46WM6JX2.js → chunk-4ZWCQJNM.js} +5 -5
  93. package/dist/{chunk-DVYRD4HY.js → chunk-5ACCD4L7.js} +30 -1
  94. package/dist/chunk-5ACCD4L7.js.map +1 -0
  95. package/dist/{chunk-3RI5Y7KU.js → chunk-5DHKCO52.js} +2 -2
  96. package/dist/{chunk-VKCAHCBI.js → chunk-5RWZH6PH.js} +2 -2
  97. package/dist/{chunk-52II7PB6.js → chunk-645WOU5I.js} +4 -4
  98. package/dist/{chunk-A32YEQAM.js → chunk-76DIF5KT.js} +2 -2
  99. package/dist/{chunk-OPPBTPUU.js → chunk-7KQB4EBS.js} +4 -4
  100. package/dist/{chunk-I2HTKOOP.js → chunk-7VZFRUQU.js} +3 -3
  101. package/dist/{chunk-D4QVPP3G.js → chunk-7WOWGRAU.js} +10 -6
  102. package/dist/chunk-7WOWGRAU.js.map +1 -0
  103. package/dist/{chunk-JCWY73FK.js → chunk-AHPIFKNG.js} +2 -2
  104. package/dist/{chunk-IP4ZNT4U.js → chunk-AZMLH5UT.js} +2 -2
  105. package/dist/chunk-B32WYRXX.js +77 -0
  106. package/dist/chunk-B32WYRXX.js.map +1 -0
  107. package/dist/{chunk-JOEJG4SD.js → chunk-BEC4YBNA.js} +4 -4
  108. package/dist/{chunk-VXVZ2GM3.js → chunk-CAMNRAJF.js} +2 -2
  109. package/dist/{chunk-C24UZSFW.js → chunk-CEH2AFXG.js} +6 -6
  110. package/dist/{chunk-YOXVZJFM.js → chunk-CFVTRUR3.js} +2 -2
  111. package/dist/{chunk-SVSRPG6M.js → chunk-CPA5NBHN.js} +2 -2
  112. package/dist/{chunk-7BEPVIH3.js → chunk-CRML27CO.js} +3 -3
  113. package/dist/{chunk-IY7UXD3J.js → chunk-DA7ITC5Z.js} +2 -2
  114. package/dist/{chunk-AFR6AIM4.js → chunk-DEACDKE3.js} +3 -3
  115. package/dist/{chunk-NG3MBQV4.js → chunk-DPCXDG7G.js} +2 -2
  116. package/dist/{chunk-HZNYJN77.js → chunk-F3NVYTTA.js} +2 -2
  117. package/dist/{chunk-PDDSFELN.js → chunk-F7XUD3PL.js} +2 -2
  118. package/dist/{chunk-YWSQD2IB.js → chunk-GTO56JY5.js} +2 -2
  119. package/dist/{chunk-RAIUTAZZ.js → chunk-H2YSH3DG.js} +2 -2
  120. package/dist/{chunk-F6QHHRWP.js → chunk-HMZKGHMD.js} +2 -2
  121. package/dist/{chunk-ZIJDI4CP.js → chunk-HRHO3ZNG.js} +2 -2
  122. package/dist/{chunk-SDEPLF7V.js → chunk-IBJ6U753.js} +2 -2
  123. package/dist/{chunk-T3JQTCCO.js → chunk-JI7U6AS3.js} +4 -4
  124. package/dist/{chunk-TR7DGXGI.js → chunk-JOZUBF4A.js} +5 -5
  125. package/dist/{chunk-I7EX6KSH.js → chunk-JYSN42VN.js} +55 -55
  126. package/dist/{chunk-ZPUIRTIZ.js → chunk-KOLJJN5G.js} +12 -75
  127. package/dist/chunk-KOLJJN5G.js.map +1 -0
  128. package/dist/{chunk-FMQ4MOQO.js → chunk-KZIF6XHX.js} +14 -14
  129. package/dist/chunk-LB7WCZHY.js +553 -0
  130. package/dist/chunk-LB7WCZHY.js.map +1 -0
  131. package/dist/{chunk-RIAM7DND.js → chunk-LDKPDODJ.js} +2 -2
  132. package/dist/{chunk-227UFSEQ.js → chunk-LEPOP46W.js} +4 -4
  133. package/dist/{chunk-LLQCM2U2.js → chunk-LKYIOCWL.js} +101 -101
  134. package/dist/{chunk-5S4LQOPE.js → chunk-LOXHYCVS.js} +2 -2
  135. package/dist/{chunk-ANJXPFRS.js → chunk-LPNCR4QK.js} +8 -8
  136. package/dist/{chunk-GEPACVWN.js → chunk-MDD2RINF.js} +2 -2
  137. package/dist/{chunk-H63EDPFJ.js → chunk-MI2OTWV5.js} +15 -2
  138. package/dist/{chunk-H63EDPFJ.js.map → chunk-MI2OTWV5.js.map} +1 -1
  139. package/dist/{chunk-LBFFNDFM.js → chunk-MINHJ55X.js} +1 -1
  140. package/dist/chunk-MINHJ55X.js.map +1 -0
  141. package/dist/{chunk-6CPUQ5D6.js → chunk-MY2BC6UE.js} +13 -13
  142. package/dist/{chunk-CFGU52XJ.js → chunk-NPFUNWNX.js} +2 -2
  143. package/dist/{chunk-MFOSZUIT.js → chunk-NPIBN2VL.js} +2 -2
  144. package/dist/{chunk-5DH6PG4B.js → chunk-OA2O2GJ4.js} +3 -3
  145. package/dist/{chunk-JAQXUGLN.js → chunk-ODU2CNNX.js} +2 -2
  146. package/dist/{chunk-RQE4TITU.js → chunk-OXRRJXPR.js} +32 -32
  147. package/dist/{chunk-SEA6M7SS.js → chunk-P36Z4JRA.js} +2 -2
  148. package/dist/{chunk-Z4U3UN56.js → chunk-PU56CXZA.js} +6 -6
  149. package/dist/{chunk-5VPQSRQO.js → chunk-S5XOSTYM.js} +3 -3
  150. package/dist/{chunk-SVVIASVX.js → chunk-SEEJOGQX.js} +5 -5
  151. package/dist/{chunk-7TCGNUVP.js → chunk-SNOIKAHM.js} +2 -2
  152. package/dist/{chunk-7F27PCSN.js → chunk-T6ILXUAH.js} +2 -2
  153. package/dist/{chunk-EOHKUWXW.js → chunk-T7XP6IZE.js} +2 -2
  154. package/dist/{chunk-7WR462EM.js → chunk-TFR3HG4K.js} +3 -3
  155. package/dist/{chunk-YRVAKONL.js → chunk-TUHBYJXL.js} +1 -1
  156. package/dist/{chunk-F635GAL7.js → chunk-U7EW2W4W.js} +10 -10
  157. package/dist/{chunk-VFYRYFLL.js → chunk-UEBDCMOO.js} +2 -2
  158. package/dist/{chunk-WTOZBZNN.js → chunk-UENKPWCS.js} +4 -4
  159. package/dist/{chunk-AAXJNINV.js → chunk-UL4MKZHI.js} +2 -2
  160. package/dist/{chunk-R2MZCYA6.js → chunk-UNUMFURP.js} +3 -3
  161. package/dist/{chunk-ACOC27BB.js → chunk-UPFNQJC7.js} +2 -2
  162. package/dist/{chunk-W4BMEGQA.js → chunk-UTQUEHC7.js} +2 -2
  163. package/dist/{chunk-I32NKXE2.js → chunk-V4IDF3EZ.js} +2 -2
  164. package/dist/{chunk-BJTHRFFC.js → chunk-W2BAGGEW.js} +51 -19
  165. package/dist/chunk-W2BAGGEW.js.map +1 -0
  166. package/dist/{chunk-ZAOHJDKH.js → chunk-WNXYT4MK.js} +3 -3
  167. package/dist/{chunk-T42L3S6A.js → chunk-XBGHAAKR.js} +2 -2
  168. package/dist/{chunk-I4343FIA.js → chunk-XNWXSGHS.js} +4 -4
  169. package/dist/{chunk-THG4GYIE.js → chunk-YEUXERJ6.js} +5 -5
  170. package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
  171. package/dist/{chunk-5HERQ5FX.js → chunk-Z3YEGSR4.js} +10 -10
  172. package/dist/{cli-B322UMvB.d.ts → cli-O3F-ht3i.d.ts} +5 -5
  173. package/dist/cli.d.ts +17 -15
  174. package/dist/cli.js +92 -91
  175. package/dist/coding/pre-action-gate.d.ts +2 -1
  176. package/dist/compounding/engine.d.ts +5 -2
  177. package/dist/compounding/engine.js +24 -24
  178. package/dist/compounding/preference-consolidator.d.ts +4 -3
  179. package/dist/compression-optimizer.d.ts +2 -1
  180. package/dist/config-security.js +2 -2
  181. package/dist/config.d.ts +2 -1
  182. package/dist/config.js +10 -9
  183. package/dist/connectors/codex-materialize-runner.d.ts +2 -1
  184. package/dist/connectors/codex-materialize-runner.js +23 -23
  185. package/dist/connectors/codex-materialize.d.ts +2 -1
  186. package/dist/connectors/index.d.ts +2 -1
  187. package/dist/connectors/index.js +23 -23
  188. package/dist/consolidation-provenance-check.d.ts +5 -2
  189. package/dist/consolidation-provenance-check.js +2 -2
  190. package/dist/consolidation-undo.d.ts +5 -2
  191. package/dist/context-summary.d.ts +43 -0
  192. package/dist/context-summary.js +14 -0
  193. package/dist/context-summary.js.map +1 -0
  194. package/dist/contradiction/index.d.ts +6 -3
  195. package/dist/contradiction/index.js +5 -5
  196. package/dist/converge-config.d.ts +2 -1
  197. package/dist/convergence-refresh.d.ts +5 -2
  198. package/dist/convergence-refresh.js +26 -26
  199. package/dist/conversation-index/backend.d.ts +2 -1
  200. package/dist/conversation-index/backend.js +2 -2
  201. package/dist/conversation-index/chunker.d.ts +2 -1
  202. package/dist/conversation-index/faiss-adapter.d.ts +2 -1
  203. package/dist/conversation-index/indexer.d.ts +2 -1
  204. package/dist/conversation-index/search.d.ts +2 -1
  205. package/dist/corpus-watermark.d.ts +2 -1
  206. package/dist/corpus-watermark.js +25 -25
  207. package/dist/cross-lingual-recall.d.ts +2 -1
  208. package/dist/dashboard-runtime.js +2 -2
  209. package/dist/day-summary.d.ts +2 -1
  210. package/dist/delinearize.d.ts +2 -1
  211. package/dist/dependency-propagation-config.d.ts +2 -1
  212. package/dist/{dependency-propagation-delivery-BGcNairQ.d.ts → dependency-propagation-delivery-CL6RWXTA.d.ts} +1 -1
  213. package/dist/direct-answer-wiring.d.ts +2 -1
  214. package/dist/direct-answer.d.ts +2 -1
  215. package/dist/embedding-fallback.d.ts +2 -1
  216. package/dist/enrichment/index.d.ts +2 -1
  217. package/dist/entity-origin-fields.d.ts +2 -1
  218. package/dist/entity-retrieval.d.ts +5 -2
  219. package/dist/entity-retrieval.js +24 -24
  220. package/dist/entity-schema.d.ts +2 -1
  221. package/dist/episodic-context.d.ts +2 -1
  222. package/dist/eval-trajectory-contracts.d.ts +2 -1
  223. package/dist/eval-trajectory-store.d.ts +2 -1
  224. package/dist/eval-trajectory.d.ts +2 -1
  225. package/dist/event-order-recall.js +3 -3
  226. package/dist/explicit-capture.d.ts +13 -11
  227. package/dist/explicit-capture.js +6 -6
  228. package/dist/external-wiki-access.d.ts +15 -13
  229. package/dist/external-wiki-access.js +43 -43
  230. package/dist/external-wiki-collection-registration.d.ts +2 -1
  231. package/dist/external-wiki-collection.d.ts +2 -1
  232. package/dist/external-wiki-mcp-tools.d.ts +15 -13
  233. package/dist/extraction-error-classification.d.ts +2 -1
  234. package/dist/extraction-faithfulness.d.ts +2 -1
  235. package/dist/extraction-judge-telemetry.d.ts +2 -1
  236. package/dist/extraction-judge-training.d.ts +2 -1
  237. package/dist/extraction-judge.d.ts +2 -1
  238. package/dist/extraction-liveness.d.ts +2 -1
  239. package/dist/extraction-normalization.d.ts +2 -1
  240. package/dist/extraction-prompt.d.ts +2 -1
  241. package/dist/extraction-source-grounding-rules.d.ts +2 -1
  242. package/dist/extraction-source-grounding.d.ts +2 -1
  243. package/dist/extraction.d.ts +2 -1
  244. package/dist/extraction.js +31 -31
  245. package/dist/fallback-llm.d.ts +2 -1
  246. package/dist/{forget-SZ2BXDGF.js → forget-2AE4MDK3.js} +3 -3
  247. package/dist/graph-dashboard-diff.d.ts +2 -1
  248. package/dist/graph-dashboard-key.d.ts +2 -1
  249. package/dist/graph-dashboard-parser.d.ts +2 -1
  250. package/dist/graph-edge-reinforcement.d.ts +2 -1
  251. package/dist/graph-path-reconstruction.d.ts +2 -1
  252. package/dist/graph-path-scoring.d.ts +2 -1
  253. package/dist/graph-snapshot.d.ts +2 -1
  254. package/dist/graph.d.ts +2 -1
  255. package/dist/harmonic-retrieval.js +1 -1
  256. package/dist/importance.d.ts +2 -1
  257. package/dist/importers/index.d.ts +2 -1
  258. package/dist/in-flight-reads.d.ts +2 -1
  259. package/dist/{index-By2QUAMh.d.ts → index-C7Xep6S9.d.ts} +2 -2
  260. package/dist/index.d.ts +703 -701
  261. package/dist/index.js +225 -196
  262. package/dist/intent.d.ts +2 -1
  263. package/dist/lcm/engine.d.ts +3 -2
  264. package/dist/lcm/engine.js +5 -4
  265. package/dist/lcm/index.d.ts +4 -2
  266. package/dist/lcm/index.js +12 -11
  267. package/dist/lcm/summarizer.d.ts +4 -6
  268. package/dist/lcm/summarizer.js +2 -1
  269. package/dist/lcm/tools.d.ts +4 -3
  270. package/dist/lifecycle.d.ts +2 -1
  271. package/dist/live-connectors-runner.d.ts +2 -1
  272. package/dist/local-llm.d.ts +2 -1
  273. package/dist/local-model-endpoint.d.ts +2 -1
  274. package/dist/maintenance/memory-governance.d.ts +2 -1
  275. package/dist/maintenance/memory-governance.js +24 -24
  276. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +5 -2
  277. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -23
  278. package/dist/maintenance/rebuild-memory-projection.d.ts +5 -2
  279. package/dist/maintenance/rebuild-memory-projection.js +25 -25
  280. package/dist/{maintenance-Dm2McrIx.d.ts → maintenance-CJ-xqFp0.d.ts} +3 -3
  281. package/dist/mcp-memory-inspector-app.d.ts +15 -13
  282. package/dist/memory-action-policy.d.ts +18 -2
  283. package/dist/memory-action-policy.js +3 -1
  284. package/dist/memory-cache.d.ts +2 -1
  285. package/dist/memory-controller.d.ts +2 -1
  286. package/dist/memory-controller.js +2 -2
  287. package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
  288. package/dist/memory-projection-store.d.ts +2 -1
  289. package/dist/memory-provenance.d.ts +2 -1
  290. package/dist/memory-snapshot.d.ts +2 -1
  291. package/dist/memory-subject-cli.d.ts +15 -13
  292. package/dist/memory-subject.d.ts +15 -13
  293. package/dist/memory-subject.js +3 -3
  294. package/dist/memory-worth-outcomes.d.ts +5 -2
  295. package/dist/models-json.d.ts +2 -1
  296. package/dist/namespaces/migrate.d.ts +6 -3
  297. package/dist/namespaces/migrate.js +24 -24
  298. package/dist/namespaces/principal.d.ts +2 -1
  299. package/dist/namespaces/search.d.ts +2 -1
  300. package/dist/namespaces/search.js +9 -9
  301. package/dist/namespaces/storage.d.ts +6 -3
  302. package/dist/namespaces/storage.js +23 -23
  303. package/dist/native-knowledge.d.ts +2 -1
  304. package/dist/offline-sync-impression-drain.d.ts +2 -1
  305. package/dist/offline-sync-impression-drain.js +2 -2
  306. package/dist/operator-doctor-corpus.d.ts +2 -1
  307. package/dist/operator-doctor-corpus.js +26 -26
  308. package/dist/operator-doctor-replica.d.ts +2 -1
  309. package/dist/operator-toolkit.d.ts +6 -3
  310. package/dist/operator-toolkit.js +38 -37
  311. package/dist/orchestration/compression-guideline-coordinator.d.ts +5 -2
  312. package/dist/orchestration/maintenance.d.ts +7 -4
  313. package/dist/orchestration/maintenance.js +31 -31
  314. package/dist/{orchestrator-Co1DyfuP.d.ts → orchestrator-BsntWxLy.d.ts} +8 -8
  315. package/dist/orchestrator.d.ts +13 -11
  316. package/dist/orchestrator.js +143 -140
  317. package/dist/patterns-cli.d.ts +2 -1
  318. package/dist/{pipeline-DotMnb6y.d.ts → pipeline-CVoysPm2.d.ts} +1 -1
  319. package/dist/policy-runtime.d.ts +2 -1
  320. package/dist/proactive-contention.d.ts +2 -1
  321. package/dist/provenance.d.ts +2 -1
  322. package/dist/{public-http-PJRtnSi-.d.ts → public-http-CuOxlTC2.d.ts} +1 -1
  323. package/dist/{qmd-BP0n11fR.d.ts → qmd-DWMAGA5l.d.ts} +1 -1
  324. package/dist/qmd-preflight.d.ts +3 -2
  325. package/dist/qmd-recall-cache.d.ts +2 -1
  326. package/dist/qmd.d.ts +3 -2
  327. package/dist/qmd.js +4 -4
  328. package/dist/recall-concurrency-config.d.ts +2 -1
  329. package/dist/recall-disclosure-escalation.d.ts +2 -1
  330. package/dist/recall-explain-renderer.d.ts +2 -1
  331. package/dist/recall-explain-renderer.js +3 -3
  332. package/dist/recall-memory-map.d.ts +2 -1
  333. package/dist/recall-planner-llm.d.ts +2 -1
  334. package/dist/recall-state.d.ts +2 -1
  335. package/dist/recall-tag-filter.d.ts +2 -1
  336. package/dist/recall-timings.d.ts +2 -1
  337. package/dist/recall-xray-cli.d.ts +2 -1
  338. package/dist/recall-xray-cli.js +4 -4
  339. package/dist/recall-xray-renderer.d.ts +2 -1
  340. package/dist/recall-xray-renderer.js +3 -3
  341. package/dist/recall-xray.d.ts +2 -1
  342. package/dist/recall-xray.js +2 -2
  343. package/dist/reconcile/cursor.d.ts +2 -1
  344. package/dist/reconcile/manifest.d.ts +2 -1
  345. package/dist/reconcile/manifest.js +3 -3
  346. package/dist/reconcile/plan.d.ts +2 -1
  347. package/dist/replay/normalizers/chatgpt.d.ts +2 -1
  348. package/dist/replay/normalizers/claude.d.ts +2 -1
  349. package/dist/replay/normalizers/openclaw.d.ts +2 -1
  350. package/dist/replay/normalizers/shared.d.ts +2 -1
  351. package/dist/replay/runner.d.ts +2 -1
  352. package/dist/replay/types.d.ts +2 -1
  353. package/dist/replica-divergence.d.ts +2 -1
  354. package/dist/replica-peers-config.d.ts +2 -1
  355. package/dist/{resolution-4552BNRV.js → resolution-XWBPKYFB.js} +6 -6
  356. package/dist/resolution-XWBPKYFB.js.map +1 -0
  357. package/dist/resolve-auth-token.d.ts +2 -1
  358. package/dist/resume-bundles.js +11 -10
  359. package/dist/retrieval-agents.d.ts +3 -2
  360. package/dist/retrieval-tiers.d.ts +2 -1
  361. package/dist/routing/engine.d.ts +2 -1
  362. package/dist/routing/store.d.ts +2 -1
  363. package/dist/salvage-envelope.d.ts +2 -1
  364. package/dist/salvage-envelope.js +5 -5
  365. package/dist/schemas.d.ts +124 -124
  366. package/dist/{scope-profiles-6ChZKTy-.d.ts → scope-profiles-CPWkW_dI.d.ts} +1 -1
  367. package/dist/search/embed-helper.d.ts +2 -1
  368. package/dist/search/factory.d.ts +2 -1
  369. package/dist/search/factory.js +8 -8
  370. package/dist/search/index.d.ts +2 -1
  371. package/dist/search/index.js +14 -14
  372. package/dist/search/lancedb-backend.d.ts +2 -1
  373. package/dist/search/meilisearch-backend.d.ts +2 -1
  374. package/dist/search/noop-backend.d.ts +2 -1
  375. package/dist/search/orama-backend.d.ts +2 -1
  376. package/dist/search/port.d.ts +2 -1
  377. package/dist/search/remote-backend.d.ts +2 -1
  378. package/dist/{semantic-consolidation-DziYcW5J.d.ts → semantic-consolidation-CNFVBXFc.d.ts} +1 -1
  379. package/dist/semantic-consolidation.d.ts +3 -2
  380. package/dist/semantic-consolidation.js +29 -29
  381. package/dist/semantic-rule-promotion.js +23 -23
  382. package/dist/semantic-rule-verifier.d.ts +2 -1
  383. package/dist/semantic-rule-verifier.js +23 -23
  384. package/dist/{service-C7rIBuK_.d.ts → service-Bb-JIdQ0.d.ts} +2 -2
  385. package/dist/session-observer-bands.d.ts +2 -1
  386. package/dist/session-observer-state.d.ts +2 -1
  387. package/dist/shared-context/manager.d.ts +8 -7
  388. package/dist/signal.d.ts +2 -1
  389. package/dist/source-agent-qualifier.d.ts +2 -1
  390. package/dist/source-agent-qualifier.js +27 -27
  391. package/dist/{storage-B1hEx8Xg.d.ts → storage-CukrlNKk.d.ts} +4 -1
  392. package/dist/storage.d.ts +5 -2
  393. package/dist/storage.js +22 -22
  394. package/dist/subject-config.d.ts +2 -1
  395. package/dist/subject-config.js +4 -4
  396. package/dist/summarizer.d.ts +2 -1
  397. package/dist/summary-snapshot.d.ts +2 -1
  398. package/dist/support-passport/index.d.ts +18 -16
  399. package/dist/support-passport/index.js +45 -45
  400. package/dist/temporal-supersession.d.ts +3 -2
  401. package/dist/temporal-timeline-recall.d.ts +2 -1
  402. package/dist/temporal-validity.d.ts +2 -1
  403. package/dist/threading.d.ts +2 -1
  404. package/dist/tier-migration.d.ts +5 -2
  405. package/dist/tier-routing.d.ts +2 -1
  406. package/dist/topics.d.ts +2 -1
  407. package/dist/transcript.d.ts +2 -1
  408. package/dist/transfer/types.d.ts +78 -78
  409. package/dist/trust-score-stage.d.ts +2 -1
  410. package/dist/trust-score.d.ts +2 -1
  411. package/dist/{types-BHDNxGTT.d.ts → types-djxQlxJ7.d.ts} +2 -1
  412. package/dist/types.d.ts +2 -1
  413. package/dist/types.js +1 -1
  414. package/dist/utility-runtime.d.ts +2 -1
  415. package/dist/verified-recall.js +23 -23
  416. package/dist/who-knows-cli.d.ts +15 -13
  417. package/dist/who-knows-cli.js +24 -24
  418. package/dist/who-knows.d.ts +15 -13
  419. package/dist/who-knows.js +23 -23
  420. package/dist/write-envelope.d.ts +2 -1
  421. package/dist/write-envelope.js +4 -4
  422. package/package.json +22 -2
  423. package/src/active-context-config.ts +98 -0
  424. package/src/active-context-transform.test.ts +533 -0
  425. package/src/active-context-transform.ts +981 -0
  426. package/src/config.ts +3 -5
  427. package/src/context-summary.ts +182 -0
  428. package/src/index.ts +4 -11
  429. package/src/lcm/summarizer.ts +14 -93
  430. package/src/memory-action-policy.ts +28 -0
  431. package/src/storage/context-transform-ledger.ts +39 -0
  432. package/src/storage/secure-line-reader.ts +50 -1
  433. package/src/storage.ts +4 -1
  434. package/src/types.ts +2 -3
  435. package/dist/chunk-BJTHRFFC.js.map +0 -1
  436. package/dist/chunk-D4QVPP3G.js.map +0 -1
  437. package/dist/chunk-DVYRD4HY.js.map +0 -1
  438. package/dist/chunk-LBFFNDFM.js.map +0 -1
  439. package/dist/chunk-ZPUIRTIZ.js.map +0 -1
  440. /package/dist/{resolution-4552BNRV.js.map → active-context-config.js.map} +0 -0
  441. /package/dist/{auto-sync-XVMLL2RH.js.map → auto-sync-2YPITIWN.js.map} +0 -0
  442. /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
  443. /package/dist/{chunk-S3K2CIK5.js.map → chunk-3A2NJP2U.js.map} +0 -0
  444. /package/dist/{chunk-OPGL46PX.js.map → chunk-3PKAS6VL.js.map} +0 -0
  445. /package/dist/{chunk-GTSVEEP3.js.map → chunk-3SZD4CYO.js.map} +0 -0
  446. /package/dist/{chunk-YKWFK7XA.js.map → chunk-4F4AQFWL.js.map} +0 -0
  447. /package/dist/{chunk-RGCF4XNH.js.map → chunk-4QEYREAV.js.map} +0 -0
  448. /package/dist/{chunk-46WM6JX2.js.map → chunk-4ZWCQJNM.js.map} +0 -0
  449. /package/dist/{chunk-3RI5Y7KU.js.map → chunk-5DHKCO52.js.map} +0 -0
  450. /package/dist/{chunk-VKCAHCBI.js.map → chunk-5RWZH6PH.js.map} +0 -0
  451. /package/dist/{chunk-52II7PB6.js.map → chunk-645WOU5I.js.map} +0 -0
  452. /package/dist/{chunk-A32YEQAM.js.map → chunk-76DIF5KT.js.map} +0 -0
  453. /package/dist/{chunk-OPPBTPUU.js.map → chunk-7KQB4EBS.js.map} +0 -0
  454. /package/dist/{chunk-I2HTKOOP.js.map → chunk-7VZFRUQU.js.map} +0 -0
  455. /package/dist/{chunk-JCWY73FK.js.map → chunk-AHPIFKNG.js.map} +0 -0
  456. /package/dist/{chunk-IP4ZNT4U.js.map → chunk-AZMLH5UT.js.map} +0 -0
  457. /package/dist/{chunk-JOEJG4SD.js.map → chunk-BEC4YBNA.js.map} +0 -0
  458. /package/dist/{chunk-VXVZ2GM3.js.map → chunk-CAMNRAJF.js.map} +0 -0
  459. /package/dist/{chunk-C24UZSFW.js.map → chunk-CEH2AFXG.js.map} +0 -0
  460. /package/dist/{chunk-YOXVZJFM.js.map → chunk-CFVTRUR3.js.map} +0 -0
  461. /package/dist/{chunk-SVSRPG6M.js.map → chunk-CPA5NBHN.js.map} +0 -0
  462. /package/dist/{chunk-7BEPVIH3.js.map → chunk-CRML27CO.js.map} +0 -0
  463. /package/dist/{chunk-IY7UXD3J.js.map → chunk-DA7ITC5Z.js.map} +0 -0
  464. /package/dist/{chunk-AFR6AIM4.js.map → chunk-DEACDKE3.js.map} +0 -0
  465. /package/dist/{chunk-NG3MBQV4.js.map → chunk-DPCXDG7G.js.map} +0 -0
  466. /package/dist/{chunk-HZNYJN77.js.map → chunk-F3NVYTTA.js.map} +0 -0
  467. /package/dist/{chunk-PDDSFELN.js.map → chunk-F7XUD3PL.js.map} +0 -0
  468. /package/dist/{chunk-YWSQD2IB.js.map → chunk-GTO56JY5.js.map} +0 -0
  469. /package/dist/{chunk-RAIUTAZZ.js.map → chunk-H2YSH3DG.js.map} +0 -0
  470. /package/dist/{chunk-F6QHHRWP.js.map → chunk-HMZKGHMD.js.map} +0 -0
  471. /package/dist/{chunk-ZIJDI4CP.js.map → chunk-HRHO3ZNG.js.map} +0 -0
  472. /package/dist/{chunk-SDEPLF7V.js.map → chunk-IBJ6U753.js.map} +0 -0
  473. /package/dist/{chunk-T3JQTCCO.js.map → chunk-JI7U6AS3.js.map} +0 -0
  474. /package/dist/{chunk-TR7DGXGI.js.map → chunk-JOZUBF4A.js.map} +0 -0
  475. /package/dist/{chunk-I7EX6KSH.js.map → chunk-JYSN42VN.js.map} +0 -0
  476. /package/dist/{chunk-FMQ4MOQO.js.map → chunk-KZIF6XHX.js.map} +0 -0
  477. /package/dist/{chunk-RIAM7DND.js.map → chunk-LDKPDODJ.js.map} +0 -0
  478. /package/dist/{chunk-227UFSEQ.js.map → chunk-LEPOP46W.js.map} +0 -0
  479. /package/dist/{chunk-LLQCM2U2.js.map → chunk-LKYIOCWL.js.map} +0 -0
  480. /package/dist/{chunk-5S4LQOPE.js.map → chunk-LOXHYCVS.js.map} +0 -0
  481. /package/dist/{chunk-ANJXPFRS.js.map → chunk-LPNCR4QK.js.map} +0 -0
  482. /package/dist/{chunk-GEPACVWN.js.map → chunk-MDD2RINF.js.map} +0 -0
  483. /package/dist/{chunk-6CPUQ5D6.js.map → chunk-MY2BC6UE.js.map} +0 -0
  484. /package/dist/{chunk-CFGU52XJ.js.map → chunk-NPFUNWNX.js.map} +0 -0
  485. /package/dist/{chunk-MFOSZUIT.js.map → chunk-NPIBN2VL.js.map} +0 -0
  486. /package/dist/{chunk-5DH6PG4B.js.map → chunk-OA2O2GJ4.js.map} +0 -0
  487. /package/dist/{chunk-JAQXUGLN.js.map → chunk-ODU2CNNX.js.map} +0 -0
  488. /package/dist/{chunk-RQE4TITU.js.map → chunk-OXRRJXPR.js.map} +0 -0
  489. /package/dist/{chunk-SEA6M7SS.js.map → chunk-P36Z4JRA.js.map} +0 -0
  490. /package/dist/{chunk-Z4U3UN56.js.map → chunk-PU56CXZA.js.map} +0 -0
  491. /package/dist/{chunk-5VPQSRQO.js.map → chunk-S5XOSTYM.js.map} +0 -0
  492. /package/dist/{chunk-SVVIASVX.js.map → chunk-SEEJOGQX.js.map} +0 -0
  493. /package/dist/{chunk-7TCGNUVP.js.map → chunk-SNOIKAHM.js.map} +0 -0
  494. /package/dist/{chunk-7F27PCSN.js.map → chunk-T6ILXUAH.js.map} +0 -0
  495. /package/dist/{chunk-EOHKUWXW.js.map → chunk-T7XP6IZE.js.map} +0 -0
  496. /package/dist/{chunk-7WR462EM.js.map → chunk-TFR3HG4K.js.map} +0 -0
  497. /package/dist/{chunk-YRVAKONL.js.map → chunk-TUHBYJXL.js.map} +0 -0
  498. /package/dist/{chunk-F635GAL7.js.map → chunk-U7EW2W4W.js.map} +0 -0
  499. /package/dist/{chunk-VFYRYFLL.js.map → chunk-UEBDCMOO.js.map} +0 -0
  500. /package/dist/{chunk-WTOZBZNN.js.map → chunk-UENKPWCS.js.map} +0 -0
  501. /package/dist/{chunk-AAXJNINV.js.map → chunk-UL4MKZHI.js.map} +0 -0
  502. /package/dist/{chunk-R2MZCYA6.js.map → chunk-UNUMFURP.js.map} +0 -0
  503. /package/dist/{chunk-ACOC27BB.js.map → chunk-UPFNQJC7.js.map} +0 -0
  504. /package/dist/{chunk-W4BMEGQA.js.map → chunk-UTQUEHC7.js.map} +0 -0
  505. /package/dist/{chunk-I32NKXE2.js.map → chunk-V4IDF3EZ.js.map} +0 -0
  506. /package/dist/{chunk-ZAOHJDKH.js.map → chunk-WNXYT4MK.js.map} +0 -0
  507. /package/dist/{chunk-T42L3S6A.js.map → chunk-XBGHAAKR.js.map} +0 -0
  508. /package/dist/{chunk-I4343FIA.js.map → chunk-XNWXSGHS.js.map} +0 -0
  509. /package/dist/{chunk-THG4GYIE.js.map → chunk-YEUXERJ6.js.map} +0 -0
  510. /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
  511. /package/dist/{chunk-5HERQ5FX.js.map → chunk-Z3YEGSR4.js.map} +0 -0
  512. /package/dist/{forget-SZ2BXDGF.js.map → forget-2AE4MDK3.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
7
7
  importance: z.ZodNumber;
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
- source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
11
10
  confidence: number;
12
- lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
11
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
13
12
  importance: number;
13
+ lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
14
14
  }, {
15
- source: "manual" | "unknown" | "extraction" | "consolidation" | "replay";
16
15
  confidence: number;
17
- lifecycleState: "stale" | "active" | "archived" | "candidate" | "validated";
16
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
18
17
  importance: number;
18
+ lifecycleState: "active" | "archived" | "stale" | "candidate" | "validated";
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
@@ -64,10 +64,10 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  value: string;
67
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
67
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
68
68
  }, {
69
69
  value: string;
70
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
70
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
71
71
  }>, "many">>>;
72
72
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
73
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -113,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
113
113
  order: z.ZodNumber;
114
114
  description: z.ZodString;
115
115
  }, "strip", z.ZodTypeAny, {
116
- order: number;
117
116
  description: string;
118
- }, {
119
117
  order: number;
118
+ }, {
120
119
  description: string;
120
+ order: number;
121
121
  }>, "many">;
122
122
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
123
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -125,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
125
125
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
126
  }, "strip", z.ZodTypeAny, {
127
127
  steps: {
128
- order: number;
129
128
  description: string;
129
+ order: number;
130
130
  }[];
131
131
  finalAnswer?: string | null | undefined;
132
132
  final_answer?: string | null | undefined;
@@ -134,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
134
134
  observed_outcome?: string | null | undefined;
135
135
  }, {
136
136
  steps: {
137
- order: number;
138
137
  description: string;
138
+ order: number;
139
139
  }[];
140
140
  finalAnswer?: string | null | undefined;
141
141
  final_answer?: string | null | undefined;
@@ -143,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
143
143
  observed_outcome?: string | null | undefined;
144
144
  }>, {
145
145
  steps: {
146
- order: number;
147
146
  description: string;
147
+ order: number;
148
148
  }[];
149
149
  finalAnswer?: string | null | undefined;
150
150
  final_answer?: string | null | undefined;
@@ -152,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
152
152
  observed_outcome?: string | null | undefined;
153
153
  }, {
154
154
  steps: {
155
- order: number;
156
155
  description: string;
156
+ order: number;
157
157
  }[];
158
158
  finalAnswer?: string | null | undefined;
159
159
  final_answer?: string | null | undefined;
@@ -163,17 +163,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
163
163
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
164
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
165
165
  }, "strip", z.ZodTypeAny, {
166
- tags: string[];
166
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
167
167
  content: string;
168
168
  confidence: number;
169
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
170
- scope?: "project" | "global" | null | undefined;
171
- subject?: "user" | "agent" | null | undefined;
169
+ tags: string[];
172
170
  entityRef?: string | null | undefined;
173
171
  structuredAttributes?: Record<string, string> | null | undefined;
172
+ subject?: "user" | "agent" | null | undefined;
173
+ scope?: "project" | "global" | null | undefined;
174
174
  cueAnchors?: {
175
175
  value: string;
176
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
176
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
177
177
  }[] | null | undefined;
178
178
  promptedByQuestion?: string | null | undefined;
179
179
  quote?: string | null | undefined;
@@ -189,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
189
189
  }[] | null | undefined;
190
190
  reasoningTrace?: {
191
191
  steps: {
192
- order: number;
193
192
  description: string;
193
+ order: number;
194
194
  }[];
195
195
  finalAnswer?: string | null | undefined;
196
196
  final_answer?: string | null | undefined;
@@ -200,17 +200,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
200
200
  eventTime?: string | null | undefined;
201
201
  event_time?: string | null | undefined;
202
202
  }, {
203
- tags: string[];
203
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
204
204
  content: string;
205
205
  confidence: number;
206
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
207
- scope?: "project" | "global" | null | undefined;
208
- subject?: "user" | "agent" | null | undefined;
206
+ tags: string[];
209
207
  entityRef?: string | null | undefined;
210
208
  structuredAttributes?: Record<string, string> | null | undefined;
209
+ subject?: "user" | "agent" | null | undefined;
210
+ scope?: "project" | "global" | null | undefined;
211
211
  cueAnchors?: {
212
212
  value: string;
213
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
213
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
214
214
  }[] | null | undefined;
215
215
  promptedByQuestion?: string | null | undefined;
216
216
  quote?: string | null | undefined;
@@ -226,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
226
226
  }[] | null | undefined;
227
227
  reasoningTrace?: {
228
228
  steps: {
229
- order: number;
230
229
  description: string;
230
+ order: number;
231
231
  }[];
232
232
  finalAnswer?: string | null | undefined;
233
233
  final_answer?: string | null | undefined;
@@ -237,17 +237,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
237
237
  eventTime?: string | null | undefined;
238
238
  event_time?: string | null | undefined;
239
239
  }>, {
240
- tags: string[];
240
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
241
241
  content: string;
242
242
  confidence: number;
243
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
244
- scope?: "project" | "global" | null | undefined;
245
- subject?: "user" | "agent" | null | undefined;
243
+ tags: string[];
246
244
  entityRef?: string | null | undefined;
247
245
  structuredAttributes?: Record<string, string> | null | undefined;
246
+ subject?: "user" | "agent" | null | undefined;
247
+ scope?: "project" | "global" | null | undefined;
248
248
  cueAnchors?: {
249
249
  value: string;
250
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
250
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
251
251
  }[] | null | undefined;
252
252
  promptedByQuestion?: string | null | undefined;
253
253
  quote?: string | null | undefined;
@@ -263,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
263
263
  }[] | null | undefined;
264
264
  reasoningTrace?: {
265
265
  steps: {
266
- order: number;
267
266
  description: string;
267
+ order: number;
268
268
  }[];
269
269
  finalAnswer?: string | null | undefined;
270
270
  final_answer?: string | null | undefined;
@@ -274,17 +274,17 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
274
274
  eventTime?: string | null | undefined;
275
275
  event_time?: string | null | undefined;
276
276
  }, {
277
- tags: string[];
277
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
278
278
  content: string;
279
279
  confidence: number;
280
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
281
- scope?: "project" | "global" | null | undefined;
282
- subject?: "user" | "agent" | null | undefined;
280
+ tags: string[];
283
281
  entityRef?: string | null | undefined;
284
282
  structuredAttributes?: Record<string, string> | null | undefined;
283
+ subject?: "user" | "agent" | null | undefined;
284
+ scope?: "project" | "global" | null | undefined;
285
285
  cueAnchors?: {
286
286
  value: string;
287
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
287
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
288
288
  }[] | null | undefined;
289
289
  promptedByQuestion?: string | null | undefined;
290
290
  quote?: string | null | undefined;
@@ -300,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
300
300
  }[] | null | undefined;
301
301
  reasoningTrace?: {
302
302
  steps: {
303
- order: number;
304
303
  description: string;
304
+ order: number;
305
305
  }[];
306
306
  finalAnswer?: string | null | undefined;
307
307
  final_answer?: string | null | undefined;
@@ -321,12 +321,12 @@ declare const EntityMentionSchema: z.ZodObject<{
321
321
  title: z.ZodString;
322
322
  facts: z.ZodArray<z.ZodString, "many">;
323
323
  }, "strip", z.ZodTypeAny, {
324
- title: string;
325
324
  key: string;
325
+ title: string;
326
326
  facts: string[];
327
327
  }, {
328
- title: string;
329
328
  key: string;
329
+ title: string;
330
330
  facts: string[];
331
331
  }>, "many">>>;
332
332
  }, "strip", z.ZodTypeAny, {
@@ -335,8 +335,8 @@ declare const EntityMentionSchema: z.ZodObject<{
335
335
  facts: string[];
336
336
  promptedByQuestion?: string | null | undefined;
337
337
  structuredSections?: {
338
- title: string;
339
338
  key: string;
339
+ title: string;
340
340
  facts: string[];
341
341
  }[] | null | undefined;
342
342
  }, {
@@ -345,8 +345,8 @@ declare const EntityMentionSchema: z.ZodObject<{
345
345
  facts: string[];
346
346
  promptedByQuestion?: string | null | undefined;
347
347
  structuredSections?: {
348
- title: string;
349
348
  key: string;
349
+ title: string;
350
350
  facts: string[];
351
351
  }[] | null | undefined;
352
352
  }>;
@@ -396,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
396
396
  label: z.ZodString;
397
397
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
398
398
  }, "strip", z.ZodTypeAny, {
399
- source: string;
400
399
  label: string;
400
+ source: string;
401
401
  target: string;
402
402
  promptedByQuestion?: string | null | undefined;
403
403
  }, {
404
- source: string;
405
404
  label: string;
405
+ source: string;
406
406
  target: string;
407
407
  promptedByQuestion?: string | null | undefined;
408
408
  }>;
@@ -418,10 +418,10 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
418
418
  value: z.ZodString;
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  value: string;
421
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
421
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
422
422
  }, {
423
423
  value: string;
424
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
424
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
425
425
  }>, "many">>>;
426
426
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
427
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
@@ -467,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
467
467
  order: z.ZodNumber;
468
468
  description: z.ZodString;
469
469
  }, "strip", z.ZodTypeAny, {
470
- order: number;
471
470
  description: string;
472
- }, {
473
471
  order: number;
472
+ }, {
474
473
  description: string;
474
+ order: number;
475
475
  }>, "many">;
476
476
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
477
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -479,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
479
479
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
480
480
  }, "strip", z.ZodTypeAny, {
481
481
  steps: {
482
- order: number;
483
482
  description: string;
483
+ order: number;
484
484
  }[];
485
485
  finalAnswer?: string | null | undefined;
486
486
  final_answer?: string | null | undefined;
@@ -488,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
488
488
  observed_outcome?: string | null | undefined;
489
489
  }, {
490
490
  steps: {
491
- order: number;
492
491
  description: string;
492
+ order: number;
493
493
  }[];
494
494
  finalAnswer?: string | null | undefined;
495
495
  final_answer?: string | null | undefined;
@@ -497,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
497
497
  observed_outcome?: string | null | undefined;
498
498
  }>, {
499
499
  steps: {
500
- order: number;
501
500
  description: string;
501
+ order: number;
502
502
  }[];
503
503
  finalAnswer?: string | null | undefined;
504
504
  final_answer?: string | null | undefined;
@@ -506,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
506
506
  observed_outcome?: string | null | undefined;
507
507
  }, {
508
508
  steps: {
509
- order: number;
510
509
  description: string;
510
+ order: number;
511
511
  }[];
512
512
  finalAnswer?: string | null | undefined;
513
513
  final_answer?: string | null | undefined;
@@ -517,17 +517,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
517
517
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
518
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
519
  }, "strip", z.ZodTypeAny, {
520
- tags: string[];
520
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
521
521
  content: string;
522
522
  confidence: number;
523
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
524
- scope?: "project" | "global" | null | undefined;
525
- subject?: "user" | "agent" | null | undefined;
523
+ tags: string[];
526
524
  entityRef?: string | null | undefined;
527
525
  structuredAttributes?: Record<string, string> | null | undefined;
526
+ subject?: "user" | "agent" | null | undefined;
527
+ scope?: "project" | "global" | null | undefined;
528
528
  cueAnchors?: {
529
529
  value: string;
530
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
530
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
531
531
  }[] | null | undefined;
532
532
  promptedByQuestion?: string | null | undefined;
533
533
  quote?: string | null | undefined;
@@ -543,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
543
543
  }[] | null | undefined;
544
544
  reasoningTrace?: {
545
545
  steps: {
546
- order: number;
547
546
  description: string;
547
+ order: number;
548
548
  }[];
549
549
  finalAnswer?: string | null | undefined;
550
550
  final_answer?: string | null | undefined;
@@ -554,17 +554,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
554
554
  eventTime?: string | null | undefined;
555
555
  event_time?: string | null | undefined;
556
556
  }, {
557
- tags: string[];
557
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
558
558
  content: string;
559
559
  confidence: number;
560
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
561
- scope?: "project" | "global" | null | undefined;
562
- subject?: "user" | "agent" | null | undefined;
560
+ tags: string[];
563
561
  entityRef?: string | null | undefined;
564
562
  structuredAttributes?: Record<string, string> | null | undefined;
563
+ subject?: "user" | "agent" | null | undefined;
564
+ scope?: "project" | "global" | null | undefined;
565
565
  cueAnchors?: {
566
566
  value: string;
567
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
567
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
568
568
  }[] | null | undefined;
569
569
  promptedByQuestion?: string | null | undefined;
570
570
  quote?: string | null | undefined;
@@ -580,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
580
580
  }[] | null | undefined;
581
581
  reasoningTrace?: {
582
582
  steps: {
583
- order: number;
584
583
  description: string;
584
+ order: number;
585
585
  }[];
586
586
  finalAnswer?: string | null | undefined;
587
587
  final_answer?: string | null | undefined;
@@ -591,17 +591,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
591
591
  eventTime?: string | null | undefined;
592
592
  event_time?: string | null | undefined;
593
593
  }>, {
594
- tags: string[];
594
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
595
595
  content: string;
596
596
  confidence: number;
597
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
598
- scope?: "project" | "global" | null | undefined;
599
- subject?: "user" | "agent" | null | undefined;
597
+ tags: string[];
600
598
  entityRef?: string | null | undefined;
601
599
  structuredAttributes?: Record<string, string> | null | undefined;
600
+ subject?: "user" | "agent" | null | undefined;
601
+ scope?: "project" | "global" | null | undefined;
602
602
  cueAnchors?: {
603
603
  value: string;
604
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
604
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
605
605
  }[] | null | undefined;
606
606
  promptedByQuestion?: string | null | undefined;
607
607
  quote?: string | null | undefined;
@@ -617,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
617
617
  }[] | null | undefined;
618
618
  reasoningTrace?: {
619
619
  steps: {
620
- order: number;
621
620
  description: string;
621
+ order: number;
622
622
  }[];
623
623
  finalAnswer?: string | null | undefined;
624
624
  final_answer?: string | null | undefined;
@@ -628,17 +628,17 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
628
628
  eventTime?: string | null | undefined;
629
629
  event_time?: string | null | undefined;
630
630
  }, {
631
- tags: string[];
631
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
632
632
  content: string;
633
633
  confidence: number;
634
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
635
- scope?: "project" | "global" | null | undefined;
636
- subject?: "user" | "agent" | null | undefined;
634
+ tags: string[];
637
635
  entityRef?: string | null | undefined;
638
636
  structuredAttributes?: Record<string, string> | null | undefined;
637
+ subject?: "user" | "agent" | null | undefined;
638
+ scope?: "project" | "global" | null | undefined;
639
639
  cueAnchors?: {
640
640
  value: string;
641
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
641
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
642
642
  }[] | null | undefined;
643
643
  promptedByQuestion?: string | null | undefined;
644
644
  quote?: string | null | undefined;
@@ -654,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
654
654
  }[] | null | undefined;
655
655
  reasoningTrace?: {
656
656
  steps: {
657
- order: number;
658
657
  description: string;
658
+ order: number;
659
659
  }[];
660
660
  finalAnswer?: string | null | undefined;
661
661
  final_answer?: string | null | undefined;
@@ -676,12 +676,12 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
676
676
  title: z.ZodString;
677
677
  facts: z.ZodArray<z.ZodString, "many">;
678
678
  }, "strip", z.ZodTypeAny, {
679
- title: string;
680
679
  key: string;
680
+ title: string;
681
681
  facts: string[];
682
682
  }, {
683
- title: string;
684
683
  key: string;
684
+ title: string;
685
685
  facts: string[];
686
686
  }>, "many">>>;
687
687
  }, "strip", z.ZodTypeAny, {
@@ -690,8 +690,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
690
690
  facts: string[];
691
691
  promptedByQuestion?: string | null | undefined;
692
692
  structuredSections?: {
693
- title: string;
694
693
  key: string;
694
+ title: string;
695
695
  facts: string[];
696
696
  }[] | null | undefined;
697
697
  }, {
@@ -700,8 +700,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
700
700
  facts: string[];
701
701
  promptedByQuestion?: string | null | undefined;
702
702
  structuredSections?: {
703
- title: string;
704
703
  key: string;
704
+ title: string;
705
705
  facts: string[];
706
706
  }[] | null | undefined;
707
707
  }>, "many">;
@@ -711,29 +711,29 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
711
711
  label: z.ZodString;
712
712
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
713
713
  }, "strip", z.ZodTypeAny, {
714
- source: string;
715
714
  label: string;
715
+ source: string;
716
716
  target: string;
717
717
  promptedByQuestion?: string | null | undefined;
718
718
  }, {
719
- source: string;
720
719
  label: string;
720
+ source: string;
721
721
  target: string;
722
722
  promptedByQuestion?: string | null | undefined;
723
723
  }>, "many">>>;
724
724
  }, "strip", z.ZodTypeAny, {
725
725
  facts: {
726
- tags: string[];
726
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
727
727
  content: string;
728
728
  confidence: number;
729
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
730
- scope?: "project" | "global" | null | undefined;
731
- subject?: "user" | "agent" | null | undefined;
729
+ tags: string[];
732
730
  entityRef?: string | null | undefined;
733
731
  structuredAttributes?: Record<string, string> | null | undefined;
732
+ subject?: "user" | "agent" | null | undefined;
733
+ scope?: "project" | "global" | null | undefined;
734
734
  cueAnchors?: {
735
735
  value: string;
736
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
736
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
737
737
  }[] | null | undefined;
738
738
  promptedByQuestion?: string | null | undefined;
739
739
  quote?: string | null | undefined;
@@ -749,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
749
749
  }[] | null | undefined;
750
750
  reasoningTrace?: {
751
751
  steps: {
752
- order: number;
753
752
  description: string;
753
+ order: number;
754
754
  }[];
755
755
  finalAnswer?: string | null | undefined;
756
756
  final_answer?: string | null | undefined;
@@ -766,31 +766,31 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
766
766
  facts: string[];
767
767
  promptedByQuestion?: string | null | undefined;
768
768
  structuredSections?: {
769
- title: string;
770
769
  key: string;
770
+ title: string;
771
771
  facts: string[];
772
772
  }[] | null | undefined;
773
773
  }[];
774
774
  profileUpdates: string[];
775
775
  relationships?: {
776
- source: string;
777
776
  label: string;
777
+ source: string;
778
778
  target: string;
779
779
  promptedByQuestion?: string | null | undefined;
780
780
  }[] | null | undefined;
781
781
  }, {
782
782
  facts: {
783
- tags: string[];
783
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
784
784
  content: string;
785
785
  confidence: number;
786
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
787
- scope?: "project" | "global" | null | undefined;
788
- subject?: "user" | "agent" | null | undefined;
786
+ tags: string[];
789
787
  entityRef?: string | null | undefined;
790
788
  structuredAttributes?: Record<string, string> | null | undefined;
789
+ subject?: "user" | "agent" | null | undefined;
790
+ scope?: "project" | "global" | null | undefined;
791
791
  cueAnchors?: {
792
792
  value: string;
793
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
793
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
794
794
  }[] | null | undefined;
795
795
  promptedByQuestion?: string | null | undefined;
796
796
  quote?: string | null | undefined;
@@ -806,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
806
806
  }[] | null | undefined;
807
807
  reasoningTrace?: {
808
808
  steps: {
809
- order: number;
810
809
  description: string;
810
+ order: number;
811
811
  }[];
812
812
  finalAnswer?: string | null | undefined;
813
813
  final_answer?: string | null | undefined;
@@ -823,32 +823,32 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
823
823
  facts: string[];
824
824
  promptedByQuestion?: string | null | undefined;
825
825
  structuredSections?: {
826
- title: string;
827
826
  key: string;
827
+ title: string;
828
828
  facts: string[];
829
829
  }[] | null | undefined;
830
830
  }[];
831
831
  profileUpdates: string[];
832
832
  relationships?: {
833
- source: string;
834
833
  label: string;
834
+ source: string;
835
835
  target: string;
836
836
  promptedByQuestion?: string | null | undefined;
837
837
  }[] | null | undefined;
838
838
  }>;
839
839
  declare const ExtractionResultSchema: z.ZodObject<{
840
840
  facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
841
- tags: string[];
841
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
842
842
  content: string;
843
843
  confidence: number;
844
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
845
- scope?: "project" | "global" | null | undefined;
846
- subject?: "user" | "agent" | null | undefined;
844
+ tags: string[];
847
845
  entityRef?: string | null | undefined;
848
846
  structuredAttributes?: Record<string, string> | null | undefined;
847
+ subject?: "user" | "agent" | null | undefined;
848
+ scope?: "project" | "global" | null | undefined;
849
849
  cueAnchors?: {
850
850
  value: string;
851
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
851
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
852
852
  }[] | null | undefined;
853
853
  promptedByQuestion?: string | null | undefined;
854
854
  quote?: string | null | undefined;
@@ -864,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
864
864
  }[] | null | undefined;
865
865
  reasoningTrace?: {
866
866
  steps: {
867
- order: number;
868
867
  description: string;
868
+ order: number;
869
869
  }[];
870
870
  finalAnswer?: string | null | undefined;
871
871
  final_answer?: string | null | undefined;
@@ -882,8 +882,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
882
882
  facts: string[];
883
883
  promptedByQuestion?: string | null | undefined;
884
884
  structuredSections?: {
885
- title: string;
886
885
  key: string;
886
+ title: string;
887
887
  facts: string[];
888
888
  }[] | null | undefined;
889
889
  }[], unknown[]>;
@@ -895,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
895
895
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
896
896
  episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
897
897
  relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
898
- source: string;
899
898
  label: string;
899
+ source: string;
900
900
  target: string;
901
901
  promptedByQuestion?: string | null | undefined;
902
902
  }[], unknown[]>>>;
@@ -907,17 +907,17 @@ declare const ExtractionResultSchema: z.ZodObject<{
907
907
  context: string;
908
908
  }[];
909
909
  facts: {
910
- tags: string[];
910
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
911
911
  content: string;
912
912
  confidence: number;
913
- category: "procedure" | "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "reasoning_trace";
914
- scope?: "project" | "global" | null | undefined;
915
- subject?: "user" | "agent" | null | undefined;
913
+ tags: string[];
916
914
  entityRef?: string | null | undefined;
917
915
  structuredAttributes?: Record<string, string> | null | undefined;
916
+ subject?: "user" | "agent" | null | undefined;
917
+ scope?: "project" | "global" | null | undefined;
918
918
  cueAnchors?: {
919
919
  value: string;
920
- type: "constraint" | "entity" | "tool" | "file" | "outcome" | "date";
920
+ type: "entity" | "constraint" | "tool" | "file" | "outcome" | "date";
921
921
  }[] | null | undefined;
922
922
  promptedByQuestion?: string | null | undefined;
923
923
  quote?: string | null | undefined;
@@ -933,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
933
933
  }[] | null | undefined;
934
934
  reasoningTrace?: {
935
935
  steps: {
936
- order: number;
937
936
  description: string;
937
+ order: number;
938
938
  }[];
939
939
  finalAnswer?: string | null | undefined;
940
940
  final_answer?: string | null | undefined;
@@ -950,15 +950,15 @@ declare const ExtractionResultSchema: z.ZodObject<{
950
950
  facts: string[];
951
951
  promptedByQuestion?: string | null | undefined;
952
952
  structuredSections?: {
953
- title: string;
954
953
  key: string;
954
+ title: string;
955
955
  facts: string[];
956
956
  }[] | null | undefined;
957
957
  }[];
958
958
  profileUpdates: string[];
959
959
  relationships?: {
960
- source: string;
961
960
  label: string;
961
+ source: string;
962
962
  target: string;
963
963
  promptedByQuestion?: string | null | undefined;
964
964
  }[] | null | undefined;
@@ -980,14 +980,14 @@ declare const ConsolidationItemSchema: z.ZodObject<{
980
980
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
981
981
  reason: z.ZodString;
982
982
  }, "strip", z.ZodTypeAny, {
983
- reason: string;
984
983
  action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
984
+ reason: string;
985
985
  existingId: string;
986
986
  mergeWith?: string | null | undefined;
987
987
  updatedContent?: string | null | undefined;
988
988
  }, {
989
- reason: string;
990
989
  action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
990
+ reason: string;
991
991
  existingId: string;
992
992
  mergeWith?: string | null | undefined;
993
993
  updatedContent?: string | null | undefined;
@@ -1000,14 +1000,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1000
1000
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1001
1001
  reason: z.ZodString;
1002
1002
  }, "strip", z.ZodTypeAny, {
1003
- reason: string;
1004
1003
  action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1004
+ reason: string;
1005
1005
  existingId: string;
1006
1006
  mergeWith?: string | null | undefined;
1007
1007
  updatedContent?: string | null | undefined;
1008
1008
  }, {
1009
- reason: string;
1010
1009
  action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1010
+ reason: string;
1011
1011
  existingId: string;
1012
1012
  mergeWith?: string | null | undefined;
1013
1013
  updatedContent?: string | null | undefined;
@@ -1023,12 +1023,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1023
1023
  title: z.ZodString;
1024
1024
  facts: z.ZodArray<z.ZodString, "many">;
1025
1025
  }, "strip", z.ZodTypeAny, {
1026
- title: string;
1027
1026
  key: string;
1027
+ title: string;
1028
1028
  facts: string[];
1029
1029
  }, {
1030
- title: string;
1031
1030
  key: string;
1031
+ title: string;
1032
1032
  facts: string[];
1033
1033
  }>, "many">>>;
1034
1034
  }, "strip", z.ZodTypeAny, {
@@ -1037,8 +1037,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1037
1037
  facts: string[];
1038
1038
  promptedByQuestion?: string | null | undefined;
1039
1039
  structuredSections?: {
1040
- title: string;
1041
1040
  key: string;
1041
+ title: string;
1042
1042
  facts: string[];
1043
1043
  }[] | null | undefined;
1044
1044
  }, {
@@ -1047,15 +1047,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1047
1047
  facts: string[];
1048
1048
  promptedByQuestion?: string | null | undefined;
1049
1049
  structuredSections?: {
1050
- title: string;
1051
1050
  key: string;
1051
+ title: string;
1052
1052
  facts: string[];
1053
1053
  }[] | null | undefined;
1054
1054
  }>, "many">;
1055
1055
  }, "strip", z.ZodTypeAny, {
1056
1056
  items: {
1057
- reason: string;
1058
1057
  action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1058
+ reason: string;
1059
1059
  existingId: string;
1060
1060
  mergeWith?: string | null | undefined;
1061
1061
  updatedContent?: string | null | undefined;
@@ -1067,15 +1067,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1067
1067
  facts: string[];
1068
1068
  promptedByQuestion?: string | null | undefined;
1069
1069
  structuredSections?: {
1070
- title: string;
1071
1070
  key: string;
1071
+ title: string;
1072
1072
  facts: string[];
1073
1073
  }[] | null | undefined;
1074
1074
  }[];
1075
1075
  }, {
1076
1076
  items: {
1077
- reason: string;
1078
1077
  action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1078
+ reason: string;
1079
1079
  existingId: string;
1080
1080
  mergeWith?: string | null | undefined;
1081
1081
  updatedContent?: string | null | undefined;
@@ -1087,8 +1087,8 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1087
1087
  facts: string[];
1088
1088
  promptedByQuestion?: string | null | undefined;
1089
1089
  structuredSections?: {
1090
- title: string;
1091
1090
  key: string;
1091
+ title: string;
1092
1092
  facts: string[];
1093
1093
  }[] | null | undefined;
1094
1094
  }[];