@noy-db/hub 0.6.0-pre.0 → 0.6.0-pre.2

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 (256) hide show
  1. package/dist/{api-67SBPMMH.js → api-WVY3H3YH.js} +6 -6
  2. package/dist/attestation/index.js +12 -12
  3. package/dist/attestation/index.js.map +1 -1
  4. package/dist/{backup-GAYWQAFN.js → backup-YYBE5RPC.js} +6 -6
  5. package/dist/blobs/index.js +5 -5
  6. package/dist/broker/index.js +6 -6
  7. package/dist/{bundle-handle-5OUAI7CV.js → bundle-handle-JEUWU2SJ.js} +2 -2
  8. package/dist/cargo/index.js +18 -18
  9. package/dist/{chunk-3UK6STWO.js → chunk-26JMGSSC.js} +3 -3
  10. package/dist/{chunk-V5C5NNBR.js → chunk-4MC5JRRX.js} +3 -3
  11. package/dist/{chunk-4MQDV3HZ.js → chunk-52QYGZHH.js} +2 -2
  12. package/dist/{chunk-F3GVO44K.js → chunk-5PR33AC4.js} +3 -3
  13. package/dist/{chunk-VBY6ZLJT.js → chunk-66W5OOCX.js} +3 -3
  14. package/dist/{chunk-CJ73OLMW.js → chunk-6HFM7EIT.js} +1 -1
  15. package/dist/chunk-6HFM7EIT.js.map +1 -0
  16. package/dist/{chunk-4VCWI42L.js → chunk-7NXHMW6Y.js} +2 -2
  17. package/dist/{chunk-T4GPR2IR.js → chunk-7TSYBD3E.js} +1 -1
  18. package/dist/chunk-7TSYBD3E.js.map +1 -0
  19. package/dist/{chunk-JH3OHQM4.js → chunk-7VHY5E3X.js} +6 -6
  20. package/dist/{chunk-3IIPWA75.js → chunk-A67356IR.js} +2 -2
  21. package/dist/{chunk-XBLKM73C.js → chunk-BTVYJWSN.js} +8 -8
  22. package/dist/{chunk-PGAPBZEK.js → chunk-C2OOEM57.js} +4 -4
  23. package/dist/{chunk-3HYWYLXL.js → chunk-CEJWMBXO.js} +1 -1
  24. package/dist/chunk-CEJWMBXO.js.map +1 -0
  25. package/dist/{chunk-LTU4FLHG.js → chunk-DIMKRG2E.js} +4 -4
  26. package/dist/{chunk-JEM2IGS3.js → chunk-E7OBCBXS.js} +5 -5
  27. package/dist/{chunk-TFZ7LLOQ.js → chunk-EDXAQ6JI.js} +4 -4
  28. package/dist/{chunk-JSRU5W2M.js → chunk-EP7VPR7Y.js} +3 -3
  29. package/dist/{chunk-RLWY6Z44.js → chunk-ERB6NDDW.js} +3 -3
  30. package/dist/chunk-ERB6NDDW.js.map +1 -0
  31. package/dist/{chunk-2KIV7BEK.js → chunk-FDX7OWWI.js} +1 -1
  32. package/dist/chunk-FDX7OWWI.js.map +1 -0
  33. package/dist/{chunk-HS7HNYBD.js → chunk-G5APARUV.js} +6 -6
  34. package/dist/{chunk-ZWMO5GL5.js → chunk-GASWQ3XG.js} +3 -3
  35. package/dist/{chunk-NQCNSVGI.js → chunk-GLKDWWNO.js} +3 -3
  36. package/dist/{chunk-RPXL6KSX.js → chunk-HFQ6LGIO.js} +3 -3
  37. package/dist/{chunk-3EO7RZLJ.js → chunk-I4F6PKUK.js} +4 -4
  38. package/dist/{chunk-MXZ5TSTR.js → chunk-I4ZAO7F7.js} +6 -6
  39. package/dist/{chunk-HFKGIBMD.js → chunk-I6SDX7WX.js} +2 -2
  40. package/dist/{chunk-OSFPNKY4.js → chunk-KCQX65FU.js} +2 -2
  41. package/dist/chunk-KCQX65FU.js.map +1 -0
  42. package/dist/{chunk-KZ3KMDN3.js → chunk-LWSJG3LI.js} +1 -1
  43. package/dist/chunk-LWSJG3LI.js.map +1 -0
  44. package/dist/{chunk-DCMQR46R.js → chunk-MWKDOHEF.js} +3 -3
  45. package/dist/{chunk-ZK4CO2KZ.js → chunk-NIVEDYJZ.js} +4 -4
  46. package/dist/{chunk-SRGJET2F.js → chunk-NJDQ4YSV.js} +2 -2
  47. package/dist/{chunk-TLNNHG3A.js → chunk-NKH7GSIH.js} +3 -3
  48. package/dist/{chunk-TLNNHG3A.js.map → chunk-NKH7GSIH.js.map} +1 -1
  49. package/dist/{chunk-NQRJ5AJO.js → chunk-NWCGDAV6.js} +2 -2
  50. package/dist/{chunk-MJWCLSQL.js → chunk-P7OG2ETF.js} +3 -3
  51. package/dist/{chunk-NVU7ZMPN.js → chunk-PJNTR2NV.js} +2 -2
  52. package/dist/{chunk-XB7LUDKM.js → chunk-PRDRGL73.js} +3 -3
  53. package/dist/{chunk-PP5CO2PR.js → chunk-PVU7LW5L.js} +2 -2
  54. package/dist/{chunk-3CLZY46Y.js → chunk-PY7CI6L5.js} +56 -56
  55. package/dist/chunk-PY7CI6L5.js.map +1 -0
  56. package/dist/{chunk-GS5RT2KK.js → chunk-QD724WDJ.js} +2 -2
  57. package/dist/chunk-QD724WDJ.js.map +1 -0
  58. package/dist/{chunk-ZGGVOADG.js → chunk-RKKORO4M.js} +2 -2
  59. package/dist/{chunk-CYQOUTMY.js → chunk-SZ2K3MHL.js} +2 -2
  60. package/dist/{chunk-MC2LFTQM.js → chunk-TAGFGKHP.js} +2 -2
  61. package/dist/{chunk-OMSAULZM.js → chunk-TDJPS3T2.js} +9 -9
  62. package/dist/{chunk-MVOWXQHN.js → chunk-TOAIYQJR.js} +2 -2
  63. package/dist/{chunk-27TCYH6G.js → chunk-UIBGXRDD.js} +3 -3
  64. package/dist/{chunk-27TCYH6G.js.map → chunk-UIBGXRDD.js.map} +1 -1
  65. package/dist/{chunk-ROWL352P.js → chunk-V5KYPBUR.js} +4 -4
  66. package/dist/{chunk-FY343IZR.js → chunk-VN45YLWM.js} +3 -3
  67. package/dist/{chunk-EK7DT5BT.js → chunk-VOQW5LAM.js} +3 -3
  68. package/dist/{chunk-DPJTDNUF.js → chunk-VRA4Q7DA.js} +5 -5
  69. package/dist/{chunk-P7NGLLUF.js → chunk-VV4NSB7P.js} +2 -2
  70. package/dist/{chunk-24UICKTB.js → chunk-VW6ZZGCG.js} +2 -2
  71. package/dist/chunk-VW6ZZGCG.js.map +1 -0
  72. package/dist/{chunk-24ZLWWEO.js → chunk-W5W6KHN2.js} +1 -1
  73. package/dist/chunk-W5W6KHN2.js.map +1 -0
  74. package/dist/{chunk-LBGPO5RL.js → chunk-WHJKIZS7.js} +4 -4
  75. package/dist/{chunk-SKONR2OL.js → chunk-WKPJXWKR.js} +2 -2
  76. package/dist/{chunk-46V67XP5.js → chunk-WQDTCJ6W.js} +2 -2
  77. package/dist/chunk-WQDTCJ6W.js.map +1 -0
  78. package/dist/{chunk-BPTZ4K5L.js → chunk-WYZ5MYUA.js} +7 -7
  79. package/dist/{chunk-2LGDCNFJ.js → chunk-Z45YRGFO.js} +1 -1
  80. package/dist/chunk-Z45YRGFO.js.map +1 -0
  81. package/dist/{chunk-ZXJXDHNK.js → chunk-ZNACADFG.js} +2 -2
  82. package/dist/{chunk-ZXJXDHNK.js.map → chunk-ZNACADFG.js.map} +1 -1
  83. package/dist/classified/index.js +3 -3
  84. package/dist/{classified-marker-MH3ON5OL.js → classified-marker-FTOX7Q5L.js} +3 -3
  85. package/dist/{collection-facade-AHT7FATG.js → collection-facade-QN5ULWYC.js} +8 -8
  86. package/dist/consent/index.js +4 -4
  87. package/dist/cover/index.js +2 -2
  88. package/dist/custody/index.js +6 -6
  89. package/dist/{dead-filter-U575NGSH.js → dead-filter-ENRIOQIE.js} +2 -2
  90. package/dist/{delegation-PDYL6RWT.js → delegation-SSEPLXXO.js} +4 -4
  91. package/dist/derivations/index.js +6 -6
  92. package/dist/{derive-AKT4KU36.js → derive-6V3PIZF7.js} +5 -5
  93. package/dist/directory/index.js +5 -5
  94. package/dist/{dispatch-N5HGVUGU.js → dispatch-BDVGYC6X.js} +9 -9
  95. package/dist/{dispatch-4XIJSFTT.js → dispatch-RE74SH6L.js} +5 -5
  96. package/dist/{enclave-OPK24QDR.js → enclave-52VUXNRL.js} +4 -4
  97. package/dist/{executor-3JZ4POTW.js → executor-FHHLXO4Y.js} +8 -8
  98. package/dist/{export-accessible-CPTP5STN.js → export-accessible-PE5AYKZR.js} +7 -7
  99. package/dist/{extract-partition-TWXPHVU7.js → extract-partition-X2L26O6A.js} +10 -10
  100. package/dist/{fanout-sidecar-T2ZGLQFE.js → fanout-sidecar-DTBIDOWF.js} +4 -4
  101. package/dist/forget/index.js +4 -4
  102. package/dist/guards/index.js +1 -1
  103. package/dist/history/index.js +6 -6
  104. package/dist/i18n/index.js +6 -6
  105. package/dist/index.js +54 -54
  106. package/dist/index.js.map +1 -1
  107. package/dist/introspection/index.js +6 -6
  108. package/dist/{issue-N74C55X6.js → issue-RNU55YOF.js} +6 -6
  109. package/dist/kernel/secret-mode.d.ts +1 -1
  110. package/dist/kernel/types.d.ts +6 -6
  111. package/dist/kernel/vault.d.ts +3 -3
  112. package/dist/{ledger-DONWFC5M.js → ledger-4WJL66BW.js} +6 -6
  113. package/dist/liberate-PX4CAT5V.js +24 -0
  114. package/dist/{link-set-2TTP4VLO.js → link-set-N4ZPV6E6.js} +5 -5
  115. package/dist/{managed-secret-EAOYWRYF.js → managed-secret-OTHS64IF.js} +3 -3
  116. package/dist/materialized-views/index.js +9 -9
  117. package/dist/{noydb-6W2XGQCS.js → noydb-YPSEGK32.js} +27 -27
  118. package/dist/overlay-views/index.js +1 -1
  119. package/dist/periods/index.js +6 -6
  120. package/dist/pod/index.js +30 -30
  121. package/dist/policy/index.js +3 -3
  122. package/dist/port/with/collection-options.d.ts +1 -1
  123. package/dist/portability/index.js +6 -6
  124. package/dist/{post-register-ORQOQJCS.js → post-register-ZAG2CAIY.js} +4 -4
  125. package/dist/{register-LHETZRJM.js → register-TMD6YRCX.js} +11 -11
  126. package/dist/{registry-JRIN447B.js → registry-FVLDWQKT.js} +6 -6
  127. package/dist/{registry-AMAZ6QRZ.js → registry-JET4HBLY.js} +4 -4
  128. package/dist/{request-withdrawal-2DN2RGCO.js → request-withdrawal-RH55LNZL.js} +9 -9
  129. package/dist/{reveal-AG4SCHUQ.js → reveal-CMOJY4VO.js} +3 -3
  130. package/dist/{revoke-ZX4NM2CJ.js → revoke-R5TBYVA6.js} +6 -6
  131. package/dist/sealed-record/index.js +6 -6
  132. package/dist/search/index.js +1 -1
  133. package/dist/{seed-IRCDGIRK.js → seed-UK4QRIUN.js} +6 -6
  134. package/dist/sequence/index.js +4 -4
  135. package/dist/session/index.js +3 -3
  136. package/dist/{signer-7KHD4OL2.js → signer-AGALOXOO.js} +5 -5
  137. package/dist/snapshots/index.js +5 -5
  138. package/dist/{stale-K734VACF.js → stale-ZWXSOWJI.js} +5 -5
  139. package/dist/{storage-4H2GF6RQ.js → storage-N7LB275C.js} +5 -5
  140. package/dist/{store-coordination-provider-4SKLSFUG.js → store-coordination-provider-PB6QZ57W.js} +3 -3
  141. package/dist/sync/index.js +4 -4
  142. package/dist/team/index.js +8 -8
  143. package/dist/tiers/index.js +4 -4
  144. package/dist/via/classified/descriptor.d.ts +1 -1
  145. package/dist/{walk-MQHYNDLZ.js → walk-OCUHCYJ6.js} +7 -7
  146. package/dist/with-audit/attestation/index.d.ts +1 -1
  147. package/dist/with-audit/guards/with-guard.d.ts +1 -1
  148. package/dist/with-cargo/index.d.ts +1 -1
  149. package/dist/with-commit/history/ledger/entry.d.ts +1 -1
  150. package/dist/with-commit/numbering/descriptor.d.ts +1 -1
  151. package/dist/with-formula/derivations/with-derivation.d.ts +1 -1
  152. package/dist/with-formula/materialized-views/with-materialized-view.d.ts +3 -3
  153. package/dist/with-formula/overlay-views/with-overlayed-view.d.ts +1 -1
  154. package/dist/with-party/custody/index.d.ts +1 -1
  155. package/dist/with-party/directory/user-envelope/index.d.ts +1 -1
  156. package/dist/with-party/directory/user-envelope/storage.d.ts +1 -1
  157. package/dist/with-party/team/echo-ceremony.d.ts +3 -3
  158. package/dist/with-party/team/echo-secret.d.ts +2 -2
  159. package/dist/with-shape/introspection/index.d.ts +1 -1
  160. package/dist/with-shape/introspection/types.d.ts +1 -1
  161. package/dist/with-shape/persisted-schemas/derive.d.ts +1 -1
  162. package/dist/with-shape/persisted-schemas/index.d.ts +1 -1
  163. package/dist/with-shape/persisted-schemas/types.d.ts +1 -1
  164. package/dist/{withdraw-accessible-JSDQHXHE.js → withdraw-accessible-QQNWM5BO.js} +8 -8
  165. package/package.json +3 -3
  166. package/dist/chunk-24UICKTB.js.map +0 -1
  167. package/dist/chunk-24ZLWWEO.js.map +0 -1
  168. package/dist/chunk-2KIV7BEK.js.map +0 -1
  169. package/dist/chunk-2LGDCNFJ.js.map +0 -1
  170. package/dist/chunk-3CLZY46Y.js.map +0 -1
  171. package/dist/chunk-3HYWYLXL.js.map +0 -1
  172. package/dist/chunk-46V67XP5.js.map +0 -1
  173. package/dist/chunk-CJ73OLMW.js.map +0 -1
  174. package/dist/chunk-GS5RT2KK.js.map +0 -1
  175. package/dist/chunk-KZ3KMDN3.js.map +0 -1
  176. package/dist/chunk-OSFPNKY4.js.map +0 -1
  177. package/dist/chunk-RLWY6Z44.js.map +0 -1
  178. package/dist/chunk-T4GPR2IR.js.map +0 -1
  179. package/dist/liberate-KICI7AJN.js +0 -24
  180. /package/dist/{api-67SBPMMH.js.map → api-WVY3H3YH.js.map} +0 -0
  181. /package/dist/{backup-GAYWQAFN.js.map → backup-YYBE5RPC.js.map} +0 -0
  182. /package/dist/{bundle-handle-5OUAI7CV.js.map → bundle-handle-JEUWU2SJ.js.map} +0 -0
  183. /package/dist/{chunk-3UK6STWO.js.map → chunk-26JMGSSC.js.map} +0 -0
  184. /package/dist/{chunk-V5C5NNBR.js.map → chunk-4MC5JRRX.js.map} +0 -0
  185. /package/dist/{chunk-4MQDV3HZ.js.map → chunk-52QYGZHH.js.map} +0 -0
  186. /package/dist/{chunk-F3GVO44K.js.map → chunk-5PR33AC4.js.map} +0 -0
  187. /package/dist/{chunk-VBY6ZLJT.js.map → chunk-66W5OOCX.js.map} +0 -0
  188. /package/dist/{chunk-4VCWI42L.js.map → chunk-7NXHMW6Y.js.map} +0 -0
  189. /package/dist/{chunk-JH3OHQM4.js.map → chunk-7VHY5E3X.js.map} +0 -0
  190. /package/dist/{chunk-3IIPWA75.js.map → chunk-A67356IR.js.map} +0 -0
  191. /package/dist/{chunk-XBLKM73C.js.map → chunk-BTVYJWSN.js.map} +0 -0
  192. /package/dist/{chunk-PGAPBZEK.js.map → chunk-C2OOEM57.js.map} +0 -0
  193. /package/dist/{chunk-LTU4FLHG.js.map → chunk-DIMKRG2E.js.map} +0 -0
  194. /package/dist/{chunk-JEM2IGS3.js.map → chunk-E7OBCBXS.js.map} +0 -0
  195. /package/dist/{chunk-TFZ7LLOQ.js.map → chunk-EDXAQ6JI.js.map} +0 -0
  196. /package/dist/{chunk-JSRU5W2M.js.map → chunk-EP7VPR7Y.js.map} +0 -0
  197. /package/dist/{chunk-HS7HNYBD.js.map → chunk-G5APARUV.js.map} +0 -0
  198. /package/dist/{chunk-ZWMO5GL5.js.map → chunk-GASWQ3XG.js.map} +0 -0
  199. /package/dist/{chunk-NQCNSVGI.js.map → chunk-GLKDWWNO.js.map} +0 -0
  200. /package/dist/{chunk-RPXL6KSX.js.map → chunk-HFQ6LGIO.js.map} +0 -0
  201. /package/dist/{chunk-3EO7RZLJ.js.map → chunk-I4F6PKUK.js.map} +0 -0
  202. /package/dist/{chunk-MXZ5TSTR.js.map → chunk-I4ZAO7F7.js.map} +0 -0
  203. /package/dist/{chunk-HFKGIBMD.js.map → chunk-I6SDX7WX.js.map} +0 -0
  204. /package/dist/{chunk-DCMQR46R.js.map → chunk-MWKDOHEF.js.map} +0 -0
  205. /package/dist/{chunk-ZK4CO2KZ.js.map → chunk-NIVEDYJZ.js.map} +0 -0
  206. /package/dist/{chunk-SRGJET2F.js.map → chunk-NJDQ4YSV.js.map} +0 -0
  207. /package/dist/{chunk-NQRJ5AJO.js.map → chunk-NWCGDAV6.js.map} +0 -0
  208. /package/dist/{chunk-MJWCLSQL.js.map → chunk-P7OG2ETF.js.map} +0 -0
  209. /package/dist/{chunk-NVU7ZMPN.js.map → chunk-PJNTR2NV.js.map} +0 -0
  210. /package/dist/{chunk-XB7LUDKM.js.map → chunk-PRDRGL73.js.map} +0 -0
  211. /package/dist/{chunk-PP5CO2PR.js.map → chunk-PVU7LW5L.js.map} +0 -0
  212. /package/dist/{chunk-ZGGVOADG.js.map → chunk-RKKORO4M.js.map} +0 -0
  213. /package/dist/{chunk-CYQOUTMY.js.map → chunk-SZ2K3MHL.js.map} +0 -0
  214. /package/dist/{chunk-MC2LFTQM.js.map → chunk-TAGFGKHP.js.map} +0 -0
  215. /package/dist/{chunk-OMSAULZM.js.map → chunk-TDJPS3T2.js.map} +0 -0
  216. /package/dist/{chunk-MVOWXQHN.js.map → chunk-TOAIYQJR.js.map} +0 -0
  217. /package/dist/{chunk-ROWL352P.js.map → chunk-V5KYPBUR.js.map} +0 -0
  218. /package/dist/{chunk-FY343IZR.js.map → chunk-VN45YLWM.js.map} +0 -0
  219. /package/dist/{chunk-EK7DT5BT.js.map → chunk-VOQW5LAM.js.map} +0 -0
  220. /package/dist/{chunk-DPJTDNUF.js.map → chunk-VRA4Q7DA.js.map} +0 -0
  221. /package/dist/{chunk-P7NGLLUF.js.map → chunk-VV4NSB7P.js.map} +0 -0
  222. /package/dist/{chunk-LBGPO5RL.js.map → chunk-WHJKIZS7.js.map} +0 -0
  223. /package/dist/{chunk-SKONR2OL.js.map → chunk-WKPJXWKR.js.map} +0 -0
  224. /package/dist/{chunk-BPTZ4K5L.js.map → chunk-WYZ5MYUA.js.map} +0 -0
  225. /package/dist/{classified-marker-MH3ON5OL.js.map → classified-marker-FTOX7Q5L.js.map} +0 -0
  226. /package/dist/{collection-facade-AHT7FATG.js.map → collection-facade-QN5ULWYC.js.map} +0 -0
  227. /package/dist/{dead-filter-U575NGSH.js.map → dead-filter-ENRIOQIE.js.map} +0 -0
  228. /package/dist/{delegation-PDYL6RWT.js.map → delegation-SSEPLXXO.js.map} +0 -0
  229. /package/dist/{derive-AKT4KU36.js.map → derive-6V3PIZF7.js.map} +0 -0
  230. /package/dist/{dispatch-N5HGVUGU.js.map → dispatch-BDVGYC6X.js.map} +0 -0
  231. /package/dist/{dispatch-4XIJSFTT.js.map → dispatch-RE74SH6L.js.map} +0 -0
  232. /package/dist/{enclave-OPK24QDR.js.map → enclave-52VUXNRL.js.map} +0 -0
  233. /package/dist/{executor-3JZ4POTW.js.map → executor-FHHLXO4Y.js.map} +0 -0
  234. /package/dist/{export-accessible-CPTP5STN.js.map → export-accessible-PE5AYKZR.js.map} +0 -0
  235. /package/dist/{extract-partition-TWXPHVU7.js.map → extract-partition-X2L26O6A.js.map} +0 -0
  236. /package/dist/{fanout-sidecar-T2ZGLQFE.js.map → fanout-sidecar-DTBIDOWF.js.map} +0 -0
  237. /package/dist/{issue-N74C55X6.js.map → issue-RNU55YOF.js.map} +0 -0
  238. /package/dist/{ledger-DONWFC5M.js.map → ledger-4WJL66BW.js.map} +0 -0
  239. /package/dist/{liberate-KICI7AJN.js.map → liberate-PX4CAT5V.js.map} +0 -0
  240. /package/dist/{link-set-2TTP4VLO.js.map → link-set-N4ZPV6E6.js.map} +0 -0
  241. /package/dist/{managed-secret-EAOYWRYF.js.map → managed-secret-OTHS64IF.js.map} +0 -0
  242. /package/dist/{noydb-6W2XGQCS.js.map → noydb-YPSEGK32.js.map} +0 -0
  243. /package/dist/{post-register-ORQOQJCS.js.map → post-register-ZAG2CAIY.js.map} +0 -0
  244. /package/dist/{register-LHETZRJM.js.map → register-TMD6YRCX.js.map} +0 -0
  245. /package/dist/{registry-AMAZ6QRZ.js.map → registry-FVLDWQKT.js.map} +0 -0
  246. /package/dist/{registry-JRIN447B.js.map → registry-JET4HBLY.js.map} +0 -0
  247. /package/dist/{request-withdrawal-2DN2RGCO.js.map → request-withdrawal-RH55LNZL.js.map} +0 -0
  248. /package/dist/{reveal-AG4SCHUQ.js.map → reveal-CMOJY4VO.js.map} +0 -0
  249. /package/dist/{revoke-ZX4NM2CJ.js.map → revoke-R5TBYVA6.js.map} +0 -0
  250. /package/dist/{seed-IRCDGIRK.js.map → seed-UK4QRIUN.js.map} +0 -0
  251. /package/dist/{signer-7KHD4OL2.js.map → signer-AGALOXOO.js.map} +0 -0
  252. /package/dist/{stale-K734VACF.js.map → stale-ZWXSOWJI.js.map} +0 -0
  253. /package/dist/{storage-4H2GF6RQ.js.map → storage-N7LB275C.js.map} +0 -0
  254. /package/dist/{store-coordination-provider-4SKLSFUG.js.map → store-coordination-provider-PB6QZ57W.js.map} +0 -0
  255. /package/dist/{walk-MQHYNDLZ.js.map → walk-OCUHCYJ6.js.map} +0 -0
  256. /package/dist/{withdraw-accessible-JSDQHXHE.js.map → withdraw-accessible-QQNWM5BO.js.map} +0 -0
