hyperframes 0.9.19 → 0.9.21
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-YT7BMWZB.js → add-VQVP3JPZ.js} +14 -15
- package/dist/{agentPromptGenerator-VKOL4XCD.js → agentPromptGenerator-PAFWQGHU.js} +10 -11
- package/dist/{animatedGifPrep-MD4BNSPH.js → animatedGifPrep-AK26JDVM.js} +10 -11
- package/dist/api.js +36 -37
- package/dist/{appHistory-WXJ4STHX.js → appHistory-FVDSCS64.js} +1 -1
- package/dist/{asset-J42DGWPQ.js → asset-N6RZSN44.js} +2 -2
- package/dist/{assetCataloger-XDZB53RE.js → assetCataloger-GWF6II54.js} +11 -12
- package/dist/{audio-6EV56WMQ.js → audio-ZHVBBQRA.js} +70 -26
- package/dist/{auth-ECYU3HT4.js → auth-AJM3YSN6.js} +4 -4
- package/dist/{autoUpdate-HIKCPXQA.js → autoUpdate-GV4LPAJX.js} +2 -2
- package/dist/{avatars-X7DEU57Y.js → avatars-5EKOR2DW.js} +16 -17
- package/dist/{backgroundChecks-IYWWBPTC.js → backgroundChecks-J4XJD4ET.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-3TAV6XQQ.js → batchRender-UKQ36JT2.js} +5 -6
- package/dist/{beats-IFJBCISA.js → beats-LXYHFVPP.js} +11 -12
- package/dist/{benchmark-OS6LVCAY.js → benchmark-KXR56MIT.js} +11 -12
- package/dist/{billing-4NRHG5FO.js → billing-3XQYSAKP.js} +15 -16
- package/dist/{browser-CFI3GKFB.js → browser-P52FDITF.js} +16 -4
- package/dist/{bundleWithLocalizedFonts-6YHKES5G.js → bundleWithLocalizedFonts-I3KWYN6X.js} +1 -1
- package/dist/{capture-SNHDWW7W.js → capture-2PSBIAL2.js} +3 -3
- package/dist/{capture-4H3W3FNF.js → capture-SMWSGGMG.js} +22 -23
- package/dist/{captureCompositionFrame-BH4UMGJP.js → captureCompositionFrame-WRY5ATM7.js} +16 -17
- package/dist/{catalog-RZOQ54KZ.js → catalog-JIO6RXSR.js} +14 -15
- package/dist/{catch-up-PA4QGVNL.js → catch-up-A73H7VGC.js} +18 -7
- package/dist/{check-J2TCCJL5.js → check-FI7SUTK7.js} +43 -42
- package/dist/{checkAudio-RIFMEOQI.js → checkAudio-73DDBXXJ.js} +13 -14
- package/dist/{checkBrowser-M4YCLLDJ.js → checkBrowser-X5VVYQES.js} +35 -36
- package/dist/{chunk-E3GBPA37.js → chunk-2HRKRRQH.js} +2 -2
- package/dist/{chunk-OR2FAQFS.js → chunk-3FG3YAHZ.js} +1 -1
- package/dist/{chunk-BJUPV6I3.js → chunk-3OIUJOIR.js} +1 -1
- package/dist/{chunk-FSTINYWN.js → chunk-3TLAQU62.js} +1 -1
- package/dist/{chunk-DTJV7ST5.js → chunk-3ZXKEGKV.js} +1 -1
- package/dist/{chunk-ABT7WBZZ.js → chunk-4EL5RKLS.js} +1 -1
- package/dist/{chunk-TOD5PQJF.js → chunk-4EMQHF3T.js} +2 -2
- package/dist/{chunk-6OBCXHIF.js → chunk-4FNJ2QNP.js} +4 -4
- package/dist/{chunk-3QIHS5V3.js → chunk-4NLG5TO6.js} +3 -3
- package/dist/{chunk-63LNVITK.js → chunk-4UXCWPHU.js} +1 -1
- package/dist/{chunk-UPURJC4I.js → chunk-4ZLMVX3O.js} +1 -1
- package/dist/{chunk-IV2R3NET.js → chunk-5PY66UGZ.js} +3 -3
- package/dist/{chunk-ZPJYWAAS.js → chunk-7ETNIXIN.js} +1 -1
- package/dist/{chunk-HNGHIX26.js → chunk-7EUZAQD6.js} +35 -2
- package/dist/{chunk-BEAEO4OV.js → chunk-A2NL7HGF.js} +1 -1
- package/dist/{chunk-JWQHGM3V.js → chunk-A4JU6QUG.js} +1 -1
- package/dist/{chunk-WMRHEI4N.js → chunk-ADJCNH7M.js} +1 -1
- package/dist/{chunk-ENVFGBRD.js → chunk-AXFYCH7S.js} +12 -0
- package/dist/{chunk-RRGH76QX.js → chunk-BABCRBAO.js} +38 -4
- package/dist/{chunk-SVT6FCQX.js → chunk-BUCJXB6D.js} +1 -1
- package/dist/{chunk-3UYQMVJS.js → chunk-C4KYJSSF.js} +9 -9
- package/dist/{chunk-N7D6YUGR.js → chunk-CFOJE3VR.js} +2 -2
- package/dist/{chunk-GKLZMLX3.js → chunk-CXUT4XVT.js} +22 -1
- package/dist/{chunk-2DPQ347C.js → chunk-CZK7A5IB.js} +4 -4
- package/dist/{chunk-3XJM7XZN.js → chunk-D3NWGOXW.js} +30 -0
- package/dist/{chunk-PTIOZJMF.js → chunk-D7C6NOOO.js} +2 -2
- package/dist/{chunk-H3YZRS32.js → chunk-DXIGIMRP.js} +2 -2
- package/dist/{chunk-T655WZ4R.js → chunk-DYPAXBNK.js} +1 -1
- package/dist/{chunk-4FFKOLNM.js → chunk-DZQEPGNY.js} +3 -3
- package/dist/{chunk-RKRJAQFI.js → chunk-F4XUCHQQ.js} +1 -1
- package/dist/{chunk-URGLY5QV.js → chunk-FASKJUYU.js} +98 -35
- package/dist/{chunk-7EN7RIPV.js → chunk-FET6WMTX.js} +2 -2
- package/dist/{chunk-WRBUQRJJ.js → chunk-FOX7LXZ2.js} +1 -1
- package/dist/chunk-FRBQYFUV.js +481 -0
- package/dist/{chunk-XPIP5ZV3.js → chunk-G5UZHDEZ.js} +2 -2
- package/dist/{chunk-AKEZ2BEE.js → chunk-G77Z4GWC.js} +1 -1
- package/dist/{chunk-6AYTP32B.js → chunk-GG7RYSIU.js} +1 -1
- package/dist/{chunk-KXZD37E5.js → chunk-GH6GWAID.js} +1 -1
- package/dist/{chunk-2LZO4FX3.js → chunk-GKOSN3Q6.js} +3 -3
- package/dist/chunk-GREVQ2SM.js +5035 -0
- package/dist/{chunk-J3QW55W5.js → chunk-H6676SHA.js} +1 -1
- package/dist/{chunk-SJUFAZV5.js → chunk-H7N3J7Y3.js} +2 -2
- package/dist/{chunk-RWJFNJUE.js → chunk-HCFBCEJT.js} +1 -1
- package/dist/{chunk-NKK2FRY7.js → chunk-I7WVS7WN.js} +1 -1
- package/dist/{chunk-UIUILBMB.js → chunk-IFY5ACTF.js} +13 -13
- package/dist/{chunk-M3EGX3ID.js → chunk-IQR26ZJD.js} +5 -5
- package/dist/{chunk-XYHAXHOH.js → chunk-IRWQMKV7.js} +1 -1
- package/dist/{chunk-HY5KQ4KT.js → chunk-ITO3VCCW.js} +10 -10
- package/dist/{chunk-XKYXENEP.js → chunk-JNN2CTGU.js} +2 -2
- package/dist/{chunk-6KBDQAZC.js → chunk-JT6LFFYK.js} +1 -1
- package/dist/{chunk-L24NAUBS.js → chunk-KBHBSWEE.js} +64 -19
- package/dist/{chunk-XQD6XWE3.js → chunk-L2SQTHMP.js} +1 -1
- package/dist/{chunk-ZVDYDMQA.js → chunk-L4C4F4O3.js} +3 -3
- package/dist/{chunk-RLXUABCX.js → chunk-LDO7SB4J.js} +12 -5
- package/dist/{chunk-IPXNWK7O.js → chunk-LGSSYJS2.js} +2 -2
- package/dist/{chunk-ATUCYH5L.js → chunk-LIFQONFJ.js} +1 -1
- package/dist/{chunk-NTMMUK6Q.js → chunk-LLUKDUVS.js} +38 -20
- package/dist/{chunk-IDNKBZNX.js → chunk-LMUF3BGR.js} +1 -1
- package/dist/{chunk-5PC5FMF4.js → chunk-LQBZCXMR.js} +3 -3
- package/dist/{chunk-L6YCPDRH.js → chunk-M32FE7JZ.js} +3 -3
- package/dist/{chunk-BYVDFTG6.js → chunk-M7Z2SEQG.js} +2 -2
- package/dist/{chunk-RL3CNZAX.js → chunk-MERPHIUD.js} +2 -2
- package/dist/{chunk-JWORQ5WQ.js → chunk-MFDNMTOP.js} +1 -1
- package/dist/{chunk-CBHNARFI.js → chunk-MNMIIDOX.js} +1 -1
- package/dist/{chunk-PMAGFCRB.js → chunk-NBHVLN5J.js} +7 -7
- package/dist/{chunk-Z2BBCW57.js → chunk-NTNNGWKO.js} +3 -3
- package/dist/{chunk-VXZOWF6M.js → chunk-ONBYVA2L.js} +62 -25
- package/dist/{chunk-G2HKE5CX.js → chunk-OQ6VGBQV.js} +1 -1
- package/dist/{chunk-GNING3UV.js → chunk-OXMEC34G.js} +1 -1
- package/dist/{chunk-VGAKHIDG.js → chunk-OXUX73RX.js} +10 -10
- package/dist/{chunk-A5MTIN4M.js → chunk-P7WDQTQZ.js} +1 -1
- package/dist/chunk-PJNDSYJV.js +525 -0
- package/dist/{chunk-X2TDLUIK.js → chunk-PPOJMJR5.js} +51 -16
- package/dist/{chunk-67JLV22D.js → chunk-Q2LO2ZF6.js} +3 -3
- package/dist/{chunk-CPFG5QSQ.js → chunk-QAES6F2D.js} +7 -7
- package/dist/{chunk-FJXBDFH6.js → chunk-QXVJ33BP.js} +362 -190
- package/dist/{chunk-WAY7TXDD.js → chunk-RLY4LECT.js} +2 -2
- package/dist/{chunk-JDAYOJGJ.js → chunk-RQIR2BOG.js} +1 -1
- package/dist/{chunk-YCXW65RT.js → chunk-RYRSI623.js} +5 -5
- package/dist/{chunk-BUIZAY4L.js → chunk-TERSCNBN.js} +19 -8
- package/dist/{chunk-I4G55F5J.js → chunk-TLNKHH52.js} +1 -1
- package/dist/{chunk-I2L7KR3N.js → chunk-UFMWWEL3.js} +7 -7
- package/dist/{chunk-GZK32KOL.js → chunk-W62DJ5ZK.js} +5 -5
- package/dist/{chunk-TLZCUWHQ.js → chunk-WFEKL42K.js} +266 -61
- package/dist/{chunk-LDFI55LW.js → chunk-WZCSU7ZP.js} +1 -1
- package/dist/{chunk-7HROKMNQ.js → chunk-XC5PF4T4.js} +4 -4
- package/dist/{chunk-2752JKE6.js → chunk-XQUO3BOS.js} +65 -21
- package/dist/{chunk-2AL2DME3.js → chunk-XRNXGF7I.js} +2 -2
- package/dist/{chunk-QEFMUD5U.js → chunk-YALKIB2K.js} +1 -1
- package/dist/{chunk-W6Q7Q7BS.js → chunk-YQV44DRO.js} +77 -2
- package/dist/{chunk-WBXUGXZP.js → chunk-YZKRMBYH.js} +1 -1
- package/dist/{chunk-D33DCBBM.js → chunk-ZEQOP7XA.js} +2 -2
- package/dist/{chunk-YBUZQGMX.js → chunk-ZFYCYUVY.js} +2 -2
- package/dist/{chunk-LFSSI7W3.js → chunk-ZH3SXWCV.js} +42 -15
- package/dist/{chunk-TJUJJYJC.js → chunk-ZNFYQMFN.js} +2 -2
- package/dist/{clean-PMM6YUQ3.js → clean-PILJFGU2.js} +20 -21
- package/dist/cli.js +62 -62
- package/dist/{cloud-D3WTNTF2.js → cloud-D7DFYONW.js} +4 -4
- package/dist/{cloud-OIPASJZZ.js → cloud-HBMQH4EU.js} +4 -4
- package/dist/{cloudrun-3TXJ2QOV.js → cloudrun-JZQMF5DS.js} +6 -7
- package/dist/commands/layout-audit.browser.js +287 -23
- package/dist/{compare-NC7JQXZH.js → compare-5RSAPYJI.js} +32 -33
- package/dist/{compiler-C2HCN5CA.js → compiler-T4BPLRFY.js} +4 -4
- package/dist/{component-M2VJD3QI.js → component-DMHFV7BD.js} +3 -3
- package/dist/{compositions-3QMQV5OS.js → compositions-OW776OLK.js} +14 -15
- package/dist/{curve-S3VZXTYX.js → curve-4GNM7DWM.js} +14 -15
- package/dist/{cuts-O3OKZGPU.js → cuts-M5R2LKDZ.js} +15 -16
- package/dist/{delete-RFDRT4K6.js → delete-MYG77L66.js} +7 -7
- package/dist/{deploy-LIQXICPP.js → deploy-FGHE4FID.js} +1 -1
- package/dist/{describeProject-IUAV4C55.js → describeProject-SLAKVOOS.js} +11 -12
- package/dist/{deterministicFonts-DQDB47K3.js → deterministicFonts-IXXU76SA.js} +1 -1
- package/dist/{diff-F434Y7GL.js → diff-TNHEXG72.js} +35 -36
- package/dist/{dist-KA45Z5SZ.js → dist-23VTYBIX.js} +11 -12
- package/dist/{dist-URQMS2HM.js → dist-5ITUK4AA.js} +6 -4
- package/dist/{dist-6N5S5326.js → dist-PEDQQRFU.js} +17 -17
- package/dist/docs/motion-blur.md +3 -5
- package/dist/{doctor-VAEAFW3N.js → doctor-ILCPSC6S.js} +14 -15
- package/dist/{energy-HQG367CH.js → energy-SCJII6HC.js} +15 -16
- package/dist/{events-R55FOR6B.js → events-D2QORX35.js} +2 -2
- package/dist/{events-M457QJCL.js → events-OHIGKF4W.js} +16 -4
- package/dist/{events-3HQKXGJN.js → events-ZMK5VRA2.js} +17 -18
- package/dist/{extract-KSYOILWX.js → extract-OD3LI3YL.js} +15 -16
- package/dist/{face-IOYVA3KO.js → face-SFQDTQXC.js} +15 -16
- package/dist/{feedback-OLY2Y2HB.js → feedback-N3JK4ULK.js} +18 -19
- package/dist/{ffmpeg-POWBUKIU.js → ffmpeg-E55HQX7V.js} +10 -11
- package/dist/{figma-PYAOGAQ7.js → figma-JYVZPN5L.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -15
- package/dist/{frames-RIUU6JZF.js → frames-BLCIN32Q.js} +16 -17
- package/dist/{generate-TVFTFEHB.js → generate-B7MUYYON.js} +27 -28
- package/dist/{get-ASVUBVPU.js → get-VQWG2NY4.js} +7 -7
- package/dist/{gpuPolicy-QDYHFIDS.js → gpuPolicy-3TMFL6TM.js} +10 -11
- package/dist/{grade-compare-2TVGR2WJ.js → grade-compare-LCS5CBNW.js} +33 -34
- package/dist/{heifImagePrep-ZDQ6FE6L.js → heifImagePrep-VHAJEZGL.js} +11 -12
- package/dist/{help-MZHLMNGB.js → help-GSE5DFSB.js} +1 -1
- package/dist/{history-CCPMGESN.js → history-RSB65UN3.js} +19 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -65
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-5CRW7PXR.js → info-FLLONVY5.js} +16 -17
- package/dist/{init-6U5JDVOC.js → init-EAKY3LFR.js} +30 -31
- package/dist/{ink-BVK6K2CB.js → ink-ZDZVD5CD.js} +15 -16
- package/dist/{inspect-NUGGYSLQ.js → inspect-LFEK6HOL.js} +33 -34
- package/dist/{installer-TBUJ66L6.js → installer-5NJVGV6X.js} +6 -7
- package/dist/{keyframes-N5637YSK.js → keyframes-TZBDB442.js} +16 -8
- package/dist/{lambda-VPSI7MTF.js → lambda-RYX5NXX5.js} +14 -15
- package/dist/{layout-FHJ2SQTW.js → layout-VATFBERH.js} +33 -34
- package/dist/{lint-XPRHASUK.js → lint-QAGBHUXZ.js} +27 -13
- package/dist/{lintProject-6TML32JZ.js → lintProject-BC5ISNKQ.js} +2 -2
- package/dist/{list-TST4Z4GR.js → list-VQZOLGEO.js} +7 -7
- package/dist/{localPage-NR4NBUTZ.js → localPage-ZEJ7ZKIE.js} +10 -11
- package/dist/{login-64KOPWVK.js → login-7BL2N6JG.js} +6 -6
- package/dist/{logout-EQ2HJDL4.js → logout-EKDVIU6Y.js} +2 -2
- package/dist/{look-VBHITYXG.js → look-OKDV2W4W.js} +15 -16
- package/dist/{manager-OAK67I5F.js → manager-QPEMMSLW.js} +11 -12
- package/dist/{measure-NNQ6XXH2.js → measure-WJ6TR545.js} +11 -11
- package/dist/{media-treatment-M2X3Q5NV.js → media-treatment-QYQVLCYP.js} +16 -17
- package/dist/{media-use-ZGJJL6KV.js → media-use-OWKQQSPJ.js} +4 -4
- package/dist/{models-Y24YJJ6P.js → models-FZ4HL5BX.js} +14 -15
- package/dist/{motionShot-KMU2SMX6.js → motionShot-IHZ544WM.js} +19 -20
- package/dist/{normalize-audio-27XH53UL.js → normalize-audio-77ZTAPPL.js} +11 -12
- package/dist/{open-6MLQR2BC.js → open-Q7AAAYVN.js} +70 -20
- package/dist/{parakeetRunner-BMK7KY7W.js → parakeetRunner-TAMKXXNN.js} +15 -16
- package/dist/{pipeline-AILSBZUB.js → pipeline-MK7LCHQD.js} +13 -14
- package/dist/{play-VTM2B4CS.js → play-WBLWBDBS.js} +22 -23
- package/dist/{preflight-IRQCF5ZW.js → preflight-O2EH2LOC.js} +11 -12
- package/dist/{present-JQH4CETR.js → present-3GW46ZYF.js} +18 -19
- package/dist/{preview-KGMCKLBI.js → preview-MPAHNXEJ.js} +57 -504
- package/dist/{probe-IP6W7U4A.js → probe-4F2PK26B.js} +15 -16
- package/dist/{producer-PRYLGX6W.js → producer-T462QJC7.js} +1 -1
- package/dist/{projectConfig-6WPGQGI3.js → projectConfig-T3WVF6H4.js} +8 -9
- package/dist/{publication-25E6ZMLB.js → publication-DX3VDYCI.js} +4 -5
- package/dist/{publish-6QT26AMU.js → publish-VNMKJMAK.js} +15 -16
- package/dist/{refresh-ARZZRKMP.js → refresh-ZHLUUENK.js} +2 -2
- package/dist/{remove-background-CVQQZNQQ.js → remove-background-7LE4IIOE.js} +14 -15
- package/dist/{render-3VHULZTP.js → render-5PTZ5VLW.js} +7 -8
- package/dist/{render-PUXPIIGJ.js → render-JKUR7OI2.js} +76 -39
- package/dist/{render-VMHF2RVD.js → render-RPHNBD4F.js} +42 -39
- package/dist/{render-batch-UKWKZUJM.js → render-batch-X2QMZUYH.js} +7 -8
- package/dist/renderSetupWorker.js +11 -8
- package/dist/{resolver-KEMGGVU7.js → resolver-AXDCEJ77.js} +6 -7
- package/dist/{reverse-4BCCUHPA.js → reverse-DQSOSC5W.js} +1 -1
- package/dist/{run-WZP6HXIH.js → run-IQLZHH6D.js} +5 -5
- package/dist/{screenshotCapture-VGOH65YU.js → screenshotCapture-EAATIOT3.js} +11 -12
- package/dist/{sherpa-AQJGVMWJ.js → sherpa-NPPB3DTN.js} +14 -15
- package/dist/skills/hyperframes/references/motion.md +1 -1
- package/dist/skills/hyperframes/references/storyboard.md +1 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
- package/dist/skills/media-use/audio/scripts/audio.mjs +56 -26
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +3 -3
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +16 -1
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +53 -0
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.mjs +17 -0
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +21 -0
- package/dist/skills/media-use/audio/scripts/recording.test.mjs +139 -0
- package/dist/skills/media-use/references/audio.md +2 -1
- package/dist/skills/media-use/references/heygen.md +9 -9
- package/dist/{skills-VB4OXS7B.js → skills-S2ODBBMC.js} +19 -7
- package/dist/{skillsUpdateCheck-HMGBIR2Z.js → skillsUpdateCheck-AOCZDRXM.js} +3 -3
- package/dist/{snapshot-SXWIDOD3.js → snapshot-SS6WDSZ5.js} +40 -41
- package/dist/{src-IEVHZX7S.js → src-HHRR3UTF.js} +13 -14
- package/dist/{src-RETKK67M.js → src-MYVZPRHS.js} +20 -19
- package/dist/{start-PDD5527T.js → start-OYIXMJKF.js} +24 -25
- package/dist/{staticProjectServer-GJQCWV7Y.js → staticProjectServer-65X4MWEN.js} +21 -22
- package/dist/{status-N6FGW6E2.js → status-JEYVWANY.js} +16 -17
- package/dist/studio/assets/{hyperframes-player-Dszy0WKm.js → hyperframes-player-DqxUNa9H.js} +1 -1
- package/dist/studio/assets/index-Bgfyny02.css +1 -0
- package/dist/studio/assets/{index-CWYuXWlI.js → index-CFUJyYA1.js} +1 -1
- package/dist/studio/assets/{index-BeR5xCi5.js → index-Cq43Ovkf.js} +196 -196
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-IAELPUY4.js → studio-api-GJGFGQQW.js} +11 -12
- package/dist/{studioServer-XTVVJA3E.js → studioServer-IS27DJNF.js} +66 -59
- package/dist/{sync-SDUSYR4M.js → sync-NLK2RFSR.js} +15 -16
- package/dist/{telemetry-IXOTZW4E.js → telemetry-BMPRZBBX.js} +22 -2
- package/dist/{telemetry-U4VJBESU.js → telemetry-BPPPHER2.js} +16 -4
- package/dist/templates/_shared/AGENTS.md +3 -1
- package/dist/templates/_shared/CLAUDE.md +3 -1
- package/dist/{templates-VFKKDFCR.js → templates-YWBAFFI4.js} +25 -26
- package/dist/{timeline-62HYU4LF.js → timeline-FAFHG2G4.js} +21 -22
- package/dist/{tokens-XJUQMDBP.js → tokens-QCZBFNMS.js} +2 -2
- package/dist/{transcribe-7IPTYLH2.js → transcribe-2P6GMYWR.js} +29 -30
- package/dist/{transcribe-RRGMCQBP.js → transcribe-VL3YKFMY.js} +13 -14
- package/dist/{update-EAL42IMG.js → update-NWDCG6JG.js} +20 -8
- package/dist/{updateCheck-CCDI422O.js → updateCheck-PX4XSKDO.js} +2 -2
- package/dist/{upgrade-A73PJHPY.js → upgrade-VWETDZDT.js} +3 -3
- package/dist/{upload-YQMBLKH5.js → upload-PEY7EYFV.js} +7 -2
- package/dist/{urlDownloader-JZIEE3AD.js → urlDownloader-7TVBPNBG.js} +9 -10
- package/dist/{validate-N6F4N34T.js → validate-HCJAHDTZ.js} +27 -28
- package/dist/{video-6LPKR7VA.js → video-JDUB5IFM.js} +11 -12
- package/dist/{voices-LFPLTLKV.js → voices-YBKCBC6K.js} +30 -29
- package/dist/warmCheck.js +41 -42
- package/package.json +1 -1
- package/dist/chunk-GDQQ4U3L.js +0 -226
- package/dist/chunk-TK7THLRO.js +0 -65
- package/dist/chunk-X7SYA4OP.js +0 -5035
- package/dist/studio/assets/index-CNZk2EFC.css +0 -1
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
claimDailyNotice,
|
|
9
9
|
updateCheckDisabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DYPAXBNK.js";
|
|
11
11
|
import {
|
|
12
12
|
hostAnswers
|
|
13
13
|
} from "./chunk-BR2JQQC5.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-FYZFURBN.js";
|
|
22
22
|
import {
|
|
23
23
|
VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XRNXGF7I.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/skillsUpdateCheck.ts
|
|
27
27
|
import { resolve as resolve2 } from "path";
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JT6LFFYK.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OXUX73RX.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-L4C4F4O3.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RQIR2BOG.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LGSSYJS2.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-HOCC4J5C.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GREVQ2SM.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-OHQRQE7F.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-DYPAXBNK.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
253
253
|
async function localizeRemoteAssets(html) {
|
|
254
254
|
let dir;
|
|
255
255
|
try {
|
|
256
|
-
const { loadProducer } = await import("./producer-
|
|
256
|
+
const { loadProducer } = await import("./producer-T462QJC7.js");
|
|
257
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
258
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
259
259
|
const assetDir = dir;
|
|
@@ -274,10 +274,10 @@ async function localizeRemoteAssets(html) {
|
|
|
274
274
|
}
|
|
275
275
|
async function validateInBrowser(project, opts) {
|
|
276
276
|
const projectDir = project.dir;
|
|
277
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
+
const { bundleToSingleHtml } = await import("./compiler-T4BPLRFY.js");
|
|
278
278
|
const { ensureBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
279
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
280
|
-
const { lintProject } = await import("./lintProject-
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-65X4MWEN.js");
|
|
280
|
+
const { lintProject } = await import("./lintProject-BC5ISNKQ.js");
|
|
281
281
|
const lintResult = await lintProject(projectDir);
|
|
282
282
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
283
283
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
|
|
|
298
298
|
try {
|
|
299
299
|
const browser = await ensureBrowser();
|
|
300
300
|
const puppeteer = await import("puppeteer-core");
|
|
301
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
301
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-MYVZPRHS.js");
|
|
302
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
303
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-3TMFL6TM.js");
|
|
304
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
305
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
306
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -7,24 +7,24 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
cliCheckoutLink,
|
|
9
9
|
pageUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LQBZCXMR.js";
|
|
11
11
|
import {
|
|
12
12
|
Fix
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-I7WVS7WN.js";
|
|
14
14
|
import {
|
|
15
15
|
refreshIfNeeded,
|
|
16
16
|
resolveCloudAuthHeaders,
|
|
17
17
|
resolveCloudBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-H6676SHA.js";
|
|
19
19
|
import {
|
|
20
20
|
AuthClient,
|
|
21
21
|
buildAuthHeaders,
|
|
22
22
|
resolveCredential
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KBHBSWEE.js";
|
|
24
24
|
import {
|
|
25
25
|
HyperframesApiError,
|
|
26
26
|
HyperframesCloudClient
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-D3NWGOXW.js";
|
|
28
28
|
import {
|
|
29
29
|
configDir
|
|
30
30
|
} from "./chunk-LP7B3JLC.js";
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JT6LFFYK.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NBHVLN5J.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OXUX73RX.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-G77Z4GWC.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-L4C4F4O3.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LGSSYJS2.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonFileText
|
|
35
35
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-DYPAXBNK.js";
|
|
46
46
|
import {
|
|
47
47
|
failureMessage,
|
|
48
48
|
jsonFailure
|
|
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
|
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
711
|
async function bundleProjectHtml(projectDir) {
|
|
712
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
712
|
+
const { bundleToSingleHtml } = await import("./compiler-T4BPLRFY.js");
|
|
713
713
|
return bundleToSingleHtml(projectDir);
|
|
714
714
|
}
|
|
715
715
|
async function alignViewportToComposition(page, url) {
|
|
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
728
728
|
async function runLayoutAudit(projectDir, opts) {
|
|
729
729
|
const { ensureBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
730
730
|
const puppeteer = await import("puppeteer-core");
|
|
731
|
-
const { buildChromeArgs } = await import("./src-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-MYVZPRHS.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-3TMFL6TM.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WFEKL42K.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-MYVZPRHS.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -465,6 +465,66 @@ function base64UrlEncode(buf) {
|
|
|
465
465
|
// src/auth/loopback.ts
|
|
466
466
|
import { timingSafeEqual } from "crypto";
|
|
467
467
|
import { createServer } from "http";
|
|
468
|
+
|
|
469
|
+
// src/auth/callbackPage.ts
|
|
470
|
+
var MARK_A = "M10.1851 57.8021L33.1145 73.8313C36.2202 75.9978 41.5173 73.5433 42.4816 69.4984L51.7611 30.4271C52.7253 26.3822 48.5802 23.9277 44.4602 26.0942L13.917 42.1235C6.96677 45.7676 4.97564 54.1579 10.1851 57.8021Z";
|
|
471
|
+
var MARK_B = "M87.5129 57.5141L56.9696 73.5433C52.8371 75.7098 48.7046 73.2553 49.6688 69.2104L58.9483 30.1391C59.9125 26.0942 65.2097 23.6397 68.3154 25.8062L91.2447 41.8354C96.4668 45.4796 94.4631 53.8699 87.5129 57.5141Z";
|
|
472
|
+
var STYLE = `:root{color-scheme:light dark;--bg:#f2f0ed;--ink:#1d1b18;--ink2:#5d5a55;--tile:#dff3ea;--tile-ink:#087a54;--bad:#fbe6e1;--bad-ink:#b3402e;--btn:#1d1b18;--btn-ink:#f2f0ed;--panel:#0c0c0e;--panel-ink:#f4f1ec}
|
|
473
|
+
@media(prefers-color-scheme:dark){:root{--bg:#201e1b;--ink:#f6f4f1;--ink2:#b5b1aa;--tile:#1f3a2f;--tile-ink:#37de91;--bad:#3a2420;--bad-ink:#f08a78;--btn:#f6f4f1;--btn-ink:#201e1b}}
|
|
474
|
+
*{box-sizing:border-box}html,body{height:100%;margin:0}
|
|
475
|
+
body{background:var(--bg);color:var(--ink);font:400 15px/1.45 "TT Norms",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
|
|
476
|
+
.col{position:relative;display:flex;flex-direction:column;justify-content:center;padding:48px 32px 48px max(32px,min(7vw,96px))}
|
|
477
|
+
.brand{position:absolute;top:28px;left:32px;display:flex;align-items:center;gap:10px;font-weight:600;font-size:20px;letter-spacing:-.01em}
|
|
478
|
+
.tile{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--tile);color:var(--tile-ink);margin-bottom:20px}
|
|
479
|
+
.bad .tile{background:var(--bad);color:var(--bad-ink)}
|
|
480
|
+
h1{margin:0;font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.02em;text-wrap:balance}
|
|
481
|
+
p{margin:10px 0 0;color:var(--ink2);max-width:360px;text-wrap:pretty}
|
|
482
|
+
code{font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink2)}
|
|
483
|
+
.panel{margin:14px;border-radius:24px;background:var(--panel);color:var(--panel-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
|
|
484
|
+
.panel b{font-size:26px;font-weight:600;letter-spacing:-.01em}
|
|
485
|
+
.panel small{color:rgb(244 241 236/.58);font-size:14px;margin-top:-10px}
|
|
486
|
+
.badge{position:relative}
|
|
487
|
+
.chk{display:none;position:absolute;right:-8px;bottom:-4px;width:22px;height:22px;border-radius:50%;background:#37de91;place-items:center}
|
|
488
|
+
.ok .chk{display:grid}
|
|
489
|
+
@media(max-width:760px){body{grid-template-columns:1fr;grid-template-rows:auto auto}.col{padding:84px 24px 32px}.brand{left:24px}.panel{min-height:300px;margin:12px}}`;
|
|
490
|
+
var CHECK = '<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="m5.5 12.5 4.2 4.2 8.8-9.4"/></svg>';
|
|
491
|
+
var CROSS = '<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><path d="M6.5 6.5l11 11M17.5 6.5l-11 11"/></svg>';
|
|
492
|
+
var CHK = '<span class="chk"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#0e1a14" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m6 12.5 4 4 8-9"/></svg></span>';
|
|
493
|
+
function mark(width, height, id) {
|
|
494
|
+
const gradient = (suffix, x1, y1, x2, y2) => `<linearGradient id="${suffix}${id}" gradientUnits="userSpaceOnUse" x1="${x1}" y1="${y1}" x2="${x2}" y2="${y2}"><stop offset="0" stop-color="#06E3FA"/><stop offset="1" stop-color="#4FDB5E"/></linearGradient>`;
|
|
495
|
+
return `<svg viewBox="4 22 92 56" width="${width}" height="${height}" aria-hidden="true"><defs>${gradient("a", "48.57", "25", "44.78", "71.94")}${gradient("b", "54.83", "73.84", "72.1", "32.89")}</defs><path fill="url(#a${id})" d="${MARK_A}"/><path fill="url(#b${id})" d="${MARK_B}"/></svg>`;
|
|
496
|
+
}
|
|
497
|
+
function escapeHtml(s) {
|
|
498
|
+
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
499
|
+
}
|
|
500
|
+
function page(args) {
|
|
501
|
+
const detail = args.detail ? `<p><code>${escapeHtml(args.detail)}</code></p>` : "";
|
|
502
|
+
return `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>${escapeHtml(args.title)}</title><style>${STYLE}</style></head><body class="${args.ok ? "ok" : "bad"}"><main class="col"><div class="brand">${mark(38, 23, "c")}<span>HyperFrames</span></div><div class="tile">${args.ok ? CHECK : CROSS}</div><h1>${escapeHtml(args.title)}</h1><p>${escapeHtml(args.text)}</p>${detail}</main><aside class="panel"><div class="badge">${mark(96, 58, "p")}${CHK}</div><b>HyperFrames</b><small>by HeyGen</small></aside></body></html>`;
|
|
503
|
+
}
|
|
504
|
+
function connectedPage() {
|
|
505
|
+
return page({
|
|
506
|
+
ok: true,
|
|
507
|
+
title: "You're connected",
|
|
508
|
+
text: "Return to your terminal. You can close this tab."
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
function failurePage(code, description) {
|
|
512
|
+
if (code === "access_denied") {
|
|
513
|
+
return page({
|
|
514
|
+
ok: false,
|
|
515
|
+
title: "Not authorized",
|
|
516
|
+
text: "Nothing was connected. Run the login again from your terminal."
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
return page({
|
|
520
|
+
ok: false,
|
|
521
|
+
title: "Couldn't connect",
|
|
522
|
+
text: description || "Something went wrong on the way back. Run the login again from your terminal.",
|
|
523
|
+
detail: code
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
// src/auth/loopback.ts
|
|
468
528
|
var CALLBACK_PATH = "/oauth/callback";
|
|
469
529
|
var SIGN_IN_WITH_CHECKOUT_TIMEOUT_MS = 60 * 60 * 1e3;
|
|
470
530
|
async function startLoopback(opts) {
|
|
@@ -522,13 +582,13 @@ function handleRequest(req, res, expectedState, redirectUri, resolveResult, reje
|
|
|
522
582
|
const error = params.get("error");
|
|
523
583
|
if (error) {
|
|
524
584
|
const desc = params.get("error_description") ?? "";
|
|
525
|
-
respond(res, 400,
|
|
585
|
+
respond(res, 400, failurePage(error, desc));
|
|
526
586
|
rejectResult(new Error(`OAuth authorize returned error: ${error}${desc ? ` \u2014 ${desc}` : ""}`));
|
|
527
587
|
return;
|
|
528
588
|
}
|
|
529
589
|
const state = params.get("state");
|
|
530
590
|
if (!state || !stateMatches(state, expectedState)) {
|
|
531
|
-
respond(res, 400,
|
|
591
|
+
respond(res, 400, failurePage("invalid_state", "State parameter did not match."));
|
|
532
592
|
rejectResult(new Error("OAuth state mismatch \u2014 possible CSRF, aborting."));
|
|
533
593
|
return;
|
|
534
594
|
}
|
|
@@ -537,12 +597,12 @@ function handleRequest(req, res, expectedState, redirectUri, resolveResult, reje
|
|
|
537
597
|
respond(
|
|
538
598
|
res,
|
|
539
599
|
400,
|
|
540
|
-
|
|
600
|
+
failurePage("missing_code", "Authorization code is missing from the redirect.")
|
|
541
601
|
);
|
|
542
602
|
rejectResult(new Error("OAuth redirect did not include `code`."));
|
|
543
603
|
return;
|
|
544
604
|
}
|
|
545
|
-
respond(res, 200,
|
|
605
|
+
respond(res, 200, connectedPage());
|
|
546
606
|
resolveResult({ code, redirectUri });
|
|
547
607
|
}
|
|
548
608
|
function stateMatches(actual, expected) {
|
|
@@ -563,21 +623,6 @@ function respond(res, status, body) {
|
|
|
563
623
|
connection: "close"
|
|
564
624
|
}).end(body);
|
|
565
625
|
}
|
|
566
|
-
function successPage() {
|
|
567
|
-
return `<!doctype html><html><head><meta charset="utf-8"><title>Signed in to HyperFrames</title>
|
|
568
|
-
<style>body{font-family:system-ui,sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#0b0f14;color:#e6e8eb}main{max-width:480px;text-align:center;padding:32px;border-radius:12px;background:#11161d;border:1px solid #1f2630}h1{font-weight:600;margin:0 0 8px;color:#3CE6AC}p{margin:0;color:#9aa3ad}</style>
|
|
569
|
-
</head><body><main><h1>You're signed in.</h1><p>You can close this tab and return to your terminal.</p></main></body></html>`;
|
|
570
|
-
}
|
|
571
|
-
function errorPage(code, description) {
|
|
572
|
-
const safeCode = escapeHtml(code);
|
|
573
|
-
const safeDesc = escapeHtml(description);
|
|
574
|
-
return `<!doctype html><html><head><meta charset="utf-8"><title>Sign-in failed</title>
|
|
575
|
-
<style>body{font-family:system-ui,sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#1a0b0b;color:#e6e8eb}main{max-width:480px;text-align:center;padding:32px;border-radius:12px;background:#1d1111;border:1px solid #301f1f}h1{font-weight:600;margin:0 0 8px;color:#ff7a7a}code{background:#2a1414;padding:2px 6px;border-radius:4px}p{margin:8px 0 0;color:#9aa3ad}</style>
|
|
576
|
-
</head><body><main><h1>Sign-in failed</h1><p><code>${safeCode}</code></p><p>${safeDesc}</p></main></body></html>`;
|
|
577
|
-
}
|
|
578
|
-
function escapeHtml(s) {
|
|
579
|
-
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
580
|
-
}
|
|
581
626
|
|
|
582
627
|
// src/auth/oauth.ts
|
|
583
628
|
var REVOKE_TIMEOUT_MS = 5e3;
|
|
@@ -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-XRNXGF7I.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GH6GWAID.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-M3JU24AI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WFEKL42K.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YQV44DRO.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3FG3YAHZ.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YQV44DRO.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
scanHtmlOpeningTags
|
|
39
39
|
} from "./chunk-CUCP7FKH.js";
|
|
40
40
|
|
|
41
|
-
// ../studio-server/dist/chunk-
|
|
41
|
+
// ../studio-server/dist/chunk-JBIB7WJP.js
|
|
42
42
|
import { statSync } from "fs";
|
|
43
43
|
import { sep } from "path";
|
|
44
44
|
import { spawn } from "child_process";
|
|
@@ -71,13 +71,20 @@ var BROWSER_HOSTILE_CODECS = {
|
|
|
71
71
|
hevc: { representativeMime: 'video/mp4; codecs="hvc1.1.6.L120.B0"', prewarm: true },
|
|
72
72
|
prores: { representativeMime: null, prewarm: true },
|
|
73
73
|
theora: { representativeMime: 'video/ogg; codecs="theora"', prewarm: true },
|
|
74
|
+
mpeg4: { representativeMime: null, prewarm: true },
|
|
75
|
+
mjpeg: { representativeMime: null, prewarm: true },
|
|
76
|
+
mpeg2video: { representativeMime: null, prewarm: true },
|
|
77
|
+
dnxhd: { representativeMime: null, prewarm: true },
|
|
74
78
|
// Every mainstream engine decodes AV1 and VP9, so canPlayType keeps the
|
|
75
79
|
// original and only the rare browser that cannot pays for a transcode.
|
|
76
80
|
av1: { representativeMime: 'video/mp4; codecs="av01.0.08M.08"', prewarm: false },
|
|
77
81
|
vp9: { representativeMime: 'video/webm; codecs="vp09.00.10.08"', prewarm: false }
|
|
78
82
|
};
|
|
83
|
+
var BROWSER_PLAYABLE_CODECS = /* @__PURE__ */ new Set(["h264", "vp8"]);
|
|
84
|
+
var UNLISTED_HOSTILE = { representativeMime: null, prewarm: true };
|
|
79
85
|
function hostileCodecEntry(codecName) {
|
|
80
|
-
|
|
86
|
+
if (Object.hasOwn(BROWSER_HOSTILE_CODECS, codecName)) return BROWSER_HOSTILE_CODECS[codecName];
|
|
87
|
+
return BROWSER_PLAYABLE_CODECS.has(codecName) ? void 0 : UNLISTED_HOSTILE;
|
|
81
88
|
}
|
|
82
89
|
function shouldPrewarmProxy(facts) {
|
|
83
90
|
return hostileCodecEntry(facts.codecName)?.prewarm === true;
|
|
@@ -259,7 +266,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
259
266
|
return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
|
|
260
267
|
}
|
|
261
268
|
|
|
262
|
-
// ../studio-server/dist/chunk-
|
|
269
|
+
// ../studio-server/dist/chunk-46USOJVM.js
|
|
263
270
|
import { spawn as spawn2 } from "child_process";
|
|
264
271
|
import { randomUUID } from "crypto";
|
|
265
272
|
import {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JNN2CTGU.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WFEKL42K.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
Parser
|
|
59
59
|
} from "./chunk-2RY2LWAA.js";
|
|
60
|
-
import {
|
|
61
|
-
isSceneLikeCompositionId,
|
|
62
|
-
parseSlideshowManifest,
|
|
63
|
-
resolveSlideshow
|
|
64
|
-
} from "./chunk-EPQC3FGZ.js";
|
|
65
60
|
import {
|
|
66
61
|
base,
|
|
67
62
|
recursive,
|
|
68
63
|
simple
|
|
69
64
|
} from "./chunk-WC4MTXGN.js";
|
|
65
|
+
import {
|
|
66
|
+
isSceneLikeCompositionId,
|
|
67
|
+
parseSlideshowManifest,
|
|
68
|
+
resolveSlideshow
|
|
69
|
+
} from "./chunk-EPQC3FGZ.js";
|
|
70
70
|
import {
|
|
71
71
|
__commonJS,
|
|
72
72
|
__require,
|
|
@@ -5582,6 +5582,11 @@ var coreRules = [
|
|
|
5582
5582
|
label: "crypto.getRandomValues()",
|
|
5583
5583
|
hint: "Use a seeded PRNG (e.g. a simple mulberry32) so renders are deterministic across frames."
|
|
5584
5584
|
},
|
|
5585
|
+
{
|
|
5586
|
+
pattern: /crypto\.randomUUID\s*\(/,
|
|
5587
|
+
label: "crypto.randomUUID()",
|
|
5588
|
+
hint: "Use a seeded PRNG (e.g. a simple mulberry32) so renders are deterministic across frames."
|
|
5589
|
+
},
|
|
5585
5590
|
{
|
|
5586
5591
|
pattern: /gsap\.utils\.random\s*\(/,
|
|
5587
5592
|
label: "gsap.utils.random()",
|
|
@@ -11361,6 +11366,10 @@ function querySelectorAllIncludingTemplates(root, selector) {
|
|
|
11361
11366
|
}
|
|
11362
11367
|
return matches;
|
|
11363
11368
|
}
|
|
11369
|
+
function unmountedNotice(count) {
|
|
11370
|
+
const skipped = count === 1 ? "1 file in compositions/ is" : `${count} files in compositions/ are`;
|
|
11371
|
+
return `${skipped} not mounted from index.html, so not checked; --include-unmounted adds them.`;
|
|
11372
|
+
}
|
|
11364
11373
|
function contentDigest(html) {
|
|
11365
11374
|
return createHash("sha256").update(html).digest("hex").slice(0, 16);
|
|
11366
11375
|
}
|
|
@@ -11500,7 +11509,7 @@ function declaredProjectFontFamilies(projectDir, sources) {
|
|
|
11500
11509
|
}
|
|
11501
11510
|
return [...families];
|
|
11502
11511
|
}
|
|
11503
|
-
async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
11512
|
+
async function lintProject(projectDir, entryFile, hostOptions = {}, { includeUnmounted = false } = {}) {
|
|
11504
11513
|
const indexPath = entryFile ? resolve(entryFile) : resolve(projectDir, "index.html");
|
|
11505
11514
|
if (entryFile && !isWithinProjectRoot(projectDir, indexPath)) {
|
|
11506
11515
|
throw new Error(`Explicit lint entry is outside the project directory: ${entryFile}`);
|
|
@@ -11512,10 +11521,11 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11512
11521
|
let totalWarnings = 0;
|
|
11513
11522
|
let totalInfos = 0;
|
|
11514
11523
|
const rootHtml = readTextFile(indexPath);
|
|
11515
|
-
const
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11524
|
+
const mounted = mountedSources(projectDir, rootHtml, rootCompSrcPath);
|
|
11525
|
+
const mountedPaths = new Set(mounted.map((source) => source.compSrcPath));
|
|
11526
|
+
const unmountedCompositions = [];
|
|
11527
|
+
const unmountedSources = [];
|
|
11528
|
+
const projectFontFamilies = declaredProjectFontFamilies(projectDir, mounted);
|
|
11519
11529
|
const rootResult = await lintHyperframeHtml(rootHtml, {
|
|
11520
11530
|
...hostOptions,
|
|
11521
11531
|
filePath: indexPath,
|
|
@@ -11550,6 +11560,11 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11550
11560
|
const filePath = join4(compositionsDir, file);
|
|
11551
11561
|
const html = readTextFile(filePath);
|
|
11552
11562
|
const compSrcPath = `compositions/${file}`;
|
|
11563
|
+
if (!includeUnmounted && !mountedPaths.has(compSrcPath)) {
|
|
11564
|
+
unmountedSources.push({ html, compSrcPath });
|
|
11565
|
+
if (!isSnippetFragment(html)) unmountedCompositions.push(compSrcPath);
|
|
11566
|
+
continue;
|
|
11567
|
+
}
|
|
11553
11568
|
allHtmlSources.push({ html, compSrcPath });
|
|
11554
11569
|
if (isSnippetFragment(html)) continue;
|
|
11555
11570
|
const result = await lintHyperframeHtml(html, {
|
|
@@ -11578,7 +11593,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11578
11593
|
...lintTextureMaskAssetNotFound(projectDir, allHtmlSources),
|
|
11579
11594
|
...lintLinkedStylesheetAssets(projectDir, allHtmlSources),
|
|
11580
11595
|
...!entryFile ? lintMultipleRootCompositions(projectDir) : [],
|
|
11581
|
-
...!entryFile ? lintBlankRootWithStandaloneComposition(rootHtml, allHtmlSources) : [],
|
|
11596
|
+
...!entryFile ? lintBlankRootWithStandaloneComposition(rootHtml, [...allHtmlSources, ...unmountedSources]) : [],
|
|
11582
11597
|
...lintDuplicateAudioTracks(projectDir, rootHtml),
|
|
11583
11598
|
...lintMissingOrEmptySubComposition(projectDir, rootHtml),
|
|
11584
11599
|
...await lintVideoMediaStartPastEof(projectDir, allHtmlSources),
|
|
@@ -11600,7 +11615,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11600
11615
|
totalInfos++;
|
|
11601
11616
|
}
|
|
11602
11617
|
}
|
|
11603
|
-
return { results, totalErrors, totalWarnings, totalInfos };
|
|
11618
|
+
return { results, totalErrors, totalWarnings, totalInfos, unmountedCompositions };
|
|
11604
11619
|
}
|
|
11605
11620
|
function lintBlankRootWithStandaloneComposition(rootHtml, htmlSources) {
|
|
11606
11621
|
const { document: rootDocument } = parseHTML(rootHtml);
|
|
@@ -11745,6 +11760,12 @@ function lintMissingLocalAsset(projectDir, htmlSources) {
|
|
|
11745
11760
|
}
|
|
11746
11761
|
return findings;
|
|
11747
11762
|
}
|
|
11763
|
+
function localCssUrl(match) {
|
|
11764
|
+
const rawUrl = match[1] ?? match[2] ?? match[3] ?? "";
|
|
11765
|
+
if (isUnresolvedAssetPlaceholder(rawUrl)) return void 0;
|
|
11766
|
+
const url = cleanAssetUrl(rawUrl);
|
|
11767
|
+
return url && !isRemoteOrInlineUrl(url) ? url : void 0;
|
|
11768
|
+
}
|
|
11748
11769
|
function lintTextureMaskAssetNotFound(projectDir, htmlSources) {
|
|
11749
11770
|
const missingByFile = /* @__PURE__ */ new Map();
|
|
11750
11771
|
for (const { html, compSrcPath } of htmlSources) {
|
|
@@ -11760,10 +11781,8 @@ function lintTextureMaskAssetNotFound(projectDir, htmlSources) {
|
|
|
11760
11781
|
matches = [...cssSource.content.matchAll(MASK_IMAGE_URL_RE)];
|
|
11761
11782
|
}
|
|
11762
11783
|
for (const match of matches) {
|
|
11763
|
-
const
|
|
11764
|
-
if (
|
|
11765
|
-
const url = cleanAssetUrl(rawUrl);
|
|
11766
|
-
if (!url || isRemoteOrInlineUrl(url)) continue;
|
|
11784
|
+
const url = localCssUrl(match);
|
|
11785
|
+
if (!url) continue;
|
|
11767
11786
|
const candidates = resolveCssAssetCandidates(
|
|
11768
11787
|
projectDir,
|
|
11769
11788
|
url,
|
|
@@ -11818,10 +11837,8 @@ function lintLinkedStylesheetAssets(projectDir, htmlSources) {
|
|
|
11818
11837
|
root.walkDecls((declaration) => {
|
|
11819
11838
|
if (/^(?:-webkit-)?mask-image$/i.test(declaration.prop)) return;
|
|
11820
11839
|
for (const match of declaration.value.matchAll(CSS_URL_RE)) {
|
|
11821
|
-
const
|
|
11822
|
-
if (
|
|
11823
|
-
const url = cleanAssetUrl(rawUrl);
|
|
11824
|
-
if (!url || isRemoteOrInlineUrl(url) || url.startsWith("/")) continue;
|
|
11840
|
+
const url = localCssUrl(match);
|
|
11841
|
+
if (!url || url.startsWith("/")) continue;
|
|
11825
11842
|
if (resolveCssAssetCandidates(projectDir, url, void 0, rootRelativePath).some(existsSync3))
|
|
11826
11843
|
continue;
|
|
11827
11844
|
const key = `${rootRelativePath}\0${url}`;
|
|
@@ -12025,6 +12042,7 @@ export {
|
|
|
12025
12042
|
lintMediaUrls,
|
|
12026
12043
|
shouldBlockRender,
|
|
12027
12044
|
projectIgnore,
|
|
12045
|
+
unmountedNotice,
|
|
12028
12046
|
linkedSources,
|
|
12029
12047
|
lintProject
|
|
12030
12048
|
};
|