hyperframes 0.8.203 → 0.8.205

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.
Files changed (180) hide show
  1. package/dist/{add-HVWZZBVO.js → add-BA4AU262.js} +11 -11
  2. package/dist/{animatedGifPrep-7SQD4XQY.js → animatedGifPrep-UNUCFGLQ.js} +6 -6
  3. package/dist/api.js +16 -16
  4. package/dist/{asset-H2D5ENJ6.js → asset-KCDVTNC3.js} +2 -2
  5. package/dist/{assetCataloger-PIRQXMHM.js → assetCataloger-5FCVQ3N6.js} +6 -6
  6. package/dist/{audio-F6TTYCGR.js → audio-KDBPEHRS.js} +16 -13
  7. package/dist/{auth-HK5IYSNR.js → auth-IMPBZZXJ.js} +1 -1
  8. package/dist/{autoUpdate-DQMCXE6X.js → autoUpdate-YE2RKCAG.js} +2 -2
  9. package/dist/{backgroundChecks-Y466WV7Y.js → backgroundChecks-OWY2UFSR.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-PGJELR2B.js → batchRender-AN4HWKET.js} +3 -3
  12. package/dist/{beats-AD2IJGBZ.js → beats-VTQJ4JH6.js} +8 -8
  13. package/dist/{benchmark-B564OTLO.js → benchmark-PBEWHJ5K.js} +13 -11
  14. package/dist/{browser-B7BELTLZ.js → browser-E7ANEHNU.js} +5 -5
  15. package/dist/{bundleWithLocalizedFonts-INYZKCJN.js → bundleWithLocalizedFonts-I3BWMRSP.js} +2 -2
  16. package/dist/{capture-LKV2HS5Q.js → capture-MP7R72WU.js} +2 -2
  17. package/dist/{capture-VMJVXQJ2.js → capture-XODFC4S4.js} +10 -10
  18. package/dist/{captureCompositionFrame-L2W6KSAL.js → captureCompositionFrame-2OYGVDI3.js} +11 -11
  19. package/dist/{catalog-5ETWOAL2.js → catalog-ORVCCEQR.js} +11 -11
  20. package/dist/{catch-up-3RWU3BRJ.js → catch-up-SYAQOXTT.js} +4 -4
  21. package/dist/{check-KD57MC5Z.js → check-6SQR6SSA.js} +35 -35
  22. package/dist/{checkBrowser-R72NYI4S.js → checkBrowser-HOTD3CDE.js} +30 -30
  23. package/dist/{chunk-5GFNMC2F.js → chunk-26OI2B2X.js} +1 -1
  24. package/dist/{chunk-CTNWZASM.js → chunk-2FEOM3ZT.js} +3 -3
  25. package/dist/{chunk-HYMW42OE.js → chunk-32R2AFZ3.js} +3 -3
  26. package/dist/{chunk-32SIPBON.js → chunk-3N4T6I3O.js} +1 -1
  27. package/dist/{chunk-IREQUN2P.js → chunk-4RPCYGZG.js} +1 -1
  28. package/dist/{chunk-DZZ6VHPY.js → chunk-4UIEQIF4.js} +2 -2
  29. package/dist/{chunk-TMIX2WQL.js → chunk-57I5KNTL.js} +3 -3
  30. package/dist/{chunk-UVV2DKZR.js → chunk-5F6B6KMK.js} +2 -2
  31. package/dist/{chunk-TVC4EI2W.js → chunk-5PVPGWMH.js} +1 -1
  32. package/dist/{chunk-FRXPZCEP.js → chunk-6GAYBX5C.js} +1 -1
  33. package/dist/{chunk-BD3LJRJT.js → chunk-6NC4KBS2.js} +1 -1
  34. package/dist/{chunk-RUVO77RK.js → chunk-6YYFNGCS.js} +12 -7
  35. package/dist/{chunk-LTGTN2TH.js → chunk-75WNFDRU.js} +1 -1
  36. package/dist/{chunk-7SNVSO4A.js → chunk-7V7OUKTU.js} +1 -1
  37. package/dist/{chunk-CFFPH6D3.js → chunk-A42PDANH.js} +1 -1
  38. package/dist/{chunk-3YZ2ESXP.js → chunk-AECL3B23.js} +1 -1
  39. package/dist/{chunk-UNBGZQZ6.js → chunk-AECSY5LT.js} +194 -80
  40. package/dist/{chunk-KLIKCX6Q.js → chunk-AYH5ANVS.js} +7 -1
  41. package/dist/{chunk-GX4CEJCX.js → chunk-BA7MQJXG.js} +3 -3
  42. package/dist/{chunk-E3LRVXM2.js → chunk-BHOGXIBO.js} +4 -6
  43. package/dist/{chunk-35KHQKEX.js → chunk-BTYT3RT3.js} +1 -1
  44. package/dist/{chunk-HOQNNE3I.js → chunk-BZ727KLT.js} +1 -1
  45. package/dist/{chunk-TRDUMOUW.js → chunk-C4LV6L4Q.js} +3 -3
  46. package/dist/{chunk-CAHZZOEC.js → chunk-CU76YDPX.js} +1 -1
  47. package/dist/{chunk-TZKMAQOY.js → chunk-CUGADCIV.js} +1 -1
  48. package/dist/{chunk-7RQXBL4L.js → chunk-EXRHI43B.js} +7 -7
  49. package/dist/{chunk-GOPGJXEQ.js → chunk-FNBEYIZH.js} +5 -5
  50. package/dist/{chunk-MPGJNUML.js → chunk-G445Y3YG.js} +4 -3
  51. package/dist/{chunk-VYFMJ2HM.js → chunk-GBQCTZON.js} +10 -10
  52. package/dist/{chunk-OKZZWUZN.js → chunk-GLBEBBS2.js} +2 -2
  53. package/dist/{chunk-FE72SB2F.js → chunk-GSTFETKE.js} +1 -1
  54. package/dist/{chunk-VL5ES6ZM.js → chunk-H4MSJ2NZ.js} +5 -5
  55. package/dist/{chunk-ML7IPYOC.js → chunk-HADQPG7O.js} +1 -1
  56. package/dist/{chunk-JEFIEL6S.js → chunk-HQ3CFNHL.js} +1 -1
  57. package/dist/{chunk-FTARAZAL.js → chunk-I7IXUCKL.js} +1 -1
  58. package/dist/{chunk-JKUVH7BF.js → chunk-IKYXXIMP.js} +1 -1
  59. package/dist/{chunk-RWHMKGJA.js → chunk-J2E3VVOS.js} +4 -4
  60. package/dist/{chunk-TT6HSBYK.js → chunk-JFNB4CMI.js} +5 -5
  61. package/dist/{chunk-X5PKA5KH.js → chunk-KAIQPYCM.js} +2 -2
  62. package/dist/{chunk-H6NXL4VB.js → chunk-KBZSMKKD.js} +3 -3
  63. package/dist/{chunk-IDASYE4U.js → chunk-KVNXEAVT.js} +4 -1
  64. package/dist/{chunk-YOLS2E5P.js → chunk-L6N2TLXR.js} +18 -18
  65. package/dist/{chunk-R36C6H32.js → chunk-LQUMMPGK.js} +1 -1
  66. package/dist/{chunk-Q6B7MFTU.js → chunk-LSQM3NBR.js} +1 -1
  67. package/dist/{chunk-B7MRZJOW.js → chunk-MASFRPCB.js} +10 -10
  68. package/dist/{chunk-KWQWEY6F.js → chunk-MVXOY5RC.js} +1 -1
  69. package/dist/{chunk-WGZOPGHX.js → chunk-N7VQD4WB.js} +1 -1
  70. package/dist/{chunk-HAKKV3SY.js → chunk-NF6KI46X.js} +23 -15
  71. package/dist/{chunk-OKRH4JU3.js → chunk-OB7QARSN.js} +1 -1
  72. package/dist/{chunk-JVWPKIVV.js → chunk-RQDVTUVD.js} +14 -14
  73. package/dist/{chunk-4GV742H2.js → chunk-RWOWD3PW.js} +2 -2
  74. package/dist/{chunk-KBCV6BHL.js → chunk-T2UR3T4L.js} +76 -52
  75. package/dist/{chunk-RZAPLMVM.js → chunk-TGS33LDU.js} +3 -3
  76. package/dist/{chunk-YJKSLCKV.js → chunk-TOEIJ4WF.js} +5 -5
  77. package/dist/{chunk-3NUFUEAX.js → chunk-TZ7MTRVJ.js} +13 -13
  78. package/dist/{chunk-HO2N4UWV.js → chunk-UEOGIZ3Q.js} +2 -2
  79. package/dist/{chunk-ND5ELD7A.js → chunk-UR6BAPOD.js} +1 -1
  80. package/dist/{chunk-2G6EI3WQ.js → chunk-V2XXV2EH.js} +1 -1
  81. package/dist/{chunk-BL4U6U52.js → chunk-V4K4BSCM.js} +16 -5
  82. package/dist/{chunk-QB4K2EWI.js → chunk-WB55EQNJ.js} +1 -1
  83. package/dist/{chunk-DO2OTFCJ.js → chunk-XNAIYEKD.js} +1 -1
  84. package/dist/{chunk-GOWNPWCJ.js → chunk-ZB6SCA4J.js} +1 -1
  85. package/dist/{chunk-VI7GBPF6.js → chunk-ZSUWGNIT.js} +2 -2
  86. package/dist/chunk-ZUQZP6QD.js +3986 -0
  87. package/dist/{clean-7OBS6NMK.js → clean-BW7NHQS5.js} +18 -18
  88. package/dist/cli.js +81 -59
  89. package/dist/{cloud-JFL6IMUV.js → cloud-TZVXTWZO.js} +4 -4
  90. package/dist/{cloudrun-GHA4FXS3.js → cloudrun-KRIETALO.js} +4 -4
  91. package/dist/{compare-UFTPPNLD.js → compare-WYWHJ4CR.js} +27 -27
  92. package/dist/{compiler-6LUGBYWD.js → compiler-ANIPXLJ7.js} +7 -3
  93. package/dist/{component-4W3MT53Y.js → component-CY7DCX56.js} +3 -3
  94. package/dist/{compositions-63M4AHPA.js → compositions-5YEB24E3.js} +10 -10
  95. package/dist/{delete-XCSORSYR.js → delete-6642PDON.js} +2 -2
  96. package/dist/{deploy-JUC2BVCE.js → deploy-NZP6TZLS.js} +1 -1
  97. package/dist/{dist-SOMNYPEE.js → dist-DGFC75NC.js} +2 -2
  98. package/dist/{dist-6JMYDD7F.js → dist-V2BGP46S.js} +1 -1
  99. package/dist/docs/examples.md +31 -7
  100. package/dist/{doctor-LZ5KMUGS.js → doctor-ZW4A2FS3.js} +12 -12
  101. package/dist/{events-DSJDLP3V.js → events-NJU4VFDA.js} +3 -3
  102. package/dist/{events-XN26WXN3.js → events-XRCHY2F6.js} +2 -2
  103. package/dist/{feedback-VZZT77OU.js → feedback-NQLSZMES.js} +7 -7
  104. package/dist/{ffmpeg-TU5BPXP6.js → ffmpeg-RYDQLG3G.js} +7 -7
  105. package/dist/{figma-BYBMKBNS.js → figma-TJAMP2CI.js} +3 -3
  106. package/dist/fontLocalizeCli.js +9 -9
  107. package/dist/{get-JAKXQVNF.js → get-RRZ3O26X.js} +2 -2
  108. package/dist/{gpuPolicy-A6BRKFTK.js → gpuPolicy-4WLHUUS3.js} +6 -6
  109. package/dist/{grade-compare-6TLS63GE.js → grade-compare-P7PE3NAA.js} +29 -29
  110. package/dist/{help-WMABNXSF.js → help-6RELRVIW.js} +1 -1
  111. package/dist/{history-PNOTK4KM.js → history-GIIDYND3.js} +6 -6
  112. package/dist/hyperframe.manifest.json +1 -1
  113. package/dist/hyperframe.runtime.iife.js +17 -17
  114. package/dist/hyperframes-player.global.js +3 -3
  115. package/dist/{info-457IZRNA.js → info-LBUA2DXE.js} +7 -7
  116. package/dist/{init-QNOPZRQJ.js → init-QUPXBONY.js} +30 -33
  117. package/dist/{inspect-4PECXE65.js → inspect-CL42DJZ4.js} +28 -28
  118. package/dist/{installer-K6VCZN74.js → installer-VR7XDLR3.js} +4 -4
  119. package/dist/{keyframes-KBR4RHQO.js → keyframes-LELLROMA.js} +6 -6
  120. package/dist/{lambda-FSC3XJOQ.js → lambda-I6KFXWOO.js} +6 -6
  121. package/dist/{layout-PFXAKL65.js → layout-NR6SNRZE.js} +28 -28
  122. package/dist/{lint-MR7WHCBO.js → lint-DYEMSEQR.js} +7 -7
  123. package/dist/{lintProject-4IVYXS5J.js → lintProject-EA4NPL2X.js} +1 -1
  124. package/dist/{list-OCSE7GSX.js → list-RDURYO5U.js} +2 -2
  125. package/dist/{login-M4L3MHVL.js → login-VKLET5OL.js} +4 -4
  126. package/dist/{manager-F34TSFV6.js → manager-7TSUZKXU.js} +2 -2
  127. package/dist/{manager-G6G2WQU3.js → manager-IYT3THJN.js} +8 -8
  128. package/dist/{media-treatment-6ATFI5M2.js → media-treatment-I4AFEQZ3.js} +13 -13
  129. package/dist/{models-NPSWNLVS.js → models-LLPVGC2E.js} +12 -12
  130. package/dist/{motionShot-HVPC2V7Q.js → motionShot-6A6HH6IK.js} +15 -15
  131. package/dist/{normalize-audio-YEEAY2TB.js → normalize-audio-KVQJBYLT.js} +7 -7
  132. package/dist/{open-6LSE4QDQ.js → open-J4ZT4X3C.js} +14 -13
  133. package/dist/{parakeetRunner-HMDK2MEQ.js → parakeetRunner-FLUCIDIZ.js} +13 -13
  134. package/dist/{pipeline-GQV2DL2T.js → pipeline-RRVLGALQ.js} +8 -8
  135. package/dist/{play-NORPMDGV.js → play-QGJSXUVM.js} +19 -19
  136. package/dist/{preflight-SDPP63GU.js → preflight-SP2ZERBE.js} +9 -9
  137. package/dist/{present-BVPAEHE6.js → present-UR4YBHMX.js} +15 -15
  138. package/dist/{preview-C762R2VY.js → preview-6ENCRU4C.js} +19 -19
  139. package/dist/{producer-XXFVYAW6.js → producer-OMHZRY6A.js} +1 -1
  140. package/dist/{projectConfig-72HEHSHM.js → projectConfig-NGS7GJ47.js} +6 -6
  141. package/dist/{publication-QOK2NB7H.js → publication-6NYQA22Y.js} +2 -2
  142. package/dist/{publish-OVCPM2R4.js → publish-E6RE5VHB.js} +9 -9
  143. package/dist/{remove-background-BK7G24LO.js → remove-background-66PQRA7R.js} +9 -9
  144. package/dist/{render-BA4DJGH2.js → render-IMSGS6BD.js} +32 -32
  145. package/dist/{render-3RV5ZZHB.js → render-SBAZWXPO.js} +5 -5
  146. package/dist/{render-KCRWPUSH.js → render-ZLRJUFMX.js} +15 -15
  147. package/dist/{render-batch-EKMNALAK.js → render-batch-MO7LYZSP.js} +5 -5
  148. package/dist/renderSetupWorker.js +4 -4
  149. package/dist/{resolver-ZQAEKX2N.js → resolver-QMBVTAKT.js} +4 -4
  150. package/dist/{sherpa-UPEEZCVJ.js → sherpa-JZRDL3OE.js} +12 -12
  151. package/dist/skills/hyperframes/references/types/launch.md +12 -2
  152. package/dist/skills/media-use/references/memory.md +4 -0
  153. package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +173 -0
  154. package/dist/skills/media-use/scripts/lib/prefs-store.mjs +46 -28
  155. package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +56 -0
  156. package/dist/{skills-EBCABDEA.js → skills-YBTEWFYS.js} +5 -5
  157. package/dist/{skillsUpdateCheck-2TBQ3R7X.js → skillsUpdateCheck-Z4HTDZJN.js} +3 -3
  158. package/dist/{snapshot-KRDQ6UFY.js → snapshot-5F5UV6H5.js} +33 -33
  159. package/dist/{src-FMPMLWOE.js → src-UTW3F2PM.js} +5 -5
  160. package/dist/{src-HODRARUH.js → src-WWXYV2TS.js} +8 -8
  161. package/dist/{staticProjectServer-NBWPYBIH.js → staticProjectServer-UHZ63C5O.js} +16 -16
  162. package/dist/studio/assets/{hyperframes-player-C3pgGOtp.js → hyperframes-player-DzdSmJdB.js} +3 -3
  163. package/dist/studio/assets/{index-5EFQxr70.js → index-C8hp9Y7c.js} +1 -1
  164. package/dist/studio/assets/{index-BbcMyD3j.js → index-dy6GQJn4.js} +116 -116
  165. package/dist/studio/index.html +1 -1
  166. package/dist/{studio-api-BOV2DTPC.js → studio-api-BHZ3PHL2.js} +9 -9
  167. package/dist/{studioServer-TSKSIQC3.js → studioServer-AFUXWRB5.js} +53 -52
  168. package/dist/{telemetry-RLKGEBGR.js → telemetry-UYKOT4OJ.js} +3 -3
  169. package/dist/{timeline-ADFTKSNX.js → timeline-K5NLEMH4.js} +17 -17
  170. package/dist/{tokens-2NKS4KAO.js → tokens-FCOSWE2O.js} +2 -2
  171. package/dist/{transcribe-AHNMYPY4.js → transcribe-K2QTXDQR.js} +17 -17
  172. package/dist/{transcribe-63XQBLF3.js → transcribe-SIFMTW5W.js} +11 -11
  173. package/dist/{updateCheck-XDYXIVKF.js → updateCheck-JZ6TBZVE.js} +2 -2
  174. package/dist/{upgrade-GK2RSMPV.js → upgrade-TUPAJXQQ.js} +2 -2
  175. package/dist/{urlDownloader-X2B7NQSQ.js → urlDownloader-L4775QID.js} +5 -5
  176. package/dist/{validate-UN4RB6KN.js → validate-4HVVMEBV.js} +22 -22
  177. package/dist/{video-QRWQLU5O.js → video-4OGPF3IE.js} +6 -6
  178. package/dist/warmCheck.js +35 -35
  179. package/package.json +1 -1
  180. package/dist/chunk-42DLVZNO.js +0 -3983
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveOutputResolutionFromSize
9
- } from "./chunk-ML7IPYOC.js";
9
+ } from "./chunk-HADQPG7O.js";
10
10
  import {
11
11
  requireStack
12
12
  } from "./chunk-RIJHDTM5.js";
