@noy-db/hub 0.6.0-pre.14 → 0.6.0-pre.16

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 (236) hide show
  1. package/codemods/0.6.0-pre.json +211 -0
  2. package/dist/{api-6IBOZN6F.js → api-NAY63UIE.js} +6 -6
  3. package/dist/attestation/index.js +12 -12
  4. package/dist/{backup-FNAYQMLF.js → backup-M2VND2VS.js} +13 -15
  5. package/dist/backup-M2VND2VS.js.map +1 -0
  6. package/dist/blobs/index.js +5 -5
  7. package/dist/broker/index.js +6 -6
  8. package/dist/cargo/index.js +20 -20
  9. package/dist/{chunk-JBMSNYOS.js → chunk-343FH4S5.js} +3 -3
  10. package/dist/{chunk-ROFEKKMI.js → chunk-35RIRCGW.js} +3 -3
  11. package/dist/{chunk-ESABIXMQ.js → chunk-3JQVA527.js} +2 -2
  12. package/dist/{chunk-BVYRPAB2.js → chunk-3OEWD45V.js} +5 -5
  13. package/dist/{chunk-KCLNKE4W.js → chunk-4CSG6KBX.js} +3 -3
  14. package/dist/{chunk-HVPQ5QIZ.js → chunk-4DJQU3PH.js} +4 -4
  15. package/dist/{chunk-7J6YERYT.js → chunk-4JDTLWUZ.js} +9 -9
  16. package/dist/{chunk-LBQIKMBH.js → chunk-4VRZDYRE.js} +2 -2
  17. package/dist/{chunk-CAJ7QAPC.js → chunk-4XEUSZWN.js} +2 -2
  18. package/dist/{chunk-A4JJUWSV.js → chunk-53PWELSC.js} +2 -2
  19. package/dist/{chunk-QEYXKICE.js → chunk-55B3KHZW.js} +2 -2
  20. package/dist/{chunk-QJYTGH5V.js → chunk-56W3T5O2.js} +13 -19
  21. package/dist/chunk-56W3T5O2.js.map +1 -0
  22. package/dist/{chunk-VVMSDWRG.js → chunk-5CH4DWQA.js} +3 -3
  23. package/dist/{chunk-HJAFOPTN.js → chunk-5TF5DUQ5.js} +4 -4
  24. package/dist/chunk-6E2JZRBD.js +60 -0
  25. package/dist/chunk-6E2JZRBD.js.map +1 -0
  26. package/dist/{chunk-7VIIEXQ2.js → chunk-6EF3N2MH.js} +21 -19
  27. package/dist/chunk-6EF3N2MH.js.map +1 -0
  28. package/dist/{chunk-XHX3NTRP.js → chunk-6UAVKAG6.js} +2 -2
  29. package/dist/{chunk-YKEJ5P3H.js → chunk-76FBDG6M.js} +4 -4
  30. package/dist/{chunk-SZZEDEIU.js → chunk-7LLKPODL.js} +1 -1
  31. package/dist/chunk-7LLKPODL.js.map +1 -0
  32. package/dist/{chunk-CK6Z5DJQ.js → chunk-A3WHDOWI.js} +3 -3
  33. package/dist/{chunk-N6OJLR2M.js → chunk-AD2PJGSS.js} +2 -2
  34. package/dist/{chunk-WLZKVY33.js → chunk-B4G3JPH5.js} +3 -3
  35. package/dist/{chunk-C6MI5OCF.js → chunk-CZV57HHC.js} +2 -2
  36. package/dist/{chunk-PJ5TGJ7U.js → chunk-FZ2SSI5R.js} +2 -2
  37. package/dist/{chunk-S77LTWCZ.js → chunk-H5U4T6JK.js} +5 -5
  38. package/dist/{chunk-THYGVKZB.js → chunk-HNX47VTC.js} +6 -6
  39. package/dist/{chunk-GE2AGI67.js → chunk-I5OLA3H6.js} +2 -2
  40. package/dist/{chunk-QQP5KJMS.js → chunk-IGE6XWKK.js} +3 -3
  41. package/dist/{chunk-FMZV43QY.js → chunk-IQGIPRSE.js} +5 -5
  42. package/dist/chunk-IQGIPRSE.js.map +1 -0
  43. package/dist/{chunk-YZ7BRD26.js → chunk-JZVXGOJE.js} +2 -2
  44. package/dist/{chunk-DZWRTWN2.js → chunk-KKRFL5E2.js} +90 -76
  45. package/dist/chunk-KKRFL5E2.js.map +1 -0
  46. package/dist/{chunk-P2UFDX2F.js → chunk-LGGLPURL.js} +2 -2
  47. package/dist/{chunk-Y7MJSOZ7.js → chunk-LJDW6LQJ.js} +3 -3
  48. package/dist/{chunk-ZWPUYBNK.js → chunk-LTVETWDH.js} +39 -37
  49. package/dist/{chunk-ZWPUYBNK.js.map → chunk-LTVETWDH.js.map} +1 -1
  50. package/dist/{chunk-KPD6HNQD.js → chunk-MKSTUVMJ.js} +15 -17
  51. package/dist/chunk-MKSTUVMJ.js.map +1 -0
  52. package/dist/{chunk-KTCQKXHW.js → chunk-MKV2KYRV.js} +2 -2
  53. package/dist/{chunk-IYYGLI2K.js → chunk-NBLLQOMR.js} +4 -4
  54. package/dist/{chunk-CWX6YIX5.js → chunk-NY6RQBUN.js} +3 -3
  55. package/dist/{chunk-LWOSNMHE.js → chunk-OJEDR25M.js} +5 -5
  56. package/dist/{chunk-YODIXNV4.js → chunk-OPGKH5RD.js} +3 -3
  57. package/dist/chunk-OPGKH5RD.js.map +1 -0
  58. package/dist/{chunk-R7E7X4CQ.js → chunk-PJGMBELR.js} +3 -3
  59. package/dist/{chunk-CK7IRIRY.js → chunk-PZLIA5R3.js} +3 -3
  60. package/dist/{chunk-GJX6DOGD.js → chunk-RRMXMJUP.js} +10 -10
  61. package/dist/chunk-RRMXMJUP.js.map +1 -0
  62. package/dist/{chunk-6ZFTVY3O.js → chunk-SFY6NT7D.js} +1 -1
  63. package/dist/chunk-SFY6NT7D.js.map +1 -0
  64. package/dist/{chunk-UTQLKPBS.js → chunk-T6CCRXD3.js} +8 -14
  65. package/dist/chunk-T6CCRXD3.js.map +1 -0
  66. package/dist/{chunk-4LNFXGNW.js → chunk-THUITYH7.js} +3 -3
  67. package/dist/{chunk-V2BEYLNR.js → chunk-TTAND7MR.js} +4 -4
  68. package/dist/{chunk-CNA3QRLM.js → chunk-TWPTRJEU.js} +2 -2
  69. package/dist/{chunk-4YUIVHII.js → chunk-TY6N3PAC.js} +3 -3
  70. package/dist/{chunk-GLS7OSZT.js → chunk-UVFO25FJ.js} +4 -4
  71. package/dist/{chunk-GBTLOHJM.js → chunk-VUUUIKRG.js} +3 -3
  72. package/dist/{chunk-D763JZRO.js → chunk-WMUN7ZUD.js} +2 -2
  73. package/dist/{chunk-ZHDMT2MJ.js → chunk-WMZQCXZ5.js} +6 -6
  74. package/dist/{chunk-4NI5PR5S.js → chunk-YX6J3Z3Z.js} +2 -2
  75. package/dist/classified/index.js +3 -3
  76. package/dist/{classified-marker-3STDEUFT.js → classified-marker-L7LXKS6Q.js} +3 -3
  77. package/dist/{collection-facade-SGTS3TRS.js → collection-facade-KN3UFKZ4.js} +10 -10
  78. package/dist/consent/index.js +4 -4
  79. package/dist/cover/index.js +2 -2
  80. package/dist/custody/index.js +6 -6
  81. package/dist/{dead-filter-ZNWVGV5U.js → dead-filter-6HG5FP3I.js} +2 -2
  82. package/dist/{delegation-LZWFOST7.js → delegation-7EGBYBRN.js} +4 -4
  83. package/dist/derivations/index.js +3 -3
  84. package/dist/{derive-BWXA2L7D.js → derive-XKAYJ2OA.js} +4 -4
  85. package/dist/directory/index.js +5 -5
  86. package/dist/{dispatch-TIYW3UDN.js → dispatch-56T7VPGE.js} +5 -5
  87. package/dist/{dispatch-S34AUC43.js → dispatch-BM5GNCE2.js} +10 -10
  88. package/dist/{enclave-Y6GMYQMS.js → enclave-KDLGVX5Z.js} +6 -4
  89. package/dist/{executor-JDMH2IGK.js → executor-LFHRV6JH.js} +10 -10
  90. package/dist/{export-accessible-U6GXZZMQ.js → export-accessible-HFBJ4JJY.js} +7 -7
  91. package/dist/{extract-partition-IDI6NDUR.js → extract-partition-7ZRFN6QP.js} +10 -10
  92. package/dist/{fanout-sidecar-BVFOEJTP.js → fanout-sidecar-MT2OBMZB.js} +4 -4
  93. package/dist/forget/index.js +4 -4
  94. package/dist/history/index.js +6 -6
  95. package/dist/i18n/index.js +8 -8
  96. package/dist/index.d.ts +1 -1
  97. package/dist/index.js +56 -58
  98. package/dist/index.js.map +1 -1
  99. package/dist/introspection/index.js +5 -5
  100. package/dist/{issue-TEGTAN7N.js → issue-LCOOEH45.js} +6 -6
  101. package/dist/kernel/enclave/index.d.ts +2 -0
  102. package/dist/kernel/enclave/record-envelope.d.ts +29 -0
  103. package/dist/kernel/enclave/record-keys/tombstone.d.ts +3 -2
  104. package/dist/kernel/noydb.d.ts +9 -3
  105. package/dist/kernel/types.d.ts +35 -0
  106. package/dist/{ledger-NFLBQASD.js → ledger-6IHXJHDD.js} +6 -6
  107. package/dist/liberate-UEYC4QLJ.js +24 -0
  108. package/dist/{link-set-IPS57KDM.js → link-set-XRVHGYWC.js} +5 -5
  109. package/dist/{managed-secret-GFYGPLNI.js → managed-secret-IDAOXSSX.js} +3 -3
  110. package/dist/materialized-views/index.js +10 -10
  111. package/dist/{noydb-TN2VIJJO.js → noydb-M5WII7RP.js} +27 -27
  112. package/dist/periods/index.js +6 -6
  113. package/dist/pod/index.js +30 -30
  114. package/dist/{pod-handle-I4ZME246.js → pod-handle-BYUSBXCT.js} +15 -10
  115. package/dist/pod-handle-BYUSBXCT.js.map +1 -0
  116. package/dist/policy/index.js +3 -3
  117. package/dist/port/with/i18n-strategy.d.ts +4 -1
  118. package/dist/port/with/lookup-strategy.d.ts +4 -1
  119. package/dist/portability/index.js +6 -6
  120. package/dist/{post-register-JUSV3X4E.js → post-register-O3YW6CGS.js} +4 -4
  121. package/dist/reduce/index.js +2 -2
  122. package/dist/{register-UTMPUAQW.js → register-XHOOX37G.js} +10 -10
  123. package/dist/{registry-NDLBGQLJ.js → registry-CYAFB35H.js} +4 -4
  124. package/dist/{registry-B2S4UNUI.js → registry-OFMM4WAC.js} +4 -4
  125. package/dist/{request-withdrawal-Q5G43PR7.js → request-withdrawal-GCE2SLNW.js} +9 -9
  126. package/dist/{reveal-YJU7GUYJ.js → reveal-UHBP5IH3.js} +3 -3
  127. package/dist/{revoke-NXOUPYS3.js → revoke-6KY4VGZY.js} +6 -6
  128. package/dist/sealed-record/index.js +6 -6
  129. package/dist/search/index.js +2 -2
  130. package/dist/{seed-XXLR4KXU.js → seed-DGLQTCIO.js} +6 -6
  131. package/dist/sequence/index.js +4 -4
  132. package/dist/session/index.js +3 -3
  133. package/dist/{signer-FCGAUB6E.js → signer-SLOMB6HS.js} +5 -5
  134. package/dist/snapshots/index.js +5 -5
  135. package/dist/{stale-OT5NMBXU.js → stale-26ZJLNLG.js} +5 -5
  136. package/dist/{storage-EWWIFB43.js → storage-N3IMFNGS.js} +5 -5
  137. package/dist/{store-coordination-provider-PPLVM2I2.js → store-coordination-provider-RGHCIRWV.js} +3 -3
  138. package/dist/sync/index.js +4 -4
  139. package/dist/team/index.js +8 -8
  140. package/dist/tiers/index.js +4 -4
  141. package/dist/via/lookup/handle.d.ts +4 -1
  142. package/dist/{walk-4NIT2ZBH.js → walk-B4YFJJ7S.js} +6 -6
  143. package/dist/with-commit/numbering/index.d.ts +0 -5
  144. package/dist/with-pod/pod-handle.d.ts +10 -0
  145. package/dist/{withdraw-accessible-LJG66PZQ.js → withdraw-accessible-OYG7YZUR.js} +8 -8
  146. package/package.json +5 -4
  147. package/dist/backup-FNAYQMLF.js.map +0 -1
  148. package/dist/chunk-6ZFTVY3O.js.map +0 -1
  149. package/dist/chunk-7VIIEXQ2.js.map +0 -1
  150. package/dist/chunk-DZWRTWN2.js.map +0 -1
  151. package/dist/chunk-FMZV43QY.js.map +0 -1
  152. package/dist/chunk-GJX6DOGD.js.map +0 -1
  153. package/dist/chunk-IMYGJ5HU.js +0 -45
  154. package/dist/chunk-IMYGJ5HU.js.map +0 -1
  155. package/dist/chunk-KPD6HNQD.js.map +0 -1
  156. package/dist/chunk-QJYTGH5V.js.map +0 -1
  157. package/dist/chunk-SZZEDEIU.js.map +0 -1
  158. package/dist/chunk-UTQLKPBS.js.map +0 -1
  159. package/dist/chunk-YODIXNV4.js.map +0 -1
  160. package/dist/liberate-SG2PPGAJ.js +0 -24
  161. package/dist/pod-handle-I4ZME246.js.map +0 -1
  162. /package/dist/{api-6IBOZN6F.js.map → api-NAY63UIE.js.map} +0 -0
  163. /package/dist/{chunk-JBMSNYOS.js.map → chunk-343FH4S5.js.map} +0 -0
  164. /package/dist/{chunk-ROFEKKMI.js.map → chunk-35RIRCGW.js.map} +0 -0
  165. /package/dist/{chunk-ESABIXMQ.js.map → chunk-3JQVA527.js.map} +0 -0
  166. /package/dist/{chunk-BVYRPAB2.js.map → chunk-3OEWD45V.js.map} +0 -0
  167. /package/dist/{chunk-KCLNKE4W.js.map → chunk-4CSG6KBX.js.map} +0 -0
  168. /package/dist/{chunk-HVPQ5QIZ.js.map → chunk-4DJQU3PH.js.map} +0 -0
  169. /package/dist/{chunk-7J6YERYT.js.map → chunk-4JDTLWUZ.js.map} +0 -0
  170. /package/dist/{chunk-LBQIKMBH.js.map → chunk-4VRZDYRE.js.map} +0 -0
  171. /package/dist/{chunk-CAJ7QAPC.js.map → chunk-4XEUSZWN.js.map} +0 -0
  172. /package/dist/{chunk-A4JJUWSV.js.map → chunk-53PWELSC.js.map} +0 -0
  173. /package/dist/{chunk-QEYXKICE.js.map → chunk-55B3KHZW.js.map} +0 -0
  174. /package/dist/{chunk-VVMSDWRG.js.map → chunk-5CH4DWQA.js.map} +0 -0
  175. /package/dist/{chunk-HJAFOPTN.js.map → chunk-5TF5DUQ5.js.map} +0 -0
  176. /package/dist/{chunk-XHX3NTRP.js.map → chunk-6UAVKAG6.js.map} +0 -0
  177. /package/dist/{chunk-YKEJ5P3H.js.map → chunk-76FBDG6M.js.map} +0 -0
  178. /package/dist/{chunk-CK6Z5DJQ.js.map → chunk-A3WHDOWI.js.map} +0 -0
  179. /package/dist/{chunk-N6OJLR2M.js.map → chunk-AD2PJGSS.js.map} +0 -0
  180. /package/dist/{chunk-WLZKVY33.js.map → chunk-B4G3JPH5.js.map} +0 -0
  181. /package/dist/{chunk-C6MI5OCF.js.map → chunk-CZV57HHC.js.map} +0 -0
  182. /package/dist/{chunk-PJ5TGJ7U.js.map → chunk-FZ2SSI5R.js.map} +0 -0
  183. /package/dist/{chunk-S77LTWCZ.js.map → chunk-H5U4T6JK.js.map} +0 -0
  184. /package/dist/{chunk-THYGVKZB.js.map → chunk-HNX47VTC.js.map} +0 -0
  185. /package/dist/{chunk-GE2AGI67.js.map → chunk-I5OLA3H6.js.map} +0 -0
  186. /package/dist/{chunk-QQP5KJMS.js.map → chunk-IGE6XWKK.js.map} +0 -0
  187. /package/dist/{chunk-YZ7BRD26.js.map → chunk-JZVXGOJE.js.map} +0 -0
  188. /package/dist/{chunk-P2UFDX2F.js.map → chunk-LGGLPURL.js.map} +0 -0
  189. /package/dist/{chunk-Y7MJSOZ7.js.map → chunk-LJDW6LQJ.js.map} +0 -0
  190. /package/dist/{chunk-KTCQKXHW.js.map → chunk-MKV2KYRV.js.map} +0 -0
  191. /package/dist/{chunk-IYYGLI2K.js.map → chunk-NBLLQOMR.js.map} +0 -0
  192. /package/dist/{chunk-CWX6YIX5.js.map → chunk-NY6RQBUN.js.map} +0 -0
  193. /package/dist/{chunk-LWOSNMHE.js.map → chunk-OJEDR25M.js.map} +0 -0
  194. /package/dist/{chunk-R7E7X4CQ.js.map → chunk-PJGMBELR.js.map} +0 -0
  195. /package/dist/{chunk-CK7IRIRY.js.map → chunk-PZLIA5R3.js.map} +0 -0
  196. /package/dist/{chunk-4LNFXGNW.js.map → chunk-THUITYH7.js.map} +0 -0
  197. /package/dist/{chunk-V2BEYLNR.js.map → chunk-TTAND7MR.js.map} +0 -0
  198. /package/dist/{chunk-CNA3QRLM.js.map → chunk-TWPTRJEU.js.map} +0 -0
  199. /package/dist/{chunk-4YUIVHII.js.map → chunk-TY6N3PAC.js.map} +0 -0
  200. /package/dist/{chunk-GLS7OSZT.js.map → chunk-UVFO25FJ.js.map} +0 -0
  201. /package/dist/{chunk-GBTLOHJM.js.map → chunk-VUUUIKRG.js.map} +0 -0
  202. /package/dist/{chunk-D763JZRO.js.map → chunk-WMUN7ZUD.js.map} +0 -0
  203. /package/dist/{chunk-ZHDMT2MJ.js.map → chunk-WMZQCXZ5.js.map} +0 -0
  204. /package/dist/{chunk-4NI5PR5S.js.map → chunk-YX6J3Z3Z.js.map} +0 -0
  205. /package/dist/{classified-marker-3STDEUFT.js.map → classified-marker-L7LXKS6Q.js.map} +0 -0
  206. /package/dist/{collection-facade-SGTS3TRS.js.map → collection-facade-KN3UFKZ4.js.map} +0 -0
  207. /package/dist/{dead-filter-ZNWVGV5U.js.map → dead-filter-6HG5FP3I.js.map} +0 -0
  208. /package/dist/{delegation-LZWFOST7.js.map → delegation-7EGBYBRN.js.map} +0 -0
  209. /package/dist/{derive-BWXA2L7D.js.map → derive-XKAYJ2OA.js.map} +0 -0
  210. /package/dist/{dispatch-TIYW3UDN.js.map → dispatch-56T7VPGE.js.map} +0 -0
  211. /package/dist/{dispatch-S34AUC43.js.map → dispatch-BM5GNCE2.js.map} +0 -0
  212. /package/dist/{enclave-Y6GMYQMS.js.map → enclave-KDLGVX5Z.js.map} +0 -0
  213. /package/dist/{executor-JDMH2IGK.js.map → executor-LFHRV6JH.js.map} +0 -0
  214. /package/dist/{export-accessible-U6GXZZMQ.js.map → export-accessible-HFBJ4JJY.js.map} +0 -0
  215. /package/dist/{extract-partition-IDI6NDUR.js.map → extract-partition-7ZRFN6QP.js.map} +0 -0
  216. /package/dist/{fanout-sidecar-BVFOEJTP.js.map → fanout-sidecar-MT2OBMZB.js.map} +0 -0
  217. /package/dist/{issue-TEGTAN7N.js.map → issue-LCOOEH45.js.map} +0 -0
  218. /package/dist/{ledger-NFLBQASD.js.map → ledger-6IHXJHDD.js.map} +0 -0
  219. /package/dist/{liberate-SG2PPGAJ.js.map → liberate-UEYC4QLJ.js.map} +0 -0
  220. /package/dist/{link-set-IPS57KDM.js.map → link-set-XRVHGYWC.js.map} +0 -0
  221. /package/dist/{managed-secret-GFYGPLNI.js.map → managed-secret-IDAOXSSX.js.map} +0 -0
  222. /package/dist/{noydb-TN2VIJJO.js.map → noydb-M5WII7RP.js.map} +0 -0
  223. /package/dist/{post-register-JUSV3X4E.js.map → post-register-O3YW6CGS.js.map} +0 -0
  224. /package/dist/{register-UTMPUAQW.js.map → register-XHOOX37G.js.map} +0 -0
  225. /package/dist/{registry-B2S4UNUI.js.map → registry-CYAFB35H.js.map} +0 -0
  226. /package/dist/{registry-NDLBGQLJ.js.map → registry-OFMM4WAC.js.map} +0 -0
  227. /package/dist/{request-withdrawal-Q5G43PR7.js.map → request-withdrawal-GCE2SLNW.js.map} +0 -0
  228. /package/dist/{reveal-YJU7GUYJ.js.map → reveal-UHBP5IH3.js.map} +0 -0
  229. /package/dist/{revoke-NXOUPYS3.js.map → revoke-6KY4VGZY.js.map} +0 -0
  230. /package/dist/{seed-XXLR4KXU.js.map → seed-DGLQTCIO.js.map} +0 -0
  231. /package/dist/{signer-FCGAUB6E.js.map → signer-SLOMB6HS.js.map} +0 -0
  232. /package/dist/{stale-OT5NMBXU.js.map → stale-26ZJLNLG.js.map} +0 -0
  233. /package/dist/{storage-EWWIFB43.js.map → storage-N3IMFNGS.js.map} +0 -0
  234. /package/dist/{store-coordination-provider-PPLVM2I2.js.map → store-coordination-provider-RGHCIRWV.js.map} +0 -0
  235. /package/dist/{walk-4NIT2ZBH.js.map → walk-B4YFJJ7S.js.map} +0 -0
  236. /package/dist/{withdraw-accessible-LJG66PZQ.js.map → withdraw-accessible-OYG7YZUR.js.map} +0 -0
