@remnic/core 10.0.136 → 10.0.138

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 (313) hide show
  1. package/dist/access-admin-ops-surface.js +152 -152
  2. package/dist/access-cli.js +152 -152
  3. package/dist/access-extraction-force-flush-preempt.d.ts +11 -0
  4. package/dist/access-extraction-force-flush-preempt.d.ts.map +1 -0
  5. package/dist/access-extraction-force-flush-preempt.js +576 -0
  6. package/dist/access-extraction-force-flush.js +152 -152
  7. package/dist/access-http-briefing.js +152 -152
  8. package/dist/access-http-query.js +152 -152
  9. package/dist/access-http.js +152 -152
  10. package/dist/access-identity-continuity-surface.js +152 -152
  11. package/dist/access-lcm-surface.js +152 -152
  12. package/dist/access-mcp.js +152 -152
  13. package/dist/access-observe-write-category.js +10 -10
  14. package/dist/access-observe-write-surface.d.ts.map +1 -1
  15. package/dist/access-observe-write-surface.js +152 -152
  16. package/dist/access-offline-manifest.js +15 -15
  17. package/dist/access-operations-batch.js +152 -152
  18. package/dist/access-operations.js +152 -152
  19. package/dist/access-recall-concurrency.js +152 -152
  20. package/dist/access-recall-diagnostics.js +8 -8
  21. package/dist/access-recall-response.js +152 -152
  22. package/dist/access-recall-surface.js +152 -152
  23. package/dist/access-schema.js +9 -9
  24. package/dist/access-service.js +152 -152
  25. package/dist/access-surface-catalog.js +4 -4
  26. package/dist/active-memory-bridge.js +7 -7
  27. package/dist/active-recall.js +31 -31
  28. package/dist/{auto-sync-BO5YZKM6.js → auto-sync-PSZJHHXB.js} +5 -5
  29. package/dist/briefing.js +21 -21
  30. package/dist/buffer-turn.d.ts +11 -0
  31. package/dist/buffer-turn.d.ts.map +1 -1
  32. package/dist/buffer.js +10 -10
  33. package/dist/calibration.js +3 -3
  34. package/dist/causal-consolidation.js +22 -22
  35. package/dist/{chunk-T4KY6UYF.js → chunk-274UY54Z.js} +2 -2
  36. package/dist/{chunk-3TVCG6ST.js → chunk-2DWTO7XP.js} +6 -6
  37. package/dist/{chunk-STKNZY7A.js → chunk-2NJ74RQU.js} +2 -2
  38. package/dist/{chunk-4H7TUVWQ.js → chunk-2VS3DAXE.js} +3 -3
  39. package/dist/{chunk-MEQPK3KG.js → chunk-3BRHOVRU.js} +3 -3
  40. package/dist/{chunk-HLWXCDUQ.js → chunk-3DAWHP5K.js} +5 -5
  41. package/dist/{chunk-KVCFAWBZ.js → chunk-3PZDG5ZH.js} +2 -2
  42. package/dist/{chunk-5RZ4DAP6.js → chunk-5IGWEYNV.js} +3 -3
  43. package/dist/{chunk-U5I2G4VU.js → chunk-5WZT6WQW.js} +4 -4
  44. package/dist/{chunk-TL6QIZT7.js → chunk-66MBMBSH.js} +2 -2
  45. package/dist/{chunk-KLUCX6OH.js → chunk-77SYM565.js} +14 -14
  46. package/dist/{chunk-ZGGFGUUF.js → chunk-A33VT7GC.js} +2 -2
  47. package/dist/{chunk-5RCXMLI5.js → chunk-AV6R66KO.js} +3 -3
  48. package/dist/{chunk-BL545EH7.js → chunk-CFSCKCT5.js} +15 -14
  49. package/dist/chunk-CFSCKCT5.js.map +1 -0
  50. package/dist/{chunk-S3LWB6K3.js → chunk-CKG7T4AD.js} +2 -2
  51. package/dist/{chunk-YNTVQWLX.js → chunk-DI2QWY6J.js} +16 -16
  52. package/dist/{chunk-3RW5ZCYO.js → chunk-DIBOWE53.js} +2 -2
  53. package/dist/{chunk-QRZNVNNS.js → chunk-EEY326VH.js} +3 -3
  54. package/dist/{chunk-OIGJZHDU.js → chunk-EUL3S3LE.js} +7 -7
  55. package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
  56. package/dist/{chunk-DUTLMAUC.js → chunk-F4DXTUHY.js} +2 -2
  57. package/dist/{chunk-DK2VBJ6Q.js → chunk-FAPJG3OG.js} +4 -4
  58. package/dist/{chunk-M2XR6B6V.js → chunk-FEUWI5QH.js} +2 -2
  59. package/dist/{chunk-VO3HCFSR.js → chunk-GAVFANAB.js} +2 -2
  60. package/dist/{chunk-SPHBQTWE.js → chunk-GOYLBPSW.js} +3 -3
  61. package/dist/{chunk-37T5ZO5P.js → chunk-HOSS72UP.js} +2 -2
  62. package/dist/{chunk-3TU6OBI7.js → chunk-I3UBDUHO.js} +2 -2
  63. package/dist/{chunk-HA6V3CLH.js → chunk-JCWI43TO.js} +2 -2
  64. package/dist/{chunk-6LNWA6IT.js → chunk-JEAMQL63.js} +13 -13
  65. package/dist/{chunk-XBNGH2FV.js → chunk-JG6AHBJW.js} +2 -2
  66. package/dist/{chunk-3F6COEHZ.js → chunk-JVNGFQJN.js} +1 -1
  67. package/dist/chunk-JVNGFQJN.js.map +1 -0
  68. package/dist/{chunk-PA5FI6A5.js → chunk-JY327EH4.js} +2 -2
  69. package/dist/{chunk-WYSCN5TA.js → chunk-K4DBE5MH.js} +9 -9
  70. package/dist/{chunk-KIICCGSV.js → chunk-KCLHHANX.js} +3 -3
  71. package/dist/{chunk-QOI4PNVG.js → chunk-KCVPKFDG.js} +2 -2
  72. package/dist/{chunk-EFMAYZOB.js → chunk-L6CMR5OI.js} +2 -2
  73. package/dist/{chunk-Y3TA66MZ.js → chunk-LEH4FVBJ.js} +20 -20
  74. package/dist/{chunk-AHA5VQGP.js → chunk-LEII44QG.js} +4 -4
  75. package/dist/chunk-LEO4MQ3S.js +140 -0
  76. package/dist/chunk-LEO4MQ3S.js.map +1 -0
  77. package/dist/{chunk-4VL2H5Q3.js → chunk-LL7WIK2Z.js} +2 -2
  78. package/dist/{chunk-GW23JXGJ.js → chunk-LT35JWKZ.js} +2 -2
  79. package/dist/{chunk-U5OVNYJX.js → chunk-MP6V4CLP.js} +9 -9
  80. package/dist/{chunk-NEXJ3OOZ.js → chunk-MXE42X3I.js} +6 -6
  81. package/dist/{chunk-LR6QP72R.js → chunk-N6JGLQV7.js} +2 -2
  82. package/dist/{chunk-J6U6KUMK.js → chunk-N7IJEGSE.js} +2 -2
  83. package/dist/{chunk-5ZS73P3U.js → chunk-NB2BKYUS.js} +2 -2
  84. package/dist/{chunk-KN44QS5F.js → chunk-NOZDET3Q.js} +6 -6
  85. package/dist/{chunk-C2KE5DMD.js → chunk-O6ZSWHVR.js} +4 -4
  86. package/dist/{chunk-C73N66PR.js → chunk-OBPOIZNR.js} +2 -2
  87. package/dist/{chunk-TSJQ7C2T.js → chunk-OFMK76LD.js} +16 -16
  88. package/dist/{chunk-LK3LXSJQ.js → chunk-OI3UMEW3.js} +5 -5
  89. package/dist/{chunk-6Z7BRM7C.js → chunk-OJJ73HLA.js} +3 -3
  90. package/dist/{chunk-CLVILSBR.js → chunk-OZNBZJ3S.js} +22 -22
  91. package/dist/{chunk-GUI7MLKC.js → chunk-PKPW7MXT.js} +4 -4
  92. package/dist/{chunk-SCQO7JOF.js → chunk-PKV3NNM2.js} +2 -2
  93. package/dist/{chunk-XCZQ7MID.js → chunk-PNT3SZRY.js} +21 -21
  94. package/dist/{chunk-IXX4SKF5.js → chunk-POB7N5UM.js} +2 -2
  95. package/dist/{chunk-2OIQHXN4.js → chunk-PQ5FYNY2.js} +2 -2
  96. package/dist/{chunk-JDY34KBL.js → chunk-QUMKDRCF.js} +4 -4
  97. package/dist/{chunk-CGEOIR4F.js → chunk-QZ5JZNXN.js} +475 -329
  98. package/dist/chunk-QZ5JZNXN.js.map +1 -0
  99. package/dist/{chunk-V6JECHY6.js → chunk-SBRUTD5O.js} +6 -6
  100. package/dist/{chunk-ZKHDDEPF.js → chunk-SRW4IKHM.js} +2 -2
  101. package/dist/{chunk-BTY6DUFW.js → chunk-SU63UQPL.js} +7 -7
  102. package/dist/{chunk-TVDJEUV5.js → chunk-SX4BR26Y.js} +2 -2
  103. package/dist/{chunk-OIG4ZFMB.js → chunk-SZK2DX5U.js} +5 -5
  104. package/dist/{chunk-5BE3FLKL.js → chunk-TAUHAP5J.js} +4 -4
  105. package/dist/{chunk-NS7U4ZYU.js → chunk-TSUSHXBW.js} +2 -2
  106. package/dist/{chunk-YMFPFXEX.js → chunk-TYOS62PM.js} +5 -5
  107. package/dist/{chunk-BFDXJHYG.js → chunk-U3GJUARA.js} +2 -2
  108. package/dist/{chunk-P3WRNWWM.js → chunk-UPE7TJWN.js} +2 -2
  109. package/dist/{chunk-OE35LFBF.js → chunk-VF3EVRUN.js} +3 -3
  110. package/dist/{chunk-VY3DHUL7.js → chunk-VRWQUUZ7.js} +8 -8
  111. package/dist/{chunk-FEWOSD33.js → chunk-VSZEV7HG.js} +6 -6
  112. package/dist/{chunk-K2VRKCPA.js → chunk-XBW7U7GM.js} +4 -4
  113. package/dist/{chunk-UA2NDTIU.js → chunk-YAVIBVCU.js} +4 -4
  114. package/dist/{chunk-HKQ3LH34.js → chunk-YDOLJQ55.js} +5 -5
  115. package/dist/{chunk-JGM3OWPQ.js → chunk-YMNFHNZH.js} +2 -2
  116. package/dist/{chunk-DJ7WVEWX.js → chunk-YVXM5QFL.js} +2 -2
  117. package/dist/{chunk-FMFCQRDM.js → chunk-ZANNIXXE.js} +3 -3
  118. package/dist/{chunk-OJXK5C6Z.js → chunk-ZG4GNPRE.js} +7 -7
  119. package/dist/{chunk-B3DR2JBZ.js → chunk-ZZYJNT2J.js} +4 -4
  120. package/dist/cli.js +152 -152
  121. package/dist/coding/export-okf-codegraph.js +20 -20
  122. package/dist/compounding/engine.js +22 -22
  123. package/dist/config.d.ts.map +1 -1
  124. package/dist/config.js +31 -31
  125. package/dist/connectors/codex-materialize-runner.js +21 -21
  126. package/dist/connectors/index.js +23 -23
  127. package/dist/contradiction/index.js +12 -12
  128. package/dist/{contradiction-scan-IBPYGQZF.js → contradiction-scan-DTQFAW22.js} +6 -6
  129. package/dist/convergence-refresh.js +22 -22
  130. package/dist/corpus-watermark.js +23 -23
  131. package/dist/dashboard-runtime.js +2 -2
  132. package/dist/deep-recall-http-glue.js +10 -10
  133. package/dist/embedding-fallback.js +2 -2
  134. package/dist/entity-retrieval.js +20 -20
  135. package/dist/event-order-recall.js +2 -2
  136. package/dist/explicit-capture.js +152 -152
  137. package/dist/extraction-normalization.js +1 -1
  138. package/dist/extraction-window-drain.d.ts +21 -0
  139. package/dist/extraction-window-drain.d.ts.map +1 -1
  140. package/dist/extraction-window-drain.js +5 -3
  141. package/dist/extraction.js +32 -32
  142. package/dist/{first-start-migration-FILJH3RO.js → first-start-migration-BPVJ4HJQ.js} +8 -8
  143. package/dist/graph-edge-decay-EKWXRBWF.js +1 -1
  144. package/dist/harmonic-retrieval.js +20 -20
  145. package/dist/index.js +291 -291
  146. package/dist/lcm/engine.js +3 -3
  147. package/dist/lcm/index.js +8 -8
  148. package/dist/local-llm-config.js +2 -2
  149. package/dist/location/index.js +23 -23
  150. package/dist/maintenance/memory-governance.js +20 -20
  151. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +20 -20
  152. package/dist/maintenance/rebuild-memory-projection-runner.js +22 -22
  153. package/dist/maintenance/rebuild-memory-projection.js +21 -21
  154. package/dist/memory-browse.js +9 -9
  155. package/dist/namespaces/migrate.js +22 -22
  156. package/dist/namespaces/search.js +4 -4
  157. package/dist/namespaces/storage.js +21 -21
  158. package/dist/offline-sync-changeset-generations.js +3 -3
  159. package/dist/offline-sync-embedding-generation.js +2 -2
  160. package/dist/offline-sync-impression-drain.js +3 -3
  161. package/dist/offline-sync-snapshot-stream.js +6 -6
  162. package/dist/offline-sync.js +5 -5
  163. package/dist/operator-doctor-corpus.js +24 -24
  164. package/dist/operator-toolkit.js +41 -41
  165. package/dist/orchestration/backlog-scheduler.js +153 -153
  166. package/dist/orchestration/buffer-drain-runner.js +153 -153
  167. package/dist/orchestration/extraction-drain.d.ts +13 -0
  168. package/dist/orchestration/extraction-drain.d.ts.map +1 -1
  169. package/dist/orchestration/extraction-queue-coordinator.d.ts +10 -0
  170. package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -1
  171. package/dist/orchestration/maintenance.js +34 -34
  172. package/dist/orchestrator.d.ts.map +1 -1
  173. package/dist/orchestrator.js +156 -156
  174. package/dist/qmd.js +4 -4
  175. package/dist/recall-explain-renderer.js +3 -3
  176. package/dist/recall-navigate-access.js +2 -2
  177. package/dist/recall-navigate-disclosure.js +2 -2
  178. package/dist/recall-navigate.js +2 -2
  179. package/dist/recall-navigation.js +152 -152
  180. package/dist/recall-state-view-admission.js +5 -5
  181. package/dist/recall-why-service.js +15 -15
  182. package/dist/recall-why.js +6 -6
  183. package/dist/recall-xray-cli.js +4 -4
  184. package/dist/recall-xray-renderer.js +3 -3
  185. package/dist/recall-xray.js +2 -2
  186. package/dist/reconcile/cursor.js +2 -2
  187. package/dist/reconcile/manifest.js +3 -3
  188. package/dist/reconcile/plan.js +2 -2
  189. package/dist/{resolution-G4SLHSEU.js → resolution-7XBNQVKU.js} +9 -9
  190. package/dist/resolution-7XBNQVKU.js.map +1 -0
  191. package/dist/resume-bundles.js +33 -33
  192. package/dist/search/factory.js +3 -3
  193. package/dist/search/index.js +3 -3
  194. package/dist/semantic-consolidation.js +22 -22
  195. package/dist/semantic-rule-promotion.js +20 -20
  196. package/dist/semantic-rule-verifier.js +20 -20
  197. package/dist/source-agent-qualifier.js +29 -29
  198. package/dist/standup/build.js +21 -21
  199. package/dist/storage.js +19 -19
  200. package/dist/summarizer.js +1 -1
  201. package/dist/support-passport/index.js +12 -12
  202. package/dist/tier-routing.js +4 -4
  203. package/dist/{tier-stats-FXEUJN73.js → tier-stats-FLFKN7Y6.js} +8 -8
  204. package/dist/transfer/export-okf.js +20 -20
  205. package/dist/types.d.ts +5 -6
  206. package/dist/types.d.ts.map +1 -1
  207. package/dist/types.js +1 -1
  208. package/dist/verified-recall.js +20 -20
  209. package/dist/who-knows-cli.js +21 -21
  210. package/dist/who-knows.js +20 -20
  211. package/package.json +2 -2
  212. package/src/access-extraction-force-flush-preempt-coordinator.test.ts +60 -0
  213. package/src/access-extraction-force-flush-preempt.test.ts +41 -0
  214. package/src/access-extraction-force-flush-preempt.ts +56 -0
  215. package/src/access-observe-write-surface.ts +2 -14
  216. package/src/buffer-turn.ts +8 -0
  217. package/src/config.ts +2 -0
  218. package/src/extraction-window-drain.test.ts +66 -0
  219. package/src/extraction-window-drain.ts +113 -2
  220. package/src/orchestration/extraction-drain-parts.test.ts +260 -0
  221. package/src/orchestration/extraction-drain.ts +186 -23
  222. package/src/orchestration/extraction-queue-coordinator.ts +23 -0
  223. package/src/orchestrator-flush.test.ts +3 -0
  224. package/src/orchestrator.ts +1 -0
  225. package/src/part-failure-threshold.test.ts +91 -0
  226. package/src/types.ts +5 -6
  227. package/dist/chunk-3F6COEHZ.js.map +0 -1
  228. package/dist/chunk-BL545EH7.js.map +0 -1
  229. package/dist/chunk-CGEOIR4F.js.map +0 -1
  230. package/dist/chunk-LZIOY7ZU.js +0 -57
  231. package/dist/chunk-LZIOY7ZU.js.map +0 -1
  232. /package/dist/{contradiction-scan-IBPYGQZF.js.map → access-extraction-force-flush-preempt.js.map} +0 -0
  233. /package/dist/{auto-sync-BO5YZKM6.js.map → auto-sync-PSZJHHXB.js.map} +0 -0
  234. /package/dist/{chunk-T4KY6UYF.js.map → chunk-274UY54Z.js.map} +0 -0
  235. /package/dist/{chunk-3TVCG6ST.js.map → chunk-2DWTO7XP.js.map} +0 -0
  236. /package/dist/{chunk-STKNZY7A.js.map → chunk-2NJ74RQU.js.map} +0 -0
  237. /package/dist/{chunk-4H7TUVWQ.js.map → chunk-2VS3DAXE.js.map} +0 -0
  238. /package/dist/{chunk-MEQPK3KG.js.map → chunk-3BRHOVRU.js.map} +0 -0
  239. /package/dist/{chunk-HLWXCDUQ.js.map → chunk-3DAWHP5K.js.map} +0 -0
  240. /package/dist/{chunk-KVCFAWBZ.js.map → chunk-3PZDG5ZH.js.map} +0 -0
  241. /package/dist/{chunk-5RZ4DAP6.js.map → chunk-5IGWEYNV.js.map} +0 -0
  242. /package/dist/{chunk-U5I2G4VU.js.map → chunk-5WZT6WQW.js.map} +0 -0
  243. /package/dist/{chunk-TL6QIZT7.js.map → chunk-66MBMBSH.js.map} +0 -0
  244. /package/dist/{chunk-KLUCX6OH.js.map → chunk-77SYM565.js.map} +0 -0
  245. /package/dist/{chunk-ZGGFGUUF.js.map → chunk-A33VT7GC.js.map} +0 -0
  246. /package/dist/{chunk-5RCXMLI5.js.map → chunk-AV6R66KO.js.map} +0 -0
  247. /package/dist/{chunk-S3LWB6K3.js.map → chunk-CKG7T4AD.js.map} +0 -0
  248. /package/dist/{chunk-YNTVQWLX.js.map → chunk-DI2QWY6J.js.map} +0 -0
  249. /package/dist/{chunk-3RW5ZCYO.js.map → chunk-DIBOWE53.js.map} +0 -0
  250. /package/dist/{chunk-QRZNVNNS.js.map → chunk-EEY326VH.js.map} +0 -0
  251. /package/dist/{chunk-OIGJZHDU.js.map → chunk-EUL3S3LE.js.map} +0 -0
  252. /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
  253. /package/dist/{chunk-DUTLMAUC.js.map → chunk-F4DXTUHY.js.map} +0 -0
  254. /package/dist/{chunk-DK2VBJ6Q.js.map → chunk-FAPJG3OG.js.map} +0 -0
  255. /package/dist/{chunk-M2XR6B6V.js.map → chunk-FEUWI5QH.js.map} +0 -0
  256. /package/dist/{chunk-VO3HCFSR.js.map → chunk-GAVFANAB.js.map} +0 -0
  257. /package/dist/{chunk-SPHBQTWE.js.map → chunk-GOYLBPSW.js.map} +0 -0
  258. /package/dist/{chunk-37T5ZO5P.js.map → chunk-HOSS72UP.js.map} +0 -0
  259. /package/dist/{chunk-3TU6OBI7.js.map → chunk-I3UBDUHO.js.map} +0 -0
  260. /package/dist/{chunk-HA6V3CLH.js.map → chunk-JCWI43TO.js.map} +0 -0
  261. /package/dist/{chunk-6LNWA6IT.js.map → chunk-JEAMQL63.js.map} +0 -0
  262. /package/dist/{chunk-XBNGH2FV.js.map → chunk-JG6AHBJW.js.map} +0 -0
  263. /package/dist/{chunk-PA5FI6A5.js.map → chunk-JY327EH4.js.map} +0 -0
  264. /package/dist/{chunk-WYSCN5TA.js.map → chunk-K4DBE5MH.js.map} +0 -0
  265. /package/dist/{chunk-KIICCGSV.js.map → chunk-KCLHHANX.js.map} +0 -0
  266. /package/dist/{chunk-QOI4PNVG.js.map → chunk-KCVPKFDG.js.map} +0 -0
  267. /package/dist/{chunk-EFMAYZOB.js.map → chunk-L6CMR5OI.js.map} +0 -0
  268. /package/dist/{chunk-Y3TA66MZ.js.map → chunk-LEH4FVBJ.js.map} +0 -0
  269. /package/dist/{chunk-AHA5VQGP.js.map → chunk-LEII44QG.js.map} +0 -0
  270. /package/dist/{chunk-4VL2H5Q3.js.map → chunk-LL7WIK2Z.js.map} +0 -0
  271. /package/dist/{chunk-GW23JXGJ.js.map → chunk-LT35JWKZ.js.map} +0 -0
  272. /package/dist/{chunk-U5OVNYJX.js.map → chunk-MP6V4CLP.js.map} +0 -0
  273. /package/dist/{chunk-NEXJ3OOZ.js.map → chunk-MXE42X3I.js.map} +0 -0
  274. /package/dist/{chunk-LR6QP72R.js.map → chunk-N6JGLQV7.js.map} +0 -0
  275. /package/dist/{chunk-J6U6KUMK.js.map → chunk-N7IJEGSE.js.map} +0 -0
  276. /package/dist/{chunk-5ZS73P3U.js.map → chunk-NB2BKYUS.js.map} +0 -0
  277. /package/dist/{chunk-KN44QS5F.js.map → chunk-NOZDET3Q.js.map} +0 -0
  278. /package/dist/{chunk-C2KE5DMD.js.map → chunk-O6ZSWHVR.js.map} +0 -0
  279. /package/dist/{chunk-C73N66PR.js.map → chunk-OBPOIZNR.js.map} +0 -0
  280. /package/dist/{chunk-TSJQ7C2T.js.map → chunk-OFMK76LD.js.map} +0 -0
  281. /package/dist/{chunk-LK3LXSJQ.js.map → chunk-OI3UMEW3.js.map} +0 -0
  282. /package/dist/{chunk-6Z7BRM7C.js.map → chunk-OJJ73HLA.js.map} +0 -0
  283. /package/dist/{chunk-CLVILSBR.js.map → chunk-OZNBZJ3S.js.map} +0 -0
  284. /package/dist/{chunk-GUI7MLKC.js.map → chunk-PKPW7MXT.js.map} +0 -0
  285. /package/dist/{chunk-SCQO7JOF.js.map → chunk-PKV3NNM2.js.map} +0 -0
  286. /package/dist/{chunk-XCZQ7MID.js.map → chunk-PNT3SZRY.js.map} +0 -0
  287. /package/dist/{chunk-IXX4SKF5.js.map → chunk-POB7N5UM.js.map} +0 -0
  288. /package/dist/{chunk-2OIQHXN4.js.map → chunk-PQ5FYNY2.js.map} +0 -0
  289. /package/dist/{chunk-JDY34KBL.js.map → chunk-QUMKDRCF.js.map} +0 -0
  290. /package/dist/{chunk-V6JECHY6.js.map → chunk-SBRUTD5O.js.map} +0 -0
  291. /package/dist/{chunk-ZKHDDEPF.js.map → chunk-SRW4IKHM.js.map} +0 -0
  292. /package/dist/{chunk-BTY6DUFW.js.map → chunk-SU63UQPL.js.map} +0 -0
  293. /package/dist/{chunk-TVDJEUV5.js.map → chunk-SX4BR26Y.js.map} +0 -0
  294. /package/dist/{chunk-OIG4ZFMB.js.map → chunk-SZK2DX5U.js.map} +0 -0
  295. /package/dist/{chunk-5BE3FLKL.js.map → chunk-TAUHAP5J.js.map} +0 -0
  296. /package/dist/{chunk-NS7U4ZYU.js.map → chunk-TSUSHXBW.js.map} +0 -0
  297. /package/dist/{chunk-YMFPFXEX.js.map → chunk-TYOS62PM.js.map} +0 -0
  298. /package/dist/{chunk-BFDXJHYG.js.map → chunk-U3GJUARA.js.map} +0 -0
  299. /package/dist/{chunk-P3WRNWWM.js.map → chunk-UPE7TJWN.js.map} +0 -0
  300. /package/dist/{chunk-OE35LFBF.js.map → chunk-VF3EVRUN.js.map} +0 -0
  301. /package/dist/{chunk-VY3DHUL7.js.map → chunk-VRWQUUZ7.js.map} +0 -0
  302. /package/dist/{chunk-FEWOSD33.js.map → chunk-VSZEV7HG.js.map} +0 -0
  303. /package/dist/{chunk-K2VRKCPA.js.map → chunk-XBW7U7GM.js.map} +0 -0
  304. /package/dist/{chunk-UA2NDTIU.js.map → chunk-YAVIBVCU.js.map} +0 -0
  305. /package/dist/{chunk-HKQ3LH34.js.map → chunk-YDOLJQ55.js.map} +0 -0
  306. /package/dist/{chunk-JGM3OWPQ.js.map → chunk-YMNFHNZH.js.map} +0 -0
  307. /package/dist/{chunk-DJ7WVEWX.js.map → chunk-YVXM5QFL.js.map} +0 -0
  308. /package/dist/{chunk-FMFCQRDM.js.map → chunk-ZANNIXXE.js.map} +0 -0
  309. /package/dist/{chunk-OJXK5C6Z.js.map → chunk-ZG4GNPRE.js.map} +0 -0
  310. /package/dist/{chunk-B3DR2JBZ.js.map → chunk-ZZYJNT2J.js.map} +0 -0
  311. /package/dist/{resolution-G4SLHSEU.js.map → contradiction-scan-DTQFAW22.js.map} +0 -0
  312. /package/dist/{first-start-migration-FILJH3RO.js.map → first-start-migration-BPVJ4HJQ.js.map} +0 -0
  313. /package/dist/{tier-stats-FXEUJN73.js.map → tier-stats-FLFKN7Y6.js.map} +0 -0
