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

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 (285) hide show
  1. package/codemods/0.4.0-pre.json +699 -0
  2. package/dist/{api-67SBPMMH.js → api-RXUMEKT3.js} +6 -6
  3. package/dist/attestation/index.js +12 -12
  4. package/dist/attestation/index.js.map +1 -1
  5. package/dist/{backup-GAYWQAFN.js → backup-AVAGHAJE.js} +25 -6
  6. package/dist/backup-AVAGHAJE.js.map +1 -0
  7. package/dist/blobs/index.js +5 -5
  8. package/dist/broker/index.js +6 -6
  9. package/dist/{bundle-handle-5OUAI7CV.js → bundle-handle-GFNHT52M.js} +2 -2
  10. package/dist/cargo/index.js +18 -18
  11. package/dist/{chunk-CYQOUTMY.js → chunk-2BMRJ6LQ.js} +2 -2
  12. package/dist/{chunk-HS7HNYBD.js → chunk-2DHSSLOD.js} +6 -6
  13. package/dist/{chunk-JH3OHQM4.js → chunk-2Z3NCLNX.js} +6 -6
  14. package/dist/{chunk-NVU7ZMPN.js → chunk-3IXIU6FP.js} +2 -2
  15. package/dist/{chunk-XBLKM73C.js → chunk-3JVXVJ7L.js} +8 -8
  16. package/dist/{chunk-FY343IZR.js → chunk-3URQC7EH.js} +3 -3
  17. package/dist/{chunk-BPTZ4K5L.js → chunk-4GZ6XOVW.js} +7 -7
  18. package/dist/{chunk-ROWL352P.js → chunk-4I72F5DF.js} +4 -4
  19. package/dist/{chunk-EK7DT5BT.js → chunk-4VUPLMZ6.js} +39 -3
  20. package/dist/chunk-4VUPLMZ6.js.map +1 -0
  21. package/dist/{chunk-LBGPO5RL.js → chunk-52JPHN5N.js} +4 -4
  22. package/dist/{chunk-27TCYH6G.js → chunk-5JY5TSVY.js} +3 -3
  23. package/dist/{chunk-27TCYH6G.js.map → chunk-5JY5TSVY.js.map} +1 -1
  24. package/dist/chunk-5O5HRRTV.js +201 -0
  25. package/dist/chunk-5O5HRRTV.js.map +1 -0
  26. package/dist/{chunk-ZXJXDHNK.js → chunk-5ZKS6ZE2.js} +2 -2
  27. package/dist/{chunk-ZXJXDHNK.js.map → chunk-5ZKS6ZE2.js.map} +1 -1
  28. package/dist/{chunk-MVOWXQHN.js → chunk-6BU3L4UE.js} +2 -2
  29. package/dist/{chunk-OSFPNKY4.js → chunk-6FJWSWFT.js} +2 -2
  30. package/dist/chunk-6FJWSWFT.js.map +1 -0
  31. package/dist/{chunk-CJ73OLMW.js → chunk-6HFM7EIT.js} +1 -1
  32. package/dist/chunk-6HFM7EIT.js.map +1 -0
  33. package/dist/{chunk-PGAPBZEK.js → chunk-6NVPFKN3.js} +4 -4
  34. package/dist/{chunk-24UICKTB.js → chunk-6SAFL5YE.js} +2 -2
  35. package/dist/chunk-6SAFL5YE.js.map +1 -0
  36. package/dist/{chunk-NQRJ5AJO.js → chunk-7H73RIE3.js} +2 -2
  37. package/dist/{chunk-NQCNSVGI.js → chunk-7MNBICB5.js} +3 -3
  38. package/dist/{chunk-T4GPR2IR.js → chunk-7TSYBD3E.js} +1 -1
  39. package/dist/chunk-7TSYBD3E.js.map +1 -0
  40. package/dist/{chunk-TLNNHG3A.js → chunk-ADW22QSB.js} +3 -3
  41. package/dist/{chunk-TLNNHG3A.js.map → chunk-ADW22QSB.js.map} +1 -1
  42. package/dist/{chunk-3UK6STWO.js → chunk-BEFVYAR5.js} +3 -3
  43. package/dist/{chunk-TFZ7LLOQ.js → chunk-BRVW2GS5.js} +5 -5
  44. package/dist/{chunk-V5C5NNBR.js → chunk-CDB2HVQW.js} +3 -3
  45. package/dist/{chunk-3HYWYLXL.js → chunk-CEJWMBXO.js} +1 -1
  46. package/dist/chunk-CEJWMBXO.js.map +1 -0
  47. package/dist/{chunk-2KIV7BEK.js → chunk-FDX7OWWI.js} +1 -1
  48. package/dist/chunk-FDX7OWWI.js.map +1 -0
  49. package/dist/{chunk-4MQDV3HZ.js → chunk-FFDNKRCY.js} +2 -2
  50. package/dist/{chunk-PP5CO2PR.js → chunk-FMQJZH4R.js} +2 -2
  51. package/dist/{chunk-JSRU5W2M.js → chunk-FZ6NYJ7L.js} +3 -3
  52. package/dist/{chunk-ZGGVOADG.js → chunk-G6S5VVHP.js} +2 -2
  53. package/dist/{chunk-3IIPWA75.js → chunk-GAG7QOVO.js} +27 -2
  54. package/dist/chunk-GAG7QOVO.js.map +1 -0
  55. package/dist/{chunk-JXIDGFKS.js → chunk-HPLWFNG4.js} +3 -1
  56. package/dist/chunk-HPLWFNG4.js.map +1 -0
  57. package/dist/{chunk-ZWMO5GL5.js → chunk-JJNOLSG5.js} +3 -3
  58. package/dist/{chunk-RLWY6Z44.js → chunk-JRKZTEZZ.js} +62 -6
  59. package/dist/chunk-JRKZTEZZ.js.map +1 -0
  60. package/dist/chunk-N35NC4JH.js +123 -0
  61. package/dist/chunk-N35NC4JH.js.map +1 -0
  62. package/dist/{chunk-3CLZY46Y.js → chunk-N3BI6P3J.js} +295 -109
  63. package/dist/chunk-N3BI6P3J.js.map +1 -0
  64. package/dist/{chunk-SRGJET2F.js → chunk-NJDQ4YSV.js} +2 -2
  65. package/dist/{chunk-JEM2IGS3.js → chunk-NPP5R7FF.js} +5 -5
  66. package/dist/{chunk-DPJTDNUF.js → chunk-O2ERS4UJ.js} +5 -5
  67. package/dist/{chunk-F3GVO44K.js → chunk-PDLLCOGD.js} +3 -3
  68. package/dist/{chunk-VBY6ZLJT.js → chunk-PL2GHSCM.js} +3 -3
  69. package/dist/{chunk-DCMQR46R.js → chunk-PNKHAKQ7.js} +3 -3
  70. package/dist/{chunk-MXZ5TSTR.js → chunk-PPMBY7YS.js} +6 -6
  71. package/dist/{chunk-ZK4CO2KZ.js → chunk-Q6TEJXBX.js} +4 -4
  72. package/dist/{chunk-GS5RT2KK.js → chunk-QULVCV3M.js} +2 -2
  73. package/dist/chunk-QULVCV3M.js.map +1 -0
  74. package/dist/{chunk-KZ3KMDN3.js → chunk-RTAMLDWP.js} +6 -2
  75. package/dist/chunk-RTAMLDWP.js.map +1 -0
  76. package/dist/{chunk-MZ5ZFO2D.js → chunk-RXYYFSBB.js} +82 -110
  77. package/dist/chunk-RXYYFSBB.js.map +1 -0
  78. package/dist/{chunk-4VCWI42L.js → chunk-SUFG5E73.js} +2 -2
  79. package/dist/{chunk-SKONR2OL.js → chunk-U5O6GIWZ.js} +2 -2
  80. package/dist/{chunk-HFKGIBMD.js → chunk-VZ3XFUQ7.js} +2 -2
  81. package/dist/{chunk-3EO7RZLJ.js → chunk-W77KZHCW.js} +4 -4
  82. package/dist/{chunk-P7NGLLUF.js → chunk-WASHZV34.js} +2 -2
  83. package/dist/{chunk-XB7LUDKM.js → chunk-WFUIE565.js} +3 -3
  84. package/dist/{chunk-RPXL6KSX.js → chunk-WLZ47GSL.js} +3 -3
  85. package/dist/{chunk-MJWCLSQL.js → chunk-X56RTUK3.js} +3 -3
  86. package/dist/{chunk-OMSAULZM.js → chunk-XEJA6K76.js} +9 -9
  87. package/dist/{chunk-MC2LFTQM.js → chunk-XWX7GL56.js} +2 -2
  88. package/dist/{chunk-46V67XP5.js → chunk-YJ6IONGA.js} +2 -2
  89. package/dist/chunk-YJ6IONGA.js.map +1 -0
  90. package/dist/{chunk-24ZLWWEO.js → chunk-YPYHVOXP.js} +1 -1
  91. package/dist/chunk-YPYHVOXP.js.map +1 -0
  92. package/dist/{chunk-2LGDCNFJ.js → chunk-Z45YRGFO.js} +1 -1
  93. package/dist/chunk-Z45YRGFO.js.map +1 -0
  94. package/dist/classified/index.js +3 -3
  95. package/dist/{classified-marker-MH3ON5OL.js → classified-marker-2KJAXRRO.js} +3 -3
  96. package/dist/{collection-facade-AHT7FATG.js → collection-facade-QEJIM6BC.js} +8 -8
  97. package/dist/consent/index.js +4 -4
  98. package/dist/cover/index.js +2 -2
  99. package/dist/custody/index.js +6 -6
  100. package/dist/{dead-filter-U575NGSH.js → dead-filter-DCB62VWW.js} +2 -2
  101. package/dist/{delegation-PDYL6RWT.js → delegation-MO7YZYJS.js} +4 -4
  102. package/dist/derivations/index.js +6 -6
  103. package/dist/{derive-AKT4KU36.js → derive-IUA6JFLB.js} +5 -5
  104. package/dist/directory/index.js +5 -5
  105. package/dist/{dispatch-4XIJSFTT.js → dispatch-FZEAWKVM.js} +5 -5
  106. package/dist/{dispatch-N5HGVUGU.js → dispatch-MJ6SHB3Y.js} +9 -9
  107. package/dist/{enclave-OPK24QDR.js → enclave-JU4YIEPB.js} +4 -4
  108. package/dist/{executor-3JZ4POTW.js → executor-YIQB2S6N.js} +9 -8
  109. package/dist/{export-accessible-CPTP5STN.js → export-accessible-4S36PQNR.js} +7 -7
  110. package/dist/{extract-partition-TWXPHVU7.js → extract-partition-IO7FDZ2P.js} +10 -10
  111. package/dist/{fanout-sidecar-T2ZGLQFE.js → fanout-sidecar-NNAJQXMX.js} +4 -4
  112. package/dist/forget/index.js +4 -4
  113. package/dist/guards/index.js +1 -1
  114. package/dist/history/index.js +6 -6
  115. package/dist/i18n/index.js +6 -6
  116. package/dist/index.d.ts +3 -2
  117. package/dist/index.js +69 -63
  118. package/dist/index.js.map +1 -1
  119. package/dist/introspection/index.js +6 -6
  120. package/dist/{issue-N74C55X6.js → issue-RIVHSY2S.js} +6 -6
  121. package/dist/kernel/secret-mode.d.ts +1 -1
  122. package/dist/kernel/types.d.ts +41 -6
  123. package/dist/kernel/vault.d.ts +19 -15
  124. package/dist/{ledger-DONWFC5M.js → ledger-AETNF4OM.js} +6 -6
  125. package/dist/liberate-GFN4C7RR.js +24 -0
  126. package/dist/{link-set-2TTP4VLO.js → link-set-E5HNY67I.js} +5 -5
  127. package/dist/{managed-secret-EAOYWRYF.js → managed-secret-CWQ6PND5.js} +3 -3
  128. package/dist/materialized-views/index.js +10 -9
  129. package/dist/money/index.js +10 -6
  130. package/dist/{noydb-6W2XGQCS.js → noydb-SNZONAYA.js} +28 -28
  131. package/dist/overlay-views/index.js +1 -1
  132. package/dist/periods/index.js +17 -7
  133. package/dist/pod/index.js +31 -31
  134. package/dist/policy/index.js +3 -3
  135. package/dist/port/with/collection-options.d.ts +1 -1
  136. package/dist/portability/index.js +6 -6
  137. package/dist/{post-register-ORQOQJCS.js → post-register-2XSSMGEQ.js} +4 -4
  138. package/dist/{register-LHETZRJM.js → register-4EFJCVYD.js} +11 -11
  139. package/dist/{registry-JRIN447B.js → registry-4SDHHOJ7.js} +6 -6
  140. package/dist/{registry-AMAZ6QRZ.js → registry-OYTFGWVK.js} +4 -4
  141. package/dist/{request-withdrawal-2DN2RGCO.js → request-withdrawal-KGXGDPVQ.js} +9 -9
  142. package/dist/{reveal-AG4SCHUQ.js → reveal-BW36KCOQ.js} +3 -3
  143. package/dist/{revoke-ZX4NM2CJ.js → revoke-JFN773KF.js} +6 -6
  144. package/dist/sealed-record/index.js +6 -6
  145. package/dist/search/index.js +1 -1
  146. package/dist/{seed-IRCDGIRK.js → seed-GDV5PT4R.js} +6 -6
  147. package/dist/sequence/index.js +4 -4
  148. package/dist/session/index.js +3 -3
  149. package/dist/{signer-7KHD4OL2.js → signer-TA55QB6R.js} +5 -5
  150. package/dist/snapshots/index.js +5 -5
  151. package/dist/{stale-K734VACF.js → stale-ARHFVL5U.js} +5 -5
  152. package/dist/{storage-4H2GF6RQ.js → storage-V7MTFAQJ.js} +5 -5
  153. package/dist/{store-coordination-provider-4SKLSFUG.js → store-coordination-provider-GFCUOBR6.js} +3 -3
  154. package/dist/sync/index.js +5 -5
  155. package/dist/team/index.js +8 -8
  156. package/dist/tiers/index.js +4 -4
  157. package/dist/via/classified/descriptor.d.ts +1 -1
  158. package/dist/via/money/exact.d.ts +44 -0
  159. package/dist/via/money/index.d.ts +2 -0
  160. package/dist/via/money/normalize.d.ts +20 -0
  161. package/dist/{walk-MQHYNDLZ.js → walk-3ZECBFDA.js} +7 -7
  162. package/dist/with-audit/attestation/index.d.ts +1 -1
  163. package/dist/with-audit/guards/immutable-guard.d.ts +14 -0
  164. package/dist/with-audit/guards/with-guard.d.ts +1 -1
  165. package/dist/with-audit/periods/active.d.ts +28 -1
  166. package/dist/with-audit/periods/index.d.ts +4 -2
  167. package/dist/with-audit/periods/periods.d.ts +160 -5
  168. package/dist/with-audit/periods/strategy.d.ts +13 -4
  169. package/dist/with-audit/periods/vault-facade.d.ts +89 -10
  170. package/dist/with-audit/periods/window.d.ts +10 -0
  171. package/dist/with-cargo/index.d.ts +2 -2
  172. package/dist/with-commit/history/ledger/entry.d.ts +1 -1
  173. package/dist/with-commit/numbering/descriptor.d.ts +1 -1
  174. package/dist/with-formula/derivations/with-derivation.d.ts +1 -1
  175. package/dist/with-formula/materialized-views/types.d.ts +52 -0
  176. package/dist/with-formula/materialized-views/with-materialized-view.d.ts +3 -3
  177. package/dist/with-formula/overlay-views/with-overlayed-view.d.ts +1 -1
  178. package/dist/with-party/custody/index.d.ts +1 -1
  179. package/dist/with-party/directory/user-envelope/index.d.ts +1 -1
  180. package/dist/with-party/directory/user-envelope/storage.d.ts +1 -1
  181. package/dist/with-party/team/echo-ceremony.d.ts +3 -3
  182. package/dist/with-party/team/echo-secret.d.ts +2 -2
  183. package/dist/with-party/team/keyring.d.ts +10 -1
  184. package/dist/with-pod/bundle.d.ts +15 -0
  185. package/dist/with-shape/introspection/index.d.ts +2 -1
  186. package/dist/with-shape/introspection/types.d.ts +1 -1
  187. package/dist/with-shape/persisted-schemas/derive.d.ts +1 -1
  188. package/dist/with-shape/persisted-schemas/index.d.ts +1 -1
  189. package/dist/with-shape/persisted-schemas/types.d.ts +1 -1
  190. package/dist/{withdraw-accessible-JSDQHXHE.js → withdraw-accessible-7PG4DYQK.js} +8 -8
  191. package/package.json +6 -4
  192. package/dist/backup-GAYWQAFN.js.map +0 -1
  193. package/dist/chunk-24UICKTB.js.map +0 -1
  194. package/dist/chunk-24ZLWWEO.js.map +0 -1
  195. package/dist/chunk-2KIV7BEK.js.map +0 -1
  196. package/dist/chunk-2LGDCNFJ.js.map +0 -1
  197. package/dist/chunk-3CLZY46Y.js.map +0 -1
  198. package/dist/chunk-3HYWYLXL.js.map +0 -1
  199. package/dist/chunk-3IIPWA75.js.map +0 -1
  200. package/dist/chunk-46V67XP5.js.map +0 -1
  201. package/dist/chunk-CJ73OLMW.js.map +0 -1
  202. package/dist/chunk-EK7DT5BT.js.map +0 -1
  203. package/dist/chunk-GS5RT2KK.js.map +0 -1
  204. package/dist/chunk-JXIDGFKS.js.map +0 -1
  205. package/dist/chunk-KZ3KMDN3.js.map +0 -1
  206. package/dist/chunk-LTU4FLHG.js +0 -131
  207. package/dist/chunk-LTU4FLHG.js.map +0 -1
  208. package/dist/chunk-MZ5ZFO2D.js.map +0 -1
  209. package/dist/chunk-OSFPNKY4.js.map +0 -1
  210. package/dist/chunk-RLWY6Z44.js.map +0 -1
  211. package/dist/chunk-T4GPR2IR.js.map +0 -1
  212. package/dist/liberate-KICI7AJN.js +0 -24
  213. /package/dist/{api-67SBPMMH.js.map → api-RXUMEKT3.js.map} +0 -0
  214. /package/dist/{bundle-handle-5OUAI7CV.js.map → bundle-handle-GFNHT52M.js.map} +0 -0
  215. /package/dist/{chunk-CYQOUTMY.js.map → chunk-2BMRJ6LQ.js.map} +0 -0
  216. /package/dist/{chunk-HS7HNYBD.js.map → chunk-2DHSSLOD.js.map} +0 -0
  217. /package/dist/{chunk-JH3OHQM4.js.map → chunk-2Z3NCLNX.js.map} +0 -0
  218. /package/dist/{chunk-NVU7ZMPN.js.map → chunk-3IXIU6FP.js.map} +0 -0
  219. /package/dist/{chunk-XBLKM73C.js.map → chunk-3JVXVJ7L.js.map} +0 -0
  220. /package/dist/{chunk-FY343IZR.js.map → chunk-3URQC7EH.js.map} +0 -0
  221. /package/dist/{chunk-BPTZ4K5L.js.map → chunk-4GZ6XOVW.js.map} +0 -0
  222. /package/dist/{chunk-ROWL352P.js.map → chunk-4I72F5DF.js.map} +0 -0
  223. /package/dist/{chunk-LBGPO5RL.js.map → chunk-52JPHN5N.js.map} +0 -0
  224. /package/dist/{chunk-MVOWXQHN.js.map → chunk-6BU3L4UE.js.map} +0 -0
  225. /package/dist/{chunk-PGAPBZEK.js.map → chunk-6NVPFKN3.js.map} +0 -0
  226. /package/dist/{chunk-NQRJ5AJO.js.map → chunk-7H73RIE3.js.map} +0 -0
  227. /package/dist/{chunk-NQCNSVGI.js.map → chunk-7MNBICB5.js.map} +0 -0
  228. /package/dist/{chunk-3UK6STWO.js.map → chunk-BEFVYAR5.js.map} +0 -0
  229. /package/dist/{chunk-TFZ7LLOQ.js.map → chunk-BRVW2GS5.js.map} +0 -0
  230. /package/dist/{chunk-V5C5NNBR.js.map → chunk-CDB2HVQW.js.map} +0 -0
  231. /package/dist/{chunk-4MQDV3HZ.js.map → chunk-FFDNKRCY.js.map} +0 -0
  232. /package/dist/{chunk-PP5CO2PR.js.map → chunk-FMQJZH4R.js.map} +0 -0
  233. /package/dist/{chunk-JSRU5W2M.js.map → chunk-FZ6NYJ7L.js.map} +0 -0
  234. /package/dist/{chunk-ZGGVOADG.js.map → chunk-G6S5VVHP.js.map} +0 -0
  235. /package/dist/{chunk-ZWMO5GL5.js.map → chunk-JJNOLSG5.js.map} +0 -0
  236. /package/dist/{chunk-SRGJET2F.js.map → chunk-NJDQ4YSV.js.map} +0 -0
  237. /package/dist/{chunk-JEM2IGS3.js.map → chunk-NPP5R7FF.js.map} +0 -0
  238. /package/dist/{chunk-DPJTDNUF.js.map → chunk-O2ERS4UJ.js.map} +0 -0
  239. /package/dist/{chunk-F3GVO44K.js.map → chunk-PDLLCOGD.js.map} +0 -0
  240. /package/dist/{chunk-VBY6ZLJT.js.map → chunk-PL2GHSCM.js.map} +0 -0
  241. /package/dist/{chunk-DCMQR46R.js.map → chunk-PNKHAKQ7.js.map} +0 -0
  242. /package/dist/{chunk-MXZ5TSTR.js.map → chunk-PPMBY7YS.js.map} +0 -0
  243. /package/dist/{chunk-ZK4CO2KZ.js.map → chunk-Q6TEJXBX.js.map} +0 -0
  244. /package/dist/{chunk-4VCWI42L.js.map → chunk-SUFG5E73.js.map} +0 -0
  245. /package/dist/{chunk-SKONR2OL.js.map → chunk-U5O6GIWZ.js.map} +0 -0
  246. /package/dist/{chunk-HFKGIBMD.js.map → chunk-VZ3XFUQ7.js.map} +0 -0
  247. /package/dist/{chunk-3EO7RZLJ.js.map → chunk-W77KZHCW.js.map} +0 -0
  248. /package/dist/{chunk-P7NGLLUF.js.map → chunk-WASHZV34.js.map} +0 -0
  249. /package/dist/{chunk-XB7LUDKM.js.map → chunk-WFUIE565.js.map} +0 -0
  250. /package/dist/{chunk-RPXL6KSX.js.map → chunk-WLZ47GSL.js.map} +0 -0
  251. /package/dist/{chunk-MJWCLSQL.js.map → chunk-X56RTUK3.js.map} +0 -0
  252. /package/dist/{chunk-OMSAULZM.js.map → chunk-XEJA6K76.js.map} +0 -0
  253. /package/dist/{chunk-MC2LFTQM.js.map → chunk-XWX7GL56.js.map} +0 -0
  254. /package/dist/{classified-marker-MH3ON5OL.js.map → classified-marker-2KJAXRRO.js.map} +0 -0
  255. /package/dist/{collection-facade-AHT7FATG.js.map → collection-facade-QEJIM6BC.js.map} +0 -0
  256. /package/dist/{dead-filter-U575NGSH.js.map → dead-filter-DCB62VWW.js.map} +0 -0
  257. /package/dist/{delegation-PDYL6RWT.js.map → delegation-MO7YZYJS.js.map} +0 -0
  258. /package/dist/{derive-AKT4KU36.js.map → derive-IUA6JFLB.js.map} +0 -0
  259. /package/dist/{dispatch-4XIJSFTT.js.map → dispatch-FZEAWKVM.js.map} +0 -0
  260. /package/dist/{dispatch-N5HGVUGU.js.map → dispatch-MJ6SHB3Y.js.map} +0 -0
  261. /package/dist/{enclave-OPK24QDR.js.map → enclave-JU4YIEPB.js.map} +0 -0
  262. /package/dist/{executor-3JZ4POTW.js.map → executor-YIQB2S6N.js.map} +0 -0
  263. /package/dist/{export-accessible-CPTP5STN.js.map → export-accessible-4S36PQNR.js.map} +0 -0
  264. /package/dist/{extract-partition-TWXPHVU7.js.map → extract-partition-IO7FDZ2P.js.map} +0 -0
  265. /package/dist/{fanout-sidecar-T2ZGLQFE.js.map → fanout-sidecar-NNAJQXMX.js.map} +0 -0
  266. /package/dist/{issue-N74C55X6.js.map → issue-RIVHSY2S.js.map} +0 -0
  267. /package/dist/{ledger-DONWFC5M.js.map → ledger-AETNF4OM.js.map} +0 -0
  268. /package/dist/{liberate-KICI7AJN.js.map → liberate-GFN4C7RR.js.map} +0 -0
  269. /package/dist/{link-set-2TTP4VLO.js.map → link-set-E5HNY67I.js.map} +0 -0
  270. /package/dist/{managed-secret-EAOYWRYF.js.map → managed-secret-CWQ6PND5.js.map} +0 -0
  271. /package/dist/{noydb-6W2XGQCS.js.map → noydb-SNZONAYA.js.map} +0 -0
  272. /package/dist/{post-register-ORQOQJCS.js.map → post-register-2XSSMGEQ.js.map} +0 -0
  273. /package/dist/{register-LHETZRJM.js.map → register-4EFJCVYD.js.map} +0 -0
  274. /package/dist/{registry-AMAZ6QRZ.js.map → registry-4SDHHOJ7.js.map} +0 -0
  275. /package/dist/{registry-JRIN447B.js.map → registry-OYTFGWVK.js.map} +0 -0
  276. /package/dist/{request-withdrawal-2DN2RGCO.js.map → request-withdrawal-KGXGDPVQ.js.map} +0 -0
  277. /package/dist/{reveal-AG4SCHUQ.js.map → reveal-BW36KCOQ.js.map} +0 -0
  278. /package/dist/{revoke-ZX4NM2CJ.js.map → revoke-JFN773KF.js.map} +0 -0
  279. /package/dist/{seed-IRCDGIRK.js.map → seed-GDV5PT4R.js.map} +0 -0
  280. /package/dist/{signer-7KHD4OL2.js.map → signer-TA55QB6R.js.map} +0 -0
  281. /package/dist/{stale-K734VACF.js.map → stale-ARHFVL5U.js.map} +0 -0
  282. /package/dist/{storage-4H2GF6RQ.js.map → storage-V7MTFAQJ.js.map} +0 -0
  283. /package/dist/{store-coordination-provider-4SKLSFUG.js.map → store-coordination-provider-GFCUOBR6.js.map} +0 -0
  284. /package/dist/{walk-MQHYNDLZ.js.map → walk-3ZECBFDA.js.map} +0 -0
  285. /package/dist/{withdraw-accessible-JSDQHXHE.js.map → withdraw-accessible-7PG4DYQK.js.map} +0 -0
