@remnic/core 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (385) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/abort-error.d.ts +32 -0
  4. package/dist/abort-error.js +11 -0
  5. package/dist/access-cli.d.ts +13 -3
  6. package/dist/access-cli.js +96 -80
  7. package/dist/access-cli.js.map +1 -1
  8. package/dist/access-http.d.ts +12 -4
  9. package/dist/access-http.js +25 -18
  10. package/dist/access-mcp.d.ts +32 -4
  11. package/dist/access-mcp.js +16 -1
  12. package/dist/access-schema.d.ts +28 -28
  13. package/dist/access-schema.js +1 -1
  14. package/dist/access-service-HmO1Trrx.d.ts +732 -0
  15. package/dist/access-service.d.ts +15 -601
  16. package/dist/access-service.js +21 -15
  17. package/dist/active-memory-bridge.d.ts +66 -0
  18. package/dist/active-memory-bridge.js +11 -0
  19. package/dist/active-memory-bridge.js.map +1 -0
  20. package/dist/active-recall.d.ts +96 -0
  21. package/dist/active-recall.js +308 -0
  22. package/dist/active-recall.js.map +1 -0
  23. package/dist/behavior-learner.js +1 -1
  24. package/dist/bootstrap.d.ts +6 -3
  25. package/dist/bootstrap.js +2 -2
  26. package/dist/boxes.js +2 -2
  27. package/dist/briefing.d.ts +169 -0
  28. package/dist/briefing.js +52 -0
  29. package/dist/briefing.js.map +1 -0
  30. package/dist/buffer.d.ts +19 -5
  31. package/dist/buffer.js +2 -2
  32. package/dist/calibration.js +6 -6
  33. package/dist/causal-behavior.js +5 -5
  34. package/dist/causal-chain.js +3 -3
  35. package/dist/causal-consolidation.d.ts +22 -2
  36. package/dist/causal-consolidation.js +36 -9
  37. package/dist/causal-consolidation.js.map +1 -1
  38. package/dist/causal-retrieval.js +6 -6
  39. package/dist/causal-trajectory-graph.js +1 -1
  40. package/dist/causal-trajectory.d.ts +14 -1
  41. package/dist/causal-trajectory.js +5 -1
  42. package/dist/{chunk-KWBU5S5U.js → chunk-2ODBA7MQ.js} +9 -3
  43. package/dist/chunk-2ODBA7MQ.js.map +1 -0
  44. package/dist/{chunk-ZJLY4QSU.js → chunk-37UIFYWO.js} +130 -6
  45. package/dist/chunk-37UIFYWO.js.map +1 -0
  46. package/dist/chunk-3PG3H5TD.js +7 -0
  47. package/dist/chunk-3PG3H5TD.js.map +1 -0
  48. package/dist/{chunk-NTTLPF7F.js → chunk-3QFQGRHO.js} +5 -5
  49. package/dist/{chunk-QDOSNLB4.js → chunk-3QHL5ABG.js} +17 -15
  50. package/dist/chunk-3QHL5ABG.js.map +1 -0
  51. package/dist/{chunk-6UJQNRIO.js → chunk-3SV6CQHO.js} +92 -33
  52. package/dist/chunk-3SV6CQHO.js.map +1 -0
  53. package/dist/{chunk-U4PV25RD.js → chunk-3WHVNEN7.js} +1 -1
  54. package/dist/chunk-3WHVNEN7.js.map +1 -0
  55. package/dist/{chunk-XUHI52HK.js → chunk-44ICJRF3.js} +98 -10
  56. package/dist/chunk-44ICJRF3.js.map +1 -0
  57. package/dist/{chunk-HG2NKWR2.js → chunk-47UU5PU2.js} +49 -10
  58. package/dist/chunk-47UU5PU2.js.map +1 -0
  59. package/dist/chunk-4DJQYKMN.js +187 -0
  60. package/dist/chunk-4DJQYKMN.js.map +1 -0
  61. package/dist/chunk-4KAN3GZ3.js +225 -0
  62. package/dist/chunk-4KAN3GZ3.js.map +1 -0
  63. package/dist/chunk-4LACOVZX.js +813 -0
  64. package/dist/chunk-4LACOVZX.js.map +1 -0
  65. package/dist/{chunk-ORZMT74A.js → chunk-4NRAJUDS.js} +11 -1
  66. package/dist/chunk-4NRAJUDS.js.map +1 -0
  67. package/dist/{chunk-B7LOFDVE.js → chunk-4WMCPJWX.js} +8 -3
  68. package/dist/chunk-4WMCPJWX.js.map +1 -0
  69. package/dist/{chunk-G3AG3KZN.js → chunk-5IZL4DCV.js} +2 -2
  70. package/dist/{chunk-BRK4ODMI.js → chunk-5NPGSAVB.js} +2 -2
  71. package/dist/{chunk-QANCTXQF.js → chunk-6LX5ORAS.js} +3 -3
  72. package/dist/chunk-6MKAMLQL.js +16 -0
  73. package/dist/chunk-6MKAMLQL.js.map +1 -0
  74. package/dist/{chunk-ESSMF2FR.js → chunk-6PFRXT4K.js} +15 -6
  75. package/dist/chunk-6PFRXT4K.js.map +1 -0
  76. package/dist/{chunk-UIYZ5T3I.js → chunk-6UJ47TVX.js} +8 -8
  77. package/dist/chunk-6ZH4TU6I.js +245 -0
  78. package/dist/chunk-6ZH4TU6I.js.map +1 -0
  79. package/dist/{chunk-L5RPWGFK.js → chunk-7DHTMOND.js} +2 -2
  80. package/dist/{chunk-L7WO3MZ4.js → chunk-7ECD5ATE.js} +2 -2
  81. package/dist/{chunk-Q6FETXJA.js → chunk-7SEAZFFB.js} +2 -2
  82. package/dist/{chunk-V4YC4LUK.js → chunk-7WQ6SLIE.js} +175 -63
  83. package/dist/chunk-7WQ6SLIE.js.map +1 -0
  84. package/dist/chunk-ALXMCZEU.js +332 -0
  85. package/dist/chunk-ALXMCZEU.js.map +1 -0
  86. package/dist/{chunk-TVVVQQAK.js → chunk-BLKTA7MM.js} +58 -24
  87. package/dist/chunk-BLKTA7MM.js.map +1 -0
  88. package/dist/{chunk-SCHEKPYH.js → chunk-C2EFFULQ.js} +1 -1
  89. package/dist/{chunk-GJR6D6KC.js → chunk-D654IBA6.js} +2 -2
  90. package/dist/{chunk-OTFNI3OO.js → chunk-DEPL3635.js} +1828 -401
  91. package/dist/chunk-DEPL3635.js.map +1 -0
  92. package/dist/{chunk-UYSKNO6E.js → chunk-DHHP2Z4X.js} +15 -4
  93. package/dist/chunk-DHHP2Z4X.js.map +1 -0
  94. package/dist/{chunk-UV2FO7J4.js → chunk-E6K4NIEU.js} +2 -2
  95. package/dist/{chunk-T4WRIV2C.js → chunk-EABGC2TL.js} +2 -2
  96. package/dist/chunk-EJI5XIBB.js +232 -0
  97. package/dist/chunk-EJI5XIBB.js.map +1 -0
  98. package/dist/{chunk-ONRU4L2N.js → chunk-FEMOX5AD.js} +2 -2
  99. package/dist/{chunk-IFFFR3MR.js → chunk-FSFEQI74.js} +3 -3
  100. package/dist/chunk-G4SK7DSQ.js +121 -0
  101. package/dist/chunk-G4SK7DSQ.js.map +1 -0
  102. package/dist/{chunk-WWIQTB2Y.js → chunk-GGD5W7TB.js} +9 -2
  103. package/dist/chunk-GGD5W7TB.js.map +1 -0
  104. package/dist/{chunk-QWUUMMIK.js → chunk-GV6NLQ4X.js} +1355 -80
  105. package/dist/chunk-GV6NLQ4X.js.map +1 -0
  106. package/dist/{chunk-2PO5ZRKV.js → chunk-GZCUW5IC.js} +16 -3
  107. package/dist/chunk-GZCUW5IC.js.map +1 -0
  108. package/dist/{chunk-AAI7JARD.js → chunk-HMDCOMYU.js} +8 -11
  109. package/dist/chunk-HMDCOMYU.js.map +1 -0
  110. package/dist/chunk-IQT3XTKW.js +121 -0
  111. package/dist/chunk-IQT3XTKW.js.map +1 -0
  112. package/dist/{chunk-J3BT33K7.js → chunk-ITRLGI2T.js} +5 -5
  113. package/dist/{chunk-BDFZXRSO.js → chunk-J4IYOZZ5.js} +15 -2
  114. package/dist/chunk-J4IYOZZ5.js.map +1 -0
  115. package/dist/{chunk-J47FNDR7.js → chunk-JIU55F3X.js} +7 -7
  116. package/dist/{chunk-MDDAA2AO.js → chunk-JL2PU6AI.js} +17 -6
  117. package/dist/chunk-JL2PU6AI.js.map +1 -0
  118. package/dist/{chunk-ZKYI7UVO.js → chunk-JR4ZC3G4.js} +2 -2
  119. package/dist/{chunk-UCYSTFZR.js → chunk-JRNQ3RNA.js} +2 -2
  120. package/dist/{chunk-GPGBSNKM.js → chunk-K4FLSOR5.js} +2 -2
  121. package/dist/chunk-KVE7R4CG.js +320 -0
  122. package/dist/chunk-KVE7R4CG.js.map +1 -0
  123. package/dist/chunk-LAYN4LDC.js +267 -0
  124. package/dist/chunk-LAYN4LDC.js.map +1 -0
  125. package/dist/{chunk-ISY75RLM.js → chunk-MBJHSA7F.js} +344 -7
  126. package/dist/chunk-MBJHSA7F.js.map +1 -0
  127. package/dist/{chunk-PGK3VUHN.js → chunk-MTLYEMJB.js} +3 -2
  128. package/dist/chunk-MTLYEMJB.js.map +1 -0
  129. package/dist/{chunk-QY2BHY5O.js → chunk-MVTHXUBX.js} +297 -34
  130. package/dist/chunk-MVTHXUBX.js.map +1 -0
  131. package/dist/{chunk-LP47L3ZX.js → chunk-N42IWANG.js} +5 -5
  132. package/dist/{chunk-YNI4S5WT.js → chunk-N53K2EXC.js} +2 -2
  133. package/dist/{chunk-763GUIOU.js → chunk-NBNN5GOB.js} +2 -2
  134. package/dist/{chunk-CXWFUJR2.js → chunk-NQEVYWX6.js} +195 -5
  135. package/dist/chunk-NQEVYWX6.js.map +1 -0
  136. package/dist/{chunk-KL4CP4SB.js → chunk-O5ETUNBT.js} +17 -5
  137. package/dist/chunk-O5ETUNBT.js.map +1 -0
  138. package/dist/{chunk-OOSWAUYB.js → chunk-ODWDQNRE.js} +2 -2
  139. package/dist/chunk-OIT5QGG4.js +80 -0
  140. package/dist/chunk-OIT5QGG4.js.map +1 -0
  141. package/dist/{chunk-HLBYLYRD.js → chunk-PAORGQRI.js} +70 -13
  142. package/dist/chunk-PAORGQRI.js.map +1 -0
  143. package/dist/chunk-PVGDJXVK.js +21 -0
  144. package/dist/chunk-PVGDJXVK.js.map +1 -0
  145. package/dist/{chunk-OTAVQCSF.js → chunk-PYXS46O7.js} +2 -2
  146. package/dist/chunk-QDW3E4RD.js +108 -0
  147. package/dist/chunk-QDW3E4RD.js.map +1 -0
  148. package/dist/{chunk-YNCQ7E4M.js → chunk-QDYXG4CS.js} +4 -3
  149. package/dist/chunk-QDYXG4CS.js.map +1 -0
  150. package/dist/{chunk-HLXVTBF3.js → chunk-QNJMBKFK.js} +3 -2
  151. package/dist/chunk-QNJMBKFK.js.map +1 -0
  152. package/dist/{chunk-4A24LIM2.js → chunk-S75M5ZRK.js} +2 -2
  153. package/dist/chunk-SYUK3VLY.js +789 -0
  154. package/dist/chunk-SYUK3VLY.js.map +1 -0
  155. package/dist/{chunk-QCCCQT3O.js → chunk-TBBDFYXW.js} +2 -2
  156. package/dist/chunk-TBBDFYXW.js.map +1 -0
  157. package/dist/chunk-U66YHYC7.js +31 -0
  158. package/dist/chunk-U66YHYC7.js.map +1 -0
  159. package/dist/{chunk-MWGVGUIS.js → chunk-UEYA6UC7.js} +36 -4
  160. package/dist/chunk-UEYA6UC7.js.map +1 -0
  161. package/dist/{chunk-M5KEYE5E.js → chunk-URB2WSKZ.js} +2 -2
  162. package/dist/chunk-UVJFDP7P.js +202 -0
  163. package/dist/chunk-UVJFDP7P.js.map +1 -0
  164. package/dist/chunk-W6SL7OFG.js +180 -0
  165. package/dist/chunk-W6SL7OFG.js.map +1 -0
  166. package/dist/chunk-WBSAYXVI.js +7945 -0
  167. package/dist/chunk-WBSAYXVI.js.map +1 -0
  168. package/dist/{chunk-M5ZBBBJI.js → chunk-XZ2TIKGC.js} +39 -9
  169. package/dist/chunk-XZ2TIKGC.js.map +1 -0
  170. package/dist/chunk-Y4FHOFJ2.js +140 -0
  171. package/dist/chunk-Y4FHOFJ2.js.map +1 -0
  172. package/dist/chunk-YDBIWGNI.js +298 -0
  173. package/dist/chunk-YDBIWGNI.js.map +1 -0
  174. package/dist/chunk-YNB73F22.js +137 -0
  175. package/dist/chunk-YNB73F22.js.map +1 -0
  176. package/dist/{chunk-IZME7KW2.js → chunk-ZVBB3T7V.js} +31 -12
  177. package/dist/chunk-ZVBB3T7V.js.map +1 -0
  178. package/dist/chunking.js +1 -1
  179. package/dist/citations.d.ts +67 -0
  180. package/dist/citations.js +13 -0
  181. package/dist/citations.js.map +1 -0
  182. package/dist/cli-BneVIEvh.d.ts +1240 -0
  183. package/dist/cli.d.ts +32 -1147
  184. package/dist/cli.js +150 -7092
  185. package/dist/cli.js.map +1 -1
  186. package/dist/codex-materialize-CQlLTzke.d.ts +139 -0
  187. package/dist/codex-thread-key.d.ts +3 -0
  188. package/dist/codex-thread-key.js +7 -0
  189. package/dist/codex-thread-key.js.map +1 -0
  190. package/dist/config.js +3 -2
  191. package/dist/connectors/codex/instructions.md +160 -0
  192. package/dist/connectors/codex/resources/namespace-cheatsheet.md +48 -0
  193. package/dist/contradiction-review-WIUBAR52.js +21 -0
  194. package/dist/contradiction-review-WIUBAR52.js.map +1 -0
  195. package/dist/contradiction-scan-GR33PONM.js +376 -0
  196. package/dist/contradiction-scan-GR33PONM.js.map +1 -0
  197. package/dist/day-summary.d.ts +7 -2
  198. package/dist/day-summary.js +5 -2
  199. package/dist/direct-answer-wiring.d.ts +77 -0
  200. package/dist/direct-answer-wiring.js +75 -0
  201. package/dist/direct-answer-wiring.js.map +1 -0
  202. package/dist/direct-answer.d.ts +106 -0
  203. package/dist/direct-answer.js +10 -0
  204. package/dist/direct-answer.js.map +1 -0
  205. package/dist/embedding-fallback.d.ts +96 -2
  206. package/dist/embedding-fallback.js +6 -4
  207. package/dist/{engine-2A6J4XEX.js → engine-5TIQBYZR.js} +10 -7
  208. package/dist/engine-5TIQBYZR.js.map +1 -0
  209. package/dist/entity-retrieval.d.ts +3 -2
  210. package/dist/entity-retrieval.js +10 -7
  211. package/dist/entity-schema.d.ts +11 -0
  212. package/dist/entity-schema.js +19 -0
  213. package/dist/entity-schema.js.map +1 -0
  214. package/dist/explicit-capture.d.ts +6 -3
  215. package/dist/explicit-capture.js +2 -2
  216. package/dist/extraction-judge.d.ts +66 -0
  217. package/dist/extraction-judge.js +18 -0
  218. package/dist/extraction-judge.js.map +1 -0
  219. package/dist/extraction.d.ts +1 -0
  220. package/dist/extraction.js +12 -10
  221. package/dist/fallback-llm.d.ts +11 -2
  222. package/dist/fallback-llm.js +4 -4
  223. package/dist/graph.js +1 -1
  224. package/dist/harmonic-retrieval.js +2 -1
  225. package/dist/importance.d.ts +11 -1
  226. package/dist/importance.js +3 -1
  227. package/dist/index.d.ts +1027 -9
  228. package/dist/index.js +3303 -349
  229. package/dist/index.js.map +1 -1
  230. package/dist/intent.d.ts +2 -1
  231. package/dist/intent.js +3 -1
  232. package/dist/lifecycle.js +1 -1
  233. package/dist/local-llm.d.ts +10 -3
  234. package/dist/local-llm.js +2 -2
  235. package/dist/logger.d.ts +1 -1
  236. package/dist/logger.js +1 -1
  237. package/dist/memory-cache.d.ts +2 -2
  238. package/dist/memory-cache.js +1 -1
  239. package/dist/{memory-projection-store-NxMkbocT.d.ts → memory-projection-store-DeSXPh1j.d.ts} +1 -1
  240. package/dist/memory-projection-store.d.ts +1 -1
  241. package/dist/model-registry.js +2 -2
  242. package/dist/models-json.js +2 -2
  243. package/dist/native-knowledge.js +2 -2
  244. package/dist/negative.js +2 -2
  245. package/dist/operator-toolkit.js +20 -15
  246. package/dist/{orchestrator-zTa-Qo-1.d.ts → orchestrator-DRYA6_lW.d.ts} +273 -9
  247. package/dist/orchestrator.d.ts +6 -3
  248. package/dist/orchestrator.js +76 -63
  249. package/dist/page-versioning.d.ts +77 -0
  250. package/dist/page-versioning.js +15 -0
  251. package/dist/page-versioning.js.map +1 -0
  252. package/dist/plugin-id.d.ts +37 -0
  253. package/dist/plugin-id.js +11 -0
  254. package/dist/plugin-id.js.map +1 -0
  255. package/dist/policy-runtime.js +2 -2
  256. package/dist/profiling.js +2 -2
  257. package/dist/qmd.d.ts +5 -2
  258. package/dist/qmd.js +4 -3
  259. package/dist/recall-audit.d.ts +20 -0
  260. package/dist/recall-audit.js +50 -0
  261. package/dist/recall-audit.js.map +1 -0
  262. package/dist/recall-mmr.d.ts +152 -0
  263. package/dist/recall-mmr.js +17 -0
  264. package/dist/recall-mmr.js.map +1 -0
  265. package/dist/recall-qos.js +2 -2
  266. package/dist/recall-state.d.ts +28 -1
  267. package/dist/recall-state.js +2 -2
  268. package/dist/relevance.js +2 -2
  269. package/dist/resolution-QBTDHTG7.js +100 -0
  270. package/dist/resolution-QBTDHTG7.js.map +1 -0
  271. package/dist/resolve-provider-secret.d.ts +24 -1
  272. package/dist/resolve-provider-secret.js +4 -2
  273. package/dist/resume-bundles.js +6 -5
  274. package/dist/retrieval-agents.js +2 -2
  275. package/dist/retrieval.js +2 -2
  276. package/dist/schemas.d.ts +412 -54
  277. package/dist/schemas.js +3 -1
  278. package/dist/sdk-compat.d.ts +2 -0
  279. package/dist/sdk-compat.js +6 -3
  280. package/dist/sdk-compat.js.map +1 -1
  281. package/dist/semantic-chunking.d.ts +87 -0
  282. package/dist/semantic-chunking.js +20 -0
  283. package/dist/semantic-chunking.js.map +1 -0
  284. package/dist/semantic-consolidation-DrvSYRdB.d.ts +119 -0
  285. package/dist/semantic-consolidation.d.ts +4 -42
  286. package/dist/semantic-consolidation.js +23 -2
  287. package/dist/semantic-rule-promotion.js +9 -6
  288. package/dist/semantic-rule-verifier.js +10 -7
  289. package/dist/session-observer-state.js +2 -2
  290. package/dist/session-toggles.d.ts +22 -0
  291. package/dist/session-toggles.js +116 -0
  292. package/dist/session-toggles.js.map +1 -0
  293. package/dist/skills-registry.d.ts +47 -0
  294. package/dist/skills-registry.js +48 -0
  295. package/dist/skills-registry.js.map +1 -0
  296. package/dist/source-attribution.d.ts +169 -0
  297. package/dist/source-attribution.js +27 -0
  298. package/dist/source-attribution.js.map +1 -0
  299. package/dist/storage.d.ts +171 -10
  300. package/dist/storage.js +16 -5
  301. package/dist/summarizer.js +7 -7
  302. package/dist/temporal-supersession.d.ts +127 -0
  303. package/dist/temporal-supersession.js +20 -0
  304. package/dist/temporal-supersession.js.map +1 -0
  305. package/dist/threading.js +2 -2
  306. package/dist/tier-migration.d.ts +2 -1
  307. package/dist/tier-routing.js +2 -2
  308. package/dist/tokens.d.ts +21 -1
  309. package/dist/tokens.js +5 -1
  310. package/dist/transcript.js +2 -2
  311. package/dist/types-DJhqDJUV.d.ts +50 -0
  312. package/dist/types.d.ts +529 -3
  313. package/dist/types.js +1 -1
  314. package/dist/utility-learner.js +2 -2
  315. package/dist/utility-runtime.js +3 -3
  316. package/dist/verified-recall.js +11 -8
  317. package/dist/whitespace.d.ts +4 -0
  318. package/dist/whitespace.js +9 -0
  319. package/dist/whitespace.js.map +1 -0
  320. package/package.json +14 -8
  321. package/dist/chunk-2CJCWDMR.js +0 -87
  322. package/dist/chunk-2CJCWDMR.js.map +0 -1
  323. package/dist/chunk-2PO5ZRKV.js.map +0 -1
  324. package/dist/chunk-6UJQNRIO.js.map +0 -1
  325. package/dist/chunk-AAI7JARD.js.map +0 -1
  326. package/dist/chunk-B7LOFDVE.js.map +0 -1
  327. package/dist/chunk-BDFZXRSO.js.map +0 -1
  328. package/dist/chunk-CXWFUJR2.js.map +0 -1
  329. package/dist/chunk-DORBM6OB.js +0 -81
  330. package/dist/chunk-DORBM6OB.js.map +0 -1
  331. package/dist/chunk-ESSMF2FR.js.map +0 -1
  332. package/dist/chunk-HG2NKWR2.js.map +0 -1
  333. package/dist/chunk-HLBYLYRD.js.map +0 -1
  334. package/dist/chunk-HLXVTBF3.js.map +0 -1
  335. package/dist/chunk-ISY75RLM.js.map +0 -1
  336. package/dist/chunk-IZME7KW2.js.map +0 -1
  337. package/dist/chunk-KL4CP4SB.js.map +0 -1
  338. package/dist/chunk-KWBU5S5U.js.map +0 -1
  339. package/dist/chunk-M5ZBBBJI.js.map +0 -1
  340. package/dist/chunk-MDDAA2AO.js.map +0 -1
  341. package/dist/chunk-MWGVGUIS.js.map +0 -1
  342. package/dist/chunk-ORZMT74A.js.map +0 -1
  343. package/dist/chunk-OTFNI3OO.js.map +0 -1
  344. package/dist/chunk-PGK3VUHN.js.map +0 -1
  345. package/dist/chunk-QCCCQT3O.js.map +0 -1
  346. package/dist/chunk-QDOSNLB4.js.map +0 -1
  347. package/dist/chunk-QPKFPHOO.js +0 -178
  348. package/dist/chunk-QPKFPHOO.js.map +0 -1
  349. package/dist/chunk-QWUUMMIK.js.map +0 -1
  350. package/dist/chunk-QY2BHY5O.js.map +0 -1
  351. package/dist/chunk-TVVVQQAK.js.map +0 -1
  352. package/dist/chunk-U4PV25RD.js.map +0 -1
  353. package/dist/chunk-UYSKNO6E.js.map +0 -1
  354. package/dist/chunk-V4YC4LUK.js.map +0 -1
  355. package/dist/chunk-WWIQTB2Y.js.map +0 -1
  356. package/dist/chunk-XUHI52HK.js.map +0 -1
  357. package/dist/chunk-YNCQ7E4M.js.map +0 -1
  358. package/dist/chunk-ZJLY4QSU.js.map +0 -1
  359. /package/dist/{engine-2A6J4XEX.js.map → abort-error.js.map} +0 -0
  360. /package/dist/{chunk-NTTLPF7F.js.map → chunk-3QFQGRHO.js.map} +0 -0
  361. /package/dist/{chunk-G3AG3KZN.js.map → chunk-5IZL4DCV.js.map} +0 -0
  362. /package/dist/{chunk-BRK4ODMI.js.map → chunk-5NPGSAVB.js.map} +0 -0
  363. /package/dist/{chunk-QANCTXQF.js.map → chunk-6LX5ORAS.js.map} +0 -0
  364. /package/dist/{chunk-UIYZ5T3I.js.map → chunk-6UJ47TVX.js.map} +0 -0
  365. /package/dist/{chunk-L5RPWGFK.js.map → chunk-7DHTMOND.js.map} +0 -0
  366. /package/dist/{chunk-L7WO3MZ4.js.map → chunk-7ECD5ATE.js.map} +0 -0
  367. /package/dist/{chunk-Q6FETXJA.js.map → chunk-7SEAZFFB.js.map} +0 -0
  368. /package/dist/{chunk-SCHEKPYH.js.map → chunk-C2EFFULQ.js.map} +0 -0
  369. /package/dist/{chunk-GJR6D6KC.js.map → chunk-D654IBA6.js.map} +0 -0
  370. /package/dist/{chunk-UV2FO7J4.js.map → chunk-E6K4NIEU.js.map} +0 -0
  371. /package/dist/{chunk-T4WRIV2C.js.map → chunk-EABGC2TL.js.map} +0 -0
  372. /package/dist/{chunk-ONRU4L2N.js.map → chunk-FEMOX5AD.js.map} +0 -0
  373. /package/dist/{chunk-IFFFR3MR.js.map → chunk-FSFEQI74.js.map} +0 -0
  374. /package/dist/{chunk-J3BT33K7.js.map → chunk-ITRLGI2T.js.map} +0 -0
  375. /package/dist/{chunk-J47FNDR7.js.map → chunk-JIU55F3X.js.map} +0 -0
  376. /package/dist/{chunk-ZKYI7UVO.js.map → chunk-JR4ZC3G4.js.map} +0 -0
  377. /package/dist/{chunk-UCYSTFZR.js.map → chunk-JRNQ3RNA.js.map} +0 -0
  378. /package/dist/{chunk-GPGBSNKM.js.map → chunk-K4FLSOR5.js.map} +0 -0
  379. /package/dist/{chunk-LP47L3ZX.js.map → chunk-N42IWANG.js.map} +0 -0
  380. /package/dist/{chunk-YNI4S5WT.js.map → chunk-N53K2EXC.js.map} +0 -0
  381. /package/dist/{chunk-763GUIOU.js.map → chunk-NBNN5GOB.js.map} +0 -0
  382. /package/dist/{chunk-OOSWAUYB.js.map → chunk-ODWDQNRE.js.map} +0 -0
  383. /package/dist/{chunk-OTAVQCSF.js.map → chunk-PYXS46O7.js.map} +0 -0
  384. /package/dist/{chunk-4A24LIM2.js.map → chunk-S75M5ZRK.js.map} +0 -0
  385. /package/dist/{chunk-M5KEYE5E.js.map → chunk-URB2WSKZ.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -7,57 +7,168 @@ 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: "extraction" | "consolidation" | "replay" | "manual" | "unknown";
11
10
  confidence: number;
11
+ source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
12
12
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
13
13
  importance: number;
14
14
  }, {
15
- source: "extraction" | "consolidation" | "replay" | "manual" | "unknown";
16
15
  confidence: number;
16
+ source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
17
17
  lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
18
18
  importance: number;
19
19
  }>;