@@ -17,14 +17,14 @@ import {
17
17
  NO_SESSION
18
18
  } from "../chunk-VKQCVU2Z.js";
19
19
  import "../chunk-ZJADGNYF.js";
20
- import "../chunk-FY343IZR.js";
21
- import "../chunk-NQRJ5AJO.js";
20
+ import "../chunk-VN45YLWM.js";
21
+ import "../chunk-NWCGDAV6.js";
22
22
  import "../chunk-HXGUIPQB.js";
23
23
  import "../chunk-AR2JDFAE.js";
24
24
  import "../chunk-747LRSOO.js";
25
25
  import "../chunk-LP7BEXCT.js";
26
26
  import "../chunk-VCETL77O.js";
27
- import "../chunk-24ZLWWEO.js";
27
+ import "../chunk-W5W6KHN2.js";
28
28
  import {
29
29
  SessionExpiredError,
30
30
  SessionNotFoundError,
@@ -4,15 +4,15 @@ import {
4
4
  SIGNER_RECORD_ID,
5
5
  loadOrCreateSigner,
6
6
  loadSigner
7
- } from "./chunk-ZWMO5GL5.js";
8
- import "./chunk-FY343IZR.js";
9
- import "./chunk-NQRJ5AJO.js";
7
+ } from "./chunk-GASWQ3XG.js";
8
+ import "./chunk-VN45YLWM.js";
9
+ import "./chunk-NWCGDAV6.js";
10
10
  import "./chunk-HXGUIPQB.js";
