@poe-platform/safe-bash 0.1.813 → 0.1.815

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 (528) hide show
  1. package/dist/image-ast/index.js +1 -1
  2. package/dist/mp4-ast/index.d.ts +3 -0
  3. package/dist/mp4-ast/mp4-fragment-source.d.ts +35 -0
  4. package/dist/mp4-ast/mp4-sample-source.d.ts +55 -0
  5. package/dist/mp4-ast/mp4-source.d.ts +32 -0
  6. package/dist/mp4-ast/types.d.ts +11 -0
  7. package/dist/office-xml/retained-xml-document.d.ts +6 -0
  8. package/dist/pdf-ast/content/evaluator.d.ts +4 -0
  9. package/dist/pdf-ast/cos/object-reader.d.ts +8 -0
  10. package/dist/pdf-ast/cos/value-parser.d.ts +1 -0
  11. package/dist/pdf-ast/edit/forms.d.ts +1 -0
  12. package/dist/pdf-ast/edit/retained-form-appearances.d.ts +10 -0
  13. package/dist/pdf-ast/edit/retained-form-data.d.ts +9 -0
  14. package/dist/pdf-ast/edit/retained-graph.d.ts +6 -0
  15. package/dist/pdf-ast/edit/retained-info-updates.d.ts +33 -0
  16. package/dist/pdf-ast/index.d.ts +2 -1
  17. package/dist/pdf-ast/index.js +895 -139
  18. package/dist/pdf-ast/retained-document.d.ts +5 -0
  19. package/dist/safe-bash/command-chunks/biff-A7XPBWAK-DCLG5QKF.js +5417 -0
  20. package/dist/safe-bash/command-chunks/{chunk-34G2SQX2.js → chunk-2BLTUQNK.js} +2 -2
  21. package/dist/safe-bash/command-chunks/{chunk-LLU2IQEJ.js → chunk-2BNGPR6Z.js} +2 -2
  22. package/dist/safe-bash/command-chunks/{chunk-XIDGHIGB.js → chunk-2PKBXGXD.js} +5 -5
  23. package/dist/safe-bash/command-chunks/{chunk-6SRHWVEB.js → chunk-2VVJRVYM.js} +1 -1
  24. package/dist/safe-bash/command-chunks/{chunk-G5QVZQCO.js → chunk-3EASXF5D.js} +5 -5
  25. package/dist/safe-bash/command-chunks/{chunk-U3SBHEKH.js → chunk-3EB2FSAN.js} +9 -9
  26. package/dist/safe-bash/command-chunks/{chunk-VB2TUPO2.js → chunk-3EW7GYHM.js} +9 -9
  27. package/dist/safe-bash/command-chunks/{chunk-GVWVRPG6.js → chunk-3GRMU7TM.js} +6 -6
  28. package/dist/safe-bash/command-chunks/{chunk-6L4IYQAT.js → chunk-3MG5EAMX.js} +4 -4
  29. package/dist/safe-bash/command-chunks/{chunk-RASQPOSV.js → chunk-3SPLP2DB.js} +1 -1
  30. package/dist/safe-bash/command-chunks/{chunk-K5COUQAQ.js → chunk-3VGQTLO6.js} +1 -1
  31. package/dist/safe-bash/command-chunks/{chunk-K7CV55K5.js → chunk-3YEQI5B7.js} +10 -10
  32. package/dist/safe-bash/command-chunks/{chunk-KCE5D4Z4.js → chunk-3ZRCL756.js} +3 -3
  33. package/dist/safe-bash/command-chunks/{chunk-SOFM3GPG.js → chunk-42MEXZBJ.js} +1 -1
  34. package/dist/safe-bash/command-chunks/{chunk-PKLJRB7W.js → chunk-44F5TOHZ.js} +219 -90
  35. package/dist/safe-bash/command-chunks/{chunk-GQ2ZSPZ3.js → chunk-46AMTJPE.js} +10 -10
  36. package/dist/safe-bash/command-chunks/{chunk-MTWZEPAR.js → chunk-47IAU25U.js} +2 -2
  37. package/dist/safe-bash/command-chunks/{chunk-6GI3NTCW.js → chunk-4B2ZUGLT.js} +4 -4
  38. package/dist/safe-bash/command-chunks/{chunk-X64XGIXZ.js → chunk-4EHY6J2Z.js} +5 -5
  39. package/dist/safe-bash/command-chunks/{chunk-QQVACHZA.js → chunk-4EZJV4FZ.js} +1 -1
  40. package/dist/safe-bash/command-chunks/{chunk-SSKMPDN4.js → chunk-4GQKCUS5.js} +15 -15
  41. package/dist/safe-bash/command-chunks/{chunk-UOBW5K3M.js → chunk-4RRYWHED.js} +7 -7
  42. package/dist/safe-bash/command-chunks/{chunk-PINR7QET.js → chunk-4UPKVQWH.js} +8 -8
  43. package/dist/safe-bash/command-chunks/{chunk-I4GMCWAT.js → chunk-4YLACJHE.js} +6 -6
  44. package/dist/safe-bash/command-chunks/{chunk-P3WU3PSL.js → chunk-5L4YGRQU.js} +3 -3
  45. package/dist/safe-bash/command-chunks/{chunk-WPVBUVFK.js → chunk-5LFGXN3D.js} +6 -6
  46. package/dist/safe-bash/command-chunks/{chunk-YXD6VGVG.js → chunk-5OM3UIK3.js} +3 -3
  47. package/dist/safe-bash/command-chunks/{chunk-RLCQ7BN3.js → chunk-6CDDKNNA.js} +4 -3
  48. package/dist/safe-bash/command-chunks/{chunk-TQEB4DH4.js → chunk-6EINUY5G.js} +149 -165
  49. package/dist/safe-bash/command-chunks/{chunk-C5QDEB3I.js → chunk-6LPSKLLD.js} +3 -3
  50. package/dist/safe-bash/command-chunks/{chunk-XLYIVBAR.js → chunk-6QYSF7I2.js} +7 -7
  51. package/dist/safe-bash/command-chunks/{chunk-6IWE7PTK.js → chunk-6VBDJC6V.js} +6 -6
  52. package/dist/safe-bash/command-chunks/{chunk-6N5GHM72.js → chunk-6WNVGCXD.js} +8 -8
  53. package/dist/safe-bash/command-chunks/{chunk-PSCOXGCA.js → chunk-6XES7Z4G.js} +12 -12
  54. package/dist/safe-bash/command-chunks/{chunk-AFROLW6S.js → chunk-6XGDWFNQ.js} +4 -4
  55. package/dist/safe-bash/command-chunks/{chunk-WTE23QXN.js → chunk-6ZGCKUAM.js} +3 -3
  56. package/dist/safe-bash/command-chunks/{chunk-RIV6XN7K.js → chunk-7DOLY7IV.js} +2 -2
  57. package/dist/safe-bash/command-chunks/{chunk-ET2VPDUA.js → chunk-7KZ5LWV2.js} +1 -1
  58. package/dist/safe-bash/command-chunks/{chunk-NGR5KOPQ.js → chunk-A347DLRB.js} +3 -3
  59. package/dist/safe-bash/command-chunks/{chunk-ZM2Y4Z3C.js → chunk-A45UG4KT.js} +4 -4
  60. package/dist/safe-bash/command-chunks/{chunk-2Z3WRRFT.js → chunk-ADHFF2IM.js} +9 -9
  61. package/dist/safe-bash/command-chunks/{chunk-ATI464W3.js → chunk-AG2SNMP5.js} +1 -1
  62. package/dist/safe-bash/command-chunks/{chunk-HCKYUQ3L.js → chunk-AM5LANIE.js} +7 -7
  63. package/dist/safe-bash/command-chunks/{chunk-RBTC7OFT.js → chunk-AVOGFREX.js} +5 -5
  64. package/dist/safe-bash/command-chunks/{chunk-G3RUXKVY.js → chunk-AWPI4DZR.js} +3 -3
  65. package/dist/safe-bash/command-chunks/{chunk-FYMNHG7R.js → chunk-AXXZNB7U.js} +13 -13
  66. package/dist/safe-bash/command-chunks/{chunk-2E2H7MBH.js → chunk-AY3KQ4EN.js} +7 -7
  67. package/dist/safe-bash/command-chunks/{chunk-DMCI6T6N.js → chunk-BLGGAHQW.js} +1 -1
  68. package/dist/safe-bash/command-chunks/{chunk-CU4DLVME.js → chunk-BLIFGBIO.js} +2 -2
  69. package/dist/safe-bash/command-chunks/{chunk-2V6FOLXV.js → chunk-BS3ZEQGT.js} +14 -14
  70. package/dist/safe-bash/command-chunks/{chunk-WFVSUXJL.js → chunk-BS5JEUEW.js} +8 -8
  71. package/dist/safe-bash/command-chunks/{chunk-X53AEG36.js → chunk-BZMNC7Q5.js} +7 -7
  72. package/dist/safe-bash/command-chunks/{chunk-5KGEZ3RW.js → chunk-CCMAHM3I.js} +2 -2
  73. package/dist/safe-bash/command-chunks/{chunk-PK36TVXB.js → chunk-CFMJXJS5.js} +1 -1
  74. package/dist/safe-bash/command-chunks/{chunk-3LJAXFH5.js → chunk-CIRDVCAZ.js} +7 -7
  75. package/dist/safe-bash/command-chunks/{chunk-UZL7G57V.js → chunk-CKEMZUE3.js} +7 -7
  76. package/dist/safe-bash/command-chunks/{chunk-S2N2V5U4.js → chunk-CQBACD2V.js} +2 -2
  77. package/dist/safe-bash/command-chunks/{chunk-G7NENPYV.js → chunk-CSE4VQKG.js} +12 -1
  78. package/dist/safe-bash/command-chunks/{chunk-X6RHJ6YN.js → chunk-CXME4YHU.js} +23 -0
  79. package/dist/safe-bash/command-chunks/{chunk-FTLDRH47.js → chunk-CZ5K2YPU.js} +16 -16
  80. package/dist/safe-bash/command-chunks/{chunk-7PRL6RJ6.js → chunk-DBLQUZGN.js} +2 -2
  81. package/dist/safe-bash/command-chunks/{chunk-5VQVZPP3.js → chunk-DBNJEXHK.js} +3 -3
  82. package/dist/safe-bash/command-chunks/{chunk-ZO5WBWLL.js → chunk-DN6MSXY7.js} +2 -2
  83. package/dist/safe-bash/command-chunks/{chunk-GXLXWZWH.js → chunk-DZH54L3F.js} +3 -3
  84. package/dist/safe-bash/command-chunks/{chunk-6CY5BHBS.js → chunk-EBHOZIBS.js} +6 -6
  85. package/dist/safe-bash/command-chunks/{chunk-3Y5EME26.js → chunk-ENEIE44W.js} +2 -2
  86. package/dist/safe-bash/command-chunks/{chunk-TKRLZIFI.js → chunk-EQWFKNHJ.js} +17 -17
  87. package/dist/safe-bash/command-chunks/{chunk-YV72XQKL.js → chunk-ETXPMVR6.js} +13 -13
  88. package/dist/safe-bash/command-chunks/{chunk-4Z6W5EOC.js → chunk-EV5G535P.js} +8 -8
  89. package/dist/safe-bash/command-chunks/{chunk-PZMU3Z4L.js → chunk-EVYKV3QI.js} +5 -5
  90. package/dist/safe-bash/command-chunks/{chunk-D6UMSC45.js → chunk-F4YFTO2K.js} +11 -11
  91. package/dist/safe-bash/command-chunks/{chunk-QM2HZJSJ.js → chunk-F762XDNG.js} +3 -3
  92. package/dist/safe-bash/command-chunks/{chunk-SGPCXAG7.js → chunk-FOONI6BD.js} +7 -7
  93. package/dist/safe-bash/command-chunks/{chunk-DYLNU57U.js → chunk-FSVJ67G5.js} +1 -1
  94. package/dist/safe-bash/command-chunks/{chunk-CLKOGAR3.js → chunk-FSYMSWJU.js} +8 -8
  95. package/dist/safe-bash/command-chunks/{chunk-FWPVQGYK.js → chunk-FUQMEUAT.js} +6 -6
  96. package/dist/safe-bash/command-chunks/{chunk-KXPCSVAT.js → chunk-FXCSPPYE.js} +20 -20
  97. package/dist/safe-bash/command-chunks/{chunk-7QZ2HP2F.js → chunk-FYYFV6PW.js} +6 -6
  98. package/dist/safe-bash/command-chunks/{chunk-3OETVNJA.js → chunk-G2COZLXX.js} +9 -9
  99. package/dist/safe-bash/command-chunks/{chunk-MKX4JAZ6.js → chunk-GCHB7VNX.js} +17 -17
  100. package/dist/safe-bash/command-chunks/{chunk-4Y6O2K35.js → chunk-GLAF45M7.js} +1 -1
  101. package/dist/safe-bash/command-chunks/chunk-GPGLTWNR.js +271 -0
  102. package/dist/safe-bash/command-chunks/{chunk-PI6MOMHA.js → chunk-GXMPXMDP.js} +11 -11
  103. package/dist/safe-bash/command-chunks/{chunk-57DDYKE5.js → chunk-GYM5ICK4.js} +7 -7
  104. package/dist/safe-bash/command-chunks/{chunk-5MFDRSGG.js → chunk-H33D4R26.js} +4 -4
  105. package/dist/safe-bash/command-chunks/{chunk-3ZDANXIC.js → chunk-HELAVGZH.js} +3 -3
  106. package/dist/safe-bash/command-chunks/{chunk-S4QH5BXZ.js → chunk-HGIMFVI2.js} +4 -4
  107. package/dist/safe-bash/command-chunks/{chunk-35IPOBWL.js → chunk-HI6ZYH3W.js} +10 -10
  108. package/dist/safe-bash/command-chunks/{chunk-RGOQKIG6.js → chunk-HK6MSB7Z.js} +5 -5
  109. package/dist/safe-bash/command-chunks/{chunk-IHSOOSNC.js → chunk-HQ2UN2L2.js} +17 -17
  110. package/dist/safe-bash/command-chunks/{chunk-7ZE3VIAN.js → chunk-IB5QP4LF.js} +2 -2
  111. package/dist/safe-bash/command-chunks/{chunk-UCR5YDV3.js → chunk-IBYMPAUW.js} +1 -1
  112. package/dist/safe-bash/command-chunks/{chunk-LABOWPFB.js → chunk-IHXZMAMY.js} +9 -9
  113. package/dist/safe-bash/command-chunks/{chunk-PVGZMLC6.js → chunk-IWHNRYER.js} +3 -3
  114. package/dist/safe-bash/command-chunks/{chunk-PPO7YUZF.js → chunk-JGKSWDGP.js} +1 -1
  115. package/dist/safe-bash/command-chunks/{chunk-GKILM4HZ.js → chunk-JR3Q6QNL.js} +7 -7
  116. package/dist/safe-bash/command-chunks/{chunk-D55REQA3.js → chunk-JUHOL5KB.js} +1 -1
  117. package/dist/safe-bash/command-chunks/{chunk-3O2YEI47.js → chunk-JVKE7YZN.js} +3 -3
  118. package/dist/safe-bash/command-chunks/{chunk-6NATRKUJ.js → chunk-JW6WVNTM.js} +1 -1
  119. package/dist/safe-bash/command-chunks/{chunk-IK6K2HCG.js → chunk-JWORWL72.js} +1 -1
  120. package/dist/safe-bash/command-chunks/{chunk-N32GSM3J.js → chunk-K2WOMJOQ.js} +1 -1
  121. package/dist/safe-bash/command-chunks/{chunk-73NYFNAS.js → chunk-KASXIRKD.js} +12 -9
  122. package/dist/safe-bash/command-chunks/{chunk-HKOMXGJS.js → chunk-KBAQHE5Y.js} +2 -2
  123. package/dist/safe-bash/command-chunks/{chunk-T3E5RV3U.js → chunk-KCLJGRU7.js} +12 -12
  124. package/dist/safe-bash/command-chunks/chunk-KHUT7BB5.js +65 -0
  125. package/dist/safe-bash/command-chunks/{chunk-TUDFMNPP.js → chunk-KINIV2SV.js} +1 -1
  126. package/dist/safe-bash/command-chunks/{chunk-43TRBJ2N.js → chunk-KPHLESD4.js} +4 -4
  127. package/dist/safe-bash/command-chunks/{chunk-C5KLFZGT.js → chunk-KSBNZTAZ.js} +6 -6
  128. package/dist/safe-bash/command-chunks/{chunk-4Y34ZG4T.js → chunk-KUOCGGEU.js} +11 -11
  129. package/dist/safe-bash/command-chunks/{chunk-ML5R5JML.js → chunk-KY4LCHUF.js} +1 -1
  130. package/dist/safe-bash/command-chunks/{chunk-KBUBSMCQ.js → chunk-LDW3RF7Y.js} +12 -12
  131. package/dist/safe-bash/command-chunks/{chunk-U27XPNLP.js → chunk-LEO4VRIN.js} +2 -2
  132. package/dist/safe-bash/command-chunks/{chunk-GZ3VIWNN.js → chunk-LKGTH2Q7.js} +7 -7
  133. package/dist/safe-bash/command-chunks/{chunk-TODWFDYB.js → chunk-LNTEV56A.js} +2 -2
  134. package/dist/safe-bash/command-chunks/{chunk-DVGXLBUW.js → chunk-LZ2JFMKT.js} +10 -10
  135. package/dist/safe-bash/command-chunks/{chunk-6D2BMAF4.js → chunk-MEM2ZPMI.js} +2 -2
  136. package/dist/safe-bash/command-chunks/{chunk-GNXTMSYN.js → chunk-MGMTRGKM.js} +4 -4
  137. package/dist/safe-bash/command-chunks/{chunk-B3NLITWP.js → chunk-MKK6FM5H.js} +7 -7
  138. package/dist/safe-bash/command-chunks/{chunk-BK7ISUJL.js → chunk-MKOIPOXX.js} +3 -3
  139. package/dist/safe-bash/command-chunks/chunk-MLOYUXUV.js +244 -0
  140. package/dist/safe-bash/command-chunks/{chunk-CBNKHBLD.js → chunk-MNK3DDH6.js} +2 -2
  141. package/dist/safe-bash/command-chunks/{chunk-JVGUVHWI.js → chunk-MPXMRTMY.js} +10 -10
  142. package/dist/safe-bash/command-chunks/{chunk-EJTNVXWF.js → chunk-MVLVIMJ6.js} +6 -6
  143. package/dist/safe-bash/command-chunks/{chunk-TY4WDAHM.js → chunk-MYZ46FQL.js} +1 -1
  144. package/dist/safe-bash/command-chunks/{chunk-TBAIMDGL.js → chunk-N4MUBJCT.js} +1 -1
  145. package/dist/safe-bash/command-chunks/{chunk-NPLVFAD6.js → chunk-N6G3345Q.js} +8 -8
  146. package/dist/safe-bash/command-chunks/{chunk-4PBNMKAT.js → chunk-NEMUPUUB.js} +7 -7
  147. package/dist/safe-bash/command-chunks/{chunk-MUUWBZIC.js → chunk-NEVQWOU6.js} +10 -10
  148. package/dist/safe-bash/command-chunks/{chunk-7NXTEWPR.js → chunk-NEYITAAO.js} +208 -254
  149. package/dist/safe-bash/command-chunks/{chunk-KZ5ODST6.js → chunk-NFGCBQN3.js} +2 -2
  150. package/dist/safe-bash/command-chunks/{chunk-LD7BONZY.js → chunk-NFII726L.js} +2 -2
  151. package/dist/safe-bash/command-chunks/{chunk-JQPNA77Y.js → chunk-NHNZYWPW.js} +2 -2
  152. package/dist/safe-bash/command-chunks/{chunk-ZYLGNIGA.js → chunk-NQINS4XY.js} +1 -1
  153. package/dist/safe-bash/command-chunks/{chunk-UAF4IX5H.js → chunk-NRFTYZ2R.js} +6 -6
  154. package/dist/safe-bash/command-chunks/{chunk-THMZLJQD.js → chunk-NYFYTL5G.js} +18 -18
  155. package/dist/safe-bash/command-chunks/{chunk-SMSGLRIH.js → chunk-OTF2AJ5M.js} +6 -6
  156. package/dist/safe-bash/command-chunks/{chunk-NPFHUS4X.js → chunk-OVQP6KH5.js} +6 -6
  157. package/dist/safe-bash/command-chunks/{chunk-QFF5KBOM.js → chunk-P2LT6TGR.js} +9 -9
  158. package/dist/safe-bash/command-chunks/{chunk-BEHUSUOY.js → chunk-PLMF35XK.js} +4 -4
  159. package/dist/safe-bash/command-chunks/{chunk-PXWS3Q7L.js → chunk-PLR5IULU.js} +5 -5
  160. package/dist/safe-bash/command-chunks/{chunk-DBLHCJJU.js → chunk-PS5GDFIP.js} +2 -2
  161. package/dist/safe-bash/command-chunks/{chunk-P7EL2FWW.js → chunk-Q5PWYPQV.js} +7 -7
  162. package/dist/safe-bash/command-chunks/{chunk-AJI55RS7.js → chunk-Q7TVCBU2.js} +1 -1
  163. package/dist/safe-bash/command-chunks/{chunk-EHTOHOTR.js → chunk-QB72X7FF.js} +9 -9
  164. package/dist/safe-bash/command-chunks/{chunk-GOBUDKZ3.js → chunk-QDVDBN2N.js} +4 -4
  165. package/dist/safe-bash/command-chunks/{chunk-F3GP3EXE.js → chunk-RGDOYWOD.js} +2 -2
  166. package/dist/safe-bash/command-chunks/{chunk-MNHBQBF6.js → chunk-RHDERFMR.js} +5 -5
  167. package/dist/safe-bash/command-chunks/{chunk-3KMOXEGH.js → chunk-RHU44OMN.js} +2 -2
  168. package/dist/safe-bash/command-chunks/{chunk-XG6UWQV5.js → chunk-RIVKF77R.js} +6 -6
  169. package/dist/safe-bash/command-chunks/{chunk-UOR6PXZZ.js → chunk-ROL5AEX6.js} +1 -1
  170. package/dist/safe-bash/command-chunks/{chunk-3TYDSGAH.js → chunk-RQYPFLZJ.js} +6 -6
  171. package/dist/safe-bash/command-chunks/{chunk-3Y4XZB24.js → chunk-RTNI47C5.js} +4 -4
  172. package/dist/safe-bash/command-chunks/{chunk-W5LLKV5H.js → chunk-RV5AGXOV.js} +2 -2
  173. package/dist/safe-bash/command-chunks/{chunk-JUJHYPYL.js → chunk-RXQ2G2YK.js} +9 -9
  174. package/dist/safe-bash/command-chunks/{chunk-EVU7FLDA.js → chunk-S2QNBAN6.js} +7 -7
  175. package/dist/safe-bash/command-chunks/{chunk-YE6OAKK7.js → chunk-S43QRKDC.js} +7 -7
  176. package/dist/safe-bash/command-chunks/{chunk-774GLJAO.js → chunk-S7HIOT7Z.js} +4 -4
  177. package/dist/safe-bash/command-chunks/{chunk-3D24WDND.js → chunk-SEPUP6TZ.js} +1 -1
  178. package/dist/safe-bash/command-chunks/{chunk-JPMYPOYZ.js → chunk-SUTHGUD3.js} +28 -28
  179. package/dist/safe-bash/command-chunks/{chunk-D6WJY6QO.js → chunk-SWAKALDJ.js} +10 -10
  180. package/dist/safe-bash/command-chunks/{chunk-WGH3RLJY.js → chunk-T5S4SJGO.js} +9 -9
  181. package/dist/safe-bash/command-chunks/{chunk-7JEIWA3A.js → chunk-TID5TSQW.js} +5 -5
  182. package/dist/safe-bash/command-chunks/{chunk-EZ4NQIPL.js → chunk-TJLXSENN.js} +1 -1
  183. package/dist/safe-bash/command-chunks/{chunk-HVW53ARH.js → chunk-TKCUGMRZ.js} +24 -20
  184. package/dist/safe-bash/command-chunks/{chunk-5P6I2T63.js → chunk-TXPDKEGY.js} +8 -8
  185. package/dist/safe-bash/command-chunks/{chunk-CTDC4LJT.js → chunk-U3C6IT2C.js} +55 -36
  186. package/dist/safe-bash/command-chunks/{chunk-MPKY37QR.js → chunk-UJERQEJB.js} +1 -1
  187. package/dist/safe-bash/command-chunks/{chunk-V37D6AHO.js → chunk-USGZN2KE.js} +5 -5
  188. package/dist/safe-bash/command-chunks/{chunk-JAHJWVGF.js → chunk-UYGQEQIP.js} +5 -5
  189. package/dist/safe-bash/command-chunks/{chunk-MPORWUTU.js → chunk-V5XC43BX.js} +8 -8
  190. package/dist/safe-bash/command-chunks/{chunk-AIMSZBWP.js → chunk-V7E3PZOK.js} +9 -9
  191. package/dist/safe-bash/command-chunks/{chunk-CNHRVUHA.js → chunk-VDTFVRYX.js} +1 -1
  192. package/dist/safe-bash/command-chunks/{chunk-M3Z5PU2M.js → chunk-VT2PHQ63.js} +15 -15
  193. package/dist/safe-bash/command-chunks/{chunk-QDVI2YB6.js → chunk-VUWXLH3E.js} +2 -2
  194. package/dist/safe-bash/command-chunks/{chunk-O675URF4.js → chunk-W3ZSWK76.js} +8 -8
  195. package/dist/safe-bash/command-chunks/{chunk-T6C5QP7T.js → chunk-WAT2562G.js} +6039 -5958
  196. package/dist/safe-bash/command-chunks/{chunk-JPA2PUYI.js → chunk-WBKB7HBZ.js} +8 -8
  197. package/dist/safe-bash/command-chunks/{chunk-6244HYJY.js → chunk-WJ2ERUCQ.js} +1 -1
  198. package/dist/safe-bash/command-chunks/{chunk-U5TWQFZY.js → chunk-WTVJLHMG.js} +1 -1
  199. package/dist/safe-bash/command-chunks/{chunk-SLQWQKXP.js → chunk-WWHMI4S3.js} +9 -9
  200. package/dist/safe-bash/command-chunks/{chunk-2UBZALAK.js → chunk-WYZG3DRR.js} +1 -1
  201. package/dist/safe-bash/command-chunks/{chunk-T5ERNELL.js → chunk-WZRFS5OY.js} +4 -4
  202. package/dist/safe-bash/command-chunks/{chunk-2DGJOOXM.js → chunk-X6OHFKBL.js} +8 -8
  203. package/dist/safe-bash/command-chunks/{chunk-S6ZTBXYO.js → chunk-XKAUKLF7.js} +13 -13
  204. package/dist/safe-bash/command-chunks/{chunk-NKTULXVD.js → chunk-XM5QJCPD.js} +8 -8
  205. package/dist/safe-bash/command-chunks/{chunk-BBAB7LC4.js → chunk-XMTR7QGL.js} +4 -4
  206. package/dist/safe-bash/command-chunks/{chunk-5IFRAI7Y.js → chunk-XNGM3W5R.js} +1 -1
  207. package/dist/safe-bash/command-chunks/{chunk-Z5BIM5B7.js → chunk-XTEIT5CI.js} +1 -1
  208. package/dist/safe-bash/command-chunks/{chunk-4DLIUTQV.js → chunk-XU6S3XUZ.js} +11 -11
  209. package/dist/safe-bash/command-chunks/{chunk-EXOQGXEU.js → chunk-XUJAQA3S.js} +30 -30
  210. package/dist/safe-bash/command-chunks/{chunk-VVWXY6IA.js → chunk-Y42KSX63.js} +6 -6
  211. package/dist/safe-bash/command-chunks/{chunk-R2BMZAHG.js → chunk-Y54L4P4J.js} +5 -5
  212. package/dist/safe-bash/command-chunks/{chunk-6WQD7LRA.js → chunk-YAD7EV4N.js} +14 -14
  213. package/dist/safe-bash/command-chunks/{chunk-YUXTK3XA.js → chunk-YRPXBGRX.js} +3 -3
  214. package/dist/safe-bash/command-chunks/{chunk-JORIVUPM.js → chunk-YW2VYN4V.js} +34 -15
  215. package/dist/safe-bash/command-chunks/{chunk-NMPED6L5.js → chunk-Z2WNYEPD.js} +4 -4
  216. package/dist/safe-bash/command-chunks/{chunk-7PZHWMK6.js → chunk-Z7QOSXQC.js} +7 -7
  217. package/dist/safe-bash/command-chunks/{chunk-7UC2Q6Z6.js → chunk-ZIGENXGC.js} +248 -6
  218. package/dist/safe-bash/command-chunks/{chunk-VQOINPVF.js → chunk-ZQM37BGE.js} +2 -2
  219. package/dist/safe-bash/command-chunks/{chunk-W3HV45CI.js → chunk-ZSQZHFWS.js} +9 -9
  220. package/dist/safe-bash/command-chunks/{chunk-IDJQP3A6.js → chunk-ZTMZO4IT.js} +1 -1
  221. package/dist/safe-bash/command-chunks/{chunk-V6XBEYPC.js → chunk-ZU2KJMXO.js} +8 -8
  222. package/dist/safe-bash/command-chunks/{chunk-YXKNJ6EM.js → chunk-ZXELXF2H.js} +5 -5
  223. package/dist/safe-bash/command-chunks/{clipboard-BBDK33GP-VB22F7GI.js → clipboard-BBDK33GP-QZ4ERNQX.js} +2 -2
  224. package/dist/safe-bash/command-chunks/{command-engine-X3OLN7N6.js → command-engine-M7S4QIXV.js} +942 -683
  225. package/dist/safe-bash/command-chunks/{engine-XUCIFZ7V-LJFGZM6O.js → engine-YUYZJIB4-NZUDFEHL.js} +1 -1
  226. package/dist/safe-bash/command-chunks/{gnumeric-UJPXWBVR-YPXTNEDZ.js → gnumeric-UJPXWBVR-7VOHQAPM.js} +2 -2
  227. package/dist/safe-bash/command-chunks/{model-store-E7BHBFJC.js → model-store-UB5DWMAP.js} +24 -24
  228. package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
  229. package/dist/safe-bash-command-awk/awk.js +4 -4
  230. package/dist/safe-bash-command-awk/index.js +4 -4
  231. package/dist/safe-bash-command-diff/diff.js +2 -2
  232. package/dist/safe-bash-command-diff/index.js +3 -3
  233. package/dist/safe-bash-command-diff/sync.js +2 -2
  234. package/dist/safe-bash-command-du/du.js +2 -2
  235. package/dist/safe-bash-command-du/index.js +2 -2
  236. package/dist/safe-bash-command-ffmpeg/index.js +1 -1
  237. package/dist/safe-bash-command-ffprobe/index.js +2 -2
  238. package/dist/safe-bash-command-ffprobe/media.d.ts +8 -2
  239. package/dist/safe-bash-command-ffprobe/media.js +4 -2
  240. package/dist/safe-bash-command-html-to-markdown/index.js +3 -234
  241. package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +50 -0
  242. package/dist/safe-bash-command-html-to-markdown/stored-text.js +12 -0
  243. package/dist/safe-bash-command-htmlq/contracts.d.ts +5 -0
  244. package/dist/safe-bash-command-htmlq/index.js +1715 -292
  245. package/dist/safe-bash-command-htmlq/selectors.d.ts +38 -1
  246. package/dist/safe-bash-command-htmlq/serializer.d.ts +1 -0
  247. package/dist/safe-bash-command-htmlq/tree.d.ts +1 -0
  248. package/dist/safe-bash-command-iconv/command.js +2 -2
  249. package/dist/safe-bash-command-iconv/index.js +2 -2
  250. package/dist/safe-bash-command-llm/command.js +3 -3
  251. package/dist/safe-bash-command-llm/index.js +9 -9
  252. package/dist/safe-bash-command-llm/openai.js +2 -2
  253. package/dist/safe-bash-command-llm/providers/index.js +2 -2
  254. package/dist/safe-bash-command-llm/providers/openai.js +2 -2
  255. package/dist/safe-bash-command-node/commands/node/browser.js +2 -2
  256. package/dist/safe-bash-command-node/commands/node/default-runtime.js +2 -2
  257. package/dist/safe-bash-command-node/commands/node/safejs.js +2 -2
  258. package/dist/safe-bash-command-pandoc/command.js +4 -4
  259. package/dist/safe-bash-command-pandoc/index.js +40 -40
  260. package/dist/safe-bash-command-patch/index.js +7 -6
  261. package/dist/safe-bash-command-patch/patch-formats.d.ts +7 -1
  262. package/dist/safe-bash-command-patch/patch-formats.js +7 -4
  263. package/dist/safe-bash-command-patch/patch-gnu-paths.d.ts +7 -7
  264. package/dist/safe-bash-command-patch/patch-gnu-reject.d.ts +2 -2
  265. package/dist/safe-bash-command-patch/patch-gnu-reject.js +3 -2
  266. package/dist/safe-bash-command-patch/patch-publication.js +3 -2
  267. package/dist/safe-bash-command-patch/patch-text.d.ts +13 -0
  268. package/dist/safe-bash-command-patch/patch.js +7 -6
  269. package/dist/safe-bash-command-patch/stored-patch.d.ts +51 -0
  270. package/dist/safe-bash-command-patch/stored-target.d.ts +41 -0
  271. package/dist/safe-bash-command-patch/unified.d.ts +28 -9
  272. package/dist/safe-bash-command-patch/unified.js +4 -1
  273. package/dist/safe-bash-command-pdftk/index.js +758 -433
  274. package/dist/safe-bash-command-playwright-cli/index.js +26 -26
  275. package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +10 -10
  276. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +14 -14
  277. package/dist/safe-bash-command-playwright-cli/playwright/index.js +23 -23
  278. package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +2 -2
  279. package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +6 -6
  280. package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +4 -4
  281. package/dist/safe-bash-command-pptx/command-engine.d.ts +2 -1
  282. package/dist/safe-bash-command-pptx/engine.js +1 -1
  283. package/dist/safe-bash-command-pptx/index.d.ts +1 -1
  284. package/dist/safe-bash-command-pptx/index.js +163 -17
  285. package/dist/safe-bash-command-pptx/streaming-inputs.d.ts +7 -2
  286. package/dist/safe-bash-command-python/executor.js +5 -5
  287. package/dist/safe-bash-command-python/index.js +5 -5
  288. package/dist/safe-bash-command-python/jspi.js +2 -2
  289. package/dist/safe-bash-command-soffice/index.js +1 -1
  290. package/dist/safe-bash-command-sort/index.js +3 -3
  291. package/dist/safe-bash-command-ssconvert/index.js +2 -2
  292. package/dist/safe-bash-command-tar/create.js +2 -2
  293. package/dist/safe-bash-command-tar/extract.js +2 -2
  294. package/dist/safe-bash-command-tar/index.js +8 -8
  295. package/dist/safe-bash-command-tar/modes.js +4 -4
  296. package/dist/safe-bash-command-timeout/index.js +3 -3
  297. package/dist/safe-bash-command-tree/index.js +2 -2
  298. package/dist/safe-bash-command-tree/tree.js +2 -2
  299. package/dist/safe-bash-command-xz/index.js +5 -5
  300. package/dist/safe-bash-compression-engine/files.js +2 -2
  301. package/dist/safe-bash-compression-engine/operand.js +4 -4
  302. package/dist/safe-bash-contracts/diagnostics.js +3 -3
  303. package/dist/safe-bash-contracts/escaping.js +10 -10
  304. package/dist/safe-bash-contracts/filesystem-descriptor.js +1 -1
  305. package/dist/safe-bash-contracts/filesystem-output.js +6 -6
  306. package/dist/safe-bash-contracts/index.js +33 -33
  307. package/dist/safe-bash-contracts/io.js +2 -2
  308. package/dist/safe-bash-contracts/output.js +3 -3
  309. package/dist/safe-bash-docx-engine/ancillary-resources.js +5 -5
  310. package/dist/safe-bash-docx-engine/batch-operations.js +63 -63
  311. package/dist/safe-bash-docx-engine/batch-result-schema.js +74 -74
  312. package/dist/safe-bash-docx-engine/batch.js +74 -74
  313. package/dist/safe-bash-docx-engine/bookmarks.js +13 -13
  314. package/dist/safe-bash-docx-engine/charts.js +6 -6
  315. package/dist/safe-bash-docx-engine/command-option-rules.js +3 -3
  316. package/dist/safe-bash-docx-engine/comments.js +21 -21
  317. package/dist/safe-bash-docx-engine/control-bindings.js +16 -16
  318. package/dist/safe-bash-docx-engine/control-repeat.js +16 -16
  319. package/dist/safe-bash-docx-engine/controls.js +14 -14
  320. package/dist/safe-bash-docx-engine/create.js +8 -8
  321. package/dist/safe-bash-docx-engine/diagrams.js +6 -6
  322. package/dist/safe-bash-docx-engine/diff.js +8 -8
  323. package/dist/safe-bash-docx-engine/document-properties.js +12 -12
  324. package/dist/safe-bash-docx-engine/equations.js +12 -12
  325. package/dist/safe-bash-docx-engine/extract.js +9 -9
  326. package/dist/safe-bash-docx-engine/fields.js +18 -18
  327. package/dist/safe-bash-docx-engine/font-inventory.js +13 -13
  328. package/dist/safe-bash-docx-engine/font-resources.js +3 -3
  329. package/dist/safe-bash-docx-engine/image-batch-operations.js +11 -11
  330. package/dist/safe-bash-docx-engine/image-insertion.js +17 -17
  331. package/dist/safe-bash-docx-engine/image-layout.js +14 -14
  332. package/dist/safe-bash-docx-engine/image-replacement.js +19 -19
  333. package/dist/safe-bash-docx-engine/images.js +14 -14
  334. package/dist/safe-bash-docx-engine/index.js +102 -102
  335. package/dist/safe-bash-docx-engine/inspection.js +15 -15
  336. package/dist/safe-bash-docx-engine/invocation.js +4 -4
  337. package/dist/safe-bash-docx-engine/io.js +6 -6
  338. package/dist/safe-bash-docx-engine/links.js +17 -17
  339. package/dist/safe-bash-docx-engine/lists.js +16 -16
  340. package/dist/safe-bash-docx-engine/locations.js +10 -10
  341. package/dist/safe-bash-docx-engine/notes.js +18 -18
  342. package/dist/safe-bash-docx-engine/objects.js +14 -14
  343. package/dist/safe-bash-docx-engine/pack.js +9 -9
  344. package/dist/safe-bash-docx-engine/package-view-batch-operations.js +19 -19
  345. package/dist/safe-bash-docx-engine/pandoc-adapter.js +25 -25
  346. package/dist/safe-bash-docx-engine/paragraph-edit.js +21 -21
  347. package/dist/safe-bash-docx-engine/publication.js +6 -6
  348. package/dist/safe-bash-docx-engine/removal.js +16 -16
  349. package/dist/safe-bash-docx-engine/revision-decisions.js +16 -16
  350. package/dist/safe-bash-docx-engine/revision-edit.js +15 -15
  351. package/dist/safe-bash-docx-engine/revisions.js +12 -12
  352. package/dist/safe-bash-docx-engine/run-format.js +15 -15
  353. package/dist/safe-bash-docx-engine/sanitize.js +29 -29
  354. package/dist/safe-bash-docx-engine/sections.js +15 -15
  355. package/dist/safe-bash-docx-engine/settings.js +6 -6
  356. package/dist/safe-bash-docx-engine/shape-edit.js +16 -16
  357. package/dist/safe-bash-docx-engine/signatures.js +11 -11
  358. package/dist/safe-bash-docx-engine/stories.js +18 -18
  359. package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +34 -34
  360. package/dist/safe-bash-docx-engine/style-model-batch-operations.js +24 -24
  361. package/dist/safe-bash-docx-engine/style-model-result-schema.js +39 -39
  362. package/dist/safe-bash-docx-engine/styles.js +14 -14
  363. package/dist/safe-bash-docx-engine/table-edit.js +23 -23
  364. package/dist/safe-bash-docx-engine/table-read.js +11 -11
  365. package/dist/safe-bash-docx-engine/template.js +17 -17
  366. package/dist/safe-bash-docx-engine/text-replace.js +15 -15
  367. package/dist/safe-bash-docx-engine/text-resource-read.js +11 -11
  368. package/dist/safe-bash-docx-engine/text.js +11 -11
  369. package/dist/safe-bash-docx-engine/validation.js +4 -4
  370. package/dist/safe-bash-docx-engine/xml-parts.js +17 -17
  371. package/dist/safe-bash-io-engine/commands/text-programs/shared.js +4 -4
  372. package/dist/safe-bash-line-ending-engine/command.js +3 -3
  373. package/dist/safe-bash-line-ending-engine/convert.js +2 -2
  374. package/dist/safe-bash-line-ending-engine/index.js +6 -6
  375. package/dist/safe-bash-line-ending-engine/info.js +2 -2
  376. package/dist/safe-bash-markdown-engine/commonmark-blocks.js +4 -4
  377. package/dist/safe-bash-markdown-engine/commonmark-inlines.js +4 -4
  378. package/dist/safe-bash-markdown-engine/commonmark-syntax.js +2 -2
  379. package/dist/safe-bash-markdown-engine/gfm-syntax.js +3 -3
  380. package/dist/safe-bash-markdown-engine/index.js +5 -5
  381. package/dist/safe-bash-network-engine/transfer.js +3 -3
  382. package/dist/safe-bash-presentation-engine/accessibility.js +30 -30
  383. package/dist/safe-bash-presentation-engine/animation-editing.js +15 -15
  384. package/dist/safe-bash-presentation-engine/animations.js +15 -15
  385. package/dist/safe-bash-presentation-engine/backgrounds.js +16 -16
  386. package/dist/safe-bash-presentation-engine/bytes.js +3 -3
  387. package/dist/safe-bash-presentation-engine/chart-editing.js +33 -33
  388. package/dist/safe-bash-presentation-engine/chart-object-operations.js +24 -24
  389. package/dist/safe-bash-presentation-engine/charts.js +30 -30
  390. package/dist/safe-bash-presentation-engine/command-placeholder.js +58 -58
  391. package/dist/safe-bash-presentation-engine/comments.js +16 -16
  392. package/dist/safe-bash-presentation-engine/connector-operations.js +31 -31
  393. package/dist/safe-bash-presentation-engine/connectors.js +28 -28
  394. package/dist/safe-bash-presentation-engine/content-types.js +4 -4
  395. package/dist/safe-bash-presentation-engine/creation.js +6 -6
  396. package/dist/safe-bash-presentation-engine/diff.js +31 -31
  397. package/dist/safe-bash-presentation-engine/drawing-format.js +19 -19
  398. package/dist/safe-bash-presentation-engine/drawing-operations.js +30 -30
  399. package/dist/safe-bash-presentation-engine/drawing-schema.js +20 -20
  400. package/dist/safe-bash-presentation-engine/equations.js +16 -16
  401. package/dist/safe-bash-presentation-engine/errors.js +2 -2
  402. package/dist/safe-bash-presentation-engine/fields.js +16 -16
  403. package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
  404. package/dist/safe-bash-presentation-engine/image-extraction.js +19 -19
  405. package/dist/safe-bash-presentation-engine/image-formatting.js +31 -31
  406. package/dist/safe-bash-presentation-engine/image-insertion.js +17 -17
  407. package/dist/safe-bash-presentation-engine/image-replacement.js +20 -20
  408. package/dist/safe-bash-presentation-engine/image-value.js +4 -4
  409. package/dist/safe-bash-presentation-engine/images.js +18 -18
  410. package/dist/safe-bash-presentation-engine/index.js +114 -114
  411. package/dist/safe-bash-presentation-engine/layouts.js +15 -15
  412. package/dist/safe-bash-presentation-engine/length.js +3 -3
  413. package/dist/safe-bash-presentation-engine/links.js +15 -15
  414. package/dist/safe-bash-presentation-engine/masters.js +14 -14
  415. package/dist/safe-bash-presentation-engine/media-editing.js +23 -23
  416. package/dist/safe-bash-presentation-engine/media-extraction.js +16 -16
  417. package/dist/safe-bash-presentation-engine/media.js +15 -15
  418. package/dist/safe-bash-presentation-engine/memberships.js +14 -14
  419. package/dist/safe-bash-presentation-engine/notes.d.ts +1 -0
  420. package/dist/safe-bash-presentation-engine/notes.js +21 -15
  421. package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
  422. package/dist/safe-bash-presentation-engine/ole-insertion.js +19 -19
  423. package/dist/safe-bash-presentation-engine/opaque-objects.js +9 -9
  424. package/dist/safe-bash-presentation-engine/package-reader.js +5 -5
  425. package/dist/safe-bash-presentation-engine/package-tools.js +18 -18
  426. package/dist/safe-bash-presentation-engine/package-uri.js +3 -3
  427. package/dist/safe-bash-presentation-engine/package-writer.js +4 -4
  428. package/dist/safe-bash-presentation-engine/presentation-model.js +57 -57
  429. package/dist/safe-bash-presentation-engine/presentation-settings.js +13 -13
  430. package/dist/safe-bash-presentation-engine/properties.js +15 -15
  431. package/dist/safe-bash-presentation-engine/relationships.js +4 -4
  432. package/dist/safe-bash-presentation-engine/resource-limits.js +1 -1
  433. package/dist/safe-bash-presentation-engine/retained-frame-formatting.d.ts +14 -0
  434. package/dist/safe-bash-presentation-engine/retained-inspection.js +13 -13
  435. package/dist/safe-bash-presentation-engine/retained-notes.d.ts +27 -0
  436. package/dist/safe-bash-presentation-engine/retained-package.js +5 -5
  437. package/dist/safe-bash-presentation-engine/retained-text.d.ts +9 -2
  438. package/dist/safe-bash-presentation-engine/retained-text.js +130 -31
  439. package/dist/safe-bash-presentation-engine/retained-xml-document.d.ts +1 -0
  440. package/dist/safe-bash-presentation-engine/sanitize.js +16 -16
  441. package/dist/safe-bash-presentation-engine/selectors.js +10 -10
  442. package/dist/safe-bash-presentation-engine/shape-groups.js +30 -30
  443. package/dist/safe-bash-presentation-engine/shape-operations.js +29 -29
  444. package/dist/safe-bash-presentation-engine/shape-path-operations.js +31 -31
  445. package/dist/safe-bash-presentation-engine/shape-paths.js +15 -15
  446. package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
  447. package/dist/safe-bash-presentation-engine/shape-selection.js +30 -30
  448. package/dist/safe-bash-presentation-engine/shape-transforms.js +17 -17
  449. package/dist/safe-bash-presentation-engine/shapes.js +26 -26
  450. package/dist/safe-bash-presentation-engine/slide-copy.js +16 -16
  451. package/dist/safe-bash-presentation-engine/slide-import.js +17 -17
  452. package/dist/safe-bash-presentation-engine/slide-merge-split.js +19 -19
  453. package/dist/safe-bash-presentation-engine/slide-model.js +42 -42
  454. package/dist/safe-bash-presentation-engine/slide-removal.js +17 -17
  455. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
  456. package/dist/safe-bash-presentation-engine/slides.js +18 -18
  457. package/dist/safe-bash-presentation-engine/table-operations.js +32 -32
  458. package/dist/safe-bash-presentation-engine/table-spans.js +31 -31
  459. package/dist/safe-bash-presentation-engine/tables.js +30 -30
  460. package/dist/safe-bash-presentation-engine/tags.js +15 -15
  461. package/dist/safe-bash-presentation-engine/template-bindings.js +32 -32
  462. package/dist/safe-bash-presentation-engine/template-repeat.js +39 -39
  463. package/dist/safe-bash-presentation-engine/text-fitting.js +26 -26
  464. package/dist/safe-bash-presentation-engine/text-frames.d.ts +13 -0
  465. package/dist/safe-bash-presentation-engine/text-frames.js +28 -26
  466. package/dist/safe-bash-presentation-engine/text-paragraphs.js +26 -26
  467. package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
  468. package/dist/safe-bash-presentation-engine/text-replacement.js +16 -16
  469. package/dist/safe-bash-presentation-engine/text-runs.js +19 -19
  470. package/dist/safe-bash-presentation-engine/themes.js +15 -15
  471. package/dist/safe-bash-presentation-engine/transitions.js +15 -15
  472. package/dist/safe-bash-presentation-engine/validation.js +9 -9
  473. package/dist/safe-bash-presentation-engine/xml-parts.js +18 -18
  474. package/dist/safe-bash-presentation-engine/xml-view.js +3 -3
  475. package/dist/safe-bash-presentation-engine/xml.js +3 -3
  476. package/dist/safe-bash-query-engine/index.js +4 -4
  477. package/dist/safe-bash-query-engine/interpreter.js +2 -2
  478. package/dist/safe-bash-query-engine/query-core.js +4 -4
  479. package/dist/safe-bash-xml-engine/document.js +3 -3
  480. package/dist/safe-bash-xml-engine/evaluate.js +1 -1
  481. package/dist/safe-bash-xml-engine/index.js +6 -6
  482. package/dist/safe-bash-xml-engine/query.js +2 -2
  483. package/dist/safe-bash-xml-engine/stored-document.d.ts +2 -2
  484. package/dist/safe-bash-xml-engine/stored-document.js +1 -1
  485. package/dist/safe-bash-xml-engine/stored-evaluate.js +1 -1
  486. package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
  487. package/dist/safe-bash-zip-engine/zip/volumes.js +3 -3
  488. package/dist/spreadsheet-engine/datasource.js +16 -2
  489. package/dist/spreadsheet-engine/formulas/diagnostics.d.ts +2 -1
  490. package/dist/spreadsheet-engine/formulas/diagnostics.js +2 -2
  491. package/dist/spreadsheet-engine/formulas/evaluator.d.ts +1 -1
  492. package/dist/spreadsheet-engine/formulas/evaluator.js +2 -1
  493. package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +7 -6
  494. package/dist/spreadsheet-format-xls/biff-properties-merge.js +41 -22
  495. package/dist/spreadsheet-format-xls/biff-properties.js +94 -109
  496. package/dist/spreadsheet-format-xls/biff-property-dictionary.d.ts +5 -0
  497. package/dist/spreadsheet-format-xls/biff-property-dictionary.js +75 -0
  498. package/dist/spreadsheet-format-xls/biff-property-range.d.ts +17 -3
  499. package/dist/spreadsheet-format-xls/biff-property-range.js +178 -37
  500. package/dist/spreadsheet-format-xls/biff-property-values.d.ts +31 -0
  501. package/dist/spreadsheet-format-xls/biff-property-values.js +158 -0
  502. package/package.json +5 -2
  503. package/dist/safe-bash/command-chunks/biff-4ALVARRF-7SRX6R6N.js +0 -5192
  504. package/dist/safe-bash/command-chunks/chunk-63EMPQ7Z.js +0 -115
  505. package/dist/safe-bash/command-chunks/{chunk-X2HVVMTW.js → chunk-AW4Q3GZW.js} +6 -6
  506. package/dist/safe-bash/command-chunks/{chunk-JC2EV66U.js → chunk-BJXADHRT.js} +3 -3
  507. package/dist/safe-bash/command-chunks/{chunk-XI2LETBJ.js → chunk-BXU5Y7I5.js} +3 -3
  508. package/dist/safe-bash/command-chunks/{chunk-PVLPWVRH.js → chunk-D3HW7R2N.js} +3 -3
  509. package/dist/safe-bash/command-chunks/{chunk-OLK3DCJD.js → chunk-DYERIXPU.js} +3 -3
  510. package/dist/safe-bash/command-chunks/{chunk-WYBCSJFG.js → chunk-FWCUEZ3K.js} +3 -3
  511. package/dist/safe-bash/command-chunks/{chunk-FF2SQ2GP.js → chunk-GGH376XQ.js} +3 -3
  512. package/dist/safe-bash/command-chunks/{chunk-D66Q7QJ3.js → chunk-JRSZ5IGD.js} +6 -6
  513. package/dist/safe-bash/command-chunks/{chunk-3JST2Q7G.js → chunk-KRRG4MGH.js} +3 -3
  514. package/dist/safe-bash/command-chunks/{chunk-Z3YB4EVE.js → chunk-KSM5CCHT.js} +8 -8
  515. package/dist/safe-bash/command-chunks/{chunk-NJ4NTTCR.js → chunk-LNLACEAN.js} +8 -8
  516. package/dist/safe-bash/command-chunks/{chunk-NBTG6NF6.js → chunk-LTJRUMK6.js} +3 -3
  517. package/dist/safe-bash/command-chunks/{chunk-XCYTG7CR.js → chunk-NJGL5JQ6.js} +3 -3
  518. package/dist/safe-bash/command-chunks/{chunk-SZ66JC25.js → chunk-Q7J2NTH2.js} +3 -3
  519. package/dist/safe-bash/command-chunks/{chunk-MDV7W5AS.js → chunk-SKNI2XQA.js} +3 -3
  520. package/dist/safe-bash/command-chunks/{chunk-7ZWACKCG.js → chunk-T6OXG7QQ.js} +3 -3
  521. package/dist/safe-bash/command-chunks/{chunk-ECDEPKKW.js → chunk-W25EIKDJ.js} +3 -3
  522. package/dist/safe-bash/command-chunks/{chunk-4YSBUQPV.js → chunk-W2FKFEVY.js} +3 -3
  523. package/dist/safe-bash/command-chunks/{chunk-2CIDPOUV.js → chunk-WSNHJZQ5.js} +3 -3
  524. package/dist/safe-bash/command-chunks/{chunk-4H3TYOVC.js → chunk-Y7AXMCFV.js} +3 -3
  525. package/dist/safe-bash/command-chunks/{chunk-U6IEK2CI.js → chunk-YPG55QTP.js} +7 -7
  526. package/dist/safe-bash/command-chunks/{chunk-252L5YC5.js → chunk-Z37OM247.js} +6 -6
  527. package/dist/safe-bash/command-chunks/{pln-DFS7VLVS-JATX6FS7.js → pln-DFS7VLVS-OVOBS4QX.js} +3 -3
  528. package/dist/safe-bash/command-chunks/{psion-YBI6JEQI-6OMC2PGC.js → psion-YBI6JEQI-GY4S6ZLC.js} +3 -3
