@noy-db/hub 0.4.0-pre.1 → 0.4.0-pre.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/dist/aggregate/index.js +4 -4
  2. package/dist/api-UPAT2O3M.js +20 -0
  3. package/dist/as/index.js +12 -12
  4. package/dist/attestation/index.js +18 -18
  5. package/dist/{backup-LU2DTZTI.js → backup-JL2GOTYQ.js} +11 -11
  6. package/dist/blobs/index.js +27 -15
  7. package/dist/blobs/index.js.map +1 -1
  8. package/dist/broker/index.js +12 -12
  9. package/dist/broker/index.js.map +1 -1
  10. package/dist/by/index.js +2 -2
  11. package/dist/cargo/index.js +46 -36
  12. package/dist/{chunk-QDPZWTN2.js → chunk-25G7U6RD.js} +2 -2
  13. package/dist/{chunk-GQNGCEP5.js → chunk-25ZDB25Z.js} +2 -2
  14. package/dist/{chunk-5WZXVULX.js → chunk-2ITLQZV5.js} +2 -2
  15. package/dist/{chunk-WNGGJWF7.js → chunk-2JZ763FV.js} +2 -2
  16. package/dist/{chunk-2P7EGNKF.js → chunk-2KL6NDD4.js} +90 -3
  17. package/dist/chunk-2KL6NDD4.js.map +1 -0
  18. package/dist/{chunk-3U3FBR7O.js → chunk-2RMDVWGB.js} +2 -2
  19. package/dist/{chunk-VAIS3SOM.js → chunk-2U7Y7BNJ.js} +2 -2
  20. package/dist/{chunk-MQ6WOPSY.js → chunk-2VUISNGP.js} +5 -5
  21. package/dist/chunk-2YELV6TV.js +1 -0
  22. package/dist/{chunk-2MUZ3LY6.js → chunk-3O62PVDW.js} +3 -3
  23. package/dist/{chunk-KUPKLSX5.js → chunk-3XVOLB75.js} +3 -3
  24. package/dist/{chunk-6HY2X62D.js → chunk-5BB3N4KU.js} +2 -2
  25. package/dist/{chunk-LSASLXGC.js → chunk-5BHNQNBI.js} +1 -1
  26. package/dist/{chunk-LSASLXGC.js.map → chunk-5BHNQNBI.js.map} +1 -1
  27. package/dist/{chunk-6NQMXTYC.js → chunk-5OZCCLNC.js} +2 -2
  28. package/dist/{chunk-HOONYZY2.js → chunk-5P5AAXYA.js} +2 -2
  29. package/dist/{chunk-T6GU5PPZ.js → chunk-5SZ24DL5.js} +6 -6
  30. package/dist/{chunk-PK6QCH2C.js → chunk-7B4GPCX7.js} +5 -5
  31. package/dist/{chunk-G6EQYAL6.js → chunk-AFBJHD55.js} +5 -5
  32. package/dist/{chunk-LB6OH6K2.js → chunk-BCOKZC4B.js} +2 -2
  33. package/dist/{chunk-J6Q7UVQE.js → chunk-BVZGNMVM.js} +4 -16
  34. package/dist/{chunk-J6Q7UVQE.js.map → chunk-BVZGNMVM.js.map} +1 -1
  35. package/dist/{chunk-IRQY7IR5.js → chunk-BZEPJJOK.js} +4 -4
  36. package/dist/{chunk-GYYCX5K6.js → chunk-BZK6JEX4.js} +5 -5
  37. package/dist/{chunk-7CI6CP7Z.js → chunk-CCT4WZI6.js} +5 -5
  38. package/dist/{chunk-VEALDPHW.js → chunk-CGPO3ZYB.js} +2 -2
  39. package/dist/{chunk-S3BFKGET.js → chunk-DEQ2JTBR.js} +3 -3
  40. package/dist/{chunk-3ELCWU56.js → chunk-E2R5NRZD.js} +2 -2
  41. package/dist/{chunk-BOKIKJJB.js → chunk-EDC6MLXV.js} +2 -2
  42. package/dist/{chunk-JZWWLLVY.js → chunk-EW4HFWGJ.js} +6 -6
  43. package/dist/{chunk-2IALOXZS.js → chunk-F4COUZLL.js} +2 -2
  44. package/dist/{chunk-JRBNCUNT.js → chunk-FLHOTGOO.js} +3 -3
  45. package/dist/{chunk-6XE5TMPR.js → chunk-GBEXTC6Z.js} +3 -3
  46. package/dist/{chunk-N55W7KUL.js → chunk-GS3Q2KOZ.js} +2 -2
  47. package/dist/{chunk-A5BDDEXK.js → chunk-GU5AYA2Q.js} +4 -4
  48. package/dist/{chunk-M75ZZHSR.js → chunk-GYB2QK5H.js} +2 -2
  49. package/dist/{chunk-6B4DYGWO.js → chunk-GZ2GKOF6.js} +3 -3
  50. package/dist/{chunk-VCBHAE4R.js → chunk-H4SMS4O2.js} +2 -2
  51. package/dist/{chunk-MTQPRQHB.js → chunk-HGVFJL63.js} +4 -4
  52. package/dist/{chunk-UNCOC7QH.js → chunk-HKR25MGX.js} +9 -9
  53. package/dist/{chunk-F6T6L2UK.js → chunk-IGAIOGCN.js} +4 -4
  54. package/dist/{chunk-W2OG6JOL.js → chunk-IGM563N5.js} +18 -1
  55. package/dist/chunk-IGM563N5.js.map +1 -0
  56. package/dist/{chunk-GWKAVKHI.js → chunk-ITI3SJRB.js} +2 -2
  57. package/dist/{chunk-RTEK4C4I.js → chunk-IUIVDVXM.js} +2 -2
  58. package/dist/{chunk-UBNCR3YK.js → chunk-IZX3WZBF.js} +4 -4
  59. package/dist/{chunk-RDXW3OBQ.js → chunk-J3VW4J4E.js} +2 -2
  60. package/dist/{chunk-BMQWTQZ4.js → chunk-J6U4BOKP.js} +11 -11
  61. package/dist/{chunk-KUIB4B5Q.js → chunk-JA5B3SLH.js} +2 -2
  62. package/dist/{chunk-4BRCIYFG.js → chunk-JA5O7UEZ.js} +6 -6
  63. package/dist/{chunk-TAGR72IR.js → chunk-JIMEB4C6.js} +4 -4
  64. package/dist/chunk-JIMEB4C6.js.map +1 -0
  65. package/dist/{chunk-6HPG2YNX.js → chunk-JKWNG3TM.js} +2 -2
  66. package/dist/{chunk-RM2XV574.js → chunk-JLHKBAFY.js} +3 -3
  67. package/dist/{chunk-ISMV2QVG.js → chunk-KMONEHDJ.js} +2 -2
  68. package/dist/{chunk-ZEQWCBCM.js → chunk-KR5EGWI4.js} +5 -5
  69. package/dist/{chunk-JBBSYJHP.js → chunk-KVHWEPT2.js} +2 -2
  70. package/dist/{chunk-2PCAVW2I.js → chunk-L4OA7G5T.js} +2 -2
  71. package/dist/{chunk-IY23KFNZ.js → chunk-LLVW4V7R.js} +3 -3
  72. package/dist/{chunk-3PF6CRDT.js → chunk-LUH2MPEF.js} +136 -196
  73. package/dist/chunk-LUH2MPEF.js.map +1 -0
  74. package/dist/{chunk-N6WF5PKC.js → chunk-M25ZIEB2.js} +2 -2
  75. package/dist/{chunk-A7JJLVGH.js → chunk-MEKAMERX.js} +5 -7
  76. package/dist/{chunk-A7JJLVGH.js.map → chunk-MEKAMERX.js.map} +1 -1
  77. package/dist/{chunk-UC2ETWF3.js → chunk-MSO2C3KG.js} +2 -2
  78. package/dist/{chunk-DDATL6PU.js → chunk-N4A3DCBT.js} +7 -7
  79. package/dist/{chunk-DDATL6PU.js.map → chunk-N4A3DCBT.js.map} +1 -1
  80. package/dist/{chunk-ONTBCHCP.js → chunk-N4FZ6ITM.js} +2 -2
  81. package/dist/{chunk-DRWBEDYO.js → chunk-NM4LVUXH.js} +2 -2
  82. package/dist/{chunk-HPUWOVR7.js → chunk-NOT7XA7Q.js} +5 -5
  83. package/dist/{chunk-RA5VTXXG.js → chunk-OGFPMCSP.js} +2 -2
  84. package/dist/{chunk-T36RFODW.js → chunk-OOTTXUNV.js} +2 -2
  85. package/dist/{chunk-OF75ACKS.js → chunk-OVFCAS7U.js} +9 -9
  86. package/dist/{chunk-KWVJAOIN.js → chunk-OWE4BNTM.js} +4 -4
  87. package/dist/{chunk-7O3AYBC7.js → chunk-OWLPX2GI.js} +70 -59
  88. package/dist/chunk-OWLPX2GI.js.map +1 -0
  89. package/dist/{chunk-DVUZMT2W.js → chunk-PEY6ZTCF.js} +8 -8
  90. package/dist/{chunk-SMGEYW6G.js → chunk-QAFWRGVD.js} +7 -7
  91. package/dist/{chunk-TOPYT5U5.js → chunk-QCUH2G77.js} +6 -6
  92. package/dist/{chunk-CBSY2N76.js → chunk-QDNVHA2F.js} +2 -2
  93. package/dist/{chunk-FH52K7EG.js → chunk-QRHEAZ2Q.js} +2 -6
  94. package/dist/{chunk-FH52K7EG.js.map → chunk-QRHEAZ2Q.js.map} +1 -1
  95. package/dist/{chunk-WEYZTLXN.js → chunk-QXPOEAKR.js} +2 -2
  96. package/dist/{chunk-BGK233EA.js → chunk-QYJIOWKN.js} +7 -7
  97. package/dist/{chunk-O7WJ47EF.js → chunk-SN75YVM5.js} +4 -4
  98. package/dist/{chunk-JVBO4SZL.js → chunk-STR7WBOB.js} +2 -2
  99. package/dist/{chunk-DDHM2TLX.js → chunk-T7S4V52L.js} +4 -4
  100. package/dist/{chunk-LOF2W3JU.js → chunk-UBF7HTOR.js} +12 -12
  101. package/dist/{chunk-RND5ZPNP.js → chunk-UEO5CHOP.js} +3 -3
  102. package/dist/{chunk-EGCRBCNA.js → chunk-V3YB7RGR.js} +3 -3
  103. package/dist/{chunk-IM3QVF53.js → chunk-V7RGFJ3Z.js} +6 -6
  104. package/dist/{chunk-SMIRGMS7.js → chunk-VEX6G3YL.js} +2 -2
  105. package/dist/{chunk-PT37L5DV.js → chunk-WEC3JGBA.js} +3 -3
  106. package/dist/{chunk-3SV2EPMN.js → chunk-WJDYZP3U.js} +5 -5
  107. package/dist/chunk-WJDYZP3U.js.map +1 -0
  108. package/dist/{chunk-GULTLPFB.js → chunk-XGVDLQJE.js} +3 -3
  109. package/dist/{chunk-YJV2UZ7H.js → chunk-XULHFSHO.js} +5 -5
  110. package/dist/{chunk-S6Q37VGE.js → chunk-XW7NWO4A.js} +2 -2
  111. package/dist/{chunk-CCOP5XDW.js → chunk-YG2EG6CB.js} +4 -4
  112. package/dist/{chunk-5OI6BR4H.js → chunk-YGBIBOCR.js} +307 -17
  113. package/dist/chunk-YGBIBOCR.js.map +1 -0
  114. package/dist/{chunk-YTGDPCPW.js → chunk-YHPUDB7Q.js} +2 -2
  115. package/dist/{chunk-UFEVO57O.js → chunk-ZJGZDOQO.js} +6 -6
  116. package/dist/classified/index.js +5 -5
  117. package/dist/{classified-marker-WQVIJAW2.js → classified-marker-7S5IEP6Q.js} +3 -3
  118. package/dist/collection-facade-ENLTJZBT.js +44 -0
  119. package/dist/{computed-DSMPXG2Y.js → computed-WZNKRLCY.js} +3 -3
  120. package/dist/consent/index.js +9 -9
  121. package/dist/cover-B5MY43CK.js +36 -0
  122. package/dist/{dead-filter-2A7IAJ3D.js → dead-filter-KRRD57MR.js} +2 -2
  123. package/dist/delegation-UT76AQIG.js +25 -0
  124. package/dist/derivations/index.js +12 -12
  125. package/dist/derive-SGRCCKVP.js +21 -0
  126. package/dist/{enclave-7MW6ZGXW.js → enclave-YFKA3GJT.js} +9 -9
  127. package/dist/executor-TEZYRDN3.js +9 -0
  128. package/dist/executor-WQQRU6DO.js +9 -0
  129. package/dist/executor-YORMIBWV.js +26 -0
  130. package/dist/export-accessible-HXMKW5LJ.js +23 -0
  131. package/dist/extract-partition-QGQ2R42J.js +38 -0
  132. package/dist/{fanout-sidecar-WDYQ77VB.js → fanout-sidecar-HJV3A7PM.js} +9 -9
  133. package/dist/find-VV6PBIHK.js +11 -0
  134. package/dist/forget/index.js +9 -9
  135. package/dist/guards/index.js +6 -6
  136. package/dist/history/index.js +12 -12
  137. package/dist/i18n/index.js +14 -14
  138. package/dist/index.d.ts +6 -4
  139. package/dist/index.js +173 -192
  140. package/dist/index.js.map +1 -1
  141. package/dist/indexing/index.js +2 -2
  142. package/dist/issue-7JJ4Z7E2.js +19 -0
  143. package/dist/kernel/enclave/index.d.ts +1 -1
  144. package/dist/kernel/errors.d.ts +19 -0
  145. package/dist/kernel/noydb.d.ts +13 -7
  146. package/dist/kernel/types.d.ts +20 -17
  147. package/dist/kernel/vault.d.ts +0 -4
  148. package/dist/{ledger-33BC4TR7.js → ledger-SW6QQOAV.js} +11 -11
  149. package/dist/liberate-FK7JI2QX.js +24 -0
  150. package/dist/{link-set-QK22TDEX.js → link-set-GNGGCFI4.js} +11 -11
  151. package/dist/materialized-views/index.js +19 -19
  152. package/dist/noydb-KUX2TJMX.js +70 -0
  153. package/dist/on/index.js +9 -9
  154. package/dist/overlay-views/index.js +4 -4
  155. package/dist/periods/index.js +13 -13
  156. package/dist/pod/index.js +27 -12
  157. package/dist/{policy-NAHB2TUT.js → policy-EAXSJNOT.js} +5 -5
  158. package/dist/portability/index.js +8 -8
  159. package/dist/{post-register-JVTMJ6OW.js → post-register-A7HCFBP5.js} +6 -6
  160. package/dist/query/index.js +6 -6
  161. package/dist/register-YBMRLZLO.js +23 -0
  162. package/dist/registry-3LXKNXWI.js +9 -0
  163. package/dist/registry-4V4YQCXJ.js +19 -0
  164. package/dist/registry-ZULMLCJK.js +18 -0
  165. package/dist/request-withdrawal-SEVUEUDG.js +31 -0
  166. package/dist/{reveal-LGBOM2BO.js → reveal-PB3YG544.js} +6 -6
  167. package/dist/revoke-5QULL5GT.js +24 -0
  168. package/dist/satellites/index.js +1 -1
  169. package/dist/sealed-record/index.js +12 -12
  170. package/dist/{seed-PWK45HDF.js → seed-EKF4DIBB.js} +11 -11
  171. package/dist/session/index.js +9 -9
  172. package/dist/shadow/index.js +2 -2
  173. package/dist/signer-ZMH35FT4.js +25 -0
  174. package/dist/snapshots/index.js +10 -10
  175. package/dist/{stale-FJED42DM.js → stale-4UNPHWOU.js} +10 -10
  176. package/dist/storage-QOZKQMID.js +23 -0
  177. package/dist/{store-coordination-provider-APODTV4W.js → store-coordination-provider-3AELCZ4Y.js} +3 -3
  178. package/dist/sync/index.js +10 -10
  179. package/dist/team/index.js +29 -29
  180. package/dist/tiers/index.js +10 -10
  181. package/dist/to/index.js +1 -1
  182. package/dist/tx/index.js +3 -3
  183. package/dist/util/index.js +1 -1
  184. package/dist/{verify-26Y5GNMK.js → verify-MXN66IIH.js} +5 -5
  185. package/dist/via/blob/active.d.ts +29 -2
  186. package/dist/via/blob/index.d.ts +4 -0
  187. package/dist/{walk-XS3PKM6I.js → walk-H4YE52S2.js} +11 -11
  188. package/dist/with/index.js +11 -11
  189. package/dist/with-audit/forget/index.d.ts +2 -1
  190. package/dist/with-audit/periods/vault-facade.d.ts +6 -0
  191. package/dist/with-audit/tiers/index.d.ts +1 -0
  192. package/dist/{legacy/kernel.d.ts → with-cargo/floor.d.ts} +1 -1
  193. package/dist/with-cargo/index.d.ts +8 -1
  194. package/dist/with-formula/derivations/index.d.ts +2 -0
  195. package/dist/with-formula/materialized-views/index.d.ts +1 -0
  196. package/dist/with-lookup/aggregate/reducers.d.ts +1 -2
  197. package/dist/with-party/broker/index.d.ts +1 -0
  198. package/dist/with-party/directory/cover/index.d.ts +0 -5
  199. package/dist/with-party/directory/cover/schema.d.ts +0 -6
  200. package/dist/with-party/directory/cover/storage.d.ts +0 -8
  201. package/dist/with-party/directory/cover/types.d.ts +0 -21
  202. package/dist/with-party/team/keyring.d.ts +2 -2
  203. package/dist/with-pod/bundle.d.ts +0 -2
  204. package/dist/with-pod/index.d.ts +2 -1
  205. package/dist/with-shape/blobs/blob-compaction.d.ts +43 -3
  206. package/dist/with-shape/blobs/blob-pinning.d.ts +112 -0
  207. package/dist/with-shape/blobs/blob-set.d.ts +85 -1
  208. package/dist/withdraw-accessible-HPOVNG2G.js +28 -0
  209. package/package.json +5 -8
  210. package/dist/api-IQFZJSQO.js +0 -20
  211. package/dist/bundle/index.js +0 -105
  212. package/dist/chunk-2P7EGNKF.js.map +0 -1
  213. package/dist/chunk-3PF6CRDT.js.map +0 -1
  214. package/dist/chunk-3SV2EPMN.js.map +0 -1
  215. package/dist/chunk-5OI6BR4H.js.map +0 -1
  216. package/dist/chunk-7O3AYBC7.js.map +0 -1
  217. package/dist/chunk-CHFZDSE4.js +0 -1
  218. package/dist/chunk-GVZQ4NAM.js +0 -14
  219. package/dist/chunk-GVZQ4NAM.js.map +0 -1
  220. package/dist/chunk-TAGR72IR.js.map +0 -1
  221. package/dist/chunk-W2OG6JOL.js.map +0 -1
  222. package/dist/collection-facade-MJXSC3Q6.js +0 -44
  223. package/dist/cover-B5SJDHR3.js +0 -52
  224. package/dist/delegation-A5A75KQO.js +0 -25
  225. package/dist/derive-HJSMH7RA.js +0 -21
  226. package/dist/executor-AXE4XMLT.js +0 -26
  227. package/dist/executor-KGNLJD6M.js +0 -9
  228. package/dist/executor-XGIS6CR7.js +0 -9
  229. package/dist/export-accessible-VVBJM3MM.js +0 -23
  230. package/dist/extract-partition-LGGBTQET.js +0 -38
  231. package/dist/find-YS6XWB46.js +0 -11
  232. package/dist/issue-LSR5PS6H.js +0 -19
  233. package/dist/legacy/bundle.d.ts +0 -30
  234. package/dist/liberate-GBSAYLPJ.js +0 -24
  235. package/dist/noydb-MTUBMWFE.js +0 -70
  236. package/dist/register-X462DNDM.js +0 -23
  237. package/dist/registry-3XMCT7MQ.js +0 -18
  238. package/dist/registry-KHD2I3M2.js +0 -19
  239. package/dist/registry-NPOWJHC4.js +0 -9
  240. package/dist/request-withdrawal-U7K3JTMY.js +0 -31
  241. package/dist/revoke-OCWDSWRQ.js +0 -24
  242. package/dist/signer-3YFBLZRN.js +0 -25
  243. package/dist/storage-W3GURVFU.js +0 -23
  244. package/dist/withdraw-accessible-Y3B2535F.js +0 -28
  245. package/dist/withdraw-accessible-Y3B2535F.js.map +0 -1
  246. /package/dist/{api-IQFZJSQO.js.map → api-UPAT2O3M.js.map} +0 -0
  247. /package/dist/{backup-LU2DTZTI.js.map → backup-JL2GOTYQ.js.map} +0 -0
  248. /package/dist/{chunk-QDPZWTN2.js.map → chunk-25G7U6RD.js.map} +0 -0
  249. /package/dist/{chunk-GQNGCEP5.js.map → chunk-25ZDB25Z.js.map} +0 -0
  250. /package/dist/{chunk-5WZXVULX.js.map → chunk-2ITLQZV5.js.map} +0 -0
  251. /package/dist/{chunk-WNGGJWF7.js.map → chunk-2JZ763FV.js.map} +0 -0
  252. /package/dist/{chunk-3U3FBR7O.js.map → chunk-2RMDVWGB.js.map} +0 -0
  253. /package/dist/{chunk-VAIS3SOM.js.map → chunk-2U7Y7BNJ.js.map} +0 -0
  254. /package/dist/{chunk-MQ6WOPSY.js.map → chunk-2VUISNGP.js.map} +0 -0
  255. /package/dist/{bundle/index.js.map → chunk-2YELV6TV.js.map} +0 -0
  256. /package/dist/{chunk-2MUZ3LY6.js.map → chunk-3O62PVDW.js.map} +0 -0
  257. /package/dist/{chunk-KUPKLSX5.js.map → chunk-3XVOLB75.js.map} +0 -0
  258. /package/dist/{chunk-6HY2X62D.js.map → chunk-5BB3N4KU.js.map} +0 -0
  259. /package/dist/{chunk-6NQMXTYC.js.map → chunk-5OZCCLNC.js.map} +0 -0
  260. /package/dist/{chunk-HOONYZY2.js.map → chunk-5P5AAXYA.js.map} +0 -0
  261. /package/dist/{chunk-T6GU5PPZ.js.map → chunk-5SZ24DL5.js.map} +0 -0
  262. /package/dist/{chunk-PK6QCH2C.js.map → chunk-7B4GPCX7.js.map} +0 -0
  263. /package/dist/{chunk-G6EQYAL6.js.map → chunk-AFBJHD55.js.map} +0 -0
  264. /package/dist/{chunk-LB6OH6K2.js.map → chunk-BCOKZC4B.js.map} +0 -0
  265. /package/dist/{chunk-IRQY7IR5.js.map → chunk-BZEPJJOK.js.map} +0 -0
  266. /package/dist/{chunk-GYYCX5K6.js.map → chunk-BZK6JEX4.js.map} +0 -0
  267. /package/dist/{chunk-7CI6CP7Z.js.map → chunk-CCT4WZI6.js.map} +0 -0
  268. /package/dist/{chunk-VEALDPHW.js.map → chunk-CGPO3ZYB.js.map} +0 -0
  269. /package/dist/{chunk-S3BFKGET.js.map → chunk-DEQ2JTBR.js.map} +0 -0
  270. /package/dist/{chunk-3ELCWU56.js.map → chunk-E2R5NRZD.js.map} +0 -0
  271. /package/dist/{chunk-BOKIKJJB.js.map → chunk-EDC6MLXV.js.map} +0 -0
  272. /package/dist/{chunk-JZWWLLVY.js.map → chunk-EW4HFWGJ.js.map} +0 -0
  273. /package/dist/{chunk-2IALOXZS.js.map → chunk-F4COUZLL.js.map} +0 -0
  274. /package/dist/{chunk-JRBNCUNT.js.map → chunk-FLHOTGOO.js.map} +0 -0
  275. /package/dist/{chunk-6XE5TMPR.js.map → chunk-GBEXTC6Z.js.map} +0 -0
  276. /package/dist/{chunk-N55W7KUL.js.map → chunk-GS3Q2KOZ.js.map} +0 -0
  277. /package/dist/{chunk-A5BDDEXK.js.map → chunk-GU5AYA2Q.js.map} +0 -0
  278. /package/dist/{chunk-M75ZZHSR.js.map → chunk-GYB2QK5H.js.map} +0 -0
  279. /package/dist/{chunk-6B4DYGWO.js.map → chunk-GZ2GKOF6.js.map} +0 -0
  280. /package/dist/{chunk-VCBHAE4R.js.map → chunk-H4SMS4O2.js.map} +0 -0
  281. /package/dist/{chunk-MTQPRQHB.js.map → chunk-HGVFJL63.js.map} +0 -0
  282. /package/dist/{chunk-UNCOC7QH.js.map → chunk-HKR25MGX.js.map} +0 -0
  283. /package/dist/{chunk-F6T6L2UK.js.map → chunk-IGAIOGCN.js.map} +0 -0
  284. /package/dist/{chunk-GWKAVKHI.js.map → chunk-ITI3SJRB.js.map} +0 -0
  285. /package/dist/{chunk-RTEK4C4I.js.map → chunk-IUIVDVXM.js.map} +0 -0
  286. /package/dist/{chunk-UBNCR3YK.js.map → chunk-IZX3WZBF.js.map} +0 -0
  287. /package/dist/{chunk-RDXW3OBQ.js.map → chunk-J3VW4J4E.js.map} +0 -0
  288. /package/dist/{chunk-BMQWTQZ4.js.map → chunk-J6U4BOKP.js.map} +0 -0
  289. /package/dist/{chunk-KUIB4B5Q.js.map → chunk-JA5B3SLH.js.map} +0 -0
  290. /package/dist/{chunk-4BRCIYFG.js.map → chunk-JA5O7UEZ.js.map} +0 -0
  291. /package/dist/{chunk-6HPG2YNX.js.map → chunk-JKWNG3TM.js.map} +0 -0
  292. /package/dist/{chunk-RM2XV574.js.map → chunk-JLHKBAFY.js.map} +0 -0
  293. /package/dist/{chunk-ISMV2QVG.js.map → chunk-KMONEHDJ.js.map} +0 -0
  294. /package/dist/{chunk-ZEQWCBCM.js.map → chunk-KR5EGWI4.js.map} +0 -0
  295. /package/dist/{chunk-JBBSYJHP.js.map → chunk-KVHWEPT2.js.map} +0 -0
  296. /package/dist/{chunk-2PCAVW2I.js.map → chunk-L4OA7G5T.js.map} +0 -0
  297. /package/dist/{chunk-IY23KFNZ.js.map → chunk-LLVW4V7R.js.map} +0 -0
  298. /package/dist/{chunk-N6WF5PKC.js.map → chunk-M25ZIEB2.js.map} +0 -0
  299. /package/dist/{chunk-UC2ETWF3.js.map → chunk-MSO2C3KG.js.map} +0 -0
  300. /package/dist/{chunk-ONTBCHCP.js.map → chunk-N4FZ6ITM.js.map} +0 -0
  301. /package/dist/{chunk-DRWBEDYO.js.map → chunk-NM4LVUXH.js.map} +0 -0
  302. /package/dist/{chunk-HPUWOVR7.js.map → chunk-NOT7XA7Q.js.map} +0 -0
  303. /package/dist/{chunk-RA5VTXXG.js.map → chunk-OGFPMCSP.js.map} +0 -0
  304. /package/dist/{chunk-T36RFODW.js.map → chunk-OOTTXUNV.js.map} +0 -0
  305. /package/dist/{chunk-OF75ACKS.js.map → chunk-OVFCAS7U.js.map} +0 -0
  306. /package/dist/{chunk-KWVJAOIN.js.map → chunk-OWE4BNTM.js.map} +0 -0
  307. /package/dist/{chunk-DVUZMT2W.js.map → chunk-PEY6ZTCF.js.map} +0 -0
  308. /package/dist/{chunk-SMGEYW6G.js.map → chunk-QAFWRGVD.js.map} +0 -0
  309. /package/dist/{chunk-TOPYT5U5.js.map → chunk-QCUH2G77.js.map} +0 -0
  310. /package/dist/{chunk-CBSY2N76.js.map → chunk-QDNVHA2F.js.map} +0 -0
  311. /package/dist/{chunk-WEYZTLXN.js.map → chunk-QXPOEAKR.js.map} +0 -0
  312. /package/dist/{chunk-BGK233EA.js.map → chunk-QYJIOWKN.js.map} +0 -0
  313. /package/dist/{chunk-O7WJ47EF.js.map → chunk-SN75YVM5.js.map} +0 -0
  314. /package/dist/{chunk-JVBO4SZL.js.map → chunk-STR7WBOB.js.map} +0 -0
  315. /package/dist/{chunk-DDHM2TLX.js.map → chunk-T7S4V52L.js.map} +0 -0
  316. /package/dist/{chunk-LOF2W3JU.js.map → chunk-UBF7HTOR.js.map} +0 -0
  317. /package/dist/{chunk-RND5ZPNP.js.map → chunk-UEO5CHOP.js.map} +0 -0
  318. /package/dist/{chunk-EGCRBCNA.js.map → chunk-V3YB7RGR.js.map} +0 -0
  319. /package/dist/{chunk-IM3QVF53.js.map → chunk-V7RGFJ3Z.js.map} +0 -0
  320. /package/dist/{chunk-SMIRGMS7.js.map → chunk-VEX6G3YL.js.map} +0 -0
  321. /package/dist/{chunk-PT37L5DV.js.map → chunk-WEC3JGBA.js.map} +0 -0
  322. /package/dist/{chunk-GULTLPFB.js.map → chunk-XGVDLQJE.js.map} +0 -0
  323. /package/dist/{chunk-YJV2UZ7H.js.map → chunk-XULHFSHO.js.map} +0 -0
  324. /package/dist/{chunk-S6Q37VGE.js.map → chunk-XW7NWO4A.js.map} +0 -0
  325. /package/dist/{chunk-CCOP5XDW.js.map → chunk-YG2EG6CB.js.map} +0 -0
  326. /package/dist/{chunk-YTGDPCPW.js.map → chunk-YHPUDB7Q.js.map} +0 -0
  327. /package/dist/{chunk-UFEVO57O.js.map → chunk-ZJGZDOQO.js.map} +0 -0
  328. /package/dist/{classified-marker-WQVIJAW2.js.map → classified-marker-7S5IEP6Q.js.map} +0 -0
  329. /package/dist/{chunk-CHFZDSE4.js.map → collection-facade-ENLTJZBT.js.map} +0 -0
  330. /package/dist/{collection-facade-MJXSC3Q6.js.map → computed-WZNKRLCY.js.map} +0 -0
  331. /package/dist/{computed-DSMPXG2Y.js.map → cover-B5MY43CK.js.map} +0 -0
  332. /package/dist/{dead-filter-2A7IAJ3D.js.map → dead-filter-KRRD57MR.js.map} +0 -0
  333. /package/dist/{cover-B5SJDHR3.js.map → delegation-UT76AQIG.js.map} +0 -0
  334. /package/dist/{delegation-A5A75KQO.js.map → derive-SGRCCKVP.js.map} +0 -0
  335. /package/dist/{derive-HJSMH7RA.js.map → enclave-YFKA3GJT.js.map} +0 -0
  336. /package/dist/{enclave-7MW6ZGXW.js.map → executor-TEZYRDN3.js.map} +0 -0
  337. /package/dist/{executor-AXE4XMLT.js.map → executor-WQQRU6DO.js.map} +0 -0
  338. /package/dist/{executor-KGNLJD6M.js.map → executor-YORMIBWV.js.map} +0 -0
  339. /package/dist/{executor-XGIS6CR7.js.map → export-accessible-HXMKW5LJ.js.map} +0 -0
  340. /package/dist/{export-accessible-VVBJM3MM.js.map → extract-partition-QGQ2R42J.js.map} +0 -0
  341. /package/dist/{fanout-sidecar-WDYQ77VB.js.map → fanout-sidecar-HJV3A7PM.js.map} +0 -0
  342. /package/dist/{extract-partition-LGGBTQET.js.map → find-VV6PBIHK.js.map} +0 -0
  343. /package/dist/{find-YS6XWB46.js.map → issue-7JJ4Z7E2.js.map} +0 -0
  344. /package/dist/{issue-LSR5PS6H.js.map → ledger-SW6QQOAV.js.map} +0 -0
  345. /package/dist/{ledger-33BC4TR7.js.map → liberate-FK7JI2QX.js.map} +0 -0
  346. /package/dist/{liberate-GBSAYLPJ.js.map → link-set-GNGGCFI4.js.map} +0 -0
  347. /package/dist/{link-set-QK22TDEX.js.map → noydb-KUX2TJMX.js.map} +0 -0
  348. /package/dist/{noydb-MTUBMWFE.js.map → policy-EAXSJNOT.js.map} +0 -0
  349. /package/dist/{post-register-JVTMJ6OW.js.map → post-register-A7HCFBP5.js.map} +0 -0
  350. /package/dist/{policy-NAHB2TUT.js.map → register-YBMRLZLO.js.map} +0 -0
  351. /package/dist/{register-X462DNDM.js.map → registry-3LXKNXWI.js.map} +0 -0
  352. /package/dist/{registry-3XMCT7MQ.js.map → registry-4V4YQCXJ.js.map} +0 -0
  353. /package/dist/{registry-KHD2I3M2.js.map → registry-ZULMLCJK.js.map} +0 -0
  354. /package/dist/{registry-NPOWJHC4.js.map → request-withdrawal-SEVUEUDG.js.map} +0 -0
  355. /package/dist/{reveal-LGBOM2BO.js.map → reveal-PB3YG544.js.map} +0 -0
  356. /package/dist/{request-withdrawal-U7K3JTMY.js.map → revoke-5QULL5GT.js.map} +0 -0
  357. /package/dist/{seed-PWK45HDF.js.map → seed-EKF4DIBB.js.map} +0 -0
  358. /package/dist/{revoke-OCWDSWRQ.js.map → signer-ZMH35FT4.js.map} +0 -0
  359. /package/dist/{signer-3YFBLZRN.js.map → stale-4UNPHWOU.js.map} +0 -0
  360. /package/dist/{stale-FJED42DM.js.map → storage-QOZKQMID.js.map} +0 -0
  361. /package/dist/{store-coordination-provider-APODTV4W.js.map → store-coordination-provider-3AELCZ4Y.js.map} +0 -0
  362. /package/dist/{verify-26Y5GNMK.js.map → verify-MXN66IIH.js.map} +0 -0
  363. /package/dist/{walk-XS3PKM6I.js.map → walk-H4YE52S2.js.map} +0 -0
  364. /package/dist/{storage-W3GURVFU.js.map → withdraw-accessible-HPOVNG2G.js.map} +0 -0
