hyperframes 0.9.65 → 0.9.66

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 (320) hide show
  1. package/dist/{add-FFPEN3PI.js → add-Q4W2PAZ6.js} +22 -21
  2. package/dist/{agentPromptGenerator-3XDVEOI4.js → agentPromptGenerator-BZ77OPI4.js} +14 -13
  3. package/dist/{animatedGifPrep-FF5MNK4G.js → animatedGifPrep-3UBRNEEA.js} +15 -14
  4. package/dist/api.js +51 -49
  5. package/dist/{appHistory-VNIOZU2X.js → appHistory-EWII7S5X.js} +4 -4
  6. package/dist/{asset-CL3LGWHN.js → asset-ZRTGYYEN.js} +10 -9
  7. package/dist/{assetCataloger-EJWPZR2U.js → assetCataloger-GTSOUOBQ.js} +15 -14
  8. package/dist/{audio-YXOB2W6Y.js → audio-ZUW3RHEO.js} +30 -28
  9. package/dist/{auth-M7A4TSPO.js → auth-TE5FMKUT.js} +4 -4
  10. package/dist/{autoUpdate-6YQYHQGW.js → autoUpdate-6JGNDMLP.js} +24 -10
  11. package/dist/{avatars-77IWARZP.js → avatars-BJEF4TZR.js} +23 -21
  12. package/dist/{backgroundChecks-M4NIDGIA.js → backgroundChecks-EN5XLRLY.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-YSKM7TNL.js → batchRender-EEMYIEYR.js} +13 -10
  15. package/dist/{beats-LRU6EJRT.js → beats-IPGSP5BV.js} +14 -13
  16. package/dist/{benchmark-CHHCVFKH.js → benchmark-GZOATIPM.js} +25 -22
  17. package/dist/{billing-LLO6AH2P.js → billing-3LF2YYP7.js} +22 -20
  18. package/dist/{browser-QCBYOBPV.js → browser-2IH45NN6.js} +12 -11
  19. package/dist/{bundleWithLocalizedFonts-QKUGP6QU.js → bundleWithLocalizedFonts-QV6WDOXF.js} +1 -1
  20. package/dist/{capture-22DC6YXT.js → capture-4SIGWC4Q.js} +10 -9
  21. package/dist/{capture-7CIWJP57.js → capture-K75SADNY.js} +26 -25
  22. package/dist/{captureCompositionFrame-QKU2OEUO.js → captureCompositionFrame-XVEPPU4X.js} +21 -20
  23. package/dist/{captureFile-FNCMGYYJ.js → captureFile-GYZI5Y56.js} +3 -3
  24. package/dist/{catalog-KM43JIX6.js → catalog-6N22YQEE.js} +22 -21
  25. package/dist/{catch-up-QSCE5EWT.js → catch-up-67LVADSA.js} +14 -13
  26. package/dist/{check-OHWGWJX6.js → check-NYD3WGR2.js} +55 -54
  27. package/dist/{checkAudio-7LMFGTYQ.js → checkAudio-APZTSEHX.js} +17 -16
  28. package/dist/{checkBrowser-EEH265TZ.js → checkBrowser-2UA6O65I.js} +47 -46
  29. package/dist/{chunk-IOYTXBFK.js → chunk-244FN6TG.js} +1 -1
  30. package/dist/{chunk-3JVTHNDH.js → chunk-2FEZFXKE.js} +1 -1
  31. package/dist/{chunk-LLLOUHO6.js → chunk-2OSPWUGX.js} +7 -6
  32. package/dist/{chunk-W2CXA2CN.js → chunk-2UIAN6N7.js} +1 -1
  33. package/dist/{chunk-E3OFFWRD.js → chunk-2Z7IW5EY.js} +2 -2
  34. package/dist/{chunk-2WXCQT4F.js → chunk-35BZXE5L.js} +1 -1
  35. package/dist/{chunk-Z2B2CQO3.js → chunk-37SEGJEO.js} +11 -11
  36. package/dist/{chunk-RCP2VEJJ.js → chunk-3B4WQYCW.js} +6 -6
  37. package/dist/{chunk-VIA6UCV5.js → chunk-3BKNPN36.js} +37 -3
  38. package/dist/{chunk-ALTOXXDI.js → chunk-3ODOQWSB.js} +10 -5
  39. package/dist/{chunk-UCWQU7EY.js → chunk-3WE4UZHN.js} +2 -2
  40. package/dist/{chunk-OCBC4P6O.js → chunk-4IIPERO4.js} +1 -1
  41. package/dist/{chunk-FHIOPTN4.js → chunk-4SY34UA2.js} +1 -1
  42. package/dist/{chunk-7R7OCEHI.js → chunk-4WUTXBRK.js} +6 -6
  43. package/dist/{chunk-RC2DDVX5.js → chunk-5E46EQ3U.js} +2 -2
  44. package/dist/{chunk-BYCOI5AI.js → chunk-5UOYRGKV.js} +2 -2
  45. package/dist/{chunk-UL2EO5VU.js → chunk-5WZSXP6R.js} +1 -1
  46. package/dist/{chunk-X63QVLMJ.js → chunk-64O3DG3E.js} +1 -1
  47. package/dist/{chunk-AYTEZDHI.js → chunk-66D5BC5K.js} +9 -4
  48. package/dist/{chunk-C6J6TZSW.js → chunk-6ACARSAZ.js} +1 -1
  49. package/dist/{chunk-5JB52EL2.js → chunk-6PGDI5NG.js} +154 -84
  50. package/dist/{chunk-A63XME5P.js → chunk-6PYUPO4M.js} +4 -4
  51. package/dist/{chunk-CNCE57K2.js → chunk-6QITYZN7.js} +2 -2
  52. package/dist/{chunk-QRDITHEZ.js → chunk-6QZNF3JF.js} +26 -27
  53. package/dist/chunk-6SYJN2KD.js +15 -0
  54. package/dist/{chunk-777GBBTE.js → chunk-6VNN3SYK.js} +1 -1
  55. package/dist/{chunk-AQFA2WPD.js → chunk-745HLQBA.js} +1 -1
  56. package/dist/{chunk-F4V523HB.js → chunk-74M47HVE.js} +2 -2
  57. package/dist/{chunk-TIB6KUSP.js → chunk-7BREEOLQ.js} +16 -16
  58. package/dist/{chunk-FZKN2NC4.js → chunk-7CKKKBNM.js} +2 -2
  59. package/dist/{chunk-3W4FG7IG.js → chunk-7EOREMZI.js} +12 -12
  60. package/dist/{chunk-AR3R2DZI.js → chunk-7LQFVACU.js} +1 -1
  61. package/dist/{chunk-VCTPYHOD.js → chunk-7QNCNGN6.js} +2 -2
  62. package/dist/{chunk-JBKVY4PY.js → chunk-A6O65H7G.js} +4 -4
  63. package/dist/{chunk-OYFDQ5QW.js → chunk-AAZF6D3Z.js} +1 -1
  64. package/dist/{chunk-BSGHUXHX.js → chunk-AI4MXYGK.js} +1 -1
  65. package/dist/{chunk-4W4QOYPI.js → chunk-AI5KNXSL.js} +8 -8
  66. package/dist/{chunk-ZJQ23DJQ.js → chunk-AQBWVIT7.js} +1 -1
  67. package/dist/{chunk-NMYYW6QM.js → chunk-AQNI4TCF.js} +23 -15
  68. package/dist/{chunk-GJ52L66E.js → chunk-AWOHPIKF.js} +9 -9
  69. package/dist/{chunk-LBDQJRCK.js → chunk-BSY6ZHP6.js} +1 -1
  70. package/dist/{chunk-JP7BQ4WS.js → chunk-CANVWJB4.js} +13 -11
  71. package/dist/{chunk-7CCETF2U.js → chunk-CEHYC2UD.js} +3 -3
  72. package/dist/{chunk-HYO4DIYT.js → chunk-CPQTWPMM.js} +1 -1
  73. package/dist/{chunk-Y273NNG5.js → chunk-CTDCYNVK.js} +2 -2
  74. package/dist/{chunk-GEEATBFF.js → chunk-CUOX3TDY.js} +3 -3
  75. package/dist/{chunk-DZNWYUBA.js → chunk-D5YHSTHZ.js} +3 -3
  76. package/dist/{chunk-F2GQH6G4.js → chunk-DPMEWIVZ.js} +4 -4
  77. package/dist/{chunk-FZRFTW5X.js → chunk-DZ3JB4F3.js} +2 -2
  78. package/dist/{chunk-OHY27IY2.js → chunk-EIION6EA.js} +2 -2
  79. package/dist/{chunk-GVGUOYNC.js → chunk-EPBYIJPM.js} +1 -1
  80. package/dist/{chunk-EUXQMNUT.js → chunk-ESYW3LJU.js} +2 -2
  81. package/dist/{chunk-3U2W7LJU.js → chunk-FAJRDYFU.js} +6 -6
  82. package/dist/{chunk-GB5RKTLO.js → chunk-FBOKUG5B.js} +5 -5
  83. package/dist/{chunk-XHW57QCG.js → chunk-FCNBAYZ6.js} +3 -3
  84. package/dist/{chunk-XDVHQFEQ.js → chunk-FOALZ4MW.js} +1 -1
  85. package/dist/{chunk-GDKNEQ4E.js → chunk-GGY5M6BU.js} +1 -1
  86. package/dist/{chunk-NDXUDTLF.js → chunk-GXKCFOMR.js} +2 -2
  87. package/dist/{chunk-3WUKMGJN.js → chunk-H6LFXHAV.js} +7 -7
  88. package/dist/{chunk-WNU7WC46.js → chunk-HMNDJPLQ.js} +3 -3
  89. package/dist/{chunk-A6AH56HN.js → chunk-HYQ6S7R6.js} +2 -2
  90. package/dist/{chunk-TNTXAGHK.js → chunk-IUUEMVZV.js} +2 -2
  91. package/dist/{chunk-XP6BVUGU.js → chunk-IXGZSANV.js} +2 -2
  92. package/dist/{chunk-EMIOIMHN.js → chunk-IXSCGQS5.js} +1 -1
  93. package/dist/{chunk-2QIRDNBU.js → chunk-JDJ6BM5E.js} +2 -2
  94. package/dist/{chunk-AOSTTTSS.js → chunk-JGKI7FHX.js} +130 -42
  95. package/dist/{chunk-VSDYSL4J.js → chunk-JHPOKDZI.js} +13 -13
  96. package/dist/{chunk-YGO6PEYX.js → chunk-JK7JON6R.js} +1 -1
  97. package/dist/{chunk-6KVZKKQL.js → chunk-K2NOQNNY.js} +1 -1
  98. package/dist/{chunk-PH3MZM27.js → chunk-KDQRJHLU.js} +4 -4
  99. package/dist/{chunk-DQD5KQXM.js → chunk-KFWSPEDG.js} +1 -1
  100. package/dist/{chunk-5VERYJGC.js → chunk-KXCAIQE4.js} +5 -5
  101. package/dist/{chunk-IH2C53YV.js → chunk-KZ5PV5TL.js} +11 -9
  102. package/dist/{chunk-6XUAMVHS.js → chunk-L7BY2FDJ.js} +16 -16
  103. package/dist/{chunk-HXUZGW3A.js → chunk-LAXD6VM7.js} +10 -10
  104. package/dist/{chunk-3FHYTUFQ.js → chunk-LBFV45YF.js} +1 -1
  105. package/dist/{chunk-FXMKHHPO.js → chunk-LIHELBPB.js} +0 -61
  106. package/dist/{chunk-2TEG3AY6.js → chunk-LIXAC5NE.js} +12 -12
  107. package/dist/{chunk-QZML6RDQ.js → chunk-LNOG6KKM.js} +7 -7
  108. package/dist/{chunk-YWUE4CRU.js → chunk-LWX5PI73.js} +7 -7
  109. package/dist/{chunk-EQSVVKKE.js → chunk-M4ABCFJO.js} +4 -4
  110. package/dist/{chunk-R3FNJABL.js → chunk-MEZAMIT6.js} +9 -9
  111. package/dist/{chunk-G6CEI6PO.js → chunk-MG7UJJCP.js} +25 -7
  112. package/dist/{chunk-7S6FWEJH.js → chunk-MH46RGG6.js} +1 -1
  113. package/dist/{chunk-AB4FVMV4.js → chunk-MKZ73C57.js} +1 -1
  114. package/dist/{chunk-6AKYBHGV.js → chunk-N6VNR4YE.js} +54 -17
  115. package/dist/{chunk-K6ARLNKJ.js → chunk-NIEOUHVQ.js} +1 -1
  116. package/dist/{chunk-PW4U3IUR.js → chunk-NMASYQXY.js} +3 -3
  117. package/dist/{chunk-YZO2JM2G.js → chunk-NOCU3FBX.js} +5 -5
  118. package/dist/{chunk-4NNGVO2D.js → chunk-NSADX4IV.js} +28 -23
  119. package/dist/{chunk-U3OHPF2K.js → chunk-OB56G4VA.js} +3 -3
  120. package/dist/{chunk-U2FL2MTE.js → chunk-OGL5VQGT.js} +4 -2
  121. package/dist/{chunk-UFCIA6WF.js → chunk-OI5WGQE3.js} +5 -5
  122. package/dist/{chunk-IJ4CZKOB.js → chunk-OMFIMZZD.js} +5 -5
  123. package/dist/chunk-PWRUMN7B.js +71 -0
  124. package/dist/{chunk-FDI4X3EC.js → chunk-PXMEW6TM.js} +3 -3
  125. package/dist/{chunk-FBMBSPEZ.js → chunk-QSQNXAHE.js} +1 -1
  126. package/dist/{chunk-MJWUDOBB.js → chunk-R5C2CV7J.js} +5 -5
  127. package/dist/chunk-RAHYMZNU.js +5146 -0
  128. package/dist/{chunk-IM7OBJ2Z.js → chunk-RD3DE4ZP.js} +2 -2
  129. package/dist/{chunk-AXZ2NMKP.js → chunk-RHZE7BIX.js} +3 -3
  130. package/dist/{chunk-EH46IYY2.js → chunk-ROODLZY7.js} +10 -10
  131. package/dist/{chunk-QBPQNKSP.js → chunk-RRGRETJ4.js} +2 -2
  132. package/dist/{chunk-3UL2TYIS.js → chunk-S73AVUHJ.js} +1 -1
  133. package/dist/{chunk-QZZZNXAK.js → chunk-SITGBEFO.js} +41 -34
  134. package/dist/{chunk-6N3S6L56.js → chunk-TIGMUHSL.js} +6 -6
  135. package/dist/{chunk-KJ5YLRMQ.js → chunk-TMB4L4GG.js} +5 -3
  136. package/dist/{chunk-4PEGA4QR.js → chunk-TQYHQKOK.js} +1 -1
  137. package/dist/{chunk-PUZN3BFQ.js → chunk-TU2WFCGS.js} +2 -2
  138. package/dist/{chunk-AE36GVZT.js → chunk-TUJB74AE.js} +3 -3
  139. package/dist/{chunk-IZ5GH7TX.js → chunk-TXTVVIW7.js} +3 -3
  140. package/dist/{chunk-6BLW2BST.js → chunk-TZ3EPV4B.js} +1 -1
  141. package/dist/{chunk-YWD5PVKA.js → chunk-U3WUAVAX.js} +3 -3
  142. package/dist/{chunk-TFAKFI3R.js → chunk-U6ZR7GBQ.js} +3 -3
  143. package/dist/{chunk-4NCKEOKP.js → chunk-UCQTLZDJ.js} +2 -2
  144. package/dist/{chunk-BBAEXPIU.js → chunk-ULE2EYEY.js} +2 -2
  145. package/dist/{chunk-S35RUNXJ.js → chunk-UVW5ZDAP.js} +4 -2
  146. package/dist/{chunk-KFR67U7E.js → chunk-VBLKGDVI.js} +1 -1
  147. package/dist/{chunk-MWQQOFGN.js → chunk-W672RTMC.js} +4 -4
  148. package/dist/{chunk-Z67SXGRJ.js → chunk-WMJ3PV37.js} +1 -1
  149. package/dist/{chunk-VVSPUYPA.js → chunk-WWQWDRKU.js} +1 -1
  150. package/dist/{chunk-S7YTRWJD.js → chunk-WY6354ZO.js} +4 -4
  151. package/dist/{chunk-OCGUBNKH.js → chunk-X3JZA7KH.js} +9 -9
  152. package/dist/{chunk-UKFPGKEC.js → chunk-XEIVSW2F.js} +7 -7
  153. package/dist/{chunk-X2BESDNL.js → chunk-XKIXRSVB.js} +3 -3
  154. package/dist/{chunk-XIVI6GYV.js → chunk-XMKDDEX4.js} +7 -7
  155. package/dist/{chunk-C2O5XIFN.js → chunk-XNJEXXKC.js} +2 -2
  156. package/dist/{chunk-Z66KCWZC.js → chunk-XSARHJSW.js} +2 -2
  157. package/dist/{chunk-QVVQJKBZ.js → chunk-XTKNMYRR.js} +2 -2
  158. package/dist/{chunk-BA2MCRMP.js → chunk-Y4QE4LEB.js} +1 -1
  159. package/dist/{chunk-MEDWEFKT.js → chunk-Y57R6C5U.js} +3 -3
  160. package/dist/{chunk-F4CVSUA4.js → chunk-Y6A5LED6.js} +2 -2
  161. package/dist/{chunk-STH72R3G.js → chunk-YMSOS6CF.js} +1 -1
  162. package/dist/{chunk-U2X5CSJV.js → chunk-ZHIAAYY2.js} +4 -4
  163. package/dist/{chunk-JA2EGQEE.js → chunk-ZQPXWUCP.js} +3 -3
  164. package/dist/{chunk-ANX6FWHI.js → chunk-ZS2ROUIG.js} +1 -1
  165. package/dist/{chunk-ERYYOWWF.js → chunk-ZY55U6ER.js} +8 -8
  166. package/dist/{clean-ZR7HNI3V.js → clean-73IDEWIJ.js} +28 -27
  167. package/dist/cli.js +72 -71
  168. package/dist/{cloud-B24T67AA.js → cloud-P32MAEIJ.js} +4 -4
  169. package/dist/{cloud-5JYPYMDJ.js → cloud-SOZPWTDL.js} +14 -12
  170. package/dist/{cloudrun-7U6GFP2S.js → cloudrun-H5TW5T4R.js} +9 -8
  171. package/dist/{compare-NRXMK72Y.js → compare-BQSDHPZ3.js} +49 -48
  172. package/dist/{compiler-FQB6LVTK.js → compiler-WNVDGRBH.js} +9 -6
  173. package/dist/{component-TJX5NP44.js → component-WWICYJFN.js} +11 -10
  174. package/dist/{compositions-UPIST4QX.js → compositions-VEMHHQR6.js} +22 -19
  175. package/dist/{contactSheet-JFEV75W2.js → contactSheet-G42BMJXO.js} +4 -4
  176. package/dist/{curve-P3KZZFD5.js → curve-5SCSMYX4.js} +18 -17
  177. package/dist/{cuts-PTZUTT45.js → cuts-POUL3RQ5.js} +19 -18
  178. package/dist/{delete-GHEUVYRE.js → delete-NVS5PXRM.js} +21 -17
  179. package/dist/{deploy-IBHOLWU3.js → deploy-SPJ5OWAI.js} +9 -16
  180. package/dist/{describeProject-VCX52S5P.js → describeProject-KJGRR7FM.js} +15 -14
  181. package/dist/{destroy-ISDB5HUK.js → destroy-CPLVCITS.js} +6 -6
  182. package/dist/{deterministicFonts-XCYIRDQZ.js → deterministicFonts-645ILNLP.js} +3 -3
  183. package/dist/{diff-4YBUQ4YN.js → diff-O2JUFV2N.js} +45 -43
  184. package/dist/{dist-3YCMP3OA.js → dist-DCRKIIL4.js} +18 -17
  185. package/dist/{dist-5BBLH53Z.js → dist-TTOW2KVO.js} +11 -9
  186. package/dist/{dist-VPMEUGIV.js → dist-XRESUN6B.js} +3 -3
  187. package/dist/docker/Dockerfile.render +1 -1
  188. package/dist/{doctor-MOKBELVX.js → doctor-L5GGDS2F.js} +18 -17
  189. package/dist/{dotEnv-JBK54RQJ.js → dotEnv-7P4XI4ID.js} +7 -6
  190. package/dist/{energy-W77GZ4AU.js → energy-43JTPLLL.js} +19 -18
  191. package/dist/{events-ZMVV7YHQ.js → events-33NDGOZM.js} +21 -20
  192. package/dist/{events-6AAHOZOP.js → events-K576EL47.js} +9 -8
  193. package/dist/{events-6MUF5QM3.js → events-XRO5CFTD.js} +4 -3
  194. package/dist/{execute-ZXIJROJ3.js → execute-EWZ3WK3L.js} +42 -41
  195. package/dist/{extract-XPYMBV3C.js → extract-NW375CQM.js} +20 -19
  196. package/dist/{face-DPGVFMNK.js → face-AVVUVV5L.js} +20 -19
  197. package/dist/{face-CFU3RPCE.js → face-IVXIPAO5.js} +17 -16
  198. package/dist/{feedback-QCILWFND.js → feedback-MS34KB74.js} +26 -24
  199. package/dist/{ffmpeg-53IYIQK6.js → ffmpeg-I376KCKD.js} +13 -12
  200. package/dist/{figma-MWLNH4FP.js → figma-M37MXYPR.js} +3 -3
  201. package/dist/fontLocalizeCli.js +19 -18
  202. package/dist/{frames-XMHFYD43.js → frames-6VGAHZBO.js} +21 -20
  203. package/dist/{generate-VC7GNQN7.js → generate-TM7AOJ27.js} +35 -33
  204. package/dist/{get-SBNYVI3T.js → get-2JAJO7AP.js} +21 -17
  205. package/dist/{gpuPolicy-5BUTYWST.js → gpuPolicy-DEH3KKNF.js} +13 -12
  206. package/dist/{grade-compare-BIGPVPVY.js → grade-compare-UN6MPWVF.js} +43 -42
  207. package/dist/{hands-6VOHNDTY.js → hands-ANSG7WHU.js} +22 -21
  208. package/dist/{heifImagePrep-HPGUKE5Y.js → heifImagePrep-YC3ZMWUC.js} +16 -15
  209. package/dist/{help-7FCGRM47.js → help-63QQYCMJ.js} +1 -1
  210. package/dist/{history-FJPXD3BK.js → history-DRSL755Q.js} +18 -17
  211. package/dist/hyperframe.manifest.json +1 -1
  212. package/dist/hyperframe.runtime.iife.js +72 -71
  213. package/dist/hyperframes-player.global.js +3 -3
  214. package/dist/{index-gen-3DWPA4FO.js → index-gen-TXP67YUY.js} +13 -1
  215. package/dist/{info-6P6MXHTD.js → info-UNIWLP7I.js} +21 -20
  216. package/dist/{init-VL2J3BPK.js → init-3W3XSGXC.js} +37 -36
  217. package/dist/{ink-JXO2ECYZ.js → ink-OXJJIEQ7.js} +19 -18
  218. package/dist/{inspect-LDJ4MZZB.js → inspect-UOXP5ICV.js} +48 -47
  219. package/dist/{installer-CY5PMR3I.js → installer-OWZSFVV2.js} +10 -9
  220. package/dist/{keyframes-GZMGSHWN.js → keyframes-LNCXSQJ6.js} +23 -22
  221. package/dist/{lambda-EX6MIUFB.js → lambda-3ZIM5NW2.js} +22 -21
  222. package/dist/{launch-Z3ZYBEOZ.js → launch-HOSRCHWS.js} +14 -13
  223. package/dist/{layout-LJAXOS6D.js → layout-MRBHBZEA.js} +48 -47
  224. package/dist/{lint-IZ5LAKZ2.js → lint-U4PINYKO.js} +16 -15
  225. package/dist/{lintProject-XEWYQ2YP.js → lintProject-55U44GOP.js} +3 -3
  226. package/dist/{list-M5NCDKZK.js → list-AMH6UUTI.js} +27 -21
  227. package/dist/{live-WWPFZQ74.js → live-ZSDUN6U2.js} +1 -1
  228. package/dist/{localPage-RPRX4QWI.js → localPage-JJ56YNKB.js} +14 -13
  229. package/dist/{login-QTAVYFVF.js → login-U42SSWF4.js} +15 -13
  230. package/dist/{logout-ADLJGWD3.js → logout-DQVPSI4E.js} +11 -9
  231. package/dist/{look-WHPFOAD5.js → look-6VTGMGIF.js} +19 -18
  232. package/dist/{manager-R6S2BFJI.js → manager-GHP2QIUD.js} +14 -13
  233. package/dist/{manager-ISZYNIK2.js → manager-PXRZQDDT.js} +2 -2
  234. package/dist/{measure-22AU7TYR.js → measure-NC4LN7EZ.js} +12 -12
  235. package/dist/{media-TS5AB73F.js → media-VKM5WFRK.js} +17 -14
  236. package/dist/{media-treatment-437SK3IP.js → media-treatment-VNZS2MIT.js} +22 -21
  237. package/dist/{media-use-WIZLFHGZ.js → media-use-JOQWGBS5.js} +13 -11
  238. package/dist/{models-55KT2FOE.js → models-S55TNWF7.js} +19 -18
  239. package/dist/{motionShot-GR2XK7MG.js → motionShot-OUOXFKUG.js} +25 -24
  240. package/dist/{normalize-KYVBGCEM.js → normalize-AH7CCULG.js} +3 -3
  241. package/dist/{normalize-audio-7H5EXI7L.js → normalize-audio-GYTTK5QE.js} +16 -15
  242. package/dist/{oauth-E5QBYYTX.js → oauth-RETRT7QD.js} +2 -1
  243. package/dist/{open-EEUJNVW4.js → open-KGXPI4BY.js} +31 -25
  244. package/dist/{parakeetRunner-CNF4YXTV.js → parakeetRunner-IXUUFPGG.js} +21 -20
  245. package/dist/{pipeline-Q2RJZQ4E.js → pipeline-UE2Y2ZRB.js} +16 -15
  246. package/dist/{plan-6RCNL7RA.js → plan-AD4FZA6N.js} +29 -28
  247. package/dist/{play-USR5S4WS.js → play-G6JYDYIH.js} +45 -38
  248. package/dist/{preflight-N5T57D6Q.js → preflight-QNDXHMOT.js} +15 -14
  249. package/dist/{present-H36KTF2O.js → present-OK7QMCLR.js} +42 -37
  250. package/dist/{preview-CTXJ3D57.js → preview-XD7J2KHY.js} +65 -63
  251. package/dist/{privateProjectFile-V5OO6UFK.js → privateProjectFile-2WJ6GPY6.js} +14 -11
  252. package/dist/{probe-642YQRRC.js → probe-34RS6LVV.js} +19 -18
  253. package/dist/{producer-MYTLLTMI.js → producer-AX7EDIPJ.js} +1 -1
  254. package/dist/{progress-6MLINWFK.js → progress-WLBIHCZM.js} +4 -4
  255. package/dist/{projectConfig-PLXPNXPK.js → projectConfig-YBFY4W5A.js} +13 -12
  256. package/dist/{publication-2ZKN62ZD.js → publication-JPKV2ZQO.js} +8 -7
  257. package/dist/{publish-HU2M6QDD.js → publish-LRUVQX2E.js} +38 -33
  258. package/dist/{receivedRecordFollow-3ITTF3YV.js → receivedRecordFollow-6MPKPG36.js} +16 -15
  259. package/dist/{refresh-TS65XP6Q.js → refresh-HFE7YV57.js} +11 -9
  260. package/dist/{remove-background-U6BRLHPJ.js → remove-background-TS4QUALS.js} +17 -16
  261. package/dist/{render-SWLLJJUD.js → render-NYFK74KL.js} +13 -12
  262. package/dist/{render-4VGHRQHU.js → render-PSUJ4UCJ.js} +60 -59
  263. package/dist/{render-ZRUNNKX2.js → render-UQICTWO6.js} +55 -50
  264. package/dist/{render-batch-ADHAEQA7.js → render-batch-57ZDTS7Z.js} +13 -12
  265. package/dist/renderSetupWorker.js +5 -5
  266. package/dist/{resolver-QQYGQNPZ.js → resolver-3HJC4XU3.js} +10 -9
  267. package/dist/{reverse-XBPVILTU.js → reverse-CIMYQVFI.js} +1 -1
  268. package/dist/{run-VTUQ4O2Q.js → run-EFRNU53Z.js} +14 -12
  269. package/dist/{screenshotCapture-V7LXLF4P.js → screenshotCapture-K63UAXO7.js} +16 -15
  270. package/dist/{service-B5XDMOX2.js → service-EEEGLRHX.js} +22 -20
  271. package/dist/{share-HTU2KE7G.js → share-WQVRXWH4.js} +26 -24
  272. package/dist/{sherpa-2NXXLF6T.js → sherpa-BOHH3Q32.js} +20 -19
  273. package/dist/sherpaWorker.js +3 -3
  274. package/dist/{sites-ZK652FTA.js → sites-2IEQMGTW.js} +4 -4
  275. package/dist/skills/hyperframes/references/plugin-installation.md +5 -1
  276. package/dist/skills/hyperframes/references/skill-lifecycle.md +2 -2
  277. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +9 -4
  278. package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -1
  279. package/dist/skills/media-use/scripts/lib/index-gen.mjs +4 -2
  280. package/dist/skills/media-use/scripts/lib/received-env.mjs +98 -17
  281. package/dist/skills/media-use/scripts/resolve.mjs +26 -12
  282. package/dist/{skills-AWPGNGNO.js → skills-KB7UH26E.js} +12 -11
  283. package/dist/{skillsUpdateCheck-ZAZIJIA5.js → skillsUpdateCheck-ZDA5FPJB.js} +3 -3
  284. package/dist/{snapshot-5H4FR6WF.js → snapshot-HRR6LIPD.js} +59 -58
  285. package/dist/{snapshotHeldVideos-AATHSYN4.js → snapshotHeldVideos-QGJBXBJM.js} +14 -13
  286. package/dist/{src-ZPDXVFIW.js → src-FCITTGFH.js} +12 -11
  287. package/dist/{src-ZNVC4RPI.js → src-QOVNNDZN.js} +18 -17
  288. package/dist/{start-B6XPI43A.js → start-I7H5I3AS.js} +33 -31
  289. package/dist/{state-G4YJMBU5.js → state-O6CCLWF6.js} +4 -4
  290. package/dist/{staticProjectServer-VFWEQZO4.js → staticProjectServer-XEZD7JZE.js} +29 -28
  291. package/dist/{status-5QNG3TNV.js → status-2GKACMVC.js} +23 -21
  292. package/dist/studio/assets/hyperframes-player-VGx6ow_e.js +573 -0
  293. package/dist/studio/assets/{index-tvLrzMBv.js → index-B8Xt_Oyw.js} +180 -180
  294. package/dist/studio/assets/{index-CAjz3b83.js → index-BH18TdX9.js} +1 -1
  295. package/dist/studio/assets/{pausedVideoDecoder-xC5IGkfB.js → pausedVideoDecoder-Bx3fGNkU.js} +1 -1
  296. package/dist/studio/index.html +1 -1
  297. package/dist/{studio-api-SL7AIQYK.js → studio-api-KQ7DR667.js} +18 -17
  298. package/dist/{studioServer-S5MQI2JC.js → studioServer-KAU2XZ4F.js} +80 -78
  299. package/dist/subCompositionWorker.js +10 -9
  300. package/dist/{sync-KGQNR7TY.js → sync-3OJZRVPG.js} +19 -18
  301. package/dist/{synthesize-EIZ3XR5O.js → synthesize-JECKYUGO.js} +3 -3
  302. package/dist/{telemetry-WJSJUVUT.js → telemetry-HIZZLE6W.js} +9 -8
  303. package/dist/{templates-5NF42ZOM.js → templates-35GCXKO2.js} +23 -21
  304. package/dist/{textOverFace-DAVKJPMO.js → textOverFace-Q4I3PREP.js} +3 -3
  305. package/dist/{timeline-GM7EILYN.js → timeline-U2V63I7B.js} +28 -27
  306. package/dist/{tokens-PR2VAUXH.js → tokens-24TKAZCA.js} +13 -10
  307. package/dist/{transcribe-E6EJYLUY.js → transcribe-M3JJZ27F.js} +17 -16
  308. package/dist/{transcribe-ZD3MEPS2.js → transcribe-YHGN4HEM.js} +40 -38
  309. package/dist/{tts-XE4BPI5G.js → tts-CDBXQSAQ.js} +8 -7
  310. package/dist/{update-QYZNK7US.js → update-4DIZ3YQQ.js} +17 -14
  311. package/dist/{updateCheck-AYR63UOT.js → updateCheck-F56HX6MZ.js} +2 -2
  312. package/dist/{upgrade-4EFXDQBF.js → upgrade-6WAFZ7WN.js} +5 -5
  313. package/dist/{urlDownloader-KAT2IPSU.js → urlDownloader-DNNB6UOI.js} +12 -11
  314. package/dist/{validate-GVX3ACWN.js → validate-N5KPU4GC.js} +35 -34
  315. package/dist/{video-N2WHXSIC.js → video-T6YYFBNI.js} +15 -14
  316. package/dist/{voices-46E3JGAU.js → voices-OI37IYYG.js} +33 -31
  317. package/dist/warmCheck.js +55 -54
  318. package/package.json +1 -1
  319. package/dist/chunk-SEUEBRRL.js +0 -5128
  320. package/dist/studio/assets/hyperframes-player-Dscc6yHD.js +0 -573
