hyperframes 0.9.25 → 0.9.26
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-FIQ7X2UM.js → add-WBZDU6CI.js} +12 -12
- package/dist/{agentPromptGenerator-BZDDAACV.js → agentPromptGenerator-HOH4K2AF.js} +7 -7
- package/dist/{animatedGifPrep-QHKEBSEG.js → animatedGifPrep-HEQTZMPU.js} +7 -7
- package/dist/api.js +29 -29
- package/dist/{asset-GI2GUGHA.js → asset-N2BCPNT3.js} +2 -2
- package/dist/{assetCataloger-UVEETMYY.js → assetCataloger-25DZ4ODD.js} +8 -8
- package/dist/{audio-XS7JJBFM.js → audio-3KDOOANX.js} +13 -13
- package/dist/{auth-4HA6L5RV.js → auth-JPNSO223.js} +2 -2
- package/dist/{autoUpdate-P2WTCGD5.js → autoUpdate-SVH5VA46.js} +2 -2
- package/dist/{avatars-ZUEC4VQX.js → avatars-UC6PUVKF.js} +11 -11
- package/dist/{backgroundChecks-23MDYVVG.js → backgroundChecks-R7JQPFEL.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-BN4H7CRS.js → batchRender-QB3UD3S3.js} +4 -4
- package/dist/{beats-BPMY6WVU.js → beats-4LQCQYU4.js} +9 -9
- package/dist/{benchmark-MTWV4OKR.js → benchmark-NNGNQLPH.js} +9 -9
- package/dist/{billing-O2UNQICC.js → billing-EKSG2MIB.js} +11 -11
- package/dist/{browser-G762CJHD.js → browser-3CMPDGDK.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-GR4BQHS5.js → bundleWithLocalizedFonts-F6WSRFC6.js} +1 -1
- package/dist/{capture-QKS2OOSF.js → capture-PIRDJMFL.js} +14 -14
- package/dist/{capture-H6DPERYY.js → capture-RRIOSJI7.js} +3 -3
- package/dist/{captureCompositionFrame-PSLV3E4Y.js → captureCompositionFrame-PHZ6UESC.js} +13 -13
- package/dist/{catalog-J5P4XZOY.js → catalog-6U6DBW2A.js} +12 -12
- package/dist/{catch-up-GAQ7GZUY.js → catch-up-CXGXBI5D.js} +7 -7
- package/dist/{check-KXMAFDHW.js → check-4YZZDHXU.js} +39 -39
- package/dist/{checkAudio-CHPYLUDB.js → checkAudio-WOI7A4XF.js} +10 -10
- package/dist/{checkBrowser-BBOMHS32.js → checkBrowser-ITUJDOQK.js} +33 -33
- package/dist/{chunk-DIWUWYQZ.js → chunk-33HKMP6U.js} +1 -1
- package/dist/{chunk-3ARWVNNK.js → chunk-3PSPF7V7.js} +3 -3
- package/dist/{chunk-CUCP7FKH.js → chunk-43G3Z3HJ.js} +12 -0
- package/dist/{chunk-FSCPSJBA.js → chunk-46KZHKVZ.js} +2 -2
- package/dist/{chunk-XZJ7A6YM.js → chunk-4H65D2CK.js} +1 -1
- package/dist/{chunk-6BI4ESZH.js → chunk-4KQ53P4K.js} +5 -5
- package/dist/{chunk-DEU4JCIF.js → chunk-4RPJGXWI.js} +1 -1
- package/dist/{chunk-FEHGZTE5.js → chunk-52C62IQX.js} +4 -4
- package/dist/{chunk-WRFETVZF.js → chunk-52VJYQB4.js} +3 -3
- package/dist/{chunk-BVOTSOAS.js → chunk-52YPYXJT.js} +3 -3
- package/dist/{chunk-6BSSCAC3.js → chunk-5FFQ7YED.js} +13 -13
- package/dist/{chunk-JNU4OO4L.js → chunk-63SZ5FQL.js} +3 -3
- package/dist/{chunk-S4KPXQ6H.js → chunk-6AKETDJH.js} +3 -3
- package/dist/{chunk-4FUWA4QW.js → chunk-6DEXJHPV.js} +2 -2
- package/dist/{chunk-DL7R6DWU.js → chunk-6ELGYAFD.js} +2 -2
- package/dist/{chunk-DBEE7F7W.js → chunk-6YYNEN54.js} +12 -12
- package/dist/{chunk-7LUVPCIB.js → chunk-7H5SDDTD.js} +1 -1
- package/dist/{chunk-XLCHFZWB.js → chunk-7N5GNBYP.js} +2 -2
- package/dist/{chunk-Z3PD7V6K.js → chunk-AIJMFLLS.js} +1 -1
- package/dist/{chunk-7GILET6T.js → chunk-ANV4RVES.js} +1 -1
- package/dist/{chunk-MS6S66B6.js → chunk-BGCZSSZN.js} +4 -4
- package/dist/{chunk-RT6MI3TZ.js → chunk-BO3R523I.js} +1 -1
- package/dist/{chunk-MCDUWW36.js → chunk-BPFUMJPR.js} +3 -3
- package/dist/{chunk-2VW2MOD2.js → chunk-BWRANVIS.js} +3 -3
- package/dist/{chunk-ANURCSEW.js → chunk-CF2MLHZJ.js} +2 -2
- package/dist/{chunk-LXFCCGHN.js → chunk-CIB4TEE4.js} +10 -10
- package/dist/{chunk-AXFYCH7S.js → chunk-CP7UNNLN.js} +1 -1
- package/dist/{chunk-GDGHSVGP.js → chunk-CT4R6NKU.js} +3 -3
- package/dist/{chunk-UHOZCI3W.js → chunk-CV3U4IKB.js} +2 -2
- package/dist/{chunk-JPCUTMUU.js → chunk-CYTQNTZM.js} +7 -7
- package/dist/{chunk-4HOYUG34.js → chunk-DIUV6JDR.js} +2 -2
- package/dist/{chunk-254HMQ7B.js → chunk-DJVONYVS.js} +1 -1
- package/dist/{chunk-FPQAQS64.js → chunk-E3V2WHNZ.js} +1 -1
- package/dist/{chunk-2ZHD474U.js → chunk-EOVICFGB.js} +2 -2
- package/dist/{chunk-PPOJMJR5.js → chunk-ETD6Z4CT.js} +34 -5
- package/dist/{chunk-32VBJHBI.js → chunk-FLRTT7XS.js} +1 -1
- package/dist/{chunk-2OKM5V4N.js → chunk-FQSX2Y2N.js} +4 -4
- package/dist/{chunk-EBPXSOT7.js → chunk-GS4EXK5R.js} +2 -2
- package/dist/{chunk-YO3ZE7KU.js → chunk-HW4BZHWD.js} +1 -1
- package/dist/{chunk-NJ3H7N4T.js → chunk-I2I3ARUF.js} +1 -1
- package/dist/{chunk-XG4YPYXX.js → chunk-I3XU2Q6N.js} +2 -2
- package/dist/{chunk-J4CMGJ6U.js → chunk-I7P3G2EK.js} +2 -2
- package/dist/{chunk-OQXVY3HI.js → chunk-ITTVMZ32.js} +1 -1
- package/dist/{chunk-VN33543F.js → chunk-IV3JATWQ.js} +21 -21
- package/dist/{chunk-3LC6GDR7.js → chunk-KGDXQ7KV.js} +1 -1
- package/dist/{chunk-T6QQOGLJ.js → chunk-KVVFSUMG.js} +2 -2
- package/dist/{chunk-EARKC4ZO.js → chunk-LSAZKSQW.js} +1 -1
- package/dist/{chunk-NAI4ID2Q.js → chunk-M56EN5Z5.js} +7 -7
- package/dist/{chunk-SG7NQ7BI.js → chunk-MAU4K3YN.js} +1 -1
- package/dist/{chunk-FQOOOFTF.js → chunk-N66SKEU4.js} +1 -1
- package/dist/{chunk-M2PGYJG3.js → chunk-NBR3RFOK.js} +1 -1
- package/dist/{chunk-AWFYCJXZ.js → chunk-O2YBW4AN.js} +7 -7
- package/dist/{chunk-J2ZNX2OY.js → chunk-OSMSO25W.js} +3 -3
- package/dist/{chunk-US2SO6O4.js → chunk-PKNU4DEG.js} +77 -11
- package/dist/{chunk-LLUKDUVS.js → chunk-PZ23EDA5.js} +1 -1
- package/dist/{chunk-PB3N3LBM.js → chunk-Q4IDT5XZ.js} +1 -1
- package/dist/{chunk-2GHQMVYE.js → chunk-Q6HWIM5T.js} +1 -1
- package/dist/{chunk-CS7DHCRZ.js → chunk-QAH3I2PN.js} +2 -2
- package/dist/{chunk-XB77ZA5A.js → chunk-QNV4S6LE.js} +1 -1
- package/dist/{chunk-TPBDABHP.js → chunk-RANSC2AP.js} +10 -10
- package/dist/{chunk-NHSCE2XY.js → chunk-RCK5GLYA.js} +2 -2
- package/dist/{chunk-7XQENYJK.js → chunk-RG32F3XB.js} +1 -1
- package/dist/{chunk-UMHSIUAC.js → chunk-RKIRQ73U.js} +2 -2
- package/dist/{chunk-BHG3PLDI.js → chunk-RTV6SDAW.js} +1 -1
- package/dist/{chunk-GXYGI5FG.js → chunk-RXRL5CFO.js} +2 -2
- package/dist/{chunk-Q5JX74IM.js → chunk-S73RS3QS.js} +2 -2
- package/dist/{chunk-DUOZSML3.js → chunk-SDNHWXXF.js} +15 -15
- package/dist/{chunk-MGQTL7M3.js → chunk-SMR2QBOB.js} +1 -1
- package/dist/{chunk-QV3RFTLC.js → chunk-SXYRNJBG.js} +1 -1
- package/dist/{chunk-XKMKXORV.js → chunk-SYYF5SUA.js} +3 -3
- package/dist/{chunk-WYXBJVM2.js → chunk-TAJ4PPMZ.js} +1 -1
- package/dist/{chunk-7TMYYSPM.js → chunk-TPMBPH73.js} +1 -1
- package/dist/{chunk-3DYZRZFI.js → chunk-U6JW263W.js} +2 -2
- package/dist/{chunk-NGO2HYW6.js → chunk-UPPOSWBD.js} +5 -5
- package/dist/{chunk-ZZFYEYKR.js → chunk-VI5AG2YK.js} +6 -6
- package/dist/{chunk-Z6XLJVZW.js → chunk-VK4PVFTZ.js} +1 -1
- package/dist/{chunk-2L6V6535.js → chunk-W62GJ6S2.js} +3 -3
- package/dist/{chunk-Y24YPVDN.js → chunk-WEH3EHVB.js} +2 -2
- package/dist/{chunk-W6PKKBDA.js → chunk-XH34R2CM.js} +1 -1
- package/dist/{chunk-XE4BDJBH.js → chunk-XNEAYK2D.js} +13 -8
- package/dist/{chunk-XSXLFVDI.js → chunk-XRLVFSPS.js} +2 -2
- package/dist/{chunk-D6AC6N7X.js → chunk-Y5IO3G5V.js} +10 -10
- package/dist/{chunk-6TDAOOGV.js → chunk-Y5NX2ID5.js} +1 -1
- package/dist/{chunk-YTGKCGLT.js → chunk-Y7N65M2H.js} +1 -1
- package/dist/{chunk-NSCS6HX2.js → chunk-YNYNZ36R.js} +2 -2
- package/dist/{chunk-TXMXWJNZ.js → chunk-YTF6LBWN.js} +2 -2
- package/dist/{chunk-OUQO3DKO.js → chunk-ZERXFV4P.js} +2 -2
- package/dist/{chunk-ELMZM2QX.js → chunk-ZUGSYS6H.js} +1 -1
- package/dist/{clean-AZC2XGXK.js → clean-CESNOFW4.js} +18 -18
- package/dist/cli.js +60 -60
- package/dist/{cloud-ID5WI6WX.js → cloud-KNNA5NNC.js} +4 -4
- package/dist/{cloudrun-K7KBTFWT.js → cloudrun-VHHNITZU.js} +6 -6
- package/dist/{compare-V452YQTT.js → compare-XWGZQA3A.js} +30 -30
- package/dist/{compiler-RWPIYAIS.js → compiler-FQXZ5JHO.js} +4 -4
- package/dist/{component-PKMWRCKF.js → component-B6LFSLBU.js} +3 -3
- package/dist/{compositions-4HLQE34P.js → compositions-525OPGMN.js} +11 -11
- package/dist/{curve-LWNXGZIR.js → curve-DJ7O5S2Z.js} +11 -11
- package/dist/{cuts-FCG44VKV.js → cuts-3FEOKZF4.js} +12 -12
- package/dist/{delete-PGIQL57A.js → delete-NYTX5VAV.js} +2 -2
- package/dist/{deploy-OYXYGAN7.js → deploy-FMWJCCAE.js} +1 -1
- package/dist/{describeProject-EPJ36LZS.js → describeProject-73BHU64A.js} +8 -8
- package/dist/{deterministicFonts-IXXU76SA.js → deterministicFonts-CEHTAMC7.js} +2 -2
- package/dist/{diff-X6UP4FGI.js → diff-23KDGJCM.js} +29 -29
- package/dist/{dist-G6COMUG7.js → dist-6FQKCYPL.js} +3 -3
- package/dist/{dist-5ITUK4AA.js → dist-AOXZZPN7.js} +2 -2
- package/dist/{dist-QMZNV55J.js → dist-GQVNNVG3.js} +11 -11
- package/dist/{doctor-ALNW7CR5.js → doctor-XZ5HNJ6Q.js} +11 -11
- package/dist/{energy-OWXBHU5V.js → energy-HGHY2XGU.js} +12 -12
- package/dist/{events-VP7QSKHQ.js → events-EWQD3H2H.js} +13 -13
- package/dist/{events-LAWAINM2.js → events-MLOHGLUP.js} +6 -6
- package/dist/{events-UO3BS6F2.js → events-UFPWOQGG.js} +2 -2
- package/dist/{extract-VYOS4QCN.js → extract-HMDTHBPW.js} +12 -12
- package/dist/{face-JR3YIVEB.js → face-63Y52JXT.js} +12 -12
- package/dist/{feedback-7YNW4VXQ.js → feedback-NX2BHXLA.js} +9 -9
- package/dist/{ffmpeg-CJZTY5IK.js → ffmpeg-Z5LJ5LYM.js} +7 -7
- package/dist/{figma-GOKUTU7D.js → figma-KRBH6NCD.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{frames-2DEBHVNX.js → frames-L4GO5IOK.js} +13 -13
- package/dist/{generate-NF5SUHZJ.js → generate-FYK2JEF7.js} +21 -21
- package/dist/{get-6VOIQACT.js → get-6DBWZJIS.js} +2 -2
- package/dist/{gpuPolicy-JDSWBFRQ.js → gpuPolicy-IZK7ETZ6.js} +7 -7
- package/dist/{grade-compare-4NO3FHH4.js → grade-compare-DMFIEWKO.js} +31 -31
- package/dist/{heifImagePrep-D7YHH6FO.js → heifImagePrep-WT26IRKU.js} +8 -8
- package/dist/{help-6E3RFPDW.js → help-7GR3533A.js} +1 -1
- package/dist/{history-KIR6V7S3.js → history-OMOIUDSV.js} +10 -10
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-BJEIZI5W.js → info-E5AMEBHN.js} +13 -13
- package/dist/{init-Z6JOMO7M.js → init-DRZP3T3W.js} +29 -29
- package/dist/{ink-DUTQDEIF.js → ink-63PXDACB.js} +12 -12
- package/dist/{inspect-SZMIZOV3.js → inspect-XKB4JFEJ.js} +31 -31
- package/dist/{installer-JTF7JFPQ.js → installer-D7OH77IN.js} +5 -5
- package/dist/{keyframes-47SSIBNC.js → keyframes-D4YUT6E3.js} +9 -9
- package/dist/{lambda-J5TLTIWN.js → lambda-S5GFZOKF.js} +12 -12
- package/dist/{layout-FV6F6OLX.js → layout-4N6AIQJB.js} +31 -31
- package/dist/{lint-56PDOTYV.js → lint-7I6I4UHH.js} +10 -10
- package/dist/{lintProject-BC5ISNKQ.js → lintProject-KXOX5QXB.js} +2 -2
- package/dist/{list-CQIDKSYA.js → list-5PWGI2AA.js} +2 -2
- package/dist/{localPage-ABSGRIBA.js → localPage-OGQ4OTTG.js} +7 -7
- package/dist/{login-DDZ4F5VD.js → login-AT3RGU2L.js} +4 -4
- package/dist/{look-N6DDKZV5.js → look-GDIIZRBH.js} +12 -12
- package/dist/{manager-N2AZZQPD.js → manager-3VDQLCQM.js} +8 -8
- package/dist/{measure-SE6XHU7X.js → measure-KWM2A5QD.js} +11 -11
- package/dist/{media-treatment-F72G2PIT.js → media-treatment-4QBXQ3D7.js} +13 -13
- package/dist/{media-use-4YR7SBNR.js → media-use-LMCTTAMZ.js} +3 -3
- package/dist/{models-GPILZH33.js → models-C2DQQIH3.js} +11 -11
- package/dist/{motionShot-3DAZIVN7.js → motionShot-NUX22LWA.js} +16 -16
- package/dist/{normalize-audio-26EV5GAR.js → normalize-audio-K6LDICR5.js} +9 -9
- package/dist/{open-7XG6SFXL.js → open-VPKHBPWT.js} +12 -12
- package/dist/{parakeetRunner-HPQ5OZLX.js → parakeetRunner-E4534WW7.js} +12 -12
- package/dist/{pipeline-OPKQDBOS.js → pipeline-JUVHGTAC.js} +10 -10
- package/dist/{play-PVR6FKX3.js → play-KBMGOUFL.js} +21 -21
- package/dist/{preflight-LFUR4JRE.js → preflight-2R2MAQIC.js} +8 -8
- package/dist/{present-4TCPMLYQ.js → present-MS6QCPUK.js} +17 -17
- package/dist/{preview-2MFKI2FY.js → preview-BDQMRB6I.js} +18 -18
- package/dist/{probe-WWO4BBQZ.js → probe-2OXPOPVD.js} +12 -12
- package/dist/{producer-5SH42ZJI.js → producer-PECYJ4WO.js} +1 -1
- package/dist/{projectConfig-L7F2OHVX.js → projectConfig-CZYM3VZF.js} +7 -7
- package/dist/{publication-MUEYZCG5.js → publication-JIWSYWXN.js} +3 -3
- package/dist/{publish-5QFFN6D4.js → publish-ZKNUSOPR.js} +11 -11
- package/dist/{remove-background-XFB5SJX5.js → remove-background-VQ7SFKC5.js} +11 -11
- package/dist/{render-E2CLPC3P.js → render-4UHIUXYW.js} +36 -36
- package/dist/{render-JBUASSHE.js → render-753ERHTH.js} +6 -6
- package/dist/{render-ARJA4MYF.js → render-JIQF7TIY.js} +30 -27
- package/dist/{render-batch-EEXJI6KV.js → render-batch-7ZOJOEPJ.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-TLZQ7CQV.js → resolver-QQOL74GH.js} +5 -5
- package/dist/{reverse-LKIVLBZ7.js → reverse-CC3GYBFW.js} +1 -1
- package/dist/{screenshotCapture-E5RMPWZS.js → screenshotCapture-2IJOZZTG.js} +8 -8
- package/dist/{sherpa-PZFB6QRE.js → sherpa-GISX4B24.js} +11 -11
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +2 -2
- package/dist/skills/hyperframes-cli/references/preview-render.md +2 -0
- package/dist/{skills-4AMSNW3U.js → skills-VIC2VZZQ.js} +9 -9
- package/dist/{skillsUpdateCheck-FMPVRPJ2.js → skillsUpdateCheck-SM7RAGJI.js} +3 -3
- package/dist/{snapshot-N3JIF3KN.js → snapshot-2ABRVH76.js} +38 -38
- package/dist/{src-LPL3NISU.js → src-7HHPSUSN.js} +6 -6
- package/dist/{src-OBVQCCNO.js → src-OZI5O5QD.js} +10 -10
- package/dist/{start-VAVEAA42.js → start-OJ2I4XZP.js} +19 -19
- package/dist/{staticProjectServer-KKBIEFAQ.js → staticProjectServer-4YDXULWX.js} +19 -19
- package/dist/{status-WMMWZJR4.js → status-DJEV6OOU.js} +11 -11
- package/dist/studio/assets/{codec-DkDSuF26.js → codec-BxQIoYb1.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-DqHhPw_M.js → hyperframes-player-CPnasNX6.js} +1 -1
- package/dist/studio/assets/{index-BeQCqWc3.js → index-BDQdyS01.js} +1 -1
- package/dist/studio/assets/{index-Tf9fkNRM.js → index-QCoqIBrS.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-CmNTruVA.js → pausedVideoDecoder-CUTtHVKV.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-MRSPHRP3.js → studio-api-Z3ZDQMO7.js} +11 -11
- package/dist/{studioServer-VBZYMPMI.js → studioServer-AYXFWMY2.js} +51 -51
- package/dist/{sync-WTM2VGNV.js → sync-ASO6S77T.js} +12 -12
- package/dist/{telemetry-XH6HM2GM.js → telemetry-AFCV2QLQ.js} +6 -6
- package/dist/{templates-QIN3YHRE.js → templates-CII6AG7E.js} +11 -11
- package/dist/{timeline-TASNQMKL.js → timeline-DQ5DZUFL.js} +19 -19
- package/dist/{tokens-BROTCLH4.js → tokens-JS2IMFGF.js} +2 -2
- package/dist/{transcribe-BXGVSXD4.js → transcribe-LH7S5HSM.js} +10 -10
- package/dist/{transcribe-X2KMHAYJ.js → transcribe-WWKYZLEO.js} +23 -23
- package/dist/{update-BVAZOPFL.js → update-EE7PVVJY.js} +10 -10
- package/dist/{updateCheck-LVXDS36Z.js → updateCheck-KY2HRZZA.js} +2 -2
- package/dist/{upgrade-A34X4BHN.js → upgrade-H266K5KB.js} +3 -3
- package/dist/{urlDownloader-EIV6N7BL.js → urlDownloader-TRUJTJTT.js} +6 -6
- package/dist/{validate-PUSI5TDW.js → validate-6RDVENOL.js} +25 -25
- package/dist/{video-U2IL2IAE.js → video-B6HLIKGZ.js} +8 -8
- package/dist/{voices-URE43KUH.js → voices-RQXHSMIG.js} +19 -19
- package/dist/warmCheck.js +39 -39
- package/package.json +1 -1
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
iterateFontFamilyDeclarations,
|
|
12
12
|
normalizeSystemFontPrimaryFamilies,
|
|
13
13
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CP7UNNLN.js";
|
|
15
15
|
import {
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZERXFV4P.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
23
23
|
prepareAnimatedGifInputs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XRLVFSPS.js";
|
|
25
25
|
import {
|
|
26
26
|
openRangeEnd,
|
|
27
27
|
parseEncoderOptions
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
videoAudioId,
|
|
187
187
|
videoStartOnMediaTimeline,
|
|
188
188
|
writeCapturedFrame
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-W62GJ6S2.js";
|
|
190
190
|
import {
|
|
191
191
|
assignBundledRuntimeCompositionIds,
|
|
192
192
|
emitMountedModuleScripts,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
parsesAsScript,
|
|
199
199
|
prepareFlattenedInnerRoot,
|
|
200
200
|
stripSdrPngColourTags
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-KVVFSUMG.js";
|
|
202
202
|
import {
|
|
203
203
|
collectScratchLeftovers,
|
|
204
204
|
removeScratch,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
redactTelemetryString,
|
|
227
227
|
resolveAuthoredTimingWindow,
|
|
228
228
|
toFps
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
230
230
|
import {
|
|
231
231
|
COMPOSITION_SOURCE_URL,
|
|
232
232
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -261,14 +261,14 @@ import {
|
|
|
261
261
|
sourceTimeAt,
|
|
262
262
|
styleElementsFor,
|
|
263
263
|
timeAtSourceTime
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-ITTVMZ32.js";
|
|
265
265
|
import {
|
|
266
266
|
chromeMajorCeiling
|
|
267
267
|
} from "./chunk-WE42NVH7.js";
|
|
268
268
|
import {
|
|
269
269
|
lintHyperframeHtml,
|
|
270
270
|
resolveReferencedStart
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-PZ23EDA5.js";
|
|
272
272
|
import {
|
|
273
273
|
isUnresolvedAssetPlaceholder,
|
|
274
274
|
readProjectFile,
|
|
@@ -307,7 +307,7 @@ import {
|
|
|
307
307
|
isAspectAgnosticResolutionAlias,
|
|
308
308
|
normalizeResolutionFlag,
|
|
309
309
|
suggestMatchingPreset
|
|
310
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
311
311
|
import {
|
|
312
312
|
parseHTML
|
|
313
313
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7755,7 +7755,7 @@ async function readLocalFont(absPath) {
|
|
|
7755
7755
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
7756
7756
|
}
|
|
7757
7757
|
async function embedLocalFontFaces(html, projectDir) {
|
|
7758
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
7758
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-CEHTAMC7.js");
|
|
7759
7759
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
7760
7760
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
7761
7761
|
let result = html;
|
|
@@ -17604,7 +17604,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17604
17604
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17605
17605
|
if (probeResult.probeSession) {
|
|
17606
17606
|
try {
|
|
17607
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
17607
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-7HHPSUSN.js");
|
|
17608
17608
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17609
17609
|
} catch (err) {
|
|
17610
17610
|
log.warn("[plan] probe session close failed", {
|
|
@@ -21020,7 +21020,7 @@ function startServer(options = {}) {
|
|
|
21020
21020
|
});
|
|
21021
21021
|
async function shutdown(signal) {
|
|
21022
21022
|
log.info(`Received ${signal}, shutting down`);
|
|
21023
|
-
const { drainBrowserPool } = await import("./src-
|
|
21023
|
+
const { drainBrowserPool } = await import("./src-7HHPSUSN.js");
|
|
21024
21024
|
await drainBrowserPool().catch(() => {
|
|
21025
21025
|
});
|
|
21026
21026
|
const handle = await Promise.race([
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
formatVariableValidationIssue,
|
|
24
24
|
validateVariables
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
26
26
|
import {
|
|
27
27
|
extractCompositionMetadata
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
29
29
|
import {
|
|
30
30
|
failCommand,
|
|
31
31
|
failUsage
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ANV4RVES.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CV3U4IKB.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-W62GJ6S2.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-7HHPSUSN.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q6HWIM5T.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ITTVMZ32.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-OHQRQE7F.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
29
29
|
|
|
30
30
|
// ../studio-server/dist/chunk-6NHWQWUJ.js
|
|
31
31
|
import { execFile } from "child_process";
|
|
@@ -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-4RPJGXWI.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-W62GJ6S2.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveNaturalMediaTimelineDuration,
|
|
23
23
|
resolveTimedImageDurationSeconds,
|
|
24
24
|
unitFloatToByte
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ITTVMZ32.js";
|
|
26
26
|
import {
|
|
27
27
|
COLOR_GROUP_ATTR,
|
|
28
28
|
COLOR_GROUP_TAG,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isTextElement,
|
|
45
45
|
keyframesToGsapAnimations,
|
|
46
46
|
serializeGsapAnimations
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
48
48
|
import {
|
|
49
49
|
parseHTML
|
|
50
50
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NBR3RFOK.js";
|
|
10
10
|
import {
|
|
11
11
|
windowsChromeCrashRemediation
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BWRANVIS.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BO3R523I.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CV3U4IKB.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6DEXJHPV.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-HOCC4J5C.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-W62GJ6S2.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-7HHPSUSN.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-4YDXULWX.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-7HHPSUSN.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-7HHPSUSN.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -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-Y5IO3G5V.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-KVVFSUMG.js";
|
|
16
16
|
import {
|
|
17
17
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ITTVMZ32.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/compositionServer.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -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-6DEXJHPV.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-W62GJ6S2.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MAU4K3YN.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XH34R2CM.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TPMBPH73.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-63SZ5FQL.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VK4PVFTZ.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6ELGYAFD.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-HOCC4J5C.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CF2MLHZJ.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6AKETDJH.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HW4BZHWD.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// src/utils/bundleWithLocalizedFonts.ts
|
|
15
15
|
async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-FQXZ5JHO.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir, bundleOptions);
|
|
18
18
|
return localizeFonts(html);
|
|
19
19
|
}
|
|
20
20
|
async function loadFontInjector() {
|
|
21
21
|
try {
|
|
22
|
-
const { loadProducer } = await import("./producer-
|
|
22
|
+
const { loadProducer } = await import("./producer-PECYJ4WO.js");
|
|
23
23
|
const mod = await loadProducer();
|
|
24
24
|
return mod.injectDeterministicFontFaces ?? null;
|
|
25
25
|
} catch {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-LP7B3JLC.js";
|
|
19
19
|
import {
|
|
20
20
|
projectIgnore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PZ23EDA5.js";
|
|
22
22
|
import {
|
|
23
23
|
CSS_URL_RE,
|
|
24
24
|
isNonRelativeUrl,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
decodeUrlPathVariants,
|
|
30
30
|
encodeUrlPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-43G3Z3HJ.js";
|
|
32
32
|
import {
|
|
33
33
|
parseHTML
|
|
34
34
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -387,7 +387,7 @@ function addExternalAsset(ctx, absPath) {
|
|
|
387
387
|
if (existing) return existing;
|
|
388
388
|
const rel = relative(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
389
389
|
const stripped = rel.replace(/^(?:\.\.\/)+/, "");
|
|
390
|
-
let archivePath = `${EXT_ASSETS_PREFIX}/${stripped}
|
|
390
|
+
let archivePath = archiveKey(`${EXT_ASSETS_PREFIX}/${stripped}`);
|
|
391
391
|
if (ctx.usedArchivePaths.has(archivePath)) {
|
|
392
392
|
const ext = posix.extname(archivePath);
|
|
393
393
|
const base = archivePath.slice(0, archivePath.length - ext.length);
|
|
@@ -405,7 +405,7 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk)
|
|
|
405
405
|
for (const candidate of [resolvedPath, fromRoot]) {
|
|
406
406
|
const absPath = candidate.replace(/[?#].*$/, "");
|
|
407
407
|
if (!isPathInside(absPath, ctx.absProjectDir)) continue;
|
|
408
|
-
const rel = relative(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
408
|
+
const rel = archiveKey(relative(ctx.absProjectDir, absPath).replaceAll("\\", "/"));
|
|
409
409
|
if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return;
|
|
410
410
|
if (!existsSync2(absPath)) continue;
|
|
411
411
|
if (statSync(absPath).isFile()) {
|
|
@@ -563,6 +563,24 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
563
563
|
function buildPublishFileMap(projectDir) {
|
|
564
564
|
return stagePublishFiles(projectDir, Infinity);
|
|
565
565
|
}
|
|
566
|
+
var archiveKey = (path) => path.normalize("NFC");
|
|
567
|
+
function composeNamesInText(fileContents, filePaths) {
|
|
568
|
+
const names = /* @__PURE__ */ new Map();
|
|
569
|
+
for (const segment of filePaths.flatMap((path) => path.split("/"))) {
|
|
570
|
+
const composed = archiveKey(segment);
|
|
571
|
+
if (composed === segment) continue;
|
|
572
|
+
names.set(segment, composed);
|
|
573
|
+
names.set(encodeURIComponent(segment), encodeURIComponent(composed));
|
|
574
|
+
}
|
|
575
|
+
if (names.size === 0) return;
|
|
576
|
+
for (const [key, file] of fileContents) {
|
|
577
|
+
if (!Buffer.isBuffer(file) || !TEXT_FILE_EXTS.test(key)) continue;
|
|
578
|
+
let text = file.toString("utf-8");
|
|
579
|
+
const before = text;
|
|
580
|
+
for (const [from, to] of names) text = text.replaceAll(from, to);
|
|
581
|
+
if (text !== before) fileContents.set(key, Buffer.from(text, "utf-8"));
|
|
582
|
+
}
|
|
583
|
+
}
|
|
566
584
|
function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
567
585
|
const absProjectDir = resolve2(projectDir);
|
|
568
586
|
const filePaths = [];
|
|
@@ -573,9 +591,19 @@ function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
|
573
591
|
);
|
|
574
592
|
}
|
|
575
593
|
const fileContents = /* @__PURE__ */ new Map();
|
|
594
|
+
const diskPathOf = /* @__PURE__ */ new Map();
|
|
576
595
|
for (const filePath of filePaths) {
|
|
577
|
-
|
|
596
|
+
const key = archiveKey(filePath);
|
|
597
|
+
const clash = diskPathOf.get(key);
|
|
598
|
+
if (clash !== void 0) {
|
|
599
|
+
throw new Error(
|
|
600
|
+
`"${clash}" and "${filePath}" have the same name written in two Unicode forms and would overwrite each other in the archive. Rename one of them.`
|
|
601
|
+
);
|
|
602
|
+
}
|
|
603
|
+
diskPathOf.set(key, filePath);
|
|
604
|
+
fileContents.set(key, stageFile(join2(absProjectDir, filePath), onDiskMinBytes));
|
|
578
605
|
}
|
|
606
|
+
composeNamesInText(fileContents, filePaths);
|
|
579
607
|
localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes);
|
|
580
608
|
return fileContents;
|
|
581
609
|
}
|
|
@@ -762,6 +790,7 @@ export {
|
|
|
762
790
|
rewriteHtmlAttributes,
|
|
763
791
|
rewriteStyleBlocks,
|
|
764
792
|
buildPublishFileMap,
|
|
793
|
+
archiveKey,
|
|
765
794
|
stagePublishFiles,
|
|
766
795
|
zipPublishFileMap,
|
|
767
796
|
getPublishApiBaseUrl,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-6BEFEWFB.js";
|
|
16
16
|
import {
|
|
17
17
|
trackSkillsInstallSkipped
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6ELGYAFD.js";
|
|
19
19
|
import {
|
|
20
20
|
diag
|
|
21
21
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
isCoreSkill,
|
|
37
37
|
presentSkills,
|
|
38
38
|
retiredSkillNotice
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GS4EXK5R.js";
|
|
40
40
|
import {
|
|
41
41
|
NO_UPDATE_NOTICE,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AIJMFLLS.js";
|
|
44
44
|
import {
|
|
45
45
|
failureMessage,
|
|
46
46
|
jsonFailure
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-66W5IWLO.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YTF6LBWN.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/skills.ts
|
|
57
57
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
claimDailyNotice,
|
|
9
9
|
updateCheckDisabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AIJMFLLS.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-YTF6LBWN.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/skillsUpdateCheck.ts
|
|
27
27
|
import { resolve as resolve2 } from "path";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AIJMFLLS.js";
|
|
31
31
|
import {
|
|
32
32
|
setCommandExitCode
|
|
33
33
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-FYZFURBN.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YTF6LBWN.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|