20
20
  declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
21
  declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
22
+ declare const ProcedureStepExtractSchema: z.ZodObject<{
23
+ order: z.ZodNumber;
24
+ intent: z.ZodString;
25
+ toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
26
+ kind: z.ZodString;
27
+ signature: z.ZodString;
28
+ }, "strip", z.ZodTypeAny, {
29
+ kind: string;
30
+ signature: string;
31
+ }, {
32
+ kind: string;
33
+ signature: string;
34
+ }>>>;
35
+ expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ order: number;
39
+ intent: string;
40
+ toolCall?: {
41
+ kind: string;
42
+ signature: string;
43
+ } | null | undefined;
44
+ expectedOutcome?: string | null | undefined;
45
+ optional?: boolean | null | undefined;
46
+ }, {
47
+ order: number;
48
+ intent: string;
49
+ toolCall?: {
50
+ kind: string;
51
+ signature: string;
52
+ } | null | undefined;
53
+ expectedOutcome?: string | null | undefined;
54
+ optional?: boolean | null | undefined;
55
+ }>;
22
56
  declare const ExtractedFactSchema: z.ZodObject<{
23
- category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
57
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure"]>;
24
58
  content: z.ZodString;
25
59
  confidence: z.ZodNumber;
26
60
  tags: z.ZodArray<z.ZodString, "many">;
27
61
  entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
62
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
63
  structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
64
+ procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
65
+ order: z.ZodNumber;
66
+ intent: z.ZodString;
67
+ toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
68
+ kind: z.ZodString;
69
+ signature: z.ZodString;
70
+ }, "strip", z.ZodTypeAny, {
71
+ kind: string;
72
+ signature: string;
73
+ }, {
74
+ kind: string;
75
+ signature: string;
76
+ }>>>;
77
+ expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
78
+ optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ order: number;
81
+ intent: string;
82
+ toolCall?: {
83
+ kind: string;
84
+ signature: string;
85
+ } | null | undefined;
86
+ expectedOutcome?: string | null | undefined;
87
+ optional?: boolean | null | undefined;
88
+ }, {
89
+ order: number;
90
+ intent: string;
91
+ toolCall?: {
92
+ kind: string;
93
+ signature: string;
94
+ } | null | undefined;
95
+ expectedOutcome?: string | null | undefined;
96
+ optional?: boolean | null | undefined;
97
+ }>, "many">>>;
30
98
  }, "strip", z.ZodTypeAny, {
99
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
31
100
  content: string;
32
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
33
101
  confidence: number;
34
102
  tags: string[];
35
103
  entityRef?: string | null | undefined;
36
104
  structuredAttributes?: Record<string, string> | null | undefined;
37
105
  promptedByQuestion?: string | null | undefined;
106
+ procedureSteps?: {
107
+ order: number;
108
+ intent: string;
109
+ toolCall?: {
110
+ kind: string;
111
+ signature: string;
112
+ } | null | undefined;
113
+ expectedOutcome?: string | null | undefined;
114
+ optional?: boolean | null | undefined;
115
+ }[] | null | undefined;
38
116
  }, {
117
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
39
118
  content: string;
40
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
41
119
  confidence: number;
42
120
  tags: string[];
43
121
  entityRef?: string | null | undefined;
44
122
  structuredAttributes?: Record<string, string> | null | undefined;
45
123
  promptedByQuestion?: string | null | undefined;
124
+ procedureSteps?: {
125
+ order: number;
126
+ intent: string;
127
+ toolCall?: {
128
+ kind: string;
129
+ signature: string;
130
+ } | null | undefined;
131
+ expectedOutcome?: string | null | undefined;
132
+ optional?: boolean | null | undefined;
133
+ }[] | null | undefined;
46
134
  }>;