@@ -17,48 +17,49 @@ import {
17
17
  sherpaRuntimeLoadError,
18
18
  sherpaUnsupportedReason,
19
19
  transcribeWithSherpa
20
- } from "./chunk-EQSVVKKE.js";
21
- import "./chunk-XDVHQFEQ.js";
20
+ } from "./chunk-M4ABCFJO.js";
21
+ import "./chunk-FOALZ4MW.js";
22
22
  import "./chunk-LB6ZAP4I.js";
23
23
  import "./chunk-3S27CPV7.js";
24
- import "./chunk-5VERYJGC.js";
24
+ import "./chunk-KXCAIQE4.js";
25
25
  import "./chunk-NK2UW3WR.js";
26
- import "./chunk-GVGUOYNC.js";
26
+ import "./chunk-EPBYIJPM.js";
27
27
  import "./chunk-6BEFEWFB.js";
28
- import "./chunk-AB4FVMV4.js";
28
+ import "./chunk-MKZ73C57.js";
29
29
  import "./chunk-RZ6CXJ56.js";
30
30
  import "./chunk-6B2TH52B.js";
31
31
  import "./chunk-JJ47LVJ7.js";
32
- import "./chunk-EMIOIMHN.js";
33
- import "./chunk-ANX6FWHI.js";
32
+ import "./chunk-IXSCGQS5.js";
33
+ import "./chunk-ZS2ROUIG.js";
34
34
  import "./chunk-UOFAE5RF.js";