@@ -14,12 +14,12 @@ import {
14
14
  loadProjectVariableSchema,
15
15
  reportVariableIssues,
16
16
  validateVariablesAgainstSchema
17
- } from "./chunk-35KHQKEX.js";
17
+ } from "./chunk-BTYT3RT3.js";
18
18
  import "./chunk-ZBAF6L74.js";
19
19
  import {
20
20
  errorBox
21
21
  } from "./chunk-K2FLNJVB.js";
22
- import "./chunk-3YZ2ESXP.js";
22
+ import "./chunk-AECL3B23.js";
23
23
  import {
24
24
  runWithConcurrencyLimit
25
25
  } from "./chunk-JHOCK3DG.js";
@@ -30,9 +30,9 @@ import {
30
30
  import {
31
31
  c
32
32
  } from "./chunk-ZTZA4UWZ.js";
33
- import "./chunk-FRXPZCEP.js";
33
+ import "./chunk-6GAYBX5C.js";
34
34
  import "./chunk-RQVDTPGD.js";
35
- import "./chunk-42DLVZNO.js";
35
+ import "./chunk-ZUQZP6QD.js";
36
36
  import "./chunk-VC76R6W2.js";
37
37
  import "./chunk-SVVAUJPL.js";
38
38
  import "./chunk-FR7YBU3H.js";
@@ -9,15 +9,15 @@ import {
9
9
  installLogLine,
10
10
  installProgressLine,
11
11
  releaseOwnedBrowserInstallLock
12
- } from "./chunk-QB4K2EWI.js";
12
+ } from "./chunk-WB55EQNJ.js";
13
13
  import {
14
14
  killOrphanedProcesses
15
- } from "./chunk-LTGTN2TH.js";
15
+ } from "./chunk-75WNFDRU.js";
16
16
  import {
17
17
  installRenderSetupSignalHandlers,
18
18
  renderSetupErrorLine,
19
19
  renderSetupResultLine
20
- } from "./chunk-BL4U6U52.js";
20
+ } from "./chunk-V4K4BSCM.js";
21
21
  import "./chunk-Q5X2B5WT.js";