@@ -9,7 +9,7 @@ import {
9
9
  parseStreamingManifest,
10
10
  probeOggFlacSource,
11
11
  probeOggStreamMetadata
12
- } from "./chunk-7NXTEWPR.js";
12
+ } from "./chunk-NEYITAAO.js";
13
13
 
14
14
  // packages/safe-bash-command-ffprobe/src/ogg-probe.ts
15
15
  import { probeOggStreamSource } from "../../audio-ast/index.js";
@@ -1350,47 +1350,74 @@ function formatIntrospectionOutput(flag, plugins, command = "ffmpeg") {
1350
1350
  function formatFfprobeResult(probe2, opts, audioInput) {
1351
1351
  return Array.from(formatFfprobeResultChunks(probe2, opts, audioInput)).join("");
1352
1352
  }
1353
- function* formatFfprobeResultChunks(probe2, opts, audioInput) {
1354
- if (audioInput && !opts.showPackets && !opts.showFrames && !opts.showChapters && !opts.showPrograms && !opts.countFrames && !opts.countPackets && probe2.streams.length > 0 && probe2.streams.every((stream) => stream.codec_type === "audio")) {
1353
+ function formatQualifiedAudio(probe2, opts, audioInput) {
1354
+ if (audioInput && !opts.showPackets && !opts.showFrames && !opts.showChapters && !opts.showPrograms && !opts.countFrames && !opts.countPackets && Array.isArray(probe2.streams) && probe2.streams.length > 0 && probe2.streams.every((stream) => stream.codec_type === "audio")) {
1355
1355
  let formatted;
1356
1356
  try {
1357
1357
  formatted = "bytes" in audioInput ? probe(audioInput.bytes, audioInput.args) : formatAudioProbe({ ...audioInput.audio, nodes: audioInput.audio.nodes ?? [] }, audioInput.size, parseArguments(audioInput.args));
1358
1358
  } catch {
1359
1359
  }
1360
- if (formatted !== void 0) {
1361
- yield formatted;
1362
- return;
1360
+ return formatted;
1361
+ }
1362
+ }
1363
+ function* formatFfprobeResultChunks(probe2, opts, audioInput) {
1364
+ const audio = formatQualifiedAudio(probe2, opts, audioInput);
1365
+ if (audio !== void 0) {
1366
+ yield audio;
1367
+ return;
1368
+ }
1369
+ for (const step of formatProbeSteps(probe2, opts)) {
1370
+ if (typeof step === "string") {
1371
+ yield step;
1372
+ continue;
1363
1373
  }
1374
+ let index = 0;
1375
+ for (const row of step.rows) yield* step.render(row, index++);
1376
+ }
1377
+ }
1378
+ async function* formatFfprobeSourceChunks(probe2, opts, audioInput, signal) {
1379
+ signal?.throwIfAborted();
1380
+ const audio = formatQualifiedAudio(probe2, opts, audioInput);
1381
+ if (audio !== void 0) {
1382
+ yield audio;
1383
+ return;
1364
1384
  }
1365
- let filteredStreams = [...probe2.streams];
1366
- if (opts.selectStreams) {
1367
- const spec = opts.selectStreams.toLowerCase();
1368
- if (spec === "v") {
1369
- filteredStreams = filteredStreams.filter((s) => s.codec_type === "video");
1370
- } else if (spec === "a") {
1371
- filteredStreams = filteredStreams.filter((s) => s.codec_type === "audio");
1372
- } else if (spec === "s") {
1373
- filteredStreams = filteredStreams.filter((s) => s.codec_type === "subtitle");
1374
- } else if (spec.startsWith("v:")) {
1375
- const ord = parseInt(spec.slice(2), 10) || 0;
1376
- const vList = filteredStreams.filter((s) => s.codec_type === "video");
1377
- filteredStreams = vList[ord] ? [vList[ord]] : [];
1378
- } else if (spec.startsWith("a:")) {
1379
- const ord = parseInt(spec.slice(2), 10) || 0;
1380
- const aList = filteredStreams.filter((s) => s.codec_type === "audio");
1381
- filteredStreams = aList[ord] ? [aList[ord]] : [];
1382
- } else if (/^\d+$/.test(spec)) {
1383
- const idx = parseInt(spec, 10);
1384
- filteredStreams = filteredStreams.filter((s) => s.index === idx);
1385
- }
1386
- }
1387
- if (opts.countFrames || opts.countPackets) {
1388
- filteredStreams = filteredStreams.map((s) => ({
1389
- ...s,
1390
- ...opts.countFrames ? { nb_read_frames: s.nb_frames ?? "0" } : {},
1391
- ...opts.countPackets ? { nb_read_packets: s.nb_frames ?? "0" } : {}
1392
- }));
1385
+ for (const step of formatProbeSteps(probe2, opts)) {
1386
+ signal?.throwIfAborted();
1387
+ if (typeof step === "string") {
1388
+ yield step;
1389
+ continue;
1390
+ }
1391
+ const iterator = Symbol.asyncIterator in step.rows ? step.rows[Symbol.asyncIterator]() : step.rows[Symbol.iterator]();
1392
+ let index = 0, ended = false, failed = false;
1393
+ try {
1394
+ for (; ; ) {
1395
+ signal?.throwIfAborted();
1396
+ const next = await iterator.next();
1397
+ signal?.throwIfAborted();
1398
+ if (next.done) {
1399
+ ended = true;
1400
+ break;
1401
+ }
1402
+ yield* step.render(next.value, index++);
1403
+ if (index % 256 === 0) await yieldTurn6(signal);
1404
+ }
1405
+ } catch (error) {
1406
+ failed = true;
1407
+ throw error;
1408
+ } finally {
1409
+ if (!ended) {
1410
+ if (failed) {
1411
+ try {
1412
+ await iterator.return?.();
1413
+ } catch {
1414
+ }
1415
+ } else await iterator.return?.();
1416
+ }
1417
+ }
1393
1418
  }
1419
+ }
1420
+ function* formatProbeSteps(probe2, opts) {
1394
1421
  const entryFilter = /* @__PURE__ */ new Map();
1395
1422
  if (opts.showEntries) {
1396
1423
  for (const secSpec of opts.showEntries.split(":")) {
@@ -1440,9 +1467,23 @@ function* formatFfprobeResultChunks(probe2, opts, audioInput) {
1440
1467
  const includeFrames = opts.showFrames || entryFilter.has("frame");
1441
1468
  const includeChapters = opts.showChapters || entryFilter.has("chapter");
1442
1469
  const includePrograms = opts.showPrograms || entryFilter.has("program");
1443
- const finalStreams = includeStreams ? filteredStreams.map(
1444
- (s) => filterObject(s, "stream", "stream_tags")
1445
- ) : void 0;
1470
+ let typeOrdinal = 0;
1471
+ const prepareStream = (row) => {
1472
+ const stream = row, spec = opts.selectStreams?.toLowerCase();
1473
+ if (spec) {
1474
+ const type = spec[0] === "v" ? "video" : spec[0] === "a" ? "audio" : spec[0] === "s" ? "subtitle" : void 0;
1475
+ if ((spec === "v" || spec === "a" || spec === "s") && stream.codec_type !== type) return;
1476
+ if (spec.startsWith("v:") || spec.startsWith("a:")) {
1477
+ if (stream.codec_type !== type) return;
1478
+ if (typeOrdinal++ !== (parseInt(spec.slice(2), 10) || 0)) return;
1479
+ } else if ([...spec].every((c) => c >= "0" && c <= "9") && stream.index !== parseInt(spec, 10)) return;
1480
+ }
1481
+ return filterObject({
1482
+ ...stream,
1483
+ ...opts.countFrames ? { nb_read_frames: stream.nb_frames ?? "0" } : {},
1484
+ ...opts.countPackets ? { nb_read_packets: stream.nb_frames ?? "0" } : {}
1485
+ }, "stream", "stream_tags");
1486
+ };
1446
1487
  const finalFormat = includeFormat ? filterObject(probe2.format, "format", "format_tags") : void 0;
1447
1488
  const [fmtNameRaw, ...fmtParams] = opts.printFormat.split(":");
1448
1489
  const rawHead = fmtNameRaw ?? "default";
@@ -1463,7 +1504,7 @@ function* formatFfprobeResultChunks(probe2, opts, audioInput) {
1463
1504
  if (includePrograms) sections.push({ name: "programs", rows: [] });
1464
1505
  if (includePackets && probe2.packets) sections.push({ name: "packets", rows: probe2.packets });
1465
1506
  if (includeFrames && probe2.frames) sections.push({ name: "frames", rows: probe2.frames });
1466
- if (finalStreams !== void 0) sections.push({ name: "streams", rows: finalStreams });
1507
+ if (includeStreams) sections.push({ name: "streams", rows: probe2.streams });
1467
1508
  if (includeChapters) sections.push({ name: "chapters", rows: probe2.chapters });
1468
1509
  if (finalFormat !== void 0) sections.push({ name: "format", value: finalFormat });
1469
1510
  const compact = paramMap.c === "1" || paramMap.compact === "1";
@@ -1475,12 +1516,16 @@ function* formatFfprobeResultChunks(probe2, opts, audioInput) {
1475
1516
  if (section.rows) {
1476
1517
  yield "[";
1477
1518
  let firstRow = true;
1478
- for (const row of section.rows) {
1519
+ yield { rows: section.rows, *render(row) {
1520
+ if (section.name === "streams") {
1521
+ row = prepareStream(row);
1522
+ if (row === void 0) return;
1523
+ }
1479
1524
  yield (firstRow ? "" : ",") + (compact ? "" : "\n ");
1480
1525
  firstRow = false;
1481
1526
  const text = JSON.stringify(row, null, compact ? void 0 : 2) ?? "null";
1482
1527
  yield compact ? text : text.replaceAll("\n", "\n ");
1483
- }
1528
+ } };
1484
1529
  yield (compact || firstRow ? "" : "\n ") + "]";
1485
1530
  } else {
1486
1531
  const text = JSON.stringify(section.value, null, compact ? void 0 : 2);
@@ -1512,103 +1557,53 @@ function* formatFfprobeResultChunks(probe2, opts, audioInput) {
1512
1557
  }
1513
1558
  return fmt === "flat" ? '"' + escaped + '"' : escaped;
1514
1559
  }
1515
- if (fmt === "csv" || fmt === "compact") {
1516
- const sep = fmt === "csv" ? paramMap.s ?? "," : paramMap.s ?? "|";
1517
- const printSection = paramMap.p !== "0" && paramMap.print_section !== "0";
1518
- const lines2 = [];
1519
- if (finalStreams) {
1520
- for (const s of finalStreams) {
1521
- const vals = [];
1522
- if (printSection) vals.push("stream");
1523
- for (const [k, v] of probeEntries(s, "tag:")) {
1524
- if (v === void 0 || typeof v === "object") continue;
1525
- vals.push(noKey || fmt === "csv" ? probeText(v, sep) : `${k}=${probeText(v, sep)}`);
1526
- }
1527
- lines2.push(vals.join(sep));
1528
- }
1529
- }
1530
- if (finalFormat) {
1531
- const vals = [];
1532
- if (printSection) vals.push("format");
1533
- for (const [k, v] of probeEntries(finalFormat, "tag:")) {
1534
- if (v === void 0 || typeof v === "object") continue;
1535
- vals.push(noKey || fmt === "csv" ? probeText(v, sep) : `${k}=${probeText(v, sep)}`);
1536
- }
1537
- lines2.push(vals.join(sep));
1538
- }
1539
- yield lines2.join("\n") + (lines2.length > 0 ? "\n" : "");
1540
- return;
1541
- }
1542
- if (fmt === "flat") {
1543
- const sep = paramMap.s ?? ".";
1544
- const lines2 = [];
1545
- if (finalStreams) {
1546
- finalStreams.forEach((s, idx) => {
1547
- for (const [k, v] of probeEntries(s, `tags${sep}`)) {
1548
- if (v === void 0 || typeof v === "object") continue;
1549
- lines2.push(`streams${sep}stream${sep}${idx}${sep}${k}=${probeText(v)}`);
1550
- }
1551
- });
1552
- }
1553
- if (finalFormat) {
1554
- for (const [k, v] of probeEntries(finalFormat, `tags${sep}`)) {
1555
- if (v === void 0 || typeof v === "object") continue;
1556
- lines2.push(`format${sep}${k}=${probeText(v)}`);
1560
+ let streamIndex = 0;
1561
+ function* render(section, name, index = 0) {
1562
+ if (fmt === "csv" || fmt === "compact") {
1563
+ const sep = fmt === "csv" ? paramMap.s ?? "," : paramMap.s ?? "|";
1564
+ const printSection = paramMap.p !== "0" && paramMap.print_section !== "0";
1565
+ let first = true;
1566
+ if (printSection) {
1567
+ yield name;
1568
+ first = false;
1557
1569
  }
1558
- }
1559
- yield lines2.join("\n") + (lines2.length > 0 ? "\n" : "");
1560
- return;
1561
- }
1562
- const lines = [];
1563
- if (finalStreams) {
1564
- for (const s of finalStreams) {
1565
- if (!noWrappers) lines.push("[STREAM]");
1566
- for (const [k, v] of Object.entries(s)) {
1567
- if (v === void 0) continue;
1568
- if (k === "tags" && v && typeof v === "object") {
1569
- for (const [tk, tv] of Object.entries(v)) {
1570
- lines.push(noKey ? String(tv) : `TAG:${tk}=${String(tv)}`);
1571
- }
1572
- continue;
1573
- }
1574
- if (typeof v === "object") continue;
1575
- lines.push(noKey ? String(v) : `${k}=${String(v)}`);
1570
+ for (const [key, value] of probeEntries(section, "tag:")) {
1571
+ if (value === void 0 || typeof value === "object") continue;
1572
+ if (!first) yield sep;
1573
+ first = false;
1574
+ yield noKey || fmt === "csv" ? probeText(value, sep) : `${key}=${probeText(value, sep)}`;
1576
1575
  }
1577
- if (!noWrappers) lines.push("[/STREAM]");
1578
- }
1579
- }
1580
- if (includeChapters && probe2.chapters.length > 0) {
1581
- for (const ch of probe2.chapters) {
1582
- if (!noWrappers) lines.push("[CHAPTER]");
1583
- lines.push(noKey ? String(ch.id) : `id=${ch.id}`);
1584
- lines.push(noKey ? ch.time_base : `time_base=${ch.time_base}`);
1585
- lines.push(noKey ? String(ch.start) : `start=${ch.start}`);
1586
- lines.push(noKey ? ch.start_time : `start_time=${ch.start_time}`);
1587
- lines.push(noKey ? String(ch.end) : `end=${ch.end}`);
1588
- lines.push(noKey ? ch.end_time : `end_time=${ch.end_time}`);
1589
- for (const [tk, tv] of Object.entries(ch.tags)) {
1590
- lines.push(noKey ? String(tv) : `TAG:${tk}=${tv}`);
1576
+ yield "\n";
1577
+ } else if (fmt === "flat") {
1578
+ const sep = paramMap.s ?? ".", prefix = name === "stream" ? `streams${sep}stream${sep}${index}${sep}` : `format${sep}`;
1579
+ for (const [key, value] of probeEntries(section, `tags${sep}`)) {
1580
+ if (value === void 0 || typeof value === "object") continue;
1581
+ yield `${prefix}${key}=${probeText(value)}
1582
+ `;
1591
1583
  }
1592
- if (!noWrappers) lines.push("[/CHAPTER]");
1593
- }
1594
- }
1595
- if (finalFormat) {
1596
- if (!noWrappers) lines.push("[FORMAT]");
1597
- for (const [k, v] of Object.entries(finalFormat)) {
1598
- if (v === void 0) continue;
1599
- if (k === "tags" && v && typeof v === "object") {
1600
- for (const [tk, tv] of Object.entries(v)) {
1601
- lines.push(noKey ? String(tv) : `TAG:${tk}=${String(tv)}`);
1602
- }
1603
- continue;
1584
+ } else {
1585
+ const wrapper = name.toUpperCase();
1586
+ if (!noWrappers) yield `[${wrapper}]
1587
+ `;
1588
+ for (const [key, value] of Object.entries(section)) {
1589
+ if (value === void 0) continue;
1590
+ if (key === "tags" && value && typeof value === "object") {
1591
+ for (const [tag, text] of Object.entries(value)) yield (noKey ? String(text) : `TAG:${tag}=${String(text)}`) + "\n";
1592
+ } else if (typeof value !== "object") yield (noKey ? String(value) : `${key}=${String(value)}`) + "\n";
1604
1593
  }
1605
- if (typeof v === "object") continue;
1606
- lines.push(noKey ? String(v) : `${k}=${String(v)}`);
1594
+ if (!noWrappers) yield `[/${wrapper}]
1595
+ `;
1607
1596
  }
1608
- if (!noWrappers) lines.push("[/FORMAT]");
1609
1597
  }
1610
- yield lines.join("\n") + (lines.length > 0 ? "\n" : "");
1611
- return;
1598
+ if (includeStreams) yield { rows: probe2.streams, *render(row) {
1599
+ const stream = prepareStream(row);
1600
+ if (stream !== void 0) yield* render(stream, "stream", streamIndex++);
1601
+ } };
1602
+ if (includeChapters && fmt !== "csv" && fmt !== "compact" && fmt !== "flat") yield { rows: probe2.chapters, *render(row) {
1603
+ const chapter = row;
1604
+ yield* render({ id: chapter.id, time_base: chapter.time_base, start: chapter.start, start_time: chapter.start_time, end: chapter.end, end_time: chapter.end_time, tags: chapter.tags }, "chapter");
1605
+ } };
1606
+ if (finalFormat) yield* render(finalFormat, "format");
1612
1607
  }
1613
1608
  var defaultAstPluginsCache;
1614
1609
  var defaultRegistryCache;
@@ -1700,14 +1695,15 @@ async function probeSourceMetadata(context, plugins, input, filename, budget, re
1700
1695
  plugin = plugins.find((candidate) => candidate.detect(header, filename));
1701
1696
  }
1702
1697
  if (!plugin) return void 0;
1703
- if (plugin.formatName === "ogg" && !plugin.probeMetadata) {
1698
+ if (plugin.formatName === "ogg" && !plugin.probeRecords && !plugin.probeMetadata) {
1704
1699
  const probeOptions = { ...records, filename, signal: context.signal, budget, limits: budget.limits, checkpoint: () => yieldTurn6(context.signal) };
1705
1700
  const flac = await probeOggFlacSource(source, probeOptions);
1706
1701
  if (flac) return flac;
1707
1702
  const ogg = await probeStoredOgg(source, context, retain);
1708
1703
  return onAudio ? { oggRows: ogg.rows } : probeOggStreamMetadata(ogg.first, source.size, probeOptions);
1709
1704
  }
1710
- const result = await plugin.probeMetadata(source, { ...records, filename, signal: context.signal, budget, limits: budget.limits });
1705
+ const result = await (plugin.probeRecords ?? plugin.probeMetadata).call(plugin, source, { ...records, filename, signal: context.signal, budget, limits: budget.limits });
1706
+ if (result.close) retain(result.close.bind(result));
1711
1707
  if (onAudio) {
1712
1708
  const tags = plugin.formatName === "flac" ? new FlacTags(source, context) : new SourceAudioTags(source, context);
1713
1709
  retain(tags.close);
@@ -1752,35 +1748,22 @@ async function probeRetainedMetadata(context, plugins, path, filename, budget, r
1752
1748
  context.signal.throwIfAborted();
1753
1749
  if (capabilities.retainedRead !== true) return void 0;
1754
1750
  const handle = await context.fs.openReadFile(path, { signal: context.signal });
1755
- if (onAudio) retain(handle.close.bind(handle));
1756
- let failed = true;
1757
- try {
1758
- context.signal.throwIfAborted();
1759
- const stat = await handle.stat({ signal: context.signal });
1760
- context.signal.throwIfAborted();
1761
- if (!Number.isSafeInteger(stat.size) || stat.size < 0) throw new Error("Invalid media source size");
1762
- context.inputBudget?.check(stat.size);
1763
- budget.checkInputBytes(stat.size);
1764
- const result = await probeSourceMetadata(context, plugins, {
1765
- size: stat.size,
1766
- read: (offset, length) => handle.read(offset, length, { signal: context.signal })
1767
- }, filename, budget, records, onAudio, retain, detect);
1768
- context.signal.throwIfAborted();
1769
- failed = false;
1770
- return result;
1771
- } finally {
1772
- if (!onAudio) {
1773
- if (failed) {
1774
- try {
1775
- await handle.close();
1776
- } catch {
1777
- }
1778
- } else await handle.close();
1779
- }
1780
- }
1751
+ retain(handle.close.bind(handle));
1752
+ context.signal.throwIfAborted();
1753
+ const stat = await handle.stat({ signal: context.signal });
1754
+ context.signal.throwIfAborted();
1755
+ if (!Number.isSafeInteger(stat.size) || stat.size < 0) throw new Error("Invalid media source size");
1756
+ context.inputBudget?.check(stat.size);
1757
+ budget.checkInputBytes(stat.size);
1758
+ const result = await probeSourceMetadata(context, plugins, {
1759
+ size: stat.size,
1760
+ read: (offset, length) => handle.read(offset, length, { signal: context.signal })
1761
+ }, filename, budget, records, onAudio, retain, detect);
1762
+ context.signal.throwIfAborted();
1763
+ return result;
1781
1764
  }
1782
1765
  async function probeStreamMetadata(context, plugin, filename, budget, records) {
1783
- if (!plugin.canDemux || !plugin.probeMetadataStream) return void 0;
1766
+ if (!plugin.canDemux || plugin.probeRecords || !plugin.probeMetadataStream) return void 0;
1784
1767
  context.signal.throwIfAborted();
1785
1768
  const source = await openProbeStream(context, isStdin(filename) ? void 0 : resolvePath(context.cwd, filename));
1786
1769
  if (!source) return void 0;
@@ -1882,9 +1865,9 @@ function createFfprobeCommand(options = {}) {
1882
1865
  automaticAudio = false;
1883
1866
  }
1884
1867
  }
1885
- const automaticPlugins = !options.asts && !explicitFormat ? astPlugins.filter((plugin) => plugin.canDemux && (plugin.probeMetadata || plugin === registry.findByFormatName("ogg")) && (!automaticAudio || ["wav", "flac", "mp3", "ogg"].some((format) => plugin === registry.findByFormatName(format)))) : [];
1868
+ const automaticPlugins = !explicitFormat ? astPlugins.filter((plugin) => plugin.canDemux && (plugin.probeRecords || plugin.probeMetadata || !options.asts && plugin === registry.findByFormatName("ogg")) && (!automaticAudio || ["wav", "flac", "mp3", "ogg"].some((format) => plugin === registry.findByFormatName(format)))) : [];
1886
1869
  const explicitPlugin = explicitFormat ? registry.findByFormatName(explicitFormat) : void 0;
1887
- const retainedPlugins = explicitPlugin ? explicitPlugin.canDemux && (explicitPlugin.probeMetadata || !options.asts && explicitPlugin === registry.findByFormatName("ogg")) ? [explicitPlugin] : [] : automaticPlugins;
1870
+ const retainedPlugins = explicitPlugin ? explicitPlugin.canDemux && (explicitPlugin.probeRecords || explicitPlugin.probeMetadata || !options.asts && explicitPlugin === registry.findByFormatName("ogg")) ? [explicitPlugin] : [] : automaticPlugins;
1888
1871
  let probeResult = retainedPlugins.length && !isStdin(inputTarget) ? await probeRetainedMetadata(context, retainedPlugins, resolvePath(context.cwd, inputTarget), inputTarget, budget, { showPackets, showFrames }, automaticAudio ? (audio, size, tags) => {
1889
1872
  audioInput = { audio, size, args };
1890
1873
  storedTags = tags;
@@ -1902,7 +1885,7 @@ function createFfprobeCommand(options = {}) {
1902
1885
  });
1903
1886
  const automaticPlugin = explicitPlugin ?? streamPlugins.find((plugin) => plugin.detect(sniffed.prefix, inputTarget));
1904
1887
  if (automaticPlugin) {
1905
- if (!automaticAudio && automaticPlugin.probeMetadataStream) {
1888
+ if (!automaticAudio && !automaticPlugin.probeRecords && automaticPlugin.probeMetadataStream) {
1906
1889
  probeResult = await automaticPlugin.probeMetadataStream(sniffed.stream, {
1907
1890
  showPackets,
1908
1891
  showFrames,
@@ -1943,7 +1926,7 @@ function createFfprobeCommand(options = {}) {
1943
1926
  });
1944
1927
  if (!options.asts && !explicitFormat) audioInput = { bytes, args };
1945
1928
  }
1946
- const formatted = "oggRows" in probeResult ? formatTaggedRows(probeResult.oggRows(args), args) : storedTags && audioInput && "audio" in audioInput ? formatTaggedAudio(audioInput.audio, audioInput.size, audioInput.args, storedTags) : formatFfprobeResultChunks(probeResult, {
1929
+ const formatted = "oggRows" in probeResult ? formatTaggedRows(probeResult.oggRows(args), args) : storedTags && audioInput && "audio" in audioInput ? formatTaggedAudio(audioInput.audio, audioInput.size, audioInput.args, storedTags) : formatFfprobeSourceChunks(probeResult, {
1947
1930
  printFormat,
1948
1931
  showFormat,
1949
1932
  showStreams,
@@ -1955,7 +1938,7 @@ function createFfprobeCommand(options = {}) {
1955
1938
  showEntries,
1956
1939
  countFrames,
1957
1940
  countPackets
1958
- }, audioInput);
1941
+ }, audioInput, context.signal);
1959
1942
  await writeProbeOutput(context, formatted, (total) => budget.checkOutputBytes(total), closeInputs);
1960
1943
  options.onMetrics?.(budget.getStats());
1961
1944
  return { exitCode: 0 };
@@ -2044,6 +2027,7 @@ export {
2044
2027
  formatIntrospectionOutput,
2045
2028
  formatFfprobeResult,
2046
2029
  formatFfprobeResultChunks,
2030
+ formatFfprobeSourceChunks,
2047
2031
  getDefaultMediaRegistry,
2048
2032
  createFfprobeCommand,
2049
2033
  evalSyncFfprobe
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  attr
3
- } from "./chunk-2Z3WRRFT.js";
3
+ } from "./chunk-ADHFF2IM.js";
4
4
  import {
5
5
  parseXmlPart
6
- } from "./chunk-7PRL6RJ6.js";
6
+ } from "./chunk-DBLQUZGN.js";
7
7
  import {
8
8
  OfficeError
9
- } from "./chunk-X6RHJ6YN.js";
9
+ } from "./chunk-CXME4YHU.js";
10
10
 
11
11
  // packages/safe-bash-presentation-engine/src/comment-import.ts
12
12
  var authorType = "application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  readTextBodies,
3
3
  validateTextReadingOptions
4
- } from "./chunk-C5KLFZGT.js";
4
+ } from "./chunk-KSBNZTAZ.js";
5
5
  import {
6
6
  loadShared
7
- } from "./chunk-2Z3WRRFT.js";
7
+ } from "./chunk-ADHFF2IM.js";
8
8
  import {
9
9
  SelectionError,
10
10
  readSelectionIndex
11
- } from "./chunk-O675URF4.js";
11
+ } from "./chunk-W3ZSWK76.js";
12
12
  import {
13
13
  readPackage
14
- } from "./chunk-PVGZMLC6.js";
14
+ } from "./chunk-IWHNRYER.js";
15
15
  import {
16
16
  readBinary
17
- } from "./chunk-LD7BONZY.js";
17
+ } from "./chunk-NFII726L.js";
18
18
  import {
19
19
  parseXmlPart
20
- } from "./chunk-7PRL6RJ6.js";
20
+ } from "./chunk-DBLQUZGN.js";
21
21
  import {
22
22
  OfficeError
23
- } from "./chunk-X6RHJ6YN.js";
23
+ } from "./chunk-CXME4YHU.js";
24
24
 
25
25
  // packages/safe-bash-presentation-engine/src/equations.ts
26
26
  import { SaxesParser } from "saxes";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  readTextBodies,
3
3
  validateTextReadingOptions
4
- } from "./chunk-C5KLFZGT.js";
4
+ } from "./chunk-KSBNZTAZ.js";
5
5
  import {
6
6
  loadShared
7
- } from "./chunk-2Z3WRRFT.js";
7
+ } from "./chunk-ADHFF2IM.js";
8
8
  import {
9
9
  SelectionError
10
- } from "./chunk-O675URF4.js";
10
+ } from "./chunk-W3ZSWK76.js";
11
11
  import {
12
12
  protectedEquationNodes
13
- } from "./chunk-Z5BIM5B7.js";
13
+ } from "./chunk-XTEIT5CI.js";
14
14
  import {
15
15
  parseXmlPart
16
- } from "./chunk-7PRL6RJ6.js";
16
+ } from "./chunk-DBLQUZGN.js";
17
17
  import {
18
18
  OfficeError
19
- } from "./chunk-X6RHJ6YN.js";
19
+ } from "./chunk-CXME4YHU.js";
20
20
 
21
21
  // packages/safe-bash-presentation-engine/src/text-replacement.ts
22
22
  function authored(value, maximum) {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  openDocumentLocations
3
- } from "./chunk-UZL7G57V.js";
3
+ } from "./chunk-CKEMZUE3.js";
4
+ import {
5
+ embeddedFontContentTypes,
6
+ fontResourceRole
7
+ } from "./chunk-JW6WVNTM.js";
4
8
  import {
5
9
  measurePackageResourceSerialization
6
- } from "./chunk-LLU2IQEJ.js";
10
+ } from "./chunk-2BNGPR6Z.js";
7
11
  import {
8
12
  validateDocxInvocation
9
- } from "./chunk-GXLXWZWH.js";
10
- import {
11
- embeddedFontContentTypes,
12
- fontResourceRole
13
- } from "./chunk-6NATRKUJ.js";
13
+ } from "./chunk-DZH54L3F.js";
14
14
  import {
15
15
  readDocumentArchive
16
16
  } from "./chunk-5BUL25DF.js";
17
17
  import {
18
18
  revisionInfo
19
- } from "./chunk-4H3TYOVC.js";
19
+ } from "./chunk-Y7AXMCFV.js";
20
20
  import {
21
21
  documentDialects
22
22
  } from "./chunk-WLANDWNW.js";
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  readMemberships
3
- } from "./chunk-QFF5KBOM.js";
3
+ } from "./chunk-P2LT6TGR.js";
4
4
  import {
5
5
  remapCopiedXml
6
- } from "./chunk-QM2HZJSJ.js";
6
+ } from "./chunk-F762XDNG.js";
7
7
  import {
8
8
  writePackageArchive
9
- } from "./chunk-HKOMXGJS.js";
9
+ } from "./chunk-KBAQHE5Y.js";
10
10
  import {
11
11
  SelectionError,
12
12
  readSelectionIndex
13
- } from "./chunk-O675URF4.js";
13
+ } from "./chunk-W3ZSWK76.js";
14
14
  import {
15
15
  readPackage
16
- } from "./chunk-PVGZMLC6.js";
16
+ } from "./chunk-IWHNRYER.js";
17
17
  import {
18
18
  readBinary
19
- } from "./chunk-LD7BONZY.js";
19
+ } from "./chunk-NFII726L.js";
20
20
  import {
21
21
  validatePresentation
22
- } from "./chunk-GVWVRPG6.js";
22
+ } from "./chunk-3GRMU7TM.js";
23
23
  import {
24
24
  parseXmlPart
25
- } from "./chunk-7PRL6RJ6.js";
25
+ } from "./chunk-DBLQUZGN.js";
26
26
  import {
27
27
  parseContentTypes
28
- } from "./chunk-VQOINPVF.js";
28
+ } from "./chunk-ZQM37BGE.js";
29
29
  import {
30
30
  readRelationshipGraph
31
- } from "./chunk-TODWFDYB.js";
31
+ } from "./chunk-LNTEV56A.js";
32
32
  import {
33
33
  asciiKey,
34
34
  relativePartReference
35
- } from "./chunk-U5TWQFZY.js";
35
+ } from "./chunk-WTVJLHMG.js";
36
36
  import {
37
37
  OfficeError
38
- } from "./chunk-X6RHJ6YN.js";
38
+ } from "./chunk-CXME4YHU.js";
39
39
 