35
35
  import "./chunk-IR35BCLK.js";
36
36
  import "./chunk-GHS4ZYQX.js";
37
- import "./chunk-W2CXA2CN.js";
37
+ import "./chunk-2UIAN6N7.js";
38
38
  import "./chunk-EHZESMRB.js";
39
- import "./chunk-ERYYOWWF.js";
39
+ import "./chunk-ZY55U6ER.js";
40
40
  import "./chunk-Z5J67X44.js";
41
41
  import "./chunk-PJQVJSMG.js";
42
42
  import "./chunk-3GXQPCJC.js";
43
43
  import "./chunk-LKHH4BUW.js";
44
44
  import "./chunk-5S7W3TUO.js";
45
45
  import "./chunk-D54ZDCZR.js";
46
- import "./chunk-AOSTTTSS.js";
47
- import "./chunk-K6ARLNKJ.js";
48
- import "./chunk-Z66KCWZC.js";
49
- import "./chunk-FXMKHHPO.js";
50
- import "./chunk-SEUEBRRL.js";
51
- import "./chunk-U2FL2MTE.js";
46
+ import "./chunk-JGKI7FHX.js";
47
+ import "./chunk-NIEOUHVQ.js";
48
+ import "./chunk-XSARHJSW.js";
49
+ import "./chunk-LIHELBPB.js";
50
+ import "./chunk-RAHYMZNU.js";
51
+ import "./chunk-PWRUMN7B.js";
52
+ import "./chunk-OGL5VQGT.js";
52
53
  import "./chunk-RQVDTPGD.js";
