@remnic/core 1.0.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 (551) hide show
  1. package/dist/abstraction-nodes.d.ts +52 -0
  2. package/dist/abstraction-nodes.js +15 -0
  3. package/dist/abstraction-nodes.js.map +1 -0
  4. package/dist/access-cli.d.ts +5 -0
  5. package/dist/access-cli.js +308 -0
  6. package/dist/access-cli.js.map +1 -0
  7. package/dist/access-http.d.ts +158 -0
  8. package/dist/access-http.js +32 -0
  9. package/dist/access-http.js.map +1 -0
  10. package/dist/access-idempotency.d.ts +31 -0
  11. package/dist/access-idempotency.js +11 -0
  12. package/dist/access-idempotency.js.map +1 -0
  13. package/dist/access-mcp.d.ts +76 -0
  14. package/dist/access-mcp.js +8 -0
  15. package/dist/access-mcp.js.map +1 -0
  16. package/dist/access-schema.d.ts +266 -0
  17. package/dist/access-schema.js +29 -0
  18. package/dist/access-schema.js.map +1 -0
  19. package/dist/access-service.d.ts +614 -0
  20. package/dist/access-service.js +32 -0
  21. package/dist/access-service.js.map +1 -0
  22. package/dist/behavior-learner.d.ts +16 -0
  23. package/dist/behavior-learner.js +124 -0
  24. package/dist/behavior-learner.js.map +1 -0
  25. package/dist/behavior-signals.d.ts +15 -0
  26. package/dist/behavior-signals.js +11 -0
  27. package/dist/behavior-signals.js.map +1 -0
  28. package/dist/bootstrap.d.ts +46 -0
  29. package/dist/bootstrap.js +9 -0
  30. package/dist/bootstrap.js.map +1 -0
  31. package/dist/boxes.d.ts +93 -0
  32. package/dist/boxes.js +14 -0
  33. package/dist/boxes.js.map +1 -0
  34. package/dist/buffer.d.ts +22 -0
  35. package/dist/buffer.js +9 -0
  36. package/dist/buffer.js.map +1 -0
  37. package/dist/calibration.d.ts +81 -0
  38. package/dist/calibration.js +239 -0
  39. package/dist/calibration.js.map +1 -0
  40. package/dist/causal-behavior.d.ts +79 -0
  41. package/dist/causal-behavior.js +190 -0
  42. package/dist/causal-behavior.js.map +1 -0
  43. package/dist/causal-chain.d.ts +61 -0
  44. package/dist/causal-chain.js +24 -0
  45. package/dist/causal-chain.js.map +1 -0
  46. package/dist/causal-consolidation.d.ts +71 -0
  47. package/dist/causal-consolidation.js +211 -0
  48. package/dist/causal-consolidation.js.map +1 -0
  49. package/dist/causal-retrieval.d.ts +44 -0
  50. package/dist/causal-retrieval.js +184 -0
  51. package/dist/causal-retrieval.js.map +1 -0
  52. package/dist/causal-trajectory-graph.d.ts +13 -0
  53. package/dist/causal-trajectory-graph.js +59 -0
  54. package/dist/causal-trajectory-graph.js.map +1 -0
  55. package/dist/causal-trajectory.d.ts +68 -0
  56. package/dist/causal-trajectory.js +18 -0
  57. package/dist/causal-trajectory.js.map +1 -0
  58. package/dist/chunk-2CJCWDMR.js +87 -0
  59. package/dist/chunk-2CJCWDMR.js.map +1 -0
  60. package/dist/chunk-2NMMFZ5T.js +216 -0
  61. package/dist/chunk-2NMMFZ5T.js.map +1 -0
  62. package/dist/chunk-2PO5ZRKV.js +103 -0
  63. package/dist/chunk-2PO5ZRKV.js.map +1 -0
  64. package/dist/chunk-3QKK7QOS.js +154 -0
  65. package/dist/chunk-3QKK7QOS.js.map +1 -0
  66. package/dist/chunk-3SLRNYNG.js +26 -0
  67. package/dist/chunk-3SLRNYNG.js.map +1 -0
  68. package/dist/chunk-4A24LIM2.js +68 -0
  69. package/dist/chunk-4A24LIM2.js.map +1 -0
  70. package/dist/chunk-6HZ6AO2P.js +164 -0
  71. package/dist/chunk-6HZ6AO2P.js.map +1 -0
  72. package/dist/chunk-763GUIOU.js +302 -0
  73. package/dist/chunk-763GUIOU.js.map +1 -0
  74. package/dist/chunk-AAI7JARD.js +173 -0
  75. package/dist/chunk-AAI7JARD.js.map +1 -0
  76. package/dist/chunk-B7LOFDVE.js +112 -0
  77. package/dist/chunk-B7LOFDVE.js.map +1 -0
  78. package/dist/chunk-BDFZXRSO.js +318 -0
  79. package/dist/chunk-BDFZXRSO.js.map +1 -0
  80. package/dist/chunk-BOUYNNYD.js +707 -0
  81. package/dist/chunk-BOUYNNYD.js.map +1 -0
  82. package/dist/chunk-BRK4ODMI.js +60 -0
  83. package/dist/chunk-BRK4ODMI.js.map +1 -0
  84. package/dist/chunk-C6QPK5GG.js +111 -0
  85. package/dist/chunk-C6QPK5GG.js.map +1 -0
  86. package/dist/chunk-C7VW7C3F.js +117 -0
  87. package/dist/chunk-C7VW7C3F.js.map +1 -0
  88. package/dist/chunk-CDW777AI.js +621 -0
  89. package/dist/chunk-CDW777AI.js.map +1 -0
  90. package/dist/chunk-CULXMQJH.js +185 -0
  91. package/dist/chunk-CULXMQJH.js.map +1 -0
  92. package/dist/chunk-CXWFUJR2.js +1203 -0
  93. package/dist/chunk-CXWFUJR2.js.map +1 -0
  94. package/dist/chunk-DGXUHMOV.js +61 -0
  95. package/dist/chunk-DGXUHMOV.js.map +1 -0
  96. package/dist/chunk-DM2T26WE.js +61 -0
  97. package/dist/chunk-DM2T26WE.js.map +1 -0
  98. package/dist/chunk-DORBM6OB.js +81 -0
  99. package/dist/chunk-DORBM6OB.js.map +1 -0
  100. package/dist/chunk-DT5TVLJE.js +32 -0
  101. package/dist/chunk-DT5TVLJE.js.map +1 -0
  102. package/dist/chunk-EEQLFRUM.js +89 -0
  103. package/dist/chunk-EEQLFRUM.js.map +1 -0
  104. package/dist/chunk-EQINRHYR.js +672 -0
  105. package/dist/chunk-EQINRHYR.js.map +1 -0
  106. package/dist/chunk-ESSMF2FR.js +146 -0
  107. package/dist/chunk-ESSMF2FR.js.map +1 -0
  108. package/dist/chunk-ETOW6ACV.js +158 -0
  109. package/dist/chunk-ETOW6ACV.js.map +1 -0
  110. package/dist/chunk-FYIYMQ5N.js +221 -0
  111. package/dist/chunk-FYIYMQ5N.js.map +1 -0
  112. package/dist/chunk-G3AG3KZN.js +78 -0
  113. package/dist/chunk-G3AG3KZN.js.map +1 -0
  114. package/dist/chunk-GJR6D6KC.js +61 -0
  115. package/dist/chunk-GJR6D6KC.js.map +1 -0
  116. package/dist/chunk-GPGBSNKM.js +380 -0
  117. package/dist/chunk-GPGBSNKM.js.map +1 -0
  118. package/dist/chunk-H63EDPFJ.js +57 -0
  119. package/dist/chunk-H63EDPFJ.js.map +1 -0
  120. package/dist/chunk-HG2NKWR2.js +185 -0
  121. package/dist/chunk-HG2NKWR2.js.map +1 -0
  122. package/dist/chunk-HL4DB7TO.js +13 -0
  123. package/dist/chunk-HL4DB7TO.js.map +1 -0
  124. package/dist/chunk-HLBYLYRD.js +346 -0
  125. package/dist/chunk-HLBYLYRD.js.map +1 -0
  126. package/dist/chunk-HLXVTBF3.js +109 -0
  127. package/dist/chunk-HLXVTBF3.js.map +1 -0
  128. package/dist/chunk-IFFFR3MR.js +68 -0
  129. package/dist/chunk-IFFFR3MR.js.map +1 -0
  130. package/dist/chunk-ISY75RLM.js +1027 -0
  131. package/dist/chunk-ISY75RLM.js.map +1 -0
  132. package/dist/chunk-IZME7KW2.js +1886 -0
  133. package/dist/chunk-IZME7KW2.js.map +1 -0
  134. package/dist/chunk-J3BT33K7.js +720 -0
  135. package/dist/chunk-J3BT33K7.js.map +1 -0
  136. package/dist/chunk-J47FNDR7.js +113 -0
  137. package/dist/chunk-J47FNDR7.js.map +1 -0
  138. package/dist/chunk-JWPLJLDU.js +63 -0
  139. package/dist/chunk-JWPLJLDU.js.map +1 -0
  140. package/dist/chunk-K6WK37A6.js +865 -0
  141. package/dist/chunk-K6WK37A6.js.map +1 -0
  142. package/dist/chunk-KL4CP4SB.js +130 -0
  143. package/dist/chunk-KL4CP4SB.js.map +1 -0
  144. package/dist/chunk-KT4NEUNF.js +315 -0
  145. package/dist/chunk-KT4NEUNF.js.map +1 -0
  146. package/dist/chunk-KWBU5S5U.js +42 -0
  147. package/dist/chunk-KWBU5S5U.js.map +1 -0
  148. package/dist/chunk-L5RPWGFK.js +59 -0
  149. package/dist/chunk-L5RPWGFK.js.map +1 -0
  150. package/dist/chunk-L7WO3MZ4.js +128 -0
  151. package/dist/chunk-L7WO3MZ4.js.map +1 -0
  152. package/dist/chunk-LIRZNNUP.js +74 -0
  153. package/dist/chunk-LIRZNNUP.js.map +1 -0
  154. package/dist/chunk-LK6SGL53.js +22 -0
  155. package/dist/chunk-LK6SGL53.js.map +1 -0
  156. package/dist/chunk-LOBRX7VD.js +200 -0
  157. package/dist/chunk-LOBRX7VD.js.map +1 -0
  158. package/dist/chunk-LPSF4OQH.js +47 -0
  159. package/dist/chunk-LPSF4OQH.js.map +1 -0
  160. package/dist/chunk-LU3GQNDQ.js +152 -0
  161. package/dist/chunk-LU3GQNDQ.js.map +1 -0
  162. package/dist/chunk-M5KEYE5E.js +350 -0
  163. package/dist/chunk-M5KEYE5E.js.map +1 -0
  164. package/dist/chunk-M62O4P4T.js +41 -0
  165. package/dist/chunk-M62O4P4T.js.map +1 -0
  166. package/dist/chunk-MARWOCVP.js +48 -0
  167. package/dist/chunk-MARWOCVP.js.map +1 -0
  168. package/dist/chunk-MDDAA2AO.js +925 -0
  169. package/dist/chunk-MDDAA2AO.js.map +1 -0
  170. package/dist/chunk-MWGVGUIS.js +198 -0
  171. package/dist/chunk-MWGVGUIS.js.map +1 -0
  172. package/dist/chunk-N5AKDXAI.js +74 -0
  173. package/dist/chunk-N5AKDXAI.js.map +1 -0
  174. package/dist/chunk-NGAVDO7E.js +115 -0
  175. package/dist/chunk-NGAVDO7E.js.map +1 -0
  176. package/dist/chunk-NTTLPF7F.js +283 -0
  177. package/dist/chunk-NTTLPF7F.js.map +1 -0
  178. package/dist/chunk-ONRU4L2N.js +240 -0
  179. package/dist/chunk-ONRU4L2N.js.map +1 -0
  180. package/dist/chunk-ORZMT74A.js +209 -0
  181. package/dist/chunk-ORZMT74A.js.map +1 -0
  182. package/dist/chunk-OTAVQCSF.js +268 -0
  183. package/dist/chunk-OTAVQCSF.js.map +1 -0
  184. package/dist/chunk-PGK3VUHN.js +160 -0
  185. package/dist/chunk-PGK3VUHN.js.map +1 -0
  186. package/dist/chunk-Q6FETXJA.js +1362 -0
  187. package/dist/chunk-Q6FETXJA.js.map +1 -0
  188. package/dist/chunk-QANCTXQF.js +271 -0
  189. package/dist/chunk-QANCTXQF.js.map +1 -0
  190. package/dist/chunk-QCCCQT3O.js +189 -0
  191. package/dist/chunk-QCCCQT3O.js.map +1 -0
  192. package/dist/chunk-QDOSNLB4.js +1048 -0
  193. package/dist/chunk-QDOSNLB4.js.map +1 -0
  194. package/dist/chunk-QFQVZOGA.js +2168 -0
  195. package/dist/chunk-QFQVZOGA.js.map +1 -0
  196. package/dist/chunk-QPKFPHOO.js +178 -0
  197. package/dist/chunk-QPKFPHOO.js.map +1 -0
  198. package/dist/chunk-QSVPYQPG.js +268 -0
  199. package/dist/chunk-QSVPYQPG.js.map +1 -0
  200. package/dist/chunk-QWUUMMIK.js +3045 -0
  201. package/dist/chunk-QWUUMMIK.js.map +1 -0
  202. package/dist/chunk-QY2BHY5O.js +2378 -0
  203. package/dist/chunk-QY2BHY5O.js.map +1 -0
  204. package/dist/chunk-SCHEKPYH.js +349 -0
  205. package/dist/chunk-SCHEKPYH.js.map +1 -0
  206. package/dist/chunk-SCU65EZI.js +15 -0
  207. package/dist/chunk-SCU65EZI.js.map +1 -0
  208. package/dist/chunk-T4WRIV2C.js +170 -0
  209. package/dist/chunk-T4WRIV2C.js.map +1 -0
  210. package/dist/chunk-TKO4HZCK.js +1852 -0
  211. package/dist/chunk-TKO4HZCK.js.map +1 -0
  212. package/dist/chunk-TP4FZJIZ.js +93 -0
  213. package/dist/chunk-TP4FZJIZ.js.map +1 -0
  214. package/dist/chunk-TPB3I2AC.js +403 -0
  215. package/dist/chunk-TPB3I2AC.js.map +1 -0
  216. package/dist/chunk-TVVVQQAK.js +1431 -0
  217. package/dist/chunk-TVVVQQAK.js.map +1 -0
  218. package/dist/chunk-U4PV25RD.js +14 -0
  219. package/dist/chunk-U4PV25RD.js.map +1 -0
  220. package/dist/chunk-UCYSTFZR.js +284 -0
  221. package/dist/chunk-UCYSTFZR.js.map +1 -0
  222. package/dist/chunk-UHGBNIOS.js +205 -0
  223. package/dist/chunk-UHGBNIOS.js.map +1 -0
  224. package/dist/chunk-UIYZ5T3I.js +108 -0
  225. package/dist/chunk-UIYZ5T3I.js.map +1 -0
  226. package/dist/chunk-UV2FO7J4.js +747 -0
  227. package/dist/chunk-UV2FO7J4.js.map +1 -0
  228. package/dist/chunk-UZB5KHKX.js +63 -0
  229. package/dist/chunk-UZB5KHKX.js.map +1 -0
  230. package/dist/chunk-V3RXWQIE.js +626 -0
  231. package/dist/chunk-V3RXWQIE.js.map +1 -0
  232. package/dist/chunk-V4YC4LUK.js +444 -0
  233. package/dist/chunk-V4YC4LUK.js.map +1 -0
  234. package/dist/chunk-VEWZZM3H.js +133 -0
  235. package/dist/chunk-VEWZZM3H.js.map +1 -0
  236. package/dist/chunk-WWIQTB2Y.js +98 -0
  237. package/dist/chunk-WWIQTB2Y.js.map +1 -0
  238. package/dist/chunk-X7XN6YU4.js +24 -0
  239. package/dist/chunk-X7XN6YU4.js.map +1 -0
  240. package/dist/chunk-XKECPATV.js +202 -0
  241. package/dist/chunk-XKECPATV.js.map +1 -0
  242. package/dist/chunk-XYIK4LF6.js +75 -0
  243. package/dist/chunk-XYIK4LF6.js.map +1 -0
  244. package/dist/chunk-Y27UJK6V.js +39 -0
  245. package/dist/chunk-Y27UJK6V.js.map +1 -0
  246. package/dist/chunk-Y4Z4I6WK.js +9 -0
  247. package/dist/chunk-Y4Z4I6WK.js.map +1 -0
  248. package/dist/chunk-YAPUAHAY.js +10761 -0
  249. package/dist/chunk-YAPUAHAY.js.map +1 -0
  250. package/dist/chunk-YAZNBMNF.js +92 -0
  251. package/dist/chunk-YAZNBMNF.js.map +1 -0
  252. package/dist/chunk-YCN4BVDK.js +66 -0
  253. package/dist/chunk-YCN4BVDK.js.map +1 -0
  254. package/dist/chunk-YNCQ7E4M.js +388 -0
  255. package/dist/chunk-YNCQ7E4M.js.map +1 -0
  256. package/dist/chunk-YNI4S5WT.js +143 -0
  257. package/dist/chunk-YNI4S5WT.js.map +1 -0
  258. package/dist/chunk-YRMVARQP.js +406 -0
  259. package/dist/chunk-YRMVARQP.js.map +1 -0
  260. package/dist/chunk-Z5AAYHUC.js +79 -0
  261. package/dist/chunk-Z5AAYHUC.js.map +1 -0
  262. package/dist/chunk-Z5LAYHGJ.js +15 -0
  263. package/dist/chunk-Z5LAYHGJ.js.map +1 -0
  264. package/dist/chunk-ZJLY4QSU.js +823 -0
  265. package/dist/chunk-ZJLY4QSU.js.map +1 -0
  266. package/dist/chunk-ZKYI7UVO.js +276 -0
  267. package/dist/chunk-ZKYI7UVO.js.map +1 -0
  268. package/dist/chunk-ZPKBYX2F.js +297 -0
  269. package/dist/chunk-ZPKBYX2F.js.map +1 -0
  270. package/dist/chunking.d.ts +48 -0
  271. package/dist/chunking.js +11 -0
  272. package/dist/chunking.js.map +1 -0
  273. package/dist/cli.d.ts +1162 -0
  274. package/dist/cli.js +7187 -0
  275. package/dist/cli.js.map +1 -0
  276. package/dist/commitment-ledger.d.ts +83 -0
  277. package/dist/commitment-ledger.js +19 -0
  278. package/dist/commitment-ledger.js.map +1 -0
  279. package/dist/compression-optimizer.d.ts +37 -0
  280. package/dist/compression-optimizer.js +13 -0
  281. package/dist/compression-optimizer.js.map +1 -0
  282. package/dist/config.d.ts +6 -0
  283. package/dist/config.js +12 -0
  284. package/dist/config.js.map +1 -0
  285. package/dist/cue-anchors.d.ts +50 -0
  286. package/dist/cue-anchors.js +15 -0
  287. package/dist/cue-anchors.js.map +1 -0
  288. package/dist/dashboard-runtime.d.ts +46 -0
  289. package/dist/dashboard-runtime.js +10 -0
  290. package/dist/dashboard-runtime.js.map +1 -0
  291. package/dist/day-summary.d.ts +6 -0
  292. package/dist/day-summary.js +10 -0
  293. package/dist/day-summary.js.map +1 -0
  294. package/dist/delinearize.d.ts +34 -0
  295. package/dist/delinearize.js +11 -0
  296. package/dist/delinearize.js.map +1 -0
  297. package/dist/embedding-fallback.d.ts +22 -0
  298. package/dist/embedding-fallback.js +8 -0
  299. package/dist/embedding-fallback.js.map +1 -0
  300. package/dist/engine-P26JFSVY.js +19 -0
  301. package/dist/engine-P26JFSVY.js.map +1 -0
  302. package/dist/entity-retrieval.d.ts +23 -0
  303. package/dist/entity-retrieval.js +24 -0
  304. package/dist/entity-retrieval.js.map +1 -0
  305. package/dist/evals.d.ts +282 -0
  306. package/dist/evals.js +32 -0
  307. package/dist/evals.js.map +1 -0
  308. package/dist/explicit-capture.d.ts +60 -0
  309. package/dist/explicit-capture.js +23 -0
  310. package/dist/explicit-capture.js.map +1 -0
  311. package/dist/extraction.d.ts +141 -0
  312. package/dist/extraction.js +22 -0
  313. package/dist/extraction.js.map +1 -0
  314. package/dist/fallback-llm.d.ts +95 -0
  315. package/dist/fallback-llm.js +12 -0
  316. package/dist/fallback-llm.js.map +1 -0
  317. package/dist/graph-dashboard-diff.d.ts +12 -0
  318. package/dist/graph-dashboard-diff.js +8 -0
  319. package/dist/graph-dashboard-diff.js.map +1 -0
  320. package/dist/graph-dashboard-key.d.ts +5 -0
  321. package/dist/graph-dashboard-key.js +7 -0
  322. package/dist/graph-dashboard-key.js.map +1 -0
  323. package/dist/graph-dashboard-parser.d.ts +20 -0
  324. package/dist/graph-dashboard-parser.js +8 -0
  325. package/dist/graph-dashboard-parser.js.map +1 -0
  326. package/dist/graph.d.ts +157 -0
  327. package/dist/graph.js +27 -0
  328. package/dist/graph.js.map +1 -0
  329. package/dist/harmonic-retrieval.d.ts +27 -0
  330. package/dist/harmonic-retrieval.js +12 -0
  331. package/dist/harmonic-retrieval.js.map +1 -0
  332. package/dist/himem.d.ts +23 -0
  333. package/dist/himem.js +7 -0
  334. package/dist/himem.js.map +1 -0
  335. package/dist/hygiene.d.ts +24 -0
  336. package/dist/hygiene.js +9 -0
  337. package/dist/hygiene.js.map +1 -0
  338. package/dist/identity-continuity.d.ts +17 -0
  339. package/dist/identity-continuity.js +19 -0
  340. package/dist/identity-continuity.js.map +1 -0
  341. package/dist/importance.d.ts +25 -0
  342. package/dist/importance.js +11 -0
  343. package/dist/importance.js.map +1 -0
  344. package/dist/index.d.ts +923 -0
  345. package/dist/index.js +2512 -0
  346. package/dist/index.js.map +1 -0
  347. package/dist/intent.d.ts +8 -0
  348. package/dist/intent.js +13 -0
  349. package/dist/intent.js.map +1 -0
  350. package/dist/json-extract.d.ts +14 -0
  351. package/dist/json-extract.js +9 -0
  352. package/dist/json-extract.js.map +1 -0
  353. package/dist/json-store.d.ts +5 -0
  354. package/dist/json-store.js +11 -0
  355. package/dist/json-store.js.map +1 -0
  356. package/dist/legacy-hook-compat.d.ts +3 -0
  357. package/dist/legacy-hook-compat.js +35 -0
  358. package/dist/legacy-hook-compat.js.map +1 -0
  359. package/dist/lifecycle.d.ts +52 -0
  360. package/dist/lifecycle.js +21 -0
  361. package/dist/lifecycle.js.map +1 -0
  362. package/dist/local-llm.d.ts +154 -0
  363. package/dist/local-llm.js +10 -0
  364. package/dist/local-llm.js.map +1 -0
  365. package/dist/logger.d.ts +15 -0
  366. package/dist/logger.js +9 -0
  367. package/dist/logger.js.map +1 -0
  368. package/dist/memory-action-policy.d.ts +13 -0
  369. package/dist/memory-action-policy.js +7 -0
  370. package/dist/memory-action-policy.js.map +1 -0
  371. package/dist/memory-cache.d.ts +35 -0
  372. package/dist/memory-cache.js +37 -0
  373. package/dist/memory-cache.js.map +1 -0
  374. package/dist/memory-lifecycle-ledger-utils.d.ts +13 -0
  375. package/dist/memory-lifecycle-ledger-utils.js +23 -0
  376. package/dist/memory-lifecycle-ledger-utils.js.map +1 -0
  377. package/dist/memory-projection-format.d.ts +4 -0
  378. package/dist/memory-projection-format.js +9 -0
  379. package/dist/memory-projection-format.js.map +1 -0
  380. package/dist/memory-projection-store-NxMkbocT.d.ts +221 -0
  381. package/dist/memory-projection-store.d.ts +3 -0
  382. package/dist/memory-projection-store.js +31 -0
  383. package/dist/memory-projection-store.js.map +1 -0
  384. package/dist/model-registry.d.ts +60 -0
  385. package/dist/model-registry.js +8 -0
  386. package/dist/model-registry.js.map +1 -0
  387. package/dist/native-knowledge.d.ts +94 -0
  388. package/dist/native-knowledge.js +26 -0
  389. package/dist/native-knowledge.js.map +1 -0
  390. package/dist/negative.d.ts +26 -0
  391. package/dist/negative.js +8 -0
  392. package/dist/negative.js.map +1 -0
  393. package/dist/objective-state-writers.d.ts +22 -0
  394. package/dist/objective-state-writers.js +313 -0
  395. package/dist/objective-state-writers.js.map +1 -0
  396. package/dist/objective-state.d.ts +75 -0
  397. package/dist/objective-state.js +17 -0
  398. package/dist/objective-state.js.map +1 -0
  399. package/dist/openai-chat-compat.d.ts +13 -0
  400. package/dist/openai-chat-compat.js +11 -0
  401. package/dist/openai-chat-compat.js.map +1 -0
  402. package/dist/operator-toolkit.d.ts +304 -0
  403. package/dist/operator-toolkit.js +41 -0
  404. package/dist/operator-toolkit.js.map +1 -0
  405. package/dist/opik-exporter.d.ts +72 -0
  406. package/dist/opik-exporter.js +361 -0
  407. package/dist/opik-exporter.js.map +1 -0
  408. package/dist/orchestrator-zTa-Qo-1.d.ts +1104 -0
  409. package/dist/orchestrator.d.ts +21 -0
  410. package/dist/orchestrator.js +145 -0
  411. package/dist/orchestrator.js.map +1 -0
  412. package/dist/policy-runtime.d.ts +37 -0
  413. package/dist/policy-runtime.js +13 -0
  414. package/dist/policy-runtime.js.map +1 -0
  415. package/dist/port-C1GZFv8h.d.ts +41 -0
  416. package/dist/profiling.d.ts +80 -0
  417. package/dist/profiling.js +10 -0
  418. package/dist/profiling.js.map +1 -0
  419. package/dist/qmd-recall-cache.d.ts +29 -0
  420. package/dist/qmd-recall-cache.js +13 -0
  421. package/dist/qmd-recall-cache.js.map +1 -0
  422. package/dist/qmd.d.ts +105 -0
  423. package/dist/qmd.js +13 -0
  424. package/dist/qmd.js.map +1 -0
  425. package/dist/recall-qos.d.ts +33 -0
  426. package/dist/recall-qos.js +10 -0
  427. package/dist/recall-qos.js.map +1 -0
  428. package/dist/recall-query-policy.d.ts +20 -0
  429. package/dist/recall-query-policy.js +11 -0
  430. package/dist/recall-query-policy.js.map +1 -0
  431. package/dist/recall-state.d.ts +113 -0
  432. package/dist/recall-state.js +12 -0
  433. package/dist/recall-state.js.map +1 -0
  434. package/dist/recall-tokenization.d.ts +4 -0
  435. package/dist/recall-tokenization.js +9 -0
  436. package/dist/recall-tokenization.js.map +1 -0
  437. package/dist/reconstruct.d.ts +16 -0
  438. package/dist/reconstruct.js +7 -0
  439. package/dist/reconstruct.js.map +1 -0
  440. package/dist/release-changelog.d.ts +7 -0
  441. package/dist/release-changelog.js +30 -0
  442. package/dist/release-changelog.js.map +1 -0
  443. package/dist/relevance.d.ts +18 -0
  444. package/dist/relevance.js +8 -0
  445. package/dist/relevance.js.map +1 -0
  446. package/dist/rerank.d.ts +57 -0
  447. package/dist/rerank.js +11 -0
  448. package/dist/rerank.js.map +1 -0
  449. package/dist/resolve-provider-secret.d.ts +16 -0
  450. package/dist/resolve-provider-secret.js +11 -0
  451. package/dist/resolve-provider-secret.js.map +1 -0
  452. package/dist/resume-bundles.d.ts +66 -0
  453. package/dist/resume-bundles.js +27 -0
  454. package/dist/resume-bundles.js.map +1 -0
  455. package/dist/retrieval-agents.d.ts +129 -0
  456. package/dist/retrieval-agents.js +23 -0
  457. package/dist/retrieval-agents.js.map +1 -0
  458. package/dist/retrieval.d.ts +19 -0
  459. package/dist/retrieval.js +10 -0
  460. package/dist/retrieval.js.map +1 -0
  461. package/dist/sanitize.d.ts +9 -0
  462. package/dist/sanitize.js +9 -0
  463. package/dist/sanitize.js.map +1 -0
  464. package/dist/schemas.d.ts +688 -0
  465. package/dist/schemas.js +51 -0
  466. package/dist/schemas.js.map +1 -0
  467. package/dist/sdk-compat.d.ts +21 -0
  468. package/dist/sdk-compat.js +28 -0
  469. package/dist/sdk-compat.js.map +1 -0
  470. package/dist/semantic-consolidation.d.ts +42 -0
  471. package/dist/semantic-consolidation.js +12 -0
  472. package/dist/semantic-consolidation.js.map +1 -0
  473. package/dist/semantic-rule-promotion.d.ts +28 -0
  474. package/dist/semantic-rule-promotion.js +17 -0
  475. package/dist/semantic-rule-promotion.js.map +1 -0
  476. package/dist/semantic-rule-verifier.d.ts +19 -0
  477. package/dist/semantic-rule-verifier.js +18 -0
  478. package/dist/semantic-rule-verifier.js.map +1 -0
  479. package/dist/session-integrity.d.ts +67 -0
  480. package/dist/session-integrity.js +11 -0
  481. package/dist/session-integrity.js.map +1 -0
  482. package/dist/session-observer-bands.d.ts +6 -0
  483. package/dist/session-observer-bands.js +9 -0
  484. package/dist/session-observer-bands.js.map +1 -0
  485. package/dist/session-observer-state.d.ts +40 -0
  486. package/dist/session-observer-state.js +11 -0
  487. package/dist/session-observer-state.js.map +1 -0
  488. package/dist/signal.d.ts +6 -0
  489. package/dist/signal.js +9 -0
  490. package/dist/signal.js.map +1 -0
  491. package/dist/storage.d.ts +453 -0
  492. package/dist/storage.js +24 -0
  493. package/dist/storage.js.map +1 -0
  494. package/dist/store-contract.d.ts +10 -0
  495. package/dist/store-contract.js +21 -0
  496. package/dist/store-contract.js.map +1 -0
  497. package/dist/summarizer.d.ts +35 -0
  498. package/dist/summarizer.js +17 -0
  499. package/dist/summarizer.js.map +1 -0
  500. package/dist/summary-snapshot.d.ts +8 -0
  501. package/dist/summary-snapshot.js +13 -0
  502. package/dist/summary-snapshot.js.map +1 -0
  503. package/dist/temporal-index.d.ts +139 -0
  504. package/dist/temporal-index.js +29 -0
  505. package/dist/temporal-index.js.map +1 -0
  506. package/dist/threading.d.ts +62 -0
  507. package/dist/threading.js +8 -0
  508. package/dist/threading.js.map +1 -0
  509. package/dist/tier-migration.d.ts +44 -0
  510. package/dist/tier-migration.js +7 -0
  511. package/dist/tier-migration.js.map +1 -0
  512. package/dist/tier-routing.d.ts +21 -0
  513. package/dist/tier-routing.js +10 -0
  514. package/dist/tier-routing.js.map +1 -0
  515. package/dist/tmt.d.ts +79 -0
  516. package/dist/tmt.js +29 -0
  517. package/dist/tmt.js.map +1 -0
  518. package/dist/tokens.d.ts +24 -0
  519. package/dist/tokens.js +21 -0
  520. package/dist/tokens.js.map +1 -0
  521. package/dist/topics.d.ts +29 -0
  522. package/dist/topics.js +9 -0
  523. package/dist/topics.js.map +1 -0
  524. package/dist/transcript.d.ts +171 -0
  525. package/dist/transcript.js +9 -0
  526. package/dist/transcript.js.map +1 -0
  527. package/dist/trust-zones.d.ts +170 -0
  528. package/dist/trust-zones.js +32 -0
  529. package/dist/trust-zones.js.map +1 -0
  530. package/dist/types.d.ts +1243 -0
  531. package/dist/types.js +9 -0
  532. package/dist/types.js.map +1 -0
  533. package/dist/utility-learner.d.ts +59 -0
  534. package/dist/utility-learner.js +17 -0
  535. package/dist/utility-learner.js.map +1 -0
  536. package/dist/utility-runtime.d.ts +21 -0
  537. package/dist/utility-runtime.js +16 -0
  538. package/dist/utility-runtime.js.map +1 -0
  539. package/dist/utility-telemetry.d.ts +68 -0
  540. package/dist/utility-telemetry.js +17 -0
  541. package/dist/utility-telemetry.js.map +1 -0
  542. package/dist/verified-recall.d.ts +17 -0
  543. package/dist/verified-recall.js +19 -0
  544. package/dist/verified-recall.js.map +1 -0
  545. package/dist/version-utils.d.ts +4 -0
  546. package/dist/version-utils.js +7 -0
  547. package/dist/version-utils.js.map +1 -0
  548. package/dist/work-product-ledger.d.ts +65 -0
  549. package/dist/work-product-ledger.js +18 -0
  550. package/dist/work-product-ledger.js.map +1 -0
  551. package/package.json +58 -0