@@ -0,0 +1,140 @@
1
+ // src/extraction-window-drain.ts
2
+ function chunkExtractionWindow(turns, maxChars) {
3
+ if (turns.length === 0) return [];
4
+ const budget = Number.isFinite(maxChars) && maxChars > 0 ? Math.floor(maxChars) : Number.POSITIVE_INFINITY;
5
+ const chunks = [];
6
+ let current = [];
7
+ let currentChars = 0;
8
+ for (const turn of turns) {
9
+ const turnChars = turn.content.length;
10
+ if (current.length > 0 && currentChars + turnChars > budget) {
11
+ chunks.push(current);
12
+ current = [];
13
+ currentChars = 0;
14
+ }
15
+ current.push(turn);
16
+ currentChars += turnChars;
17
+ }
18
+ if (current.length > 0) chunks.push(current);
19
+ return chunks;
20
+ }
21
+ var DRAIN_DEFERRAL_REASONS = {
22
+ provider_circuit_open: true,
23
+ extraction_backoff: true,
24
+ scope_profile_no_writable_layer: true
25
+ };
26
+ function classifyDrainResult(result) {
27
+ if (result.status !== "skipped") return "drained";
28
+ if (result.reason !== void 0 && result.reason in DRAIN_DEFERRAL_REASONS) return "deferred";
29
+ if (result.retainedBuffer === true) return "failed";
30
+ return "drained";
31
+ }
32
+ function mergeDrainResults(previous, next) {
33
+ if (previous === null) return next;
34
+ const completed = previous.status === "completed" || next.status === "completed";
35
+ const merged = {
36
+ status: completed ? "completed" : "skipped",
37
+ persistedCount: previous.persistedCount + next.persistedCount,
38
+ durableOutputCount: previous.durableOutputCount + next.durableOutputCount
39
+ };
40
+ if (!completed) merged.reason = next.reason ?? previous.reason;
41
+ if (previous.postPersistMetadataFailed === true || next.postPersistMetadataFailed === true) {
42
+ merged.postPersistMetadataFailed = true;
43
+ }
44
+ return merged;
45
+ }
46
+ function extractionWindowBudgetChars(input) {
47
+ const callMax = input.callMaxChars ?? Number.POSITIVE_INFINITY;
48
+ const cap = Number.isFinite(callMax) && callMax > 0 ? callMax : Number.POSITIVE_INFINITY;
49
+ if (!input.registry || !input.localExtractionActive) return cap;
50
+ return Math.min(cap, input.registry.calculateContextSizes(input.model, input.maxContext).maxInputChars);
51
+ }
52
+ function splitSegments(content) {
53
+ const out = [];
54
+ let start = 0;
55
+ let index = 0;
56
+ while (index < content.length) {
57
+ const ch = content[index];
58
+ if (ch === "\n") {
59
+ let end = index;
60
+ while (end < content.length && content[end] === "\n") end += 1;
61
+ out.push(content.slice(start, end));
62
+ start = end;
63
+ index = end;
64
+ continue;
65
+ }
66
+ if (ch === "." || ch === "!" || ch === "?") {
67
+ let end = index + 1;
68
+ while (end < content.length && (content[end] === " " || content[end] === " ")) end += 1;
69
+ out.push(content.slice(start, end));
70
+ start = end;
71
+ index = end;
72
+ continue;
73
+ }
74
+ index += 1;
75
+ }
76
+ if (start < content.length) out.push(content.slice(start));
77
+ return out;
78
+ }
79
+ function splitTurnContent(content, maxChars) {
80
+ const segments = splitSegments(content);
81
+ const parts = [];
82
+ let current = "";
83
+ for (const segment of segments) {
84
+ let piece = segment;
85
+ while (piece.length > 0) {
86
+ const room = maxChars - current.length;
87
+ if (piece.length <= room) {
88
+ current += piece;
89
+ break;
90
+ }
91
+ if (current.length > 0) {
92
+ parts.push(current);
93
+ current = "";
94
+ continue;
95
+ }
96
+ parts.push(piece.slice(0, maxChars));
97
+ piece = piece.slice(maxChars);
98
+ }
99
+ }
100
+ if (current.length > 0) parts.push(current);
101
+ return parts;
102
+ }
103
+ function splitOversizedTurns(turns, maxChars, maxParts = 8) {
104
+ const partParents = /* @__PURE__ */ new Map();
105
+ const clampedParents = /* @__PURE__ */ new Set();
106
+ const budget = Math.floor(maxChars);
107
+ if (!(Number.isFinite(budget) && budget > 0)) {
108
+ return { turns: [...turns], partParents, clampedParents, clamped: false };
109
+ }
110
+ const out = [];
111
+ let clamped = false;
112
+ for (const turn of turns) {
113
+ if (turn.content.length <= budget) {
114
+ out.push(turn);
115
+ continue;
116
+ }
117
+ const slices = splitTurnContent(turn.content, budget);
118
+ const emitted = slices.slice(0, maxParts);
119
+ if (slices.length > maxParts) {
120
+ clamped = true;
121
+ clampedParents.add(turn);
122
+ }
123
+ const of = emitted.length;
124
+ for (const [index, slice] of emitted.entries()) {
125
+ const part = { ...turn, content: slice, extractionPartOf: { part: index + 1, of } };
126
+ partParents.set(part, turn);
127
+ out.push(part);
128
+ }
129
+ }
130
+ return { turns: out, partParents, clampedParents, clamped };
131
+ }
132
+
133
+ export {
134
+ chunkExtractionWindow,
135
+ classifyDrainResult,
136
+ mergeDrainResults,
137
+ extractionWindowBudgetChars,
138
+ splitOversizedTurns
139
+ };
140
+ //# sourceMappingURL=chunk-LEO4MQ3S.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/extraction-window-drain.ts"],"sourcesContent":["/**\n * Trigger-drain helpers (extraction trigger stall fix).\n *\n * A session whose buffered window outgrows the extraction model's context\n * never drains: the trigger fires `extract_batch` on every observe, the\n * oversized request fails, nothing is cleared, and the window only grows.\n * These helpers split such a window into budget-fitting chunks and classify\n * each extraction run so the caller can drain successes, defer on breaker/\n * backoff retention, and drop repeatedly failing chunks.\n */\n\nimport type { ExtractionRunResult } from \"./orchestration/extraction-run.js\";\n\n/**\n * Split `turns` into chunks whose summed content length stays within\n * `maxChars`. Chunks keep turn order and never split a turn; a single turn\n * longer than the budget becomes its own chunk (the extraction prompt still\n * clamps per-turn content). A non-positive or non-finite budget, or an empty\n * window, yields at most one chunk (no chunking).\n */\nexport function chunkExtractionWindow<T extends { content: string }>(\n turns: readonly T[],\n maxChars: number,\n): T[][] {\n if (turns.length === 0) return [];\n const budget =\n Number.isFinite(maxChars) && maxChars > 0 ? Math.floor(maxChars) : Number.POSITIVE_INFINITY;\n const chunks: T[][] = [];\n let current: T[] = [];\n let currentChars = 0;\n for (const turn of turns) {\n const turnChars = turn.content.length;\n if (current.length > 0 && currentChars + turnChars > budget) {\n chunks.push(current);\n current = [];\n currentChars = 0;\n }\n current.push(turn);\n currentChars += turnChars;\n }\n if (current.length > 0) chunks.push(current);\n return chunks;\n}\n\nexport type DrainVerdict = \"drained\" | \"deferred\" | \"failed\";\n\n/**\n * Run results that deliberately RETAIN the buffer (provider breaker open,\n * per-fingerprint backoff, a scope policy refusal) are deferrals, not chunk\n * failures — counting them would eventually drop good content that never got\n * its attempt.\n */\nconst DRAIN_DEFERRAL_REASONS = {\n provider_circuit_open: true,\n extraction_backoff: true,\n scope_profile_no_writable_layer: true,\n};\n\nexport function classifyDrainResult(result: ExtractionRunResult): DrainVerdict {\n if (result.status !== \"skipped\") return \"drained\";\n if (result.reason !== undefined && result.reason in DRAIN_DEFERRAL_REASONS) return \"deferred\";\n // A run that kept its window for retry did NOT consume the content: it is a\n // chunk failure, never a drain — even when the window was retained.\n if (result.retainedBuffer === true) return \"failed\";\n return \"drained\";\n}\n\n/**\n * Combine chunk results into the single `ExtractionRunResult` the queue\n * contract settles with: counts sum, any completed chunk completes the drain,\n * and the last non-completed reason wins.\n */\nexport function mergeDrainResults(\n previous: ExtractionRunResult | null,\n next: ExtractionRunResult,\n): ExtractionRunResult {\n if (previous === null) return next;\n const completed = previous.status === \"completed\" || next.status === \"completed\";\n const merged: ExtractionRunResult = {\n status: completed ? \"completed\" : \"skipped\",\n persistedCount: previous.persistedCount + next.persistedCount,\n durableOutputCount: previous.durableOutputCount + next.durableOutputCount,\n };\n if (!completed) merged.reason = next.reason ?? previous.reason;\n if (previous.postPersistMetadataFailed === true || next.postPersistMetadataFailed === true) {\n merged.postPersistMetadataFailed = true;\n }\n return merged;\n}\n\n/** The slice of ModelRegistry the drain budget needs. */\nexport interface WindowBudgetRegistry {\n calculateContextSizes(modelId: string, maxContextOverride?: number): { maxInputChars: number };\n}\n\n/**\n * Character budget for one extraction request. The learned local-model window\n * only describes the extractor when the local LLM does the extracting; with a\n * gateway extractor, a disabled local LLM, or no registry (legacy hosts, test\n * doubles) there is no budget and the window runs in one request as before.\n */\nexport function extractionWindowBudgetChars(input: {\n registry: WindowBudgetRegistry | undefined;\n localExtractionActive: boolean;\n model: string;\n maxContext: number | undefined;\n /** Configured per-call payload cap (`extractionCallMaxChars`). */\n callMaxChars?: number;\n}): number {\n const callMax = input.callMaxChars ?? Number.POSITIVE_INFINITY;\n const cap = Number.isFinite(callMax) && callMax > 0 ? callMax : Number.POSITIVE_INFINITY;\n if (!input.registry || !input.localExtractionActive) return cap;\n return Math.min(cap, input.registry.calculateContextSizes(input.model, input.maxContext).maxInputChars);\n}\n\n/**\n * Split `content` into budget-fitting slices at sentence/paragraph\n * boundaries; a segment longer than the budget hard-cuts at the boundary.\n * The slices are contiguous and verbatim — join(\"\") restores the input.\n */\nfunction splitSegments(content: string): string[] {\n const out: string[] = [];\n let start = 0;\n let index = 0;\n while (index < content.length) {\n const ch = content[index];\n if (ch === \"\\n\") {\n let end = index;\n while (end < content.length && content[end] === \"\\n\") end += 1;\n out.push(content.slice(start, end));\n start = end;\n index = end;\n continue;\n }\n if (ch === \".\" || ch === \"!\" || ch === \"?\") {\n let end = index + 1;\n while (end < content.length && (content[end] === \" \" || content[end] === \"\\t\")) end += 1;\n out.push(content.slice(start, end));\n start = end;\n index = end;\n continue;\n }\n index += 1;\n }\n if (start < content.length) out.push(content.slice(start));\n return out;\n}\n\nfunction splitTurnContent(content: string, maxChars: number): string[] {\n const segments = splitSegments(content);\n const parts: string[] = [];\n let current = \"\";\n for (const segment of segments) {\n let piece = segment;\n while (piece.length > 0) {\n const room = maxChars - current.length;\n if (piece.length <= room) {\n current += piece;\n break;\n }\n if (current.length > 0) {\n parts.push(current);\n current = \"\";\n continue;\n }\n parts.push(piece.slice(0, maxChars));\n piece = piece.slice(maxChars);\n }\n }\n if (current.length > 0) parts.push(current);\n return parts;\n}\n\n/**\n * Replace each turn over `maxChars` with in-memory part copies marked\n * `extractionPartOf {part,of}` (payload-cap drain). Parts keep order and\n * carry verbatim contiguous slices so joining them restores the turn —\n * nothing is dropped by the split itself. A turn needing more than\n * `maxParts` emits `maxParts` parts and reports `clamped` so the caller\n * can log the bounded loss rather than hide it.\n */\nexport interface OversizedTurnSplit<T extends { content: string }> {\n turns: T[];\n partParents: Map<T, T>;\n clampedParents: Set<T>;\n clamped: boolean;\n}\n\nexport function splitOversizedTurns<T extends { content: string }>(\n turns: readonly T[],\n maxChars: number,\n maxParts = 8,\n): OversizedTurnSplit<T> {\n const partParents = new Map<T, T>();\n const clampedParents = new Set<T>();\n const budget = Math.floor(maxChars);\n if (!(Number.isFinite(budget) && budget > 0)) {\n return { turns: [...turns], partParents, clampedParents, clamped: false };\n }\n const out: T[] = [];\n let clamped = false;\n for (const turn of turns) {\n if (turn.content.length <= budget) {\n out.push(turn);\n continue;\n }\n const slices = splitTurnContent(turn.content, budget);\n const emitted = slices.slice(0, maxParts);\n if (slices.length > maxParts) {\n clamped = true;\n clampedParents.add(turn);\n }\n const of = emitted.length;\n for (const [index, slice] of emitted.entries()) {\n const part = { ...turn, content: slice, extractionPartOf: { part: index + 1, of } };\n partParents.set(part, turn);\n out.push(part);\n }\n }\n return { turns: out, partParents, clampedParents, clamped };\n}\n"],"mappings":"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","names":[]}
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RECALL_DISCLOSURE_LEVELS,
3
3
  isRecallDisclosure
