hyperframes 0.9.32 → 0.9.34

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 (303) hide show
  1. package/bin/hyperframes.mjs +10 -0
  2. package/dist/{add-HYI4YJC5.js → add-NBOJ2UA3.js} +18 -17
  3. package/dist/{agentPromptGenerator-JAQNBEUZ.js → agentPromptGenerator-3JOLQXTX.js} +11 -11
  4. package/dist/{animatedGifPrep-DVYRCZVR.js → animatedGifPrep-VI5CFYCR.js} +10 -10
  5. package/dist/api.js +49 -48
  6. package/dist/{appHistory-WZIHFCPK.js → appHistory-535MKSWI.js} +2 -2
  7. package/dist/{asset-7FG3M3FQ.js → asset-NYULKN5A.js} +2 -2
  8. package/dist/{assetCataloger-QDQZYHUC.js → assetCataloger-AWJMEMX7.js} +12 -12
  9. package/dist/{audio-R6ZG62DU.js → audio-QN5YYFOA.js} +31 -30
  10. package/dist/{auth-IPDYZXOG.js → auth-LHUBRGIH.js} +4 -4
  11. package/dist/{autoUpdate-GAEDDZRN.js → autoUpdate-5M3JGEFS.js} +3 -3
  12. package/dist/{avatars-A45VFUZ4.js → avatars-DAB2KILV.js} +19 -18
  13. package/dist/{backgroundChecks-US74BS6V.js → backgroundChecks-3NQOCEDM.js} +4 -4
  14. package/dist/backgroundChecksWorker.js +4 -4
  15. package/dist/{batchRender-VBSYVQA7.js → batchRender-EPRIJZVT.js} +4 -4
  16. package/dist/{beats-UPJ3KANG.js → beats-ZCPQEIFG.js} +14 -14
  17. package/dist/{benchmark-2RWYJGL2.js → benchmark-7OVOBGQX.js} +11 -11
  18. package/dist/{billing-MD66MJTA.js → billing-7K6S23FP.js} +19 -18
  19. package/dist/{browser-JXCS62NX.js → browser-CP76THCA.js} +10 -9
  20. package/dist/{bundleWithLocalizedFonts-RAD7BNJF.js → bundleWithLocalizedFonts-MRCRI676.js} +1 -1
  21. package/dist/{capture-M6DT5WZT.js → capture-B4B72PIK.js} +4 -4
  22. package/dist/{capture-DJ4WRP62.js → capture-VAE27MNW.js} +51 -31
  23. package/dist/{captureCompositionFrame-IRXG7ZFU.js → captureCompositionFrame-YAOQTG6R.js} +18 -18
  24. package/dist/{captureFile-Y2ZMB7HK.js → captureFile-P4BDKVJH.js} +2 -2
  25. package/dist/{catalog-GW45OWKU.js → catalog-TUZGNHN6.js} +18 -17
  26. package/dist/{catch-up-YKJQ4IYC.js → catch-up-GMUF3JXI.js} +11 -11
  27. package/dist/{check-7QTKMPGA.js → check-CHCV573Z.js} +51 -51
  28. package/dist/{checkAudio-7WHUYGUZ.js → checkAudio-JJZN37WT.js} +19 -19
  29. package/dist/{checkBrowser-USAOWTAF.js → checkBrowser-SK7GFN7U.js} +44 -44
  30. package/dist/{chunk-X6DWLN55.js → chunk-2HDVXVUA.js} +8 -4
  31. package/dist/{chunk-JMV63CNH.js → chunk-2JXJQ3ZQ.js} +2 -2
  32. package/dist/{chunk-6BI6URO2.js → chunk-2JZU6DYH.js} +5 -4
  33. package/dist/{chunk-SXOIG6VG.js → chunk-2OP5HU5S.js} +284 -192
  34. package/dist/{chunk-KRWPTZBY.js → chunk-3FQYFVWA.js} +99 -25
  35. package/dist/{chunk-G7NKYELQ.js → chunk-3K4THQHY.js} +4 -4
  36. package/dist/{chunk-SIRYW7SY.js → chunk-3P4OYIBA.js} +2 -2
  37. package/dist/{chunk-WTO4DHBH.js → chunk-3XJ42WUG.js} +1 -1
  38. package/dist/{chunk-XPT4GC6X.js → chunk-45IPAGED.js} +7 -7
  39. package/dist/{chunk-HWMNSWEA.js → chunk-4MVWA7NJ.js} +6 -6
  40. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  41. package/dist/{chunk-6MTSP2XE.js → chunk-4TQS6ZSL.js} +7 -7
  42. package/dist/{chunk-5GXMZIQZ.js → chunk-4WXLBRT5.js} +31 -22
  43. package/dist/{chunk-YIE5FU73.js → chunk-4Y4VYZRO.js} +37 -3
  44. package/dist/{chunk-K72X2YXR.js → chunk-52CUHVEA.js} +4 -4
  45. package/dist/{chunk-TLUDJLBN.js → chunk-55I56MXF.js} +1 -1
  46. package/dist/{chunk-2T7EDEKE.js → chunk-5QPYUTV3.js} +8 -8
  47. package/dist/{chunk-WLNQAJQC.js → chunk-5SXAEHZT.js} +2 -2
  48. package/dist/{chunk-77UB5EHM.js → chunk-5WK76INI.js} +1 -1
  49. package/dist/{chunk-5VN7ZXJR.js → chunk-5ZTB6QIJ.js} +3 -3
  50. package/dist/{chunk-ZIYXPDKY.js → chunk-65PFUPLX.js} +1 -1
  51. package/dist/{chunk-LHFBKUVY.js → chunk-6FP6HBG4.js} +2 -2
  52. package/dist/{chunk-YCTWMO3G.js → chunk-6HG3XABE.js} +1 -1
  53. package/dist/{chunk-LJMTEZOP.js → chunk-6K5KVYOQ.js} +16 -16
  54. package/dist/{chunk-34S7GYVK.js → chunk-6OYPVALW.js} +15 -8
  55. package/dist/{chunk-G2XAFJ2B.js → chunk-74PKHC3W.js} +1 -1
  56. package/dist/{chunk-N6Y645MX.js → chunk-7C6K5WFB.js} +1 -1
  57. package/dist/{chunk-M6FNCANA.js → chunk-7E5HPNMD.js} +1 -1
  58. package/dist/{chunk-CHJGVW5W.js → chunk-7YBRRU5W.js} +4 -11
  59. package/dist/{chunk-2NMBD5AH.js → chunk-7YOJPNDT.js} +1 -1
  60. package/dist/{chunk-GCJRV7LU.js → chunk-A2YCAF35.js} +23 -37
  61. package/dist/{chunk-E5S4QMX7.js → chunk-AG6L5CUE.js} +2 -2
  62. package/dist/{chunk-SVI2CJ6R.js → chunk-AOTAYP5E.js} +1 -1
  63. package/dist/{chunk-VB3JZKMN.js → chunk-ASORF7UJ.js} +31 -10
  64. package/dist/{chunk-XB7HE2R5.js → chunk-AUM475MS.js} +3 -3
  65. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  66. package/dist/{chunk-I3QXWJ7V.js → chunk-BDFD3C3V.js} +7 -7
  67. package/dist/{chunk-YAS347ZS.js → chunk-BLII22FU.js} +1 -1
  68. package/dist/{chunk-CMYUPVMI.js → chunk-BX4GM3IV.js} +2 -2
  69. package/dist/{chunk-D7NNNL2K.js → chunk-BZPRG5N5.js} +18 -18
  70. package/dist/{chunk-H4C3P2KV.js → chunk-C3TYMGWE.js} +3 -3
  71. package/dist/{chunk-6NNLDCX4.js → chunk-C62LSZVJ.js} +1 -1
  72. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  73. package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
  74. package/dist/{chunk-GBIASKIH.js → chunk-DH34XRVW.js} +1 -1
  75. package/dist/{chunk-6SNGKC6B.js → chunk-DLBFLOEU.js} +1 -1
  76. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  77. package/dist/{chunk-Z6X64P6C.js → chunk-DTM7HGP4.js} +6 -6
  78. package/dist/{chunk-2W4VQ3YZ.js → chunk-E53F4CP6.js} +2 -2
  79. package/dist/{chunk-3R2X2VKB.js → chunk-ECKXTBRB.js} +6 -4
  80. package/dist/{chunk-RCRUWNQ4.js → chunk-EDQF36I7.js} +3 -3
  81. package/dist/{chunk-GWSCUFGL.js → chunk-EWBLIDHD.js} +11 -9
  82. package/dist/{chunk-BMDABBHG.js → chunk-FEWHHDFA.js} +5 -17
  83. package/dist/{chunk-EBG5RCPM.js → chunk-FILLRGVO.js} +4 -4
  84. package/dist/{chunk-3HT3UGF2.js → chunk-FRY73NRV.js} +1 -1
  85. package/dist/{chunk-KAG5KXNO.js → chunk-FS4XHCSU.js} +1 -1
  86. package/dist/{chunk-GOMTMQRT.js → chunk-G6ME77PU.js} +1 -1
  87. package/dist/{chunk-GTHRXU37.js → chunk-GJB5VR44.js} +18 -18
  88. package/dist/{chunk-G6JLFSII.js → chunk-GXGGPZXD.js} +4 -4
  89. package/dist/chunk-H6323NVP.js +453 -0
  90. package/dist/chunk-HYTD4CIO.js +57 -0
  91. package/dist/{chunk-P7TCIUP2.js → chunk-I2GYLBJJ.js} +4 -4
  92. package/dist/{chunk-BA3EQ2KL.js → chunk-IVMYWHFE.js} +3 -3
  93. package/dist/{chunk-HDCVU64B.js → chunk-IX6BFRED.js} +3 -2
  94. package/dist/{chunk-W3HNLDK6.js → chunk-JJUVQYXL.js} +2 -2
  95. package/dist/{chunk-HXQDDCGY.js → chunk-JQATOGQQ.js} +2 -2
  96. package/dist/{chunk-2Z42EUHG.js → chunk-JVDYIUFD.js} +2 -2
  97. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  98. package/dist/{chunk-SFPIVVUE.js → chunk-K4TEEYGN.js} +2 -2
  99. package/dist/{chunk-KFXHBP2E.js → chunk-K5BPLZOP.js} +2 -2
  100. package/dist/{chunk-H7AJLEBR.js → chunk-K6EOKQ6J.js} +8 -8
  101. package/dist/{chunk-Y3YHDU7T.js → chunk-KCL77FXI.js} +1 -1
  102. package/dist/{chunk-PXDRW3QN.js → chunk-LB6VJTM4.js} +1 -1
  103. package/dist/{chunk-EXW2LV4K.js → chunk-LCQT4S43.js} +248 -62
  104. package/dist/chunk-M3BJEZ7E.js +152 -0
  105. package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
  106. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  107. package/dist/{chunk-M6LAGO6O.js → chunk-NAKQS3EJ.js} +3 -3
  108. package/dist/{chunk-TTSLKH63.js → chunk-NMMPHHN7.js} +3 -3
  109. package/dist/{chunk-UWMOMAYI.js → chunk-O2S5HR7Y.js} +49 -12
  110. package/dist/{chunk-D6BV6TTI.js → chunk-OKN7E77Z.js} +1 -1
  111. package/dist/{chunk-XH6LGDIB.js → chunk-PDE6XAIJ.js} +4 -4
  112. package/dist/{chunk-4FTJE22M.js → chunk-PNBWAA3E.js} +2 -2
  113. package/dist/{chunk-AOQRVS63.js → chunk-PVHNBJCI.js} +9 -7
  114. package/dist/{chunk-3PHCFSPD.js → chunk-PWSTB75B.js} +2 -2
  115. package/dist/{chunk-PVSRPNIV.js → chunk-PXWPBLEN.js} +2 -2
  116. package/dist/{chunk-IEEIPTDW.js → chunk-PYZVKGW5.js} +1 -1
  117. package/dist/{chunk-5FFYMVRD.js → chunk-Q2G4ERQU.js} +2 -2
  118. package/dist/{chunk-YMIEJZB6.js → chunk-QDSALYDV.js} +4 -4
  119. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  120. package/dist/{chunk-XDRSEU2I.js → chunk-R3C62AP3.js} +4 -4
  121. package/dist/{chunk-L72MPEM2.js → chunk-RJJ5NVSQ.js} +1 -1
  122. package/dist/{chunk-KXOKZJBZ.js → chunk-RSQTFDMS.js} +13 -13
  123. package/dist/{chunk-6RFCS4IU.js → chunk-RYJXT2AS.js} +9 -7
  124. package/dist/{chunk-GJUL3PRV.js → chunk-S3HTROSO.js} +3 -3
  125. package/dist/{chunk-AZ2QJETV.js → chunk-SAIPA3QY.js} +1 -1
  126. package/dist/{chunk-4CSZZXL6.js → chunk-SDBFTY6V.js} +3 -3
  127. package/dist/{chunk-TZH6HNZH.js → chunk-SG4OW2HV.js} +2 -2
  128. package/dist/{chunk-AWT5FHTN.js → chunk-T4YI2YLF.js} +1 -1
  129. package/dist/{chunk-TVQNABOI.js → chunk-T7O62YTY.js} +1 -1
  130. package/dist/chunk-TDOJW7Z2.js +5053 -0
  131. package/dist/{chunk-3367VNGK.js → chunk-TGGYHFTP.js} +2 -2
  132. package/dist/{chunk-NNOAOQLT.js → chunk-TGK7LUEV.js} +2 -2
  133. package/dist/chunk-TLU5DPES.js +560 -0
  134. package/dist/{chunk-LXIEKLAC.js → chunk-TOLY2QK2.js} +6 -6
  135. package/dist/chunk-UFKWSLJ5.js +392 -0
  136. package/dist/{chunk-PXY3JZP2.js → chunk-UGWY7PFQ.js} +2 -2
  137. package/dist/{chunk-REJ4NIBY.js → chunk-VJSKNQTM.js} +1 -1
  138. package/dist/{chunk-NXSKZE3C.js → chunk-VW35U2LJ.js} +2 -2
  139. package/dist/{chunk-JZIEZCQM.js → chunk-VZO3BUTW.js} +5 -12
  140. package/dist/{chunk-TFBPCJPG.js → chunk-W6AXNWGE.js} +1 -1
  141. package/dist/{chunk-262ADJJN.js → chunk-WC2XQ4NR.js} +1 -1
  142. package/dist/{chunk-WXOOAAT4.js → chunk-WLB2D2OJ.js} +36 -4
  143. package/dist/{chunk-P5E3RHW3.js → chunk-WWT32C2M.js} +3 -3
  144. package/dist/{chunk-ADP2GIBS.js → chunk-XEUTASNL.js} +2 -2
  145. package/dist/{chunk-MYFAVVA6.js → chunk-YCXNWQ3B.js} +32 -32
  146. package/dist/{chunk-JHX76QFC.js → chunk-YMTLKSXO.js} +1 -1
  147. package/dist/{chunk-KG3TONXU.js → chunk-Z222HDGC.js} +9 -9
  148. package/dist/chunk-Z3ZLN5VR.js +3890 -0
  149. package/dist/{chunk-EJPWGGPK.js → chunk-Z64I7KJZ.js} +5340 -5087
  150. package/dist/{chunk-LBQQNNRC.js → chunk-ZWLFWYHR.js} +1 -1
  151. package/dist/{clean-MJBET4EN.js → clean-N7RLS5LN.js} +29 -29
  152. package/dist/cli.js +70 -68
  153. package/dist/{cloud-Z4Q76MLS.js → cloud-4PO7BA26.js} +8 -7
  154. package/dist/{cloud-WEDQYHZE.js → cloud-W3DHH6EB.js} +4 -4
  155. package/dist/{cloudrun-2KGSRAKA.js → cloudrun-YIAPIPOG.js} +7 -7
  156. package/dist/{compare-MJKWQOD7.js → compare-GCWIIUGY.js} +43 -43
  157. package/dist/{compiler-ETXRTUQC.js → compiler-L3BJI43E.js} +8 -6
  158. package/dist/{component-PZGKEJ6L.js → component-C4VYDMZ4.js} +3 -3
  159. package/dist/{compositions-N3FEEWH7.js → compositions-5P4BZQJA.js} +16 -16
  160. package/dist/{contactSheet-HZMP42FZ.js → contactSheet-ROMTQQ6Y.js} +3 -3
  161. package/dist/contract/LICENSE-Unicode.txt +39 -0
  162. package/dist/contract/path-policy.json +311 -0
  163. package/dist/contract/unicode-15.1.0.json +6179 -0
  164. package/dist/{curve-MWABBM7Q.js → curve-IMXKUBAO.js} +15 -15
  165. package/dist/{cuts-BQFSSNY7.js → cuts-PRBLX5HH.js} +16 -16
  166. package/dist/{delete-HPHGJABK.js → delete-QYWDRFO3.js} +11 -10
  167. package/dist/{deploy-JY2QOB5F.js → deploy-DGEPSTOJ.js} +7 -7
  168. package/dist/{describeProject-S6AGYZWL.js → describeProject-WS4TR7VF.js} +11 -11
  169. package/dist/{destroy-AZK7J4IR.js → destroy-2KSDD4KU.js} +6 -6
  170. package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-D3HTAAN2.js} +3 -3
  171. package/dist/{diff-XDNFCAU4.js → diff-AAWRGZLX.js} +47 -46
  172. package/dist/{dist-6EE3Y4M7.js → dist-DJQRHSKZ.js} +4 -4
  173. package/dist/{dist-EYEYDD4F.js → dist-GJSMSEEL.js} +22 -18
  174. package/dist/{dist-TYGDYK56.js → dist-V2TLDLQL.js} +3 -3
  175. package/dist/{doctor-6IRSMKZD.js → doctor-CARXZUFN.js} +18 -18
  176. package/dist/{energy-VCJ2FJEF.js → energy-VMNGG2ND.js} +16 -16
  177. package/dist/{events-DNTIMCUM.js → events-4XIJRQIJ.js} +18 -18
  178. package/dist/{events-QQYBD7JM.js → events-LOPLHMOT.js} +4 -4
  179. package/dist/{events-M6A7BT3V.js → events-XX3DYSU4.js} +8 -8
  180. package/dist/execute-U7JKJERV.js +109 -0
  181. package/dist/{extract-X3IVXYHX.js → extract-KYFUTYDD.js} +19 -19
  182. package/dist/{face-MZHXKBDB.js → face-VQGUHRQL.js} +18 -18
  183. package/dist/{feedback-TAMGYFUO.js → feedback-UPWYWOQ3.js} +19 -18
  184. package/dist/{ffmpeg-XWPYYYB6.js → ffmpeg-RUOPT3JH.js} +10 -10
  185. package/dist/{figma-WMD7AR2S.js → figma-TO57RICW.js} +3 -3
  186. package/dist/fontLocalizeCli.js +16 -16
  187. package/dist/{frames-OU2UOLBU.js → frames-4Y3X474I.js} +18 -18
  188. package/dist/{generate-6F6QEFXW.js → generate-BPID6U7D.js} +32 -31
  189. package/dist/{get-VVDO7DXG.js → get-JIJ46VI5.js} +11 -10
  190. package/dist/{gpuPolicy-CVNSHXHJ.js → gpuPolicy-5ZJNSR7D.js} +10 -10
  191. package/dist/{grade-compare-O6LY2U73.js → grade-compare-YTBW7C65.js} +44 -44
  192. package/dist/{heifImagePrep-J6TILZTM.js → heifImagePrep-OL7KF7SH.js} +11 -11
  193. package/dist/{help-XLSTTDHR.js → help-QPV26QI5.js} +2 -1
  194. package/dist/{history-DBCCWBDG.js → history-7UVGTZT3.js} +14 -14
  195. package/dist/hyperframe.manifest.json +1 -1
  196. package/dist/hyperframe.runtime.iife.js +61 -61
  197. package/dist/hyperframes-player.global.js +1 -1
  198. package/dist/{info-E46BWAQ7.js → info-2VFXR7LJ.js} +18 -18
  199. package/dist/{init-23TG5W7S.js → init-JZ7CJQJE.js} +35 -35
  200. package/dist/{ink-6UFSNJRW.js → ink-SS7XOD7Y.js} +16 -16
  201. package/dist/{inspect-RKI6XACH.js → inspect-D5MBKDZZ.js} +41 -41
  202. package/dist/{installer-JWPK75BR.js → installer-UNC4BAFO.js} +7 -7
  203. package/dist/{keyframes-J65V5A2G.js → keyframes-7T2CVOM6.js} +14 -12
  204. package/dist/{lambda-RZSXXBJU.js → lambda-QVJFVSXL.js} +16 -16
  205. package/dist/{layout-RJQUOYWB.js → layout-5DF7VFWS.js} +41 -41
  206. package/dist/{lint-4TUHKKA2.js → lint-EWJHJKAI.js} +14 -14
  207. package/dist/{lintProject-R6RTBSCZ.js → lintProject-KBJU3L4C.js} +4 -4
  208. package/dist/{list-HOD2N4VS.js → list-DDLH5ZG5.js} +13 -12
  209. package/dist/{localPage-TC4NC3VL.js → localPage-MHAXFUGI.js} +11 -11
  210. package/dist/{login-NTOS3HKD.js → login-BJ4QUZT4.js} +8 -7
  211. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  212. package/dist/{look-GC63E2I7.js → look-HNK2K33N.js} +16 -16
  213. package/dist/{manager-FICBET24.js → manager-FFLFDJZ6.js} +11 -11
  214. package/dist/{manager-IAXYSRG5.js → manager-VLO3FZC4.js} +2 -1
  215. package/dist/{measure-WTQCSQ55.js → measure-SE346MGF.js} +11 -11
  216. package/dist/{media-treatment-KTZ6X2P2.js → media-treatment-KYPDRIBT.js} +18 -18
  217. package/dist/{media-use-K75FDXJ3.js → media-use-OJZHSNTK.js} +21 -10
  218. package/dist/{models-JKOA542M.js → models-KWSHPDZ5.js} +15 -15
  219. package/dist/{motionShot-A3TYKTQU.js → motionShot-HEROABIE.js} +24 -24
  220. package/dist/{normalize-audio-7JUM42YB.js → normalize-audio-ZD5W37ZO.js} +14 -14
  221. package/dist/oauth-SAVP2YM4.js +40 -0
  222. package/dist/{open-F6GI4TRA.js → open-7B6HT4EX.js} +19 -19
  223. package/dist/{parakeetRunner-6XIAKJLS.js → parakeetRunner-5AKE7TBH.js} +19 -19
  224. package/dist/{pipeline-7P7LGGQG.js → pipeline-UTVSWC4X.js} +13 -13
  225. package/dist/plan-SQ63IXQC.js +88 -0
  226. package/dist/{play-DYOZLKWX.js → play-NYBFE3GW.js} +32 -32
  227. package/dist/{preflight-VM4HSRBY.js → preflight-T23WHZP3.js} +12 -12
  228. package/dist/{present-IINIEZJC.js → present-FX22552Q.js} +26 -26
  229. package/dist/{preview-NJO2UXWJ.js → preview-ULBNMDXD.js} +63 -39
  230. package/dist/{probe-LQQHFX5Q.js → probe-62Z5C6VC.js} +16 -16
  231. package/dist/{producer-LH2SZHJ2.js → producer-X3KFL4QM.js} +1 -1
  232. package/dist/{projectConfig-BLACFLUW.js → projectConfig-JQ4IDYTU.js} +10 -10
  233. package/dist/{publication-NFF2BXIE.js → publication-YNIJIR6O.js} +5 -5
  234. package/dist/{publish-JST5Y4UR.js → publish-7TIGC7RV.js} +91 -31
  235. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  236. package/dist/{remove-background-WUBESLWN.js → remove-background-F3BD6WXD.js} +14 -14
  237. package/dist/{render-DA4V7CEE.js → render-BL6CAORF.js} +6 -6
  238. package/dist/{render-4KWUUC5H.js → render-CDWBVWJP.js} +91 -957
  239. package/dist/{render-R4VNR4E2.js → render-EOQOD2TJ.js} +54 -53
  240. package/dist/{render-batch-JMPG4RLT.js → render-batch-PDY2PXUZ.js} +6 -6
  241. package/dist/renderSetupWorker.js +5 -5
  242. package/dist/{resolver-PNIFIDIE.js → resolver-VBAVCFEP.js} +7 -7
  243. package/dist/{reverse-4NI7D2C3.js → reverse-3E6HUX5S.js} +1 -1
  244. package/dist/{run-FWBIBLYE.js → run-77Z3DLIP.js} +8 -7
  245. package/dist/{screenshotCapture-KOLNFU7W.js → screenshotCapture-XWWCRLGM.js} +13 -13
  246. package/dist/service-LJZQKQT6.js +68 -0
  247. package/dist/share-2CNP22KN.js +274 -0
  248. package/dist/{sherpa-W3BMN67E.js → sherpa-NPTMMQHQ.js} +18 -18
  249. package/dist/sherpaWorker.js +2 -1
  250. package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
  251. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +20 -3
  252. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +61 -3
  253. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  254. package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
  255. package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
  256. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
  257. package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
  258. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +25 -6
  259. package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
  260. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
  261. package/dist/skills/media-use/references/audio.md +2 -0
  262. package/dist/skills/media-use/references/operations.md +2 -1
  263. package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
  264. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
  265. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
  266. package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +42 -18
  267. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
  268. package/dist/{skills-KQQVUFGO.js → skills-7MQBUOOX.js} +11 -11
  269. package/dist/{skillsUpdateCheck-VY5PS46S.js → skillsUpdateCheck-JAUXRXRH.js} +4 -4
  270. package/dist/{snapshot-VIEJQAUB.js → snapshot-D7DROQPF.js} +61 -61
  271. package/dist/{src-HHPRCLEW.js → src-26DWEOAT.js} +11 -9
  272. package/dist/{src-MQU5F7GJ.js → src-LJIVCW6M.js} +15 -15
  273. package/dist/{start-ZBNNVFMU.js → start-DF3U2VIG.js} +30 -29
  274. package/dist/{staticProjectServer-VPGZWJF4.js → staticProjectServer-NYH6MQHZ.js} +25 -25
  275. package/dist/{status-RBZJYT7T.js → status-5Q43GUYF.js} +26 -23
  276. package/dist/studio/assets/{codec-Bz1jsLs8.js → codec-OdIlx7W3.js} +1 -1
  277. package/dist/studio/assets/{hyperframes-player-cdH5Sz_t.js → hyperframes-player-XtPxZL3k.js} +1 -1
  278. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  279. package/dist/studio/assets/{index-D1l7izdf.js → index-DTU1D-zj.js} +166 -166
  280. package/dist/studio/assets/{index-DFRbcd5J.js → index-DWZWPFkU.js} +1 -1
  281. package/dist/studio/assets/{pausedVideoDecoder-CgV8YB6S.js → pausedVideoDecoder-NVr8gRm5.js} +1 -1
  282. package/dist/studio/index.html +2 -2
  283. package/dist/{studio-api-EPZGLIWW.js → studio-api-ZYCEQPX2.js} +22 -18
  284. package/dist/{studioServer-YFQQ2ESJ.js → studioServer-W4RX3B7S.js} +451 -71
  285. package/dist/{sync-FRT55PVW.js → sync-LLH2GSSC.js} +16 -16
  286. package/dist/{synthesize-FR5KPBRP.js → synthesize-4A5ENXNO.js} +4 -3
  287. package/dist/{telemetry-HAPPFR7P.js → telemetry-RIQIM2PH.js} +8 -8
  288. package/dist/{templates-2IHYIWMA.js → templates-4HVTWNKO.js} +22 -21
  289. package/dist/{timeline-AY2F7BJF.js → timeline-ITIMTT27.js} +25 -25
  290. package/dist/{tokens-B3G257V3.js → tokens-ABTBM6UA.js} +2 -2
  291. package/dist/{transcribe-RJCILGPA.js → transcribe-6BA2MP2Y.js} +37 -36
  292. package/dist/{transcribe-EGQD32PT.js → transcribe-6LDBHZCZ.js} +14 -14
  293. package/dist/{tts-ZE776B4I.js → tts-P77F523Z.js} +1 -1
  294. package/dist/{update-XTFIGQKW.js → update-ODXFCK36.js} +13 -13
  295. package/dist/{updateCheck-M6YC52A4.js → updateCheck-E4U776B4.js} +5 -3
  296. package/dist/{upgrade-AKLIZKAO.js → upgrade-LSHVYMLH.js} +5 -5
  297. package/dist/{urlDownloader-57A7Q7FC.js → urlDownloader-PWQ2LDLE.js} +9 -9
  298. package/dist/{validate-YWSXJL54.js → validate-JHETNNBN.js} +33 -33
  299. package/dist/{video-I5DDNK3Y.js → video-D2D5YCDU.js} +12 -12
  300. package/dist/{voices-IBMJU73H.js → voices-34FMTOIX.js} +29 -28
  301. package/dist/warmCheck.js +51 -51
  302. package/package.json +2 -1
  303. package/dist/chunk-YAZQBB2S.js +0 -5049
