hyperframes 0.9.28-alpha.0 → 0.9.28-alpha.2
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-WSGJ42KQ.js → add-3BRU7V2S.js} +6 -6
- package/dist/{agentPromptGenerator-JTMVHRZN.js → agentPromptGenerator-AUXZZCIG.js} +2 -2
- package/dist/{animatedGifPrep-V3FJENRD.js → animatedGifPrep-2DYVIBA4.js} +2 -2
- package/dist/api.js +25 -25
- package/dist/{asset-6LZTBFS7.js → asset-BIMAPFY5.js} +2 -2
- package/dist/{assetCataloger-GRGAUHXL.js → assetCataloger-2OB46SVM.js} +3 -3
- package/dist/{audio-QCMSKGKQ.js → audio-TA366RJA.js} +12 -12
- package/dist/{auth-TB7AUPRE.js → auth-G6AAG236.js} +4 -4
- package/dist/{autoUpdate-G3G7WBJF.js → autoUpdate-DDOZGXRW.js} +2 -2
- package/dist/{avatars-6ILGXRFF.js → avatars-X2FDEH6J.js} +10 -10
- package/dist/{backgroundChecks-E3VZ7KZN.js → backgroundChecks-QMH67MLB.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-OBIGBNZA.js → beats-53O6RDSD.js} +5 -5
- package/dist/{benchmark-64IXFBPC.js → benchmark-DLNF2TJQ.js} +7 -7
- package/dist/{billing-3X5BWBTI.js → billing-BAFLBHTT.js} +8 -8
- package/dist/{browser-DZ3XIEFA.js → browser-TFLYTP5X.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-PKQN5CMM.js → bundleWithLocalizedFonts-7HQEKW2H.js} +1 -1
- package/dist/{capture-NTN7O6RZ.js → capture-IGQR6HTG.js} +8 -8
- package/dist/{capture-V7RAUBMG.js → capture-PUB5WBLQ.js} +3 -3
- package/dist/{captureCompositionFrame-KMMB3FVD.js → captureCompositionFrame-JT6HGVU7.js} +5 -5
- package/dist/{catalog-YIGPXM7Q.js → catalog-EIWEGN4T.js} +6 -6
- package/dist/{catch-up-LOGK3VIS.js → catch-up-TLXVFHC3.js} +5 -5
- package/dist/{check-FVXJBA5U.js → check-WMVK5C6C.js} +21 -21
- package/dist/{checkAudio-FSIRCDM6.js → checkAudio-VSHZXO4J.js} +4 -4
- package/dist/{checkBrowser-NXRXF73I.js → checkBrowser-4EN2UCDN.js} +15 -15
- package/dist/{chunk-A5CTI6RW.js → chunk-2BSPL7YE.js} +2 -2
- package/dist/{chunk-U2NESB4H.js → chunk-2UKNFCPP.js} +1 -1
- package/dist/{chunk-USTPTY7P.js → chunk-2Y446XH5.js} +7 -3
- package/dist/{chunk-VNKPEYMW.js → chunk-44LVKFXU.js} +1 -1
- package/dist/{chunk-DPAC75N5.js → chunk-4J2J57RS.js} +1 -1
- package/dist/{chunk-O5G2LEUB.js → chunk-54OP3EFU.js} +2 -2
- package/dist/{chunk-RNUIFYO6.js → chunk-5ROYFGQT.js} +1 -1
- package/dist/{chunk-C7ME7Y45.js → chunk-5YDJTVOQ.js} +2 -2
- package/dist/{chunk-M7U6JTXF.js → chunk-6UJOLK4G.js} +2 -2
- package/dist/{chunk-PWW2DKGL.js → chunk-75Z3BHHY.js} +2 -2
- package/dist/{chunk-FW7MDSCQ.js → chunk-7AGS47OH.js} +2 -2
- package/dist/{chunk-6ODX6SHY.js → chunk-ADEJBEXK.js} +2 -2
- package/dist/{chunk-MBRBEXMF.js → chunk-ALCP5OEW.js} +1 -1
- package/dist/{chunk-WYA575QX.js → chunk-ANHSVTB5.js} +3 -3
- package/dist/{chunk-RO74CZMK.js → chunk-CE765XG3.js} +1 -1
- package/dist/{chunk-KFU75UXA.js → chunk-CG65CRMP.js} +2 -2
- package/dist/{chunk-UVZDPGZR.js → chunk-COAB2OXQ.js} +1 -1
- package/dist/{chunk-YOUHA4KP.js → chunk-D73LTFVF.js} +6 -6
- package/dist/{chunk-FID757D3.js → chunk-DMW5SSUN.js} +1 -1
- package/dist/{chunk-JE2YBPC5.js → chunk-E6X7QZ2R.js} +2 -2
- package/dist/{chunk-NKWJNDKO.js → chunk-ELX4O5GS.js} +3 -3
- package/dist/{chunk-UF6C3CCP.js → chunk-EW6DFES6.js} +1 -1
- package/dist/{chunk-6NG6PATW.js → chunk-FF25S7ZC.js} +1 -1
- package/dist/{chunk-WXEXQLVV.js → chunk-FJ47CG4G.js} +1 -1
- package/dist/{chunk-Z2N7XOOB.js → chunk-FZUIGBYD.js} +3 -3
- package/dist/{chunk-UDEFHX4Z.js → chunk-GNG7XNUY.js} +8 -8
- package/dist/{chunk-6EZ76UBP.js → chunk-HDMYNOLX.js} +9 -9
- package/dist/{chunk-3DVDIXOZ.js → chunk-HPR2BPFS.js} +2 -2
- package/dist/{chunk-5BIHQCC2.js → chunk-J5CDV66Q.js} +4 -4
- package/dist/{chunk-HYXSD2UA.js → chunk-KCRVZA7B.js} +1 -1
- package/dist/{chunk-E3EIKMUU.js → chunk-KQLZ2CXO.js} +1 -1
- package/dist/{chunk-BFDNZ2JT.js → chunk-L666J5OJ.js} +1 -1
- package/dist/{chunk-IEB4IKXF.js → chunk-L72PCHFK.js} +1 -1
- package/dist/{chunk-WOSVLHQH.js → chunk-M5HYR7K6.js} +1 -1
- package/dist/{chunk-XMHYE6XY.js → chunk-MDRTBSYH.js} +2 -2
- package/dist/{chunk-GN3CCXVU.js → chunk-MPC3L6A3.js} +1 -1
- package/dist/{chunk-F2FRUMWN.js → chunk-MPHO6L2P.js} +115 -52
- package/dist/{chunk-7ZKUPLMN.js → chunk-MZRK3QAB.js} +9 -9
- package/dist/{chunk-RGINHOAX.js → chunk-N4ET5EM2.js} +1 -1
- package/dist/{chunk-QMGFXL43.js → chunk-N5TVFPYQ.js} +1 -1
- package/dist/{chunk-JEVWAGQP.js → chunk-NHRLZESZ.js} +1 -1
- package/dist/{chunk-N6NB2WZ4.js → chunk-NVNKKVDH.js} +1 -1
- package/dist/{chunk-HP6IDD33.js → chunk-NZZMRDUB.js} +5 -5
- package/dist/{chunk-WRN3ZY5P.js → chunk-O2JZ6C3S.js} +1 -1
- package/dist/{chunk-C756HYL7.js → chunk-OPGYOHU6.js} +2 -2
- package/dist/{chunk-5EYQ222G.js → chunk-PVI7M44T.js} +1 -1
- package/dist/{chunk-HWQ6SNLY.js → chunk-QB2USW3R.js} +1 -1
- package/dist/{chunk-VVGNWH2J.js → chunk-QKAXPYTV.js} +5 -5
- package/dist/{chunk-ASMDPTT3.js → chunk-QLUHWRBB.js} +1 -1
- package/dist/{chunk-BI33G4XD.js → chunk-QN7CB55W.js} +2 -2
- package/dist/{chunk-UGX3IARM.js → chunk-QQPCCHII.js} +18 -18
- package/dist/{chunk-3YP3OQVH.js → chunk-R6PUBUA4.js} +1 -1
- package/dist/{chunk-CJC6U3E7.js → chunk-RXTM6KL3.js} +2 -2
- package/dist/{chunk-EKT2P27A.js → chunk-S7WNV5LU.js} +4 -4
- package/dist/{chunk-ZEKQATYP.js → chunk-SNU4VIUA.js} +2 -2
- package/dist/{chunk-H3MJLPAC.js → chunk-STTUDVAI.js} +1 -1
- package/dist/{chunk-PG26KCBX.js → chunk-TLVXCOMV.js} +2 -2
- package/dist/{chunk-K2OQYSDS.js → chunk-TY4OVTNZ.js} +8 -8
- package/dist/{chunk-DDCFX533.js → chunk-UJRBYDOL.js} +4 -4
- package/dist/{chunk-E7YPIP42.js → chunk-UTLLLDWD.js} +2 -2
- package/dist/{chunk-VCNPBW4L.js → chunk-UWWW3SRR.js} +1 -1
- package/dist/{chunk-KJ5QBEMN.js → chunk-V6YQXTLH.js} +4 -4
- package/dist/{chunk-KBF2DIZX.js → chunk-VUPIDCSH.js} +5 -5
- package/dist/{chunk-YPPJJ5ZH.js → chunk-VYEPG2N6.js} +1 -1
- package/dist/{chunk-MFSQZ2PR.js → chunk-W3XARNFW.js} +1 -1
- package/dist/{chunk-QTDTCTGB.js → chunk-WSJAMC3T.js} +3 -3
- package/dist/{chunk-RSZWWTQN.js → chunk-WTD7FTYL.js} +2 -2
- package/dist/{chunk-Q5J4OO7N.js → chunk-XHP3V4WH.js} +6 -2
- package/dist/{chunk-G6CN5UWR.js → chunk-XOON4QRF.js} +1 -1
- package/dist/{chunk-5RETZFNG.js → chunk-Y3IM2OEO.js} +7 -7
- package/dist/{chunk-UO6DALBR.js → chunk-Y54WNWS3.js} +4 -4
- package/dist/{chunk-ZQLJLORI.js → chunk-YFDCU6X5.js} +1 -1
- package/dist/{chunk-RPMPHUOS.js → chunk-Z4BO43QS.js} +3 -3
- package/dist/{chunk-VHXIMBTF.js → chunk-Z5YX5WKQ.js} +28 -9
- package/dist/{chunk-WUOMBLQL.js → chunk-ZI4VMTRU.js} +2 -2
- package/dist/{chunk-5FI52L2T.js → chunk-ZMQYQHZU.js} +1 -1
- package/dist/{clean-6YCVFT7D.js → clean-ANDFDJNS.js} +7 -7
- package/dist/cli.js +65 -64
- package/dist/{cloud-BPWS4GJS.js → cloud-24SRTM2A.js} +4 -4
- package/dist/{cloud-TEJ6UVBU.js → cloud-DNSBPNMR.js} +5 -5
- package/dist/{compare-HELNXJLM.js → compare-3CQWMH2P.js} +11 -11
- package/dist/{component-WEC4QGT3.js → component-EOYTHUPU.js} +3 -3
- package/dist/{compositions-RSUPWPK6.js → compositions-FTLK3MAI.js} +7 -7
- package/dist/{curve-OK5TBGXV.js → curve-KSLS23LZ.js} +6 -6
- package/dist/{cuts-S5WHYQZZ.js → cuts-Q3KEBQSA.js} +7 -7
- package/dist/{delete-5NHJKNWL.js → delete-6JIKHLQ3.js} +7 -7
- package/dist/{deploy-7PLBBXNB.js → deploy-FY3XW7Y3.js} +1 -1
- package/dist/{describeProject-WVLTYWPG.js → describeProject-AJ2SFRCN.js} +2 -2
- package/dist/{diff-W4EXKV5Q.js → diff-LAWOHPYM.js} +23 -23
- package/dist/{doctor-7Y75ZXTU.js → doctor-F3ELWW7U.js} +6 -6
- package/dist/{energy-Y4KYLWLZ.js → energy-W3LCVEJ3.js} +7 -7
- package/dist/{events-TQD3L5FS.js → events-5NWGPQ2D.js} +9 -9
- package/dist/{events-3LAHSBBF.js → events-7X545575.js} +4 -4
- package/dist/{events-67Q5DIRC.js → events-AEVSX7RP.js} +3 -3
- package/dist/{execute-GFHAD3L6.js → execute-VAOBHPOE.js} +13 -13
- package/dist/{extract-6KGIEC76.js → extract-V654JZOH.js} +7 -7
- package/dist/{face-OBEAPOZR.js → face-NQ4D5I5P.js} +7 -7
- package/dist/{feedback-QTB2UH3Q.js → feedback-DN444RDC.js} +10 -10
- package/dist/{ffmpeg-4CMA6M2L.js → ffmpeg-N3LZ7XBX.js} +2 -2
- package/dist/{figma-4ZKDJA4R.js → figma-YOHXX4BZ.js} +3 -3
- package/dist/fontLocalizeCli.js +5 -5
- package/dist/{frames-OFLJT4D5.js → frames-YPZSI22H.js} +8 -8
- package/dist/{generate-LHRF4A3Z.js → generate-GFSZOTWJ.js} +16 -16
- package/dist/{get-56RYQ7KG.js → get-Z6E3RMK7.js} +7 -7
- package/dist/{gpuPolicy-35XK273G.js → gpuPolicy-SAEOR4QY.js} +2 -2
- package/dist/{grade-compare-GQVODT4T.js → grade-compare-H3VT7MPB.js} +12 -12
- package/dist/{heifImagePrep-7WN2QNQM.js → heifImagePrep-R7NDS5FP.js} +3 -3
- package/dist/{help-E2TKPNJJ.js → help-LKI67Q2U.js} +1 -1
- package/dist/{history-AJ2MSBW6.js → history-5HJGXOPR.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-HV43ZADN.js → info-443VEU3K.js} +9 -9
- package/dist/{init-OHVVGDSF.js → init-TF7ZHFEV.js} +19 -19
- package/dist/{ink-IESBIGOE.js → ink-J7IYS3S4.js} +7 -7
- package/dist/{inspect-Y7YS3ILY.js → inspect-44JND4Q3.js} +13 -13
- package/dist/{keyframes-XSL7JGAF.js → keyframes-BIJK2M3S.js} +7 -7
- package/dist/{lambda-KU65SSVE.js → lambda-X44JQMZR.js} +3 -3
- package/dist/{layout-ORX7QBGL.js → layout-EM74XLA2.js} +13 -13
- package/dist/{lint-KUGT5YHK.js → lint-IU22ZWKK.js} +7 -7
- package/dist/{list-EB3WYTHH.js → list-3GEXSDID.js} +7 -7
- package/dist/{localPage-QLGKJQ6X.js → localPage-SM5JBV4M.js} +2 -2
- package/dist/{login-O5HWEYI4.js → login-YYBQZPMP.js} +8 -8
- package/dist/{logout-AHGR3X5U.js → logout-ZM4PRRH4.js} +4 -4
- package/dist/{look-BPSKQDST.js → look-F5T7SSPW.js} +7 -7
- package/dist/{manager-MNOR566P.js → manager-GCFCVNYS.js} +3 -3
- package/dist/{measure-USYFR5EK.js → measure-GSMJR3NF.js} +11 -11
- package/dist/{media-treatment-5YATQA5D.js → media-treatment-H6TZ2Q5W.js} +8 -8
- package/dist/{media-use-BA245HF5.js → media-use-CY52AQ56.js} +6 -6
- package/dist/{models-ST3IIAN2.js → models-YFFUQ757.js} +6 -6
- package/dist/{motionShot-DOIU74HO.js → motionShot-QHWXLUJM.js} +7 -7
- package/dist/{normalize-audio-PPSCFVKC.js → normalize-audio-LUNKXVE6.js} +5 -5
- package/dist/{oauth-KUPQUH6E.js → oauth-BYPPW7CF.js} +2 -2
- package/dist/{open-R2EPWLS6.js → open-ZMEDHZR3.js} +5 -5
- package/dist/{parakeetRunner-Q2SYZVYV.js → parakeetRunner-3A66RNGS.js} +7 -7
- package/dist/{pipeline-NQ4BI2D7.js → pipeline-BFMEIMNZ.js} +5 -5
- package/dist/{plan-CN2TTIAA.js → plan-PX63QEKM.js} +9 -9
- package/dist/{play-J3DJBBXW.js → play-HMR2PQJA.js} +5 -5
- package/dist/{preflight-DLO6LHGO.js → preflight-YNGNNHZC.js} +3 -3
- package/dist/{present-MIWYYTIE.js → present-VF4WIWLC.js} +5 -5
- package/dist/{preview-DEGHLTT6.js → preview-43X66BIO.js} +9 -9
- package/dist/{probe-63RJNPIB.js → probe-2QQGO4UG.js} +7 -7
- package/dist/{producer-H7L5TBE4.js → producer-QIHOQ53I.js} +1 -1
- package/dist/{publish-CYPJA7T7.js → publish-YQRKGMV5.js} +6 -6
- package/dist/{refresh-TB4TNH7R.js → refresh-NVHGLLG5.js} +4 -4
- package/dist/{remove-background-KX574FQY.js → remove-background-MHKW4EBR.js} +6 -6
- package/dist/{render-SHUBWBK4.js → render-ARJ3YCDM.js} +21 -21
- package/dist/{render-N7PKCVEP.js → render-B5QJJXFL.js} +18 -18
- package/dist/{reverse-D2XWX6FV.js → reverse-6HERWK42.js} +1 -1
- package/dist/{run-EVZGKUEX.js → run-RUV2RRZA.js} +5 -5
- package/dist/{screenshotCapture-4JLD2OQZ.js → screenshotCapture-4NDEWYCU.js} +2 -2
- package/dist/{service-L3K45WOD.js → service-V6S5UWST.js} +9 -9
- package/dist/{share-7G44HDSY.js → share-X4QB6OKT.js} +37 -18
- package/dist/{sherpa-LU5AOQHV.js → sherpa-MNU3ORFR.js} +6 -6
- package/dist/{skills-KVQ2G6P5.js → skills-K2DFWF7O.js} +7 -7
- package/dist/{skillsUpdateCheck-EB54PRMT.js → skillsUpdateCheck-YZ5C3NIQ.js} +3 -3
- package/dist/{snapshot-QWO6OXG3.js → snapshot-2F3K3VOO.js} +19 -19
- package/dist/{src-WMZX5C4A.js → src-EZMBCQBY.js} +4 -4
- package/dist/{src-I3B7LYZM.js → src-FZ4EJHOK.js} +1 -1
- package/dist/{start-ACVZUBZX.js → start-XNO7FCXA.js} +14 -14
- package/dist/{staticProjectServer-C6KEOAYY.js → staticProjectServer-FF6IBUD6.js} +2 -2
- package/dist/{status-RYI42XDB.js → status-WZ27RADS.js} +9 -9
- package/dist/studio/assets/{codec-D6qbrtZY.js → codec-EEGwIKVP.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-BVe9IO80.js → hyperframes-player-CftEcMz8.js} +1 -1
- package/dist/studio/assets/{index-BZu8x7Q5.js → index-0VzSeCLz.js} +1 -1
- package/dist/studio/assets/{index-Cq2w6U13.css → index-BJTCbv8z.css} +1 -1
- package/dist/studio/assets/{index-Cl9fSd9I.js → index-WhXBdAaz.js} +128 -128
- package/dist/studio/assets/{pausedVideoDecoder-DfnHfnL7.js → pausedVideoDecoder-CCDi5e59.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studioServer-J5DYNR6R.js → studioServer-BB5KG2J7.js} +31 -30
- package/dist/{sync-MUKE7NSP.js → sync-KXAZPBQF.js} +7 -7
- package/dist/{telemetry-6MDOWNLT.js → telemetry-2K3KDEWJ.js} +4 -4
- package/dist/{templates-LWPXN7M2.js → templates-WSGAAXDJ.js} +8 -8
- package/dist/{timeline-WTBC3J7O.js → timeline-DTBACNQ6.js} +8 -8
- package/dist/{tokens-4NPCCANL.js → tokens-QOKKM67K.js} +2 -2
- package/dist/{transcribe-NZJPYTM7.js → transcribe-57DYOY44.js} +18 -18
- package/dist/{transcribe-RL7LGXU6.js → transcribe-EMXH7CGF.js} +5 -5
- package/dist/{update-DZCGNNOU.js → update-FMPP5DRE.js} +8 -8
- package/dist/{updateCheck-N3C56RNJ.js → updateCheck-TBHYEUY3.js} +2 -2
- package/dist/{upgrade-RCV7ZF5Z.js → upgrade-ABWM4X7C.js} +3 -3
- package/dist/{urlDownloader-SSPDDS4Y.js → urlDownloader-FTYUJP2D.js} +1 -1
- package/dist/{validate-HQDRN6T3.js → validate-2O7G5E6N.js} +12 -12
- package/dist/{video-FPDBQAXL.js → video-Z522PCEM.js} +3 -3
- package/dist/{voices-PMLIXQT4.js → voices-L3SZ7PTQ.js} +14 -14
- package/dist/warmCheck.js +21 -21
- package/package.json +1 -1
|
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCredential
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E6X7QZ2R.js";
|
|
10
10
|
import {
|
|
11
11
|
AuthClient,
|
|
12
12
|
apiBaseUrl,
|
|
13
13
|
refreshTokens
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FJ47CG4G.js";
|
|
15
15
|
import {
|
|
16
16
|
resetTelemetryPostureCache,
|
|
17
17
|
trackEvent
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-75Z3BHHY.js";
|
|
19
19
|
import {
|
|
20
20
|
AuthError,
|
|
21
21
|
ErrLoginChanged,
|
|
22
22
|
oauthEnvironment,
|
|
23
23
|
tokenEndpoint
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DMW5SSUN.js";
|
|
25
25
|
import {
|
|
26
26
|
readConfigFresh
|
|
27
27
|
} from "./chunk-F5QBIIFT.js";
|
|
@@ -994,7 +994,7 @@ var SAID = {
|
|
|
994
994
|
export_too_long: "This video is over 30 minutes, the most a review page takes. Export a shorter one.",
|
|
995
995
|
export_daily_limit: (error) => `You've added the most versions for today. Try again ${laterIn(error.retryAfterMs)}.`,
|
|
996
996
|
content_rejected: "This video can't be shared.",
|
|
997
|
-
export_blocked: "
|
|
997
|
+
export_blocked: "Sharing new videos is blocked because of recent content moderation strikes in this workspace. Rendering again will not lift the block. For appeal instructions, visit https://help.heygen.com/en/articles/7842567-the-ethical-use-of-synthetic-media",
|
|
998
998
|
feature_unavailable: "Review pages aren't available for your account yet.",
|
|
999
999
|
permission_denied: "This account can't add videos to this review page yet.",
|
|
1000
1000
|
upload_expired: "The upload took too long. Try again.",
|
|
@@ -1428,9 +1428,17 @@ async function sendVersion(r, report, source, id, state) {
|
|
|
1428
1428
|
const done = await watch(r, id, uploaded, size, report, clock);
|
|
1429
1429
|
return finishRun(r, state, pending, id, done, first);
|
|
1430
1430
|
} catch (error) {
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1431
|
+
const failure = said(error);
|
|
1432
|
+
await writeState(r.projectPath, {
|
|
1433
|
+
...state,
|
|
1434
|
+
pending: spent(error, state.pending) ? null : state.pending,
|
|
1435
|
+
failure: {
|
|
1436
|
+
...failure,
|
|
1437
|
+
projectId: id,
|
|
1438
|
+
exportKey: await failedExportKey(r.projectPath, pending)
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
return failure;
|
|
1434
1442
|
}
|
|
1435
1443
|
}
|
|
1436
1444
|
function pendingSourceConflict(r, pending, fresh) {
|
|
@@ -1487,7 +1495,6 @@ async function addVersion(request) {
|
|
|
1487
1495
|
if (kept) failures.set(key, { ...failure, exportKey: exportKeyOf(r.projectPath) });
|
|
1488
1496
|
return failure?.sentence ?? null;
|
|
1489
1497
|
} catch (error) {
|
|
1490
|
-
console.error("[review] version failed:", error);
|
|
1491
1498
|
const sentence = error instanceof SharingStateError ? error.message : "Couldn't add this version. Try again.";
|
|
1492
1499
|
failures.set(key, {
|
|
1493
1500
|
sentence,
|
|
@@ -1560,9 +1567,58 @@ import { createHash as createHash2, randomUUID as randomUUID6 } from "crypto";
|
|
|
1560
1567
|
var journal = projectLine();
|
|
1561
1568
|
var inTurn = journal.inTurn;
|
|
1562
1569
|
|
|
1570
|
+
// ../share/src/sourceIgnore.mjs
|
|
1571
|
+
import { constants } from "fs";
|
|
1572
|
+
import { lstat as lstat2, open as open2 } from "fs/promises";
|
|
1573
|
+
import { join as join3 } from "path";
|
|
1574
|
+
async function readSourceIgnore(root) {
|
|
1575
|
+
const file = join3(root, ".hyperframesignore");
|
|
1576
|
+
const invalid = () => new Error(".hyperframesignore must be a regular file inside the project, smaller than 64 KiB.");
|
|
1577
|
+
const handle = await open2(
|
|
1578
|
+
file,
|
|
1579
|
+
constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0)
|
|
1580
|
+
).catch(async (error) => {
|
|
1581
|
+
if (error.code !== "ENOENT") throw invalid();
|
|
1582
|
+
const named = await lstat2(file).catch((missing) => {
|
|
1583
|
+
if (missing.code === "ENOENT") return null;
|
|
1584
|
+
throw invalid();
|
|
1585
|
+
});
|
|
1586
|
+
if (named) throw invalid();
|
|
1587
|
+
return null;
|
|
1588
|
+
});
|
|
1589
|
+
if (!handle) return () => false;
|
|
1590
|
+
let text;
|
|
1591
|
+
try {
|
|
1592
|
+
const [stat2, named] = await Promise.all([handle.stat(), lstat2(file)]);
|
|
1593
|
+
if (!stat2.isFile() || stat2.size >= 65536 || !named.isFile() || stat2.ino !== named.ino || stat2.dev !== named.dev)
|
|
1594
|
+
throw invalid();
|
|
1595
|
+
const buffer = Buffer.alloc(65536);
|
|
1596
|
+
let length = 0;
|
|
1597
|
+
while (length < buffer.length) {
|
|
1598
|
+
const { bytesRead } = await handle.read(buffer, length, buffer.length - length, length);
|
|
1599
|
+
if (!bytesRead) break;
|
|
1600
|
+
length += bytesRead;
|
|
1601
|
+
}
|
|
1602
|
+
if (length === buffer.length) throw invalid();
|
|
1603
|
+
text = buffer.subarray(0, length).toString("utf8");
|
|
1604
|
+
} finally {
|
|
1605
|
+
await handle.close();
|
|
1606
|
+
}
|
|
1607
|
+
const paths = text.split(/\r?\n/).map((line) => line.trim()).filter((line) => line && !line.startsWith("#"));
|
|
1608
|
+
const entries = paths.map((entry) => {
|
|
1609
|
+
const path4 = entry.replace(/\/$/, "");
|
|
1610
|
+
if (path4 === "index.html" || /[\\*?![\]:]/.test(path4) || path4.includes("\0") || path4.split("/").some((part) => !part || part === "." || part === ".."))
|
|
1611
|
+
throw new Error(
|
|
1612
|
+
".hyperframesignore accepts literal project-relative file or folder paths, one per line. Wildcards and excluding index.html are not supported."
|
|
1613
|
+
);
|
|
1614
|
+
return path4;
|
|
1615
|
+
});
|
|
1616
|
+
return (path4) => entries.some((entry) => path4 === entry || path4.startsWith(`${entry}/`));
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1563
1619
|
// ../share/src/projectSnapshot.mjs
|
|
1564
1620
|
import fs2 from "fs/promises";
|
|
1565
|
-
import { constants } from "fs";
|
|
1621
|
+
import { constants as constants2 } from "fs";
|
|
1566
1622
|
import path3 from "path";
|
|
1567
1623
|
import { createHash as createHash3 } from "crypto";
|
|
1568
1624
|
|
|
@@ -1594,7 +1650,7 @@ function contentKey(html) {
|
|
|
1594
1650
|
async function snapshotKey(full, byContent) {
|
|
1595
1651
|
const resolved = await fs2.realpath(full).catch(() => null);
|
|
1596
1652
|
if (!resolved) return void 0;
|
|
1597
|
-
const handle = await fs2.open(resolved,
|
|
1653
|
+
const handle = await fs2.open(resolved, constants2.O_RDONLY | constants2.O_NOFOLLOW).catch(() => null);
|
|
1598
1654
|
if (!handle) return void 0;
|
|
1599
1655
|
try {
|
|
1600
1656
|
const stat2 = await handle.stat();
|
|
@@ -1619,6 +1675,7 @@ async function entryKind(entry, full, followSymlinks) {
|
|
|
1619
1675
|
}
|
|
1620
1676
|
async function snapshotProject(dir, { byContent = false, followSymlinks = false } = {}) {
|
|
1621
1677
|
const result = /* @__PURE__ */ new Map();
|
|
1678
|
+
const ignored = await readSourceIgnore(dir);
|
|
1622
1679
|
async function walk(current, ancestors) {
|
|
1623
1680
|
const real = await fs2.realpath(current).catch(() => null);
|
|
1624
1681
|
if (!real || ancestors.has(real)) return;
|
|
@@ -1631,7 +1688,7 @@ async function snapshotProject(dir, { byContent = false, followSymlinks = false
|
|
|
1631
1688
|
}
|
|
1632
1689
|
for (const entry of entries) {
|
|
1633
1690
|
const full = path3.join(current, entry.name);
|
|
1634
|
-
if (
|
|
1691
|
+
if (excludedFromSnapshot(dir, full, ignored)) continue;
|
|
1635
1692
|
const kind = await entryKind(entry, full, followSymlinks);
|
|
1636
1693
|
if (kind?.isDirectory()) await walk(full, parents);
|
|
1637
1694
|
else if (kind?.isFile()) {
|
|
@@ -1648,6 +1705,10 @@ function snapshotFingerprint(snapshot) {
|
|
|
1648
1705
|
return createHash3("sha256").update(JSON.stringify(files)).digest("hex");
|
|
1649
1706
|
}
|
|
1650
1707
|
var projectFingerprint2 = async (projectPath, options) => snapshotFingerprint(await snapshotProject(projectPath, { ...options, followSymlinks: true }));
|
|
1708
|
+
function excludedFromSnapshot(dir, full, ignored) {
|
|
1709
|
+
const relative = path3.relative(dir, full);
|
|
1710
|
+
return isOutsideFilm(relative) || ignored(relative.split(path3.sep).join("/"));
|
|
1711
|
+
}
|
|
1651
1712
|
|
|
1652
1713
|
// ../share/src/shareSources.mjs
|
|
1653
1714
|
import { realpath as realpath4 } from "fs/promises";
|
|
@@ -1656,9 +1717,9 @@ import { basename as basename2 } from "path";
|
|
|
1656
1717
|
|
|
1657
1718
|
// ../share/src/sources/capture.mjs
|
|
1658
1719
|
import { createHash as createHash5 } from "crypto";
|
|
1659
|
-
import { constants as
|
|
1660
|
-
import { lstat as
|
|
1661
|
-
import { dirname, join as
|
|
1720
|
+
import { constants as constants3 } from "fs";
|
|
1721
|
+
import { lstat as lstat3, open as open3, readdir, realpath as realpath2 } from "fs/promises";
|
|
1722
|
+
import { dirname, join as join5 } from "path";
|
|
1662
1723
|
|
|
1663
1724
|
// ../share/src/sources/manifest.mjs
|
|
1664
1725
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -2073,9 +2134,9 @@ function overLimit(files, manifestBytes2, limits = V1_LIMITS) {
|
|
|
2073
2134
|
|
|
2074
2135
|
// ../share/src/sources/projectState.mjs
|
|
2075
2136
|
import { readFile as readFile3 } from "fs/promises";
|
|
2076
|
-
import { join as
|
|
2137
|
+
import { join as join4 } from "path";
|
|
2077
2138
|
async function readRenderOutputs(root) {
|
|
2078
|
-
const raw = await readFile3(
|
|
2139
|
+
const raw = await readFile3(join4(root, ".hyperframes", "render-outputs.json"), "utf8").catch(
|
|
2079
2140
|
() => null
|
|
2080
2141
|
);
|
|
2081
2142
|
let record = null;
|
|
@@ -2100,12 +2161,12 @@ function alive(pid) {
|
|
|
2100
2161
|
}
|
|
2101
2162
|
}
|
|
2102
2163
|
async function settledState(root) {
|
|
2103
|
-
const dir =
|
|
2104
|
-
const turn = await readFile3(
|
|
2164
|
+
const dir = join4(root, ".hyperframes");
|
|
2165
|
+
const turn = await readFile3(join4(dir, "history-turn.json")).then(
|
|
2105
2166
|
() => true,
|
|
2106
2167
|
() => false
|
|
2107
2168
|
);
|
|
2108
|
-
const lock = await readFile3(
|
|
2169
|
+
const lock = await readFile3(join4(dir, "project.lock"), "utf8").catch(() => null);
|
|
2109
2170
|
let holder = null;
|
|
2110
2171
|
try {
|
|
2111
2172
|
holder = lock === null ? null : JSON.parse(lock);
|
|
@@ -2142,9 +2203,9 @@ async function visitFile(root, rel, walk) {
|
|
|
2142
2203
|
if (!(error instanceof PathViolation)) throw error;
|
|
2143
2204
|
return void walk.problems.push({ path: rel, problem: "invalid-name", code: error.code });
|
|
2144
2205
|
}
|
|
2145
|
-
const full =
|
|
2206
|
+
const full = join5(root, rel);
|
|
2146
2207
|
try {
|
|
2147
|
-
const { size, mtimeMs, ino, dev } = await
|
|
2208
|
+
const { size, mtimeMs, ino, dev } = await lstat3(full);
|
|
2148
2209
|
walk.files.push({ path: rel, full, size, mtimeMs, ino, dev });
|
|
2149
2210
|
} catch {
|
|
2150
2211
|
walk.problems.push({ path: rel, problem: "unreadable" });
|
|
@@ -2153,17 +2214,18 @@ async function visitFile(root, rel, walk) {
|
|
|
2153
2214
|
var FolderMoved = class extends Error {
|
|
2154
2215
|
};
|
|
2155
2216
|
async function listFolder(root, dir) {
|
|
2156
|
-
const full =
|
|
2157
|
-
const before = await
|
|
2217
|
+
const full = join5(root, dir);
|
|
2218
|
+
const before = await lstat3(full);
|
|
2158
2219
|
if (!before.isDirectory()) throw new FolderMoved();
|
|
2159
2220
|
const entries = await readdir(full, { withFileTypes: true });
|
|
2160
|
-
const after = await
|
|
2221
|
+
const after = await lstat3(full);
|
|
2161
2222
|
if (!after.isDirectory() || after.ino !== before.ino || after.dev !== before.dev)
|
|
2162
2223
|
throw new FolderMoved();
|
|
2163
2224
|
return entries;
|
|
2164
2225
|
}
|
|
2165
2226
|
async function walkProject(root, renderOutput) {
|
|
2166
2227
|
const walk = { files: [], problems: [], waiting: [], skippedLinks: [] };
|
|
2228
|
+
const ignored = await readSourceIgnore(root);
|
|
2167
2229
|
const dirs = [""];
|
|
2168
2230
|
for (let dir = dirs.pop(); dir !== void 0; dir = dirs.pop()) {
|
|
2169
2231
|
let entries;
|
|
@@ -2176,7 +2238,7 @@ async function walkProject(root, renderOutput) {
|
|
|
2176
2238
|
}
|
|
2177
2239
|
for (const entry of entries) {
|
|
2178
2240
|
const rel = dir ? `${dir}/${entry.name}` : entry.name;
|
|
2179
|
-
if (prefiltered(entry.name) || renderOutput(rel)) continue;
|
|
2241
|
+
if (prefiltered(entry.name) || renderOutput(rel) || ignored(rel)) continue;
|
|
2180
2242
|
await visit(root, rel, entry, walk, dirs);
|
|
2181
2243
|
}
|
|
2182
2244
|
}
|
|
@@ -2204,7 +2266,7 @@ function hashMemo(now = Date.now) {
|
|
|
2204
2266
|
};
|
|
2205
2267
|
}
|
|
2206
2268
|
async function openListed(root, file, resolve = realpath2) {
|
|
2207
|
-
const handle = await
|
|
2269
|
+
const handle = await open3(file.full, constants3.O_RDONLY | (constants3.O_NOFOLLOW ?? 0)).catch(
|
|
2208
2270
|
(error) => {
|
|
2209
2271
|
if (error.code === "ELOOP" || error.code === "EMLINK") return null;
|
|
2210
2272
|
throw error;
|
|
@@ -2213,7 +2275,7 @@ async function openListed(root, file, resolve = realpath2) {
|
|
|
2213
2275
|
if (!handle) return null;
|
|
2214
2276
|
try {
|
|
2215
2277
|
const opened = await handle.stat();
|
|
2216
|
-
const same = opened.isFile() && opened.ino === file.ino && opened.dev === file.dev && opened.size === file.size && await resolve(dirname(file.full)) ===
|
|
2278
|
+
const same = opened.isFile() && opened.ino === file.ino && opened.dev === file.dev && opened.size === file.size && await resolve(dirname(file.full)) === join5(root, dirname(file.path));
|
|
2217
2279
|
if (same) return handle;
|
|
2218
2280
|
} catch (error) {
|
|
2219
2281
|
await handle.close();
|
|
@@ -2634,9 +2696,9 @@ function sourceApi({ access, fetchImpl = fetch }) {
|
|
|
2634
2696
|
|
|
2635
2697
|
// ../share/src/sources/store.mjs
|
|
2636
2698
|
import { createHash as createHash6 } from "crypto";
|
|
2637
|
-
import { constants as
|
|
2638
|
-
import { lstat as
|
|
2639
|
-
import { join as
|
|
2699
|
+
import { constants as constants4 } from "fs";
|
|
2700
|
+
import { lstat as lstat4, open as open4 } from "fs/promises";
|
|
2701
|
+
import { join as join6 } from "path";
|
|
2640
2702
|
var object = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
2641
2703
|
function bindingOf(raw, key) {
|
|
2642
2704
|
if (!object(raw) || raw.version !== 1 || raw.backend !== key.backend || raw.account !== key.account || raw.projectPath !== key.projectPath || typeof raw.compositionId !== "string" || typeof raw.ownerSpaceId !== "string")
|
|
@@ -2660,12 +2722,12 @@ function createProjectShareSourceStore() {
|
|
|
2660
2722
|
const location = async (key) => {
|
|
2661
2723
|
const dir = await mkdirInside(key.projectPath, ".hyperframes");
|
|
2662
2724
|
const environment = createHash6("sha256").update(key.backend).digest("hex").slice(0, 16);
|
|
2663
|
-
return
|
|
2725
|
+
return join6(dir, `share-sync.${environment}.json`);
|
|
2664
2726
|
};
|
|
2665
2727
|
return {
|
|
2666
2728
|
read: async (key) => {
|
|
2667
2729
|
const file = await location(key);
|
|
2668
|
-
const handle = await
|
|
2730
|
+
const handle = await open4(file, constants4.O_RDONLY | constants4.O_NOFOLLOW).catch((error) => {
|
|
2669
2731
|
if (errorCode(error) === "ENOENT") return null;
|
|
2670
2732
|
throw error;
|
|
2671
2733
|
});
|
|
@@ -2680,7 +2742,7 @@ function createProjectShareSourceStore() {
|
|
|
2680
2742
|
},
|
|
2681
2743
|
write: async (binding) => {
|
|
2682
2744
|
const file = await location(binding);
|
|
2683
|
-
const held = await
|
|
2745
|
+
const held = await lstat4(file).catch((error) => {
|
|
2684
2746
|
if (errorCode(error) === "ENOENT") return null;
|
|
2685
2747
|
throw error;
|
|
2686
2748
|
});
|
|
@@ -2692,8 +2754,8 @@ function createProjectShareSourceStore() {
|
|
|
2692
2754
|
|
|
2693
2755
|
// ../share/src/sources/transfer.mjs
|
|
2694
2756
|
import { createHash as createHash7 } from "crypto";
|
|
2695
|
-
import { constants as
|
|
2696
|
-
import { open as
|
|
2757
|
+
import { constants as constants5, createReadStream as createReadStream2 } from "fs";
|
|
2758
|
+
import { open as open5, realpath as realpath3 } from "fs/promises";
|
|
2697
2759
|
import { dirname as dirname2 } from "path";
|
|
2698
2760
|
import { setTimeout as sleep } from "timers/promises";
|
|
2699
2761
|
var TransferError = class extends Error {
|
|
@@ -2716,7 +2778,7 @@ function refusalOf2(status) {
|
|
|
2716
2778
|
return new TransferError("refused", { status });
|
|
2717
2779
|
}
|
|
2718
2780
|
async function openSource(file) {
|
|
2719
|
-
const handle = await
|
|
2781
|
+
const handle = await open5(file, constants5.O_RDONLY | constants5.O_NOFOLLOW);
|
|
2720
2782
|
try {
|
|
2721
2783
|
const stat2 = await handle.stat();
|
|
2722
2784
|
if (!stat2.isFile() || await realpath3(dirname2(file)) !== dirname2(file))
|
|
@@ -2856,10 +2918,10 @@ var backoffMs = (attempt, askedMs = null, baseMs = 1e3, maxMs = 3e4) => askedMs
|
|
|
2856
2918
|
|
|
2857
2919
|
// ../share/src/sources/upload.mjs
|
|
2858
2920
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
2859
|
-
import { join as
|
|
2921
|
+
import { join as join7 } from "path";
|
|
2860
2922
|
|
|
2861
2923
|
// ../share/src/sources/uploadFiles.mjs
|
|
2862
|
-
import { lstat as
|
|
2924
|
+
import { lstat as lstat5 } from "fs/promises";
|
|
2863
2925
|
var PART_BYTES = 64 * 1024 * 1024;
|
|
2864
2926
|
var GRANT_FILES = 100;
|
|
2865
2927
|
var PARTS_PER_GRANT = 8;
|
|
@@ -3002,7 +3064,7 @@ async function partsToSend(job, blob) {
|
|
|
3002
3064
|
}
|
|
3003
3065
|
async function sendLarge(job, blob) {
|
|
3004
3066
|
const file = localFile(job, blob.sha256);
|
|
3005
|
-
const before = await
|
|
3067
|
+
const before = await lstat5(file.full);
|
|
3006
3068
|
const parts = await partsToSend(job, blob);
|
|
3007
3069
|
job.onBytes(blob.size - parts.reduce((sum, part) => sum + part.length, 0));
|
|
3008
3070
|
for (let at = 0; at < parts.length; at += PARTS_PER_GRANT) {
|
|
@@ -3023,7 +3085,7 @@ async function sendLarge(job, blob) {
|
|
|
3023
3085
|
job.persist();
|
|
3024
3086
|
});
|
|
3025
3087
|
}
|
|
3026
|
-
const after = await
|
|
3088
|
+
const after = await lstat5(file.full).catch(() => null);
|
|
3027
3089
|
if (!after || after.size !== before.size || after.mtimeMs !== before.mtimeMs)
|
|
3028
3090
|
throw new TransferError("changed", { path: file.path });
|
|
3029
3091
|
(job.inflight.sent ??= []).push(blob.sha256);
|
|
@@ -3086,7 +3148,7 @@ async function sendFiles(run2, receipt) {
|
|
|
3086
3148
|
const local2 = new Map(
|
|
3087
3149
|
manifest.document.files.map((file) => [
|
|
3088
3150
|
file.sha256,
|
|
3089
|
-
{ path: file.path, full:
|
|
3151
|
+
{ path: file.path, full: join7(binding.projectPath, file.path) }
|
|
3090
3152
|
])
|
|
3091
3153
|
);
|
|
3092
3154
|
const known = new Map(manifest.document.files.map((file) => [file.sha256, file.size]));
|
|
@@ -3399,18 +3461,18 @@ async function stillMatches(root, rendered, digest, fingerprint) {
|
|
|
3399
3461
|
import { randomUUID as randomUUID9 } from "crypto";
|
|
3400
3462
|
import { existsSync as existsSync2, readFileSync as readFileSync2, realpathSync } from "fs";
|
|
3401
3463
|
import { mkdir as mkdir2, writeFile as writeFile3, rename as rename2, rm as rm2 } from "fs/promises";
|
|
3402
|
-
import { join as
|
|
3464
|
+
import { join as join8 } from "path";
|
|
3403
3465
|
var shareContentFingerprint = shareSourceFingerprint;
|
|
3404
3466
|
function latestShareRender(dir) {
|
|
3405
3467
|
try {
|
|
3406
3468
|
const value = JSON.parse(
|
|
3407
|
-
readFileSync2(
|
|
3469
|
+
readFileSync2(join8(dir, ".hyperframes", "share-render.json"), "utf8")
|
|
3408
3470
|
);
|
|
3409
3471
|
if (!value || typeof value !== "object" || !("path" in value) || !("id" in value) || !("fingerprint" in value))
|
|
3410
3472
|
return null;
|
|
3411
3473
|
if (typeof value.path !== "string" || typeof value.id !== "string" || typeof value.fingerprint !== "string" || !/^[a-f0-9-]{36}$/.test(value.id))
|
|
3412
3474
|
return null;
|
|
3413
|
-
const expected =
|
|
3475
|
+
const expected = join8(realpathSync(dir), ".hyperframes", "share-renders", `${value.id}.mp4`);
|
|
3414
3476
|
if (value.path !== expected || !existsSync2(expected) || realpathSync(expected) !== expected)
|
|
3415
3477
|
return null;
|
|
3416
3478
|
const contentFingerprint = "contentFingerprint" in value && typeof value.contentFingerprint === "string" ? value.contentFingerprint : void 0;
|
|
@@ -3432,24 +3494,24 @@ async function prepareShareRender(dir) {
|
|
|
3432
3494
|
const previous = latestShareRender(dir);
|
|
3433
3495
|
if (content && previous?.fingerprint === before && previous.contentFingerprint === content)
|
|
3434
3496
|
return;
|
|
3435
|
-
const stateFolder =
|
|
3497
|
+
const stateFolder = join8(dir, ".hyperframes");
|
|
3436
3498
|
if (existsSync2(stateFolder) && realpathSync(stateFolder) !== stateFolder)
|
|
3437
3499
|
throw new Error("Sharing state must stay inside this project, without symlinks.");
|
|
3438
3500
|
await mkdir2(stateFolder, { recursive: true });
|
|
3439
|
-
const folder =
|
|
3501
|
+
const folder = join8(stateFolder, "share-renders");
|
|
3440
3502
|
if (existsSync2(folder) && realpathSync(folder) !== folder)
|
|
3441
3503
|
throw new Error("Sharing state must stay inside this project, without symlinks.");
|
|
3442
3504
|
await mkdir2(folder, { recursive: true });
|
|
3443
3505
|
if (realpathSync(folder) !== folder)
|
|
3444
3506
|
throw new Error("Sharing state must stay inside this project, without symlinks.");
|
|
3445
3507
|
const id = randomUUID9();
|
|
3446
|
-
const output =
|
|
3508
|
+
const output = join8(folder, `${id}.mp4`);
|
|
3447
3509
|
const [{ createRenderPlan }, { executeRenderPlan }, render] = await Promise.all([
|
|
3448
|
-
import("./plan-
|
|
3449
|
-
import("./execute-
|
|
3450
|
-
import("./render-
|
|
3510
|
+
import("./plan-PX63QEKM.js"),
|
|
3511
|
+
import("./execute-VAOBHPOE.js"),
|
|
3512
|
+
import("./render-ARJ3YCDM.js")
|
|
3451
3513
|
]);
|
|
3452
|
-
const target =
|
|
3514
|
+
const target = join8(stateFolder, "share-render.json");
|
|
3453
3515
|
const temporary = `${target}.${id}.tmp`;
|
|
3454
3516
|
try {
|
|
3455
3517
|
const plan = createRenderPlan({ dir, output, format: "mp4", quiet: true, strict: true });
|
|
@@ -3673,6 +3735,7 @@ export {
|
|
|
3673
3735
|
ReviewFailed,
|
|
3674
3736
|
reviewClient,
|
|
3675
3737
|
setReviewSite,
|
|
3738
|
+
ownerOf,
|
|
3676
3739
|
reviewRecord,
|
|
3677
3740
|
reviewStatus,
|
|
3678
3741
|
shareForReview,
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TY4OVTNZ.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HDMYNOLX.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O2JZ6C3S.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GNG7XNUY.js";
|
|
33
33
|
import {
|
|
34
34
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
35
|
withRemainingBudget
|
|
@@ -59,13 +59,13 @@ import {
|
|
|
59
59
|
BrowserCleanupError,
|
|
60
60
|
closeManagedBrowser,
|
|
61
61
|
onStopSignal
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HPR2BPFS.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveAutoProxy
|
|
65
65
|
} from "./chunk-WIJGRX5X.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_CONFIG
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-XHP3V4WH.js";
|
|
69
69
|
import {
|
|
70
70
|
injectTagsAtHeadStart
|
|
71
71
|
} from "./chunk-3T6BFAKZ.js";
|
|
@@ -928,7 +928,7 @@ function proxyFailedDraft(message) {
|
|
|
928
928
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
929
929
|
}
|
|
930
930
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
931
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
931
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-7HQEKW2H.js");
|
|
932
932
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
933
933
|
}
|
|
934
934
|
function withCapturePreviewMark(html) {
|
|
@@ -1001,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1001
1001
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1002
1002
|
}));
|
|
1003
1003
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1004
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1004
|
+
const { analyzeClipMediaFit } = await import("./src-FZ4EJHOK.js");
|
|
1005
1005
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1006
1006
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1007
1007
|
}
|
|
@@ -1143,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1143
1143
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1144
1144
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1145
1145
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1146
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1146
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-7HQEKW2H.js");
|
|
1147
1147
|
return withCapturePreviewMark(
|
|
1148
1148
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1149
1149
|
);
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N5TVFPYQ.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VU4EPKFI.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XHP3V4WH.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
runningInstall,
|
|
45
45
|
updateCommandFor,
|
|
46
46
|
withMeta
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-KQLZ2CXO.js";
|
|
48
48
|
import {
|
|
49
49
|
CONFIG_PATH,
|
|
50
50
|
withFileLock
|
|
51
51
|
} from "./chunk-F5QBIIFT.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UTLLLDWD.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -249,7 +249,7 @@ function checkEnvironment() {
|
|
|
249
249
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
250
250
|
}
|
|
251
251
|
async function checkWhisper() {
|
|
252
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
252
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-GCFCVNYS.js");
|
|
253
253
|
const result = findWhisper();
|
|
254
254
|
if (result) {
|
|
255
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NVNKKVDH.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XHP3V4WH.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-IEXRKKHC.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OPGYOHU6.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
23
23
|
prepareAnimatedGifInputs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NVNKKVDH.js";
|
|
25
25
|
import {
|
|
26
26
|
openRangeEnd,
|
|
27
27
|
parseEncoderOptions
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
videoAudioId,
|
|
187
187
|
videoStartOnMediaTimeline,
|
|
188
188
|
writeCapturedFrame
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-XHP3V4WH.js";
|
|
190
190
|
import {
|
|
191
191
|
assignBundledRuntimeCompositionIds,
|
|
192
192
|
emitMountedModuleScripts,
|
|
@@ -17603,7 +17603,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17603
17603
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17604
17604
|
if (probeResult.probeSession) {
|
|
17605
17605
|
try {
|
|
17606
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
17606
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-FZ4EJHOK.js");
|
|
17607
17607
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17608
17608
|
} catch (err) {
|
|
17609
17609
|
log.warn("[plan] probe session close failed", {
|
|
@@ -21018,7 +21018,7 @@ function startServer(options = {}) {
|
|
|
21018
21018
|
});
|
|
21019
21019
|
async function shutdown(signal) {
|
|
21020
21020
|
log.info(`Received ${signal}, shutting down`);
|
|
21021
|
-
const { drainBrowserPool } = await import("./src-
|
|
21021
|
+
const { drainBrowserPool } = await import("./src-FZ4EJHOK.js");
|
|
21022
21022
|
await drainBrowserPool().catch(() => {
|
|
21023
21023
|
});
|
|
21024
21024
|
const handle = await Promise.race([
|