@noy-db/hub 0.3.0-pre.11 → 0.3.0-pre.13

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 (395) hide show
  1. package/dist/aggregate/index.js +4 -4
  2. package/dist/api-ZGS6LCOF.js +20 -0
  3. package/dist/as/index.js +11 -11
  4. package/dist/attestation/index.js +18 -18
  5. package/dist/{backup-XA5STIYQ.js → backup-BJ57IKAO.js} +28 -11
  6. package/dist/backup-BJ57IKAO.js.map +1 -0
  7. package/dist/blobs/index.js +12 -10
  8. package/dist/blobs/index.js.map +1 -1
  9. package/dist/broker/index.js +12 -12
  10. package/dist/bundle/index.js +25 -22
  11. package/dist/bundle/index.js.map +1 -1
  12. package/dist/by/index.js +2 -2
  13. package/dist/cargo/index.js +22 -22
  14. package/dist/{chunk-WGV4CUZT.js → chunk-2NVOWNI3.js} +4 -4
  15. package/dist/{chunk-WGV4CUZT.js.map → chunk-2NVOWNI3.js.map} +1 -1
  16. package/dist/{chunk-OFJ5GPNA.js → chunk-3B5VVCNY.js} +2 -2
  17. package/dist/{chunk-KPGX66PM.js → chunk-3LQ2YKO4.js} +2 -2
  18. package/dist/{chunk-D26JB3LZ.js → chunk-3QCRBHCY.js} +2 -2
  19. package/dist/{chunk-H6CZSDWK.js → chunk-454JXE57.js} +3 -3
  20. package/dist/{chunk-H6CZSDWK.js.map → chunk-454JXE57.js.map} +1 -1
  21. package/dist/{chunk-DGH65E7Q.js → chunk-4CTHCN4J.js} +24 -10
  22. package/dist/chunk-4CTHCN4J.js.map +1 -0
  23. package/dist/{chunk-4N5QFSNQ.js → chunk-4JBYV75E.js} +5 -5
  24. package/dist/{chunk-UTLEAJXC.js → chunk-4NXKCLLQ.js} +2 -2
  25. package/dist/{chunk-ARSAMO24.js → chunk-4VNQOLML.js} +2 -2
  26. package/dist/{chunk-X6CMGUAG.js → chunk-5M5DVGV7.js} +2 -2
  27. package/dist/{chunk-DJ3VKYFA.js → chunk-5O3XF4DV.js} +4 -4
  28. package/dist/chunk-5O3XF4DV.js.map +1 -0
  29. package/dist/{chunk-XHV25KBM.js → chunk-5YOLBEQ6.js} +2 -2
  30. package/dist/{chunk-CB25ONKC.js → chunk-6CRIV7DE.js} +2 -2
  31. package/dist/{chunk-BE7N3AXA.js → chunk-6JTIAGHD.js} +3 -3
  32. package/dist/{chunk-JOQ53DMI.js → chunk-6QTNZJBS.js} +3 -3
  33. package/dist/{chunk-BZO4WCJI.js → chunk-6T2SCQRU.js} +4 -4
  34. package/dist/{chunk-FQQF23MC.js → chunk-7DSTRQIJ.js} +2 -2
  35. package/dist/{chunk-IP2QBAGS.js → chunk-AUSTCW2X.js} +10 -10
  36. package/dist/{chunk-A2Y6YFVN.js → chunk-B3HJYUOF.js} +2 -2
  37. package/dist/{chunk-SRVQHVNX.js → chunk-BDVFPG6Y.js} +5 -5
  38. package/dist/{chunk-FH542DDY.js → chunk-BIOUI4HL.js} +50 -1
  39. package/dist/chunk-BIOUI4HL.js.map +1 -0
  40. package/dist/{chunk-YXOUQ2H7.js → chunk-CAF6WOK7.js} +2 -2
  41. package/dist/{chunk-H6HM6CVR.js → chunk-CDUQTA3Z.js} +114 -12
  42. package/dist/chunk-CDUQTA3Z.js.map +1 -0
  43. package/dist/{chunk-HUS3J5WM.js → chunk-CIE2BASH.js} +2 -2
  44. package/dist/{chunk-DIRRS7WP.js → chunk-CRI4OUV4.js} +2 -2
  45. package/dist/{chunk-FXK4X4BL.js → chunk-DLG74CNB.js} +4 -4
  46. package/dist/{chunk-WTUNZACT.js → chunk-E5ZQT5KX.js} +2 -2
  47. package/dist/{chunk-DMFNPHCX.js → chunk-EQO2UVP4.js} +6 -6
  48. package/dist/{chunk-MCEKIAO4.js → chunk-ERJ7FU55.js} +3 -3
  49. package/dist/{chunk-6QILBDZU.js → chunk-EVVGJDRQ.js} +3 -3
  50. package/dist/{chunk-7VSGW5KJ.js → chunk-EVX47VBM.js} +2 -2
  51. package/dist/{chunk-D3EFFFOL.js → chunk-EXK7QRWF.js} +5 -5
  52. package/dist/{chunk-5JB73NMC.js → chunk-EYZ6IQ6X.js} +5 -5
  53. package/dist/{chunk-BCYQA5BK.js → chunk-F64IRYG3.js} +2 -2
  54. package/dist/{chunk-K62IUKOD.js → chunk-FHS2HQSH.js} +5 -5
  55. package/dist/{chunk-2JMMY7HZ.js → chunk-FM3G3NOY.js} +27 -9
  56. package/dist/chunk-FM3G3NOY.js.map +1 -0
  57. package/dist/{chunk-67TNU77I.js → chunk-FUG4SFN3.js} +2 -2
  58. package/dist/{chunk-ZP5PL65C.js → chunk-GKEWXIV5.js} +2 -2
  59. package/dist/{chunk-RKRGDAS7.js → chunk-GTGPO5KW.js} +5 -5
  60. package/dist/{chunk-MSPNM2OM.js → chunk-HB3RFQSC.js} +3 -3
  61. package/dist/{chunk-W5D62AQD.js → chunk-HDMEGAQE.js} +20 -7
  62. package/dist/chunk-HDMEGAQE.js.map +1 -0
  63. package/dist/chunk-HDQIIUPH.js +135 -0
  64. package/dist/chunk-HDQIIUPH.js.map +1 -0
  65. package/dist/{chunk-7QIXUSDQ.js → chunk-HTJQYHZP.js} +15 -12
  66. package/dist/chunk-HTJQYHZP.js.map +1 -0
  67. package/dist/{chunk-OOLO4LQG.js → chunk-I6GALP6E.js} +6 -6
  68. package/dist/{chunk-57V5S7PW.js → chunk-IL6POWCW.js} +6 -6
  69. package/dist/{chunk-7NS43EXZ.js → chunk-IU6SNYX6.js} +5 -5
  70. package/dist/{chunk-5ZOSG3RJ.js → chunk-J2ZX2XUV.js} +5 -5
  71. package/dist/{chunk-L2SNBIV7.js → chunk-JIF24JPM.js} +57 -15
  72. package/dist/chunk-JIF24JPM.js.map +1 -0
  73. package/dist/{chunk-SYMS4546.js → chunk-JKJOGPZN.js} +2 -2
  74. package/dist/{chunk-CKZW6P5V.js → chunk-JNAI2HN2.js} +1 -1
  75. package/dist/chunk-JNAI2HN2.js.map +1 -0
  76. package/dist/{chunk-AWB5JZW6.js → chunk-JZUV47FZ.js} +2 -2
  77. package/dist/{chunk-ODJWBC5I.js → chunk-K5IMOGHB.js} +2 -2
  78. package/dist/{chunk-3G4KMVUN.js → chunk-KSKBRKGJ.js} +3 -3
  79. package/dist/{chunk-HFJIGWJC.js → chunk-LASZKVMO.js} +3 -3
  80. package/dist/{chunk-IGJHJYM6.js → chunk-LXEXBTKL.js} +4 -4
  81. package/dist/{chunk-3CNQ7FQ3.js → chunk-M4CV6BRT.js} +119 -25
  82. package/dist/chunk-M4CV6BRT.js.map +1 -0
  83. package/dist/{chunk-H44ZE4IE.js → chunk-MEFJPTZ4.js} +33 -17
  84. package/dist/chunk-MEFJPTZ4.js.map +1 -0
  85. package/dist/{chunk-PR5LC5YX.js → chunk-MV43JSJF.js} +4 -4
  86. package/dist/{chunk-ELNBMFOS.js → chunk-NJ4EOKMB.js} +4 -4
  87. package/dist/{chunk-PXWVF7MC.js → chunk-NR5LT5RY.js} +7 -7
  88. package/dist/{chunk-QYPKGVT4.js → chunk-NWSGI5C7.js} +3 -3
  89. package/dist/{chunk-P5RY4ZWD.js → chunk-OSDB5WW3.js} +92 -15
  90. package/dist/chunk-OSDB5WW3.js.map +1 -0
  91. package/dist/chunk-PN2XMATY.js +37 -0
  92. package/dist/chunk-PN2XMATY.js.map +1 -0
  93. package/dist/{chunk-25NDNMQ7.js → chunk-Q5VNKNE5.js} +3 -3
  94. package/dist/{chunk-CIKY6I4W.js → chunk-QLWMEXCT.js} +2 -2
  95. package/dist/{chunk-VA4ZWLFY.js → chunk-QRB7NAOJ.js} +2 -2
  96. package/dist/{chunk-3MSQLQNZ.js → chunk-R4ROFEYC.js} +2 -2
  97. package/dist/{chunk-BEIRE5K4.js → chunk-RCVJZMFE.js} +4 -4
  98. package/dist/{chunk-VR24ILCR.js → chunk-RIX4V2TB.js} +3 -3
  99. package/dist/{chunk-Q3XSMOZM.js → chunk-RYCTDFUX.js} +2 -2
  100. package/dist/{chunk-7E67FJ33.js → chunk-RZ5SVOYR.js} +2 -2
  101. package/dist/{chunk-IDIV5NVH.js → chunk-SLFHQTTW.js} +5 -5
  102. package/dist/chunk-SNZ6URZZ.js +2782 -0
  103. package/dist/chunk-SNZ6URZZ.js.map +1 -0
  104. package/dist/{chunk-C3YH34IL.js → chunk-T2FFWNPK.js} +3 -3
  105. package/dist/{chunk-O2DYPAZY.js → chunk-UNFPPVNI.js} +2 -2
  106. package/dist/{chunk-MELR46EF.js → chunk-VFUPHI2Z.js} +63 -10
  107. package/dist/chunk-VFUPHI2Z.js.map +1 -0
  108. package/dist/{chunk-GA2QHD6P.js → chunk-VLFCJYTL.js} +9 -9
  109. package/dist/{chunk-YSXEFGND.js → chunk-VN3DBQAU.js} +2 -2
  110. package/dist/{chunk-C7NTK5I3.js → chunk-VZRODIM3.js} +4 -4
  111. package/dist/{chunk-QLLKLFE2.js → chunk-W22IKJE2.js} +2 -2
  112. package/dist/{chunk-5XIPOCQC.js → chunk-X3YYQWOQ.js} +3 -3
  113. package/dist/{chunk-A2QF4JUE.js → chunk-X7QBD67R.js} +625 -293
  114. package/dist/chunk-X7QBD67R.js.map +1 -0
  115. package/dist/{chunk-QQJXBZCO.js → chunk-XDYREZWE.js} +82 -10
  116. package/dist/chunk-XDYREZWE.js.map +1 -0
  117. package/dist/{chunk-OEAATWH5.js → chunk-XWZVFISC.js} +40 -6
  118. package/dist/{chunk-OEAATWH5.js.map → chunk-XWZVFISC.js.map} +1 -1
  119. package/dist/{chunk-XFXUTFWQ.js → chunk-YFXZEAYK.js} +6 -6
  120. package/dist/{chunk-7ITPJFGC.js → chunk-ZAJAVEXY.js} +2 -2
  121. package/dist/{chunk-4R4Q64W5.js → chunk-ZICD77GM.js} +2 -2
  122. package/dist/{chunk-45ZZLTFH.js → chunk-ZJ2AK4V7.js} +2 -2
  123. package/dist/{chunk-UFILRICG.js → chunk-ZUODRVHY.js} +2 -2
  124. package/dist/classified/index.js +5 -5
  125. package/dist/{classified-marker-LQWWQNIJ.js → classified-marker-CZKA6ITE.js} +8 -4
  126. package/dist/classified-marker-CZKA6ITE.js.map +1 -0
  127. package/dist/collection-facade-TLWIPI76.js +44 -0
  128. package/dist/{computed-W6MVAMWZ.js → computed-ZIQTYTDI.js} +3 -3
  129. package/dist/consent/index.js +9 -9
  130. package/dist/{dead-filter-4KXZEB3X.js → dead-filter-ESOBZZP5.js} +2 -2
  131. package/dist/delegation-W7ZV2322.js +25 -0
  132. package/dist/derivations/index.js +12 -12
  133. package/dist/derive-H2BJTLUI.js +21 -0
  134. package/dist/{enclave-VXAQD4XJ.js → enclave-AP3I5W7O.js} +15 -9
  135. package/dist/executor-KGWTNEQD.js +9 -0
  136. package/dist/executor-OVEXR6RT.js +9 -0
  137. package/dist/executor-UNEH5ZYH.js +25 -0
  138. package/dist/export-accessible-PCMXSUZS.js +23 -0
  139. package/dist/extract-partition-SWHFSYJO.js +38 -0
  140. package/dist/{fanout-sidecar-CKYFH33E.js → fanout-sidecar-A765THMX.js} +9 -9
  141. package/dist/find-N6345CNT.js +11 -0
  142. package/dist/forget/index.js +9 -9
  143. package/dist/guards/index.js +3 -3
  144. package/dist/history/index.js +14 -11
  145. package/dist/history/index.js.map +1 -1
  146. package/dist/i18n/index.js +14 -14
  147. package/dist/index.d.ts +5 -1
  148. package/dist/index.js +108 -89
  149. package/dist/index.js.map +1 -1
  150. package/dist/indexing/index.js +5 -5
  151. package/dist/indexing/index.js.map +1 -1
  152. package/dist/issue-5OKB6I2R.js +19 -0
  153. package/dist/kernel/best-effort-revert.d.ts +52 -0
  154. package/dist/kernel/collection-config.d.ts +28 -0
  155. package/dist/kernel/collection.d.ts +49 -32
  156. package/dist/kernel/enclave/classify/verify.d.ts +3 -0
  157. package/dist/kernel/enclave/index.d.ts +2 -1
  158. package/dist/kernel/enclave/record-keys/deterministic.d.ts +1 -0
  159. package/dist/kernel/enclave/record-keys/lifecycle.d.ts +50 -0
  160. package/dist/kernel/enclave/record-keys/record-codec.d.ts +27 -0
  161. package/dist/kernel/errors.d.ts +75 -1
  162. package/dist/kernel/lazy-count.d.ts +13 -0
  163. package/dist/kernel/noydb.d.ts +8 -0
  164. package/dist/kernel/tier-visibility.d.ts +54 -0
  165. package/dist/kernel/types.d.ts +92 -0
  166. package/dist/kernel/vault.d.ts +23 -6
  167. package/dist/kernel/via/dispatch.d.ts +10 -0
  168. package/dist/kernel/via/graph.d.ts +2 -1
  169. package/dist/{ledger-FU6GH5EH.js → ledger-GFBKVPV4.js} +11 -11
  170. package/dist/legacy/bundle.d.ts +1 -1
  171. package/dist/liberate-3VDOT4KO.js +24 -0
  172. package/dist/{link-set-MNADSH5M.js → link-set-Z7Q2ASFX.js} +11 -11
  173. package/dist/materialized-views/index.js +18 -18
  174. package/dist/noydb-ZCJOYBDI.js +68 -0
  175. package/dist/on/index.js +9 -9
  176. package/dist/overlay-views/index.js +4 -4
  177. package/dist/periods/index.js +12 -12
  178. package/dist/pod/index.js +11 -11
  179. package/dist/{policy-JTFOPPUU.js → policy-Z3RUAIY2.js} +5 -5
  180. package/dist/port/with/blob-strategy.d.ts +17 -0
  181. package/dist/port/with/lookup-strategy.d.ts +2 -1
  182. package/dist/portability/index.js +8 -8
  183. package/dist/{post-register-HAWO3O7O.js → post-register-JTH76BLY.js} +12 -7
  184. package/dist/post-register-JTH76BLY.js.map +1 -0
  185. package/dist/{public-envelope-NJVB7LPA.js → public-envelope-B4KNWVUA.js} +4 -4
  186. package/dist/query/index.js +5 -5
  187. package/dist/register-VAHONCID.js +23 -0
  188. package/dist/registry-7MLVD3VO.js +19 -0
  189. package/dist/registry-EPKPD5SM.js +18 -0
  190. package/dist/registry-P5T7PS2U.js +9 -0
  191. package/dist/request-withdrawal-TI3A5WPS.js +31 -0
  192. package/dist/{reveal-BOY7XYFH.js → reveal-DIBHLUZX.js} +7 -7
  193. package/dist/reveal-DIBHLUZX.js.map +1 -0
  194. package/dist/revoke-FDRD6GRW.js +24 -0
  195. package/dist/satellites/index.js +1 -1
  196. package/dist/sealed-record/index.js +12 -12
  197. package/dist/{seed-4RRXT42N.js → seed-Q6M2IZFL.js} +11 -11
  198. package/dist/session/index.js +9 -9
  199. package/dist/shadow/index.js +2 -2
  200. package/dist/signer-MUWEIUI6.js +25 -0
  201. package/dist/snapshots/index.js +10 -10
  202. package/dist/stale-OSQ7J3AA.js +29 -0
  203. package/dist/storage-MVFCGEQE.js +23 -0
  204. package/dist/{store-coordination-provider-HPYVFJCV.js → store-coordination-provider-64OEZFGS.js} +3 -3
  205. package/dist/sync/index.js +9 -9
  206. package/dist/team/index.js +15 -15
  207. package/dist/tiers/index.js +14 -10
  208. package/dist/to/index.js +1 -1
  209. package/dist/tx/index.js +3 -3
  210. package/dist/util/index.js +1 -1
  211. package/dist/{verify-66RHOW7N.js → verify-ZASTRNPR.js} +9 -8
  212. package/dist/verify-ZASTRNPR.js.map +1 -0
  213. package/dist/via/lookup/registry.d.ts +9 -0
  214. package/dist/via/money/where.d.ts +27 -6
  215. package/dist/{walk-2RWEOCAS.js → walk-SVNDIZ62.js} +11 -11
  216. package/dist/with/index.js +11 -11
  217. package/dist/with-audit/forget/strategy.d.ts +22 -0
  218. package/dist/with-audit/tiers/index.d.ts +275 -3
  219. package/dist/with-audit/tiers/strategy.d.ts +5 -4
  220. package/dist/with-cargo/describe-extraction.d.ts +9 -1
  221. package/dist/with-cargo/extract-partition.d.ts +9 -1
  222. package/dist/with-cargo/walk-closure.d.ts +32 -3
  223. package/dist/with-commit/history/history.d.ts +46 -0
  224. package/dist/with-commit/history/ledger/store.d.ts +21 -0
  225. package/dist/with-commit/history/strategy.d.ts +10 -0
  226. package/dist/with-commit/history/time-machine.d.ts +23 -0
  227. package/dist/with-commit/tx/elevated-handle.d.ts +2 -1
  228. package/dist/with-commit/tx/transaction.d.ts +5 -0
  229. package/dist/with-formula/materialized-views/executor.d.ts +9 -0
  230. package/dist/with-formula/materialized-views/stale.d.ts +52 -1
  231. package/dist/with-lookup/embeddings/index.d.ts +1 -0
  232. package/dist/with-lookup/embeddings/vec-id.d.ts +47 -0
  233. package/dist/with-lookup/indexing/collection-facade.d.ts +38 -1
  234. package/dist/with-lookup/indexing/lazy-builder.d.ts +35 -2
  235. package/dist/with-lookup/indexing/persisted-indexes.d.ts +44 -1
  236. package/dist/with-lookup/search/collection-facade.d.ts +40 -0
  237. package/dist/with-lookup/search/persisted-index-store.d.ts +82 -2
  238. package/dist/with-lookup/search/strategy.d.ts +4 -0
  239. package/dist/with-party/team/sync.d.ts +9 -0
  240. package/dist/with-shape/blobs/blob-intent.d.ts +153 -0
  241. package/dist/with-shape/blobs/blob-set.d.ts +949 -5
  242. package/dist/with-shape/satellites/fanout.d.ts +5 -4
  243. package/dist/with-shape/satellites/migrate-cek.d.ts +26 -0
  244. package/dist/with-shape/satellites/types.d.ts +11 -0
  245. package/dist/withdraw-accessible-WZIEVWSR.js +28 -0
  246. package/package.json +3 -3
  247. package/dist/api-YGMINAET.js +0 -20
  248. package/dist/backup-XA5STIYQ.js.map +0 -1
  249. package/dist/chunk-2JMMY7HZ.js.map +0 -1
  250. package/dist/chunk-3CNQ7FQ3.js.map +0 -1
  251. package/dist/chunk-7QIXUSDQ.js.map +0 -1
  252. package/dist/chunk-A2QF4JUE.js.map +0 -1
  253. package/dist/chunk-AOVDSIL3.js +0 -1221
  254. package/dist/chunk-AOVDSIL3.js.map +0 -1
  255. package/dist/chunk-CKZW6P5V.js.map +0 -1
  256. package/dist/chunk-DGH65E7Q.js.map +0 -1
  257. package/dist/chunk-DJ3VKYFA.js.map +0 -1
  258. package/dist/chunk-FH542DDY.js.map +0 -1
  259. package/dist/chunk-H44ZE4IE.js.map +0 -1
  260. package/dist/chunk-H6HM6CVR.js.map +0 -1
  261. package/dist/chunk-L2SNBIV7.js.map +0 -1
  262. package/dist/chunk-MELR46EF.js.map +0 -1
  263. package/dist/chunk-P5RY4ZWD.js.map +0 -1
  264. package/dist/chunk-QQJXBZCO.js.map +0 -1
  265. package/dist/chunk-TPH5EO6L.js +0 -54
  266. package/dist/chunk-TPH5EO6L.js.map +0 -1
  267. package/dist/chunk-W5D62AQD.js.map +0 -1
  268. package/dist/classified-marker-LQWWQNIJ.js.map +0 -1
  269. package/dist/collection-facade-YE2O4J4O.js +0 -39
  270. package/dist/delegation-OPUU3R2E.js +0 -25
  271. package/dist/derive-BGUHU663.js +0 -21
  272. package/dist/executor-GTVSUUBX.js +0 -25
  273. package/dist/executor-GZWMTOXB.js +0 -9
  274. package/dist/executor-XXGS4S3K.js +0 -9
  275. package/dist/export-accessible-BMULIOYB.js +0 -23
  276. package/dist/extract-partition-JUQTWDXR.js +0 -36
  277. package/dist/find-XRGCNGNN.js +0 -11
  278. package/dist/issue-UB6AA5M6.js +0 -19
  279. package/dist/liberate-YUN7W5QG.js +0 -24
  280. package/dist/noydb-6JLBZU4U.js +0 -67
  281. package/dist/post-register-HAWO3O7O.js.map +0 -1
  282. package/dist/register-VCKOBWKT.js +0 -23
  283. package/dist/registry-72UKJ2L4.js +0 -9
  284. package/dist/registry-BZFLJNEH.js +0 -18
  285. package/dist/registry-YJEYSYI5.js +0 -19
  286. package/dist/request-withdrawal-6MJRMFHF.js +0 -31
  287. package/dist/reveal-BOY7XYFH.js.map +0 -1
  288. package/dist/revoke-4KUNSVJC.js +0 -24
  289. package/dist/signer-DDDXP5JD.js +0 -25
  290. package/dist/stale-NXPT56JA.js +0 -14
  291. package/dist/storage-IR6EEAV2.js +0 -23
  292. package/dist/verify-66RHOW7N.js.map +0 -1
  293. package/dist/withdraw-accessible-CLMZEHQT.js +0 -28
  294. /package/dist/{api-YGMINAET.js.map → api-ZGS6LCOF.js.map} +0 -0
  295. /package/dist/{chunk-OFJ5GPNA.js.map → chunk-3B5VVCNY.js.map} +0 -0
  296. /package/dist/{chunk-KPGX66PM.js.map → chunk-3LQ2YKO4.js.map} +0 -0
  297. /package/dist/{chunk-D26JB3LZ.js.map → chunk-3QCRBHCY.js.map} +0 -0
  298. /package/dist/{chunk-4N5QFSNQ.js.map → chunk-4JBYV75E.js.map} +0 -0
  299. /package/dist/{chunk-UTLEAJXC.js.map → chunk-4NXKCLLQ.js.map} +0 -0
  300. /package/dist/{chunk-ARSAMO24.js.map → chunk-4VNQOLML.js.map} +0 -0
  301. /package/dist/{chunk-X6CMGUAG.js.map → chunk-5M5DVGV7.js.map} +0 -0
  302. /package/dist/{chunk-XHV25KBM.js.map → chunk-5YOLBEQ6.js.map} +0 -0
  303. /package/dist/{chunk-CB25ONKC.js.map → chunk-6CRIV7DE.js.map} +0 -0
  304. /package/dist/{chunk-BE7N3AXA.js.map → chunk-6JTIAGHD.js.map} +0 -0
  305. /package/dist/{chunk-JOQ53DMI.js.map → chunk-6QTNZJBS.js.map} +0 -0
  306. /package/dist/{chunk-BZO4WCJI.js.map → chunk-6T2SCQRU.js.map} +0 -0
  307. /package/dist/{chunk-FQQF23MC.js.map → chunk-7DSTRQIJ.js.map} +0 -0
  308. /package/dist/{chunk-IP2QBAGS.js.map → chunk-AUSTCW2X.js.map} +0 -0
  309. /package/dist/{chunk-A2Y6YFVN.js.map → chunk-B3HJYUOF.js.map} +0 -0
  310. /package/dist/{chunk-SRVQHVNX.js.map → chunk-BDVFPG6Y.js.map} +0 -0
  311. /package/dist/{chunk-YXOUQ2H7.js.map → chunk-CAF6WOK7.js.map} +0 -0
  312. /package/dist/{chunk-HUS3J5WM.js.map → chunk-CIE2BASH.js.map} +0 -0
  313. /package/dist/{chunk-DIRRS7WP.js.map → chunk-CRI4OUV4.js.map} +0 -0
  314. /package/dist/{chunk-FXK4X4BL.js.map → chunk-DLG74CNB.js.map} +0 -0
  315. /package/dist/{chunk-WTUNZACT.js.map → chunk-E5ZQT5KX.js.map} +0 -0
  316. /package/dist/{chunk-DMFNPHCX.js.map → chunk-EQO2UVP4.js.map} +0 -0
  317. /package/dist/{chunk-MCEKIAO4.js.map → chunk-ERJ7FU55.js.map} +0 -0
  318. /package/dist/{chunk-6QILBDZU.js.map → chunk-EVVGJDRQ.js.map} +0 -0
  319. /package/dist/{chunk-7VSGW5KJ.js.map → chunk-EVX47VBM.js.map} +0 -0
  320. /package/dist/{chunk-D3EFFFOL.js.map → chunk-EXK7QRWF.js.map} +0 -0
  321. /package/dist/{chunk-5JB73NMC.js.map → chunk-EYZ6IQ6X.js.map} +0 -0
  322. /package/dist/{chunk-BCYQA5BK.js.map → chunk-F64IRYG3.js.map} +0 -0
  323. /package/dist/{chunk-K62IUKOD.js.map → chunk-FHS2HQSH.js.map} +0 -0
  324. /package/dist/{chunk-67TNU77I.js.map → chunk-FUG4SFN3.js.map} +0 -0
  325. /package/dist/{chunk-ZP5PL65C.js.map → chunk-GKEWXIV5.js.map} +0 -0
  326. /package/dist/{chunk-RKRGDAS7.js.map → chunk-GTGPO5KW.js.map} +0 -0
  327. /package/dist/{chunk-MSPNM2OM.js.map → chunk-HB3RFQSC.js.map} +0 -0
  328. /package/dist/{chunk-OOLO4LQG.js.map → chunk-I6GALP6E.js.map} +0 -0
  329. /package/dist/{chunk-57V5S7PW.js.map → chunk-IL6POWCW.js.map} +0 -0
  330. /package/dist/{chunk-7NS43EXZ.js.map → chunk-IU6SNYX6.js.map} +0 -0
  331. /package/dist/{chunk-5ZOSG3RJ.js.map → chunk-J2ZX2XUV.js.map} +0 -0
  332. /package/dist/{chunk-SYMS4546.js.map → chunk-JKJOGPZN.js.map} +0 -0
  333. /package/dist/{chunk-AWB5JZW6.js.map → chunk-JZUV47FZ.js.map} +0 -0
  334. /package/dist/{chunk-ODJWBC5I.js.map → chunk-K5IMOGHB.js.map} +0 -0
  335. /package/dist/{chunk-3G4KMVUN.js.map → chunk-KSKBRKGJ.js.map} +0 -0
  336. /package/dist/{chunk-HFJIGWJC.js.map → chunk-LASZKVMO.js.map} +0 -0
  337. /package/dist/{chunk-IGJHJYM6.js.map → chunk-LXEXBTKL.js.map} +0 -0
  338. /package/dist/{chunk-PR5LC5YX.js.map → chunk-MV43JSJF.js.map} +0 -0
  339. /package/dist/{chunk-ELNBMFOS.js.map → chunk-NJ4EOKMB.js.map} +0 -0
  340. /package/dist/{chunk-PXWVF7MC.js.map → chunk-NR5LT5RY.js.map} +0 -0
  341. /package/dist/{chunk-QYPKGVT4.js.map → chunk-NWSGI5C7.js.map} +0 -0
  342. /package/dist/{chunk-25NDNMQ7.js.map → chunk-Q5VNKNE5.js.map} +0 -0
  343. /package/dist/{chunk-CIKY6I4W.js.map → chunk-QLWMEXCT.js.map} +0 -0
  344. /package/dist/{chunk-VA4ZWLFY.js.map → chunk-QRB7NAOJ.js.map} +0 -0
  345. /package/dist/{chunk-3MSQLQNZ.js.map → chunk-R4ROFEYC.js.map} +0 -0
  346. /package/dist/{chunk-BEIRE5K4.js.map → chunk-RCVJZMFE.js.map} +0 -0
  347. /package/dist/{chunk-VR24ILCR.js.map → chunk-RIX4V2TB.js.map} +0 -0
  348. /package/dist/{chunk-Q3XSMOZM.js.map → chunk-RYCTDFUX.js.map} +0 -0
  349. /package/dist/{chunk-7E67FJ33.js.map → chunk-RZ5SVOYR.js.map} +0 -0
  350. /package/dist/{chunk-IDIV5NVH.js.map → chunk-SLFHQTTW.js.map} +0 -0
  351. /package/dist/{chunk-C3YH34IL.js.map → chunk-T2FFWNPK.js.map} +0 -0
  352. /package/dist/{chunk-O2DYPAZY.js.map → chunk-UNFPPVNI.js.map} +0 -0
  353. /package/dist/{chunk-GA2QHD6P.js.map → chunk-VLFCJYTL.js.map} +0 -0
  354. /package/dist/{chunk-YSXEFGND.js.map → chunk-VN3DBQAU.js.map} +0 -0
  355. /package/dist/{chunk-C7NTK5I3.js.map → chunk-VZRODIM3.js.map} +0 -0
  356. /package/dist/{chunk-QLLKLFE2.js.map → chunk-W22IKJE2.js.map} +0 -0
  357. /package/dist/{chunk-5XIPOCQC.js.map → chunk-X3YYQWOQ.js.map} +0 -0
  358. /package/dist/{chunk-XFXUTFWQ.js.map → chunk-YFXZEAYK.js.map} +0 -0
  359. /package/dist/{chunk-7ITPJFGC.js.map → chunk-ZAJAVEXY.js.map} +0 -0
  360. /package/dist/{chunk-4R4Q64W5.js.map → chunk-ZICD77GM.js.map} +0 -0
  361. /package/dist/{chunk-45ZZLTFH.js.map → chunk-ZJ2AK4V7.js.map} +0 -0
  362. /package/dist/{chunk-UFILRICG.js.map → chunk-ZUODRVHY.js.map} +0 -0
  363. /package/dist/{collection-facade-YE2O4J4O.js.map → collection-facade-TLWIPI76.js.map} +0 -0
  364. /package/dist/{computed-W6MVAMWZ.js.map → computed-ZIQTYTDI.js.map} +0 -0
  365. /package/dist/{dead-filter-4KXZEB3X.js.map → dead-filter-ESOBZZP5.js.map} +0 -0
  366. /package/dist/{delegation-OPUU3R2E.js.map → delegation-W7ZV2322.js.map} +0 -0
  367. /package/dist/{derive-BGUHU663.js.map → derive-H2BJTLUI.js.map} +0 -0
  368. /package/dist/{enclave-VXAQD4XJ.js.map → enclave-AP3I5W7O.js.map} +0 -0
  369. /package/dist/{executor-GTVSUUBX.js.map → executor-KGWTNEQD.js.map} +0 -0
  370. /package/dist/{executor-GZWMTOXB.js.map → executor-OVEXR6RT.js.map} +0 -0
  371. /package/dist/{executor-XXGS4S3K.js.map → executor-UNEH5ZYH.js.map} +0 -0
  372. /package/dist/{export-accessible-BMULIOYB.js.map → export-accessible-PCMXSUZS.js.map} +0 -0
  373. /package/dist/{extract-partition-JUQTWDXR.js.map → extract-partition-SWHFSYJO.js.map} +0 -0
  374. /package/dist/{fanout-sidecar-CKYFH33E.js.map → fanout-sidecar-A765THMX.js.map} +0 -0
  375. /package/dist/{find-XRGCNGNN.js.map → find-N6345CNT.js.map} +0 -0
  376. /package/dist/{issue-UB6AA5M6.js.map → issue-5OKB6I2R.js.map} +0 -0
  377. /package/dist/{ledger-FU6GH5EH.js.map → ledger-GFBKVPV4.js.map} +0 -0
  378. /package/dist/{liberate-YUN7W5QG.js.map → liberate-3VDOT4KO.js.map} +0 -0
  379. /package/dist/{link-set-MNADSH5M.js.map → link-set-Z7Q2ASFX.js.map} +0 -0
  380. /package/dist/{noydb-6JLBZU4U.js.map → noydb-ZCJOYBDI.js.map} +0 -0
  381. /package/dist/{policy-JTFOPPUU.js.map → policy-Z3RUAIY2.js.map} +0 -0
  382. /package/dist/{public-envelope-NJVB7LPA.js.map → public-envelope-B4KNWVUA.js.map} +0 -0
  383. /package/dist/{register-VCKOBWKT.js.map → register-VAHONCID.js.map} +0 -0
  384. /package/dist/{registry-72UKJ2L4.js.map → registry-7MLVD3VO.js.map} +0 -0
  385. /package/dist/{registry-BZFLJNEH.js.map → registry-EPKPD5SM.js.map} +0 -0
  386. /package/dist/{registry-YJEYSYI5.js.map → registry-P5T7PS2U.js.map} +0 -0
  387. /package/dist/{request-withdrawal-6MJRMFHF.js.map → request-withdrawal-TI3A5WPS.js.map} +0 -0
  388. /package/dist/{revoke-4KUNSVJC.js.map → revoke-FDRD6GRW.js.map} +0 -0
  389. /package/dist/{seed-4RRXT42N.js.map → seed-Q6M2IZFL.js.map} +0 -0
  390. /package/dist/{signer-DDDXP5JD.js.map → signer-MUWEIUI6.js.map} +0 -0
  391. /package/dist/{stale-NXPT56JA.js.map → stale-OSQ7J3AA.js.map} +0 -0
  392. /package/dist/{storage-IR6EEAV2.js.map → storage-MVFCGEQE.js.map} +0 -0
  393. /package/dist/{store-coordination-provider-HPYVFJCV.js.map → store-coordination-provider-64OEZFGS.js.map} +0 -0
  394. /package/dist/{walk-2RWEOCAS.js.map → walk-SVNDIZ62.js.map} +0 -0
  395. /package/dist/{withdraw-accessible-CLMZEHQT.js.map → withdraw-accessible-WZIEVWSR.js.map} +0 -0
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Tier visibility helper (#712/#707): a tier-0 code path treats an elevated
3
+ * (_tier > 0) record as invisible. History reads gate on the LIVE record's
4
+ * tier — history snapshots keep their tier-0-wrapped CEKs and carry no _tier
5
+ * of their own, so an elevated record's prior versions would otherwise stay
6
+ * tier-0-decryptable (the read-gate closes the API surface; #712's at-rest
7
+ * arc rewraps the snapshot keys). Envelope inspection only — no decryption.
8
+ *
9
+ * #715/#716: the write ring. Invisibility on the read side is exactly what
10
+ * makes a tier-0 write path treat an elevated record as absent — a put()
11
+ * believes it's a create (demotion) and a delete() writes a marker with no
12
+ * _tier (erasing the elevation signal). `assertTierWritable` closes that by
13
+ * refusing the write outright. Both helpers share a single envelope peek
14
+ * (`peekLiveTier`) — no duplicated `adapter.get` per write.
15
+ */
16
+ import type { NoydbStore } from './types.js';
17
+ export declare function liveRecordIsElevated(adapter: NoydbStore, vault: string, name: string, id: string): Promise<boolean>;
18
+ /**
19
+ * The tier a record's LIVE envelope currently carries (0 if untiered or
20
+ * never moved). #724 Task 4: `BlobSet.loadSlots`/`saveSlots` use this to
21
+ * resolve the per-record slot map's collection DEK at the record's current
22
+ * tier by default, so the slot map's physical location follows the record
23
+ * after `rehomeForTier` re-keys it.
24
+ */
25
+ export declare function liveRecordTier(adapter: NoydbStore, vault: string, name: string, id: string): Promise<number>;
26
+ /**
27
+ * Refuses a tier-0 `put()`/`delete()` targeting an elevated record.
28
+ * No-op when `tiersEnabled` is false (the cost gate — collections that
29
+ * never declare tiers pay nothing). Throws `TierWriteRefusedError` with
30
+ * the record's ACTUAL live tier when elevated — holders included, since
31
+ * `put()`/`delete()` are the tier-0 APIs and `putAtTier`/`elevate`/`demote`
32
+ * are the sanctioned tier-aware paths.
33
+ */
34
+ export declare function assertTierWritable(adapter: NoydbStore, vault: string, name: string, id: string, tiersEnabled: boolean): Promise<void>;
35
+ /**
36
+ * #708: ALL-OR-NOTHING pre-check for a coordinated-cutover bulk-rewrite —
37
+ * scans every id's live tier BEFORE any record is transformed and refuses
38
+ * on the first elevated one found. `_applyCutoverTransform` re-encrypts at
39
+ * tier 0 with no gate of its own; without this, it would silently demote
40
+ * an elevated record. Same cost gate as `assertTierWritable` (no-op, no
41
+ * adapter call, when `tiersEnabled` is false).
42
+ *
43
+ * This pre-check guards against an ordinary `put()`/`delete()` racing the
44
+ * cutover, because those go through the schema fence (`SchemaFenceController`
45
+ * blocks concurrent writes during a coordinated cutover). It does NOT guard
46
+ * against `elevate()`/`demote()`/`putAtTier()` — those tier-move paths bypass
47
+ * the fence, so a tier move landing between this scan and the rewrite it
48
+ * gates is not excluded. Cutover callers are expected to hold the vault
49
+ * quiescent for tier moves on this collection for the duration of the call,
50
+ * the same tier-quiescence assumption the documented CAS-less caller
51
+ * (`with-shape/satellites/migrate-cek.ts`'s "No-quiesce precondition") makes
52
+ * explicit for concurrent writes generally.
53
+ */
54
+ export declare function assertCutoverTierSafe(adapter: NoydbStore, vault: string, name: string, tiersEnabled: boolean): Promise<void>;
@@ -245,6 +245,25 @@ export interface ClassifiedMarker {
245
245
  readonly digestOnly: readonly string[];
246
246
  /** field names additionally declared equatable (have _bidx when covered) */
247
247
  readonly equatable: readonly string[];
248
+ /**
249
+ * Lifetime epoch (#597) — same shape/intent as `PairingMarker.epoch`
250
+ * (`with-shape/satellites/types.ts`): an opaque, stable-per-collection-
251
+ * lifetime stamp minted the first time this marker is persisted and
252
+ * carried forward unchanged by an IDENTICAL re-persist for the SAME
253
+ * collection (the equality fast path). NOTE: unlike `PairingMarker` (whose
254
+ * R-S9 refuses divergent redeclares), a classified marker IS rewritten
255
+ * wholesale on a genuine reconfiguration (changed digestOnly/equatable
256
+ * set) — so the epoch re-stamps to the fresh value then (see
257
+ * `config-drift.ts`'s `markerForFields`). Optional: markers persisted
258
+ * before this field existed have none. Deliberately excluded from the
259
+ * classified-marker equality check in
260
+ * `with-shape/persisted-schemas/register.ts`. ADDITIVE ONLY today: no
261
+ * delete-collection API exists yet, so a stale marker on a reused name is
262
+ * unreachable; the epoch-MISMATCH rejection this would enable is a
263
+ * deferred follow-up once name reuse is possible — whoever wires it must
264
+ * first make reconfiguration carry the prior epoch forward.
265
+ */
266
+ readonly epoch?: string;
248
267
  }
249
268
  /** Verdict-only egress of the enclave oracle (spec §3). */
250
269
  export interface ClassifiedVerdict {
@@ -1835,6 +1854,65 @@ export interface BlobObject {
1835
1854
  * store (e.g. S3). Absent when no routing is configured.
1836
1855
  */
1837
1856
  readonly storeHint?: 'default' | 'blobs';
1857
+ /**
1858
+ * Bounded ring (K=8 — an AUDIT-VISIBLE concurrency bound, not an
1859
+ * implementation detail) of the most recent op-stamp identities applied to
1860
+ * this object's `refCount`. Appended in the SAME CAS write as the
1861
+ * `refCount` change it stamps (`BlobSet`'s `casUpdateRefCountStamped`),
1862
+ * never a separate write — no crash window between the two. Oldest entry
1863
+ * is evicted once the ring exceeds K entries.
1864
+ *
1865
+ * The blob durability journal (#753, spec §7 C2/C4) uses membership here
1866
+ * as its test-and-set: a stamped mutator re-reads this ring on every CAS
1867
+ * attempt (including retries) BEFORE computing its delta — stamp already
1868
+ * present → that mutation already landed → skip re-applying it. This is
1869
+ * what makes a crash-resumed refCount decrement/increment exactly-once
1870
+ * rather than at-least-once.
1871
+ *
1872
+ * Two acceptances, by design — SHRED only (see the #746 whole-branch
1873
+ * review correction below for rehome):
1874
+ * - **Eviction beyond K, for SHRED.** More than 8 distinct in-flight
1875
+ * stamped operations racing the SAME object between reads is far
1876
+ * outside any expected co-ownership fan-out; a 9th racer whose stamp
1877
+ * gets evicted before it re-reads can only double-apply an idempotent
1878
+ * CAS delta — never silently lose one (the DECREMENT delta is bounded
1879
+ * by the marker's authoritative captured `hold.n`, applied as ONE CAS
1880
+ * per eTag — never per-row — so eviction has nothing row-scoped to
1881
+ * re-apply against). Not a data-loss risk for shred, just a documented
1882
+ * concurrency bound.
1883
+ * - **Stale stamps on a retained object.** A `retainedShared` object (one
1884
+ * reference released, others still live) keeps whatever stamp its last
1885
+ * CAS write appended even after that operation's marker is gone —
1886
+ * harmless bookkeeping, not crypto material (unlike `_cek`), that sits
1887
+ * inert until the object's next CAS write evicts or overwrites it.
1888
+ *
1889
+ * **#746 whole-branch review correction — this ring is NOT the sole
1890
+ * idempotency source for REHOME.** Rehome's destination `+1`s are
1891
+ * ROW-SCOPED (`${opId}:${slotName}` / `${opId}:${versionKey}`, one stamp
1892
+ * PER CONTRIBUTING ROW, not one per eTag). Within a SINGLE op this ring is
1893
+ * sufficient — rows are processed sequentially and each row's referencing
1894
+ * update lands before the next row's `+1`, so a row whose stamp is later
1895
+ * evicted is already seen as "moved" (skipped) on resume, never
1896
+ * re-incremented. The genuine over-count is **concurrent independent ops**
1897
+ * (distinct `opId`s) converging on one shared destination: ≥8 of them can
1898
+ * evict a crashed op's row-stamp before it resumes, and a naive ring-only
1899
+ * resume would then double-apply that row's `+1` — a real, silent,
1900
+ * permanent-leak over-count, not merely eviction-tolerant like shred's.
1901
+ * `BlobIntent.appliedStamps` (`blob-intent.ts`) is rehome's ring-INDEPENDENT
1902
+ * backstop: an unbounded, per-op, per-record log of confirmed row-stamps,
1903
+ * consulted BEFORE this ring on every resume (see
1904
+ * `BlobSet.applyStampedIncrement`). This ring stays the fast first-line
1905
+ * check; `appliedStamps` makes correctness independent of ring eviction
1906
+ * **except** in one intrinsic non-atomic window: the destination `+1`/ring
1907
+ * write (A) and the `appliedStamps` append (B) are separate object writes,
1908
+ * A before B (deliberately — B-first could under-count and crypto-shred a
1909
+ * still-referenced object, i.e. data loss, strictly worse than a
1910
+ * retained-too-long leak). A crash BETWEEN A and B followed by ≥8 concurrent
1911
+ * evictions before resume can still over-count. This window is intrinsic
1912
+ * (rehome, unlike shred, cannot pre-capture destinations at mint time) and
1913
+ * fail-safe-directed; it is a documented residual (see the arc changeset).
1914
+ */
1915
+ readonly lastOps?: readonly string[];
1838
1916
  }
1839
1917
  /**
1840
1918
  * Slot record — mutable metadata linking a named slot on a record
@@ -1880,6 +1958,20 @@ export interface SlotRecord {
1880
1958
  readonly uploadedAt: string;
1881
1959
  /** User ID of the uploader, if available. */
1882
1960
  readonly uploadedBy?: string;
1961
+ /**
1962
+ * Internal rehome-journal bookkeeping (#746 spec §7 review, carried
1963
+ * finding (b)) — NEVER part of the public `list()`/`SlotInfo` contract
1964
+ * (`BlobSet.list()` filters it out explicitly). Set, in the SAME CAS
1965
+ * write that points this slot at its new (rehomed) eTag, to the OLD eTag
1966
+ * still awaiting its refCount release: `putUnderDEK`'s slot-CAS and its
1967
+ * old-eTag release are two separate writes, and a crash between them
1968
+ * would otherwise lose the only record of which object still needs
1969
+ * releasing (the slot map itself has already moved past it) — a
1970
+ * permanent stranded-refcount leak. Cleared once the release lands.
1971
+ * Only ever set under a marker-governed (stamped) rehome; absent on
1972
+ * every ordinary `put()`.
1973
+ */
1974
+ readonly pendingRelease?: string;
1883
1975
  }
1884
1976
  /** Result of `BlobSet.list()` — slot record plus its named slot key. */
1885
1977
  export interface SlotInfo extends SlotRecord {
@@ -28,7 +28,7 @@ import type { IndexStrategy } from '../with-lookup/indexing/strategy.js';
28
28
  import type { LazyStrategy } from '../port/with/lazy-strategy.js';
29
29
  import type { AggregateStrategy } from '../with-lookup/aggregate/strategy.js';
30
30
  import type { CrdtStrategy } from './types.js';
31
- import type { TiersStrategy } from '../with-audit/tiers/strategy.js';
31
+ import type { TiersStrategy, TierMoveResult } from '../with-audit/tiers/strategy.js';
32
32
  import type { SearchStrategy } from '../with-lookup/search/strategy.js';
33
33
  import { type CargoStrategy } from '../with-cargo/strategy.js';
34
34
  import { type BrokerStrategy, type CredentialBrokerHandle } from '../port/with/broker-strategy.js';
@@ -44,7 +44,7 @@ import { type ConsentStrategy } from '../with-audit/consent/strategy.js';
44
44
  import { type PeriodsStrategy } from '../with-audit/periods/strategy.js';
45
45
  import { type RefDescriptor, type RefViolation } from './refs.js';
46
46
  import type { DictionaryHandle, DictionaryOptions, DictKeyDescriptor, StaticDictDescriptor } from '../port/with/i18n-strategy.js';
47
- import { // #650 Task 6
47
+ import { // #653
48
48
  type LookupDescriptor } from '../port/with/lookup-strategy.js';
49
49
  import { type LinkSpec, type LinkSetHandle } from '../with-shape/links/names.js';
50
50
  import type { EmbeddingDescriptor } from '../with-lookup/embeddings/index.js';
@@ -465,6 +465,7 @@ export declare class Vault {
465
465
  * when `vault.compact()` runs.
466
466
  */
467
467
  blobFields?: BlobFieldsConfig<T>;
468
+ blobTierPolicy?: 'isolate' | 'dedup';
468
469
  /** — declarative record archival policy: `{ archiveWhen, legalHold? }`. Evaluated when `vault.archive()` runs. */
469
470
  archive?: ArchivePolicy<T>;
470
471
  /** — declared tiers for this collection. */
@@ -512,6 +513,16 @@ export declare class Vault {
512
513
  }): Collection<T, S, Q, M>;
513
514
  /** Full-record handle for a satellite pair registered with `joined:` (spec #591). Narrow type — not a Collection. */
514
515
  joined<T extends Record<string, unknown>>(name: string): JoinedHandle<T>;
516
+ /**
517
+ * Migrate an existing satellite's records onto per-record CEKs (#599) —
518
+ * unblocks R-S7 when a base gains forget coverage after its satellite was
519
+ * already declared without `perRecordKeys`. Call BEFORE re-declaring with
520
+ * `{ satelliteOf, perRecordKeys: true }` AND before this collection serves
521
+ * writes (unfenced walk — see {@link migrateSatelliteCek}); resumable.
522
+ */
523
+ migrateSatellitePerRecordKeys(satelliteName: string): Promise<{
524
+ migrated: number;
525
+ }>;
515
526
  /**
516
527
  * Await all background persisted-schema writes triggered by
517
528
  * `collection({ persistJsonSchema: true })` calls on this vault.
@@ -544,6 +555,10 @@ export declare class Vault {
544
555
  _invalidateSyncApplied(collection: string, id: string, action: 'put' | 'delete'): Promise<void>;
545
556
  /** @internal #650 Task 4 (#647) — declared reserved-lookup collection names, for `SyncEngine.pull()`'s explicit prefix registry. */
546
557
  _reservedLookupCollectionNames(): readonly string[];
558
+ /** @internal #653 — one-hop reserved-dict deps of `names`, for `SyncEngine`'s partial-sync
559
+ * filter expansion. Provably complete at one hop: `vault.collection()` refuses `_dict_*`
560
+ * names, so a dict can never itself declare lookup fields (no dict-of-dict chain). */
561
+ _reservedDictDepsOf(names: readonly string[]): readonly string[];
547
562
  /** @internal #638 Task 4 — open a graph-dispatch touch batch (sync pull()/push()/cutover). */
548
563
  _beginGraphBatch(): void;
549
564
  /** @internal #638 Task 4 — `Collection._onRecordMutated`'s sync-apply/cutover/restore hook; a
@@ -1141,13 +1156,15 @@ export declare class Vault {
1141
1156
  /**
1142
1157
  * Manual re-materialize for a single registered MV (`refresh: 'manual'` consumers,
1143
1158
  * stale-bit recovery on vault reopen, bulk-recompute escape hatch after a strategy
1144
- * change). Returns `{ written, deleted, failed }` (`deleted` always 0 without
1145
- * tombstoning). Throws if `name` is not a registered MV.
1159
+ * change). Returns `{ written, deleted, failed, residueUndecodable, residueDeclined }` (`deleted`
1160
+ * always 0 without tombstoning; #785 splits the #782 leftovers — undecodable vs #718-declined). Throws if not registered.
1146
1161
  */
1147
1162
  refreshView(name: string): Promise<{
1148
1163
  written: number;
1149
1164
  deleted: number;
1150
1165
  failed: number;
1166
+ residueUndecodable: string[];
1167
+ residueDeclined: string[];
1151
1168
  }>;
1152
1169
  /**
1153
1170
  * Re-derive every record in the named source collection (useful after a strategy
@@ -1326,9 +1343,9 @@ export declare class Vault {
1326
1343
  * Internal — invoked by an `ElevatedHandle.collection().put()` call.
1327
1344
  * Routes through the existing `Collection.putAtTier` code path with
1328
1345
  * the elevation context attached so the cross-tier event reflects
1329
- * the right authorization class.
1346
+ * the right authorization class. Returns `putAtTier`'s `TierMoveResult` (#779).
1330
1347
  */
1331
- _elevatedPut<T>(collectionName: string, id: string, record: T, tier: number, reason: string): Promise<void>;
1348
+ _elevatedPut<T>(collectionName: string, id: string, record: T, tier: number, reason: string): Promise<TierMoveResult>;
1332
1349
  private writeElevationAudit;
1333
1350
  /**
1334
1351
  * low-level escape hatch used by `@noy-db/on-magic-link`
@@ -161,6 +161,16 @@ export interface ForgetFanoutStats {
161
161
  * skipped for these, reported here so the skip is never silent. `backing:key:collection.field`
162
162
  * entries, one per un-propagated edge. */
163
163
  readonly lookupReferencesResidue: string[];
164
+ /** #776/#782/#785 — `outputCollection:id` MV-output rows that survived erasure invalidation
165
+ * (eager tombstone leg AND lazy/manual `invalidateMVAtRest`) despite belonging to the
166
+ * forgotten subject, because the ownership stamp could not be decoded (undecodable under
167
+ * the default DEK — e.g. elevated above tier 0 on a tiered output collection). Ownership
168
+ * UNCONFIRMED. Never erased, but surfaced here rather than silently skipped. */
169
+ readonly derivedResidueUndecodable: string[];
170
+ /** #782/#785 — `outputCollection:id` MV-output rows that decoded and stamp-matched but whose
171
+ * `_internalDelete` declined (the #718 tier-elevation gate). Ownership CONFIRMED, erasure
172
+ * declined — a real silent survival, surfaced here rather than silently skipped. */
173
+ readonly derivedResidueDeclined: string[];
164
174
  }
165
175
  /**
166
176
  * #622 — after `_writeTombstone(ref.id, actor)` erases the forgotten subject's own record, fan
@@ -31,7 +31,8 @@ export declare class ViaGraph {
31
31
  private readonly _posture;
32
32
  /** Every derived target's registration, keyed by the target's node id. */
33
33
  private readonly _in;
34
- /** source node id -> derived targets that depend on it (dispatch/erasure). */
34
+ /** source node id -> derived edges that depend on it (dispatch/erasure), each carrying
35
+ * its own registration's `kind` (#678 — see {@link OutEdge}). */
35
36
  private readonly _out;
36
37
  /** Memoized effective posture per derived target node id. */
37
38
  private readonly _effectiveCache;
@@ -3,7 +3,7 @@ import {
3
3
  LedgerStore,
4
4
  applyPatch,
5
5
  computePatch
6
- } from "./chunk-OEAATWH5.js";
6
+ } from "./chunk-XWZVFISC.js";
7
7
  import {
8
8
  LEDGER_COLLECTION,
9
9
  LEDGER_DELTAS_COLLECTION
@@ -15,16 +15,16 @@ import {
15
15
  paddedIndex,
16
16
  parseIndex,
17
17
  sha256Hex
18
- } from "./chunk-25NDNMQ7.js";
19
- import "./chunk-QQJXBZCO.js";
20
- import "./chunk-FQQF23MC.js";
21
- import "./chunk-MSPNM2OM.js";
22
- import "./chunk-SYMS4546.js";
23
- import "./chunk-X6CMGUAG.js";
18
+ } from "./chunk-Q5VNKNE5.js";
19
+ import "./chunk-XDYREZWE.js";
20
+ import "./chunk-7DSTRQIJ.js";
21
+ import "./chunk-HB3RFQSC.js";
22
+ import "./chunk-JKJOGPZN.js";
23
+ import "./chunk-5M5DVGV7.js";
24
24
  import "./chunk-LP7BEXCT.js";
25
- import "./chunk-HUS3J5WM.js";
26
- import "./chunk-CKZW6P5V.js";
27
- import "./chunk-FH542DDY.js";
25
+ import "./chunk-CIE2BASH.js";
26
+ import "./chunk-JNAI2HN2.js";
27
+ import "./chunk-BIOUI4HL.js";
28
28
  import "./chunk-PZ5AY32C.js";
29
29
  export {
30
30
  LEDGER_COLLECTION,
@@ -39,4 +39,4 @@ export {
39
39
  parseIndex,
40
40
  sha256Hex
41
41
  };
42
- //# sourceMappingURL=ledger-FU6GH5EH.js.map
42
+ //# sourceMappingURL=ledger-GFBKVPV4.js.map
@@ -17,7 +17,7 @@
17
17
  export { writePod, readPod, readPodHeader, writeNoydbBundle, readNoydbBundle, readNoydbBundleHeader, resetBrotliSupportCache, NOYDB_BUNDLE_MAGIC, NOYDB_BUNDLE_PREFIX_BYTES, NOYDB_BUNDLE_FORMAT_VERSION, FLAG_COMPRESSED, FLAG_HAS_INTEGRITY_HASH, COMPRESSION_NONE, COMPRESSION_GZIP, COMPRESSION_BROTLI, validateBundleHeader, encodeBundleHeader, generateULID, isULID, } from '../with-pod/index.js';
18
18
  export type { WritePodOptions, WriteNoydbBundleOptions, ReadNoydbBundleOptions, NoydbBundleReadResult, CompressionAlgo, NoydbPodHeader, NoydbBundleHeader, } from '../with-pod/index.js';
19
19
  export { walkClosure } from '../with-cargo/walk-closure.js';
20
- export type { WalkClosureOptions, ClosureResult } from '../with-cargo/walk-closure.js';
20
+ export type { WalkClosureOptions, ClosureResult, DanglingRefNotice } from '../with-cargo/walk-closure.js';
21
21
  export { describeExtraction } from '../with-cargo/describe-extraction.js';
22
22
  export type { ExtractionPreview } from '../with-cargo/describe-extraction.js';
23
23
  export { extractPartition } from '../with-cargo/extract-partition.js';
@@ -0,0 +1,24 @@
1
+ import {
2
+ liberateVault
3
+ } from "./chunk-NR5LT5RY.js";
4
+ import "./chunk-IU6SNYX6.js";
5
+ import "./chunk-F64IRYG3.js";
6
+ import "./chunk-3LQ2YKO4.js";
7
+ import "./chunk-FHS2HQSH.js";
8
+ import "./chunk-X3YYQWOQ.js";
9
+ import "./chunk-J2ZX2XUV.js";
10
+ import "./chunk-4JBYV75E.js";
11
+ import "./chunk-XDYREZWE.js";
12
+ import "./chunk-7DSTRQIJ.js";
13
+ import "./chunk-HB3RFQSC.js";
14
+ import "./chunk-JKJOGPZN.js";
15
+ import "./chunk-5M5DVGV7.js";
16
+ import "./chunk-LP7BEXCT.js";
17
+ import "./chunk-CIE2BASH.js";
18
+ import "./chunk-JNAI2HN2.js";
19
+ import "./chunk-BIOUI4HL.js";
20
+ import "./chunk-PZ5AY32C.js";
21
+ export {
22
+ liberateVault
23
+ };
24
+ //# sourceMappingURL=liberate-3VDOT4KO.js.map
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  LinkEndpointError,
3
3
  LinkSet
4
- } from "./chunk-57V5S7PW.js";
4
+ } from "./chunk-IL6POWCW.js";
5
5
  import {
6
6
  LINK_COLLECTION_PREFIX,
7
7
  LinkIntegrityError,
8
8
  isLinkCollectionName,
9
9
  linkCollectionName,
10
10
  linkRowKey
11
- } from "./chunk-AWB5JZW6.js";
12
- import "./chunk-QQJXBZCO.js";
13
- import "./chunk-FQQF23MC.js";
14
- import "./chunk-MSPNM2OM.js";
15
- import "./chunk-SYMS4546.js";
16
- import "./chunk-X6CMGUAG.js";
11
+ } from "./chunk-JZUV47FZ.js";
12
+ import "./chunk-XDYREZWE.js";
13
+ import "./chunk-7DSTRQIJ.js";
14
+ import "./chunk-HB3RFQSC.js";
15
+ import "./chunk-JKJOGPZN.js";
16
+ import "./chunk-5M5DVGV7.js";
17
17
  import "./chunk-LP7BEXCT.js";
