hyperframes 0.8.216 → 0.8.218
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-2RWN7JAI.js → add-6TACQX2U.js} +14 -14
- package/dist/{agentPromptGenerator-RVE5RWTH.js → agentPromptGenerator-2OHH7TQF.js} +8 -8
- package/dist/{animatedGifPrep-I32BS5HI.js → animatedGifPrep-3TCOKQRQ.js} +8 -8
- package/dist/api.js +19 -19
- package/dist/{asset-YLZ5UGVE.js → asset-XGF7DP6H.js} +2 -2
- package/dist/{assetCataloger-B4KOZO3V.js → assetCataloger-23H37VZ5.js} +9 -9
- package/dist/{audio-VUOJ7MOJ.js → audio-IIU2JTO2.js} +19 -19
- package/dist/{auth-3UL65CN7.js → auth-YXS6A6HO.js} +8 -7
- package/dist/{autoUpdate-FEK5AHLP.js → autoUpdate-25S52Q5S.js} +3 -3
- package/dist/{backgroundChecks-VJSQ3REH.js → backgroundChecks-I7EVP7FG.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-NC6SUDYN.js → batchRender-ESAPNTE3.js} +4 -4
- package/dist/{beats-KSUZ23LE.js → beats-STUURUTE.js} +13 -13
- package/dist/{benchmark-TRVQ7EPQ.js → benchmark-APCKXZV4.js} +11 -11
- package/dist/{browser-3LJ3SLQ4.js → browser-24AXY6XT.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-Y7VGIRFK.js → bundleWithLocalizedFonts-D5DHHE3J.js} +2 -2
- package/dist/{capture-NC5OO4D2.js → capture-6DJ63B7N.js} +3 -3
- package/dist/{capture-NT2SOO5J.js → capture-CPDVGCHU.js} +16 -16
- package/dist/{captureCompositionFrame-PAJRNURH.js → captureCompositionFrame-UQWCB4GS.js} +13 -13
- package/dist/{catalog-BOGZ2BQD.js → catalog-Q23ML47J.js} +14 -14
- package/dist/{catch-up-FGF5SAEW.js → catch-up-RS3QCE4R.js} +7 -7
- package/dist/{check-IG6NIMSC.js → check-CTCEOX24.js} +40 -40
- package/dist/{checkAudio-6B2FKTIU.js → checkAudio-SINGW2W7.js} +12 -12
- package/dist/{checkBrowser-D6MZRCTH.js → checkBrowser-PDM2H472.js} +34 -34
- package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
- package/dist/{chunk-I3VXWMQW.js → chunk-3MTNYVWM.js} +5 -5
- package/dist/{chunk-3S2WWGJJ.js → chunk-3O6TQMFR.js} +3 -3
- package/dist/{chunk-MYHAS5U2.js → chunk-3VIICMJF.js} +1 -1
- package/dist/{chunk-IVRKWQTX.js → chunk-4I7KQWZS.js} +1 -1
- package/dist/{chunk-JFFQWMNE.js → chunk-4OWVRHSV.js} +5 -5
- package/dist/{chunk-URUUGFZD.js → chunk-4RHUYKVK.js} +3 -3
- package/dist/{chunk-RIGQABEL.js → chunk-562GRMWD.js} +1 -1
- package/dist/{chunk-MU66MHZB.js → chunk-576ATOOU.js} +2 -2
- package/dist/{chunk-OWU2BURB.js → chunk-5JMHTBGN.js} +2 -2
- package/dist/{chunk-KYXBPFI7.js → chunk-5UIODBMI.js} +8 -5
- package/dist/{chunk-SBBYMUWY.js → chunk-67YDBMLK.js} +1 -1
- package/dist/{chunk-5XTOAZMR.js → chunk-A5MVD5IH.js} +1 -1
- package/dist/{chunk-DYHAZFK3.js → chunk-AU7VGKCP.js} +1 -1
- package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
- package/dist/{chunk-ZCHULPJZ.js → chunk-BLBMPEBX.js} +6 -0
- package/dist/{chunk-TQSKEMSL.js → chunk-BMM6KPEK.js} +3 -3
- package/dist/{chunk-FUSUFW2L.js → chunk-BRYOYBO5.js} +1 -1
- package/dist/{chunk-RN7RQBW3.js → chunk-BT5UT4XT.js} +2 -2
- package/dist/{chunk-CX4TSC7T.js → chunk-BWP7C7WY.js} +38 -27
- package/dist/{chunk-3AOXAXTA.js → chunk-C2G23WQQ.js} +1 -1
- package/dist/{chunk-MKL6JGDL.js → chunk-CPLOVCBR.js} +56 -20
- package/dist/{chunk-4MWUMT3T.js → chunk-DFLWN6Y3.js} +2 -2
- package/dist/{chunk-RH5Y75UX.js → chunk-DOZGTBDV.js} +2 -2
- package/dist/{chunk-RKS7GO4O.js → chunk-DWMI7CKI.js} +1 -1
- package/dist/{chunk-GHROWWUN.js → chunk-DWTFLQ3P.js} +33 -6
- package/dist/{chunk-ACAU2AK2.js → chunk-FQUPVW7G.js} +4 -4
- package/dist/{chunk-4EEVTNDU.js → chunk-G2E2DHH2.js} +3 -3
- package/dist/{chunk-OFJTXNRS.js → chunk-GEOYME4I.js} +3 -3
- package/dist/{chunk-6LQL2BVD.js → chunk-GHWV6PIS.js} +1 -1
- package/dist/{chunk-BTYR7Y3Z.js → chunk-H6LEUSAT.js} +2 -2
- package/dist/{chunk-RXQU3QM4.js → chunk-HOTGBCX7.js} +9 -9
- package/dist/{chunk-NWYJZAPP.js → chunk-HTBHG63K.js} +1 -1
- package/dist/{chunk-DFA5GTRJ.js → chunk-IEC36WFL.js} +1 -1
- package/dist/{chunk-2JV6FKNZ.js → chunk-ILCIWNPQ.js} +3 -3
- package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
- package/dist/{chunk-MO6DJMZP.js → chunk-JH2AO4ZW.js} +2 -2
- package/dist/{chunk-4YIKQM4K.js → chunk-K5GGTJJV.js} +1 -1
- package/dist/{chunk-EB44YMQO.js → chunk-KUQOUWJ4.js} +3 -3
- package/dist/{chunk-7P76YIVS.js → chunk-LBZVTVG6.js} +1 -1
- package/dist/{chunk-BHWXSO6T.js → chunk-LGMRZWJS.js} +9 -3
- package/dist/{chunk-JOZQFSOV.js → chunk-LJB2PF6K.js} +1 -1
- package/dist/{chunk-ZRK7ZEWI.js → chunk-LYK7IGH4.js} +3 -3
- package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
- package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
- package/dist/{chunk-6HJUC2VX.js → chunk-NEPGYMT3.js} +2 -2
- package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
- package/dist/{chunk-Z4W7ND2L.js → chunk-P34BNDC3.js} +6 -6
- package/dist/{chunk-SPFTXNKQ.js → chunk-P5ANVBAG.js} +16 -15
- package/dist/{chunk-GTKUQUZ6.js → chunk-RYBFHEMZ.js} +1 -1
- package/dist/{chunk-557ZJMFI.js → chunk-SFBFRIKF.js} +2 -2
- package/dist/{chunk-43USF7JF.js → chunk-SJYWAEKF.js} +9 -9
- package/dist/{chunk-ROUK3OL2.js → chunk-SVJAW3N3.js} +7 -7
- package/dist/{chunk-VDFY4FE5.js → chunk-SZMW32YW.js} +9 -9
- package/dist/{chunk-7RPXLY6U.js → chunk-TCV7N2UY.js} +1 -1
- package/dist/{chunk-634HSJ3J.js → chunk-TK7THLRO.js} +10 -3
- package/dist/{chunk-LGZP4IR2.js → chunk-U2EUCTYQ.js} +4 -4
- package/dist/{chunk-KBTXAUCZ.js → chunk-UWV753SJ.js} +1 -1
- package/dist/chunk-VLA6UJGH.js +139 -0
- package/dist/{chunk-U54ZBLTF.js → chunk-VLMPZRZC.js} +2 -2
- package/dist/{chunk-Q3OKLJ34.js → chunk-VMTLGFAP.js} +2 -2
- package/dist/{chunk-BYHG2T5X.js → chunk-VP5KECBU.js} +2 -2
- package/dist/{chunk-USQTLRSD.js → chunk-VTLIN7XN.js} +2 -2
- package/dist/{chunk-TBEU55KU.js → chunk-WHISG7MU.js} +1 -1
- package/dist/{chunk-YT4DR2UT.js → chunk-WSAGYFYU.js} +7 -7
- package/dist/{chunk-UIETUYFT.js → chunk-WUABYDXU.js} +1 -1
- package/dist/{chunk-UJEEURID.js → chunk-X4SGGGSG.js} +13 -13
- package/dist/{chunk-VPA5YKEY.js → chunk-XC2DA2IA.js} +2 -2
- package/dist/{chunk-QETCWXRM.js → chunk-XKG4VTT5.js} +4 -4
- package/dist/{chunk-PNE2Y42T.js → chunk-YATFRFNH.js} +1 -1
- package/dist/{chunk-EJTVBW42.js → chunk-YBW7HTJK.js} +2 -2
- package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
- package/dist/{chunk-VZENYSX7.js → chunk-YXZ56JUN.js} +44 -33
- package/dist/{chunk-OPLEWQHF.js → chunk-Z5N3BHCQ.js} +1 -1
- package/dist/{chunk-QGMRSNG5.js → chunk-ZJNN53CS.js} +4 -3
- package/dist/{clean-WPLBDRSW.js → clean-MMKLFZD6.js} +19 -19
- package/dist/cli.js +57 -66
- package/dist/{cloud-VMSG2SJB.js → cloud-PYPEVKTI.js} +4 -4
- package/dist/{cloudrun-AXB4G6X2.js → cloudrun-5XEDIP77.js} +5 -5
- package/dist/commands/layout-audit.browser.js +7 -1
- package/dist/{compare-NVW3E74E.js → compare-5FYV3HXW.js} +31 -31
- package/dist/{compiler-GHX7QLHL.js → compiler-DVUV3DGB.js} +4 -4
- package/dist/{component-ZQAP7CBI.js → component-6WPGKSED.js} +3 -3
- package/dist/{compositions-FKHNCB6H.js → compositions-KF7WTF4B.js} +14 -14
- package/dist/{delete-XYC7FN6A.js → delete-KZFID7WD.js} +7 -7
- package/dist/{deploy-DOJS666X.js → deploy-JU22XTWD.js} +1 -1
- package/dist/{dist-3Q2DNDSR.js → dist-VNOJCTQR.js} +3 -3
- package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
- package/dist/{doctor-7CUFMW3Y.js → doctor-PI6KAIR5.js} +13 -13
- package/dist/{dotEnv-RPHCAUBZ.js → dotEnv-BGFXSQOA.js} +7 -5
- package/dist/{events-K7HUJ4DO.js → events-DE5M7353.js} +4 -4
- package/dist/{events-KGXVDZV7.js → events-GTCDNRHF.js} +6 -6
- package/dist/{feedback-F7WLYJGJ.js → feedback-WBXTSD7V.js} +26 -14
- package/dist/{ffmpeg-ZFHN4YZ2.js → ffmpeg-32BKO53L.js} +8 -8
- package/dist/{figma-7QKRKT5Q.js → figma-4EX6IU6D.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{get-XKPYG6IC.js → get-IDFMBDVJ.js} +7 -7
- package/dist/{gpuPolicy-A74BROG6.js → gpuPolicy-XALYIHRC.js} +8 -8
- package/dist/{grade-compare-7SR62TE5.js → grade-compare-IR6C2BDN.js} +32 -32
- package/dist/{heifImagePrep-XTCBHE3B.js → heifImagePrep-UT4MVMZK.js} +9 -9
- package/dist/{help-B7CXC4J5.js → help-LNFTZ33U.js} +1 -1
- package/dist/{history-3INEHHZ4.js → history-CVMBLNPB.js} +9 -9
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +26 -26
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-J3U63EFT.js → info-ZR6NR7MT.js} +10 -10
- package/dist/{init-2IEXXRG2.js → init-3H4OWHAC.js} +31 -31
- package/dist/{inspect-IRJABR66.js → inspect-DQB42FQJ.js} +32 -32
- package/dist/{installer-6JLQM6OJ.js → installer-OFIDWMYR.js} +5 -5
- package/dist/{keyframes-G2TSKZRL.js → keyframes-U74BN76I.js} +9 -9
- package/dist/{lambda-QFFFCFK3.js → lambda-UPISIKLU.js} +12 -12
- package/dist/{layout-INRUYIDJ.js → layout-JCWBIDXF.js} +32 -32
- package/dist/{lint-BHPBD7Z3.js → lint-EELAY2XS.js} +11 -11
- package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
- package/dist/{list-BGL5PH6J.js → list-MDRTOKTA.js} +7 -7
- package/dist/{localPage-MLFDX4Y6.js → localPage-BRAEGIND.js} +8 -8
- package/dist/{login-ABDL65L6.js → login-SOWERHQ6.js} +9 -8
- package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
- package/dist/{manager-DEKPCPWH.js → manager-PZ3USUXJ.js} +9 -9
- package/dist/{media-treatment-BQDTCBIT.js → media-treatment-A4CYTZKY.js} +16 -16
- package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
- package/dist/{models-SJIA5QDV.js → models-3LT54WBS.js} +12 -12
- package/dist/{motionShot-46J3W5UJ.js → motionShot-QLD2PDVI.js} +16 -16
- package/dist/{normalize-audio-UXAJSQKI.js → normalize-audio-HMYHPUV4.js} +12 -12
- package/dist/{open-DHRYP3N3.js → open-CYR6L7BV.js} +14 -14
- package/dist/{parakeetRunner-WKMM4TYU.js → parakeetRunner-52GLM62X.js} +14 -14
- package/dist/{pipeline-EIVKRUX2.js → pipeline-KZW5KLBK.js} +11 -11
- package/dist/{play-J5A7KHNF.js → play-KSX3VWZ5.js} +23 -23
- package/dist/{preflight-GKIQIXFQ.js → preflight-YJZS7QKG.js} +9 -9
- package/dist/{present-ZDXILGQJ.js → present-4Q3DIPFX.js} +19 -19
- package/dist/{preview-A2MLHZFF.js → preview-XAKLHB7C.js} +21 -21
- package/dist/{producer-NYWYRG4X.js → producer-Q46KBQS7.js} +1 -1
- package/dist/{projectConfig-DY6FHC7A.js → projectConfig-I6QNMRVV.js} +7 -7
- package/dist/{publication-N4WHPZOW.js → publication-JET7ZBWG.js} +3 -3
- package/dist/{publish-26W6VDND.js → publish-ZGW46SKV.js} +16 -16
- package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
- package/dist/{remove-background-JYUB75RB.js → remove-background-ENOMPCPD.js} +12 -12
- package/dist/{render-YPI6CDRS.js → render-33TSTTN7.js} +6 -6
- package/dist/{render-AQH2VMHO.js → render-5W2OBXKB.js} +82 -38
- package/dist/{render-JZWO3VX3.js → render-MS2SUV7X.js} +23 -23
- package/dist/{render-batch-GR2Y3F2S.js → render-batch-SDDZ3LM7.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-LTLSX6DR.js → resolver-VLOUQ7I6.js} +5 -5
- package/dist/{sherpa-2DJ33LQP.js → sherpa-BWAZ26Z4.js} +13 -13
- package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
- package/dist/skills/media-use/SKILL.md +3 -1
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +9 -9
- package/dist/skills/media-use/audio/references/tts.md +11 -11
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
- package/dist/skills/media-use/references/operations.md +11 -9
- package/dist/skills/media-use/references/setup-providers.md +30 -30
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
- package/dist/{skills-OF7XMPKX.js → skills-MSNOVAV2.js} +8 -8
- package/dist/{skillsUpdateCheck-E3HPT4PS.js → skillsUpdateCheck-KNXASTIY.js} +4 -4
- package/dist/{snapshot-6F5XK22M.js → snapshot-UVDTIQFA.js} +39 -42
- package/dist/{src-JUJFZ6GC.js → src-AA5O4QMT.js} +7 -7
- package/dist/{src-UNN3TXHH.js → src-ZMJBQF2Y.js} +12 -10
- package/dist/{staticProjectServer-DLSH7DHS.js → staticProjectServer-MVGWIOTX.js} +19 -19
- package/dist/{status-TJFZFDGS.js → status-63BKLDVW.js} +40 -11
- package/dist/studio/assets/{hyperframes-player-D38lr2hR.js → hyperframes-player-C6V-KPv8.js} +1 -1
- package/dist/studio/assets/{index-C-DCQ7nQ.js → index-BLgjf320.js} +108 -108
- package/dist/studio/assets/{index-CJ28BLvq.js → index-C_LGrLz-.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-5YATSN7H.js → studio-api-SW5MW272.js} +11 -11
- package/dist/{studioServer-O3FSLOUF.js → studioServer-SXYAQVII.js} +51 -51
- package/dist/{telemetry-MMCJ2ORL.js → telemetry-3JM3MQK2.js} +6 -6
- package/dist/{telemetry-CY7V7FIN.js → telemetry-QHYJJAJU.js} +1 -1
- package/dist/{timeline-ZBJTZK6E.js → timeline-G6MHJ4MV.js} +21 -21
- package/dist/{tokens-JFYRYRDK.js → tokens-ROE4XPZP.js} +2 -2
- package/dist/{transcribe-QUMMQM34.js → transcribe-EINIBALD.js} +12 -12
- package/dist/{transcribe-UVQQ3OMR.js → transcribe-RGWPXLJ3.js} +20 -20
- package/dist/{updateCheck-VMMBGLTI.js → updateCheck-4RS5TICZ.js} +3 -3
- package/dist/{upgrade-4VYNPIFQ.js → upgrade-7ULCD6M6.js} +3 -3
- package/dist/{urlDownloader-EAPV3CZL.js → urlDownloader-KQOGUGS6.js} +7 -7
- package/dist/{validate-JJG6Q6IH.js → validate-QXQ3WRA4.js} +26 -26
- package/dist/{video-7MJZ7IYL.js → video-DDKGIJLL.js} +9 -9
- package/dist/warmCheck.js +40 -40
- package/package.json +1 -1
- package/dist/chunk-4WEWHZZO.js +0 -24
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TCV7N2UY.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G2E2DHH2.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-U2EUCTYQ.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DWMI7CKI.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3VIICMJF.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -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-JH2AO4ZW.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4I7KQWZS.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BIROA7JM.js";
|
|
21
21
|
import {
|
|
22
22
|
decodeWellFormedEscapes,
|
|
23
23
|
decodedUrlPath,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VP5KECBU.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YXZ56JUN.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -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-YBW7HTJK.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-YXZ56JUN.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -6,17 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YSTBSLWY.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
|
-
isAuthError,
|
|
14
13
|
isTokenExpired,
|
|
15
14
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MESSJFK3.js";
|
|
16
|
+
import {
|
|
17
|
+
isAuthError,
|
|
18
|
+
oauthEnvironment
|
|
19
|
+
} from "./chunk-VLA6UJGH.js";
|
|
17
20
|
import {
|
|
18
21
|
rewriteSrcsetUrls
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4I7KQWZS.js";
|
|
20
23
|
import {
|
|
21
24
|
CSS_URL_RE,
|
|
22
25
|
isNonRelativeUrl,
|
|
@@ -565,7 +568,7 @@ function createPublishArchive(projectDir) {
|
|
|
565
568
|
return zipPublishFileMap(buildPublishFileMap(projectDir));
|
|
566
569
|
}
|
|
567
570
|
function getPublishApiBaseUrl() {
|
|
568
|
-
return (process.env["HYPERFRAMES_PUBLISHED_PROJECTS_API_URL"] || process.env["HEYGEN_API_URL"] ||
|
|
571
|
+
return (process.env["HYPERFRAMES_PUBLISHED_PROJECTS_API_URL"] || process.env["HEYGEN_API_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com`).replace(/\/$/, "");
|
|
569
572
|
}
|
|
570
573
|
function archiveArrayBuffer(archive) {
|
|
571
574
|
const arrayBuffer = new ArrayBuffer(archive.buffer.byteLength);
|
|
@@ -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-XC2DA2IA.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
|
|
8
8
|
// ../parsers/dist/ffBinaries.js
|
|
9
9
|
import { execFileSync } from "child_process";
|
|
10
|
-
import { accessSync, constants, existsSync } from "fs";
|
|
10
|
+
import { accessSync, closeSync, constants, existsSync, openSync, readSync } from "fs";
|
|
11
11
|
import { createRequire } from "module";
|
|
12
12
|
import { delimiter, dirname, join, resolve } from "path";
|
|
13
13
|
var FFMPEG_PATH_ENV = "HYPERFRAMES_FFMPEG_PATH";
|
|
@@ -26,11 +26,39 @@ function chooseBestPathCandidate(name, candidates) {
|
|
|
26
26
|
const normalized = candidates.map((candidate) => candidate.trim()).filter(Boolean);
|
|
27
27
|
return normalized.find((candidate) => candidateFileName(candidate) === `${name}.exe`) ?? normalized.find((candidate) => candidateFileName(candidate) === name) ?? normalized.find((candidate) => !candidateFileName(candidate).match(/\.(cmd|bat)$/i)) ?? normalized[0];
|
|
28
28
|
}
|
|
29
|
+
var MACHO_CPU_X86_64 = 16777223;
|
|
30
|
+
var ROSETTA_RUNTIME = "/Library/Apple/usr/libexec/oah/libRosettaRuntime";
|
|
31
|
+
function isX86OnlyMachO(file) {
|
|
32
|
+
const header = Buffer.alloc(8);
|
|
33
|
+
try {
|
|
34
|
+
const fd = openSync(file, "r");
|
|
35
|
+
try {
|
|
36
|
+
readSync(fd, header, 0, 8, 0);
|
|
37
|
+
} finally {
|
|
38
|
+
closeSync(fd);
|
|
39
|
+
}
|
|
40
|
+
} catch {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return header.readUInt32LE(0) === 4277009103 && header.readUInt32LE(4) === MACHO_CPU_X86_64;
|
|
44
|
+
}
|
|
45
|
+
function runsOnThisMac(candidate) {
|
|
46
|
+
if (process.platform !== "darwin" || process.arch !== "arm64" || existsSync(ROSETTA_RUNTIME)) {
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
if (!isX86OnlyMachO(candidate)) return true;
|
|
50
|
+
skippedX86Binary ??= candidate;
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
var skippedX86Binary;
|
|
54
|
+
function getSkippedX86Binary() {
|
|
55
|
+
return skippedX86Binary;
|
|
56
|
+
}
|
|
29
57
|
function isExecutablePathCandidate(candidate) {
|
|
30
58
|
if (process.platform === "win32") return existsSync(candidate);
|
|
31
59
|
try {
|
|
32
60
|
accessSync(candidate, constants.X_OK);
|
|
33
|
-
return
|
|
61
|
+
return runsOnThisMac(candidate);
|
|
34
62
|
} catch {
|
|
35
63
|
return false;
|
|
36
64
|
}
|
|
@@ -62,7 +90,7 @@ var COMMON_BIN_DIRS = process.platform === "win32" ? [] : ["/opt/homebrew/bin",
|
|
|
62
90
|
function findInCommonDirsOrInstallerPackage(name) {
|
|
63
91
|
for (const dir of COMMON_BIN_DIRS) {
|
|
64
92
|
const candidate = `${dir}/${name}`;
|
|
65
|
-
if (existsSync(candidate)) return candidate;
|
|
93
|
+
if (existsSync(candidate) && runsOnThisMac(candidate)) return candidate;
|
|
66
94
|
}
|
|
67
95
|
return findInInstallerPackage(name);
|
|
68
96
|
}
|
|
@@ -134,5 +162,6 @@ function findFfBinary(name, options = {}) {
|
|
|
134
162
|
export {
|
|
135
163
|
FFMPEG_PATH_ENV,
|
|
136
164
|
FFPROBE_PATH_ENV,
|
|
165
|
+
getSkippedX86Binary,
|
|
137
166
|
findFfBinary
|
|
138
167
|
};
|
|
@@ -284,6 +284,11 @@ function parseDeRouterBreaker(value) {
|
|
|
284
284
|
};
|
|
285
285
|
return parsed.strike || parsed.trip ? parsed : void 0;
|
|
286
286
|
}
|
|
287
|
+
function recordLastCheck(lastCheck) {
|
|
288
|
+
const config = readConfigFresh();
|
|
289
|
+
config.lastCheck = lastCheck;
|
|
290
|
+
writeConfig(config);
|
|
291
|
+
}
|
|
287
292
|
var MAX_RECENT_RENDERS = 5;
|
|
288
293
|
function recordRecentRender(id, ok) {
|
|
289
294
|
const config = readConfigFresh();
|
|
@@ -506,6 +511,7 @@ export {
|
|
|
506
511
|
effectiveTelemetryStatus,
|
|
507
512
|
withFileLock,
|
|
508
513
|
releaseDeParallelRouterLatch,
|
|
514
|
+
recordLastCheck,
|
|
509
515
|
recordRecentRender,
|
|
510
516
|
getIdentityPersistence,
|
|
511
517
|
getIdentityWriteOutcome,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-EQGKUPBJ.js";
|
|
13
13
|
import {
|
|
14
14
|
credentialPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VLA6UJGH.js";
|
|
16
16
|
import {
|
|
17
17
|
getInvocationId
|
|
18
18
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
readConfig,
|
|
41
41
|
telemetryRuntimeOverride,
|
|
42
42
|
writeConfig
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BLBMPEBX.js";
|
|
44
44
|
import {
|
|
45
45
|
VERSION
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XC2DA2IA.js";
|
|
47
47
|
|
|
48
48
|
// src/telemetry/transport.ts
|
|
49
49
|
import { spawn } from "child_process";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C2G23WQQ.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YXZ56JUN.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
Semaphore,
|
|
9
9
|
prepareHeifImageInputs,
|
|
10
10
|
withMediaProbeSlot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-576ATOOU.js";
|
|
12
12
|
import {
|
|
13
13
|
EncoderInterruptedError,
|
|
14
14
|
encoderFailureError,
|
|
15
15
|
prepareAnimatedGifInputs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VP5KECBU.js";
|
|
17
17
|
import {
|
|
18
18
|
GENERIC_FAMILIES,
|
|
19
19
|
collectFontFamilyCustomProperties,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
videoAudioId,
|
|
175
175
|
videoStartOnMediaTimeline,
|
|
176
176
|
writeCapturedFrame
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-YXZ56JUN.js";
|
|
178
178
|
import {
|
|
179
179
|
assignBundledRuntimeCompositionIds,
|
|
180
180
|
emitMountedModuleScripts,
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
parsesAsScript,
|
|
187
187
|
prepareFlattenedInnerRoot,
|
|
188
188
|
stripSdrPngColourTags
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-VMTLGFAP.js";
|
|
190
190
|
import {
|
|
191
191
|
collectScratchLeftovers,
|
|
192
192
|
removeScratch,
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
parseVfxChain,
|
|
208
208
|
resolveAuthoredTimingWindow,
|
|
209
209
|
toFps
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-AU7VGKCP.js";
|
|
211
211
|
import {
|
|
212
212
|
COMPOSITION_SOURCE_URL,
|
|
213
213
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
sourceTimeAt,
|
|
243
243
|
styleElementsFor,
|
|
244
244
|
timeAtSourceTime
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-4I7KQWZS.js";
|
|
246
246
|
import {
|
|
247
247
|
TRANSITIONS,
|
|
248
248
|
convertTransfer,
|
|
@@ -251,14 +251,14 @@ import {
|
|
|
251
251
|
import {
|
|
252
252
|
redactKnownPaths,
|
|
253
253
|
redactTelemetryString
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-TK7THLRO.js";
|
|
255
255
|
import {
|
|
256
256
|
chromeMajorCeiling
|
|
257
257
|
} from "./chunk-WE42NVH7.js";
|
|
258
258
|
import {
|
|
259
259
|
lintHyperframeHtml,
|
|
260
260
|
resolveReferencedStart
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-MHZB6QSC.js";
|
|
262
262
|
import {
|
|
263
263
|
isUnresolvedAssetPlaceholder,
|
|
264
264
|
readProjectFile,
|
|
@@ -12823,6 +12823,14 @@ async function executeRenderPipeline(input) {
|
|
|
12823
12823
|
// sample frame indices from this so they land inside the drained range.
|
|
12824
12824
|
compositionDurationSeconds: job.duration,
|
|
12825
12825
|
deFrameFallback: true,
|
|
12826
|
+
// A line per scanned chunk, so a long effect scan reads as preparing, not as a stall.
|
|
12827
|
+
onEffectScanProgress: (scanned, total) => updateJobStatus(
|
|
12828
|
+
job,
|
|
12829
|
+
"rendering",
|
|
12830
|
+
`Checking effects, ${scanned} of ${total} frames`,
|
|
12831
|
+
25,
|
|
12832
|
+
onProgress
|
|
12833
|
+
),
|
|
12826
12834
|
requiresWebGpu: compositionRequiresWebGpu(compiled.html),
|
|
12827
12835
|
// Live route for Chrome memory (spec §5 Phase −1). The aggregate route
|
|
12828
12836
|
// through CapturePerfSummary only exists on success; a mid-capture
|
|
@@ -14267,6 +14275,25 @@ async function executeRenderPipeline(input) {
|
|
|
14267
14275
|
}
|
|
14268
14276
|
}
|
|
14269
14277
|
|
|
14278
|
+
// ../producer/src/services/safeRenderErrorCode.ts
|
|
14279
|
+
var SAFE_RENDER_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
14280
|
+
"ASSET_MEDIA_TYPE_MISMATCH",
|
|
14281
|
+
"HEIF_IMAGE_CONVERSION_FAILED",
|
|
14282
|
+
"HEIF_TOOL_UNAVAILABLE",
|
|
14283
|
+
"NOT_MEDIA_PAYLOAD",
|
|
14284
|
+
"INVALID_VIDEO_METADATA",
|
|
14285
|
+
"VIDEO_SOURCE_UNRENDERABLE",
|
|
14286
|
+
"VIDEO_EXTRACTION_FAILED",
|
|
14287
|
+
"ENCODER_INTERRUPTED",
|
|
14288
|
+
"RENDER_TOO_SLOW",
|
|
14289
|
+
"RENDER_STAGE_STALLED"
|
|
14290
|
+
]);
|
|
14291
|
+
function extractSafeRenderErrorCode(error) {
|
|
14292
|
+
if (typeof error !== "object" || error === null || !("code" in error)) return void 0;
|
|
14293
|
+
const code = error.code;
|
|
14294
|
+
return typeof code === "string" && SAFE_RENDER_ERROR_CODES.has(code) ? code : void 0;
|
|
14295
|
+
}
|
|
14296
|
+
|
|
14270
14297
|
// ../producer/src/services/distributed/plan.ts
|
|
14271
14298
|
import {
|
|
14272
14299
|
copyFileSync as copyFileSync4,
|
|
@@ -16484,7 +16511,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16484
16511
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16485
16512
|
if (probeResult.probeSession) {
|
|
16486
16513
|
try {
|
|
16487
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16514
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-AA5O4QMT.js");
|
|
16488
16515
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16489
16516
|
} catch (err) {
|
|
16490
16517
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17584,23 +17611,6 @@ function resolveWorkerEntry2() {
|
|
|
17584
17611
|
// ../producer/src/server.ts
|
|
17585
17612
|
var DEFAULT_SERVER_FPS = { num: 30, den: 1 };
|
|
17586
17613
|
var SSE_KEEPALIVE_MS = 3e4;
|
|
17587
|
-
var SAFE_RENDER_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
17588
|
-
"ASSET_MEDIA_TYPE_MISMATCH",
|
|
17589
|
-
"HEIF_IMAGE_CONVERSION_FAILED",
|
|
17590
|
-
"HEIF_TOOL_UNAVAILABLE",
|
|
17591
|
-
"NOT_MEDIA_PAYLOAD",
|
|
17592
|
-
"INVALID_VIDEO_METADATA",
|
|
17593
|
-
"VIDEO_SOURCE_UNRENDERABLE",
|
|
17594
|
-
"VIDEO_EXTRACTION_FAILED",
|
|
17595
|
-
"ENCODER_INTERRUPTED",
|
|
17596
|
-
"RENDER_TOO_SLOW",
|
|
17597
|
-
"RENDER_STAGE_STALLED"
|
|
17598
|
-
]);
|
|
17599
|
-
function extractSafeRenderErrorCode(error) {
|
|
17600
|
-
if (typeof error !== "object" || error === null || !("code" in error)) return void 0;
|
|
17601
|
-
const code = error.code;
|
|
17602
|
-
return typeof code === "string" && SAFE_RENDER_ERROR_CODES.has(code) ? code : void 0;
|
|
17603
|
-
}
|
|
17604
17614
|
function extractSafeRenderErrorMetadata(error) {
|
|
17605
17615
|
const errorCode = extractSafeRenderErrorCode(error);
|
|
17606
17616
|
if (!errorCode || typeof error !== "object" || error === null) return void 0;
|
|
@@ -18216,7 +18226,7 @@ function startServer(options = {}) {
|
|
|
18216
18226
|
});
|
|
18217
18227
|
async function shutdown(signal) {
|
|
18218
18228
|
log.info(`Received ${signal}, shutting down`);
|
|
18219
|
-
const { drainBrowserPool } = await import("./src-
|
|
18229
|
+
const { drainBrowserPool } = await import("./src-AA5O4QMT.js");
|
|
18220
18230
|
await drainBrowserPool().catch(() => {
|
|
18221
18231
|
});
|
|
18222
18232
|
const handle = await Promise.race([
|
|
@@ -20207,6 +20217,7 @@ export {
|
|
|
20207
20217
|
createRenderJob,
|
|
20208
20218
|
resolveRenderDebugDir,
|
|
20209
20219
|
executeRenderJob,
|
|
20220
|
+
extractSafeRenderErrorCode,
|
|
20210
20221
|
PLAN_SCHEMA_VERSION,
|
|
20211
20222
|
PLAN_ARTIFACT_LAYOUT,
|
|
20212
20223
|
PLAN_HASH_SCHEMA,
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-P5ANVBAG.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H6LEUSAT.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-67YDBMLK.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3O6TQMFR.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-SJYWAEKF.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-562GRMWD.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
63
|
} from "./chunk-24F7TOW2.js";
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-5JMHTBGN.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YBW7HTJK.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ZJNN53CS.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-GLC5XHN5.js";
|
|
@@ -95,14 +95,17 @@ import {
|
|
|
95
95
|
import {
|
|
96
96
|
extractMediaMetadata,
|
|
97
97
|
findHdrAutoPromotion
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-YXZ56JUN.js";
|
|
99
99
|
import {
|
|
100
100
|
lintProject,
|
|
101
101
|
shouldBlockRender
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-MHZB6QSC.js";
|
|
103
103
|
import {
|
|
104
104
|
withMeta
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VLMPZRZC.js";
|
|
106
|
+
import {
|
|
107
|
+
recordLastCheck
|
|
108
|
+
} from "./chunk-BLBMPEBX.js";
|
|
106
109
|
import {
|
|
107
110
|
failureMessage,
|
|
108
111
|
jsonFailure
|
|
@@ -1269,7 +1272,7 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1269
1272
|
const craftTimes = buildCraftSampleTimes(grid.duration).filter((time) => time < grid.duration);
|
|
1270
1273
|
for (const [index, time] of craftTimes.entries()) {
|
|
1271
1274
|
progress(`craft frame at ${time}s`);
|
|
1272
|
-
await driver.seekGeometry(time);
|
|
1275
|
+
await driver.seekGeometry(time, { draws: true });
|
|
1273
1276
|
collected.craftFrames.push(...await collectCraftFrame(driver, time));
|
|
1274
1277
|
progress();
|
|
1275
1278
|
report("craft", index + 1, craftTimes.length);
|
|
@@ -1811,7 +1814,7 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1811
1814
|
stillnessJudgedElsewhere: noTimeline || sweepFindings.length > 0 || wholeCompositionKeepsMoving(plan.assertions)
|
|
1812
1815
|
},
|
|
1813
1816
|
async (time) => {
|
|
1814
|
-
await driver.seekGeometry(time);
|
|
1817
|
+
await driver.seekGeometry(time, { draws: true });
|
|
1815
1818
|
if (!driver.collectCraftFrame) throw new Error("craft sampling unavailable");
|
|
1816
1819
|
return driver.collectCraftFrame(time);
|
|
1817
1820
|
}
|
|
@@ -2358,7 +2361,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2358
2361
|
};
|
|
2359
2362
|
}
|
|
2360
2363
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2361
|
-
const module = await import("./checkBrowser-
|
|
2364
|
+
const module = await import("./checkBrowser-PDM2H472.js");
|
|
2362
2365
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2363
2366
|
}
|
|
2364
2367
|
var adoptedBrowser;
|
|
@@ -2372,7 +2375,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2372
2375
|
if (adopted) return adopted;
|
|
2373
2376
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2374
2377
|
if (html === void 0) return void 0;
|
|
2375
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2378
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-UQWCB4GS.js");
|
|
2376
2379
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2377
2380
|
}
|
|
2378
2381
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2384,11 +2387,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2384
2387
|
return relative(projectDir, path);
|
|
2385
2388
|
}
|
|
2386
2389
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2387
|
-
const module = await import("./checkBrowser-
|
|
2390
|
+
const module = await import("./checkBrowser-PDM2H472.js");
|
|
2388
2391
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2389
2392
|
}
|
|
2390
2393
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2391
|
-
const module = await import("./checkBrowser-
|
|
2394
|
+
const module = await import("./checkBrowser-PDM2H472.js");
|
|
2392
2395
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2393
2396
|
}
|
|
2394
2397
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2410,7 +2413,7 @@ function collectMedia(project) {
|
|
|
2410
2413
|
return collectProjectMedia(project.dir);
|
|
2411
2414
|
}
|
|
2412
2415
|
async function inspectAudio(project, media) {
|
|
2413
|
-
const module = await import("./checkAudio-
|
|
2416
|
+
const module = await import("./checkAudio-SINGW2W7.js");
|
|
2414
2417
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2415
2418
|
}
|
|
2416
2419
|
function audioCheckFailure(project, error) {
|
|
@@ -2436,6 +2439,28 @@ var DEFAULT_DEPENDENCIES = {
|
|
|
2436
2439
|
inspectAudio
|
|
2437
2440
|
};
|
|
2438
2441
|
|
|
2442
|
+
// src/utils/checkFailureCodes.ts
|
|
2443
|
+
var MAX_CODES = 3;
|
|
2444
|
+
function failureCodes(report) {
|
|
2445
|
+
const counts = /* @__PURE__ */ new Map();
|
|
2446
|
+
for (const section2 of [
|
|
2447
|
+
report.lint,
|
|
2448
|
+
report.runtime,
|
|
2449
|
+
report.layout,
|
|
2450
|
+
report.motion,
|
|
2451
|
+
report.contrast,
|
|
2452
|
+
report.craft,
|
|
2453
|
+
report.audio
|
|
2454
|
+
]) {
|
|
2455
|
+
for (const finding of section2.findings) {
|
|
2456
|
+
if (finding.severity === "error")
|
|
2457
|
+
counts.set(finding.code, (counts.get(finding.code) ?? 0) + 1);
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
const top = [...counts].sort((a, b) => b[1] - a[1]).slice(0, MAX_CODES);
|
|
2461
|
+
return Object.fromEntries(top);
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2439
2464
|
// src/commands/check.ts
|
|
2440
2465
|
var examples = [
|
|
2441
2466
|
["Run the full verification gate", "hyperframes check"],
|
|
@@ -2462,7 +2487,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2462
2487
|
}
|
|
2463
2488
|
},
|
|
2464
2489
|
async prepareMedia(project, options) {
|
|
2465
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2490
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-D5DHHE3J.js");
|
|
2466
2491
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2467
2492
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2468
2493
|
},
|
|
@@ -2645,11 +2670,17 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
|
|
|
2645
2670
|
await runPrepareMedia(dependencies, project, options, asJson);
|
|
2646
2671
|
return;
|
|
2647
2672
|
}
|
|
2673
|
+
recordLastCheck({ at: (/* @__PURE__ */ new Date()).toISOString(), codes: {} });
|
|
2648
2674
|
const report = await withProjectLock(
|
|
2649
2675
|
project.dir,
|
|
2650
2676
|
"check",
|
|
2651
2677
|
() => dependencies.runPipeline(project, options)
|
|
2652
2678
|
);
|
|
2679
|
+
recordLastCheck({
|
|
2680
|
+
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2681
|
+
exitCode: checkExitCode(report),
|
|
2682
|
+
codes: failureCodes(report)
|
|
2683
|
+
});
|
|
2653
2684
|
if (asJson) {
|
|
2654
2685
|
console.log(JSON.stringify(dependencies.withMeta(report), null, 2));
|
|
2655
2686
|
} else {
|
|
@@ -2663,6 +2694,11 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
|
|
|
2663
2694
|
}
|
|
2664
2695
|
setCommandExitCode(checkExitCode(report));
|
|
2665
2696
|
} catch (error) {
|
|
2697
|
+
recordLastCheck({
|
|
2698
|
+
at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2699
|
+
exitCode: 1,
|
|
2700
|
+
codes: { [error instanceof CliUsageError ? error.code : "runtime_error"]: 1 }
|
|
2701
|
+
});
|
|
2666
2702
|
reportCheckFailure(error, asJson, (value) => dependencies.withMeta(value));
|
|
2667
2703
|
} finally {
|
|
2668
2704
|
reported.done();
|