@noy-db/hub 0.8.0 → 0.9.0-pre.1

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 (567) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +8 -8
  3. package/codemods/0.4.0-pre.json +1 -1
  4. package/codemods/0.8.0-pre.json +1 -1
  5. package/dist/api-6EFD43KN.js +18 -0
  6. package/dist/as/index.js +33 -23
  7. package/dist/as/index.js.map +1 -1
  8. package/dist/at/index.js +8 -8
  9. package/dist/attestation/index.js +18 -18
  10. package/dist/{backup-YE2VQ26S.js → backup-RJBFQSHE.js} +92 -31
  11. package/dist/backup-RJBFQSHE.js.map +1 -0
  12. package/dist/blobs/index.js +12 -12
  13. package/dist/broker/index.js +19 -11
  14. package/dist/broker/index.js.map +1 -1
  15. package/dist/by/index.js +2 -2
  16. package/dist/capsule/contract.d.ts +1 -1
  17. package/dist/capsule/contract.js +6 -6
  18. package/dist/capsule/enclave-aes/broker/proof.d.ts +12 -3
  19. package/dist/capsule/enclave-aes/crypto.d.ts +18 -0
  20. package/dist/capsule/enclave-aes/index.d.ts +3 -3
  21. package/dist/capsule/enclave-aes/index.js +46 -14
  22. package/dist/capsule/enclave-aes/index.js.map +1 -1
  23. package/dist/capsule/index.d.ts +2 -2
  24. package/dist/capsule/plumbing/record-codec.d.ts +7 -0
  25. package/dist/{capsule-VOLX3QRQ.js → capsule-6LJAVQNM.js} +14 -8
  26. package/dist/cargo/index.js +35 -35
  27. package/dist/{chunk-GZT3NQRA.js → chunk-25FXU6WS.js} +8 -2
  28. package/dist/chunk-25FXU6WS.js.map +1 -0
  29. package/dist/{chunk-OYW3I5M4.js → chunk-2DOCDOPL.js} +6 -6
  30. package/dist/chunk-2DX4JCRI.js +1 -0
  31. package/dist/{chunk-FLPCETP6.js → chunk-2LBS62AC.js} +2 -2
  32. package/dist/{chunk-WXE4W2U6.js → chunk-2ST3WA3C.js} +4 -4
  33. package/dist/{chunk-DQESF6RP.js → chunk-3G3GOGZZ.js} +50 -40
  34. package/dist/chunk-3G3GOGZZ.js.map +1 -0
  35. package/dist/{chunk-O2IMQSNA.js → chunk-3YBIVLTC.js} +2 -2
  36. package/dist/{chunk-LGNDFRYC.js → chunk-4CFHL5RY.js} +1 -1
  37. package/dist/chunk-4CFHL5RY.js.map +1 -0
  38. package/dist/{chunk-DIZLQVAA.js → chunk-4CHM2TRS.js} +2 -2
  39. package/dist/{chunk-V7ADQF5O.js → chunk-4CUJLEOA.js} +4 -4
  40. package/dist/{chunk-3EWS67C7.js → chunk-4TG2ITRW.js} +2 -2
  41. package/dist/{chunk-HS554XAF.js → chunk-5HQFROZS.js} +2 -2
  42. package/dist/{chunk-IUBMZPHM.js → chunk-5ZVE3N5C.js} +5 -6
  43. package/dist/chunk-5ZVE3N5C.js.map +1 -0
  44. package/dist/{chunk-PP3K67AJ.js → chunk-654RE5YC.js} +3 -3
  45. package/dist/{chunk-FOEDQATO.js → chunk-66GD7XXU.js} +2 -2
  46. package/dist/{chunk-BNWA3WG5.js → chunk-72FQ46VW.js} +3 -3
  47. package/dist/{chunk-EYG2CY2X.js → chunk-7JPA3LIH.js} +11 -11
  48. package/dist/chunk-7JPA3LIH.js.map +1 -0
  49. package/dist/{chunk-JQYKPKG6.js → chunk-7K42TSCY.js} +4 -4
  50. package/dist/{chunk-BPWYQ25R.js → chunk-7Q6IU3R7.js} +4 -4
  51. package/dist/{chunk-BPWYQ25R.js.map → chunk-7Q6IU3R7.js.map} +1 -1
  52. package/dist/{chunk-T7IR4N2S.js → chunk-7UHLO4ZN.js} +37 -2
  53. package/dist/chunk-7UHLO4ZN.js.map +1 -0
  54. package/dist/{chunk-UEFOQH74.js → chunk-ADCXTW7L.js} +2 -2
  55. package/dist/{chunk-MBMTND6D.js → chunk-AGGPT4UE.js} +2 -2
  56. package/dist/{chunk-RB4DOPGZ.js → chunk-AKIEBFIJ.js} +10 -10
  57. package/dist/{chunk-VHBKYN2J.js → chunk-B3B6HV5S.js} +2 -2
  58. package/dist/{chunk-JWWYRR4Q.js → chunk-B6EWMGFX.js} +2 -2
  59. package/dist/{chunk-H7JBY4P7.js → chunk-B7Y2BRQA.js} +14 -14
  60. package/dist/chunk-B7Y2BRQA.js.map +1 -0
  61. package/dist/{chunk-4CIQDWRB.js → chunk-BFJE2GPP.js} +14 -8
  62. package/dist/{chunk-4CIQDWRB.js.map → chunk-BFJE2GPP.js.map} +1 -1
  63. package/dist/{chunk-WPOYWFSE.js → chunk-BJRKXNFP.js} +7 -7
  64. package/dist/{chunk-H427H63K.js → chunk-BPQ5CRJF.js} +2 -2
  65. package/dist/{chunk-VFHCKG5M.js → chunk-BVRJYMFZ.js} +3 -3
  66. package/dist/{chunk-244QBK7Z.js → chunk-C4XV3PSJ.js} +4 -4
  67. package/dist/{chunk-244QBK7Z.js.map → chunk-C4XV3PSJ.js.map} +1 -1
  68. package/dist/{chunk-SMV2HRDU.js → chunk-DFC4WTJW.js} +2 -2
  69. package/dist/{chunk-5A4345TG.js → chunk-DMIEKD24.js} +3 -3
  70. package/dist/{chunk-TKVUE4JF.js → chunk-DQAXA2GK.js} +9 -9
  71. package/dist/{chunk-AL6ML4LA.js → chunk-DWCFGF2K.js} +5 -5
  72. package/dist/{chunk-Y3LPTBG7.js → chunk-E2C6FFSI.js} +6 -9
  73. package/dist/chunk-E2C6FFSI.js.map +1 -0
  74. package/dist/{chunk-LNSVGRHO.js → chunk-EQ6C2ZPT.js} +17 -51
  75. package/dist/chunk-EQ6C2ZPT.js.map +1 -0
  76. package/dist/chunk-EZOFTI4K.js +60 -0
  77. package/dist/chunk-EZOFTI4K.js.map +1 -0
  78. package/dist/{chunk-PD64727P.js → chunk-FMINS2B6.js} +2 -2
  79. package/dist/chunk-FMINS2B6.js.map +1 -0
  80. package/dist/{chunk-QBLT6POL.js → chunk-FPF5HRBE.js} +2 -2
  81. package/dist/{chunk-UA372JHH.js → chunk-FZVCZEVI.js} +3 -3
  82. package/dist/chunk-FZVCZEVI.js.map +1 -0
  83. package/dist/{chunk-FFWI7UH7.js → chunk-GAGT3YZN.js} +1 -1
  84. package/dist/chunk-GAGT3YZN.js.map +1 -0
  85. package/dist/{chunk-5WWDGFOS.js → chunk-GIQJGXV7.js} +2 -2
  86. package/dist/{chunk-V3RWOOSO.js → chunk-GYZICGRU.js} +4 -4
  87. package/dist/chunk-GYZICGRU.js.map +1 -0
  88. package/dist/{chunk-BVCUTXE3.js → chunk-H334G6KU.js} +2 -2
  89. package/dist/{chunk-AEQGFRU4.js → chunk-HE7EAHGS.js} +3 -3
  90. package/dist/chunk-HKB4HZDU.js +74 -0
  91. package/dist/chunk-HKB4HZDU.js.map +1 -0
  92. package/dist/{chunk-4V3Q35WG.js → chunk-ICF3TIGY.js} +3 -3
  93. package/dist/{chunk-3L2NBKDR.js → chunk-IF2M43G4.js} +2 -2
  94. package/dist/{chunk-37EPTBBR.js → chunk-IKPQ2GGB.js} +46 -4
  95. package/dist/chunk-IKPQ2GGB.js.map +1 -0
  96. package/dist/{chunk-DHHGL42E.js → chunk-IKS2CPAG.js} +27 -11
  97. package/dist/chunk-IKS2CPAG.js.map +1 -0
  98. package/dist/{chunk-3A5DUZ56.js → chunk-IMIQAGR7.js} +6 -6
  99. package/dist/{chunk-3A5DUZ56.js.map → chunk-IMIQAGR7.js.map} +1 -1
  100. package/dist/{chunk-A4XMIZT3.js → chunk-IQAJ4OR6.js} +41 -6
  101. package/dist/chunk-IQAJ4OR6.js.map +1 -0
  102. package/dist/{chunk-IUT3GWP3.js → chunk-IUD7WU67.js} +17 -93
  103. package/dist/chunk-IUD7WU67.js.map +1 -0
  104. package/dist/{chunk-AUKKUPVB.js → chunk-IVLRPRXM.js} +2 -2
  105. package/dist/{chunk-GUZET4SG.js → chunk-JAQHWHUN.js} +4 -4
  106. package/dist/chunk-JAQHWHUN.js.map +1 -0
  107. package/dist/{chunk-Y2RKVFKR.js → chunk-K4JSTGXT.js} +2 -2
  108. package/dist/{chunk-EJLV62NI.js → chunk-KN4LUMH6.js} +2 -2
  109. package/dist/{chunk-23D6M6VM.js → chunk-KZA3DITX.js} +4 -4
  110. package/dist/{chunk-E2N2T5ZO.js → chunk-L2VM64HK.js} +2 -2
  111. package/dist/chunk-L4UL4IAR.js +55 -0
  112. package/dist/chunk-L4UL4IAR.js.map +1 -0
  113. package/dist/{chunk-UIYESRD6.js → chunk-LUCQY3OM.js} +10 -10
  114. package/dist/{chunk-UIYESRD6.js.map → chunk-LUCQY3OM.js.map} +1 -1
  115. package/dist/{chunk-O46CHQT7.js → chunk-MAQBYBUX.js} +4 -4
  116. package/dist/{chunk-EZOAKKTB.js → chunk-MBPZMZVB.js} +2 -2
  117. package/dist/{chunk-XQRFSKYM.js → chunk-MCNNZBG7.js} +2 -2
  118. package/dist/{chunk-YRXFFWG4.js → chunk-MLVPMDOZ.js} +2 -2
  119. package/dist/{chunk-5FE75J4S.js → chunk-MMCN7TLK.js} +5 -5
  120. package/dist/{chunk-MXOQ5JCG.js → chunk-MRCR7ZMC.js} +686 -202
  121. package/dist/chunk-MRCR7ZMC.js.map +1 -0
  122. package/dist/{chunk-SYNY3VB5.js → chunk-NCTN2FW4.js} +2 -2
  123. package/dist/{chunk-4T3SE27M.js → chunk-ND6S2DKC.js} +2 -2
  124. package/dist/{chunk-3XJQBBZD.js → chunk-NTVKHQ3L.js} +2 -2
  125. package/dist/{chunk-RHVMZSUU.js → chunk-NV4OESHC.js} +1 -1
  126. package/dist/chunk-NV4OESHC.js.map +1 -0
  127. package/dist/chunk-NXQEOC3X.js +40 -0
  128. package/dist/chunk-NXQEOC3X.js.map +1 -0
  129. package/dist/{chunk-Q4UHJ5SN.js → chunk-O2VQ3K36.js} +2 -2
  130. package/dist/{chunk-HW7CMKUG.js → chunk-OFD2HD6F.js} +1 -1
  131. package/dist/{chunk-HW7CMKUG.js.map → chunk-OFD2HD6F.js.map} +1 -1
  132. package/dist/{chunk-2GHDLTPE.js → chunk-OGKMRIIJ.js} +2 -2
  133. package/dist/{chunk-N7EVQD5S.js → chunk-ONZ3B5EW.js} +4 -4
  134. package/dist/{chunk-VKI2EB3N.js → chunk-OOPSMQX5.js} +3 -3
  135. package/dist/{chunk-VMV5SBE4.js → chunk-OYEBSWLE.js} +5 -5
  136. package/dist/{chunk-JDEYF3PJ.js → chunk-P6FATPXQ.js} +2 -2
  137. package/dist/chunk-P6FATPXQ.js.map +1 -0
  138. package/dist/{chunk-VVOLDVIR.js → chunk-PLTIJDQN.js} +2 -2
  139. package/dist/{chunk-OKSTSITU.js → chunk-PR7ILCIH.js} +3 -3
  140. package/dist/{chunk-7R2Q7CPL.js → chunk-QE3TLZ6Z.js} +7 -7
  141. package/dist/{chunk-G2MVBDFP.js → chunk-QFW4MYGN.js} +39 -9
  142. package/dist/chunk-QFW4MYGN.js.map +1 -0
  143. package/dist/{chunk-6QVKPHBF.js → chunk-QHG7GQKM.js} +2 -2
  144. package/dist/chunk-QJNAHPVT.js +91 -0
  145. package/dist/chunk-QJNAHPVT.js.map +1 -0
  146. package/dist/{chunk-LIOVX5TJ.js → chunk-QT5ITL25.js} +3 -3
  147. package/dist/{chunk-IMQKWR46.js → chunk-R2ZULFXU.js} +4 -5
  148. package/dist/chunk-R2ZULFXU.js.map +1 -0
  149. package/dist/{chunk-Q2XRFWOI.js → chunk-RRTQAQ3N.js} +2 -2
  150. package/dist/{chunk-H23XHRTT.js → chunk-RUE6TCES.js} +809 -101
  151. package/dist/chunk-RUE6TCES.js.map +1 -0
  152. package/dist/chunk-RWFQVNXR.js +24 -0
  153. package/dist/chunk-RWFQVNXR.js.map +1 -0
  154. package/dist/{chunk-2PVXF5CS.js → chunk-SALY3LIJ.js} +3 -3
  155. package/dist/{chunk-JOSPH3E5.js → chunk-SBAR5JQ6.js} +2 -2
  156. package/dist/{chunk-N7UDP5VU.js → chunk-SCH2F7R2.js} +7 -7
  157. package/dist/{chunk-MXKI4ABF.js → chunk-SOOAW6HK.js} +3 -3
  158. package/dist/{chunk-VQDZYB2B.js → chunk-T4VTRKCY.js} +3 -3
  159. package/dist/{chunk-VQDZYB2B.js.map → chunk-T4VTRKCY.js.map} +1 -1
  160. package/dist/{chunk-TEHHROZL.js → chunk-T5EXREMW.js} +5 -5
  161. package/dist/{chunk-M5B2W6YY.js → chunk-TDJVQTXD.js} +3 -3
  162. package/dist/{chunk-QMWY2FDS.js → chunk-THQ3BHLM.js} +2 -2
  163. package/dist/{chunk-VAORSCSU.js → chunk-TLIFNRU5.js} +2 -2
  164. package/dist/chunk-TLIFNRU5.js.map +1 -0
  165. package/dist/{chunk-FVH5QYY2.js → chunk-TRHUNPXP.js} +2 -2
  166. package/dist/{chunk-EGVJ7TM4.js → chunk-UL6MTRMJ.js} +8 -9
  167. package/dist/chunk-UL6MTRMJ.js.map +1 -0
  168. package/dist/chunk-UNL6YGL5.js +169 -0
  169. package/dist/chunk-UNL6YGL5.js.map +1 -0
  170. package/dist/{chunk-747G6CT3.js → chunk-UORWAG7K.js} +2 -2
  171. package/dist/{chunk-XSPFDUDG.js → chunk-V7AKGAXY.js} +314 -77
  172. package/dist/chunk-V7AKGAXY.js.map +1 -0
  173. package/dist/{chunk-TZZBXPZK.js → chunk-VLQ6KT7F.js} +2 -2
  174. package/dist/{chunk-NCO25JZO.js → chunk-VP37VUKQ.js} +4 -4
  175. package/dist/{chunk-52MGURXO.js → chunk-WBUHHMLN.js} +2 -2
  176. package/dist/{chunk-EZGV6F47.js → chunk-WRLWEYHY.js} +7 -1
  177. package/dist/chunk-WRLWEYHY.js.map +1 -0
  178. package/dist/{chunk-2MG3SW7Q.js → chunk-X6Z2SIRF.js} +2 -2
  179. package/dist/{chunk-U2FZNEWJ.js → chunk-XLKWF3L4.js} +8 -6
  180. package/dist/{chunk-U2FZNEWJ.js.map → chunk-XLKWF3L4.js.map} +1 -1
  181. package/dist/{chunk-5UMK7GRI.js → chunk-XPNJH7GN.js} +5 -5
  182. package/dist/{chunk-KZXDLBY6.js → chunk-XPW7T2GN.js} +5 -5
  183. package/dist/{chunk-SV2PM2OY.js → chunk-XX4R7TUB.js} +1 -1
  184. package/dist/chunk-XX4R7TUB.js.map +1 -0
  185. package/dist/{chunk-NBQ3KK6X.js → chunk-Y55XHMQB.js} +4 -4
  186. package/dist/chunk-Y55XHMQB.js.map +1 -0
  187. package/dist/{chunk-5KC7QYEC.js → chunk-YH4OUOSI.js} +33 -7
  188. package/dist/chunk-YH4OUOSI.js.map +1 -0
  189. package/dist/{chunk-FFJFE4T7.js → chunk-YJGKOSQD.js} +2 -2
  190. package/dist/{chunk-2AFX33YA.js → chunk-Z3STG43F.js} +3 -3
  191. package/dist/chunk-Z3STG43F.js.map +1 -0
  192. package/dist/{chunk-OIEO4WDL.js → chunk-ZD7WFMV2.js} +2 -2
  193. package/dist/chunk-ZD7WFMV2.js.map +1 -0
  194. package/dist/{chunk-42ALPZ2B.js → chunk-ZF6JECDT.js} +4 -4
  195. package/dist/{chunk-42ALPZ2B.js.map → chunk-ZF6JECDT.js.map} +1 -1
  196. package/dist/{chunk-4JPMZTJY.js → chunk-ZF7KNSLU.js} +2 -2
  197. package/dist/{chunk-2ODVB6LZ.js → chunk-ZGKODRGB.js} +2 -2
  198. package/dist/{chunk-JIBUPZHA.js → chunk-ZNEKQFGF.js} +4 -4
  199. package/dist/{chunk-DLD5LGDS.js → chunk-ZUTUNVFD.js} +3 -3
  200. package/dist/{chunk-JSMTXZR3.js → chunk-ZWMOHANW.js} +8 -6
  201. package/dist/chunk-ZWMOHANW.js.map +1 -0
  202. package/dist/{chunk-MILI22XQ.js → chunk-ZZZ4VCY2.js} +10 -10
  203. package/dist/chunk-ZZZ4VCY2.js.map +1 -0
  204. package/dist/classified/index.js +5 -5
  205. package/dist/{classified-marker-SIYKUU5L.js → classified-marker-WKP33U2R.js} +3 -3
  206. package/dist/collection-facade-COSGZKLC.js +41 -0
  207. package/dist/{computed-FAD7SED4.js → computed-WN6V53ZV.js} +3 -3
  208. package/dist/consent/index.js +8 -8
  209. package/dist/cover/index.js +8 -8
  210. package/dist/coverage/index.js +1 -1
  211. package/dist/custody/index.js +12 -11
  212. package/dist/{dead-filter-4F3LWYKH.js → dead-filter-43WL3Y5H.js} +10 -10
  213. package/dist/debug/index.js +7 -7
  214. package/dist/delegation-5UWT4JGT.js +26 -0
  215. package/dist/derivations/index.js +24 -23
  216. package/dist/derive-IL5JNLEE.js +20 -0
  217. package/dist/directory/index.js +9 -9
  218. package/dist/{dispatch-JDZNGEB3.js → dispatch-LOQQD5JK.js} +20 -20
  219. package/dist/{dispatch-H4HV32AM.js → dispatch-SHKTG57L.js} +5 -5
  220. package/dist/executor-6PQ7WAGV.js +35 -0
  221. package/dist/executor-6ZPQA6HS.js +8 -0
  222. package/dist/executor-OXRA64TY.js +8 -0
  223. package/dist/export-accessible-XG3FKJWW.js +22 -0
  224. package/dist/extract-partition-33747NY5.js +35 -0
  225. package/dist/{fanout-sidecar-L7NHPIOC.js → fanout-sidecar-NEB6IYV7.js} +8 -8
  226. package/dist/find-VW543G3J.js +10 -0
  227. package/dist/forget/index.js +25 -8
  228. package/dist/forget/index.js.map +1 -1
  229. package/dist/guards/index.js +4 -4
  230. package/dist/history/index.js +15 -13
  231. package/dist/history/index.js.map +1 -1
  232. package/dist/i18n/index.js +13 -13
  233. package/dist/index.d.ts +9 -6
  234. package/dist/index.js +126 -110
  235. package/dist/index.js.map +1 -1
  236. package/dist/indexing/index.js +6 -6
  237. package/dist/introspection/index.js +15 -11
  238. package/dist/issue-4ZPSY44M.js +19 -0
  239. package/dist/kernel/cache/index.d.ts +1 -1
  240. package/dist/kernel/collection.d.ts +86 -6
  241. package/dist/kernel/constants.d.ts +7 -0
  242. package/dist/kernel/errors.d.ts +42 -4
  243. package/dist/kernel/export-scope.d.ts +40 -0
  244. package/dist/kernel/merge-authority.d.ts +5 -1
  245. package/dist/kernel/noydb.d.ts +118 -21
  246. package/dist/kernel/put-many-atomic.d.ts +1 -1
  247. package/dist/kernel/query/live/live.d.ts +2 -1
  248. package/dist/kernel/query/sort-key.d.ts +0 -2
  249. package/dist/kernel/rejection-seal.d.ts +13 -0
  250. package/dist/kernel/sync-wiring.d.ts +55 -0
  251. package/dist/kernel/tx-write-gate.d.ts +2 -4
  252. package/dist/kernel/types.d.ts +463 -14
  253. package/dist/kernel/validation.d.ts +0 -10
  254. package/dist/kernel/vault.d.ts +42 -4
  255. package/dist/kernel/via/reconcile.d.ts +1 -42
  256. package/dist/{ledger-5ZMGE44K.js → ledger-MZ25UFT2.js} +10 -10
  257. package/dist/liberate-OJIP2ZFX.js +25 -0
  258. package/dist/{link-set-MFXC24VK.js → link-set-4FRRAVTH.js} +10 -10
  259. package/dist/{managed-secret-MFTFT22X.js → managed-secret-SQWO2EUR.js} +9 -9
  260. package/dist/materialized-views/index.js +26 -26
  261. package/dist/{migrate-cek-DZRFFOHW.js → migrate-cek-JWEM4RP6.js} +2 -2
  262. package/dist/money/index.js +5 -5
  263. package/dist/noydb-U62OVKXB.js +100 -0
  264. package/dist/on/index.js +25 -0
  265. package/dist/overlay-views/index.js +4 -4
  266. package/dist/periods/index.js +11 -11
  267. package/dist/pod/index.js +71 -67
  268. package/dist/{pod-handle-A3LET7NO.js → pod-handle-R6Y4MILX.js} +8 -8
  269. package/dist/policy/index.js +9 -9
  270. package/dist/port/as/active.d.ts +4 -0
  271. package/dist/port/as/index.d.ts +1 -0
  272. package/dist/port/by/index.d.ts +14 -5
  273. package/dist/port/on/index.d.ts +26 -0
  274. package/dist/port/to/index.d.ts +1 -1
  275. package/dist/port/with/admission-authority.d.ts +34 -0
  276. package/dist/port/with/broker-strategy.d.ts +24 -0
  277. package/dist/port/with/coverage-strategy.d.ts +17 -1
  278. package/dist/port/with/formats-strategy.d.ts +34 -1
  279. package/dist/port/with/lookup-strategy.d.ts +85 -4
  280. package/dist/port/with/rejection-courier.d.ts +37 -0
  281. package/dist/port/with/restore-host.d.ts +33 -0
  282. package/dist/port/with/service-bus.d.ts +20 -1
  283. package/dist/port/with/team-strategy.d.ts +2 -2
  284. package/dist/port/with/write-hooks.d.ts +2 -0
  285. package/dist/portability/index.js +8 -8
  286. package/dist/{post-register-7ND27CF2.js → post-register-GRVQHBOH.js} +6 -6
  287. package/dist/query/all/index.js +16 -16
  288. package/dist/query/index.js +8 -8
  289. package/dist/query/live/index.js +7 -7
  290. package/dist/query/reduce/index.js +10 -10
  291. package/dist/query/relate/index.js +10 -10
  292. package/dist/reduce/index.js +8 -8
  293. package/dist/register-YJ5YLQ36.js +30 -0
  294. package/dist/registry-ICOHBQFD.js +8 -0
  295. package/dist/registry-MJ7MWCSW.js +35 -0
  296. package/dist/registry-MVEKKGWL.js +23 -0
  297. package/dist/registry-XP744FAP.js +8 -0
  298. package/dist/request-withdrawal-LSU4G6W3.js +28 -0
  299. package/dist/restore-to-DVBHAQAA.js +66 -0
  300. package/dist/restore-to-DVBHAQAA.js.map +1 -0
  301. package/dist/{reveal-B2TLP4JQ.js → reveal-AIHOIK2N.js} +7 -7
  302. package/dist/revoke-QUT7WWG3.js +24 -0
  303. package/dist/satellites/index.js +1 -1
  304. package/dist/schema-update/index.js +2 -2
  305. package/dist/sealed-record/index.js +11 -11
  306. package/dist/search/index.js +4 -4
  307. package/dist/{seed-XNSE4U3S.js → seed-GFLA4FCK.js} +136 -27
  308. package/dist/seed-GFLA4FCK.js.map +1 -0
  309. package/dist/sequence/index.js +8 -8
  310. package/dist/session/index.js +8 -8
  311. package/dist/shadow/index.js +2 -2
  312. package/dist/signer-NYR4I3FO.js +23 -0
  313. package/dist/snapshots/index.js +9 -9
  314. package/dist/{stale-6GCFMOOR.js → stale-PIJPAL5T.js} +9 -9
  315. package/dist/storage-VH6SPXHC.js +21 -0
  316. package/dist/{store-coordination-provider-C4BPT5XF.js → store-coordination-provider-2KSHCOPU.js} +9 -9
  317. package/dist/sync/index.js +19 -13
  318. package/dist/sync/index.js.map +1 -1
  319. package/dist/team/index.js +17 -15
  320. package/dist/tiers/index.js +10 -10
  321. package/dist/to/index.js +2 -2
  322. package/dist/transactions/index.js +3 -3
  323. package/dist/util/index.js +1 -1
  324. package/dist/vault-head/index.js +8 -8
  325. package/dist/{verify-UKALW7C2.js → verify-PCFS4PNS.js} +7 -7
  326. package/dist/via/classified/presets.d.ts +29 -0
  327. package/dist/via/classified/resolve.d.ts +7 -0
  328. package/dist/via/geo/binding.d.ts +0 -4
  329. package/dist/via/lookup/index.d.ts +32 -0
  330. package/dist/via/money/binding.d.ts +0 -9
  331. package/dist/walk-OZCN6LJS.js +20 -0
  332. package/dist/with-audit/attestation/strategy.d.ts +2 -1
  333. package/dist/with-audit/attestation/vault-facade.d.ts +7 -0
  334. package/dist/with-audit/forget/completeness.d.ts +66 -0
  335. package/dist/with-audit/forget/index.d.ts +2 -0
  336. package/dist/with-audit/forget/strategy.d.ts +65 -0
  337. package/dist/with-audit/guards/types.d.ts +2 -0
  338. package/dist/with-audit/periods/periods.d.ts +0 -9
  339. package/dist/with-audit/periods/reserved-collections.d.ts +7 -0
  340. package/dist/with-audit/portability/request-withdrawal.d.ts +0 -1
  341. package/dist/with-audit/portability/withdraw-accessible.d.ts +0 -1
  342. package/dist/with-audit/tiers/index.d.ts +6 -6
  343. package/dist/with-audit/tiers/strategy.d.ts +19 -0
  344. package/dist/with-cargo/extract-partition.d.ts +0 -46
  345. package/dist/with-commit/history/history.d.ts +16 -0
  346. package/dist/with-commit/history/restore-to.d.ts +40 -0
  347. package/dist/with-commit/numbering/index.d.ts +0 -2
  348. package/dist/with-commit/tx/transaction.d.ts +2 -24
  349. package/dist/with-commit/vault-head/strategy.d.ts +7 -0
  350. package/dist/with-fork/snapshots/noydb-facade.d.ts +7 -0
  351. package/dist/with-formula/derivations/trigger-match.d.ts +8 -5
  352. package/dist/with-formula/materialized-views/emit-memo.d.ts +0 -2
  353. package/dist/with-lookup/embeddings/index.d.ts +1 -2
  354. package/dist/with-lookup/indexing/collection-facade.d.ts +1 -15
  355. package/dist/with-lookup/indexing/eager-indexes.d.ts +2 -1
  356. package/dist/with-lookup/search/collection-facade.d.ts +0 -12
  357. package/dist/with-party/broker/index.d.ts +2 -2
  358. package/dist/with-party/broker/seed.d.ts +29 -10
  359. package/dist/with-party/custody/strategy.d.ts +2 -2
  360. package/dist/with-party/policy/noydb-facade.d.ts +1 -31
  361. package/dist/with-party/team/delegation.d.ts +93 -7
  362. package/dist/with-party/team/echo-secret.d.ts +0 -2
  363. package/dist/with-party/team/index.d.ts +2 -0
  364. package/dist/with-party/team/keyring.d.ts +133 -24
  365. package/dist/with-party/team/magic-link-grant.d.ts +11 -1
  366. package/dist/with-party/team/noydb-facade.d.ts +19 -2
  367. package/dist/with-party/team/reserved-secret-collections.d.ts +10 -8
  368. package/dist/with-party/team/roster-tag.d.ts +42 -1
  369. package/dist/with-party/team/tiers.d.ts +36 -5
  370. package/dist/with-pod/backup.d.ts +9 -17
  371. package/dist/with-shape/blobs/blob-set.d.ts +23 -0
  372. package/dist/with-shape/blobs/legacy-sweep.d.ts +16 -0
  373. package/dist/with-shape/introspection/describe.d.ts +1 -2
  374. package/dist/with-shape/introspection/index.d.ts +1 -0
  375. package/dist/with-shape/introspection/types.d.ts +2 -1
  376. package/dist/with-shape/schema-update/fence.d.ts +7 -0
  377. package/dist/with-sync/active.d.ts +28 -1
  378. package/dist/with-sync/engine.d.ts +88 -2
  379. package/dist/with-sync/index.d.ts +1 -0
  380. package/dist/with-sync/reserved-mirror.d.ts +112 -0
  381. package/dist/with-sync/strategy.d.ts +9 -0
  382. package/dist/with-sync/tab-write-relay.d.ts +0 -10
  383. package/dist/withdraw-accessible-MTFP7OIB.js +25 -0
  384. package/dist/withdraw-accessible-MTFP7OIB.js.map +1 -0
  385. package/package.json +3 -3
  386. package/dist/api-OS747DS4.js +0 -18
  387. package/dist/backup-YE2VQ26S.js.map +0 -1
  388. package/dist/chunk-2AFX33YA.js.map +0 -1
  389. package/dist/chunk-2RH777HH.js +0 -126
  390. package/dist/chunk-2RH777HH.js.map +0 -1
  391. package/dist/chunk-37EPTBBR.js.map +0 -1
  392. package/dist/chunk-5KC7QYEC.js.map +0 -1
  393. package/dist/chunk-7XMHMVTS.js +0 -20
  394. package/dist/chunk-7XMHMVTS.js.map +0 -1
  395. package/dist/chunk-A4XMIZT3.js.map +0 -1
  396. package/dist/chunk-DHHGL42E.js.map +0 -1
  397. package/dist/chunk-DQESF6RP.js.map +0 -1
  398. package/dist/chunk-EGVJ7TM4.js.map +0 -1
  399. package/dist/chunk-EYG2CY2X.js.map +0 -1
  400. package/dist/chunk-EZGV6F47.js.map +0 -1
  401. package/dist/chunk-FFWI7UH7.js.map +0 -1
  402. package/dist/chunk-G2MVBDFP.js.map +0 -1
  403. package/dist/chunk-GUZET4SG.js.map +0 -1
  404. package/dist/chunk-GZT3NQRA.js.map +0 -1
  405. package/dist/chunk-H23XHRTT.js.map +0 -1
  406. package/dist/chunk-H7JBY4P7.js.map +0 -1
  407. package/dist/chunk-IMQKWR46.js.map +0 -1
  408. package/dist/chunk-IUBMZPHM.js.map +0 -1
  409. package/dist/chunk-IUT3GWP3.js.map +0 -1
  410. package/dist/chunk-JDEYF3PJ.js.map +0 -1
  411. package/dist/chunk-JSMTXZR3.js.map +0 -1
  412. package/dist/chunk-LGNDFRYC.js.map +0 -1
  413. package/dist/chunk-LNSVGRHO.js.map +0 -1
  414. package/dist/chunk-MILI22XQ.js.map +0 -1
  415. package/dist/chunk-MXOQ5JCG.js.map +0 -1
  416. package/dist/chunk-NBQ3KK6X.js.map +0 -1
  417. package/dist/chunk-OIEO4WDL.js.map +0 -1
  418. package/dist/chunk-PD64727P.js.map +0 -1
  419. package/dist/chunk-RHVMZSUU.js.map +0 -1
  420. package/dist/chunk-SV2PM2OY.js.map +0 -1
  421. package/dist/chunk-T7IR4N2S.js.map +0 -1
  422. package/dist/chunk-UA372JHH.js.map +0 -1
  423. package/dist/chunk-UBSFPGVJ.js +0 -1
  424. package/dist/chunk-V3RWOOSO.js.map +0 -1
  425. package/dist/chunk-VAORSCSU.js.map +0 -1
  426. package/dist/chunk-XSPFDUDG.js.map +0 -1
  427. package/dist/chunk-Y3LPTBG7.js.map +0 -1
  428. package/dist/collection-facade-CS7CA2XO.js +0 -47
  429. package/dist/delegation-NANZDG4N.js +0 -102
  430. package/dist/delegation-NANZDG4N.js.map +0 -1
  431. package/dist/derive-XLOJVXPU.js +0 -20
  432. package/dist/executor-FMPVN6DT.js +0 -35
  433. package/dist/executor-LBBBRTN5.js +0 -8
  434. package/dist/executor-OSRZST2U.js +0 -8
  435. package/dist/export-accessible-RAOJAAU5.js +0 -22
  436. package/dist/extract-partition-JD5CUSTG.js +0 -37
  437. package/dist/find-JRN4RNQ5.js +0 -10
  438. package/dist/issue-YIVBZUTH.js +0 -19
  439. package/dist/liberate-WZSZM2W6.js +0 -24
  440. package/dist/noydb-ITIGNKUF.js +0 -96
  441. package/dist/register-DT5HZ2LZ.js +0 -30
  442. package/dist/registry-BHRZGZHF.js +0 -8
  443. package/dist/registry-ET6ZFFWA.js +0 -34
  444. package/dist/registry-HXFGLGTG.js +0 -8
  445. package/dist/registry-THCPDEOD.js +0 -23
  446. package/dist/request-withdrawal-AV2MJJKY.js +0 -30
  447. package/dist/revoke-6DWIEOCV.js +0 -24
  448. package/dist/seed-XNSE4U3S.js.map +0 -1
  449. package/dist/signer-MHGW3OIL.js +0 -23
  450. package/dist/storage-BYN5LO6Z.js +0 -21
  451. package/dist/walk-4VPK7AS4.js +0 -20
  452. package/dist/withdraw-accessible-HL7GACUE.js +0 -27
  453. /package/dist/{api-OS747DS4.js.map → api-6EFD43KN.js.map} +0 -0
  454. /package/dist/{capsule-VOLX3QRQ.js.map → capsule-6LJAVQNM.js.map} +0 -0
  455. /package/dist/{chunk-OYW3I5M4.js.map → chunk-2DOCDOPL.js.map} +0 -0
  456. /package/dist/{chunk-UBSFPGVJ.js.map → chunk-2DX4JCRI.js.map} +0 -0
  457. /package/dist/{chunk-FLPCETP6.js.map → chunk-2LBS62AC.js.map} +0 -0
  458. /package/dist/{chunk-WXE4W2U6.js.map → chunk-2ST3WA3C.js.map} +0 -0
  459. /package/dist/{chunk-O2IMQSNA.js.map → chunk-3YBIVLTC.js.map} +0 -0
  460. /package/dist/{chunk-DIZLQVAA.js.map → chunk-4CHM2TRS.js.map} +0 -0
  461. /package/dist/{chunk-V7ADQF5O.js.map → chunk-4CUJLEOA.js.map} +0 -0
  462. /package/dist/{chunk-3EWS67C7.js.map → chunk-4TG2ITRW.js.map} +0 -0
  463. /package/dist/{chunk-HS554XAF.js.map → chunk-5HQFROZS.js.map} +0 -0
  464. /package/dist/{chunk-PP3K67AJ.js.map → chunk-654RE5YC.js.map} +0 -0
  465. /package/dist/{chunk-FOEDQATO.js.map → chunk-66GD7XXU.js.map} +0 -0
  466. /package/dist/{chunk-BNWA3WG5.js.map → chunk-72FQ46VW.js.map} +0 -0
  467. /package/dist/{chunk-JQYKPKG6.js.map → chunk-7K42TSCY.js.map} +0 -0
  468. /package/dist/{chunk-UEFOQH74.js.map → chunk-ADCXTW7L.js.map} +0 -0
  469. /package/dist/{chunk-MBMTND6D.js.map → chunk-AGGPT4UE.js.map} +0 -0
  470. /package/dist/{chunk-RB4DOPGZ.js.map → chunk-AKIEBFIJ.js.map} +0 -0
  471. /package/dist/{chunk-VHBKYN2J.js.map → chunk-B3B6HV5S.js.map} +0 -0
  472. /package/dist/{chunk-JWWYRR4Q.js.map → chunk-B6EWMGFX.js.map} +0 -0
  473. /package/dist/{chunk-WPOYWFSE.js.map → chunk-BJRKXNFP.js.map} +0 -0
  474. /package/dist/{chunk-H427H63K.js.map → chunk-BPQ5CRJF.js.map} +0 -0
  475. /package/dist/{chunk-VFHCKG5M.js.map → chunk-BVRJYMFZ.js.map} +0 -0
  476. /package/dist/{chunk-SMV2HRDU.js.map → chunk-DFC4WTJW.js.map} +0 -0
  477. /package/dist/{chunk-5A4345TG.js.map → chunk-DMIEKD24.js.map} +0 -0
  478. /package/dist/{chunk-TKVUE4JF.js.map → chunk-DQAXA2GK.js.map} +0 -0
  479. /package/dist/{chunk-AL6ML4LA.js.map → chunk-DWCFGF2K.js.map} +0 -0
  480. /package/dist/{chunk-QBLT6POL.js.map → chunk-FPF5HRBE.js.map} +0 -0
  481. /package/dist/{chunk-5WWDGFOS.js.map → chunk-GIQJGXV7.js.map} +0 -0
  482. /package/dist/{chunk-BVCUTXE3.js.map → chunk-H334G6KU.js.map} +0 -0
  483. /package/dist/{chunk-AEQGFRU4.js.map → chunk-HE7EAHGS.js.map} +0 -0
  484. /package/dist/{chunk-4V3Q35WG.js.map → chunk-ICF3TIGY.js.map} +0 -0
  485. /package/dist/{chunk-3L2NBKDR.js.map → chunk-IF2M43G4.js.map} +0 -0
  486. /package/dist/{chunk-AUKKUPVB.js.map → chunk-IVLRPRXM.js.map} +0 -0
  487. /package/dist/{chunk-Y2RKVFKR.js.map → chunk-K4JSTGXT.js.map} +0 -0
  488. /package/dist/{chunk-EJLV62NI.js.map → chunk-KN4LUMH6.js.map} +0 -0
  489. /package/dist/{chunk-23D6M6VM.js.map → chunk-KZA3DITX.js.map} +0 -0
  490. /package/dist/{chunk-E2N2T5ZO.js.map → chunk-L2VM64HK.js.map} +0 -0
  491. /package/dist/{chunk-O46CHQT7.js.map → chunk-MAQBYBUX.js.map} +0 -0
  492. /package/dist/{chunk-EZOAKKTB.js.map → chunk-MBPZMZVB.js.map} +0 -0
  493. /package/dist/{chunk-XQRFSKYM.js.map → chunk-MCNNZBG7.js.map} +0 -0
  494. /package/dist/{chunk-YRXFFWG4.js.map → chunk-MLVPMDOZ.js.map} +0 -0
  495. /package/dist/{chunk-5FE75J4S.js.map → chunk-MMCN7TLK.js.map} +0 -0
  496. /package/dist/{chunk-SYNY3VB5.js.map → chunk-NCTN2FW4.js.map} +0 -0
  497. /package/dist/{chunk-4T3SE27M.js.map → chunk-ND6S2DKC.js.map} +0 -0
  498. /package/dist/{chunk-3XJQBBZD.js.map → chunk-NTVKHQ3L.js.map} +0 -0
  499. /package/dist/{chunk-Q4UHJ5SN.js.map → chunk-O2VQ3K36.js.map} +0 -0
  500. /package/dist/{chunk-2GHDLTPE.js.map → chunk-OGKMRIIJ.js.map} +0 -0
  501. /package/dist/{chunk-N7EVQD5S.js.map → chunk-ONZ3B5EW.js.map} +0 -0
  502. /package/dist/{chunk-VKI2EB3N.js.map → chunk-OOPSMQX5.js.map} +0 -0
  503. /package/dist/{chunk-VMV5SBE4.js.map → chunk-OYEBSWLE.js.map} +0 -0
  504. /package/dist/{chunk-VVOLDVIR.js.map → chunk-PLTIJDQN.js.map} +0 -0
  505. /package/dist/{chunk-OKSTSITU.js.map → chunk-PR7ILCIH.js.map} +0 -0
  506. /package/dist/{chunk-7R2Q7CPL.js.map → chunk-QE3TLZ6Z.js.map} +0 -0
  507. /package/dist/{chunk-6QVKPHBF.js.map → chunk-QHG7GQKM.js.map} +0 -0
  508. /package/dist/{chunk-LIOVX5TJ.js.map → chunk-QT5ITL25.js.map} +0 -0
  509. /package/dist/{chunk-Q2XRFWOI.js.map → chunk-RRTQAQ3N.js.map} +0 -0
  510. /package/dist/{chunk-2PVXF5CS.js.map → chunk-SALY3LIJ.js.map} +0 -0
  511. /package/dist/{chunk-JOSPH3E5.js.map → chunk-SBAR5JQ6.js.map} +0 -0
  512. /package/dist/{chunk-N7UDP5VU.js.map → chunk-SCH2F7R2.js.map} +0 -0
  513. /package/dist/{chunk-MXKI4ABF.js.map → chunk-SOOAW6HK.js.map} +0 -0
  514. /package/dist/{chunk-TEHHROZL.js.map → chunk-T5EXREMW.js.map} +0 -0
  515. /package/dist/{chunk-M5B2W6YY.js.map → chunk-TDJVQTXD.js.map} +0 -0
  516. /package/dist/{chunk-QMWY2FDS.js.map → chunk-THQ3BHLM.js.map} +0 -0
  517. /package/dist/{chunk-FVH5QYY2.js.map → chunk-TRHUNPXP.js.map} +0 -0
  518. /package/dist/{chunk-747G6CT3.js.map → chunk-UORWAG7K.js.map} +0 -0
  519. /package/dist/{chunk-TZZBXPZK.js.map → chunk-VLQ6KT7F.js.map} +0 -0
  520. /package/dist/{chunk-NCO25JZO.js.map → chunk-VP37VUKQ.js.map} +0 -0
  521. /package/dist/{chunk-52MGURXO.js.map → chunk-WBUHHMLN.js.map} +0 -0
  522. /package/dist/{chunk-2MG3SW7Q.js.map → chunk-X6Z2SIRF.js.map} +0 -0
  523. /package/dist/{chunk-5UMK7GRI.js.map → chunk-XPNJH7GN.js.map} +0 -0
  524. /package/dist/{chunk-KZXDLBY6.js.map → chunk-XPW7T2GN.js.map} +0 -0
  525. /package/dist/{chunk-FFJFE4T7.js.map → chunk-YJGKOSQD.js.map} +0 -0
  526. /package/dist/{chunk-4JPMZTJY.js.map → chunk-ZF7KNSLU.js.map} +0 -0
  527. /package/dist/{chunk-2ODVB6LZ.js.map → chunk-ZGKODRGB.js.map} +0 -0
  528. /package/dist/{chunk-JIBUPZHA.js.map → chunk-ZNEKQFGF.js.map} +0 -0
  529. /package/dist/{chunk-DLD5LGDS.js.map → chunk-ZUTUNVFD.js.map} +0 -0
  530. /package/dist/{classified-marker-SIYKUU5L.js.map → classified-marker-WKP33U2R.js.map} +0 -0
  531. /package/dist/{collection-facade-CS7CA2XO.js.map → collection-facade-COSGZKLC.js.map} +0 -0
  532. /package/dist/{computed-FAD7SED4.js.map → computed-WN6V53ZV.js.map} +0 -0
  533. /package/dist/{dead-filter-4F3LWYKH.js.map → dead-filter-43WL3Y5H.js.map} +0 -0
  534. /package/dist/{derive-XLOJVXPU.js.map → delegation-5UWT4JGT.js.map} +0 -0
  535. /package/dist/{executor-FMPVN6DT.js.map → derive-IL5JNLEE.js.map} +0 -0
  536. /package/dist/{dispatch-JDZNGEB3.js.map → dispatch-LOQQD5JK.js.map} +0 -0
  537. /package/dist/{dispatch-H4HV32AM.js.map → dispatch-SHKTG57L.js.map} +0 -0
  538. /package/dist/{executor-LBBBRTN5.js.map → executor-6PQ7WAGV.js.map} +0 -0
  539. /package/dist/{executor-OSRZST2U.js.map → executor-6ZPQA6HS.js.map} +0 -0
  540. /package/dist/{export-accessible-RAOJAAU5.js.map → executor-OXRA64TY.js.map} +0 -0
  541. /package/dist/{extract-partition-JD5CUSTG.js.map → export-accessible-XG3FKJWW.js.map} +0 -0
  542. /package/dist/{find-JRN4RNQ5.js.map → extract-partition-33747NY5.js.map} +0 -0
  543. /package/dist/{fanout-sidecar-L7NHPIOC.js.map → fanout-sidecar-NEB6IYV7.js.map} +0 -0
  544. /package/dist/{issue-YIVBZUTH.js.map → find-VW543G3J.js.map} +0 -0
  545. /package/dist/{ledger-5ZMGE44K.js.map → issue-4ZPSY44M.js.map} +0 -0
  546. /package/dist/{liberate-WZSZM2W6.js.map → ledger-MZ25UFT2.js.map} +0 -0
  547. /package/dist/{link-set-MFXC24VK.js.map → liberate-OJIP2ZFX.js.map} +0 -0
  548. /package/dist/{managed-secret-MFTFT22X.js.map → link-set-4FRRAVTH.js.map} +0 -0
  549. /package/dist/{noydb-ITIGNKUF.js.map → managed-secret-SQWO2EUR.js.map} +0 -0
  550. /package/dist/{migrate-cek-DZRFFOHW.js.map → migrate-cek-JWEM4RP6.js.map} +0 -0
  551. /package/dist/{register-DT5HZ2LZ.js.map → noydb-U62OVKXB.js.map} +0 -0
  552. /package/dist/{pod-handle-A3LET7NO.js.map → pod-handle-R6Y4MILX.js.map} +0 -0
  553. /package/dist/{post-register-7ND27CF2.js.map → post-register-GRVQHBOH.js.map} +0 -0
  554. /package/dist/{registry-BHRZGZHF.js.map → register-YJ5YLQ36.js.map} +0 -0
  555. /package/dist/{registry-ET6ZFFWA.js.map → registry-ICOHBQFD.js.map} +0 -0
  556. /package/dist/{registry-HXFGLGTG.js.map → registry-MJ7MWCSW.js.map} +0 -0
  557. /package/dist/{registry-THCPDEOD.js.map → registry-MVEKKGWL.js.map} +0 -0
  558. /package/dist/{request-withdrawal-AV2MJJKY.js.map → registry-XP744FAP.js.map} +0 -0
  559. /package/dist/{revoke-6DWIEOCV.js.map → request-withdrawal-LSU4G6W3.js.map} +0 -0
  560. /package/dist/{reveal-B2TLP4JQ.js.map → reveal-AIHOIK2N.js.map} +0 -0
  561. /package/dist/{signer-MHGW3OIL.js.map → revoke-QUT7WWG3.js.map} +0 -0
  562. /package/dist/{stale-6GCFMOOR.js.map → signer-NYR4I3FO.js.map} +0 -0
  563. /package/dist/{storage-BYN5LO6Z.js.map → stale-PIJPAL5T.js.map} +0 -0
  564. /package/dist/{walk-4VPK7AS4.js.map → storage-VH6SPXHC.js.map} +0 -0
  565. /package/dist/{store-coordination-provider-C4BPT5XF.js.map → store-coordination-provider-2KSHCOPU.js.map} +0 -0
  566. /package/dist/{verify-UKALW7C2.js.map → verify-PCFS4PNS.js.map} +0 -0
  567. /package/dist/{withdraw-accessible-HL7GACUE.js.map → walk-OZCN6LJS.js.map} +0 -0