22
22
  import "./chunk-QSFWGZG6.js";
23
23
  import "./chunk-XT6MXC7A.js";
@@ -25,7 +25,7 @@ import "./chunk-K4MJX7SR.js";
25
25
  import "./chunk-4UMPIPCQ.js";
26
26
  import {
27
27
  lintProject
28
- } from "./chunk-IDASYE4U.js";
28
+ } from "./chunk-KVNXEAVT.js";
29
29
  import "./chunk-VAS6HQX3.js";
30
30
  import "./chunk-PBNWRWKA.js";
31
31
  import "./chunk-CZGHFATT.js";
@@ -11,15 +11,15 @@ import {
11
11
  resolveItemWithDependencies,
12
12
  resolveItemsByTag,
13
13
  unreachableRegistryMessage
14
- } from "./chunk-Q6B7MFTU.js";
14
+ } from "./chunk-LSQM3NBR.js";
15
15
  import "./chunk-JHOCK3DG.js";
16
- import "./chunk-R36C6H32.js";
16
+ import "./chunk-LQUMMPGK.js";
17
17
  import "./chunk-AWDFDFI3.js";
18
18
  import "./chunk-P6LJ4Y32.js";
19
19
  import "./chunk-GMECXFAN.js";
20
- import "./chunk-FRXPZCEP.js";
20
+ import "./chunk-6GAYBX5C.js";
21
21
  import "./chunk-RQVDTPGD.js";