18
- import "./chunk-HUS3J5WM.js";
19
- import "./chunk-CKZW6P5V.js";
20
- import "./chunk-FH542DDY.js";
18
+ import "./chunk-CIE2BASH.js";
19
+ import "./chunk-JNAI2HN2.js";
20
+ import "./chunk-BIOUI4HL.js";
21
21
  import "./chunk-PZ5AY32C.js";
22
22
  export {
23
23
  LINK_COLLECTION_PREFIX,
@@ -28,4 +28,4 @@ export {
28
28
  linkCollectionName,
29
29
  linkRowKey
30
30
  };
31
- //# sourceMappingURL=link-set-MNADSH5M.js.map
31
+ //# sourceMappingURL=link-set-Z7Q2ASFX.js.map
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  withMaterializedView
3
- } from "../chunk-UTLEAJXC.js";
3
+ } from "../chunk-4NXKCLLQ.js";
4
4
  import {
5
5
  MaterializedViewExecutor
6
- } from "../chunk-2JMMY7HZ.js";
7
- import "../chunk-DGH65E7Q.js";
6
+ } from "../chunk-FM3G3NOY.js";
7
+ import "../chunk-4CTHCN4J.js";
8
8
  import {
9
9
  MaterializedViewRegistry,
10
10
  analyzeDependencies,
11
11
  canonicalizeQueryPlan,
12
12
  computeQueryHash,
13
13
  summarizeQueryPlan
14
- } from "../chunk-3G4KMVUN.js";
14
+ } from "../chunk-KSKBRKGJ.js";
15
15
  import {
16
16
  clearMVStale,
17
17
  isMVStale,
18
18
  markMVStale,
19
19
  resolveStaleMVOnRead
20
- } from "../chunk-TPH5EO6L.js";
21
- import "../chunk-IGJHJYM6.js";
20
+ } from "../chunk-HDQIIUPH.js";
21
+ import "../chunk-LXEXBTKL.js";
22
22
  import "../chunk-IGJCYUT5.js";