@@ -0,0 +1,274 @@
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
+ createShareService
9
+ } from "./chunk-H6323NVP.js";
10
+ import {
11
+ shareError
12
+ } from "./chunk-HYTD4CIO.js";
13
+ import "./chunk-Z3ZLN5VR.js";
14
+ import {
15
+ q,
16
+ select
17
+ } from "./chunk-D2LIT7UR.js";
18
+ import "./chunk-M3BJEZ7E.js";
19
+ import "./chunk-BAWGEGKD.js";
20
+ import "./chunk-Q2G4ERQU.js";
21
+ import {
22
+ resolveProjectOrThrow
23
+ } from "./chunk-IX6BFRED.js";
24
+ import "./chunk-LIWK3MFR.js";
25
+ import "./chunk-D3UCUI7G.js";
26
+ import "./chunk-E53F4CP6.js";
27
+ import "./chunk-PXWPBLEN.js";
28
+ import "./chunk-PXVQOMKL.js";
29
+ import "./chunk-MCDNAIFF.js";
30
+ import "./chunk-DMW5SSUN.js";
31
+ import {
32
+ defineCommand
33
+ } from "./chunk-DL4OD7IA.js";
34
+ import "./chunk-S3S4TGEH.js";
35
+ import "./chunk-54HJ63Q2.js";
36
+ import "./chunk-JCNPHRGX.js";
37
+ import "./chunk-Z64I7KJZ.js";
38
+ import "./chunk-Z5J67X44.js";
39
+ import "./chunk-5S7W3TUO.js";
40
+ import "./chunk-D3MUHMFG.js";
41
+ import "./chunk-4Y4VYZRO.js";
42
+ import "./chunk-PYZVKGW5.js";
43
+ import "./chunk-3GXQPCJC.js";
44
+ import "./chunk-TGGYHFTP.js";
45
+ import "./chunk-FXMKHHPO.js";
46
+ import "./chunk-TDOJW7Z2.js";
47
+ import "./chunk-VC76R6W2.js";
48
+ import "./chunk-HZTRKUKE.js";
49
+ import "./chunk-RQVDTPGD.js";
50
+ import "./chunk-X6JUUQCM.js";
51
+ import "./chunk-KGPLIH7B.js";
52
+ import "./chunk-FOZBANEN.js";
53
+ import "./chunk-K4MJX7SR.js";
54
+ import "./chunk-WE42NVH7.js";
55
+ import "./chunk-ASORF7UJ.js";
56
+ import "./chunk-K2Z6OXEI.js";
57
+ import "./chunk-3FQYFVWA.js";
58
+ import "./chunk-FBN2M2HK.js";
59
+ import "./chunk-6MKM2RVL.js";
60
+ import "./chunk-M425BL2U.js";
61
+ import "./chunk-FR7YBU3H.js";
62
+ import "./chunk-DPVXBVLL.js";
63
+ import "./chunk-GWTIFRF5.js";
64
+ import "./chunk-2RY2LWAA.js";
65
+ import "./chunk-WC4MTXGN.js";
66
+ import "./chunk-EPQC3FGZ.js";
67
+ import "./chunk-JOQR4AP6.js";
68
+ import "./chunk-BR2JQQC5.js";
69
+ import "./chunk-AWD2MWWL.js";
70
+ import "./chunk-ISN5GRYI.js";
71
+ import {
72
+ jsonFailure
73
+ } from "./chunk-ADVVQX4I.js";
74
+ import "./chunk-GR2E54E6.js";
75
+ import {
76
+ CliUsageError,
77
+ setCommandExitCode
78
+ } from "./chunk-66W5IWLO.js";
79
+ import {
80
+ isUnattended
81
+ } from "./chunk-CPHQTXP5.js";
82
+ import "./chunk-QBXDU24O.js";
83
+ import "./chunk-6FP6HBG4.js";
84
+ import "./chunk-E63BDV4Z.js";
85
+ import "./chunk-LW33P24U.js";
86
+ import "./chunk-XT6MXC7A.js";
87
+ import "./chunk-7KDQAD2W.js";
88
+ import "./chunk-M2WBOQ2Q.js";
89
+
90
+ // src/commands/share.ts
91
+ var examples = [
92
+ ["Create a review anyone with its link can open", "hyperframes share --public"],
93
+ ["Add the current video as a new version", "hyperframes share --update"],
94
+ ["Read the existing share without uploading edits", "hyperframes share --status --json"],
95
+ ["Open sharing settings on the web", "hyperframes share --manage"]
96
+ ];
97
+ var share_default = defineCommand({
98
+ meta: {
99
+ name: "share",
100
+ description: "Share a rendered video for review, using the same sharing as Desktop"
101
+ },
102
+ args: {
103
+ dir: { type: "positional", description: "Project directory", required: false },
104
+ public: {
105
+ type: "boolean",
106
+ description: "Explicitly allow anyone with the link on first share"
107
+ },
108
+ team: { type: "boolean", description: "Share with workspace members (paid plan)" },
109
+ "invite-only": { type: "boolean", description: "Share with invited people only (paid plan)" },
110
+ private: { type: "boolean", description: "First share with private access" },
111
+ update: {
112
+ type: "boolean",
113
+ description: "Render and add a new video version to the existing share"
114
+ },
115
+ "include-source": {
116
+ type: "boolean",
117
+ description: "Upload editable project files, including unused and Git-ignored files"
118
+ },
119
+ "video-only": {
120
+ type: "boolean",
121
+ description: "Share only the rendered video, without editable source"
122
+ },
123
+ status: { type: "boolean", description: "Read status without rendering or uploading" },
124
+ manage: { type: "boolean", description: "Open this share's web management page" },
125
+ space: { type: "string", description: "Owning workspace for a new share" },
126
+ "wait-seconds": {
127
+ type: "string",
128
+ description: "Wait for processing (1\u20131800 seconds)",
129
+ default: "300"
130
+ },
131
+ json: { type: "boolean", description: "Emit a machine-readable result" },
132
+ yes: {
133
+ type: "boolean",
134
+ alias: "y",
135
+ description: "Do not prompt; an explicit first-share audience is still required"
136
+ }
137
+ },
138
+ async run({ args }) {
139
+ try {
140
+ const input = parseInput(args);
141
+ const project = resolveProjectOrThrow(args.dir, { searchParents: true });
142
+ let lastProgress = "";
143
+ const service = createShareService(project.dir, (value) => {
144
+ if (!value || args.json) return;
145
+ const message = `Sharing: ${value.step}${value.slow ? " (still processing)" : ""}`;
146
+ if (message !== lastProgress) process.stderr.write(`${message}
147
+ `);
148
+ lastProgress = message;
149
+ });
150
+ await chooseAudience(input, args, service);
151
+ const result = await service.run(input);
152
+ await presentResult(result, input, Boolean(args.json));
153
+ } catch (error) {
154
+ const failure = shareError(error);
155
+ if (args.json)
156
+ console.log(
157
+ JSON.stringify({ ...jsonFailure(failure.code, failure.message), error: failure })
158
+ );
159
+ else console.error(failure.message);
160
+ setCommandExitCode(error instanceof CliUsageError ? 2 : 1);
161
+ }
162
+ }
163
+ });
164
+ function parseInput(args) {
165
+ const waitSeconds = Number(args["wait-seconds"]);
166
+ if (!Number.isInteger(waitSeconds) || waitSeconds < 1 || waitSeconds > 1800)
167
+ throw new CliUsageError("--wait-seconds must be an integer from 1 to 1800.");
168
+ if ([args.update, args.status, args.manage].filter(Boolean).length > 1)
169
+ throw new CliUsageError("Choose only one of --update, --status or --manage.");
170
+ const audience = requestedAudience(args);
171
+ const action = args.status ? "status" : args.manage ? "manage" : args.update ? "update" : "share";
172
+ validateActionOptions(action, audience, args);
173
+ return {
174
+ action,
175
+ audience,
176
+ space: args.space,
177
+ waitSeconds,
178
+ videoOnly: args["video-only"],
179
+ includeSource: args["include-source"] === true
180
+ };
181
+ }
182
+ function validateActionOptions(action, audience, args) {
183
+ validateSourceOptions(args);
184
+ if (action !== "share" && audience)
185
+ throw new CliUsageError(
186
+ "Use audience flags with hyperframes share, without --update, --status or --manage."
187
+ );
188
+ if ((action === "status" || action === "manage") && (args.space || args["video-only"] || args["include-source"]))
189
+ throw new CliUsageError(
190
+ "--space, --include-source and --video-only cannot be used with --status or --manage."
191
+ );
192
+ }
193
+ function validateSourceOptions(args) {
194
+ if (args["include-source"] && args["video-only"])
195
+ throw new CliUsageError("Choose only one of --include-source or --video-only.");
196
+ }
197
+ function requestedAudience(args) {
198
+ const audiences = [];
199
+ if (args.public) audiences.push("public");
200
+ if (args.team) audiences.push("team");
201
+ if (args["invite-only"]) audiences.push("invite");
202
+ if (args.private) audiences.push("private");
203
+ if (audiences.length > 1) throw new CliUsageError("Choose one audience.");
204
+ return audiences[0];
205
+ }
206
+ function shouldPrompt(input, args) {
207
+ return input.action === "share" && !input.audience && !args.yes && !args.json && !isUnattended();
208
+ }
209
+ async function chooseAudience(input, args, service) {
210
+ if (!shouldPrompt(input, args)) return;
211
+ if ((await service.status()).share) return;
212
+ const selected = await select({
213
+ message: "Who should be able to open this review?",
214
+ options: [
215
+ { value: "public", label: "Anyone with the link (available on Free)" },
216
+ { value: "team", label: "Workspace members" },
217
+ { value: "invite", label: "Invited people" },
218
+ { value: "private", label: "Only me" }
219
+ ]
220
+ });
221
+ if (q(selected)) throw new CliUsageError("Sharing cancelled.");
222
+ if (selected === "public" || selected === "team" || selected === "invite" || selected === "private")
223
+ input.audience = selected;
224
+ }
225
+ async function presentResult(result, input, json) {
226
+ if (input.action === "manage" && result.state === "not_shared")
227
+ throw new CliUsageError("There is no share to manage yet. Create a share first.", {
228
+ code: "not_shared"
229
+ });
230
+ if (!json && !result.upToDate && result.source.at === "video_only")
231
+ console.error(sourceNotice(result.source.reason));
232
+ if (result.state === "failed" && input.action !== "manage") {
233
+ presentFailure(result, json);
234
+ return;
235
+ }
236
+ await presentSuccessfulResult(result, input, json);
237
+ }
238
+ async function presentSuccessfulResult(result, input, json) {
239
+ if (json) console.log(JSON.stringify({ ok: true, ...result }));
240
+ else if (result.activity)
241
+ console.log(
242
+ `Sharing: ${result.activity.step.replaceAll("_", " ")}. Run hyperframes share --status to check progress.`
243
+ );
244
+ else if (result.upToDate) console.log("Already up to date.");
245
+ else if (input.action === "manage") {
246
+ console.log(result.manageUrl);
247
+ if (!isUnattended()) await (await import("open")).default(result.manageUrl);
248
+ } else if (result.ready) console.log(`Shared video ready: ${result.url}`);
249
+ else if (result.state === "not_shared") console.log("This project has not been shared yet.");
250
+ else if (result.state === "link_off")
251
+ console.log("This share's link is off. Run hyperframes share --manage to turn it on.");
252
+ else console.log("Your video is still processing. Run hyperframes share --status to check it.");
253
+ }
254
+ function presentFailure(result, json) {
255
+ const message = result.version.failure ?? "The shared video could not be processed.";
256
+ if (json)
257
+ console.log(JSON.stringify({ ...result, ...jsonFailure("share_export_failed", message) }));
258
+ else {
259
+ console.error(message);
260
+ if (result.previousUrl) console.log(`Previous shared version: ${result.previousUrl}`);
261
+ }
262
+ setCommandExitCode(1);
263
+ }
264
+ function sourceNotice(reason) {
265
+ if (reason === "source_plan_required")
266
+ return "Your video is shared without editable project files. Upgrade to Pro to include source files: https://hyperframes.studio/pricing";
267
+ if (reason === "requested")
268
+ return "Sharing the video without editable project files. Use --include-source to upload project files.";
269
+ return "Sharing the video without editable project files; source sharing is unavailable in this workspace.";
270
+ }
271
+ export {
272
+ share_default as default,
273
+ examples
274
+ };
@@ -17,35 +17,35 @@ import {
17
17
  sherpaRuntimeLoadError,
18
18
  sherpaUnsupportedReason,
19
19
  transcribeWithSherpa
20
- } from "./chunk-YMIEJZB6.js";
21
- import "./chunk-PXDRW3QN.js";
22
- import "./chunk-3S27CPV7.js";
20
+ } from "./chunk-QDSALYDV.js";
21
+ import "./chunk-LB6VJTM4.js";
23
22
  import "./chunk-NL4RCLQF.js";
