@remnic/core 9.65.1 → 9.65.2

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 (536) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +35 -34
  3. package/dist/access-authorization-probe.d.ts +12 -13
  4. package/dist/access-authorization-probe.js +36 -35
  5. package/dist/access-boundary.d.ts +12 -156
  6. package/dist/access-boundary.js +35 -34
  7. package/dist/access-cli.js +107 -104
  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 +35 -34
  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 +12 -13
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.d.ts +2 -2
  17. package/dist/access-http-query.js +37 -36
  18. package/dist/access-http.d.ts +12 -12
  19. package/dist/access-http.js +54 -53
  20. package/dist/access-identity-continuity-surface.d.ts +9 -9
  21. package/dist/access-identity-continuity-surface.js +35 -34
  22. package/dist/access-lcm-surface.d.ts +11 -11
  23. package/dist/access-lcm-surface.js +35 -34
  24. package/dist/access-mcp-admin-tools.js +1 -1
  25. package/dist/access-mcp-output-schemas.js +1 -1
  26. package/dist/access-mcp.d.ts +11 -11
  27. package/dist/access-mcp.js +47 -44
  28. package/dist/access-memory-search-fanout.d.ts +2 -2
  29. package/dist/{access-namespace-preflight-BKUnKsBv.d.ts → access-namespace-preflight-Dhvcl-T0.d.ts} +1 -1
  30. package/dist/access-namespace-preflight.d.ts +3 -3
  31. package/dist/access-namespace-preflight.js +35 -34
  32. package/dist/access-observe-write-surface.d.ts +11 -11
  33. package/dist/access-observe-write-surface.js +35 -34
  34. package/dist/access-offline-manifest.d.ts +9 -9
  35. package/dist/access-offline-manifest.js +5 -5
  36. package/dist/access-operations-batch.js +38 -37
  37. package/dist/access-operations.d.ts +18 -19
  38. package/dist/access-operations.js +41 -40
  39. package/dist/access-recall-concurrency.d.ts +11 -11
  40. package/dist/access-recall-concurrency.js +35 -34
  41. package/dist/access-recall-response.d.ts +11 -11
  42. package/dist/access-recall-response.js +35 -34
  43. package/dist/access-recall-surface.d.ts +11 -11
  44. package/dist/access-recall-surface.js +35 -34
  45. package/dist/access-schema.d.ts +118 -118
  46. package/dist/access-schema.js +3 -3
  47. package/dist/{access-service-B1Lbb-nQ.d.ts → access-service-Bke1alZO.d.ts} +478 -74
  48. package/dist/access-service-helpers.d.ts +11 -11
  49. package/dist/access-service.d.ts +11 -11
  50. package/dist/access-service.js +35 -34
  51. package/dist/access-surface-catalog.d.ts +12 -13
  52. package/dist/access-surface-catalog.js +39 -36
  53. package/dist/access-surface-catalog.js.map +1 -1
  54. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  55. package/dist/action-confidence.d.ts +1 -1
  56. package/dist/active-memory-bridge.d.ts +1 -1
  57. package/dist/active-recall.d.ts +1 -1
  58. package/dist/active-recall.js +6 -1
  59. package/dist/active-recall.js.map +1 -1
  60. package/dist/adapters/index.js +4 -4
  61. package/dist/adapters/registry.js +2 -2
  62. package/dist/ambient-provenance.d.ts +1 -1
  63. package/dist/artifact-search.d.ts +1 -1
  64. package/dist/{auto-sync-5L7EUZ27.js → auto-sync-H64ZCNIR.js} +13 -5
  65. package/dist/{auto-sync-5L7EUZ27.js.map → auto-sync-H64ZCNIR.js.map} +1 -1
  66. package/dist/behavior-learner.d.ts +1 -1
  67. package/dist/behavior-signals.d.ts +1 -1
  68. package/dist/bootstrap.d.ts +9 -9
  69. package/dist/briefing-window.d.ts +2 -2
  70. package/dist/briefing.d.ts +2 -2
  71. package/dist/briefing.js +16 -15
  72. package/dist/buffer-surprise-report.d.ts +1 -1
  73. package/dist/buffer-turn-helpers.d.ts +1 -1
  74. package/dist/buffer.d.ts +2 -2
  75. package/dist/buffer.js +4 -4
  76. package/dist/bulk-import/index.d.ts +3 -3
  77. package/dist/calibration.d.ts +1 -1
  78. package/dist/calibration.js +1 -1
  79. package/dist/capabilities.d.ts +1 -1
  80. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  81. package/dist/{catalog-DjVhJoRM.d.ts → catalog-DV6qnbr7.d.ts} +1 -1
  82. package/dist/causal-behavior.d.ts +1 -1
  83. package/dist/causal-consolidation.d.ts +1 -1
  84. package/dist/causal-consolidation.js +17 -16
  85. package/dist/causal-consolidation.js.map +1 -1
  86. package/dist/causal-trajectory-graph.d.ts +1 -1
  87. package/dist/{chunk-LYIZXQYY.js → chunk-2E36UXVW.js} +2 -2
  88. package/dist/{chunk-7QFBLYFP.js → chunk-2XDWWPTN.js} +3 -3
  89. package/dist/{chunk-CFRBTATE.js → chunk-2YI72KM3.js} +3 -3
  90. package/dist/{chunk-3YTTAGPB.js → chunk-3DVBKTSO.js} +2 -2
  91. package/dist/{chunk-VPGRXEAB.js → chunk-3I7ASZN3.js} +2 -2
  92. package/dist/{chunk-EIR5VLIH.js → chunk-4K7IW3F7.js} +2 -2
  93. package/dist/chunk-4K7IW3F7.js.map +1 -0
  94. package/dist/{chunk-WTOE7CW4.js → chunk-4KYOLI6M.js} +13 -13
  95. package/dist/chunk-573TEZCD.js +88 -0
  96. package/dist/chunk-573TEZCD.js.map +1 -0
  97. package/dist/{chunk-ESCQ6LY7.js → chunk-5NM4OH4P.js} +3 -3
  98. package/dist/{chunk-Y23B2QXP.js → chunk-5YQ63T4B.js} +2 -2
  99. package/dist/{chunk-PMVPCZJZ.js → chunk-6433HV72.js} +2 -2
  100. package/dist/{chunk-4NZHHGVL.js → chunk-7BDZTALN.js} +4 -1
  101. package/dist/chunk-7BDZTALN.js.map +1 -0
  102. package/dist/{chunk-NS5ETDYD.js → chunk-7BEPVIH3.js} +3 -3
  103. package/dist/{chunk-JG22O53B.js → chunk-7CBKAQIG.js} +2 -1
  104. package/dist/chunk-7CBKAQIG.js.map +1 -0
  105. package/dist/{chunk-W6TSGWYS.js → chunk-7YQ4IYS2.js} +2 -2
  106. package/dist/chunk-AAXJNINV.js +55 -0
  107. package/dist/chunk-AAXJNINV.js.map +1 -0
  108. package/dist/{chunk-YQ3CBLL4.js → chunk-BWLRUMOG.js} +78 -8
  109. package/dist/chunk-BWLRUMOG.js.map +1 -0
  110. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  111. package/dist/{chunk-CEH2AFXG.js → chunk-C24UZSFW.js} +6 -6
  112. package/dist/{chunk-ZPN7W3OP.js → chunk-CDUUDBWJ.js} +3 -3
  113. package/dist/{chunk-5UYSCYR7.js → chunk-CT56C22C.js} +4 -4
  114. package/dist/{chunk-HJQZQUPC.js → chunk-DJZWNKFO.js} +5 -5
  115. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  116. package/dist/{chunk-CCTVAVTT.js → chunk-DZUJ46DO.js} +2 -2
  117. package/dist/{chunk-N6TRHP72.js → chunk-EILZG5VC.js} +2 -2
  118. package/dist/{chunk-GXWDWOWP.js → chunk-GDFVPUJ5.js} +2 -2
  119. package/dist/{chunk-7PWWGYGO.js → chunk-GNCCUR6K.js} +2 -2
  120. package/dist/{chunk-KPBLJCCV.js → chunk-IID2CMUU.js} +2 -2
  121. package/dist/{chunk-DEFI2QBT.js → chunk-J275IYMG.js} +25 -22
  122. package/dist/chunk-J275IYMG.js.map +1 -0
  123. package/dist/{chunk-UYCIS6V5.js → chunk-JCWY73FK.js} +2 -2
  124. package/dist/{chunk-SYJ6EKKE.js → chunk-JYYBA7TF.js} +2 -2
  125. package/dist/{chunk-T42L3S6A.js → chunk-LBWQ65SX.js} +4 -4
  126. package/dist/{chunk-MSTNSVXI.js → chunk-LDBFXD4F.js} +2 -1
  127. package/dist/chunk-LDBFXD4F.js.map +1 -0
  128. package/dist/{chunk-LWVO2QZV.js → chunk-LGO6A7GJ.js} +50 -50
  129. package/dist/{chunk-CEQF6L5K.js → chunk-LUNJ3WFO.js} +9 -7
  130. package/dist/chunk-LUNJ3WFO.js.map +1 -0
  131. package/dist/{chunk-2572MRP2.js → chunk-LZH5FR2W.js} +2 -2
  132. package/dist/{chunk-256FBCVX.js → chunk-M4AHBM72.js} +7 -7
  133. package/dist/{chunk-YEQEGSJA.js → chunk-MN4KB2A4.js} +3 -3
  134. package/dist/{chunk-AGKIG3YA.js → chunk-NKKD4ZAU.js} +2 -2
  135. package/dist/{chunk-3TMYV3LP.js → chunk-NTWN6HB2.js} +5 -5
  136. package/dist/{chunk-63FHSH7E.js → chunk-OCZIYAE5.js} +4 -4
  137. package/dist/{chunk-I2HTKOOP.js → chunk-ODZG724P.js} +2 -2
  138. package/dist/{chunk-HQSBYI5X.js → chunk-OTHZWLUD.js} +2 -2
  139. package/dist/{chunk-4W6INNXO.js → chunk-PE255F4T.js} +2 -2
  140. package/dist/{chunk-6L27N6YI.js → chunk-QOS5LBZN.js} +2 -2
  141. package/dist/{chunk-G72IPMR7.js → chunk-R4OCGPSH.js} +2 -2
  142. package/dist/{chunk-MIBKEW7A.js → chunk-R7JAM2XF.js} +3 -3
  143. package/dist/{chunk-LCU5R6TQ.js → chunk-RAIUTAZZ.js} +22 -3
  144. package/dist/chunk-RAIUTAZZ.js.map +1 -0
  145. package/dist/chunk-RIAM7DND.js +167 -0
  146. package/dist/chunk-RIAM7DND.js.map +1 -0
  147. package/dist/{chunk-JBPKEARU.js → chunk-RKNJBZ55.js} +4 -4
  148. package/dist/{chunk-HUNSEO5U.js → chunk-S2DPMJXH.js} +2 -2
  149. package/dist/{chunk-3PXVYJMC.js → chunk-SB7D4BT7.js} +536 -114
  150. package/dist/chunk-SB7D4BT7.js.map +1 -0
  151. package/dist/{chunk-JFJ3MHGV.js → chunk-SBDCZ2AX.js} +1 -1
  152. package/dist/chunk-SBDCZ2AX.js.map +1 -0
  153. package/dist/{chunk-HQSPXTQO.js → chunk-SIHSCCUQ.js} +1 -1
  154. package/dist/{chunk-R3AAOKR2.js → chunk-SPUJNJJC.js} +2 -2
  155. package/dist/{chunk-IAY7YBXS.js → chunk-SQI57UCJ.js} +2 -2
  156. package/dist/{chunk-CTQRPANJ.js → chunk-SVSRPG6M.js} +2 -2
  157. package/dist/{chunk-56BSXSHC.js → chunk-TBOJ76ER.js} +14 -1
  158. package/dist/{chunk-56BSXSHC.js.map → chunk-TBOJ76ER.js.map} +1 -1
  159. package/dist/{chunk-Z54TXZ2F.js → chunk-TF77C7SV.js} +14 -7
  160. package/dist/chunk-TF77C7SV.js.map +1 -0
  161. package/dist/{chunk-S2VBSTTA.js → chunk-THG4GYIE.js} +2 -2
  162. package/dist/{chunk-IXRC7EQG.js → chunk-TR7DGXGI.js} +2 -2
  163. package/dist/{chunk-GEULB2VI.js → chunk-TZNQUNKL.js} +7 -1
  164. package/dist/chunk-TZNQUNKL.js.map +1 -0
  165. package/dist/{chunk-BC4QD3FM.js → chunk-UIN2BWDD.js} +2 -2
  166. package/dist/{chunk-JTSVMJHV.js → chunk-UXO5IMBK.js} +3 -3
  167. package/dist/{chunk-DBXZZIDU.js → chunk-V3MXUL3D.js} +138 -73
  168. package/dist/chunk-V3MXUL3D.js.map +1 -0
  169. package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
  170. package/dist/{chunk-MUJ4QFUQ.js → chunk-W4BMEGQA.js} +4 -4
  171. package/dist/{chunk-5HK3CJAR.js → chunk-W675UJCZ.js} +2 -2
  172. package/dist/{chunk-MDVBCPOS.js → chunk-XCTXS7VY.js} +2 -2
  173. package/dist/{chunk-53ENM6F6.js → chunk-XRYZRW54.js} +2 -2
  174. package/dist/{chunk-VJ6ECBIP.js → chunk-Y7DK7HHJ.js} +2 -2
  175. package/dist/{chunk-3MADV4YC.js → chunk-YB42WZCY.js} +2 -2
  176. package/dist/{chunk-X5SDZMO7.js → chunk-YHCBJULX.js} +2 -2
  177. package/dist/{chunk-3RHFGGI5.js → chunk-YLDXWCZP.js} +20 -5
  178. package/dist/chunk-YLDXWCZP.js.map +1 -0
  179. package/dist/{chunk-6JJT5AKI.js → chunk-Z7PBQPJ4.js} +2 -2
  180. package/dist/{chunk-ALCJRQ72.js → chunk-ZO6AXLEH.js} +2 -2
  181. package/dist/{chunk-VZVP2W4O.js → chunk-ZQHI2BZB.js} +2 -2
  182. package/dist/{chunk-CUS6S7PN.js → chunk-ZWXJBFZU.js} +9 -9
  183. package/dist/chunk-ZWXJBFZU.js.map +1 -0
  184. package/dist/{cli-Pulnz-qm.d.ts → cli-cShQ13XG.d.ts} +5 -5
  185. package/dist/cli.d.ts +13 -13
  186. package/dist/cli.js +77 -75
  187. package/dist/coding/pre-action-gate.d.ts +1 -1
  188. package/dist/compounding/engine.d.ts +2 -2
  189. package/dist/compounding/engine.js +17 -16
  190. package/dist/compounding/preference-consolidator.d.ts +1 -1
  191. package/dist/compression-optimizer.d.ts +1 -1
  192. package/dist/config.d.ts +1 -1
  193. package/dist/config.js +6 -1
  194. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  195. package/dist/connectors/codex-materialize-runner.js +16 -15
  196. package/dist/connectors/codex-materialize.d.ts +1 -1
  197. package/dist/connectors/index.d.ts +1 -1
  198. package/dist/connectors/index.js +16 -15
  199. package/dist/consolidation-provenance-check.d.ts +2 -2
  200. package/dist/consolidation-undo.d.ts +2 -2
  201. package/dist/contradiction/index.d.ts +2 -2
  202. package/dist/contradiction/index.js +10 -2
  203. package/dist/converge-config.d.ts +1 -1
  204. package/dist/convergence-refresh.d.ts +2 -2
  205. package/dist/convergence-refresh.js +18 -17
  206. package/dist/conversation-index/backend.d.ts +1 -1
  207. package/dist/conversation-index/chunker.d.ts +1 -1
  208. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  209. package/dist/conversation-index/indexer.d.ts +1 -1
  210. package/dist/conversation-index/search.d.ts +1 -1
  211. package/dist/corpus-watermark.d.ts +1 -1
  212. package/dist/corpus-watermark.js +18 -17
  213. package/dist/cross-lingual-recall.d.ts +1 -1
  214. package/dist/day-summary.d.ts +1 -1
  215. package/dist/delinearize.d.ts +1 -1
  216. package/dist/dependency-propagation-config.d.ts +1 -1
  217. package/dist/{dependency-propagation-delivery-Co17gxYb.d.ts → dependency-propagation-delivery-CsGg-VwS.d.ts} +1 -1
  218. package/dist/direct-answer-wiring.d.ts +1 -1
  219. package/dist/direct-answer.d.ts +1 -1
  220. package/dist/embedding-fallback.d.ts +1 -1
  221. package/dist/enrichment/index.d.ts +1 -1
  222. package/dist/entity-origin-fields.d.ts +1 -1
  223. package/dist/entity-retrieval.d.ts +2 -2
  224. package/dist/entity-retrieval.js +16 -15
  225. package/dist/entity-schema.d.ts +1 -1
  226. package/dist/episodic-context.d.ts +1 -1
  227. package/dist/explicit-capture.d.ts +9 -9
  228. package/dist/explicit-capture.js +7 -6
  229. package/dist/external-wiki-access.d.ts +12 -13
  230. package/dist/external-wiki-access.js +36 -35
  231. package/dist/external-wiki-collection-registration.d.ts +1 -1
  232. package/dist/external-wiki-collection.d.ts +1 -1
  233. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  234. package/dist/extraction-error-classification.d.ts +1 -1
  235. package/dist/extraction-faithfulness.d.ts +1 -1
  236. package/dist/extraction-judge-telemetry.d.ts +1 -1
  237. package/dist/extraction-judge-training.d.ts +1 -1
  238. package/dist/extraction-judge.d.ts +1 -1
  239. package/dist/extraction-judge.js +2 -2
  240. package/dist/extraction-liveness.d.ts +1 -1
  241. package/dist/extraction-normalization.d.ts +1 -1
  242. package/dist/extraction-normalization.js +2 -2
  243. package/dist/extraction-prompt.d.ts +2 -2
  244. package/dist/extraction-prompt.js +1 -1
  245. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  246. package/dist/extraction-source-grounding.d.ts +1 -1
  247. package/dist/extraction.d.ts +1 -1
  248. package/dist/extraction.js +22 -21
  249. package/dist/fallback-llm.d.ts +1 -1
  250. package/dist/graph-dashboard-diff.d.ts +1 -1
  251. package/dist/graph-dashboard-key.d.ts +1 -1
  252. package/dist/graph-dashboard-parser.d.ts +1 -1
  253. package/dist/graph-edge-reinforcement.d.ts +1 -1
  254. package/dist/graph-path-reconstruction.d.ts +1 -1
  255. package/dist/graph-path-scoring.d.ts +1 -1
  256. package/dist/graph-snapshot.d.ts +1 -1
  257. package/dist/graph.d.ts +1 -1
  258. package/dist/harmonic-retrieval.js +1 -1
  259. package/dist/importance.d.ts +1 -1
  260. package/dist/importers/index.d.ts +1 -1
  261. package/dist/in-flight-reads.d.ts +1 -1
  262. package/dist/index.d.ts +716 -699
  263. package/dist/index.js +173 -125
  264. package/dist/intent.d.ts +1 -1
  265. package/dist/lcm/engine.d.ts +1 -1
  266. package/dist/lcm/engine.js +3 -3
  267. package/dist/lcm/index.d.ts +1 -1
  268. package/dist/lcm/index.js +6 -6
  269. package/dist/lcm/tools.d.ts +1 -1
  270. package/dist/lifecycle.d.ts +1 -1
  271. package/dist/live-connectors-runner.d.ts +1 -1
  272. package/dist/local-llm.d.ts +1 -1
  273. package/dist/local-model-endpoint.d.ts +1 -1
  274. package/dist/maintenance/memory-governance.d.ts +1 -1
  275. package/dist/maintenance/memory-governance.js +16 -15
  276. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  277. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +16 -15
  278. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  279. package/dist/maintenance/rebuild-memory-projection.js +17 -16
  280. package/dist/{maintenance-DiSLtVN7.d.ts → maintenance-jhMpeGne.d.ts} +3 -3
  281. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  282. package/dist/mcp-read-only-tools.js +1 -1
  283. package/dist/memory-action-policy.d.ts +1 -1
  284. package/dist/memory-cache.d.ts +1 -1
  285. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  286. package/dist/memory-projection-store.d.ts +1 -1
  287. package/dist/memory-provenance.d.ts +1 -1
  288. package/dist/memory-snapshot.d.ts +1 -1
  289. package/dist/memory-subject-cli.d.ts +177 -0
  290. package/dist/memory-subject-cli.js +16 -0
  291. package/dist/memory-subject.d.ts +128 -0
  292. package/dist/memory-subject.js +44 -0
  293. package/dist/memory-subject.js.map +1 -0
  294. package/dist/memory-worth-outcomes.d.ts +5 -4
  295. package/dist/memory-worth-outcomes.js +1 -1
  296. package/dist/models-json.d.ts +1 -1
  297. package/dist/namespaces/migrate.d.ts +3 -3
  298. package/dist/namespaces/migrate.js +17 -16
  299. package/dist/namespaces/principal.d.ts +1 -1
  300. package/dist/namespaces/search.d.ts +1 -1
  301. package/dist/namespaces/search.js +6 -6
  302. package/dist/namespaces/storage.d.ts +3 -3
  303. package/dist/namespaces/storage.js +16 -15
  304. package/dist/native-knowledge.d.ts +1 -1
  305. package/dist/offline-sync-impression-drain.d.ts +1 -1
  306. package/dist/operator-doctor-corpus.d.ts +1 -1
  307. package/dist/operator-doctor-corpus.js +19 -18
  308. package/dist/operator-doctor-replica.d.ts +1 -1
  309. package/dist/operator-toolkit.d.ts +3 -3
  310. package/dist/operator-toolkit.js +26 -24
  311. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  312. package/dist/orchestration/maintenance.d.ts +4 -4
  313. package/dist/orchestration/maintenance.js +22 -21
  314. package/dist/{orchestrator-DzCaxNS4.d.ts → orchestrator-DyGUC7re.d.ts} +8 -8
  315. package/dist/orchestrator.d.ts +9 -9
  316. package/dist/orchestrator.js +108 -105
  317. package/dist/patterns-cli.d.ts +1 -1
  318. package/dist/{pipeline-HJ8DKbFl.d.ts → pipeline-C25Oxtp1.d.ts} +1 -1
  319. package/dist/policy-runtime.d.ts +1 -1
  320. package/dist/proactive-contention.d.ts +1 -1
  321. package/dist/provenance.d.ts +1 -1
  322. package/dist/{public-http-DwXauTX3.d.ts → public-http-CMe7NQzj.d.ts} +1 -1
  323. package/dist/{qmd-BzxluoLt.d.ts → qmd-DkDVCbgF.d.ts} +1 -1
  324. package/dist/qmd-preflight.d.ts +2 -2
  325. package/dist/qmd-recall-cache.d.ts +1 -1
  326. package/dist/qmd.d.ts +2 -2
  327. package/dist/qmd.js +4 -4
  328. package/dist/recall-concurrency-config.d.ts +1 -1
  329. package/dist/recall-disclosure-escalation.d.ts +1 -1
  330. package/dist/recall-explain-renderer.d.ts +1 -1
  331. package/dist/recall-explain-renderer.js +3 -3
  332. package/dist/recall-memory-map.d.ts +1 -1
  333. package/dist/recall-planner-llm.d.ts +1 -1
  334. package/dist/recall-state.d.ts +1 -1
  335. package/dist/recall-tag-filter.d.ts +1 -1
  336. package/dist/recall-timings.d.ts +1 -1
  337. package/dist/recall-xray-cli.d.ts +1 -1
  338. package/dist/recall-xray-cli.js +4 -4
  339. package/dist/recall-xray-renderer.d.ts +1 -1
  340. package/dist/recall-xray-renderer.js +3 -3
  341. package/dist/recall-xray.d.ts +1 -1
  342. package/dist/recall-xray.js +2 -2
  343. package/dist/reconcile/cursor.d.ts +1 -1
  344. package/dist/reconcile/manifest.d.ts +1 -1
  345. package/dist/reconcile/manifest.js +3 -3
  346. package/dist/reconcile/plan.d.ts +1 -1
  347. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  348. package/dist/replay/normalizers/claude.d.ts +1 -1
  349. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  350. package/dist/replay/normalizers/shared.d.ts +1 -1
  351. package/dist/replay/runner.d.ts +1 -1
  352. package/dist/replay/types.d.ts +1 -1
  353. package/dist/replica-divergence.d.ts +1 -1
  354. package/dist/replica-peers-config.d.ts +1 -1
  355. package/dist/{resolution-DKMBPXHI.js → resolution-MFY72STR.js} +11 -3
  356. package/dist/resolution-MFY72STR.js.map +1 -0
  357. package/dist/resolve-auth-token.d.ts +1 -1
  358. package/dist/resume-bundles.js +7 -2
  359. package/dist/retrieval-agents.d.ts +2 -2
  360. package/dist/retrieval-tiers.d.ts +1 -1
  361. package/dist/routing/engine.d.ts +1 -1
  362. package/dist/routing/store.d.ts +1 -1
  363. package/dist/salvage-envelope.d.ts +1 -1
  364. package/dist/salvage-envelope.js +10 -2
  365. package/dist/schemas.d.ts +104 -90
  366. package/dist/schemas.js +1 -1
  367. package/dist/{scope-profiles-CEMZz0t5.d.ts → scope-profiles-B9xMoFO-.d.ts} +1 -1
  368. package/dist/search/embed-helper.d.ts +1 -1
  369. package/dist/search/factory.d.ts +1 -1
  370. package/dist/search/factory.js +5 -5
  371. package/dist/search/index.d.ts +1 -1
  372. package/dist/search/index.js +9 -9
  373. package/dist/search/lancedb-backend.d.ts +1 -1
  374. package/dist/search/meilisearch-backend.d.ts +1 -1
  375. package/dist/search/noop-backend.d.ts +1 -1
  376. package/dist/search/orama-backend.d.ts +1 -1
  377. package/dist/search/port.d.ts +1 -1
  378. package/dist/search/remote-backend.d.ts +1 -1
  379. package/dist/{semantic-consolidation-D9dYj6vu.d.ts → semantic-consolidation-C4uykW84.d.ts} +1 -1
  380. package/dist/semantic-consolidation.d.ts +2 -2
  381. package/dist/semantic-consolidation.js +17 -16
  382. package/dist/semantic-rule-promotion.js +16 -15
  383. package/dist/semantic-rule-verifier.d.ts +1 -1
  384. package/dist/semantic-rule-verifier.js +16 -15
  385. package/dist/{service-_qgST_0y.d.ts → service-DCZDZNcV.d.ts} +2 -2
  386. package/dist/session-observer-bands.d.ts +1 -1
  387. package/dist/session-observer-state.d.ts +1 -1
  388. package/dist/shared-context/manager.d.ts +11 -11
  389. package/dist/signal.d.ts +1 -1
  390. package/dist/source-agent-qualifier.d.ts +1 -1
  391. package/dist/source-agent-qualifier.js +18 -17
  392. package/dist/{storage-B9lbNTYE.d.ts → storage-CcKmEjL8.d.ts} +3 -2
  393. package/dist/storage.d.ts +2 -2
  394. package/dist/storage.js +18 -17
  395. package/dist/subject-config.d.ts +38 -0
  396. package/dist/subject-config.js +20 -0
  397. package/dist/subject-config.js.map +1 -0
  398. package/dist/summarizer.d.ts +1 -1
  399. package/dist/summary-snapshot.d.ts +1 -1
  400. package/dist/support-passport/index.d.ts +14 -14
  401. package/dist/support-passport/index.js +38 -37
  402. package/dist/temporal-supersession.d.ts +2 -2
  403. package/dist/temporal-timeline-recall.d.ts +1 -1
  404. package/dist/temporal-validity.d.ts +1 -1
  405. package/dist/threading.d.ts +1 -1
  406. package/dist/tier-migration.d.ts +2 -2
  407. package/dist/tier-routing.d.ts +1 -1
  408. package/dist/topics.d.ts +1 -1
  409. package/dist/transcript.d.ts +1 -1
  410. package/dist/transfer/backup.js +2 -2
  411. package/dist/transfer/capsule-export.js +2 -2
  412. package/dist/transfer/capsule-import.js +2 -2
  413. package/dist/transfer/types.d.ts +66 -66
  414. package/dist/trust-score-stage.d.ts +1 -1
  415. package/dist/trust-score.d.ts +1 -1
  416. package/dist/{types-BrEzuxPA.d.ts → types-Pi0lfaEt.d.ts} +38 -29
  417. package/dist/types.d.ts +1 -1
  418. package/dist/types.js +1 -1
  419. package/dist/utility-runtime.d.ts +1 -1
  420. package/dist/verified-recall.js +16 -15
  421. package/dist/who-knows-cli.d.ts +11 -11
  422. package/dist/who-knows-cli.js +17 -16
  423. package/dist/who-knows.d.ts +11 -11
  424. package/dist/who-knows.js +16 -15
  425. package/dist/write-envelope.d.ts +5 -2
  426. package/dist/write-envelope.js +10 -1
  427. package/package.json +2 -2
  428. package/scripts/build-with-heap.mjs +1 -1
  429. package/src/access-boundary.ts +2 -0
  430. package/src/access-mcp-admin-tools.ts +14 -0
  431. package/src/access-mcp-output-schemas.ts +6 -0
  432. package/src/access-mcp.ts +6 -6
  433. package/src/access-operations-batch.ts +8 -0
  434. package/src/access-service.ts +85 -0
  435. package/src/access-surface-catalog.ts +2 -0
  436. package/src/config.ts +10 -17
  437. package/src/extraction-prompt.ts +1 -0
  438. package/src/extraction.ts +4 -1
  439. package/src/index.ts +5 -6
  440. package/src/mcp-read-only-tools.ts +1 -0
  441. package/src/memory-subject-cli.ts +135 -0
  442. package/src/memory-subject.test.ts +48 -0
  443. package/src/memory-subject.ts +314 -0
  444. package/src/memory-worth-outcomes.test.ts +6 -2
  445. package/src/memory-worth-outcomes.ts +11 -7
  446. package/src/operator-toolkit.ts +1 -1
  447. package/src/orchestration/extraction-persist.ts +48 -48
  448. package/src/orchestration/recall-internal.ts +6 -5
  449. package/src/procedural/library-maintenance.test.ts +582 -0
  450. package/src/procedural/library-maintenance.ts +546 -0
  451. package/src/procedural/maintenance-config.ts +78 -0
  452. package/src/procedural/procedure-recall.ts +29 -1
  453. package/src/procedural/procedure-stats.ts +20 -0
  454. package/src/schemas.ts +7 -0
  455. package/src/spaces/index.ts +38 -2
  456. package/src/storage.ts +6 -2
  457. package/src/subject-config.ts +80 -0
  458. package/src/types.ts +26 -29
  459. package/src/write-envelope.test.ts +14 -0
  460. package/src/write-envelope.ts +24 -3
  461. package/dist/chunk-3PXVYJMC.js.map +0 -1
  462. package/dist/chunk-3RHFGGI5.js.map +0 -1
  463. package/dist/chunk-4NZHHGVL.js.map +0 -1
  464. package/dist/chunk-CEQF6L5K.js.map +0 -1
  465. package/dist/chunk-CUS6S7PN.js.map +0 -1
  466. package/dist/chunk-DBXZZIDU.js.map +0 -1
  467. package/dist/chunk-DEFI2QBT.js.map +0 -1
  468. package/dist/chunk-EIR5VLIH.js.map +0 -1
  469. package/dist/chunk-GEULB2VI.js.map +0 -1
  470. package/dist/chunk-JFJ3MHGV.js.map +0 -1
  471. package/dist/chunk-JG22O53B.js.map +0 -1
  472. package/dist/chunk-LCU5R6TQ.js.map +0 -1
  473. package/dist/chunk-MSTNSVXI.js.map +0 -1
  474. package/dist/chunk-YQ3CBLL4.js.map +0 -1
  475. package/dist/chunk-Z54TXZ2F.js.map +0 -1
  476. /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  477. /package/dist/{chunk-LYIZXQYY.js.map → chunk-2E36UXVW.js.map} +0 -0
  478. /package/dist/{chunk-7QFBLYFP.js.map → chunk-2XDWWPTN.js.map} +0 -0
  479. /package/dist/{chunk-CFRBTATE.js.map → chunk-2YI72KM3.js.map} +0 -0
  480. /package/dist/{chunk-3YTTAGPB.js.map → chunk-3DVBKTSO.js.map} +0 -0
  481. /package/dist/{chunk-VPGRXEAB.js.map → chunk-3I7ASZN3.js.map} +0 -0
  482. /package/dist/{chunk-WTOE7CW4.js.map → chunk-4KYOLI6M.js.map} +0 -0
  483. /package/dist/{chunk-ESCQ6LY7.js.map → chunk-5NM4OH4P.js.map} +0 -0
  484. /package/dist/{chunk-Y23B2QXP.js.map → chunk-5YQ63T4B.js.map} +0 -0
  485. /package/dist/{chunk-PMVPCZJZ.js.map → chunk-6433HV72.js.map} +0 -0
  486. /package/dist/{chunk-NS5ETDYD.js.map → chunk-7BEPVIH3.js.map} +0 -0
  487. /package/dist/{chunk-W6TSGWYS.js.map → chunk-7YQ4IYS2.js.map} +0 -0
  488. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  489. /package/dist/{chunk-CEH2AFXG.js.map → chunk-C24UZSFW.js.map} +0 -0
  490. /package/dist/{chunk-ZPN7W3OP.js.map → chunk-CDUUDBWJ.js.map} +0 -0
  491. /package/dist/{chunk-5UYSCYR7.js.map → chunk-CT56C22C.js.map} +0 -0
  492. /package/dist/{chunk-HJQZQUPC.js.map → chunk-DJZWNKFO.js.map} +0 -0
  493. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  494. /package/dist/{chunk-CCTVAVTT.js.map → chunk-DZUJ46DO.js.map} +0 -0
  495. /package/dist/{chunk-N6TRHP72.js.map → chunk-EILZG5VC.js.map} +0 -0
  496. /package/dist/{chunk-GXWDWOWP.js.map → chunk-GDFVPUJ5.js.map} +0 -0
  497. /package/dist/{chunk-7PWWGYGO.js.map → chunk-GNCCUR6K.js.map} +0 -0
  498. /package/dist/{chunk-KPBLJCCV.js.map → chunk-IID2CMUU.js.map} +0 -0
  499. /package/dist/{chunk-UYCIS6V5.js.map → chunk-JCWY73FK.js.map} +0 -0
  500. /package/dist/{chunk-SYJ6EKKE.js.map → chunk-JYYBA7TF.js.map} +0 -0
  501. /package/dist/{chunk-T42L3S6A.js.map → chunk-LBWQ65SX.js.map} +0 -0
  502. /package/dist/{chunk-LWVO2QZV.js.map → chunk-LGO6A7GJ.js.map} +0 -0
  503. /package/dist/{chunk-2572MRP2.js.map → chunk-LZH5FR2W.js.map} +0 -0
  504. /package/dist/{chunk-256FBCVX.js.map → chunk-M4AHBM72.js.map} +0 -0
  505. /package/dist/{chunk-YEQEGSJA.js.map → chunk-MN4KB2A4.js.map} +0 -0
  506. /package/dist/{chunk-AGKIG3YA.js.map → chunk-NKKD4ZAU.js.map} +0 -0
  507. /package/dist/{chunk-3TMYV3LP.js.map → chunk-NTWN6HB2.js.map} +0 -0
  508. /package/dist/{chunk-63FHSH7E.js.map → chunk-OCZIYAE5.js.map} +0 -0
  509. /package/dist/{chunk-I2HTKOOP.js.map → chunk-ODZG724P.js.map} +0 -0
  510. /package/dist/{chunk-HQSBYI5X.js.map → chunk-OTHZWLUD.js.map} +0 -0
  511. /package/dist/{chunk-4W6INNXO.js.map → chunk-PE255F4T.js.map} +0 -0
  512. /package/dist/{chunk-6L27N6YI.js.map → chunk-QOS5LBZN.js.map} +0 -0
  513. /package/dist/{chunk-G72IPMR7.js.map → chunk-R4OCGPSH.js.map} +0 -0
  514. /package/dist/{chunk-MIBKEW7A.js.map → chunk-R7JAM2XF.js.map} +0 -0
  515. /package/dist/{chunk-JBPKEARU.js.map → chunk-RKNJBZ55.js.map} +0 -0
  516. /package/dist/{chunk-HUNSEO5U.js.map → chunk-S2DPMJXH.js.map} +0 -0
  517. /package/dist/{chunk-HQSPXTQO.js.map → chunk-SIHSCCUQ.js.map} +0 -0
  518. /package/dist/{chunk-R3AAOKR2.js.map → chunk-SPUJNJJC.js.map} +0 -0
  519. /package/dist/{chunk-IAY7YBXS.js.map → chunk-SQI57UCJ.js.map} +0 -0
  520. /package/dist/{chunk-CTQRPANJ.js.map → chunk-SVSRPG6M.js.map} +0 -0
  521. /package/dist/{chunk-S2VBSTTA.js.map → chunk-THG4GYIE.js.map} +0 -0
  522. /package/dist/{chunk-IXRC7EQG.js.map → chunk-TR7DGXGI.js.map} +0 -0
  523. /package/dist/{chunk-BC4QD3FM.js.map → chunk-UIN2BWDD.js.map} +0 -0
  524. /package/dist/{chunk-JTSVMJHV.js.map → chunk-UXO5IMBK.js.map} +0 -0
  525. /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
  526. /package/dist/{chunk-MUJ4QFUQ.js.map → chunk-W4BMEGQA.js.map} +0 -0
  527. /package/dist/{chunk-5HK3CJAR.js.map → chunk-W675UJCZ.js.map} +0 -0
  528. /package/dist/{chunk-MDVBCPOS.js.map → chunk-XCTXS7VY.js.map} +0 -0
  529. /package/dist/{chunk-53ENM6F6.js.map → chunk-XRYZRW54.js.map} +0 -0
  530. /package/dist/{chunk-VJ6ECBIP.js.map → chunk-Y7DK7HHJ.js.map} +0 -0
  531. /package/dist/{chunk-3MADV4YC.js.map → chunk-YB42WZCY.js.map} +0 -0
  532. /package/dist/{chunk-X5SDZMO7.js.map → chunk-YHCBJULX.js.map} +0 -0
  533. /package/dist/{chunk-6JJT5AKI.js.map → chunk-Z7PBQPJ4.js.map} +0 -0
  534. /package/dist/{chunk-ALCJRQ72.js.map → chunk-ZO6AXLEH.js.map} +0 -0
  535. /package/dist/{chunk-VZVP2W4O.js.map → chunk-ZQHI2BZB.js.map} +0 -0
  536. /package/dist/{resolution-DKMBPXHI.js.map → memory-subject-cli.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -7,15 +7,15 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
7
7
  importance: z.ZodNumber;
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
- source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
11
10
  confidence: number;
12
- lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
11
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
13
12
  importance: number;
13
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
14
14
  }, {
15
- source: "manual" | "extraction" | "consolidation" | "replay" | "unknown";
16
15
  confidence: number;
17
- lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
16
+ source: "unknown" | "manual" | "extraction" | "consolidation" | "replay";
18
17
  importance: number;
18
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
@@ -64,13 +64,14 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
64
64
  value: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  value: string;
67
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
67
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
68
68
  }, {
69
69
  value: string;
70
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
70
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
71
71
  }>, "many">>>;
