hyperframes 0.8.186 → 0.8.189
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-UGK7AZI6.js → add-TIKUM2YX.js} +12 -12
- package/dist/{animatedGifPrep-HPZPSB43.js → animatedGifPrep-25X4G5IE.js} +7 -7
- package/dist/api.js +15 -15
- package/dist/{asset-X2GTFWOY.js → asset-TPKLIP4R.js} +2 -2
- package/dist/{assetCataloger-5NWEG4IU.js → assetCataloger-PQAIV3FI.js} +7 -7
- package/dist/{audio-7PBM5F3H.js → audio-6RLPKB5X.js} +15 -15
- package/dist/{auth-WABSMO46.js → auth-O7QSTP6Y.js} +1 -1
- package/dist/{autoUpdate-6SCMLTSC.js → autoUpdate-TIEJODP7.js} +2 -2
- package/dist/{backgroundChecks-XOGPAAR3.js → backgroundChecks-K2AXYDYG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-VR6IA77K.js → batchRender-ORVWYJAH.js} +4 -4
- package/dist/{beats-3IWXLMSC.js → beats-2VTB2ATR.js} +4 -4
- package/dist/{benchmark-2SSYATCX.js → benchmark-NLNBL6YR.js} +9 -9
- package/dist/{browser-PMRN345D.js → browser-M5UV6VJB.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-TT32MZBO.js → bundleWithLocalizedFonts-EDD2XDS2.js} +2 -2
- package/dist/{capture-4VD6AKUJ.js → capture-JSYVNFKO.js} +10 -10
- package/dist/{capture-BDGYTE57.js → capture-WHWEE5FE.js} +2 -2
- package/dist/{captureCompositionFrame-5FVLAETA.js → captureCompositionFrame-JANGQCIA.js} +13 -13
- package/dist/{catalog-HUYZO5D7.js → catalog-MPOOKNSZ.js} +12 -12
- package/dist/{catch-up-SSGTR2ZT.js → catch-up-6KZV3UMZ.js} +4 -4
- package/dist/{check-JWUWHGM2.js → check-G273NWK7.js} +37 -36
- package/dist/{checkBrowser-X7G6YNR7.js → checkBrowser-G53E2ZQI.js} +32 -33
- package/dist/{chunk-WHMFW5ET.js → chunk-2CYM34M7.js} +3 -3
- package/dist/{chunk-HZ7M2MZA.js → chunk-37EPEFXM.js} +1 -1
- package/dist/{chunk-4XFFJAWS.js → chunk-3OLOVRWS.js} +1 -1
- package/dist/{chunk-ZIRIDSDB.js → chunk-3X6LH25W.js} +1 -1
- package/dist/{chunk-TH7J3JZ5.js → chunk-44TJOEH5.js} +92 -25
- package/dist/{chunk-K6KBOORN.js → chunk-4DZ3HBKF.js} +2 -2
- package/dist/{chunk-U7QTMRLW.js → chunk-4QFKGRTB.js} +2 -2
- package/dist/{chunk-7MVODWQF.js → chunk-5544QB3U.js} +1 -1
- package/dist/{chunk-7AUMTARQ.js → chunk-565X6Q4X.js} +3 -3
- package/dist/{chunk-J36JVBLR.js → chunk-5C7R55BJ.js} +1 -1
- package/dist/{chunk-YRAJDFIN.js → chunk-5HJJEHGE.js} +1 -1
- package/dist/{chunk-5UBZPG74.js → chunk-6A45RKAK.js} +1 -1
- package/dist/{chunk-ROWEDRVX.js → chunk-6RA4TWGV.js} +1 -1
- package/dist/{chunk-3YHGQJI6.js → chunk-74Y43RJZ.js} +3 -3
- package/dist/{chunk-4AFNEKU7.js → chunk-ANYBRVPF.js} +1 -1
- package/dist/{chunk-R6IGQ5NO.js → chunk-AQ3L7DVB.js} +2 -2
- package/dist/{chunk-LDW3KVGK.js → chunk-ASZ4IQB4.js} +2 -2
- package/dist/{chunk-DQZMJS2P.js → chunk-AYBKDHYD.js} +2 -2
- package/dist/{chunk-RVZNSKRH.js → chunk-B52BJM5K.js} +2 -2
- package/dist/{chunk-GTMBII7X.js → chunk-B634ZCY2.js} +1 -1
- package/dist/chunk-BPX7LZG6.js +3896 -0
- package/dist/{chunk-5ZMIVTHN.js → chunk-BZQLTNMB.js} +219 -79
- package/dist/{chunk-MY6CVBDD.js → chunk-CE7EQUBV.js} +1 -1
- package/dist/{chunk-ZVBEGBII.js → chunk-CSYSEPWL.js} +31 -7
- package/dist/{chunk-EZINX6HH.js → chunk-CTF7BYCV.js} +3 -3
- package/dist/{chunk-2II34JPM.js → chunk-E676Y7AY.js} +82 -29
- package/dist/{chunk-YQICCAVA.js → chunk-E7TI5PAQ.js} +1 -1
- package/dist/{chunk-TTVHYD5R.js → chunk-EI7FP7F3.js} +1 -1
- package/dist/{chunk-UJZT6HNN.js → chunk-F45HHA3M.js} +1 -1
- package/dist/{chunk-TQ2RRB5V.js → chunk-FJF5JBYU.js} +1 -1
- package/dist/{chunk-Z5233OAN.js → chunk-GBT7P3OQ.js} +5 -5
- package/dist/{chunk-NPDPDEPP.js → chunk-GWYMAII7.js} +1 -1
- package/dist/{chunk-UAJCTEK2.js → chunk-HNMDLKA4.js} +1 -1
- package/dist/{chunk-FCWFV4P7.js → chunk-HQIFMCQN.js} +2278 -2273
- package/dist/{chunk-DTXDQ6OP.js → chunk-HUG47UEE.js} +1 -1
- package/dist/{chunk-7M7TMM4S.js → chunk-HXM2ISEK.js} +264 -124
- package/dist/{chunk-WLHNIIXU.js → chunk-IFXOMIBP.js} +3 -3
- package/dist/{chunk-77QM6YRQ.js → chunk-IPEP346Y.js} +1 -1
- package/dist/{chunk-22QKQDEE.js → chunk-JIPUWKLA.js} +14 -14
- package/dist/{chunk-YNH6ERDL.js → chunk-JZDVIDFH.js} +2 -2
- package/dist/{chunk-KNLSYCI5.js → chunk-KLWUB37U.js} +7 -7
- package/dist/{chunk-PEIV2SOG.js → chunk-KS4HMJJD.js} +1 -1
- package/dist/{chunk-4NTW45W5.js → chunk-M6FHSQZ3.js} +3 -3
- package/dist/{chunk-RFJ6SX4U.js → chunk-NDBWI7OA.js} +5 -5
- package/dist/{chunk-ACLABKEF.js → chunk-NSJ5HD6A.js} +5 -5
- package/dist/{chunk-FRLTKTOR.js → chunk-OHXHBMF4.js} +1 -1
- package/dist/{chunk-7MLFYMFB.js → chunk-QMFI4N7J.js} +1 -1
- package/dist/{chunk-HOFX63F2.js → chunk-QYQ2EYOI.js} +3 -3
- package/dist/{chunk-27H2363S.js → chunk-R5FS7GFU.js} +1 -1
- package/dist/{chunk-PFD25NAC.js → chunk-RIJHDTM5.js} +4 -0
- package/dist/{chunk-FH7WODJH.js → chunk-SGFMCNLY.js} +8 -0
- package/dist/{chunk-BRTDLVK3.js → chunk-SMF6YAUL.js} +9 -11
- package/dist/{chunk-6IOBAOU7.js → chunk-T37XXYRK.js} +1 -1
- package/dist/{chunk-T4RP55P2.js → chunk-TFUAKV6O.js} +1 -1
- package/dist/{chunk-U6RXZNZE.js → chunk-TMBUBLZB.js} +55 -23
- package/dist/{chunk-5ZMXGNGC.js → chunk-TPTQHOXU.js} +9 -9
- package/dist/{chunk-U4BMRIE6.js → chunk-TREMHDWT.js} +12 -10
- package/dist/{chunk-Q447CX26.js → chunk-TSFA2Y5C.js} +60 -47
- package/dist/{chunk-Y2M6XSNK.js → chunk-VRQU564T.js} +1 -1
- package/dist/{chunk-ID5AJ4L3.js → chunk-WMJJCHVQ.js} +2 -2
- package/dist/{chunk-RNZEQTWZ.js → chunk-WYCFMNU3.js} +15 -2
- package/dist/{chunk-UJKQWGFF.js → chunk-X7HBSTCZ.js} +8 -0
- package/dist/{chunk-ZKBW7NU2.js → chunk-XJVXROOL.js} +2 -2
- package/dist/{chunk-CML25PAF.js → chunk-XNFDDVJS.js} +27 -3
- package/dist/{chunk-RPUIMFHF.js → chunk-Z2BW2WJS.js} +1 -1
- package/dist/{chunk-2PZZMAME.js → chunk-ZPMF6GAQ.js} +17 -12
- package/dist/{clean-IM2JIAUT.js → clean-PS4VYGQ6.js} +17 -17
- package/dist/cli.js +53 -53
- package/dist/{cloud-6IPBCJSX.js → cloud-E47CE5VQ.js} +4 -4
- package/dist/{cloudrun-MWZ6S2I2.js → cloudrun-3J4SQBXE.js} +5 -5
- package/dist/{compare-WD7A2TV5.js → compare-EAKHXBDO.js} +29 -29
- package/dist/{compiler-2EKSMC3I.js → compiler-23MT6CX6.js} +4 -4
- package/dist/{component-JKALWH36.js → component-QBOXYJJS.js} +3 -3
- package/dist/{compositions-643NAG4A.js → compositions-QC3EO3MJ.js} +11 -11
- package/dist/{delete-EASPXKHQ.js → delete-TXEOLPC6.js} +4 -4
- package/dist/deploy-3B3WJ6PM.js +300 -0
- package/dist/{destroy-4B5HW5FH.js → destroy-SSPAKADI.js} +13 -3
- package/dist/{dist-F6FOKRSU.js → dist-F4UJFK4S.js} +5 -3
- package/dist/{dist-LM7AVHOU.js → dist-JH32CBQL.js} +1 -1
- package/dist/{doctor-7XUVYDJQ.js → doctor-2CRFH4B3.js} +11 -11
- package/dist/{events-TULV6D3G.js → events-GUIOSBIB.js} +3 -3
- package/dist/{events-5TTPYBKG.js → events-KVTX3QFV.js} +2 -2
- package/dist/{feedback-4FTPWM6P.js → feedback-VQIOSTIB.js} +7 -7
- package/dist/{ffmpeg-MP7ZVYLZ.js → ffmpeg-BPCZGXFW.js} +7 -7
- package/dist/{figma-B7LFWYKO.js → figma-QIOKCH26.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-F7W4AQ2V.js → get-TU45SNXF.js} +4 -4
- package/dist/{gpuPolicy-NSNVDFXC.js → gpuPolicy-AWAJBGYY.js} +7 -7
- package/dist/{grade-compare-6QXDTLS2.js → grade-compare-LDNUXX3Q.js} +30 -30
- package/dist/{help-RJAA4O74.js → help-YUCHJKKL.js} +1 -1
- package/dist/{history-OOQBDVV5.js → history-MMHFUMIG.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -64
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-5OGGYYLO.js → info-HBHOFSC2.js} +8 -8
- package/dist/{init-DM3TJKW2.js → init-3E4GUXIZ.js} +27 -27
- package/dist/{inspect-FECQCLS5.js → inspect-YNUPJVIH.js} +30 -30
- package/dist/{installer-WOG4VORV.js → installer-WLCRP33K.js} +5 -5
- package/dist/{keyframes-SZHWUF5Y.js → keyframes-Z47GHCGO.js} +6 -6
- package/dist/{lambda-JG2ZRGMC.js → lambda-CA4PEUO2.js} +20 -13
- package/dist/{layout-7ACF7ZKC.js → layout-YPV6PIKF.js} +30 -30
- package/dist/{lint-ZCQGMILV.js → lint-3AVVQ74A.js} +7 -7
- package/dist/{lintProject-JATQKR64.js → lintProject-XM3DLUKG.js} +1 -1
- package/dist/{list-MH2X3Y2T.js → list-JH52Y735.js} +7 -7
- package/dist/{login-CK46WX5U.js → login-G7NPJUAW.js} +4 -4
- package/dist/{manager-GXTPNJVW.js → manager-2LSMMZY4.js} +8 -8
- package/dist/{media-treatment-EH2AT34Z.js → media-treatment-BVMMD5EN.js} +13 -13
- package/dist/{models-D5XP2UK6.js → models-P3TNRVRV.js} +11 -11
- package/dist/{motionShot-UR7D3SRQ.js → motionShot-LK62QHNE.js} +18 -18
- package/dist/{normalize-audio-635JOR5W.js → normalize-audio-Y7BAQ7AR.js} +6 -6
- package/dist/{open-6WE5WFVM.js → open-CCFFLAT7.js} +12 -12
- package/dist/{parakeetRunner-STHZPG32.js → parakeetRunner-N2BWSOSD.js} +12 -12
- package/dist/{pipeline-LVEKRETU.js → pipeline-3VT2DQGU.js} +8 -8
- package/dist/{play-W6TDW4FE.js → play-G4I5IFHO.js} +20 -20
- package/dist/{policies-XXNGXWHV.js → policies-MBWGLMWB.js} +17 -0
- package/dist/{preflight-LIMQXLR7.js → preflight-2KU2QLCZ.js} +8 -8
- package/dist/{present-RX5QX6UR.js → present-EJ7XHGQO.js} +16 -16
- package/dist/{preview-KIWTWK63.js → preview-O23BYFAY.js} +18 -18
- package/dist/{producer-TSNKSCUM.js → producer-UJQVLKLP.js} +1 -1
- package/dist/{progress-NHJIHAAG.js → progress-PX3PVAIM.js} +5 -3
- package/dist/{projectConfig-NCP7JRH4.js → projectConfig-QFVIBT37.js} +7 -7
- package/dist/{publication-5W5UZWGC.js → publication-4UYGFB2X.js} +3 -3
- package/dist/{publish-7WR4XJ6I.js → publish-MHLVJLCR.js} +9 -9
- package/dist/{remove-background-43JGBRWQ.js → remove-background-N7AHTZWP.js} +9 -9
- package/dist/{render-7T44HIM6.js → render-6HQV4LZJ.js} +11 -9
- package/dist/{render-WHMLYIOI.js → render-CDATEVDJ.js} +31 -22
- package/dist/{render-456HCO6O.js → render-EI2ODKOP.js} +45 -29
- package/dist/{render-batch-LURBJTBV.js → render-batch-F7HMC7XH.js} +7 -7
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-MBIW4VC4.js → resolver-63DB5JCY.js} +5 -5
- package/dist/{sam-MC24SZHC.js → sam-FHJ7IL7T.js} +3 -1
- package/dist/{sherpa-5J2AALED.js → sherpa-AK3MTPL3.js} +11 -11
- package/dist/{sites-MAVH57MO.js → sites-5PWHAMEG.js} +1 -1
- package/dist/skills/hyperframes/references/motion.md +1 -0
- package/dist/{skills-UHOXOGGF.js → skills-EVIDL7PV.js} +5 -5
- package/dist/{skillsUpdateCheck-PDZIFUJE.js → skillsUpdateCheck-YCNJYDJO.js} +3 -3
- package/dist/{snapshot-PFV7ALLH.js → snapshot-WSYZKR3C.js} +35 -35
- package/dist/{src-XK5YIR6L.js → src-KTD6WTEV.js} +8 -8
- package/dist/{src-DCVSEODX.js → src-YNXBU4ZQ.js} +12 -6
- package/dist/{state-ORRPOLMQ.js → state-JPNCCXAV.js} +3 -1
- package/dist/{staticProjectServer-4IE4G4JO.js → staticProjectServer-D2D3BKBP.js} +18 -16
- package/dist/studio/assets/{hyperframes-player-B_skzvYC.js → hyperframes-player-CkK8Zijf.js} +1 -1
- package/dist/studio/assets/{index-CgLbvCUo.js → index-ATnRoBug.js} +1 -1
- package/dist/studio/assets/{index-Dn5FAk2e.js → index-B2JcCaRF.js} +130 -130
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-JMWYU7KF.js → studio-api-3ZGQPE5J.js} +10 -10
- package/dist/{studioServer-BWLSTGIG.js → studioServer-VWM4J7ZP.js} +48 -48
- package/dist/{telemetry-JCU3AV7W.js → telemetry-BEVI64BB.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +5 -0
- package/dist/templates/_shared/CLAUDE.md +5 -0
- package/dist/{timeline-BCIFQYOM.js → timeline-P57FUXJQ.js} +18 -18
- package/dist/{tokens-7IXKALMQ.js → tokens-OUQY6LPD.js} +2 -2
- package/dist/{transcribe-ZUQD3B32.js → transcribe-CK66VIU4.js} +10 -10
- package/dist/{transcribe-HW7HGJ4V.js → transcribe-QUPX67KC.js} +16 -16
- package/dist/{updateCheck-Z6LNEK7B.js → updateCheck-XZ43CH3L.js} +2 -2
- package/dist/{upgrade-JYH72JGL.js → upgrade-7QQNGI7I.js} +2 -2
- package/dist/{urlDownloader-WKLFHSUH.js → urlDownloader-ESAEL6YX.js} +6 -6
- package/dist/{validate-QCC27YYI.js → validate-5GZ6KFRU.js} +24 -24
- package/dist/{video-EZ7ONY6L.js → video-AQNVR6PE.js} +7 -7
- package/dist/warmCheck.js +37 -38
- package/package.json +18 -2
- package/dist/chunk-KANNRHY7.js +0 -53
- package/dist/chunk-UOZX5W5T.js +0 -3852
- package/dist/deploy-CDKCQ5MX.js +0 -196
|
@@ -11,19 +11,20 @@ import {
|
|
|
11
11
|
} from "./chunk-57GN6KWT.js";
|
|
12
12
|
import {
|
|
13
13
|
captureArtifactRevision
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AYBKDHYD.js";
|
|
15
15
|
import {
|
|
16
16
|
loadProducer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KS4HMJJD.js";
|
|
18
18
|
import {
|
|
19
19
|
trackLintRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CTF7BYCV.js";
|
|
21
21
|
import {
|
|
22
22
|
beginCheckSnapshots,
|
|
23
23
|
checkSnapshotDirectory,
|
|
24
24
|
finishCheckSnapshots,
|
|
25
|
+
preResolveHostileMediaProxies,
|
|
25
26
|
rectToBbox
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-E676Y7AY.js";
|
|
27
28
|
import {
|
|
28
29
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
29
30
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -46,27 +47,27 @@ import {
|
|
|
46
47
|
mergeSampleTimes,
|
|
47
48
|
parseAt,
|
|
48
49
|
readMotionSpec
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-TPTQHOXU.js";
|
|
50
51
|
import {
|
|
51
52
|
resolveProject
|
|
52
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-37EPEFXM.js";
|
|
53
54
|
import {
|
|
54
55
|
recordArtifacts
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-TMBUBLZB.js";
|
|
56
57
|
import {
|
|
57
58
|
BrowserCleanupError,
|
|
58
59
|
closeManagedBrowser
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-HNMDLKA4.js";
|
|
60
61
|
import {
|
|
61
62
|
withRemainingBudget
|
|
62
63
|
} from "./chunk-EHSBBBR2.js";
|
|
63
64
|
import {
|
|
64
65
|
resolveLocalBrowserGpuMode
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-B52BJM5K.js";
|
|
66
67
|
import {
|
|
67
68
|
trackCheckReport,
|
|
68
69
|
trackCommandFailure
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-IPEP346Y.js";
|
|
70
71
|
import {
|
|
71
72
|
swallowedFlagUsageError
|
|
72
73
|
} from "./chunk-HTIUNMTP.js";
|
|
@@ -86,17 +87,17 @@ import {
|
|
|
86
87
|
import {
|
|
87
88
|
extractMediaMetadata,
|
|
88
89
|
findHdrAutoPromotion
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-HXM2ISEK.js";
|
|
90
91
|
import {
|
|
91
92
|
lintProject,
|
|
92
93
|
shouldBlockRender
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-TSFA2Y5C.js";
|
|
94
95
|
import {
|
|
95
96
|
resolveProjectRelativeSrc
|
|
96
97
|
} from "./chunk-6BNTGNGD.js";
|
|
97
98
|
import {
|
|
98
99
|
withMeta
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-OHXHBMF4.js";
|
|
100
101
|
import {
|
|
101
102
|
normalizeErrorMessage
|
|
102
103
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -107,7 +108,7 @@ import { mkdirSync as mkdirSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
|
107
108
|
import { join as join2, resolve } from "path";
|
|
108
109
|
|
|
109
110
|
// src/utils/checkDeadline.ts
|
|
110
|
-
var
|
|
111
|
+
var CHECK_IDLE_MS = 12e4;
|
|
111
112
|
var SCRIPT_START = "[hyperframes:script:start] ";
|
|
112
113
|
var SCRIPT_FINISH = "[hyperframes:script:finish] ";
|
|
113
114
|
var PHASE_LABELS = {
|
|
@@ -153,6 +154,7 @@ var CheckDeadline = class {
|
|
|
153
154
|
if (this.work) this.spend(this.work.phase, now - this.work.since);
|
|
154
155
|
this.work = { phase, since: now };
|
|
155
156
|
this.spend(phase, 0);
|
|
157
|
+
this.rearm();
|
|
156
158
|
};
|
|
157
159
|
spend(phase, ms) {
|
|
158
160
|
this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
|
|
@@ -164,18 +166,22 @@ var CheckDeadline = class {
|
|
|
164
166
|
const seconds2 = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
|
|
165
167
|
return `${PHASE_LABELS[phase]} ${seconds2}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
|
|
166
168
|
});
|
|
167
|
-
return ` (${
|
|
169
|
+
return ` (no progress for ${CHECK_IDLE_MS / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}. Seconds per phase: ${parts.join(", ")}.`;
|
|
168
170
|
}
|
|
169
171
|
start = () => {
|
|
170
172
|
if (this.phase !== "waiting") return;
|
|
171
173
|
this.phase = "started";
|
|
172
174
|
this.enter("load");
|
|
175
|
+
};
|
|
176
|
+
rearm() {
|
|
177
|
+
if (this.phase !== "started" || this.expired) return;
|
|
178
|
+
clearTimeout(this.timer);
|
|
173
179
|
this.timer = setTimeout(() => {
|
|
174
180
|
this.expired = new CheckDeadlineError(this.scripts.at(-1), this.describe());
|
|
175
181
|
this.rejectExpiry(this.expired);
|
|
176
182
|
this.abort.abort(this.expired);
|
|
177
|
-
},
|
|
178
|
-
}
|
|
183
|
+
}, CHECK_IDLE_MS);
|
|
184
|
+
}
|
|
179
185
|
ownBrowser = (browser) => {
|
|
180
186
|
if (this.expired) throw this.expired;
|
|
181
187
|
if (this.phase === "closed") throw new Error("Check has already finished.");
|
|
@@ -204,6 +210,8 @@ var CheckDeadline = class {
|
|
|
204
210
|
if (this.expired) return Promise.reject(this.expired);
|
|
205
211
|
const pending = operation();
|
|
206
212
|
this.operations.add(pending);
|
|
213
|
+
const settled = () => this.rearm();
|
|
214
|
+
pending.then(settled, settled);
|
|
207
215
|
return Promise.race([pending, this.expiry]);
|
|
208
216
|
}
|
|
209
217
|
async close() {
|
|
@@ -605,7 +613,7 @@ function round(value) {
|
|
|
605
613
|
|
|
606
614
|
// src/utils/hdrPromotion.ts
|
|
607
615
|
async function bundleProjectHtml(projectDir) {
|
|
608
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
616
|
+
const { bundleToSingleHtml } = await import("./compiler-23MT6CX6.js");
|
|
609
617
|
return bundleToSingleHtml(projectDir);
|
|
610
618
|
}
|
|
611
619
|
async function collectBundledRenderMedia(html) {
|
|
@@ -981,6 +989,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter)
|
|
|
981
989
|
taken.push(index);
|
|
982
990
|
const time = times[index] ?? 0;
|
|
983
991
|
perTime[index] = await collectSampleAt(worker, options, grid, motion, sets, time);
|
|
992
|
+
enter("samples");
|
|
984
993
|
}
|
|
985
994
|
};
|
|
986
995
|
const helpWith = async (helper) => {
|
|
@@ -1015,7 +1024,8 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter)
|
|
|
1015
1024
|
grid,
|
|
1016
1025
|
collected,
|
|
1017
1026
|
options.range,
|
|
1018
|
-
craftEnabled(driver, options)
|
|
1027
|
+
craftEnabled(driver, options),
|
|
1028
|
+
() => enter("overlap")
|
|
1019
1029
|
);
|
|
1020
1030
|
enter("samples");
|
|
1021
1031
|
return collected;
|
|
@@ -1033,6 +1043,7 @@ async function collectContrastAt(driver, options, time, issuesAtTime, collected)
|
|
|
1033
1043
|
var OVERLAP_SAMPLE_FPS = 8;
|
|
1034
1044
|
var OVERLAP_MAX_SAMPLES = 240;
|
|
1035
1045
|
var OVERLAP_HOLD_PROBES = 60;
|
|
1046
|
+
var OVERLAP_BATCH = 8;
|
|
1036
1047
|
function evenlyPicked(times, count) {
|
|
1037
1048
|
if (times.length <= count) return times;
|
|
1038
1049
|
const last = Math.max(1, count - 1);
|
|
@@ -1098,7 +1109,15 @@ async function denseOverlapTimes(driver, grid, range) {
|
|
|
1098
1109
|
const overlapTimes = buildOverlapSampleTimes(range ? range[1] - range[0] : grid.duration, edges);
|
|
1099
1110
|
return range ? mergeSampleTimes(overlapTimes.map((time) => time + range[0])) : overlapTimes;
|
|
1100
1111
|
}
|
|
1101
|
-
async function
|
|
1112
|
+
async function collectOverlapGridInBatches(driver, times, progress) {
|
|
1113
|
+
const issues = [];
|
|
1114
|
+
for (let from = 0; from < times.length; from += OVERLAP_BATCH) {
|
|
1115
|
+
issues.push(...await driver.collectOverlapGrid(times.slice(from, from + OVERLAP_BATCH)));
|
|
1116
|
+
progress();
|
|
1117
|
+
}
|
|
1118
|
+
return issues;
|
|
1119
|
+
}
|
|
1120
|
+
async function collectMotionOverlapSamples(driver, grid, collected, range, craft, progress) {
|
|
1102
1121
|
const baseTimes = new Set(grid.layoutSamples);
|
|
1103
1122
|
const shiftedTimes = await denseOverlapTimes(driver, grid, range);
|
|
1104
1123
|
if (craft) {
|
|
@@ -1106,16 +1125,19 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1106
1125
|
if (time >= grid.duration) continue;
|
|
1107
1126
|
await driver.seekGeometry(time);
|
|
1108
1127
|
collected.craftFrames.push(...await collectCraftFrame(driver, time));
|
|
1128
|
+
progress();
|
|
1109
1129
|
}
|
|
1110
1130
|
}
|
|
1111
1131
|
const probeHold = holdProber(driver, collected, range ? range[1] : grid.duration);
|
|
1112
|
-
const
|
|
1132
|
+
const gridTimes = shiftedTimes.filter((t) => !baseTimes.has(t));
|
|
1133
|
+
const gridIssues = await collectOverlapGridInBatches(driver, gridTimes, progress);
|
|
1113
1134
|
let sample = 0;
|
|
1114
1135
|
for (const [index, time] of shiftedTimes.entries()) {
|
|
1115
1136
|
if (baseTimes.has(time)) continue;
|
|
1116
1137
|
const issues = gridIssues[sample++] ?? [];
|
|
1117
1138
|
collected.layoutIssues.push(...issues);
|
|
1118
1139
|
await probeHold(time, shiftedTimes[index + 1] ?? Number.POSITIVE_INFINITY, issues);
|
|
1140
|
+
progress();
|
|
1119
1141
|
}
|
|
1120
1142
|
}
|
|
1121
1143
|
var CRAFT_SAMPLE_FPS = 8;
|
|
@@ -2133,7 +2155,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2133
2155
|
};
|
|
2134
2156
|
}
|
|
2135
2157
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2136
|
-
const module = await import("./checkBrowser-
|
|
2158
|
+
const module = await import("./checkBrowser-G53E2ZQI.js");
|
|
2137
2159
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2138
2160
|
}
|
|
2139
2161
|
var adoptedBrowser;
|
|
@@ -2147,7 +2169,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2147
2169
|
if (adopted) return adopted;
|
|
2148
2170
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2149
2171
|
if (html === void 0) return void 0;
|
|
2150
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2172
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-JANGQCIA.js");
|
|
2151
2173
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2152
2174
|
}
|
|
2153
2175
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2159,7 +2181,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2159
2181
|
return relative(projectDir, path);
|
|
2160
2182
|
}
|
|
2161
2183
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2162
|
-
const module = await import("./checkBrowser-
|
|
2184
|
+
const module = await import("./checkBrowser-G53E2ZQI.js");
|
|
2163
2185
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2164
2186
|
}
|
|
2165
2187
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -2177,7 +2199,8 @@ var examples = [
|
|
|
2177
2199
|
["Run the full verification gate", "hyperframes check"],
|
|
2178
2200
|
["Output one agent-readable envelope", "hyperframes check --json"],
|
|
2179
2201
|
["Persist the five audited contrast frames", "hyperframes check --snapshots"],
|
|
2180
|
-
["Also fail on warnings", "hyperframes check --strict"]
|
|
2202
|
+
["Also fail on warnings", "hyperframes check --strict"],
|
|
2203
|
+
["Make only the browser-playable video copies, then exit", "hyperframes check --prepare-media"]
|
|
2181
2204
|
];
|
|
2182
2205
|
var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
2183
2206
|
resolveProject,
|
|
@@ -2196,6 +2219,11 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2196
2219
|
return report;
|
|
2197
2220
|
}
|
|
2198
2221
|
},
|
|
2222
|
+
async prepareMedia(project, options) {
|
|
2223
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EDD2XDS2.js");
|
|
2224
|
+
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2225
|
+
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2226
|
+
},
|
|
2199
2227
|
withMeta
|
|
2200
2228
|
};
|
|
2201
2229
|
function warnNotRecorded(error) {
|
|
@@ -2321,6 +2349,11 @@ var CHECK_COMMAND_ARGS = {
|
|
|
2321
2349
|
description: "Exit non-zero on warnings too",
|
|
2322
2350
|
default: false
|
|
2323
2351
|
},
|
|
2352
|
+
"prepare-media": {
|
|
2353
|
+
type: "boolean",
|
|
2354
|
+
description: "Only make the browser-playable copies of videos Chrome cannot decode, then exit (no browser, no report). Stopped copies resume on the next run",
|
|
2355
|
+
default: false
|
|
2356
|
+
},
|
|
2324
2357
|
proxy: {
|
|
2325
2358
|
type: "boolean",
|
|
2326
2359
|
description: "Auto-transcode browser-hostile video codecs (default: hyperframes.json media.autoProxy, which defaults on)",
|
|
@@ -2365,6 +2398,10 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
|
|
|
2365
2398
|
if (!asJson) {
|
|
2366
2399
|
console.log(`${c.accent("\u25C6")} Checking ${c.accent(project.name)}`);
|
|
2367
2400
|
}
|
|
2401
|
+
if (args["prepare-media"] === true) {
|
|
2402
|
+
await runPrepareMedia(dependencies, project, options, asJson);
|
|
2403
|
+
return;
|
|
2404
|
+
}
|
|
2368
2405
|
const report = await withProjectLock(
|
|
2369
2406
|
project.dir,
|
|
2370
2407
|
"check",
|
|
@@ -2396,6 +2433,36 @@ function createCheckCommand(dependencies = DEFAULT_COMMAND_DEPENDENCIES) {
|
|
|
2396
2433
|
}
|
|
2397
2434
|
});
|
|
2398
2435
|
}
|
|
2436
|
+
async function runPrepareMedia(dependencies, project, options, asJson) {
|
|
2437
|
+
const files = await withProjectLock(
|
|
2438
|
+
project.dir,
|
|
2439
|
+
"check",
|
|
2440
|
+
() => dependencies.prepareMedia(project, options)
|
|
2441
|
+
);
|
|
2442
|
+
const failed = files.filter((file) => file.state === "failed");
|
|
2443
|
+
if (asJson) {
|
|
2444
|
+
console.log(
|
|
2445
|
+
JSON.stringify(
|
|
2446
|
+
dependencies.withMeta({
|
|
2447
|
+
ok: failed.length === 0,
|
|
2448
|
+
prepared: files,
|
|
2449
|
+
total: files.length,
|
|
2450
|
+
ready: files.length - failed.length,
|
|
2451
|
+
failed: failed.length
|
|
2452
|
+
}),
|
|
2453
|
+
null,
|
|
2454
|
+
2
|
|
2455
|
+
)
|
|
2456
|
+
);
|
|
2457
|
+
} else {
|
|
2458
|
+
const mark = failed.length === 0 ? c.success("\u2713") : c.error("\u2717");
|
|
2459
|
+
console.log(
|
|
2460
|
+
`${mark} Browser-playable copies: ${files.length - failed.length}/${files.length} ready`
|
|
2461
|
+
);
|
|
2462
|
+
for (const file of failed) console.log(` ${file.file}: ${file.reason}`);
|
|
2463
|
+
}
|
|
2464
|
+
setCommandExitCode(failed.length === 0 ? 0 : 1);
|
|
2465
|
+
}
|
|
2399
2466
|
function parseCheckOptions(args) {
|
|
2400
2467
|
const maxTransitionSamples = positiveInteger(args["max-transition-samples"], 0);
|
|
2401
2468
|
return {
|
|
@@ -6,14 +6,14 @@ 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-37EPEFXM.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_HISTORY_ROOT,
|
|
12
12
|
HistoryBusyError,
|
|
13
13
|
MAX_WINDOW_IDLE_MS,
|
|
14
14
|
openProjectHistory,
|
|
15
15
|
readProjectHistory
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TMBUBLZB.js";
|
|
17
17
|
import {
|
|
18
18
|
findPreviewServerForProject,
|
|
19
19
|
studioApiUrl
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-DCAI5DBR.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z2BW2WJS.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WYCFMNU3.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -6,7 +6,7 @@ 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-HUG47UEE.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HXM2ISEK.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WYCFMNU3.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -108,7 +108,7 @@ var HyperframesCloudClient = class {
|
|
|
108
108
|
/**
|
|
109
109
|
* Upload Asset
|
|
110
110
|
*
|
|
111
|
-
* Uploads a file (image, video, audio, PDF, or SRT subtitle) and returns an asset_id for use in other endpoints. Max 32 MB. Supported types: png, jpeg, mp4, webm, mp3, wav, pdf, srt.
|
|
111
|
+
* Uploads a file (image, video, audio, PDF, or SRT subtitle) and returns an asset_id for use in other endpoints. Max 50 MB, or 32 MB for an image. Supported types: png, jpeg, mp4, webm, mp3, wav, pdf, srt. A file is checked against the content policy after it is uploaded; if it is blocked, the asset is removed and later requests for it return not found.
|
|
112
112
|
*/
|
|
113
113
|
async uploadAsset(args) {
|
|
114
114
|
const fd = new FormData();
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TFUAKV6O.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6RA4TWGV.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3OLOVRWS.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -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-ASZ4IQB4.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -6,10 +6,10 @@ 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-ZPMF6GAQ.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BPX7LZG6.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.189" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.189" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4DZ3HBKF.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TMBUBLZB.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HXM2ISEK.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-YNXBU4ZQ.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|