47
135
  declare const EntityMentionSchema: z.ZodObject<{
48
136
  name: z.ZodString;
49
137
  type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
50
138
  facts: z.ZodArray<z.ZodString, "many">;
51
139
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
140
+ structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
141
+ key: z.ZodString;
142
+ title: z.ZodString;
143
+ facts: z.ZodArray<z.ZodString, "many">;
144
+ }, "strip", z.ZodTypeAny, {
145
+ key: string;
146
+ title: string;
147
+ facts: string[];
148
+ }, {
149
+ key: string;
150
+ title: string;
151
+ facts: string[];
152
+ }>, "many">>>;
52
153
  }, "strip", z.ZodTypeAny, {
53
154
  facts: string[];
54
155
  name: string;
55
- type: "person" | "project" | "tool" | "company" | "place" | "other";
156
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
157
+ structuredSections?: {
158
+ key: string;
159
+ title: string;
160
+ facts: string[];
161
+ }[] | null | undefined;
56
162
  promptedByQuestion?: string | null | undefined;
57
163
  }, {
58
164
  facts: string[];
59
165
  name: string;
60
- type: "person" | "project" | "tool" | "company" | "place" | "other";
166
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
167
+ structuredSections?: {
168
+ key: string;
169
+ title: string;
170
+ facts: string[];
171
+ }[] | null | undefined;
61
172
  promptedByQuestion?: string | null | undefined;
62
173
  }>;