@@ -1,6 +1,3 @@
1
- import {
2
- loadVaultPolicy
3
- } from "./chunk-CBSY2N76.js";
4
1
  import {
5
2
  jsonSchemaToFields
6
3
  } from "./chunk-VYYM3MEN.js";
@@ -9,20 +6,23 @@ import {
9
6
  SEQUENCE_COLLECTION,
10
7
  compileSequenceFormat,
11
8
  resolveSequenceKey
12
- } from "./chunk-HPUWOVR7.js";
9
+ } from "./chunk-NOT7XA7Q.js";
10
+ import {
11
+ loadVaultPolicy
12
+ } from "./chunk-QDNVHA2F.js";
13
13
  import {
14
14
  LinkIntegrityError,
15
15
  isLinkCollectionName,
16
16
  linkCollectionName,
17
17
  linkRowKey
18
- } from "./chunk-RTEK4C4I.js";
18
+ } from "./chunk-IUIVDVXM.js";
19
19
  import {
20
20
  hashFields,
21
21
  validateSatelliteDeclaration
22
- } from "./chunk-2PCAVW2I.js";
22
+ } from "./chunk-L4OA7G5T.js";
23
23
  import {
24
24
  loadFence
25
- } from "./chunk-KUIB4B5Q.js";
25
+ } from "./chunk-JA5B3SLH.js";
26
26
  import {
27
27
  InvertedIndex,
28
28
  MemoryIndexStore,
@@ -31,23 +31,24 @@ import {
31
31
  buildPersistedIndexCallbacks,
32
32
  encodeVecId,
33
33
  syncTierSearch
34
- } from "./chunk-BMQWTQZ4.js";
34
+ } from "./chunk-J6U4BOKP.js";
35
35
  import {
36
36
  derivePersistedSchema,
37
37
  isZod4Schema
38
- } from "./chunk-BOKIKJJB.js";
38
+ } from "./chunk-EDC6MLXV.js";
39
39
  import {
40
40
  isBaseLive,
41
41
  liveBaseIdSet
42
42
  } from "./chunk-GYGLAVCX.js";