@@ -21,13 +21,13 @@ import {
21
21
  } from "./chunk-GYGLAVCX.js";
22
22
  import {
23
23
  loadFence
24
- } from "./chunk-LBQIKMBH.js";
24
+ } from "./chunk-4VRZDYRE.js";
25
25
  import {
26
26
  VectorSet,
27
27
  buildPersistedIndexCallbacks,
28
28
  encodeVecId,
29
29
  syncTierSearch
30
- } from "./chunk-JBMSNYOS.js";
30
+ } from "./chunk-343FH4S5.js";
31
31
  import {
32
32
  SchemaUpdateGate
33
33
  } from "./chunk-6LJY7X5A.js";
@@ -35,12 +35,12 @@ import {
35
35
  NO_CLASSIFIED,
36
36
  guardClassifiedCompat,
37
37
  resolveClassifiedFields
38
- } from "./chunk-XHX3NTRP.js";
38
+ } from "./chunk-6UAVKAG6.js";
39
39
  import {
40
40
  NO_TIERS,
41
41
  classifySealedShred,
42
42
  syncDerivedOutputs
43
- } from "./chunk-GLS7OSZT.js";
43
+ } from "./chunk-UVFO25FJ.js";
44
44
  import {
45
45
  NO_PORTABILITY
46
46
  } from "./chunk-TQ7IRULX.js";