63
174
  declare const ExtractedQuestionSchema: z.ZodObject<{
@@ -65,12 +176,12 @@ declare const ExtractedQuestionSchema: z.ZodObject<{
65
176
  context: z.ZodString;
66
177
  priority: z.ZodNumber;
67
178
  }, "strip", z.ZodTypeAny, {
68
- priority: number;
69
179
  question: string;
180
+ priority: number;
70
181
  context: string;
71
182
  }, {
72
- priority: number;
73
183
  question: string;
184
+ priority: number;
74
185
  context: string;
75
186
  }>;
76
187
  declare const ProactiveQuestionsResultSchema: z.ZodObject<{
@@ -79,24 +190,24 @@ declare const ProactiveQuestionsResultSchema: z.ZodObject<{
79
190
  context: z.ZodString;
80
191
  priority: z.ZodNumber;
81
192
  }, "strip", z.ZodTypeAny, {
82
- priority: number;
83
193
  question: string;
194
+ priority: number;
84
195
  context: string;
85
196
  }, {
86
- priority: number;
87
197
  question: string;
198
+ priority: number;
88
199
  context: string;
89
200
  }>, "many">;
90
201
  }, "strip", z.ZodTypeAny, {
91
202
  questions: {
92
- priority: number;
93
203
  question: string;
204
+ priority: number;
94
205
  context: string;
95
206
  }[];
96
207
  }, {
97
208
  questions: {
98
- priority: number;
99
209
  question: string;
210
+ priority: number;
100
211
  context: string;
101
212
  }[];
102
213
  }>;
@@ -118,29 +229,83 @@ declare const ExtractedRelationshipSchema: z.ZodObject<{
118
229
  }>;
119
230
  declare const ProactiveExtractionResultSchema: z.ZodObject<{
120
231
  facts: z.ZodArray<z.ZodObject<{
121
- category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
232
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure"]>;
122
233
  content: z.ZodString;
123
234
  confidence: z.ZodNumber;
124
235
  tags: z.ZodArray<z.ZodString, "many">;
125
236
  entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
237
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
238
  structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
239
+ procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
240
+ order: z.ZodNumber;
241
+ intent: z.ZodString;
242
+ toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
243
+ kind: z.ZodString;
244
+ signature: z.ZodString;
245
+ }, "strip", z.ZodTypeAny, {
246
+ kind: string;
247
+ signature: string;
248
+ }, {
249
+ kind: string;
250
+ signature: string;
251
+ }>>>;
252
+ expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
253
+ optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ order: number;
256
+ intent: string;
257
+ toolCall?: {
258
+ kind: string;
259
+ signature: string;
260
+ } | null | undefined;
261
+ expectedOutcome?: string | null | undefined;
262
+ optional?: boolean | null | undefined;
263
+ }, {
264
+ order: number;
265
+ intent: string;
266
+ toolCall?: {
267
+ kind: string;
268
+ signature: string;
269
+ } | null | undefined;
270
+ expectedOutcome?: string | null | undefined;
271
+ optional?: boolean | null | undefined;
272
+ }>, "many">>>;
128
273
  }, "strip", z.ZodTypeAny, {
274
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
129
275
  content: string;
130
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
131
276
  confidence: number;
132
277
  tags: string[];
133
278
  entityRef?: string | null | undefined;
134
279
  structuredAttributes?: Record<string, string> | null | undefined;
135
280
  promptedByQuestion?: string | null | undefined;
281
+ procedureSteps?: {
282
+ order: number;
283
+ intent: string;
284
+ toolCall?: {
285
+ kind: string;
286
+ signature: string;
287
+ } | null | undefined;
288
+ expectedOutcome?: string | null | undefined;
289
+ optional?: boolean | null | undefined;
290
+ }[] | null | undefined;
136
291
  }, {
292
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
137
293
  content: string;
138
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
139
294
  confidence: number;
140
295
  tags: string[];
141
296
  entityRef?: string | null | undefined;
142
297
  structuredAttributes?: Record<string, string> | null | undefined;
143
298
  promptedByQuestion?: string | null | undefined;
299
+ procedureSteps?: {
300
+ order: number;
301
+ intent: string;
302
+ toolCall?: {
303
+ kind: string;
304
+ signature: string;
305
+ } | null | undefined;
306
+ expectedOutcome?: string | null | undefined;
307
+ optional?: boolean | null | undefined;
308
+ }[] | null | undefined;
144
309
  }>, "many">;