11
11
  import "./chunk-AR2JDFAE.js";
12
12
  import "./chunk-747LRSOO.js";
13
13
  import "./chunk-LP7BEXCT.js";
14
14
  import "./chunk-VCETL77O.js";
15
- import "./chunk-24ZLWWEO.js";
15
+ import "./chunk-W5W6KHN2.js";
16
16
  import "./chunk-HNGSV2YC.js";
17
17
  import "./chunk-PZ5AY32C.js";
18
18
  export {
@@ -22,4 +22,4 @@ export {
22
22
  loadOrCreateSigner,
23
23
  loadSigner
24
24
  };
25
- //# sourceMappingURL=signer-7KHD4OL2.js.map
25
+ //# sourceMappingURL=signer-AGALOXOO.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  readPod,
6
6
  writePod
7
- } from "../chunk-EK7DT5BT.js";
8
- import "../chunk-CYQOUTMY.js";
9
- import "../chunk-FY343IZR.js";
10
- import "../chunk-NQRJ5AJO.js";
7
+ } from "../chunk-VOQW5LAM.js";
8
+ import "../chunk-SZ2K3MHL.js";
9
+ import "../chunk-VN45YLWM.js";
10
+ import "../chunk-NWCGDAV6.js";
11
11
  import "../chunk-HXGUIPQB.js";