23
- import "../chunk-ELNBMFOS.js";
24
- import "../chunk-BE7N3AXA.js";
25
- import "../chunk-ARSAMO24.js";
26
- import "../chunk-25NDNMQ7.js";
27
- import "../chunk-QQJXBZCO.js";
28
- import "../chunk-FQQF23MC.js";
29
- import "../chunk-MSPNM2OM.js";
30
- import "../chunk-SYMS4546.js";
31
- import "../chunk-X6CMGUAG.js";
23
+ import "../chunk-NJ4EOKMB.js";
24
+ import "../chunk-6JTIAGHD.js";
25
+ import "../chunk-4VNQOLML.js";
26
+ import "../chunk-Q5VNKNE5.js";
27
+ import "../chunk-XDYREZWE.js";
28
+ import "../chunk-7DSTRQIJ.js";
29
+ import "../chunk-HB3RFQSC.js";
30
+ import "../chunk-JKJOGPZN.js";
31
+ import "../chunk-5M5DVGV7.js";
32
32
  import "../chunk-LP7BEXCT.js";
33
- import "../chunk-HUS3J5WM.js";
34
- import "../chunk-CKZW6P5V.js";
33
+ import "../chunk-CIE2BASH.js";
34
+ import "../chunk-JNAI2HN2.js";
35
35
  import {
36
36
  MaterializedViewConfigError,
37
37
  MaterializedViewCycleError,
38
38
  MaterializedViewSourceUnknownError,
39
39
  MaterializedViewTooLargeError
40
- } from "../chunk-FH542DDY.js";
40
+ } from "../chunk-BIOUI4HL.js";
41
41
  import "../chunk-PZ5AY32C.js";