53
54
  import "./chunk-VTP3TBRY.js";
54
55
  import "./chunk-CINXWHRB.js";
55
56
  import "./chunk-L3FQUUS6.js";
56
57
  import "./chunk-G37O3IZB.js";
57
- import "./chunk-YWUE4CRU.js";
58
- import "./chunk-NDXUDTLF.js";
59
- import "./chunk-S35RUNXJ.js";
58
+ import "./chunk-LWX5PI73.js";
59
+ import "./chunk-GXKCFOMR.js";
60
+ import "./chunk-UVW5ZDAP.js";
60
61
  import "./chunk-5GUYYSVT.js";
61
- import "./chunk-IH2C53YV.js";
62
+ import "./chunk-KZ5PV5TL.js";
62
63
  import "./chunk-4NDSGKPO.js";
63
64
  import "./chunk-FR7YBU3H.js";
64
65
  import "./chunk-DZWAYZG2.js";
@@ -11,14 +11,14 @@ import {
11
11
  droppedSpeechGaps,
12
12
  silenceCuts,
13
13
  spliceGap
14
- } from "./chunk-ANX6FWHI.js";
14
+ } from "./chunk-ZS2ROUIG.js";
15
15
  import {
16
16
  readWav
17
17
  } from "./chunk-UOFAE5RF.js";