@@ -5,19 +5,19 @@ import {
5
5
  listWithdrawalRequests,
6
6
  rejectWithdrawal,
7
7
  requestWithdrawal
8
- } from "./chunk-ROWL352P.js";
9
- import "./chunk-JSRU5W2M.js";
10
- import "./chunk-4MQDV3HZ.js";
11
- import "./chunk-EK7DT5BT.js";
12
- import "./chunk-CYQOUTMY.js";
13
- import "./chunk-FY343IZR.js";
14
- import "./chunk-NQRJ5AJO.js";
8
+ } from "./chunk-4I72F5DF.js";
9
+ import "./chunk-FZ6NYJ7L.js";
10
+ import "./chunk-FFDNKRCY.js";
11
+ import "./chunk-4VUPLMZ6.js";
12
+ import "./chunk-2BMRJ6LQ.js";
13
+ import "./chunk-3URQC7EH.js";
14
+ import "./chunk-7H73RIE3.js";
15
15
  import "./chunk-HXGUIPQB.js";
16
16
  import "./chunk-AR2JDFAE.js";
17
17
  import "./chunk-747LRSOO.js";
18
18
  import "./chunk-LP7BEXCT.js";
19
19
  import "./chunk-VCETL77O.js";
20
- import "./chunk-24ZLWWEO.js";
20
+ import "./chunk-YPYHVOXP.js";
21
21
  import "./chunk-HNGSV2YC.js";