23
+ import "./chunk-3S27CPV7.js";
24
24
  import "./chunk-6BEFEWFB.js";
25
- import "./chunk-XH6LGDIB.js";
26
- import "./chunk-YAS347ZS.js";
27
- import "./chunk-D6BV6TTI.js";
28
- import "./chunk-GCJRV7LU.js";
25
+ import "./chunk-PDE6XAIJ.js";
26
+ import "./chunk-BLII22FU.js";
27
+ import "./chunk-OKN7E77Z.js";
28
+ import "./chunk-A2YCAF35.js";
29
29
  import "./chunk-RZ6CXJ56.js";
30
30
  import "./chunk-R4EWRIDL.js";
31
31
  import "./chunk-JJ47LVJ7.js";
32
- import "./chunk-5FFYMVRD.js";
32
+ import "./chunk-Q2G4ERQU.js";
33
33
  import "./chunk-CDNVZEGQ.js";
34
- import "./chunk-JZIEZCQM.js";
34
+ import "./chunk-VZO3BUTW.js";
35
35
  import "./chunk-UOFAE5RF.js";
36
36
  import "./chunk-IR35BCLK.js";
37
37
  import "./chunk-HU2SPFNG.js";
38
38
  import "./chunk-EHZESMRB.js";
39
- import "./chunk-EJPWGGPK.js";
39
+ import "./chunk-Z64I7KJZ.js";
40
40
  import "./chunk-Z5J67X44.js";