145
310
  profileUpdates: z.ZodArray<z.ZodString, "many">;
146
311
  entities: z.ZodArray<z.ZodObject<{
@@ -148,15 +313,38 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
148
313
  type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
149
314
  facts: z.ZodArray<z.ZodString, "many">;
150
315
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
+ structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
317
+ key: z.ZodString;
318
+ title: z.ZodString;
319
+ facts: z.ZodArray<z.ZodString, "many">;
320
+ }, "strip", z.ZodTypeAny, {
321
+ key: string;
322
+ title: string;
323
+ facts: string[];
324
+ }, {
325
+ key: string;
326
+ title: string;
327
+ facts: string[];
328
+ }>, "many">>>;
151
329
  }, "strip", z.ZodTypeAny, {
152
330
  facts: string[];
153
331
  name: string;
154
- type: "person" | "project" | "tool" | "company" | "place" | "other";
332
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
333
+ structuredSections?: {
334
+ key: string;
335
+ title: string;
336
+ facts: string[];
337
+ }[] | null | undefined;
155
338
  promptedByQuestion?: string | null | undefined;
156
339
  }, {
157
340
  facts: string[];
158
341
  name: string;
159
- type: "person" | "project" | "tool" | "company" | "place" | "other";
342
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
343
+ structuredSections?: {
344
+ key: string;
345
+ title: string;
346
+ facts: string[];
347
+ }[] | null | undefined;
160
348
  promptedByQuestion?: string | null | undefined;
161
349
  }>, "many">;