72
72
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
73
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
74
+ subject: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "agent"]>>>;
74
75
  quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
75
76
  structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
76
77
  procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -112,11 +113,11 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
112
113
  order: z.ZodNumber;
113
114
  description: z.ZodString;
114
115
  }, "strip", z.ZodTypeAny, {
115
- order: number;
116
116
  description: string;
117
- }, {
118
117
  order: number;
118
+ }, {
119
119
  description: string;
120
+ order: number;
120
121
  }>, "many">;
121
122
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
123
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -124,8 +125,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
124
125
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
125
126
  }, "strip", z.ZodTypeAny, {
126
127
  steps: {
127
- order: number;
128
128
  description: string;
129
+ order: number;
129
130
  }[];
130
131
  finalAnswer?: string | null | undefined;
131
132
  final_answer?: string | null | undefined;
@@ -133,8 +134,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
133
134
  observed_outcome?: string | null | undefined;
134
135
  }, {
135
136
  steps: {
136
- order: number;
137
137
  description: string;
138
+ order: number;
138
139
  }[];
139
140
  finalAnswer?: string | null | undefined;
140
141
  final_answer?: string | null | undefined;
@@ -142,8 +143,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
142
143
  observed_outcome?: string | null | undefined;
143
144
  }>, {
144
145
  steps: {
145
- order: number;
146
146
  description: string;
147
+ order: number;
147
148
  }[];
148
149
  finalAnswer?: string | null | undefined;
149
150
  final_answer?: string | null | undefined;
@@ -151,8 +152,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
151
152
  observed_outcome?: string | null | undefined;
152
153
  }, {
153
154
  steps: {
154
- order: number;
155
155
  description: string;
156
+ order: number;
156
157
  }[];
157
158
  finalAnswer?: string | null | undefined;
158
159
  final_answer?: string | null | undefined;
@@ -162,15 +163,16 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
162
163
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
164
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
164
165
  }, "strip", z.ZodTypeAny, {
165
- content: string;
166
- tags: string[];
167
166
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
167
+ content: string;
168
168
  confidence: number;
169
+ tags: string[];
169
170
  entityRef?: string | null | undefined;
170
171
  structuredAttributes?: Record<string, string> | null | undefined;
172
+ subject?: "user" | "agent" | null | undefined;
171
173
  cueAnchors?: {
172
174
  value: string;
173
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
175
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
174
176
  }[] | null | undefined;
175
177
  promptedByQuestion?: string | null | undefined;
176
178
  scope?: "project" | "global" | null | undefined;
@@ -187,8 +189,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
187
189
  }[] | null | undefined;