4
- } from "./chunk-3F6COEHZ.js";
4
+ } from "./chunk-JVNGFQJN.js";
5
5
 
6
6
  // src/recall-navigate-disclosure.ts
7
7
  function disclosureRank(level) {
@@ -27,4 +27,4 @@ export {
27
27
  disclosureRank,
28
28
  planDisclosureStep
29
29
  };
30
- //# sourceMappingURL=chunk-4VL2H5Q3.js.map
30
+ //# sourceMappingURL=chunk-LL7WIK2Z.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  rebuildMemoryProjection,
3
3
  watchProjectionRebuildParent
4
- } from "./chunk-KN44QS5F.js";
4
+ } from "./chunk-NOZDET3Q.js";
5
5
  import {
6
6
  initLogger,
7
7
  log
@@ -77,4 +77,4 @@ if (invokedAsRunner) {
77
77
  export {
78
78
  PROJECTION_REBUILD_RUNNER_FLAG
79
79
  };
80
- //# sourceMappingURL=chunk-GW23JXGJ.js.map
80
+ //# sourceMappingURL=chunk-LT35JWKZ.js.map
@@ -1,6 +1,13 @@
1
1
  import {
2
2
  StorageManager
3
- } from "./chunk-Y3TA66MZ.js";
3
+ } from "./chunk-LEH4FVBJ.js";
4
+ import {
5
+ keyring_exports,
6
+ secureStoreDir
7
+ } from "./chunk-BJMBJZ2Y.js";
8
+ import {
9
+ MutationSerializer
10
+ } from "./chunk-EBV6VXKF.js";
4
11
  import {
5
12
  isSafeRouteNamespace
6
13
  } from "./chunk-PCXDUHQH.js";
@@ -13,13 +20,6 @@ import {
13
20
  resolveNamespaceCapabilities,
14
21
  resolveRecallAuxiliaryCapabilities
15
22
  } from "./chunk-C5LWPYS3.js";
16
- import {
17
- keyring_exports,
18
- secureStoreDir
19
- } from "./chunk-BJMBJZ2Y.js";
20
- import {
21
- MutationSerializer
22
- } from "./chunk-EBV6VXKF.js";
23
23
  import {
24
24
  isMacOsReplicationJunkBasename
25
25
  } from "./chunk-QUIRIG2P.js";
@@ -416,4 +416,4 @@ export {
416
416
  resolveNamespaceStorageRoot,
417
417
  NamespaceStorageRouter
418
418
  };
419
- //# sourceMappingURL=chunk-U5OVNYJX.js.map
419
+ //# sourceMappingURL=chunk-MP6V4CLP.js.map
@@ -1,12 +1,9 @@
1
1
  import {
2
2
  resolveDefaultNamespaceRoot
3
- } from "./chunk-U5OVNYJX.js";
3
+ } from "./chunk-MP6V4CLP.js";
4
4
  import {
5
5
  StorageManager
6
- } from "./chunk-Y3TA66MZ.js";
7
- import {
8
- resolveNamespaceCapabilities
9
- } from "./chunk-C5LWPYS3.js";
6
+ } from "./chunk-LEH4FVBJ.js";
10
7
  import {
11
8
  composeLocationDayBody,
12
9
  composeLocationDayMeta,
@@ -27,6 +24,9 @@ import {
27
24
  updateLocationSourceDay,
28
25
  writeLocationDay
29
26
  } from "./chunk-4IVRQMZW.js";
27
+ import {
28
+ resolveNamespaceCapabilities
29
+ } from "./chunk-C5LWPYS3.js";
30
30
  import {
31
31
  readEnvVar
32
32
  } from "./chunk-P2QRMMVQ.js";
@@ -779,4 +779,4 @@ export {
779
779
  LOCATION_SYNC_DEFAULT_INTERVAL_MS,
780
780
  startLocationAutoSync
781
781
  };
782
- //# sourceMappingURL=chunk-NEXJ3OOZ.js.map
782
+ //# sourceMappingURL=chunk-MXE42X3I.js.map
@@ -2,7 +2,7 @@ import {
2
2
  WHO_KNOWS_DEFAULT_LIMIT,
3
3
  WHO_KNOWS_MAX_LIMIT,
4
4
  validateWhoKnowsInput
5
- } from "./chunk-IXX4SKF5.js";
5
+ } from "./chunk-POB7N5UM.js";
6
6
 