18
18
  import "./chunk-IR35BCLK.js";
19
19
  import "./chunk-GHS4ZYQX.js";
20
- import "./chunk-K6ARLNKJ.js";
21
- import "./chunk-U2FL2MTE.js";
20
+ import "./chunk-NIEOUHVQ.js";
21
+ import "./chunk-OGL5VQGT.js";
22
22
  import "./chunk-G37O3IZB.js";
23
23
  import "./chunk-NTGTWXAO.js";
24
24
  import "./chunk-3F2DTPBD.js";
@@ -7,13 +7,13 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  DEFAULT_STACK_NAME,
9
9
  requireStack
10
- } from "./chunk-2WXCQT4F.js";
11
- import "./chunk-IOYTXBFK.js";
10
+ } from "./chunk-35BZXE5L.js";
11
+ import "./chunk-244FN6TG.js";
12
12
  import {
13
13
  c
14
14
  } from "./chunk-JCNPHRGX.js";
15
- import "./chunk-K6ARLNKJ.js";
16
- import "./chunk-U2FL2MTE.js";
15
+ import "./chunk-NIEOUHVQ.js";
16
+ import "./chunk-OGL5VQGT.js";
17
17
  import "./chunk-NTGTWXAO.js";
18
18
  import "./chunk-U7M4SZUB.js";
19
19
  import "./chunk-CPHQTXP5.js";
@@ -22,6 +22,10 @@ launcher.
22
22
 
23
23
  Without a plugin manifest, the launcher runs the newest compatible published CLI. To select a
24
24
  release, put `--cli-version latest` or `--cli-version <exact-version>` before the command.
25
+ Take an exact version from the person, from the version an upgrade moves the pins to, or from
26
+ `--cli-version latest --version`. Never take it from the project's own files: a `package.json`
27
+ pin does not choose the CLI unless the person asks for that release. The launcher refuses a release older than its floor (currently 0.9.65), the oldest one with
28
+ the protections for received projects, and its error names the floor.
25
29
  Use the launcher from the loaded skill installation for commands shown in CLI output, too.
26
30
  For example, run `node "<SKILLS>/hyperframes/scripts/plugin-cli.mjs" --cli-version latest --version`
27
31
  to read the current release. If the installed launcher lacks this option, ask the person to update
@@ -45,7 +49,7 @@ when all three of these hold:
45
49
 
46
50
  Otherwise the skills are a standalone install, and the launcher ignores any manifest there.
47
51
  Ignore it too, and follow the standalone rules above. The launcher refuses a manifest that
48
- pins a release older than 0.9.34.
52
+ pins a release older than its floor.
49
53
 
50
54
  For a plugin installation, these rules also apply in every skill and reference:
51
55
 
@@ -47,7 +47,7 @@ The CLI may print a one-line stale-skill reminder during `render`, `lint`, or `c
47
47
 
48
48
  For standalone skills, use the launcher from the loaded skill installation. Plugins keep their bundled CLI.
49
49
 
50
- A scaffolded project pins `hyperframes@<version>` in its `package.json` scripts so renders stay reproducible; the pin never advances on its own, and a pinned run of an older CLI prints no warning about it. When resuming a project whose scripts carry a pin, probe once before the first render-affecting command:
50
+ A scaffolded project pins `hyperframes@<version>` in its `package.json` scripts so renders stay reproducible; the pin never advances on its own, and a pinned run of an older CLI prints no warning about it. The pin is the project's record, not a choice of CLI: do not pass a version read from the project to `--cli-version` unless the person asks for that release. When resuming a project whose scripts carry a pin, probe once before the first render-affecting command:
51
51
 
52
52
  ```bash