22
22
  import "./chunk-PZ5AY32C.js";
23
23
  export {
@@ -28,4 +28,4 @@ export {
28
28
  rejectWithdrawal,
29
29
  requestWithdrawal
30
30
  };
31
- //# sourceMappingURL=request-withdrawal-2DN2RGCO.js.map
31
+ //# sourceMappingURL=request-withdrawal-KGXGDPVQ.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  isTombstone
3
- } from "./chunk-NQRJ5AJO.js";
3
+ } from "./chunk-7H73RIE3.js";
4
4
  import {
5
5
  dualReadSealedSlot
6
6
  } from "./chunk-AR2JDFAE.js";
7
7
  import "./chunk-VCETL77O.js";
8
- import "./chunk-24ZLWWEO.js";
8
+ import "./chunk-YPYHVOXP.js";
9
9
  import {
10
10
  ClassifiedRevealError
11
11
  } from "./chunk-HNGSV2YC.js";
@@ -35,4 +35,4 @@ async function revealSealedField(ctx, id, field) {
35
35
  export {
36
36
  revealSealedField
37
37
  };
38
- //# sourceMappingURL=reveal-AG4SCHUQ.js.map
38
+ //# sourceMappingURL=reveal-BW36KCOQ.js.map
@@ -3,16 +3,16 @@ import {
3
3
  publishRevocationListCore,
4
4
  revokeDocCore,
5
5
  unrevokeDocCore
6
- } from "./chunk-3EO7RZLJ.js";
7
- import "./chunk-ZWMO5GL5.js";
8
- import "./chunk-FY343IZR.js";
9
- import "./chunk-NQRJ5AJO.js";
6
+ } from "./chunk-W77KZHCW.js";
7
+ import "./chunk-JJNOLSG5.js";
8
+ import "./chunk-3URQC7EH.js";
9
+ import "./chunk-7H73RIE3.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-YPYHVOXP.js";
16
16
  import "./chunk-HNGSV2YC.js";