22
- import "./chunk-42DLVZNO.js";
22
+ import "./chunk-ZUQZP6QD.js";
23
23
  import "./chunk-VC76R6W2.js";
24
24
  import "./chunk-SVVAUJPL.js";
25
25
  import "./chunk-FR7YBU3H.js";
@@ -17,22 +17,22 @@ import {
17
17
  sherpaRuntimeLoadError,
18
18
  sherpaUnsupportedReason,
19
19
  transcribeWithSherpa
20
- } from "./chunk-GX4CEJCX.js";
20
+ } from "./chunk-BA7MQJXG.js";
21
21
  import "./chunk-CZUAX3BV.js";
22
22
  import "./chunk-EXAX37XR.js";
23
23
  import "./chunk-6BEFEWFB.js";
24
- import "./chunk-TMIX2WQL.js";
25
- import "./chunk-OKZZWUZN.js";
26
- import "./chunk-BD3LJRJT.js";
24
+ import "./chunk-57I5KNTL.js";
25
+ import "./chunk-GLBEBBS2.js";
26
+ import "./chunk-6NC4KBS2.js";
27
27
  import "./chunk-WQ6ZXHFQ.js";
28
- import "./chunk-DZZ6VHPY.js";
28
+ import "./chunk-4UIEQIF4.js";
29
29
  import "./chunk-EOVYQ3IG.js";