42
42
  export {
43
43
  MaterializedViewConfigError,
@@ -0,0 +1,68 @@
1
+ import {
2
+ Noydb,
3
+ createNoydb
4
+ } from "./chunk-X7QBD67R.js";
5
+ import "./chunk-VYYM3MEN.js";
6
+ import "./chunk-EYZ6IQ6X.js";
7
+ import "./chunk-CRI4OUV4.js";
8
+ import "./chunk-JZUV47FZ.js";
9
+ import "./chunk-ZAJAVEXY.js";
10
+ import "./chunk-RYCTDFUX.js";
11
+ import "./chunk-OSDB5WW3.js";
12
+ import "./chunk-W22IKJE2.js";
13
+ import "./chunk-GYGLAVCX.js";
14
+ import "./chunk-6T2SCQRU.js";
15
+ import "./chunk-AURFOK3D.js";
16
+ import "./chunk-6QTNZJBS.js";
17
+ import "./chunk-3QCRBHCY.js";
18
+ import "./chunk-B3HJYUOF.js";
19
+ import "./chunk-5YOLBEQ6.js";
20
+ import "./chunk-MV43JSJF.js";
21
+ import "./chunk-CDUQTA3Z.js";
22
+ import "./chunk-K5IMOGHB.js";
23
+ import "./chunk-DLG74CNB.js";
24
+ import "./chunk-GHVIKOHT.js";
25
+ import "./chunk-MEFJPTZ4.js";
26
+ import "./chunk-HTJQYHZP.js";
27
+ import "./chunk-4CTHCN4J.js";
28
+ import "./chunk-454JXE57.js";
29
+ import "./chunk-NWSGI5C7.js";
30
+ import "./chunk-M4CV6BRT.js";
31
+ import "./chunk-KPZS5QAQ.js";
32
+ import "./chunk-NO272T7Q.js";
33
+ import "./chunk-LXEXBTKL.js";
34
+ import "./chunk-IGJCYUT5.js";
35
+ import "./chunk-3LQ2YKO4.js";
36
+ import "./chunk-EVX47VBM.js";
37
+ import "./chunk-NJ4EOKMB.js";
38
+ import "./chunk-6JTIAGHD.js";
39
+ import "./chunk-4VNQOLML.js";
40
+ import "./chunk-AUSTCW2X.js";
41
+ import "./chunk-EVVGJDRQ.js";
42
+ import "./chunk-VQNJ7UZL.js";
43
+ import "./chunk-J2ZX2XUV.js";
44
+ import "./chunk-4JBYV75E.js";
45
+ import "./chunk-ZICD77GM.js";
46
+ import "./chunk-E5ZQT5KX.js";
47
+ import "./chunk-ZJADGNYF.js";
48
+ import "./chunk-XWZVFISC.js";
49
+ import "./chunk-I7FD46FF.js";
50
+ import "./chunk-PN2XMATY.js";
51
+ import "./chunk-Q5VNKNE5.js";
52
+ import "./chunk-5O3XF4DV.js";
53
+ import "./chunk-QLWMEXCT.js";
54
+ import "./chunk-XDYREZWE.js";
55
+ import "./chunk-7DSTRQIJ.js";
56
+ import "./chunk-HB3RFQSC.js";
57
+ import "./chunk-JKJOGPZN.js";
58
+ import "./chunk-5M5DVGV7.js";
59
+ import "./chunk-LP7BEXCT.js";
60
+ import "./chunk-CIE2BASH.js";
61
+ import "./chunk-JNAI2HN2.js";
62
+ import "./chunk-BIOUI4HL.js";
63
+ import "./chunk-PZ5AY32C.js";
64
+ export {
65
+ Noydb,
66
+ createNoydb
67
+ };
68
+ //# sourceMappingURL=noydb-ZCJOYBDI.js.map
package/dist/on/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  mintPaperRecoveryEntry
3
- } from "../chunk-6QILBDZU.js";
4
- import "../chunk-QQJXBZCO.js";
5
- import "../chunk-FQQF23MC.js";
6
- import "../chunk-MSPNM2OM.js";
7
- import "../chunk-SYMS4546.js";
8
- import "../chunk-X6CMGUAG.js";
3
+ } from "../chunk-EVVGJDRQ.js";
4
+ import "../chunk-XDYREZWE.js";
5
+ import "../chunk-7DSTRQIJ.js";
6
+ import "../chunk-HB3RFQSC.js";
7
+ import "../chunk-JKJOGPZN.js";
8
+ import "../chunk-5M5DVGV7.js";
9
9
  import "../chunk-LP7BEXCT.js";