43
- import {
44
- NO_PORTABILITY
45
- } from "./chunk-M75ZZHSR.js";
46
43
  import {
47
44
  CustodyApi,
48
45
  NO_CARGO,
49
46
  NO_CUSTODY
50
- } from "./chunk-O7WJ47EF.js";
47
+ } from "./chunk-SN75YVM5.js";
48
+ import {
49
+ resolveManagedSecret,
50
+ saveSealedPassphrase
51
+ } from "./chunk-BCOKZC4B.js";
51
52
  import {
52
53
  ServiceBus,
53
54
  WriteHookRegistry,
@@ -55,35 +56,35 @@ import {
55
56
  assertCanImport,
56
57
  canExport,
57
58
  canImport
58
- } from "./chunk-PT37L5DV.js";
59
+ } from "./chunk-WEC3JGBA.js";
59
60
  import {
60
61
  runDrainBarrier
61
- } from "./chunk-ISMV2QVG.js";
62
- import {
63
- OverlayedCollection
64
- } from "./chunk-5WZXVULX.js";
62
+ } from "./chunk-KMONEHDJ.js";
65
63
  import {
66
64
  NO_ATTESTATION
67
- } from "./chunk-S6Q37VGE.js";
65
+ } from "./chunk-XW7NWO4A.js";
68
66
  import {
69
67
  NO_CLASSIFIED,
70
68
  guardClassifiedCompat,
71
69
  resolveClassifiedFields
72
- } from "./chunk-UBNCR3YK.js";
70
+ } from "./chunk-IZX3WZBF.js";
73
71
  import {
74
72
  NO_TIERS,
75
73
  classifySealedShred,
76
74
  syncDerivedOutputs
77
- } from "./chunk-DDATL6PU.js";
75
+ } from "./chunk-N4A3DCBT.js";
76
+ import {
77
+ NO_PORTABILITY
78
+ } from "./chunk-GYB2QK5H.js";
78
79
  import {
79
80
  TxContext,
80
81
  bestEffortRevert,
81
82
  revertExecuted
82
- } from "./chunk-JRBNCUNT.js";
83
+ } from "./chunk-FLHOTGOO.js";
83
84
  import {
84
85
  DEFAULT_POSTURE,
85
86
  ViaGraph
86
- } from "./chunk-3ELCWU56.js";
87
+ } from "./chunk-E2R5NRZD.js";
87
88
  import {
88
89
  buildLookupAltIndex,
89
90
  buildLookupSnapshotRows,
@@ -106,22 +107,25 @@ import {
106
107
  runGraphDispatchWave,
107
108
  touchFor,
108
109
  updateReferencingRecords
109
- } from "./chunk-MTQPRQHB.js";
110
+ } from "./chunk-HGVFJL63.js";
111
+ import {
112
+ OverlayedCollection
113
+ } from "./chunk-2ITLQZV5.js";
110
114
  import {
111
115
  NO_AGGREGATE,
112
116
  Query,
113
117
  ScanBuilder
114
- } from "./chunk-A5BDDEXK.js";
118
+ } from "./chunk-GU5AYA2Q.js";
115
119
  import {
116
120
  EXPORT_AUDIT_COLLECTION,
117
121
  createExportBlobsHandle,
118
122
  runCompaction
119
- } from "./chunk-2P7EGNKF.js";
123
+ } from "./chunk-2KL6NDD4.js";
120
124
  import {
121
125
  LazyQuery,
122
126
  decodeIdxId,
123
127
  encodeIdxId
124
- } from "./chunk-VEALDPHW.js";
128
+ } from "./chunk-CGPO3ZYB.js";
125
129
  import {
126
130
  IMPLICIT_LAZY,
127
131
  Lru,
@@ -129,17 +133,13 @@ import {
129
133
  } from "./chunk-NO272T7Q.js";
130
134
  import {
131
135
  canonicalGroupKey
132
- } from "./chunk-TAGR72IR.js";
136
+ } from "./chunk-JIMEB4C6.js";
133
137
  import {
134
138
  readPath
135
139
  } from "./chunk-IGJCYUT5.js";