@@ -50,7 +50,7 @@ import {
50
50
  } from "./chunk-42IDLU5V.js";
51
51
  import {
52
52
  saveSealedSecret
53
- } from "./chunk-QEYXKICE.js";
53
+ } from "./chunk-55B3KHZW.js";
54
54
  import {
55
55
  fallbackDerivationName,
56
56
  jsonSchemaToFields
@@ -61,11 +61,11 @@ import {
61
61
  } from "./chunk-HNOBRU24.js";
62
62
  import {
63
63
  loadPersistedSchema
64
- } from "./chunk-CK6Z5DJQ.js";
64
+ } from "./chunk-A3WHDOWI.js";
65
65
  import {
66
66
  CustodyApi,
67
67
  NO_CUSTODY
68
- } from "./chunk-QQP5KJMS.js";
68
+ } from "./chunk-IGE6XWKK.js";
69
69
  import {
70
70
  DEFAULT_POSTURE,
71
71
  ViaGraph
@@ -93,7 +93,7 @@ import {
93
93
  selfWriteFieldEqual,
94
94
  touchFor,
95
95
  updateReferencingRecords
96
- } from "./chunk-YODIXNV4.js";
96
+ } from "./chunk-OPGKH5RD.js";
97
97
  import {
98
98
  OverlayedCollection
99
99
  } from "./chunk-RDPZMUCX.js";