30
- import "./chunk-KBCV6BHL.js";
30
+ import "./chunk-T2UR3T4L.js";
31
31
  import "./chunk-5S7W3TUO.js";
32
- import "./chunk-FRXPZCEP.js";
32
+ import "./chunk-6GAYBX5C.js";
33
33
  import "./chunk-RQVDTPGD.js";
34
- import "./chunk-E3LRVXM2.js";
35
- import "./chunk-42DLVZNO.js";
34
+ import "./chunk-BHOGXIBO.js";
35
+ import "./chunk-ZUQZP6QD.js";
36
36
  import "./chunk-VC76R6W2.js";
37
37
  import "./chunk-SVVAUJPL.js";
38
38
  import "./chunk-FR7YBU3H.js";
@@ -41,12 +41,12 @@ import "./chunk-DPVXBVLL.js";
41
41
  import "./chunk-3GXQPCJC.js";
42
42
  import "./chunk-634HSJ3J.js";
43
43
  import "./chunk-FXMKHHPO.js";
44
- import "./chunk-LTGTN2TH.js";
45
- import "./chunk-BL4U6U52.js";
44
+ import "./chunk-75WNFDRU.js";
45
+ import "./chunk-V4K4BSCM.js";
46
46
  import "./chunk-XT6MXC7A.js";
47
47
  import "./chunk-K4MJX7SR.js";
48
48
  import "./chunk-4UMPIPCQ.js";
49
- import "./chunk-IDASYE4U.js";
49
+ import "./chunk-KVNXEAVT.js";
50
50
  import "./chunk-VAS6HQX3.js";
51
51
  import "./chunk-PBNWRWKA.js";
52
52
  import "./chunk-CZGHFATT.js";
@@ -12,10 +12,20 @@ Everything that claims to be the product is the product. One invented button los
12
12
 
13
13
  ## The product on screen
14
14
 
15
- - Rebuild only the piece the beat uses (the panel, the prompt box, the row that changes) and show it at 1.6–2× its real size; text stays at least 26 px at 1080p after any push. Never a small window in the middle of an empty canvas, never product UI tilted in 3D.
15
+ Captured screens establish what is real; they are not a shot list. A launch film can rearrange verified pieces to explain a result. For a launch, do not substitute a sequence of full-page screenshots with titles for showing what the product does.
16
+
17
+ Plan the relationship between the product and its parts:
18
+
19
+ 1. **Establish the workspace.** Show enough of the real navigation and surrounding interface to locate the task. A whole-product view supplies context; the viewer does not need to read every control.
20
+ 2. **Isolate the action.** Bring the relevant chart, field or result forward. Keep its real labels, values and state; rebuild only the piece the beat uses and show it at 1.6–2× its real size. Text stays at least 26 px at 1080p after any push. Never a small window in the middle of an empty canvas, never product UI tilted in 3D. Let a trace draw, a result populate or a panel open before advancing. A camera move over a frozen screenshot is not the product performing an action.
21
+ 3. **Return the result.** Carry the same component back into its place in the interface, or pull back to show where the output is used. When the result plays inside the product, pull back to reveal its player or zoom through the player until the result fills the frame. A film made only of floating close-ups loses the system they belong to. Do not imply that a rearranged component is an interaction the product actually supports.
22
+
23
+ Keep a short explanation where the action needs one: a phrase naming the change, the relevant label or the meaning of a number. "Less text" does not mean removing the context needed to understand the evidence. Reveal supporting elements across the beat instead of showing everything at its start and extending the hold. Review the transition's intermediate frames as well as its endpoints; carried labels and values must not jump or get covered on the way back into the workspace.
24
+
25
+ For a background or palette revision, update the root, scene surfaces and timeline color tweens together; a later tween can restore the old background. Adjust text, chart strokes and axes for contrast on the new ground, then check frames from every affected scene and transition. Preserve the product's meaningful status colors.
26
+
16
27
  - The camera cycles between the window on its ground, one pane, and a punch-in on one control. Moves take 0.4–0.6 s with motion blur, arrive at the control the cursor needs, then hold while the UI acts.
17
28
  - Containers morph instead of cutting: the button becomes the menu, the message becomes the bubble.
18
- - Pull back to reveal that the result was playing inside the product, or zoom through the player until the result fills the frame.
19
29
  - The cursor is big (4–7% of the frame), enters from off-screen, and its click causes the next thing on the same frame.
20
30
 
21
31
  ## Worlds and transitions
@@ -12,6 +12,10 @@ node <SKILL_DIR>/scripts/prefs.mjs record --hyperframes . --key style_preset --v
12
12
 
13
13
  Only what the user actually confirmed gets recorded — never an inferred or defaulted value. A remembered value becomes the recommended default, shown with where it came from; it never skips a question.
14
14
 
15
+ Preference records serialize writes with `preferences.json.lock` beside each tier's file. If a process stops while holding that lock, later records leave it in place and report "Settings are locked…". After confirming no HyperFrames process is recording preferences, delete the named lock file and retry. A locked personal tier does not fail the project record; personal promotion waits for a later record.
16
+
17
+ Keep the project's preference file committed, and add `.media/*.lock` to the project's `.gitignore` so transient locks are never shared with the team.
18
+
15
19
  ## Recipes — frozen video bundles
16
20
 
17
21
  The heavyweight tier of user memory: one approved run frozen as a named, versioned bundle — `frame.md`, the storyboard skeleton (structure kept, content blanked to per-frame fill-ins), the brief skeleton (from `BRIEF.md` when the project has one — reusable frontmatter kept, run-shape and prose blanked), and the confirmed brief values. Same two tiers: project `.media/recipes/<name>/` (committed) and `~/.media/recipes/<name>/` (a freeze is already a confirmed bundle, so it promotes immediately — no two-project rule). Re-freezing a name bumps `version` and archives the old folder as `<name>@v<N>`.