136
- import {
137
- resolveManagedSecret,
138
- saveSealedPassphrase
139
- } from "./chunk-LB6OH6K2.js";
140
140
  import {
141
141
  dictCollectionName
142
- } from "./chunk-IRQY7IR5.js";
142
+ } from "./chunk-BZEPJJOK.js";
143
143
  import {
144
144
  NO_I18N,
145
145
  getAtPath,
@@ -147,12 +147,12 @@ import {
147
147
  isDictKeyDescriptor,
148
148
  isI18nTextDescriptor,
149
149
  isStaticDictDescriptor
150
- } from "./chunk-GULTLPFB.js";
150
+ } from "./chunk-XGVDLQJE.js";
151
151
  import {
152
152
  installViaBinder,
153
153
  isViaInstalled,
154
154
  viaBinder
155
- } from "./chunk-JVBO4SZL.js";
155
+ } from "./chunk-STR7WBOB.js";
156
156
  import {
157
157
  NO_TEAM,
158
158
  enrollAuthenticator,
@@ -163,7 +163,24 @@ import {
163
163
  rotatePassphrase,
164
164
  updateAuthenticator,
165
165
  writeMagicLinkGrant
166
- } from "./chunk-LOF2W3JU.js";
166
+ } from "./chunk-UBF7HTOR.js";
167
+ import {
168
+ assertKeyringOpenAllowed,
169
+ buildRecipientKeyringFile,
170
+ changeSecret,
171
+ createOwnerKeyring,
172
+ ensureCollectionDEK,
173
+ hasAccess,
174
+ hasWritePermission,
175
+ isSecretBearingReservedCollection,
176
+ listUsers,
177
+ loadKeyring,
178
+ updateKeyringIdentity
179
+ } from "./chunk-WJDYZP3U.js";
180
+ import {
181
+ persistDirectoryConfig,
182
+ readDirectoryConfig
183
+ } from "./chunk-7B4GPCX7.js";
167
184
  import {
168
185
  hasRecoveryEnrolled,
169
186
  hasStrongRecoveryEnrolled,
@@ -173,7 +190,7 @@ import {
173
190
  mintShamirRecoveryEntry,
174
191
  savePaperRecoveryEntries,
175
192
  saveShamirRecoveryEntries
176
- } from "./chunk-2MUZ3LY6.js";
193
+ } from "./chunk-3O62PVDW.js";
177
194
  import {
178
195
  INDEXED_STORE_POLICY
179
196
  } from "./chunk-VQNJ7UZL.js";