188
190
  reasoningTrace?: {
189
191
  steps: {
190
- order: number;
191
192
  description: string;
193
+ order: number;
192
194
  }[];
193
195
  finalAnswer?: string | null | undefined;
194
196
  final_answer?: string | null | undefined;
@@ -198,15 +200,16 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
198
200
  eventTime?: string | null | undefined;
199
201
  event_time?: string | null | undefined;
200
202
  }, {
201
- content: string;
202
- tags: string[];
203
203
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
204
+ content: string;
204
205
  confidence: number;
206
+ tags: string[];
205
207
  entityRef?: string | null | undefined;
206
208
  structuredAttributes?: Record<string, string> | null | undefined;
209
+ subject?: "user" | "agent" | null | undefined;
207
210
  cueAnchors?: {
208
211
  value: string;
209
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
212
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
210
213
  }[] | null | undefined;
211
214
  promptedByQuestion?: string | null | undefined;
212
215
  scope?: "project" | "global" | null | undefined;
@@ -223,8 +226,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
223
226
  }[] | null | undefined;
224
227
  reasoningTrace?: {
225
228
  steps: {
226
- order: number;
227
229
  description: string;
230
+ order: number;
228
231
  }[];
229
232
  finalAnswer?: string | null | undefined;
230
233
  final_answer?: string | null | undefined;
@@ -234,15 +237,16 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
234
237
  eventTime?: string | null | undefined;
235
238
  event_time?: string | null | undefined;
236
239
  }>, {
237
- content: string;
238
- tags: string[];
239
240
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
241
+ content: string;
240
242
  confidence: number;
243
+ tags: string[];
241
244
  entityRef?: string | null | undefined;
242
245
  structuredAttributes?: Record<string, string> | null | undefined;
246
+ subject?: "user" | "agent" | null | undefined;
243
247
  cueAnchors?: {
244
248
  value: string;
245
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
249
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
246
250
  }[] | null | undefined;
247
251
  promptedByQuestion?: string | null | undefined;
248
252
  scope?: "project" | "global" | null | undefined;
@@ -259,8 +263,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
259
263
  }[] | null | undefined;