53
53
  node "<SKILLS>/hyperframes/scripts/plugin-cli.mjs" --cli-version latest upgrade --project . --check
@@ -60,4 +60,4 @@ node "<SKILLS>/hyperframes/scripts/plugin-cli.mjs" --cli-version latest upgrade
60
60
  node "<SKILLS>/hyperframes/scripts/plugin-cli.mjs" --cli-version <new-version> check
61
61
  ```
62
62
 
63
- Report the old and new versions. The check validates the compositions. A project with no compositions yet can skip it. If validation fails, revert the pin changes, report the reason and continue with the original exact version if the launcher supports it.
63
+ Report the old and new versions. The check validates the compositions. A project with no compositions yet can skip it. If validation fails, revert the pin changes, report the old version, the new version and the failure, and stop. Do not go back to the project's pinned release on your own, above all for a project received from someone else or of unknown origin. If the person explicitly asks to keep working on the original release, pass it with `--cli-version <old-version>`. The launcher refuses a release older than its floor; relay that refusal, so the person can fix the project on the new release instead.
@@ -18,9 +18,11 @@ const manifests = [
18
18
  "gemini-extension.json",
19
19
  ];
20
20
 
21
- // The first release whose bin moves into HYPERFRAMES_PLUGIN_CWD. An older one would run the
22
- // command in the home folder.
23
- const CLI_FLOOR = "0.9.34";
21
+ // The oldest release this launcher starts, for a plugin pin or any standalone selection. It matches
22
+ // the oldest release the HyperFrames Desktop app ships, which has every protection for projects
23
+ // received from someone else, so a pin copied from a project never runs a CLI without them.
24
+ // Desktop's release checks read this line from the published package, so it stays a string literal.
25
+ const CLI_FLOOR = "0.9.65";
24
26
  export const STANDALONE_CLI = `hyperframes@>=${CLI_FLOOR}`;
25
27
 
26
28
  const realOrResolved = (path) => {
@@ -74,7 +76,10 @@ function standaloneRelease(value) {
74
76
  if (!isExactRelease(value)) {
75
77
  throw new Error("--cli-version requires latest or an exact HyperFrames version.");
76
78
  }
77
- if (isBelowFloor(value)) throw new Error(`This launcher runs HyperFrames ${CLI_FLOOR} or newer.`);
79
+ if (isBelowFloor(value))
80
+ throw new Error(
81
+ `HyperFrames ${value} lacks protections for received projects; this launcher runs ${CLI_FLOOR} or newer. Use --cli-version latest or ${CLI_FLOOR} or newer.`,
82
+ );
78
83
  return value;
79
84
  }
80
85
 
@@ -6,6 +6,7 @@
6
6
 
7
7
  import { readFileSync } from "node:fs";
8
8
  import { isMainModule } from "./main-module.mjs";
9
+ import { terminalText } from "./terminal-text.mjs";
9
10
 
10
11
  export const DEFAULT_MAX_CUBE_LUT_SIZE = 65;
11
12
 
@@ -186,7 +187,7 @@ function main(argv) {
186
187
  }
187
188
  const result = validateCubeFile(file);
188
189
  if (!result.ok) {
189
- console.error(`error: ${result.error}`);
190
+ console.error(terminalText(`error: ${result.error}`));
190
191
  process.exit(1);
191
192
  }
192
193
  console.log(`ok: LUT_3D_SIZE ${result.size}`);
@@ -1,8 +1,10 @@
1
1
  import { currentRecords, indexPath, ownMediaDir, replaceFile } from "./manifest.mjs";
2
+ import { terminalText } from "./terminal-text.mjs";
3
+
4
+ const LINE_BREAKS = /\s*[\r\n\v\f\u0085\u2028\u2029]+\s*/g;
2
5
 
3
- // One table cell: a line break in a record would start a new line of the index, so it becomes a space.
4
6
  function cell(value) {
5
- return String(value ?? "").replace(/\s*[\r\n]+\s*/g, " ");
7
+ return terminalText(String(value ?? "").replace(LINE_BREAKS, " "));
6
8
  }
7
9
 
8
10
  function pad(str, len) {
@@ -20,6 +20,7 @@ const RECEIVED_RECORD = join(".hyperframes", "received-files.json");
20
20
  const RECEIVED_CONTENT = "received-content.json";
21
21
  const RECEIVED_STATE_ENV = "HYPERFRAMES_RECEIVED_STATE_FILE";
22
22
  const MAX_RECORD_BYTES = 16 * 1024 * 1024;
23
+ const KEPT_RECORDS = "received-records";
23
24
  const SHA256 = /^[0-9a-f]{64}$/;
24
25
  const WALK_MAX_ENTRIES = 20_000;
25
26
  const WALK_MAX_MS = 2_000;
@@ -90,6 +91,14 @@ function recordKind(dir) {
90
91
 
91
92
  const strongest = (a, b) => (a === "all" ? a : b);
92
93
 
94
+ function addNamed(map, key, received, path) {
95
+ const known = map.get(key);
96
+ map.set(key, {
97
+ received: strongest(known?.received, received),
98
+ paths: [...(known?.paths ?? []), path],
99
+ });
100
+ }
101
+
93
102
  function hostEntry(value) {
94
103
  const { path, received, dev, ino } = value ?? {};
95
104
  if (typeof path !== "string" || !isAbsolute(path)) throw new Error("path is not absolute");
@@ -98,18 +107,15 @@ function hostEntry(value) {
98
107
  return { path, received, ...(identity ? { dev, ino } : {}) };
99
108
  }
100
109
 
101
- function parseHostStates(text) {
110
+ function parseHostStates(file, text) {
102
111
  const projects = JSON.parse(text)?.projects;
103
112
  if (!Array.isArray(projects)) throw new Error("projects is not a list");
104
- const states = { unreadable: false, byPath: new Map(), byIdentity: new Map() };
113
+ const states = { file, unreadable: false, byPath: new Map(), byIdentity: new Map() };
105
114
  for (const value of projects) {
106
115
  const { path, received, dev, ino } = hostEntry(value);
107
- const key = walkStart(path);
108
- states.byPath.set(key, strongest(states.byPath.get(key), received));
109
- if (dev !== undefined && ino !== undefined) {
110
- const identity = `${dev}:${ino}`;
111
- states.byIdentity.set(identity, strongest(states.byIdentity.get(identity), received));
112
- }
116
+ addNamed(states.byPath, walkStart(path), received, path);
117
+ if (dev !== undefined && ino !== undefined)
118
+ addNamed(states.byIdentity, `${dev}:${ino}`, received, path);
113
119
  }
114
120
  return states;
115
121
  }
@@ -118,19 +124,84 @@ function hostStates() {
118
124
  const file = process.env[RECEIVED_STATE_ENV];
119
125
  if (!file) return null;
120
126
  try {
121
- return parseHostStates(readFileSync(file, "utf-8"));
127
+ return parseHostStates(file, readFileSync(file, "utf-8"));
122
128
  } catch {
123
- return { unreadable: true, byPath: new Map(), byIdentity: new Map() };
129
+ return { file, unreadable: true, byPath: new Map(), byIdentity: new Map() };
124
130
  }
125
131
  }
126
132
 
127
133
  function hostState(dir, states) {
128
134
  if (!states) return undefined;
129
135
  if (states.unreadable) return "all";
130
- const named = states.byPath.get(dir);
136
+ const named = states.byPath.get(dir)?.received;
131
137
  if (named || states.byIdentity.size === 0) return named;
132
138
  const identity = fileIdentity(dir);
133
- return identity === null ? undefined : states.byIdentity.get(identity);
139
+ return identity === null ? undefined : states.byIdentity.get(identity)?.received;
140
+ }
141
+
142
+ function folderBirth(dir) {
143
+ try {
144
+ return String(lstatSync(dir, { bigint: true }).birthtimeNs);
145
+ } catch {
146
+ return "";
147
+ }
148
+ }
149
+
150
+ // Each path the state file names the project by; one found only by dev and ino carries the folder's identity.
151
+ function namings(dir, states) {
152
+ const byPath = new Set(states.byPath.get(dir)?.paths);
153
+ const found = [...byPath].map((path) => ({ path }));
154
+ const identity = states.byIdentity.size === 0 ? null : fileIdentity(dir);
155
+ const named = identity === null ? undefined : states.byIdentity.get(identity);
156
+ if (!named) return found;
157
+ const kept = `${identity}:${folderBirth(dir)}`;
158
+ const moved = [...new Set(named.paths)].filter((path) => !byPath.has(path));
159
+ return [...found, ...moved.map((path) => ({ path, identity: kept }))];
160
+ }
161
+
162
+ function keptFilesIn(kept, { path, identity }) {
163
+ if (kept.project !== path) return "all";
164
+ if (identity !== undefined && kept.identity !== identity) return "all";
165
+ const { files } = kept;
166
+ if (kept.doubted === true || !Array.isArray(files)) return "all";
167
+ return files.every((entry) => typeof entry === "string") ? files : "all";
168
+ }
169
+
170
+ function keptFilesFor(naming, text) {
171
+ try {
172
+ return keptFilesIn(JSON.parse(text) ?? {}, naming);
173
+ } catch {
174
+ return "all";
175
+ }
176
+ }
177
+
178
+ // The host's kept copy of the record for one naming: its files, "all" when it cannot be trusted, null when absent.
179
+ function hostKeptRecord(stateFile, naming) {
180
+ const name = `${createHash("sha256").update(naming.path).digest("hex")}.json`;
181
+ const file = join(dirname(stateFile), KEPT_RECORDS, name);
182
+ try {
183
+ if (!lstatSync(file, { throwIfNoEntry: false })) return null;
184
+ } catch (error) {
185
+ return error.code === "ENOTDIR" ? null : { file, files: "all" };
186
+ }
187
+ const read = readPlainTail(file, MAX_RECORD_BYTES) ?? readPlainTail(file, MAX_RECORD_BYTES);
188
+ if (!read?.whole) return onDisk(file) ? { file, files: "all" } : null;
189
+ return { file, files: keptFilesFor(naming, read.text) };
190
+ }
191
+
192
+ function withEntriesHostKept(dir, listed, states) {
193
+ if (!states || hostState(dir, states) !== "expected") return { listed };
194
+ const copies = namings(dir, states).flatMap(
195
+ (naming) => hostKeptRecord(states.file, naming) ?? [],
196
+ );
197
+ const unread = copies.find((copy) => copy.files === "all");
198
+ if (unread) return { listed, unreadKeptCopy: unread.file };
199
+ const present = new Set(listed.map(String));
200
+ const kept = copies.flatMap((copy) => copy.files);
201
+ const back = [...new Set(kept)].filter(
202
+ (entry) => !present.has(entry) && onDisk(join(dir, entry)),
203
+ );
204
+ return { listed: back.length === 0 ? listed : [...listed, ...back] };
134
205
  }
135
206
 
136
207
  function allReceivedAtOrAbove(start, states) {
@@ -144,12 +215,13 @@ function allReceivedAround(start, states) {
144
215
  if (!states) return false;
145
216
  if (states.unreadable) return true;
146
217
  const overlaps = [...states.byPath].some(
147
- ([path, state]) => state === "all" && (isAtOrUnder(path, start) || isAtOrUnder(start, path)),
218
+ ([path, { received }]) =>
219
+ received === "all" && (isAtOrUnder(path, start) || isAtOrUnder(start, path)),
148
220
  );
149
221
  return overlaps || allReceivedAtOrAbove(start, states);
150
222
  }
151
223
 
152
- function readRecord(dir, ownFolder, states) {
224
+ function readRecordAsWritten(dir, ownFolder, states) {
153
225
  const kind = recordKind(dir);
154
226
  if (kind === "absent" && hostState(dir, states) !== undefined) return { listed: undefined };
155
227
  if (kind === "absent" || (kind === "unknown" && !ownFolder)) return null;
@@ -161,6 +233,13 @@ function readRecord(dir, ownFolder, states) {
161
233
  }
162
234
  }
163
235
 
236
+ function readRecord(dir, ownFolder, states) {
237
+ const record = readRecordAsWritten(dir, ownFolder, states);
238
+ return record && Array.isArray(record.listed)
239
+ ? withEntriesHostKept(dir, record.listed, states)
240
+ : record;
241
+ }
242
+
164
243
  function recordsAtOrAbove(start, states) {
165
244
  const records = [];
166
245
  for (let dir = start; ; ) {
@@ -183,7 +262,8 @@ function nestedRecord(start, dir, record) {
183
262
  const listed = Array.isArray(record.listed)
184
263
  ? record.listed.map((entry) => (folder ? `${folder}/${String(entry)}` : String(entry)))
185
264
  : undefined;
186
- return { file: join(dir, RECEIVED_RECORD), root: start, projectDirFromRoot: "", listed };
265
+ const nested = { file: join(dir, RECEIVED_RECORD), root: start, projectDirFromRoot: "", listed };
266
+ return record.unreadKeptCopy ? { ...nested, unreadKeptCopy: record.unreadKeptCopy } : nested;
187
267
  }
188
268
 
189
269
  // The parsers' projectPathSegments: a segment as a case-insensitive file system or Windows opens it.
@@ -339,11 +419,12 @@ function receivedRecords(start, atOrAboveOnly) {
339
419
  const below = atOrAboveOnly ? [] : recordsBelow(start, states);
340
420
  if (!below) return null;
341
421
  const records = [...recordsAtOrAbove(start, states), ...below];
422
+ const everyFile = (file) => ({ file, root: start, listed: undefined });
423
+ records.push(...records.flatMap(({ unreadKeptCopy }) => unreadKeptCopy ?? []).map(everyFile));
342
424
  const all = atOrAboveOnly
343
425
  ? states !== null && (states.unreadable || allReceivedAtOrAbove(start, states))
344
426
  : allReceivedAround(start, states);
345
- if (all)
346
- records.push({ file: process.env[RECEIVED_STATE_ENV] ?? "", root: start, listed: undefined });
427
+ if (all) records.push(everyFile(process.env[RECEIVED_STATE_ENV] ?? ""));
347
428
  return records;
348
429
  }
349
430
 
@@ -250,7 +250,7 @@ if (args.analyze) {
250
250
  }
251
251
  const mediaPath = resolve(args.for);
252
252
  if (!existsSync(mediaPath)) {
253
- console.error(`error: --for file not found: ${mediaPath}`);
253
+ console.error(terminalText(`error: --for file not found: ${mediaPath}`));
254
254
  process.exit(2);
255
255
  }
256
256
  let analysis;
@@ -265,7 +265,7 @@ if (args.analyze) {
265
265
  if (args.json) {
266
266
  console.log(JSON.stringify({ ok: true, type: "grade-analysis", ...analysis }));
267
267
  } else {
268
- console.log(formatMeasuredNote(mediaPath, analysis.measured));
268
+ console.log(terminalText(formatMeasuredNote(mediaPath, analysis.measured)));
269
269
  console.log(`suggested adjust: ${JSON.stringify(analysis.adjust)}`);
270
270
  }
271
271
  process.exit(0);
@@ -320,7 +320,9 @@ if (!args.type || !args.intent || !args.intent.trim()) {
320
320
  }
321
321
 
322
322
  if (!listTypes().includes(args.type)) {
323
- console.error(`error: unknown media type: ${args.type} (known: ${listTypes().join(", ")})`);
323
+ console.error(
324
+ terminalText(`error: unknown media type: ${args.type} (known: ${listTypes().join(", ")})`),
325
+ );
324
326
  process.exit(2);
325
327
  }
326
328
 
@@ -329,7 +331,9 @@ if (!listTypes().includes(args.type)) {
329
331
  // resolve`). Match rule mirrors runProviders (full name or dotted prefix).