7
7
  // src/who-knows-cli.ts
8
8
  function extractWhoKnowsRawArgs(rest) {
@@ -74,4 +74,4 @@ export {
74
74
  renderWhoKnowsText,
75
75
  renderWhoKnows
76
76
  };
77
- //# sourceMappingURL=chunk-LR6QP72R.js.map
77
+ //# sourceMappingURL=chunk-N6JGLQV7.js.map
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-F4TWWUMP.js";
25
25
  import {
26
26
  QmdClient
27
- } from "./chunk-3TVCG6ST.js";
27
+ } from "./chunk-2DWTO7XP.js";
28
28
  import {
29
29
  resolveIndexingCapabilities,
30
30
  resolvePipelineProcessingCapabilities,
@@ -179,4 +179,4 @@ export {
179
179
  createConversationSearchBackend,
180
180
  createConversationIndexRuntime
181
181
  };
182
- //# sourceMappingURL=chunk-J6U6KUMK.js.map
182
+ //# sourceMappingURL=chunk-N7IJEGSE.js.map
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-3UXOZBHV.js";
15
15
  import {
16
16
  StorageManager
17
- } from "./chunk-Y3TA66MZ.js";
17
+ } from "./chunk-LEH4FVBJ.js";
18
18
  import {
19
19
  OKF_PROFILE_TYPE,
20
20
  okfTypeForMemory
@@ -272,4 +272,4 @@ export {
272
272
  exportOkfBundle,
273
273
  firstHeading
274
274
  };
275
- //# sourceMappingURL=chunk-5ZS73P3U.js.map
275
+ //# sourceMappingURL=chunk-NB2BKYUS.js.map
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  listMemoryGovernanceRuns,
6
6
  readMemoryGovernanceRunArtifact
7
- } from "./chunk-OE35LFBF.js";
7
+ } from "./chunk-VF3EVRUN.js";
8
8
  import {
9
9
  loadPersistedNativeKnowledgeChunks
10
10
  } from "./chunk-2DQ2XREU.js";