package/dist/pod/index.js CHANGED
@@ -5,47 +5,50 @@ import {
5
5
  signRedirect,
6
6
  verifyRedirect,
7
7
  wrapPodStore
8
- } from "../chunk-7R2Q7CPL.js";
9
- import "../chunk-MXOQ5JCG.js";
8
+ } from "../chunk-QE3TLZ6Z.js";
9
+ import "../chunk-MRCR7ZMC.js";
10
10
  import {
11
11
  deriveSchemaManifest,
12
12
  loadSchemaManifestEntry
13
- } from "../chunk-TEHHROZL.js";
13
+ } from "../chunk-T5EXREMW.js";
14
14
  import {
15
15
  MANIFEST_COLLECTION,
16
16
  isManifestReservedCollection
17
17
  } from "../chunk-EPFF7LOX.js";
18
- import "../chunk-Q4UHJ5SN.js";
19
- import "../chunk-XQRFSKYM.js";
20
- import "../chunk-JOSPH3E5.js";
21
- import "../chunk-VAORSCSU.js";
22
- import "../chunk-Y3LPTBG7.js";
23
- import "../chunk-2MG3SW7Q.js";
18
+ import "../chunk-O2VQ3K36.js";
19
+ import "../chunk-MCNNZBG7.js";
20
+ import "../chunk-SBAR5JQ6.js";
21
+ import "../chunk-TLIFNRU5.js";
22
+ import "../chunk-UNL6YGL5.js";
23
+ import "../chunk-E2C6FFSI.js";
24
+ import "../chunk-X6Z2SIRF.js";
24
25
  import "../chunk-6LJY7X5A.js";