330
332
  if (args.provider && !providerMatches(args.type, args.provider)) {
331
333
  console.error(
332
- `error: unknown provider "${args.provider}" for type ${args.type} (available: ${providerNamesFor(args.type).join(", ")})`,
334
+ terminalText(
335
+ `error: unknown provider "${args.provider}" for type ${args.type} (available: ${providerNamesFor(args.type).join(", ")})`,
336
+ ),
333
337
  );
334
338
  process.exit(2);
335
339
  }
@@ -452,7 +456,9 @@ async function run() {
452
456
  const { similar } = listCandidates({ projectDir, type, intent, cap: CANDIDATE_CAP });
453
457
  if (similar > 0) {
454
458
  console.error(
455
- `media-use: ${similar} similar cached asset${similar === 1 ? "" : "s"} already ${similar === 1 ? "exists" : "exist"} — run \`resolve --candidates --type ${type} --intent "${intent}"\` to review and reuse instead of fetching.`,
459
+ terminalText(
460
+ `media-use: ${similar} similar cached asset${similar === 1 ? "" : "s"} already ${similar === 1 ? "exists" : "exist"} — run \`resolve --candidates --type ${type} --intent "${intent}"\` to review and reuse instead of fetching.`,
461
+ ),
456
462
  );
457
463
  }
458
464
  } catch {
@@ -627,7 +633,7 @@ function mergeSmartAdjust(block) {
627
633
  ffmpegPath: ffmpegBinary(),
628
634
  ffprobePath: ffprobeBinary(),
629
635
  });