41
41
  import "./chunk-5S7W3TUO.js";
42
42
  import "./chunk-D3MUHMFG.js";
43
- import "./chunk-YIE5FU73.js";
44
- import "./chunk-IEEIPTDW.js";
43
+ import "./chunk-4Y4VYZRO.js";
44
+ import "./chunk-PYZVKGW5.js";
45
45
  import "./chunk-3GXQPCJC.js";
46
- import "./chunk-3367VNGK.js";
46
+ import "./chunk-TGGYHFTP.js";
47
47
  import "./chunk-FXMKHHPO.js";
48
- import "./chunk-YAZQBB2S.js";
48
+ import "./chunk-TDOJW7Z2.js";
49
49
  import "./chunk-VC76R6W2.js";
50
50
  import "./chunk-HZTRKUKE.js";
51
51
  import "./chunk-RQVDTPGD.js";
@@ -54,12 +54,12 @@ import "./chunk-X6JUUQCM.js";
54
54
  import "./chunk-KGPLIH7B.js";
55
55
  import "./chunk-K4MJX7SR.js";
56
56
  import "./chunk-WE42NVH7.js";
57
- import "./chunk-VB3JZKMN.js";
58
- import "./chunk-WVRAFHJU.js";
59
- import "./chunk-KRWPTZBY.js";
57
+ import "./chunk-ASORF7UJ.js";
58
+ import "./chunk-K2Z6OXEI.js";
59
+ import "./chunk-3FQYFVWA.js";
60
60
  import "./chunk-FBN2M2HK.js";
