hyperframes 0.9.20 → 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-6U3Y7DEN.js → add-VQVP3JPZ.js} +11 -11
- package/dist/{agentPromptGenerator-2U62YSRT.js → agentPromptGenerator-PAFWQGHU.js} +6 -6
- package/dist/{animatedGifPrep-RC6CYTRI.js → animatedGifPrep-AK26JDVM.js} +6 -6
- package/dist/api.js +29 -29
- package/dist/{asset-ER2CUS6B.js → asset-N6RZSN44.js} +2 -2
- package/dist/{assetCataloger-425SRTPW.js → assetCataloger-GWF6II54.js} +7 -7
- package/dist/{audio-JUAMPMWA.js → audio-ZHVBBQRA.js} +15 -15
- package/dist/{auth-DQ52RE6K.js → auth-AJM3YSN6.js} +2 -2
- package/dist/{autoUpdate-YUZGZ5ZI.js → autoUpdate-GV4LPAJX.js} +2 -2
- package/dist/{avatars-F4HNQISE.js → avatars-5EKOR2DW.js} +10 -10
- package/dist/{backgroundChecks-MSOJBGL7.js → backgroundChecks-J4XJD4ET.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-33AZEDWV.js → batchRender-UKQ36JT2.js} +3 -3
- package/dist/{beats-WI3UU5KD.js → beats-LXYHFVPP.js} +8 -8
- package/dist/{benchmark-ZE5Y75YM.js → benchmark-KXR56MIT.js} +8 -8
- package/dist/{billing-N4BCUG7R.js → billing-3XQYSAKP.js} +10 -10
- package/dist/{browser-HUOPVD2U.js → browser-P52FDITF.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-PRR3UAJT.js → bundleWithLocalizedFonts-I3KWYN6X.js} +1 -1
- package/dist/{capture-2QNE2DEY.js → capture-2PSBIAL2.js} +3 -3
- package/dist/{capture-UWQ2GBML.js → capture-SMWSGGMG.js} +13 -13
- package/dist/{captureCompositionFrame-S2A5KJUT.js → captureCompositionFrame-WRY5ATM7.js} +12 -12
- package/dist/{catalog-BQZ55PQP.js → catalog-JIO6RXSR.js} +11 -11
- package/dist/{catch-up-JFII6DVC.js → catch-up-A73H7VGC.js} +6 -6
- package/dist/{check-KPFCL46S.js → check-FI7SUTK7.js} +37 -37
- package/dist/{checkAudio-NTES344V.js → checkAudio-73DDBXXJ.js} +9 -9
- package/dist/{checkBrowser-WQWRQO2X.js → checkBrowser-X5VVYQES.js} +31 -31
- package/dist/{chunk-IY4I7TV4.js → chunk-2HRKRRQH.js} +2 -2
- package/dist/{chunk-4XOQILDV.js → chunk-3FG3YAHZ.js} +1 -1
- package/dist/{chunk-UXEUKILH.js → chunk-3OIUJOIR.js} +1 -1
- package/dist/{chunk-MQFX4OD3.js → chunk-3TLAQU62.js} +1 -1
- package/dist/{chunk-3WLJMGCI.js → chunk-3ZXKEGKV.js} +1 -1
- package/dist/{chunk-35APUSDP.js → chunk-4EL5RKLS.js} +1 -1
- package/dist/{chunk-IBXWPFGK.js → chunk-4EMQHF3T.js} +2 -2
- package/dist/{chunk-KPCCWI5Q.js → chunk-4FNJ2QNP.js} +2 -2
- package/dist/{chunk-NZ6JYCGU.js → chunk-4NLG5TO6.js} +3 -3
- package/dist/{chunk-CKZQQ2DO.js → chunk-4UXCWPHU.js} +1 -1
- package/dist/{chunk-JXGFZG73.js → chunk-4ZLMVX3O.js} +1 -1
- package/dist/{chunk-QSOIL3EE.js → chunk-5PY66UGZ.js} +3 -3
- package/dist/{chunk-HCUEMQB4.js → chunk-7ETNIXIN.js} +1 -1
- package/dist/{chunk-4EUUYYB3.js → chunk-7EUZAQD6.js} +2 -2
- package/dist/{chunk-LNHMJ555.js → chunk-A2NL7HGF.js} +1 -1
- package/dist/{chunk-FY2QFPEK.js → chunk-A4JU6QUG.js} +1 -1
- package/dist/{chunk-BA3FUJOU.js → chunk-BABCRBAO.js} +38 -4
- package/dist/{chunk-WNPIJ7UG.js → chunk-BUCJXB6D.js} +1 -1
- package/dist/{chunk-3KJW4NNP.js → chunk-C4KYJSSF.js} +8 -8
- package/dist/{chunk-OWBXXAYQ.js → chunk-CFOJE3VR.js} +2 -2
- package/dist/{chunk-RPSR5YSD.js → chunk-CZK7A5IB.js} +4 -4
- package/dist/{chunk-3XJM7XZN.js → chunk-D3NWGOXW.js} +30 -0
- package/dist/{chunk-P2DAWEPF.js → chunk-D7C6NOOO.js} +2 -2
- package/dist/{chunk-TGSBNJYV.js → chunk-DXIGIMRP.js} +2 -2
- package/dist/{chunk-LDV6P3DG.js → chunk-DYPAXBNK.js} +1 -1
- package/dist/{chunk-GNY2WZKA.js → chunk-DZQEPGNY.js} +3 -3
- package/dist/{chunk-VM6PDH32.js → chunk-F4XUCHQQ.js} +1 -1
- package/dist/{chunk-LEVO6XYF.js → chunk-FASKJUYU.js} +33 -22
- package/dist/{chunk-NSNT4DNY.js → chunk-FET6WMTX.js} +2 -2
- package/dist/{chunk-YVFJWUSI.js → chunk-FOX7LXZ2.js} +1 -1
- package/dist/chunk-FRBQYFUV.js +481 -0
- package/dist/{chunk-WMZHESNZ.js → chunk-G5UZHDEZ.js} +2 -2
- package/dist/{chunk-5ECZJECP.js → chunk-G77Z4GWC.js} +1 -1
- package/dist/{chunk-KKNAM57Z.js → chunk-GG7RYSIU.js} +1 -1
- package/dist/{chunk-7PG57ERE.js → chunk-GH6GWAID.js} +1 -1
- package/dist/{chunk-4HWNUBW2.js → chunk-GKOSN3Q6.js} +3 -3
- package/dist/chunk-GREVQ2SM.js +5035 -0
- package/dist/{chunk-POKB2QVF.js → chunk-H7N3J7Y3.js} +2 -2
- package/dist/{chunk-DNWZ66ND.js → chunk-HCFBCEJT.js} +1 -1
- package/dist/{chunk-RFG4XUMQ.js → chunk-I7WVS7WN.js} +1 -1
- package/dist/{chunk-7CGSZ3OR.js → chunk-IFY5ACTF.js} +13 -13
- package/dist/{chunk-Q6DA3X34.js → chunk-IQR26ZJD.js} +3 -3
- package/dist/{chunk-PWP4W2PF.js → chunk-IRWQMKV7.js} +1 -1
- package/dist/{chunk-USRF4NA6.js → chunk-ITO3VCCW.js} +10 -10
- package/dist/{chunk-76HDNQDL.js → chunk-JNN2CTGU.js} +2 -2
- package/dist/{chunk-XACDCHJF.js → chunk-JT6LFFYK.js} +1 -1
- package/dist/{chunk-QUYTXJLE.js → chunk-L2SQTHMP.js} +1 -1
- package/dist/{chunk-OAQTFIWB.js → chunk-L4C4F4O3.js} +3 -3
- package/dist/{chunk-UH6JF4TY.js → chunk-LDO7SB4J.js} +2 -2
- package/dist/{chunk-TKHWUM6J.js → chunk-LGSSYJS2.js} +2 -2
- package/dist/{chunk-XU5LAY46.js → chunk-LIFQONFJ.js} +1 -1
- package/dist/{chunk-5WKW4P6P.js → chunk-LLUKDUVS.js} +28 -15
- package/dist/{chunk-FXPBFARU.js → chunk-LMUF3BGR.js} +1 -1
- package/dist/{chunk-FPM6B5X5.js → chunk-LQBZCXMR.js} +2 -2
- package/dist/{chunk-Y5ZW3BRK.js → chunk-M32FE7JZ.js} +3 -3
- package/dist/{chunk-76IGIELW.js → chunk-M7Z2SEQG.js} +2 -2
- package/dist/{chunk-D3ZYDQMH.js → chunk-MERPHIUD.js} +2 -2
- package/dist/{chunk-JWORQ5WQ.js → chunk-MFDNMTOP.js} +1 -1
- package/dist/{chunk-C2PQTWAH.js → chunk-MNMIIDOX.js} +1 -1
- package/dist/{chunk-N2I2YUL7.js → chunk-NBHVLN5J.js} +7 -7
- package/dist/{chunk-ZNUMTYBZ.js → chunk-NTNNGWKO.js} +3 -3
- package/dist/{chunk-L6XUDQW6.js → chunk-ONBYVA2L.js} +18 -7
- package/dist/{chunk-4J2Y6G2X.js → chunk-OQ6VGBQV.js} +1 -1
- package/dist/{chunk-UECTSXVZ.js → chunk-OXMEC34G.js} +1 -1
- package/dist/{chunk-MHW4MMV4.js → chunk-OXUX73RX.js} +10 -10
- package/dist/{chunk-7DGAJ7RY.js → chunk-P7WDQTQZ.js} +1 -1
- package/dist/{chunk-6FI5JRM3.js → chunk-PJNDSYJV.js} +301 -97
- package/dist/{chunk-M5CDC3VO.js → chunk-PPOJMJR5.js} +25 -15
- package/dist/{chunk-QYWOP6MH.js → chunk-Q2LO2ZF6.js} +3 -3
- package/dist/{chunk-5V3R5ZMY.js → chunk-QAES6F2D.js} +7 -7
- package/dist/{chunk-BQ2U65ZF.js → chunk-QXVJ33BP.js} +99 -13
- package/dist/{chunk-A457YCWN.js → chunk-RLY4LECT.js} +2 -2
- package/dist/{chunk-NHV3G6JH.js → chunk-RQIR2BOG.js} +1 -1
- package/dist/{chunk-5KJWA22L.js → chunk-RYRSI623.js} +5 -5
- package/dist/{chunk-Z745SNN4.js → chunk-TERSCNBN.js} +19 -8
- package/dist/{chunk-X254MPK3.js → chunk-TLNKHH52.js} +1 -1
- package/dist/{chunk-HIT72LVX.js → chunk-UFMWWEL3.js} +7 -7
- package/dist/{chunk-RONKIDIW.js → chunk-W62DJ5ZK.js} +5 -5
- package/dist/{chunk-PGNE33QK.js → chunk-WFEKL42K.js} +33 -15
- package/dist/{chunk-G2C7OTXI.js → chunk-WZCSU7ZP.js} +1 -1
- package/dist/{chunk-7ISXVZHB.js → chunk-XC5PF4T4.js} +4 -4
- package/dist/{chunk-SVOUYNKZ.js → chunk-XQUO3BOS.js} +37 -20
- package/dist/{chunk-XID37ELP.js → chunk-XRNXGF7I.js} +2 -2
- package/dist/{chunk-PAFAOFZZ.js → chunk-YALKIB2K.js} +1 -1
- package/dist/{chunk-SH6P5CMQ.js → chunk-YQV44DRO.js} +1 -1
- package/dist/{chunk-S6MXHF7C.js → chunk-YZKRMBYH.js} +1 -1
- package/dist/{chunk-S45SR3TL.js → chunk-ZEQOP7XA.js} +2 -2
- package/dist/{chunk-TCW3ALLF.js → chunk-ZFYCYUVY.js} +2 -2
- package/dist/{chunk-GH4QTKBM.js → chunk-ZH3SXWCV.js} +7 -7
- package/dist/{chunk-P2GR4V7S.js → chunk-ZNFYQMFN.js} +1 -1
- package/dist/{clean-5FFXB5MF.js → clean-PILJFGU2.js} +16 -16
- package/dist/cli.js +60 -60
- package/dist/{cloud-CINLC3NP.js → cloud-D7DFYONW.js} +2 -2
- package/dist/{cloud-XC5OSAE2.js → cloud-HBMQH4EU.js} +4 -4
- package/dist/{cloudrun-VVU4XERK.js → cloudrun-JZQMF5DS.js} +4 -4
- package/dist/commands/layout-audit.browser.js +287 -23
- package/dist/{compare-6ZVA7JDY.js → compare-5RSAPYJI.js} +28 -28
- package/dist/{compiler-4WKTHUPH.js → compiler-T4BPLRFY.js} +3 -3
- package/dist/{component-CYXNZPHM.js → component-DMHFV7BD.js} +3 -3
- package/dist/{compositions-Z53CMRFQ.js → compositions-OW776OLK.js} +10 -10
- package/dist/{curve-ZLVHONKG.js → curve-4GNM7DWM.js} +10 -10
- package/dist/{cuts-JGHDX4ND.js → cuts-M5R2LKDZ.js} +11 -11
- package/dist/{delete-C6KCUXEV.js → delete-MYG77L66.js} +5 -5
- package/dist/{deploy-3W4FAFBU.js → deploy-FGHE4FID.js} +1 -1
- package/dist/{describeProject-NB7JQQRZ.js → describeProject-SLAKVOOS.js} +7 -7
- package/dist/{diff-77IF7ZGC.js → diff-TNHEXG72.js} +29 -29
- package/dist/{dist-PVM257OR.js → dist-23VTYBIX.js} +9 -9
- package/dist/{dist-LPVHFSCW.js → dist-5ITUK4AA.js} +5 -3
- package/dist/{dist-2MTQQEZT.js → dist-PEDQQRFU.js} +2 -2
- package/dist/{doctor-7ARBZ2FZ.js → doctor-ILCPSC6S.js} +10 -10
- package/dist/{energy-2I6O5IQY.js → energy-SCJII6HC.js} +11 -11
- package/dist/{events-MCXWDE3G.js → events-D2QORX35.js} +2 -2
- package/dist/{events-CG6ZFBPQ.js → events-OHIGKF4W.js} +5 -5
- package/dist/{events-CXZTEW5W.js → events-ZMK5VRA2.js} +13 -13
- package/dist/{extract-NSSKZ7EO.js → extract-OD3LI3YL.js} +11 -11
- package/dist/{face-CZBXJIJD.js → face-SFQDTQXC.js} +11 -11
- package/dist/{feedback-3ZZQHXQA.js → feedback-N3JK4ULK.js} +8 -8
- package/dist/{ffmpeg-KOJQXOMH.js → ffmpeg-E55HQX7V.js} +6 -6
- package/dist/{figma-T77MIMMN.js → figma-JYVZPN5L.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{frames-GMXMQ7DQ.js → frames-BLCIN32Q.js} +12 -12
- package/dist/{generate-PN2N6MQV.js → generate-B7MUYYON.js} +21 -21
- package/dist/{get-AMP7GO2J.js → get-VQWG2NY4.js} +5 -5
- package/dist/{gpuPolicy-336CZTOI.js → gpuPolicy-3TMFL6TM.js} +6 -6
- package/dist/{grade-compare-XHR7XCIJ.js → grade-compare-LCS5CBNW.js} +29 -29
- package/dist/{heifImagePrep-GAATPFZJ.js → heifImagePrep-VHAJEZGL.js} +7 -7
- package/dist/{help-QLT7Q5CF.js → help-GSE5DFSB.js} +1 -1
- package/dist/{history-IBK4ICX6.js → history-RSB65UN3.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +73 -73
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-IF6TAH4N.js → info-FLLONVY5.js} +12 -12
- package/dist/{init-7TY3OJ6O.js → init-EAKY3LFR.js} +26 -26
- package/dist/{ink-PGZ7QSBH.js → ink-ZDZVD5CD.js} +11 -11
- package/dist/{inspect-LHLSKDYO.js → inspect-LFEK6HOL.js} +29 -29
- package/dist/{installer-DBTP7YGS.js → installer-5NJVGV6X.js} +4 -4
- package/dist/{keyframes-4M4776JR.js → keyframes-TZBDB442.js} +8 -8
- package/dist/{lambda-FFMB6Y76.js → lambda-RYX5NXX5.js} +10 -10
- package/dist/{layout-LJHS7HFD.js → layout-VATFBERH.js} +29 -29
- package/dist/{lint-2J5AVK6D.js → lint-QAGBHUXZ.js} +22 -12
- package/dist/{lintProject-2OD4CDTW.js → lintProject-BC5ISNKQ.js} +1 -1
- package/dist/{list-MAYBNZEL.js → list-VQZOLGEO.js} +5 -5
- package/dist/{localPage-EKPNDJ27.js → localPage-ZEJ7ZKIE.js} +6 -6
- package/dist/{login-CEU43XKU.js → login-7BL2N6JG.js} +4 -4
- package/dist/{look-IYTF5GLD.js → look-OKDV2W4W.js} +11 -11
- package/dist/{manager-DILAI3UF.js → manager-QPEMMSLW.js} +7 -7
- package/dist/{measure-2WZGYPYI.js → measure-WJ6TR545.js} +11 -11
- package/dist/{media-treatment-NEY3KFIE.js → media-treatment-QYQVLCYP.js} +12 -12
- package/dist/{media-use-3RF5K7J2.js → media-use-OWKQQSPJ.js} +3 -3
- package/dist/{models-JG3K3WHB.js → models-FZ4HL5BX.js} +10 -10
- package/dist/{motionShot-BXTTHXNC.js → motionShot-IHZ544WM.js} +15 -15
- package/dist/{normalize-audio-V42ORWPJ.js → normalize-audio-77ZTAPPL.js} +8 -8
- package/dist/{open-TIGOP4UL.js → open-Q7AAAYVN.js} +66 -15
- package/dist/{parakeetRunner-ECBLSKPA.js → parakeetRunner-TAMKXXNN.js} +11 -11
- package/dist/{pipeline-NAQKFYVO.js → pipeline-MK7LCHQD.js} +9 -9
- package/dist/{play-OCUIRYGT.js → play-WBLWBDBS.js} +19 -19
- package/dist/{preflight-FXN2DIKX.js → preflight-O2EH2LOC.js} +7 -7
- package/dist/{present-EIPGUFX2.js → present-3GW46ZYF.js} +15 -15
- package/dist/{preview-D3DGM36N.js → preview-MPAHNXEJ.js} +53 -499
- package/dist/{probe-LHGNRPYJ.js → probe-4F2PK26B.js} +11 -11
- package/dist/{producer-MUSGQJB5.js → producer-T462QJC7.js} +1 -1
- package/dist/{projectConfig-5XHCXAR2.js → projectConfig-T3WVF6H4.js} +6 -6
- package/dist/{publication-YHI2M2PN.js → publication-DX3VDYCI.js} +2 -2
- package/dist/{publish-DD4ZAHEH.js → publish-VNMKJMAK.js} +10 -10
- package/dist/{remove-background-AJBLAXSV.js → remove-background-7LE4IIOE.js} +10 -10
- package/dist/{render-32BRUXZK.js → render-5PTZ5VLW.js} +5 -5
- package/dist/{render-AKGMPEQ4.js → render-JKUR7OI2.js} +26 -26
- package/dist/{render-LCH7X3UA.js → render-RPHNBD4F.js} +31 -31
- package/dist/{render-batch-BGZ4XDDA.js → render-batch-X2QMZUYH.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-M64IRWRP.js → resolver-AXDCEJ77.js} +4 -4
- package/dist/{reverse-HLLQAI77.js → reverse-DQSOSC5W.js} +1 -1
- package/dist/{run-Q4IUMQIY.js → run-IQLZHH6D.js} +3 -3
- package/dist/{screenshotCapture-INHISXPC.js → screenshotCapture-EAATIOT3.js} +7 -7
- package/dist/{sherpa-MQLZFNTX.js → sherpa-NPPB3DTN.js} +10 -10
- 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-W4F5AJ2K.js → skills-S2ODBBMC.js} +8 -8
- package/dist/{skillsUpdateCheck-GVFHBX3G.js → skillsUpdateCheck-AOCZDRXM.js} +3 -3
- package/dist/{snapshot-34FUMOEG.js → snapshot-SS6WDSZ5.js} +36 -36
- package/dist/{src-M3NYEBA7.js → src-HHRR3UTF.js} +8 -8
- package/dist/{src-VL6XKFAA.js → src-MYVZPRHS.js} +5 -5
- package/dist/{start-A3YWCGDG.js → start-OYIXMJKF.js} +18 -18
- package/dist/{staticProjectServer-6NQWZP3Q.js → staticProjectServer-65X4MWEN.js} +17 -17
- package/dist/{status-ZBUL7MPB.js → status-JEYVWANY.js} +10 -10
- package/dist/studio/assets/{hyperframes-player-ZQZslutT.js → hyperframes-player-DqxUNa9H.js} +3 -3
- package/dist/studio/assets/{index-Bn5atbhb.js → index-CFUJyYA1.js} +1 -1
- package/dist/studio/assets/{index-Bz2pYyGM.js → index-Cq43Ovkf.js} +17 -17
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CIDVEQUP.js → studio-api-GJGFGQQW.js} +9 -9
- package/dist/{studioServer-4FEM4AAL.js → studioServer-IS27DJNF.js} +48 -48
- package/dist/{sync-PXQD6JNH.js → sync-NLK2RFSR.js} +11 -11
- package/dist/{telemetry-W7PZ4E2A.js → telemetry-BPPPHER2.js} +5 -5
- package/dist/templates/_shared/AGENTS.md +3 -1
- package/dist/templates/_shared/CLAUDE.md +3 -1
- package/dist/{templates-ELZU33UU.js → templates-YWBAFFI4.js} +10 -10
- package/dist/{timeline-O7BR3IKC.js → timeline-FAFHG2G4.js} +17 -17
- package/dist/{tokens-RNFI6LFF.js → tokens-QCZBFNMS.js} +2 -2
- package/dist/{transcribe-GUUUSHHL.js → transcribe-2P6GMYWR.js} +23 -23
- package/dist/{transcribe-XQOGYK6P.js → transcribe-VL3YKFMY.js} +9 -9
- package/dist/{update-J37ZLNH7.js → update-NWDCG6JG.js} +9 -9
- package/dist/{updateCheck-ALBUZ6YM.js → updateCheck-PX4XSKDO.js} +2 -2
- package/dist/{upgrade-NVG73VIE.js → upgrade-VWETDZDT.js} +3 -3
- package/dist/{upload-HBALN6HE.js → upload-PEY7EYFV.js} +3 -2
- package/dist/{urlDownloader-TKEHDA5W.js → urlDownloader-7TVBPNBG.js} +5 -5
- package/dist/{validate-3TFHU3MJ.js → validate-HCJAHDTZ.js} +23 -23
- package/dist/{video-PBNQGPQO.js → video-JDUB5IFM.js} +7 -7
- package/dist/{voices-PF7EV4O4.js → voices-YBKCBC6K.js} +19 -19
- package/dist/warmCheck.js +37 -37
- package/package.json +1 -1
- package/dist/chunk-7DS3STTY.js +0 -5035
|
@@ -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,10 +7,10 @@ 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,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
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) {
|
|
@@ -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,
|
|
@@ -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";
|
|
@@ -11366,6 +11366,10 @@ function querySelectorAllIncludingTemplates(root, selector) {
|
|
|
11366
11366
|
}
|
|
11367
11367
|
return matches;
|
|
11368
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
|
+
}
|
|
11369
11373
|
function contentDigest(html) {
|
|
11370
11374
|
return createHash("sha256").update(html).digest("hex").slice(0, 16);
|
|
11371
11375
|
}
|
|
@@ -11505,7 +11509,7 @@ function declaredProjectFontFamilies(projectDir, sources) {
|
|
|
11505
11509
|
}
|
|
11506
11510
|
return [...families];
|
|
11507
11511
|
}
|
|
11508
|
-
async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
11512
|
+
async function lintProject(projectDir, entryFile, hostOptions = {}, { includeUnmounted = false } = {}) {
|
|
11509
11513
|
const indexPath = entryFile ? resolve(entryFile) : resolve(projectDir, "index.html");
|
|
11510
11514
|
if (entryFile && !isWithinProjectRoot(projectDir, indexPath)) {
|
|
11511
11515
|
throw new Error(`Explicit lint entry is outside the project directory: ${entryFile}`);
|
|
@@ -11517,10 +11521,11 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11517
11521
|
let totalWarnings = 0;
|
|
11518
11522
|
let totalInfos = 0;
|
|
11519
11523
|
const rootHtml = readTextFile(indexPath);
|
|
11520
|
-
const
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
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);
|
|
11524
11529
|
const rootResult = await lintHyperframeHtml(rootHtml, {
|
|
11525
11530
|
...hostOptions,
|
|
11526
11531
|
filePath: indexPath,
|
|
@@ -11555,6 +11560,11 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11555
11560
|
const filePath = join4(compositionsDir, file);
|
|
11556
11561
|
const html = readTextFile(filePath);
|
|
11557
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
|
+
}
|
|
11558
11568
|
allHtmlSources.push({ html, compSrcPath });
|
|
11559
11569
|
if (isSnippetFragment(html)) continue;
|
|
11560
11570
|
const result = await lintHyperframeHtml(html, {
|
|
@@ -11583,7 +11593,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11583
11593
|
...lintTextureMaskAssetNotFound(projectDir, allHtmlSources),
|
|
11584
11594
|
...lintLinkedStylesheetAssets(projectDir, allHtmlSources),
|
|
11585
11595
|
...!entryFile ? lintMultipleRootCompositions(projectDir) : [],
|
|
11586
|
-
...!entryFile ? lintBlankRootWithStandaloneComposition(rootHtml, allHtmlSources) : [],
|
|
11596
|
+
...!entryFile ? lintBlankRootWithStandaloneComposition(rootHtml, [...allHtmlSources, ...unmountedSources]) : [],
|
|
11587
11597
|
...lintDuplicateAudioTracks(projectDir, rootHtml),
|
|
11588
11598
|
...lintMissingOrEmptySubComposition(projectDir, rootHtml),
|
|
11589
11599
|
...await lintVideoMediaStartPastEof(projectDir, allHtmlSources),
|
|
@@ -11605,7 +11615,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
|
|
|
11605
11615
|
totalInfos++;
|
|
11606
11616
|
}
|
|
11607
11617
|
}
|
|
11608
|
-
return { results, totalErrors, totalWarnings, totalInfos };
|
|
11618
|
+
return { results, totalErrors, totalWarnings, totalInfos, unmountedCompositions };
|
|
11609
11619
|
}
|
|
11610
11620
|
function lintBlankRootWithStandaloneComposition(rootHtml, htmlSources) {
|
|
11611
11621
|
const { document: rootDocument } = parseHTML(rootHtml);
|
|
@@ -11750,6 +11760,12 @@ function lintMissingLocalAsset(projectDir, htmlSources) {
|
|
|
11750
11760
|
}
|
|
11751
11761
|
return findings;
|
|
11752
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
|
+
}
|
|
11753
11769
|
function lintTextureMaskAssetNotFound(projectDir, htmlSources) {
|
|
11754
11770
|
const missingByFile = /* @__PURE__ */ new Map();
|
|
11755
11771
|
for (const { html, compSrcPath } of htmlSources) {
|
|
@@ -11765,10 +11781,8 @@ function lintTextureMaskAssetNotFound(projectDir, htmlSources) {
|
|
|
11765
11781
|
matches = [...cssSource.content.matchAll(MASK_IMAGE_URL_RE)];
|
|
11766
11782
|
}
|
|
11767
11783
|
for (const match of matches) {
|
|
11768
|
-
const
|
|
11769
|
-
if (
|
|
11770
|
-
const url = cleanAssetUrl(rawUrl);
|
|
11771
|
-
if (!url || isRemoteOrInlineUrl(url)) continue;
|
|
11784
|
+
const url = localCssUrl(match);
|
|
11785
|
+
if (!url) continue;
|
|
11772
11786
|
const candidates = resolveCssAssetCandidates(
|
|
11773
11787
|
projectDir,
|
|
11774
11788
|
url,
|
|
@@ -11823,10 +11837,8 @@ function lintLinkedStylesheetAssets(projectDir, htmlSources) {
|
|
|
11823
11837
|
root.walkDecls((declaration) => {
|
|
11824
11838
|
if (/^(?:-webkit-)?mask-image$/i.test(declaration.prop)) return;
|
|
11825
11839
|
for (const match of declaration.value.matchAll(CSS_URL_RE)) {
|
|
11826
|
-
const
|
|
11827
|
-
if (
|
|
11828
|
-
const url = cleanAssetUrl(rawUrl);
|
|
11829
|
-
if (!url || isRemoteOrInlineUrl(url) || url.startsWith("/")) continue;
|
|
11840
|
+
const url = localCssUrl(match);
|
|
11841
|
+
if (!url || url.startsWith("/")) continue;
|
|
11830
11842
|
if (resolveCssAssetCandidates(projectDir, url, void 0, rootRelativePath).some(existsSync3))
|
|
11831
11843
|
continue;
|
|
11832
11844
|
const key = `${rootRelativePath}\0${url}`;
|
|
@@ -12030,6 +12042,7 @@ export {
|
|
|
12030
12042
|
lintMediaUrls,
|
|
12031
12043
|
shouldBlockRender,
|
|
12032
12044
|
projectIgnore,
|
|
12045
|
+
unmountedNotice,
|
|
12033
12046
|
linkedSources,
|
|
12034
12047
|
lintProject
|
|
12035
12048
|
};
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-H6676SHA.js";
|
|
11
11
|
import {
|
|
12
12
|
readProjectConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7ETNIXIN.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSkillSlug
|
|
16
16
|
} from "./chunk-HVW7ABXD.js";
|
|
17
17
|
import {
|
|
18
18
|
trackBillingCheckoutReturnRefused
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7EUZAQD6.js";
|
|
20
20
|
|
|
21
21
|
// src/heygen/plan.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M7Z2SEQG.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YQV44DRO.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LLUKDUVS.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
warnUnknownEnumValues,
|
|
59
59
|
wrapInlineScriptWithErrorBoundary,
|
|
60
60
|
wrapScopedCompositionScript
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-GREVQ2SM.js";
|
|
62
62
|
import {
|
|
63
63
|
cssVariableName
|
|
64
64
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
linkedSources,
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-LLUKDUVS.js";
|
|
73
73
|
import {
|
|
74
74
|
readTextFile
|
|
75
75
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YZKRMBYH.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-T2WJO4XM.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YQV44DRO.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RQIR2BOG.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-C4KYJSSF.js";
|
|
14
14
|
import {
|
|
15
15
|
PROXY_VARIANT_CONFIG,
|
|
16
16
|
ProxyCapacityError,
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
recordProxyRequest,
|
|
22
22
|
resolveProxy,
|
|
23
23
|
resolveProxyVariantRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LDO7SB4J.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7ETNIXIN.js";
|
|
28
28
|
import {
|
|
29
29
|
openRangeEnd
|
|
30
30
|
} from "./chunk-VEIGTKYZ.js";
|
|
31
31
|
import {
|
|
32
32
|
listenOnBrowserSafePort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WFEKL42K.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-M7Z2SEQG.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YQV44DRO.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-OHQRQE7F.js";
|
|
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C4KYJSSF.js";
|
|
10
10
|
import {
|
|
11
11
|
openRangeEnd
|
|
12
12
|
} from "./chunk-VEIGTKYZ.js";
|
|
13
13
|
import {
|
|
14
14
|
stripSdrPngColourTags
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M7Z2SEQG.js";
|
|
16
16
|
import {
|
|
17
17
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GREVQ2SM.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/compositionServer.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-CXUT4XVT.js";
|
|
16
16
|
import {
|
|
17
17
|
createProjectConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7ETNIXIN.js";
|
|
19
19
|
import {
|
|
20
20
|
isHyperframesProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YQV44DRO.js";
|
|
22
22
|
import {
|
|
23
23
|
isCI
|
|
24
24
|
} from "./chunk-FYZFURBN.js";
|
|
@@ -188,9 +188,15 @@ function leaveIntent(dir, cta, doc) {
|
|
|
188
188
|
else writeRecord(dir, DESKTOP_CTA_RECORD, before);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function shownDir(dir, cwd) {
|
|
192
192
|
const shown = relative(cwd, dir) || ".";
|
|
193
|
-
return
|
|
193
|
+
return /\s/.test(shown) ? JSON.stringify(shown) : shown;
|
|
194
|
+
}
|
|
195
|
+
function openCommandFor(dir, cwd = process.cwd()) {
|
|
196
|
+
return `hyperframes open ${shownDir(dir, cwd)}`;
|
|
197
|
+
}
|
|
198
|
+
function previewStopCommandFor(dir, port, cwd = process.cwd()) {
|
|
199
|
+
return `hyperframes preview ${shownDir(dir, cwd)} --stop --port ${port}`;
|
|
194
200
|
}
|
|
195
201
|
var spotlightFinds = (bundleId) => spawnSync("mdfind", [`kMDItemCFBundleIdentifier == '${bundleId}'`], { encoding: "utf8" }).stdout?.split("\n").some((path) => path.endsWith(".app") && !basename(path).startsWith(".")) ?? false;
|
|
196
202
|
function desktopInstalled({
|
|
@@ -216,11 +222,15 @@ function desktopHint(dir, {
|
|
|
216
222
|
ready = HANDOFF_READY,
|
|
217
223
|
installed,
|
|
218
224
|
platform = process.platform,
|
|
219
|
-
tty = process.stdout.isTTY === true
|
|
225
|
+
tty = process.stdout.isTTY === true,
|
|
226
|
+
preview
|
|
220
227
|
} = {}) {
|
|
221
228
|
if (insideHostApp(env) || !someoneToTell(env, tty)) return null;
|
|
222
|
-
if (ready && (installed ?? desktopInstalled({ platform, env })))
|
|
223
|
-
|
|
229
|
+
if (ready && (installed ?? desktopInstalled({ platform, env }))) {
|
|
230
|
+
const open = openCommandFor(dir);
|
|
231
|
+
const how = preview === "background" ? `${open} (this stops the background preview)` : preview === "foreground" ? `stop this preview, then run ${open}` : open;
|
|
232
|
+
return `Keep editing by chatting with Framey in the desktop app: ${how}`;
|
|
233
|
+
}
|
|
224
234
|
const url = desktopDownloadUrl(platform);
|
|
225
235
|
return url ? downloadHint(url) : null;
|
|
226
236
|
}
|
|
@@ -230,6 +240,7 @@ export {
|
|
|
230
240
|
downloadHint,
|
|
231
241
|
HANDOFF_READY,
|
|
232
242
|
openInDesktop,
|
|
243
|
+
previewStopCommandFor,
|
|
233
244
|
desktopInstalled,
|
|
234
245
|
insideHostApp,
|
|
235
246
|
desktopHint
|