17
17
  import "./chunk-PZ5AY32C.js";
18
18
  export {
@@ -21,4 +21,4 @@ export {
21
21
  revokeDocCore,
22
22
  unrevokeDocCore
23
23
  };
24
- //# sourceMappingURL=revoke-ZX4NM2CJ.js.map
24
+ //# sourceMappingURL=revoke-JFN773KF.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  NO_SEALED_RECORD
3
3
  } from "../chunk-FAXZQ5UF.js";
4
- import "../chunk-FY343IZR.js";
5
- import "../chunk-NQRJ5AJO.js";
4
+ import "../chunk-3URQC7EH.js";
5
+ import "../chunk-7H73RIE3.js";
6
6
  import "../chunk-HXGUIPQB.js";
7
7
  import "../chunk-AR2JDFAE.js";
8
8
  import "../chunk-747LRSOO.js";
@@ -12,7 +12,7 @@ import {
12
12
  decrypt,
13
13
  importCek
14
14
  } from "../chunk-VCETL77O.js";
15
- import "../chunk-24ZLWWEO.js";
15
+ import "../chunk-YPYHVOXP.js";
16
16
  import {
17
17
  SealedRecordExpiredError,
18
18
  SealedRecordMismatchError,
@@ -24,15 +24,15 @@ import "../chunk-PZ5AY32C.js";
24
24
  function withSealedRecord() {
25
25
  return {
26
26
  async sealRecordToHost(ctx, collection, id, hostSealer, opts) {
27
- const { sealRecordToHost } = await import("../enclave-OPK24QDR.js");
27
+ const { sealRecordToHost } = await import("../enclave-JU4YIEPB.js");
28
28
  return sealRecordToHost(ctx, collection, id, hostSealer, opts);
29
29
  },
30
30
  async revokeSealedRecord(ctx, collection, id, pid, opts) {
31
- const { revokeSealedRecord } = await import("../enclave-OPK24QDR.js");
31
+ const { revokeSealedRecord } = await import("../enclave-JU4YIEPB.js");
32
32
  return revokeSealedRecord(ctx, collection, id, pid, opts);
33
33
  },
34
34
  async rotateRecordCek(ctx, collection, id) {
35
- const { rotateRecordCek } = await import("../enclave-OPK24QDR.js");
35
+ const { rotateRecordCek } = await import("../enclave-JU4YIEPB.js");
36
36
  return rotateRecordCek(ctx, collection, id);
37
37
  }
38
38
  };
@@ -9,7 +9,7 @@ import {
9
9
  segmentTokens,
10
10
  tokenize,
11
11
  withSearch
12
- } from "../chunk-XBLKM73C.js";
12
+ } from "../chunk-3JVXVJ7L.js";
13
13
  import {
14
14
  fuseRetrieval
15
15
  } from "../chunk-AURFOK3D.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BROKER_COLLECTION,
3
3
  ensureCollectionDEK
4
- } from "./chunk-RLWY6Z44.js";
5
- import "./chunk-27TCYH6G.js";
4
+ } from "./chunk-JRKZTEZZ.js";
5
+ import "./chunk-5JY5TSVY.js";
6
6
  import {
7
7
  computeBrokerProof,
8
8
  deriveBrokerProofBits,
9
9
  openEnvelopeJson,
10
10
  writeEnvelopeBody
11
- } from "./chunk-FY343IZR.js";
12
- import "./chunk-NQRJ5AJO.js";
11
+ } from "./chunk-3URQC7EH.js";
12
+ import "./chunk-7H73RIE3.js";
13
13
  import "./chunk-HXGUIPQB.js";