61
61
  import "./chunk-6MKM2RVL.js";
62
- import "./chunk-N7C7U3ZR.js";
62
+ import "./chunk-M425BL2U.js";
63
63
  import "./chunk-FR7YBU3H.js";
64
64
  import "./chunk-DPVXBVLL.js";
65
65
  import "./chunk-GWTIFRF5.js";
@@ -11,13 +11,14 @@ import {
11
11
  droppedSpeechGaps,
12
12
  silenceCuts,
13
13
  spliceGap
14
- } from "./chunk-JZIEZCQM.js";
14
+ } from "./chunk-VZO3BUTW.js";
15
15
  import {
16
16
  readWav
17
17
  } from "./chunk-UOFAE5RF.js";
18
18
  import "./chunk-IR35BCLK.js";
19
19
  import "./chunk-HU2SPFNG.js";
20
20
  import "./chunk-KGPLIH7B.js";
21
+ import "./chunk-3FQYFVWA.js";
21
22
  import "./chunk-UC4X6I35.js";
22
23
  import "./chunk-M2WBOQ2Q.js";
23
24
 
@@ -23,13 +23,16 @@ For a plugin installation, these rules apply in every skill and reference:
23
23
  Run in the user's project directory, never in the plugin directory. The launcher
24
24
  selects the manifest's CLI version and disables automatic standalone skill