@@ -183,28 +200,11 @@ import {
183
200
  PERIOD_FREEZES_COLLECTION,
184
201
  PERIOD_TARGET_PURGES_COLLECTION,
185
202
  periodExclusiveUpperBound
186
- } from "./chunk-2IALOXZS.js";
187
- import {
188
- assertKeyringOpenAllowed,
189
- buildRecipientKeyringFile,
190
- changeSecret,
191
- createOwnerKeyring,
192
- ensureCollectionDEK,
193
- hasAccess,
194
- hasWritePermission,
195
- isSecretBearingReservedCollection,
196
- listUsers,
197
- loadKeyring,
198
- updateKeyringIdentity
199
- } from "./chunk-3SV2EPMN.js";
200
- import {
201
- persistDirectoryConfig,
202
- readDirectoryConfig
203
- } from "./chunk-PK6QCH2C.js";
203
+ } from "./chunk-F4COUZLL.js";
204
204
  import {
205
205
  NO_BROKER,
206
206
  buildCredentialBrokerHandle
207
- } from "./chunk-SMIRGMS7.js";
207
+ } from "./chunk-VEX6G3YL.js";
208
208
  import {
209
209
  generateULID
210
210
  } from "./chunk-ZJADGNYF.js";
@@ -212,10 +212,10 @@ import {
212
212
  assertCutoverTierSafe,
213
213
  assertTierWritable,
214
214
  liveRecordIsElevated
215
- } from "./chunk-DRWBEDYO.js";
215
+ } from "./chunk-NM4LVUXH.js";
216
216
  import {
217
217
  sha256Hex
218
- } from "./chunk-RM2XV574.js";
218
+ } from "./chunk-JLHKBAFY.js";
219
219
  import {
220
220
  NO_FORGET,
221
221
  addSubjectRef,
@@ -224,10 +224,10 @@ import {
224
224
  readDottedPath,
225
225
  rebuildSubjectIndex,
226
226
  removeSubjectRef
227
- } from "./chunk-KWVJAOIN.js";
227
+ } from "./chunk-OWE4BNTM.js";
228
228
  import {
229
229
  NO_SEALED_RECORD
230
- } from "./chunk-RDXW3OBQ.js";
230
+ } from "./chunk-J3VW4J4E.js";
231
231
  import {
232
232
  RecordCodec,
233
233
  SEALED_CEK_NS,
@@ -238,20 +238,20 @@ import {
238
238
  queryByDet,
239
239
  resolveStableCek,
240
240
  validateSchemaInput
241
- } from "./chunk-DVUZMT2W.js";
241
+ } from "./chunk-PEY6ZTCF.js";
242
242
  import {
243
243
  buildDeleteMarker,
244
244
  buildTombstone,
245
245
  isDeleteMarker,
246
246
  isTombstone
247
- } from "./chunk-WEYZTLXN.js";
247
+ } from "./chunk-QXPOEAKR.js";
248
248
  import {
249
249
  encrypt
250
- } from "./chunk-HOONYZY2.js";
250
+ } from "./chunk-5P5AAXYA.js";
251
251
  import {
252
252
  NOYDB_FORMAT_VERSION,
253
253
  SealedHandle
254
- } from "./chunk-LSASLXGC.js";
254
+ } from "./chunk-5BHNQNBI.js";
255
255
  import {
256
256
  AlreadyElevatedError,
257
257
  AttestationError,
@@ -291,11 +291,11 @@ import {
291
291
  UnsupportedIndexOptionError,
292
292
  UnsupportedTierCompositionError,
293
293
  ValidationError
294
- } from "./chunk-W2OG6JOL.js";
294
+ } from "./chunk-IGM563N5.js";
295
295
 
296
296
  // src/port/by/default-provider.ts
297
297
  async function createDefaultCoordinationProvider(store) {
298
- const { StoreCoordinationProvider } = await import("./store-coordination-provider-APODTV4W.js");
298
+ const { StoreCoordinationProvider } = await import("./store-coordination-provider-3AELCZ4Y.js");
299
299
  return new StoreCoordinationProvider(store);
300
300
  }
301
301
 
@@ -1705,7 +1705,7 @@ async function resolveStaleOnRead(accessor, outputCollection, id) {
1705
1705
  }
1706
1706
  const sourceWithId = { ...source, id };
1707
1707
  if (DerivationExecutor === null) {
1708
- ({ DerivationExecutor } = await import("./executor-XGIS6CR7.js"));
1708
+ ({ DerivationExecutor } = await import("./executor-TEZYRDN3.js"));
1709
1709
  }
1710
1710
  const ctx = { vault: accessor.getReadOnlyFacade() };
1711
1711
  const result = await DerivationExecutor.run(spec, sourceWithId, 0, strategyHash, ctx);
@@ -2056,6 +2056,11 @@ function resolveCollectionConfig(opts) {
2056
2056
  `Collection "${opts.name}": embeddings are not supported on CRDT collections (L2). Use a non-CRDT collection for semantic search.`
2057
2057
  );
2058
2058
  }