10
- import "../chunk-HUS3J5WM.js";
11
- import "../chunk-CKZW6P5V.js";
12
- import "../chunk-FH542DDY.js";
10
+ import "../chunk-CIE2BASH.js";
11
+ import "../chunk-JNAI2HN2.js";
12
+ import "../chunk-BIOUI4HL.js";
13
13
  import "../chunk-PZ5AY32C.js";
14
14
  export {
15
15
  mintPaperRecoveryEntry
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  withOverlayedView
3
- } from "../chunk-YXOUQ2H7.js";
3
+ } from "../chunk-CAF6WOK7.js";
4
4
  import {
5
5
  OverlayedCollection
6
- } from "../chunk-A2Y6YFVN.js";
6
+ } from "../chunk-B3HJYUOF.js";
7
7
  import {
8
8
  OverlayedViewRegistry
9
- } from "../chunk-OFJ5GPNA.js";
9
+ } from "../chunk-3B5VVCNY.js";
10
10
  import {
11
11
  OverlayBaseIsVirtualError,
12
12
  OverlayCollectionUnavailableError,
13
13
  OverlayIdMismatchError,
14
14
  OverlayNameCollisionError
15
- } from "../chunk-FH542DDY.js";
15
+ } from "../chunk-BIOUI4HL.js";
16
16
  import "../chunk-PZ5AY32C.js";