25
25
  installation, including during `init`. The first call may download that exact
26
- CLI version through npm. A download failure is an error, not permission to use
26
+ CLI version through npm. npm runs from the home folder, so the project's
27
+ `node_modules`, `package.json` and `.npmrc` cannot choose the CLI; the CLI then
28
+ works in the project. A download failure is an error, not permission to use
27
29
  latest. Existing project dependency files and lockfiles must not be overwritten
28
30
  to match the plugin; surface a runtime incompatibility before changing them.
29
31
 
30
32
  - For bundled Node helpers, use the same
31
33
  launcher with `--script <absolute-script-path> <args...>`. This passes the
32
- release version to their dependency loader. External providers, registry
34
+ release version to their dependency loader, and helpers that call the CLI run
35
+ it through the launcher. External providers, registry
33
36
  downloads, and existing project dependencies have their own versions; a plugin
34
37
  version alone does not freeze those inputs.
35
38
  - Treat the plugin directory as read-only. Put outputs and temporary work in the
@@ -2,6 +2,7 @@
2
2
  // Run from the user's project; locate the release from this installed file.
3
3
  import { spawnSync } from "node:child_process";
4
4
  import { existsSync, readFileSync } from "node:fs";
5
+ import { homedir } from "node:os";
5
6
  import { join, win32 } from "node:path";
6
7
  import { fileURLToPath } from "node:url";
7
8
  import { isMainModule } from "./lib/main-module.mjs";
@@ -33,6 +34,14 @@ export function pluginVersion(pluginRoot = root) {
33
34
  );
34
35
  }
35
36
 