260
264
  reasoningTrace?: {
261
265
  steps: {
262
- order: number;
263
266
  description: string;
267
+ order: number;
264
268
  }[];
265
269
  finalAnswer?: string | null | undefined;
266
270
  final_answer?: string | null | undefined;
@@ -270,15 +274,16 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
270
274
  eventTime?: string | null | undefined;
271
275
  event_time?: string | null | undefined;
272
276
  }, {
273
- content: string;
274
- tags: string[];
275
277
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
278
+ content: string;
276
279
  confidence: number;
280
+ tags: string[];
277
281
  entityRef?: string | null | undefined;
278
282
  structuredAttributes?: Record<string, string> | null | undefined;
283
+ subject?: "user" | "agent" | null | undefined;
279
284
  cueAnchors?: {
280
285
  value: string;
281
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
286
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
282
287
  }[] | null | undefined;
283
288
  promptedByQuestion?: string | null | undefined;
284
289
  scope?: "project" | "global" | null | undefined;
@@ -295,8 +300,8 @@ declare const ExtractedFactSchema: z.ZodEffects<z.ZodObject<{
295
300
  }[] | null | undefined;
296
301
  reasoningTrace?: {
297
302
  steps: {
298
- order: number;
299
303
  description: string;
304
+ order: number;
300
305
  }[];
301
306
  finalAnswer?: string | null | undefined;
302
307
  final_answer?: string | null | undefined;
@@ -391,13 +396,13 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
391
396
  label: z.ZodString;
392
397
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
393
398
  }, "strip", z.ZodTypeAny, {
394
- source: string;
395
399
  label: string;
400
+ source: string;
396
401
  target: string;
397
402
  promptedByQuestion?: string | null | undefined;
398
403
  }, {
399
- source: string;
400
404
  label: string;
405
+ source: string;
401
406
  target: string;
402
407
  promptedByQuestion?: string | null | undefined;
403
408
  }>;
@@ -413,13 +418,14 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
413
418
  value: z.ZodString;
414
419
  }, "strip", z.ZodTypeAny, {
415
420
  value: string;
416
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
421
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
417
422
  }, {
418
423
  value: string;
419
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
424
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
420
425
  }>, "many">>>;