17
17
  export {
18
18
  OverlayBaseIsVirtualError,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withPeriods
3
- } from "../chunk-O2DYPAZY.js";
3
+ } from "../chunk-UNFPPVNI.js";
4
4
  import {
5
5
  PERIODS_COLLECTION,
6
6
  PERIOD_ARCHIVES_COLLECTION,
@@ -12,20 +12,20 @@ import {
12
12
  loadPeriods,
13
13
  periodExclusiveUpperBound,
14
14
  validatePeriodName
15
- } from "../chunk-FXK4X4BL.js";
15
+ } from "../chunk-DLG74CNB.js";
16
16
  import "../chunk-GHVIKOHT.js";
17
- import "../chunk-OEAATWH5.js";
17
+ import "../chunk-XWZVFISC.js";
18
18
  import "../chunk-I7FD46FF.js";
19
- import "../chunk-25NDNMQ7.js";
20
- import "../chunk-QQJXBZCO.js";
21
- import "../chunk-FQQF23MC.js";
22
- import "../chunk-MSPNM2OM.js";
23
- import "../chunk-SYMS4546.js";
24
- import "../chunk-X6CMGUAG.js";
19
+ import "../chunk-Q5VNKNE5.js";
20
+ import "../chunk-XDYREZWE.js";
21
+ import "../chunk-7DSTRQIJ.js";
22
+ import "../chunk-HB3RFQSC.js";
23
+ import "../chunk-JKJOGPZN.js";
24
+ import "../chunk-5M5DVGV7.js";
25
25
  import "../chunk-LP7BEXCT.js";
26
- import "../chunk-HUS3J5WM.js";
27
- import "../chunk-CKZW6P5V.js";
28
- import "../chunk-FH542DDY.js";
26
+ import "../chunk-CIE2BASH.js";
27
+ import "../chunk-JNAI2HN2.js";
28
+ import "../chunk-BIOUI4HL.js";
29
29
  import "../chunk-PZ5AY32C.js";
30
30
  export {
31
31
  PERIODS_COLLECTION,