hyperframes 0.8.204 → 0.8.206
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-HBFVYKGU.js → add-FFMNAJXJ.js} +12 -12
- package/dist/{animatedGifPrep-VBUKGEZ6.js → animatedGifPrep-BIIIIVWL.js} +16 -10
- package/dist/api.js +18 -18
- package/dist/{asset-OVLMJY4S.js → asset-IPUHGZSL.js} +2 -2
- package/dist/{assetCataloger-K4INCLFU.js → assetCataloger-M5FWXLAJ.js} +8 -8
- package/dist/{audio-JHW3HLHK.js → audio-VYWWM4DB.js} +19 -16
- package/dist/{auth-RH67KQMZ.js → auth-GZQZCUPL.js} +1 -1
- package/dist/{autoUpdate-JYR2RW5Z.js → autoUpdate-GJUDDLLO.js} +2 -2
- package/dist/{backgroundChecks-DPHRM4HJ.js → backgroundChecks-BTMSW34Z.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JFUWZR3M.js → batchRender-LI2BJRGO.js} +4 -4
- package/dist/{beats-AWAFZGOT.js → beats-H73CSYT4.js} +11 -11
- package/dist/{benchmark-VQCCULJ2.js → benchmark-XT3A5REC.js} +14 -12
- package/dist/{browser-TT5L7D32.js → browser-VIOK66YK.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-EHXEP5ZL.js → bundleWithLocalizedFonts-PFRVWYOO.js} +2 -2
- package/dist/{capture-Y7TGR3BI.js → capture-252WNPCD.js} +2 -2
- package/dist/{capture-5CM2P6CB.js → capture-KKD5GMAF.js} +20 -20
- package/dist/{captureCompositionFrame-LIT6U6C4.js → captureCompositionFrame-YLYVGNN2.js} +13 -13
- package/dist/{catalog-WZN2XB7D.js → catalog-6IJGNN3T.js} +12 -12
- package/dist/{catch-up-WZMQUW5H.js → catch-up-BFW7Z35W.js} +4 -4
- package/dist/{check-YVJCDCJS.js → check-XUWBZASR.js} +40 -38
- package/dist/checkAudio-2NRR3VHQ.js +201 -0
- package/dist/{checkBrowser-7V2DGDVD.js → checkBrowser-JW74KWTF.js} +33 -32
- package/dist/{chunk-IDASYE4U.js → chunk-2MLMO25E.js} +8 -5
- package/dist/{chunk-TBSYUEB7.js → chunk-2RT7MXFL.js} +1 -1
- package/dist/{chunk-7RB4I2E6.js → chunk-2S263R6D.js} +19 -7
- package/dist/{chunk-YLGRZSH4.js → chunk-36QE3P6B.js} +1 -1
- package/dist/{chunk-3GPDAE3D.js → chunk-3B2DBUQX.js} +1 -1
- package/dist/{chunk-UKXF4IPA.js → chunk-3CS6QYL7.js} +5 -5
- package/dist/{chunk-KOBPUFCN.js → chunk-3R6SXPHD.js} +2 -2
- package/dist/{chunk-US6JSQ2L.js → chunk-42KN6I6A.js} +2 -2
- package/dist/{chunk-LTGTN2TH.js → chunk-4CY5RXXC.js} +1 -1
- package/dist/{chunk-TQH7BF7K.js → chunk-4DGLKB2H.js} +1 -1
- package/dist/{chunk-DQBY7FRR.js → chunk-543U46OR.js} +4 -1
- package/dist/{chunk-D3EZHD2D.js → chunk-5QKJPCQ4.js} +2 -2
- package/dist/{chunk-IJ6RY4CH.js → chunk-63DGZRZP.js} +1 -1
- package/dist/{chunk-DRDG46KK.js → chunk-6ZFDNEMY.js} +14 -14
- package/dist/{chunk-LN5EJMSC.js → chunk-7SXL476O.js} +30 -20
- package/dist/{chunk-2756LXGY.js → chunk-AAX2A7LQ.js} +1 -1
- package/dist/{chunk-DTV3VHFE.js → chunk-AEC4T4IF.js} +4 -4
- package/dist/{chunk-4HJMZI4H.js → chunk-AJSU6KGS.js} +13 -13
- package/dist/{chunk-S35XO2ZA.js → chunk-AXEEZKIL.js} +2 -2
- package/dist/{chunk-KLIKCX6Q.js → chunk-AYH5ANVS.js} +7 -1
- package/dist/{chunk-ZBDVKLIU.js → chunk-BBUK6A7Q.js} +5 -5
- package/dist/{chunk-NJT6SZGL.js → chunk-CIHW6VM2.js} +1 -1
- package/dist/{chunk-EF7R5EBJ.js → chunk-CMDVJP4T.js} +10 -10
- package/dist/{chunk-VCBZOU7U.js → chunk-CNVHMLPI.js} +1 -1
- package/dist/{chunk-RFCLI6TW.js → chunk-CPSGXAYD.js} +3 -3
- package/dist/{chunk-54FO6TN7.js → chunk-CZYS6UKP.js} +83 -78
- package/dist/{chunk-5UW7WCHQ.js → chunk-DEVZJ4AL.js} +10 -9
- package/dist/{chunk-TCI4MUT6.js → chunk-DZG565OO.js} +1 -1
- package/dist/{chunk-D5CAZ7R4.js → chunk-E2ZZSDDQ.js} +2 -2
- package/dist/{chunk-TAYZSNYS.js → chunk-FJW757TF.js} +1 -1
- package/dist/{chunk-LVMJXO45.js → chunk-FMWACL3L.js} +1 -1
- package/dist/{chunk-54K7HW46.js → chunk-FNNGQ3DB.js} +2 -2
- package/dist/{chunk-AQS3MMEQ.js → chunk-FULMZCDW.js} +13 -43
- package/dist/chunk-G6QDFWDN.js +355 -0
- package/dist/{chunk-QB4K2EWI.js → chunk-G6W55MTX.js} +1 -1
- package/dist/{chunk-WM7GOKEP.js → chunk-GAV56VJL.js} +2 -2
- package/dist/{chunk-4CR23IYU.js → chunk-H4JO7VSI.js} +7 -6
- package/dist/{chunk-6RLP6RDE.js → chunk-HEP5XMXV.js} +1 -1
- package/dist/{chunk-23RPCDGE.js → chunk-HJAJ6W4V.js} +2 -2
- package/dist/chunk-KLIPVNCO.js +4824 -0
- package/dist/{chunk-YIN2JAZE.js → chunk-L5MFWGGU.js} +62 -65
- package/dist/{chunk-WMCGD4XL.js → chunk-MFHYBSJC.js} +58 -828
- package/dist/{chunk-LFGJWOVA.js → chunk-MNNK7RV5.js} +11 -8
- package/dist/{chunk-EUFBE5BW.js → chunk-N7ZMDVAK.js} +1 -1
- package/dist/{chunk-X7XICOVM.js → chunk-NNLQTG3M.js} +1 -1
- package/dist/{chunk-TNOERLC6.js → chunk-NVLPW3DG.js} +17 -9
- package/dist/{chunk-SVVAUJPL.js → chunk-OFRRUYBA.js} +1 -1
- package/dist/{chunk-WLD4PX3P.js → chunk-OZUAVHFE.js} +18 -3
- package/dist/{chunk-QCQDUQVJ.js → chunk-PNKLOMHQ.js} +2 -2
- package/dist/{chunk-QZ4HQQYS.js → chunk-PQYWYBEQ.js} +1 -1
- package/dist/{chunk-VC3BMKYO.js → chunk-QL4ZYSIB.js} +3 -3
- package/dist/{chunk-N3EJG2X4.js → chunk-QVTCXN42.js} +3 -3
- package/dist/{chunk-Y63CT2ZC.js → chunk-RDDVQSNQ.js} +124 -37
- package/dist/{chunk-WXAQT63P.js → chunk-RW4DMP2Y.js} +4 -4
- package/dist/{chunk-5RJSWYWL.js → chunk-SFYLZX5C.js} +1 -1
- package/dist/{chunk-YU53JSUZ.js → chunk-T6SD37JZ.js} +1 -1
- package/dist/chunk-TQBQYO4L.js +55 -0
- package/dist/{chunk-MSH2F7VW.js → chunk-TSJVPPXT.js} +1 -1
- package/dist/{chunk-7PRESGFT.js → chunk-UMUVGNOH.js} +3 -3
- package/dist/{chunk-6KZY5RSV.js → chunk-VDVVQNTK.js} +2 -2
- package/dist/{chunk-XX5U64F2.js → chunk-VEA7Z4PZ.js} +4 -3
- package/dist/{chunk-QWATUGUX.js → chunk-VHVSBOZH.js} +3 -3
- package/dist/{chunk-65VFH2UV.js → chunk-VW2LVMKB.js} +19 -9
- package/dist/{chunk-DBF6LLXB.js → chunk-WHD5IAHI.js} +1 -1
- package/dist/{chunk-OPFG563D.js → chunk-WYB3VKLK.js} +2 -2
- package/dist/{chunk-34VLVDOU.js → chunk-X5HHHFTX.js} +3 -3
- package/dist/{chunk-BL4U6U52.js → chunk-X7A7C4JS.js} +70 -7
- package/dist/chunk-X7RXXBYM.js +29 -0
- package/dist/{chunk-GGEA5EHR.js → chunk-XOM3XTJ4.js} +1 -1
- package/dist/{chunk-HBDQGIQA.js → chunk-Z3XXLTVB.js} +2 -2
- package/dist/{chunk-ERUINDRT.js → chunk-ZF3R2IPC.js} +184 -183
- package/dist/{chunk-CXZDIWMK.js → chunk-ZNAOBFU5.js} +1 -1
- package/dist/{chunk-AII6P2TC.js → chunk-ZTEKVSZ6.js} +1 -1
- package/dist/{clean-3JE2KYTC.js → clean-N5VSKUVS.js} +20 -20
- package/dist/cli.js +82 -60
- package/dist/{cloud-Z54BHP6G.js → cloud-74NF5FXC.js} +4 -4
- package/dist/{cloudrun-4CPQLU5M.js → cloudrun-7UOH335V.js} +6 -6
- package/dist/{compare-AQMLMTFD.js → compare-AY2LS2TZ.js} +33 -33
- package/dist/{compiler-LIJYMSEL.js → compiler-4MHMC777.js} +14 -10
- package/dist/{component-ZH37EIYB.js → component-CFWQOAZI.js} +3 -3
- package/dist/{compositions-DF2FM6YD.js → compositions-DXLJTDSP.js} +14 -14
- package/dist/{delete-A3NSK2HH.js → delete-GB4MS7LM.js} +2 -2
- package/dist/{deploy-6RC2DXPQ.js → deploy-NXD3Q3KD.js} +4 -4
- package/dist/{deterministicFonts-HQYCUUAL.js → deterministicFonts-775YXAQ2.js} +2 -2
- package/dist/{dist-VSIT3UAX.js → dist-3ZJMZU75.js} +11 -3
- package/dist/{dist-6JMYDD7F.js → dist-ZY6IFESG.js} +2 -2
- package/dist/docs/examples.md +31 -7
- package/dist/{doctor-RILK4ATO.js → doctor-CVY2XXKS.js} +14 -14
- package/dist/{events-SL434XAY.js → events-RYQYEWBV.js} +2 -2
- package/dist/{events-B5EKVEPW.js → events-T3CLIYRG.js} +3 -3
- package/dist/{feedback-S4PC6VAR.js → feedback-K5ZMMLTA.js} +8 -8
- package/dist/{ffmpeg-XSDPPZCU.js → ffmpeg-UNDAJ2IC.js} +9 -9
- package/dist/{figma-MV2L6E2Z.js → figma-MYYCX635.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -12
- package/dist/{get-ID3Y3PCN.js → get-JVIDYMVP.js} +2 -2
- package/dist/{gpuPolicy-2LRMQOAD.js → gpuPolicy-KEX7GDRJ.js} +8 -8
- package/dist/{grade-compare-NV3TKIOO.js → grade-compare-QEF6VASJ.js} +31 -31
- package/dist/{gsapParser-IEUSLYDJ.js → gsapParser-3H7ON3DO.js} +1 -1
- package/dist/heifImagePrep-A3ZPVQGU.js +53 -0
- package/dist/{help-ZPT23LZ3.js → help-XPPSLIRY.js} +1 -1
- package/dist/{history-MZGDX3TR.js → history-OFOPRD27.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +66 -64
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +16 -16
- package/dist/{info-FIZ4A54H.js → info-7RF6FQX5.js} +8 -8
- package/dist/{init-WX4MNPL2.js → init-NTIXWA3D.js} +32 -35
- package/dist/{inspect-R5KWWKNJ.js → inspect-MYMCV5E7.js} +31 -30
- package/dist/inspection.js +4 -4
- package/dist/{installer-CTV5FKYQ.js → installer-PYJIJ3PJ.js} +5 -5
- package/dist/{keyframes-FAJY5RK5.js → keyframes-UJ52PYE4.js} +6 -6
- package/dist/{lambda-3MCC2ZH7.js → lambda-SBNUYEQE.js} +8 -8
- package/dist/{layout-3RTVYRRN.js → layout-IOMCOABO.js} +31 -30
- package/dist/{lint-ZDCVL7K4.js → lint-AQWHHMPS.js} +8 -8
- package/dist/{lintProject-4IVYXS5J.js → lintProject-5A4SCW3S.js} +2 -2
- package/dist/{list-SBCXW2UT.js → list-WKAJ5SP3.js} +2 -2
- package/dist/{login-VQ2LQ2YG.js → login-3ZDK5JOA.js} +4 -4
- package/dist/{manager-F34TSFV6.js → manager-F2YREC5X.js} +2 -2
- package/dist/{manager-ZRF6UXUM.js → manager-QYFYWZOK.js} +10 -10
- package/dist/{media-treatment-MFIP7Q4G.js → media-treatment-4OLWVHUY.js} +15 -15
- package/dist/{models-OU36YZCT.js → models-MR55FAUX.js} +14 -14
- package/dist/{motionShot-SHDUG7YR.js → motionShot-DC47S7BT.js} +17 -17
- package/dist/{normalize-audio-7RTPEV7Y.js → normalize-audio-M2TK4NG5.js} +8 -8
- package/dist/{open-HT4RG32S.js → open-YXWBWTKL.js} +15 -14
- package/dist/{parakeetRunner-DOVPZDCH.js → parakeetRunner-J6QR3GTG.js} +15 -15
- package/dist/{pipeline-NIVQ6E2G.js → pipeline-7MJ5H4SW.js} +10 -10
- package/dist/{play-HPX5SIRQ.js → play-S562STR4.js} +34 -24
- package/dist/{preflight-TNYC7EIS.js → preflight-QWGXMISC.js} +11 -11
- package/dist/{present-QSOIMURR.js → present-PGOHZT3L.js} +30 -20
- package/dist/{preview-WDO53XKK.js → preview-JU75H4QN.js} +32 -29
- package/dist/{producer-G27KP3IY.js → producer-H66OMZLW.js} +1 -1
- package/dist/{projectConfig-CP722RCM.js → projectConfig-COSP24YT.js} +7 -7
- package/dist/{publication-LCWVBLDN.js → publication-J3XYHPGB.js} +3 -3
- package/dist/{publish-BIY6LEZ2.js → publish-7GCCEPJZ.js} +11 -11
- package/dist/{remove-background-NPLZGLZ3.js → remove-background-WRCGIU32.js} +11 -11
- package/dist/{render-J57LAXB5.js → render-5J5PP3UK.js} +21 -21
- package/dist/{render-IHNAZXA2.js → render-QS3YJCBR.js} +6 -6
- package/dist/{render-HHUGUKG6.js → render-VUVTK2JM.js} +36 -36
- package/dist/{render-batch-FK26OQ5E.js → render-batch-Q2LQ3D4P.js} +6 -6
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-FWJXO6DY.js → resolver-QCBWPRSC.js} +5 -5
- package/dist/{sherpa-BXFJU5EP.js → sherpa-IZ22SC5W.js} +14 -14
- package/dist/skills/hyperframes/references/types/launch.md +12 -2
- package/dist/skills/media-use/references/memory.md +4 -0
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +173 -0
- package/dist/skills/media-use/scripts/lib/prefs-store.mjs +46 -28
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +56 -0
- package/dist/{skills-7XS4HZBC.js → skills-3RFMPMJA.js} +5 -5
- package/dist/{skillsUpdateCheck-MGU5KLR4.js → skillsUpdateCheck-DWBFVUBT.js} +3 -3
- package/dist/{snapshot-O2PMEMKH.js → snapshot-5PHA43DK.js} +54 -41
- package/dist/{src-Q4R2YPKA.js → src-36BQVJL3.js} +17 -11
- package/dist/{src-OQRG6BT7.js → src-4YJKYMNF.js} +11 -7
- package/dist/{staticProjectServer-6OY4VMO6.js → staticProjectServer-3XFB76XS.js} +18 -18
- package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +478 -0
- package/dist/studio/assets/{index-DpxSurnJ.js → index-BNuxGFZK.js} +1 -1
- package/dist/studio/assets/{index-DmST2bTJ.js → index-CwreIGoq.js} +132 -132
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YSUTKHV7.js → studio-api-WL6EZ4KE.js} +11 -11
- package/dist/{studioSelectionClient-IUUPKUHZ.js → studioSelectionClient-D6VMGTKQ.js} +1 -1
- package/dist/{studioServer-APGEQIW5.js → studioServer-ZS5RA6U3.js} +66 -56
- package/dist/{telemetry-3B6EA5IU.js → telemetry-W3LRO3TB.js} +3 -3
- package/dist/{timeline-QWM6JS4B.js → timeline-BDO5DYWP.js} +19 -19
- package/dist/{tokens-TKLSP3OQ.js → tokens-47CEMYFV.js} +2 -2
- package/dist/{transcribe-XOPMHJLJ.js → transcribe-GEPVJO3A.js} +19 -19
- package/dist/{transcribe-PODOCWCC.js → transcribe-XF3NL6JI.js} +13 -13
- package/dist/{tts-5I2AJNLM.js → tts-QM4RFE7U.js} +1 -1
- package/dist/{updateCheck-RO6FPYMZ.js → updateCheck-BON6ZFYP.js} +2 -2
- package/dist/{upgrade-EVNIL5TZ.js → upgrade-KIF5Z4J3.js} +2 -2
- package/dist/{urlDownloader-F5HYFRA6.js → urlDownloader-UDRHVUWR.js} +7 -7
- package/dist/{validate-NXLFCHGG.js → validate-2OPSQT3W.js} +24 -24
- package/dist/{video-ECV2OIQN.js → video-ECWXMY4F.js} +8 -8
- package/dist/warmCheck.js +40 -38
- package/package.json +1 -1
- package/dist/chunk-YRQPU7SV.js +0 -3983
- package/dist/studio/assets/hyperframes-player-CttA4PW7.js +0 -478
- package/dist/{synthesize-PKTB5ATG.js → synthesize-QCRP3NI7.js} +4 -4
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
2
|
+
import * as fs from "node:fs";
|
|
2
3
|
import { basename, dirname, join, resolve } from "node:path";
|
|
4
|
+
import { withFileLock } from "./config-lock.mjs";
|
|
3
5
|
import { globalMediaDir } from "./media-home.mjs";
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -70,10 +72,25 @@ function readPrefsFile(path) {
|
|
|
70
72
|
|
|
71
73
|
/** Atomic write (tmp + rename) so a crash never leaves a torn file. */
|
|
72
74
|
function writePrefsFile(path, file) {
|
|
75
|
+
const tmp = `${path}.${process.pid}.tmp`;
|
|
76
|
+
try {
|
|
77
|
+
writeFileSync(tmp, `${JSON.stringify(file, null, 2)}\n`);
|
|
78
|
+
renameSync(tmp, path);
|
|
79
|
+
} finally {
|
|
80
|
+
try {
|
|
81
|
+
fs.rmSync(tmp, { force: true });
|
|
82
|
+
} catch {}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function updatePrefsFile(path, update) {
|
|
73
87
|
mkdirSync(dirname(path), { recursive: true });
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
88
|
+
return withFileLock(`${path}.lock`, fs, () => {
|
|
89
|
+
const file = readPrefsFile(path);
|
|
90
|
+
const result = update(file);
|
|
91
|
+
writePrefsFile(path, file);
|
|
92
|
+
return result;
|
|
93
|
+
});
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
/** `style_preset` entries are stored per workflow as `style_preset.<workflow>`. */
|
|
@@ -112,16 +129,18 @@ function dedupe(list) {
|
|
|
112
129
|
* provenance over (the old confirmations vouched for the old value).
|
|
113
130
|
*/
|
|
114
131
|
function recordProjectTier(projectDir, fullKey, value, projectName, now) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
132
|
+
return updatePrefsFile(projectPrefsPath(projectDir), (file) => {
|
|
133
|
+
const previous = file.preferences[fullKey];
|
|
134
|
+
const keepProvenance = validEntry(previous) && previous.value === value;
|
|
135
|
+
const confirmedIn = keepProvenance
|
|
136
|
+
? dedupe([
|
|
137
|
+
...(Array.isArray(previous.confirmed_in) ? previous.confirmed_in : []),
|
|
138
|
+
projectName,
|
|
139
|
+
])
|
|
140
|
+
: [projectName];
|
|
141
|
+
file.preferences[fullKey] = { value, confirmed_in: confirmedIn, updated_at: now };
|
|
142
|
+
return confirmedIn;
|
|
143
|
+
});
|
|
125
144
|
}
|
|
126
145
|
|
|
127
146
|
/**
|
|
@@ -129,21 +148,20 @@ function recordProjectTier(projectDir, fullKey, value, projectName, now) {
|
|
|
129
148
|
* the same value has been confirmed in PROMOTE_AT distinct projects.
|
|
130
149
|
*/
|
|
131
150
|
function recordUserSighting(fullKey, value, projectName, now) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
return promoted;
|
|
151
|
+
return updatePrefsFile(userPrefsPath(), (file) => {
|
|
152
|
+
const keySightings = isRecord(file.sightings[fullKey]) ? file.sightings[fullKey] : {};
|
|
153
|
+
const seenIn = dedupe([
|
|
154
|
+
...(Array.isArray(keySightings[value]) ? keySightings[value] : []),
|
|
155
|
+
projectName,
|
|
156
|
+
]);
|
|
157
|
+
keySightings[value] = seenIn;
|
|
158
|
+
file.sightings[fullKey] = keySightings;
|
|
159
|
+
const promoted = seenIn.length >= PROMOTE_AT;
|
|
160
|
+
if (promoted) {
|
|
161
|
+
file.preferences[fullKey] = { value, confirmed_in: seenIn, updated_at: now };
|
|
162
|
+
}
|
|
163
|
+
return promoted;
|
|
164
|
+
});
|
|
147
165
|
}
|
|
148
166
|
|
|
149
167
|
/**
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { strict as assert } from "node:assert";
|
|
2
2
|
import { test } from "node:test";
|
|
3
3
|
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
4
|
+
import fs from "node:fs";
|
|
5
|
+
import { syncBuiltinESMExports } from "node:module";
|
|
4
6
|
import { tmpdir } from "node:os";
|
|
5
7
|
import { join } from "node:path";
|
|
6
8
|
import {
|
|
@@ -39,6 +41,60 @@ function withSandbox(fn) {
|
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
|
|
44
|
+
for (const code of ["EPERM", "EBUSY"]) {
|
|
45
|
+
test(`temporary-file cleanup ${code} does not fail a successful preference record`, (t) => {
|
|
46
|
+
const remove = fs.rmSync;
|
|
47
|
+
t.mock.method(fs, "rmSync", (path, options) => {
|
|
48
|
+
if (path.endsWith(".tmp")) throw Object.assign(new Error("cleanup failed"), { code });
|
|
49
|
+
return remove(path, options);
|
|
50
|
+
});
|
|
51
|
+
syncBuiltinESMExports();
|
|
52
|
+
t.after(() => {
|
|
53
|
+
t.mock.restoreAll();
|
|
54
|
+
syncBuiltinESMExports();
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
withSandbox(({ projectA, projectB }) => {
|
|
58
|
+
recordPreference({ projectDir: projectA, key: "language", value: "en" });
|
|
59
|
+
const second = recordPreference({ projectDir: projectB, key: "language", value: "en" });
|
|
60
|
+
assert.equal(second.promoted, true);
|
|
61
|
+
for (const path of [
|
|
62
|
+
projectPrefsPath(projectA),
|
|
63
|
+
projectPrefsPath(projectB),
|
|
64
|
+
userPrefsPath(),
|
|
65
|
+
]) {
|
|
66
|
+
assert.equal(JSON.parse(readFileSync(path, "utf8")).preferences.language.value, "en");
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
test(`temporary-file cleanup ${code} preserves the original preference write error`, (t) => {
|
|
72
|
+
const remove = fs.rmSync;
|
|
73
|
+
const write = fs.writeFileSync;
|
|
74
|
+
const writeError = Object.assign(new Error("disk full"), { code: "ENOSPC" });
|
|
75
|
+
t.mock.method(fs, "rmSync", (path, options) => {
|
|
76
|
+
if (path.endsWith(".tmp")) throw Object.assign(new Error("cleanup failed"), { code });
|
|
77
|
+
return remove(path, options);
|
|
78
|
+
});
|
|
79
|
+
t.mock.method(fs, "writeFileSync", (path, ...args) => {
|
|
80
|
+
if (path.endsWith(".tmp")) throw writeError;
|
|
81
|
+
return write(path, ...args);
|
|
82
|
+
});
|
|
83
|
+
syncBuiltinESMExports();
|
|
84
|
+
t.after(() => {
|
|
85
|
+
t.mock.restoreAll();
|
|
86
|
+
syncBuiltinESMExports();
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
withSandbox(({ projectA }) => {
|
|
90
|
+
assert.throws(
|
|
91
|
+
() => recordPreference({ projectDir: projectA, key: "language", value: "en" }),
|
|
92
|
+
(error) => error === writeError,
|
|
93
|
+
);
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
|
|
42
98
|
test("record writes the project tier and get merges it as source=project", () => {
|
|
43
99
|
withSandbox(({ projectA }) => {
|
|
44
100
|
const result = recordPreference({ projectDir: projectA, key: "destination", value: "x-feed" });
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
} from "./chunk-WMQNIQDJ.js";
|
|
16
16
|
import {
|
|
17
17
|
trackSkillsInstallSkipped
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-FMWACL3L.js";
|
|
19
|
+
import "./chunk-FJW757TF.js";
|
|
20
20
|
import {
|
|
21
21
|
diag
|
|
22
22
|
} from "./chunk-VWG7OQKU.js";
|
|
@@ -45,15 +45,15 @@ import {
|
|
|
45
45
|
isCoreSkill,
|
|
46
46
|
presentSkills,
|
|
47
47
|
retiredSkillNotice
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NNLQTG3M.js";
|
|
49
49
|
import {
|
|
50
50
|
withMeta
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XOM3XTJ4.js";
|
|
52
52
|
import "./chunk-K4WIOZFP.js";
|
|
53
53
|
import "./chunk-PSX5SF2N.js";
|
|
54
54
|
import "./chunk-WERLJGIC.js";
|
|
55
55
|
import "./chunk-ISN5GRYI.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-E2ZZSDDQ.js";
|
|
57
57
|
import "./chunk-T2EUWCJE.js";
|
|
58
58
|
import "./chunk-M2WBOQ2Q.js";
|
|
59
59
|
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
printSkillsUpdateNotice,
|
|
10
10
|
refreshSkillsCache,
|
|
11
11
|
skillsCheckDue
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NNLQTG3M.js";
|
|
13
|
+
import "./chunk-XOM3XTJ4.js";
|
|
14
14
|
import "./chunk-K4WIOZFP.js";
|
|
15
15
|
import "./chunk-PSX5SF2N.js";
|
|
16
16
|
import "./chunk-WERLJGIC.js";
|
|
17
17
|
import "./chunk-ISN5GRYI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-E2ZZSDDQ.js";
|
|
19
19
|
import "./chunk-T2EUWCJE.js";
|
|
20
20
|
import "./chunk-M2WBOQ2Q.js";
|
|
21
21
|
export {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
findFFmpeg,
|
|
26
26
|
findFFprobe,
|
|
27
27
|
getFFmpegInstallHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5QKJPCQ4.js";
|
|
29
29
|
import {
|
|
30
30
|
pngDimensions,
|
|
31
31
|
reportArtifacts,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
} from "./chunk-PLGGKTCB.js";
|
|
34
34
|
import {
|
|
35
35
|
captureArtifactRevision
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-AAX2A7LQ.js";
|
|
37
|
+
import "./chunk-3R6SXPHD.js";
|
|
38
38
|
import "./chunk-X7MTZ4T2.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveProject
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HEP5XMXV.js";
|
|
42
42
|
import {
|
|
43
43
|
serveStaticProjectHtml
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-2S263R6D.js";
|
|
45
|
+
import "./chunk-OZUAVHFE.js";
|
|
46
46
|
import "./chunk-X7MTZ4T2.js";
|
|
47
47
|
import "./chunk-XUHOIDKG.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-7SXL476O.js";
|
|
49
|
+
import "./chunk-AEC4T4IF.js";
|
|
50
50
|
import "./chunk-IXXVS2Z4.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-VDVVQNTK.js";
|
|
52
52
|
import {
|
|
53
53
|
artifactDirectory,
|
|
54
54
|
finishSnapshotRun,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
recordArtifacts,
|
|
57
57
|
retainSnapshotOutput
|
|
58
58
|
} from "./chunk-XDMZY3H7.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-AXEEZKIL.js";
|
|
60
60
|
import "./chunk-ALVXFXUG.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_ZOOM_SCALE,
|
|
@@ -68,36 +68,36 @@ import {
|
|
|
68
68
|
runFfmpegOnce,
|
|
69
69
|
seekCompositionTimelineOnly,
|
|
70
70
|
settleCompositionSeek
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-CMDVJP4T.js";
|
|
72
|
+
import "./chunk-T6SD37JZ.js";
|
|
73
73
|
import "./chunk-MOEGCMKI.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-QL4ZYSIB.js";
|
|
75
75
|
import "./chunk-DKPNNYBZ.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-PQYWYBEQ.js";
|
|
77
77
|
import "./chunk-K2FLNJVB.js";
|
|
78
78
|
import "./chunk-EHSBBBR2.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-63DGZRZP.js";
|
|
80
|
+
import "./chunk-543U46OR.js";
|
|
81
81
|
import {
|
|
82
82
|
resolveLocalBrowserGpuMode
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-42KN6I6A.js";
|
|
84
|
+
import "./chunk-WHD5IAHI.js";
|
|
85
85
|
import "./chunk-XT7X6QCP.js";
|
|
86
86
|
import "./chunk-4YYJOFKS.js";
|
|
87
87
|
import "./chunk-HVW7ABXD.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-3B2DBUQX.js";
|
|
89
89
|
import {
|
|
90
90
|
runWithConcurrencyLimit
|
|
91
91
|
} from "./chunk-JHOCK3DG.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-Z3XXLTVB.js";
|
|
93
|
+
import "./chunk-4DGLKB2H.js";
|
|
94
94
|
import "./chunk-AWDFDFI3.js";
|
|
95
95
|
import "./chunk-P6LJ4Y32.js";
|
|
96
96
|
import "./chunk-GMECXFAN.js";
|
|
97
97
|
import "./chunk-FLREUEHW.js";
|
|
98
98
|
import "./chunk-EOVYQ3IG.js";
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-FMWACL3L.js";
|
|
100
|
+
import "./chunk-FJW757TF.js";
|
|
101
101
|
import "./chunk-VWG7OQKU.js";
|
|
102
102
|
import {
|
|
103
103
|
defineCommand
|
|
@@ -110,32 +110,34 @@ import {
|
|
|
110
110
|
import {
|
|
111
111
|
c
|
|
112
112
|
} from "./chunk-ZTZA4UWZ.js";
|
|
113
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-AYH5ANVS.js";
|
|
114
114
|
import "./chunk-EVMY7IPL.js";
|
|
115
115
|
import "./chunk-7FMUTGOH.js";
|
|
116
116
|
import {
|
|
117
117
|
DEFAULT_CONFIG,
|
|
118
118
|
buildZeroDurationDiagnostic,
|
|
119
|
-
evaluateHfDiagnostic
|
|
120
|
-
|
|
119
|
+
evaluateHfDiagnostic,
|
|
120
|
+
extractMediaMetadata,
|
|
121
|
+
sdrCanvasColourFilters
|
|
122
|
+
} from "./chunk-RDDVQSNQ.js";
|
|
121
123
|
import "./chunk-5S7W3TUO.js";
|
|
122
124
|
import {
|
|
123
125
|
createRuntimeStartTimeResolver,
|
|
124
126
|
isClipVisibleAt,
|
|
125
127
|
isInClipWindow
|
|
126
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-VW2LVMKB.js";
|
|
127
129
|
import "./chunk-RQVDTPGD.js";
|
|
128
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-MFHYBSJC.js";
|
|
129
131
|
import {
|
|
130
132
|
readElementRateSpec,
|
|
131
133
|
sourceTimeAt,
|
|
132
134
|
timeAtSourceTime
|
|
133
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-KLIPVNCO.js";
|
|
134
136
|
import "./chunk-VC76R6W2.js";
|
|
135
137
|
import {
|
|
136
138
|
topLevelElements,
|
|
137
139
|
trackKindOf
|
|
138
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-OFRRUYBA.js";
|
|
139
141
|
import "./chunk-FR7YBU3H.js";
|
|
140
142
|
import "./chunk-OFQWTKPW.js";
|
|
141
143
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -144,7 +146,7 @@ import "./chunk-634HSJ3J.js";
|
|
|
144
146
|
import "./chunk-FXMKHHPO.js";
|
|
145
147
|
import {
|
|
146
148
|
runCancellableProcess
|
|
147
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-X7A7C4JS.js";
|
|
148
150
|
import {
|
|
149
151
|
definitiveEntryMismatchComposition,
|
|
150
152
|
hasDefinitiveEntryMismatch
|
|
@@ -155,10 +157,10 @@ import "./chunk-K4MJX7SR.js";
|
|
|
155
157
|
import "./chunk-4UMPIPCQ.js";
|
|
156
158
|
import {
|
|
157
159
|
lintProject
|
|
158
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-2MLMO25E.js";
|
|
161
|
+
import "./chunk-CZGHFATT.js";
|
|
159
162
|
import "./chunk-VAS6HQX3.js";
|
|
160
163
|
import "./chunk-PBNWRWKA.js";
|
|
161
|
-
import "./chunk-CZGHFATT.js";
|
|
162
164
|
import "./chunk-2BGOB2QK.js";
|
|
163
165
|
import {
|
|
164
166
|
parseHTML
|
|
@@ -169,12 +171,12 @@ import "./chunk-RXATE6FZ.js";
|
|
|
169
171
|
import "./chunk-UIOZIIB7.js";
|
|
170
172
|
import {
|
|
171
173
|
withMeta
|
|
172
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-XOM3XTJ4.js";
|
|
173
175
|
import "./chunk-K4WIOZFP.js";
|
|
174
176
|
import "./chunk-PSX5SF2N.js";
|
|
175
177
|
import "./chunk-WERLJGIC.js";
|
|
176
178
|
import "./chunk-ISN5GRYI.js";
|
|
177
|
-
import "./chunk-
|
|
179
|
+
import "./chunk-E2ZZSDDQ.js";
|
|
178
180
|
import {
|
|
179
181
|
normalizeErrorMessage
|
|
180
182
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -656,6 +658,14 @@ async function probeSeekLanding(ffmpeg, videoPath, seek) {
|
|
|
656
658
|
return null;
|
|
657
659
|
}
|
|
658
660
|
}
|
|
661
|
+
var warnedColourUnknown = false;
|
|
662
|
+
function warnColourUnknownOnce() {
|
|
663
|
+
if (warnedColourUnknown) return;
|
|
664
|
+
warnedColourUnknown = true;
|
|
665
|
+
console.warn(
|
|
666
|
+
` ${c.warn("\u26A0")} snapshot colours may differ from render: install ffmpeg/ffprobe so video colours can be matched`
|
|
667
|
+
);
|
|
668
|
+
}
|
|
659
669
|
var FrameExtractTimeoutError = class extends Error {
|
|
660
670
|
};
|
|
661
671
|
async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDecoder = false, holdLastFrame = false, displayedPixels = 0) {
|
|
@@ -675,6 +685,9 @@ async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDeco
|
|
|
675
685
|
args.push("-i", videoPath, "-map", "0:v:0");
|
|
676
686
|
const filters = [];
|
|
677
687
|
if (seek.select !== void 0) filters.push(`select=gte(t-start_t\\,${seek.select})`);
|
|
688
|
+
const metadata = findFFprobe() ? await extractMediaMetadata(videoPath) : null;
|
|
689
|
+
if (metadata) filters.push(...sdrCanvasColourFilters(metadata));
|
|
690
|
+
else warnColourUnknownOnce();
|
|
678
691
|
if (displayedPixels > 0) {
|
|
679
692
|
filters.push(
|
|
680
693
|
`scale='min(iw,${displayedPixels})':'min(ih,${displayedPixels})':force_original_aspect_ratio=increase`
|
|
@@ -759,7 +772,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
759
772
|
}
|
|
760
773
|
async function captureSnapshots(projectDir, opts) {
|
|
761
774
|
const log = opts.log ?? ((message) => console.log(message));
|
|
762
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
775
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-PFRVWYOO.js");
|
|
763
776
|
const capture = await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
764
777
|
const invocation = randomUUID();
|
|
765
778
|
const artifacts = [];
|
|
@@ -891,12 +904,12 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
891
904
|
}
|
|
892
905
|
let injectVideoFramesBatch = null;
|
|
893
906
|
let syncVideoFrameVisibility = null;
|
|
894
|
-
let
|
|
907
|
+
let extractMediaMetadata2 = null;
|
|
895
908
|
try {
|
|
896
|
-
const engine = await import("./src-
|
|
909
|
+
const engine = await import("./src-4YJKYMNF.js");
|
|
897
910
|
injectVideoFramesBatch = engine.injectVideoFramesBatch;
|
|
898
911
|
syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
|
|
899
|
-
|
|
912
|
+
extractMediaMetadata2 = engine.extractMediaMetadata;
|
|
900
913
|
} catch {
|
|
901
914
|
warnings.push("Video frame extraction engine unavailable");
|
|
902
915
|
console.warn(
|
|
@@ -905,10 +918,10 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
905
918
|
}
|
|
906
919
|
const alphaDecoderCache = /* @__PURE__ */ new Map();
|
|
907
920
|
const shouldUseVp9AlphaDecoder = (filePath) => {
|
|
908
|
-
if (!
|
|
921
|
+
if (!extractMediaMetadata2) return Promise.resolve(false);
|
|
909
922
|
const cached = alphaDecoderCache.get(filePath);
|
|
910
923
|
if (cached) return cached;
|
|
911
|
-
const pending =
|
|
924
|
+
const pending = extractMediaMetadata2(filePath).then((meta) => meta.hasAlpha && meta.videoCodec === "vp9").catch(() => false);
|
|
912
925
|
alphaDecoderCache.set(filePath, pending);
|
|
913
926
|
return pending;
|
|
914
927
|
};
|
|
@@ -48,6 +48,7 @@ import {
|
|
|
48
48
|
localizeRemoteImageSources,
|
|
49
49
|
localizeRemoteMediaSources,
|
|
50
50
|
materializePlanV2Target,
|
|
51
|
+
mediaProfileMatchesElementType,
|
|
51
52
|
normalizeErrorMessage,
|
|
52
53
|
parseRenderRequest,
|
|
53
54
|
plan,
|
|
@@ -69,20 +70,23 @@ import {
|
|
|
69
70
|
serializeRenderRequest,
|
|
70
71
|
startServer,
|
|
71
72
|
validatePlanV2MaterializedTarget
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-L5MFWGGU.js";
|
|
74
|
+
import {
|
|
75
|
+
prepareHeifImageInputs
|
|
76
|
+
} from "./chunk-G6QDFWDN.js";
|
|
73
77
|
import {
|
|
74
78
|
FONT_FETCH_FAILED,
|
|
75
79
|
FONT_FETCH_UNAVAILABLE,
|
|
76
80
|
FontFetchError,
|
|
77
81
|
FontFetchUnavailableError,
|
|
78
82
|
injectDeterministicFontFaces
|
|
79
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-N7ZMDVAK.js";
|
|
80
84
|
import "./chunk-FI4I7CME.js";
|
|
81
85
|
import {
|
|
82
86
|
prepareAnimatedGifInputs
|
|
83
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-NVLPW3DG.js";
|
|
84
88
|
import "./chunk-BZ56MTDX.js";
|
|
85
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-AYH5ANVS.js";
|
|
86
90
|
import "./chunk-EVMY7IPL.js";
|
|
87
91
|
import "./chunk-7FMUTGOH.js";
|
|
88
92
|
import {
|
|
@@ -98,16 +102,16 @@ import {
|
|
|
98
102
|
isTransientBrowserError,
|
|
99
103
|
prepareCaptureSessionForReuse,
|
|
100
104
|
resolveConfig
|
|
101
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-RDDVQSNQ.js";
|
|
102
106
|
import "./chunk-5S7W3TUO.js";
|
|
103
107
|
import {
|
|
104
108
|
quantizeTimeToFrame
|
|
105
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-VW2LVMKB.js";
|
|
106
110
|
import "./chunk-RQVDTPGD.js";
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-MFHYBSJC.js";
|
|
112
|
+
import "./chunk-KLIPVNCO.js";
|
|
109
113
|
import "./chunk-VC76R6W2.js";
|
|
110
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-OFRRUYBA.js";
|
|
111
115
|
import "./chunk-FR7YBU3H.js";
|
|
112
116
|
import "./chunk-OFQWTKPW.js";
|
|
113
117
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -116,10 +120,10 @@ import "./chunk-634HSJ3J.js";
|
|
|
116
120
|
import "./chunk-FXMKHHPO.js";
|
|
117
121
|
import "./chunk-K4MJX7SR.js";
|
|
118
122
|
import "./chunk-4UMPIPCQ.js";
|
|
119
|
-
import "./chunk-
|
|
123
|
+
import "./chunk-2MLMO25E.js";
|
|
124
|
+
import "./chunk-CZGHFATT.js";
|
|
120
125
|
import "./chunk-VAS6HQX3.js";
|
|
121
126
|
import "./chunk-PBNWRWKA.js";
|
|
122
|
-
import "./chunk-CZGHFATT.js";
|
|
123
127
|
import "./chunk-2BGOB2QK.js";
|
|
124
128
|
import "./chunk-GWTIFRF5.js";
|
|
125
129
|
import "./chunk-2RY2LWAA.js";
|
|
@@ -186,6 +190,7 @@ export {
|
|
|
186
190
|
localizeRemoteImageSources,
|
|
187
191
|
localizeRemoteMediaSources,
|
|
188
192
|
materializePlanV2Target,
|
|
193
|
+
mediaProfileMatchesElementType,
|
|
189
194
|
normalizeErrorMessage,
|
|
190
195
|
parseRenderRequest,
|
|
191
196
|
plan,
|
|
@@ -193,6 +198,7 @@ export {
|
|
|
193
198
|
planV2WithPublisher,
|
|
194
199
|
prepareAnimatedGifInputs,
|
|
195
200
|
prepareCaptureSessionForReuse,
|
|
201
|
+
prepareHeifImageInputs,
|
|
196
202
|
prepareHyperframeLintBody,
|
|
197
203
|
publishPlanV2FromExecutionPlan,
|
|
198
204
|
publishPlanV2FromV1,
|
|
@@ -214,11 +214,13 @@ import {
|
|
|
214
214
|
resolveVideoExtractionWindow,
|
|
215
215
|
roundedRectAlpha,
|
|
216
216
|
runFfmpeg,
|
|
217
|
+
runFfprobe,
|
|
217
218
|
runVideoExtractionWithRetry,
|
|
218
219
|
safeDownloadUrlIdentity,
|
|
219
220
|
safeVideoExtractionSourceIdentity,
|
|
220
221
|
sanitizeHdrAutoPromotionAsset,
|
|
221
222
|
scaleProtocolTimeoutForComposition,
|
|
223
|
+
sdrCanvasColourFilters,
|
|
222
224
|
selectVerifySampleIndicesForTask,
|
|
223
225
|
setHostHandlesSigint,
|
|
224
226
|
shouldClampToScreenshotForConcreteGpu,
|
|
@@ -236,17 +238,17 @@ import {
|
|
|
236
238
|
waitForImagesReady,
|
|
237
239
|
writeCapturedFrame,
|
|
238
240
|
writeUrlDownloadTelemetry
|
|
239
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-RDDVQSNQ.js";
|
|
240
242
|
import "./chunk-5S7W3TUO.js";
|
|
241
243
|
import {
|
|
242
244
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
243
245
|
quantizeTimeToFrame
|
|
244
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-VW2LVMKB.js";
|
|
245
247
|
import "./chunk-RQVDTPGD.js";
|
|
246
|
-
import "./chunk-
|
|
247
|
-
import "./chunk-
|
|
248
|
+
import "./chunk-MFHYBSJC.js";
|
|
249
|
+
import "./chunk-KLIPVNCO.js";
|
|
248
250
|
import "./chunk-VC76R6W2.js";
|
|
249
|
-
import "./chunk-
|
|
251
|
+
import "./chunk-OFRRUYBA.js";
|
|
250
252
|
import "./chunk-FR7YBU3H.js";
|
|
251
253
|
import "./chunk-OFQWTKPW.js";
|
|
252
254
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -267,7 +269,8 @@ import {
|
|
|
267
269
|
import {
|
|
268
270
|
resolveReferencedDuration,
|
|
269
271
|
resolveReferencedStart
|
|
270
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-2MLMO25E.js";
|
|
273
|
+
import "./chunk-CZGHFATT.js";
|
|
271
274
|
import {
|
|
272
275
|
FFMPEG_PATH_ENV,
|
|
273
276
|
FFPROBE_PATH_ENV
|
|
@@ -275,7 +278,6 @@ import {
|
|
|
275
278
|
import {
|
|
276
279
|
resolveProjectRelativeSrc
|
|
277
280
|
} from "./chunk-PBNWRWKA.js";
|
|
278
|
-
import "./chunk-CZGHFATT.js";
|
|
279
281
|
import "./chunk-2BGOB2QK.js";
|
|
280
282
|
import "./chunk-GWTIFRF5.js";
|
|
281
283
|
import "./chunk-2RY2LWAA.js";
|
|
@@ -515,12 +517,14 @@ export {
|
|
|
515
517
|
resolveVideoExtractionWindow,
|
|
516
518
|
roundedRectAlpha,
|
|
517
519
|
runFfmpeg,
|
|
520
|
+
runFfprobe,
|
|
518
521
|
runVideoExtractionWithRetry,
|
|
519
522
|
safeDownloadUrlIdentity,
|
|
520
523
|
safeVideoExtractionSourceIdentity,
|
|
521
524
|
sampleRgb48le,
|
|
522
525
|
sanitizeHdrAutoPromotionAsset,
|
|
523
526
|
scaleProtocolTimeoutForComposition,
|
|
527
|
+
sdrCanvasColourFilters,
|
|
524
528
|
selectVerifySampleIndicesForTask,
|
|
525
529
|
setHostHandlesSigint,
|
|
526
530
|
shouldClampToScreenshotForConcreteGpu,
|