hyperframes 0.9.31 → 0.9.33

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 (302) hide show
  1. package/dist/{add-53MR45WI.js → add-GDXM36YQ.js} +18 -18
  2. package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-KPNDH2EI.js} +36 -19
  3. package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-SAKETEZ2.js} +11 -11
  4. package/dist/api.js +51 -46
  5. package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
  6. package/dist/{asset-Y3YAVXJ3.js → asset-KOJC72AQ.js} +2 -2
  7. package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-Q4ZFUI6G.js} +13 -13
  8. package/dist/{audio-TRDZQ2NW.js → audio-XZBBXKQC.js} +32 -30
  9. package/dist/{auth-MN66MWGN.js → auth-X45YSZGE.js} +4 -4
  10. package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-77XWQ564.js} +3 -3
  11. package/dist/{avatars-F2COSI7P.js → avatars-D3D22TI2.js} +20 -19
  12. package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-2L2RWFJ3.js} +4 -4
  13. package/dist/backgroundChecksWorker.js +5 -5
  14. package/dist/{batchRender-CI6OFGS5.js → batchRender-O7J47H2Z.js} +5 -5
  15. package/dist/{beats-GBCNB763.js → beats-6RVVU56H.js} +15 -15
  16. package/dist/{benchmark-AHHMJBDN.js → benchmark-D5JRNAVQ.js} +12 -12
  17. package/dist/{billing-HME22C5A.js → billing-WT4DGZII.js} +20 -19
  18. package/dist/{browser-VZTIOZI3.js → browser-2OR737P4.js} +9 -9
  19. package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
  20. package/dist/{capture-ZILHWIOF.js → capture-23X2CK56.js} +82 -39
  21. package/dist/{capture-NU2ZIXJB.js → capture-B34FTO6G.js} +4 -4
  22. package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-TPZKEVKN.js} +19 -19
  23. package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
  24. package/dist/{catalog-NVEGPXGE.js → catalog-ACHSYU5Z.js} +18 -18
  25. package/dist/{catch-up-W7ST5JSZ.js → catch-up-FGANS2BB.js} +12 -12
  26. package/dist/{check-BZ652RYH.js → check-DXK4L5WP.js} +54 -54
  27. package/dist/{checkAudio-5NVSRMGL.js → checkAudio-4ISYJED3.js} +20 -20
  28. package/dist/{checkBrowser-YN454IBU.js → checkBrowser-5ECMULMP.js} +47 -47
  29. package/dist/{chunk-Q7EIUAYK.js → chunk-23354HMA.js} +3 -3
  30. package/dist/{chunk-W4OMDRZF.js → chunk-2I4DQZLQ.js} +28 -8
  31. package/dist/{chunk-O4Z4D4KA.js → chunk-2KYLVWLO.js} +1 -1
  32. package/dist/{chunk-BJSUKOWW.js → chunk-2LMCARA5.js} +2 -2
  33. package/dist/{chunk-XB77LMOP.js → chunk-2QTGQGYA.js} +1 -1
  34. package/dist/{chunk-JULHFF3J.js → chunk-2RBQLV6B.js} +1 -1
  35. package/dist/{chunk-R5U5PFDJ.js → chunk-2TBW7UOF.js} +5177 -4970
  36. package/dist/{chunk-RCWPVC4M.js → chunk-3J32XVJ6.js} +2 -2
  37. package/dist/{chunk-CP4FVXKZ.js → chunk-45ZQI734.js} +2 -2
  38. package/dist/{chunk-LHBQW4GJ.js → chunk-4CHGNFCS.js} +23 -15
  39. package/dist/{chunk-RLYYA6IR.js → chunk-4DLYTSWQ.js} +15 -8
  40. package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
  41. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  42. package/dist/{chunk-ZSELEQI2.js → chunk-4US5QCXR.js} +408 -219
  43. package/dist/{chunk-CWOUPW5E.js → chunk-4WZU4FYS.js} +4 -4
  44. package/dist/{chunk-B7H5RCKP.js → chunk-5GYTBKZA.js} +2 -2
  45. package/dist/{chunk-4HSE3FWO.js → chunk-5RVPI6QL.js} +4 -4
  46. package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
  47. package/dist/{chunk-KAICKZZK.js → chunk-6QEEF5RR.js} +1 -1
  48. package/dist/{chunk-5Q3TTLGB.js → chunk-6RV2QY4K.js} +31 -31
  49. package/dist/{chunk-3SZ43GZG.js → chunk-6ZVUTYNB.js} +6 -6
  50. package/dist/{chunk-C4U6FRZH.js → chunk-76KUCQXD.js} +14 -11
  51. package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
  52. package/dist/{chunk-GRHBVTBK.js → chunk-7LTXT7ME.js} +11 -9
  53. package/dist/{chunk-RBECDLMQ.js → chunk-7UUUV4PN.js} +1 -1
  54. package/dist/{chunk-X3HQA3YE.js → chunk-A4VXOJZO.js} +10 -8
  55. package/dist/{chunk-OJSOH2LS.js → chunk-ADYMQM7T.js} +2 -2
  56. package/dist/{chunk-GSXHYLW4.js → chunk-AIC7T7CC.js} +2 -2
  57. package/dist/{chunk-MQOO5Z4U.js → chunk-B66UZ2YK.js} +9 -9
  58. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  59. package/dist/{chunk-T7PFJH2B.js → chunk-BBL6STGK.js} +2 -2
  60. package/dist/{chunk-5AMGFTMU.js → chunk-C2VZ7UPE.js} +18 -18
  61. package/dist/{chunk-CUORARXJ.js → chunk-CDI3CCAU.js} +7 -7
  62. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  63. package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
  64. package/dist/{chunk-OOEZ3FT3.js → chunk-CHM3QYLF.js} +3 -3
  65. package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
  66. package/dist/{chunk-DJVSNDF3.js → chunk-CNJLBAKM.js} +133 -22
  67. package/dist/chunk-DDDSTRHU.js +3890 -0
  68. package/dist/{chunk-AWL5M7BX.js → chunk-DGC2RIQE.js} +4 -4
  69. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  70. package/dist/{chunk-WSPGX2SM.js → chunk-DMZER7D5.js} +1 -1
  71. package/dist/{chunk-3DIYMOES.js → chunk-ERJBWDPM.js} +7 -7
  72. package/dist/{chunk-56MGA4FM.js → chunk-ETWXZQN5.js} +2 -2
  73. package/dist/{chunk-MMAPQWUP.js → chunk-EX533ULK.js} +2 -2
  74. package/dist/{chunk-HM3PIREE.js → chunk-EX7WPDFA.js} +2 -2
  75. package/dist/{chunk-MX3UCKZR.js → chunk-FRH3CPW5.js} +1 -1
  76. package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
  77. package/dist/{chunk-FKW5FP4C.js → chunk-G55YEL2L.js} +129 -89
  78. package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
  79. package/dist/{chunk-44VR2CWT.js → chunk-GHLLC6LJ.js} +2 -2
  80. package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
  81. package/dist/{chunk-BCMR6DE4.js → chunk-HEXTAQYG.js} +2 -2
  82. package/dist/{chunk-URXVZMSI.js → chunk-HMB3IAVP.js} +2 -2
  83. package/dist/{chunk-22PWPQVX.js → chunk-HPKW6UVW.js} +6 -6
  84. package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
  85. package/dist/{chunk-YJVJCNK4.js → chunk-I35B5RWZ.js} +3 -3
  86. package/dist/{chunk-SCWMPY3F.js → chunk-I3PA54IU.js} +1 -1
  87. package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
  88. package/dist/{chunk-CWN75OWQ.js → chunk-IYLGUQFR.js} +19 -7
  89. package/dist/chunk-JCJJCYCP.js +392 -0
  90. package/dist/{chunk-P7LZ2WSQ.js → chunk-JSVCF4A6.js} +4 -4
  91. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  92. package/dist/{chunk-OBRKDUCE.js → chunk-KIAY63AB.js} +38 -4
  93. package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
  94. package/dist/{chunk-6VNDEMSP.js → chunk-L6BFXQ6S.js} +8 -4
  95. package/dist/chunk-M3BJEZ7E.js +152 -0
  96. package/dist/{chunk-ZOOY4LEZ.js → chunk-MA35E5OY.js} +3 -3
  97. package/dist/{chunk-IHWNDG5C.js → chunk-MDBEAWP2.js} +3 -3
  98. package/dist/{chunk-TEOIEMTR.js → chunk-MDGNQWFN.js} +1 -1
  99. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  100. package/dist/{chunk-O7ZX5DHD.js → chunk-MP36L7OJ.js} +2 -2
  101. package/dist/{chunk-5LLDGJGZ.js → chunk-MVIUSNPZ.js} +1 -1
  102. package/dist/{chunk-IIMW46LC.js → chunk-N2C7WJDG.js} +1 -1
  103. package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
  104. package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
  105. package/dist/{chunk-AQJA7TAQ.js → chunk-NQFIMBXS.js} +2 -2
  106. package/dist/{chunk-G5DZZEQF.js → chunk-O2T6ZTLN.js} +1 -1
  107. package/dist/{chunk-RHUYVGFO.js → chunk-O5CNNVRY.js} +7 -7
  108. package/dist/{chunk-6WHOI52Z.js → chunk-OD7PLYYX.js} +8 -8
  109. package/dist/{chunk-K7JA32EI.js → chunk-PNP2BO3U.js} +2 -2
  110. package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
  111. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  112. package/dist/{chunk-SEVZKBMA.js → chunk-QWM3NY2E.js} +4 -4
  113. package/dist/{chunk-ZQYRP22G.js → chunk-R45WFVRA.js} +1 -1
  114. package/dist/{chunk-PGGMJW7B.js → chunk-RCB4SGTB.js} +35 -7
  115. package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
  116. package/dist/{chunk-5HVQV4H4.js → chunk-RGYOCAHC.js} +2 -2
  117. package/dist/{chunk-GFDXA5QO.js → chunk-ROXILOZ6.js} +2 -2
  118. package/dist/{chunk-G5S72X6Q.js → chunk-SIGASWB7.js} +4 -4
  119. package/dist/{chunk-J5LQW6VB.js → chunk-SOAQ3XXB.js} +2 -2
  120. package/dist/{chunk-RLQOYHXT.js → chunk-SUXEL7G4.js} +15 -15
  121. package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
  122. package/dist/{chunk-Q77TZ76B.js → chunk-SWPI27QV.js} +8 -8
  123. package/dist/{chunk-T54RTTFW.js → chunk-T3GSTIBS.js} +3 -3
  124. package/dist/chunk-TFBPCJPG.js +26 -0
  125. package/dist/{chunk-XDIHAX2C.js → chunk-U77L3ZQZ.js} +1 -1
  126. package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
  127. package/dist/{chunk-7XZS4PNM.js → chunk-UE2WSWNA.js} +1 -1
  128. package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
  129. package/dist/{chunk-KAHWO4XC.js → chunk-VKZSAAXZ.js} +3 -3
  130. package/dist/chunk-VQJLTYEK.js +453 -0
  131. package/dist/{chunk-5YYGPTBP.js → chunk-VZQXHYEI.js} +3 -3
  132. package/dist/{chunk-OZNJ2QD5.js → chunk-W2FSQBUR.js} +17 -17
  133. package/dist/{chunk-RVI665CP.js → chunk-W5PW26KE.js} +1 -1
  134. package/dist/{chunk-KKUBMYCY.js → chunk-WIMVXPYG.js} +12 -12
  135. package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
  136. package/dist/{chunk-OB6DVKHE.js → chunk-WYPRTHXQ.js} +2 -2
  137. package/dist/{chunk-ELWX6CAA.js → chunk-XDDBSGBD.js} +2 -2
  138. package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
  139. package/dist/{chunk-3OA75WJW.js → chunk-XFXCI4IP.js} +16 -9
  140. package/dist/{chunk-RJA64ACI.js → chunk-XQWWFIBR.js} +2 -2
  141. package/dist/{chunk-FK3KV32T.js → chunk-XSHJ37U3.js} +27 -24
  142. package/dist/{chunk-Y6RU3H6C.js → chunk-XUDJ5XSQ.js} +6 -6
  143. package/dist/{chunk-DFSAC4F4.js → chunk-XVVPEWNX.js} +1 -1
  144. package/dist/chunk-Y5DOT5NQ.js +57 -0
  145. package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
  146. package/dist/{chunk-L6ZLOJBI.js → chunk-YDG3OXH3.js} +3 -2
  147. package/dist/{chunk-SQ63BIR2.js → chunk-YNFHZ4RI.js} +3 -3
  148. package/dist/{chunk-5BIMSULZ.js → chunk-YSHUIQ3I.js} +2 -2
  149. package/dist/chunk-YTUPQTXA.js +560 -0
  150. package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
  151. package/dist/chunk-ZOAANTVI.js +193 -0
  152. package/dist/{clean-WYXHI2DO.js → clean-3IN64RHM.js} +31 -31
  153. package/dist/cli.js +71 -69
  154. package/dist/{cloud-X52P5AIE.js → cloud-LBUZBUP6.js} +4 -4
  155. package/dist/{cloud-TDXVUIUM.js → cloud-SVYXHFEG.js} +9 -8
  156. package/dist/{cloudrun-36IR6ZKU.js → cloudrun-PZOF2QGL.js} +8 -8
  157. package/dist/{compare-R2KXOV2I.js → compare-UOJ3LXQQ.js} +46 -46
  158. package/dist/{compiler-FRWUFIQC.js → compiler-5ZDHBKBQ.js} +9 -7
  159. package/dist/{component-TIBQY7KQ.js → component-EVIPLTTJ.js} +3 -3
  160. package/dist/{compositions-NQPORXIX.js → compositions-R4GG5FBO.js} +17 -17
  161. package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
  162. package/dist/contract/LICENSE-Unicode.txt +39 -0
  163. package/dist/contract/path-policy.json +311 -0
  164. package/dist/contract/unicode-15.1.0.json +6179 -0
  165. package/dist/{curve-DTLRPBSB.js → curve-LR3PSRW3.js} +16 -16
  166. package/dist/{cuts-73HKU767.js → cuts-DHCOBAFT.js} +17 -17
  167. package/dist/{delete-HIHA436T.js → delete-MMGGU3QP.js} +12 -11
  168. package/dist/deploy-SKIGUTM2.js +213 -0
  169. package/dist/{describeProject-4A5UXQ25.js → describeProject-L7HNTBPV.js} +12 -12
  170. package/dist/{destroy-4DOMPOYB.js → destroy-5HSMMDH7.js} +22 -18
  171. package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
  172. package/dist/{diff-JPADFUMV.js → diff-KR7VKPYL.js} +48 -47
  173. package/dist/{dist-EFXKPJJT.js → dist-3MFNUZSN.js} +4 -4
  174. package/dist/{dist-KWXQYTRT.js → dist-HK3AZNNL.js} +22 -22
  175. package/dist/{dist-FKEKIXVL.js → dist-ZGYPFYOH.js} +4 -4
  176. package/dist/docs/rendering.md +2 -0
  177. package/dist/{doctor-3OO3CONL.js → doctor-G7VGNSA5.js} +18 -18
  178. package/dist/{energy-XFPN5YIL.js → energy-H7EEH6WO.js} +17 -17
  179. package/dist/{events-6ONCYFB5.js → events-5ATZCZTK.js} +4 -4
  180. package/dist/{events-QWPZT3EQ.js → events-ASG27IXP.js} +19 -19
  181. package/dist/{events-G2MME5LQ.js → events-YD6N7OPQ.js} +9 -9
  182. package/dist/execute-OAS454OB.js +109 -0
  183. package/dist/{extract-3EV72SMY.js → extract-645SENLA.js} +20 -20
  184. package/dist/{face-JZS6P3AT.js → face-WRT5XH4I.js} +19 -19
  185. package/dist/{feedback-JVWBHRQG.js → feedback-3LKLR5MV.js} +22 -17
  186. package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-PXKIZL2X.js} +11 -11
  187. package/dist/{figma-KPHTDMCQ.js → figma-RIEVJJBW.js} +3 -3
  188. package/dist/fontLocalizeCli.js +20 -20
  189. package/dist/{frames-KRVRJTKC.js → frames-OTB3J5W3.js} +19 -19
  190. package/dist/{generate-X2MYGFZX.js → generate-IUKCZW2D.js} +33 -32
  191. package/dist/{get-QM24BI7N.js → get-6WVQ7TBV.js} +12 -11
  192. package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-HXSVAEU4.js} +11 -11
  193. package/dist/{grade-compare-W5N5LH4X.js → grade-compare-TCAYHDEF.js} +47 -47
  194. package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
  195. package/dist/hangReport.js +1 -1
  196. package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-GXIMK4HK.js} +12 -12
  197. package/dist/{help-LWS4YWMO.js → help-RGOL5EJD.js} +2 -1
  198. package/dist/{history-SG34LBJY.js → history-XKPRGJGS.js} +15 -15
  199. package/dist/hyperframe.manifest.json +1 -1
  200. package/dist/hyperframe.runtime.iife.js +42 -42
  201. package/dist/hyperframes-player.global.js +1 -1
  202. package/dist/{info-2FC43IYB.js → info-EYBBC42V.js} +19 -19
  203. package/dist/{init-GKY5OKDV.js → init-F2FWPSMA.js} +36 -36
  204. package/dist/{ink-7UK6YCUY.js → ink-BWFERAAT.js} +17 -17
  205. package/dist/{inspect-ZB2NTNQA.js → inspect-74N7L3BW.js} +44 -44
  206. package/dist/{installer-GALVXWPC.js → installer-LOUR7G4R.js} +8 -8
  207. package/dist/{keyframes-LSP4FLHT.js → keyframes-WB5PTKFE.js} +15 -13
  208. package/dist/{lambda-3F32DRYF.js → lambda-JYCNXUKB.js} +20 -20
  209. package/dist/{layout-XPGS3QTX.js → layout-P52EVR24.js} +44 -44
  210. package/dist/{lint-Q5SO57RK.js → lint-SL55KAS2.js} +15 -15
  211. package/dist/{lintProject-5CBL7VFV.js → lintProject-46WU53VC.js} +4 -4
  212. package/dist/{list-FL5RYSFT.js → list-LN6CQH52.js} +14 -13
  213. package/dist/{localPage-IOHQETQT.js → localPage-L6OJU3UH.js} +12 -12
  214. package/dist/{login-D4TCWDDW.js → login-WTOAMDID.js} +8 -7
  215. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  216. package/dist/{look-G2BT4E4A.js → look-O6ESLJRP.js} +17 -17
  217. package/dist/{manager-F6WI43DQ.js → manager-CMEZWENF.js} +12 -12
  218. package/dist/{measure-VXQQHYMZ.js → measure-NEIXU53P.js} +11 -11
  219. package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-6CAQG7MU.js} +19 -19
  220. package/dist/{media-use-63LZFAID.js → media-use-IXJFMKU7.js} +16 -9
  221. package/dist/{models-MWUVU4CY.js → models-TZALWUEY.js} +15 -15
  222. package/dist/{motionShot-U4YDT7UV.js → motionShot-OQYK6G6M.js} +24 -24
  223. package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-43PJLOBY.js} +15 -15
  224. package/dist/oauth-SAVP2YM4.js +40 -0
  225. package/dist/{open-DRLXHOW2.js → open-EOX6QY4M.js} +20 -20
  226. package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-STHAXQAF.js} +19 -19
  227. package/dist/{pipeline-MAIRRYD6.js → pipeline-RRWZHFBQ.js} +14 -14
  228. package/dist/plan-JWUSMF4W.js +88 -0
  229. package/dist/{play-33A3EXX3.js → play-TUKTST32.js} +40 -34
  230. package/dist/{preflight-HSWMKB2Q.js → preflight-L42JKT6F.js} +12 -12
  231. package/dist/{present-HJIFEIDH.js → present-Z7HRDXPV.js} +34 -28
  232. package/dist/{preview-J6Z6RKMN.js → preview-HGTIRAV3.js} +31 -31
  233. package/dist/{probe-RA4VOGYY.js → probe-RXK44FY7.js} +17 -17
  234. package/dist/{producer-KWP2B4A5.js → producer-KJ2RZDJ3.js} +1 -1
  235. package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
  236. package/dist/{projectConfig-3YIGHLNE.js → projectConfig-K36NTJXP.js} +11 -11
  237. package/dist/{publication-QRUY2WJK.js → publication-OZWLT6K6.js} +6 -6
  238. package/dist/{publish-GV3I3GUL.js → publish-CRUTXNYM.js} +92 -30
  239. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  240. package/dist/{remove-background-UUITKXEQ.js → remove-background-R37HZPCG.js} +15 -15
  241. package/dist/{render-ZITQXHJP.js → render-EZMKBT7V.js} +57 -52
  242. package/dist/{render-NHVDJRFD.js → render-SU2XTMJL.js} +8 -8
  243. package/dist/{render-EC67XXR2.js → render-ZHCPCISN.js} +101 -937
  244. package/dist/{render-batch-RII4F3PD.js → render-batch-YIUOEAAL.js} +8 -8
  245. package/dist/renderSetupWorker.js +5 -5
  246. package/dist/{resolver-R3FXDZKS.js → resolver-DLCKRKQR.js} +8 -8
  247. package/dist/{reverse-2GJ5Y3WM.js → reverse-4FAVXIER.js} +1 -1
  248. package/dist/{run-24USN7TA.js → run-H4GVEJVS.js} +8 -6
  249. package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-CQF5FYVI.js} +14 -14
  250. package/dist/service-XDQOULGD.js +68 -0
  251. package/dist/share-CUCQALE7.js +274 -0
  252. package/dist/{sherpa-YIJR47GX.js → sherpa-WZNRQUVC.js} +18 -18
  253. package/dist/sherpaWorker.js +1 -1
  254. package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
  255. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  256. package/dist/skills/hyperframes-cli/references/preview-render.md +21 -0
  257. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
  258. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
  259. package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
  260. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
  261. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
  262. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
  263. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
  264. package/dist/{skills-DM3XC7RQ.js → skills-J52DBZAK.js} +12 -12
  265. package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
  266. package/dist/{snapshot-72RQQXHW.js → snapshot-ZIRQFDA7.js} +94 -69
  267. package/dist/{src-SPFGPZZQ.js → src-7BGBN6SS.js} +18 -18
  268. package/dist/{src-C43KUEBY.js → src-C3XYMTF4.js} +12 -10
  269. package/dist/{start-FSYSYLI7.js → start-QG2XNMYN.js} +31 -30
  270. package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
  271. package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-TWMEFK3T.js} +28 -28
  272. package/dist/{status-TE74GP4Q.js → status-3UPA5WPI.js} +26 -24
  273. package/dist/studio/assets/{codec-DXM4vA6G.js → codec-qz1-OXLj.js} +1 -1
  274. package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-2eG1zFX5.js} +1 -1
  275. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  276. package/dist/studio/assets/{index-Ob53qo6K.js → index-DDmhnfrS.js} +189 -189
  277. package/dist/studio/assets/{index-Bw4stQMm.js → index-DUveJ_YP.js} +1 -1
  278. package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
  279. package/dist/studio/index.html +2 -2
  280. package/dist/{studio-api-JAOHMYPG.js → studio-api-Z42OO4JJ.js} +22 -22
  281. package/dist/{studioServer-RHCPM4CN.js → studioServer-SMN3RMVL.js} +455 -71
  282. package/dist/{sync-UZJ7DOUA.js → sync-ONTI2WSI.js} +17 -17
  283. package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
  284. package/dist/{telemetry-TFOEA2PM.js → telemetry-RRXALB5D.js} +9 -9
  285. package/dist/{templates-2AHM5TZ3.js → templates-BHFOSD6F.js} +23 -22
  286. package/dist/{timeline-ZGV323MP.js → timeline-Z5IHY5TN.js} +28 -28
  287. package/dist/{tokens-ERUFEWUA.js → tokens-MZVEPARM.js} +2 -2
  288. package/dist/{transcribe-6HLYS7NV.js → transcribe-5IZS4BGW.js} +37 -36
  289. package/dist/{transcribe-M5UZ2XFG.js → transcribe-M5N3YZZU.js} +15 -15
  290. package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
  291. package/dist/{update-JDVI2XTM.js → update-EVPWBIKY.js} +14 -13
  292. package/dist/{updateCheck-GDTYPXKO.js → updateCheck-2UUEF6TC.js} +5 -3
  293. package/dist/{upgrade-SJKYBA4X.js → upgrade-DK45FD4K.js} +6 -4
  294. package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-3MPHIDSA.js} +10 -10
  295. package/dist/{validate-IUTHTA2N.js → validate-W27TQ367.js} +36 -36
  296. package/dist/{video-4BJ7WHI2.js → video-TI372QGV.js} +13 -13
  297. package/dist/{voices-UDSFBPZX.js → voices-FZV4PGT6.js} +30 -29
  298. package/dist/warmCheck.js +55 -55
  299. package/dist/warmCheckClient.js +1 -1
  300. package/package.json +2 -1
  301. package/dist/chunk-2X4PQEYM.js +0 -34
  302. package/dist/deploy-EB3FS2BT.js +0 -361
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperframes",
3
- "version": "0.9.31",
3
+ "version": "0.9.33",
4
4
  "description": "Make videos with code and AI agents: write HTML, render MP4. Open source.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -84,6 +84,7 @@