421
426
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
422
427
  scope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["project", "global"]>>>;
428
+ subject: z.ZodNullable<z.ZodOptional<z.ZodEnum<["user", "agent"]>>>;
423
429
  quote: z.ZodNullable<z.ZodOptional<z.ZodString>>;
424
430
  structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
425
431
  procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -461,11 +467,11 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
461
467
  order: z.ZodNumber;
462
468
  description: z.ZodString;
463
469
  }, "strip", z.ZodTypeAny, {
464
- order: number;
465
470
  description: string;
466
- }, {
467
471
  order: number;
472
+ }, {
468
473
  description: string;
474
+ order: number;
469
475
  }>, "many">;
470
476
  finalAnswer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
471
477
  final_answer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -473,8 +479,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
473
479
  observed_outcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
474
480
  }, "strip", z.ZodTypeAny, {
475
481
  steps: {
476
- order: number;
477
482
  description: string;
483
+ order: number;
478
484
  }[];
479
485
  finalAnswer?: string | null | undefined;
480
486
  final_answer?: string | null | undefined;
@@ -482,8 +488,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
482
488
  observed_outcome?: string | null | undefined;
483
489
  }, {
484
490
  steps: {
485
- order: number;
486
491
  description: string;
492
+ order: number;
487
493
  }[];
488
494
  finalAnswer?: string | null | undefined;
489
495
  final_answer?: string | null | undefined;
@@ -491,8 +497,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
491
497
  observed_outcome?: string | null | undefined;
492
498
  }>, {
493
499
  steps: {
494
- order: number;
495
500
  description: string;
501
+ order: number;
496
502
  }[];
497
503
  finalAnswer?: string | null | undefined;
498
504
  final_answer?: string | null | undefined;
@@ -500,8 +506,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
500
506
  observed_outcome?: string | null | undefined;
501
507
  }, {
502
508
  steps: {
503
- order: number;
504
509
  description: string;
510
+ order: number;
505
511
  }[];
506
512
  finalAnswer?: string | null | undefined;
507
513
  final_answer?: string | null | undefined;
@@ -511,15 +517,16 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
511
517
  eventTime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
512
518
  event_time: z.ZodNullable<z.ZodOptional<z.ZodString>>;
513
519
  }, "strip", z.ZodTypeAny, {
514
- content: string;
515
- tags: string[];
516
520
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
521
+ content: string;
517
522
  confidence: number;
523
+ tags: string[];
518
524
  entityRef?: string | null | undefined;
519
525
  structuredAttributes?: Record<string, string> | null | undefined;
526
+ subject?: "user" | "agent" | null | undefined;
520
527
  cueAnchors?: {
521
528
  value: string;
522
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
529
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
523
530
  }[] | null | undefined;
524
531
  promptedByQuestion?: string | null | undefined;
525
532
  scope?: "project" | "global" | null | undefined;
@@ -536,8 +543,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
536
543
  }[] | null | undefined;