@@ -0,0 +1,173 @@
1
+ import assert from "node:assert/strict";
2
+ import { fork } from "node:child_process";
3
+ import {
4
+ existsSync,
5
+ mkdirSync,
6
+ mkdtempSync,
7
+ readdirSync,
8
+ readFileSync,
9
+ rmSync,
10
+ utimesSync,
11
+ writeFileSync,
12
+ } from "node:fs";
13
+ import { tmpdir } from "node:os";
14
+ import { dirname, join } from "node:path";
15
+ import { test } from "node:test";
16
+ import { fileURLToPath } from "node:url";
17
+ import { projectPrefsPath, recordPreference, userPrefsPath } from "./prefs-store.mjs";
18
+
19
+ async function inSandbox(task) {
20
+ const root = mkdtempSync(join(tmpdir(), "mu-prefs-concurrent-"));
21
+ const previousHome = process.env.HYPERFRAMES_MEDIA_HOME;
22
+ process.env.HYPERFRAMES_MEDIA_HOME = join(root, "home");
23
+ const project = join(root, "project");
24
+ mkdirSync(project);
25
+ try {
26
+ await task({ root, project });
27
+ } finally {
28
+ if (previousHome === undefined) delete process.env.HYPERFRAMES_MEDIA_HOME;
29
+ else process.env.HYPERFRAMES_MEDIA_HOME = previousHome;
30
+ rmSync(root, { recursive: true, force: true });
31
+ }
32
+ }
33
+
34
+ function worker(root, source, args = []) {
35
+ const path = join(mkdtempSync(join(root, "worker-")), "worker.cjs");
36
+ writeFileSync(path, source);
37
+ const child = fork(path, args, { silent: true, execArgv: [] });
38
+ let stderr = "";
39
+ child.stderr.setEncoding("utf8").on("data", (data) => (stderr += data));
40
+ const ready = new Promise((resolve, reject) => {
41
+ child.once("message", resolve);
42
+ child.once("error", reject);
43
+ child.once("exit", () => reject(new Error(`worker exited before ready: ${stderr}`)));
44
+ });
45
+ const closed = new Promise((resolve, reject) => {
46
+ child.once("error", reject);
47
+ child.once("close", (code) => resolve({ code, stderr }));
48
+ });
49
+ return { child, ready, closed };
50
+ }
51
+
52
+ for (const tier of ["project", "user"]) {
53
+ test(`record re-reads the ${tier} tier after another process releases its lock`, async () => {
54
+ await inSandbox(async ({ root, project }) => {
55
+ const path = tier === "project" ? projectPrefsPath(project) : userPrefsPath();
56
+ mkdirSync(dirname(path), { recursive: true });
57
+ const held = worker(
58
+ root,
59
+ `const fs = require("node:fs");
60
+ const path = process.argv[2];
61
+ fs.writeFileSync(path + ".lock", "held", { flag: "wx" });
62
+ process.send("locked");
63
+ setTimeout(() => {
64
+ fs.writeFileSync(path, JSON.stringify({version: 1,
65
+ preferences: {aspect: {value: "1080x1920", confirmed_in: ["other"]}},
66
+ sightings: {aspect: {"1080x1920": ["other"]}}}));
67
+ fs.rmSync(path + ".lock");
68
+ process.disconnect();
69
+ }, 300);`,
70
+ [path],
71
+ );
72
+ try {
73
+ await held.ready;
74
+ recordPreference({ projectDir: project, key: "destination", value: "youtube-shorts" });
75
+ const result = await held.closed;
76
+ assert.equal(result.code, 0, result.stderr);
77
+ const file = JSON.parse(readFileSync(path, "utf8"));
78
+ assert.equal(file.preferences.aspect?.value, "1080x1920");
79
+ if (tier === "project") {
80
+ assert.equal(file.preferences.destination?.value, "youtube-shorts");
81
+ } else {
82
+ assert.deepEqual(file.sightings.destination?.["youtube-shorts"], ["project"]);
83
+ assert.deepEqual(file.sightings.aspect?.["1080x1920"], ["other"]);
84
+ }
85
+ } finally {
86
+ held.child.kill();
87
+ await held.closed;
88
+ }
89
+ });
90
+ });
91
+ }
92
+
93
+ test("parallel records preserve every project key and promote every shared user sighting", async () => {
94
+ await inSandbox(async ({ root, project }) => {
95
+ const secondProject = join(root, "second-project");
96
+ mkdirSync(secondProject);
97
+ const modulePath = fileURLToPath(new URL("./prefs-store.mjs", import.meta.url));
98
+ const choices = {
99
+ destination: "youtube-shorts",
100
+ aspect: "1080x1920",
101
+ language: "en",
102
+ flow: "automation",
103
+ };
104
+ const children = [project, secondProject].flatMap((projectDir) =>
105
+ Object.entries(choices).map(([key, value]) =>
106
+ worker(
107
+ root,
108
+ `const {pathToFileURL} = require("node:url");
109
+ import(pathToFileURL(process.argv[2])).then(({recordPreference}) => {
110
+ process.send("ready");
111
+ process.once("message", () => {
112
+ try {recordPreference(JSON.parse(process.argv[3]));}
113
+ catch (error) {console.error(error.message); process.exitCode = 1;}
114
+ process.disconnect();
115
+ });
116
+ });`,
117
+ [modulePath, JSON.stringify({ projectDir, key, value })],
118
+ ),
119
+ ),
120
+ );
121
+ try {
122
+ await Promise.all(children.map((child) => child.ready));
123
+ for (const child of children) child.child.send("record");
124
+ const results = await Promise.all(children.map((child) => child.closed));
125
+ for (const result of results) assert.equal(result.code, 0, result.stderr);
126
+ for (const projectDir of [project, secondProject]) {
127
+ const file = JSON.parse(readFileSync(projectPrefsPath(projectDir), "utf8"));
128
+ assert.deepEqual(Object.keys(file.preferences).sort(), Object.keys(choices).sort());
129
+ for (const [key, value] of Object.entries(choices))
130
+ assert.equal(file.preferences[key].value, value);
131
+ assert.deepEqual(readdirSync(dirname(projectPrefsPath(projectDir))), ["preferences.json"]);
132
+ }
133
+ const user = JSON.parse(readFileSync(userPrefsPath(), "utf8"));
134
+ for (const [key, value] of Object.entries(choices)) {
135
+ assert.equal(user.preferences[key].value, value);
136
+ assert.deepEqual(user.sightings[key][value].sort(), ["project", "second-project"]);
137
+ }
138
+ assert.deepEqual(readdirSync(dirname(userPrefsPath())), ["preferences.json"]);
139
+ } finally {
140
+ for (const child of children) child.child.kill();
141
+ await Promise.all(children.map((child) => child.closed));
142
+ }
143
+ });
144
+ });
145
+
146
+ for (const tier of ["project", "user"]) {
147
+ test(`an abandoned ${tier} lock never permits an unlocked preference write`, async () => {
148
+ await inSandbox(async ({ project }) => {
149
+ const path = tier === "project" ? projectPrefsPath(project) : userPrefsPath();
150
+ mkdirSync(dirname(path), { recursive: true });
151
+ const original = JSON.stringify({ version: 1, preferences: {}, sightings: {} });
152
+ writeFileSync(path, original);
153
+ const lock = `${path}.lock`;
154
+ writeFileSync(lock, "abandoned");
155
+ const past = new Date(Date.now() - 60_000);
156
+ utimesSync(lock, past, past);
157
+ const record = () => recordPreference({ projectDir: project, key: "language", value: "en" });
158
+ if (tier === "project") {
159
+ assert.throws(record, (error) => error.code === "HF_SETTINGS_LOCKED");
160
+ assert.equal(existsSync(userPrefsPath()), false);
161
+ } else {
162
+ assert.equal(record().promoted, false);
163
+ assert.equal(
164
+ JSON.parse(readFileSync(projectPrefsPath(project), "utf8")).preferences.language.value,
165
+ "en",
166
+ );
167
+ }
168
+ assert.equal(readFileSync(path, "utf8"), original);
169
+ assert.equal(readFileSync(lock, "utf8"), "abandoned");
170
+ assert.equal(existsSync(`${path}.${process.pid}.tmp`), false);
171
+ });
172
+ });
173
+ }
@@ -1,5 +1,7 @@
1
1
  import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