2059
+ if (opts.sensitive && opts.sensitive.length > 0 && opts.crdt) {
2060
+ throw new Error(
2061
+ `Collection "${opts.name}": sensitive (structural group-encryption) is not supported on CRDT collections \u2014 the CRDT write path bypasses per-field sealing, so the fields would be stored in the ordinary encrypted body with no \`_sealed\` slot and no per-field key. Use a non-CRDT collection for sealed fields.`
2062
+ );
2063
+ }
2059
2064
  if (opts.tiers && opts.tiers.length > 0 && opts.blobFields !== void 0 && Object.keys(opts.blobFields).length > 0 && opts.perRecordKeys !== true) {
2060
2065
  throw new UnsupportedTierCompositionError(
2061
2066
  "blobs",
@@ -2248,7 +2253,7 @@ function resolveCollectionConfig(opts) {
2248
2253
  // src/with-formula/computed/lazy.ts
2249
2254
  var fn = null;
2250
2255
  async function loadEvalComputedFields() {
2251
- fn ??= (await import("./computed-DSMPXG2Y.js")).evalComputedFields;
2256
+ fn ??= (await import("./computed-WZNKRLCY.js")).evalComputedFields;
2252
2257
  return fn;
2253
2258
  }
2254
2259
 
@@ -3052,7 +3057,7 @@ var Collection = class {
3052
3057
  }
3053
3058
  await this.onAccess?.("find", "*");
3054
3059
  if (hits.length === 0) return [];
3055
- const { verifyDigestField } = await import("./verify-26Y5GNMK.js");
3060
+ const { verifyDigestField } = await import("./verify-MXN66IIH.js");
3056
3061
  const policy = {
3057
3062
  normalize: spec.verifyNormalize ?? "password",
3058
3063
  notLastN: spec.notLastN ?? 0,
@@ -3258,7 +3263,7 @@ var Collection = class {
3258
3263
  }
3259
3264
  }
3260
3265
  if (this.materializedViewSource !== void 0) {
3261
- const { resolveStaleMVOnRead } = await import("./stale-FJED42DM.js");
3266
+ const { resolveStaleMVOnRead } = await import("./stale-4UNPHWOU.js");
3262
3267
  await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
3263
3268
  }
3264
3269
  let record;
@@ -3727,7 +3732,7 @@ var Collection = class {
3727
3732
  if (wave?.seen(`mv\0${reg.spec.name}`)) continue;
3728
3733
  if (executor === null) {
3729
3734
  ;
3730
- ({ MaterializedViewExecutor: executor } = await import("./executor-AXE4XMLT.js"));
3735
+ ({ MaterializedViewExecutor: executor } = await import("./executor-YORMIBWV.js"));
3731
3736
  }
3732
3737
  await executor.refresh(reg, {
3733
3738
  getCollection: (name) => this.materializedViewSource.getCollection(name),
@@ -3737,7 +3742,7 @@ var Collection = class {
3737
3742
  });
3738
3743
  } else if (mode === "lazy") {
3739
3744
  if (staleHelpers === null) {
3740
- staleHelpers = await import("./stale-FJED42DM.js");
3745
+ staleHelpers = await import("./stale-4UNPHWOU.js");
3741
3746
  }
3742
3747
  staleHelpers.markMVStale(registry, reg.spec.name);
3743
3748
  }
@@ -3941,7 +3946,7 @@ var Collection = class {
3941
3946
  continue;
3942
3947
  }
3943
3948
  if (DerivationExecutor === null) {
3944
- ({ DerivationExecutor } = await import("./executor-XGIS6CR7.js"));
3949
+ ({ DerivationExecutor } = await import("./executor-TEZYRDN3.js"));
3945
3950
  }
3946
3951
  for (const run of runs) {
3947
3952
  const ctx = { vault: this.derivationSource.getReadOnlyFacade() };
@@ -3961,7 +3966,7 @@ var Collection = class {
3961
3966
  const outputCollection = this.derivationSource.getCollection(outSpec.collection);
3962
3967
  const txCtx = this.derivationSource.getActiveTxContext();
3963
3968
  if (out.kind === "array") {
3964
- const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-WDYQ77VB.js");
3969
+ const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-HJV3A7PM.js");
3965
3970
  const prior = await loadFanoutSidecar(this.adapter, this.vault, spec.source, run.runId, key, this.getDEK, this.storeCiphertext);
3966
3971
  const prevKeys = new Set(prior?.keys ?? []);
3967
3972
  const newKeysList = out.entries.map((e) => e.key);
@@ -4319,7 +4324,7 @@ var Collection = class {
4319
4324
  continue;
4320
4325
  }
4321
4326
  if (helpers === null) {
4322
- helpers = await import("./fanout-sidecar-WDYQ77VB.js");
4327
+ helpers = await import("./fanout-sidecar-HJV3A7PM.js");
4323
4328
  }
4324
4329
  const sidecar = await helpers.loadFanoutSidecar(this.adapter, this.vault, spec.source, id, outputKey, this.getDEK, this.storeCiphertext);
4325
4330
  if (!sidecar) continue;
@@ -4356,7 +4361,7 @@ var Collection = class {
4356
4361
  if (mode === "eager") {
4357
4362
  if (executor === null) {
4358
4363
  ;
4359
- ({ MaterializedViewExecutor: executor } = await import("./executor-AXE4XMLT.js"));
4364
+ ({ MaterializedViewExecutor: executor } = await import("./executor-YORMIBWV.js"));
4360
4365
  }
4361
4366
  const rr = await executor.refresh(reg, {
4362
4367
  getCollection: (name) => this.materializedViewSource.getCollection(name),
@@ -4369,7 +4374,7 @@ var Collection = class {
4369
4374
  residueDeclined.push(...rr.residueDeclined);
4370
4375
  } else {
4371
4376
  if (staleHelpers === null) {
4372
- staleHelpers = await import("./stale-FJED42DM.js");
4377
+ staleHelpers = await import("./stale-4UNPHWOU.js");
4373
4378
  }
4374
4379
  const inv = await staleHelpers.invalidateMVAtRest(this.materializedViewSource, reg, mode);
4375
4380
  deleted += inv.deleted;
@@ -4396,7 +4401,7 @@ var Collection = class {
4396
4401
  );
4397
4402
  }
4398
4403
  if (this.materializedViewSource !== void 0) {
4399
- const { resolveStaleMVOnRead } = await import("./stale-FJED42DM.js");
4404
+ const { resolveStaleMVOnRead } = await import("./stale-4UNPHWOU.js");
4400
4405
  await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
4401
4406
  }
4402
4407
  await this.ensureHydrated();
@@ -5549,14 +5554,14 @@ var Collection = class {
5549
5554
  /** C-A/R10: persist the classified marker once per classified handle (store I/O in config-drift.ts). */
5550
5555
  async _ensureClassifiedMarker() {
5551
5556
  if (this._markerPersisted || this.vdigFields === null) return;
5552
- const { persistClassifiedMarkerForFields } = await import("./classified-marker-WQVIJAW2.js");
5557
+ const { persistClassifiedMarkerForFields } = await import("./classified-marker-7S5IEP6Q.js");
5553
5558
  await persistClassifiedMarkerForFields(this.adapter, this.vault, this.name, this.vdigFields, await this.getDEK(this.name));
5554
5559
  this._markerPersisted = true;
5555
5560
  }
5556
5561
  /** C-A/R10 drift signal — the marker's declared digest-only set, memoized to one store read per handle (see config-drift.ts). */
5557
5562
  async _classifiedMarkerDigestOnly() {
5558
5563
  if (this._markerDigestOnlyCache !== void 0) return this._markerDigestOnlyCache;
5559
- const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-WQVIJAW2.js");
5564
+ const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-7S5IEP6Q.js");
5560
5565
  this._markerDigestOnlyCache = await readClassifiedMarkerDigestOnly(this.adapter, this.vault, this.name, await this.getDEK(this.name));
5561
5566
  return this._markerDigestOnlyCache;
5562
5567
  }
@@ -6390,6 +6395,9 @@ var VaultPeriods = class {
6390
6395
  };
6391
6396
  }
6392
6397
  await this.deps.adapter.put(this.deps.vault, collection, key, envelope);
6398
+ if (collection === PERIODS_COLLECTION && this.deps.onDirty) {
6399
+ await this.deps.onDirty(collection, key, "put", envelope._v);
6400
+ }
6393
6401
  return envelope;
6394
6402
  }
6395
6403
  /** Generic reserved-collection reader — serves `_period_freezes` companion reads. */
@@ -6978,7 +6986,7 @@ var VaultLinks = class {
6978
6986
  // src/with-shape/links/lazy-handle.ts
6979
6987
  function makeLazyLinkSetHandle(d) {
6980
6988
  let engine = null;
6981
- const load = () => engine ??= import("./link-set-QK22TDEX.js").then(
6989
+ const load = () => engine ??= import("./link-set-GNGGCFI4.js").then(
6982
6990
  ({ LinkSet }) => new LinkSet(d.adapter, d.vault, d.name, d.spec, d.encrypted, d.getDEK, d.actor, d.emitter, d.endpointExists)
6983
6991
  );
6984
6992
  return {
@@ -7516,7 +7524,7 @@ function declareSatellite(ctx, collectionName, options, existingRegistry) {
7516
7524
  ctx.forEachSyncEngine((e) => e.remirrorPairResolvers([spec.base, spec.satellite]));
7517
7525
  const registry = reg;
7518
7526
  const baseSchema = ctx.getBaseSchema(spec.base);
7519
- void import("./post-register-JVTMJ6OW.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
7527
+ void import("./post-register-A7HCFBP5.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
7520
7528
  });
7521
7529
  return reg;
7522
7530
  }
@@ -8287,7 +8295,9 @@ var Vault = class {
8287
8295
  collection: (name) => this.collection(name),
8288
8296
  purgeDeleteMarkers: (before) => this._purgeDeleteMarkers(before),
8289
8297
  archiveRecords: (before) => this._archiveClosedPeriod(before),
8290
- purgeTargets: (before) => this._purgePeriodTargets(before)
8298
+ purgeTargets: (before) => this._purgePeriodTargets(before),
8299
+ // #822: push symmetry for the period summaries — see writeReserved.
8300
+ onDirty: this.onDirty
8291
8301
  });
8292
8302
  this.linksEnforcer = new VaultLinks({
8293
8303
  refRegistry: this.refRegistry,
@@ -8510,7 +8520,7 @@ var Vault = class {
8510
8520
  const strategies = options.schemaUpdate ?? [];
8511
8521
  const work = (async () => {
8512
8522
  const dek = await this.getDEK(collectionName);
8513
- const { persistSchemaIfNeeded } = await import("./register-X462DNDM.js");
8523
+ const { persistSchemaIfNeeded } = await import("./register-YBMRLZLO.js");
8514
8524
  const result = await persistSchemaIfNeeded({
8515
8525
  store: this.adapter,
8516
8526
  vault: this.name,
@@ -8709,7 +8719,7 @@ var Vault = class {
8709
8719
  const work = (async () => {
8710
8720
  try {
8711
8721
  const dek = await this.getDEK(collectionName);
8712
- await (await import("./register-X462DNDM.js")).persistSchemaIfNeeded({
8722
+ await (await import("./register-YBMRLZLO.js")).persistSchemaIfNeeded({
8713
8723
  store: this.adapter,
8714
8724
  vault: this.name,
8715
8725
  collectionName,
@@ -9332,7 +9342,9 @@ var Vault = class {
9332
9342
  deleteSlot: async (name, id, slotName) => {
9333
9343
  const coll = this.collection(name);
9334
9344
  await coll.blob(id).delete(slotName);
9335
- }
9345
+ },
9346
+ dropLocalCache: async (name, id, slotName) => this.collection(name).blob(id).dropLocalCache(slotName)
9347
+ // #808: budget pass drops device-local external cache copies
9336
9348
  }, options);
9337
9349
  }
9338
9350
  /**
@@ -9894,7 +9906,7 @@ var Vault = class {
9894
9906
  async _initDerivations(handles) {
9895
9907
  if (handles.length === 0) return;
9896
9908
  const [{ DerivationRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
9897
- import("./registry-3XMCT7MQ.js"),
9909
+ import("./registry-ZULMLCJK.js"),
9898
9910
  import("./read-only-facade-CHCKSEPD.js")
9899
9911
  ]);
9900
9912
  const registry = new DerivationRegistry();
@@ -9926,7 +9938,7 @@ var Vault = class {
9926
9938
  */
9927
9939
  async _initMaterializedViews(handles) {
9928
9940
  if (handles.length === 0) return;
9929
- const { MaterializedViewRegistry } = await import("./registry-KHD2I3M2.js");
9941
+ const { MaterializedViewRegistry } = await import("./registry-4V4YQCXJ.js");
9930
9942
  const registry = new MaterializedViewRegistry();
9931
9943
  this.materializedViewRegistry = registry;
9932
9944
  const db = this;
@@ -9951,7 +9963,7 @@ var Vault = class {
9951
9963
  */
9952
9964
  async _initOverlayedViews(handles) {
9953
9965
  if (handles.length === 0) return;
9954
- const { OverlayedViewRegistry } = await import("./registry-NPOWJHC4.js");
9966
+ const { OverlayedViewRegistry } = await import("./registry-3LXKNXWI.js");
9955
9967
  const registry = new OverlayedViewRegistry();
9956
9968
  const mvRegistry = this.materializedViewRegistry;
9957
9969
  const overlayNames = /* @__PURE__ */ new Set();
@@ -9998,14 +10010,14 @@ var Vault = class {
9998
10010
  if (!reg) {
9999
10011
  throw new Error(`refreshView: no MV registered with name "${name}"`);
10000
10012
  }
10001
- const { MaterializedViewExecutor } = await import("./executor-AXE4XMLT.js");
10013
+ const { MaterializedViewExecutor } = await import("./executor-YORMIBWV.js");
10002
10014
  const result = await MaterializedViewExecutor.refresh(reg, {
10003
10015
  getCollection: (n) => this.collection(n),
10004
10016
  getActiveTxContext: () => this.noydb._activeTxContextOrNull,
10005
10017
  getQueryContext: () => this,
10006
10018
  dispatchCtx: this._dispatchCtx({ collection: name, id: "refreshView" })
10007
10019
  });
10008
- const { clearMVStaleFully } = await import("./stale-FJED42DM.js");
10020
+ const { clearMVStaleFully } = await import("./stale-4UNPHWOU.js");
10009
10021
  await clearMVStaleFully(this.adapter, this.name, registry, name);
10010
10022
  return result;
10011
10023
  }
@@ -10018,7 +10030,7 @@ var Vault = class {
10018
10030
  if (registry === null) return { derived: 0, failed: 0, skippedFrozen: 0 };
10019
10031
  const strategies = registry.strategiesForSource(sourceCollection);
10020
10032
  if (strategies.length === 0) return { derived: 0, failed: 0, skippedFrozen: 0 };
10021
- const { DerivationExecutor } = await import("./executor-XGIS6CR7.js");
10033
+ const { DerivationExecutor } = await import("./executor-TEZYRDN3.js");
10022
10034
  const sourceColl = this.collection(sourceCollection);
10023
10035
  const records = await sourceColl.list();
10024
10036
  const ctx = { vault: this.derivationFacade ?? new (await import("./read-only-facade-CHCKSEPD.js")).ReadOnlyVaultFacade(this, "derivation") };
@@ -10045,7 +10057,7 @@ var Vault = class {
10045
10057
  if (!outSpec) continue;
10046
10058
  const outputColl = this.collection(outSpec.collection);
10047
10059
  if (out.kind === "array") {
10048
- const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-WDYQ77VB.js");
10060
+ const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-HJV3A7PM.js");
10049
10061
  const prior = await loadFanoutSidecar(this.adapter, this.name, spec.source, id, key, this.getDEK, this.encrypted);
10050
10062
  const prevKeys = new Set(prior?.keys ?? []);
10051
10063
  const newKeysList = out.entries.map((e) => e.key);
@@ -10272,7 +10284,7 @@ var Vault = class {
10272
10284
  * collection.
10273
10285
  */
10274
10286
  async delegate(opts) {
10275
- const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-A5A75KQO.js");
10287
+ const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-UT76AQIG.js");
10276
10288
  if (!this.keyring.kek) {
10277
10289
  throw new ValidationError(
10278
10290
  "issueDelegation: keyring.kek is null \u2014 issuing a delegation requires a tier-1 unlock. Re-authenticate at tier 1 (passphrase) first."
@@ -10294,7 +10306,7 @@ var Vault = class {
10294
10306
  * if the id does not exist.
10295
10307
  */
10296
10308
  async revokeDelegation(id) {
10297
- const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-A5A75KQO.js");
10309
+ const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-UT76AQIG.js");
10298
10310
  await revokeDelegation(this.adapter, this.name, id);
10299
10311
  void DELEGATIONS_COLLECTION;
10300
10312
  }
@@ -10542,7 +10554,7 @@ var Vault = class {
10542
10554
  * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
10543
10555
  */
10544
10556
  async dumpSchema(opts = {}) {
10545
- const { dumpVaultSchema } = await import("./walk-XS3PKM6I.js");
10557
+ const { dumpVaultSchema } = await import("./walk-H4YE52S2.js");
10546
10558
  return dumpVaultSchema(this, opts);
10547
10559
  }
10548
10560
  /**
@@ -10677,13 +10689,9 @@ var Vault = class {
10677
10689
  * @see https://github.com/vLannaAi/noy-db-docs/blob/main/content/docs/services/public-envelope.md
10678
10690
  */
10679
10691
  async getCover(opts = {}) {
10680
- const { readCover } = await import("./cover-B5SJDHR3.js");
10692
+ const { readCover } = await import("./cover-B5MY43CK.js");
10681
10693
  return readCover(this.adapter, this.name, opts);
10682
10694
  }
10683
- /** @deprecated Use {@link Vault.getCover} (#799 rename). */
10684
- async getPublicEnvelope(opts = {}) {
10685
- return this.getCover(opts);
10686
- }
10687
10695
  /**
10688
10696
  * Dump vault as a verifiable encrypted JSON backup string.
10689
10697
  *
@@ -10696,7 +10704,7 @@ var Vault = class {
10696
10704
  * both modes round-trip cleanly.
10697
10705
  */
10698
10706
  async dump() {
10699
- const { dumpVault } = await import("./backup-LU2DTZTI.js");
10707
+ const { dumpVault } = await import("./backup-JL2GOTYQ.js");
10700
10708
  return dumpVault(this.backupContext());
10701
10709
  }
10702
10710
  /**
@@ -10748,7 +10756,7 @@ var Vault = class {
10748
10756
  * — there's no chain to verify against.
10749
10757
  */
10750
10758
  async load(backupJson) {
10751
- const { loadVault } = await import("./backup-LU2DTZTI.js");
10759
+ const { loadVault } = await import("./backup-JL2GOTYQ.js");
10752
10760
  return loadVault(this.backupContext(), backupJson);
10753
10761
  }
10754
10762
  /**
@@ -10780,7 +10788,7 @@ var Vault = class {
10780
10788
  * way to detect tampering of an in-place vault.
10781
10789
  */
10782
10790
  async verifyBackupIntegrity() {
10783
- const { verifyBackupIntegrity } = await import("./backup-LU2DTZTI.js");
10791
+ const { verifyBackupIntegrity } = await import("./backup-JL2GOTYQ.js");
10784
10792
  return verifyBackupIntegrity(this.backupContext());
10785
10793
  }
10786
10794
  /**
@@ -10998,7 +11006,7 @@ var Vault = class {
10998
11006
  * is the live validator object, not a serialization of it).
10999
11007
  */
11000
11008
  async exportJSON(opts = {}) {
11001
- const { exportVaultJSON } = await import("./backup-LU2DTZTI.js");
11009
+ const { exportVaultJSON } = await import("./backup-JL2GOTYQ.js");
11002
11010
  return exportVaultJSON(this.backupContext(), opts);
11003
11011
  }
11004
11012
  };
@@ -12869,7 +12877,7 @@ var Noydb = class {
12869
12877
  if (!facade) return;
12870
12878
  const ctx = { existing, vault: facade, userId: e.userId, role: e.role };
12871
12879
  await registry.runChecks(e.collection, incoming, ctx);
12872
- const { GuardExecutor } = await import("./executor-KGNLJD6M.js");
12880
+ const { GuardExecutor } = await import("./executor-WQQRU6DO.js");
12873
12881
  for (const g of guards) {
12874
12882
  await GuardExecutor.checkFrozenFields(g, e.docId, existing, incoming, e.computedFieldNames);
12875
12883
  }
@@ -13102,85 +13110,25 @@ var Noydb = class {
13102
13110
  this.vaultCache.set(name, comp);
13103
13111
  return comp;
13104
13112
  }
13105
- /** Synchronous vault access (must call openVault first, or auto-opens). */
13113
+ /**
13114
+ * Synchronous access to an ALREADY-OPEN vault.
13115
+ *
13116
+ * Returns the instance `openVault()` produced, or throws — it never
13117
+ * constructs. It used to fall back to building a Vault itself (once for
13118
+ * plaintext, once for encrypted-with-cached-keyring), and those copies
13119
+ * drifted from the real open path: the encrypted one silently omitted six
13120
+ * strategies, so a vault reached this way threw `*NotEnabledError` for
13121
+ * services the caller had configured (#834). Both fallbacks also skipped
13122
+ * the async registry init and schema-fence snapshot that `openVault`
13123
+ * performs, which a synchronous method cannot await. One construction
13124
+ * path is the only way that divergence stays fixed.
13125
+ */
13106
13126
  vault(name) {
13107
13127
  const cached = this.vaultCache.get(name);
13108
13128
  if (cached) return cached;
13109
- if (this.options.encrypt === false) {
13110
- const keyring2 = createPlaintextKeyring(this.options.user, this.options.debugPlaintext === true);
13111
- const comp2 = new Vault({
13112
- adapter: this.options.store,
13113
- name,
13114
- noydb: this,
13115
- keyring: keyring2,
13116
- encrypted: false,
13117
- emitter: this.emitter,
13118
- historyConfig: this.options.history,
13119
- ...this.options.blobStrategy !== void 0 ? { blobStrategy: this.options.blobStrategy } : {},
13120
- ...this.options.objectStore !== void 0 ? { objectStore: this.options.objectStore } : {},
13121
- ...this.options.archiveStrategy !== void 0 ? { archiveStrategy: this.options.archiveStrategy } : {},
13122
- ...this.options.indexStrategy !== void 0 ? { indexStrategy: this.options.indexStrategy } : {},
13123
- ...this.options.lazyStrategy !== void 0 ? { lazyStrategy: this.options.lazyStrategy } : {},
13124
- ...this.options.aggregateStrategy !== void 0 ? { aggregateStrategy: this.options.aggregateStrategy } : {},
13125
- ...this.options.crdtStrategy !== void 0 ? { crdtStrategy: this.options.crdtStrategy } : {},
13126
- ...this.options.tiersStrategy !== void 0 ? { tiersStrategy: this.options.tiersStrategy } : {},
13127
- ...this.options.searchStrategy !== void 0 ? { searchStrategy: this.options.searchStrategy } : {},
13128
- ...this.options.cargoStrategy !== void 0 ? { cargoStrategy: this.options.cargoStrategy } : {},
13129
- ...this.options.brokerStrategy !== void 0 ? { brokerStrategy: this.options.brokerStrategy } : {},
13130
- ...this.options.consentStrategy !== void 0 ? { consentStrategy: this.options.consentStrategy } : {},
13131
- ...this.options.periodsStrategy !== void 0 ? { periodsStrategy: this.options.periodsStrategy } : {},
13132
- ...this.options.shadowStrategy !== void 0 ? { shadowStrategy: this.options.shadowStrategy } : {},
13133
- ...this.options.historyStrategy !== void 0 ? { historyStrategy: this.options.historyStrategy } : {},
13134
- ...this.options.i18nStrategy !== void 0 ? { i18nStrategy: this.options.i18nStrategy } : {},
13135
- ...this.options.syncStrategy !== void 0 ? { syncStrategy: this.options.syncStrategy } : {},
13136
- ...this.options.guardStrategies !== void 0 ? { guardStrategies: this.options.guardStrategies } : {},
13137
- ...this.options.numbering !== void 0 ? { numberingConfigs: this.options.numbering } : {},
13138
- forgetStrategy: this.forgetStrategy,
13139
- ...this.options.attestationStrategy !== void 0 ? { attestationStrategy: this.options.attestationStrategy } : {},
13140
- ...this.options.classifiedStrategy !== void 0 ? { classifiedStrategy: this.options.classifiedStrategy } : {},
13141
- ...this.options.sealedRecordStrategy !== void 0 ? { sealedRecordStrategy: this.options.sealedRecordStrategy } : {},
13142
- ...this.options.portabilityStrategy !== void 0 ? { portabilityStrategy: this.options.portabilityStrategy } : {},
13143
- ...this.options.sequenceStrategy !== void 0 ? { sequenceStrategy: this.options.sequenceStrategy } : {}
13144
- });
13145
- this.vaultCache.set(name, comp2);
13146
- return comp2;
13147
- }
13148
- const keyring = this.keyringCache.get(name);
13149
- if (!keyring) {
13150
- throw new ValidationError(
13151
- `Vault "${name}" not opened. Use await db.openVault("${name}") first.`
13152
- );
13153
- }
13154
- const comp = new Vault({
13155
- adapter: this.options.store,
13156
- name,
13157
- noydb: this,
13158
- keyring,
13159
- encrypted: true,
13160
- historyConfig: this.options.history,
13161
- ...this.options.blobStrategy !== void 0 ? { blobStrategy: this.options.blobStrategy } : {},
13162
- ...this.options.objectStore !== void 0 ? { objectStore: this.options.objectStore } : {},
13163
- ...this.options.archiveStrategy !== void 0 ? { archiveStrategy: this.options.archiveStrategy } : {},
13164
- ...this.options.indexStrategy !== void 0 ? { indexStrategy: this.options.indexStrategy } : {},
13165
- ...this.options.lazyStrategy !== void 0 ? { lazyStrategy: this.options.lazyStrategy } : {},
13166
- ...this.options.aggregateStrategy !== void 0 ? { aggregateStrategy: this.options.aggregateStrategy } : {},
13167
- ...this.options.crdtStrategy !== void 0 ? { crdtStrategy: this.options.crdtStrategy } : {},
13168
- ...this.options.tiersStrategy !== void 0 ? { tiersStrategy: this.options.tiersStrategy } : {},
13169
- ...this.options.searchStrategy !== void 0 ? { searchStrategy: this.options.searchStrategy } : {},
13170
- ...this.options.cargoStrategy !== void 0 ? { cargoStrategy: this.options.cargoStrategy } : {},
13171
- ...this.options.brokerStrategy !== void 0 ? { brokerStrategy: this.options.brokerStrategy } : {},
13172
- ...this.options.consentStrategy !== void 0 ? { consentStrategy: this.options.consentStrategy } : {},
13173
- ...this.options.periodsStrategy !== void 0 ? { periodsStrategy: this.options.periodsStrategy } : {},
13174
- ...this.options.shadowStrategy !== void 0 ? { shadowStrategy: this.options.shadowStrategy } : {},
13175
- ...this.options.historyStrategy !== void 0 ? { historyStrategy: this.options.historyStrategy } : {},
13176
- ...this.options.i18nStrategy !== void 0 ? { i18nStrategy: this.options.i18nStrategy } : {},
13177
- ...this.options.syncStrategy !== void 0 ? { syncStrategy: this.options.syncStrategy } : {},
13178
- ...this.options.guardStrategies !== void 0 ? { guardStrategies: this.options.guardStrategies } : {},
13179
- ...this.options.numbering !== void 0 ? { numberingConfigs: this.options.numbering } : {},
13180
- emitter: this.emitter
13181
- });
13182
- this.vaultCache.set(name, comp);
13183
- return comp;
13129
+ throw new ValidationError(
13130
+ `Vault "${name}" is not open. Call \`await db.openVault("${name}")\` first \u2014 vault() only returns an already-open vault, because opening involves async work (registry init, schema fence) that a sync accessor cannot do.`
13131
+ );
13184
13132
  }
13185
13133
  /**
13186
13134
  * Grant access to a user for a vault.
@@ -14148,13 +14096,13 @@ var Noydb = class {
14148
14096
  * value, absent ones are preserved, `null` deletes (#800).
14149
14097
  */
14150
14098
  async setCover(vault, input) {
14151
- const coverOption = this.options.cover ?? this.options.publicEnvelope;
14099
+ const coverOption = this.options.cover;
14152
14100
  if (!coverOption) {
14153
14101
  throw new ValidationError(
14154
14102
  "setCover: the cover feature is not enabled. Pass `cover: true` (or a schema object) to `createNoydb`."
14155
14103
  );
14156
14104
  }
14157
- const { loadCover, saveCover, resolveSchema, validateCoverInput, mergeCustom, validateCoverSize } = await import("./cover-B5SJDHR3.js");
14105
+ const { loadCover, saveCover, resolveSchema, validateCoverInput, mergeCustom, validateCoverSize } = await import("./cover-B5MY43CK.js");
14158
14106
  const schema = resolveSchema(coverOption);
14159
14107
  validateCoverInput(input, schema);
14160
14108
  const now = (/* @__PURE__ */ new Date()).toISOString();
@@ -14186,17 +14134,9 @@ var Noydb = class {
14186
14134
  * regardless).
14187
14135
  */
14188
14136
  async getCover(vault, opts = {}) {
14189
- const { readCover } = await import("./cover-B5SJDHR3.js");
14137
+ const { readCover } = await import("./cover-B5MY43CK.js");
14190
14138
  return readCover(this.options.store, vault, opts);
14191
14139
  }
14192
- /** @deprecated Use {@link Noydb.setCover} (#799 rename). */
14193
- async setPublicEnvelope(vault, input) {
14194
- return this.setCover(vault, input);
14195
- }
14196
- /** @deprecated Use {@link Noydb.getCover} (#799 rename). */
14197
- async getPublicEnvelope(vault, opts = {}) {
14198
- return this.getCover(vault, opts);
14199
- }
14200
14140
  // ─── Auth introspection ─────────────────────────────────────────
14201
14141
  /** English summary of the configured auth model — see {@link TeamFacade.describeAuthConfig}. */
14202
14142
  async describeAuthConfig(vault) {
@@ -14385,9 +14325,9 @@ async function createNoydb(options) {
14385
14325
  throw new ValidationError("A secret (passphrase) or getKeyring callback is required when encryption is enabled");
14386
14326
  }
14387
14327
  if (!options.coordinationStrategy) options = { ...options, coordinationStrategy: await createDefaultCoordinationProvider(options.store) };
14388
- if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-IQFZJSQO.js")).createUserApi };
14328
+ if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-UPAT2O3M.js")).createUserApi };
14389
14329
  if (!options.policyFactory) {
14390
- const policyModule = await import("./policy-NAHB2TUT.js");
14330
+ const policyModule = await import("./policy-EAXSJNOT.js");
14391
14331
  options = { ...options, policyFactory: policyModule.createNoydbPolicy, policyCheckGateFn: policyModule.checkGate };
14392
14332
  }
14393
14333
  return new Noydb(options);
@@ -14424,4 +14364,4 @@ export {
14424
14364
  Noydb,
14425
14365
  createNoydb
14426
14366
  };
14427
- //# sourceMappingURL=chunk-3PF6CRDT.js.map
14367
+ //# sourceMappingURL=chunk-LUH2MPEF.js.map