14
14
  import "./chunk-AR2JDFAE.js";
15
15
  import "./chunk-747LRSOO.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-VCETL77O.js";
21
21
  import {
22
22
  NOYDB_FORMAT_VERSION
23
- } from "./chunk-24ZLWWEO.js";
23
+ } from "./chunk-YPYHVOXP.js";
24
24
  import {
25
25
  BrokerEnrolmentError,
26
26
  BrokerProofError,
@@ -228,4 +228,4 @@ export {
228
228
  mintStoreCredentials,
229
229
  rotateSeed
230
230
  };
231
- //# sourceMappingURL=seed-IRCDGIRK.js.map
231
+ //# sourceMappingURL=seed-GDV5PT4R.js.map
@@ -5,15 +5,15 @@ import {
5
5
  compileSequenceFormat,
6
6
  resolveSequenceKey,
7
7
  withSequence
8
- } from "../chunk-NQCNSVGI.js";
9
- import "../chunk-FY343IZR.js";
10
- import "../chunk-NQRJ5AJO.js";
8
+ } from "../chunk-7MNBICB5.js";
9
+ import "../chunk-3URQC7EH.js";
10
+ import "../chunk-7H73RIE3.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-YPYHVOXP.js";
17
17
  import {
18
18
  SequenceNotEnabledError
19
19
  } from "../chunk-HNGSV2YC.js";