537
544
  reasoningTrace?: {
538
545
  steps: {
539
- order: number;
540
546
  description: string;
547
+ order: number;
541
548
  }[];
542
549
  finalAnswer?: string | null | undefined;
543
550
  final_answer?: string | null | undefined;
@@ -547,15 +554,16 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
547
554
  eventTime?: string | null | undefined;
548
555
  event_time?: string | null | undefined;
549
556
  }, {
550
- content: string;
551
- tags: string[];
552
557
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
558
+ content: string;
553
559
  confidence: number;
560
+ tags: string[];
554
561
  entityRef?: string | null | undefined;
555
562
  structuredAttributes?: Record<string, string> | null | undefined;
563
+ subject?: "user" | "agent" | null | undefined;
556
564
  cueAnchors?: {
557
565
  value: string;
558
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
566
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
559
567
  }[] | null | undefined;
560
568
  promptedByQuestion?: string | null | undefined;
561
569
  scope?: "project" | "global" | null | undefined;
@@ -572,8 +580,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
572
580
  }[] | null | undefined;
573
581
  reasoningTrace?: {
574
582
  steps: {
575
- order: number;
576
583
  description: string;
584
+ order: number;
577
585
  }[];
578
586
  finalAnswer?: string | null | undefined;
579
587
  final_answer?: string | null | undefined;
@@ -583,15 +591,16 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
583
591
  eventTime?: string | null | undefined;
584
592
  event_time?: string | null | undefined;
585
593
  }>, {
586
- content: string;
587
- tags: string[];
588
594
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
595
+ content: string;
589
596
  confidence: number;
597
+ tags: string[];
590
598
  entityRef?: string | null | undefined;
591
599
  structuredAttributes?: Record<string, string> | null | undefined;
600
+ subject?: "user" | "agent" | null | undefined;
592
601
  cueAnchors?: {
593
602
  value: string;
594
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
603
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
595
604
  }[] | null | undefined;
596
605
  promptedByQuestion?: string | null | undefined;
597
606
  scope?: "project" | "global" | null | undefined;
@@ -608,8 +617,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
608
617
  }[] | null | undefined;