25
- import "../chunk-DHHGL42E.js";
26
- import "../chunk-AUKKUPVB.js";
27
- import "../chunk-52MGURXO.js";
28
- import "../chunk-3XJQBBZD.js";
29
- import "../chunk-DIZLQVAA.js";
26
+ import "../chunk-IKS2CPAG.js";
27
+ import "../chunk-IVLRPRXM.js";
28
+ import "../chunk-WBUHHMLN.js";
29
+ import "../chunk-NTVKHQ3L.js";
30
+ import "../chunk-4CHM2TRS.js";
31
+ import "../chunk-RWFQVNXR.js";
30
32
  import "../chunk-RXLYKVTF.js";
31
- import "../chunk-V3RWOOSO.js";
32
- import "../chunk-IUT3GWP3.js";
33
+ import "../chunk-GYZICGRU.js";
34
+ import "../chunk-IUD7WU67.js";
33
35
  import "../chunk-TFMM5DBB.js";
34
- import "../chunk-M5B2W6YY.js";
35
- import "../chunk-GUZET4SG.js";
36
+ import "../chunk-TDJVQTXD.js";
37
+ import "../chunk-JAQHWHUN.js";
38
+ import "../chunk-QJNAHPVT.js";
36
39
  import "../chunk-VYYM3MEN.js";