@@ -114,7 +114,7 @@ import {
114
114
  resolvePeriodKey,
115
115
  resolveReopenState,
116
116
  samePartition
117
- } from "./chunk-V2BEYLNR.js";
117
+ } from "./chunk-TTAND7MR.js";
118
118
  import {
119
119
  PERIODS_COLLECTION,
120
120
  PERIOD_ARCHIVES_COLLECTION,
@@ -140,13 +140,13 @@ import {
140
140
  InvertedIndex,
141
141
  MemoryIndexStore,
142
142
  NO_SEARCH
143
- } from "./chunk-7J6YERYT.js";
143
+ } from "./chunk-4JDTLWUZ.js";
144
144
  import {
145
145
  NO_SEQUENCE,
146
146
  SEQUENCE_COLLECTION,
147
147
  compileSequenceFormat,
148
148
  resolveSequenceKey
149
- } from "./chunk-GJX6DOGD.js";
149
+ } from "./chunk-RRMXMJUP.js";
150
150
  import {
151
151
  Query,
152
152
  ScanBuilder
@@ -156,7 +156,7 @@ import {
156
156
  NO_BLOBS,
157
157
  createExportBlobsHandle,
158
158
  runCompaction
159
- } from "./chunk-P2UFDX2F.js";
159
+ } from "./chunk-LGGLPURL.js";
160
160
  import {
161
161
  LazyQuery,
162
162
  NO_INDEXING,
@@ -185,7 +185,7 @@ import {
185
185
  } from "./chunk-PVEWA2DU.js";
186
186
  import {
187
187
  dictCollectionName
188
- } from "./chunk-FMZV43QY.js";
188
+ } from "./chunk-IQGIPRSE.js";
189
189
  import {
190
190
  NO_I18N,
191
191
  getAtPath,
@@ -193,7 +193,7 @@ import {
193
193
  isDictKeyDescriptor,
194
194
  isI18nTextDescriptor,
195
195
  isStaticDictDescriptor
196
- } from "./chunk-SZZEDEIU.js";
196
+ } from "./chunk-7LLKPODL.js";
197
197
  import {
198
198
  isViaInstalled,
199
199
  viaBinder
@@ -220,7 +220,7 @@ import {
220
220
  saveShamirRecoveryEntries,
221
221
  updateAuthenticator,
222
222
  writeMagicLinkGrant
223
- } from "./chunk-LWOSNMHE.js";
223
+ } from "./chunk-OJEDR25M.js";
224
224
  import {
225
225
  assertKeyringOpenAllowed,
226
226
  buildRecipientKeyringFile,
@@ -235,11 +235,11 @@ import {
235
235
  listUsers,
236
236
  loadKeyring,
237
237
  updateKeyringIdentity
238
- } from "./chunk-Y7MJSOZ7.js";
238
+ } from "./chunk-LJDW6LQJ.js";
239
239
  import {
240
240
  persistDirectoryConfig,
241
241
  readDirectoryConfig
242
- } from "./chunk-CK7IRIRY.js";
242
+ } from "./chunk-PZLIA5R3.js";
243
243
  import {
244
244
  NO_BROKER,
245
245
  buildCredentialBrokerHandle
@@ -260,7 +260,7 @@ import {
260
260
  } from "./chunk-AMKCY454.js";
261
261
  import {
262
262
  sha256Hex
263
- } from "./chunk-A4JJUWSV.js";
263
+ } from "./chunk-53PWELSC.js";
264
264
  import {
265
265
  NO_FORGET,
266
266
  addSubjectRef,
@@ -269,7 +269,7 @@ import {
269
269
  readDottedPath,
270
270
  rebuildSubjectIndex,
271
271
  removeSubjectRef
272
- } from "./chunk-ROFEKKMI.js";
272
+ } from "./chunk-35RIRCGW.js";
273
273
  import {
274
274
  NO_SEALED_RECORD
275
275
  } from "./chunk-QLMUW7OC.js";