@@ -0,0 +1,688 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const MemoryActionTypeSchema: z.ZodEnum<["store_episode", "store_note", "update_note", "create_artifact", "summarize_node", "discard", "link_graph"]>;
4
+ declare const MemoryActionEligibilityContextSchema: z.ZodObject<{
5
+ confidence: z.ZodNumber;
6
+ lifecycleState: z.ZodEnum<["active", "validated", "candidate", "stale", "archived"]>;
7
+ importance: z.ZodNumber;
8
+ source: z.ZodEnum<["extraction", "consolidation", "replay", "manual", "unknown"]>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ confidence: number;
11
+ source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
12
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
13
+ importance: number;
14
+ }, {
15
+ confidence: number;
16
+ source: "unknown" | "extraction" | "consolidation" | "replay" | "manual";
17
+ lifecycleState: "active" | "archived" | "candidate" | "validated" | "stale";
18
+ importance: number;
19
+ }>;
20
+ declare function parseMemoryActionType(value: unknown): z.infer<typeof MemoryActionTypeSchema>;
21
+ declare function parseMemoryActionEligibilityContext(value: unknown): z.infer<typeof MemoryActionEligibilityContextSchema>;
22
+ declare const ExtractedFactSchema: z.ZodObject<{
23
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
24
+ content: z.ZodString;
25
+ confidence: z.ZodNumber;
26
+ tags: z.ZodArray<z.ZodString, "many">;
27
+ entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
+ structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
32
+ content: string;
33
+ confidence: number;
34
+ tags: string[];
35
+ entityRef?: string | null | undefined;
36
+ structuredAttributes?: Record<string, string> | null | undefined;
37
+ promptedByQuestion?: string | null | undefined;
38
+ }, {
39
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
40
+ content: string;
41
+ confidence: number;
42
+ tags: string[];
43
+ entityRef?: string | null | undefined;
44
+ structuredAttributes?: Record<string, string> | null | undefined;
45
+ promptedByQuestion?: string | null | undefined;
46
+ }>;
47
+ declare const EntityMentionSchema: z.ZodObject<{
48
+ name: z.ZodString;
49
+ type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
50
+ facts: z.ZodArray<z.ZodString, "many">;
51
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ facts: string[];
54
+ name: string;
55
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
56
+ promptedByQuestion?: string | null | undefined;
57
+ }, {
58
+ facts: string[];
59
+ name: string;
60
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
61
+ promptedByQuestion?: string | null | undefined;
62
+ }>;
63
+ declare const ExtractedQuestionSchema: z.ZodObject<{
64
+ question: z.ZodString;
65
+ context: z.ZodString;
66
+ priority: z.ZodNumber;
67
+ }, "strip", z.ZodTypeAny, {
68
+ priority: number;
69
+ question: string;
70
+ context: string;
71
+ }, {
72
+ priority: number;
73
+ question: string;
74
+ context: string;
75
+ }>;
76
+ declare const ProactiveQuestionsResultSchema: z.ZodObject<{
77
+ questions: z.ZodArray<z.ZodObject<{
78
+ question: z.ZodString;
79
+ context: z.ZodString;
80
+ priority: z.ZodNumber;
81
+ }, "strip", z.ZodTypeAny, {
82
+ priority: number;
83
+ question: string;
84
+ context: string;
85
+ }, {
86
+ priority: number;
87
+ question: string;
88
+ context: string;
89
+ }>, "many">;
90
+ }, "strip", z.ZodTypeAny, {
91
+ questions: {
92
+ priority: number;
93
+ question: string;
94
+ context: string;
95
+ }[];
96
+ }, {
97
+ questions: {
98
+ priority: number;
99
+ question: string;
100
+ context: string;
101
+ }[];
102
+ }>;
103
+ declare const ExtractedRelationshipSchema: z.ZodObject<{
104
+ source: z.ZodString;
105
+ target: z.ZodString;
106
+ label: z.ZodString;
107
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ source: string;
110
+ target: string;
111
+ label: string;
112
+ promptedByQuestion?: string | null | undefined;
113
+ }, {
114
+ source: string;
115
+ target: string;
116
+ label: string;
117
+ promptedByQuestion?: string | null | undefined;
118
+ }>;
119
+ declare const ProactiveExtractionResultSchema: z.ZodObject<{
120
+ facts: z.ZodArray<z.ZodObject<{
121
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
122
+ content: z.ZodString;
123
+ confidence: z.ZodNumber;
124
+ tags: z.ZodArray<z.ZodString, "many">;
125
+ entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
126
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
+ structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
130
+ content: string;
131
+ confidence: number;
132
+ tags: string[];
133
+ entityRef?: string | null | undefined;
134
+ structuredAttributes?: Record<string, string> | null | undefined;
135
+ promptedByQuestion?: string | null | undefined;
136
+ }, {
137
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
138
+ content: string;
139
+ confidence: number;
140
+ tags: string[];
141
+ entityRef?: string | null | undefined;
142
+ structuredAttributes?: Record<string, string> | null | undefined;
143
+ promptedByQuestion?: string | null | undefined;
144
+ }>, "many">;
145
+ profileUpdates: z.ZodArray<z.ZodString, "many">;
146
+ entities: z.ZodArray<z.ZodObject<{
147
+ name: z.ZodString;
148
+ type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
149
+ facts: z.ZodArray<z.ZodString, "many">;
150
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ facts: string[];
153
+ name: string;
154
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
155
+ promptedByQuestion?: string | null | undefined;
156
+ }, {
157
+ facts: string[];
158
+ name: string;
159
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
160
+ promptedByQuestion?: string | null | undefined;
161
+ }>, "many">;
162
+ relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
163
+ source: z.ZodString;
164
+ target: z.ZodString;
165
+ label: z.ZodString;
166
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ source: string;
169
+ target: string;
170
+ label: string;
171
+ promptedByQuestion?: string | null | undefined;
172
+ }, {
173
+ source: string;
174
+ target: string;
175
+ label: string;
176
+ promptedByQuestion?: string | null | undefined;
177
+ }>, "many">>>;
178
+ }, "strip", z.ZodTypeAny, {
179
+ facts: {
180
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
181
+ content: string;
182
+ confidence: number;
183
+ tags: string[];
184
+ entityRef?: string | null | undefined;
185
+ structuredAttributes?: Record<string, string> | null | undefined;
186
+ promptedByQuestion?: string | null | undefined;
187
+ }[];
188
+ entities: {
189
+ facts: string[];
190
+ name: string;
191
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
192
+ promptedByQuestion?: string | null | undefined;
193
+ }[];
194
+ profileUpdates: string[];
195
+ relationships?: {
196
+ source: string;
197
+ target: string;
198
+ label: string;
199
+ promptedByQuestion?: string | null | undefined;
200
+ }[] | null | undefined;
201
+ }, {
202
+ facts: {
203
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
204
+ content: string;
205
+ confidence: number;
206
+ tags: string[];
207
+ entityRef?: string | null | undefined;
208
+ structuredAttributes?: Record<string, string> | null | undefined;
209
+ promptedByQuestion?: string | null | undefined;
210
+ }[];
211
+ entities: {
212
+ facts: string[];
213
+ name: string;
214
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
215
+ promptedByQuestion?: string | null | undefined;
216
+ }[];
217
+ profileUpdates: string[];
218
+ relationships?: {
219
+ source: string;
220
+ target: string;
221
+ label: string;
222
+ promptedByQuestion?: string | null | undefined;
223
+ }[] | null | undefined;
224
+ }>;
225
+ declare const ExtractionResultSchema: z.ZodObject<{
226
+ facts: z.ZodArray<z.ZodObject<{
227
+ category: z.ZodEnum<["fact", "preference", "correction", "entity", "decision", "relationship", "principle", "commitment", "moment", "skill", "rule"]>;
228
+ content: z.ZodString;
229
+ confidence: z.ZodNumber;
230
+ tags: z.ZodArray<z.ZodString, "many">;
231
+ entityRef: z.ZodNullable<z.ZodOptional<z.ZodString>>;
232
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
+ structuredAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
236
+ content: string;
237
+ confidence: number;
238
+ tags: string[];
239
+ entityRef?: string | null | undefined;
240
+ structuredAttributes?: Record<string, string> | null | undefined;
241
+ promptedByQuestion?: string | null | undefined;
242
+ }, {
243
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
244
+ content: string;
245
+ confidence: number;
246
+ tags: string[];
247
+ entityRef?: string | null | undefined;
248
+ structuredAttributes?: Record<string, string> | null | undefined;
249
+ promptedByQuestion?: string | null | undefined;
250
+ }>, "many">;
251
+ profileUpdates: z.ZodArray<z.ZodString, "many">;
252
+ entities: z.ZodArray<z.ZodObject<{
253
+ name: z.ZodString;
254
+ type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
255
+ facts: z.ZodArray<z.ZodString, "many">;
256
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ facts: string[];
259
+ name: string;
260
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
261
+ promptedByQuestion?: string | null | undefined;
262
+ }, {
263
+ facts: string[];
264
+ name: string;
265
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
266
+ promptedByQuestion?: string | null | undefined;
267
+ }>, "many">;
268
+ questions: z.ZodArray<z.ZodObject<{
269
+ question: z.ZodString;
270
+ context: z.ZodString;
271
+ priority: z.ZodNumber;
272
+ }, "strip", z.ZodTypeAny, {
273
+ priority: number;
274
+ question: string;
275
+ context: string;
276
+ }, {
277
+ priority: number;
278
+ question: string;
279
+ context: string;
280
+ }>, "many">;
281
+ identityReflection: z.ZodNullable<z.ZodOptional<z.ZodString>>;
282
+ relationships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
283
+ source: z.ZodString;
284
+ target: z.ZodString;
285
+ label: z.ZodString;
286
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ source: string;
289
+ target: string;
290
+ label: string;
291
+ promptedByQuestion?: string | null | undefined;
292
+ }, {
293
+ source: string;
294
+ target: string;
295
+ label: string;
296
+ promptedByQuestion?: string | null | undefined;
297
+ }>, "many">>>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ questions: {
300
+ priority: number;
301
+ question: string;
302
+ context: string;
303
+ }[];
304
+ facts: {
305
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
306
+ content: string;
307
+ confidence: number;
308
+ tags: string[];
309
+ entityRef?: string | null | undefined;
310
+ structuredAttributes?: Record<string, string> | null | undefined;
311
+ promptedByQuestion?: string | null | undefined;
312
+ }[];
313
+ entities: {
314
+ facts: string[];
315
+ name: string;
316
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
317
+ promptedByQuestion?: string | null | undefined;
318
+ }[];
319
+ profileUpdates: string[];
320
+ relationships?: {
321
+ source: string;
322
+ target: string;
323
+ label: string;
324
+ promptedByQuestion?: string | null | undefined;
325
+ }[] | null | undefined;
326
+ identityReflection?: string | null | undefined;
327
+ }, {
328
+ questions: {
329
+ priority: number;
330
+ question: string;
331
+ context: string;
332
+ }[];
333
+ facts: {
334
+ category: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule";
335
+ content: string;
336
+ confidence: number;
337
+ tags: string[];
338
+ entityRef?: string | null | undefined;
339
+ structuredAttributes?: Record<string, string> | null | undefined;
340
+ promptedByQuestion?: string | null | undefined;
341
+ }[];
342
+ entities: {
343
+ facts: string[];
344
+ name: string;
345
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
346
+ promptedByQuestion?: string | null | undefined;
347
+ }[];
348
+ profileUpdates: string[];
349
+ relationships?: {
350
+ source: string;
351
+ target: string;
352
+ label: string;
353
+ promptedByQuestion?: string | null | undefined;
354
+ }[] | null | undefined;
355
+ identityReflection?: string | null | undefined;
356
+ }>;
357
+ declare const ConsolidationItemSchema: z.ZodObject<{
358
+ existingId: z.ZodString;
359
+ action: z.ZodEnum<["ADD", "MERGE", "UPDATE", "INVALIDATE", "SKIP"]>;
360
+ mergeWith: z.ZodNullable<z.ZodOptional<z.ZodString>>;
361
+ updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
362
+ reason: z.ZodString;
363
+ }, "strip", z.ZodTypeAny, {
364
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
365
+ reason: string;
366
+ existingId: string;
367
+ mergeWith?: string | null | undefined;
368
+ updatedContent?: string | null | undefined;
369
+ }, {
370
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
371
+ reason: string;
372
+ existingId: string;
373
+ mergeWith?: string | null | undefined;
374
+ updatedContent?: string | null | undefined;
375
+ }>;
376
+ declare const ConsolidationResultSchema: z.ZodObject<{
377
+ items: z.ZodArray<z.ZodObject<{
378
+ existingId: z.ZodString;
379
+ action: z.ZodEnum<["ADD", "MERGE", "UPDATE", "INVALIDATE", "SKIP"]>;
380
+ mergeWith: z.ZodNullable<z.ZodOptional<z.ZodString>>;
381
+ updatedContent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
382
+ reason: z.ZodString;
383
+ }, "strip", z.ZodTypeAny, {
384
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
385
+ reason: string;
386
+ existingId: string;
387
+ mergeWith?: string | null | undefined;
388
+ updatedContent?: string | null | undefined;
389
+ }, {
390
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
391
+ reason: string;
392
+ existingId: string;
393
+ mergeWith?: string | null | undefined;
394
+ updatedContent?: string | null | undefined;
395
+ }>, "many">;
396
+ profileUpdates: z.ZodArray<z.ZodString, "many">;
397
+ entityUpdates: z.ZodArray<z.ZodObject<{
398
+ name: z.ZodString;
399
+ type: z.ZodEnum<["person", "project", "tool", "company", "place", "other"]>;
400
+ facts: z.ZodArray<z.ZodString, "many">;
401
+ promptedByQuestion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ facts: string[];
404
+ name: string;
405
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
406
+ promptedByQuestion?: string | null | undefined;
407
+ }, {
408
+ facts: string[];
409
+ name: string;
410
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
411
+ promptedByQuestion?: string | null | undefined;
412
+ }>, "many">;
413
+ }, "strip", z.ZodTypeAny, {
414
+ profileUpdates: string[];
415
+ items: {
416
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
417
+ reason: string;
418
+ existingId: string;
419
+ mergeWith?: string | null | undefined;
420
+ updatedContent?: string | null | undefined;
421
+ }[];
422
+ entityUpdates: {
423
+ facts: string[];
424
+ name: string;
425
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
426
+ promptedByQuestion?: string | null | undefined;
427
+ }[];
428
+ }, {
429
+ profileUpdates: string[];
430
+ items: {
431
+ action: "ADD" | "MERGE" | "UPDATE" | "INVALIDATE" | "SKIP";
432
+ reason: string;
433
+ existingId: string;
434
+ mergeWith?: string | null | undefined;
435
+ updatedContent?: string | null | undefined;
436
+ }[];
437
+ entityUpdates: {
438
+ facts: string[];
439
+ name: string;
440
+ type: "person" | "project" | "tool" | "company" | "place" | "other";
441
+ promptedByQuestion?: string | null | undefined;
442
+ }[];
443
+ }>;
444
+ declare function buildProfileConsolidationResultSchema(targetLines: number): z.ZodObject<{
445
+ consolidatedProfile: z.ZodString;
446
+ removedCount: z.ZodNumber;
447
+ summary: z.ZodString;
448
+ }, "strip", z.ZodTypeAny, {
449
+ summary: string;
450
+ consolidatedProfile: string;
451
+ removedCount: number;
452
+ }, {
453
+ summary: string;
454
+ consolidatedProfile: string;
455
+ removedCount: number;
456
+ }>;
457
+ declare const ProfileConsolidationResultSchema: z.ZodObject<{
458
+ consolidatedProfile: z.ZodString;
459
+ removedCount: z.ZodNumber;
460
+ summary: z.ZodString;
461
+ }, "strip", z.ZodTypeAny, {
462
+ summary: string;
463
+ consolidatedProfile: string;
464
+ removedCount: number;
465
+ }, {
466
+ summary: string;
467
+ consolidatedProfile: string;
468
+ removedCount: number;
469
+ }>;
470
+ declare const IdentityConsolidationResultSchema: z.ZodObject<{
471
+ learnedPatterns: z.ZodArray<z.ZodString, "many">;
472
+ summary: z.ZodString;
473
+ }, "strip", z.ZodTypeAny, {
474
+ summary: string;
475
+ learnedPatterns: string[];
476
+ }, {
477
+ summary: string;
478
+ learnedPatterns: string[];
479
+ }>;
480
+ type IdentityConsolidationResultParsed = z.infer<typeof IdentityConsolidationResultSchema>;
481
+ declare const ContradictionVerificationSchema: z.ZodObject<{
482
+ isContradiction: z.ZodBoolean;
483
+ confidence: z.ZodNumber;
484
+ reasoning: z.ZodString;
485
+ whichIsNewer: z.ZodEnum<["first", "second", "unclear"]>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ confidence: number;
488
+ isContradiction: boolean;
489
+ reasoning: string;
490
+ whichIsNewer: "first" | "second" | "unclear";
491
+ }, {
492
+ confidence: number;
493
+ isContradiction: boolean;
494
+ reasoning: string;
495
+ whichIsNewer: "first" | "second" | "unclear";
496
+ }>;
497
+ type ContradictionVerificationResult = z.infer<typeof ContradictionVerificationSchema>;
498
+ declare const MemoryLinkSchema: z.ZodObject<{
499
+ targetId: z.ZodString;
500
+ linkType: z.ZodEnum<["follows", "references", "contradicts", "supports", "related"]>;
501
+ strength: z.ZodNumber;
502
+ reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ linkType: "follows" | "references" | "contradicts" | "supports" | "related";
505
+ targetId: string;
506
+ strength: number;
507
+ reason?: string | null | undefined;
508
+ }, {
509
+ linkType: "follows" | "references" | "contradicts" | "supports" | "related";
510
+ targetId: string;
511
+ strength: number;
512
+ reason?: string | null | undefined;
513
+ }>;
514
+ declare const SuggestedLinksSchema: z.ZodObject<{
515
+ links: z.ZodArray<z.ZodObject<{
516
+ targetId: z.ZodString;
517
+ linkType: z.ZodEnum<["follows", "references", "contradicts", "supports", "related"]>;
518
+ strength: z.ZodNumber;
519
+ reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ linkType: "follows" | "references" | "contradicts" | "supports" | "related";
522
+ targetId: string;
523
+ strength: number;
524
+ reason?: string | null | undefined;
525
+ }, {
526
+ linkType: "follows" | "references" | "contradicts" | "supports" | "related";
527
+ targetId: string;
528
+ strength: number;
529
+ reason?: string | null | undefined;
530
+ }>, "many">;
531
+ }, "strip", z.ZodTypeAny, {
532
+ links: {
533
+ linkType: "follows" | "references" | "contradicts" | "supports" | "related";
534
+ targetId: string;
535
+ strength: number;
536
+ reason?: string | null | undefined;
537
+ }[];
538
+ }, {
539
+ links: {
540
+ linkType: "follows" | "references" | "contradicts" | "supports" | "related";
541
+ targetId: string;
542
+ strength: number;
543
+ reason?: string | null | undefined;
544
+ }[];
545
+ }>;
546
+ type MemoryLink = z.infer<typeof MemoryLinkSchema>;
547
+ type SuggestedLinks = z.infer<typeof SuggestedLinksSchema>;
548
+ declare const MemorySummarySchema: z.ZodObject<{
549
+ summaryText: z.ZodString;
550
+ keyFacts: z.ZodArray<z.ZodString, "many">;
551
+ keyEntities: z.ZodArray<z.ZodString, "many">;
552
+ }, "strip", z.ZodTypeAny, {
553
+ summaryText: string;
554
+ keyFacts: string[];
555
+ keyEntities: string[];
556
+ }, {
557
+ summaryText: string;
558
+ keyFacts: string[];
559
+ keyEntities: string[];
560
+ }>;
561
+ type MemorySummaryResult = z.infer<typeof MemorySummarySchema>;
562
+ declare const DaySummaryResultSchema: z.ZodObject<{
563
+ summary: z.ZodString;
564
+ bullets: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
565
+ next_actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
566
+ risks_or_open_loops: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ summary: string;
569
+ bullets: string[];
570
+ next_actions: string[];
571
+ risks_or_open_loops: string[];
572
+ }, {
573
+ summary: string;
574
+ bullets?: string[] | undefined;
575
+ next_actions?: string[] | undefined;
576
+ risks_or_open_loops?: string[] | undefined;
577
+ }>;
578
+ declare const BehaviorLoopAdjustmentSchema: z.ZodObject<{
579
+ parameter: z.ZodString;
580
+ previousValue: z.ZodNumber;
581
+ nextValue: z.ZodNumber;
582
+ delta: z.ZodNumber;
583
+ evidenceCount: z.ZodNumber;
584
+ confidence: z.ZodNumber;
585
+ reason: z.ZodString;
586
+ appliedAt: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ confidence: number;
589
+ reason: string;
590
+ parameter: string;
591
+ previousValue: number;
592
+ nextValue: number;
593
+ delta: number;
594
+ evidenceCount: number;
595
+ appliedAt: string;
596
+ }, {
597
+ confidence: number;
598
+ reason: string;
599
+ parameter: string;
600
+ previousValue: number;
601
+ nextValue: number;
602
+ delta: number;
603
+ evidenceCount: number;
604
+ appliedAt: string;
605
+ }>;
606
+ declare const BehaviorLoopPolicyStateSchema: z.ZodObject<{
607
+ version: z.ZodNumber;
608
+ windowDays: z.ZodNumber;
609
+ minSignalCount: z.ZodNumber;
610
+ maxDeltaPerCycle: z.ZodNumber;
611
+ protectedParams: z.ZodArray<z.ZodString, "many">;
612
+ adjustments: z.ZodArray<z.ZodObject<{
613
+ parameter: z.ZodString;
614
+ previousValue: z.ZodNumber;
615
+ nextValue: z.ZodNumber;
616
+ delta: z.ZodNumber;
617
+ evidenceCount: z.ZodNumber;
618
+ confidence: z.ZodNumber;
619
+ reason: z.ZodString;
620
+ appliedAt: z.ZodString;
621
+ }, "strip", z.ZodTypeAny, {
622
+ confidence: number;
623
+ reason: string;
624
+ parameter: string;
625
+ previousValue: number;
626
+ nextValue: number;
627
+ delta: number;
628
+ evidenceCount: number;
629
+ appliedAt: string;
630
+ }, {
631
+ confidence: number;
632
+ reason: string;
633
+ parameter: string;
634
+ previousValue: number;
635
+ nextValue: number;
636
+ delta: number;
637
+ evidenceCount: number;
638
+ appliedAt: string;
639
+ }>, "many">;
640
+ updatedAt: z.ZodString;
641
+ }, "strip", z.ZodTypeAny, {
642
+ version: number;
643
+ updatedAt: string;
644
+ windowDays: number;
645
+ minSignalCount: number;
646
+ maxDeltaPerCycle: number;
647
+ protectedParams: string[];
648
+ adjustments: {
649
+ confidence: number;
650
+ reason: string;
651
+ parameter: string;
652
+ previousValue: number;
653
+ nextValue: number;
654
+ delta: number;
655
+ evidenceCount: number;
656
+ appliedAt: string;
657
+ }[];
658
+ }, {
659
+ version: number;
660
+ updatedAt: string;
661
+ windowDays: number;
662
+ minSignalCount: number;
663
+ maxDeltaPerCycle: number;
664
+ protectedParams: string[];
665
+ adjustments: {
666
+ confidence: number;
667
+ reason: string;
668
+ parameter: string;
669
+ previousValue: number;
670
+ nextValue: number;
671
+ delta: number;
672
+ evidenceCount: number;
673
+ appliedAt: string;
674
+ }[];
675
+ }>;
676
+ type BehaviorLoopAdjustmentParsed = z.infer<typeof BehaviorLoopAdjustmentSchema>;
677
+ type BehaviorLoopPolicyStateParsed = z.infer<typeof BehaviorLoopPolicyStateSchema>;
678
+ type MemoryActionTypeParsed = z.infer<typeof MemoryActionTypeSchema>;
679
+ type MemoryActionEligibilityContextParsed = z.infer<typeof MemoryActionEligibilityContextSchema>;
680
+ type ExtractedFactParsed = z.infer<typeof ExtractedFactSchema>;
681
+ type EntityMentionParsed = z.infer<typeof EntityMentionSchema>;
682
+ type ExtractedQuestionParsed = z.infer<typeof ExtractedQuestionSchema>;
683
+ type ProactiveQuestionsResultParsed = z.infer<typeof ProactiveQuestionsResultSchema>;
684
+ type ExtractionResultParsed = z.infer<typeof ExtractionResultSchema>;
685
+ type ConsolidationItemParsed = z.infer<typeof ConsolidationItemSchema>;
686
+ type ConsolidationResultParsed = z.infer<typeof ConsolidationResultSchema>;
687
+
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 };