2
+ import * as fs from "node:fs";
2
3
  import { basename, dirname, join, resolve } from "node:path";
4
+ import { withFileLock } from "./config-lock.mjs";
3
5
  import { globalMediaDir } from "./media-home.mjs";
4
6
 
5
7
  /**
@@ -70,10 +72,25 @@ function readPrefsFile(path) {
70
72
 
71
73
  /** Atomic write (tmp + rename) so a crash never leaves a torn file. */
72
74
  function writePrefsFile(path, file) {
75
+ const tmp = `${path}.${process.pid}.tmp`;
76
+ try {
77
+ writeFileSync(tmp, `${JSON.stringify(file, null, 2)}\n`);
78
+ renameSync(tmp, path);
79
+ } finally {
80
+ try {
81
+ fs.rmSync(tmp, { force: true });
82
+ } catch {}
83
+ }
84
+ }
85
+
86
+ function updatePrefsFile(path, update) {
73
87
  mkdirSync(dirname(path), { recursive: true });
74
- const tmp = `${path}.tmp`;
75
- writeFileSync(tmp, `${JSON.stringify(file, null, 2)}\n`);
76
- renameSync(tmp, path);
88
+ return withFileLock(`${path}.lock`, fs, () => {
89
+ const file = readPrefsFile(path);
90
+ const result = update(file);
91
+ writePrefsFile(path, file);
92
+ return result;
93
+ });
77
94
  }
78
95
 
79
96
  /** `style_preset` entries are stored per workflow as `style_preset.<workflow>`. */