12
12
  import "../chunk-AR2JDFAE.js";
13
13
  import "../chunk-747LRSOO.js";
14
14
  import "../chunk-LP7BEXCT.js";
15
15
  import "../chunk-VCETL77O.js";
16
- import "../chunk-24ZLWWEO.js";
16
+ import "../chunk-W5W6KHN2.js";
17
17
  import {
18
18
  SnapshotNotFoundError
19
19
  } from "../chunk-HNGSV2YC.js";
@@ -6,16 +6,16 @@ import {
6
6
  isMVStale,
7
7
  markMVStale,
8
8
  resolveStaleMVOnRead
9
- } from "./chunk-3UK6STWO.js";
9
+ } from "./chunk-26JMGSSC.js";
10
10
  import "./chunk-5D2ALSM5.js";
11
- import "./chunk-FY343IZR.js";
12
- import "./chunk-NQRJ5AJO.js";
11
+ import "./chunk-VN45YLWM.js";
12
+ import "./chunk-NWCGDAV6.js";
13
13
  import "./chunk-HXGUIPQB.js";
14
14
  import "./chunk-AR2JDFAE.js";
15
15
  import "./chunk-747LRSOO.js";
16
16
  import "./chunk-LP7BEXCT.js";
17
17
  import "./chunk-VCETL77O.js";
18
- import "./chunk-24ZLWWEO.js";
18
+ import "./chunk-W5W6KHN2.js";
19
19
  import "./chunk-HNGSV2YC.js";
20
20
  import "./chunk-PZ5AY32C.js";
21
21
  export {
@@ -27,4 +27,4 @@ export {
27
27
  markMVStale,
28
28
  resolveStaleMVOnRead
29
29
  };
30
- //# sourceMappingURL=stale-K734VACF.js.map
30
+ //# sourceMappingURL=stale-ZWXSOWJI.js.map
@@ -3,15 +3,15 @@ import {
3
3
  loadPersistedSchema,
4
4
  loadPersistedSchemaEntry,
5
5
  savePersistedSchema
6
- } from "./chunk-V5C5NNBR.js";
7
- import "./chunk-FY343IZR.js";
8
- import "./chunk-NQRJ5AJO.js";
6
+ } from "./chunk-4MC5JRRX.js";
7
+ import "./chunk-VN45YLWM.js";
8
+ import "./chunk-NWCGDAV6.js";
9
9
  import "./chunk-HXGUIPQB.js";
10
10
  import "./chunk-AR2JDFAE.js";
11
11
  import "./chunk-747LRSOO.js";
12
12
  import "./chunk-LP7BEXCT.js";
13
13
  import "./chunk-VCETL77O.js";
14
- import "./chunk-24ZLWWEO.js";
14
+ import "./chunk-W5W6KHN2.js";
15
15
  import "./chunk-HNGSV2YC.js";
16
16
  import "./chunk-PZ5AY32C.js";
17
17
  export {
@@ -20,4 +20,4 @@ export {
20
20
  loadPersistedSchemaEntry,
21
21
  savePersistedSchema
22
22
  };
23
- //# sourceMappingURL=storage-4H2GF6RQ.js.map
23
+ //# sourceMappingURL=storage-N7LB275C.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  loadFence,
3
3
  saveFence
4
- } from "./chunk-MVOWXQHN.js";
4
+ } from "./chunk-TOAIYQJR.js";
5
5
  import {
6
6
  NOYDB_FORMAT_VERSION
7
- } from "./chunk-24ZLWWEO.js";
7
+ } from "./chunk-W5W6KHN2.js";
8
8
  import "./chunk-PZ5AY32C.js";
9
9
 
10
10
  // src/with-shape/schema-update/client-registry.ts
@@ -139,4 +139,4 @@ function unref(timer) {
139
139
  export {
140
140
  StoreCoordinationProvider
141
141
  };
142
- //# sourceMappingURL=store-coordination-provider-4SKLSFUG.js.map
142
+ //# sourceMappingURL=store-coordination-provider-PB6QZ57W.js.map
@@ -2,19 +2,19 @@ import {
2
2
  PresenceHandle,
3
3
  SyncEngine,
4
4
  SyncTransaction
5
- } from "../chunk-TFZ7LLOQ.js";
5
+ } from "../chunk-EDXAQ6JI.js";
6
6
  import {
7
7
  NO_SYNC
8
8
  } from "../chunk-55LKVALY.js";
9
9
  import "../chunk-JXIDGFKS.js";
10
- import "../chunk-FY343IZR.js";
11
- import "../chunk-NQRJ5AJO.js";
10
+ import "../chunk-VN45YLWM.js";
11
+ import "../chunk-NWCGDAV6.js";
12
12
  import "../chunk-HXGUIPQB.js";
13
13
  import "../chunk-AR2JDFAE.js";
14
14
  import "../chunk-747LRSOO.js";
15
15
  import "../chunk-LP7BEXCT.js";
16
16
  import "../chunk-VCETL77O.js";
17
- import "../chunk-24ZLWWEO.js";
17
+ import "../chunk-W5W6KHN2.js";
18
18
  import "../chunk-HNGSV2YC.js";
19
19
  import "../chunk-PZ5AY32C.js";
20
20
 
@@ -2,7 +2,7 @@ import {
2
2
  MemoryDeviceSealProvider,
3
3
  beginEchoUnlock,
4
4
  withTeam
5
- } from "../chunk-46V67XP5.js";
5
+ } from "../chunk-WQDTCJ6W.js";
6
6
  import {
7
7
  NO_TEAM,
8
8
  burnPaperRecoveryEntry,
@@ -31,8 +31,8 @@ import {
31
31
  unwrapMagicLinkGrant,
32
32
  updateAuthenticator,
33
33
  writeMagicLinkGrant
34
- } from "../chunk-DPJTDNUF.js";
35
- import "../chunk-NVU7ZMPN.js";
34
+ } from "../chunk-VRA4Q7DA.js";
35
+ import "../chunk-PJNTR2NV.js";
36
36
  import {
37
37
  buildEchoBlock,
38
38
  buildRecipientKeyringFile,
@@ -53,17 +53,17 @@ import {
53
53
  updateKeyringIdentity,
54
54
  verifyPrompt,
55
55
  verifyTypedEcho
56
- } from "../chunk-RLWY6Z44.js";
57
- import "../chunk-27TCYH6G.js";
56
+ } from "../chunk-ERB6NDDW.js";
57
+ import "../chunk-UIBGXRDD.js";
58
58
  import "../chunk-AHLJSVRL.js";
