@remnic/core 1.0.1 → 1.0.3

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 (347) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -0
  3. package/dist/access-cli.d.ts +13 -3
  4. package/dist/access-cli.js +90 -75
  5. package/dist/access-cli.js.map +1 -1
  6. package/dist/access-http.d.ts +10 -3
  7. package/dist/access-http.js +25 -18
  8. package/dist/access-mcp.d.ts +30 -3
  9. package/dist/access-mcp.js +16 -1
  10. package/dist/access-schema.d.ts +46 -46
  11. package/dist/access-schema.js +1 -1
  12. package/dist/access-service.d.ts +65 -4
  13. package/dist/access-service.js +21 -15
  14. package/dist/active-memory-bridge.d.ts +66 -0
  15. package/dist/active-memory-bridge.js +11 -0
  16. package/dist/active-recall.d.ts +96 -0
  17. package/dist/active-recall.js +308 -0
  18. package/dist/active-recall.js.map +1 -0
  19. package/dist/behavior-learner.js +1 -1
  20. package/dist/bootstrap.d.ts +6 -3
  21. package/dist/bootstrap.js +2 -2
  22. package/dist/boxes.js +2 -2
  23. package/dist/briefing.d.ts +169 -0
  24. package/dist/briefing.js +52 -0
  25. package/dist/briefing.js.map +1 -0
  26. package/dist/buffer.d.ts +19 -5
  27. package/dist/buffer.js +2 -2
  28. package/dist/calibration.js +6 -6
  29. package/dist/causal-behavior.js +5 -5
  30. package/dist/causal-chain.js +3 -3
  31. package/dist/causal-consolidation.d.ts +22 -2
  32. package/dist/causal-consolidation.js +36 -9
  33. package/dist/causal-consolidation.js.map +1 -1
  34. package/dist/causal-retrieval.js +6 -6
  35. package/dist/causal-trajectory-graph.js +1 -1
  36. package/dist/causal-trajectory.d.ts +14 -1
  37. package/dist/causal-trajectory.js +5 -1
  38. package/dist/{chunk-KWBU5S5U.js → chunk-2ODBA7MQ.js} +9 -3
  39. package/dist/chunk-2ODBA7MQ.js.map +1 -0
  40. package/dist/{chunk-6UJQNRIO.js → chunk-2VFW5K5U.js} +93 -36
  41. package/dist/chunk-2VFW5K5U.js.map +1 -0
  42. package/dist/chunk-3PG3H5TD.js +7 -0
  43. package/dist/chunk-3PG3H5TD.js.map +1 -0
  44. package/dist/{chunk-NTTLPF7F.js → chunk-3QFQGRHO.js} +5 -5
  45. package/dist/chunk-4DJQYKMN.js +187 -0
  46. package/dist/chunk-4DJQYKMN.js.map +1 -0
  47. package/dist/chunk-4KAN3GZ3.js +225 -0
  48. package/dist/chunk-4KAN3GZ3.js.map +1 -0
  49. package/dist/{chunk-ORZMT74A.js → chunk-4NRAJUDS.js} +11 -1
  50. package/dist/chunk-4NRAJUDS.js.map +1 -0
  51. package/dist/{chunk-B7LOFDVE.js → chunk-4WMCPJWX.js} +8 -3
  52. package/dist/chunk-4WMCPJWX.js.map +1 -0
  53. package/dist/{chunk-G3AG3KZN.js → chunk-5IZL4DCV.js} +2 -2
  54. package/dist/{chunk-BRK4ODMI.js → chunk-5NPGSAVB.js} +2 -2
  55. package/dist/chunk-6MKAMLQL.js +16 -0
  56. package/dist/chunk-6MKAMLQL.js.map +1 -0
  57. package/dist/{chunk-ESSMF2FR.js → chunk-6PFRXT4K.js} +15 -6
  58. package/dist/chunk-6PFRXT4K.js.map +1 -0
  59. package/dist/chunk-6ZH4TU6I.js +245 -0
  60. package/dist/chunk-6ZH4TU6I.js.map +1 -0
  61. package/dist/{chunk-V4YC4LUK.js → chunk-74JR4N5J.js} +175 -63
  62. package/dist/chunk-74JR4N5J.js.map +1 -0
  63. package/dist/{chunk-L5RPWGFK.js → chunk-7DHTMOND.js} +2 -2
  64. package/dist/{chunk-TVVVQQAK.js → chunk-7PA4OZEU.js} +53 -11
  65. package/dist/chunk-7PA4OZEU.js.map +1 -0
  66. package/dist/{chunk-Q6FETXJA.js → chunk-7SEAZFFB.js} +2 -2
  67. package/dist/chunk-ALXMCZEU.js +332 -0
  68. package/dist/chunk-ALXMCZEU.js.map +1 -0
  69. package/dist/{chunk-QANCTXQF.js → chunk-AYPYCLR7.js} +3 -3
  70. package/dist/{chunk-WWIQTB2Y.js → chunk-BKQJBXXX.js} +9 -2
  71. package/dist/chunk-BKQJBXXX.js.map +1 -0
  72. package/dist/{chunk-LP47L3ZX.js → chunk-BTY5RRRF.js} +7 -7
  73. package/dist/{chunk-SCHEKPYH.js → chunk-C2EFFULQ.js} +1 -1
  74. package/dist/{chunk-GJR6D6KC.js → chunk-D654IBA6.js} +2 -2
  75. package/dist/{chunk-UV2FO7J4.js → chunk-E6K4NIEU.js} +2 -2
  76. package/dist/{chunk-T4WRIV2C.js → chunk-EABGC2TL.js} +2 -2
  77. package/dist/chunk-ECKDIK5F.js +813 -0
  78. package/dist/chunk-ECKDIK5F.js.map +1 -0
  79. package/dist/chunk-EJI5XIBB.js +232 -0
  80. package/dist/chunk-EJI5XIBB.js.map +1 -0
  81. package/dist/{chunk-ONRU4L2N.js → chunk-FEMOX5AD.js} +2 -2
  82. package/dist/{chunk-IFFFR3MR.js → chunk-FSFEQI74.js} +3 -3
  83. package/dist/chunk-G4SK7DSQ.js +121 -0
  84. package/dist/chunk-G4SK7DSQ.js.map +1 -0
  85. package/dist/{chunk-UIYZ5T3I.js → chunk-GJQPH5G3.js} +8 -8
  86. package/dist/{chunk-2PO5ZRKV.js → chunk-GZCUW5IC.js} +16 -3
  87. package/dist/chunk-GZCUW5IC.js.map +1 -0
  88. package/dist/{chunk-IZME7KW2.js → chunk-HITJFT7E.js} +24 -10
  89. package/dist/{chunk-IZME7KW2.js.map → chunk-HITJFT7E.js.map} +1 -1
  90. package/dist/chunk-IQT3XTKW.js +121 -0
  91. package/dist/chunk-IQT3XTKW.js.map +1 -0
  92. package/dist/{chunk-BDFZXRSO.js → chunk-J4IYOZZ5.js} +15 -2
  93. package/dist/chunk-J4IYOZZ5.js.map +1 -0
  94. package/dist/{chunk-ZKYI7UVO.js → chunk-JR4ZC3G4.js} +2 -2
  95. package/dist/{chunk-UCYSTFZR.js → chunk-JRNQ3RNA.js} +2 -2
  96. package/dist/{chunk-UYSKNO6E.js → chunk-JROGC36Y.js} +15 -4
  97. package/dist/chunk-JROGC36Y.js.map +1 -0
  98. package/dist/{chunk-GPGBSNKM.js → chunk-K4FLSOR5.js} +2 -2
  99. package/dist/{chunk-M5ZBBBJI.js → chunk-KEG4GNGI.js} +2 -2
  100. package/dist/chunk-KVE7R4CG.js +320 -0
  101. package/dist/chunk-KVE7R4CG.js.map +1 -0
  102. package/dist/{chunk-L7WO3MZ4.js → chunk-KWP7T3DP.js} +2 -2
  103. package/dist/chunk-LAYN4LDC.js +267 -0
  104. package/dist/chunk-LAYN4LDC.js.map +1 -0
  105. package/dist/{chunk-PGK3VUHN.js → chunk-MTLYEMJB.js} +3 -2
  106. package/dist/chunk-MTLYEMJB.js.map +1 -0
  107. package/dist/{chunk-J47FNDR7.js → chunk-MYQWXITD.js} +7 -7
  108. package/dist/{chunk-YNI4S5WT.js → chunk-N53K2EXC.js} +2 -2
  109. package/dist/{chunk-763GUIOU.js → chunk-NBNN5GOB.js} +2 -2
  110. package/dist/{chunk-CXWFUJR2.js → chunk-NSB3WSYS.js} +125 -6
  111. package/dist/chunk-NSB3WSYS.js.map +1 -0
  112. package/dist/{chunk-KL4CP4SB.js → chunk-O5ETUNBT.js} +17 -5
  113. package/dist/chunk-O5ETUNBT.js.map +1 -0
  114. package/dist/{chunk-OOSWAUYB.js → chunk-ODWDQNRE.js} +2 -2
  115. package/dist/{chunk-ISY75RLM.js → chunk-OJFGVJS6.js} +288 -7
  116. package/dist/chunk-OJFGVJS6.js.map +1 -0
  117. package/dist/{chunk-HLBYLYRD.js → chunk-PAORGQRI.js} +70 -13
  118. package/dist/chunk-PAORGQRI.js.map +1 -0
  119. package/dist/{chunk-ZJLY4QSU.js → chunk-PMB3WGDL.js} +69 -6
  120. package/dist/chunk-PMB3WGDL.js.map +1 -0
  121. package/dist/{chunk-J3BT33K7.js → chunk-POBPGDWI.js} +5 -5
  122. package/dist/{chunk-QWUUMMIK.js → chunk-POMSFKTB.js} +1351 -76
  123. package/dist/chunk-POMSFKTB.js.map +1 -0
  124. package/dist/{chunk-OTAVQCSF.js → chunk-PYXS46O7.js} +2 -2
  125. package/dist/chunk-QDW3E4RD.js +108 -0
  126. package/dist/chunk-QDW3E4RD.js.map +1 -0
  127. package/dist/{chunk-YNCQ7E4M.js → chunk-QDYXG4CS.js} +4 -3
  128. package/dist/chunk-QDYXG4CS.js.map +1 -0
  129. package/dist/{chunk-XUHI52HK.js → chunk-QKAH5B6E.js} +4 -4
  130. package/dist/{chunk-HLXVTBF3.js → chunk-QNJMBKFK.js} +3 -2
  131. package/dist/chunk-QNJMBKFK.js.map +1 -0
  132. package/dist/chunk-RCICHSHL.js +789 -0
  133. package/dist/chunk-RCICHSHL.js.map +1 -0
  134. package/dist/{chunk-HG2NKWR2.js → chunk-S4LX5EBI.js} +2 -2
  135. package/dist/{chunk-4A24LIM2.js → chunk-S75M5ZRK.js} +2 -2
  136. package/dist/{chunk-QCCCQT3O.js → chunk-TBBDFYXW.js} +2 -2
  137. package/dist/chunk-TBBDFYXW.js.map +1 -0
  138. package/dist/{chunk-U4PV25RD.js → chunk-U2IQTSBY.js} +1 -1
  139. package/dist/chunk-U2IQTSBY.js.map +1 -0
  140. package/dist/chunk-U66YHYC7.js +31 -0
  141. package/dist/chunk-U66YHYC7.js.map +1 -0
  142. package/dist/{chunk-MWGVGUIS.js → chunk-UEYA6UC7.js} +36 -4
  143. package/dist/chunk-UEYA6UC7.js.map +1 -0
  144. package/dist/{chunk-MDDAA2AO.js → chunk-UPMD5XND.js} +2 -2
  145. package/dist/{chunk-M5KEYE5E.js → chunk-URB2WSKZ.js} +2 -2
  146. package/dist/chunk-UVJFDP7P.js +202 -0
  147. package/dist/chunk-UVJFDP7P.js.map +1 -0
  148. package/dist/{chunk-QY2BHY5O.js → chunk-V7XCAHIB.js} +265 -25
  149. package/dist/chunk-V7XCAHIB.js.map +1 -0
  150. package/dist/chunk-W6SL7OFG.js +180 -0
  151. package/dist/chunk-W6SL7OFG.js.map +1 -0
  152. package/dist/{chunk-QDOSNLB4.js → chunk-X4WESCKA.js} +17 -15
  153. package/dist/chunk-X4WESCKA.js.map +1 -0
  154. package/dist/{chunk-OTFNI3OO.js → chunk-XMGSSBFX.js} +1738 -383
  155. package/dist/chunk-XMGSSBFX.js.map +1 -0
  156. package/dist/chunk-YDBIWGNI.js +298 -0
  157. package/dist/chunk-YDBIWGNI.js.map +1 -0
  158. package/dist/chunk-YFYL2SIJ.js +7857 -0
  159. package/dist/chunk-YFYL2SIJ.js.map +1 -0
  160. package/dist/chunking.js +1 -1
  161. package/dist/citations.d.ts +67 -0
  162. package/dist/citations.js +13 -0
  163. package/dist/citations.js.map +1 -0
  164. package/dist/cli-DwIBnp2g.d.ts +1240 -0
  165. package/dist/cli.d.ts +31 -1147
  166. package/dist/cli.js +149 -7092
  167. package/dist/cli.js.map +1 -1
  168. package/dist/codex-materialize-CQlLTzke.d.ts +139 -0
  169. package/dist/codex-thread-key.d.ts +3 -0
  170. package/dist/codex-thread-key.js +7 -0
  171. package/dist/codex-thread-key.js.map +1 -0
  172. package/dist/config.js +3 -2
  173. package/dist/connectors/codex/instructions.md +160 -0
  174. package/dist/connectors/codex/resources/namespace-cheatsheet.md +48 -0
  175. package/dist/day-summary.d.ts +7 -2
  176. package/dist/day-summary.js +5 -2
  177. package/dist/embedding-fallback.d.ts +96 -2
  178. package/dist/embedding-fallback.js +6 -4
  179. package/dist/{engine-2A6J4XEX.js → engine-X7X3AAG3.js} +10 -7
  180. package/dist/engine-X7X3AAG3.js.map +1 -0
  181. package/dist/entity-retrieval.d.ts +3 -2
  182. package/dist/entity-retrieval.js +10 -7
  183. package/dist/entity-schema.d.ts +11 -0
  184. package/dist/entity-schema.js +19 -0
  185. package/dist/entity-schema.js.map +1 -0
  186. package/dist/explicit-capture.d.ts +6 -3
  187. package/dist/explicit-capture.js +2 -2
  188. package/dist/extraction-judge.d.ts +66 -0
  189. package/dist/extraction-judge.js +18 -0
  190. package/dist/extraction-judge.js.map +1 -0
  191. package/dist/extraction.d.ts +1 -0
  192. package/dist/extraction.js +12 -10
  193. package/dist/fallback-llm.js +4 -4
  194. package/dist/graph.js +1 -1
  195. package/dist/importance.d.ts +11 -1
  196. package/dist/importance.js +3 -1
  197. package/dist/index.d.ts +1140 -8
  198. package/dist/index.js +3350 -333
  199. package/dist/index.js.map +1 -1
  200. package/dist/intent.d.ts +2 -1
  201. package/dist/intent.js +3 -1
  202. package/dist/lifecycle.js +1 -1
  203. package/dist/local-llm.js +2 -2
  204. package/dist/logger.d.ts +1 -1
  205. package/dist/logger.js +1 -1
  206. package/dist/memory-cache.d.ts +2 -2
  207. package/dist/memory-cache.js +1 -1
  208. package/dist/{memory-projection-store-NxMkbocT.d.ts → memory-projection-store-DeSXPh1j.d.ts} +1 -1
  209. package/dist/memory-projection-store.d.ts +1 -1
  210. package/dist/model-registry.js +2 -2
  211. package/dist/models-json.js +2 -2
  212. package/dist/native-knowledge.js +2 -2
  213. package/dist/negative.js +2 -2
  214. package/dist/operator-toolkit.js +20 -16
  215. package/dist/{orchestrator-CIvLFHx3.d.ts → orchestrator-B9kwlCep.d.ts} +254 -9
  216. package/dist/orchestrator.d.ts +6 -3
  217. package/dist/orchestrator.js +70 -58
  218. package/dist/page-versioning.d.ts +77 -0
  219. package/dist/page-versioning.js +15 -0
  220. package/dist/page-versioning.js.map +1 -0
  221. package/dist/plugin-id.d.ts +37 -0
  222. package/dist/plugin-id.js +11 -0
  223. package/dist/plugin-id.js.map +1 -0
  224. package/dist/policy-runtime.js +2 -2
  225. package/dist/profiling.js +2 -2
  226. package/dist/qmd.d.ts +5 -2
  227. package/dist/qmd.js +3 -3
  228. package/dist/recall-audit.d.ts +20 -0
  229. package/dist/recall-audit.js +50 -0
  230. package/dist/recall-audit.js.map +1 -0
  231. package/dist/recall-mmr.d.ts +152 -0
  232. package/dist/recall-mmr.js +17 -0
  233. package/dist/recall-mmr.js.map +1 -0
  234. package/dist/recall-qos.js +2 -2
  235. package/dist/recall-state.js +2 -2
  236. package/dist/relevance.js +2 -2
  237. package/dist/resolve-provider-secret.js +2 -2
  238. package/dist/resume-bundles.js +5 -4
  239. package/dist/retrieval-agents.js +2 -2
  240. package/dist/retrieval.js +2 -2
  241. package/dist/schemas.d.ts +422 -64
  242. package/dist/schemas.js +3 -1
  243. package/dist/sdk-compat.d.ts +2 -0
  244. package/dist/sdk-compat.js +6 -3
  245. package/dist/sdk-compat.js.map +1 -1
  246. package/dist/semantic-chunking.d.ts +87 -0
  247. package/dist/semantic-chunking.js +20 -0
  248. package/dist/semantic-chunking.js.map +1 -0
  249. package/dist/semantic-consolidation-DrvSYRdB.d.ts +119 -0
  250. package/dist/semantic-consolidation.d.ts +4 -42
  251. package/dist/semantic-consolidation.js +23 -2
  252. package/dist/semantic-rule-promotion.js +9 -6
  253. package/dist/semantic-rule-verifier.js +10 -7
  254. package/dist/session-observer-state.js +2 -2
  255. package/dist/session-toggles.d.ts +22 -0
  256. package/dist/session-toggles.js +116 -0
  257. package/dist/session-toggles.js.map +1 -0
  258. package/dist/skills-registry.d.ts +47 -0
  259. package/dist/skills-registry.js +48 -0
  260. package/dist/skills-registry.js.map +1 -0
  261. package/dist/source-attribution.d.ts +169 -0
  262. package/dist/source-attribution.js +27 -0
  263. package/dist/source-attribution.js.map +1 -0
  264. package/dist/storage.d.ts +171 -10
  265. package/dist/storage.js +16 -5
  266. package/dist/summarizer.js +7 -7
  267. package/dist/temporal-supersession.d.ts +127 -0
  268. package/dist/temporal-supersession.js +20 -0
  269. package/dist/temporal-supersession.js.map +1 -0
  270. package/dist/threading.js +2 -2
  271. package/dist/tier-migration.d.ts +2 -1
  272. package/dist/tier-routing.js +2 -2
  273. package/dist/tokens.d.ts +21 -1
  274. package/dist/tokens.js +5 -1
  275. package/dist/transcript.js +2 -2
  276. package/dist/types.d.ts +497 -3
  277. package/dist/types.js +1 -1
  278. package/dist/utility-learner.js +2 -2
  279. package/dist/utility-runtime.js +3 -3
  280. package/dist/verified-recall.js +11 -8
  281. package/dist/whitespace.d.ts +4 -0
  282. package/dist/whitespace.js +9 -0
  283. package/dist/whitespace.js.map +1 -0
  284. package/package.json +14 -8
  285. package/dist/chunk-2CJCWDMR.js +0 -87
  286. package/dist/chunk-2CJCWDMR.js.map +0 -1
  287. package/dist/chunk-2PO5ZRKV.js.map +0 -1
  288. package/dist/chunk-6UJQNRIO.js.map +0 -1
  289. package/dist/chunk-B7LOFDVE.js.map +0 -1
  290. package/dist/chunk-BDFZXRSO.js.map +0 -1
  291. package/dist/chunk-CXWFUJR2.js.map +0 -1
  292. package/dist/chunk-DORBM6OB.js +0 -81
  293. package/dist/chunk-DORBM6OB.js.map +0 -1
  294. package/dist/chunk-ESSMF2FR.js.map +0 -1
  295. package/dist/chunk-HLBYLYRD.js.map +0 -1
  296. package/dist/chunk-HLXVTBF3.js.map +0 -1
  297. package/dist/chunk-ISY75RLM.js.map +0 -1
  298. package/dist/chunk-KL4CP4SB.js.map +0 -1
  299. package/dist/chunk-KWBU5S5U.js.map +0 -1
  300. package/dist/chunk-MWGVGUIS.js.map +0 -1
  301. package/dist/chunk-ORZMT74A.js.map +0 -1
  302. package/dist/chunk-OTFNI3OO.js.map +0 -1
  303. package/dist/chunk-PGK3VUHN.js.map +0 -1
  304. package/dist/chunk-QCCCQT3O.js.map +0 -1
  305. package/dist/chunk-QDOSNLB4.js.map +0 -1
  306. package/dist/chunk-QPKFPHOO.js +0 -178
  307. package/dist/chunk-QPKFPHOO.js.map +0 -1
  308. package/dist/chunk-QWUUMMIK.js.map +0 -1
  309. package/dist/chunk-QY2BHY5O.js.map +0 -1
  310. package/dist/chunk-TVVVQQAK.js.map +0 -1
  311. package/dist/chunk-U4PV25RD.js.map +0 -1
  312. package/dist/chunk-UYSKNO6E.js.map +0 -1
  313. package/dist/chunk-V4YC4LUK.js.map +0 -1
  314. package/dist/chunk-WWIQTB2Y.js.map +0 -1
  315. package/dist/chunk-YNCQ7E4M.js.map +0 -1
  316. package/dist/chunk-ZJLY4QSU.js.map +0 -1
  317. /package/dist/{engine-2A6J4XEX.js.map → active-memory-bridge.js.map} +0 -0
  318. /package/dist/{chunk-NTTLPF7F.js.map → chunk-3QFQGRHO.js.map} +0 -0
  319. /package/dist/{chunk-G3AG3KZN.js.map → chunk-5IZL4DCV.js.map} +0 -0
  320. /package/dist/{chunk-BRK4ODMI.js.map → chunk-5NPGSAVB.js.map} +0 -0
  321. /package/dist/{chunk-L5RPWGFK.js.map → chunk-7DHTMOND.js.map} +0 -0
  322. /package/dist/{chunk-Q6FETXJA.js.map → chunk-7SEAZFFB.js.map} +0 -0
  323. /package/dist/{chunk-QANCTXQF.js.map → chunk-AYPYCLR7.js.map} +0 -0
  324. /package/dist/{chunk-LP47L3ZX.js.map → chunk-BTY5RRRF.js.map} +0 -0
  325. /package/dist/{chunk-SCHEKPYH.js.map → chunk-C2EFFULQ.js.map} +0 -0
  326. /package/dist/{chunk-GJR6D6KC.js.map → chunk-D654IBA6.js.map} +0 -0
  327. /package/dist/{chunk-UV2FO7J4.js.map → chunk-E6K4NIEU.js.map} +0 -0
  328. /package/dist/{chunk-T4WRIV2C.js.map → chunk-EABGC2TL.js.map} +0 -0
  329. /package/dist/{chunk-ONRU4L2N.js.map → chunk-FEMOX5AD.js.map} +0 -0
  330. /package/dist/{chunk-IFFFR3MR.js.map → chunk-FSFEQI74.js.map} +0 -0
  331. /package/dist/{chunk-UIYZ5T3I.js.map → chunk-GJQPH5G3.js.map} +0 -0
  332. /package/dist/{chunk-ZKYI7UVO.js.map → chunk-JR4ZC3G4.js.map} +0 -0
  333. /package/dist/{chunk-UCYSTFZR.js.map → chunk-JRNQ3RNA.js.map} +0 -0
  334. /package/dist/{chunk-GPGBSNKM.js.map → chunk-K4FLSOR5.js.map} +0 -0
  335. /package/dist/{chunk-M5ZBBBJI.js.map → chunk-KEG4GNGI.js.map} +0 -0
  336. /package/dist/{chunk-L7WO3MZ4.js.map → chunk-KWP7T3DP.js.map} +0 -0
  337. /package/dist/{chunk-J47FNDR7.js.map → chunk-MYQWXITD.js.map} +0 -0
  338. /package/dist/{chunk-YNI4S5WT.js.map → chunk-N53K2EXC.js.map} +0 -0
  339. /package/dist/{chunk-763GUIOU.js.map → chunk-NBNN5GOB.js.map} +0 -0
  340. /package/dist/{chunk-OOSWAUYB.js.map → chunk-ODWDQNRE.js.map} +0 -0
  341. /package/dist/{chunk-J3BT33K7.js.map → chunk-POBPGDWI.js.map} +0 -0
  342. /package/dist/{chunk-OTAVQCSF.js.map → chunk-PYXS46O7.js.map} +0 -0
  343. /package/dist/{chunk-XUHI52HK.js.map → chunk-QKAH5B6E.js.map} +0 -0
  344. /package/dist/{chunk-HG2NKWR2.js.map → chunk-S4LX5EBI.js.map} +0 -0
  345. /package/dist/{chunk-4A24LIM2.js.map → chunk-S75M5ZRK.js.map} +0 -0
  346. /package/dist/{chunk-MDDAA2AO.js.map → chunk-UPMD5XND.js.map} +0 -0
  347. /package/dist/{chunk-M5KEYE5E.js.map → chunk-URB2WSKZ.js.map} +0 -0
