hyperframes 0.8.173 → 0.8.175
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-V7VBTFNG.js → add-S4AOKSNH.js} +14 -15
- package/dist/{animatedGifPrep-62S72ZY6.js → animatedGifPrep-QRDM2NMV.js} +9 -11
- package/dist/api.js +19 -21
- package/dist/{asset-Z4JI2F6V.js → asset-DQ45BUBL.js} +2 -2
- package/dist/{assetCataloger-Q7LE7BCC.js → assetCataloger-NPDCMAYE.js} +9 -11
- package/dist/{audio-HIHNLQJ7.js → audio-OOAXEELO.js} +16 -18
- package/dist/{auth-4K6DSZCD.js → auth-33IY64LT.js} +2 -2
- package/dist/{autoUpdate-DXZDD5VT.js → autoUpdate-KGLJUGNZ.js} +2 -2
- package/dist/{backgroundChecks-ODMKKJ4S.js → backgroundChecks-DQPHYLVN.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-I4BFJGPA.js → batchRender-KXXTVNPB.js} +4 -4
- package/dist/{beats-7QCA6GDR.js → beats-WDYSCACS.js} +6 -7
- package/dist/{benchmark-IT4WTSMZ.js → benchmark-WOAULMYW.js} +11 -12
- package/dist/{browser-5VHM72PM.js → browser-2HX46R74.js} +5 -6
- package/dist/{bundleWithLocalizedFonts-MKTQCB2Y.js → bundleWithLocalizedFonts-32N7TVM6.js} +2 -2
- package/dist/{capture-B5Y45EWD.js → capture-5ASPHTMF.js} +22 -18
- package/dist/{capture-CMNNIMIL.js → capture-7LR5UVM2.js} +2 -2
- package/dist/{catalog-AKPJ65GY.js → catalog-LVW3RT4U.js} +15 -16
- package/dist/{catch-up-2SVYRMD3.js → catch-up-W6Z73GXL.js} +6 -7
- package/dist/{check-Q7AX6K7O.js → check-C23ZWACZ.js} +56 -52
- package/dist/{checkBrowser-CPXD5BZY.js → checkBrowser-WS6FSLBJ.js} +182 -88
- package/dist/{chunk-QVPOR7WE.js → chunk-32GKETR7.js} +22 -1
- package/dist/{chunk-4RDDUBOC.js → chunk-3Q4Y33FT.js} +11 -11
- package/dist/{chunk-2DWYRHJS.js → chunk-3SWMUZ4Y.js} +2 -2
- package/dist/{chunk-PBVUVNWP.js → chunk-3X3CELOP.js} +1 -1
- package/dist/{chunk-5E43335V.js → chunk-42T7OP4O.js} +1 -1
- package/dist/{chunk-TWZRU64W.js → chunk-4XM6VXLN.js} +7 -7
- package/dist/{chunk-6JQDH4O6.js → chunk-7E4YFL4U.js} +1 -1
- package/dist/{chunk-NOMPG5HQ.js → chunk-7GUAZGSW.js} +3 -3
- package/dist/{chunk-XRQBHOBT.js → chunk-B4VT6YU2.js} +2 -2
- package/dist/{chunk-2BL7BJ22.js → chunk-BHMWVRNS.js} +1 -1
- package/dist/{chunk-LN4SZS7W.js → chunk-CEYY3SOX.js} +3 -3
- package/dist/chunk-CIWX5UKC.js +16 -0
- package/dist/{chunk-CBOYQOLY.js → chunk-DQY6WTF7.js} +1 -1
- package/dist/{chunk-BCPJSBCS.js → chunk-DZMWNCHM.js} +7 -3
- package/dist/chunk-EEXE43II.js +3805 -0
- package/dist/{chunk-ROQBQHBK.js → chunk-EKDTCSCL.js} +1 -1
- package/dist/{chunk-L4SFGSSQ.js → chunk-FRNKM4MG.js} +1 -1
- package/dist/{chunk-6HKO6VWS.js → chunk-G7I3WZK4.js} +1 -1
- package/dist/{chunk-2TNPXPI5.js → chunk-GK2FIKIQ.js} +10 -8
- package/dist/chunk-HIP62XAW.js +36 -0
- package/dist/{chunk-FDWTZVA6.js → chunk-IUOPF3DL.js} +1 -1
- package/dist/{chunk-N7RTLKMM.js → chunk-J53AJK3Q.js} +2 -2
- package/dist/{chunk-OFFNB2SU.js → chunk-JNL3RMDG.js} +241 -6
- package/dist/{chunk-HCOL75LA.js → chunk-JT7PV3GL.js} +3 -3
- package/dist/{chunk-6RIH2NDU.js → chunk-KHR4IJAW.js} +178 -122
- package/dist/{chunk-WIAO42MD.js → chunk-KZHYAGC3.js} +5 -5
- package/dist/{chunk-C4QGOXO2.js → chunk-KZQGUXG5.js} +494 -136
- package/dist/{chunk-2QJDC4NT.js → chunk-LY2GLSOS.js} +1 -1
- package/dist/{chunk-CHALU2TF.js → chunk-LZT3NUTE.js} +1 -1
- package/dist/{chunk-BTPZ74Z3.js → chunk-MJZQ44NV.js} +1 -1
- package/dist/{chunk-YOOW26KG.js → chunk-NELZN7SV.js} +2 -2
- package/dist/{chunk-VFCKXTBB.js → chunk-NL5F3AD4.js} +27 -38
- package/dist/{chunk-X3SCQP2A.js → chunk-NSWIF4VH.js} +1 -1
- package/dist/{chunk-L3RCYYON.js → chunk-NWEER3QY.js} +2 -2
- package/dist/{chunk-3O45NOL7.js → chunk-NZRAS3FB.js} +1 -1
- package/dist/chunk-NZZYJOMJ.js +136 -0
- package/dist/{chunk-5JTRGGTX.js → chunk-O6FWDZYJ.js} +1 -1
- package/dist/{chunk-2YTOJ447.js → chunk-OUMYTLPP.js} +3 -3
- package/dist/{chunk-QURKHVV5.js → chunk-OYEDHVSI.js} +1 -1
- package/dist/{chunk-BYRHCRU3.js → chunk-PBKOURSI.js} +2 -2
- package/dist/{chunk-MWNSVO4P.js → chunk-QMQZXNGU.js} +8 -8
- package/dist/{chunk-XDPXSQJO.js → chunk-QWCXGTOH.js} +1 -1
- package/dist/{chunk-V2D4QZBC.js → chunk-RAZVWSU5.js} +3 -3
- package/dist/{chunk-O433SZAJ.js → chunk-RERXOG54.js} +35 -16
- package/dist/{chunk-IK3SOMZ4.js → chunk-S354WIFQ.js} +19 -22
- package/dist/{chunk-QWQ6GQTI.js → chunk-T6AGUTZJ.js} +2 -4
- package/dist/{chunk-PCLYCYBK.js → chunk-TNDNFZOK.js} +4 -4
- package/dist/{chunk-SOAXQ7Q7.js → chunk-UWUKJDTA.js} +2 -2
- package/dist/{chunk-KR5ZHRF2.js → chunk-V7T7WA2K.js} +2 -2
- package/dist/{chunk-U7EGMXQR.js → chunk-VEQ7DKPG.js} +4 -17
- package/dist/{chunk-JYVGYKXG.js → chunk-W2LGJSEN.js} +73 -1
- package/dist/{chunk-ETPPGNJB.js → chunk-W5USVP6Z.js} +2 -2
- package/dist/{chunk-H5C375DW.js → chunk-WDFLYDKN.js} +5 -5
- package/dist/{chunk-BYVBP3U5.js → chunk-XDK2FUAC.js} +9 -9
- package/dist/{chunk-TDPVEMBS.js → chunk-XFCLWWL3.js} +1 -1
- package/dist/{chunk-TNHRCZT3.js → chunk-XRRDVRCY.js} +42 -2
- package/dist/{chunk-4D2T6Y5Y.js → chunk-YCSCDQDS.js} +6 -6
- package/dist/{chunk-XZNKIYIG.js → chunk-YMU42UU2.js} +1 -1
- package/dist/{chunk-ODR7V2JL.js → chunk-Z2R7CFWH.js} +1 -1
- package/dist/{chunk-X2ALZSKK.js → chunk-ZD7QKZSS.js} +3 -3
- package/dist/{chunk-45IAFBUP.js → chunk-ZDOWJ3NS.js} +14 -14
- package/dist/{chunk-A2DMF2Q6.js → chunk-ZGSLXWH2.js} +2 -2
- package/dist/{chunk-KRWEUM4R.js → chunk-ZXHEOTYW.js} +1 -1
- package/dist/{clean-SBFI3ZKR.js → clean-KBNXV6DP.js} +18 -20
- package/dist/cli.js +53 -53
- package/dist/{cloud-IRE4HLEK.js → cloud-BWWKDRR6.js} +4 -4
- package/dist/{cloudrun-GIHWEBGM.js → cloudrun-P35BPQCO.js} +5 -5
- package/dist/commands/contrast-audit.browser.js +18 -50
- package/dist/{compare-S6NM2FSV.js → compare-UWJRKF5K.js} +28 -30
- package/dist/{compiler-WCWRB2LZ.js → compiler-5TFPJPQQ.js} +5 -6
- package/dist/{component-WDFZQ2HN.js → component-SWOGSIO2.js} +3 -3
- package/dist/{compositions-RMUBDPD4.js → compositions-PIPVEXE3.js} +14 -16
- package/dist/{delete-SDNARGJ4.js → delete-OXIDK7N3.js} +4 -4
- package/dist/{deploy-4MK3Y67M.js → deploy-NKWMPAMH.js} +19 -5
- package/dist/{destroy-GFQLTIY3.js → destroy-UKP522AE.js} +4 -2
- package/dist/{deterministicFonts-RWGQPEZU.js → deterministicFonts-L7YEEFGI.js} +1 -1
- package/dist/{dist-FAN2FFAV.js → dist-2FMTAVGL.js} +3 -3
- package/dist/{dist-65ELHZOF.js → dist-U2HCECNB.js} +3 -3
- package/dist/{doctor-YPCZILXV.js → doctor-KLQLFPCF.js} +14 -16
- package/dist/{events-Q2K7SNEZ.js → events-EGCYD45B.js} +5 -6
- package/dist/{events-INXDJ44V.js → events-EVTTGISX.js} +4 -5
- package/dist/{feedback-FRGRCTIX.js → feedback-G4WZLOVD.js} +10 -11
- package/dist/{ffmpeg-7BYARPLM.js → ffmpeg-QIYSAPHO.js} +24 -4
- package/dist/{figma-C262EFOC.js → figma-Q4CKDE7M.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -14
- package/dist/{get-ZIUUGSVI.js → get-NPRQH64W.js} +4 -4
- package/dist/{gpuPolicy-FRLW63IY.js → gpuPolicy-L72BQRFR.js} +9 -11
- package/dist/{grade-compare-DN342HJC.js → grade-compare-H4NJEL4P.js} +29 -31
- package/dist/{help-XQPBPSBP.js → help-2S3XXDEA.js} +1 -1
- package/dist/{history-PF5FUC6M.js → history-X4CGCVEQ.js} +8 -9
- package/dist/hyperframe-runtime.js +59 -59
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-PC7IKGVB.js → info-YYUISGL7.js} +10 -11
- package/dist/{init-ORZX3PSQ.js → init-BAAI4ZMR.js} +34 -34
- package/dist/{inspect-L5GRL6SP.js → inspect-LXJ3XJUZ.js} +29 -31
- package/dist/{installer-KXS557O7.js → installer-NY5E5HCO.js} +5 -5
- package/dist/{keyframes-EIZDSXUH.js → keyframes-NXXJSQWG.js} +8 -9
- package/dist/{lambda-U3N7MRD7.js → lambda-PG3JKNWS.js} +16 -12
- package/dist/{layout-WHAVE2H5.js → layout-CBFO36IE.js} +29 -31
- package/dist/{lint-I7PYIW56.js → lint-Y6NWQTKF.js} +11 -12
- package/dist/{lintProject-7IEOAXJY.js → lintProject-ARKJXDQF.js} +3 -3
- package/dist/{list-XXQM3WDO.js → list-VY6KIYTX.js} +4 -4
- package/dist/{login-64NUUDYU.js → login-426Q3H3P.js} +4 -4
- package/dist/{manager-B6MVBM2E.js → manager-3RRUFZ4H.js} +25 -3
- package/dist/{media-treatment-5XIM4A3F.js → media-treatment-ZVIXMJZJ.js} +23 -18
- package/dist/{models-WRB3S67Z.js → models-KC2QBPVK.js} +13 -15
- package/dist/{motionShot-BOFBL73C.js → motionShot-3ZSLQJ4D.js} +19 -21
- package/dist/{normalize-audio-PP4BSZSU.js → normalize-audio-DRU5LFYU.js} +6 -7
- package/dist/{open-F4CUWMZF.js → open-LPBZQ4DC.js} +14 -15
- package/dist/{parakeetRunner-O7QYJ7V7.js → parakeetRunner-IFY6NK5G.js} +16 -18
- package/dist/{pipeline-BCHSFFT3.js → pipeline-AGMCDT5A.js} +11 -13
- package/dist/{play-PPBR2GJK.js → play-WVWXNQED.js} +21 -23
- package/dist/{policies-DCSIM4AB.js → policies-5NTZOHJA.js} +2 -0
- package/dist/preflight-I5JGCCKM.js +52 -0
- package/dist/{present-Y7VTCZRZ.js → present-IPTWJUKY.js} +17 -19
- package/dist/{preview-53AD4OME.js → preview-JVLRQVD7.js} +34 -25
- package/dist/{producer-WBJDNLBF.js → producer-HKGHSAON.js} +1 -1
- package/dist/{progress-5AM2MZ7V.js → progress-I37JB7R4.js} +1 -0
- package/dist/{projectConfig-4KUGQ4P6.js → projectConfig-HDALEM6S.js} +7 -7
- package/dist/{publication-OFDIFS4R.js → publication-NX4VC7UU.js} +3 -3
- package/dist/{publish-RWWTY743.js → publish-AZRRQUXM.js} +11 -11
- package/dist/{remove-background-G7VK3VKP.js → remove-background-WY7KA77M.js} +12 -14
- package/dist/{render-52W63I3Y.js → render-BEDATKWV.js} +14 -15
- package/dist/{render-6CXZNXXZ.js → render-HGT3EGIK.js} +9 -4
- package/dist/{render-7PPMS4P6.js → render-P3PFNCBA.js} +40 -38
- package/dist/{render-batch-2EJVUVVN.js → render-batch-MUCDZ2WF.js} +4 -4
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-FF5GV6IA.js → resolver-FLQ42X2Y.js} +5 -5
- package/dist/sam-IKPEJRRO.js +21 -0
- package/dist/{screenshotCapture-XAYELJK7.js → screenshotCapture-HXEZ3TNJ.js} +20 -3
- package/dist/{sherpa-QJPI6B5S.js → sherpa-SQGEFX3S.js} +15 -17
- package/dist/skills/hyperframes/SKILL.md +42 -0
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +5 -2
- package/dist/{skills-H6ZJNOLH.js → skills-D2FIQ2JN.js} +11 -10
- package/dist/{skillsUpdateCheck-4EBGMO2A.js → skillsUpdateCheck-2OLTHCBX.js} +3 -3
- package/dist/{snapshot-DZRUBWRH.js → snapshot-R7U73M3N.js} +32 -34
- package/dist/{src-WD5GOYON.js → src-4COYCAFY.js} +8 -10
- package/dist/{src-ZL7ACIZ3.js → src-WOD4AEI3.js} +11 -13
- package/dist/{staticProjectServer-72JF5PPO.js → staticProjectServer-DG4VZO4G.js} +15 -16
- package/dist/{status-RGHSK3DJ.js → status-BV7QAUQD.js} +2 -3
- package/dist/studio/assets/{hyperframes-player-B-wEZiX3.js → hyperframes-player-BByRREAU.js} +1 -1
- package/dist/studio/assets/{index-DPugLDRK.js → index-CULLUqJo.js} +1 -1
- package/dist/studio/assets/{index-Bvkb0Zxy.js → index-Wz-WEqHg.js} +97 -97
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-BL6CLOA6.js → studio-api-RGNBVLLL.js} +9 -10
- package/dist/{studioServer-TRWCZZXP.js → studioServer-LC5T4OXQ.js} +48 -50
- package/dist/{system-VRXC6S4A.js → system-7F3UEHQT.js} +2 -3
- package/dist/{telemetry-FDSW3ZOZ.js → telemetry-BLOE3TWY.js} +5 -6
- package/dist/{timeline-ZRN336EA.js → timeline-QQPPMADL.js} +124 -51
- package/dist/{tokens-RMLNQHIB.js → tokens-E3SHBFDU.js} +2 -2
- package/dist/{transcribe-AEHHCYAL.js → transcribe-D5N7SBDO.js} +22 -24
- package/dist/{transcribe-SOODKU6H.js → transcribe-O2AQ5E2L.js} +12 -14
- package/dist/{updateCheck-OSPEYRBY.js → updateCheck-ELOZ2CID.js} +2 -2
- package/dist/{upgrade-AK4S7DMX.js → upgrade-JDFZEPZY.js} +2 -2
- package/dist/{urlDownloader-FSCMLFG7.js → urlDownloader-32OGC3EW.js} +8 -10
- package/dist/{validate-JJTCKZIV.js → validate-LQQEABER.js} +23 -25
- package/dist/{video-ZDM5CFI2.js → video-HXIM27TO.js} +9 -11
- package/package.json +1 -1
- package/dist/chunk-7JDEZNBY.js +0 -3805
- package/dist/chunk-7KDQAD2W.js +0 -81
- package/dist/chunk-BXCMXMJQ.js +0 -73
- package/dist/chunk-KCF6GHJP.js +0 -250
- package/dist/preflight-G5KP7ZKA.js +0 -32
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NZRAS3FB.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LZT3NUTE.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-42T7OP4O.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NWEER3QY.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OYEDHVSI.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PBKOURSI.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VEQ7DKPG.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
findFFmpeg,
|
|
15
15
|
findFFprobe,
|
|
16
16
|
getFFmpegInstallHint
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-S354WIFQ.js";
|
|
18
18
|
import {
|
|
19
19
|
DEFAULT_VP9_CPU_USED,
|
|
20
20
|
SDR_RGB_TO_BT709_FILTER,
|
|
21
21
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
22
22
|
renderProvenanceArgs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RERXOG54.js";
|
|
24
24
|
|
|
25
25
|
// src/background-removal/pipeline.ts
|
|
26
26
|
import { spawn } from "child_process";
|
|
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
|
|
|
270
270
|
}
|
|
271
271
|
async function probeMedia(inputPath) {
|
|
272
272
|
const isImage = inferInputKind(inputPath) === "image";
|
|
273
|
-
const engine = await import("./src-
|
|
273
|
+
const engine = await import("./src-4COYCAFY.js");
|
|
274
274
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
275
275
|
if (isImage) {
|
|
276
276
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -3193,8 +3193,8 @@ async function fontToDataUri(input, originalFormat, options = {}) {
|
|
|
3193
3193
|
if (originalFormat === "woff2") {
|
|
3194
3194
|
return `data:font/woff2;base64,${input.toString("base64")}`;
|
|
3195
3195
|
}
|
|
3196
|
-
if (originalFormat === "ttc") {
|
|
3197
|
-
return `data
|
|
3196
|
+
if (originalFormat === "ttc" || options.compressToWoff2 === false) {
|
|
3197
|
+
return `data:${rawMimeType(originalFormat)};base64,${input.toString("base64")}`;
|
|
3198
3198
|
}
|
|
3199
3199
|
try {
|
|
3200
3200
|
const cachePath = cachedCompressionPath(input, originalFormat, options.cacheDir ?? defaultCacheDir());
|
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FRNKM4MG.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
13
13
|
ensureWhisper,
|
|
14
14
|
hasFFmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NSWIF4VH.js";
|
|
16
16
|
import {
|
|
17
17
|
findFFmpeg,
|
|
18
18
|
findFFprobe,
|
|
19
19
|
getFFmpegInstallHint
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-S354WIFQ.js";
|
|
21
21
|
import {
|
|
22
22
|
findWavChunk
|
|
23
23
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
|
|
8
|
+
// src/utils/copyDir.ts
|
|
9
|
+
import { cpSync } from "fs";
|
|
10
|
+
function copyDirSync(src, dest, options = {}) {
|
|
11
|
+
cpSync(src, dest, { ...options, recursive: true, filter: () => true });
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
copyDirSync
|
|
16
|
+
};
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-DCAI5DBR.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LZT3NUTE.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VEQ7DKPG.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -159,13 +159,16 @@ function desktopInstalled({
|
|
|
159
159
|
return true;
|
|
160
160
|
return DESKTOP_BUNDLE_IDS.some(spotlight);
|
|
161
161
|
}
|
|
162
|
+
function insideHostApp(env = process.env) {
|
|
163
|
+
return Boolean(env.HYPERFRAMES_DESKTOP_PROJECT);
|
|
164
|
+
}
|
|
162
165
|
function desktopHint(dir, {
|
|
163
166
|
env = process.env,
|
|
164
167
|
ready = HANDOFF_READY,
|
|
165
168
|
installed,
|
|
166
169
|
platform = process.platform
|
|
167
170
|
} = {}) {
|
|
168
|
-
if (env
|
|
171
|
+
if (insideHostApp(env)) return null;
|
|
169
172
|
if (ready && (installed ?? desktopInstalled({ platform, env })))
|
|
170
173
|
return `Keep editing by chatting with Framey in the desktop app: ${openCommandFor(dir)}`;
|
|
171
174
|
const url = desktopDownloadUrl(platform);
|
|
@@ -178,5 +181,6 @@ export {
|
|
|
178
181
|
HANDOFF_READY,
|
|
179
182
|
openInDesktop,
|
|
180
183
|
desktopInstalled,
|
|
184
|
+
insideHostApp,
|
|
181
185
|
desktopHint
|
|
182
186
|
};
|