@@ -283,20 +283,21 @@ import {
283
283
  queryByDet,
284
284
  resolveStableCek,
285
285
  validateSchemaInput
286
- } from "./chunk-ZWPUYBNK.js";
286
+ } from "./chunk-LTVETWDH.js";
287
287
  import {
288
288
  buildDeleteMarker,
289
+ buildRecordEnvelope,
289
290
  buildTombstone,
290
291
  isDeleteMarker,
291
292
  isTombstone
292
- } from "./chunk-IMYGJ5HU.js";
293
+ } from "./chunk-6E2JZRBD.js";
293
294
  import {
294
295
  encrypt
295
296
  } from "./chunk-QTDAPDDV.js";
296
297
  import {
297
298
  NOYDB_FORMAT_VERSION,
298
299
  SealedHandle
299
- } from "./chunk-6ZFTVY3O.js";
300
+ } from "./chunk-SFY6NT7D.js";
300
301
  import {
301
302
  AlreadyElevatedError,
302
303
  AttestationError,
@@ -469,7 +470,7 @@ function validateSecretModeOptions(options) {
469
470
  }
470
471
  async function resolveEffectiveSecret(options, store, vault) {
471
472
  if (options.secretMode === "managed") {
472
- const { resolveManagedSecret } = await import("./managed-secret-GFYGPLNI.js");
473
+ const { resolveManagedSecret } = await import("./managed-secret-IDAOXSSX.js");
473
474
  return resolveManagedSecret(store, vault, options.sealingKey);
474
475
  }
475
476
  return options.secret;
@@ -487,7 +488,7 @@ function ownerKeyringOptions(options, secret) {
487
488
 
488
489
  // src/port/by/default-provider.ts
489
490
  async function createDefaultCoordinationProvider(store) {
490
- const { StoreCoordinationProvider } = await import("./store-coordination-provider-PPLVM2I2.js");
491
+ const { StoreCoordinationProvider } = await import("./store-coordination-provider-RGHCIRWV.js");
491
492
  return new StoreCoordinationProvider(store);
492
493
  }
493
494
 
@@ -3409,7 +3410,7 @@ var Collection = class {
3409
3410
  }
3410
3411
  }
3411
3412
  if (this.materializedViewSource !== void 0) {
3412
- const { resolveStaleMVOnRead } = await import("./stale-OT5NMBXU.js");
3413
+ const { resolveStaleMVOnRead } = await import("./stale-26ZJLNLG.js");
3413
3414
  await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
3414
3415
  }
3415
3416
  let record;
@@ -3939,7 +3940,7 @@ var Collection = class {
3939
3940
  */
3940
3941
  async dispatchMaterializedViews(id, record, wave) {
3941
3942
  if (this.materializedViewSource === void 0) return;
3942
- const { dispatchMaterializedViews } = await import("./dispatch-TIYW3UDN.js");
3943
+ const { dispatchMaterializedViews } = await import("./dispatch-56T7VPGE.js");
3943
3944
  return dispatchMaterializedViews(this.#mvDispatchCtx(this.materializedViewSource), id, record, wave);
3944
3945
  }
3945
3946
  /**
@@ -4112,7 +4113,7 @@ var Collection = class {
4112
4113
  * dispatch wave's per-target dedup; `undefined` on the local-write path (byte-identical). */
4113
4114
  async dispatchDerivations(id, record, version, wave) {
4114
4115
  if (this.derivationSource === void 0) return;
4115
- const { dispatchDerivations } = await import("./dispatch-S34AUC43.js");
4116
+ const { dispatchDerivations } = await import("./dispatch-BM5GNCE2.js");
4116
4117
  return dispatchDerivations({
4117
4118
  ...this.#derivationDeleteCtx(this.derivationSource),
4118
4119
  via: this.via,
@@ -4310,7 +4311,7 @@ var Collection = class {
4310
4311
  if (this.onDirty) {
4311
4312
  const live = previousEnvelope;
4312
4313
  if (!live || isTombstone(live, this.storeCiphertext) || isDeleteMarker(live)) return null;
4313
- marker = buildDeleteMarker(live._v + 1, this.keyring.userId);
4314
+ marker = buildDeleteMarker({ collection: this.name, id }, live._v + 1, this.keyring.userId);
4314
4315
  }
4315
4316
  const snapshots = existing !== void 0 && this.historyConfig.enabled !== false;
4316
4317
  const cek = snapshots && this.perRecordCek ? await this.resolveRecordCek(id) : void 0;
@@ -4408,7 +4409,7 @@ var Collection = class {
4408
4409
  async _writeTombstone(id, actor) {
4409
4410
  const live = await this.adapter.get(this.vault, this.name, id);
4410
4411
  if (!live || isTombstone(live, this.storeCiphertext) || isDeleteMarker(live)) return null;
4411
- await this.adapter.put(this.vault, this.name, id, buildTombstone(live._v, actor));
4412
+ await this.adapter.put(this.vault, this.name, id, buildTombstone({ collection: this.name, id }, live._v, actor));
4412
4413
  this.cache.delete(id);
4413
4414
  this.lru?.remove(id);
4414
4415
  this.cekCache?.remove(id);
@@ -4427,7 +4428,7 @@ var Collection = class {
4427
4428
  */
4428
4429
  async dispatchArrayDerivationsOnDelete(id, eraseRecordShapeToo = false) {
4429
4430
  if (this.derivationSource === void 0) return 0;
4430
- const { dispatchArrayDerivationsOnDelete } = await import("./dispatch-S34AUC43.js");
4431
+ const { dispatchArrayDerivationsOnDelete } = await import("./dispatch-BM5GNCE2.js");
4431
4432
  return dispatchArrayDerivationsOnDelete(this.#derivationDeleteCtx(this.derivationSource), id, eraseRecordShapeToo);
4432
4433
  }
4433
4434
  /**
@@ -4441,7 +4442,7 @@ var Collection = class {
4441
4442
  */
4442
4443
  async dispatchMaterializedViewsOnDelete(id) {
4443
4444
  if (this.materializedViewSource === void 0) return { deleted: 0, residueUndecodable: [], residueDeclined: [] };
4444
- const { dispatchMaterializedViewsOnDelete } = await import("./dispatch-TIYW3UDN.js");
4445
+ const { dispatchMaterializedViewsOnDelete } = await import("./dispatch-56T7VPGE.js");
4445
4446
  return dispatchMaterializedViewsOnDelete(this.#mvDispatchCtx(this.materializedViewSource), id);
4446
4447
  }
4447
4448
  /**
@@ -4461,7 +4462,7 @@ var Collection = class {
4461
4462
  );
4462
4463
  }
4463
4464
  if (this.materializedViewSource !== void 0) {
4464
- const { resolveStaleMVOnRead } = await import("./stale-OT5NMBXU.js");
4465
+ const { resolveStaleMVOnRead } = await import("./stale-26ZJLNLG.js");
4465
4466
  await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
4466
4467
  }
4467
4468
  await this.ensureHydrated();
@@ -5571,14 +5572,14 @@ var Collection = class {
5571
5572
  /** C-A/R10: persist the classified marker once per classified handle (store I/O in config-drift.ts). */
5572
5573
  async _ensureClassifiedMarker() {
5573
5574
  if (this._markerPersisted || this.vdigFields === null) return;
5574
- const { persistClassifiedMarkerForFields } = await import("./classified-marker-3STDEUFT.js");
5575
+ const { persistClassifiedMarkerForFields } = await import("./classified-marker-L7LXKS6Q.js");
5575
5576
  await persistClassifiedMarkerForFields(this.adapter, this.vault, this.name, this.vdigFields, await this.getDEK(this.name));
5576
5577
  this._markerPersisted = true;
5577
5578
  }
5578
5579
  /** C-A/R10 drift signal — the marker's declared digest-only set, memoized to one store read per handle (see config-drift.ts). */
5579
5580
  async _classifiedMarkerDigestOnly() {
5580
5581
  if (this._markerDigestOnlyCache !== void 0) return this._markerDigestOnlyCache;
5581
- const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-3STDEUFT.js");
5582
+ const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-L7LXKS6Q.js");
5582
5583
  this._markerDigestOnlyCache = await readClassifiedMarkerDigestOnly(this.adapter, this.vault, this.name, await this.getDEK(this.name));
5583
5584
  return this._markerDigestOnlyCache;
5584
5585
  }
@@ -6022,10 +6023,10 @@ var DeferredNumberingStore = class {
6022
6023
  const json = JSON.stringify(value);
6023
6024
  let env;
6024
6025
  if (!this.encrypted) {
6025
- env = { _noydb: NOYDB_FORMAT_VERSION, _v: expectedVersion + 1, _ts: (/* @__PURE__ */ new Date()).toISOString(), _iv: "", _data: json, _by: this.actor };
6026
+ env = buildRecordEnvelope({ collection, id }, { version: expectedVersion + 1, iv: "", data: json, by: this.actor });
6026
6027
  } else {
6027
6028
  const { iv, data } = await encrypt(json, await this.dek(collection));
6028
- env = { _noydb: NOYDB_FORMAT_VERSION, _v: expectedVersion + 1, _ts: (/* @__PURE__ */ new Date()).toISOString(), _iv: iv, _data: data, _by: this.actor };
6029
+ env = buildRecordEnvelope({ collection, id }, { version: expectedVersion + 1, iv, data, by: this.actor });
6029
6030
  }
6030
6031
  await this.adapter.put(this.vault, collection, id, env, expectedVersion);
6031
6032
  }
@@ -7214,7 +7215,7 @@ var VaultLinks = class {
7214
7215
  // src/with-shape/links/lazy-handle.ts
7215
7216
  function makeLazyLinkSetHandle(d) {
7216
7217
  let engine = null;
7217
- const load = () => engine ??= import("./link-set-IPS57KDM.js").then(
7218
+ const load = () => engine ??= import("./link-set-XRVHGYWC.js").then(
7218
7219
  ({ LinkSet }) => new LinkSet(d.adapter, d.vault, d.name, d.spec, d.encrypted, d.getDEK, d.actor, d.emitter, d.endpointExists)
7219
7220
  );
7220
7221
  return {
@@ -7861,7 +7862,7 @@ function declareSatellite(ctx, collectionName, options, existingRegistry) {
7861
7862
  ctx.forEachSyncEngine((e) => e.remirrorPairResolvers([spec.base, spec.satellite]));
7862
7863
  const registry = reg;
7863
7864
  const baseSchema = ctx.getBaseSchema(spec.base);
7864
- void import("./post-register-JUSV3X4E.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
7865
+ void import("./post-register-O3YW6CGS.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
7865
7866
  });
7866
7867
  return reg;
7867
7868
  }
@@ -8844,7 +8845,7 @@ var Vault = class {
8844
8845
  const strategies = options.schemaUpdate ?? [];
8845
8846
  const work = (async () => {
8846
8847
  const dek = await this.getDEK(collectionName);
8847
- const { persistSchemaIfNeeded } = await import("./register-UTMPUAQW.js");
8848
+ const { persistSchemaIfNeeded } = await import("./register-XHOOX37G.js");
8848
8849
  const result = await persistSchemaIfNeeded({
8849
8850
  store: this.adapter,
8850
8851
  vault: this.name,
@@ -8994,7 +8995,7 @@ var Vault = class {
8994
8995
  const work = (async () => {
8995
8996
  try {
8996
8997
  const dek = await this.getDEK(collectionName);
8997
- await (await import("./register-UTMPUAQW.js")).persistSchemaIfNeeded({
8998
+ await (await import("./register-XHOOX37G.js")).persistSchemaIfNeeded({
8998
8999
  store: this.adapter,
8999
9000
  vault: this.name,
9000
9001
  collectionName,
@@ -9670,7 +9671,7 @@ var Vault = class {
9670
9671
  */
9671
9672
  // eslint-disable-next-line @typescript-eslint/consistent-type-imports
9672
9673
  async _loadPodSigner() {
9673
- const { loadSigner } = await import("./signer-FCGAUB6E.js");
9674
+ const { loadSigner } = await import("./signer-SLOMB6HS.js");
9674
9675
  return loadSigner(this.adapter, this.name, this.getDEK);
9675
9676
  }
9676
9677
  async writeExportAudit(entry) {
@@ -9678,8 +9679,14 @@ var Vault = class {
9678
9679
  const envelope = this.encrypted ? await (async () => {
9679
9680
  const dek = await this.getDEK(EXPORT_AUDIT_COLLECTION);
9680
9681
  const { iv, data } = await encrypt(json, dek);
9681
- return { _noydb: NOYDB_FORMAT_VERSION, _v: 1, _ts: entry.startedAt, _iv: iv, _data: data, _by: entry.actor };
9682
- })() : { _noydb: NOYDB_FORMAT_VERSION, _v: 1, _ts: entry.startedAt, _iv: "", _data: json, _by: entry.actor };
9682
+ return buildRecordEnvelope(
9683
+ { collection: EXPORT_AUDIT_COLLECTION, id: entry.id },
9684
+ { version: 1, ts: entry.startedAt, iv, data, by: entry.actor }
9685
+ );
9686
+ })() : buildRecordEnvelope(
9687
+ { collection: EXPORT_AUDIT_COLLECTION, id: entry.id },
9688
+ { version: 1, ts: entry.startedAt, iv: "", data: json, by: entry.actor }
9689
+ );
9683
9690
  await this.adapter.put(this.name, EXPORT_AUDIT_COLLECTION, entry.id, envelope);
9684
9691
  }
9685
9692
  canExport(tier, format) {
@@ -10181,7 +10188,7 @@ var Vault = class {
10181
10188
  async _initDerivations(handles) {
10182
10189
  if (handles.length === 0) return;
10183
10190
  const [{ DerivationRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
10184
- import("./registry-NDLBGQLJ.js"),
10191
+ import("./registry-CYAFB35H.js"),
10185
10192
  import("./read-only-facade-CHCKSEPD.js")
10186
10193
  ]);
10187
10194
  const registry = new DerivationRegistry();
@@ -10213,7 +10220,7 @@ var Vault = class {
10213
10220
  */
10214
10221
  async _initMaterializedViews(handles) {
10215
10222
  if (handles.length === 0) return;
10216
- const { MaterializedViewRegistry } = await import("./registry-B2S4UNUI.js");
10223
+ const { MaterializedViewRegistry } = await import("./registry-OFMM4WAC.js");
10217
10224
  const registry = new MaterializedViewRegistry();
10218
10225
  this.materializedViewRegistry = registry;
10219
10226
  const db = this;
@@ -10300,14 +10307,14 @@ var Vault = class {
10300
10307
  if (!reg) {
10301
10308
  throw new Error(`refreshView: no MV registered with name "${name}"`);
10302
10309
  }
10303
- const { MaterializedViewExecutor } = await import("./executor-JDMH2IGK.js");
10310
+ const { MaterializedViewExecutor } = await import("./executor-LFHRV6JH.js");
10304
10311
  const result = await MaterializedViewExecutor.refresh(reg, {
10305
10312
  getCollection: (n) => this.collection(n),
10306
10313
  getActiveTxContext: () => this.noydb._activeTxContextOrNull,
10307
10314
  getQueryContext: () => this,
10308
10315
  dispatchCtx: this._dispatchCtx({ collection: name, id: "refreshView" })
10309
10316
  });
10310
- const { clearMVStaleFully } = await import("./stale-OT5NMBXU.js");
10317
+ const { clearMVStaleFully } = await import("./stale-26ZJLNLG.js");
10311
10318
  await clearMVStaleFully(this.adapter, this.name, registry, name);
10312
10319
  return result;
10313
10320
  }
@@ -10347,7 +10354,7 @@ var Vault = class {
10347
10354
  if (!outSpec) continue;
10348
10355
  const outputColl = this.collection(outSpec.collection);
10349
10356
  if (out.kind === "array") {
10350
- const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-BVFOEJTP.js");
10357
+ const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-MT2OBMZB.js");
10351
10358
  const prior = await loadFanoutSidecar(this.adapter, this.name, spec.source, id, key, this.getDEK, this.encrypted);
10352
10359
  const prevKeys = new Set(prior?.keys ?? []);
10353
10360
  const newKeysList = out.entries.map((e) => e.key);
@@ -10574,7 +10581,7 @@ var Vault = class {
10574
10581
  * collection.
10575
10582
  */
10576
10583
  async delegate(opts) {
10577
- const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-LZWFOST7.js");
10584
+ const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-7EGBYBRN.js");
10578
10585
  if (!this.keyring.kek) {
10579
10586
  throw new ValidationError(
10580
10587
  "issueDelegation: keyring.kek is null \u2014 issuing a delegation requires a tier-1 unlock. Re-authenticate at tier 1 (secret) first."
@@ -10596,7 +10603,7 @@ var Vault = class {
10596
10603
  * if the id does not exist.
10597
10604
  */
10598
10605
  async revokeDelegation(id) {
10599
- const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-LZWFOST7.js");
10606
+ const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-7EGBYBRN.js");
10600
10607
  await revokeDelegation(this.adapter, this.name, id);
10601
10608
  void DELEGATIONS_COLLECTION;
10602
10609
  }
@@ -10695,22 +10702,14 @@ var Vault = class {
10695
10702
  const envelope = this.encrypted ? await (async () => {
10696
10703
  const dek = await this.getDEK(ELEVATION_AUDIT_COLLECTION);
10697
10704
  const { iv, data } = await encrypt(json, dek);
10698
- return {
10699
- _noydb: NOYDB_FORMAT_VERSION,
10700
- _v: 1,
10701
- _ts: entry.startedAt,
10702
- _iv: iv,
10703
- _data: data,
10704
- _by: entry.actor
10705
- };
10706
- })() : {
10707
- _noydb: NOYDB_FORMAT_VERSION,
10708
- _v: 1,
10709
- _ts: entry.startedAt,
10710
- _iv: "",
10711
- _data: json,
10712
- _by: entry.actor
10713
- };
10705
+ return buildRecordEnvelope(
10706
+ { collection: ELEVATION_AUDIT_COLLECTION, id },
10707
+ { version: 1, ts: entry.startedAt, iv, data, by: entry.actor }
10708
+ );
10709
+ })() : buildRecordEnvelope(
10710
+ { collection: ELEVATION_AUDIT_COLLECTION, id },
10711
+ { version: 1, ts: entry.startedAt, iv: "", data: json, by: entry.actor }
10712
+ );
10714
10713
  await this.adapter.put(this.name, ELEVATION_AUDIT_COLLECTION, id, envelope);
10715
10714
  }
10716
10715
  /**
@@ -10856,7 +10855,7 @@ var Vault = class {
10856
10855
  * @see design-history/2026-05-22-schema-dump-design.md
10857
10856
  */
10858
10857
  async dumpSchema(opts = {}) {
10859
- const { dumpVaultSchema } = await import("./walk-4NIT2ZBH.js");
10858
+ const { dumpVaultSchema } = await import("./walk-B4YFJJ7S.js");
10860
10859
  return dumpVaultSchema(this, opts);
10861
10860
  }
10862
10861
  /**
@@ -10952,7 +10951,7 @@ var Vault = class {
10952
10951
  * separate vault instances now.
10953
10952
  */
10954
10953
  async getPodHandle() {
10955
- const { buildPodHandle } = await import("./pod-handle-I4ZME246.js");
10954
+ const { buildPodHandle } = await import("./pod-handle-BYUSBXCT.js");
10956
10955
  return buildPodHandle(this.adapter, this.name);
10957
10956
  }
10958
10957
  /**
@@ -10984,7 +10983,7 @@ var Vault = class {
10984
10983
  * both modes round-trip cleanly.
10985
10984
  */
10986
10985
  async dump() {
10987
- const { dumpVault } = await import("./backup-FNAYQMLF.js");
10986
+ const { dumpVault } = await import("./backup-M2VND2VS.js");
10988
10987
  return dumpVault(this.backupContext());
10989
10988
  }
10990
10989
  /**
@@ -11036,7 +11035,7 @@ var Vault = class {
11036
11035
  * — there's no chain to verify against.
11037
11036
  */
11038
11037
  async load(backupJson) {
11039
- const { loadVault } = await import("./backup-FNAYQMLF.js");
11038
+ const { loadVault } = await import("./backup-M2VND2VS.js");
11040
11039
  return loadVault(this.backupContext(), backupJson);
11041
11040
  }
11042
11041
  /**
@@ -11068,7 +11067,7 @@ var Vault = class {
11068
11067
  * way to detect tampering of an in-place vault.
11069
11068
  */
11070
11069
  async verifyBackupIntegrity() {
11071
- const { verifyBackupIntegrity } = await import("./backup-FNAYQMLF.js");
11070
+ const { verifyBackupIntegrity } = await import("./backup-M2VND2VS.js");
11072
11071
  return verifyBackupIntegrity(this.backupContext());
11073
11072
  }
11074
11073
  /**
@@ -11286,7 +11285,7 @@ var Vault = class {
11286
11285
  * is the live validator object, not a serialization of it).
11287
11286
  */
11288
11287
  async exportJSON(opts = {}) {
11289
- const { exportVaultJSON } = await import("./backup-FNAYQMLF.js");
11288
+ const { exportVaultJSON } = await import("./backup-M2VND2VS.js");
11290
11289
  return exportVaultJSON(this.backupContext(), opts);
11291
11290
  }
11292
11291
  };
@@ -13556,8 +13555,8 @@ var Noydb = class {
13556
13555
  * collection) pair that was dropped. Re-run `grant()` for those pairs, or
13557
13556
  * they stay locked out.
13558
13557
  *
13559
- * Unlike `revoke({ rotateKeys: true })`, this call does not REMOVE any
13560
- * user from the vault — they keep membership and their other collections.
13558
+ * Unlike `revoke()`, this call does not REMOVE any user from the vault —
13559
+ * they keep membership and their other collections.
13561
13560
  * This is the "just rotate" path; "revoke and rotate" lives in `revoke()`.
13562
13561
  *
13563
13562
  * Exposed on Noydb (rather than only on the lower-level keyring
@@ -13961,6 +13960,21 @@ var Noydb = class {
13961
13960
  }
13962
13961
  return engine.status();
13963
13962
  }
13963
+ /**
13964
+ * Per-target sync state for `vault` (#1034) — `syncStatus()` reads only the
13965
+ * primary engine, so it cannot express "the LAN store is behind, the cloud
13966
+ * is current". Registration order, primary first. See {@link SyncTargetStatus}.
13967
+ */
13968
+ syncTargetStatus(vault) {
13969
+ const targets = [];
13970
+ for (const [key, engine] of this.syncEngines) {
13971
+ if (key !== vault && !key.startsWith(`${vault}::`)) continue;
13972
+ const { dirty, lastPush, lastPull } = engine.status();
13973
+ const { label, role } = engine;
13974
+ targets.push({ label, role, dirty, lastPush, lastPull, caughtUp: dirty === 0 });
13975
+ }
13976
+ return targets;
13977
+ }
13964
13978
  /**
13965
13979
  * Enumerate the sync targets wired for `vault` (#948) — the primary engine
13966
13980
  * (keyed by vault name) plus any additional targets (keyed `vault::label`
@@ -14516,7 +14530,7 @@ async function createNoydb(options) {
14516
14530
  if (!options.store) options = { ...options, store: memoryStore() };
14517
14531
  validateSecretModeOptions(options);
14518
14532
  if (!options.coordinationStrategy) options = { ...options, coordinationStrategy: await createDefaultCoordinationProvider(options.store) };
14519
- if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-6IBOZN6F.js")).createUserApi };
14533
+ if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-NAY63UIE.js")).createUserApi };
14520
14534
  if (!options.policyFactory) {
14521
14535
  const policyModule = await import("./policy/index.js");
14522
14536
  options = { ...options, policyFactory: policyModule.createNoydbPolicy, policyCheckGateFn: policyModule.checkGate };
@@ -14551,4 +14565,4 @@ export {
14551
14565
  Noydb,
14552
14566
  createNoydb
14553
14567
  };
14554
- //# sourceMappingURL=chunk-DZWRTWN2.js.map
14568
+ //# sourceMappingURL=chunk-KKRFL5E2.js.map