40
40
  // packages/safe-bash-presentation-engine/src/slide-copy.ts
41
41
  var dialects = [
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  openDocumentLocations,
3
3
  resolveDocxSelection
4
- } from "./chunk-UZL7G57V.js";
4
+ } from "./chunk-CKEMZUE3.js";
5
5
  import {
6
6
  measurePackageResourceSerialization
7
- } from "./chunk-LLU2IQEJ.js";
7
+ } from "./chunk-2BNGPR6Z.js";
8
8
  import {
9
9
  validateDocxInvocation
10
- } from "./chunk-GXLXWZWH.js";
10
+ } from "./chunk-DZH54L3F.js";
11
11
  import {
12
12
  publishDocumentFiles
13
- } from "./chunk-PZMU3Z4L.js";
13
+ } from "./chunk-EVYKV3QI.js";
14
14
  import {
15
15
  PublicationError
16
16
  } from "./chunk-JGGRMERW.js";
@@ -1,9 +1,9 @@
1
- import {
2
- Interpreter
3
- } from "./chunk-NJ4NTTCR.js";
4
1
  import {
5
2
  parse
6
3
  } from "./chunk-77NXQZGK.js";
4
+ import {
5
+ Interpreter
6
+ } from "./chunk-LNLACEAN.js";
7
7
  import {
8
8
  Budget,
9
9
  JqLimitError,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  openDocumentLocations
3
- } from "./chunk-UZL7G57V.js";
3
+ } from "./chunk-CKEMZUE3.js";
4
4
  import {
5
5
  validateDocxInvocation
6
- } from "./chunk-GXLXWZWH.js";
6
+ } from "./chunk-DZH54L3F.js";
7
7
  import {
8
8
  archiveSettings
9
9
  } from "./chunk-L5457JAS.js";