hyperframes 0.9.10 → 0.9.11
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/README.md +9 -0
- package/dist/{add-AFD3HNXB.js → add-IAFJH5RC.js} +6 -6
- package/dist/{agentPromptGenerator-XNGPKVEX.js → agentPromptGenerator-S3GWYMVC.js} +1 -1
- package/dist/{animatedGifPrep-E3PYKFJ3.js → animatedGifPrep-YU7IOD5D.js} +1 -1
- package/dist/api.js +9 -9
- package/dist/{asset-P6SF46UX.js → asset-UR4PH6KJ.js} +2 -2
- package/dist/{assetCataloger-SDFP4DWL.js → assetCataloger-VKJIQCYP.js} +1 -1
- package/dist/{audio-DFQXEAEE.js → audio-HZJ7QZQR.js} +9 -9
- package/dist/{auth-T62ANGDQ.js → auth-UBNAW62X.js} +1 -1
- package/dist/{autoUpdate-3IT56KGL.js → autoUpdate-DDFTFHRP.js} +3 -3
- package/dist/{backgroundChecks-UKBVUYML.js → backgroundChecks-H3TNVYJV.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{beats-7UFMDXBY.js → beats-HOIQSFFP.js} +6 -6
- package/dist/{benchmark-LCSHBJJF.js → benchmark-ZYOQV7DK.js} +7 -7
- package/dist/{browser-5DZHA4EW.js → browser-PLFK53IZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-TJL2JWRD.js → bundleWithLocalizedFonts-TH5SLG6O.js} +2 -2
- package/dist/{capture-UKWY3SZQ.js → capture-MICLAF6V.js} +13 -13
- package/dist/{capture-HLC6I4RE.js → capture-R77HOGLQ.js} +3 -3
- package/dist/{captureCompositionFrame-YMB3CKSP.js → captureCompositionFrame-WBMFZHEF.js} +4 -4
- package/dist/{catalog-F2XB4VPP.js → catalog-CGT32566.js} +6 -6
- package/dist/{catch-up-HCBA3MIP.js → catch-up-TMYPXRKC.js} +5 -5
- package/dist/{check-E2RQCELF.js → check-4O5J4OWS.js} +23 -23
- package/dist/{checkAudio-R4DRK3VG.js → checkAudio-AAVDZFIQ.js} +3 -3
- package/dist/{checkBrowser-NGY225IO.js → checkBrowser-3OCZBJC7.js} +17 -17
- package/dist/{chunk-BYC4C4YY.js → chunk-2VYAX3ZD.js} +2 -2
- package/dist/{chunk-GIYZMGYT.js → chunk-2VZVMCV6.js} +1 -1
- package/dist/{chunk-RZFW7FBA.js → chunk-33K2UZBX.js} +2 -2
- package/dist/{chunk-CBTBVRXB.js → chunk-37537KOL.js} +4 -4
- package/dist/{chunk-CDSTLOB7.js → chunk-4ILKN2MX.js} +8 -8
- package/dist/{chunk-NCP3JQ6S.js → chunk-4J4EGANW.js} +2 -2
- package/dist/{chunk-NBWYATVA.js → chunk-4YCNVKJX.js} +194 -17
- package/dist/{chunk-5CDTGHED.js → chunk-6DHC3MVK.js} +2 -2
- package/dist/{chunk-MHZ7NSL5.js → chunk-6JDNEQV5.js} +1 -1
- package/dist/{chunk-6HO6QKYG.js → chunk-6R2PED3X.js} +6 -6
- package/dist/{chunk-3XHWHH5A.js → chunk-6Y7WZTHJ.js} +23 -23
- package/dist/{chunk-W4Q6VYPZ.js → chunk-7ZBMUKHY.js} +2 -2
- package/dist/{chunk-7VOLQUA2.js → chunk-BBMMVLA3.js} +1 -1
- package/dist/{chunk-BLBMPEBX.js → chunk-BONBJJ35.js} +1 -0
- package/dist/{chunk-2WNIF4YT.js → chunk-CD65TPHT.js} +1 -1
- package/dist/{chunk-ZMXFRRQR.js → chunk-CN3Q4CDK.js} +3 -3
- package/dist/{chunk-QPEDM2ZR.js → chunk-DI3ZFBZ3.js} +1 -1
- package/dist/{chunk-UDBNPVUR.js → chunk-EL2DMHA5.js} +1 -1
- package/dist/{chunk-B5GWDPUO.js → chunk-EPCVE3OX.js} +2 -2
- package/dist/{chunk-6UZLHLFP.js → chunk-FC4WF2VQ.js} +1 -1
- package/dist/{chunk-DKROJ3GJ.js → chunk-H7H7XNYY.js} +80 -20
- package/dist/{chunk-JZPUXDQE.js → chunk-HY64QA63.js} +1 -1
- package/dist/{chunk-7VGM5TLZ.js → chunk-I4XTKG2B.js} +2 -2
- package/dist/{skills-T5XCP3RC.js → chunk-IMK55N3Z.js} +25 -32
- package/dist/{chunk-WCETVN3N.js → chunk-IQ5OMRLK.js} +24 -38
- package/dist/{chunk-PPMCILED.js → chunk-JS6ZTPYC.js} +4 -4
- package/dist/{chunk-PO7LSMN5.js → chunk-JT2ZGKKB.js} +2 -2
- package/dist/{chunk-Q3W7TDQX.js → chunk-KNOIX2U5.js} +3 -3
- package/dist/{chunk-P4WYY52Y.js → chunk-LWFXO732.js} +1 -1
- package/dist/{upgrade-2FS4AMCA.js → chunk-MZHCA5KY.js} +65 -27
- package/dist/{chunk-EN6MPNZT.js → chunk-NQYW4IYN.js} +2 -2
- package/dist/{chunk-QBPZHOEJ.js → chunk-OKD2LP73.js} +1 -1
- package/dist/{chunk-WP5QHNXN.js → chunk-OQGA4QBD.js} +17 -5
- package/dist/{chunk-PYUS627M.js → chunk-OQHC5YIB.js} +2 -2
- package/dist/{chunk-BHL4KN3H.js → chunk-PKLZ5PV2.js} +1 -1
- package/dist/{chunk-YXSM33UC.js → chunk-QM4OL5MZ.js} +9 -9
- package/dist/{chunk-2CKL2FUJ.js → chunk-SUM3VFPQ.js} +2 -2
- package/dist/{chunk-6VKYITOR.js → chunk-T4ELNOK6.js} +1 -1
- package/dist/{chunk-GRUI2S2F.js → chunk-VWUUNGSV.js} +1 -1
- package/dist/{chunk-7VU4RBHC.js → chunk-WJ7E5J77.js} +9 -9
- package/dist/{chunk-NVYVI4FR.js → chunk-YJZYUXHQ.js} +1 -1
- package/dist/{chunk-WWPOGMNX.js → chunk-ZUACTOAB.js} +1 -1
- package/dist/{clean-BXHJEVVO.js → clean-2FWZPS4J.js} +8 -8
- package/dist/cli.js +59 -58
- package/dist/{cloud-ISWLTHGP.js → cloud-2UFI7NLD.js} +4 -4
- package/dist/cloud-Z3FNCC4T.js +1 -1
- package/dist/{compare-MLZYDSZD.js → compare-HKRLSFTU.js} +15 -15
- package/dist/{compiler-NAIDMQFU.js → compiler-KKIYPREA.js} +1 -1
- package/dist/{component-MMBTCMY3.js → component-F43F3363.js} +3 -3
- package/dist/{compositions-WT2577NJ.js → compositions-FFXCISLD.js} +7 -7
- package/dist/{curve-HHKVZ6LX.js → curve-RHSJUG5P.js} +5 -5
- package/dist/{cuts-66GBRT5P.js → cuts-KVFY3U6C.js} +5 -5
- package/dist/{delete-P3WYOC7I.js → delete-O7IZKKUN.js} +4 -4
- package/dist/{deploy-OJ3M7QJQ.js → deploy-PZAAUW75.js} +8 -8
- package/dist/{describeProject-DN6YQU3X.js → describeProject-E44RWBJL.js} +1 -1
- package/dist/{diff-R74KQXXN.js → diff-OMNILRNN.js} +18 -18
- package/dist/{dist-CCPYPKOC.js → dist-PUHEYGA5.js} +3 -3
- package/dist/{doctor-DT52W4UE.js → doctor-4HZN7ZVI.js} +9 -5
- package/dist/{energy-WOMDOOLC.js → energy-N3ZIPHTP.js} +5 -5
- package/dist/{events-YVQJLQWG.js → events-56A5D6DK.js} +4 -4
- package/dist/{events-WEVZ2ELP.js → events-TUTAERAN.js} +6 -6
- package/dist/{events-PCK4AIN5.js → events-VAJ4Y6XF.js} +3 -3
- package/dist/{extract-CNXA3DWB.js → extract-NJMZEOLG.js} +6 -6
- package/dist/{face-2WNBW74C.js → face-KLV4W6CP.js} +5 -5
- package/dist/{feedback-ADMM2XDS.js → feedback-4VEKGVLN.js} +5 -5
- package/dist/{ffmpeg-PERZ6YHQ.js → ffmpeg-A2O4HSRD.js} +1 -1
- package/dist/{figma-5MMN5JUU.js → figma-6XDKKOA6.js} +3 -3
- package/dist/fontLocalizeCli.js +3 -3
- package/dist/{frames-7CQGHRWT.js → frames-IAMGMNCA.js} +5 -5
- package/dist/{generate-XOR4UJDW.js → generate-FMATRA3L.js} +8 -8
- package/dist/{get-5K6ALHBS.js → get-JKA3APWR.js} +4 -4
- package/dist/{gpuPolicy-DUNSQM6M.js → gpuPolicy-TKHFDEH2.js} +2 -2
- package/dist/{grade-compare-DK63C776.js → grade-compare-TCLCDUG5.js} +14 -14
- package/dist/{heifImagePrep-YNPHFR6W.js → heifImagePrep-L2EY67F2.js} +1 -1
- package/dist/{help-AUF2KA6D.js → help-TWDOQJDN.js} +3 -2
- package/dist/{history-G3FXVX4A.js → history-SOWVZUAB.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-DGU3CIU5.js → info-JDINBZLH.js} +6 -6
- package/dist/{init-LYZI2WCS.js → init-ACNL6AFC.js} +15 -15
- package/dist/{ink-DYZG4BST.js → ink-WNEJROFH.js} +5 -5
- package/dist/{inspect-BYQSCRKT.js → inspect-37AMWUW3.js} +15 -15
- package/dist/{keyframes-XX2DIYPI.js → keyframes-LMUFQW4Z.js} +7 -7
- package/dist/{lambda-RKI7KKWW.js → lambda-DRGDNEW6.js} +3 -3
- package/dist/{layout-RQFOMQRO.js → layout-E63HPSXW.js} +15 -15
- package/dist/{lint-LFCMCDEG.js → lint-HNZPRCXH.js} +7 -7
- package/dist/{list-V4TGMQ3Y.js → list-UMR5VN2M.js} +4 -4
- package/dist/{localPage-6MQ6YFER.js → localPage-KIFKMB2B.js} +1 -1
- package/dist/{login-EXCG7PEH.js → login-OXOPCSUY.js} +4 -4
- package/dist/{look-RBHKHGMF.js → look-DFQJP2LY.js} +5 -5
- package/dist/{manager-ARXEX6OP.js → manager-T633Z2L4.js} +1 -1
- package/dist/{measure-SAV5K4WT.js → measure-Y2VXF6LJ.js} +11 -11
- package/dist/{media-treatment-2BVHRXJS.js → media-treatment-U2PDH4P3.js} +8 -8
- package/dist/{media-use-YEBYLITF.js → media-use-KGNGAQQP.js} +2 -1
- package/dist/{models-GMJODMZ5.js → models-HATSG3VK.js} +5 -5
- package/dist/{motionShot-Z63I3GO7.js → motionShot-45M7MSFQ.js} +7 -7
- package/dist/{normalize-audio-ILLUZPTO.js → normalize-audio-SOXEVIKM.js} +5 -5
- package/dist/{open-GTNLU7UF.js → open-LRPNBFRW.js} +5 -5
- package/dist/{parakeetRunner-K4EGDDVH.js → parakeetRunner-A7Z6CQOT.js} +1 -1
- package/dist/{pipeline-EKLTELWF.js → pipeline-N3M6VXBC.js} +4 -4
- package/dist/{play-F2HIXJKH.js → play-HTHDFMOU.js} +10 -10
- package/dist/{preflight-QMXCKE5P.js → preflight-XZZXHV42.js} +1 -1
- package/dist/{present-GDR6LCKE.js → present-LQ4PJTP4.js} +10 -10
- package/dist/{preview-4TV5426Q.js → preview-CTEDNFN3.js} +9 -9
- package/dist/{probe-TYM7WKX2.js → probe-6IZD5TPR.js} +6 -6
- package/dist/{producer-NHQXKH7Y.js → producer-4CR46ON4.js} +1 -1
- package/dist/{remove-background-LURZDSDJ.js → remove-background-SYHNGASQ.js} +5 -5
- package/dist/{render-GEAO2HAV.js → render-JHSMAWED.js} +9 -9
- package/dist/{render-YLAS7GVD.js → render-VZLEKSHR.js} +18 -18
- package/dist/{reverse-3KAZZXB2.js → reverse-SCXEQVRH.js} +1 -1
- package/dist/{run-XER4YJY5.js → run-GRCZ6JO5.js} +2 -2
- package/dist/{sherpa-D6FQ3CHN.js → sherpa-EENLR3RM.js} +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +2 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +14 -0
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +3 -0
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +41 -0
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +39 -0
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +2 -0
- package/dist/skills/media-use/scripts/lib/voice-provider.mjs +2 -0
- package/dist/skills-4TSYBAGW.js +49 -0
- package/dist/{skillsUpdateCheck-IG7KLWIA.js → skillsUpdateCheck-MGXL5VXL.js} +6 -4
- package/dist/{snapshot-RULSIRM6.js → snapshot-P27Y3NJE.js} +18 -18
- package/dist/{src-RL6YEPTD.js → src-L7UBHHKB.js} +1 -1
- package/dist/{src-DHBRQZFZ.js → src-MWO2XBSA.js} +2 -2
- package/dist/{start-GF3JCTGF.js → start-L5M26YD5.js} +6 -6
- package/dist/{staticProjectServer-BX4RWEY5.js → staticProjectServer-2JYB7RLI.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-BcELSci_.js → hyperframes-player-BbRz52ui.js} +1 -1
- package/dist/studio/assets/{index-2SLNyxZG.js → index-CCSgOq2L.js} +1 -1
- package/dist/studio/assets/{index-DR2eua-L.js → index-D3y5mWmH.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-PEUXVD7P.js → studio-api-MEZKFJBY.js} +3 -3
- package/dist/{studioServer-DOTRPHS3.js → studioServer-J5RPUMHP.js} +24 -24
- package/dist/{sync-XQPBXGGX.js → sync-FHT2CHKU.js} +5 -5
- package/dist/{telemetry-7TIIOBVB.js → telemetry-JWEOBK3Q.js} +4 -4
- package/dist/{telemetry-T73TKZOL.js → telemetry-WGNNQUSF.js} +1 -1
- package/dist/{timeline-4JIUAUIP.js → timeline-ZO3PNIET.js} +9 -9
- package/dist/{tokens-4PQU4LVQ.js → tokens-X6OTCQCV.js} +2 -2
- package/dist/{transcribe-IKUPC2R3.js → transcribe-KNO3BK5S.js} +8 -8
- package/dist/{transcribe-N66QUYCS.js → transcribe-QIZGXMR5.js} +1 -1
- package/dist/{tts-HIQMJU6O.js → tts-JHGGL7GL.js} +1 -1
- package/dist/update-WXGSPMEG.js +280 -0
- package/dist/{updateCheck-LBPTWEZV.js → updateCheck-OBYSCTWV.js} +7 -3
- package/dist/upgrade-YCCIVSI6.js +40 -0
- package/dist/{urlDownloader-YNI3Y3IE.js → urlDownloader-FOXK4FYP.js} +1 -1
- package/dist/{validate-MLVDUEK7.js → validate-TDVQ2B6Y.js} +13 -13
- package/dist/{video-2OEOTSPQ.js → video-AVEGMBDM.js} +1 -1
- package/dist/voices-2LIY4CYK.js +97 -0
- package/dist/warmCheck.js +23 -23
- package/package.json +1 -1
- package/dist/{chunk-QUBVGS27.js → chunk-LNTUFRZD.js} +3 -3
- package/dist/{destroy-C5GQLZVZ.js → destroy-IQLGADZM.js} +4 -4
- package/dist/{synthesize-YK3WLOEQ.js → synthesize-YYT7UON6.js} +5 -5
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-WJD3GVAA.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveProject
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BBMMVLA3.js";
|
|
21
21
|
import {
|
|
22
22
|
assetContentType,
|
|
23
23
|
buildRangeResponse,
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
resolvePlayerPath,
|
|
27
27
|
resolveRuntimePath,
|
|
28
28
|
revalidatedResponse
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EPCVE3OX.js";
|
|
30
30
|
import "./chunk-X7MTZ4T2.js";
|
|
31
31
|
import {
|
|
32
32
|
injectMediaCodecMapIntoHtml
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-4J4EGANW.js";
|
|
34
|
+
import "./chunk-HY64QA63.js";
|
|
35
35
|
import "./chunk-AW3XJY4S.js";
|
|
36
36
|
import {
|
|
37
37
|
requestSubPath
|
|
@@ -66,8 +66,8 @@ import "./chunk-T2WJO4XM.js";
|
|
|
66
66
|
import "./chunk-W4DMQZL5.js";
|
|
67
67
|
import "./chunk-5LOZWO2M.js";
|
|
68
68
|
import "./chunk-A4ZTSQLW.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-6DHC3MVK.js";
|
|
70
|
+
import "./chunk-JT2ZGKKB.js";
|
|
71
71
|
import "./chunk-PXVQOMKL.js";
|
|
72
72
|
import "./chunk-MCDNAIFF.js";
|
|
73
73
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -85,7 +85,7 @@ import "./chunk-EVMY7IPL.js";
|
|
|
85
85
|
import "./chunk-7FMUTGOH.js";
|
|
86
86
|
import "./chunk-5S7W3TUO.js";
|
|
87
87
|
import "./chunk-D3MUHMFG.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-JS6ZTPYC.js";
|
|
89
89
|
import "./chunk-YWRUQ7XZ.js";
|
|
90
90
|
import "./chunk-W5AUD5OL.js";
|
|
91
91
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -111,7 +111,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
111
111
|
import "./chunk-FBN2M2HK.js";
|
|
112
112
|
import "./chunk-766MOTIZ.js";
|
|
113
113
|
import "./chunk-BR2JQQC5.js";
|
|
114
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-BONBJJ35.js";
|
|
115
115
|
import "./chunk-ISN5GRYI.js";
|
|
116
116
|
import "./chunk-ADVVQX4I.js";
|
|
117
117
|
import {
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
} from "./chunk-66W5IWLO.js";
|
|
121
121
|
import "./chunk-J3RXEDR2.js";
|
|
122
122
|
import "./chunk-QBXDU24O.js";
|
|
123
|
-
import "./chunk-
|
|
123
|
+
import "./chunk-I4XTKG2B.js";
|
|
124
124
|
import {
|
|
125
125
|
normalizeErrorMessage
|
|
126
126
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -272,7 +272,7 @@ var play_default = defineCommand({
|
|
|
272
272
|
}
|
|
273
273
|
});
|
|
274
274
|
async function registerCompositionRoute(app, project, autoProxy) {
|
|
275
|
-
const { isSafePath } = await import("./studio-api-
|
|
275
|
+
const { isSafePath } = await import("./studio-api-MEZKFJBY.js");
|
|
276
276
|
app.get("/composition/*", async (ctx) => {
|
|
277
277
|
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
278
278
|
const filePath = resolve(project.dir, reqPath);
|
|
@@ -16,7 +16,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
16
16
|
import "./chunk-Z5J67X44.js";
|
|
17
17
|
import "./chunk-5S7W3TUO.js";
|
|
18
18
|
import "./chunk-D3MUHMFG.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-JS6ZTPYC.js";
|
|
20
20
|
import "./chunk-YWRUQ7XZ.js";
|
|
21
21
|
import "./chunk-W5AUD5OL.js";
|
|
22
22
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
} from "./chunk-WJD3GVAA.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveProject
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BBMMVLA3.js";
|
|
21
21
|
import {
|
|
22
22
|
assetContentType,
|
|
23
23
|
listenOnFreePort,
|
|
24
24
|
resolvePlayerPath,
|
|
25
25
|
resolveSlideshowPath
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-EPCVE3OX.js";
|
|
27
|
+
import "./chunk-4J4EGANW.js";
|
|
28
|
+
import "./chunk-HY64QA63.js";
|
|
29
29
|
import "./chunk-AW3XJY4S.js";
|
|
30
30
|
import {
|
|
31
31
|
requestSubPath
|
|
@@ -37,8 +37,8 @@ import "./chunk-ALVXFXUG.js";
|
|
|
37
37
|
import "./chunk-W4DMQZL5.js";
|
|
38
38
|
import "./chunk-5LOZWO2M.js";
|
|
39
39
|
import "./chunk-A4ZTSQLW.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-6DHC3MVK.js";
|
|
41
|
+
import "./chunk-JT2ZGKKB.js";
|
|
42
42
|
import "./chunk-PXVQOMKL.js";
|
|
43
43
|
import "./chunk-MCDNAIFF.js";
|
|
44
44
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-EVMY7IPL.js";
|
|
|
55
55
|
import "./chunk-7FMUTGOH.js";
|
|
56
56
|
import "./chunk-5S7W3TUO.js";
|
|
57
57
|
import "./chunk-D3MUHMFG.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-JS6ZTPYC.js";
|
|
59
59
|
import "./chunk-YWRUQ7XZ.js";
|
|
60
60
|
import "./chunk-W5AUD5OL.js";
|
|
61
61
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -81,7 +81,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
81
81
|
import "./chunk-FBN2M2HK.js";
|
|
82
82
|
import "./chunk-766MOTIZ.js";
|
|
83
83
|
import "./chunk-BR2JQQC5.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-BONBJJ35.js";
|
|
85
85
|
import "./chunk-ISN5GRYI.js";
|
|
86
86
|
import "./chunk-ADVVQX4I.js";
|
|
87
87
|
import {
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
} from "./chunk-66W5IWLO.js";
|
|
91
91
|
import "./chunk-J3RXEDR2.js";
|
|
92
92
|
import "./chunk-QBXDU24O.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-I4XTKG2B.js";
|
|
94
94
|
import {
|
|
95
95
|
normalizeErrorMessage
|
|
96
96
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -360,7 +360,7 @@ function escHtml(value) {
|
|
|
360
360
|
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
361
361
|
}
|
|
362
362
|
async function registerPresentCompositionRoute(app, project) {
|
|
363
|
-
const { isSafePath } = await import("./studio-api-
|
|
363
|
+
const { isSafePath } = await import("./studio-api-MEZKFJBY.js");
|
|
364
364
|
app.get("/composition/*", (ctx) => {
|
|
365
365
|
const reqPath = requestSubPath(ctx.req.url, "composition");
|
|
366
366
|
const filePath = resolve(project.dir, reqPath);
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
resolveProject,
|
|
33
33
|
resolveProjectOrThrow
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BBMMVLA3.js";
|
|
35
35
|
import {
|
|
36
36
|
MAX_PORT_SCAN,
|
|
37
37
|
PreviewServerPortMismatchError,
|
|
@@ -57,10 +57,10 @@ import "./chunk-T2WJO4XM.js";
|
|
|
57
57
|
import "./chunk-5LOZWO2M.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveLocalBrowserGpuMode
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-FC4WF2VQ.js";
|
|
61
61
|
import "./chunk-A4ZTSQLW.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-6DHC3MVK.js";
|
|
63
|
+
import "./chunk-JT2ZGKKB.js";
|
|
64
64
|
import "./chunk-PXVQOMKL.js";
|
|
65
65
|
import "./chunk-MCDNAIFF.js";
|
|
66
66
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -77,7 +77,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
77
77
|
import "./chunk-Z5J67X44.js";
|
|
78
78
|
import "./chunk-5S7W3TUO.js";
|
|
79
79
|
import "./chunk-D3MUHMFG.js";
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-JS6ZTPYC.js";
|
|
81
81
|
import "./chunk-YWRUQ7XZ.js";
|
|
82
82
|
import "./chunk-W5AUD5OL.js";
|
|
83
83
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -118,7 +118,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
118
118
|
import "./chunk-FBN2M2HK.js";
|
|
119
119
|
import "./chunk-766MOTIZ.js";
|
|
120
120
|
import "./chunk-BR2JQQC5.js";
|
|
121
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-BONBJJ35.js";
|
|
122
122
|
import {
|
|
123
123
|
isDevMode
|
|
124
124
|
} from "./chunk-ISN5GRYI.js";
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
} from "./chunk-66W5IWLO.js";
|
|
130
130
|
import "./chunk-J3RXEDR2.js";
|
|
131
131
|
import "./chunk-QBXDU24O.js";
|
|
132
|
-
import "./chunk-
|
|
132
|
+
import "./chunk-I4XTKG2B.js";
|
|
133
133
|
import {
|
|
134
134
|
normalizeErrorMessage
|
|
135
135
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -1776,7 +1776,7 @@ async function runLocalStudioMode(dir, options) {
|
|
|
1776
1776
|
return waitForStudioChildClose(child);
|
|
1777
1777
|
}
|
|
1778
1778
|
async function runEmbeddedMode(dir, startPort, options) {
|
|
1779
|
-
const { createStudioServer, loadPreviewServerBuildSignature, resolveStudioBundle } = await import("./studioServer-
|
|
1779
|
+
const { createStudioServer, loadPreviewServerBuildSignature, resolveStudioBundle } = await import("./studioServer-J5RPUMHP.js");
|
|
1780
1780
|
const pName = options?.projectName ?? basename(dir);
|
|
1781
1781
|
const studioBundle = resolveStudioBundle();
|
|
1782
1782
|
if (!options?.json) ge(c.bold("hyperframes preview"));
|
|
@@ -1909,7 +1909,7 @@ async function runEmbeddedMode(dir, startPort, options) {
|
|
|
1909
1909
|
};
|
|
1910
1910
|
process.on("SIGINT", shutdown);
|
|
1911
1911
|
process.on("SIGTERM", shutdown);
|
|
1912
|
-
import("./src-
|
|
1912
|
+
import("./src-L7UBHHKB.js").then(({ killTrackedProcesses }) => {
|
|
1913
1913
|
process.once("exit", () => {
|
|
1914
1914
|
if (!shuttingDown) killTrackedProcesses();
|
|
1915
1915
|
});
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
examples,
|
|
9
9
|
probeReport,
|
|
10
10
|
probe_default
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-DI3ZFBZ3.js";
|
|
12
|
+
import "./chunk-VWUUNGSV.js";
|
|
13
13
|
import "./chunk-A33GFLPY.js";
|
|
14
14
|
import "./chunk-AVNF52HR.js";
|
|
15
15
|
import "./chunk-DL4OD7IA.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
19
19
|
import "./chunk-Z5J67X44.js";
|
|
20
20
|
import "./chunk-5S7W3TUO.js";
|
|
21
21
|
import "./chunk-D3MUHMFG.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JS6ZTPYC.js";
|
|
23
23
|
import "./chunk-YWRUQ7XZ.js";
|
|
24
24
|
import "./chunk-W5AUD5OL.js";
|
|
25
25
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -48,15 +48,15 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
48
48
|
import "./chunk-WC4MTXGN.js";
|
|
49
49
|
import "./chunk-FBN2M2HK.js";
|
|
50
50
|
import "./chunk-766MOTIZ.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-4YCNVKJX.js";
|
|
52
52
|
import "./chunk-BR2JQQC5.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-BONBJJ35.js";
|
|
54
54
|
import "./chunk-ISN5GRYI.js";
|
|
55
55
|
import "./chunk-ADVVQX4I.js";
|
|
56
56
|
import "./chunk-66W5IWLO.js";
|
|
57
57
|
import "./chunk-J3RXEDR2.js";
|
|
58
58
|
import "./chunk-QBXDU24O.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-I4XTKG2B.js";
|
|
60
60
|
import "./chunk-E63BDV4Z.js";
|
|
61
61
|
import "./chunk-G7VEYUZ2.js";
|
|
62
62
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
RemoveBackgroundError,
|
|
12
12
|
removeBackground
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2VZVMCV6.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_MODEL,
|
|
16
16
|
DEFAULT_QUALITY,
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
listAvailableProviders,
|
|
23
23
|
modelPath,
|
|
24
24
|
selectProviders
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NQYW4IYN.js";
|
|
26
26
|
import "./chunk-5UT3R43E.js";
|
|
27
27
|
import "./chunk-6BEFEWFB.js";
|
|
28
28
|
import "./chunk-R4EWRIDL.js";
|
|
29
29
|
import "./chunk-AVNF52HR.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-PKLZ5PV2.js";
|
|
31
|
+
import "./chunk-FC4WF2VQ.js";
|
|
32
32
|
import {
|
|
33
33
|
defineCommand
|
|
34
34
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -40,7 +40,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
40
40
|
import "./chunk-Z5J67X44.js";
|
|
41
41
|
import "./chunk-5S7W3TUO.js";
|
|
42
42
|
import "./chunk-D3MUHMFG.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-JS6ZTPYC.js";
|
|
44
44
|
import "./chunk-YWRUQ7XZ.js";
|
|
45
45
|
import "./chunk-W5AUD5OL.js";
|
|
46
46
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
OFFLOAD_MIN_BYTES,
|
|
41
41
|
offloadHeavyMedia
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-T4ELNOK6.js";
|
|
43
43
|
import {
|
|
44
44
|
readStaged,
|
|
45
45
|
stagePublishFiles,
|
|
@@ -53,13 +53,13 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
resolveCloudBaseUrl
|
|
55
55
|
} from "./chunk-TSQZ3DSC.js";
|
|
56
|
-
import "./chunk-3XJM7XZN.js";
|
|
57
56
|
import "./chunk-ETYQYG6Q.js";
|
|
57
|
+
import "./chunk-3XJM7XZN.js";
|
|
58
58
|
import "./chunk-SWC3QIEH.js";
|
|
59
59
|
import "./chunk-AVNF52HR.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveProject
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-BBMMVLA3.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveDefaultFpsArg
|
|
65
65
|
} from "./chunk-E2YXF2EP.js";
|
|
@@ -84,8 +84,8 @@ import {
|
|
|
84
84
|
} from "./chunk-5LOZWO2M.js";
|
|
85
85
|
import "./chunk-EHZESMRB.js";
|
|
86
86
|
import "./chunk-A4ZTSQLW.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-6DHC3MVK.js";
|
|
88
|
+
import "./chunk-JT2ZGKKB.js";
|
|
89
89
|
import "./chunk-PXVQOMKL.js";
|
|
90
90
|
import "./chunk-MCDNAIFF.js";
|
|
91
91
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -102,7 +102,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
102
102
|
import "./chunk-Z5J67X44.js";
|
|
103
103
|
import "./chunk-5S7W3TUO.js";
|
|
104
104
|
import "./chunk-D3MUHMFG.js";
|
|
105
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-JS6ZTPYC.js";
|
|
106
106
|
import "./chunk-YWRUQ7XZ.js";
|
|
107
107
|
import "./chunk-W5AUD5OL.js";
|
|
108
108
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -134,9 +134,9 @@ import "./chunk-FBN2M2HK.js";
|
|
|
134
134
|
import "./chunk-766MOTIZ.js";
|
|
135
135
|
import {
|
|
136
136
|
withMeta
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-4YCNVKJX.js";
|
|
138
138
|
import "./chunk-BR2JQQC5.js";
|
|
139
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-BONBJJ35.js";
|
|
140
140
|
import "./chunk-ISN5GRYI.js";
|
|
141
141
|
import "./chunk-ADVVQX4I.js";
|
|
142
142
|
import {
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
} from "./chunk-66W5IWLO.js";
|
|
146
146
|
import "./chunk-J3RXEDR2.js";
|
|
147
147
|
import "./chunk-QBXDU24O.js";
|
|
148
|
-
import "./chunk-
|
|
148
|
+
import "./chunk-I4XTKG2B.js";
|
|
149
149
|
import {
|
|
150
150
|
normalizeErrorMessage
|
|
151
151
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -4,6 +4,10 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
deliveryFlagArgs,
|
|
9
|
+
parseDeliveryFlags
|
|
10
|
+
} from "./chunk-QOF7XZEI.js";
|
|
7
11
|
import {
|
|
8
12
|
hasExplicitCompositionArg,
|
|
9
13
|
resolveCompositionEntryArg
|
|
@@ -11,13 +15,9 @@ import {
|
|
|
11
15
|
import {
|
|
12
16
|
parseEnumFlag
|
|
13
17
|
} from "./chunk-FPR57WRR.js";
|
|
14
|
-
import {
|
|
15
|
-
deliveryFlagArgs,
|
|
16
|
-
parseDeliveryFlags
|
|
17
|
-
} from "./chunk-QOF7XZEI.js";
|
|
18
18
|
import {
|
|
19
19
|
maybePromptRenderFeedback
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-37537KOL.js";
|
|
21
21
|
import {
|
|
22
22
|
reportVariableIssues,
|
|
23
23
|
resolveVariablesArg,
|
|
@@ -27,7 +27,7 @@ import "./chunk-ZBAF6L74.js";
|
|
|
27
27
|
import {
|
|
28
28
|
renderJobObservabilityTelemetryPayload,
|
|
29
29
|
startRenderCpuSampler
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LWFXO732.js";
|
|
31
31
|
import {
|
|
32
32
|
formatLintStartupMessage
|
|
33
33
|
} from "./chunk-X5EOH44V.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
RenderQualityError,
|
|
59
59
|
extractSafeRenderErrorCode
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-KNOIX2U5.js";
|
|
61
61
|
import "./chunk-M6JFR7KF.js";
|
|
62
62
|
import "./chunk-EBUA6NWH.js";
|
|
63
63
|
import "./chunk-42TYQPES.js";
|
|
@@ -66,15 +66,15 @@ import "./chunk-BZ56MTDX.js";
|
|
|
66
66
|
import "./chunk-FI4I7CME.js";
|
|
67
67
|
import {
|
|
68
68
|
captureArtifactRevision
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-OKD2LP73.js";
|
|
70
|
+
import "./chunk-CD65TPHT.js";
|
|
71
|
+
import "./chunk-X7MTZ4T2.js";
|
|
71
72
|
import {
|
|
72
73
|
loadProducer
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-X7MTZ4T2.js";
|
|
74
|
+
} from "./chunk-ZUACTOAB.js";
|
|
75
75
|
import {
|
|
76
76
|
resolveProject
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-BBMMVLA3.js";
|
|
78
78
|
import {
|
|
79
79
|
windowsChromeCrashRemediation
|
|
80
80
|
} from "./chunk-262C25DQ.js";
|
|
@@ -123,8 +123,8 @@ import {
|
|
|
123
123
|
trackRenderError,
|
|
124
124
|
trackRenderObservation,
|
|
125
125
|
trackRenderPreflightRejected
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import "./chunk-
|
|
126
|
+
} from "./chunk-6DHC3MVK.js";
|
|
127
|
+
import "./chunk-JT2ZGKKB.js";
|
|
128
128
|
import "./chunk-PXVQOMKL.js";
|
|
129
129
|
import "./chunk-MCDNAIFF.js";
|
|
130
130
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
import "./chunk-Z5J67X44.js";
|
|
154
154
|
import "./chunk-5S7W3TUO.js";
|
|
155
155
|
import "./chunk-D3MUHMFG.js";
|
|
156
|
-
import "./chunk-
|
|
156
|
+
import "./chunk-JS6ZTPYC.js";
|
|
157
157
|
import "./chunk-YWRUQ7XZ.js";
|
|
158
158
|
import {
|
|
159
159
|
DISTRIBUTED_FPS,
|
|
@@ -220,7 +220,7 @@ import {
|
|
|
220
220
|
releaseDeParallelRouterLatch,
|
|
221
221
|
writeConfig,
|
|
222
222
|
writeConfigWithResult
|
|
223
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-BONBJJ35.js";
|
|
224
224
|
import {
|
|
225
225
|
isDevMode
|
|
226
226
|
} from "./chunk-ISN5GRYI.js";
|
|
@@ -236,7 +236,7 @@ import "./chunk-J3RXEDR2.js";
|
|
|
236
236
|
import "./chunk-QBXDU24O.js";
|
|
237
237
|
import {
|
|
238
238
|
VERSION
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-I4XTKG2B.js";
|
|
240
240
|
import {
|
|
241
241
|
normalizeErrorMessage
|
|
242
242
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -896,7 +896,7 @@ function assertRenderActive(cancellation) {
|
|
|
896
896
|
cancellation?.signal.throwIfAborted();
|
|
897
897
|
}
|
|
898
898
|
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
899
|
-
const { checkDisk } = await import("./preflight-
|
|
899
|
+
const { checkDisk } = await import("./preflight-XZZXHV42.js");
|
|
900
900
|
await (await import("./manager-SAXHANEY.js")).sweepKilledInstalls();
|
|
901
901
|
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
902
902
|
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
@@ -23,7 +23,7 @@ var reverse_default = defineCommand({
|
|
|
23
23
|
description: "Open a reverse-any-video run (start)"
|
|
24
24
|
},
|
|
25
25
|
subCommands: {
|
|
26
|
-
start: () => import("./start-
|
|
26
|
+
start: () => import("./start-L5M26YD5.js").then((m) => m.default)
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
export {
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
analyzeTargets,
|
|
9
9
|
previewTarget
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LNTUFRZD.js";
|
|
11
11
|
import "./chunk-HBAUU3IK.js";
|
|
12
12
|
import "./chunk-G3ERWPNV.js";
|
|
13
13
|
import "./chunk-TSQZ3DSC.js";
|
|
14
|
-
import "./chunk-3XJM7XZN.js";
|
|
15
14
|
import "./chunk-ETYQYG6Q.js";
|
|
15
|
+
import "./chunk-3XJM7XZN.js";
|
|
16
16
|
import "./chunk-SWC3QIEH.js";
|
|
17
17
|
import "./chunk-BVAPHHMQ.js";
|
|
18
18
|
import "./chunk-2GICKZ3I.js";
|
|
@@ -37,7 +37,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
37
37
|
import "./chunk-Z5J67X44.js";
|
|
38
38
|
import "./chunk-5S7W3TUO.js";
|
|
39
39
|
import "./chunk-D3MUHMFG.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-JS6ZTPYC.js";
|
|
41
41
|
import "./chunk-YWRUQ7XZ.js";
|
|
42
42
|
import "./chunk-W5AUD5OL.js";
|
|
43
43
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -9,6 +9,8 @@ description: The HyperFrames CLI by job - scaffold, check, look at frames, edit
|
|
|
9
9
|
|
|
10
10
|
Run `npx hyperframes <command>` unless the project gives a wrapper; then use the wrapper. It needs Node.js 22+ and FFmpeg. Every command has `--help`; most take `--json`, and a failure prints `✗ …`, a `Fix:` line and exits non-zero.
|
|
11
11
|
|
|
12
|
+
A `--json` result may carry `_meta.updateNotice`: a newer HyperFrames release is out. Pass it to the person once per conversation, in your own words, at a natural pause; updating is theirs to decide.
|
|
13
|
+
|
|
12
14
|
## Commands by job
|
|
13
15
|
|
|
14
16
|
| Job | Commands |
|
|
@@ -35,7 +35,7 @@ It prints one line, `resolved <id> → <path> (<type>, <metadata>)`. List reusab
|
|
|
35
35
|
|
|
36
36
|
**HeyGen.** `npx hyperframes media-use generate` makes images, shots, talking photos, voices and music on the sign-in alone. Helpers and direct recipes need the [`heygen` CLI](https://developers.heygen.com/cli); if it is missing, give the link and wait until they say it is installed. Direct `heygen` recipes bill that CLI's own login: use them only when that payer is selected.
|
|
37
37
|
|
|
38
|
-
**Credits.** Plan for the best result:
|
|
38
|
+
**Credits.** Plan for the best result: no cheaper or free swaps, no dropped items, unless asked to save cost. Never tell the person prices, estimates or usage; `--plan` is for you. A credit limit the person sets: write it once to `.hyperframes/credit-limit.json` as `{"credits": N}`; every paid call then refuses what would go past it (`--max-credits` only tightens). A step that won't fit (a `--plan` over what is left, or a refused call): say what doesn't, ask before dropping or shrinking it. A refused call names a `billing` command: say why, ask them to run it, then retry.
|
|
39
39
|
|
|
40
40
|
## Looks on real footage
|
|
41
41
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { fetchMedia } from "../../../scripts/lib/media-fetch.mjs";
|
|
2
|
+
import { refuseUnderLimit } from "../../../scripts/lib/credit-limit.mjs";
|
|
2
3
|
// tts.mjs — multi-provider TTS for the media audio engine. The provider chain,
|
|
3
4
|
// auto-detected from env, is the one documented in ../SKILL.md:
|
|
4
5
|
//
|
|
@@ -310,6 +311,7 @@ export async function synthesizeHeygen({ text, voiceId, lang, speed, wavAbs }, d
|
|
|
310
311
|
const fetchImpl = deps.fetch ?? fetch;
|
|
311
312
|
const transcode = deps.transcodeToWav ?? transcodeToWav;
|
|
312
313
|
try {
|
|
314
|
+
refuseUnderLimit(deps.projectDir ?? process.cwd(), "a HeyGen voice", "voice");
|
|
313
315
|
const body = { text, voice_id: voiceId, speed };
|
|
314
316
|
if (lang !== "en") body.language = lang;
|
|
315
317
|
const payload = await requestJSON(`/voices/speech`, {
|
|
@@ -228,3 +228,17 @@ test("pickProvider heygen with an unreadable credentials path says to fix that p
|
|
|
228
228
|
rmSync(dir, { recursive: true, force: true });
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
|
+
|
|
232
|
+
test("synthesizeHeygen refuses under a credit limit before any request", async () => {
|
|
233
|
+
const dir = mkdtempSync(join(tmpdir(), "hf-tts-limit-"));
|
|
234
|
+
mkdirSync(join(dir, ".hyperframes"));
|
|
235
|
+
writeFileSync(join(dir, ".hyperframes", "credit-limit.json"), '{"credits": 5}');
|
|
236
|
+
let asked = false;
|
|
237
|
+
const r = await synthesizeHeygen(
|
|
238
|
+
{ text: "hi", voiceId: "v", lang: "en", speed: 1, wavAbs: join(dir, "a.wav") },
|
|
239
|
+
{ projectDir: dir, heygenJSON: async () => ((asked = true), {}) },
|
|
240
|
+
);
|
|
241
|
+
assert.equal(r.ok, false);
|
|
242
|
+
assert.match(r.error, /credit limit of 5/);
|
|
243
|
+
assert.equal(asked, false);
|
|
244
|
+
});
|
|
@@ -16,7 +16,7 @@ A refusal names its fix: `api_key_required` needs an API key, `402` or `insuffic
|
|
|
16
16
|
|
|
17
17
|
## Making media: `media-use generate`
|
|
18
18
|
|
|
19
|
-
Make it without quoting a price or asking for a budget; `--plan` only prints what a call would cost (`credits` is an estimate in HyperFrames credits), for your own planning; never pass it on. When the person names a credit limit,
|
|
19
|
+
Make it without quoting a price or asking for a budget; `--plan` only prints what a call would cost (`credits` is an estimate in HyperFrames credits), for your own planning; never pass it on. When the person names a credit limit, record it in the project's credit-limit file (SKILL.md, Credits). Make a piece again only for a fault you can name (a cut inside it, text in it, the wrong framing), once, never to chase a motion or look score; a `content_policy_violation` gets one reworded try. A failed or refused job also gets one more try, test calls included; then stop and ask the person, without saying what was spent or what another try costs.
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
# a still, edited from a reference picture: a clean plate with the words removed
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
2
|
+
import { join } from "node:path";
|
|
3
|
+
|
|
4
|
+
// A run's credit limit: the person's named total, in `.hyperframes/credit-limit.json` as {"credits": N}.
|
|
5
|
+
// What is spent is read back from the job log (`.hyperframes/heygen-jobs.jsonl`): the last credits a job key logged.
|
|
6
|
+
|
|
7
|
+
const read = (file) => (existsSync(file) ? readFileSync(file, "utf8") : "");
|
|
8
|
+
|
|
9
|
+
/** The limit set for this project, or undefined when the person named none. Unreadable is an error, never "none". */
|
|
10
|
+
export function creditLimit(projectDir) {
|
|
11
|
+
const text = read(join(projectDir, ".hyperframes", "credit-limit.json"));
|
|
12
|
+
if (!text) return undefined;
|
|
13
|
+
const credits = Number(JSON.parse(text)?.credits);
|
|
14
|
+
if (!Number.isFinite(credits) || credits < 0)
|
|
15
|
+
throw new Error(`${projectDir}/.hyperframes/credit-limit.json needs {"credits": <number>}`);
|
|
16
|
+
return credits;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** Credits already committed by jobs in this project, and the job keys behind them. */
|
|
20
|
+
export function creditsSpent(projectDir) {
|
|
21
|
+
const charged = new Map();
|
|
22
|
+
for (const row of read(join(projectDir, ".hyperframes", "heygen-jobs.jsonl")).split("\n")) {
|
|
23
|
+
if (!row) continue;
|
|
24
|
+
const { key, credits } = JSON.parse(row);
|
|
25
|
+
if (key && typeof credits === "number") charged.set(key, credits);
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
total: [...charged.values()].reduce((a, b) => a + b, 0),
|
|
29
|
+
keys: new Set([...charged].filter(([, c]) => c > 0).map(([k]) => k)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** The engine shells out to `heygen`, which prices nothing here: under a limit those calls are refused, and
|
|
34
|
+
* `media-use generate` (priced, counted against the limit) is the way to make the same piece. */
|
|
35
|
+
export function refuseUnderLimit(projectDir, what, generateType) {
|
|
36
|
+
const limit = creditLimit(projectDir);
|
|
37
|
+
if (limit === undefined) return;
|
|
38
|
+
throw new Error(
|
|
39
|
+
`media-use: ${what} cannot be priced here, so it cannot be kept under the run's credit limit of ${limit}; nothing was made. Make it with \`npx hyperframes media-use generate --type ${generateType}\`, which counts against the limit`,
|
|
40
|
+
);
|
|
41
|
+
}
|