37
- import "../chunk-747G6CT3.js";
40
+ import "../chunk-UORWAG7K.js";
38
41
  import "../chunk-Y2NBBT6K.js";
39
- import "../chunk-3L2NBKDR.js";
40
- import "../chunk-MILI22XQ.js";
41
- import "../chunk-244QBK7Z.js";
42
- import "../chunk-HS554XAF.js";
43
- import "../chunk-T7IR4N2S.js";
44
- import "../chunk-PD64727P.js";
45
- import "../chunk-RHVMZSUU.js";
46
- import "../chunk-3A5DUZ56.js";
42
+ import "../chunk-IF2M43G4.js";
43
+ import "../chunk-ZZZ4VCY2.js";
44
+ import "../chunk-C4XV3PSJ.js";
45
+ import "../chunk-5HQFROZS.js";
46
+ import "../chunk-7UHLO4ZN.js";
47
+ import "../chunk-FMINS2B6.js";
48
+ import "../chunk-NV4OESHC.js";
49
+ import "../chunk-IMIQAGR7.js";
47
50
  import "../chunk-GHVIKOHT.js";
48
- import "../chunk-QBLT6POL.js";
51
+ import "../chunk-FPF5HRBE.js";
49
52
  import "../chunk-SMY5X46Z.js";
