hyperframes 0.8.206 → 0.8.207
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/bin/hyperframes.mjs +1 -0
- package/dist/{add-FFMNAJXJ.js → add-LXFWHBE3.js} +19 -18
- package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-D2E62ZP5.js} +1 -1
- package/dist/{animatedGifPrep-BIIIIVWL.js → animatedGifPrep-VBPJZKFT.js} +12 -12
- package/dist/api.js +30 -30
- package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
- package/dist/{asset-IPUHGZSL.js → asset-JX4RW3GO.js} +2 -2
- package/dist/{assetCataloger-M5FWXLAJ.js → assetCataloger-JKKOPBCF.js} +14 -13
- package/dist/{audio-VYWWM4DB.js → audio-OXQ3L6DW.js} +22 -22
- package/dist/{auth-GZQZCUPL.js → auth-JAL7P7ZA.js} +1 -1
- package/dist/{autoUpdate-GJUDDLLO.js → autoUpdate-MRI2AICE.js} +2 -2
- package/dist/{backgroundChecks-BTMSW34Z.js → backgroundChecks-ORR46PBY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-LI2BJRGO.js → batchRender-IFZYPGIW.js} +9 -9
- package/dist/{beats-H73CSYT4.js → beats-UDLOEW6U.js} +19 -19
- package/dist/{benchmark-XT3A5REC.js → benchmark-VTVDNKSO.js} +14 -14
- package/dist/{browser-VIOK66YK.js → browser-QJC4BL2Y.js} +6 -6
- package/dist/{bundleWithLocalizedFonts-PFRVWYOO.js → bundleWithLocalizedFonts-Z2JTBNDS.js} +2 -2
- package/dist/{capture-252WNPCD.js → capture-2P4JERSX.js} +14 -3
- package/dist/{capture-KKD5GMAF.js → capture-GLM2ACPM.js} +73 -33
- package/dist/{captureCompositionFrame-YLYVGNN2.js → captureCompositionFrame-A2A5MGQB.js} +18 -18
- package/dist/{captureFile-LYOJOUIE.js → captureFile-RPUEOZO6.js} +1 -1
- package/dist/{catalog-6IJGNN3T.js → catalog-5ZLVUQVJ.js} +25 -24
- package/dist/{catch-up-BFW7Z35W.js → catch-up-FRMVYJHZ.js} +5 -5
- package/dist/{check-XUWBZASR.js → check-WVY7SM7C.js} +47 -47
- package/dist/{checkAudio-2NRR3VHQ.js → checkAudio-PLEQY3SZ.js} +16 -16
- package/dist/{checkBrowser-JW74KWTF.js → checkBrowser-XSZUA2DQ.js} +40 -40
- package/dist/{chunk-2S263R6D.js → chunk-526VSRZ4.js} +9 -9
- package/dist/{chunk-SFYLZX5C.js → chunk-5KBMYSF2.js} +54 -15
- package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
- package/dist/{chunk-AJSU6KGS.js → chunk-5PYRU5DT.js} +13 -13
- package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
- package/dist/{chunk-QVTCXN42.js → chunk-63DP5CB2.js} +29 -3
- package/dist/{chunk-FNNGQ3DB.js → chunk-6IYIS2U7.js} +2 -2
- package/dist/{chunk-VDVVQNTK.js → chunk-6KCFVLO6.js} +5 -5
- package/dist/{chunk-DEVZJ4AL.js → chunk-6KOHY5EP.js} +7 -7
- package/dist/{chunk-CIHW6VM2.js → chunk-6Z7XDUUJ.js} +1 -1
- package/dist/{chunk-PQYWYBEQ.js → chunk-7PJ3AJB2.js} +1 -1
- package/dist/{chunk-VW2LVMKB.js → chunk-7RWUY3BJ.js} +47 -55
- package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
- package/dist/chunk-BDJIQZN2.js +4830 -0
- package/dist/{chunk-4CY5RXXC.js → chunk-C53ZNJDZ.js} +4 -4
- package/dist/{chunk-FULMZCDW.js → chunk-CVZO6TFE.js} +10 -10
- package/dist/{chunk-6ZFDNEMY.js → chunk-DJQZ7DEH.js} +15 -15
- package/dist/{chunk-E2ZZSDDQ.js → chunk-DML6BD4K.js} +2 -2
- package/dist/{chunk-PNKLOMHQ.js → chunk-EG3B2VWK.js} +2 -2
- package/dist/{chunk-XOM3XTJ4.js → chunk-EGRIVMCQ.js} +1 -1
- package/dist/{chunk-3CS6QYL7.js → chunk-FEO7YW7V.js} +8 -8
- package/dist/{chunk-H4JO7VSI.js → chunk-FVAI7AHF.js} +12 -12
- package/dist/{chunk-PLGGKTCB.js → chunk-GXUONASF.js} +13 -20
- package/dist/{chunk-CZYS6UKP.js → chunk-H3LQ5X6Q.js} +19 -19
- package/dist/{chunk-AXEEZKIL.js → chunk-HA3V4XAF.js} +6 -6
- package/dist/{chunk-G6W55MTX.js → chunk-HM7SUIQD.js} +38 -9
- package/dist/{chunk-VEA7Z4PZ.js → chunk-HVOTYAS4.js} +15 -7
- package/dist/{chunk-3R6SXPHD.js → chunk-I2TDHVFV.js} +2 -2
- package/dist/{chunk-36QE3P6B.js → chunk-I3TYUQLB.js} +1 -1
- package/dist/{chunk-63DGZRZP.js → chunk-IBZHSU2J.js} +1 -1
- package/dist/{chunk-AEC4T4IF.js → chunk-ID766OZB.js} +12 -12
- package/dist/{chunk-5QKJPCQ4.js → chunk-IK4JY2LI.js} +2 -2
- package/dist/{chunk-UMUVGNOH.js → chunk-IW5P4KK7.js} +3 -3
- package/dist/{chunk-AAX2A7LQ.js → chunk-IYZT62UR.js} +1 -1
- package/dist/chunk-JKE24AG7.js +62 -0
- package/dist/chunk-JLCAHJUO.js +91 -0
- package/dist/{chunk-N7ZMDVAK.js → chunk-JLGVBK5M.js} +1 -1
- package/dist/{chunk-2RT7MXFL.js → chunk-JQ32262N.js} +1 -1
- package/dist/{chunk-RW4DMP2Y.js → chunk-KDHHPJOG.js} +4 -4
- package/dist/{chunk-DZG565OO.js → chunk-LCCYYTEK.js} +1 -1
- package/dist/{chunk-RDDVQSNQ.js → chunk-LK6KPVX2.js} +167 -55
- package/dist/{chunk-42KN6I6A.js → chunk-LPI7HX4G.js} +2 -2
- package/dist/{chunk-WHD5IAHI.js → chunk-LXP6XWJL.js} +2 -2
- package/dist/{chunk-T6SD37JZ.js → chunk-MAUGXKSI.js} +4 -4
- package/dist/{chunk-ZTEKVSZ6.js → chunk-MMJAHBH2.js} +1 -1
- package/dist/{chunk-TSJVPPXT.js → chunk-MSHL6CF2.js} +1 -1
- package/dist/{chunk-OFRRUYBA.js → chunk-NHA4NRBE.js} +135 -24
- package/dist/{chunk-OZUAVHFE.js → chunk-NHL5CMO2.js} +3 -3
- package/dist/{chunk-7SXL476O.js → chunk-NJNC2DQV.js} +27 -26
- package/dist/{chunk-FMWACL3L.js → chunk-NSC5A4IR.js} +1 -1
- package/dist/{chunk-MRF4AMKD.js → chunk-NWGXTUYS.js} +32 -10
- package/dist/{chunk-X5HHHFTX.js → chunk-PL36HK3U.js} +3 -3
- package/dist/{chunk-BBUK6A7Q.js → chunk-PUIG6DHT.js} +5 -5
- package/dist/{chunk-CPSGXAYD.js → chunk-QE4WRS3N.js} +3 -3
- package/dist/{chunk-FJW757TF.js → chunk-QTWXVOZI.js} +1 -1
- package/dist/{chunk-WYB3VKLK.js → chunk-QZ2JQ6O4.js} +6 -6
- package/dist/{chunk-MFHYBSJC.js → chunk-RPZNQV6D.js} +3 -3
- package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
- package/dist/{chunk-GAV56VJL.js → chunk-SXOD5J7T.js} +2 -2
- package/dist/{chunk-VHVSBOZH.js → chunk-T4JGFCXU.js} +3 -3
- package/dist/{chunk-HJAJ6W4V.js → chunk-TSTONNOD.js} +2 -2
- package/dist/chunk-TSYRN646.js +84 -0
- package/dist/{chunk-CNVHMLPI.js → chunk-U32PA6DI.js} +1 -1
- package/dist/{chunk-ZNAOBFU5.js → chunk-UAT2UMTP.js} +1 -1
- package/dist/{chunk-QL4ZYSIB.js → chunk-UKM3JYNB.js} +5 -71
- package/dist/{chunk-Z3XXLTVB.js → chunk-UUOIH4RW.js} +3 -3
- package/dist/{chunk-CMDVJP4T.js → chunk-UYPWH7PH.js} +10 -10
- package/dist/{chunk-3B2DBUQX.js → chunk-VAVDAOUA.js} +1 -1
- package/dist/{chunk-G6QDFWDN.js → chunk-VBPNCOD7.js} +2 -2
- package/dist/{chunk-NNLQTG3M.js → chunk-VH4PNYOS.js} +1 -1
- package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
- package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
- package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
- package/dist/{chunk-F2ASNL2K.js → chunk-WL263XM2.js} +1 -1
- package/dist/{chunk-HEP5XMXV.js → chunk-XAGBSYIQ.js} +9 -2
- package/dist/{chunk-4DGLKB2H.js → chunk-XKW4Z7BU.js} +1 -1
- package/dist/chunk-XMRA7CQG.js +22 -0
- package/dist/{chunk-NVLPW3DG.js → chunk-XULJBZ7K.js} +2 -2
- package/dist/{chunk-X7RXXBYM.js → chunk-YJK6HOL5.js} +2 -2
- package/dist/{chunk-2MLMO25E.js → chunk-ZCJ5EGLU.js} +26 -6
- package/dist/{chunk-L5MFWGGU.js → chunk-ZYGIDXAK.js} +528 -327
- package/dist/{clean-N5VSKUVS.js → clean-TL3IPJDN.js} +27 -27
- package/dist/cli.js +55 -55
- package/dist/{cloud-74NF5FXC.js → cloud-EYMRPJNY.js} +4 -4
- package/dist/{cloudrun-7UOH335V.js → cloudrun-TOJ36NLX.js} +11 -11
- package/dist/commands/layout-audit.browser.js +3 -15
- package/dist/{compare-AY2LS2TZ.js → compare-MP5EOW4D.js} +41 -41
- package/dist/{compiler-4MHMC777.js → compiler-NOPVLJ2S.js} +8 -8
- package/dist/{component-CFWQOAZI.js → component-ASACDCZK.js} +3 -3
- package/dist/{compositions-DXLJTDSP.js → compositions-WKNZJY34.js} +16 -16
- package/dist/{contactSheet-5APX35L3.js → contactSheet-YOBPATEM.js} +2 -2
- package/dist/{delete-GB4MS7LM.js → delete-DQTFHP3G.js} +2 -2
- package/dist/{deploy-NXD3Q3KD.js → deploy-HHCFOUFM.js} +1 -1
- package/dist/{deterministicFonts-775YXAQ2.js → deterministicFonts-LKAGUNE5.js} +3 -3
- package/dist/{dist-ZY6IFESG.js → dist-L4Z4ZEYW.js} +6 -3
- package/dist/{dist-3ZJMZU75.js → dist-NQEYA4ZX.js} +36 -36
- package/dist/docs/rendering.md +3 -0
- package/dist/{doctor-CVY2XXKS.js → doctor-JDM65CP7.js} +19 -19
- package/dist/{events-T3CLIYRG.js → events-MBRNA3UF.js} +3 -3
- package/dist/{events-RYQYEWBV.js → events-RKRHRLJD.js} +2 -2
- package/dist/{feedback-K5ZMMLTA.js → feedback-LZWIWV5J.js} +17 -17
- package/dist/{ffmpeg-UNDAJ2IC.js → ffmpeg-4PZKSIGE.js} +14 -14
- package/dist/{figma-MYYCX635.js → figma-QFNYUT3F.js} +3 -3
- package/dist/fontLocalizeCli.js +19 -18
- package/dist/{get-JVIDYMVP.js → get-2B5ENJOH.js} +2 -2
- package/dist/{gpuPolicy-KEX7GDRJ.js → gpuPolicy-E5FB2GFR.js} +12 -12
- package/dist/{grade-compare-QEF6VASJ.js → grade-compare-4GUAPJHE.js} +39 -39
- package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
- package/dist/hangReport.js +47 -0
- package/dist/{heifImagePrep-A3ZPVQGU.js → heifImagePrep-C2RYIEER.js} +13 -13
- package/dist/{help-XPPSLIRY.js → help-XGDAXV67.js} +1 -1
- package/dist/{history-OFOPRD27.js → history-WNFF6HGU.js} +107 -59
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +74 -69
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-7RF6FQX5.js → info-BR2LKGJD.js} +16 -16
- package/dist/{init-NTIXWA3D.js → init-P6UWPUY3.js} +58 -57
- package/dist/{inspect-MYMCV5E7.js → inspect-MSRPF7ZO.js} +38 -38
- package/dist/{installer-PYJIJ3PJ.js → installer-MPUQS3ZX.js} +10 -10
- package/dist/{keyframes-UJ52PYE4.js → keyframes-J6K66QTO.js} +11 -11
- package/dist/{lambda-SBNUYEQE.js → lambda-LJ2OSWFJ.js} +32 -13
- package/dist/{layout-IOMCOABO.js → layout-CDY65XGA.js} +38 -38
- package/dist/{lint-AQWHHMPS.js → lint-CAUNBGPX.js} +12 -9
- package/dist/{lintProject-5A4SCW3S.js → lintProject-ZTSX3AWT.js} +6 -3
- package/dist/{list-WKAJ5SP3.js → list-33BYQNRZ.js} +2 -2
- package/dist/{login-3ZDK5JOA.js → login-5QMRKOHK.js} +4 -4
- package/dist/{manager-QYFYWZOK.js → manager-3JOHHPVR.js} +16 -16
- package/dist/{manager-F2YREC5X.js → manager-RMYSZ3KI.js} +7 -3
- package/dist/{media-treatment-4OLWVHUY.js → media-treatment-4WP22CFN.js} +22 -22
- package/dist/{models-MR55FAUX.js → models-HPWCHAZX.js} +27 -27
- package/dist/{motionShot-DC47S7BT.js → motionShot-I7GDIROQ.js} +22 -22
- package/dist/{normalize-audio-M2TK4NG5.js → normalize-audio-VTMXPSC7.js} +14 -14
- package/dist/{open-YXWBWTKL.js → open-SAO7OQTT.js} +19 -19
- package/dist/{parakeetRunner-J6QR3GTG.js → parakeetRunner-ZYPBIA73.js} +24 -24
- package/dist/{pipeline-7MJ5H4SW.js → pipeline-VNBMR6QU.js} +15 -15
- package/dist/{play-S562STR4.js → play-7VI6A7KN.js} +28 -28
- package/dist/{preflight-QWGXMISC.js → preflight-VWV7L45J.js} +16 -16
- package/dist/{present-PGOHZT3L.js → present-CSJGYOFF.js} +23 -23
- package/dist/{preview-JU75H4QN.js → preview-B246ZTVO.js} +48 -36
- package/dist/{producer-H66OMZLW.js → producer-WJLFDVQJ.js} +1 -1
- package/dist/{projectConfig-COSP24YT.js → projectConfig-OMR46ZWQ.js} +14 -13
- package/dist/{publication-J3XYHPGB.js → publication-AA7NNYET.js} +8 -8
- package/dist/{publish-7GCCEPJZ.js → publish-TJ4QVVSP.js} +17 -16
- package/dist/{remove-background-WRCGIU32.js → remove-background-LQ2V7W7N.js} +19 -19
- package/dist/{render-5J5PP3UK.js → render-AWEEPG3F.js} +34 -32
- package/dist/{render-QS3YJCBR.js → render-E5QJG74D.js} +14 -11
- package/dist/{render-VUVTK2JM.js → render-JLTNZ36U.js} +80 -48
- package/dist/{render-batch-Q2LQ3D4P.js → render-batch-U4T4VSCM.js} +14 -11
- package/dist/renderSetupWorker.js +10 -7
- package/dist/{resolver-QCBWPRSC.js → resolver-GXCTUKPV.js} +10 -10
- package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-X6OKIXCB.js} +1 -1
- package/dist/{sherpa-IZ22SC5W.js → sherpa-4VZWVHWZ.js} +23 -23
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -0
- package/dist/skills/hyperframes-cli/references/lambda.md +3 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +3 -0
- package/dist/{skills-3RFMPMJA.js → skills-WUKR7SUE.js} +8 -8
- package/dist/{skillsUpdateCheck-DWBFVUBT.js → skillsUpdateCheck-YXRBY3JC.js} +3 -3
- package/dist/{snapshot-5PHA43DK.js → snapshot-Q7S2FTNG.js} +123 -70
- package/dist/{src-36BQVJL3.js → src-CLAALR5W.js} +20 -19
- package/dist/{src-4YJKYMNF.js → src-ZOXUSGAP.js} +19 -11
- package/dist/{staticProjectServer-3XFB76XS.js → staticProjectServer-DQ7PIDPA.js} +25 -25
- package/dist/studio/assets/hyperframes-player-Cm5aBiKq.js +478 -0
- package/dist/studio/assets/{index-CwreIGoq.js → index-BF9YeBnC.js} +131 -131
- package/dist/studio/assets/{index-BNuxGFZK.js → index-BrqAmMRt.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-WL6EZ4KE.js → studio-api-NUE227JM.js} +17 -17
- package/dist/{studioServer-ZS5RA6U3.js → studioServer-HVOKP4VI.js} +71 -69
- package/dist/{synthesize-QCRP3NI7.js → synthesize-QZHRXGRY.js} +26 -4
- package/dist/{telemetry-W3LRO3TB.js → telemetry-2Y5JXLDB.js} +3 -3
- package/dist/{timeline-BDO5DYWP.js → timeline-WOQGXFRV.js} +27 -27
- package/dist/{tokens-47CEMYFV.js → tokens-T3OHTWUC.js} +2 -2
- package/dist/{transcribe-XF3NL6JI.js → transcribe-4U74P5TG.js} +21 -21
- package/dist/{transcribe-GEPVJO3A.js → transcribe-JZ3BO546.js} +31 -31
- package/dist/{tts-QM4RFE7U.js → tts-AY4JO5NQ.js} +2 -2
- package/dist/{updateCheck-BON6ZFYP.js → updateCheck-6EUAGAM4.js} +2 -2
- package/dist/{upgrade-KIF5Z4J3.js → upgrade-55K6F4MP.js} +2 -2
- package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
- package/dist/{urlDownloader-UDRHVUWR.js → urlDownloader-47JMOLNN.js} +11 -11
- package/dist/{validate-2OPSQT3W.js → validate-QBJ3SBS4.js} +31 -31
- package/dist/{video-ECWXMY4F.js → video-3ZAUNAR3.js} +16 -14
- package/dist/warmCheck.js +47 -47
- package/package.json +2 -1
- package/dist/chunk-4YYJOFKS.js +0 -28
- package/dist/chunk-KLIPVNCO.js +0 -4824
- package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +0 -478
- package/dist/{chunk-X7A7C4JS.js → chunk-EHFZEKQM.js} +3 -3
|
@@ -8,14 +8,15 @@ import {
|
|
|
8
8
|
addCatchUpNote,
|
|
9
9
|
markSeen,
|
|
10
10
|
readSeen,
|
|
11
|
+
seenPath,
|
|
11
12
|
writeRecord
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5PCALX6G.js";
|
|
13
14
|
import {
|
|
14
15
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LXP6XWJL.js";
|
|
16
17
|
import {
|
|
17
18
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7RWUY3BJ.js";
|
|
19
20
|
|
|
20
21
|
// src/utils/desktopApp.ts
|
|
21
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -31,9 +32,13 @@ var DOWNLOADS = {
|
|
|
31
32
|
linux: `${STUDIO_PAGE}/download?os=linux`,
|
|
32
33
|
win32: `${STUDIO_PAGE}/download?os=windows`
|
|
33
34
|
};
|
|
34
|
-
var
|
|
35
|
+
var tagged = (url, src) => `${url}${url.includes("?") ? "&" : "?"}src=${src}`;
|
|
36
|
+
var desktopDownloadUrl = (platform = process.platform, src = "cli") => {
|
|
37
|
+
const url = DOWNLOADS[platform];
|
|
38
|
+
return url ? tagged(url, src) : null;
|
|
39
|
+
};
|
|
35
40
|
var downloadHint = (url) => `Keep editing by chatting with Framey in the HyperFrames desktop app \u2192 ${url}`;
|
|
36
|
-
var HANDOFF_READY =
|
|
41
|
+
var HANDOFF_READY = true;
|
|
37
42
|
var AGENT_HANDOFF_FILE = join(".hyperframes", "agent-handoff.json");
|
|
38
43
|
var DESKTOP_CTA_RECORD = "desktop-cta.json";
|
|
39
44
|
function agentSession(env = process.env) {
|
|
@@ -94,7 +99,9 @@ function leaveHandoff(dir, session) {
|
|
|
94
99
|
if (!session || !writeRecord(dir, "agent-handoff.json", JSON.stringify(session))) return null;
|
|
95
100
|
const now = Date.now();
|
|
96
101
|
if (!readSeen(dir).at && !markSeen(dir, { at: now, checked: now }))
|
|
97
|
-
console.warn(
|
|
102
|
+
console.warn(
|
|
103
|
+
`\u25C7 Couldn't note the hand-off in ${seenPath(dir)}, so \`catch-up\` won't see it.`
|
|
104
|
+
);
|
|
98
105
|
addCatchUpNote(dir);
|
|
99
106
|
return session;
|
|
100
107
|
}
|
|
@@ -116,12 +123,13 @@ function openInDesktop(dir, {
|
|
|
116
123
|
installed = () => desktopInstalled({ platform }),
|
|
117
124
|
env = process.env,
|
|
118
125
|
cta,
|
|
126
|
+
src = "cli",
|
|
119
127
|
...where
|
|
120
128
|
} = {}) {
|
|
121
129
|
const notOpened = (reason) => ({
|
|
122
130
|
opened: false,
|
|
123
131
|
reason,
|
|
124
|
-
downloadUrl: desktopDownloadUrl(platform) ?? STUDIO_PAGE
|
|
132
|
+
downloadUrl: desktopDownloadUrl(platform, src) ?? STUDIO_PAGE
|
|
125
133
|
});
|
|
126
134
|
const opened = (canary) => {
|
|
127
135
|
if (cta) writeRecord(dir, DESKTOP_CTA_RECORD, JSON.stringify({ cta, at: Date.now() }));
|
|
@@ -6,7 +6,7 @@ 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-XAGBSYIQ.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_HISTORY_ROOT,
|
|
12
12
|
HistoryBusyError,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import { dirname, join, resolve } from "path";
|
|
34
34
|
var historyDeps = {
|
|
35
35
|
historyRoot: resolve(process.env.HYPERFRAMES_HISTORY_ROOT || DEFAULT_HISTORY_ROOT),
|
|
36
|
-
findServer: (projectDir) => findPreviewServerForProject(projectDir),
|
|
36
|
+
findServer: async (projectDir) => process.env.HYPERFRAMES_NO_PREVIEW_DISCOVERY === "1" ? null : findPreviewServerForProject(projectDir),
|
|
37
37
|
/** A turn with no write for this long has ended, through a preview or not. */
|
|
38
38
|
turnIdleMs: MAX_WINDOW_IDLE_MS,
|
|
39
39
|
ownerWaitMs: void 0,
|
|
@@ -6,31 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
relinkSplitHalves
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
isAllowedHtmlAttribute,
|
|
12
|
-
isSafeAttributeValue,
|
|
13
|
-
sanitizeRichTextChildren
|
|
14
|
-
} from "./chunk-VW2LVMKB.js";
|
|
9
|
+
} from "./chunk-VQB7G5BM.js";
|
|
15
10
|
import {
|
|
16
11
|
EXCLUDED_TAGS,
|
|
17
12
|
ensureHfIds,
|
|
18
13
|
mintHfId,
|
|
19
14
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RPZNQV6D.js";
|
|
21
16
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
isAllowedHtmlAttribute,
|
|
18
|
+
isSafeAttributeValue,
|
|
19
|
+
sanitizeRichTextChildren
|
|
20
|
+
} from "./chunk-7RWUY3BJ.js";
|
|
25
21
|
import {
|
|
26
22
|
require_dist
|
|
27
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZCJ5EGLU.js";
|
|
28
24
|
import {
|
|
29
25
|
readClipTiming,
|
|
30
26
|
readMediaOffsetSeconds,
|
|
31
27
|
readPlaybackRate,
|
|
32
28
|
writeClipTiming
|
|
33
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SE2MXV2N.js";
|
|
30
|
+
import {
|
|
31
|
+
decodedUrlPath,
|
|
32
|
+
removeElementWithGsapCascade
|
|
33
|
+
} from "./chunk-NHA4NRBE.js";
|
|
34
34
|
import {
|
|
35
35
|
parseHTML
|
|
36
36
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
detectGpuEncoder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LK6KPVX2.js";
|
|
10
10
|
import {
|
|
11
11
|
runCancellableProcess
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EHFZEKQM.js";
|
|
13
13
|
import {
|
|
14
14
|
findFfBinary
|
|
15
15
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NSC5A4IR.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QTWXVOZI.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZCJ5EGLU.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
errorBox
|
|
9
|
+
} from "./chunk-K2FLNJVB.js";
|
|
10
|
+
import {
|
|
11
|
+
failUsage
|
|
12
|
+
} from "./chunk-JVBRJMOP.js";
|
|
13
|
+
import {
|
|
14
|
+
appendRateCapArgs
|
|
15
|
+
} from "./chunk-LK6KPVX2.js";
|
|
16
|
+
|
|
17
|
+
// src/utils/deliveryFlags.ts
|
|
18
|
+
var deliveryFlagArgs = {
|
|
19
|
+
"keyframe-interval": {
|
|
20
|
+
type: "string",
|
|
21
|
+
description: "MP4 keyframe interval in seconds, such as 2 (a keyframe at least this often; default: encoder's choice)."
|
|
22
|
+
},
|
|
23
|
+
"max-bitrate": {
|
|
24
|
+
type: "string",
|
|
25
|
+
description: "MP4 peak video bitrate cap, such as 8M, kept alongside the quality target (default: uncapped)."
|
|
26
|
+
},
|
|
27
|
+
"buffer-size": {
|
|
28
|
+
type: "string",
|
|
29
|
+
description: "Buffer for --max-bitrate, such as 16M (default: twice --max-bitrate)."
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
function parseDeliveryFlags(args) {
|
|
33
|
+
const interval = args["keyframe-interval"]?.trim();
|
|
34
|
+
const maxBitrate = args["max-bitrate"]?.trim();
|
|
35
|
+
const bufferSize = args["buffer-size"]?.trim();
|
|
36
|
+
const values = {};
|
|
37
|
+
if (interval !== void 0) {
|
|
38
|
+
const seconds = Number(interval);
|
|
39
|
+
if (interval === "" || !Number.isFinite(seconds) || seconds <= 0) {
|
|
40
|
+
errorBox(
|
|
41
|
+
"Invalid keyframe-interval",
|
|
42
|
+
`Got "${interval}". Must be a positive number of seconds.`
|
|
43
|
+
);
|
|
44
|
+
failUsage();
|
|
45
|
+
}
|
|
46
|
+
values.keyframeIntervalSeconds = seconds;
|
|
47
|
+
}
|
|
48
|
+
if (maxBitrate !== void 0) values.maxBitrate = maxBitrate;
|
|
49
|
+
if (bufferSize !== void 0) values.bufferSize = bufferSize;
|
|
50
|
+
try {
|
|
51
|
+
appendRateCapArgs([], values);
|
|
52
|
+
} catch (error) {
|
|
53
|
+
errorBox("Invalid bitrate cap", error instanceof Error ? error.message : String(error));
|
|
54
|
+
failUsage();
|
|
55
|
+
}
|
|
56
|
+
return values;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
deliveryFlagArgs,
|
|
61
|
+
parseDeliveryFlags
|
|
62
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
errorBox
|
|
9
|
+
} from "./chunk-K2FLNJVB.js";
|
|
10
|
+
import {
|
|
11
|
+
failUsage
|
|
12
|
+
} from "./chunk-JVBRJMOP.js";
|
|
13
|
+
|
|
14
|
+
// src/utils/compositionEntry.ts
|
|
15
|
+
import { realpathSync } from "fs";
|
|
16
|
+
import { isAbsolute, relative, resolve, sep } from "path";
|
|
17
|
+
function normalizeCompositionEntryArg(raw) {
|
|
18
|
+
const trimmed = raw?.trim().replace(/^\.\//, "") || void 0;
|
|
19
|
+
return !trimmed || trimmed === "." ? void 0 : trimmed;
|
|
20
|
+
}
|
|
21
|
+
function hasExplicitCompositionArg(raw) {
|
|
22
|
+
return normalizeCompositionEntryArg(raw) !== void 0;
|
|
23
|
+
}
|
|
24
|
+
function parseCompositionEntryArg(raw, projectDir, stat, real = realpathOrSame) {
|
|
25
|
+
const trimmed = normalizeCompositionEntryArg(raw);
|
|
26
|
+
if (!trimmed) return { ok: true, value: void 0 };
|
|
27
|
+
const absProjectDir = resolve(projectDir);
|
|
28
|
+
const entryPath = resolve(absProjectDir, trimmed);
|
|
29
|
+
const relativeEntry = [absProjectDir, real(absProjectDir)].flatMap((root) => [entryPath, real(entryPath)].map((path) => relative(root, path))).find((rel) => rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel));
|
|
30
|
+
const fail = (kind) => ({
|
|
31
|
+
ok: false,
|
|
32
|
+
error: { kind, entryFile: trimmed, entryPath, projectDir: absProjectDir }
|
|
33
|
+
});
|
|
34
|
+
if (relativeEntry === void 0) return fail("outside-project");
|
|
35
|
+
let entryStat;
|
|
36
|
+
try {
|
|
37
|
+
entryStat = stat(entryPath);
|
|
38
|
+
} catch {
|
|
39
|
+
return fail("not-found");
|
|
40
|
+
}
|
|
41
|
+
if (!entryStat.isFile()) {
|
|
42
|
+
return fail("not-a-file");
|
|
43
|
+
}
|
|
44
|
+
return { ok: true, value: relativeEntry.split(sep).join("/") };
|
|
45
|
+
}
|
|
46
|
+
function realpathOrSame(path) {
|
|
47
|
+
try {
|
|
48
|
+
return realpathSync(path);
|
|
49
|
+
} catch {
|
|
50
|
+
return path;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function compositionEntryErrorMessage(error) {
|
|
54
|
+
const resolved = `"${error.entryFile}" resolves to ${error.entryPath}`;
|
|
55
|
+
switch (error.kind) {
|
|
56
|
+
case "outside-project":
|
|
57
|
+
return {
|
|
58
|
+
title: "Invalid composition path",
|
|
59
|
+
message: `${resolved}, outside the project directory ${error.projectDir}.`,
|
|
60
|
+
hint: "Pass a .html file inside the project directory, relative to it (e.g. compositions/intro.html)."
|
|
61
|
+
};
|
|
62
|
+
case "not-found":
|
|
63
|
+
return {
|
|
64
|
+
title: "Composition not found",
|
|
65
|
+
message: `${resolved}, which does not exist in the project directory ${error.projectDir}.`,
|
|
66
|
+
hint: "Pass a path to a .html file relative to the project root (e.g. compositions/intro.html)."
|
|
67
|
+
};
|
|
68
|
+
case "not-a-file":
|
|
69
|
+
return {
|
|
70
|
+
title: "Invalid composition path",
|
|
71
|
+
message: `${resolved}, a directory, not an .html file (project directory ${error.projectDir}).`,
|
|
72
|
+
hint: "Pass a path to a .html file (e.g. compositions/intro.html), or omit --composition to render index.html."
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function resolveCompositionEntryArg(raw, projectDir, stat) {
|
|
77
|
+
const result = parseCompositionEntryArg(raw, projectDir, stat);
|
|
78
|
+
if (!result.ok) {
|
|
79
|
+
const { title, message, hint } = compositionEntryErrorMessage(result.error);
|
|
80
|
+
errorBox(title, message, hint);
|
|
81
|
+
failUsage();
|
|
82
|
+
}
|
|
83
|
+
return result.value;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
hasExplicitCompositionArg,
|
|
88
|
+
parseCompositionEntryArg,
|
|
89
|
+
compositionEntryErrorMessage,
|
|
90
|
+
resolveCompositionEntryArg
|
|
91
|
+
};
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IK4JY2LI.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LK6KPVX2.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EHFZEKQM.js";
|
|
28
28
|
|
|
29
29
|
// src/background-removal/pipeline.ts
|
|
30
30
|
import { spawn } from "child_process";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-ZOXUSGAP.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|