162
350
  relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -177,18 +365,33 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
177
365
  }>, "many">>>;
178
366
  }, "strip", z.ZodTypeAny, {
179
367
  facts: {
368
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
180
369
  content: string;
181
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
182
370
  confidence: number;
183
371
  tags: string[];
184
372
  entityRef?: string | null | undefined;
185
373
  structuredAttributes?: Record<string, string> | null | undefined;
186
374
  promptedByQuestion?: string | null | undefined;
375
+ procedureSteps?: {
376
+ order: number;
377
+ intent: string;
378
+ toolCall?: {
379
+ kind: string;
380
+ signature: string;
381
+ } | null | undefined;
382
+ expectedOutcome?: string | null | undefined;
383
+ optional?: boolean | null | undefined;
384
+ }[] | null | undefined;
187
385
  }[];
188
386
  entities: {
189
387
  facts: string[];
190
388
  name: string;
191
- type: "person" | "project" | "tool" | "company" | "place" | "other";
389
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
390
+ structuredSections?: {
391
+ key: string;
392
+ title: string;
393
+ facts: string[];
394
+ }[] | null | undefined;
192
395
  promptedByQuestion?: string | null | undefined;
193
396
  }[];
194
397
  profileUpdates: string[];
@@ -200,18 +403,33 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
200
403
  }[] | null | undefined;