50
53
  import "../chunk-DZFQVICS.js";
51
54
  import {
@@ -71,64 +74,65 @@ import {
71
74
  verifyPodHeader,
72
75
  verifyRecord,
73
76
  writePod
74
- } from "../chunk-KZXDLBY6.js";
75
- import "../chunk-5A4345TG.js";
77
+ } from "../chunk-XPW7T2GN.js";
78
+ import "../chunk-DMIEKD24.js";
76
79
  import "../chunk-GMKGGY7V.js";
77
- import "../chunk-UA372JHH.js";
80
+ import "../chunk-FZVCZEVI.js";
78
81
  import "../chunk-5D2ALSM5.js";
79
- import "../chunk-RB4DOPGZ.js";
82
+ import "../chunk-AKIEBFIJ.js";
80
83
  import "../chunk-AURFOK3D.js";
81
84
  import "../chunk-NYMLINRP.js";
82
- import "../chunk-VFHCKG5M.js";
83
- import "../chunk-JSMTXZR3.js";
84
- import "../chunk-G2MVBDFP.js";
85
- import "../chunk-V7ADQF5O.js";
85
+ import "../chunk-BVRJYMFZ.js";
86
+ import "../chunk-ZWMOHANW.js";
87
+ import "../chunk-QFW4MYGN.js";
88
+ import "../chunk-4CUJLEOA.js";
86
89
  import "../chunk-66TQOPFM.js";
