hyperframes 0.9.27 → 0.9.28-alpha.0
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.
- package/dist/{add-K5J5XWLL.js → add-WSGJ42KQ.js} +14 -14
- package/dist/{agentPromptGenerator-PGIEEJLJ.js → agentPromptGenerator-JTMVHRZN.js} +7 -7
- package/dist/{animatedGifPrep-MLZOHCTS.js → animatedGifPrep-V3FJENRD.js} +7 -7
- package/dist/api.js +39 -38
- package/dist/{asset-OS5AB3SQ.js → asset-6LZTBFS7.js} +2 -2
- package/dist/{assetCataloger-DMVL5X2P.js → assetCataloger-GRGAUHXL.js} +8 -8
- package/dist/{audio-23FMLVOJ.js → audio-QCMSKGKQ.js} +25 -24
- package/dist/{auth-2DIXO5OO.js → auth-TB7AUPRE.js} +4 -4
- package/dist/{autoUpdate-NP2CBKFP.js → autoUpdate-G3G7WBJF.js} +3 -3
- package/dist/{avatars-LULUZMLI.js → avatars-6ILGXRFF.js} +16 -15
- package/dist/{backgroundChecks-3MXY6FNF.js → backgroundChecks-E3VZ7KZN.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-AL6DO5IA.js → batchRender-KWIPFU5Q.js} +4 -4
- package/dist/{beats-U4Q76QWK.js → beats-OBIGBNZA.js} +11 -11
- package/dist/{benchmark-QANZ2IRX.js → benchmark-64IXFBPC.js} +11 -11
- package/dist/{billing-PX54B6T7.js → billing-3X5BWBTI.js} +16 -15
- package/dist/{browser-P36XPIWA.js → browser-DZ3XIEFA.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-QY6JAKLF.js → bundleWithLocalizedFonts-PKQN5CMM.js} +1 -1
- package/dist/{capture-ZZWXDUH2.js → capture-NTN7O6RZ.js} +22 -22
- package/dist/{capture-S5DURUCT.js → capture-V7RAUBMG.js} +3 -3
- package/dist/{captureCompositionFrame-VTN6VB5N.js → captureCompositionFrame-KMMB3FVD.js} +14 -14
- package/dist/{catalog-TTBH4Y6Z.js → catalog-YIGPXM7Q.js} +14 -14
- package/dist/{catch-up-M3CF57PU.js → catch-up-LOGK3VIS.js} +9 -9
- package/dist/{check-K7ZBDKBZ.js → check-FVXJBA5U.js} +43 -44
- package/dist/{checkAudio-HZ3Z5BTZ.js → checkAudio-FSIRCDM6.js} +15 -15
- package/dist/{checkBrowser-TO5M2QL2.js → checkBrowser-NXRXF73I.js} +37 -37
- package/dist/{chunk-DC5ZRTHD.js → chunk-3DVDIXOZ.js} +2 -2
- package/dist/{chunk-NFUXYBOR.js → chunk-3MYEF34S.js} +1 -1
- package/dist/{chunk-ZUXES5HA.js → chunk-3Q7LAXFJ.js} +2 -2
- package/dist/{chunk-F24B2PLD.js → chunk-3T6BFAKZ.js} +1 -1
- package/dist/{chunk-SODLRBNC.js → chunk-3YP3OQVH.js} +1 -1
- package/dist/{chunk-JLUOG6S2.js → chunk-4OZVFZCO.js} +1 -1
- package/dist/{chunk-GQTNVE7U.js → chunk-5BIHQCC2.js} +4 -4
- package/dist/{chunk-GGDJLN5I.js → chunk-5EYQ222G.js} +20 -0
- package/dist/{chunk-INVBU7DY.js → chunk-5FI52L2T.js} +1 -1
- package/dist/{chunk-5FWOWZAB.js → chunk-5RETZFNG.js} +7 -7
- package/dist/{chunk-Q73OZV2V.js → chunk-6EZ76UBP.js} +17 -17
- package/dist/{chunk-Y67RJDEB.js → chunk-6NG6PATW.js} +1 -1
- package/dist/{chunk-L2GOO2UY.js → chunk-6ODX6SHY.js} +2 -2
- package/dist/{chunk-MVJ7AX6W.js → chunk-7U2B7OF6.js} +1 -1
- package/dist/{chunk-V4Z37HFN.js → chunk-7XHVHBFV.js} +3 -3
- package/dist/{chunk-FKSUSFRT.js → chunk-7ZKUPLMN.js} +18 -18
- package/dist/{chunk-K6UG4VWT.js → chunk-A5CTI6RW.js} +3 -3
- package/dist/{chunk-IOPIOX5K.js → chunk-AAENGP3S.js} +16 -66
- package/dist/{chunk-LMCFILEY.js → chunk-AHRX3FHF.js} +3 -3
- package/dist/{chunk-U5RXCKWJ.js → chunk-AJVYQVDB.js} +1 -1
- package/dist/{chunk-7VHSPFBH.js → chunk-ASMDPTT3.js} +1 -1
- package/dist/{chunk-RVXE24LQ.js → chunk-BFDNZ2JT.js} +2 -2
- package/dist/{chunk-WZTOPKVO.js → chunk-BI33G4XD.js} +7 -7
- package/dist/{chunk-6LCIO2YY.js → chunk-BP75ZLZ5.js} +2 -2
- package/dist/{chunk-5AULMCSV.js → chunk-C756HYL7.js} +2 -2
- package/dist/{chunk-W5QBSRPF.js → chunk-C7ME7Y45.js} +2 -2
- package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
- package/dist/{chunk-YNIADMNZ.js → chunk-CJC6U3E7.js} +2 -2
- package/dist/chunk-DDCFX533.js +387 -0
- package/dist/{chunk-M3UU4QRH.js → chunk-DPAC75N5.js} +3 -3
- package/dist/{chunk-Z5THPTQ2.js → chunk-E3EIKMUU.js} +1 -1
- package/dist/{chunk-2WKG7HXZ.js → chunk-E7YPIP42.js} +2 -2
- package/dist/chunk-EKT2P27A.js +538 -0
- package/dist/chunk-F2FRUMWN.js +3699 -0
- package/dist/{chunk-LP7B3JLC.js → chunk-FID757D3.js} +1 -0
- package/dist/{chunk-V6EVV3XC.js → chunk-FW7MDSCQ.js} +2 -2
- package/dist/{chunk-YPRU66CC.js → chunk-G6CN5UWR.js} +1 -1
- package/dist/{chunk-D5QT3ORV.js → chunk-GN3CCXVU.js} +1 -1
- package/dist/{chunk-CZ43ZZFS.js → chunk-H3MJLPAC.js} +1 -1
- package/dist/{chunk-6NVZYXDT.js → chunk-HP6IDD33.js} +5 -5
- package/dist/{chunk-IX3K55NA.js → chunk-HW325JBH.js} +4 -4
- package/dist/{chunk-RSNZEWNW.js → chunk-HWQ6SNLY.js} +1 -1
- package/dist/{chunk-BZFVS36G.js → chunk-HYXSD2UA.js} +1 -1
- package/dist/{chunk-ZNTYIJ5K.js → chunk-IEB4IKXF.js} +1 -1
- package/dist/{chunk-OSDNRYQJ.js → chunk-IMSLXLUI.js} +1 -1
- package/dist/chunk-JE2YBPC5.js +152 -0
- package/dist/{chunk-5TD7HBR3.js → chunk-JEVWAGQP.js} +1 -1
- package/dist/{chunk-J237HI2F.js → chunk-JX4BEVC3.js} +29 -41
- package/dist/{chunk-OT2KF34N.js → chunk-K2OQYSDS.js} +12 -12
- package/dist/{chunk-ZDQNMNFE.js → chunk-KBF2DIZX.js} +9 -9
- package/dist/{chunk-PBDBD4BY.js → chunk-KFU75UXA.js} +2 -2
- package/dist/{chunk-NURN5W6M.js → chunk-KJ5QBEMN.js} +8 -6
- package/dist/{chunk-STQGPDO4.js → chunk-M7U6JTXF.js} +2 -2
- package/dist/{chunk-TRXIWZTM.js → chunk-MBRBEXMF.js} +1 -1
- package/dist/{chunk-6FHIR4KD.js → chunk-ME6L6GUF.js} +1 -1
- package/dist/{chunk-BJYCLZBQ.js → chunk-MEVLYDL2.js} +1 -1
- package/dist/{chunk-UPG4MMIA.js → chunk-MFSQZ2PR.js} +1 -1
- package/dist/{chunk-TMYY4DV4.js → chunk-MWBRY5HN.js} +3 -3
- package/dist/{chunk-IIS57Z3R.js → chunk-N6NB2WZ4.js} +2 -2
- package/dist/{chunk-5ZEBQO7Y.js → chunk-NKWJNDKO.js} +4 -4
- package/dist/{chunk-QYPS3UYP.js → chunk-O5G2LEUB.js} +3 -3
- package/dist/{chunk-NMOWXTCB.js → chunk-PG26KCBX.js} +2 -2
- package/dist/{chunk-7JK2YE2G.js → chunk-PWW2DKGL.js} +2 -2
- package/dist/{chunk-V7Q4XKRJ.js → chunk-Q5J4OO7N.js} +3 -3
- package/dist/{chunk-RYT22J4V.js → chunk-Q6TVZY36.js} +2 -2
- package/dist/{chunk-QTBRVJ6N.js → chunk-QMGFXL43.js} +1 -1
- package/dist/{chunk-4N3UVDIJ.js → chunk-QTDTCTGB.js} +6 -4
- package/dist/{chunk-NHJ5YUBZ.js → chunk-RERVXE6J.js} +2 -2
- package/dist/{chunk-LI2TX7SN.js → chunk-RGINHOAX.js} +2 -2
- package/dist/{chunk-XZ2MQF7V.js → chunk-RNUIFYO6.js} +1 -1
- package/dist/{chunk-TM6HH2VV.js → chunk-RO74CZMK.js} +1 -1
- package/dist/{chunk-HGHBQDM5.js → chunk-RPMPHUOS.js} +3 -3
- package/dist/{chunk-YU5QNJMA.js → chunk-RSZWWTQN.js} +2 -2
- package/dist/{chunk-TCQKCUDA.js → chunk-TF7VWCJM.js} +1 -1
- package/dist/chunk-U2NESB4H.js +173 -0
- package/dist/{chunk-CGUAZCPL.js → chunk-UDEFHX4Z.js} +15 -15
- package/dist/{chunk-ZGIPMCML.js → chunk-UF6C3CCP.js} +1 -1
- package/dist/{chunk-KUBXGMHI.js → chunk-UGX3IARM.js} +28 -30
- package/dist/{chunk-6PHVIKCJ.js → chunk-UO6DALBR.js} +4 -4
- package/dist/chunk-USTPTY7P.js +51 -0
- package/dist/{chunk-LLLNVEUF.js → chunk-UVZDPGZR.js} +1 -1
- package/dist/{chunk-UXJAMAZK.js → chunk-VCNPBW4L.js} +1 -1
- package/dist/chunk-VHXIMBTF.js +343 -0
- package/dist/{chunk-FNSWA4FK.js → chunk-VNKPEYMW.js} +1 -1
- package/dist/{chunk-DJVSNDF3.js → chunk-VSQ5NWCF.js} +3 -3
- package/dist/{chunk-5PL4LZYF.js → chunk-VVGNWH2J.js} +12 -12
- package/dist/{chunk-BZULWFMJ.js → chunk-W4DMQZL5.js} +2 -11
- package/dist/{chunk-IYYZMZD2.js → chunk-WIJGRX5X.js} +1 -1
- package/dist/{chunk-SCNC7YPB.js → chunk-WOSVLHQH.js} +1 -1
- package/dist/{chunk-QISOTHEQ.js → chunk-WRN3ZY5P.js} +7 -7
- package/dist/{chunk-YSJKA52M.js → chunk-WUOMBLQL.js} +2 -2
- package/dist/{chunk-M457GQGR.js → chunk-WXEXQLVV.js} +216 -344
- package/dist/{chunk-IQKMIYLG.js → chunk-WYA575QX.js} +7 -5
- package/dist/{chunk-3JFV42QB.js → chunk-XGRXNWDK.js} +3 -3
- package/dist/{chunk-5WI3VKQW.js → chunk-XMHYE6XY.js} +3 -3
- package/dist/{chunk-VXWASGGT.js → chunk-YJBGA3W6.js} +2 -2
- package/dist/{chunk-QBNHYXV3.js → chunk-YOUHA4KP.js} +11 -9
- package/dist/{chunk-6IMVGVA4.js → chunk-YPPJJ5ZH.js} +1 -1
- package/dist/{chunk-F4ROYQPH.js → chunk-Z2N7XOOB.js} +3 -3
- package/dist/{chunk-TKFKOWRI.js → chunk-ZEKQATYP.js} +6 -6
- package/dist/{chunk-2SX2EOPM.js → chunk-ZQLJLORI.js} +6 -6
- package/dist/{clean-LCQH4HFU.js → clean-6YCVFT7D.js} +22 -22
- package/dist/cli.js +65 -64
- package/dist/{cloud-34YHQNNB.js → cloud-BPWS4GJS.js} +4 -4
- package/dist/{cloud-QJMPTQ3N.js → cloud-TEJ6UVBU.js} +6 -5
- package/dist/{cloudrun-T7VVPRDG.js → cloudrun-A7DU7DQE.js} +7 -7
- package/dist/{compare-5EBDE5ZT.js → compare-HELNXJLM.js} +35 -35
- package/dist/{compiler-ZSIKBZBR.js → compiler-J43BE6LC.js} +4 -4
- package/dist/{component-7TIFLFYC.js → component-WEC4QGT3.js} +3 -3
- package/dist/{compositions-TLCEVGBC.js → compositions-RSUPWPK6.js} +13 -13
- package/dist/contract/LICENSE-Unicode.txt +39 -0
- package/dist/contract/path-policy.json +311 -0
- package/dist/contract/unicode-15.1.0.json +6179 -0
- package/dist/{curve-YABHYRHK.js → curve-OK5TBGXV.js} +12 -12
- package/dist/{cuts-UFRBSLDQ.js → cuts-S5WHYQZZ.js} +13 -13
- package/dist/{delete-5OABQGPL.js → delete-5NHJKNWL.js} +9 -8
- package/dist/{deploy-2OYZWP74.js → deploy-7PLBBXNB.js} +6 -6
- package/dist/{describeProject-TX2WQLQ5.js → describeProject-WVLTYWPG.js} +8 -8
- package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-UZIF5XZW.js} +2 -2
- package/dist/{diff-2CKZ2QR7.js → diff-W4EXKV5Q.js} +40 -39
- package/dist/{dist-EFXKPJJT.js → dist-4JHP47NU.js} +2 -2
- package/dist/{dist-O45G7NET.js → dist-AUYCAQMA.js} +14 -14
- package/dist/{dist-QRXJMFI7.js → dist-F3Y2XHZL.js} +3 -3
- package/dist/{doctor-Y436MAQR.js → doctor-7Y75ZXTU.js} +12 -12
- package/dist/{energy-UKLKTH7A.js → energy-Y4KYLWLZ.js} +13 -13
- package/dist/{events-MC5XLD2Z.js → events-3LAHSBBF.js} +8 -8
- package/dist/{events-NKRFVAY3.js → events-67Q5DIRC.js} +4 -4
- package/dist/{events-73W2IO3W.js → events-TQD3L5FS.js} +15 -15
- package/dist/execute-GFHAD3L6.js +109 -0
- package/dist/{extract-ZG3MHNYX.js → extract-6KGIEC76.js} +16 -16
- package/dist/{face-CFBT42SW.js → face-OBEAPOZR.js} +14 -14
- package/dist/{feedback-QGDEE3RB.js → feedback-QTB2UH3Q.js} +15 -14
- package/dist/{ffmpeg-UXHRG3MW.js → ffmpeg-4CMA6M2L.js} +7 -7
- package/dist/{figma-BD7RROGK.js → figma-4ZKDJA4R.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-ZF756HF3.js → frames-OFLJT4D5.js} +14 -14
- package/dist/{generate-LEUO4VVQ.js → generate-LHRF4A3Z.js} +27 -26
- package/dist/{get-4BL6VXKX.js → get-56RYQ7KG.js} +9 -8
- package/dist/{gpuPolicy-K2JHXORZ.js → gpuPolicy-35XK273G.js} +7 -7
- package/dist/{grade-compare-4UBZJQ7F.js → grade-compare-GQVODT4T.js} +37 -37
- package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-5YD4N6HQ.js} +1 -1
- package/dist/{heifImagePrep-O2WGVMAP.js → heifImagePrep-7WN2QNQM.js} +8 -8
- package/dist/{help-M55BSV4I.js → help-E2TKPNJJ.js} +1 -1
- package/dist/{history-UIQBTMXZ.js → history-AJ2MSBW6.js} +11 -11
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-X4VTZ7PT.js → info-HV43ZADN.js} +15 -15
- package/dist/{init-3Y5XMH6I.js → init-OHVVGDSF.js} +29 -29
- package/dist/{ink-QKIGMWUR.js → ink-IESBIGOE.js} +13 -13
- package/dist/{inspect-BUKYJF6N.js → inspect-Y7YS3ILY.js} +34 -34
- package/dist/{installer-VPGNKCEU.js → installer-AJESSC5Y.js} +5 -5
- package/dist/{keyframes-6HO56WZG.js → keyframes-XSL7JGAF.js} +12 -15
- package/dist/{lambda-XDVNHACQ.js → lambda-KU65SSVE.js} +13 -13
- package/dist/{layout-WELYAXO3.js → layout-ORX7QBGL.js} +34 -34
- package/dist/{lint-6R3E6Q5V.js → lint-KUGT5YHK.js} +12 -12
- package/dist/{lintProject-5CBL7VFV.js → lintProject-Z6TG3Z34.js} +2 -2
- package/dist/{list-SIL4TALK.js → list-EB3WYTHH.js} +11 -10
- package/dist/{localPage-6VW25RGJ.js → localPage-QLGKJQ6X.js} +7 -7
- package/dist/{login-3AFKZLIK.js → login-O5HWEYI4.js} +8 -7
- package/dist/{logout-FJ444652.js → logout-AHGR3X5U.js} +6 -4
- package/dist/{look-RYLQYXNN.js → look-BPSKQDST.js} +13 -13
- package/dist/{manager-T4ZHIMMY.js → manager-MNOR566P.js} +8 -8
- package/dist/{measure-XUK4GNAC.js → measure-USYFR5EK.js} +11 -11
- package/dist/{media-treatment-SR5TX7CH.js → media-treatment-5YATQA5D.js} +15 -15
- package/dist/{media-use-3LOSIEZM.js → media-use-BA245HF5.js} +9 -7
- package/dist/{models-5SPPZN2E.js → models-ST3IIAN2.js} +11 -11
- package/dist/{motionShot-IFAFFPZF.js → motionShot-DOIU74HO.js} +19 -19
- package/dist/{normalize-audio-LQDUTXFM.js → normalize-audio-PPSCFVKC.js} +11 -11
- package/dist/oauth-KUPQUH6E.js +40 -0
- package/dist/{open-XX2L2YSZ.js → open-R2EPWLS6.js} +14 -14
- package/dist/{parakeetRunner-R5WK6AJN.js → parakeetRunner-Q2SYZVYV.js} +13 -13
- package/dist/{pipeline-NMCWG5AA.js → pipeline-NQ4BI2D7.js} +10 -10
- package/dist/plan-CN2TTIAA.js +88 -0
- package/dist/{play-Q2AYSHPW.js → play-J3DJBBXW.js} +26 -26
- package/dist/{preflight-WG2O5KUQ.js → preflight-DLO6LHGO.js} +8 -8
- package/dist/{present-AOU7HG3N.js → present-MIWYYTIE.js} +21 -21
- package/dist/{preview-PMGF6AQB.js → preview-DEGHLTT6.js} +23 -23
- package/dist/{probe-SESDMQ4Q.js → probe-63RJNPIB.js} +13 -13
- package/dist/{producer-TGF2N7GF.js → producer-H7L5TBE4.js} +1 -1
- package/dist/{projectConfig-UHYPGWD5.js → projectConfig-GJL2ZGOU.js} +7 -7
- package/dist/{publication-5KOANEHK.js → publication-BLLVTVD6.js} +3 -3
- package/dist/{publish-C3ARXH6D.js → publish-CYPJA7T7.js} +83 -23
- package/dist/{refresh-YY4K2RWR.js → refresh-TB4TNH7R.js} +4 -3
- package/dist/{remove-background-ZHAYTN7D.js → remove-background-KX574FQY.js} +11 -11
- package/dist/{render-UNWC5ZIO.js → render-N7PKCVEP.js} +45 -44
- package/dist/{render-TSV3XTQV.js → render-RUEXLOWE.js} +6 -6
- package/dist/{render-XYWARHW5.js → render-SHUBWBK4.js} +316 -934
- package/dist/{render-batch-ISMXAG7F.js → render-batch-QFGQD5FM.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-ZWNLOG6O.js → resolver-HQIDF3TF.js} +5 -5
- package/dist/{reverse-Q76RJRN5.js → reverse-D2XWX6FV.js} +1 -1
- package/dist/{run-UPKPPRV7.js → run-EVZGKUEX.js} +5 -4
- package/dist/{screenshotCapture-N6BXDAMK.js → screenshotCapture-4JLD2OQZ.js} +8 -8
- package/dist/service-L3K45WOD.js +68 -0
- package/dist/share-7G44HDSY.js +226 -0
- package/dist/{sherpa-5YE5FIOR.js → sherpa-LU5AOQHV.js} +12 -12
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
- package/dist/{skills-U4NHFYH4.js → skills-KVQ2G6P5.js} +11 -11
- package/dist/{skillsUpdateCheck-XJA6VEZZ.js → skillsUpdateCheck-EB54PRMT.js} +4 -4
- package/dist/{snapshot-V4BSRUXI.js → snapshot-QWO6OXG3.js} +48 -50
- package/dist/{src-FNXCLKWN.js → src-I3B7LYZM.js} +6 -6
- package/dist/{src-JVYKW7RE.js → src-WMZX5C4A.js} +12 -12
- package/dist/{start-TSIACBUA.js → start-ACVZUBZX.js} +25 -24
- package/dist/{staticProjectServer-NTSNYFWQ.js → staticProjectServer-C6KEOAYY.js} +19 -19
- package/dist/{status-53Z4YLQ7.js → status-RYI42XDB.js} +20 -18
- package/dist/studio/assets/{codec-YP1ZxmPt.js → codec-D6qbrtZY.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-Cy3KqtCh.js → hyperframes-player-BVe9IO80.js} +1 -1
- package/dist/studio/assets/{index-C4B6p8IF.js → index-BZu8x7Q5.js} +1 -1
- package/dist/studio/assets/{index-BNTUBT5h.js → index-Cl9fSd9I.js} +184 -184
- package/dist/studio/assets/{index-dsfjBidg.css → index-Cq2w6U13.css} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-52lsHc7p.js → pausedVideoDecoder-DfnHfnL7.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-2I44WB4P.js → studio-api-RBURPKYX.js} +14 -14
- package/dist/{studioServer-HSYYGQU3.js → studioServer-J5DYNR6R.js} +434 -83
- package/dist/{sync-B2HPDX37.js → sync-MUKE7NSP.js} +13 -13
- package/dist/{telemetry-L4KX6ADA.js → telemetry-6MDOWNLT.js} +8 -8
- package/dist/{templates-MKR4FTPR.js → templates-LWPXN7M2.js} +19 -18
- package/dist/{timeline-VDFI4ABH.js → timeline-WTBC3J7O.js} +21 -21
- package/dist/{tokens-XYVGSKDY.js → tokens-4NPCCANL.js} +2 -2
- package/dist/{transcribe-A7QZYVNX.js → transcribe-NZJPYTM7.js} +29 -28
- package/dist/{transcribe-3QGLLMEQ.js → transcribe-RL7LGXU6.js} +10 -10
- package/dist/{tts-HOZ6X3MD.js → tts-NANTORLP.js} +1 -1
- package/dist/{update-AWSCA73T.js → update-DZCGNNOU.js} +12 -12
- package/dist/{updateCheck-ATDIIE24.js → updateCheck-N3C56RNJ.js} +3 -3
- package/dist/{upgrade-RJNDUCWP.js → upgrade-RCV7ZF5Z.js} +4 -4
- package/dist/{urlDownloader-RE6IIDWK.js → urlDownloader-SSPDDS4Y.js} +6 -6
- package/dist/{validate-YWO6GA5Q.js → validate-HQDRN6T3.js} +28 -28
- package/dist/{video-RKEUBWJI.js → video-FPDBQAXL.js} +8 -8
- package/dist/{voices-GESP52KZ.js → voices-PMLIXQT4.js} +24 -23
- package/dist/warmCheck.js +43 -44
- package/package.json +2 -1
- package/dist/chunk-63HHKYU2.js +0 -413
- package/dist/chunk-XDKEKXV4.js +0 -29
- package/dist/{destroy-YAMTVR2W.js → destroy-IWHFUGJL.js} +4 -4
- package/dist/{synthesize-MDW4ZWTN.js → synthesize-NJKCIPKW.js} +5 -5
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E7YPIP42.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -8,6 +8,13 @@ import {
|
|
|
8
8
|
parseTimeoutMs,
|
|
9
9
|
pngDimensions
|
|
10
10
|
} from "./chunk-TTCNUS5M.js";
|
|
11
|
+
import {
|
|
12
|
+
collectProjectMedia,
|
|
13
|
+
mediaPath
|
|
14
|
+
} from "./chunk-A5CTI6RW.js";
|
|
15
|
+
import {
|
|
16
|
+
trackLintRun
|
|
17
|
+
} from "./chunk-XMHYE6XY.js";
|
|
11
18
|
import {
|
|
12
19
|
CheckBudgetError,
|
|
13
20
|
CheckCopiesUnfinishedError,
|
|
@@ -20,17 +27,7 @@ import {
|
|
|
20
27
|
idleWindow,
|
|
21
28
|
preResolveHostileMediaProxies,
|
|
22
29
|
rectToBbox
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import {
|
|
25
|
-
collectProjectMedia,
|
|
26
|
-
mediaPath
|
|
27
|
-
} from "./chunk-K6UG4VWT.js";
|
|
28
|
-
import {
|
|
29
|
-
captureArtifactRevision
|
|
30
|
-
} from "./chunk-XDKEKXV4.js";
|
|
31
|
-
import {
|
|
32
|
-
trackLintRun
|
|
33
|
-
} from "./chunk-5WI3VKQW.js";
|
|
30
|
+
} from "./chunk-7ZKUPLMN.js";
|
|
34
31
|
import {
|
|
35
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
36
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -51,7 +48,7 @@ import {
|
|
|
51
48
|
mergeSampleTimes,
|
|
52
49
|
parseAt,
|
|
53
50
|
readMotionSpec
|
|
54
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-K2OQYSDS.js";
|
|
55
52
|
import {
|
|
56
53
|
findingAtRoot,
|
|
57
54
|
findingElementKey,
|
|
@@ -59,31 +56,32 @@ import {
|
|
|
59
56
|
groupSampledFindings
|
|
60
57
|
} from "./chunk-TQBQYO4L.js";
|
|
61
58
|
import {
|
|
59
|
+
captureArtifactRevision,
|
|
62
60
|
readToolContext,
|
|
63
61
|
reportArtifacts,
|
|
64
62
|
withProjectLock
|
|
65
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-5EYQ222G.js";
|
|
66
64
|
import {
|
|
67
65
|
resolveProject
|
|
68
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-IEB4IKXF.js";
|
|
67
|
+
import {
|
|
68
|
+
CACHE_DIR_NAME
|
|
69
|
+
} from "./chunk-7XHVHBFV.js";
|
|
69
70
|
import {
|
|
70
71
|
recordArtifacts
|
|
71
72
|
} from "./chunk-BF6RWOUF.js";
|
|
72
|
-
import {
|
|
73
|
-
CACHE_DIR_NAME
|
|
74
|
-
} from "./chunk-V4Z37HFN.js";
|
|
75
73
|
import {
|
|
76
74
|
BrowserCleanupError,
|
|
77
75
|
onStopSignal,
|
|
78
76
|
registerBrowserSessionCleanup
|
|
79
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3DVDIXOZ.js";
|
|
80
78
|
import {
|
|
81
79
|
resolveLocalBrowserGpuMode
|
|
82
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-KFU75UXA.js";
|
|
83
81
|
import {
|
|
84
82
|
trackCheckReport,
|
|
85
83
|
trackCommandFailure
|
|
86
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-RGINHOAX.js";
|
|
87
85
|
import {
|
|
88
86
|
swallowedFlagUsageError
|
|
89
87
|
} from "./chunk-UPR5TMLG.js";
|
|
@@ -104,14 +102,14 @@ import {
|
|
|
104
102
|
extractMediaMetadata,
|
|
105
103
|
findHdrAutoPromotion,
|
|
106
104
|
gradingKeepsSdr
|
|
107
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-Q5J4OO7N.js";
|
|
108
106
|
import {
|
|
109
107
|
lintProject,
|
|
110
108
|
unmountedNotice
|
|
111
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-VSQ5NWCF.js";
|
|
112
110
|
import {
|
|
113
111
|
withMeta
|
|
114
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-E3EIKMUU.js";
|
|
115
113
|
import {
|
|
116
114
|
recordLastCheck
|
|
117
115
|
} from "./chunk-F5QBIIFT.js";
|
|
@@ -126,7 +124,7 @@ import {
|
|
|
126
124
|
} from "./chunk-66W5IWLO.js";
|
|
127
125
|
import {
|
|
128
126
|
VERSION
|
|
129
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-E7YPIP42.js";
|
|
130
128
|
import {
|
|
131
129
|
normalizeErrorMessage
|
|
132
130
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -2294,7 +2292,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2294
2292
|
};
|
|
2295
2293
|
}
|
|
2296
2294
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2297
|
-
const module = await import("./checkBrowser-
|
|
2295
|
+
const module = await import("./checkBrowser-NXRXF73I.js");
|
|
2298
2296
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2299
2297
|
}
|
|
2300
2298
|
var adoptedBrowser;
|
|
@@ -2308,7 +2306,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2308
2306
|
if (adopted) return adopted;
|
|
2309
2307
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2310
2308
|
if (html === void 0) return void 0;
|
|
2311
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2309
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-KMMB3FVD.js");
|
|
2312
2310
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2313
2311
|
}
|
|
2314
2312
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2320,11 +2318,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2320
2318
|
return relative(projectDir, path);
|
|
2321
2319
|
}
|
|
2322
2320
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2323
|
-
const module = await import("./checkBrowser-
|
|
2321
|
+
const module = await import("./checkBrowser-NXRXF73I.js");
|
|
2324
2322
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2325
2323
|
}
|
|
2326
2324
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2327
|
-
const module = await import("./checkBrowser-
|
|
2325
|
+
const module = await import("./checkBrowser-NXRXF73I.js");
|
|
2328
2326
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2329
2327
|
}
|
|
2330
2328
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2346,7 +2344,7 @@ function collectMedia(project) {
|
|
|
2346
2344
|
return collectProjectMedia(project.dir);
|
|
2347
2345
|
}
|
|
2348
2346
|
async function inspectAudio(project, media) {
|
|
2349
|
-
const module = await import("./checkAudio-
|
|
2347
|
+
const module = await import("./checkAudio-FSIRCDM6.js");
|
|
2350
2348
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2351
2349
|
}
|
|
2352
2350
|
function audioCheckFailure(project, error) {
|
|
@@ -2531,7 +2529,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2531
2529
|
}
|
|
2532
2530
|
},
|
|
2533
2531
|
async prepareMedia(project, options) {
|
|
2534
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2532
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-PKQN5CMM.js");
|
|
2535
2533
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2536
2534
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2537
2535
|
},
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-JJ47LVJ7.js";
|
|
19
19
|
import {
|
|
20
20
|
trackSkillsInstallSkipped
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RGINHOAX.js";
|
|
22
22
|
import {
|
|
23
23
|
diag
|
|
24
24
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
isCoreSkill,
|
|
40
40
|
presentSkills,
|
|
41
41
|
retiredSkillNotice
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RSZWWTQN.js";
|
|
43
43
|
import {
|
|
44
44
|
NO_UPDATE_NOTICE,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-E3EIKMUU.js";
|
|
47
47
|
import {
|
|
48
48
|
failureMessage,
|
|
49
49
|
jsonFailure
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-66W5IWLO.js";
|
|
55
55
|
import {
|
|
56
56
|
VERSION
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-E7YPIP42.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/skills.ts
|
|
60
60
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
ReviewFailed,
|
|
9
|
+
ShareSourceError,
|
|
10
|
+
reviewSentence
|
|
11
|
+
} from "./chunk-F2FRUMWN.js";
|
|
12
|
+
import {
|
|
13
|
+
isAuthError
|
|
14
|
+
} from "./chunk-FID757D3.js";
|
|
15
|
+
import {
|
|
16
|
+
CliUsageError
|
|
17
|
+
} from "./chunk-66W5IWLO.js";
|
|
18
|
+
|
|
19
|
+
// src/share/errors.ts
|
|
20
|
+
var HINTS = {
|
|
21
|
+
review_upload_origins_required: "Review video storage is not configured. Set HYPERFRAMES_REVIEW_UPLOAD_ORIGINS to the exact storage origins provided by your deployment.",
|
|
22
|
+
review_project_limit_reached: "Your workspace has used its five free shared projects. Update an existing share, or manage and remove one to free a slot. Turning a link off does not free a slot.",
|
|
23
|
+
review_subscription_required: "That sharing option is not included in this workspace's plan. Choose an available audience explicitly or manage your plan.",
|
|
24
|
+
workspace_mismatch: "This folder already shares into another workspace. Manage the existing share instead of changing its identity.",
|
|
25
|
+
review_binding_changed: "The review linked to this folder changed. Run hyperframes share --status before trying again.",
|
|
26
|
+
manage_existing_audience: "Manage this existing share to change its audience. Copying or updating a share preserves its settings.",
|
|
27
|
+
not_shared: "This project has no shared review yet. Run hyperframes share with an explicit audience."
|
|
28
|
+
};
|
|
29
|
+
function shareError(error) {
|
|
30
|
+
if (error instanceof CliUsageError) return { code: error.code, message: error.message };
|
|
31
|
+
if (error instanceof ShareSourceError)
|
|
32
|
+
return { code: "source_unavailable", message: error.message };
|
|
33
|
+
if (isAuthError(error))
|
|
34
|
+
return {
|
|
35
|
+
code: error.code.toLowerCase(),
|
|
36
|
+
message: `${error.message} ${error.hint ?? ""}`.trim()
|
|
37
|
+
};
|
|
38
|
+
if (error instanceof ReviewFailed)
|
|
39
|
+
return {
|
|
40
|
+
code: error.status === 401 ? "login_expired" : error.reason || "share_failed",
|
|
41
|
+
message: HINTS[error.reason] ?? reviewSentence(error)
|
|
42
|
+
};
|
|
43
|
+
return {
|
|
44
|
+
code: "share_failed",
|
|
45
|
+
message: error instanceof Error ? error.message : "Sharing failed. Try again."
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
shareError
|
|
51
|
+
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isTransientBrowserError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q5J4OO7N.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/screenshotOnceMore.ts
|
|
12
12
|
async function screenshotOnceMore(shoot) {
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-3LAHSBBF.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -0,0 +1,343 @@
|
|
|
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
|
+
ReviewFailed,
|
|
9
|
+
addVersion,
|
|
10
|
+
bindShareHost,
|
|
11
|
+
createShareAccess,
|
|
12
|
+
latestShareRender,
|
|
13
|
+
observeShareMutation,
|
|
14
|
+
pendingReviewExport,
|
|
15
|
+
prepareCliShareSource,
|
|
16
|
+
prepareShareRender,
|
|
17
|
+
projectFingerprint,
|
|
18
|
+
refreshReviewExport,
|
|
19
|
+
reviewClient,
|
|
20
|
+
reviewRecord,
|
|
21
|
+
reviewStatus,
|
|
22
|
+
reviewUploadOrigins,
|
|
23
|
+
reviewVersion,
|
|
24
|
+
setReviewAccess,
|
|
25
|
+
setReviewSite,
|
|
26
|
+
shareForReview,
|
|
27
|
+
shareSite,
|
|
28
|
+
signedInRequest,
|
|
29
|
+
turnOffReviewLink,
|
|
30
|
+
uncheckedSource
|
|
31
|
+
} from "./chunk-F2FRUMWN.js";
|
|
32
|
+
import {
|
|
33
|
+
apiBaseUrl
|
|
34
|
+
} from "./chunk-WXEXQLVV.js";
|
|
35
|
+
import {
|
|
36
|
+
findFFprobe
|
|
37
|
+
} from "./chunk-H3MJLPAC.js";
|
|
38
|
+
import {
|
|
39
|
+
defaultClientId,
|
|
40
|
+
oauthEnvironment,
|
|
41
|
+
resolveClientId,
|
|
42
|
+
tokenEndpoint
|
|
43
|
+
} from "./chunk-FID757D3.js";
|
|
44
|
+
import {
|
|
45
|
+
CliUsageError
|
|
46
|
+
} from "./chunk-66W5IWLO.js";
|
|
47
|
+
|
|
48
|
+
// src/share/service.ts
|
|
49
|
+
import { basename as basename2 } from "path";
|
|
50
|
+
|
|
51
|
+
// src/share/host.ts
|
|
52
|
+
import { basename } from "path";
|
|
53
|
+
import { realpathSync } from "fs";
|
|
54
|
+
|
|
55
|
+
// src/share/uploadOrigins.ts
|
|
56
|
+
var PRODUCTION_UPLOAD_ORIGINS = [
|
|
57
|
+
"https://heygen-hyperframes-reviews-prod-767398024897-us-east-2.s3.amazonaws.com",
|
|
58
|
+
"https://heygen-hyperframes-reviews-prod-767398024897-us-east-2.s3.us-east-2.amazonaws.com",
|
|
59
|
+
"https://hyperframes-composition-sync-prod.s3.us-east-2.amazonaws.com"
|
|
60
|
+
];
|
|
61
|
+
function cliReviewUploadOrigins() {
|
|
62
|
+
const override = process.env.HYPERFRAMES_REVIEW_UPLOAD_ORIGINS;
|
|
63
|
+
if (override !== void 0)
|
|
64
|
+
return override.split(",").map((origin) => origin.trim()).filter(Boolean);
|
|
65
|
+
const standardProduction = oauthEnvironment() === "prod" && apiBaseUrl() === "https://api.heygen.com" && tokenEndpoint() === "https://api2.heygen.com/v1/oauth/token" && resolveClientId() === defaultClientId();
|
|
66
|
+
return standardProduction ? PRODUCTION_UPLOAD_ORIGINS : [];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// src/share/host.ts
|
|
70
|
+
var projects = /* @__PURE__ */ new Set();
|
|
71
|
+
function isStorageOrigin(origin) {
|
|
72
|
+
if (!URL.canParse(origin)) return false;
|
|
73
|
+
const url = new URL(origin);
|
|
74
|
+
const loopback = url.protocol === "http:" && url.hostname === "127.0.0.1";
|
|
75
|
+
return url.origin === origin && !url.hostname.includes("*") && (url.protocol === "https:" || loopback);
|
|
76
|
+
}
|
|
77
|
+
function assertReviewUploadStorage() {
|
|
78
|
+
const origins = reviewUploadOrigins().filter(Boolean);
|
|
79
|
+
if (origins.length === 0 || !origins.every(isStorageOrigin))
|
|
80
|
+
throw new ReviewFailed(503, "review_upload_origins_required");
|
|
81
|
+
}
|
|
82
|
+
function bindCliShareProject(path) {
|
|
83
|
+
const dir = realpathSync(path);
|
|
84
|
+
projects.add(dir);
|
|
85
|
+
bindShareHost({
|
|
86
|
+
reviewUploadOrigins: cliReviewUploadOrigins(),
|
|
87
|
+
normalize: realpathSync,
|
|
88
|
+
assertOpenProject: (path2) => {
|
|
89
|
+
const normalized = realpathSync(path2);
|
|
90
|
+
if (!projects.has(normalized)) throw new Error("This project is not open for sharing.");
|
|
91
|
+
return normalized;
|
|
92
|
+
},
|
|
93
|
+
resolveOpenProjectByPath: (path2) => {
|
|
94
|
+
const normalized = realpathSync(path2);
|
|
95
|
+
return projects.has(normalized) ? { id: normalized, dir: normalized } : null;
|
|
96
|
+
},
|
|
97
|
+
listOpenProjects: () => [...projects].map((dir2) => ({ dir: dir2 })),
|
|
98
|
+
homeName: basename,
|
|
99
|
+
latestExportFile: latestShareRender,
|
|
100
|
+
projectFingerprint,
|
|
101
|
+
signedInRequest: (deps) => signedInRequest({
|
|
102
|
+
...deps,
|
|
103
|
+
headers: { "X-HeyGen-Source": "cli", "X-HeyGen-Client-Source": "hyperframes" }
|
|
104
|
+
}),
|
|
105
|
+
ffBinary: () => {
|
|
106
|
+
const binary = findFFprobe();
|
|
107
|
+
if (!binary) throw new Error("Install FFmpeg to prepare a shared video.");
|
|
108
|
+
return binary;
|
|
109
|
+
},
|
|
110
|
+
channelSite: "https://hyperframes.dev",
|
|
111
|
+
signinSites: ["https://hyperframes.dev", "https://dev.hyperframes.dev"]
|
|
112
|
+
});
|
|
113
|
+
setReviewSite(shareSite());
|
|
114
|
+
return dir;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// src/share/service.ts
|
|
118
|
+
function linkState(share, ready, failed) {
|
|
119
|
+
if (!share) return "not_shared";
|
|
120
|
+
if (failed) return "failed";
|
|
121
|
+
if (!share.url) return "link_off";
|
|
122
|
+
return ready ? "ready" : "processing";
|
|
123
|
+
}
|
|
124
|
+
async function refreshShare(dir, client, expectedProjectId, onRecovery) {
|
|
125
|
+
const share = await reviewStatus({ projectPath: dir, client });
|
|
126
|
+
if (expectedProjectId) assertUploadProject(share, expectedProjectId);
|
|
127
|
+
if (onRecovery) onRecovery(isProcessing(await pendingReviewExport(dir), share));
|
|
128
|
+
if (share) await refreshReviewExport(dir, client);
|
|
129
|
+
return share;
|
|
130
|
+
}
|
|
131
|
+
async function readStatus(dir, client, expectedProjectId, onRecovery) {
|
|
132
|
+
const share = await refreshShare(dir, client, expectedProjectId, onRecovery);
|
|
133
|
+
const project = await readProject(share, client);
|
|
134
|
+
const latest = project?.latest_ready_version_id ?? null;
|
|
135
|
+
const version = await reviewVersion(dir, { latestReadyVersionId: latest });
|
|
136
|
+
const pending = await pendingReviewExport(dir);
|
|
137
|
+
const activeUrl = share?.url ?? null;
|
|
138
|
+
const processing = isProcessing(pending, share);
|
|
139
|
+
const failed = hasFailedVersion(version);
|
|
140
|
+
const ready = Boolean(activeUrl && latest && !processing && !failed);
|
|
141
|
+
return {
|
|
142
|
+
share,
|
|
143
|
+
version,
|
|
144
|
+
pending,
|
|
145
|
+
state: linkState(share, ready, failed),
|
|
146
|
+
ready,
|
|
147
|
+
source: uncheckedSource(),
|
|
148
|
+
...statusLinks(activeUrl, ready, processing || failed, project)
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
async function readProject(share, client) {
|
|
152
|
+
return share?.projectId ? client.project(share.projectId) : null;
|
|
153
|
+
}
|
|
154
|
+
function statusLinks(url, ready, processing, project) {
|
|
155
|
+
return {
|
|
156
|
+
url: ready ? url : null,
|
|
157
|
+
previousUrl: processing && project?.latest_ready_version_id ? url : null,
|
|
158
|
+
manageUrl: project?.authenticated_review_url ?? `${shareSite()}/shares`
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function isProcessing(pending, share) {
|
|
162
|
+
return Boolean(pending && pending.projectId === share?.projectId);
|
|
163
|
+
}
|
|
164
|
+
function selectSpace(spaces, id) {
|
|
165
|
+
if (id) return spaces.find((space) => space.space_id === id);
|
|
166
|
+
return spaces.find((space) => space.bound) ?? spaces.find((space) => space.kind === "personal");
|
|
167
|
+
}
|
|
168
|
+
function assertUploadProject(share, expectedId) {
|
|
169
|
+
const id = share?.projectId;
|
|
170
|
+
if (!id || expectedId && id !== expectedId)
|
|
171
|
+
throw new ReviewFailed(409, "review_binding_changed");
|
|
172
|
+
}
|
|
173
|
+
function assertExistingIntent(share, input) {
|
|
174
|
+
if (!share) {
|
|
175
|
+
if (input.action === "update") throw new ReviewFailed(404, "not_shared");
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
if (input.space && share.space?.id !== input.space)
|
|
179
|
+
throw new ReviewFailed(409, "workspace_mismatch");
|
|
180
|
+
if (input.audience && share.access !== input.audience)
|
|
181
|
+
throw new ReviewFailed(409, "manage_existing_audience");
|
|
182
|
+
}
|
|
183
|
+
function retrievesExisting(current, input) {
|
|
184
|
+
return current.share && input.action === "share" && current.state !== "processing";
|
|
185
|
+
}
|
|
186
|
+
async function preflightFirst(dir, client, input) {
|
|
187
|
+
const audience = input.audience;
|
|
188
|
+
if (!audience)
|
|
189
|
+
throw new CliUsageError(
|
|
190
|
+
"Choose an audience with --public, --team, --invite-only or --private. --yes is not audience consent.",
|
|
191
|
+
{ code: "audience_required" }
|
|
192
|
+
);
|
|
193
|
+
const [spaces, record] = await Promise.all([client.spaces(), reviewRecord(dir)]);
|
|
194
|
+
const space = selectSpace(spaces, registrationSpace(record, input.space));
|
|
195
|
+
if (!space || !space.can_create_review) throw new ReviewFailed(403, "workspace_cannot_share");
|
|
196
|
+
assertQuota(record, space);
|
|
197
|
+
assertAudience(audience, space);
|
|
198
|
+
return space.space_id;
|
|
199
|
+
}
|
|
200
|
+
function registrationSpace(record, requested) {
|
|
201
|
+
if (!record?.spaceId) return requested;
|
|
202
|
+
if (!requested || requested === record.spaceId) return record.spaceId;
|
|
203
|
+
if (record.registration || record.projectId) throw new ReviewFailed(409, "workspace_mismatch");
|
|
204
|
+
return requested;
|
|
205
|
+
}
|
|
206
|
+
function assertQuota(record, space) {
|
|
207
|
+
if (record?.registration || record?.projectId) return;
|
|
208
|
+
if (space.review_entitlements?.can_register_project === false)
|
|
209
|
+
throw new ReviewFailed(402, "review_project_limit_reached");
|
|
210
|
+
}
|
|
211
|
+
function assertAudience(audience, space) {
|
|
212
|
+
if (audience === "private") return;
|
|
213
|
+
if (!space.review_entitlements?.allowed_collaborative_access_modes.includes(audience))
|
|
214
|
+
throw new ReviewFailed(402, "review_subscription_required");
|
|
215
|
+
}
|
|
216
|
+
function assertResumeSource(current, input) {
|
|
217
|
+
if (current.share && input.action === "share" && current.version.source !== "ready")
|
|
218
|
+
throw new Error(
|
|
219
|
+
"The shared video is unfinished and local edits have changed. Run hyperframes share --update to explicitly upload the current project."
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
function createShareService(projectPath, progress = () => {
|
|
223
|
+
}, options = {}) {
|
|
224
|
+
const dir = bindCliShareProject(projectPath);
|
|
225
|
+
const auth = createShareAccess(options.pinIdentity);
|
|
226
|
+
const client = reviewClient(auth);
|
|
227
|
+
const status = async (expectedProjectId) => {
|
|
228
|
+
await auth.access();
|
|
229
|
+
return readStatus(dir, client, expectedProjectId);
|
|
230
|
+
};
|
|
231
|
+
const upload = async (input, projectId, sources, attempt) => {
|
|
232
|
+
const end = Date.now() + (input.waitSeconds ?? 300) * 1e3;
|
|
233
|
+
let added = false;
|
|
234
|
+
const failure = await addVersion({
|
|
235
|
+
projectPath: dir,
|
|
236
|
+
projectId,
|
|
237
|
+
title: basename2(dir),
|
|
238
|
+
client,
|
|
239
|
+
onProgress: (value) => {
|
|
240
|
+
attempt.progress(value);
|
|
241
|
+
progress(value);
|
|
242
|
+
},
|
|
243
|
+
allowPending: true,
|
|
244
|
+
...sources.filesForExport && { filesForExport: sources.filesForExport },
|
|
245
|
+
requireSource: sources.requireSource,
|
|
246
|
+
omitSource: sources.source.at === "video_only",
|
|
247
|
+
onAdded: () => {
|
|
248
|
+
added = true;
|
|
249
|
+
},
|
|
250
|
+
open: () => Date.now() < end
|
|
251
|
+
});
|
|
252
|
+
if (failure) throw new Error(failure);
|
|
253
|
+
const result = { ...await status(projectId), source: sources.source };
|
|
254
|
+
if (result.version.failure) throw new Error(result.version.failure);
|
|
255
|
+
if (!added && !result.version.last?.current) {
|
|
256
|
+
attempt.complete(false, added);
|
|
257
|
+
return { ...result, state: "processing", ready: false, url: null };
|
|
258
|
+
}
|
|
259
|
+
attempt.complete(result.ready, added);
|
|
260
|
+
return result;
|
|
261
|
+
};
|
|
262
|
+
const uploadTarget = async (current, input, space) => {
|
|
263
|
+
const share = current ? await reviewStatus({ projectPath: dir, client }) : await shareForReview({
|
|
264
|
+
projectPath: dir,
|
|
265
|
+
title: basename2(dir),
|
|
266
|
+
client,
|
|
267
|
+
spaceId: space,
|
|
268
|
+
audience: input.audience
|
|
269
|
+
});
|
|
270
|
+
assertUploadProject(share, current?.projectId);
|
|
271
|
+
if (share.takedown) throw new ReviewFailed(409, "moderation_hold");
|
|
272
|
+
assertExistingIntent(share, {
|
|
273
|
+
...input,
|
|
274
|
+
space: input.space ?? space,
|
|
275
|
+
audience: input.audience ?? current?.access
|
|
276
|
+
});
|
|
277
|
+
return { projectId: share.projectId, spaceId: share.space?.id, audience: share.access };
|
|
278
|
+
};
|
|
279
|
+
const checkPreparedTarget = async (target) => {
|
|
280
|
+
const share = await reviewStatus({ projectPath: dir, client });
|
|
281
|
+
assertUploadProject(share, target.projectId);
|
|
282
|
+
if (share.takedown) throw new ReviewFailed(409, "moderation_hold");
|
|
283
|
+
assertExistingIntent(share, {
|
|
284
|
+
action: "update",
|
|
285
|
+
space: target.spaceId,
|
|
286
|
+
audience: target.audience
|
|
287
|
+
});
|
|
288
|
+
};
|
|
289
|
+
const mutate = async (input, attempt) => {
|
|
290
|
+
await auth.access();
|
|
291
|
+
attempt.authenticated();
|
|
292
|
+
const current = await readStatus(dir, client, void 0, attempt.recover);
|
|
293
|
+
assertExistingIntent(current.share, input);
|
|
294
|
+
if (retrievesExisting(current, input)) {
|
|
295
|
+
attempt.retrieved();
|
|
296
|
+
return current;
|
|
297
|
+
}
|
|
298
|
+
const flags = await client.reviewFlags();
|
|
299
|
+
if (!flags.versionSharing) throw new ReviewFailed(403, "feature_unavailable");
|
|
300
|
+
const space = current.share ? current.share.space?.id : await preflightFirst(dir, client, input);
|
|
301
|
+
assertResumeSource(current, input);
|
|
302
|
+
assertReviewUploadStorage();
|
|
303
|
+
await prepareShareRender(dir);
|
|
304
|
+
const target = await uploadTarget(current.share, input, space);
|
|
305
|
+
const sources = await prepareCliShareSource(dir, auth.access, target.spaceId, {
|
|
306
|
+
videoOnly: input.videoOnly,
|
|
307
|
+
shareFiles: flags.shareFiles
|
|
308
|
+
});
|
|
309
|
+
if (sources.requireSource) await checkPreparedTarget(target);
|
|
310
|
+
return upload(input, target.projectId, sources, attempt);
|
|
311
|
+
};
|
|
312
|
+
return {
|
|
313
|
+
checkSession: (verifyIdentity = false) => auth.access(void 0, verifyIdentity),
|
|
314
|
+
status,
|
|
315
|
+
run: (input) => input.action === "status" || input.action === "manage" ? status() : observeShareMutation(
|
|
316
|
+
input.action,
|
|
317
|
+
options.surface ?? "cli",
|
|
318
|
+
(attempt) => mutate(input, attempt)
|
|
319
|
+
),
|
|
320
|
+
capabilities: () => client.reviewFlags(),
|
|
321
|
+
spaces: () => client.spaces(),
|
|
322
|
+
setAccess: async (access) => {
|
|
323
|
+
await setReviewAccess({ projectPath: dir, client, change: { access } });
|
|
324
|
+
return status();
|
|
325
|
+
},
|
|
326
|
+
linkOff: async () => {
|
|
327
|
+
await turnOffReviewLink({ projectPath: dir, client });
|
|
328
|
+
return status();
|
|
329
|
+
},
|
|
330
|
+
linkOn: async () => {
|
|
331
|
+
if (!(await status()).share) throw new ReviewFailed(404, "not_shared");
|
|
332
|
+
await shareForReview({ projectPath: dir, title: basename2(dir), client });
|
|
333
|
+
return status();
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
function hasFailedVersion(version) {
|
|
338
|
+
return Boolean(version.failure && !version.held);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export {
|
|
342
|
+
createShareService
|
|
343
|
+
};
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
isSafeMediaUrl,
|
|
51
51
|
parseFontShorthand,
|
|
52
52
|
resolveAliasDisplayName2 as resolveAliasDisplayName
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-AAENGP3S.js";
|
|
54
54
|
import {
|
|
55
55
|
parseHTML
|
|
56
56
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -8143,11 +8143,11 @@ function deriveDurationFromClips(tags, rootTag) {
|
|
|
8143
8143
|
return resolveCompositionDuration({ authoredDurationSeconds: null, clipEndsSeconds: clipEnds });
|
|
8144
8144
|
}
|
|
8145
8145
|
async function loadParseGsapScript() {
|
|
8146
|
-
const mod = await import("./gsapParserAcorn-
|
|
8146
|
+
const mod = await import("./gsapParserAcorn-5YD4N6HQ.js");
|
|
8147
8147
|
return mod.parseGsapScriptAcorn;
|
|
8148
8148
|
}
|
|
8149
8149
|
async function loadGsapScriptMotionPathFirstUseIndex() {
|
|
8150
|
-
const mod = await import("./gsapParserAcorn-
|
|
8150
|
+
const mod = await import("./gsapParserAcorn-5YD4N6HQ.js");
|
|
8151
8151
|
return mod.gsapScriptMotionPathFirstUseIndex;
|
|
8152
8152
|
}
|
|
8153
8153
|
var SCENE_BOUNDARY_EPSILON_SECONDS = 0.05;
|