609
618
  reasoningTrace?: {
610
619
  steps: {
611
- order: number;
612
620
  description: string;
621
+ order: number;
613
622
  }[];
614
623
  finalAnswer?: string | null | undefined;
615
624
  final_answer?: string | null | undefined;
@@ -619,15 +628,16 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
619
628
  eventTime?: string | null | undefined;
620
629
  event_time?: string | null | undefined;
621
630
  }, {
622
- content: string;
623
- tags: string[];
624
631
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
632
+ content: string;
625
633
  confidence: number;
634
+ tags: string[];
626
635
  entityRef?: string | null | undefined;
627
636
  structuredAttributes?: Record<string, string> | null | undefined;
637
+ subject?: "user" | "agent" | null | undefined;
628
638
  cueAnchors?: {
629
639
  value: string;
630
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
640
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
631
641
  }[] | null | undefined;
632
642
  promptedByQuestion?: string | null | undefined;
633
643
  scope?: "project" | "global" | null | undefined;
@@ -644,8 +654,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
644
654
  }[] | null | undefined;
645
655
  reasoningTrace?: {
646
656
  steps: {
647
- order: number;
648
657
  description: string;
658
+ order: number;
649
659
  }[];
650
660
  finalAnswer?: string | null | undefined;
651
661
  final_answer?: string | null | undefined;
@@ -701,27 +711,28 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
701
711
  label: z.ZodString;
702
712
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
703
713
  }, "strip", z.ZodTypeAny, {
704
- source: string;
705
714
  label: string;
715
+ source: string;
706
716
  target: string;
707
717
  promptedByQuestion?: string | null | undefined;
708
718
  }, {
709
- source: string;
710
719
  label: string;
720
+ source: string;
711
721
  target: string;
712
722
  promptedByQuestion?: string | null | undefined;
713
723
  }>, "many">>>;
714
724
  }, "strip", z.ZodTypeAny, {
715
725
  facts: {
716
- content: string;
717
- tags: string[];
718
726
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
727
+ content: string;
719
728
  confidence: number;
729
+ tags: string[];
720
730
  entityRef?: string | null | undefined;
721
731
  structuredAttributes?: Record<string, string> | null | undefined;
732
+ subject?: "user" | "agent" | null | undefined;
722
733
  cueAnchors?: {
723
734
  value: string;
724
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
735
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
725
736
  }[] | null | undefined;
726
737
  promptedByQuestion?: string | null | undefined;
727
738
  scope?: "project" | "global" | null | undefined;
@@ -738,8 +749,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
738
749
  }[] | null | undefined;
739
750
  reasoningTrace?: {
740
751
  steps: {
741
- order: number;
742
752
  description: string;
753
+ order: number;
743
754
  }[];
744
755
  finalAnswer?: string | null | undefined;
745
756
  final_answer?: string | null | undefined;
@@ -762,22 +773,23 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
762
773
  }[];
763
774
  profileUpdates: string[];
764
775
  relationships?: {
765
- source: string;
766
776
  label: string;
777
+ source: string;
767
778
  target: string;
768
779
  promptedByQuestion?: string | null | undefined;
769
780
  }[] | null | undefined;
770
781
  }, {
771
782
  facts: {
772
- content: string;
773
- tags: string[];
774
783
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
784
+ content: string;
775
785
  confidence: number;
786
+ tags: string[];
776
787
  entityRef?: string | null | undefined;
777
788
  structuredAttributes?: Record<string, string> | null | undefined;
789
+ subject?: "user" | "agent" | null | undefined;
778
790
  cueAnchors?: {
779
791
  value: string;
780
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
792
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
781
793
  }[] | null | undefined;
782
794
  promptedByQuestion?: string | null | undefined;
783
795
  scope?: "project" | "global" | null | undefined;
@@ -794,8 +806,8 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
794
806
  }[] | null | undefined;
795
807
  reasoningTrace?: {
796
808
  steps: {
797
- order: number;
798
809
  description: string;
810
+ order: number;
799
811
  }[];
800
812
  finalAnswer?: string | null | undefined;
801
813
  final_answer?: string | null | undefined;
@@ -818,23 +830,24 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
818
830
  }[];
819
831
  profileUpdates: string[];
820
832
  relationships?: {
821
- source: string;
822
833
  label: string;
834
+ source: string;
823
835
  target: string;
824
836
  promptedByQuestion?: string | null | undefined;
825
837
  }[] | null | undefined;
826
838
  }>;