@@ -112,16 +129,18 @@ function dedupe(list) {
112
129
  * provenance over (the old confirmations vouched for the old value).
113
130
  */
114
131
  function recordProjectTier(projectDir, fullKey, value, projectName, now) {
115
- const path = projectPrefsPath(projectDir);
116
- const file = readPrefsFile(path);
117
- const previous = file.preferences[fullKey];
118
- const keepProvenance = validEntry(previous) && previous.value === value;
119
- const confirmedIn = keepProvenance
120
- ? dedupe([...(Array.isArray(previous.confirmed_in) ? previous.confirmed_in : []), projectName])
121
- : [projectName];
122
- file.preferences[fullKey] = { value, confirmed_in: confirmedIn, updated_at: now };
123
- writePrefsFile(path, file);
124
- return confirmedIn;
132
+ return updatePrefsFile(projectPrefsPath(projectDir), (file) => {
133
+ const previous = file.preferences[fullKey];
134
+ const keepProvenance = validEntry(previous) && previous.value === value;
135
+ const confirmedIn = keepProvenance
136
+ ? dedupe([
137
+ ...(Array.isArray(previous.confirmed_in) ? previous.confirmed_in : []),
138
+ projectName,
139
+ ])
140
+ : [projectName];
141
+ file.preferences[fullKey] = { value, confirmed_in: confirmedIn, updated_at: now };
142
+ return confirmedIn;
143
+ });
125
144
  }
126
145
 
127
146
  /**
@@ -129,21 +148,20 @@ function recordProjectTier(projectDir, fullKey, value, projectName, now) {
129
148
  * the same value has been confirmed in PROMOTE_AT distinct projects.
130
149
  */
131
150
  function recordUserSighting(fullKey, value, projectName, now) {
132
- const path = userPrefsPath();
133
- const file = readPrefsFile(path);
134
- const keySightings = isRecord(file.sightings[fullKey]) ? file.sightings[fullKey] : {};
135
- const seenIn = dedupe([
136
- ...(Array.isArray(keySightings[value]) ? keySightings[value] : []),
137
- projectName,
138
- ]);
139
- keySightings[value] = seenIn;
140
- file.sightings[fullKey] = keySightings;
141
- const promoted = seenIn.length >= PROMOTE_AT;
142
- if (promoted) {
143
- file.preferences[fullKey] = { value, confirmed_in: seenIn, updated_at: now };
144
- }
145
- writePrefsFile(path, file);
146
- return promoted;
151
+ return updatePrefsFile(userPrefsPath(), (file) => {
152
+ const keySightings = isRecord(file.sightings[fullKey]) ? file.sightings[fullKey] : {};
153
+ const seenIn = dedupe([
154
+ ...(Array.isArray(keySightings[value]) ? keySightings[value] : []),
155
+ projectName,
156
+ ]);
157
+ keySightings[value] = seenIn;
158
+ file.sightings[fullKey] = keySightings;
159
+ const promoted = seenIn.length >= PROMOTE_AT;
160
+ if (promoted) {
161
+ file.preferences[fullKey] = { value, confirmed_in: seenIn, updated_at: now };
162
+ }
163
+ return promoted;
164
+ });
147
165
  }
148
166
 
149
167
  /**
@@ -1,6 +1,8 @@
1
1
  import { strict as assert } from "node:assert";
2
2
  import { test } from "node:test";
3
3
  import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
4
+ import fs from "node:fs";
5
+ import { syncBuiltinESMExports } from "node:module";
4
6
  import { tmpdir } from "node:os";
5
7
  import { join } from "node:path";
6
8
  import {
@@ -39,6 +41,60 @@ function withSandbox(fn) {
39
41
  }
40
42
  }
41
43
 
44
+ for (const code of ["EPERM", "EBUSY"]) {
45
+ test(`temporary-file cleanup ${code} does not fail a successful preference record`, (t) => {
46
+ const remove = fs.rmSync;
47
+ t.mock.method(fs, "rmSync", (path, options) => {
48
+ if (path.endsWith(".tmp")) throw Object.assign(new Error("cleanup failed"), { code });
49
+ return remove(path, options);
50
+ });
51
+ syncBuiltinESMExports();
52
+ t.after(() => {
53
+ t.mock.restoreAll();
54
+ syncBuiltinESMExports();
55
+ });
56
+
57
+ withSandbox(({ projectA, projectB }) => {
58
+ recordPreference({ projectDir: projectA, key: "language", value: "en" });
59
+ const second = recordPreference({ projectDir: projectB, key: "language", value: "en" });
60
+ assert.equal(second.promoted, true);
61
+ for (const path of [
62
+ projectPrefsPath(projectA),
63
+ projectPrefsPath(projectB),
64
+ userPrefsPath(),
65
+ ]) {
66
+ assert.equal(JSON.parse(readFileSync(path, "utf8")).preferences.language.value, "en");
67
+ }
68
+ });
69
+ });
70
+
71
+ test(`temporary-file cleanup ${code} preserves the original preference write error`, (t) => {
72
+ const remove = fs.rmSync;
73
+ const write = fs.writeFileSync;
74
+ const writeError = Object.assign(new Error("disk full"), { code: "ENOSPC" });
75
+ t.mock.method(fs, "rmSync", (path, options) => {
76
+ if (path.endsWith(".tmp")) throw Object.assign(new Error("cleanup failed"), { code });
77
+ return remove(path, options);
78
+ });
79
+ t.mock.method(fs, "writeFileSync", (path, ...args) => {
80
+ if (path.endsWith(".tmp")) throw writeError;
81
+ return write(path, ...args);
82
+ });
83
+ syncBuiltinESMExports();
84
+ t.after(() => {
85
+ t.mock.restoreAll();
86
+ syncBuiltinESMExports();
87
+ });
88
+
89
+ withSandbox(({ projectA }) => {
90
+ assert.throws(
91
+ () => recordPreference({ projectDir: projectA, key: "language", value: "en" }),
92
+ (error) => error === writeError,
93
+ );
94
+ });
95
+ });
96
+ }
97
+
42
98
  test("record writes the project tier and get merges it as source=project", () => {
43
99
  withSandbox(({ projectA }) => {
44
100
  const result = recordPreference({ projectDir: projectA, key: "destination", value: "x-feed" });
@@ -15,8 +15,8 @@ import {
15
15
  } from "./chunk-WMQNIQDJ.js";
16
16
  import {
17
17
  trackSkillsInstallSkipped
18
- } from "./chunk-FTARAZAL.js";
19
- import "./chunk-7SNVSO4A.js";
18
+ } from "./chunk-I7IXUCKL.js";
19
+ import "./chunk-7V7OUKTU.js";
20
20
  import {
21
21
  diag
22
22
  } from "./chunk-VWG7OQKU.js";
@@ -45,15 +45,15 @@ import {
45
45
  isCoreSkill,
46
46
  presentSkills,
47
47
  retiredSkillNotice
48
- } from "./chunk-JEFIEL6S.js";
48
+ } from "./chunk-HQ3CFNHL.js";
49
49
  import {
50
50
  withMeta
51
- } from "./chunk-OKRH4JU3.js";
51
+ } from "./chunk-OB7QARSN.js";
52
52
  import "./chunk-K4WIOZFP.js";
53
53
  import "./chunk-PSX5SF2N.js";
54
54
  import "./chunk-WERLJGIC.js";
55
55
  import "./chunk-ISN5GRYI.js";
56
- import "./chunk-X5PKA5KH.js";
56
+ import "./chunk-KAIQPYCM.js";
57
57
  import "./chunk-T2EUWCJE.js";
58
58
  import "./chunk-M2WBOQ2Q.js";
59
59
 
@@ -9,13 +9,13 @@ import {
9
9
  printSkillsUpdateNotice,
10
10
  refreshSkillsCache,
11
11
  skillsCheckDue
12
- } from "./chunk-JEFIEL6S.js";
13
- import "./chunk-OKRH4JU3.js";
12
+ } from "./chunk-HQ3CFNHL.js";
13
+ import "./chunk-OB7QARSN.js";
14
14
  import "./chunk-K4WIOZFP.js";
15
15
  import "./chunk-PSX5SF2N.js";
16
16
  import "./chunk-WERLJGIC.js";
17
17
  import "./chunk-ISN5GRYI.js";
18
- import "./chunk-X5PKA5KH.js";
18
+ import "./chunk-KAIQPYCM.js";
19
19
  import "./chunk-T2EUWCJE.js";
20
20
  import "./chunk-M2WBOQ2Q.js";
21
21
  export {