87
90
  import "../chunk-V4PXLYWM.js";
88
91
  import "../chunk-XZHEOSQ2.js";
89
92
  import "../chunk-PVEWA2DU.js";
90
93
  import "../chunk-GSAK56VF.js";
91
- import "../chunk-UEFOQH74.js";
94
+ import "../chunk-ADCXTW7L.js";
92
95
  import "../chunk-BKT776R5.js";
93
- import "../chunk-2AFX33YA.js";
94
- import "../chunk-3EWS67C7.js";
96
+ import "../chunk-Z3STG43F.js";
97
+ import "../chunk-4TG2ITRW.js";
95
98
  import "../chunk-SUZKW6UR.js";
96
99
  import "../chunk-XBKH4FOC.js";
97
- import "../chunk-LGNDFRYC.js";
98
- import "../chunk-JQYKPKG6.js";
99
- import "../chunk-AL6ML4LA.js";
100
+ import "../chunk-4CFHL5RY.js";
101
+ import "../chunk-7K42TSCY.js";
102
+ import "../chunk-DWCFGF2K.js";
100
103
  import "../chunk-3TDUWVWB.js";
101
- import "../chunk-FOEDQATO.js";
102
- import "../chunk-5WWDGFOS.js";
103
- import "../chunk-2GHDLTPE.js";
104
- import "../chunk-23D6M6VM.js";
105
- import "../chunk-OKSTSITU.js";
106
- import "../chunk-SYNY3VB5.js";
107
- import "../chunk-DQESF6RP.js";
108
- import "../chunk-VHBKYN2J.js";
109
- import "../chunk-XSPFDUDG.js";
110
- import "../chunk-LIOVX5TJ.js";
111
- import "../chunk-7XMHMVTS.js";
112
- import "../chunk-GZT3NQRA.js";
104
+ import "../chunk-66GD7XXU.js";
105
+ import "../chunk-GIQJGXV7.js";
106
+ import "../chunk-OGKMRIIJ.js";
107
+ import "../chunk-KZA3DITX.js";
108
+ import "../chunk-PR7ILCIH.js";
109
+ import "../chunk-NCTN2FW4.js";
110
+ import "../chunk-3G3GOGZZ.js";
111
+ import "../chunk-B3B6HV5S.js";
112
+ import "../chunk-V7AKGAXY.js";
113
+ import "../chunk-QT5ITL25.js";
114
+ import "../chunk-NXQEOC3X.js";
115
+ import "../chunk-25FXU6WS.js";
113
116
  import "../chunk-VKQCVU2Z.js";
114
117
  import {
115
118
  generateULID,
116
119
  isULID
117
120
  } from "../chunk-4AOERLTV.js";
118
- import "../chunk-LNSVGRHO.js";
119
- import "../chunk-N7EVQD5S.js";
121
+ import "../chunk-L4UL4IAR.js";
122
+ import "../chunk-EQ6C2ZPT.js";
123
+ import "../chunk-ONZ3B5EW.js";
120
124
  import "../chunk-I7FD46FF.js";
121
- import "../chunk-6QVKPHBF.js";
122
- import "../chunk-FLPCETP6.js";
123
- import "../chunk-HW7CMKUG.js";
124
- import "../chunk-JDEYF3PJ.js";
125
- import "../chunk-EZGV6F47.js";
126
- import "../chunk-OIEO4WDL.js";
127
- import "../chunk-Q2XRFWOI.js";
125
+ import "../chunk-QHG7GQKM.js";
126
+ import "../chunk-2LBS62AC.js";
127
+ import "../chunk-OFD2HD6F.js";
128
+ import "../chunk-P6FATPXQ.js";
129
+ import "../chunk-WRLWEYHY.js";
130
+ import "../chunk-ZD7WFMV2.js";
131
+ import "../chunk-RRTQAQ3N.js";
128
132
  import "../chunk-NH2UOV3B.js";
129
- import "../chunk-42ALPZ2B.js";
130
- import "../chunk-QMWY2FDS.js";
131
- import "../chunk-SV2PM2OY.js";
133
+ import "../chunk-ZF6JECDT.js";
134
+ import "../chunk-THQ3BHLM.js";
135
+ import "../chunk-XX4R7TUB.js";
132
136
  import {
133
137
  BackupCorruptedError,
134
138
  BackupLedgerError,
@@ -142,7 +146,7 @@ import {
142
146
  RedirectDepthExceededError,
143
147
  RedirectLoopError,
144
148
  RedirectUnreachableError
145
- } from "../chunk-37EPTBBR.js";
149
+ } from "../chunk-IKPQ2GGB.js";
146
150
  export {
147
151
  BackupCorruptedError,
148
152
  BackupLedgerError,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildRecordEnvelope
3
- } from "./chunk-EZGV6F47.js";
4
- import "./chunk-OIEO4WDL.js";
5
- import "./chunk-Q2XRFWOI.js";
3
+ } from "./chunk-WRLWEYHY.js";
4
+ import "./chunk-ZD7WFMV2.js";
5
+ import "./chunk-RRTQAQ3N.js";
6
6
  import "./chunk-NH2UOV3B.js";
7
- import "./chunk-42ALPZ2B.js";
8
- import "./chunk-QMWY2FDS.js";
9
- import "./chunk-SV2PM2OY.js";
10
- import "./chunk-37EPTBBR.js";
7
+ import "./chunk-ZF6JECDT.js";
8
+ import "./chunk-THQ3BHLM.js";
9
+ import "./chunk-XX4R7TUB.js";
10
+ import "./chunk-IKPQ2GGB.js";
11
11
 
12
12
  // src/with-pod/pod-handle.ts
13
13
  async function buildPodHandle(adapter, name) {
@@ -36,4 +36,4 @@ async function buildPodHandle(adapter, name) {
36
36
  export {
37
37
  buildPodHandle
38
38
  };
39
- //# sourceMappingURL=pod-handle-A3LET7NO.js.map
39
+ //# sourceMappingURL=pod-handle-R6Y4MILX.js.map
@@ -6,26 +6,26 @@ import {
6
6
  createNoydbPolicy,
7
7
  describeGate,
8
8
  mergePolicy
9
- } from "../chunk-VQDZYB2B.js";
9
+ } from "../chunk-T4VTRKCY.js";
10
10
  import {
11
11
  META_COLLECTION,
12
12
  POLICY_RECORD_ID,
13
13
  loadVaultPolicy,
14
14
  saveVaultPolicy
15
- } from "../chunk-VHBKYN2J.js";
16
- import "../chunk-EZGV6F47.js";
17
- import "../chunk-OIEO4WDL.js";
18
- import "../chunk-Q2XRFWOI.js";
15
+ } from "../chunk-B3B6HV5S.js";
16
+ import "../chunk-WRLWEYHY.js";
17
+ import "../chunk-ZD7WFMV2.js";
18
+ import "../chunk-RRTQAQ3N.js";
19
19
  import "../chunk-NH2UOV3B.js";