827
839
  declare const ExtractionResultSchema: z.ZodObject<{
828
840
  facts: z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
829
- content: string;
830
- tags: string[];
831
841
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
842
+ content: string;
832
843
  confidence: number;
844
+ tags: string[];
833
845
  entityRef?: string | null | undefined;
834
846
  structuredAttributes?: Record<string, string> | null | undefined;
847
+ subject?: "user" | "agent" | null | undefined;
835
848
  cueAnchors?: {
836
849
  value: string;
837
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
850
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
838
851
  }[] | null | undefined;
839
852
  promptedByQuestion?: string | null | undefined;
840
853
  scope?: "project" | "global" | null | undefined;
@@ -851,8 +864,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
851
864
  }[] | null | undefined;
852
865
  reasoningTrace?: {
853
866
  steps: {
854
- order: number;
855
867
  description: string;
868
+ order: number;
856
869
  }[];
857
870
  finalAnswer?: string | null | undefined;
858
871
  final_answer?: string | null | undefined;
@@ -882,8 +895,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
882
895
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
883
896
  episodeTitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
884
897
  relationships: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodUnknown, "many">, {
885
- source: string;
886
898
  label: string;
899
+ source: string;
887
900
  target: string;
888
901
  promptedByQuestion?: string | null | undefined;
889
902
  }[], unknown[]>>>;
@@ -894,15 +907,16 @@ declare const ExtractionResultSchema: z.ZodObject<{
894
907
  context: string;
895
908
  }[];
896
909
  facts: {
897
- content: string;
898
- tags: string[];
899
910
  category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace";
911
+ content: string;
900
912
  confidence: number;
913
+ tags: string[];
901
914
  entityRef?: string | null | undefined;
902
915
  structuredAttributes?: Record<string, string> | null | undefined;
916
+ subject?: "user" | "agent" | null | undefined;
903
917
  cueAnchors?: {
904
918
  value: string;
905
- type: "constraint" | "entity" | "file" | "tool" | "outcome" | "date";
919
+ type: "entity" | "constraint" | "file" | "tool" | "outcome" | "date";
906
920
  }[] | null | undefined;
907
921
  promptedByQuestion?: string | null | undefined;
908
922
  scope?: "project" | "global" | null | undefined;
@@ -919,8 +933,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
919
933
  }[] | null | undefined;
920
934
  reasoningTrace?: {
921
935
  steps: {
922
- order: number;
923
936
  description: string;
937
+ order: number;
924
938
  }[];
925
939
  finalAnswer?: string | null | undefined;
926
940
  final_answer?: string | null | undefined;
@@ -943,8 +957,8 @@ declare const ExtractionResultSchema: z.ZodObject<{
943
957
  }[];
944
958
  profileUpdates: string[];
945
959
  relationships?: {
946
- source: string;
947
960
  label: string;
961
+ source: string;
948
962
  target: string;
949
963
  promptedByQuestion?: string | null | undefined;
950
964
  }[] | null | undefined;
@@ -966,15 +980,15 @@ declare const ConsolidationItemSchema: z.ZodObject<{
966
980
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
967
981
  reason: z.ZodString;
968
982
  }, "strip", z.ZodTypeAny, {
983
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
969
984
  reason: string;
970
985
  existingId: string;
971
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
972
986
  mergeWith?: string | null | undefined;
973
987
  updatedContent?: string | null | undefined;
974
988
  }, {
989
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
975
990
  reason: string;
976
991
  existingId: string;
977
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
978
992
  mergeWith?: string | null | undefined;
979
993
  updatedContent?: string | null | undefined;
980
994
  }>;
@@ -986,15 +1000,15 @@ declare const ConsolidationResultSchema: z.ZodObject<{
986
1000
  updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
987
1001
  reason: z.ZodString;
988
1002
  }, "strip", z.ZodTypeAny, {
1003
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
989
1004
  reason: string;
990
1005
  existingId: string;
991
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
992
1006
  mergeWith?: string | null | undefined;
993
1007
  updatedContent?: string | null | undefined;
994
1008
  }, {
1009
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
995
1010
  reason: string;
996
1011
  existingId: string;
997
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
998
1012
  mergeWith?: string | null | undefined;
999
1013
  updatedContent?: string | null | undefined;
1000
1014
  }>, "many">;
@@ -1040,9 +1054,9 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1040
1054
  }>, "many">;
1041
1055
  }, "strip", z.ZodTypeAny, {
1042
1056
  items: {
1057
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1043
1058
  reason: string;
1044
1059
  existingId: string;
1045
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1046
1060
  mergeWith?: string | null | undefined;
1047
1061
  updatedContent?: string | null | undefined;
1048
1062
  }[];
@@ -1060,9 +1074,9 @@ declare const ConsolidationResultSchema: z.ZodObject<{
1060
1074
  }[];
1061
1075
  }, {
1062
1076
  items: {
1077
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1063
1078
  reason: string;
1064
1079
  existingId: string;
1065
- action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
1066
1080
  mergeWith?: string | null | undefined;
1067
1081
  updatedContent?: string | null | undefined;
1068
1082
  }[];
@@ -1122,13 +1136,13 @@ declare const ContradictionVerificationSchema: z.ZodObject<{
1122
1136
  reasoning: z.ZodString;
1123
1137
  whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
1124
1138
  }, "strip", z.ZodTypeAny, {
1125
- reasoning: string;
1126
1139
  confidence: number;
1140
+ reasoning: string;
1127
1141
  isContradiction: boolean;
1128
1142
  whichIsNewer: "first" | "second" | "unclear";
1129
1143
  }, {
1130
- reasoning: string;
1131
1144
  confidence: number;
1145
+ reasoning: string;
1132
1146
  isContradiction: boolean;
1133
1147
  whichIsNewer: "first" | "second" | "unclear";
1134
1148
  }>;
@@ -1223,8 +1237,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1223
1237
  reason: z.ZodString;
1224
1238
  appliedAt: z.ZodString;
1225
1239
  }, "strip", z.ZodTypeAny, {
1226
- confidence: number;
1227
1240
  reason: string;
1241
+ confidence: number;
1228
1242
  parameter: string;
1229
1243
  previousValue: number;
1230
1244
  nextValue: number;
@@ -1232,8 +1246,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
1232
1246
  evidenceCount: number;
1233
1247
  appliedAt: string;
1234
1248
  }, {
1235
- confidence: number;
1236
1249
  reason: string;
1250
+ confidence: number;
1237
1251
  parameter: string;
1238
1252
  previousValue: number;
1239
1253
  nextValue: number;
@@ -1257,8 +1271,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1257
1271
  reason: z.ZodString;
1258
1272
  appliedAt: z.ZodString;
1259
1273
  }, "strip", z.ZodTypeAny, {
1260
- confidence: number;
1261
1274
  reason: string;
1275
+ confidence: number;
1262
1276
  parameter: string;
1263
1277
  previousValue: number;
1264
1278
  nextValue: number;
@@ -1266,8 +1280,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1266
1280
  evidenceCount: number;
1267
1281
  appliedAt: string;
1268
1282
  }, {
1269
- confidence: number;
1270
1283
  reason: string;
1284
+ confidence: number;
1271
1285
  parameter: string;
1272
1286
  previousValue: number;
1273
1287
  nextValue: number;
@@ -1283,8 +1297,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1283
1297
  maxDeltaPerCycle: number;
1284
1298
  protectedParams: string[];
1285
1299
  adjustments: {
1286
- confidence: number;
1287
1300
  reason: string;
1301
+ confidence: number;
1288
1302
  parameter: string;
1289
1303
  previousValue: number;
1290
1304
  nextValue: number;
@@ -1300,8 +1314,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
1300
1314
  maxDeltaPerCycle: number;
1301
1315
  protectedParams: string[];
1302
1316
  adjustments: {
1303
- confidence: number;
1304
1317
  reason: string;
1318
+ confidence: number;
1305
1319
  parameter: string;
1306
1320
  previousValue: number;
1307
1321
  nextValue: number;