37
+ // npm takes the package, bin links and .npmrc from the folder it starts in, so npx starts
38
+ // in the home folder and the CLI moves into the project before it runs a command. A shared
39
+ // folder such as the temp folder is no substitute, so there is no fallback.
40
+ export function npmFolder(home = homedir(), pathExists = existsSync) {
41
+ if (home && pathExists(home)) return home;
42
+ throw new Error("Cannot find your home folder. Set HOME (USERPROFILE on Windows) and retry.");
43
+ }
44
+
36
45
  export function invocation(
37
46
  args,
38
47
  {
@@ -41,6 +50,9 @@ export function invocation(
41
50
  platform = process.platform,
42
51
  node = process.execPath,
43
52
  pathExists = existsSync,
53
+ cwd = process.cwd(),
54
+ npmCwd,
55
+ launcher = fileURLToPath(import.meta.url),
44
56
  } = {},
45
57
  ) {
46
58
  if (args[0] === "skills")
@@ -56,10 +68,14 @@ export function invocation(
56
68
  };
57
69
  if (args[0] === "--script") {
58
70
  if (!args[1]) throw new Error("--script requires a Node script path.");
59
- return { command: node, args: args.slice(1), env: childEnv };
71
+ // Helpers that call the CLI run it through this launcher, never a `hyperframes` from the project.
72
+ const env = { ...childEnv, HYPERFRAMES_CLI_ENTRY: launcher };
73
+ return { command: node, args: args.slice(1), env, cwd };
60
74
  }
61
75
  const cliArgs = ["--yes", `hyperframes@${version}`, ...args];
62
- if (platform !== "win32") return { command: "npx", args: cliArgs, env: childEnv };
76
+ const cliEnv = { ...childEnv, HYPERFRAMES_PLUGIN_CWD: cwd };
77
+ const npxCwd = npmCwd ?? npmFolder();
78
+ if (platform !== "win32") return { command: "npx", args: cliArgs, env: cliEnv, cwd: npxCwd };
63
79
  const candidates = [
64
80
  env.npm_execpath && win32.join(win32.dirname(env.npm_execpath), "npx-cli.js"),
65
81
  win32.join(win32.dirname(node), "node_modules", "npm", "bin", "npx-cli.js"),
@@ -69,13 +85,14 @@ export function invocation(
69
85
  throw new Error(
70
86
  "Cannot find npx-cli.js. Install Node.js with npm or run from an npm environment.",
71
87
  );
72
- return { command: node, args: [npx, ...cliArgs], env: childEnv };
88
+ return { command: node, args: [npx, ...cliArgs], env: cliEnv, cwd: npxCwd };
73
89
  }
74
90
 
75
91
  if (isMainModule(import.meta.url)) {
76
92
  try {
77
93
  const command = invocation(process.argv.slice(2));
78
94
  const result = spawnSync(command.command, command.args, {
95
+ cwd: command.cwd,
79
96
  env: command.env,
80
97
  stdio: "inherit",
81
98
  windowsHide: true,
@@ -9,10 +9,10 @@ import {
9
9
  rmSync,
10
10
  writeFileSync,
11
11
  } from "node:fs";
12
- import { join } from "node:path";
12
+ import { delimiter, join } from "node:path";
13
13
  import { tmpdir } from "node:os";
14
14
  import { test } from "node:test";
15
- import { invocation, pluginVersion } from "./plugin-cli.mjs";
15
+ import { invocation, npmFolder, pluginVersion } from "./plugin-cli.mjs";
16
16
 
17
17
  function fixture(t, manifest = "plugin.json", version = "1.2.3") {
18
18
  const root = mkdtempSync(join(tmpdir(), "hf-plugin-"));
@@ -54,8 +54,11 @@ test("pins CLI, suppresses standalone refresh, preserves unrelated environment",
54
54
  version: "1.2.3",
55
55
  platform: "darwin",
56
56
  env: { PATH: "/bin", HYPERFRAMES_SKIP_SKILLS: "0" },
57
+ cwd: "/work/project",
58
+ npmCwd: "/home/person",
57
59
  });
58
60
  assert.equal(result.command, "npx");
61
+ assert.equal(result.cwd, "/home/person");
59
62
  assert.deepEqual(result.args, [
60
63
  "--yes",
61
64
  "hyperframes@1.2.3",
@@ -69,6 +72,7 @@ test("pins CLI, suppresses standalone refresh, preserves unrelated environment",
69
72
  HYPERFRAMES_SKILL_PKG_VERSION: "1.2.3",
70
73
  HYPERFRAMES_PLUGIN_VERSION: "1.2.3",
71
74
  HYPERFRAMES_NO_UPDATE_CHECK: "1",
75
+ HYPERFRAMES_PLUGIN_CWD: "/work/project",
72
76
  });
73
77
  assert.throws(() => invocation(["skills", "update"], { version: "1.2.3" }), /plugin manager/);
74
78
  });
@@ -80,8 +84,10 @@ test("Windows launches npx through Node without shell argument interpretation",
80
84
  node: String.raw`C:\Program Files\nodejs\node.exe`,
81
85
  env: { npm_execpath: String.raw`C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js` },
82
86
  pathExists: (p) => p === String.raw`C:\Program Files\nodejs\node_modules\npm\bin\npx-cli.js`,
87
+ npmCwd: String.raw`C:\Users\person`,
83
88
  });
84
89
  assert.equal(result.command, String.raw`C:\Program Files\nodejs\node.exe`);
90
+ assert.equal(result.cwd, String.raw`C:\Users\person`);
85
91
  assert.deepEqual(result.args, [
86
92
  String.raw`C:\Program Files\nodejs\node_modules\npm\bin\npx-cli.js`,
87
93
  "--yes",
@@ -102,7 +108,7 @@ test("installed helper keeps cwd, arguments, release environment and exit code",
102
108
  const helper = join(root, "helper.mjs");
103
109
  writeFileSync(
104
110
  helper,
105
- "console.log(JSON.stringify({ cwd: process.cwd(), args: process.argv.slice(2), skip: process.env.HYPERFRAMES_SKIP_SKILLS, version: process.env.HYPERFRAMES_SKILL_PKG_VERSION })); process.exit(7);",
111
+ "console.log(JSON.stringify({ cwd: process.cwd(), args: process.argv.slice(2), skip: process.env.HYPERFRAMES_SKIP_SKILLS, version: process.env.HYPERFRAMES_SKILL_PKG_VERSION, cli: process.env.HYPERFRAMES_CLI_ENTRY })); process.exit(7);",
106
112
  );
107
113
  const before = readFileSync(join(root, "plugin.json"), "utf8");
108
114
  const result = spawnSync(
@@ -116,6 +122,58 @@ test("installed helper keeps cwd, arguments, release environment and exit code",
116
122
  args: ["literal $value & spaces"],
117
123
  skip: "1",
118
124
  version: "1.2.3",
125
+ cli: realpathSync(launcher),
119
126
  });
120
127
  assert.equal(readFileSync(join(root, "plugin.json"), "utf8"), before);
121
128
  });
129
+
130
+ test(
131
+ "npx starts outside the project, so its packages, bin links and .npmrc cannot pick the CLI",
132
+ { skip: process.platform === "win32" },
133
+ (t) => {
134
+ const { root, launcher } = fixture(t);
135
+ const home = join(root, "home");
136
+ const bin = join(root, "bin");
137
+ const project = join(root, "user project");
138
+ mkdirSync(home);
139
+ mkdirSync(bin);
140
+ mkdirSync(join(project, "node_modules/.bin"), { recursive: true });
141
+ writeFileSync(
142
+ join(project, ".npmrc"),
143
+ "registry=http://127.0.0.1:9/\nscript-shell=/bin/false\n",
144
+ );
145
+ writeFileSync(join(project, "package.json"), '{"name":"hyperframes","bin":"x.js"}');
146
+ writeFileSync(join(project, "node_modules/.bin/hyperframes"), "#!/bin/sh\n", { mode: 0o755 });
147
+ writeFileSync(
148
+ join(bin, "npx"),
149
+ `#!${process.execPath}\nconsole.log(JSON.stringify({cwd:process.cwd(),args:process.argv.slice(2),project:process.env.HYPERFRAMES_PLUGIN_CWD}));`,
150
+ { mode: 0o755 },
151
+ );
152
+ const result = spawnSync(process.execPath, [launcher, "--version"], {
153
+ cwd: project,
154
+ encoding: "utf8",
155
+ env: { ...process.env, HOME: home, PATH: `${bin}${delimiter}${process.env.PATH}` },
156
+ });
157
+ assert.equal(result.status, 0, result.stderr);
158
+ assert.deepEqual(JSON.parse(result.stdout), {
159
+ cwd: realpathSync(home),
160
+ args: ["--yes", "hyperframes@1.2.3", "--version"],
161
+ project: realpathSync(project),
162
+ });
163
+ },
164
+ );
165
+
166
+ test("starts npx in the home folder and never falls back to a shared folder", () => {
167
+ assert.equal(
168
+ npmFolder("/home/person", () => true),
169
+ "/home/person",
170
+ );
171
+ assert.throws(() => npmFolder("", () => true), /Cannot find your home folder/);
172
+ assert.throws(() => npmFolder("/home/gone", () => false), /Cannot find your home folder/);
173
+ // Helper scripts never start npx, so they run without a home folder.
174
+ const script = invocation(["--script", "helper.mjs"], {
175
+ version: "1.2.3",
176
+ cwd: "/project",
177
+ });
178
+ assert.equal(script.cwd, "/project");
179
+ });
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: hyperframes-cli
3
- description: The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
3
+ description: HyperFrames CLI - scaffold, check frames, edit timelines, preview, render, share and project history; read JSON and recover from failures.
4
4
  ---
5
5
 
6
6
  **Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](../hyperframes/references/plugin-installation.md).
@@ -24,7 +24,7 @@ A `--json` result may carry `_meta.updateNotice`: a newer HyperFrames release is
24
24
  | Edit the timeline | `timeline` with `move`, `trim`, `split`, `set`, `duplicate`, `delete`, `apply`, `undo`, `ids` |
25
25
  | Reuse | `catalog`, `add` (`/hyperframes-registry`) |
26
26
  | Media and sound | `media-treatment`, `grade-compare`, `remove-background`, `tts`, `transcribe`, `beats`, `normalize-audio` (`/media-use`) |
27
- | Show and ship | `preview`, `present` (`/slideshow`), `render`, `publish`, `cloud`, `lambda`, `cloudrun` |
27
+ | Show and ship | `preview`, `present` (`/slideshow`), `render`, `share`, `publish` (legacy), `cloud`, `lambda`, `cloudrun` |
28
28
  | Desktop app | `open`, `catch-up` |
29
29
  | Upkeep | `doctor`, `browser`, `upgrade`, `usage`, `clean`, `feedback` |
30
30
 
@@ -94,7 +94,7 @@ Read the row before running its command.
94
94
  | `lint`, `check`, motion sidecars, `snapshot` | `references/lint-validate-inspect.md` |
95
95
  | `compare`, `grade-compare`, `render --batch` | `references/compare-and-batch.md` |
96
96
  | `beats` | `references/beats.md` |
97
- | `preview`, `play`, `render`, `publish`, Studio context | `references/preview-render.md` |
97
+ | `preview`, `play`, `render`, `share`, `publish` (legacy), Studio context | `references/preview-render.md` |
98
98
  | `doctor`, `browser` | `references/doctor-browser.md` |
99
99
  | `auth`, `cloud`, template variables | `references/cloud.md` |
100
100
  | `lambda`, `cloudrun` | `references/lambda.md`, `references/cloudrun.md` |
@@ -56,7 +56,7 @@ npx hyperframes doctor --json
56
56
 
57
57
  Set both variables in the environment that launches HyperFrames. On Windows, point them at `ffmpeg.exe` and `ffprobe.exe` using your shell's environment-variable syntax. A configured path takes precedence over automatic discovery; a missing configured file is reported as missing.
58
58
 
59
- Alternatively, put the binaries in `.hyperframes/bin/ffmpeg` and `.hyperframes/bin/ffprobe` (`.exe` on Windows), then run HyperFrames from that project's directory. Discovery checks `PATH` before this project-local directory, so use the environment variables when you need a particular build.
59
+ Automatic discovery never runs an FFmpeg or FFprobe that sits inside the project folder or the working directory, such as `.hyperframes/bin` or a project's `@ffmpeg-installer` package, since a project can come from anyone. Keep the binaries outside the project and either set the variables above or add their folder to `PATH` as an absolute path.
60
60
 
61
61
  Verify the **FFmpeg** and **FFprobe** entries in `doctor --json` report `ok: true` and the expected paths. To gate only these encoding dependencies with `jq`:
62
62
 
@@ -203,3 +203,23 @@ Uploads the project's source (HTML + assets) and returns a stable hosted URL tha
203
203
  Use cloud rendering when the user wants hosted rendering without local Chrome, FFmpeg, or AWS, and for the final render on a paid HyperFrames plan (`cloud.md`). Use Lambda only when AWS ownership is a requirement. Use Cloud Run only when GCP ownership is a requirement. Read the matching reference before running any cloud path.
204
204
 
205
205
  Skill attribution is automatic — the examples above need no `--skill`. A project scaffolded with `hyperframes init --skill=<slug>` records its owning skill in `hyperframes.json`, and every later render inherits it on usage telemetry: re-renders, `npm run render`, and `--batch` alike. Pass `--skill=<slug>` explicitly only to stamp a project that was not scaffolded with one (its first render then persists it).
206
+
207
+ ## Share a video for review
208
+
209
+ Use `hyperframes share --public` only when the user explicitly wants anyone with
210
+ the link to access the review. First sign in with `hyperframes auth login`.
211
+ Other first-share choices are `--team`, `--invite-only` and `--private`, subject
212
+ to workspace entitlement. `--yes` is not audience consent.
213
+
214
+ Read `hyperframes share --status --json`: `ready: true` is required before
215
+ calling the video ready to watch. Re-running `share` retrieves the existing
216
+ link; `share --update` explicitly renders/uploads changed content. Five retained
217
+ free projects are counted per workspace across CLI and Desktop; versions do
218
+ not consume slots and turning a link off does not release a slot.
219
+
220
+ `publish` uploads source to legacy `/p/` pages. It is not a review share alias.
221
+ During the announced 60-day window its old behavior stays available with a
222
+ notice. The start date is release-owned and currently unscheduled. After it, new
223
+ projects are guided to Share; existing publications and legacy updates stay
224
+ reachable. After the window, legacy updates require a signed-in account.
225
+ Never convert legacy IDs or carry a legacy flag into review consent.
@@ -47,21 +47,20 @@ globalThis.fetch = async (url, options) => {
47
47
  };
48
48
  `,
49
49
  );
50
+ const cli = join(bin, "cli.cjs");
50
51
  writeFileSync(
51
- join(bin, "npx"),
52
- `#!${process.execPath}
53
- const assert = require('node:assert/strict');
52
+ cli,
53
+ `const assert = require('node:assert/strict');
54
54
  const fs = require('node:fs');
55
55
  const path = require('node:path');
56
56
  const args = process.argv.slice(2);
57
- assert.deepEqual(args.slice(0, 3), ['hyperframes', 'transcribe', '${voicePath}']);
58
- assert.ok(fs.existsSync(args[2]));
57
+ assert.deepEqual(args.slice(0, 2), ['transcribe', '${voicePath}']);
58
+ assert.ok(fs.existsSync(args[1]));
59
59
  assert.equal(args[args.indexOf('--model')+1], 'small.en');
60
60
  fs.writeFileSync(path.join(args[args.indexOf('--dir')+1], 'transcript.json'), JSON.stringify([
61
61
  {text:'Hello',start:0.1,end:0.4}, {text:'there.',start:0.5,end:0.9}
62
62
  ]));
63
63
  `,
64
- { mode: 0o755 },
65
64
  );
66
65
  writeFileSync(join(bin, "ffprobe"), "#!/bin/sh\necho 1.25\n", { mode: 0o755 });
67
66
  writeFileSync(join(dir, ".env"), "");
@@ -95,6 +94,7 @@ fs.writeFileSync(path.join(args[args.indexOf('--dir')+1], 'transcript.json'), JS
95
94
  HYPERFRAMES_API_KEY: "",
96
95
  GEMINI_API_KEY: "fixture-key",
97
96
  PATH: `${bin}:${process.env.PATH}`,
97
+ HYPERFRAMES_CLI_ENTRY: cli,
98
98
  },
99
99
  },
100
100
  );