11
11
  import {
12
12
  StorageManager
13
- } from "./chunk-Y3TA66MZ.js";
13
+ } from "./chunk-LEH4FVBJ.js";
14
14
  import {
15
15
  normalizeProjectionPreview,
16
16
  normalizeProjectionTags
@@ -43,12 +43,12 @@ import {
43
43
  import {
44
44
  openBetterSqlite3
45
45
  } from "./chunk-RL6NEVXT.js";
46
- import {
47
- isSupportPassportPrivateMemory
48
- } from "./chunk-NS7U4ZYU.js";
49
46
  import {
50
47
  commitPreparedFileAtomically
51
48
  } from "./chunk-BTNNL7ZW.js";
49
+ import {
50
+ isSupportPassportPrivateMemory
51
+ } from "./chunk-TSUSHXBW.js";
52
52
  import {
53
53
  throwIfAborted
54
54
  } from "./chunk-R2MBW2S4.js";
@@ -1156,4 +1156,4 @@ export {
1156
1156
  verifyMemoryProjection,
1157
1157
  repairMemoryProjection
1158
1158
  };
1159
- //# sourceMappingURL=chunk-KN44QS5F.js.map
1159
+ //# sourceMappingURL=chunk-NOZDET3Q.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  parseTaskLlmConfig
3
3
  } from "./chunk-SK7D34OL.js";
4
- import {
5
- coerceNumber
6
- } from "./chunk-PQVCH2AE.js";
7
4
  import {
8
5
  parseBackgroundGeneration
9
6
  } from "./chunk-27NO2KVB.js";
7
+ import {
8
+ coerceNumber
9
+ } from "./chunk-PQVCH2AE.js";
10
10
  import {
11
11
  readEnvVar
12
12
  } from "./chunk-P2QRMMVQ.js";
@@ -55,4 +55,4 @@ function parseLocalLlmConfig(cfg, localLlmApiKeyEnv, resolveEnvVars) {
55
55
  export {
56
56
  parseLocalLlmConfig
57
57
  };
58
- //# sourceMappingURL=chunk-C2KE5DMD.js.map
58
+ //# sourceMappingURL=chunk-O6ZSWHVR.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-TBBDFYXW.js";
6
6
  import {
7
7
  hasLiveSupportPassportCard
8
- } from "./chunk-NS7U4ZYU.js";
8
+ } from "./chunk-TSUSHXBW.js";
9
9
 
10
10
  // src/tier-routing.ts
11
11
  function requiresHotTier(memory) {
@@ -80,4 +80,4 @@ export {
80
80
  computeTierValueScore,
81
81
  decideTierTransition
82
82
  };
83
- //# sourceMappingURL=chunk-C73N66PR.js.map
83
+ //# sourceMappingURL=chunk-OBPOIZNR.js.map
@@ -6,16 +6,16 @@ import {
6
6
  headerConnector,
7
7
  renderExtractionConversation,
8
8
  resolveSourceConnector
9
- } from "./chunk-QRZNVNNS.js";
9
+ } from "./chunk-EEY326VH.js";
10
10
  import {
11
11
  normalizeReasoningTrace
12
12
  } from "./chunk-54V4BZWP.js";
13
- import {
14
- ProfilingCollector
15
- } from "./chunk-DOWACHYO.js";
16
13
  import {
17
14
  shouldRunProactivePass
18
15
  } from "./chunk-2CGLBUW3.js";
16
+ import {
17
+ ProfilingCollector
18
+ } from "./chunk-DOWACHYO.js";
19
19
  import {
20
20
  ModelRegistry
21
21
  } from "./chunk-QNUNAXBE.js";
@@ -39,6 +39,11 @@ import {
39
39
  stripUntrustedFactSpans,
40
40
  truncateLocalExtractionConversation
41
41
  } from "./chunk-XVZA6VXC.js";
42
+ import {
43
+ buildUnusableReplyDiagnostic,
44
+ formatUnusableReplyDiagnostic,
45
+ looksLikeExtractionResultPayload
46
+ } from "./chunk-V24YLFJW.js";
42
47
  import {
43
48
  attachExtractionProvenance
44
49
  } from "./chunk-D3ZKHLN2.js";
@@ -49,11 +54,6 @@ import {
49
54
  extractionText,
50
55
  isPlainRecord
51
56
  } from "./chunk-BVRZSI7Q.js";
52
- import {
53
- buildUnusableReplyDiagnostic,
54
- formatUnusableReplyDiagnostic,
55
- looksLikeExtractionResultPayload
56
- } from "./chunk-V24YLFJW.js";
57
57
  import {
58
58
  LocalLlmRejectedError,
59
59
  classifyExtractionThrownError,
@@ -105,21 +105,21 @@ import {
105
105
  AMBIENT_CAPTURE_PROMPT_SECTION_COMPACT,
106
106
  clampAmbientCaptureConfidence
107
107
  } from "./chunk-QW27DOHG.js";
108
+ import {
109
+ isMemoryCategory
110
+ } from "./chunk-X26YOFGS.js";
108
111
  import {
109
112
  extractJsonCandidates
110
113
  } from "./chunk-YBA52OKG.js";
114
+ import {
115
+ sanitizeMemoryContent
116
+ } from "./chunk-5GKPFL3S.js";
111
117
  import {
112
118
  resolveLocalLlmCapabilities,
113
119
  resolveMemoryLifecycleCapabilities,
114
120
  resolvePipelineProcessingCapabilities,
115
121
  resolveRecallAuxiliaryCapabilities
116
122
  } from "./chunk-C5LWPYS3.js";
117
- import {
118
- isMemoryCategory
119
- } from "./chunk-X26YOFGS.js";
120
- import {
121
- sanitizeMemoryContent
122
- } from "./chunk-5GKPFL3S.js";
123
123
  import {
124
124
  isAbortError
125
125
  } from "./chunk-R2MBW2S4.js";
@@ -2449,4 +2449,4 @@ export {
2449
2449
  shouldEnableLocalExtractionThinking,
2450
2450
  ExtractionEngine
2451
2451
  };
2452
- //# sourceMappingURL=chunk-TSJQ7C2T.js.map
2452
+ //# sourceMappingURL=chunk-OFMK76LD.js.map
@@ -36,7 +36,7 @@ import {
36
36
  } from "./chunk-2DQ2XREU.js";
37
37
  import {
38
38
  compareEntityTimestamps
39
- } from "./chunk-Y3TA66MZ.js";
39
+ } from "./chunk-LEH4FVBJ.js";
40
40
  import {
41
41
  normalizeEntityText,
42
42
  resolveRequestedEntitySectionKeys
@@ -47,12 +47,12 @@ import {
47
47
  import {
48
48
  truncateGraphemeSafe
49
49
  } from "./chunk-PJKTFXE2.js";
50
- import {
51
- resolveNamespaceCapabilities
52
- } from "./chunk-C5LWPYS3.js";
53
50
  import {
54
51
  sanitizeMemoryContent
55
52
  } from "./chunk-5GKPFL3S.js";
53
+ import {
54
+ resolveNamespaceCapabilities
55
+ } from "./chunk-C5LWPYS3.js";
56
56
 
57
57
  // src/entity-retrieval.ts
58
58
  import { createHash } from "crypto";
@@ -877,4 +877,4 @@ export {
877
877
  entityIndexVersion,
878
878
  entityRecentTranscriptLookbackHours
879
879
  };
880
- //# sourceMappingURL=chunk-LK3LXSJQ.js.map
880
+ //# sourceMappingURL=chunk-OI3UMEW3.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamespaceStorageRouter
3
- } from "./chunk-U5OVNYJX.js";
3
+ } from "./chunk-MP6V4CLP.js";
4
4
  import {
5
5
  namespaceCollectionName
6
- } from "./chunk-BFDXJHYG.js";
6
+ } from "./chunk-U3GJUARA.js";
7
7
  import {
8
8
  isSafeRouteNamespace
9
9
  } from "./chunk-PCXDUHQH.js";