59
- import "../chunk-FY343IZR.js";
60
- import "../chunk-NQRJ5AJO.js";
59
+ import "../chunk-VN45YLWM.js";
60
+ import "../chunk-NWCGDAV6.js";
61
61
  import "../chunk-HXGUIPQB.js";
62
62
  import "../chunk-AR2JDFAE.js";
63
63
  import "../chunk-747LRSOO.js";
64
64
  import "../chunk-LP7BEXCT.js";
65
65
  import "../chunk-VCETL77O.js";
66
- import "../chunk-24ZLWWEO.js";
66
+ import "../chunk-W5W6KHN2.js";
67
67
  import {
68
68
  TeamNotEnabledError
69
69
  } from "../chunk-HNGSV2YC.js";
@@ -11,16 +11,16 @@ import {
11
11
  putAtTier,
12
12
  syncDerivedOutputs,
13
13
  withTiers
14
- } from "../chunk-PGAPBZEK.js";
14
+ } from "../chunk-C2OOEM57.js";
15
15
  import "../chunk-AHLJSVRL.js";
16
- import "../chunk-FY343IZR.js";
17
- import "../chunk-NQRJ5AJO.js";
16
+ import "../chunk-VN45YLWM.js";
17
+ import "../chunk-NWCGDAV6.js";
18
18
  import "../chunk-HXGUIPQB.js";
19
19
  import "../chunk-AR2JDFAE.js";
20
20
  import "../chunk-747LRSOO.js";
21
21
  import "../chunk-LP7BEXCT.js";
22
22
  import "../chunk-VCETL77O.js";
23
- import "../chunk-24ZLWWEO.js";
23
+ import "../chunk-W5W6KHN2.js";
24
24
  import {
25
25
  TiersNotEnabledError
26
26
  } from "../chunk-HNGSV2YC.js";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Classified fields — behavioral sensitive-field descriptors (stage 1).
3
- * Design: docs/superpowers/specs/2026-07-04-classified-fields-design.md
3
+ * Design: design-history/2026-07-04-classified-fields-design.md
4
4
  * Law: open on write, declarative on read — read-side behavior is this
5
5
  * closed vocabulary; there are no read-side callbacks.
6
6
  * @module
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  dumpVaultSchema
3
- } from "./chunk-MJWCLSQL.js";
3
+ } from "./chunk-P7OG2ETF.js";
4
4
  import "./chunk-KHKKD62N.js";
5
- import "./chunk-2LGDCNFJ.js";
5
+ import "./chunk-Z45YRGFO.js";
6
6
  import "./chunk-Y2NBBT6K.js";
7
- import "./chunk-V5C5NNBR.js";
8
- import "./chunk-FY343IZR.js";
9
- import "./chunk-NQRJ5AJO.js";
7
+ import "./chunk-4MC5JRRX.js";
8
+ import "./chunk-VN45YLWM.js";
9
+ import "./chunk-NWCGDAV6.js";
10
10
  import "./chunk-HXGUIPQB.js";
11
11
  import "./chunk-AR2JDFAE.js";
12
12
  import "./chunk-747LRSOO.js";
13
13
  import "./chunk-LP7BEXCT.js";
14
14
  import "./chunk-VCETL77O.js";
15
- import "./chunk-24ZLWWEO.js";
15
+ import "./chunk-W5W6KHN2.js";
16
16
  import "./chunk-HNGSV2YC.js";
17
17
  import "./chunk-PZ5AY32C.js";
18
18
  export {
19
19
  dumpVaultSchema
20
20
  };
21
- //# sourceMappingURL=walk-MQHYNDLZ.js.map
21
+ //# sourceMappingURL=walk-OCUHCYJ6.js.map
@@ -2,7 +2,7 @@
2
2
  * @category capability
3
3
  * Document attestation — issue side. Mint a signed, per-field commitment
4
4
  * for a record and emit a QR credential verifiable offline via
5
- * `@noy-db/attestation`. See docs/superpowers/specs/2026-05-29-attestation-core-and-issue-design.md.
5
+ * `@noy-db/attestation`. See design-history/2026-05-29-attestation-core-and-issue-design.md.
6
6
  */
7
7
  export { withAttestation } from './active.js';
8
8
  export { NO_ATTESTATION, type AttestationStrategy } from './strategy.js';
@@ -10,6 +10,6 @@ import type { GuardSpec, GuardStrategy } from './types.js';
10
10
  *
11
11
  * Pass the returned handle to `createNoydb({ strategies: [...] })`.
12
12
  *
13
- * @see docs/superpowers/specs/2026-05-18-guards-design.md
13
+ * @see design-history/2026-05-18-guards-design.md
14
14
  */
15
15
  export declare function withGuard<T extends Record<string, unknown>>(strategy: GuardSpec<T>): GuardStrategy<T>;
@@ -8,7 +8,7 @@
8
8
  * distributed query, addressing, and change-observation. It consolidates the
9
9
  * runtime floor formerly published as `/kernel` plus the orchestration delta.
10
10
  *
11
- * See docs/superpowers/specs/2026-07-01-noydb-architecture-lexicon.md.
11
+ * See docs/foundations/architecture-lexicon.md.
12
12
  *
13
13
  * @packageDocumentation
14
14
  */