20
- import "../chunk-42ALPZ2B.js";
21
- import "../chunk-QMWY2FDS.js";
22
- import "../chunk-SV2PM2OY.js";
20
+ import "../chunk-ZF6JECDT.js";
21
+ import "../chunk-THQ3BHLM.js";
22
+ import "../chunk-XX4R7TUB.js";
23
23
  import {
24
24
  ManagedRecoveryNotEnrolledError,
25
25
  PolicyDeniedError,
26
26
  RecoveryNotEnrolledError,
27
27
  RecoveryProfileNotImplementedError
28
- } from "../chunk-37EPTBBR.js";
28
+ } from "../chunk-IKPQ2GGB.js";
29
29
  export {
30
30
  DEFAULT_FRESHNESS_MS,
31
31
  META_COLLECTION,
@@ -6,5 +6,9 @@ import type { FormatsStrategy } from '../with/formats-strategy.js';
6
6
  * const db = await createNoydb({ store, user, secret, formatsStrategy: withFormats() })
7
7
  * const csv = await vault.export(asCsv(), { collections: ['invoices'] })
8
8
  * ```
9
+ *
10
+ * ⭐ `collections` scopes the READ: an excluded collection is neither fetched
11
+ * nor decrypted (core#45b, since 0.8 — through 0.7 it filtered output after a
12
+ * full decrypt).
9
13
  */
10
14
  export declare function withFormats(): FormatsStrategy;
@@ -28,5 +28,6 @@
28
28
  * Named re-exports only (no `export *`) so the published surface is explicit.
29
29
  */
30
30
  export { withFormats } from './active.js';
31
+ export { FormatsNotEnabledError } from '../with/formats-strategy.js';
31
32
  export type { FormatsStrategy, FormatExportOptions, FormatImportOptions, } from '../with/formats-strategy.js';
32
33
  export type { NoydbFormat, DecodedChunk, ImportPolicy, ImportPlan, ExportChunk, ExportFormat, VaultDiff, } from './types.js';
@@ -8,11 +8,19 @@
8
8
  *
9
9
  * `StoreMesh` — the store-polling default — lives in
10
10
  * `with-shape/schema-update`, its only consumer, and is intentionally NOT
11
- * exported here. That is a real cost, recorded rather than worked around: it
12
- * is hub's own implementation of this port and the one most consumers actually
13
- * run, and because it is not on the published surface,
14
- * `@noy-db/test-mesh-conformance` cannot import it. **A port's in-hub default
15
- * is coverable by its published kit only if it is on the published surface.**
11
+ * exported here. It is hub's own implementation of this port and the one most
12
+ * consumers actually run, and `@noy-db/test-mesh-conformance` cannot import
13
+ * it.
14
+ *
15
+ * ⚠️ That was recorded here as a coverage cost, generalised to *"a port's
16
+ * in-hub default is coverable by its published kit only if it is on the
17
+ * published surface"*. The generalisation is FALSE and the kit now proves it
18
+ * (core#46): `createNoydb()` installs this default and `db.mesh` hands it
19
+ * back, so the kit runs the contract against `StoreMesh` — two clients over
20
+ * one store — while importing nothing from `with-shape/`. **REACHABILITY
21
+ * decides, not exportedness**, and the two come apart wherever a port's
22
+ * default is installed by a constructor. The export decision below is
23
+ * unchanged; only the cost attributed to it was wrong.
16
24
  *
17
25
  * ## Why this subpath exists again
18
26
  *
@@ -36,4 +44,5 @@
36
44
  * sends a consumer — this is additive, and that row stays true.
37
45
  */
38
46
  export { isQuorum, runDrainBarrier } from './types.js';
47
+ export type { Unsubscribe } from '../with/write-hooks.js';
39
48
  export type { NoydbMesh, WriterPresence, FenceDoc, DrainBarrierOptions, } from './types.js';
@@ -22,6 +22,29 @@
22
22
  * that every package in the family binds it — `/to` already carries two
23
23
  * instance types, and nobody reads that as one contract.
24
24
  *
25
+ * ## The charter: contracts an unlock method implements AND the API a player calls
26
+ *
27
+ * Both halves, deliberately. A method implementer binds the callback types
28
+ * ({@link SlotRewrapCeremony}) and never drives a ceremony; an unlock *player*
29
+ * — the app running the anti-phishing echo flow — calls
30
+ * {@link beginEchoUnlock} and catches what it throws. Until 0.8.x the echo
31
+ * half lived on the root barrel alone, so a player naming an
32
+ * {@link EchoCeremony} still had to import the whole library to obtain one,
33
+ * and the seam removed nothing.
34
+ *
35
+ * ⛔ Do not re-narrow this to types-only. `/on` held no value export until
36
+ * now, which reads like a rule and was an accident of what the extraction
37
+ * happened to need — `/to` exports four, `/at` two, `/as` and `/by` one each.
38
+ * **A seam a consumer cannot bind alone is not a seam**, so the function and
39
+ * the errors a player catches belong here with the types.
40
+ *
41
+ * ⚠️ The three error classes are re-exported from the root barrel too, and
42
+ * `instanceof` must hold across both. That is exactly the case
43
+ * `tsup.config.ts`'s `splitting: true` protects: shared modules become one
44
+ * chunk with one class definition, so an `EchoCeremonyRequiredError` thrown
45
+ * through `dist/index.js` still matches the class imported from
46
+ * `dist/on/index.js`. Do not "simplify" that build flag.
47
+ *
25
48
  * ## Why it exists NOW and did not before
26
49
  *
27
50
  * `/on` shipped in 0.3.0 and was pruned in 0.4.0 for "zero importers",
@@ -48,3 +71,6 @@ export type { SlotRewrapCeremony, SlotRewrapContext, EnrollAuthenticatorOptions,
48
71
  export type { KeyringAuthenticator } from '../../kernel/types.js';
49
72
  export type { UnlockedKeyring } from '../../with-party/team/keyring.js';
50
73
  export type { EnclaveKey } from '../../capsule/index.js';
74
+ export type { EchoCeremony, BeginEchoUnlockOptions } from '../../with-party/team/echo-ceremony.js';
75
+ export { beginEchoUnlock } from '../../with-party/team/echo-ceremony.js';
76
+ export { EchoCeremonyRequiredError, WrongPromptError, WrongEchoError } from '../../kernel/errors.js';
@@ -16,7 +16,7 @@
16
16
  * tsup's per-entry bundling keeps class identity stable across subpaths.
17
17
  */
18
18
  import type { NoydbStore as NoydbStoreType } from '../../kernel/types.js';
19
- export type { NoydbStore, NoydbPodStore, Envelope, EncryptedEnvelope, VaultSnapshot, TxOp, StoreCapabilities, StoreCredentials, StoreCredentialSource, StoreTime, ListPageResult, } from '../../kernel/types.js';
19
+ export type { NoydbStore, NoydbPodStore, Envelope, EncryptedEnvelope, VaultSnapshot, TxOp, StoreCapabilities, StoreAuth, StoreAuthKind, StoreCredentials, StoreCredentialSource, StoreTime, ListPageResult, } from '../../kernel/types.js';
20
20
  export { ConflictError, NetworkError, StoreCapabilityError, PodVersionConflictError, UnknownStoreKindError, DuplicateStoreKindError, } from '../../kernel/errors.js';
21
21
  export { isConflictError } from '../../kernel/errors.js';
22
22
  export type { StoreClass, StoreDescriptor, StoreBinding, StoreFactory, StoreLocator, AnyNoydbStore, } from './locator.js';
@@ -0,0 +1,34 @@
1
+ /**
2
+ * core#74 — the ADMISSION capability the vault lends the sync engine.
3
+ *
4
+ * `with-sync` is DEK-free (enforced by `check:architecture`), so it cannot
5
+ * evaluate a rule about a record's content. The vault can: it holds the keys,
6
+ * the `beforePut` gate bus (guards, periods) and the `db.onBeforeWrite` hooks
7
+ * that already run on every LOCAL write. This interface hands that judgement
8
+ * to the engine as a closure bound to the vault, the way `MergeAuthority`
9
+ * hands it the cryptographic one — so an incoming record is admitted or
10
+ * refused by the same rules its writer's device would have applied, against
11
+ * THIS device's view of the vault at the moment it arrives.
12
+ *
13
+ * A refusal is never an error: the engine parks the envelope under
14
+ * `_sync_rejected`, leaves the local copy untouched, reports it in
15
+ * `PullResult.rejected` and emits `sync:rejected`.
16
+ */
17
+ import type { EncryptedEnvelope } from '../../kernel/types.js';
18
+ export type AdmissionVerdict = {
19
+ readonly admitted: true;
20
+ } | {
21
+ readonly admitted: false;
22
+ readonly reason: string;
23
+ };
24
+ export interface AdmissionAuthority {
25
+ /**
26
+ * `origin` says which judgement this is. `'sync-apply'` (the default) is a
27
+ * record ARRIVING from another device. core#108 — `'push-recheck'` is this
28
+ * device's OWN dirty record, re-judged against current local state before
29
+ * it leaves: a record written offline may no longer pass the rules its
30
+ * writer's device now holds, and catching that here means the writer finds
31
+ * out before anyone else sees the record.
32
+ */
33
+ admit(collection: string, id: string, envelope: EncryptedEnvelope, origin?: 'sync-apply' | 'push-recheck'): Promise<AdmissionVerdict>;
34
+ }
@@ -16,6 +16,7 @@
16
16
  */
17
17
  import type { NoydbStore, StoreCredentialSource } from '../../kernel/types.js';
18
18
  import type { UnlockedKeyring } from '../../with-party/team/keyring.js';
19
+ import type { EnclaveKey } from '../../capsule/index.js';
19
20
  /** Construction-time options for `withBroker(config)` (spec §5 client surface). */
20
21
  export interface BrokerConfig {
21
22
  /**
@@ -66,6 +67,29 @@ export interface BrokerStrategy {
66
67
  enroll(ctx: BrokerCtx): Promise<void>;
67
68
  rotate(ctx: BrokerCtx): Promise<void>;
68
69
  credentialSource(ctx: BrokerCtx, profile?: string): StoreCredentialSource;
70
+ /**
71
+ * core#73 — called by the kernel right after `grant()`: register the
72
+ * grantee with the broker host under its own per-member key. Needs the
73
+ * grantee's `secret` because the member's `_broker_member` DEK can only be
74
+ * opened with it, and only at this moment does the grantor hold it. A
75
+ * no-op for owner/admin grantees (they use the shared seed) and for the
76
+ * floor stub (no broker ⇒ nothing to register).
77
+ */
78
+ /**
79
+ * core#73 — register a sub-admin member with the host. With `secret` (a
80
+ * grant) the member's `_broker_member` DEK is read from their keyring; with
81
+ * `dek` (core#96, a role change through `updateUser`) it is the fresh key
82
+ * just delivered through the member's inbox.
83
+ */
84
+ enrolMember(ctx: BrokerCtx, member: {
85
+ readonly userId: string;
86
+ readonly secret: string;
87
+ } | {
88
+ readonly userId: string;
89
+ readonly dek: EnclaveKey;
90
+ }): Promise<void>;
91
+ /** core#73 — called by the kernel right after `revoke()`: de-register the member with the host and drop its record. */
92
+ revokeMember(ctx: BrokerCtx, userId: string): Promise<void>;
69
93
  }
70
94
  /**
71
95
  * No-op stub — the floor default. Every broker operation throws
@@ -19,7 +19,23 @@
19
19
  * binary-search, and a signal is not. Adding "just an option" to refuse
20
20
  * reintroduces exactly the objection the shape was chosen to dissolve.
21
21
  *
22
- * @internal
22
+ * ⭐ PUBLISHED SEAM — ruled 2026-09-16 (core#38, recorded in the family's seam
23
+ * registry). {@link CoverageEvent} is re-exported from `@noy-db/hub/coverage`
24
+ * and shipped in 0.8.0's `.d.ts`; consumers already hold it. This module
25
+ * previously ended `@internal`, which strips nothing (`stripInternal` is set
26
+ * in no tsconfig here) and so described the opposite of what shipped. The tag
27
+ * is gone rather than made true, because adding `stripInternal` now would
28
+ * break every importer at 0.8.0.
29
+ *
30
+ * Consequences, additive-only from here:
31
+ * - a new sensor ADDS fields and never redefines `served` / `novel` /
32
+ * `coverage` / `window` — their horizons are mixed BY DESIGN (see each
33
+ * field), and redefining one per `source` is what makes a controller
34
+ * subscribe once and compute nonsense;
35
+ * - `source` stays `string` — an enum would make every new sensor a
36
+ * breaking change to hub — and its VALUES are allocated in the family
37
+ * registry as `<repo>/<sensor>`. A new sensor claims its value there
38
+ * before it ships.
23
39
  */
24
40
  /**
25
41
  * The one event every sensor in the #1251 design emits, whatever its
@@ -15,12 +15,32 @@
15
15
  * @internal
16
16
  */
17
17
  import type { NoydbFormat, ImportPlan, ImportPolicy } from '../as/types.js';
18
+ /**
19
+ * `ImportPolicy` — PUBLISHED API, reachable from @noy-db/hub/as. Flagged as unused because
20
+ * nothing inside hub imports it from this module; a consumer does. Do not narrow
21
+ * or delete without a seam change (#55).
22
+ *
23
+ * @public
24
+ */
18
25
  export type { NoydbFormat, ImportPlan, ImportPolicy };
19
26
  import type { ExportChunk } from '../../kernel/types.js';
20
27
  import type { Vault } from '../../kernel/vault.js';
21
28
  /** Options common to an export. */
22
29
  export interface FormatExportOptions {
23
- /** Restrict to these collections. Omitted: everything the caller can read. */
30
+ /**
31
+ * Export only these collections. Omitted: everything the caller can read.
32
+ *
33
+ * ⭐ **This narrows the READ** — the excluded collections are neither
34
+ * fetched nor decrypted (core#45b, since 0.8).
35
+ *
36
+ * ⚠️ It did not always. Through 0.7 this filtered the chunks AFTER hub had
37
+ * decrypted the whole vault, and the JSDoc here said so: scoping an export
38
+ * bought output shaping and no reduction in what a compromised process
39
+ * could observe. If you are reading a version of this note that still says
40
+ * that, you are reading 0.7's. The narrowing is asserted by observing the
41
+ * store, because no assertion on the returned chunks can tell the two
42
+ * implementations apart.
43
+ */
24
44
  readonly collections?: readonly string[];
25
45
  /**
26
46
  * Redact before `encode` sees a record. Hub applies the projection, so a
@@ -69,6 +89,19 @@ export interface FormatsContext {
69
89
  plan(records: Readonly<Record<string, readonly unknown[]>>, policy: ImportPolicy, formatId: string, idKey?: string): Promise<ImportPlan>;
70
90
  }
71
91
  /** Thrown by every method on {@link NO_FORMATS}. */
92
+ /**
93
+ * `FormatsNotEnabledError` — PUBLISHED API, reachable from `@noy-db/hub` and
94
+ * `@noy-db/hub/as`. Flagged by knip as unused because nothing inside hub imports
95
+ * it from this module; a consumer does. Do not narrow or delete without a seam
96
+ * change (#55).
97
+ *
98
+ * ⚠️ This comment claimed `@noy-db/hub` + `@noy-db/hub/tiers` until #57, and both
99
+ * were false — the class reached NO published entry, so the only way to handle it
100
+ * was `err.name`. A comment naming who can import something is not evidence;
101
+ * `__tests__/error-classes-reachable.test.ts` is.
102
+ *
103
+ * @public
104
+ */
72
105
  export declare class FormatsNotEnabledError extends Error {
73
106
  constructor(op: string);
74
107
  }
@@ -32,6 +32,11 @@ import type { LookupDescriptor } from '../../via/lookup/descriptor.js';
32
32
  * `DictionaryOptions` (kept as a distinct alias since the "lookup" name is
33
33
  * the forward-looking one; `DictionaryOptions` stays the dict-tier name).
34
34
  */
35
+ /**
36
+ * Frozen seam shape (#650 Task 1): the backing-options alias the later phase-D tasks bind onto.
37
+ *
38
+ * @seam
39
+ */
35
40
  export type LookupBackingOptions = DictionaryOptions;
36
41
  /**
37
42
  * Options accepted by `LookupStrategy.buildLookupHandle`. Mirrors the
@@ -99,34 +104,110 @@ export interface LookupStrategy {
99
104
  * (`Vault.i18nStrategy.buildDictionaryHandle` → `withLookup().buildLookupHandle`) never reaches
100
105
  * here. Kept as forward scaffolding for a later task that wires an independent lookup opt-in.
101
106
  */
107
+ /**
108
+ * Frozen seam shape, named in this file's header: `NO_LOOKUP` is what later phase-D tasks bind `vault.collection()`'s lookup fields onto — unused by Task 1's wiring on purpose.
109
+ *
110
+ * @seam
111
+ */
102
112
  export declare const NO_LOOKUP: LookupStrategy;
103
113
  /** `_dict_*` (legacy dict tier) and `_lookup_*` (the phase-D reserved backing). */
114
+ /**
115
+ * Frozen seam shape (#650 Task 1, header): bound by later phase-D tasks, deliberately unused by the wiring that landed first.
116
+ *
117
+ * @seam
118
+ */
104
119
  export declare const LOOKUP_COLLECTION_PREFIXES: readonly ["_dict_", "_lookup_"];
105
120
  /** Return true when a collection name is a reserved lookup-backing collection. */
121
+ /**
122
+ * Frozen seam shape, named in this file's header alongside `NO_LOOKUP`.
123
+ *
124
+ * @seam
125
+ */
106
126
  export declare function isLookupCollectionName(name: string): boolean;
107
127
  export { enforceStaticDictOnPut, resolveDictSource, updateReferencingRecords };
128
+ /**
129
+ * Engine type through the port — same boundary reason as the line above.
130
+ *
131
+ * @seam
132
+ */
108
133
  export type { DictReferencingCollection };
109
134
  export { dictCollectionName } from '../../via/lookup/handle.js';
110
- export { resolveLabelFromMap, collectLookupDictCompat, lookupToStaticDictCompat };
135
+ export { resolveLabelFromMap, collectLookupDictCompat };
136
+ /**
137
+ * Dict-compat helper through the port — same boundary reason; no importer
138
+ * takes it from here today.
139
+ *
140
+ * @seam
141
+ */
142
+ export { lookupToStaticDictCompat };
143
+ /**
144
+ * Dict-compat type through the port — same boundary reason.
145
+ *
146
+ * @seam
147
+ */
111
148
  export type { LookupDictCompat };
112
149
  export { reservedDictDepsOf };
113
- export { materializeBackingTable, checkLookupMembership, buildLookupAltIndex };
150
+ export { checkLookupMembership, buildLookupAltIndex };
151
+ /**
152
+ * Backing-table helper through the port — same boundary reason; no importer
153
+ * takes it from here today.
154
+ *
155
+ * @seam
156
+ */
157
+ export { materializeBackingTable };
114
158
  export type { MaterializedBacking };
115
159
  export { registerLookupRefEdges };
116
160
  export { buildLookupSnapshotRows, buildPresentForJoin };
161
+ /**
162
+ * Snapshot type through the port — same boundary reason.
163
+ *
164
+ * @seam
165
+ */
117
166
  export type { LookupSnapshot } from '../../via/lookup/snapshot.js';
118
- export { coerceLookupKey, resolveBackingRowKey, matchesReferencingValue };
167
+ export { coerceLookupKey, matchesReferencingValue };
168
+ /**
169
+ * Key-coercion helper through the port — same boundary reason; no importer
170
+ * takes it from here today.
171
+ *
172
+ * @seam
173
+ */
174
+ export { resolveBackingRowKey };
119
175
  /** Runtime predicate for detecting a `LookupDescriptor` (any of the three tiers). */
120
176
  export declare function isLookupDescriptor(x: unknown): x is LookupDescriptor;
121
177
  /** Runtime predicate for the bare enum tier (`backing:'static'`, no in-code `table` — no label source). */
178
+ /**
179
+ * Descriptor predicate, frozen with the seam it belongs to (#650 Task 1).
180
+ *
181
+ * @seam
182
+ */
122
183
  export declare function isEnumDescriptor(x: unknown): x is LookupDescriptor;
123
184
  /**
124
185
  * Type-only re-exports — the kernel spine imports these descriptor/handle
125
186
  * types through the port instead of reaching into `via/lookup/*` or
126
187
  * `via/i18n/*` directly. `isolatedModules: true` erases these at
127
188
  * build time — no runtime coupling.
189
+ *
190
+ * @seam
128
191
  */
129
192
  export type { LookupHandle, DictEntry, DictionaryOptions } from '../../via/lookup/handle.js';
130
- export type { LookupDescriptor, Vocabulary, LookupBacking, OnDelete } from '../../via/lookup/descriptor.js';
193
+ export type { LookupDescriptor } from '../../via/lookup/descriptor.js';
194
+ /**
195
+ * Descriptor types through the port. The spine may not reach into
196
+ * `via/lookup/*` (Check 14), so these exist for the boundary, not for a
197
+ * current importer.
198
+ *
199
+ * @seam
200
+ */
201
+ export type { Vocabulary, LookupBacking, OnDelete } from '../../via/lookup/descriptor.js';
202
+ /**
203
+ * Binding config through the port — same boundary reason as the descriptor types above.
204
+ *
205
+ * @seam
206
+ */
131
207
  export type { LookupViaConfig } from '../../via/lookup/binding.js';
208
+ /**
209
+ * i18n dictionary descriptors through the port — same boundary reason.
210
+ *
211
+ * @seam
212
+ */
132
213
  export type { DictKeyDescriptor, StaticDictDescriptor } from '../../via/i18n/dictionary.js';