hyperframes 0.8.148 → 0.8.150
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-JAHZJYB7.js → add-3ZIFEN2U.js} +19 -19
- package/dist/{animatedGifPrep-HV4ZFVPV.js → animatedGifPrep-77LPFLKJ.js} +6 -6
- package/dist/api.d.ts +209 -0
- package/dist/api.js +75 -0
- package/dist/{asset-SJA7DT6Q.js → asset-EYSZEHM6.js} +3 -3
- package/dist/{assetCataloger-JJQ4JW2P.js → assetCataloger-KX3HD7ZI.js} +3 -3
- package/dist/{auth-RR3OIXLH.js → auth-L6IWNRXY.js} +4 -4
- package/dist/{autoUpdate-KLDV2XWV.js → autoUpdate-2O3HZB65.js} +2 -2
- package/dist/{backgroundChecks-OVL3E2RK.js → backgroundChecks-BH2LMJYE.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-2SAJGOHU.js → batchRender-ZBKAYLWU.js} +7 -7
- package/dist/{beats-HTYS42CC.js → beats-IVLF2566.js} +22 -22
- package/dist/{benchmark-CAHP4GLB.js → benchmark-SYZFW2G7.js} +19 -19
- package/dist/{browser-M7I67IGX.js → browser-OSW3L25S.js} +14 -13
- package/dist/{bundleWithLocalizedFonts-EKRXJBXU.js → bundleWithLocalizedFonts-I4CWOXLK.js} +5 -5
- package/dist/{capture-P5SNZ6HL.js → capture-AZOQ57TM.js} +2 -2
- package/dist/{capture-YZQZ5LKM.js → capture-V5ICGSVJ.js} +20 -20
- package/dist/{catalog-LREZPRJS.js → catalog-VBJOA2Y5.js} +35 -35
- package/dist/{catch-up-2MLRYAYP.js → catch-up-TKSEDNJK.js} +13 -13
- package/dist/{check-BH6NUR22.js → check-3HFISKDB.js} +50 -50
- package/dist/{checkBrowser-BM6JBFST.js → checkBrowser-MXBDNZJB.js} +38 -38
- package/dist/chunk-2KAL22B5.js +26 -0
- package/dist/{chunk-X2G54Y2V.js → chunk-3UAIVF4L.js} +4 -4
- package/dist/{chunk-KQHJKJ3V.js → chunk-423DJVX2.js} +1 -1
- package/dist/{chunk-UTBQSOEC.js → chunk-4WFNTWKZ.js} +3 -3
- package/dist/{chunk-VC7JBNPS.js → chunk-5NAYNDBT.js} +477 -68
- package/dist/{chunk-QX26JK43.js → chunk-6KWA3XPS.js} +10 -10
- package/dist/{chunk-AY2BONTF.js → chunk-6NPFJ255.js} +1 -1
- package/dist/{chunk-ZK3BQXHC.js → chunk-6QB7F2II.js} +1 -1
- package/dist/{chunk-54TV77W5.js → chunk-6SFPQ2RZ.js} +6 -8
- package/dist/{chunk-YQK445YQ.js → chunk-73RBX2E7.js} +2 -2
- package/dist/chunk-7E4VHPKJ.js +329 -0
- package/dist/{chunk-A6S35NYA.js → chunk-7IEGPJ4P.js} +1 -1
- package/dist/{chunk-NT7EK6ET.js → chunk-7JTFPUMA.js} +1 -1
- package/dist/{chunk-VHJPGKUW.js → chunk-A6ZO4BX7.js} +2 -2
- package/dist/{chunk-ASEJ2FBO.js → chunk-AFRXL75S.js} +1 -1
- package/dist/{chunk-QIJLIULK.js → chunk-AKYQGZLU.js} +2 -2
- package/dist/{chunk-4S4VUXW3.js → chunk-AXPNVC3N.js} +1 -1
- package/dist/{chunk-A4Q7W4LV.js → chunk-B3XLIBFL.js} +4 -2
- package/dist/{chunk-PR7QQBSC.js → chunk-BLRJKBKP.js} +1 -1
- package/dist/chunk-CEND6BLF.js +3795 -0
- package/dist/{chunk-KVGDFUVO.js → chunk-CZQLCBWY.js} +26 -13
- package/dist/{chunk-6IIGT7BX.js → chunk-DNZMBQTH.js} +1 -1
- package/dist/{chunk-ELACLQPC.js → chunk-DOVJRUFM.js} +1 -1
- package/dist/{chunk-SYUGVPYH.js → chunk-DUUFDLC4.js} +1 -1
- package/dist/{chunk-KMJLHHBF.js → chunk-EL5QVJEG.js} +1 -1
- package/dist/{chunk-JN4EK6MC.js → chunk-F2RLIE7P.js} +17 -17
- package/dist/{chunk-TLGJRK6Q.js → chunk-FN6KAS7A.js} +10 -10
- package/dist/{chunk-24GKVAEE.js → chunk-FPAT5HTI.js} +15 -15
- package/dist/chunk-HU2SPFNG.js +103 -0
- package/dist/{chunk-KQESKXAC.js → chunk-I6DATIHC.js} +2 -2
- package/dist/{chunk-4OA4LDTU.js → chunk-IYLHJV34.js} +1 -1
- package/dist/{chunk-KBB4RG6F.js → chunk-JZIEZCQM.js} +9 -2
- package/dist/chunk-KGPLIH7B.js +127 -0
- package/dist/{chunk-B4P5VDFQ.js → chunk-KMAAOHLO.js} +1 -1
- package/dist/chunk-LW5VFBSY.js +56 -0
- package/dist/{chunk-66SAATRI.js → chunk-M5B42RL5.js} +9 -9
- package/dist/{chunk-Q2Y5OZCY.js → chunk-M6UDJ2E7.js} +2 -2
- package/dist/{chunk-URYAKNQ2.js → chunk-NFQY7EIC.js} +1 -1
- package/dist/{chunk-S7E2I3HT.js → chunk-O4DC5CHF.js} +1 -1
- package/dist/{chunk-K35E45SI.js → chunk-OQ7XMM3S.js} +1 -1
- package/dist/{chunk-AHBYQRGI.js → chunk-PCWOSS7G.js} +1 -1
- package/dist/{chunk-BHVFTYSI.js → chunk-PO2SDVQA.js} +4 -1
- package/dist/{chunk-K4RIT6PX.js → chunk-R5A7454P.js} +2 -2
- package/dist/{chunk-VXM4BH23.js → chunk-RW7NLGPD.js} +121 -47
- package/dist/{chunk-BB3HJLHD.js → chunk-S5F26DUL.js} +3 -3
- package/dist/{chunk-OLENCLFE.js → chunk-TZPZE5PS.js} +81 -8
- package/dist/{chunk-74JDPWQ3.js → chunk-UAIUVPZE.js} +9 -9
- package/dist/{chunk-XIL7KT5Q.js → chunk-UJB7356Y.js} +6 -6
- package/dist/{chunk-YA62XGXS.js → chunk-UJKQWGFF.js} +1 -1
- package/dist/{chunk-O3EALI4M.js → chunk-UQYQ7TBA.js} +4 -4
- package/dist/{chunk-C24LU5XD.js → chunk-UVVI2NJQ.js} +12 -12
- package/dist/{normalize-U3SL5VG3.js → chunk-VHZ6DL3M.js} +3 -3
- package/dist/{chunk-CNEYCO24.js → chunk-VQ7YIURZ.js} +13 -13
- package/dist/{chunk-62RUQJ5J.js → chunk-WLIUULZQ.js} +20 -8
- package/dist/{chunk-RKBES4XP.js → chunk-XANZ4R4P.js} +88 -28
- package/dist/{chunk-BYSBRF24.js → chunk-XPQSL5VS.js} +5 -120
- package/dist/{chunk-SP6XL3NP.js → chunk-XQMEGSHG.js} +1 -1
- package/dist/{chunk-ZFN6GQU4.js → chunk-XXPYZBZ3.js} +1 -1
- package/dist/{chunk-4SFGME7K.js → chunk-YJDB4FLT.js} +1 -1
- package/dist/{chunk-QATWIE4K.js → chunk-YU2QRNWN.js} +2 -2
- package/dist/{chunk-6VKQ5JT3.js → chunk-Z6WZDGCS.js} +2 -2
- package/dist/{chunk-2HWB4TCI.js → chunk-ZNHAJCEA.js} +1 -1
- package/dist/{clean-K7GYTLQE.js → clean-7HU7S7DT.js} +34 -33
- package/dist/cli.js +55 -55
- package/dist/{cloud-I3J5HTN7.js → cloud-HAXHBO25.js} +4 -4
- package/dist/{cloudrun-MJQ363PB.js → cloudrun-A3PIJ6DX.js} +7 -7
- package/dist/{compare-LHW6NEFR.js → compare-6IPSQMSM.js} +37 -37
- package/dist/{compiler-NPD3MYMO.js → compiler-UQP2VXN6.js} +3 -3
- package/dist/{component-LTPK2D3K.js → component-FF3AU24M.js} +4 -4
- package/dist/{compositions-QGEHXGIL.js → compositions-JSH4MZXB.js} +20 -20
- package/dist/{delete-ATNRBUDJ.js → delete-G763SW64.js} +11 -11
- package/dist/{dist-CUIR3GFX.js → dist-Z7Q3JS7K.js} +3 -3
- package/dist/{doctor-6B76R5BJ.js → doctor-WZB6WMBY.js} +21 -20
- package/dist/{events-BLABPRD5.js → events-MUWJJCC7.js} +6 -6
- package/dist/{events-33GOPHSS.js → events-T4YFQC5G.js} +8 -8
- package/dist/{feedback-HLXEG7RT.js → feedback-AUTHQNN2.js} +25 -25
- package/dist/{ffmpeg-5V4FP3R6.js → ffmpeg-TZB5WAYE.js} +3 -2
- package/dist/{figma-T6W7H23L.js → figma-NBG6WBI7.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{get-UDMLOTKJ.js → get-OXBJLKLV.js} +11 -11
- package/dist/{gpuPolicy-M2JZGGVW.js → gpuPolicy-HBCCEQUS.js} +6 -6
- package/dist/{grade-compare-P4CHFVBR.js → grade-compare-2LX4FDH7.js} +42 -41
- package/dist/{help-4MW6L6YB.js → help-LJI46EDO.js} +3 -3
- package/dist/{history-336VM6SH.js → history-MFKAQEHU.js} +15 -15
- package/dist/hyperframe-runtime.js +65 -58
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -58
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-FPMIDMD5.js → info-D6Y5O2QE.js} +18 -18
- package/dist/{init-IWM4PWLO.js → init-47NZPEBI.js} +53 -52
- package/dist/{inspect-IIG7756C.js → inspect-U5UXJK5D.js} +34 -34
- package/dist/{installer-Q4MMZKLA.js → installer-AW7VFVTQ.js} +5 -5
- package/dist/{keyframes-TWO4BXBA.js → keyframes-5G334NWB.js} +16 -16
- package/dist/{lambda-2JB2QUK2.js → lambda-GASGXN3A.js} +9 -9
- package/dist/{layout-TPKEKFQQ.js → layout-OXAQFLJS.js} +34 -34
- package/dist/{lint-H3KL7KSX.js → lint-F36QFSNF.js} +19 -19
- package/dist/{list-LYPO4KRE.js → list-TR6QCI53.js} +11 -11
- package/dist/{login-SQQWKWTD.js → login-6LA2RWTC.js} +9 -9
- package/dist/{logout-B4KS4A7S.js → logout-DKJANASY.js} +3 -3
- package/dist/{manager-5ORDVWJB.js → manager-ES2UFT4X.js} +6 -4
- package/dist/{manager-BPSR6D3V.js → manager-GWU5J6RJ.js} +3 -2
- package/dist/{media-treatment-KSRINVUA.js → media-treatment-BOHYDWVY.js} +28 -27
- package/dist/{models-WUBF6GDB.js → models-6GW5Q3IW.js} +20 -18
- package/dist/{motionShot-STKG4KYQ.js → motionShot-O7AOMPUN.js} +14 -14
- package/dist/normalize-4UDISLPL.js +24 -0
- package/dist/{normalize-audio-CA47XZ4I.js → normalize-audio-UO5B4O76.js} +17 -17
- package/dist/{open-B5WYEM3Z.js → open-JV2EHVKM.js} +13 -13
- package/dist/{parakeetRunner-JBK2JPEH.js → parakeetRunner-23DZUF6G.js} +18 -28
- package/dist/{pipeline-FEAAD2RJ.js → pipeline-KTICSIK7.js} +10 -10
- package/dist/{play-2LC5XRM6.js → play-CMUYPXBC.js} +37 -37
- package/dist/{preflight-ONF5AJNO.js → preflight-JOD4OXGC.js} +5 -4
- package/dist/{present-XKYF3VGC.js → present-ZDT5FM2H.js} +27 -27
- package/dist/{preview-WDPZRHE5.js → preview-ASHLGKDD.js} +40 -38
- package/dist/{producer-343ENLAM.js → producer-FFH2KUAZ.js} +1 -1
- package/dist/{projectConfig-YXKU3CTB.js → projectConfig-FHIAOPKW.js} +7 -7
- package/dist/{publication-ODXP3JI7.js → publication-WO5ZXURT.js} +3 -3
- package/dist/{publish-3OYXNY44.js → publish-QWO2W7FB.js} +23 -23
- package/dist/{refresh-PVHBEABE.js → refresh-MGCVWX56.js} +3 -3
- package/dist/{remove-background-F6QTJIPZ.js → remove-background-BO5MQR25.js} +39 -35
- package/dist/{render-SC77I7FT.js → render-HS3YOLSD.js} +7 -7
- package/dist/{render-QQ7NUREG.js → render-SDHFXL3Y.js} +62 -61
- package/dist/{render-JKB6GZDB.js → render-XTJKGT3G.js} +31 -31
- package/dist/{render-batch-4F44JFAB.js → render-batch-J64AJHQY.js} +7 -7
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-7MYXNEAX.js → resolver-IHNWMDJA.js} +5 -5
- package/dist/{sherpa-FOXB4XBN.js → sherpa-FXBBYMDR.js} +16 -15
- package/dist/sherpaWorker.js +3 -1
- package/dist/{skills-GG756RCG.js → skills-ALLSN7TB.js} +15 -15
- package/dist/{skillsUpdateCheck-N2LDCNAS.js → skillsUpdateCheck-EIT5NWM6.js} +3 -3
- package/dist/{snapshot-2LDOY65W.js → snapshot-Y3I76OIZ.js} +56 -55
- package/dist/{src-VMTHSARJ.js → src-7V6LBC56.js} +7 -5
- package/dist/{src-PTIV7IVV.js → src-S5IZVJUX.js} +7 -7
- package/dist/{staticProjectServer-QBB6WUAY.js → staticProjectServer-QLWWGHZE.js} +16 -16
- package/dist/{status-PTKNQD2E.js → status-NBRMGL7D.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-BBBg-uvu.js → hyperframes-player-kup62bDR.js} +1 -1
- package/dist/studio/assets/{index-BXJLeCqB.js → index-B8BBYY8L.js} +1 -1
- package/dist/studio/assets/{index-BJIpZeuk.js → index-CS_m0TkX.js} +131 -131
- package/dist/studio/assets/{index-DARhiE_i.js → index-DQ5jGodF.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-VPTZF2AW.js → studio-api-UBFLZ3DA.js} +9 -9
- package/dist/{studioServer-VZKX2MG7.js → studioServer-REOVCIFP.js} +72 -71
- package/dist/{synthesize-UCI4X5O7.js → synthesize-22B7L5GX.js} +6 -6
- package/dist/{telemetry-76XND6XK.js → telemetry-C3GDIXHO.js} +8 -8
- package/dist/{timeline-UJLTA4AX.js → timeline-H42EGLMT.js} +26 -26
- package/dist/{tokens-VMWANYJY.js → tokens-2K7ISTKV.js} +3 -3
- package/dist/transcribe-DVM7UFZZ.js +332 -0
- package/dist/{transcribe-JNOG667L.js → transcribe-NUPASAUP.js} +14 -13
- package/dist/{tts-B6AHFQEO.js → tts-QSAQZVEZ.js} +3 -3
- package/dist/{updateCheck-WI3HYM72.js → updateCheck-3RWFSEZD.js} +2 -2
- package/dist/{upgrade-52RIOKFX.js → upgrade-YKKL36N7.js} +5 -5
- package/dist/{urlDownloader-352AY25I.js → urlDownloader-6JNJYLPN.js} +5 -5
- package/dist/{validate-MJVNR7YY.js → validate-Z7KQT7GO.js} +27 -27
- package/dist/{video-72VNEQEI.js → video-EXL2JDSL.js} +9 -9
- package/package.json +8 -1
- package/dist/chunk-3WD4JNMU.js +0 -3795
- package/dist/chunk-6IHWCZ3W.js +0 -54
- package/dist/chunk-SQLK7SJL.js +0 -88
- package/dist/manager-RFZNG5YT.js +0 -30
- package/dist/renderCancellation-7OEBNE2L.js +0 -43
- package/dist/transcribe-FD7A2SH3.js +0 -466
- package/dist/{chunk-DKSDVDXG.js → chunk-NAMGMP3R.js} +3 -3
- package/dist/{policies-4FEXMXPK.js → policies-DCSIM4AB.js} +3 -3
- package/dist/{screenshotCapture-3JXXUZND.js → screenshotCapture-TEUIWXWN.js} +3 -3
- package/dist/{telemetry-W5AKPI4R.js → telemetry-CQYHCCPL.js} +3 -3
|
@@ -0,0 +1,332 @@
|
|
|
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
|
+
trackTranscribeUnavailable
|
|
9
|
+
} from "./chunk-3UAIVF4L.js";
|
|
10
|
+
import "./chunk-6KWA3XPS.js";
|
|
11
|
+
import "./chunk-VWG7OQKU.js";
|
|
12
|
+
import "./chunk-XBSPQ52S.js";
|
|
13
|
+
import {
|
|
14
|
+
ft
|
|
15
|
+
} from "./chunk-WMQNIQDJ.js";
|
|
16
|
+
import {
|
|
17
|
+
defineCommand
|
|
18
|
+
} from "./chunk-S3S4TGEH.js";
|
|
19
|
+
import "./chunk-54HJ63Q2.js";
|
|
20
|
+
import {
|
|
21
|
+
failCommand,
|
|
22
|
+
setCommandExitCode
|
|
23
|
+
} from "./chunk-PBN6GBJE.js";
|
|
24
|
+
import {
|
|
25
|
+
c
|
|
26
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
27
|
+
import "./chunk-K4WIOZFP.js";
|
|
28
|
+
import "./chunk-XUXGIA7H.js";
|
|
29
|
+
import "./chunk-WERLJGIC.js";
|
|
30
|
+
import "./chunk-ISN5GRYI.js";
|
|
31
|
+
import "./chunk-I6DATIHC.js";
|
|
32
|
+
import {
|
|
33
|
+
MIN_TIMEOUT_MS,
|
|
34
|
+
TranscribeError,
|
|
35
|
+
runTranscribe
|
|
36
|
+
} from "./chunk-7E4VHPKJ.js";
|
|
37
|
+
import "./chunk-2KAL22B5.js";
|
|
38
|
+
import "./chunk-6SFPQ2RZ.js";
|
|
39
|
+
import "./chunk-BXCMXMJQ.js";
|
|
40
|
+
import "./chunk-3DKN5WKL.js";
|
|
41
|
+
import "./chunk-EOVYQ3IG.js";
|
|
42
|
+
import {
|
|
43
|
+
createProgressWriter
|
|
44
|
+
} from "./chunk-XANZ4R4P.js";
|
|
45
|
+
import "./chunk-4WFNTWKZ.js";
|
|
46
|
+
import "./chunk-VHZ6DL3M.js";
|
|
47
|
+
import "./chunk-6BEFEWFB.js";
|
|
48
|
+
import {
|
|
49
|
+
DEFAULT_MODEL
|
|
50
|
+
} from "./chunk-CZQLCBWY.js";
|
|
51
|
+
import "./chunk-PO2SDVQA.js";
|
|
52
|
+
import "./chunk-DUUFDLC4.js";
|
|
53
|
+
import "./chunk-AMKC3AXA.js";
|
|
54
|
+
import "./chunk-5NAYNDBT.js";
|
|
55
|
+
import "./chunk-WLIUULZQ.js";
|
|
56
|
+
import "./chunk-NE55C6S5.js";
|
|
57
|
+
import "./chunk-JYVGYKXG.js";
|
|
58
|
+
import "./chunk-PCWOSS7G.js";
|
|
59
|
+
import "./chunk-CEND6BLF.js";
|
|
60
|
+
import "./chunk-VC76R6W2.js";
|
|
61
|
+
import "./chunk-UJKQWGFF.js";
|
|
62
|
+
import "./chunk-LFNQDTSH.js";
|
|
63
|
+
import "./chunk-OFQWTKPW.js";
|
|
64
|
+
import "./chunk-DPVXBVLL.js";
|
|
65
|
+
import "./chunk-T76PLPD6.js";
|
|
66
|
+
import "./chunk-FXMKHHPO.js";
|
|
67
|
+
import "./chunk-RQVDTPGD.js";
|
|
68
|
+
import "./chunk-B3XLIBFL.js";
|
|
69
|
+
import "./chunk-XPQSL5VS.js";
|
|
70
|
+
import "./chunk-TWWSYAKJ.js";
|
|
71
|
+
import "./chunk-JDB65PPT.js";
|
|
72
|
+
import "./chunk-IWFLMU2N.js";
|
|
73
|
+
import "./chunk-APDLWWFG.js";
|
|
74
|
+
import "./chunk-VAS6HQX3.js";
|
|
75
|
+
import "./chunk-3RM2ETQT.js";
|
|
76
|
+
import "./chunk-BSQ7XANM.js";
|
|
77
|
+
import "./chunk-SDYDNHEE.js";
|
|
78
|
+
import "./chunk-2PSPARWP.js";
|
|
79
|
+
import "./chunk-IXLUTE6N.js";
|
|
80
|
+
import "./chunk-KNU5COPB.js";
|
|
81
|
+
import "./chunk-JZIEZCQM.js";
|
|
82
|
+
import "./chunk-UOFAE5RF.js";
|
|
83
|
+
import "./chunk-IR35BCLK.js";
|
|
84
|
+
import "./chunk-HU2SPFNG.js";
|
|
85
|
+
import "./chunk-KGPLIH7B.js";
|
|
86
|
+
import "./chunk-3GXQPCJC.js";
|
|
87
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
88
|
+
|
|
89
|
+
// src/commands/transcribe.ts
|
|
90
|
+
var examples = [
|
|
91
|
+
["Transcribe an audio file", "hyperframes transcribe audio.mp3"],
|
|
92
|
+
["Transcribe a video file", "hyperframes transcribe video.mp4"],
|
|
93
|
+
["Use a larger model for better accuracy", "hyperframes transcribe audio.mp3 --model medium.en"],
|
|
94
|
+
["Set language to filter non-target speech", "hyperframes transcribe audio.mp3 --language en"],
|
|
95
|
+
["Import an existing SRT file", "hyperframes transcribe subtitles.srt"],
|
|
96
|
+
["Import an OpenAI Whisper JSON response", "hyperframes transcribe response.json"],
|
|
97
|
+
["Export captions to SRT", "hyperframes transcribe transcript.json --to srt"],
|
|
98
|
+
["Transcribe a video straight to VTT captions", "hyperframes transcribe video.mp4 --to vtt"],
|
|
99
|
+
[
|
|
100
|
+
"Export single-word/CJK captions without re-grouping",
|
|
101
|
+
"hyperframes transcribe transcript.json --to vtt --preserve-cues"
|
|
102
|
+
]
|
|
103
|
+
];
|
|
104
|
+
var transcribe_default = defineCommand({
|
|
105
|
+
meta: {
|
|
106
|
+
name: "transcribe",
|
|
107
|
+
description: "Transcribe audio/video to word-level timestamps, or import an existing transcript"
|
|
108
|
+
},
|
|
109
|
+
args: {
|
|
110
|
+
input: {
|
|
111
|
+
type: "positional",
|
|
112
|
+
description: "Audio/video file to transcribe, or transcript file to import (.json, .srt, .vtt)",
|
|
113
|
+
required: true
|
|
114
|
+
},
|
|
115
|
+
dir: {
|
|
116
|
+
type: "string",
|
|
117
|
+
description: "Project directory (default: current directory)",
|
|
118
|
+
alias: "d"
|
|
119
|
+
},
|
|
120
|
+
engine: {
|
|
121
|
+
type: "string",
|
|
122
|
+
description: "ASR engine: auto (Parakeet if installed and it covers --language, else whisper), parakeet, or whisper. Default: auto. Parakeet is more accurate and faster; install it with `hyperframes models install parakeet`.",
|
|
123
|
+
alias: "e"
|
|
124
|
+
},
|
|
125
|
+
model: {
|
|
126
|
+
type: "string",
|
|
127
|
+
description: `Whisper model (default: ${DEFAULT_MODEL}). Options: tiny.en, base.en, small.en, medium.en, large-v3`,
|
|
128
|
+
alias: "m"
|
|
129
|
+
},
|
|
130
|
+
language: {
|
|
131
|
+
type: "string",
|
|
132
|
+
description: "Language code (e.g. en, es, ja). Whisper transcribes as this language; Parakeet, used when it covers it, detects the language itself.",
|
|
133
|
+
alias: "l"
|
|
134
|
+
},
|
|
135
|
+
json: {
|
|
136
|
+
type: "boolean",
|
|
137
|
+
description: "Output result as JSON; progress JSON lines go to stderr",
|
|
138
|
+
default: false
|
|
139
|
+
},
|
|
140
|
+
to: {
|
|
141
|
+
type: "string",
|
|
142
|
+
description: "Write an srt or vtt caption sidecar: exported from a transcript file, or written after transcribing audio/video"
|
|
143
|
+
},
|
|
144
|
+
output: {
|
|
145
|
+
type: "string",
|
|
146
|
+
alias: "o",
|
|
147
|
+
description: "Output path for exported SRT/VTT sidecar"
|
|
148
|
+
},
|
|
149
|
+
"preserve-cues": {
|
|
150
|
+
type: "boolean",
|
|
151
|
+
description: "Keep each transcript entry as its own caption cue (skip word-level grouping). Use when exporting an already-cued transcript whose entries have no internal spaces, e.g. single-word or CJK captions.",
|
|
152
|
+
default: false
|
|
153
|
+
},
|
|
154
|
+
"runtime-install": {
|
|
155
|
+
type: "boolean",
|
|
156
|
+
default: true,
|
|
157
|
+
description: "Allow installing the Whisper runtime. Use --no-runtime-install to require an existing runtime; model downloads remain allowed."
|
|
158
|
+
},
|
|
159
|
+
optional: {
|
|
160
|
+
type: "boolean",
|
|
161
|
+
description: "Treat captions as optional: if whisper-cpp is unavailable, skip and exit 0 instead of failing. For pipelines that continue without captions.",
|
|
162
|
+
default: false
|
|
163
|
+
},
|
|
164
|
+
timeout: {
|
|
165
|
+
type: "string",
|
|
166
|
+
description: "Whisper spawn timeout in ms. Overrides the duration+model auto-scaled default. Increase on slow CPUs (e.g. emulated arm64/x64, low-power laptops) where whisper.cpp takes many seconds per audio second on medium/large models. Applies to the whisper engine only; Parakeet has a separate fixed timeout. Minimum 5000 (5 s). Env: HYPERFRAMES_TRANSCRIBE_TIMEOUT_MS."
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
async run({ args }) {
|
|
170
|
+
const { json } = args;
|
|
171
|
+
const ui = { spin: null };
|
|
172
|
+
let result;
|
|
173
|
+
try {
|
|
174
|
+
result = await runTranscribe({
|
|
175
|
+
input: args.input,
|
|
176
|
+
dir: args.dir,
|
|
177
|
+
engine: args.engine,
|
|
178
|
+
model: args.model,
|
|
179
|
+
language: args.language,
|
|
180
|
+
installRuntime: args["runtime-install"],
|
|
181
|
+
timeoutMs: readTimeout(args.timeout)?.ms,
|
|
182
|
+
captions: { format: args.to, outputPath: args.output, preserveCues: args["preserve-cues"] },
|
|
183
|
+
stopOnProcessSignals: true,
|
|
184
|
+
onStatus: json ? void 0 : (message) => ui.spin?.message(message),
|
|
185
|
+
onProgress: json ? createProgressWriter(process.stderr) : void 0,
|
|
186
|
+
onEngine: (event) => {
|
|
187
|
+
ui.spin = showEngine(event, ui.spin, { json, model: args.model });
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
} catch (err) {
|
|
191
|
+
if (!(err instanceof TranscribeError)) throw err;
|
|
192
|
+
if (isRunFailure(err)) {
|
|
193
|
+
reportRunFailure(err, ui.spin, { json, optional: args.optional === true });
|
|
194
|
+
} else {
|
|
195
|
+
reportSetupFailure(err, json, args.timeout);
|
|
196
|
+
}
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
reportResult(result, json, ui.spin);
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
function readTimeout(raw) {
|
|
203
|
+
const source = raw ?? process.env["HYPERFRAMES_TRANSCRIBE_TIMEOUT_MS"];
|
|
204
|
+
if (source == null || source === "") return void 0;
|
|
205
|
+
const origin = raw != null ? "--timeout" : "HYPERFRAMES_TRANSCRIBE_TIMEOUT_MS";
|
|
206
|
+
return { ms: Number.parseInt(source, 10), source, origin };
|
|
207
|
+
}
|
|
208
|
+
function showEngine(event, spin, opts) {
|
|
209
|
+
const label = c.accent(event.runner === "whisper" ? opts.model ?? DEFAULT_MODEL : "Parakeet");
|
|
210
|
+
if (event.fallbackReason !== void 0) {
|
|
211
|
+
spin?.clear();
|
|
212
|
+
console.error(c.warn(`${event.fallbackReason}. Using ${event.runner} for this run.`));
|
|
213
|
+
spin?.start(`Transcribing with ${label}...`);
|
|
214
|
+
return spin;
|
|
215
|
+
}
|
|
216
|
+
if (event.runner !== "whisper" && opts.model && !opts.json) {
|
|
217
|
+
console.error(
|
|
218
|
+
c.dim(` Note: --model applies to the whisper engine only; ignored under Parakeet.`)
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
const started = opts.json ? null : ft();
|
|
222
|
+
started?.start(`Transcribing with ${label}...`);
|
|
223
|
+
return started;
|
|
224
|
+
}
|
|
225
|
+
function failWith(message, json) {
|
|
226
|
+
if (json) {
|
|
227
|
+
console.log(JSON.stringify({ ok: false, error: message }));
|
|
228
|
+
} else {
|
|
229
|
+
console.error(c.error(message));
|
|
230
|
+
}
|
|
231
|
+
failCommand(1, message);
|
|
232
|
+
}
|
|
233
|
+
function isRunFailure(err) {
|
|
234
|
+
if (err.code === "caption_write_failed") return err.transcriptPath !== void 0;
|
|
235
|
+
return err.code === "cancelled" || err.code === "whisper_unavailable" || err.code === "failed";
|
|
236
|
+
}
|
|
237
|
+
function reportSetupFailure(err, json, timeoutFlag) {
|
|
238
|
+
if (err.code === "input_not_found") {
|
|
239
|
+
console.error(c.error(err.message));
|
|
240
|
+
failCommand(1, err.message);
|
|
241
|
+
}
|
|
242
|
+
if (err.code === "invalid_transcript") throw err.cause;
|
|
243
|
+
const timeout = err.code === "invalid_timeout" ? readTimeout(timeoutFlag) : void 0;
|
|
244
|
+
if (timeout) {
|
|
245
|
+
failWith(
|
|
246
|
+
`Invalid ${timeout.origin}: "${timeout.source}". Must be an integer >= ${MIN_TIMEOUT_MS} (ms).`,
|
|
247
|
+
json
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
failWith(err.message, json);
|
|
251
|
+
}
|
|
252
|
+
function reportRunFailure(err, spin, opts) {
|
|
253
|
+
if (err.code === "whisper_unavailable") return reportWhisperUnavailable(err, spin, opts);
|
|
254
|
+
if (err.code === "cancelled" || err.code === "caption_write_failed") {
|
|
255
|
+
if (opts.json) console.log(JSON.stringify({ ok: false, error: err.message }));
|
|
256
|
+
else spin?.stop(err.code === "cancelled" ? c.warn(err.message) : c.error(err.message));
|
|
257
|
+
setCommandExitCode(err.code === "cancelled" ? 130 : 1);
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
if (opts.json) {
|
|
261
|
+
console.log(JSON.stringify({ ok: false, error: err.message }));
|
|
262
|
+
} else {
|
|
263
|
+
spin?.stop(c.error(`Transcription failed: ${err.message}`));
|
|
264
|
+
}
|
|
265
|
+
failCommand(1, err.cause);
|
|
266
|
+
}
|
|
267
|
+
function reportWhisperUnavailable(err, spin, opts) {
|
|
268
|
+
trackTranscribeUnavailable({ optional: opts.optional });
|
|
269
|
+
const { install } = err;
|
|
270
|
+
if (opts.json) {
|
|
271
|
+
console.log(
|
|
272
|
+
JSON.stringify({ ok: false, skipped: true, reason: "whisper_unavailable", install })
|
|
273
|
+
);
|
|
274
|
+
} else {
|
|
275
|
+
const orParakeet = install ? `
|
|
276
|
+
Or transcribe with Parakeet after: ${install}` : "";
|
|
277
|
+
spin?.stop(c.warn(`Captions skipped \u2014 ${err.message}${orParakeet}`));
|
|
278
|
+
}
|
|
279
|
+
setCommandExitCode(opts.optional ? 0 : 1);
|
|
280
|
+
}
|
|
281
|
+
function reportSidecar(to, wordCount, outPath) {
|
|
282
|
+
console.log(
|
|
283
|
+
`${c.success("\u25C7")} Exported ${c.accent(String(wordCount))} words to ${c.accent(to.toUpperCase())} \u2192 ${c.accent(outPath)}`
|
|
284
|
+
);
|
|
285
|
+
}
|
|
286
|
+
function reportResult(result, json, spin) {
|
|
287
|
+
if (result.kind === "imported") {
|
|
288
|
+
const { format, wordCount, transcriptPath } = result;
|
|
289
|
+
if (json) {
|
|
290
|
+
console.log(JSON.stringify({ ok: true, format, wordCount, transcriptPath }));
|
|
291
|
+
} else {
|
|
292
|
+
console.log(
|
|
293
|
+
`${c.success("\u25C7")} Imported ${c.accent(String(wordCount))} words from ${c.accent(format)} format \u2192 ${c.accent("transcript.json")}`
|
|
294
|
+
);
|
|
295
|
+
}
|
|
296
|
+
return;
|
|
297
|
+
}
|
|
298
|
+
if (result.kind === "exported") {
|
|
299
|
+
const { format, wordCount, outputPath } = result;
|
|
300
|
+
if (json) console.log(JSON.stringify({ ok: true, format, wordCount, outputPath }));
|
|
301
|
+
else reportSidecar(format, wordCount, outputPath);
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
const { captions } = result;
|
|
305
|
+
if (json) {
|
|
306
|
+
console.log(
|
|
307
|
+
JSON.stringify({
|
|
308
|
+
ok: true,
|
|
309
|
+
engine: result.engine,
|
|
310
|
+
model: result.model,
|
|
311
|
+
detectedLanguage: result.detectedLanguage,
|
|
312
|
+
wordCount: result.wordCount,
|
|
313
|
+
durationSeconds: result.durationSeconds,
|
|
314
|
+
speechOnsetSeconds: result.speechOnsetSeconds,
|
|
315
|
+
transcriptPath: result.transcriptPath,
|
|
316
|
+
...captions
|
|
317
|
+
})
|
|
318
|
+
);
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
const onsetNote = result.speechOnsetSeconds != null ? ` \u2014 speech detected at ${result.speechOnsetSeconds.toFixed(1)}s` : "";
|
|
322
|
+
spin?.stop(
|
|
323
|
+
c.success(
|
|
324
|
+
`Transcribed ${c.accent(String(result.wordCount))} words (${result.durationSeconds.toFixed(1)}s${onsetNote})`
|
|
325
|
+
)
|
|
326
|
+
);
|
|
327
|
+
if (captions) reportSidecar(captions.format, result.wordCount, captions.outputPath);
|
|
328
|
+
}
|
|
329
|
+
export {
|
|
330
|
+
transcribe_default as default,
|
|
331
|
+
examples
|
|
332
|
+
};
|
|
@@ -18,29 +18,28 @@ import {
|
|
|
18
18
|
transcribe,
|
|
19
19
|
whisperModelSlowdownFactor,
|
|
20
20
|
wrapWhisperTimeoutError
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-SYUGVPYH.js";
|
|
21
|
+
} from "./chunk-XANZ4R4P.js";
|
|
22
|
+
import "./chunk-4WFNTWKZ.js";
|
|
23
|
+
import "./chunk-CZQLCBWY.js";
|
|
24
|
+
import "./chunk-PO2SDVQA.js";
|
|
25
|
+
import "./chunk-DUUFDLC4.js";
|
|
27
26
|
import "./chunk-AMKC3AXA.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-5NAYNDBT.js";
|
|
28
|
+
import "./chunk-WLIUULZQ.js";
|
|
30
29
|
import "./chunk-NE55C6S5.js";
|
|
31
30
|
import "./chunk-JYVGYKXG.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-PCWOSS7G.js";
|
|
32
|
+
import "./chunk-CEND6BLF.js";
|
|
34
33
|
import "./chunk-VC76R6W2.js";
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-UJKQWGFF.js";
|
|
36
35
|
import "./chunk-LFNQDTSH.js";
|
|
37
36
|
import "./chunk-OFQWTKPW.js";
|
|
38
37
|
import "./chunk-DPVXBVLL.js";
|
|
39
38
|
import "./chunk-T76PLPD6.js";
|
|
40
39
|
import "./chunk-FXMKHHPO.js";
|
|
41
40
|
import "./chunk-RQVDTPGD.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-B3XLIBFL.js";
|
|
42
|
+
import "./chunk-XPQSL5VS.js";
|
|
44
43
|
import "./chunk-TWWSYAKJ.js";
|
|
45
44
|
import "./chunk-JDB65PPT.js";
|
|
46
45
|
import "./chunk-IWFLMU2N.js";
|
|
@@ -54,6 +53,8 @@ import "./chunk-IXLUTE6N.js";
|
|
|
54
53
|
import "./chunk-KNU5COPB.js";
|
|
55
54
|
import "./chunk-UOFAE5RF.js";
|
|
56
55
|
import "./chunk-IR35BCLK.js";
|
|
56
|
+
import "./chunk-HU2SPFNG.js";
|
|
57
|
+
import "./chunk-KGPLIH7B.js";
|
|
57
58
|
import "./chunk-3GXQPCJC.js";
|
|
58
59
|
import "./chunk-M2WBOQ2Q.js";
|
|
59
60
|
export {
|
|
@@ -10,11 +10,10 @@ import {
|
|
|
10
10
|
SUPPORTED_LANGS,
|
|
11
11
|
inferLangFromVoiceId,
|
|
12
12
|
isSupportedLang
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DNZMBQTH.js";
|
|
14
14
|
import {
|
|
15
15
|
errorBox
|
|
16
16
|
} from "./chunk-K2FLNJVB.js";
|
|
17
|
-
import "./chunk-BHVFTYSI.js";
|
|
18
17
|
import {
|
|
19
18
|
ft
|
|
20
19
|
} from "./chunk-WMQNIQDJ.js";
|
|
@@ -31,6 +30,7 @@ import {
|
|
|
31
30
|
import {
|
|
32
31
|
c
|
|
33
32
|
} from "./chunk-ZTZA4UWZ.js";
|
|
33
|
+
import "./chunk-PO2SDVQA.js";
|
|
34
34
|
import "./chunk-M2WBOQ2Q.js";
|
|
35
35
|
|
|
36
36
|
// src/commands/tts.ts
|
|
@@ -152,7 +152,7 @@ var tts_default = defineCommand({
|
|
|
152
152
|
)
|
|
153
153
|
);
|
|
154
154
|
}
|
|
155
|
-
const { synthesize } = await import("./synthesize-
|
|
155
|
+
const { synthesize } = await import("./synthesize-22B7L5GX.js");
|
|
156
156
|
const spin = args.json ? null : ft();
|
|
157
157
|
spin?.start(`Generating speech with ${c.accent(voice)} (${lang})...`);
|
|
158
158
|
try {
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
updateCheckDue,
|
|
17
17
|
updateNoticesSuppressed,
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AFRXL75S.js";
|
|
20
20
|
import "./chunk-K4WIOZFP.js";
|
|
21
21
|
import "./chunk-XUXGIA7H.js";
|
|
22
22
|
import "./chunk-WERLJGIC.js";
|
|
23
23
|
import "./chunk-ISN5GRYI.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-I6DATIHC.js";
|
|
25
25
|
import "./chunk-KNU5COPB.js";
|
|
26
26
|
import "./chunk-M2WBOQ2Q.js";
|
|
27
27
|
export {
|
|
@@ -17,6 +17,9 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
setCommandExitCode
|
|
19
19
|
} from "./chunk-PBN6GBJE.js";
|
|
20
|
+
import {
|
|
21
|
+
c
|
|
22
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
20
23
|
import {
|
|
21
24
|
checkForUpdate,
|
|
22
25
|
detectInstaller,
|
|
@@ -25,18 +28,15 @@ import {
|
|
|
25
28
|
rewritePinnedHyperframesText,
|
|
26
29
|
rewriteProjectPinnedScripts,
|
|
27
30
|
withMeta
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AFRXL75S.js";
|
|
29
32
|
import "./chunk-K4WIOZFP.js";
|
|
30
33
|
import "./chunk-XUXGIA7H.js";
|
|
31
34
|
import "./chunk-WERLJGIC.js";
|
|
32
35
|
import "./chunk-ISN5GRYI.js";
|
|
33
36
|
import {
|
|
34
37
|
VERSION
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-I6DATIHC.js";
|
|
36
39
|
import "./chunk-KNU5COPB.js";
|
|
37
|
-
import {
|
|
38
|
-
c
|
|
39
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
40
40
|
import "./chunk-M2WBOQ2Q.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/upgrade.ts
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
isHttpUrl,
|
|
12
12
|
safeDownloadUrlIdentity,
|
|
13
13
|
writeUrlDownloadTelemetry
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-5NAYNDBT.js";
|
|
15
|
+
import "./chunk-WLIUULZQ.js";
|
|
16
16
|
import "./chunk-NE55C6S5.js";
|
|
17
17
|
import "./chunk-JYVGYKXG.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PCWOSS7G.js";
|
|
19
|
+
import "./chunk-CEND6BLF.js";
|
|
20
20
|
import "./chunk-VC76R6W2.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-UJKQWGFF.js";
|
|
22
22
|
import "./chunk-LFNQDTSH.js";
|
|
23
23
|
import "./chunk-OFQWTKPW.js";
|
|
24
24
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -14,42 +14,49 @@ import {
|
|
|
14
14
|
shouldIgnoreHttpError,
|
|
15
15
|
shouldIgnoreRequestFailure,
|
|
16
16
|
validate_default
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-74JDPWQ3.js";
|
|
17
|
+
} from "./chunk-F2RLIE7P.js";
|
|
18
|
+
import "./chunk-UAIUVPZE.js";
|
|
20
19
|
import "./chunk-FH7WODJH.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-AXPNVC3N.js";
|
|
21
|
+
import "./chunk-423DJVX2.js";
|
|
23
22
|
import "./chunk-WPNE5NEP.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-2HWB4TCI.js";
|
|
23
|
+
import "./chunk-UVVI2NJQ.js";
|
|
24
|
+
import "./chunk-ZNHAJCEA.js";
|
|
27
25
|
import "./chunk-FJWEYVEM.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-XXPYZBZ3.js";
|
|
27
|
+
import "./chunk-EL5QVJEG.js";
|
|
30
28
|
import "./chunk-AIJS74LG.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-NFQY7EIC.js";
|
|
30
|
+
import "./chunk-K2FLNJVB.js";
|
|
31
|
+
import "./chunk-AKYQGZLU.js";
|
|
33
32
|
import "./chunk-442JNXRM.js";
|
|
34
33
|
import "./chunk-374QQGBQ.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-3UAIVF4L.js";
|
|
35
|
+
import "./chunk-6KWA3XPS.js";
|
|
37
36
|
import "./chunk-VWG7OQKU.js";
|
|
38
37
|
import "./chunk-XBSPQ52S.js";
|
|
39
|
-
import "./chunk-AMKC3AXA.js";
|
|
40
38
|
import "./chunk-S3S4TGEH.js";
|
|
41
39
|
import "./chunk-54HJ63Q2.js";
|
|
42
40
|
import "./chunk-PBN6GBJE.js";
|
|
41
|
+
import "./chunk-ZTZA4UWZ.js";
|
|
43
42
|
import "./chunk-EOOEC32M.js";
|
|
44
43
|
import "./chunk-TJSTGSAW.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-AFRXL75S.js";
|
|
45
|
+
import "./chunk-K4WIOZFP.js";
|
|
46
|
+
import "./chunk-XUXGIA7H.js";
|
|
47
|
+
import "./chunk-WERLJGIC.js";
|
|
48
|
+
import "./chunk-ISN5GRYI.js";
|
|
49
|
+
import "./chunk-I6DATIHC.js";
|
|
50
|
+
import "./chunk-EOVYQ3IG.js";
|
|
51
|
+
import "./chunk-AMKC3AXA.js";
|
|
52
|
+
import "./chunk-5NAYNDBT.js";
|
|
53
|
+
import "./chunk-WLIUULZQ.js";
|
|
47
54
|
import "./chunk-NE55C6S5.js";
|
|
48
55
|
import "./chunk-JYVGYKXG.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-PCWOSS7G.js";
|
|
57
|
+
import "./chunk-CEND6BLF.js";
|
|
51
58
|
import "./chunk-VC76R6W2.js";
|
|
52
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-UJKQWGFF.js";
|
|
53
60
|
import "./chunk-LFNQDTSH.js";
|
|
54
61
|
import "./chunk-OFQWTKPW.js";
|
|
55
62
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -66,15 +73,8 @@ import "./chunk-BSQ7XANM.js";
|
|
|
66
73
|
import "./chunk-SDYDNHEE.js";
|
|
67
74
|
import "./chunk-2PSPARWP.js";
|
|
68
75
|
import "./chunk-IXLUTE6N.js";
|
|
69
|
-
import "./chunk-ASEJ2FBO.js";
|
|
70
|
-
import "./chunk-K4WIOZFP.js";
|
|
71
|
-
import "./chunk-XUXGIA7H.js";
|
|
72
|
-
import "./chunk-WERLJGIC.js";
|
|
73
|
-
import "./chunk-ISN5GRYI.js";
|
|
74
|
-
import "./chunk-KQESKXAC.js";
|
|
75
76
|
import "./chunk-KNU5COPB.js";
|
|
76
77
|
import "./chunk-3GXQPCJC.js";
|
|
77
|
-
import "./chunk-ZTZA4UWZ.js";
|
|
78
78
|
import "./chunk-M2WBOQ2Q.js";
|
|
79
79
|
export {
|
|
80
80
|
auditClipDurations,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
CAPTURE_USER_AGENT,
|
|
9
9
|
safeFetch
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6NPFJ255.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureCaptureDirSync
|
|
13
13
|
} from "./chunk-MRF4AMKD.js";
|
|
@@ -15,14 +15,17 @@ import "./chunk-AWDFDFI3.js";
|
|
|
15
15
|
import {
|
|
16
16
|
setCommandExitCode
|
|
17
17
|
} from "./chunk-PBN6GBJE.js";
|
|
18
|
-
import
|
|
19
|
-
|
|
18
|
+
import {
|
|
19
|
+
c
|
|
20
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
21
|
+
import "./chunk-5NAYNDBT.js";
|
|
22
|
+
import "./chunk-WLIUULZQ.js";
|
|
20
23
|
import "./chunk-NE55C6S5.js";
|
|
21
24
|
import "./chunk-JYVGYKXG.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-PCWOSS7G.js";
|
|
26
|
+
import "./chunk-CEND6BLF.js";
|
|
24
27
|
import "./chunk-VC76R6W2.js";
|
|
25
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-UJKQWGFF.js";
|
|
26
29
|
import "./chunk-LFNQDTSH.js";
|
|
27
30
|
import "./chunk-OFQWTKPW.js";
|
|
28
31
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -40,9 +43,6 @@ import "./chunk-SDYDNHEE.js";
|
|
|
40
43
|
import "./chunk-2PSPARWP.js";
|
|
41
44
|
import "./chunk-IXLUTE6N.js";
|
|
42
45
|
import "./chunk-3GXQPCJC.js";
|
|
43
|
-
import {
|
|
44
|
-
c
|
|
45
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
46
46
|
import "./chunk-M2WBOQ2Q.js";
|
|
47
47
|
|
|
48
48
|
// src/commands/capture/video.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperframes",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.150",
|
|
4
4
|
"description": "HyperFrames CLI — create, preview, and render HTML video compositions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,6 +17,13 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./api": {
|
|
22
|
+
"import": "./dist/api.js",
|
|
23
|
+
"types": "./dist/api.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
20
27
|
"scripts": {
|
|
21
28
|
"test": "vitest run",
|
|
22
29
|
"dev": "tsx src/cli.ts",
|