@@ -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-3URQC7EH.js";
21
+ import "../chunk-7H73RIE3.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-YPYHVOXP.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-JJNOLSG5.js";
8
+ import "./chunk-3URQC7EH.js";
9
+ import "./chunk-7H73RIE3.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-YPYHVOXP.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-TA55QB6R.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-4VUPLMZ6.js";
8
+ import "../chunk-2BMRJ6LQ.js";
9
+ import "../chunk-3URQC7EH.js";
10
+ import "../chunk-7H73RIE3.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-YPYHVOXP.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-BEFVYAR5.js";
10
10
  import "./chunk-5D2ALSM5.js";
11
- import "./chunk-FY343IZR.js";
12
- import "./chunk-NQRJ5AJO.js";
11
+ import "./chunk-3URQC7EH.js";
12
+ import "./chunk-7H73RIE3.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-YPYHVOXP.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-ARHFVL5U.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-CDB2HVQW.js";
7
+ import "./chunk-3URQC7EH.js";
8
+ import "./chunk-7H73RIE3.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-YPYHVOXP.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-V7MTFAQJ.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  loadFence,
3
3
  saveFence
4
- } from "./chunk-MVOWXQHN.js";
4
+ } from "./chunk-6BU3L4UE.js";
5
5
  import {
6
6
  NOYDB_FORMAT_VERSION
7
- } from "./chunk-24ZLWWEO.js";
7
+ } from "./chunk-YPYHVOXP.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-GFCUOBR6.js.map
@@ -2,19 +2,19 @@ import {
2
2
  PresenceHandle,
3
3
  SyncEngine,
4
4
  SyncTransaction
5
- } from "../chunk-TFZ7LLOQ.js";
5
+ } from "../chunk-BRVW2GS5.js";
6
6
  import {
7
7
  NO_SYNC
8
8
  } from "../chunk-55LKVALY.js";