630
- console.error(formatMeasuredNote(mediaPath, analysis.measured));
636
+ console.error(terminalText(formatMeasuredNote(mediaPath, analysis.measured)));
631
637
  return {
632
638
  ...block,
633
639
  adjust: {
@@ -904,18 +910,20 @@ async function ingest(src) {
904
910
  const isUrl = /^https?:\/\//i.test(src);
905
911
  if (isUrl && !isDirectMediaUrl(src)) {
906
912
  console.error(
907
- `error: --from takes a direct public media URL or a local file; "${src}" is not a direct media link (no platform pages / yt-dlp)`,
913
+ terminalText(
914
+ `error: --from takes a direct public media URL or a local file; "${src}" is not a direct media link (no platform pages / yt-dlp)`,
915
+ ),
908
916
  );
909
917
  process.exit(2);
910
918
  }
911
919
  if (!isUrl && !existsSync(resolve(src))) {
912
- console.error(`error: file not found: ${src}`);
920
+ console.error(terminalText(`error: file not found: ${src}`));
913
921
  process.exit(2);
914
922
  }
915
923
  // Refuse 0-byte input: an empty asset would register clean but fail at render
916
924
  // (freezeUrl already rejects empty responses; this covers local files).
917
925
  if (!isUrl && statSync(resolve(src)).size === 0) {
918
- console.error(`error: refusing to ingest a 0-byte file: ${src}`);
926
+ console.error(terminalText(`error: refusing to ingest a 0-byte file: ${src}`));
919
927
  process.exit(2);
920
928
  }
921
929
  if (args.source && !AGENT_SOURCES.includes(args.source)) {
@@ -1275,13 +1283,17 @@ async function reuseGlobal(shaArg) {
1275
1283
  const rec = findGlobalBySha(shaArg);
1276
1284
  if (rec && rec.ambiguous) {
1277
1285
  console.error(
1278
- `error: sha prefix "${shaArg}" is ambiguous (${rec.count} matches) — use more characters`,
1286
+ terminalText(
1287
+ `error: sha prefix "${shaArg}" is ambiguous (${rec.count} matches) — use more characters`,
1288
+ ),
1279
1289
  );
1280
1290
  process.exit(2);
1281
1291
  }
1282
1292
  if (!rec) {
1283
1293
  console.error(
1284
- `error: no reusable global asset matches sha "${shaArg}". --reuse takes a sha from \`resolve --candidates\`; to skip the caches, pass --provider <name> instead`,
1294
+ terminalText(
1295
+ `error: no reusable global asset matches sha "${shaArg}". --reuse takes a sha from \`resolve --candidates\`; to skip the caches, pass --provider <name> instead`,
1296
+ ),
1285
1297
  );
1286
1298
  process.exit(1);
1287
1299
  }
@@ -1295,7 +1307,9 @@ async function reuseGlobal(shaArg) {
1295
1307
  localizeImportedRecord(importFromCache(rec, projectDir, id, localPath), localPath),
1296
1308
  );
1297
1309
  if (!imported) {
1298
- console.error(`error: cache entry for "${shaArg}" is incomplete or missing on disk`);
1310
+ console.error(
1311
+ terminalText(`error: cache entry for "${shaArg}" is incomplete or missing on disk`),
1312
+ );
1299
1313
  process.exit(1);
1300
1314
  }
1301
1315
  // Distinguish an explicit agent reuse from an automatic normalize-exact hit.
@@ -9,14 +9,14 @@ import {
9
9
  skillsManagedExternally,
10
10
  skills_default,
11
11
  updateSkills
12
- } from "./chunk-S7YTRWJD.js";
12
+ } from "./chunk-WY6354ZO.js";
13
13
  import "./chunk-EXA6R6SW.js";
14
14
  import "./chunk-FLJ4S7NA.js";
15
15
  import "./chunk-OH3MUFZG.js";
16
16
  import "./chunk-6BEFEWFB.js";
17
17
  import "./chunk-JJ47LVJ7.js";
18
- import "./chunk-OHY27IY2.js";
19
- import "./chunk-KJ5YLRMQ.js";
18
+ import "./chunk-EIION6EA.js";
19
+ import "./chunk-TMB4L4GG.js";
20
20
  import "./chunk-PXVQOMKL.js";
21
21
  import "./chunk-NGRWDXRZ.js";
22
22
  import "./chunk-DMW5SSUN.js";
@@ -24,14 +24,15 @@ import "./chunk-DL4OD7IA.js";
24
24
  import "./chunk-S3S4TGEH.js";
25
25
  import "./chunk-54HJ63Q2.js";
26
26
  import "./chunk-JCNPHRGX.js";
27
- import "./chunk-Z66KCWZC.js";
28
- import "./chunk-FXMKHHPO.js";
29
- import "./chunk-SEUEBRRL.js";
30
- import "./chunk-U2FL2MTE.js";
27
+ import "./chunk-XSARHJSW.js";
28
+ import "./chunk-LIHELBPB.js";
29
+ import "./chunk-RAHYMZNU.js";
30
+ import "./chunk-PWRUMN7B.js";
31
+ import "./chunk-OGL5VQGT.js";
31
32
  import "./chunk-RQVDTPGD.js";
32
33
  import "./chunk-YB2ZJJFJ.js";
33
34
  import "./chunk-5GUYYSVT.js";
34
- import "./chunk-IH2C53YV.js";
35
+ import "./chunk-KZ5PV5TL.js";
35
36
  import "./chunk-4NDSGKPO.js";
36
37
  import "./chunk-FR7YBU3H.js";
37
38
  import "./chunk-DZWAYZG2.js";
@@ -40,8 +41,8 @@ import "./chunk-GWTIFRF5.js";
40
41
  import "./chunk-2RY2LWAA.js";
41
42
  import "./chunk-NTGTWXAO.js";
42
43
  import "./chunk-WFQJ6EJ6.js";
43
- import "./chunk-Y273NNG5.js";
44
- import "./chunk-VIA6UCV5.js";
44
+ import "./chunk-CTDCYNVK.js";
45
+ import "./chunk-3BKNPN36.js";
45
46
  import "./chunk-BR2JQQC5.js";
46
47
  import "./chunk-AWD2MWWL.js";
47
48
  import "./chunk-ISN5GRYI.js";
@@ -50,7 +51,7 @@ import "./chunk-LMNCEQCC.js";
50
51
  import "./chunk-U7M4SZUB.js";
51
52
  import "./chunk-CPHQTXP5.js";
52
53
  import "./chunk-QBXDU24O.js";
53
- import "./chunk-FZRFTW5X.js";
54
+ import "./chunk-DZ3JB4F3.js";
54
55
  import "./chunk-E63BDV4Z.js";
55
56
  import "./chunk-LW33P24U.js";
56
57
  import "./chunk-XT6MXC7A.js";
@@ -10,8 +10,8 @@ import {
10
10
  recordSkillsCheck,
11
11
  refreshSkillsCache,
12
12
  skillsCheckDue
13
- } from "./chunk-Y273NNG5.js";
14
- import "./chunk-VIA6UCV5.js";
13
+ } from "./chunk-CTDCYNVK.js";
14
+ import "./chunk-3BKNPN36.js";
15
15
  import "./chunk-BR2JQQC5.js";
16
16
  import "./chunk-AWD2MWWL.js";
17
17
  import "./chunk-ISN5GRYI.js";
@@ -20,7 +20,7 @@ import "./chunk-LMNCEQCC.js";
20
20
  import "./chunk-U7M4SZUB.js";
21
21
  import "./chunk-CPHQTXP5.js";
22
22
  import "./chunk-QBXDU24O.js";
23
- import "./chunk-FZRFTW5X.js";
23
+ import "./chunk-DZ3JB4F3.js";
24
24
  import "./chunk-E63BDV4Z.js";
25
25
  import "./chunk-LW33P24U.js";
26
26
  import "./chunk-XT6MXC7A.js";