201
404
  }, {
202
405
  facts: {
406
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
203
407
  content: string;
204
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
205
408
  confidence: number;
206
409
  tags: string[];
207
410
  entityRef?: string | null | undefined;
208
411
  structuredAttributes?: Record<string, string> | null | undefined;
209
412
  promptedByQuestion?: string | null | undefined;
413
+ procedureSteps?: {
414
+ order: number;
415
+ intent: string;
416
+ toolCall?: {
417
+ kind: string;
418
+ signature: string;
419
+ } | null | undefined;
420
+ expectedOutcome?: string | null | undefined;
421
+ optional?: boolean | null | undefined;
422
+ }[] | null | undefined;
210
423
  }[];
211
424
  entities: {
212
425
  facts: string[];
213
426
  name: string;
214
- type: "person" | "project" | "tool" | "company" | "place" | "other";
427
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
428
+ structuredSections?: {
429
+ key: string;
430
+ title: string;
431
+ facts: string[];
432
+ }[] | null | undefined;
215
433
  promptedByQuestion?: string | null | undefined;
216
434
  }[];
217
435
  profileUpdates: string[];
@@ -224,29 +442,83 @@ declare const ProactiveExtractionResultSchema: z.ZodObject<{
224
442
  }>;
225
443
  declare const ExtractionResultSchema: z.ZodObject<{
226
444
  facts: z.ZodArray<z.ZodObject<{
227
- category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
445
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule", "procedure"]>;
228
446
  content: z.ZodString;
229
447
  confidence: z.ZodNumber;
230
448
  tags: z.ZodArray<z.ZodString, "many">;
231
449
  entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
232
450
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
451
  structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
452
+ procedureSteps: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
453
+ order: z.ZodNumber;
454
+ intent: z.ZodString;
455
+ toolCall: z.ZodNullable<z.ZodOptional<z.ZodObject<{
456
+ kind: z.ZodString;
457
+ signature: z.ZodString;
458
+ }, "strip", z.ZodTypeAny, {
459
+ kind: string;
460
+ signature: string;
461
+ }, {
462
+ kind: string;
463
+ signature: string;
464
+ }>>>;
465
+ expectedOutcome: z.ZodNullable<z.ZodOptional<z.ZodString>>;
466
+ optional: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ order: number;
469
+ intent: string;
470
+ toolCall?: {
471
+ kind: string;
472
+ signature: string;
473
+ } | null | undefined;
474
+ expectedOutcome?: string | null | undefined;
475
+ optional?: boolean | null | undefined;
476
+ }, {
477
+ order: number;
478
+ intent: string;
479
+ toolCall?: {
480
+ kind: string;
481
+ signature: string;
482
+ } | null | undefined;
483
+ expectedOutcome?: string | null | undefined;
484
+ optional?: boolean | null | undefined;
485
+ }>, "many">>>;
234
486
  }, "strip", z.ZodTypeAny, {
487
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
235
488
  content: string;
236
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
237
489
  confidence: number;
238
490
  tags: string[];
239
491
  entityRef?: string | null | undefined;
240
492
  structuredAttributes?: Record<string, string> | null | undefined;
241
493
  promptedByQuestion?: string | null | undefined;
494
+ procedureSteps?: {
495
+ order: number;
496
+ intent: string;
497
+ toolCall?: {
498
+ kind: string;
499
+ signature: string;
500
+ } | null | undefined;
501
+ expectedOutcome?: string | null | undefined;
502
+ optional?: boolean | null | undefined;
503
+ }[] | null | undefined;
242
504
  }, {
505
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
243
506
  content: string;
244
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
245
507
  confidence: number;
246
508
  tags: string[];
247
509
  entityRef?: string | null | undefined;
248
510
  structuredAttributes?: Record<string, string> | null | undefined;
249
511
  promptedByQuestion?: string | null | undefined;
512
+ procedureSteps?: {
513
+ order: number;
514
+ intent: string;
515
+ toolCall?: {
516
+ kind: string;
517
+ signature: string;
518
+ } | null | undefined;
519
+ expectedOutcome?: string | null | undefined;
520
+ optional?: boolean | null | undefined;
521
+ }[] | null | undefined;
250
522
  }>, "many">;
251
523
  profileUpdates: z.ZodArray<z.ZodString, "many">;
252
524
  entities: z.ZodArray<z.ZodObject<{
@@ -254,15 +526,38 @@ declare const ExtractionResultSchema: z.ZodObject<{
254
526
  type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
255
527
  facts: z.ZodArray<z.ZodString, "many">;
256
528
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
529
+ structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
530
+ key: z.ZodString;
531
+ title: z.ZodString;
532
+ facts: z.ZodArray<z.ZodString, "many">;
533
+ }, "strip", z.ZodTypeAny, {
534
+ key: string;
535
+ title: string;
536
+ facts: string[];
537
+ }, {
538
+ key: string;
539
+ title: string;
540
+ facts: string[];
541
+ }>, "many">>>;
257
542
  }, "strip", z.ZodTypeAny, {
258
543
  facts: string[];
259
544
  name: string;
260
- type: "person" | "project" | "tool" | "company" | "place" | "other";
545
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
546
+ structuredSections?: {
547
+ key: string;
548
+ title: string;
549
+ facts: string[];
550
+ }[] | null | undefined;
261
551
  promptedByQuestion?: string | null | undefined;
262
552
  }, {
263
553
  facts: string[];
264
554
  name: string;
265
- type: "person" | "project" | "tool" | "company" | "place" | "other";
555
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
556
+ structuredSections?: {
557
+ key: string;
558
+ title: string;
559
+ facts: string[];
560
+ }[] | null | undefined;
266
561
  promptedByQuestion?: string | null | undefined;
267
562
  }>, "many">;
268
563
  questions: z.ZodArray<z.ZodObject<{
@@ -270,12 +565,12 @@ declare const ExtractionResultSchema: z.ZodObject<{
270
565
  context: z.ZodString;
271
566
  priority: z.ZodNumber;
272
567
  }, "strip", z.ZodTypeAny, {
273
- priority: number;
274
568
  question: string;
569
+ priority: number;
275
570
  context: string;
276
571
  }, {
277
- priority: number;
278
572
  question: string;
573
+ priority: number;
279
574
  context: string;
280
575
  }>, "many">;
281
576
  identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -296,26 +591,41 @@ declare const ExtractionResultSchema: z.ZodObject<{
296
591
  promptedByQuestion?: string | null | undefined;
297
592
  }>, "many">>>;
298
593
  }, "strip", z.ZodTypeAny, {
299
- questions: {
300
- priority: number;
301
- question: string;
302
- context: string;
303
- }[];
304
594
  facts: {
595
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
305
596
  content: string;
306
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
307
597
  confidence: number;
308
598
  tags: string[];
309
599
  entityRef?: string | null | undefined;
310
600
  structuredAttributes?: Record<string, string> | null | undefined;
311
601
  promptedByQuestion?: string | null | undefined;
602
+ procedureSteps?: {
603
+ order: number;
604
+ intent: string;
605
+ toolCall?: {
606
+ kind: string;
607
+ signature: string;
608
+ } | null | undefined;
609
+ expectedOutcome?: string | null | undefined;
610
+ optional?: boolean | null | undefined;
611
+ }[] | null | undefined;
312
612
  }[];
313
613
  entities: {
314
614
  facts: string[];
315
615
  name: string;
316
- type: "person" | "project" | "tool" | "company" | "place" | "other";
616
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
617
+ structuredSections?: {
618
+ key: string;
619
+ title: string;
620
+ facts: string[];
621
+ }[] | null | undefined;
317
622
  promptedByQuestion?: string | null | undefined;
318
623
  }[];
624
+ questions: {
625
+ question: string;
626
+ priority: number;
627
+ context: string;
628
+ }[];
319
629
  profileUpdates: string[];
320
630
  relationships?: {
321
631
  source: string;
@@ -325,26 +635,41 @@ declare const ExtractionResultSchema: z.ZodObject<{
325
635
  }[] | null | undefined;
326
636
  identityReflection?: string | null | undefined;
327
637
  }, {
328
- questions: {
329
- priority: number;
330
- question: string;
331
- context: string;
332
- }[];
333
638
  facts: {
639
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure";
334
640
  content: string;
335
- category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
336
641
  confidence: number;
337
642
  tags: string[];
338
643
  entityRef?: string | null | undefined;
339
644
  structuredAttributes?: Record<string, string> | null | undefined;
340
645
  promptedByQuestion?: string | null | undefined;
646
+ procedureSteps?: {
647
+ order: number;
648
+ intent: string;
649
+ toolCall?: {
650
+ kind: string;
651
+ signature: string;
652
+ } | null | undefined;
653
+ expectedOutcome?: string | null | undefined;
654
+ optional?: boolean | null | undefined;
655
+ }[] | null | undefined;
341
656
  }[];
342
657
  entities: {
343
658
  facts: string[];
344
659
  name: string;
345
- type: "person" | "project" | "tool" | "company" | "place" | "other";
660
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
661
+ structuredSections?: {
662
+ key: string;
663
+ title: string;
664
+ facts: string[];
665
+ }[] | null | undefined;
346
666
  promptedByQuestion?: string | null | undefined;
347
667
  }[];
668
+ questions: {
669
+ question: string;
670
+ priority: number;
671
+ context: string;
672
+ }[];
348
673
  profileUpdates: string[];
349
674
  relationships?: {
350
675
  source: string;
@@ -399,15 +724,38 @@ declare const ConsolidationResultSchema: z.ZodObject<{
399
724
  type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
400
725
  facts: z.ZodArray<z.ZodString, "many">;
401
726
  promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
727
+ structuredSections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
728
+ key: z.ZodString;
729
+ title: z.ZodString;
730
+ facts: z.ZodArray<z.ZodString, "many">;
731
+ }, "strip", z.ZodTypeAny, {
732
+ key: string;
733
+ title: string;
734
+ facts: string[];
735
+ }, {
736
+ key: string;
737
+ title: string;
738
+ facts: string[];
739
+ }>, "many">>>;
402
740
  }, "strip", z.ZodTypeAny, {
403
741
  facts: string[];
404
742
  name: string;
405
- type: "person" | "project" | "tool" | "company" | "place" | "other";
743
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
744
+ structuredSections?: {
745
+ key: string;
746
+ title: string;
747
+ facts: string[];
748
+ }[] | null | undefined;
406
749
  promptedByQuestion?: string | null | undefined;
407
750
  }, {
408
751
  facts: string[];
409
752
  name: string;
410
- type: "person" | "project" | "tool" | "company" | "place" | "other";
753
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
754
+ structuredSections?: {
755
+ key: string;
756
+ title: string;
757
+ facts: string[];
758
+ }[] | null | undefined;
411
759
  promptedByQuestion?: string | null | undefined;
412
760
  }>, "many">;
413
761
  }, "strip", z.ZodTypeAny, {
@@ -422,7 +770,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
422
770
  entityUpdates: {
423
771
  facts: string[];
424
772
  name: string;
425
- type: "person" | "project" | "tool" | "company" | "place" | "other";
773
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
774
+ structuredSections?: {
775
+ key: string;
776
+ title: string;
777
+ facts: string[];
778
+ }[] | null | undefined;
426
779
  promptedByQuestion?: string | null | undefined;
427
780
  }[];
428
781
  }, {
@@ -437,7 +790,12 @@ declare const ConsolidationResultSchema: z.ZodObject<{
437
790
  entityUpdates: {
438
791
  facts: string[];
439
792
  name: string;
440
- type: "person" | "project" | "tool" | "company" | "place" | "other";
793
+ type: "project" | "person" | "tool" | "company" | "place" | "other";
794
+ structuredSections?: {
795
+ key: string;
796
+ title: string;
797
+ facts: string[];
798
+ }[] | null | undefined;
441
799
  promptedByQuestion?: string | null | undefined;
442
800
  }[];
443
801
  }>;
@@ -585,8 +943,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
585
943
  reason: z.ZodString;
586
944
  appliedAt: z.ZodString;
587
945
  }, "strip", z.ZodTypeAny, {
588
- reason: string;
589
946
  confidence: number;
947
+ reason: string;
590
948
  parameter: string;
591
949
  previousValue: number;
592
950
  nextValue: number;
@@ -594,8 +952,8 @@ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
594
952
  evidenceCount: number;
595
953
  appliedAt: string;
596
954
  }, {
597
- reason: string;
598
955
  confidence: number;
956
+ reason: string;
599
957
  parameter: string;
600
958
  previousValue: number;
601
959
  nextValue: number;
@@ -619,8 +977,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
619
977
  reason: z.ZodString;
620
978
  appliedAt: z.ZodString;
621
979
  }, "strip", z.ZodTypeAny, {
622
- reason: string;
623
980
  confidence: number;
981
+ reason: string;
624
982
  parameter: string;
625
983
  previousValue: number;
626
984
  nextValue: number;
@@ -628,8 +986,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
628
986
  evidenceCount: number;
629
987
  appliedAt: string;
630
988
  }, {
631
- reason: string;
632
989
  confidence: number;
990
+ reason: string;
633
991
  parameter: string;
634
992
  previousValue: number;
635
993
  nextValue: number;
@@ -646,8 +1004,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
646
1004
  maxDeltaPerCycle: number;
647
1005
  protectedParams: string[];
648
1006
  adjustments: {
649
- reason: string;
650
1007
  confidence: number;
1008
+ reason: string;
651
1009
  parameter: string;
652
1010
  previousValue: number;
653
1011
  nextValue: number;
@@ -663,8 +1021,8 @@ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
663
1021
  maxDeltaPerCycle: number;
664
1022
  protectedParams: string[];
665
1023
  adjustments: {
666
- reason: string;
667
1024
  confidence: number;
1025
+ reason: string;
668
1026
  parameter: string;
669
1027
  previousValue: number;
670
1028
  nextValue: number;
@@ -685,4 +1043,4 @@ type ExtractionResultParsed = z.infer<typeof ExtractionResultSchema>;
685
1043
  type ConsolidationItemParsed = z.infer<typeof ConsolidationItemSchema>;
686
1044
  type ConsolidationResultParsed = z.infer<typeof ConsolidationResultSchema>;
687
1045
 
688
- export { type BehaviorLoopAdjustmentParsed, BehaviorLoopAdjustmentSchema, type BehaviorLoopPolicyStateParsed, BehaviorLoopPolicyStateSchema, type ConsolidationItemParsed, ConsolidationItemSchema, type ConsolidationResultParsed, ConsolidationResultSchema, type ContradictionVerificationResult, ContradictionVerificationSchema, DaySummaryResultSchema, type EntityMentionParsed, EntityMentionSchema, type ExtractedFactParsed, ExtractedFactSchema, type ExtractedQuestionParsed, ExtractedQuestionSchema, ExtractedRelationshipSchema, type ExtractionResultParsed, ExtractionResultSchema, type IdentityConsolidationResultParsed, IdentityConsolidationResultSchema, type MemoryActionEligibilityContextParsed, MemoryActionEligibilityContextSchema, type MemoryActionTypeParsed, MemoryActionTypeSchema, type MemoryLink, MemoryLinkSchema, type MemorySummaryResult, MemorySummarySchema, ProactiveExtractionResultSchema, type ProactiveQuestionsResultParsed, ProactiveQuestionsResultSchema, ProfileConsolidationResultSchema, type SuggestedLinks, SuggestedLinksSchema, buildProfileConsolidationResultSchema, parseMemoryActionEligibilityContext, parseMemoryActionType };
1046
+ export { type BehaviorLoopAdjustmentParsed, BehaviorLoopAdjustmentSchema, type BehaviorLoopPolicyStateParsed, BehaviorLoopPolicyStateSchema, type ConsolidationItemParsed, ConsolidationItemSchema, type ConsolidationResultParsed, ConsolidationResultSchema, type ContradictionVerificationResult, ContradictionVerificationSchema, DaySummaryResultSchema, type EntityMentionParsed, EntityMentionSchema, type ExtractedFactParsed, ExtractedFactSchema, type ExtractedQuestionParsed, ExtractedQuestionSchema, ExtractedRelationshipSchema, type ExtractionResultParsed, ExtractionResultSchema, type IdentityConsolidationResultParsed, IdentityConsolidationResultSchema, type MemoryActionEligibilityContextParsed, MemoryActionEligibilityContextSchema, type MemoryActionTypeParsed, MemoryActionTypeSchema, type MemoryLink, MemoryLinkSchema, type MemorySummaryResult, MemorySummarySchema, ProactiveExtractionResultSchema, type ProactiveQuestionsResultParsed, ProactiveQuestionsResultSchema, ProcedureStepExtractSchema, ProfileConsolidationResultSchema, type SuggestedLinks, SuggestedLinksSchema, buildProfileConsolidationResultSchema, parseMemoryActionEligibilityContext, parseMemoryActionType };