9
- import "../chunk-JXIDGFKS.js";
10
- import "../chunk-FY343IZR.js";
11
- import "../chunk-NQRJ5AJO.js";
9
+ import "../chunk-HPLWFNG4.js";
10
+ import "../chunk-3URQC7EH.js";
11
+ import "../chunk-7H73RIE3.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-YPYHVOXP.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-YJ6IONGA.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-O2ERS4UJ.js";
35
+ import "../chunk-3IXIU6FP.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-JRKZTEZZ.js";
57
+ import "../chunk-5JY5TSVY.js";
58
58
  import "../chunk-AHLJSVRL.js";
59
- import "../chunk-FY343IZR.js";
60
- import "../chunk-NQRJ5AJO.js";
59
+ import "../chunk-3URQC7EH.js";
60
+ import "../chunk-7H73RIE3.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-YPYHVOXP.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-6NVPFKN3.js";
15
15
  import "../chunk-AHLJSVRL.js";
16
- import "../chunk-FY343IZR.js";
17
- import "../chunk-NQRJ5AJO.js";
16
+ import "../chunk-3URQC7EH.js";
17
+ import "../chunk-7H73RIE3.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-YPYHVOXP.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
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Exact decimal arithmetic for post-aggregate row math (#1007).
3
+ *
4
+ * Money leaves a reducer as a `MoneyString` — a decimal string, exact by
5
+ * construction. Doing `Number(a) - Number(b)` on two of those re-introduces
6
+ * binary floating point at the one step the money type exists to protect:
7
+ * `10.05 - 0.10` becomes `9.950000000000001`, which `quantizeMoneyFields`
8
+ * then correctly REFUSES rather than silently storing drift.
9
+ *
10
+ * So `derive` is handed these instead. Everything runs in scaled BigInt at the
11
+ * widest scale of its inputs and formats back to a decimal string, which means
12
+ * no operation here can introduce a representation error. Deliberately just
13
+ * the additive set — `add` / `sub` / `neg` / `min` / `max` / `cmp`. Anything
14
+ * needing multiplication or division needs a rounding policy, and a rounding
15
+ * policy is a decision the caller must make explicitly, not one this module
16
+ * should guess.
17
+ *
18
+ * @module
19
+ */
20
+ /** A value these helpers accept: a decimal string, a number, or a bigint of whole units. */
21
+ export type ExactOperand = string | number | bigint;
22
+ /**
23
+ * Exact decimal helpers handed to an MV `derive` as its second argument.
24
+ *
25
+ * Every result is a decimal string, so results compose without ever passing
26
+ * through a float. Declare the derived field in the MV's `moneyFields` and the
27
+ * final value is quantised to that descriptor's scale on the way to storage.
28
+ */
29
+ export interface ExactMath {
30
+ /** `a + b`, exact. */
31
+ add(a: ExactOperand, b: ExactOperand): string;
32
+ /** `a - b`, exact. */
33
+ sub(a: ExactOperand, b: ExactOperand): string;
34
+ /** `-a`, exact. */
35
+ neg(a: ExactOperand): string;
36
+ /** The larger of `a` and `b`. */
37
+ max(a: ExactOperand, b: ExactOperand): string;
38
+ /** The smaller of `a` and `b`. */
39
+ min(a: ExactOperand, b: ExactOperand): string;
40
+ /** `-1` when `a < b`, `0` when equal, `1` when `a > b`. */
41
+ cmp(a: ExactOperand, b: ExactOperand): -1 | 0 | 1;
42
+ }
43
+ /** The singleton passed to `derive` — stateless, so there is nothing to construct per row. */
44
+ export declare const exactMath: ExactMath;
@@ -13,3 +13,5 @@ export { mulRate, allocate } from './arith.js';
13
13
  export type { MulRateOptions, AllocateOptions } from './arith.js';
14
14
  export { asMoney, isMoneyString, moneyNumber } from './branded.js';
15
15
  export type { MoneyString } from './branded.js';
16
+ export { exactMath } from './exact.js';
17
+ export type { ExactMath, ExactOperand } from './exact.js';
@@ -40,6 +40,26 @@ export declare function canonicalizeStoredMoney(record: unknown, moneyFields: Re
40
40
  * `MoneyPrecisionError`/`TypeError`.
41
41
  */
42
42
  export declare function canonicalizeIncomingMoney(record: unknown, moneyFields: Record<string, MoneyDescriptor> | undefined): unknown;
43
+ /**
44
+ * Canonicalize money values for a MATERIALIZED-VIEW row (#1018).
45
+ *
46
+ * A money field in an MV row is NOT in the scaled-integer storage form a
47
+ * collection uses — the money-aware reducers emit `formatScaledInt(...)`, an
48
+ * exact decimal string, and that is what lands in the output collection. So a
49
+ * derived money field has to be canonicalized into the same shape as the
50
+ * aggregated ones beside it.
51
+ *
52
+ * Quantizing it into storage form instead is what #1018 reported: `toPay` came
53
+ * back as `"1000000"` where `netTotal` in the SAME row read `"10000.00"` —
54
+ * 100× the true value, and a string that looks like a plausible amount rather
55
+ * than an obvious error.
56
+ *
57
+ * Precision handling is identical to {@link quantizeMoneyFields} — the same
58
+ * `parseToScaledInt` and the same `MoneyPrecisionError` — so a value that
59
+ * cannot be represented at the declared scale is still refused rather than
60
+ * silently rounded. Only the OUTPUT shape differs: decimal, not scaled.
61
+ */
62
+ export declare function canonicalizeMoneyFieldsAsDecimal<T extends Record<string, unknown>>(record: T, moneyFields: Record<string, MoneyDescriptor>): T;
43
63
  /**
44
64
  * Convert money fields in `record` from user input to their canonical
45
65
  * stored form. Returns a shallow clone (deep along declared nested
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  dumpVaultSchema
3
- } from "./chunk-MJWCLSQL.js";
3
+ } from "./chunk-X56RTUK3.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-CDB2HVQW.js";
8
+ import "./chunk-3URQC7EH.js";
9
+ import "./chunk-7H73RIE3.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-YPYHVOXP.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-3ZECBFDA.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';
@@ -29,6 +29,20 @@ import type { GuardStrategy, GuardContext, GuardChange } from './types.js';
29
29
  export interface ImmutableGuardConfig<T extends Record<string, unknown>> {
30
30
  /** The collection to make WORM. */
31
31
  collection: string;
32
+ /**
33
+ * Optional stable per-vault identifier, forwarded verbatim to the
34
+ * underlying {@link GuardSpec.name} — `immutableGuard` is a wrapper
35
+ * around `withGuard` and grants the same identity affordance (#1006).
36
+ *
37
+ * Omit and `vault.listBehaviors()` falls back to a POSITIONAL
38
+ * `${collection}#${occurrence}` key, which renumbers when another
39
+ * guard on the same collection is registered ahead of this one. Pass
40
+ * a name whenever something joins to the behavior manifest by key —
41
+ * a generated rulebook, a diff between two vault versions, an audit
42
+ * report — so the identifier tracks the rule rather than its
43
+ * registration order.
44
+ */
45
+ readonly name?: string;
32
46
  /**
33
47
  * A record becomes immutable once this predicate holds. Evaluated on
34
48
  * the *existing* (already-persisted) record, so the write that first
@@ -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>;
@@ -2,10 +2,37 @@
2
2
  * Active periods strategy factory. Only reachable through the
3
3
  * `@noy-db/hub/periods` subpath.
4
4
  */
5
+ import type { PeriodPartition } from './periods.js';
5
6
  import type { PeriodsStrategy } from './strategy.js';
7
+ /** Options for {@link withPeriods}. */
8
+ export interface WithPeriodsOptions {
9
+ /**
10
+ * Maps a collection to the timeline each of its records belongs to (#1005) —
11
+ * the answer to "which close calendar governs THIS record".
12
+ *
13
+ * ```ts
14
+ * withPeriods({
15
+ * subjects: { receipts: (r) => [r.clientId, layerOf(r)] },
16
+ * })
17
+ * ```
18
+ *
19
+ * Same shape as `withForget({ subjects })`, which answers the same question
20
+ * for erasure. A collection with no entry — and every collection when
21
+ * `subjects` is omitted entirely — stays on the vault-wide timeline, so an
22
+ * existing vault behaves exactly as it did before partitions existed.
23
+ *
24
+ * Return `undefined` from a mapper to put an individual record back on the
25
+ * vault-wide timeline (e.g. a record that predates the field the mapping
26
+ * reads).
27
+ */
28
+ readonly subjects?: Readonly<Record<string, (record: Record<string, unknown>) => PeriodPartition | undefined>>;
29
+ }
6
30
  /**
7
31
  * Build the default periods strategy. Pass into
8
32
  * `createNoydb({ periodsStrategy: withPeriods() })` to enable
9
33
  * `vault.closePeriod()` / `vault.openPeriod()` / write-guards.
34
+ *
35
+ * Pass `subjects` to run more than one close calendar in a single vault — see
36
+ * {@link WithPeriodsOptions.subjects}.
10
37
  */
11
- export declare function withPeriods(): PeriodsStrategy;
38
+ export declare function withPeriods(options?: WithPeriodsOptions): PeriodsStrategy;
@@ -13,8 +13,10 @@
13
13
  * Vault can call them without TypeScript barrel gymnastics.
14
14
  */
15
15
  export { withPeriods } from './active.js';
16
+ export type { WithPeriodsOptions } from './active.js';
16
17
  export type { PeriodsStrategy } from './strategy.js';
17
- export { PERIODS_COLLECTION, PERIOD_FREEZES_COLLECTION, PERIOD_ARCHIVES_COLLECTION, PERIOD_TARGET_PURGES_COLLECTION, periodExclusiveUpperBound, loadPeriods, chainAnchor, assertTsWritable, validatePeriodName, appendPeriodLedgerEntry, purgeMarkersOn, } from './periods.js';
18
- export type { PeriodRecord, PeriodFreezeRecord, PeriodArchiveRecord, PeriodTargetPurgeRecord, TargetPurgeCount, ClosePeriodOptions, OpenPeriodOptions, CarryForwardContext, ReadOnlyCollection, } from './periods.js';
18
+ export type { PeriodScope, PeriodScopeWithReason, ReopenPeriodOptions } from './vault-facade.js';
19
+ export { PERIODS_COLLECTION, PERIOD_FREEZES_COLLECTION, PERIOD_ARCHIVES_COLLECTION, PERIOD_TARGET_PURGES_COLLECTION, PERIOD_REOPENS_COLLECTION, periodExclusiveUpperBound, resolvePeriodKey, samePartition, resolveReopenState, isEffectivelyReopened, loadPeriods, chainAnchor, assertTsWritable, validatePeriodName, appendPeriodLedgerEntry, purgeMarkersOn, } from './periods.js';
20
+ export type { PeriodPartition, PartitionResolver, PeriodReopenEvent, PeriodReopenRecord, PeriodRecord, PeriodFreezeRecord, PeriodArchiveRecord, PeriodTargetPurgeRecord, TargetPurgeCount, ClosePeriodOptions, OpenPeriodOptions, CarryForwardContext, ReadOnlyCollection, } from './periods.js';
19
21
  /** The un-opted-in stub for this service — exported so callers can compare against it (#844). */
20
22
  export { NO_PERIODS } from './strategy.js';