84
84
  "@hyperframes/lint": "workspace:*",
85
85
  "@hyperframes/parsers": "workspace:*",
86
86
  "@hyperframes/producer": "workspace:*",
87
+ "@hyperframes/share": "workspace:*",
87
88
  "@hyperframes/studio": "workspace:*",
88
89
  "@hyperframes/studio-server": "workspace:*",
89
90
  "@types/css-tree": "^3.2.0",
@@ -1,34 +0,0 @@
1
- import { createRequire as __hf_createRequire } from "node:module";
2
- import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
- import { dirname as __hf_dirname } from "node:path";
4
- var require = __hf_createRequire(import.meta.url);
5
- var __filename = __hf_fileURLToPath(import.meta.url);
6
- var __dirname = __hf_dirname(__filename);
7
-
8
- // src/commands/lambda/repoRoot.ts
9
- import { existsSync } from "fs";
10
- import { dirname, resolve } from "path";
11
- import { fileURLToPath } from "url";
12
- function repoRoot() {
13
- const override = process.env.HYPERFRAMES_REPO_ROOT;
14
- if (override) {
15
- if (existsSync(resolve(override, "packages", "aws-lambda", "package.json"))) return override;
16
- throw new Error(
17
- "[hyperframes lambda] HYPERFRAMES_REPO_ROOT is not a hyperframes checkout (no packages/aws-lambda/package.json there). Point it at the repo root, or unset it."
18
- );
19
- }
20
- let dir = dirname(fileURLToPath(import.meta.url));
21
- for (let depth = 0; depth < 12; depth++) {
22
- if (existsSync(resolve(dir, "packages", "aws-lambda", "package.json"))) {
23
- return dir;
24
- }
25
- const parent = dirname(dir);
26
- if (parent === dir) break;
27
- dir = parent;
28
- }
29
- return void 0;
30
- }
31
-
32
- export {
33
- repoRoot
34
- };
@@ -1,361 +0,0 @@
1
- import { createRequire as __hf_createRequire } from "node:module";
2
- import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
- import { dirname as __hf_dirname } from "node:path";
4
- var require = __hf_createRequire(import.meta.url);
5
- var __filename = __hf_fileURLToPath(import.meta.url);
6
- var __dirname = __hf_dirname(__filename);
7
- import {
8
- repoRoot
9
- } from "./chunk-2X4PQEYM.js";
10
- import {
11
- isMissingPackageError
12
- } from "./chunk-UY3H42VE.js";
13
- import {
14
- fetchStackOutputs,
15
- locateSamTemplate,
16
- samDeploy
17
- } from "./chunk-RXJUMVCA.js";
18
- import {
19
- DEFAULT_STACK_NAME,
20
- readStackOutputs,
21
- writeStackOutputs
22
- } from "./chunk-JHOPRAJN.js";
23
- import {
24
- cliSourced
25
- } from "./chunk-LSUM6RTW.js";
26
- import {
27
- downloadFile
28
- } from "./chunk-R4EWRIDL.js";
29
- import {
30
- c
31
- } from "./chunk-JCNPHRGX.js";
32
- import {
33
- hyperframesCacheDir
34
- } from "./chunk-JOQR4AP6.js";
35
- import "./chunk-66W5IWLO.js";
36
- import "./chunk-CPHQTXP5.js";
37
- import {
38
- VERSION
39
- } from "./chunk-CP4FVXKZ.js";
40
- import "./chunk-LW33P24U.js";
41
- import "./chunk-XT6MXC7A.js";
42
- import "./chunk-7KDQAD2W.js";
43
- import "./chunk-M2WBOQ2Q.js";
44
-
45
- // src/commands/lambda/deploy.ts
46
- import { spawnSync as spawnSync3 } from "child_process";
47
- import { existsSync as existsSync2 } from "fs";
48
- import { dirname as dirname2, join as join4, resolve } from "path";
49
-
50
- // src/commands/lambda/prebuiltHandler.ts
51
- import { createHash } from "crypto";
52
- import {
53
- copyFileSync,
54
- createReadStream,
55
- existsSync,
56
- mkdirSync,
57
- readdirSync,
58
- renameSync,
59
- unlinkSync
60
- } from "fs";
61
- import { dirname, join } from "path";
62
- var DOCS_URL = cliSourced("https://hyperframes.heygen.com/deploy/aws-lambda");
63
- var HANDLER_CACHE_DIR = hyperframesCacheDir("lambda-handler");
64
- var defaultDeps = {
65
- loadAdapter: () => import("@hyperframes/aws-lambda/sdk"),
66
- download: downloadFile,
67
- cacheDir: HANDLER_CACHE_DIR,
68
- log: (line) => console.log(line)
69
- };
70
- function noHandlerMessage(adapterInstalled) {
71
- const adapter = adapterInstalled ? " - The installed @hyperframes/aws-lambda has no prebuilt handler for its version. Install one that does:\n" : " - Install the Lambda adapter; its release pins the prebuilt handler:\n";
72
- return "[lambda deploy] This is not a HyperFrames checkout, and no prebuilt Lambda handler is available.\n" + adapter + ` npm install -g @hyperframes/aws-lambda@${VERSION}
73
- - Or run from a hyperframes checkout, or set HYPERFRAMES_REPO_ROOT to one.
74
- Docs: ${DOCS_URL}`;
75
- }
76
- async function sha256File(path) {
77
- const hash = createHash("sha256");
78
- for await (const chunk of createReadStream(path)) hash.update(chunk);
79
- return hash.digest("hex");
80
- }
81
- async function fetchPinned(pinned, asset, deps) {
82
- const dir = join(deps.cacheDir, `${pinned.version}-${pinned.sha256}`);
83
- const file = join(dir, asset.fileName);
84
- if (existsSync(file) && await sha256File(file) === pinned.sha256) {
85
- deps.log(`\u2192 Using verified ${asset.label} ${pinned.version} from ${dir}`);
86
- return file;
87
- }
88
- const url = asset.urlOverride ?? pinned.url;
89
- deps.log(`\u2192 Downloading ${asset.label} ${pinned.version} (${pinned.bytes} bytes)`);
90
- mkdirSync(dir, { recursive: true });
91
- const partial = `${file}.download`;
92
- await deps.download(url, partial, { maxBytes: pinned.bytes });
93
- const actual = await sha256File(partial);
94
- if (actual !== pinned.sha256) {
95
- unlinkSync(partial);
96
- const urlWithoutCredentials = url.split("?")[0];
97
- throw new Error(
98
- `[lambda deploy] Refusing the ${asset.label} from ${urlWithoutCredentials}: sha256 ${actual} does not match the ${pinned.sha256} pinned by @hyperframes/aws-lambda@${pinned.version}.`
99
- );
100
- }
101
- renameSync(partial, file);
102
- deps.log(`\u2192 Verified sha256 ${pinned.sha256}`);
103
- return file;
104
- }
105
- async function stagePrebuiltHandler(deps = defaultDeps) {
106
- let sdk;
107
- try {
108
- sdk = await deps.loadAdapter();
109
- } catch (err) {
110
- if (isMissingPackageError(err, "@hyperframes/aws-lambda"))
111
- throw new Error(noHandlerMessage(false));
112
- throw err;
113
- }
114
- const pinned = sdk.prebuiltHandler?.();
115
- if (!pinned) throw new Error(noHandlerMessage(true));
116
- const zip = await fetchPinned(
117
- pinned,
118
- {
119
- fileName: "handler.zip",
120
- label: "handler ZIP",
121
- urlOverride: process.env.HYPERFRAMES_LAMBDA_HANDLER_URL
122
- },
123
- deps
124
- );
125
- const dir = dirname(zip);
126
- const templateDir = dirname(pinned.templatePath);
127
- for (const file of readdirSync(templateDir).filter((name) => name.endsWith(".yaml"))) {
128
- copyFileSync(join(templateDir, file), join(dir, file));
129
- }
130
- return dir;
131
- }
132
-
133
- // src/commands/lambda/videoImage.ts
134
- import { spawnSync } from "child_process";
135
- import { mkdtempSync, rmSync } from "fs";
136
- import { tmpdir } from "os";
137
- import { join as join2 } from "path";
138
- function videoRepositoryName(stackName) {
139
- return `${stackName.toLowerCase()}-video`;
140
- }
141
- async function pushVideoImage(opts, deps = defaultDeps) {
142
- const sdk = await deps.loadAdapter();
143
- const tarball = await videoImageTarball(sdk, opts.inCheckout, deps);
144
- if (!sdk.ensureEcrRepository || !sdk.pushImageToEcr) {
145
- throw new Error(noVideoImageMessage(opts.inCheckout));
146
- }
147
- const layoutDir = mkdtempSync(join2(tmpdir(), "hf-video-image-"));
148
- try {
149
- const untar = spawnSync("tar", ["-xf", tarball, "-C", layoutDir], { stdio: "inherit" });
150
- if (untar.status !== 0) {
151
- throw new Error(
152
- `[lambda deploy] tar could not extract ${tarball} (exit ${untar.status ?? "unknown"})`
153
- );
154
- }
155
- const repositoryName = videoRepositoryName(opts.stackName);
156
- const { repositoryUri } = await sdk.ensureEcrRepository({
157
- region: opts.region,
158
- repositoryName,
159
- tags: [{ Key: "hyperframes:stack", Value: opts.stackName }]
160
- });
161
- deps.log(`\u2192 Pushing the arm64 video image to ${repositoryUri}`);
162
- const pushed = await sdk.pushImageToEcr({
163
- region: opts.region,
164
- layoutDir,
165
- repositoryName,
166
- repositoryUri,
167
- tag: "video",
168
- log: deps.log
169
- });
170
- if (pushed.os !== "linux" || pushed.architecture !== "arm64") {
171
- throw new Error(
172
- `[lambda deploy] ${tarball} is a ${pushed.os}/${pushed.architecture} image; the video function needs linux/arm64.`
173
- );
174
- }
175
- return { imageUri: pushed.imageUri, repositoryName };
176
- } finally {
177
- rmSync(layoutDir, { recursive: true, force: true });
178
- }
179
- }
180
- async function videoImageTarball(sdk, inCheckout, deps) {
181
- const local = process.env.HYPERFRAMES_LAMBDA_VIDEO_IMAGE;
182
- if (local) return local;
183
- const pinned = inCheckout ? void 0 : sdk.prebuiltVideoImage?.();
184
- if (!pinned) throw new Error(noVideoImageMessage(inCheckout));
185
- return fetchPinned(pinned, { fileName: "video-arm64.oci.tar", label: "arm64 video image" }, deps);
186
- }
187
- function noVideoImageMessage(inCheckout) {
188
- return inCheckout ? "[lambda deploy] An arm64 deploy from a checkout needs an image built from that checkout: build packages/aws-lambda/image's `video` target as an OCI tarball and set HYPERFRAMES_LAMBDA_VIDEO_IMAGE to it, or pass --video-arch x86_64." : "[lambda deploy] The installed @hyperframes/aws-lambda pins no arm64 video image. Install a newer one, or pass --video-arch x86_64.";
189
- }
190
-
191
- // src/commands/lambda/warm.ts
192
- import { spawnSync as spawnSync2 } from "child_process";
193
- import { mkdtempSync as mkdtempSync2, rmSync as rmSync2 } from "fs";
194
- import { tmpdir as tmpdir2 } from "os";
195
- import { join as join3 } from "path";
196
- function warmFunction(opts) {
197
- const dir = mkdtempSync2(join3(tmpdir2(), "hf-warm-"));
198
- try {
199
- const args = [
200
- "lambda",
201
- "invoke",
202
- "--function-name",
203
- opts.functionName,
204
- "--region",
205
- opts.region,
206
- "--output",
207
- "json",
208
- "--cli-binary-format",
209
- "raw-in-base64-out",
210
- "--payload",
211
- JSON.stringify({ Action: "warm" }),
212
- join3(dir, "out.json")
213
- ];
214
- if (opts.awsProfile) args.unshift("--profile", opts.awsProfile);
215
- const result = spawnSync2("aws", args, { encoding: "utf-8", timeout: 12e4 });
216
- if (result.error) throw result.error;
217
- if (result.status !== 0) {
218
- throw new Error(
219
- `aws lambda invoke exited with code ${result.status ?? "unknown"}: ${result.stderr}`
220
- );
221
- }
222
- const { FunctionError } = JSON.parse(result.stdout);
223
- if (FunctionError) throw new Error(`the function answered ${FunctionError}`);
224
- } finally {
225
- rmSync2(dir, { recursive: true, force: true });
226
- }
227
- }
228
-
229
- // src/commands/lambda/deploy.ts
230
- var DEFAULT_REGION = "us-east-1";
231
- var DEFAULT_MEMORY_MB = 10240;
232
- async function runDeploy(args = {}) {
233
- const resolved = {
234
- stackName: args.stackName ?? DEFAULT_STACK_NAME,
235
- region: args.region ?? process.env.AWS_REGION ?? DEFAULT_REGION,
236
- awsProfile: args.awsProfile ?? process.env.AWS_PROFILE,
237
- reservedConcurrency: args.reservedConcurrency,
238
- chromeSource: args.chromeSource ?? "sparticuz",
239
- lambdaMemoryMb: args.lambdaMemoryMb ?? DEFAULT_MEMORY_MB,
240
- videoArch: args.videoArch ?? "arm64",
241
- skipBuild: args.skipBuild ?? false,
242
- warm: args.warm ?? true
243
- };
244
- if (resolved.videoArch === "arm64" && resolved.chromeSource !== "sparticuz") {
245
- throw new Error(
246
- "[lambda deploy] The arm64 video image bundles sparticuz Chrome only. Pass --video-arch x86_64 to deploy with --chrome-source chrome-headless-shell."
247
- );
248
- }
249
- const root = repoRoot();
250
- const samDir = await prepareSamDir(root, resolved);
251
- const video = resolved.videoArch === "arm64" ? await pushVideoImage({
252
- stackName: resolved.stackName,
253
- region: resolved.region,
254
- inCheckout: root !== void 0
255
- }) : void 0;
256
- console.log(c.dim(`\u2192 sam deploy (stack=${resolved.stackName} region=${resolved.region})`));
257
- samDeploy({
258
- samDir,
259
- stackName: resolved.stackName,
260
- region: resolved.region,
261
- awsProfile: resolved.awsProfile,
262
- reservedConcurrency: resolved.reservedConcurrency,
263
- lambdaMemoryMb: resolved.lambdaMemoryMb,
264
- chromeSource: resolved.chromeSource,
265
- videoImageUri: video?.imageUri
266
- });
267
- console.log(c.dim("\u2192 Reading stack outputs"));
268
- const outputs = fetchStackOutputs({
269
- stackName: resolved.stackName,
270
- region: resolved.region,
271
- awsProfile: resolved.awsProfile
272
- });
273
- const statePath = writeStackOutputs({
274
- stackName: resolved.stackName,
275
- region: resolved.region,
276
- bucketName: outputs.bucketName,
277
- stateMachineArn: outputs.stateMachineArn,
278
- functionName: outputs.functionName,
279
- lambdaMemoryMb: resolved.lambdaMemoryMb,
280
- reservedConcurrency: outputs.reservedConcurrency,
281
- videoFunctionName: outputs.videoFunctionName,
282
- // Back on x86 the repository outlives the video function, so destroy still needs its name.
283
- videoRepository: video?.repositoryName ?? readStackOutputs(resolved.stackName)?.videoRepository,
284
- deployedAt: (/* @__PURE__ */ new Date()).toISOString()
285
- });
286
- warmVideoFunction(outputs.videoFunctionName, resolved);
287
- reportReservedConcurrency(outputs.reservedConcurrency, resolved);
288
- console.log();
289
- console.log(c.success("Stack deployed."));
290
- console.log(` ${c.dim("Bucket:")} ${outputs.bucketName}`);
291
- console.log(` ${c.dim("State machine:")} ${outputs.stateMachineArn}`);
292
- console.log(` ${c.dim("Function:")} ${outputs.functionName}`);
293
- if (outputs.videoFunctionName) {
294
- console.log(` ${c.dim("Video function:")} ${outputs.videoFunctionName} (arm64)`);
295
- }
296
- console.log(` ${c.dim("State file:")} ${resolve(statePath)}`);
297
- console.log();
298
- console.log(c.dim(`Render with: hyperframes lambda render <project-dir>`));
299
- }
300
- function reportReservedConcurrency(kept, args) {
301
- if (args.reservedConcurrency === -1) {
302
- console.log(
303
- c.warn(
304
- "Removed the stack's reserved concurrency; each render now sizes itself to the account."
305
- )
306
- );
307
- } else if (args.reservedConcurrency === void 0 && kept !== void 0) {
308
- console.log(
309
- c.warn(
310
- `Kept the stack's reserved concurrency of ${kept}. Pass --concurrency=N to change it.`
311
- )
312
- );
313
- }
314
- }
315
- function warmVideoFunction(functionName, args) {
316
- if (!args.warm || !functionName) return;
317
- console.log(c.dim("\u2192 Warming up the video function"));
318
- try {
319
- warmFunction({ functionName, region: args.region, awsProfile: args.awsProfile });
320
- } catch (error) {
321
- console.log(c.warn(`Warm-up skipped, the deploy is fine: ${error.message}`));
322
- }
323
- }
324
- async function prepareSamDir(root, args) {
325
- if (!root) {
326
- if (args.chromeSource !== "sparticuz") {
327
- throw new Error(
328
- "[lambda deploy] The prebuilt handler bundles sparticuz Chrome; --chrome-source=chrome-headless-shell needs a hyperframes checkout."
329
- );
330
- }
331
- return stagePrebuiltHandler();
332
- }
333
- const samDir = dirname2(locateSamTemplate(root));
334
- if (!args.skipBuild) {
335
- console.log(c.dim("\u2192 Building handler ZIP"));
336
- buildHandlerZip(root);
337
- } else {
338
- const zip = join4(root, "packages", "aws-lambda", "dist", "handler.zip");
339
- if (!existsSync2(zip)) {
340
- throw new Error(
341
- `--skip-build set but ${zip} does not exist. Run \`bun run --cwd packages/aws-lambda build:zip\` first or drop --skip-build.`
342
- );
343
- }
344
- }
345
- return samDir;
346
- }
347
- function buildHandlerZip(root) {
348
- const result = spawnSync3(
349
- "bun",
350
- ["run", "--cwd", join4(root, "packages", "aws-lambda"), "build:zip"],
351
- { stdio: "inherit" }
352
- );
353
- if (result.status !== 0) {
354
- throw new Error(
355
- `[lambda deploy] handler ZIP build exited with code ${result.status ?? "unknown"}`
356
- );
357
- }
358
- }
359
- export {
360
- runDeploy
361
- };