@@ -213,4 +213,4 @@ export {
213
213
  verifyNamespaces,
214
214
  runNamespaceMigration
215
215
  };
216
- //# sourceMappingURL=chunk-6Z7BRM7C.js.map
216
+ //# sourceMappingURL=chunk-OJJ73HLA.js.map
@@ -9,25 +9,10 @@ import {
9
9
  writeOfflineUploadChunk,
10
10
  writeSafeFileFromUpload
11
11
  } from "./chunk-XXR4A33N.js";
12
- import {
13
- OFFLINE_SYNC_FAST_BASE_MTIME_TOLERANCE_MS,
14
- OfflineSyncCensusRaceError,
15
- SYNC_INTERNAL_DIR,
16
- assertOfflineSyncMtimeMs,
17
- censusRaceAsChangedWhileBuilding,
18
- changedWhileBuildingChangesetError,
19
- isEncryptedOfflineSyncFile,
20
- offlineSyncRegularFilePresent,
21
- plainFileDigest,
22
- readPlainOfflineSyncFileChunk,
23
- setSafeFileMtime,
24
- sha256OfflineSyncFile,
25
- shouldExcludeOfflineSyncFile
26
- } from "./chunk-UWMZT2TY.js";
27
12
  import {
28
13
  applyChangesetEmbeddingGenerations,
29
14
  normalizeChangesetGenerations
30
- } from "./chunk-HLWXCDUQ.js";
15
+ } from "./chunk-3DAWHP5K.js";
31
16
  import {
32
17
  advanceEmbeddingGenerationMarker,
33
18
  applyIncomingEmbeddingGenerations,
@@ -37,22 +22,37 @@ import {
37
22
  embeddingGenerationMembership,
38
23
  isEmbeddingGenerationDirPath,
39
24
  isPathInOmittedEmbeddingGeneration
40
- } from "./chunk-5BE3FLKL.js";
25
+ } from "./chunk-TAUHAP5J.js";
41
26
  import {
42
27
  isEmbeddingGenerationMarkerPath,
43
28
  matchesOfflineSyncDefaultExclude
44
29
  } from "./chunk-63LFM77Z.js";