package/dist/schemas.d.ts CHANGED
@@ -8,56 +8,167 @@ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
8
8
  source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
9
  }, "strict", z.ZodTypeAny, {
10
10
  confidence: number;
11
- source: "manual" | "unknown" | "replay" | "extraction" | "consolidation";
12
- lifecycleState: "validated" | "active" | "archived" | "candidate" | "stale";
11
+ source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
12
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
13
13
  importance: number;
14
14
  }, {
15
15
  confidence: number;
16
- source: "manual" | "unknown" | "replay" | "extraction" | "consolidation";
17
- lifecycleState: "validated" | "active" | "archived" | "candidate" | "stale";
16
+ source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
54
- name: string;
55
154
  facts: string[];
155
+ name: string;
156
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
59
- name: string;
60
164
  facts: string[];
165
+ name: string;
166
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
153
- name: string;
154
330
  facts: string[];
331
+ name: string;
332
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
158
- name: string;
159
340
  facts: string[];
341
+ name: string;
342
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
190
- name: string;
191
387
  facts: string[];
388
+ name: string;
389
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
213
- name: string;
214
425
  facts: string[];
426
+ name: string;
427
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
259
- name: string;
260
543
  facts: string[];
544
+ name: string;
545
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
264
- name: string;
265
553
  facts: string[];
554
+ name: string;
555
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
315
- name: string;
316
614
  facts: string[];
615
+ name: string;
616
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
344
- name: string;
345
658
  facts: string[];
659
+ name: string;
660
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
404
- name: string;
405
741
  facts: string[];
742
+ name: string;
743
+ type: "person" | "project" | "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
- type: "person" | "project" | "tool" | "company" | "place" | "other";
409
- name: string;
410
751
  facts: string[];
752
+ name: string;
753
+ type: "person" | "project" | "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, {
@@ -420,9 +768,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
420
768
  updatedContent?: string | null | undefined;
421
769
  }[];
422
770
  entityUpdates: {
423
- type: "person" | "project" | "tool" | "company" | "place" | "other";
424
- name: string;
425
771
  facts: string[];
772
+ name: string;
773
+ type: "person" | "project" | "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
  }, {
@@ -435,9 +788,14 @@ declare const ConsolidationResultSchema: z.ZodObject<{
435
788
  updatedContent?: string | null | undefined;
436
789
  }[];
437
790
  entityUpdates: {
438
- type: "person" | "project" | "tool" | "company" | "place" | "other";
439
- name: string;
440
791
  facts: string[];
792
+ name: string;
793
+ type: "person" | "project" | "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
  }>;
@@ -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 };