@@ -128,7 +128,7 @@ export interface LedgerEntry {
128
128
  * the role of the actor, the (collection, id, vBefore, vAfter) tuple
129
129
  * for every record touched, and which guard invariants passed.
130
130
  *
131
- * See docs/superpowers/specs/2026-05-18-guards-design.md.
131
+ * See design-history/2026-05-18-guards-design.md.
132
132
  */
133
133
  readonly amendment?: {
134
134
  readonly reason: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @category capability
3
3
  * Deferred-numbering config descriptor. See
4
- * docs/superpowers/specs/2026-06-08-sealed-numbering-and-store-clock-design.md.
4
+ * design-history/2026-06-08-sealed-numbering-and-store-clock-design.md.
5
5
  */
6
6
  /** A registered deferred-numbering series. */
7
7
  export interface DeferredNumberingConfig {
@@ -5,6 +5,6 @@ import type { DerivationSpec, DerivationStrategy } from './types.js';
5
5
  * plaintext after DEK unwrap. Outputs are encrypted with the same DEK
6
6
  * as the source and written via the standard `Collection.put` path.
7
7
  *
8
- * See docs/superpowers/specs/2026-05-01-dim14-derivation-v1-design.md.
8
+ * See design-history/2026-05-01-dim14-derivation-v1-design.md.
9
9
  */
10
10
  export declare function withDerivation<TSource extends Record<string, unknown>, TOutputs extends Record<string, Record<string, unknown> | ReadonlyArray<Record<string, unknown>>>>(spec: DerivationSpec<TSource, TOutputs>): DerivationStrategy;
@@ -21,8 +21,8 @@ import type { MaterializedViewSpec, MaterializedViewStrategy } from './types.js'
21
21
  * The three modes are mutually exclusive — exactly one of `query` /
22
22
  * `unionSources` / `projection` must be set at registration time.
23
23
  *
24
- * See docs/superpowers/specs/2026-05-20-dim14-mv-v2-design.md (single-source v2),
25
- * docs/superpowers/specs/2026-05-21-dim14-mv-multikey-and-union.md (UNION),
26
- * and docs/superpowers/specs/2026-07-25-join-projection-mv-design.md (projection).
24
+ * See design-history/2026-05-20-dim14-mv-v2-design.md (single-source v2),
25
+ * design-history/2026-05-21-dim14-mv-multikey-and-union.md (UNION),
26
+ * and design-history/2026-07-25-join-projection-mv-design.md (projection).
27
27
  */
28
28
  export declare function withMaterializedView<TRow extends Record<string, unknown>>(spec: MaterializedViewSpec<TRow>): MaterializedViewStrategy;
@@ -4,6 +4,6 @@ import type { OverlayedViewSpec, OverlayedViewStrategy } from './types.js';
4
4
  * a user-writable overlay so consumers can express operator-editable
5
5
  * lifecycles as one declarative block.
6
6
  *
7
- * See docs/superpowers/specs/2026-05-20-dim14-mv-v2-design.md.
7
+ * See design-history/2026-05-20-dim14-mv-v2-design.md.
8
8
  */
9
9
  export declare function withOverlayedView(spec: OverlayedViewSpec): OverlayedViewStrategy;
@@ -20,7 +20,7 @@
20
20
  * vault instance (and thus no custody namespace) yet — it stays the exported
21
21
  * `team/deed.ts` function.
22
22
  *
23
- * @see docs/superpowers/specs/2026-06-17-fr6-deed-custodian-liberate-design.md
23
+ * @see design-history/2026-06-17-fr6-deed-custodian-liberate-design.md
24
24
  * @module
25
25
  */
26
26
  import type { GrantOptions, RevokeOptions, FactorProofBundle } from '../../kernel/types.js';
@@ -5,7 +5,7 @@
5
5
  * `UserEnvelopeOversizedError` live in the kernel spine
6
6
  * (`kernel/types.ts` / `kernel/constants.ts` / `kernel/errors.ts`).
7
7
  *
8
- * @see docs/superpowers/specs/2026-05-05-user-envelope-design.md
8
+ * @see design-history/2026-05-05-user-envelope-design.md
9
9
  *
10
10
  * @module
11
11
  */
@@ -12,7 +12,7 @@
12
12
  * (`vault.user.*`) sits on top of this; permission gates, own-only
13
13
  * write enforcement, and presence-channel propagation live there.
14
14
  *
15
- * @see docs/superpowers/specs/2026-05-05-user-envelope-design.md
15
+ * @see design-history/2026-05-05-user-envelope-design.md
16
16
  *
17
17
  * @module
18
18
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * `beginEchoUnlock` — the interactive ceremony API (spec
3
- * docs/superpowers/specs/2026-08-02-echo-secret-design.md, #940, Task 6).
3
+ * design-history/2026-08-02-echo-secret-design.md, #940, Task 6).
4
4
  *
5
5
  * Split out of `echo-secret.ts` (which owns only the block builders +
6
6
  * verifiers) because this module orchestrates BOTH `echo-secret.ts`
@@ -33,7 +33,7 @@ export interface EchoCeremony {
33
33
  * TYPE it.
34
34
  *
35
35
  * Conforming-player contract (spec
36
- * docs/superpowers/specs/2026-08-02-echo-secret-design.md, "Ceremony"):
36
+ * design-history/2026-08-02-echo-secret-design.md, "Ceremony"):
37
37
  * when the owner does NOT recognize the revealed echo, the player MUST show
38
38
  * a hard phishing warning — do not continue, open the official app, rotate
39
39
  * the secret immediately — MUST NOT offer any skip or
@@ -57,7 +57,7 @@ export interface EchoCeremony {
57
57
  * cannot be resolved — sealed reveal under a foreign device).
58
58
  *
59
59
  * Conforming-player contract (spec
60
- * docs/superpowers/specs/2026-08-02-echo-secret-design.md): an owner who does
60
+ * design-history/2026-08-02-echo-secret-design.md): an owner who does
61
61
  * not recognize `ceremony.reveal` is looking at a phish. The player MUST then
62
62
  * show a hard warning (stop, open the official app, rotate the secret now),
63
63
  * MUST NOT offer a skip / "verification unavailable" fallback or any
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Echo-block builders + verifiers (spec
3
- * docs/superpowers/specs/2026-08-02-echo-secret-design.md, #940).
3
+ * design-history/2026-08-02-echo-secret-design.md, #940).
4
4
  *
5
5
  * Builds and verifies the on-keyring {@link KeyringEchoBlock} declaration
6
6
  * for the 3-part echo ceremony (prompt → echo → key). This module owns:
@@ -24,7 +24,7 @@
24
24
  * offline brute-force oracles for anyone holding the keyring file (600K
25
25
  * PBKDF2 per guess), and the `sealed` reveal blob is unpadded so its length
26
26
  * discloses the echo's UTF-8 byte length — see the threat model in
27
- * `docs/superpowers/specs/2026-08-02-echo-secret-design.md`.
27
+ * `design-history/2026-08-02-echo-secret-design.md`.
28
28
  *
29
29
  * @module
30
30
  */
@@ -3,7 +3,7 @@
3
3
  * {@link VaultSchemaSnapshot} describing the vault's shape and (optional)
4
4
  * stats. Consumed by `noydb describe` for human-readable audit output.
5
5
  *
6
- * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
6
+ * @see design-history/2026-05-22-schema-dump-design.md
7
7
  *
8
8
  * @module
9
9
  */
@@ -3,7 +3,7 @@
3
3
  * by `vault.dumpSchema()`. Consumed by the upcoming `noydb describe`
4
4
  * CLI to emit human-readable YAML/JSON audit output.
5
5
  *
6
- * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
6
+ * @see design-history/2026-05-22-schema-dump-design.md
7
7
  *
8
8
  * @module
9
9
  */
@@ -5,7 +5,7 @@
5
5
  * hub never statically imports zod. Other validator families write a stub
6
6
  * envelope flagging the kind.
7
7
  *
8
- * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
8
+ * @see design-history/2026-05-22-schema-dump-design.md
9
9
  *
10
10
  * @module
11
11
  */
@@ -10,7 +10,7 @@
10
10
  * Standard Schema validators (Valibot, ArkType, Effect Schema) write a
11
11
  * stub envelope flagging the kind without a JSON Schema body.
12
12
  *
13
- * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
13
+ * @see design-history/2026-05-22-schema-dump-design.md
14
14
  *
15
15
  * @module
16
16
  */
@@ -5,7 +5,7 @@
5
5
  * collection's records. Auditors who can unlock the collection's data can
6
6
  * also read its schema; nothing more.
7
7
  *
8
- * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
8
+ * @see design-history/2026-05-22-schema-dump-design.md
9
9
  *
10
10
  * @module
11
11
  */
@@ -4,18 +4,18 @@ import {
4
4
  freezeSnapshotOnly,
5
5
  randomId,
6
6
  withdrawAccessibleData
7
- } from "./chunk-JSRU5W2M.js";
8
- import "./chunk-4MQDV3HZ.js";
9
- import "./chunk-EK7DT5BT.js";
10
- import "./chunk-CYQOUTMY.js";
11
- import "./chunk-FY343IZR.js";
12
- import "./chunk-NQRJ5AJO.js";
7
+ } from "./chunk-EP7VPR7Y.js";
8
+ import "./chunk-52QYGZHH.js";
9
+ import "./chunk-VOQW5LAM.js";
10
+ import "./chunk-SZ2K3MHL.js";
11
+ import "./chunk-VN45YLWM.js";
12
+ import "./chunk-NWCGDAV6.js";
13
13
  import "./chunk-HXGUIPQB.js";
14
14
  import "./chunk-AR2JDFAE.js";
15
15
  import "./chunk-747LRSOO.js";
16
16
  import "./chunk-LP7BEXCT.js";
17
17
  import "./chunk-VCETL77O.js";
18
- import "./chunk-24ZLWWEO.js";
18
+ import "./chunk-W5W6KHN2.js";
19
19
  import "./chunk-HNGSV2YC.js";
20
20
  import "./chunk-PZ5AY32C.js";
21
21
  export {
@@ -25,4 +25,4 @@ export {
25
25
  randomId,
26
26
  withdrawAccessibleData
27
27
  };
28
- //# sourceMappingURL=withdraw-accessible-JSDQHXHE.js.map
28
+ //# sourceMappingURL=withdraw-accessible-QQNWM5BO.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noy-db/hub",
3
- "version": "0.6.0-pre.0",
3
+ "version": "0.6.0-pre.2",
4
4
  "description": "Zero-knowledge, offline-first, encrypted document store — core library with AES-256-GCM, PBKDF2, multi-user keyring, and sync engine",
5
5
  "license": "MIT",
6
6
  "author": "vLannaAi <vicio@lanna.ai>",
@@ -208,14 +208,14 @@
208
208
  "node": ">=22.0.0"
209
209
  },
210
210
  "dependencies": {
211
- "@noy-db/attestation": "0.6.0-pre.0"
211
+ "@noy-db/attestation": "0.6.0-pre.2"
212
212
  },
213
213
  "devDependencies": {
214
214
  "@types/node": "^22.0.0",
215
215
  "esbuild": "^0.25.0",
216
216
  "zod": "^4.0.0",
217
217
  "zod-to-json-schema": "^3.25.2",
218
- "@noy-db/on-shamir": "0.6.0-pre.0"
218
+ "@noy-db/on-shamir": "0.6.0-pre.2"
219
219
  },
220
220
  "peerDependencies": {
221
221
  "zod-to-json-schema": "^3.25.0"
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/with-commit/history/ledger/entry.ts","../src/with-commit/history/ledger/hash.ts"],"sourcesContent":["/**\n * Ledger entry shape + canonical JSON + sha256 helpers.\n *\n * This file holds the PURE primitives used by the hash-chained ledger:\n * the entry type, the deterministic (sort-stable) JSON encoder, and\n * the sha256 hasher that produces `prevHash` and `ledger.head()`.\n *\n * Everything here is validator-free and side-effect free — the only\n * runtime dep is Web Crypto's `subtle.digest` for the sha256 call,\n * which we already use for every other hashing operation in the core.\n *\n * The hash chain property works like this:\n *\n * hash(entry[i]) = sha256(canonicalJSON(entry[i]))\n * entry[i+1].prevHash = hash(entry[i])\n *\n * Any modification to `entry[i]` (field values, field order, whitespace)\n * produces a different `hash(entry[i])`, which means `entry[i+1]`'s\n * stored `prevHash` no longer matches the recomputed hash, which means\n * `verify()` returns `{ ok: false, divergedAt: i + 1 }`. The chain is\n * append-only and tamper-evident without external anchoring.\n */\n\n/**\n * A single ledger entry in its plaintext form — what gets serialized,\n * hashed, and then encrypted with the ledger DEK before being written\n * to the `_ledger/` adapter collection.\n *\n * ## Why hash the ciphertext, not the plaintext?\n *\n * `payloadHash` is the sha256 of the record's ENCRYPTED envelope bytes,\n * not its plaintext. This matters:\n *\n * 1. **Zero-knowledge preserved.** A user (or a third party) can\n * verify the ledger against the stored envelopes without any\n * decryption keys. The adapter layer already holds only\n * ciphertext, so hashing the ciphertext keeps the ledger at the\n * same privacy level as the adapter.\n *\n * 2. **Determinism.** Plaintext → ciphertext is randomized by the\n * fresh per-write IV, so `hash(plaintext)` would need extra\n * normalization. `hash(ciphertext)` is already deterministic and\n * unique per write.\n *\n * 3. **Detection property.** If an attacker modifies even one byte of\n * the stored ciphertext (trying to flip a record), the hash\n * changes, the ledger's recorded `payloadHash` no longer matches,\n * and a data-integrity check fails. We don't do that check in\n * `verify()` today, but the\n * hook is there for a future `verifyIntegrity()` follow-up.\n *\n * Fields marked `op`, `collection`, `id`, `version`, `ts`, `actor` are\n * plaintext METADATA about the operation — NOT the record itself. The\n * entry is still encrypted at rest via the ledger DEK, but adapters\n * could theoretically infer operation patterns from the sizes and\n * timestamps. This is an accepted trade-off for the tamper-evidence\n * property; full ORAM-level privacy is out of scope for noy-db.\n */\nimport { sha256Hex as sha256HexBytes } from '../../../kernel/enclave/index.js'\n\nexport interface LedgerEntry {\n /**\n * Zero-based sequential position of this entry in the chain. The\n * canonical adapter key is this number zero-padded to 10 digits\n * (`\"0000000001\"`) so lexicographic ordering matches numeric order.\n */\n readonly index: number\n\n /**\n * Hex-encoded sha256 of the canonical JSON of the PREVIOUS entry.\n * The genesis entry (index 0) has `prevHash === ''` — the first\n * entry in a fresh vault has nothing to point back to.\n */\n readonly prevHash: string\n\n /**\n * Which kind of mutation this entry records. only supports\n * data operations (`put`, `delete`, `amendment`). Access-control\n * operations (`grant`, `revoke`, `rotate`) will be added in a\n * follow-up once the keyring write path is instrumented — that's\n * tracked in the epic issue.\n *\n * `'amendment'` is the multi-record audit entry written by the\n * guards service when an admin/owner uses `withTransactions(...)`\n * to repair a constraint-violating state. See `amendment` field\n * below for the structured payload.\n *\n * `'lifecycle'` records a non-data audit event (e.g. partition\n * handover) — `collection`/`id` are empty and the event detail\n * lives in `reason` (e.g. `'partition-handed-over:<sealId>'`). Like\n * `amendment`, it carries no data envelope, so `verifyBackupIntegrity`\n * skips it in the data cross-check (it still participates in the\n * tamper-evident chain).\n *\n * `'forget'` is the single summary entry written by `vault.forget()`\n * (GDPR crypto-shred). `collection`/`id` are empty and `version`\n * is 0 — a forget is not scoped to one record. `payloadHash` carries\n * `sha256Hex(subjectId)` so the ledger PROVES \"subject X existed and\n * was erased on date D\" without retaining the subject id or any\n * plaintext; `reason` holds a JSON summary of the shred counts. Like\n * `amendment`/`lifecycle` it carries no data envelope and is skipped\n * by the reconstruct walker (it still participates in the chain, so\n * `verify()` passes after a shred).\n */\n readonly op: 'put' | 'delete' | 'amendment' | 'lifecycle' | 'migration' | 'forget'\n\n /** The collection the mutation targeted. */\n readonly collection: string\n\n /** The record id the mutation targeted. */\n readonly id: string\n\n /**\n * The record version AFTER this mutation. For `put` this is the\n * newly assigned version; for `delete` this is the version that\n * was deleted (the last version visible to reads).\n */\n readonly version: number\n\n /** ISO timestamp of the mutation. */\n readonly ts: string\n\n /** User id of the actor who performed the mutation. */\n readonly actor: string\n\n /**\n * Hex-encoded sha256 over the encrypted envelope's `_data` field, plus its\n * sealed-field ciphertext map (`_sealed`) when the record carries one —\n * so the ledger attests to both the open body and every sealed\n * value. A record with no `_sealed` hashes `_data` alone.\n * For `put`, this is the hash of the new ciphertext. For `delete`,\n * it's the hash of the last visible ciphertext at deletion time, or the empty\n * string if nothing was there to delete. Hashing the ciphertext (not the\n * plaintext) preserves zero-knowledge — see the file docstring. The exact\n * recipe lives in `envelopePayloadHash` (`hash.ts`).\n */\n readonly payloadHash: string\n\n /**\n * Optional human-readable tag describing why this mutation happened.\n * Threaded through `collection.put(_, _, { reason })`. Common\n * values include `'import:csv'`, `'import:json'`, `'import:xlsx'` from\n * `as-*` ImportPlan.apply(), but consumers can use any string for\n * domain-specific audit filtering. Auto-strip via `canonicalJson` —\n * absent on the wire, never serialized as `null`.\n *\n * Audit consumers filter: `entries.filter(e => e.reason?.startsWith('import:'))`.\n */\n readonly reason?: string\n\n /**\n * Optional hex-encoded sha256 of the encrypted JSON Patch delta\n * blob stored alongside this entry in `_ledger_deltas/`. Present\n * only for `put` operations that had a previous version — the\n * genesis put of a new record, and every `delete`, leave this\n * field undefined.\n *\n * The delta payload itself lives in a sibling internal collection\n * (`_ledger_deltas/<paddedIndex>`) and is encrypted with the\n * ledger DEK. Callers use `ledger.loadDelta(index)` to decrypt and\n * deserialize it when reconstructing a historical version.\n *\n * Why optional instead of always-present: the first put of a\n * record has no previous version to diff against, so storing an\n * empty patch would be noise. For deletes there's no \"next\" state\n * to describe with a delta. Both cases set this field to undefined.\n *\n * Note: the canonical-JSON hasher treats `undefined` as invalid\n * (it's one of the guard rails), so on the wire this field is\n * either `{ deltaHash: '<hex>' }` or absent from the JSON\n * entirely — never `{ deltaHash: undefined }`.\n */\n readonly deltaHash?: string\n\n /**\n * Present only when `op === 'amendment'`. Records the human reason,\n * the role of the actor, the (collection, id, vBefore, vAfter) tuple\n * for every record touched, and which guard invariants passed.\n *\n * See docs/superpowers/specs/2026-05-18-guards-design.md.\n */\n readonly amendment?: {\n readonly reason: string\n readonly role: 'admin' | 'owner'\n readonly changes: ReadonlyArray<{\n readonly collection: string\n readonly id: string\n readonly vBefore: number\n readonly vAfter: number\n }>\n readonly invariantsPassed: ReadonlyArray<string>\n }\n}\n\n/**\n * Canonical (sort-stable) JSON encoder.\n *\n * This function is the load-bearing primitive of the hash chain:\n * `sha256(canonicalJSON(entry))` must produce the same hex string\n * every time, on every machine, for the same logical entry — otherwise\n * `verify()` would return `{ ok: false }` on cross-platform reads.\n *\n * JavaScript's `JSON.stringify` is almost canonical, but NOT quite:\n * it preserves the insertion order of object keys, which means\n * `{a:1,b:2}` and `{b:2,a:1}` serialize differently. We fix this by\n * recursively walking objects and sorting their keys before\n * concatenation.\n *\n * Arrays keep their original order (reordering them would change\n * semantics). Numbers, strings, booleans, and `null` use the default\n * JSON encoding. `undefined` and functions are rejected — ledger\n * entries are plain data, and silently dropping `undefined` would\n * break the \"same input → same hash\" property if a caller forgot to\n * omit a field.\n *\n * Performance: one pass per nesting level; O(n log n) for key sorting\n * at each object. Entries are small (< 1 KB) so this is negligible\n * compared to the sha256 call.\n */\nexport function canonicalJson(value: unknown): string {\n if (value === null) return 'null'\n if (typeof value === 'boolean') return value ? 'true' : 'false'\n if (typeof value === 'number') {\n if (!Number.isFinite(value)) {\n throw new Error(\n `canonicalJson: refusing to encode non-finite number ${String(value)}`,\n )\n }\n return JSON.stringify(value)\n }\n if (typeof value === 'string') return JSON.stringify(value)\n if (typeof value === 'bigint') {\n throw new Error('canonicalJson: BigInt is not JSON-serializable')\n }\n if (typeof value === 'undefined' || typeof value === 'function') {\n throw new Error(\n `canonicalJson: refusing to encode ${typeof value} — include all fields explicitly`,\n )\n }\n if (Array.isArray(value)) {\n return '[' + value.map((v) => canonicalJson(v)).join(',') + ']'\n }\n if (typeof value === 'object') {\n const obj = value as Record<string, unknown>\n const keys = Object.keys(obj).sort()\n const parts: string[] = []\n for (const key of keys) {\n parts.push(JSON.stringify(key) + ':' + canonicalJson(obj[key]))\n }\n return '{' + parts.join(',') + '}'\n }\n throw new Error(`canonicalJson: unexpected value type: ${typeof value}`)\n}\n\n/**\n * Compute a hex-encoded sha256 of a string via Web Crypto's subtle API.\n *\n * We use hex (not base64) for hashes because hex is case-insensitive,\n * fixed-length (64 chars), and easier to compare visually in debug\n * output. Base64 would save a few bytes in storage but every encrypted\n * ledger entry is already much larger than the hash itself.\n */\nexport async function sha256Hex(input: string): Promise<string> {\n return sha256HexBytes(new TextEncoder().encode(input))\n}\n\n/**\n * Compute the canonical hash of a ledger entry. Short wrapper around\n * `canonicalJson` + `sha256Hex`; callers use this instead of composing\n * the two functions every time, so any future change to the hashing\n * pipeline (e.g., adding a domain-separation prefix) lives in one place.\n */\nexport async function hashEntry(entry: LedgerEntry): Promise<string> {\n return sha256Hex(canonicalJson(entry))\n}\n\n/**\n * Pad an index to the canonical 10-digit form used as the adapter key.\n * Ten digits is enough for ~10 billion ledger entries per vault\n * — far beyond any realistic use case, but cheap enough that the extra\n * digits don't hurt storage.\n */\nexport function paddedIndex(index: number): string {\n return String(index).padStart(10, '0')\n}\n\n/** Parse a padded adapter key back into a number. Returns NaN on malformed input. */\nexport function parseIndex(key: string): number {\n return Number.parseInt(key, 10)\n}\n","/**\n * Envelope payload hash — pinned in its own leaf module so consumers\n * (DictionaryHandle, the active history strategy) can import it\n * without dragging in the `LedgerStore` class.\n *\n * see `constants.ts` for the broader rationale.\n *\n * @internal\n */\n\nimport type { EncryptedEnvelope } from '../../../kernel/types.js'\nimport { sha256Hex } from './entry.js'\nimport { envelopeBodyForHash } from '../../../kernel/enclave/index.js'\n\n/**\n * Compute the `payloadHash` value for an encrypted envelope. Used by\n * `LedgerStore.append` for both put (hash the new envelope) and\n * delete (hash the previous envelope) paths, and by\n * `DictionaryHandle` so its ledger entries match the same contract.\n *\n * Hashes the open `_data` ciphertext, plus the sealed-field ciphertext\n * map (`_sealed`) when a record carries one — so the ledger attests to\n * both the open body AND every sealed value … and the verify-digest\n * ciphertext map (`_vdig`), each bound only when present — the `_vdig`\n * binding is the temporal-rollback detector for the C1 splice class.\n * `rotateRecordCek` rewrites `_vdig` with no ledger entry, the same\n * pre-existing rotation property `_sealed`/`_cek` already have\n * (`verifyBackupIntegrity` flags rotated records until re-anchored).\n *\n * Returns the empty string when there is no envelope (delete of a\n * never-existed record). The empty string tolerated by the ledger\n * entry's `payloadHash` field as the canonical \"nothing here\" value.\n */\nexport async function envelopePayloadHash(\n envelope: EncryptedEnvelope | null,\n): Promise<string> {\n if (!envelope) return ''\n // Back-compat: a record with NO sealed fields hashes as sha256 of\n // `_data` alone — so every pre-existing ledger entry\n // and every non-sealed backup verifies byte-identically. A record WITH\n // `_sealed` widens the hash to also bind the sealed-field ciphertext, so the\n // ledger attests to sealed-value tamper/erasure (a dropped or swapped\n // `_sealed[field]` now diverges `verifyBackupIntegrity`'s data cross-check).\n // `envelopeBodyForHash` (the enclave barrel's C1 protected-body access\n // contract) derives this exact string — see its own doc for the\n // canonicalization recipe (sorted keys, independent of `_sealed`'s\n // field-insertion / store-serialization order).\n //\n // `_cek` is deliberately NOT bound: a tampered wrapped-CEK already self-\n // detects (it fails to unwrap), and `rotateRecordCek` rewrites `_cek` with no\n // ledger entry — binding it would make every legitimate rotation fail verify.\n //\n // RESIDUAL: a backup containing sealed records created BEFORE this change\n // stored `payloadHash` over `_data` only, so it will fail the data cross-check\n // and must be re-anchored (re-`put`/re-baseline). Sealed fields are new, so\n // this is expected to affect ~no real vault.\n //\n // The two branches are NOT domain-separated — D1 pins the no-`_sealed` branch\n // to exactly `sha256(_data)`, so it cannot carry a discriminator tag. An actor\n // with raw-store write access could therefore set a non-sealed record's `_data`\n // equal to the canonical-JSON string below and collide a sealed record's hash —\n // but doing so overwrites `_data` itself, which then no longer GCM-decrypts, so\n // it only suppresses the verify signal on an already-destroyed record; it cannot\n // silently erase one sealed field while leaving the record readable.\n return sha256Hex(envelopeBodyForHash(envelope))\n}\n"],"mappings":";;;;;;;;AA2NO,SAAS,cAAc,OAAwB;AACpD,MAAI,UAAU,KAAM,QAAO;AAC3B,MAAI,OAAO,UAAU,UAAW,QAAO,QAAQ,SAAS;AACxD,MAAI,OAAO,UAAU,UAAU;AAC7B,QAAI,CAAC,OAAO,SAAS,KAAK,GAAG;AAC3B,YAAM,IAAI;AAAA,QACR,uDAAuD,OAAO,KAAK,CAAC;AAAA,MACtE;AAAA,IACF;AACA,WAAO,KAAK,UAAU,KAAK;AAAA,EAC7B;AACA,MAAI,OAAO,UAAU,SAAU,QAAO,KAAK,UAAU,KAAK;AAC1D,MAAI,OAAO,UAAU,UAAU;AAC7B,UAAM,IAAI,MAAM,gDAAgD;AAAA,EAClE;AACA,MAAI,OAAO,UAAU,eAAe,OAAO,UAAU,YAAY;AAC/D,UAAM,IAAI;AAAA,MACR,qCAAqC,OAAO,KAAK;AAAA,IACnD;AAAA,EACF;AACA,MAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,WAAO,MAAM,MAAM,IAAI,CAAC,MAAM,cAAc,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;AAAA,EAC9D;AACA,MAAI,OAAO,UAAU,UAAU;AAC7B,UAAM,MAAM;AACZ,UAAM,OAAO,OAAO,KAAK,GAAG,EAAE,KAAK;AACnC,UAAM,QAAkB,CAAC;AACzB,eAAW,OAAO,MAAM;AACtB,YAAM,KAAK,KAAK,UAAU,GAAG,IAAI,MAAM,cAAc,IAAI,GAAG,CAAC,CAAC;AAAA,IAChE;AACA,WAAO,MAAM,MAAM,KAAK,GAAG,IAAI;AAAA,EACjC;AACA,QAAM,IAAI,MAAM,yCAAyC,OAAO,KAAK,EAAE;AACzE;AAUA,eAAsBA,WAAU,OAAgC;AAC9D,SAAO,UAAe,IAAI,YAAY,EAAE,OAAO,KAAK,CAAC;AACvD;AAQA,eAAsB,UAAU,OAAqC;AACnE,SAAOA,WAAU,cAAc,KAAK,CAAC;AACvC;AAQO,SAAS,YAAY,OAAuB;AACjD,SAAO,OAAO,KAAK,EAAE,SAAS,IAAI,GAAG;AACvC;AAGO,SAAS,WAAW,KAAqB;AAC9C,SAAO,OAAO,SAAS,KAAK,EAAE;AAChC;;;AChQA,eAAsB,oBACpB,UACiB;AACjB,MAAI,CAAC,SAAU,QAAO;AA4BtB,SAAOC,WAAU,oBAAoB,QAAQ,CAAC;AAChD;","names":["sha256Hex","sha256Hex"]}