45
30
  import {
46
- isCanonicalRuntimeStatePath,
47
- shouldDeleteAbsentIncomingOfflineRuntimeFile,
48
- shouldPreferIncomingOfflineRuntimeFile
49
- } from "./chunk-LDWE7OZS.js";
31
+ OFFLINE_SYNC_FAST_BASE_MTIME_TOLERANCE_MS,
32
+ OfflineSyncCensusRaceError,
33
+ SYNC_INTERNAL_DIR,
34
+ assertOfflineSyncMtimeMs,
35
+ censusRaceAsChangedWhileBuilding,
36
+ changedWhileBuildingChangesetError,
37
+ isEncryptedOfflineSyncFile,
38
+ offlineSyncRegularFilePresent,
39
+ plainFileDigest,
40
+ readPlainOfflineSyncFileChunk,
41
+ setSafeFileMtime,
42
+ sha256OfflineSyncFile,
43
+ shouldExcludeOfflineSyncFile
44
+ } from "./chunk-UWMZT2TY.js";
50
45
  import {
51
46
  prepareSafeArchiveRoot,
52
47
  resolveSafeArchiveTarget,
53
48
  sha256Bytes,
54
49
  validateArchiveRelativePath
55
50
  } from "./chunk-GCGJW34D.js";
51
+ import {
52
+ isCanonicalRuntimeStatePath,
53
+ shouldDeleteAbsentIncomingOfflineRuntimeFile,
54
+ shouldPreferIncomingOfflineRuntimeFile
55
+ } from "./chunk-LDWE7OZS.js";
56
56
  import {
57
57
  withEmbeddingGenerationLock,
58
58
  withEmbeddingGenerationLockIter
@@ -1847,4 +1847,4 @@ export {
1847
1847
  normalizeOfflineSyncState,
1848
1848
  fileStatesFromSnapshot
1849
1849
  };
1850
- //# sourceMappingURL=chunk-CLVILSBR.js.map
1850
+ //# sourceMappingURL=chunk-OZNBZJ3S.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  estimateTokenCount
3
3
  } from "./chunk-TOTT6S2V.js";
4
- import {
5
- isRecallDisclosure
6
- } from "./chunk-3F6COEHZ.js";
7
4
  import {
8
5
  normalizeRetrievedMemoryProvenance
9
6
  } from "./chunk-I4WBNM3M.js";
7
+ import {
8
+ isRecallDisclosure
9
+ } from "./chunk-JVNGFQJN.js";
10
10
 
11
11
  // src/recall-xray.ts
12
12
  import { randomUUID } from "crypto";
@@ -312,4 +312,4 @@ export {
312
312
  RecallXrayBuilder,
313
313
  summarizeDisclosureTokens
314
314
  };
315
- //# sourceMappingURL=chunk-GUI7MLKC.js.map
315
+ //# sourceMappingURL=chunk-PKPW7MXT.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KJTKLXTH.js";
4
4
  import {
5
5
  StorageManager
6
- } from "./chunk-Y3TA66MZ.js";
6
+ } from "./chunk-LEH4FVBJ.js";
7
7
  import {
8
8
  assertInjectedStorageRooted
9
9
  } from "./chunk-BNZAR6PO.js";
@@ -260,4 +260,4 @@ export {
260
260
  backupExistingLedger,
261
261
  rebuildMemoryLifecycleLedger
262
262
  };
263
- //# sourceMappingURL=chunk-SCQO7JOF.js.map
263
+ //# sourceMappingURL=chunk-PKV3NNM2.js.map