@poe-platform/safe-bash 0.1.815 → 0.1.817

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 (602) hide show
  1. package/dist/image-ast/index.js +1 -1
  2. package/dist/mp4-ast/codecs.d.ts +3 -0
  3. package/dist/mp4-ast/esds-source.d.ts +7 -0
  4. package/dist/mp4-ast/index.d.ts +5 -1
  5. package/dist/mp4-ast/mp4-codec-metadata.d.ts +48 -0
  6. package/dist/mp4-ast/mp4-codec-source.d.ts +8 -0
  7. package/dist/mp4-ast/mp4-packets-source.d.ts +11 -0
  8. package/dist/pdf-ast/ast.d.ts +6 -0
  9. package/dist/pdf-ast/content/evaluator.d.ts +8 -1
  10. package/dist/pdf-ast/content/stored-dictionary.d.ts +15 -1
  11. package/dist/pdf-ast/content/stored-record.d.ts +6 -0
  12. package/dist/pdf-ast/cos/retained-writer.d.ts +1 -0
  13. package/dist/pdf-ast/cos/value-parser.d.ts +7 -0
  14. package/dist/pdf-ast/edit/retained-graph.d.ts +1 -0
  15. package/dist/pdf-ast/edit/retained-page-copy.d.ts +10 -0
  16. package/dist/pdf-ast/extract/images.d.ts +2 -1
  17. package/dist/pdf-ast/fonts/resolve.d.ts +6 -1
  18. package/dist/pdf-ast/index.d.ts +2 -0
  19. package/dist/pdf-ast/index.js +1249 -473
  20. package/dist/pdf-ast/render/raster.d.ts +14 -0
  21. package/dist/pdf-ast/render/svg-image-stream.d.ts +6 -0
  22. package/dist/pdf-ast/render/svg-path-stream.d.ts +15 -0
  23. package/dist/pdf-ast/retained-document.d.ts +1 -1
  24. package/dist/safe-bash/chunks/{chunk-I6ECNJMR.js → chunk-AXGI5JVL.js} +1 -1
  25. package/dist/safe-bash/chunks/{chunk-TPG55BAQ.js → chunk-FQRI5AS5.js} +1 -1
  26. package/dist/safe-bash/chunks/{chunk-TWWGAW4M.js → chunk-HD6DWOAC.js} +1 -1
  27. package/dist/safe-bash/chunks/{chunk-5JCZEXEM.js → chunk-SXSEF5E2.js} +12 -7
  28. package/dist/safe-bash/command-chunks/biff-KLS4T7FP-UO3CXFFF.js +5581 -0
  29. package/dist/safe-bash/command-chunks/{chunk-S7HIOT7Z.js → chunk-26JE5JEB.js} +4 -4
  30. package/dist/safe-bash/command-chunks/{chunk-AG2SNMP5.js → chunk-2ALHVXEM.js} +2 -2
  31. package/dist/safe-bash/command-chunks/{chunk-4YLACJHE.js → chunk-2IMIKROX.js} +6 -6
  32. package/dist/safe-bash/command-chunks/chunk-2J4OQT3F.js +153 -0
  33. package/dist/safe-bash/command-chunks/{chunk-MYZ46FQL.js → chunk-2QZUAZTH.js} +1 -1
  34. package/dist/safe-bash/command-chunks/{chunk-YAD7EV4N.js → chunk-2TWXRJPB.js} +11 -11
  35. package/dist/safe-bash/command-chunks/{chunk-NYFYTL5G.js → chunk-345YBIHP.js} +27 -27
  36. package/dist/safe-bash/command-chunks/{chunk-3MG5EAMX.js → chunk-35DU6I2M.js} +5 -5
  37. package/dist/safe-bash/command-chunks/{chunk-FSVJ67G5.js → chunk-3DWFXESW.js} +2 -2
  38. package/dist/safe-bash/command-chunks/{chunk-TKCUGMRZ.js → chunk-3K5CVXUV.js} +18 -18
  39. package/dist/safe-bash/command-chunks/{chunk-6LPSKLLD.js → chunk-3MUFXGA2.js} +3 -3
  40. package/dist/safe-bash/command-chunks/{chunk-44F5TOHZ.js → chunk-3PM46VWH.js} +15 -15
  41. package/dist/safe-bash/command-chunks/{chunk-6QYSF7I2.js → chunk-3ZWFE4CK.js} +7 -7
  42. package/dist/safe-bash/command-chunks/{chunk-NEYITAAO.js → chunk-45DKGZYO.js} +744 -328
  43. package/dist/safe-bash/command-chunks/{chunk-U3C6IT2C.js → chunk-4772DJKS.js} +14 -10
  44. package/dist/safe-bash/command-chunks/{chunk-FOONI6BD.js → chunk-4ABR3KGK.js} +7 -7
  45. package/dist/safe-bash/command-chunks/{chunk-7KZ5LWV2.js → chunk-4IDV763L.js} +1 -1
  46. package/dist/safe-bash/command-chunks/{chunk-RV5AGXOV.js → chunk-4X2MPZXW.js} +2 -2
  47. package/dist/safe-bash/command-chunks/{chunk-LNTEV56A.js → chunk-4YFTJS5U.js} +2 -2
  48. package/dist/safe-bash/command-chunks/{chunk-6XES7Z4G.js → chunk-57PK2QFX.js} +12 -12
  49. package/dist/safe-bash/command-chunks/{chunk-42MEXZBJ.js → chunk-5GDF5FAS.js} +1 -1
  50. package/dist/safe-bash/command-chunks/{chunk-BS3ZEQGT.js → chunk-5KZMR6AJ.js} +18 -16
  51. package/dist/safe-bash/command-chunks/{chunk-ZU2KJMXO.js → chunk-5MNQTHED.js} +10 -10
  52. package/dist/safe-bash/command-chunks/{chunk-W25EIKDJ.js → chunk-5NC2IQMQ.js} +1 -1
  53. package/dist/safe-bash/command-chunks/{chunk-KY4LCHUF.js → chunk-5O45KGW5.js} +1 -1
  54. package/dist/safe-bash/command-chunks/{chunk-GYM5ICK4.js → chunk-5V7WIQ2D.js} +7 -7
  55. package/dist/safe-bash/command-chunks/{chunk-GPGLTWNR.js → chunk-5XUWGUGN.js} +16 -11
  56. package/dist/safe-bash/command-chunks/{chunk-SUTHGUD3.js → chunk-5YL453ZF.js} +34 -34
  57. package/dist/safe-bash/command-chunks/{chunk-IHXZMAMY.js → chunk-62RG3GHF.js} +6 -6
  58. package/dist/safe-bash/command-chunks/{chunk-P2LT6TGR.js → chunk-6EZWG56T.js} +9 -9
  59. package/dist/safe-bash/command-chunks/{chunk-CCMAHM3I.js → chunk-6JGICYHP.js} +2 -2
  60. package/dist/safe-bash/command-chunks/{chunk-AWPI4DZR.js → chunk-6KJDTKE4.js} +3 -3
  61. package/dist/safe-bash/command-chunks/{chunk-FUQMEUAT.js → chunk-6M3JTPKE.js} +8 -8
  62. package/dist/safe-bash/command-chunks/{chunk-H33D4R26.js → chunk-6RLWPB44.js} +4 -4
  63. package/dist/safe-bash/command-chunks/{chunk-3GRMU7TM.js → chunk-6W4RMBFH.js} +6 -6
  64. package/dist/safe-bash/command-chunks/{chunk-RIVKF77R.js → chunk-6YF2QADH.js} +6 -6
  65. package/dist/safe-bash/command-chunks/{chunk-LEO4VRIN.js → chunk-77ROD2TR.js} +5 -5
  66. package/dist/safe-bash/command-chunks/{chunk-XNGM3W5R.js → chunk-7B2MHKIW.js} +1 -1
  67. package/dist/safe-bash/command-chunks/{chunk-RFMHNTTF.js → chunk-7OCTMVYJ.js} +1 -1
  68. package/dist/safe-bash/command-chunks/{chunk-DBLQUZGN.js → chunk-7PYDVQPB.js} +2 -2
  69. package/dist/safe-bash/command-chunks/{chunk-AM5LANIE.js → chunk-A2L3U7DW.js} +7 -7
  70. package/dist/safe-bash/command-chunks/{chunk-UYGQEQIP.js → chunk-A4P37F3P.js} +5 -5
  71. package/dist/safe-bash/command-chunks/{chunk-ADHFF2IM.js → chunk-A5SPMSKD.js} +9 -9
  72. package/dist/safe-bash/command-chunks/{chunk-ENEIE44W.js → chunk-A6OTPNNI.js} +3 -3
  73. package/dist/safe-bash/command-chunks/{chunk-HQ2UN2L2.js → chunk-ABL2DPJI.js} +27 -27
  74. package/dist/safe-bash/command-chunks/chunk-AF2IO57Q.js +733 -0
  75. package/dist/safe-bash/command-chunks/{chunk-AFPXADZG.js → chunk-AHD3CGAY.js} +4 -4
  76. package/dist/safe-bash/command-chunks/{chunk-YW2VYN4V.js → chunk-ALD53QFL.js} +74 -27
  77. package/dist/safe-bash/command-chunks/{chunk-4B2ZUGLT.js → chunk-ARE267HR.js} +5 -5
  78. package/dist/safe-bash/command-chunks/{chunk-OTF2AJ5M.js → chunk-AYQPJQJR.js} +6 -6
  79. package/dist/safe-bash/command-chunks/{chunk-2VVJRVYM.js → chunk-B6XTAKKQ.js} +1 -1
  80. package/dist/safe-bash/command-chunks/{chunk-GCHB7VNX.js → chunk-BIJW6QWB.js} +17 -17
  81. package/dist/safe-bash/command-chunks/{chunk-OVEPYULA.js → chunk-BKK4MS3V.js} +1 -1
  82. package/dist/safe-bash/command-chunks/{chunk-3EB2FSAN.js → chunk-BOVDUJ3A.js} +7 -7
  83. package/dist/safe-bash/command-chunks/{chunk-SEPUP6TZ.js → chunk-BSTABZIK.js} +1 -1
  84. package/dist/safe-bash/command-chunks/{chunk-ATHHWPSE.js → chunk-BZRWZ6GO.js} +1 -1
  85. package/dist/safe-bash/command-chunks/{chunk-BZMNC7Q5.js → chunk-CGJ7GMHO.js} +7 -7
  86. package/dist/safe-bash/command-chunks/{chunk-RGDOYWOD.js → chunk-CHZE6FNT.js} +2 -2
  87. package/dist/safe-bash/command-chunks/{chunk-V7E3PZOK.js → chunk-CKA7ZROU.js} +7 -7
  88. package/dist/safe-bash/command-chunks/{chunk-MEM2ZPMI.js → chunk-CKIXC7AO.js} +3 -3
  89. package/dist/safe-bash/command-chunks/{chunk-Y54L4P4J.js → chunk-CORUUCS2.js} +5 -5
  90. package/dist/safe-bash/command-chunks/{chunk-6ZGCKUAM.js → chunk-DIRK47GT.js} +1 -1
  91. package/dist/safe-bash/command-chunks/{chunk-WYZG3DRR.js → chunk-DM5WURQL.js} +2 -2
  92. package/dist/safe-bash/command-chunks/{chunk-EBHOZIBS.js → chunk-DOVWHVHI.js} +6 -6
  93. package/dist/safe-bash/command-chunks/{chunk-ZIGENXGC.js → chunk-DXOXUKQB.js} +8 -8
  94. package/dist/safe-bash/command-chunks/{chunk-JR3Q6QNL.js → chunk-DZOKH5BL.js} +7 -7
  95. package/dist/safe-bash/command-chunks/{chunk-6EINUY5G.js → chunk-E22EAYJN.js} +54 -12
  96. package/dist/safe-bash/command-chunks/{chunk-3EASXF5D.js → chunk-E4TF5W6O.js} +2 -2
  97. package/dist/safe-bash/command-chunks/{chunk-6CDDKNNA.js → chunk-E64ZI2YB.js} +155 -12
  98. package/dist/safe-bash/command-chunks/{chunk-MLOYUXUV.js → chunk-EJ4UP7DA.js} +31 -9
  99. package/dist/safe-bash/command-chunks/{chunk-USGZN2KE.js → chunk-ENMJHB2C.js} +5 -5
  100. package/dist/safe-bash/command-chunks/{chunk-ZSQZHFWS.js → chunk-ERWIJYCS.js} +7 -7
  101. package/dist/safe-bash/command-chunks/{chunk-S2QNBAN6.js → chunk-ET6LMDEX.js} +12 -12
  102. package/dist/safe-bash/command-chunks/{chunk-6XGDWFNQ.js → chunk-EWC56JNI.js} +5 -5
  103. package/dist/safe-bash/command-chunks/{chunk-EQWFKNHJ.js → chunk-EZDWPTYB.js} +19 -19
  104. package/dist/safe-bash/command-chunks/{chunk-CQBACD2V.js → chunk-F2NF6FHV.js} +2 -2
  105. package/dist/safe-bash/command-chunks/{chunk-NFII726L.js → chunk-FAU2KL6I.js} +2 -2
  106. package/dist/safe-bash/command-chunks/{chunk-4EHY6J2Z.js → chunk-FB2WPI3M.js} +5 -5
  107. package/dist/safe-bash/command-chunks/{chunk-2PKBXGXD.js → chunk-FEBTT5NH.js} +5 -5
  108. package/dist/safe-bash/command-chunks/chunk-FGARVKAX.js +704 -0
  109. package/dist/safe-bash/command-chunks/{chunk-N4MUBJCT.js → chunk-FGHSE3RZ.js} +1 -1
  110. package/dist/safe-bash/command-chunks/{chunk-WBKB7HBZ.js → chunk-FHQOFEQK.js} +8 -8
  111. package/dist/safe-bash/command-chunks/{chunk-3ZRCL756.js → chunk-FJLSYX5P.js} +7 -7
  112. package/dist/safe-bash/command-chunks/{chunk-PMWW7KSB.js → chunk-FJSD43VF.js} +1 -1
  113. package/dist/safe-bash/command-chunks/{chunk-XKAUKLF7.js → chunk-FLSXHLJG.js} +9 -9
  114. package/dist/safe-bash/command-chunks/{chunk-3EW7GYHM.js → chunk-FR63MJSO.js} +7 -7
  115. package/dist/safe-bash/command-chunks/{chunk-KRRG4MGH.js → chunk-FSG6UC2N.js} +246 -108
  116. package/dist/safe-bash/command-chunks/{chunk-NRFTYZ2R.js → chunk-FUYZUETI.js} +6 -6
  117. package/dist/safe-bash/command-chunks/{chunk-JUHOL5KB.js → chunk-G3FK5VVG.js} +1 -1
  118. package/dist/safe-bash/command-chunks/{chunk-4UPKVQWH.js → chunk-G3LUT475.js} +6 -6
  119. package/dist/safe-bash/command-chunks/{chunk-Q7UZTMF4.js → chunk-GAROGIVU.js} +1 -1
  120. package/dist/safe-bash/command-chunks/{chunk-4RRYWHED.js → chunk-GMBUOYTN.js} +4 -4
  121. package/dist/safe-bash/command-chunks/{chunk-FYYFV6PW.js → chunk-GR4ONCQ5.js} +6 -6
  122. package/dist/safe-bash/command-chunks/{chunk-XTEIT5CI.js → chunk-GTOMW4VV.js} +1 -1
  123. package/dist/safe-bash/command-chunks/{chunk-OVQP6KH5.js → chunk-H56BSMFQ.js} +6 -6
  124. package/dist/safe-bash/command-chunks/{chunk-RQYPFLZJ.js → chunk-HOJ7WDTS.js} +6 -6
  125. package/dist/safe-bash/command-chunks/{chunk-BLIFGBIO.js → chunk-HOKPYTHQ.js} +2 -2
  126. package/dist/safe-bash/command-chunks/chunk-HQEYSSZV.js +152 -0
  127. package/dist/safe-bash/command-chunks/{chunk-NEMUPUUB.js → chunk-ICJH6A73.js} +7 -7
  128. package/dist/safe-bash/command-chunks/{chunk-CSE4VQKG.js → chunk-IJE65P52.js} +3 -3
  129. package/dist/safe-bash/command-chunks/{chunk-MKOIPOXX.js → chunk-IOXMGD2H.js} +3 -3
  130. package/dist/safe-bash/command-chunks/{chunk-LDW3RF7Y.js → chunk-ISFGPCED.js} +12 -12
  131. package/dist/safe-bash/command-chunks/{chunk-S43QRKDC.js → chunk-IVKAFEPO.js} +7 -7
  132. package/dist/safe-bash/command-chunks/{chunk-A347DLRB.js → chunk-IWVANZWH.js} +3 -3
  133. package/dist/safe-bash/command-chunks/{chunk-ZXELXF2H.js → chunk-IZ3SD5S2.js} +4 -4
  134. package/dist/safe-bash/command-chunks/{chunk-HGIMFVI2.js → chunk-J6FNSVHT.js} +5 -5
  135. package/dist/safe-bash/command-chunks/{chunk-GLAF45M7.js → chunk-JA36YOZI.js} +1 -1
  136. package/dist/safe-bash/command-chunks/{chunk-WHNYT34N.js → chunk-K2R7H3KO.js} +1 -1
  137. package/dist/safe-bash/command-chunks/{chunk-CKEMZUE3.js → chunk-KDBU5Q2N.js} +6 -6
  138. package/dist/safe-bash/command-chunks/{chunk-6VBDJC6V.js → chunk-KDDXLHN7.js} +6 -6
  139. package/dist/safe-bash/command-chunks/{chunk-NEVQWOU6.js → chunk-KLAC2MIZ.js} +10 -10
  140. package/dist/safe-bash/command-chunks/{chunk-QGD64UHJ.js → chunk-KLCHCSIV.js} +1 -1
  141. package/dist/safe-bash/command-chunks/{chunk-CXME4YHU.js → chunk-KM2SMMXZ.js} +59 -201
  142. package/dist/safe-bash/command-chunks/{chunk-RHU44OMN.js → chunk-KXM3HTAF.js} +1 -1
  143. package/dist/safe-bash/command-chunks/{chunk-AVOGFREX.js → chunk-KYIGYYEY.js} +3 -3
  144. package/dist/safe-bash/command-chunks/{chunk-5OM3UIK3.js → chunk-L2VLASZ4.js} +3 -3
  145. package/dist/safe-bash/command-chunks/{chunk-Z7QOSXQC.js → chunk-LECGQSQW.js} +7 -7
  146. package/dist/safe-bash/command-chunks/{chunk-RXQ2G2YK.js → chunk-LFSWLJPR.js} +9 -9
  147. package/dist/safe-bash/command-chunks/{chunk-OSYY6E23.js → chunk-LJ3UYESS.js} +1 -1
  148. package/dist/safe-bash/command-chunks/{chunk-MVLVIMJ6.js → chunk-LMLBQSAM.js} +6 -6
  149. package/dist/safe-bash/command-chunks/{chunk-MGMTRGKM.js → chunk-LNAZ3E4Q.js} +4 -4
  150. package/dist/safe-bash/command-chunks/{chunk-WJ2ERUCQ.js → chunk-LNKZVU5V.js} +1 -1
  151. package/dist/safe-bash/command-chunks/{chunk-WWHMI4S3.js → chunk-LQDANF2B.js} +8 -8
  152. package/dist/safe-bash/command-chunks/{chunk-CIRDVCAZ.js → chunk-LQX7RAF7.js} +7 -7
  153. package/dist/safe-bash/command-chunks/{chunk-SWAKALDJ.js → chunk-LT2YCGC5.js} +10 -10
  154. package/dist/safe-bash/command-chunks/{chunk-Y7AXMCFV.js → chunk-LZY46GYY.js} +8 -8
  155. package/dist/safe-bash/command-chunks/{chunk-VT2PHQ63.js → chunk-MDFNUNK5.js} +15 -15
  156. package/dist/safe-bash/command-chunks/{chunk-YP3WWV5N.js → chunk-MN3BB4WW.js} +4 -4
  157. package/dist/safe-bash/command-chunks/{chunk-WTVJLHMG.js → chunk-MOUCMZZP.js} +1 -1
  158. package/dist/safe-bash/command-chunks/{chunk-IB5QP4LF.js → chunk-MQE77MEQ.js} +3 -3
  159. package/dist/safe-bash/command-chunks/{chunk-FSYMSWJU.js → chunk-MUTARE5I.js} +6 -6
  160. package/dist/safe-bash/command-chunks/{chunk-F762XDNG.js → chunk-MZYQKH26.js} +3 -3
  161. package/dist/safe-bash/command-chunks/{chunk-N6G3345Q.js → chunk-N32AP43V.js} +7 -7
  162. package/dist/safe-bash/command-chunks/{chunk-XU6S3XUZ.js → chunk-N35IJXBK.js} +9 -9
  163. package/dist/safe-bash/command-chunks/{chunk-EVYKV3QI.js → chunk-N3ZH4YYH.js} +3 -3
  164. package/dist/safe-bash/command-chunks/{chunk-VUWXLH3E.js → chunk-N4HWOLGZ.js} +2 -2
  165. package/dist/safe-bash/command-chunks/{chunk-WAT2562G.js → chunk-N5J3IZZK.js} +8042 -7189
  166. package/dist/safe-bash/command-chunks/{chunk-W3ZSWK76.js → chunk-NCNHJRIY.js} +8 -8
  167. package/dist/safe-bash/command-chunks/{chunk-FXCSPPYE.js → chunk-NDALIHKK.js} +20 -20
  168. package/dist/safe-bash/command-chunks/{chunk-BS5JEUEW.js → chunk-NKK76B4V.js} +8 -8
  169. package/dist/safe-bash/command-chunks/{chunk-4EZJV4FZ.js → chunk-NLCUQD7Y.js} +1 -1
  170. package/dist/safe-bash/command-chunks/{chunk-G2COZLXX.js → chunk-OBIXFO25.js} +10 -10
  171. package/dist/safe-bash/command-chunks/{chunk-47IAU25U.js → chunk-OCV5ZU35.js} +3 -3
  172. package/dist/safe-bash/command-chunks/{chunk-3YEQI5B7.js → chunk-OFDJJRAD.js} +9 -9
  173. package/dist/safe-bash/command-chunks/{chunk-VDTFVRYX.js → chunk-OFONWWEZ.js} +2 -2
  174. package/dist/safe-bash/command-chunks/{chunk-F4YFTO2K.js → chunk-OHEZQ4QA.js} +9 -9
  175. package/dist/safe-bash/command-chunks/{chunk-JW6WVNTM.js → chunk-OIHQXURE.js} +1 -1
  176. package/dist/safe-bash/command-chunks/{chunk-ZTMZO4IT.js → chunk-ONQP4FNV.js} +1 -1
  177. package/dist/safe-bash/command-chunks/{chunk-K2WOMJOQ.js → chunk-OVUY46QF.js} +1 -1
  178. package/dist/safe-bash/command-chunks/{chunk-DGBQ7QDE.js → chunk-OWCBX5M2.js} +1 -1
  179. package/dist/safe-bash/command-chunks/{chunk-LKGTH2Q7.js → chunk-P462JTNT.js} +5 -5
  180. package/dist/safe-bash/command-chunks/{chunk-5LFGXN3D.js → chunk-P4OWVKMD.js} +6 -6
  181. package/dist/safe-bash/command-chunks/{chunk-46AMTJPE.js → chunk-POGVOCOB.js} +8 -8
  182. package/dist/safe-bash/command-chunks/{chunk-PLMF35XK.js → chunk-PPN53PX3.js} +4 -4
  183. package/dist/safe-bash/command-chunks/{chunk-V5XC43BX.js → chunk-PRO7JOIH.js} +8 -8
  184. package/dist/safe-bash/command-chunks/{chunk-UJERQEJB.js → chunk-PU5DMQGG.js} +1 -1
  185. package/dist/safe-bash/command-chunks/{chunk-IWHNRYER.js → chunk-Q65GWGQR.js} +3 -3
  186. package/dist/safe-bash/command-chunks/{chunk-BLGGAHQW.js → chunk-QCIAX6HZ.js} +1 -1
  187. package/dist/safe-bash/command-chunks/{chunk-ET5SFGRH.js → chunk-QDV2NIFR.js} +1 -1
  188. package/dist/safe-bash/command-chunks/{chunk-Y42KSX63.js → chunk-QMBMZSJF.js} +6 -6
  189. package/dist/safe-bash/command-chunks/{chunk-KUOCGGEU.js → chunk-QNETPOMH.js} +6 -5
  190. package/dist/safe-bash/command-chunks/{chunk-QB72X7FF.js → chunk-QNX5LZBK.js} +7 -7
  191. package/dist/safe-bash/command-chunks/{chunk-LZ2JFMKT.js → chunk-QOKFSYD5.js} +9 -9
  192. package/dist/safe-bash/command-chunks/{chunk-7DOLY7IV.js → chunk-R7LF4XQV.js} +2 -2
  193. package/dist/safe-bash/command-chunks/{chunk-MPXMRTMY.js → chunk-ROQ3VNVX.js} +8 -8
  194. package/dist/safe-bash/command-chunks/{chunk-6WNVGCXD.js → chunk-RRAQII52.js} +5 -5
  195. package/dist/safe-bash/command-chunks/{chunk-2BNGPR6Z.js → chunk-RTHYAGKI.js} +2 -2
  196. package/dist/safe-bash/command-chunks/chunk-RTKDZBJS.js +816 -0
  197. package/dist/safe-bash/command-chunks/{chunk-JVKE7YZN.js → chunk-RVWIEXR7.js} +4 -4
  198. package/dist/safe-bash/command-chunks/{chunk-XM5QJCPD.js → chunk-S5ER73EA.js} +8 -8
  199. package/dist/safe-bash/command-chunks/{chunk-FGGHYUWR.js → chunk-S5X7PBO4.js} +102 -7
  200. package/dist/safe-bash/command-chunks/{chunk-YRPXBGRX.js → chunk-SBXS4S6Y.js} +3 -3
  201. package/dist/safe-bash/command-chunks/{chunk-HI6ZYH3W.js → chunk-SHLT5R64.js} +9 -9
  202. package/dist/safe-bash/command-chunks/{chunk-Q5PWYPQV.js → chunk-SICTBSLW.js} +7 -7
  203. package/dist/safe-bash/command-chunks/{chunk-AXXZNB7U.js → chunk-SL4LD25A.js} +9 -9
  204. package/dist/safe-bash/command-chunks/{chunk-JGKSWDGP.js → chunk-SNA2LVBX.js} +1 -1
  205. package/dist/safe-bash/command-chunks/{chunk-TXPDKEGY.js → chunk-SWIF6BBY.js} +8 -8
  206. package/dist/safe-bash/command-chunks/{chunk-PS5GDFIP.js → chunk-T2FRXSQT.js} +2 -2
  207. package/dist/safe-bash/command-chunks/{chunk-HELAVGZH.js → chunk-T4SEQU66.js} +3 -3
  208. package/dist/safe-bash/command-chunks/{chunk-3SPLP2DB.js → chunk-T5OQ53XS.js} +1 -1
  209. package/dist/safe-bash/command-chunks/{chunk-KBAQHE5Y.js → chunk-TG2RVQLP.js} +2 -2
  210. package/dist/safe-bash/command-chunks/{chunk-IHLZ6HNQ.js → chunk-TSKJNCKD.js} +3 -2
  211. package/dist/safe-bash/command-chunks/{chunk-CZ5K2YPU.js → chunk-TXU7MMHN.js} +24 -24
  212. package/dist/safe-bash/command-chunks/{chunk-TYPS5MOU.js → chunk-TXWDR2P4.js} +1 -1
  213. package/dist/safe-bash/command-chunks/{chunk-ETXPMVR6.js → chunk-TY7JXEWI.js} +11 -11
  214. package/dist/safe-bash/command-chunks/{chunk-X6OHFKBL.js → chunk-U42WHQRH.js} +8 -8
  215. package/dist/safe-bash/command-chunks/{chunk-Z2WNYEPD.js → chunk-UFLMOU3B.js} +4 -4
  216. package/dist/safe-bash/command-chunks/{chunk-2BLTUQNK.js → chunk-UJYXSLM6.js} +2 -2
  217. package/dist/safe-bash/command-chunks/{chunk-Q7TVCBU2.js → chunk-UKAGRRLZ.js} +1 -1
  218. package/dist/safe-bash/command-chunks/{chunk-4GQKCUS5.js → chunk-UPWLHHZ2.js} +13 -13
  219. package/dist/safe-bash/command-chunks/{chunk-5L4YGRQU.js → chunk-URQSUMMJ.js} +4 -4
  220. package/dist/safe-bash/command-chunks/{chunk-KPHLESD4.js → chunk-UT5X6QRU.js} +5 -5
  221. package/dist/safe-bash/command-chunks/{chunk-QDVDBN2N.js → chunk-UYZ6EFZE.js} +164 -47
  222. package/dist/safe-bash/command-chunks/{chunk-T5S4SJGO.js → chunk-V6JPIZUW.js} +7 -7
  223. package/dist/safe-bash/command-chunks/{chunk-MKK6FM5H.js → chunk-VMZIAFVJ.js} +11 -11
  224. package/dist/safe-bash/command-chunks/{chunk-HK6MSB7Z.js → chunk-VNNNVT4C.js} +5 -5
  225. package/dist/safe-bash/command-chunks/{chunk-ROL5AEX6.js → chunk-VVV45NLY.js} +1 -1
  226. package/dist/safe-bash/command-chunks/chunk-VVWHFNHD.js +502 -0
  227. package/dist/safe-bash/command-chunks/{chunk-KCLJGRU7.js → chunk-VZTVR3JI.js} +12 -12
  228. package/dist/safe-bash/command-chunks/{chunk-B2C3UPJS.js → chunk-W42SUPD6.js} +13 -1
  229. package/dist/safe-bash/command-chunks/{chunk-PLR5IULU.js → chunk-WDVPHDBH.js} +5 -5
  230. package/dist/safe-bash/command-chunks/{chunk-MNK3DDH6.js → chunk-WH624PKJ.js} +2 -2
  231. package/dist/safe-bash/command-chunks/{chunk-TJLXSENN.js → chunk-WHZ6XK7Y.js} +1 -1
  232. package/dist/safe-bash/command-chunks/{chunk-DN6MSXY7.js → chunk-WIW3KDBS.js} +2 -2
  233. package/dist/safe-bash/command-chunks/{chunk-GXMPXMDP.js → chunk-WMBELKPP.js} +11 -11
  234. package/dist/safe-bash/command-chunks/{chunk-NHNZYWPW.js → chunk-WMV5224N.js} +3 -3
  235. package/dist/safe-bash/command-chunks/{chunk-RTNI47C5.js → chunk-WOL3LBXE.js} +4 -4
  236. package/dist/safe-bash/command-chunks/{chunk-7SOE7XIS.js → chunk-WVD5WZXD.js} +5 -5
  237. package/dist/safe-bash/command-chunks/{chunk-XMTR7QGL.js → chunk-X42MJT2J.js} +4 -4
  238. package/dist/safe-bash/command-chunks/{chunk-XUJAQA3S.js → chunk-XBWD6SI3.js} +33 -33
  239. package/dist/safe-bash/command-chunks/{chunk-ZQM37BGE.js → chunk-XFIDOCYH.js} +2 -2
  240. package/dist/safe-bash/command-chunks/{chunk-IBYMPAUW.js → chunk-XPQUUFQD.js} +2 -2
  241. package/dist/safe-bash/command-chunks/{chunk-NQINS4XY.js → chunk-XVEI4HZL.js} +1 -1
  242. package/dist/safe-bash/command-chunks/{chunk-KSBNZTAZ.js → chunk-YKODRSGT.js} +6 -6
  243. package/dist/safe-bash/command-chunks/{chunk-WZRFS5OY.js → chunk-YXR4JE4U.js} +4 -4
  244. package/dist/safe-bash/command-chunks/{chunk-DCMSPMMD.js → chunk-Z7UIOPHJ.js} +1 -1
  245. package/dist/safe-bash/command-chunks/{chunk-AY3KQ4EN.js → chunk-ZAYTFXUX.js} +7 -7
  246. package/dist/safe-bash/command-chunks/chunk-ZHHALBM7.js +398 -0
  247. package/dist/safe-bash/command-chunks/{chunk-DZH54L3F.js → chunk-ZM7HMBAJ.js} +10 -10
  248. package/dist/safe-bash/command-chunks/{chunk-NFGCBQN3.js → chunk-ZNCPIZCN.js} +2 -2
  249. package/dist/safe-bash/command-chunks/{chunk-HKGNBH7Z.js → chunk-ZRHKXN6W.js} +4 -4
  250. package/dist/safe-bash/command-chunks/{chunk-A45UG4KT.js → chunk-ZZERSKAR.js} +5 -5
  251. package/dist/safe-bash/command-chunks/{clipboard-BBDK33GP-QZ4ERNQX.js → clipboard-BBDK33GP-VB22F7GI.js} +2 -2
  252. package/dist/safe-bash/command-chunks/{command-engine-M7S4QIXV.js → command-engine-2QXVRRH3.js} +59 -23
  253. package/dist/safe-bash/command-chunks/{engine-YUYZJIB4-NZUDFEHL.js → engine-T4GP6QOK-ECFKMR5V.js} +1 -1
  254. package/dist/safe-bash/command-chunks/{gnumeric-UJPXWBVR-7VOHQAPM.js → gnumeric-UJPXWBVR-YPXTNEDZ.js} +2 -2
  255. package/dist/safe-bash/command-chunks/model-store-I7YAWL5V.js +54 -0
  256. package/dist/safe-bash/command-chunks/odf-SL5TG4B3-XI3FNOTN.js +3041 -0
  257. package/dist/safe-bash/command-chunks/{xlsx-RE54MFCS-DI3F765V.js → xlsx-RE54MFCS-4UZ5W3U7.js} +1 -1
  258. package/dist/safe-bash/commands/bc/index.browser.js +1 -1
  259. package/dist/safe-bash/full-core.browser.js +4 -4
  260. package/dist/safe-bash/plugins/index.browser.js +3 -3
  261. package/dist/safe-bash/registry-entry.browser.js +2 -2
  262. package/dist/safe-bash/search.browser.js +1 -1
  263. package/dist/safe-bash/shell/runtime.d.ts +1 -0
  264. package/dist/safe-bash/shell/runtime.js +12 -3
  265. package/dist/safe-bash/shell/sync-extra-evaluators.js +7 -4
  266. package/dist/safe-bash/shell-entry.browser.js +2 -2
  267. package/dist/safe-bash-command-apply-patch/apply.js +1 -1
  268. package/dist/safe-bash-command-apply-patch/index.js +1 -1
  269. package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
  270. package/dist/safe-bash-command-awk/awk.js +4 -4
  271. package/dist/safe-bash-command-awk/index.js +4 -4
  272. package/dist/safe-bash-command-cp/index.js +3 -3
  273. package/dist/safe-bash-command-csvkit/index.js +1 -1
  274. package/dist/safe-bash-command-diff/diff.js +2 -2
  275. package/dist/safe-bash-command-diff/index.js +3 -3
  276. package/dist/safe-bash-command-diff/sync.js +2 -2
  277. package/dist/safe-bash-command-factor/command.js +2 -2
  278. package/dist/safe-bash-command-factor/index.js +2 -2
  279. package/dist/safe-bash-command-ffmpeg/index.js +1 -1
  280. package/dist/safe-bash-command-ffprobe/index.js +2 -2
  281. package/dist/safe-bash-command-ffprobe/media.d.ts +5 -1
  282. package/dist/safe-bash-command-ffprobe/media.js +2 -2
  283. package/dist/safe-bash-command-getopt/command.js +2 -2
  284. package/dist/safe-bash-command-getopt/index.js +2 -2
  285. package/dist/safe-bash-command-html-to-markdown/index.js +51 -813
  286. package/dist/safe-bash-command-html-to-markdown/stored-destination.d.ts +8 -0
  287. package/dist/safe-bash-command-html-to-markdown/stored-destination.js +10 -0
  288. package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +4 -1
  289. package/dist/safe-bash-command-html-to-markdown/stored-text.js +1 -1
  290. package/dist/safe-bash-command-htmlq/index.js +1280 -419
  291. package/dist/safe-bash-command-iconv/command.js +2 -2
  292. package/dist/safe-bash-command-iconv/index.js +2 -2
  293. package/dist/safe-bash-command-llm/index.js +2 -2
  294. package/dist/safe-bash-command-llm/openai.js +2 -2
  295. package/dist/safe-bash-command-llm/providers/index.js +2 -2
  296. package/dist/safe-bash-command-llm/providers/openai.js +2 -2
  297. package/dist/safe-bash-command-node/commands/node/browser.js +4 -4
  298. package/dist/safe-bash-command-node/commands/node/default-runtime.js +4 -4
  299. package/dist/safe-bash-command-node/commands/node/safejs.js +4 -4
  300. package/dist/safe-bash-command-pandoc/command.js +10 -9
  301. package/dist/safe-bash-command-pandoc/index.js +60 -59
  302. package/dist/safe-bash-command-patch/index.js +6 -6
  303. package/dist/safe-bash-command-patch/patch-formats.js +3 -3
  304. package/dist/safe-bash-command-patch/patch-gnu-reject.js +1 -1
  305. package/dist/safe-bash-command-patch/patch.js +6 -6
  306. package/dist/safe-bash-command-patch/stored-patch.d.ts +7 -6
  307. package/dist/safe-bash-command-patch/unified.d.ts +5 -5
  308. package/dist/safe-bash-command-patch/unified.js +2 -2
  309. package/dist/safe-bash-command-pdftk/index.js +21 -108
  310. package/dist/safe-bash-command-pdftoppm/index.js +131 -27
  311. package/dist/safe-bash-command-playwright-cli/index.js +12 -12
  312. package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +1 -1
  313. package/dist/safe-bash-command-playwright-cli/playwright/capability-events.js +1 -1
  314. package/dist/safe-bash-command-playwright-cli/playwright/capability-result.js +1 -1
  315. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +7 -7
  316. package/dist/safe-bash-command-playwright-cli/playwright/download-capabilities.js +1 -1
  317. package/dist/safe-bash-command-playwright-cli/playwright/drop-capability.js +1 -1
  318. package/dist/safe-bash-command-playwright-cli/playwright/index.js +12 -12
  319. package/dist/safe-bash-command-playwright-cli/playwright/modal-capabilities.js +1 -1
  320. package/dist/safe-bash-command-playwright-cli/playwright/native-evaluation.js +1 -1
  321. package/dist/safe-bash-command-playwright-cli/playwright/native-json-snapshot.js +1 -1
  322. package/dist/safe-bash-command-playwright-cli/playwright/native-snapshot.js +1 -1
  323. package/dist/safe-bash-command-playwright-cli/playwright/open-options.js +2 -2
  324. package/dist/safe-bash-command-playwright-cli/playwright/profile.js +3 -3
  325. package/dist/safe-bash-command-playwright-cli/playwright/recording-capabilities.js +1 -1
  326. package/dist/safe-bash-command-playwright-cli/playwright/route-capabilities.js +1 -1
  327. package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +3 -3
  328. package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +1 -1
  329. package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +1 -1
  330. package/dist/safe-bash-command-playwright-cli/playwright/tracing-capabilities.js +1 -1
  331. package/dist/safe-bash-command-playwright-cli/playwright/webmcp-capabilities.js +1 -1
  332. package/dist/safe-bash-command-pptx/engine.js +1 -1
  333. package/dist/safe-bash-command-python/executor.js +11 -11
  334. package/dist/safe-bash-command-python/index.js +11 -11
  335. package/dist/safe-bash-command-python/jspi.js +2 -2
  336. package/dist/safe-bash-command-rg/index.js +3 -3
  337. package/dist/safe-bash-command-rg/rg-command.js +3 -3
  338. package/dist/safe-bash-command-safejs/index.js +4 -4
  339. package/dist/safe-bash-command-safejs/io.js +3 -3
  340. package/dist/safe-bash-command-safejs/render.js +2 -2
  341. package/dist/safe-bash-command-safejs/runtime.js +4 -4
  342. package/dist/safe-bash-command-soffice/index.js +5 -4
  343. package/dist/safe-bash-command-sort/index.js +3 -3
  344. package/dist/safe-bash-command-ssconvert/index.js +13 -13
  345. package/dist/safe-bash-command-tar/create.js +3 -3
  346. package/dist/safe-bash-command-tar/extract.js +3 -3
  347. package/dist/safe-bash-command-tar/index.js +7 -7
  348. package/dist/safe-bash-command-tar/modes.js +5 -5
  349. package/dist/safe-bash-command-unzip/index.js +2 -2
  350. package/dist/safe-bash-command-unzip/unzip.js +2 -2
  351. package/dist/safe-bash-command-xmllint/index.js +1 -1
  352. package/dist/safe-bash-command-xz/index.js +5 -5
  353. package/dist/safe-bash-compression-engine/files.js +5 -5
  354. package/dist/safe-bash-compression-engine/index.js +3 -3
  355. package/dist/safe-bash-compression-engine/operand.js +6 -6
  356. package/dist/safe-bash-compression-engine/stream.js +3 -3
  357. package/dist/safe-bash-compression-engine/zstd-decode.js +2 -2
  358. package/dist/safe-bash-contracts/escaping.js +3 -3
  359. package/dist/safe-bash-contracts/filesystem-output.js +3 -3
  360. package/dist/safe-bash-contracts/index.js +10 -10
  361. package/dist/safe-bash-docx-engine/ancillary-resources.js +9 -9
  362. package/dist/safe-bash-docx-engine/batch-operations.js +66 -66
  363. package/dist/safe-bash-docx-engine/batch-result-schema.js +78 -78
  364. package/dist/safe-bash-docx-engine/batch.js +77 -77
  365. package/dist/safe-bash-docx-engine/bookmarks.js +17 -17
  366. package/dist/safe-bash-docx-engine/charts.js +10 -10
  367. package/dist/safe-bash-docx-engine/command-option-rules.js +5 -5
  368. package/dist/safe-bash-docx-engine/command-properties.js +3 -3
  369. package/dist/safe-bash-docx-engine/comments.js +25 -25
  370. package/dist/safe-bash-docx-engine/control-bindings.js +20 -20
  371. package/dist/safe-bash-docx-engine/control-repeat.js +20 -20
  372. package/dist/safe-bash-docx-engine/controls.js +18 -18
  373. package/dist/safe-bash-docx-engine/create.js +10 -10
  374. package/dist/safe-bash-docx-engine/diagrams.js +10 -10
  375. package/dist/safe-bash-docx-engine/diff.js +12 -12
  376. package/dist/safe-bash-docx-engine/document-properties.js +15 -15
  377. package/dist/safe-bash-docx-engine/equations.js +16 -16
  378. package/dist/safe-bash-docx-engine/extract.js +13 -13
  379. package/dist/safe-bash-docx-engine/fields.js +22 -22
  380. package/dist/safe-bash-docx-engine/font-inventory.js +17 -17
  381. package/dist/safe-bash-docx-engine/font-resources.js +5 -5
  382. package/dist/safe-bash-docx-engine/image-batch-operations.js +13 -13
  383. package/dist/safe-bash-docx-engine/image-insertion.js +20 -20
  384. package/dist/safe-bash-docx-engine/image-layout.js +18 -18
  385. package/dist/safe-bash-docx-engine/image-replacement.js +21 -21
  386. package/dist/safe-bash-docx-engine/images.js +18 -18
  387. package/dist/safe-bash-docx-engine/index.js +113 -113
  388. package/dist/safe-bash-docx-engine/inspection.js +19 -19
  389. package/dist/safe-bash-docx-engine/invocation.js +8 -8
  390. package/dist/safe-bash-docx-engine/io.js +8 -8
  391. package/dist/safe-bash-docx-engine/links.js +20 -20
  392. package/dist/safe-bash-docx-engine/lists.js +19 -19
  393. package/dist/safe-bash-docx-engine/locations.js +14 -14
  394. package/dist/safe-bash-docx-engine/notes.js +21 -21
  395. package/dist/safe-bash-docx-engine/objects.js +18 -18
  396. package/dist/safe-bash-docx-engine/operation-json-schema.js +3 -3
  397. package/dist/safe-bash-docx-engine/operation-schema.js +2 -2
  398. package/dist/safe-bash-docx-engine/pack.js +13 -13
  399. package/dist/safe-bash-docx-engine/package-view-batch-operations.js +21 -21
  400. package/dist/safe-bash-docx-engine/pandoc-adapter.js +28 -28
  401. package/dist/safe-bash-docx-engine/paragraph-edit.js +24 -24
  402. package/dist/safe-bash-docx-engine/part-provider.js +3 -3
  403. package/dist/safe-bash-docx-engine/property-values.js +3 -3
  404. package/dist/safe-bash-docx-engine/publication.js +8 -8
  405. package/dist/safe-bash-docx-engine/removal.js +20 -20
  406. package/dist/safe-bash-docx-engine/revision-decisions.js +21 -21
  407. package/dist/safe-bash-docx-engine/revision-edit.js +19 -19
  408. package/dist/safe-bash-docx-engine/revisions.js +17 -17
  409. package/dist/safe-bash-docx-engine/run-format.js +19 -19
  410. package/dist/safe-bash-docx-engine/sanitize.js +33 -33
  411. package/dist/safe-bash-docx-engine/sections.js +18 -18
  412. package/dist/safe-bash-docx-engine/settings.js +10 -10
  413. package/dist/safe-bash-docx-engine/shape-edit.js +20 -20
  414. package/dist/safe-bash-docx-engine/signatures.js +14 -14
  415. package/dist/safe-bash-docx-engine/stories.js +21 -21
  416. package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +37 -37
  417. package/dist/safe-bash-docx-engine/style-model-batch-operations.js +26 -26
  418. package/dist/safe-bash-docx-engine/style-model-result-schema.js +43 -43
  419. package/dist/safe-bash-docx-engine/styles.js +17 -17
  420. package/dist/safe-bash-docx-engine/table-edit.js +26 -26
  421. package/dist/safe-bash-docx-engine/table-read.js +15 -15
  422. package/dist/safe-bash-docx-engine/template.js +21 -21
  423. package/dist/safe-bash-docx-engine/text-replace.js +19 -19
  424. package/dist/safe-bash-docx-engine/text-resource-read.js +15 -15
  425. package/dist/safe-bash-docx-engine/text.js +15 -15
  426. package/dist/safe-bash-docx-engine/validation.js +6 -6
  427. package/dist/safe-bash-docx-engine/xml-parts.js +21 -21
  428. package/dist/safe-bash-line-ending-engine/command.js +4 -4
  429. package/dist/safe-bash-line-ending-engine/index.js +7 -7
  430. package/dist/safe-bash-markdown-engine/commonmark-blocks.js +3 -3
  431. package/dist/safe-bash-markdown-engine/commonmark-inlines.js +3 -3
  432. package/dist/safe-bash-markdown-engine/gfm-syntax.js +2 -2
  433. package/dist/safe-bash-markdown-engine/index.js +4 -4
  434. package/dist/safe-bash-network-engine/aggregate.js +3 -3
  435. package/dist/safe-bash-network-engine/args.js +3 -3
  436. package/dist/safe-bash-network-engine/body.js +4 -4
  437. package/dist/safe-bash-network-engine/decode.js +3 -3
  438. package/dist/safe-bash-network-engine/fetch-transport.js +3 -3
  439. package/dist/safe-bash-network-engine/index.js +3 -3
  440. package/dist/safe-bash-network-engine/output.js +3 -3
  441. package/dist/safe-bash-network-engine/platform-portable.js +3 -3
  442. package/dist/safe-bash-network-engine/shared.js +2 -2
  443. package/dist/safe-bash-network-engine/transfer.js +9 -9
  444. package/dist/safe-bash-presentation-engine/accessibility.js +31 -30
  445. package/dist/safe-bash-presentation-engine/animation-editing.js +16 -15
  446. package/dist/safe-bash-presentation-engine/animations.js +16 -15
  447. package/dist/safe-bash-presentation-engine/backgrounds.js +17 -16
  448. package/dist/safe-bash-presentation-engine/bytes.js +4 -3
  449. package/dist/safe-bash-presentation-engine/chart-editing.js +34 -33
  450. package/dist/safe-bash-presentation-engine/chart-object-operations.js +25 -24
  451. package/dist/safe-bash-presentation-engine/charts.js +31 -30
  452. package/dist/safe-bash-presentation-engine/command-placeholder.js +60 -58
  453. package/dist/safe-bash-presentation-engine/comments.js +17 -16
  454. package/dist/safe-bash-presentation-engine/connector-operations.js +32 -31
  455. package/dist/safe-bash-presentation-engine/connectors.js +29 -28
  456. package/dist/safe-bash-presentation-engine/content-types.js +5 -4
  457. package/dist/safe-bash-presentation-engine/creation.js +7 -6
  458. package/dist/safe-bash-presentation-engine/diff.d.ts +1 -0
  459. package/dist/safe-bash-presentation-engine/diff.js +44 -33
  460. package/dist/safe-bash-presentation-engine/drawing-format.js +20 -19
  461. package/dist/safe-bash-presentation-engine/drawing-operations.js +31 -30
  462. package/dist/safe-bash-presentation-engine/drawing-schema.js +21 -20
  463. package/dist/safe-bash-presentation-engine/equations.js +17 -16
  464. package/dist/safe-bash-presentation-engine/errors.js +3 -2
  465. package/dist/safe-bash-presentation-engine/fields.js +17 -16
  466. package/dist/safe-bash-presentation-engine/font-metrics.js +4 -3
  467. package/dist/safe-bash-presentation-engine/image-extraction.js +20 -19
  468. package/dist/safe-bash-presentation-engine/image-formatting.js +32 -31
  469. package/dist/safe-bash-presentation-engine/image-insertion.js +18 -17
  470. package/dist/safe-bash-presentation-engine/image-replacement.js +21 -20
  471. package/dist/safe-bash-presentation-engine/image-value.js +5 -4
  472. package/dist/safe-bash-presentation-engine/images.js +19 -18
  473. package/dist/safe-bash-presentation-engine/index.js +135 -132
  474. package/dist/safe-bash-presentation-engine/layouts.js +16 -15
  475. package/dist/safe-bash-presentation-engine/length.js +4 -3
  476. package/dist/safe-bash-presentation-engine/links.js +16 -15
  477. package/dist/safe-bash-presentation-engine/masters.js +15 -14
  478. package/dist/safe-bash-presentation-engine/media-editing.js +24 -23
  479. package/dist/safe-bash-presentation-engine/media-extraction.js +17 -16
  480. package/dist/safe-bash-presentation-engine/media.js +16 -15
  481. package/dist/safe-bash-presentation-engine/memberships.js +15 -14
  482. package/dist/safe-bash-presentation-engine/notes.js +18 -17
  483. package/dist/safe-bash-presentation-engine/ole-enum.js +5 -4
  484. package/dist/safe-bash-presentation-engine/ole-insertion.js +20 -19
  485. package/dist/safe-bash-presentation-engine/opaque-objects.js +10 -9
  486. package/dist/safe-bash-presentation-engine/package-reader.js +6 -5
  487. package/dist/safe-bash-presentation-engine/package-tools.js +19 -18
  488. package/dist/safe-bash-presentation-engine/package-uri.js +4 -3
  489. package/dist/safe-bash-presentation-engine/package-writer.js +5 -4
  490. package/dist/safe-bash-presentation-engine/presentation-model.js +59 -57
  491. package/dist/safe-bash-presentation-engine/presentation-settings.js +14 -13
  492. package/dist/safe-bash-presentation-engine/properties.d.ts +2 -1
  493. package/dist/safe-bash-presentation-engine/properties.js +25 -15
  494. package/dist/safe-bash-presentation-engine/relationships.js +5 -4
  495. package/dist/safe-bash-presentation-engine/resource-limits.js +2 -1
  496. package/dist/safe-bash-presentation-engine/retained-diff.d.ts +56 -0
  497. package/dist/safe-bash-presentation-engine/retained-inspection.js +14 -13
  498. package/dist/safe-bash-presentation-engine/retained-package.js +6 -5
  499. package/dist/safe-bash-presentation-engine/retained-properties.d.ts +26 -0
  500. package/dist/safe-bash-presentation-engine/retained-tags.d.ts +20 -0
  501. package/dist/safe-bash-presentation-engine/retained-text.js +33 -517
  502. package/dist/safe-bash-presentation-engine/sanitize.js +20 -16
  503. package/dist/safe-bash-presentation-engine/selectors.js +11 -10
  504. package/dist/safe-bash-presentation-engine/shape-groups.js +31 -30
  505. package/dist/safe-bash-presentation-engine/shape-operations.js +30 -29
  506. package/dist/safe-bash-presentation-engine/shape-path-operations.js +32 -31
  507. package/dist/safe-bash-presentation-engine/shape-paths.js +16 -15
  508. package/dist/safe-bash-presentation-engine/shape-presets.js +4 -3
  509. package/dist/safe-bash-presentation-engine/shape-selection.js +31 -30
  510. package/dist/safe-bash-presentation-engine/shape-transforms.js +18 -17
  511. package/dist/safe-bash-presentation-engine/shapes.js +27 -26
  512. package/dist/safe-bash-presentation-engine/slide-copy.js +17 -16
  513. package/dist/safe-bash-presentation-engine/slide-import.js +18 -17
  514. package/dist/safe-bash-presentation-engine/slide-merge-split.js +20 -19
  515. package/dist/safe-bash-presentation-engine/slide-model.js +43 -42
  516. package/dist/safe-bash-presentation-engine/slide-removal.js +18 -17
  517. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +10 -9
  518. package/dist/safe-bash-presentation-engine/slides.js +19 -18
  519. package/dist/safe-bash-presentation-engine/table-operations.js +33 -32
  520. package/dist/safe-bash-presentation-engine/table-spans.js +32 -31
  521. package/dist/safe-bash-presentation-engine/tables.js +31 -30
  522. package/dist/safe-bash-presentation-engine/tags.d.ts +2 -0
  523. package/dist/safe-bash-presentation-engine/tags.js +26 -17
  524. package/dist/safe-bash-presentation-engine/template-bindings.js +33 -32
  525. package/dist/safe-bash-presentation-engine/template-repeat.js +40 -39
  526. package/dist/safe-bash-presentation-engine/text-fitting.js +27 -26
  527. package/dist/safe-bash-presentation-engine/text-frames.js +27 -26
  528. package/dist/safe-bash-presentation-engine/text-paragraphs.js +27 -26
  529. package/dist/safe-bash-presentation-engine/text-reading.js +12 -11
  530. package/dist/safe-bash-presentation-engine/text-replacement.js +17 -16
  531. package/dist/safe-bash-presentation-engine/text-runs.js +20 -19
  532. package/dist/safe-bash-presentation-engine/themes.js +16 -15
  533. package/dist/safe-bash-presentation-engine/transitions.js +16 -15
  534. package/dist/safe-bash-presentation-engine/validation.js +10 -9
  535. package/dist/safe-bash-presentation-engine/xml-parts.js +19 -18
  536. package/dist/safe-bash-presentation-engine/xml-view.js +4 -3
  537. package/dist/safe-bash-presentation-engine/xml.js +4 -3
  538. package/dist/safe-bash-query-engine/index.js +3 -3
  539. package/dist/safe-bash-query-engine/interpreter.js +2 -2
  540. package/dist/safe-bash-query-engine/query-core.js +3 -3
  541. package/dist/safe-bash-regex-engine/ere/matcher.js +3 -3
  542. package/dist/safe-bash-xml-engine/document.js +3 -3
  543. package/dist/safe-bash-xml-engine/evaluate.js +1 -1
  544. package/dist/safe-bash-xml-engine/index.js +4 -4
  545. package/dist/safe-bash-xml-engine/json.js +14 -10
  546. package/dist/safe-bash-xml-engine/query.js +2 -2
  547. package/dist/safe-bash-xml-engine/stored-document.d.ts +6 -0
  548. package/dist/safe-bash-xml-engine/stored-document.js +1 -1
  549. package/dist/safe-bash-xml-engine/stored-evaluate.js +4 -4
  550. package/dist/safe-bash-xml-engine/stored-namespaces.d.ts +21 -0
  551. package/dist/safe-bash-zip-engine/index.js +2 -2
  552. package/dist/safe-bash-zip-engine/zip/repair.js +2 -2
  553. package/dist/safe-bash-zip-engine/zip/safety.js +1 -1
  554. package/dist/safe-bash-zip-engine/zip/sfx.js +2 -2
  555. package/dist/safe-bash-zip-engine/zip/volumes.js +1 -1
  556. package/dist/safe-bash-zip-engine/zip-format.js +2 -2
  557. package/dist/spreadsheet-format-xls/biff-properties-merge.js +66 -70
  558. package/dist/spreadsheet-format-xls/biff-properties.d.ts +4 -2
  559. package/dist/spreadsheet-format-xls/biff-properties.js +141 -122
  560. package/dist/spreadsheet-format-xls/biff-property-names.d.ts +24 -0
  561. package/dist/spreadsheet-format-xls/biff-property-names.js +167 -0
  562. package/dist/spreadsheet-format-xls/biff-property-transcode.d.ts +6 -1
  563. package/dist/spreadsheet-format-xls/biff-property-transcode.js +15 -4
  564. package/dist/spreadsheet-format-xls/biff-property-values.d.ts +6 -1
  565. package/dist/spreadsheet-format-xls/biff-property-values.js +81 -12
  566. package/dist/xlsx-ast/comment-geometry.d.ts +12 -0
  567. package/dist/xlsx-ast/comment-geometry.js +71 -0
  568. package/dist/xlsx-ast/xlsx-metadata.d.ts +1 -1
  569. package/dist/xlsx-ast/xlsx-metadata.js +27 -2
  570. package/dist/xlsx-ast/xlsx-write-metadata.js +9 -1
  571. package/dist/xlsx-ast/xlsx.js +9 -4
  572. package/package.json +6 -3
  573. package/dist/safe-bash/command-chunks/biff-A7XPBWAK-DCLG5QKF.js +0 -5417
  574. package/dist/safe-bash/command-chunks/chunk-DBNJEXHK.js +0 -387
  575. package/dist/safe-bash/command-chunks/chunk-EV5G535P.js +0 -240
  576. package/dist/safe-bash/command-chunks/chunk-RHDERFMR.js +0 -161
  577. package/dist/safe-bash/command-chunks/chunk-ZUP5TBRG.js +0 -99
  578. package/dist/safe-bash/command-chunks/model-store-UB5DWMAP.js +0 -54
  579. package/dist/safe-bash/command-chunks/odf-3EA3EVSD-7B5GVNTC.js +0 -3097
  580. package/dist/safe-bash/command-chunks/{chunk-NGSO645G.js → chunk-3ZVK2OAY.js} +6 -6
  581. package/dist/safe-bash/command-chunks/{chunk-W2FKFEVY.js → chunk-4YSBUQPV.js} +3 -3
  582. package/dist/safe-bash/command-chunks/{chunk-UJSLBBQ7.js → chunk-5MFRN3CB.js} +4 -4
  583. package/dist/safe-bash/command-chunks/{chunk-AW4Q3GZW.js → chunk-5QXRIZSS.js} +3 -3
  584. package/dist/safe-bash/command-chunks/{chunk-KUGV3SSL.js → chunk-CZXYWGVO.js} +3 -3
  585. package/dist/safe-bash/command-chunks/{chunk-JWORWL72.js → chunk-DX7KU6YU.js} +3 -3
  586. package/dist/safe-bash/command-chunks/{chunk-Z37OM247.js → chunk-E3BL7W5C.js} +3 -3
  587. package/dist/safe-bash/command-chunks/{chunk-RIKNMBLZ.js → chunk-FEKECRJP.js} +3 -3
  588. package/dist/safe-bash/command-chunks/{chunk-D3HW7R2N.js → chunk-FTZFCMVI.js} +9 -9
  589. package/dist/safe-bash/command-chunks/{chunk-NBRXQUK7.js → chunk-M3OXQXCU.js} +3 -3
  590. package/dist/safe-bash/command-chunks/{chunk-JRSZ5IGD.js → chunk-OAM2SUUI.js} +6 -6
  591. package/dist/safe-bash/command-chunks/{chunk-HFKS6AET.js → chunk-OCOJMKDP.js} +4 -4
  592. package/dist/safe-bash/command-chunks/{chunk-FMJKCVSQ.js → chunk-OOB7YCFQ.js} +3 -3
  593. package/dist/safe-bash/command-chunks/{chunk-GGH376XQ.js → chunk-OU4VE5CR.js} +6 -6
  594. package/dist/safe-bash/command-chunks/{chunk-DYERIXPU.js → chunk-QGTQJCKW.js} +3 -3
  595. package/dist/safe-bash/command-chunks/{chunk-ZSQCROFE.js → chunk-RXXNLH7A.js} +3 -3
  596. package/dist/safe-bash/command-chunks/{chunk-TI52LKLL.js → chunk-UVM6QG2H.js} +3 -3
  597. package/dist/safe-bash/command-chunks/{chunk-BJXADHRT.js → chunk-WKU65Z3Q.js} +6 -6
  598. package/dist/safe-bash/command-chunks/{chunk-KGKF5NM2.js → chunk-WOXLPDO6.js} +3 -3
  599. package/dist/safe-bash/command-chunks/{chunk-Y5ADXWBQ.js → chunk-WXW665TV.js} +4 -4
  600. package/dist/safe-bash/command-chunks/{chunk-FWCUEZ3K.js → chunk-WYBCSJFG.js} +3 -3
  601. package/dist/safe-bash/command-chunks/{chunk-BXU5Y7I5.js → chunk-XI2LETBJ.js} +3 -3
  602. package/dist/safe-bash/command-chunks/{chunk-LNLACEAN.js → chunk-Y3ZRIZL7.js} +3 -3
@@ -0,0 +1,398 @@
1
+ import {
2
+ openRetainedPresentationIndex,
3
+ stageRetainedOutput,
4
+ streamJson
5
+ } from "./chunk-FB2WPI3M.js";
6
+ import {
7
+ attr,
8
+ child,
9
+ escape,
10
+ invalid,
11
+ loadShared,
12
+ nextRel,
13
+ relPart
14
+ } from "./chunk-A5SPMSKD.js";
15
+ import {
16
+ SelectionError,
17
+ decodeSelectionToken
18
+ } from "./chunk-NCNHJRIY.js";
19
+ import {
20
+ openRetainedPresentationValidation
21
+ } from "./chunk-6W4RMBFH.js";
22
+ import {
23
+ dialects
24
+ } from "./chunk-6KJDTKE4.js";
25
+ import {
26
+ parseXmlPart
27
+ } from "./chunk-7PYDVQPB.js";
28
+ import {
29
+ relativePartReference
30
+ } from "./chunk-MOUCMZZP.js";
31
+ import {
32
+ OfficeError,
33
+ RetainedValues,
34
+ equal,
35
+ folded,
36
+ literal,
37
+ openRetainedXmlDocument,
38
+ resolveOfficeResources
39
+ } from "./chunk-KM2SMMXZ.js";
40
+
41
+ // packages/safe-bash-presentation-engine/src/retained-tags.ts
42
+ import { PagedStorage } from "@poe-platform/safe-fs/storage";
43
+ async function openRetainedTags(archive, fingerprint, options, settings) {
44
+ validateTagOptions(options);
45
+ const query = { ...options, ...options.selection ? { selection: { ...options.selection, ...options.selection.position ? { position: { ...options.selection.position } } : {} } } : {} };
46
+ const context = resolveOfficeResources(settings), working = { ...settings.workingStorage }, signal = context.signal ?? new AbortController().signal;
47
+ const index = await openRetainedPresentationIndex(archive, fingerprint, { ...context, workingStorage: working });
48
+ const pages = new PagedStorage({ fs: working.fs, cwd: working.directory, env: {}, signal }, (working.cacheBytes ?? 1024 * 1024) / 16384);
49
+ let closed = false, closing, head = 0, tail = 0;
50
+ const check = () => {
51
+ if (closed) throw new OfficeError("invalid-handle", "Tags are closed.", "index");
52
+ if (signal.aborted) throw new OfficeError("cancelled", "Operation cancelled.", "index");
53
+ };
54
+ const close = () => {
55
+ closed = true;
56
+ return closing ??= (async () => {
57
+ const outcomes = await Promise.allSettled([index.close(), pages.close()]);
58
+ for (const outcome of outcomes) if (outcome.status === "rejected") throw outcome.reason;
59
+ })();
60
+ };
61
+ const values = new RetainedValues(pages, check, signal);
62
+ const range = (row2, offset) => ({ start: row2[offset], length: row2[offset + 1] });
63
+ async function row(pointer) {
64
+ check();
65
+ const bytes = await pages.read(pointer, 7 /* Count */ * 8), view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
66
+ return Array.from({ length: 7 /* Count */ }, (_, n) => view.getFloat64(n * 8, true));
67
+ }
68
+ async function write(pointer, numbers) {
69
+ check();
70
+ const bytes = new Uint8Array(numbers.length * 8), view = new DataView(bytes.buffer);
71
+ numbers.forEach((number, n) => view.setFloat64(n * 8, number, true));
72
+ await pages.write(pointer, bytes);
73
+ }
74
+ async function bounded(value) {
75
+ const decoder = new TextDecoder();
76
+ let result = "";
77
+ for await (const bytes of values.read(value)) result += decoder.decode(bytes, { stream: true });
78
+ return result + decoder.decode();
79
+ }
80
+ const invalid2 = (message) => {
81
+ throw new OfficeError("invalid-value", message, "usage");
82
+ };
83
+ async function is(document, node, local, namespace) {
84
+ return await equal(document.raw(node.localName), literal(local)) && await equal(document.namespace(node), namespace);
85
+ }
86
+ async function child2(document, parent, local) {
87
+ let found;
88
+ for await (const node of document.children(parent)) if (node.kind === "element" && await is(document, node, local, document.namespace(parent))) {
89
+ if (found) invalid2("Ambiguous shared structure.");
90
+ found = node;
91
+ }
92
+ return found;
93
+ }
94
+ async function attribute(document, node, local, namespace = "") {
95
+ for await (const attr2 of document.attributes(node)) if (await is(document, attr2, local, literal(namespace))) return attr2;
96
+ return void 0;
97
+ }
98
+ try {
99
+ const validation = await openRetainedPresentationValidation(archive, { ...context, workingStorage: working }, { ...context.xmlLimits, ...context.relationshipLimits, maxBytes: Math.min(context.xmlLimits.maxBytes, context.relationshipLimits.maxBytes), maxEntries: context.archiveLimits.maxMembers });
100
+ const valid = validation.valid;
101
+ try {
102
+ await validation.close();
103
+ } catch (error) {
104
+ if (valid) await Promise.reject(error);
105
+ }
106
+ if (!valid) throw new OfficeError("invalid-opc", "Invalid presentation graph.", "validate-intent");
107
+ for await (const part of archive.parts()) {
108
+ const key = await values.store(folded(literal(part))), value = await values.store(literal(part));
109
+ await values.insert("parts", key, value);
110
+ }
111
+ const main = await openRetainedXmlDocument(archive.read(index.records.main), { ...context, workingStorage: working });
112
+ let dialect = dialects[0], failed = false;
113
+ try {
114
+ for (const candidate of dialects) if (await equal(main.namespace(main.root), literal(candidate.p))) dialect = candidate;
115
+ } catch (error) {
116
+ failed = true;
117
+ throw error;
118
+ } finally {
119
+ try {
120
+ await main.close();
121
+ } catch (error) {
122
+ if (!failed) await Promise.reject(error);
123
+ }
124
+ }
125
+ let token;
126
+ if (query.selection?.token) {
127
+ if (Object.keys(query.selection).some((key) => key !== "token")) throw new SelectionError("invalid-selection");
128
+ token = decodeSelectionToken(query.selection.token);
129
+ if (token.fingerprint !== fingerprint) throw new SelectionError("stale-selection");
130
+ if (token.scope !== "slides" && token.scope !== "presentation" || query.scope !== void 0 && query.scope !== token.scope) throw new SelectionError("invalid-selection");
131
+ }
132
+ async function* owners2() {
133
+ if ((token?.scope ?? query.scope) === "presentation") {
134
+ yield { part: index.records.main, slide: null };
135
+ return;
136
+ }
137
+ const selected = token ? void 0 : query.selection;
138
+ for await (const record of selected ? index.records.select({ kind: "slide", ...selected }) : index.records.records("slide")) {
139
+ if (record.kind !== "slide") throw new SelectionError("invalid-selection");
140
+ yield { part: record.part, slide: record.position };
141
+ }
142
+ }
143
+ for await (const ignoredOwner of owners2()) check();
144
+ for await (const owner of owners2()) {
145
+ const document = await openRetainedXmlDocument(archive.read(owner.part), { ...context, workingStorage: working });
146
+ let failed2 = false, reference;
147
+ try {
148
+ const base = owner.part === index.records.main ? document.root : await child2(document, document.root, "cSld");
149
+ if (!base) invalid2("Tag owner lacks common slide data.");
150
+ const list = await child2(document, base, "custDataLst"), tags2 = list ? await child2(document, list, "tags") : void 0;
151
+ if (tags2) {
152
+ const id = await attribute(document, tags2, "id", dialect.r);
153
+ let count = 0;
154
+ if (id) {
155
+ for await (const edge of index.graph.outgoing(owner.part)) if (edge.owner === owner.part && !edge.external && await equal(edge.type(), literal(`${dialect.r}/tags`)) && await equal(edge.id(), document.text(id))) {
156
+ count++;
157
+ if (edge.targetPart) reference = await values.store(edge.targetPart());
158
+ }
159
+ }
160
+ if (count !== 1 || !reference) invalid2("Invalid tag association.");
161
+ }
162
+ } catch (error) {
163
+ failed2 = true;
164
+ throw error;
165
+ } finally {
166
+ try {
167
+ await document.close();
168
+ } catch (error) {
169
+ if (!failed2) await Promise.reject(error);
170
+ }
171
+ }
172
+ if (!reference) continue;
173
+ const original = await values.find("parts", () => folded(values.read(reference)));
174
+ if (!original) throw new OfficeError("missing-binding", "Package member is absent.", "index");
175
+ const part = await bounded(reference), tags = await openRetainedXmlDocument(archive.read(await bounded(original)), { ...context, workingStorage: working });
176
+ let failedTags = false;
177
+ try {
178
+ if (!await is(tags, tags.root, "tagLst", literal(dialect.p))) invalid2("Invalid tag list.");
179
+ let childIndex = 0;
180
+ for await (const node of tags.children(tags.root)) {
181
+ if (node.kind !== "element") continue;
182
+ const position = childIndex++;
183
+ if (!await is(tags, node, "tag", literal(dialect.p))) continue;
184
+ const name = await attribute(tags, node, "name"), value = await attribute(tags, node, "val");
185
+ if (!name || !value) invalid2("Tag requires name and value attributes.");
186
+ const location = { fingerprint, scope: owner.slide === null ? "presentation" : "slides", owner: owner.part, objectId: `tag:${part}:${position}`, coordinateSystem: "identity" };
187
+ const metadata = await values.store(literal(JSON.stringify({ part, owner: owner.part, slide: owner.slide, selector: JSON.stringify(location), location })));
188
+ const key = await values.store(tags.text(name)), text = await values.store(tags.text(value));
189
+ const pointer = pages.allocate(7 /* Count */ * 8);
190
+ await write(pointer, [0, metadata.start, metadata.length, key.start, key.length, text.start, text.length]);
191
+ if (tail) await write(tail, [pointer]);
192
+ else head = pointer;
193
+ tail = pointer;
194
+ }
195
+ } catch (error) {
196
+ failedTags = true;
197
+ throw error;
198
+ } finally {
199
+ try {
200
+ await tags.close();
201
+ } catch (error) {
202
+ if (!failedTags) await Promise.reject(error);
203
+ }
204
+ }
205
+ }
206
+ await index.close();
207
+ return Object.freeze({ close, async *records() {
208
+ check();
209
+ for (let pointer = head; pointer; ) {
210
+ const data = await row(pointer);
211
+ pointer = data[0 /* Next */];
212
+ const metadata = JSON.parse(await bounded(range(data, 1 /* Metadata */)));
213
+ if (token && metadata.selector !== query.selection.token) continue;
214
+ yield { name: () => values.read(range(data, 3 /* Name */)), value: () => values.read(range(data, 5 /* Value */)), ...metadata };
215
+ }
216
+ check();
217
+ } });
218
+ } catch (error) {
219
+ await close().catch(() => {
220
+ });
221
+ throw error instanceof OfficeError ? error : new OfficeError(signal.aborted ? "cancelled" : "io-failure", "Tag storage operation failed.", "index");
222
+ }
223
+ }
224
+ async function stageRetainedTags(archive, fingerprint, query, settings, output) {
225
+ const format = { ...output };
226
+ if (!["tags.list", "tags.get"].includes(format.operation)) throw new OfficeError("invalid-value", "Invalid tag read operation.", "usage");
227
+ const tags = await openRetainedTags(archive, fingerprint, query, settings);
228
+ let staged;
229
+ try {
230
+ if (format.operation === "tags.get") {
231
+ let count = 0;
232
+ for await (const ignoredRecord of tags.records()) count++;
233
+ if (count !== 1) throw new SelectionError(count ? "ambiguous-selection" : "missing-selection");
234
+ }
235
+ async function* locations() {
236
+ for await (const tag of tags.records()) yield tag.location;
237
+ }
238
+ async function* render() {
239
+ if (format.json) {
240
+ yield* streamJson({ version: 1, operation: format.operation, ok: true, data: { tags: tags.records() }, affected: 0, warnings: [], errors: [], locations: locations() });
241
+ yield* literal("\n");
242
+ } else for await (const tag of tags.records()) {
243
+ yield* streamJson(tag.name);
244
+ yield* literal(": ");
245
+ yield* streamJson(tag.value);
246
+ yield* literal("\n");
247
+ }
248
+ }
249
+ staged = await stageRetainedOutput(render(), settings, format.maxOutputBytes);
250
+ await tags.close();
251
+ return staged;
252
+ } catch (error) {
253
+ await Promise.allSettled([tags.close(), staged?.close()]);
254
+ throw error;
255
+ }
256
+ }
257
+
258
+ // packages/safe-bash-presentation-engine/src/tags.ts
259
+ var relns = "http://schemas.openxmlformats.org/package/2006/relationships";
260
+ function validateTagOptions(options, action) {
261
+ if (!options || ![Object.prototype, null].includes(Object.getPrototypeOf(options)) || Object.keys(options).some((key) => !["scope", "selection", "name", "value", "allowEmpty"].includes(key)) || options.scope !== void 0 && !["presentation", "slides"].includes(options.scope) || options.allowEmpty !== void 0 && typeof options.allowEmpty !== "boolean") invalid("Invalid tag options.");
262
+ if (options.scope === "presentation" && options.selection && Object.keys(options.selection).some((key) => key !== "all" && key !== "token")) invalid("Presentation tags do not accept slide selectors.");
263
+ if (action === "add" && (options.name === void 0 || options.value === void 0)) invalid("New tags require name and value.");
264
+ if (action === "set" && options.name === void 0 && options.value === void 0) invalid("A tag edit requires name or value.");
265
+ for (const value of [options.name, options.value]) {
266
+ if (value === void 0) continue;
267
+ if (typeof value !== "string") invalid("Tag fields require strings.");
268
+ for (const c of value) {
269
+ const n = c.codePointAt(0);
270
+ if (n < 32 && ![9, 10, 13].includes(n) || n >= 55296 && n <= 57343 || n === 65534 || n === 65535) invalid("Tag fields require XML characters.");
271
+ }
272
+ }
273
+ if (options.name === "") invalid("Tag names cannot be empty.");
274
+ if (!action && (options.name !== void 0 || options.value !== void 0 || options.allowEmpty !== void 0)) invalid("Tag reads accept selection and scope only.");
275
+ if (action === "remove" && (options.name !== void 0 || options.value !== void 0)) invalid("Tag removal does not accept edit fields.");
276
+ }
277
+ function owners(s, options) {
278
+ if (options.scope === "presentation") return [{ part: s.main, slide: null }];
279
+ const selection = options.selection;
280
+ return (selection ? s.index.select({ kind: "slide", ...selection }) : s.index.slides).map((record) => {
281
+ if (record.kind !== "slide") throw new SelectionError("invalid-selection");
282
+ return { part: record.part, slide: record.position };
283
+ });
284
+ }
285
+ function association(s, owner) {
286
+ const doc = s.doc(owner);
287
+ const base = owner === s.main ? doc.root : child(doc.root, "cSld");
288
+ if (!base) invalid("Tag owner lacks common slide data.");
289
+ const list = child(base, "custDataLst");
290
+ const tags = list ? child(list, "tags") : void 0;
291
+ if (!tags) return void 0;
292
+ const id = tags.attributes.find((a) => a.name.namespace === s.r && a.name.localName === "id")?.value;
293
+ const edges = s.index.inventory.relationships.filter((e) => e.owner === owner && e.id === id && e.type === `${s.r}/tags` && !e.external);
294
+ if (edges.length !== 1 || !edges[0].targetPart) invalid("Invalid tag association.");
295
+ return edges[0].targetPart;
296
+ }
297
+ function records(s, options) {
298
+ let token;
299
+ if (options.selection?.token) {
300
+ if (Object.keys(options.selection).some((key) => key !== "token")) throw new SelectionError("invalid-selection");
301
+ token = decodeSelectionToken(options.selection.token);
302
+ if (token.fingerprint !== s.index.fingerprint) throw new SelectionError("stale-selection");
303
+ if (token.scope !== "slides" && token.scope !== "presentation") throw new SelectionError("invalid-selection");
304
+ if (options.scope !== void 0 && options.scope !== token.scope) throw new SelectionError("invalid-selection");
305
+ }
306
+ const selected = owners(s, token ? { scope: token.scope } : options);
307
+ const result = selected.flatMap((owner) => {
308
+ const part = association(s, owner.part);
309
+ if (!part) return [];
310
+ const doc = s.doc(part);
311
+ if (doc.root.name.namespace !== s.p || doc.root.name.localName !== "tagLst") invalid("Invalid tag list.");
312
+ return doc.root.children.flatMap((node, index) => {
313
+ if (node.name.namespace !== s.p || node.name.localName !== "tag") return [];
314
+ const name = attr(node, "name"), value = attr(node, "val");
315
+ if (name === void 0 || value === void 0) invalid("Tag requires name and value attributes.");
316
+ const location = { fingerprint: s.index.fingerprint, scope: owner.slide === null ? "presentation" : "slides", owner: owner.part, objectId: `tag:${part}:${index}`, coordinateSystem: "identity" };
317
+ return [{ name, value, part, owner: owner.part, slide: owner.slide, selector: JSON.stringify(location), location }];
318
+ });
319
+ });
320
+ return token ? result.filter((r) => r.selector === options.selection.token) : result;
321
+ }
322
+ async function readTags(input, options, context) {
323
+ validateTagOptions(options);
324
+ return records(await loadShared(input, context, false), options);
325
+ }
326
+ function createAssociation(s, owner, context) {
327
+ let n = 1;
328
+ while (s.reader.has(`/ppt/tags/tag${n}.xml`) || s.changes.has(`/ppt/tags/tag${n}.xml`)) n++;
329
+ const part = `/ppt/tags/tag${n}.xml`;
330
+ s.save(part, parseXmlPart(new TextEncoder().encode(`<p:tagLst xmlns:p="${s.p}"/>`), context.xmlLimits));
331
+ const types = s.doc("/[Content_Types].xml");
332
+ s.save("/[Content_Types].xml", types.spliceChildren(types.root, types.root.children.length, 0, [`<Override xmlns="${types.root.name.namespace}" PartName="${part}" ContentType="application/vnd.openxmlformats-officedocument.presentationml.tags+xml"/>`]));
333
+ const relName = relPart(owner);
334
+ const rels = s.reader.has(relName) ? s.doc(relName) : parseXmlPart(new TextEncoder().encode(`<Relationships xmlns="${relns}"/>`), context.xmlLimits);
335
+ const id = nextRel(rels);
336
+ s.save(relName, rels.spliceChildren(rels.root, rels.root.children.length, 0, [`<Relationship xmlns="${relns}" Id="${id}" Type="${s.r}/tags" Target="${escape(relativePartReference(part, owner.slice(0, owner.lastIndexOf("/"))))}"/>`]));
337
+ let doc = s.doc(owner);
338
+ let base = owner === s.main ? doc.root : child(doc.root, "cSld");
339
+ let list = child(base, "custDataLst");
340
+ if (!list) {
341
+ const order = owner === s.main ? ["sldMasterIdLst", "notesMasterIdLst", "handoutMasterIdLst", "sldIdLst", "sldSz", "notesSz", "smartTags", "embeddedFontLst", "custShowLst", "photoAlbum", "custDataLst", "kinsoku", "defaultTextStyle", "modifyVerifier", "extLst"] : ["bg", "spTree", "custDataLst", "controls", "extLst"];
342
+ doc = doc.merge(base, { children: { sequence: order.map((localName) => ({ namespace: s.p, localName })), upsert: [{ name: { namespace: s.p, localName: "custDataLst" }, merge: {} }] } });
343
+ base = owner === s.main ? doc.root : child(doc.root, "cSld");
344
+ list = child(base, "custDataLst");
345
+ }
346
+ s.save(owner, doc.spliceChildren(list, list.children.length, 0, [`<p:tags xmlns:p="${s.p}" xmlns:r="${s.r}" r:id="${id}"/>`]));
347
+ return part;
348
+ }
349
+ async function mutateTags(input, action, options, context) {
350
+ if (!["add", "set", "remove"].includes(action)) invalid("Invalid tag action.");
351
+ validateTagOptions(options, action);
352
+ if ((options.name?.length ?? 0) + (options.value?.length ?? 0) > context.xmlLimits.maxBytes) throw new OfficeError("resource-limit", "Tag exceeds XML limits.", "usage");
353
+ if (!options.selection && options.scope !== "presentation") throw new SelectionError("missing-selection");
354
+ const s = await loadShared(input, context);
355
+ const existing = records(s, options);
356
+ const locations = [];
357
+ if (action === "add") {
358
+ if (options.selection?.token) throw new SelectionError("invalid-selection");
359
+ const selected = owners(s, options);
360
+ if (!selected.length && !options.allowEmpty) throw new SelectionError("missing-selection");
361
+ for (const owner of selected) {
362
+ if (existing.some((r) => r.owner === owner.part && r.name === options.name)) invalid("Duplicate tag name.");
363
+ const part = association(s, owner.part) ?? createAssociation(s, owner.part, context);
364
+ if (s.index.inventory.relationships.filter((e) => e.targetPart === part).length > 1) throw new OfficeError("unsupported-edit", "Shared tag lists cannot be edited.", "validate-intent");
365
+ const doc = s.doc(part);
366
+ const location = { fingerprint: s.index.fingerprint, scope: owner.slide === null ? "presentation" : "slides", owner: owner.part, objectId: `tag:${part}:${doc.root.children.length}`, coordinateSystem: "identity" };
367
+ s.save(part, doc.spliceChildren(doc.root, doc.root.children.length, 0, [`<p:tag xmlns:p="${s.p}" name="${escape(options.name)}" val="${escape(options.value)}"/>`]));
368
+ locations.push(location);
369
+ }
370
+ } else {
371
+ if (!existing.length && !options.allowEmpty) throw new SelectionError("missing-selection");
372
+ if (existing.length > 1 && !options.selection?.all) throw new SelectionError("ambiguous-selection");
373
+ if (options.name !== void 0) {
374
+ const all = records(s, { scope: existing[0]?.location.scope });
375
+ for (const record of existing) if (all.some((r) => r.owner === record.owner && r.name === options.name && r.selector !== record.selector)) invalid("Duplicate tag name.");
376
+ if (existing.some((r, i) => existing.slice(0, i).some((v) => v.owner === r.owner))) invalid("Duplicate tag name.");
377
+ }
378
+ for (const record of [...existing].reverse()) {
379
+ if (s.index.inventory.relationships.filter((e) => e.targetPart === record.part).length > 1) throw new OfficeError("unsupported-edit", "Shared tag lists cannot be edited.", "validate-intent");
380
+ const doc = s.doc(record.part);
381
+ const index = Number(record.location.objectId.slice(record.location.objectId.lastIndexOf(":") + 1));
382
+ const node = doc.root.children[index];
383
+ if (action === "remove" && (node.children.length || node.attributes.some((a) => a.name.namespace !== "" || !["name", "val"].includes(a.name.localName)))) throw new OfficeError("unsupported-edit", "Decorated tags are preserved on removal.", "validate-intent");
384
+ s.save(record.part, action === "remove" ? doc.spliceChildren(doc.root, index, 1, []) : doc.merge(doc.root.children[index], { attributes: [...options.name === void 0 ? [] : [{ namespace: "", localName: "name", value: options.name }], ...options.value === void 0 ? [] : [{ namespace: "", localName: "val", value: options.value }]] }));
385
+ locations.push(record.location);
386
+ }
387
+ }
388
+ const result = await s.finish(s.main, []);
389
+ return { bytes: result.bytes, affected: locations.length, locations };
390
+ }
391
+
392
+ export {
393
+ openRetainedTags,
394
+ stageRetainedTags,
395
+ validateTagOptions,
396
+ readTags,
397
+ mutateTags
398
+ };
@@ -1,15 +1,15 @@
1
+ import {
2
+ validateDocxSelection
3
+ } from "./chunk-NJ4EIA57.js";
1
4
  import {
2
5
  validateDocxOptionRules
3
- } from "./chunk-ROL5AEX6.js";
6
+ } from "./chunk-VVV45NLY.js";
4
7
  import {
5
8
  normalizeDocxPropertyOptions
6
- } from "./chunk-Q7UZTMF4.js";
9
+ } from "./chunk-GAROGIVU.js";
7
10
  import {
8
11
  partProviderReceivers
9
- } from "./chunk-OVEPYULA.js";
10
- import {
11
- validateDocxSelection
12
- } from "./chunk-NJ4EIA57.js";
12
+ } from "./chunk-BKK4MS3V.js";
13
13
  import {
14
14
  assertDocxFields,
15
15
  docxCommonOptions,
@@ -17,13 +17,13 @@ import {
17
17
  docxOperationSchemas,
18
18
  splitDocxType,
19
19
  validateDocxValue
20
- } from "./chunk-RIKNMBLZ.js";
21
- import {
22
- BoundsError
23
- } from "./chunk-OBK24KGM.js";
20
+ } from "./chunk-FEKECRJP.js";
24
21
  import {
25
22
  decodeLocation
26
23
  } from "./chunk-AW2RHM4G.js";
24
+ import {
25
+ BoundsError
26
+ } from "./chunk-OBK24KGM.js";
27
27
  import {
28
28
  DocxUsageError,
29
29
  copyDocxBytes,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  attr,
3
3
  child
4
- } from "./chunk-ADHFF2IM.js";
4
+ } from "./chunk-A5SPMSKD.js";
5
5
  import {
6
6
  OfficeError
7
- } from "./chunk-CXME4YHU.js";
7
+ } from "./chunk-KM2SMMXZ.js";
8
8
 
9
9
  // packages/safe-bash-presentation-engine/src/shape-paths.ts
10
10
  import { SaxesParser } from "saxes";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  zstdDecode
3
- } from "./chunk-TI52LKLL.js";
4
- import {
5
- boundedCodec
6
- } from "./chunk-RUXY7GN5.js";
3
+ } from "./chunk-UVM6QG2H.js";
7
4
  import {
8
5
  gunzipMembers
9
6
  } from "./chunk-52DDLGBS.js";
7
+ import {
8
+ boundedCodec
9
+ } from "./chunk-RUXY7GN5.js";
10
10
  import {
11
11
  CodecReader,
12
12
  codec
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  NumberingGraph,
3
3
  listProperties
4
- } from "./chunk-WBKB7HBZ.js";
4
+ } from "./chunk-FHQOFEQK.js";
5
5
  import {
6
6
  Comment,
7
7
  Comments,
@@ -24,10 +24,10 @@ import {
24
24
  _Header,
25
25
  _Row,
26
26
  _Rows
27
- } from "./chunk-NYFYTL5G.js";
27
+ } from "./chunk-345YBIHP.js";
28
28
  import {
29
29
  acquireImageModelInput
30
- } from "./chunk-ZXELXF2H.js";
30
+ } from "./chunk-IZ3SD5S2.js";
31
31
  import {
32
32
  DocumentPackage
33
33
  } from "./chunk-5BUL25DF.js";
@@ -41,7 +41,7 @@ import {
41
41
  paragraphUnits,
42
42
  replaceListPropertyXml,
43
43
  runElementOpen
44
- } from "./chunk-Y7AXMCFV.js";
44
+ } from "./chunk-LZY46GYY.js";
45
45
  import {
46
46
  dialectForNamespace,
47
47
  documentDialects
@@ -54,7 +54,7 @@ import {
54
54
  isEnumMember,
55
55
  isLength,
56
56
  plainLength
57
- } from "./chunk-RIKNMBLZ.js";
57
+ } from "./chunk-FEKECRJP.js";
58
58
  import {
59
59
  parseDocumentXml
60
60
  } from "./chunk-3A7KNHOR.js";
@@ -4,9 +4,9 @@ import {
4
4
  Vr,
5
5
  Yn,
6
6
  gn
7
- } from "./chunk-W2FKFEVY.js";
8
- import "./chunk-5V3TE7XU.js";
7
+ } from "./chunk-4YSBUQPV.js";
9
8
  import "./chunk-YXIB6JV5.js";
9
+ import "./chunk-5V3TE7XU.js";
10
10
  import "./chunk-VO6Q3KKZ.js";
11
11
  import "./chunk-Z7ESJVFP.js";
12
12
  import "./chunk-2BKOSQD3.js";
@@ -12,6 +12,8 @@ import {
12
12
  import "./chunk-65DS4IOB.js";
13
13
 
14
14
  // packages/safe-bash-command-pptx/src/command-engine.ts
15
+ import { stageRetainedTags } from "../../safe-bash-presentation-engine/tags.js";
16
+ import { stageRetainedProperties } from "../../safe-bash-presentation-engine/properties.js";
15
17
  import { stageRetainedNotes } from "../../safe-bash-presentation-engine/notes.js";
16
18
 
17
19
  // packages/safe-bash-command-pptx/src/retained-pack-manifest.ts
@@ -4332,7 +4334,7 @@ async function executePackageCommand(args, request, options2) {
4332
4334
 
4333
4335
  // packages/safe-bash-command-pptx/src/command-diff.ts
4334
4336
  import { OfficeError as OfficeError8 } from "../../safe-bash-presentation-engine/errors.js";
4335
- import { comparePresentations } from "../../safe-bash-presentation-engine/diff.js";
4337
+ import { comparePresentations, stageRetainedDiff } from "../../safe-bash-presentation-engine/diff.js";
4336
4338
 
4337
4339
  // packages/safe-bash-command-pptx/src/diff-schema.ts
4338
4340
  var diffModes = [
@@ -4436,6 +4438,7 @@ async function executeDiffCommand(request, options2) {
4436
4438
  let result;
4437
4439
  let human = "";
4438
4440
  let exitCode = 0;
4441
+ let staged;
4439
4442
  const failure = (error) => {
4440
4443
  const office = error instanceof OfficeError8 ? error : void 0;
4441
4444
  const code = request.signal.aborted ? "cancelled" : office?.code ?? (error && typeof error === "object" && "code" in error && error.code === "resource-limit" ? "resource-limit" : "io-failure");
@@ -4547,32 +4550,62 @@ async function executeDiffCommand(request, options2) {
4547
4550
  "usage"
4548
4551
  );
4549
4552
  const maxBytes = Math.min(context.limits.maxBytes, context.archiveLimits.maxArchiveBytes);
4550
- const left = await request.readInput(positionals[0], maxBytes);
4551
- request.signal.throwIfAborted();
4552
- const right = await request.readInput(positionals[1], maxBytes);
4553
- const data = await comparePresentations(left, right, { mode }, context);
4554
- result = {
4555
- version: 1,
4556
- operation: "diff",
4557
- ok: true,
4558
- data,
4559
- affected: 0,
4560
- warnings: [],
4561
- errors: [],
4562
- locations: []
4563
- };
4564
- exitCode = data.equal ? 0 : 1;
4565
- human = `${data.equal ? "Equal" : "Different"} (${data.mode}; ${data.formatting} formatting)
4553
+ if (request.streaming) {
4554
+ const left = await request.streaming.openInput(positionals[0], maxBytes);
4555
+ request.signal.throwIfAborted();
4556
+ const right = await request.streaming.openInput(positionals[1], maxBytes);
4557
+ try {
4558
+ staged = await stageRetainedDiff(left, right, { mode, json, maxOutputBytes }, { ...context, workingStorage: request.streaming.workingStorage });
4559
+ } catch (error) {
4560
+ if (error instanceof OfficeError8 && error.code === "resource-limit" && error.phase === "publish") throw new OfficeError8("resource-limit", "Comparison output limit exceeded.", "admit");
4561
+ throw error;
4562
+ }
4563
+ exitCode = staged.equal ? 0 : 1;
4564
+ result = { version: 1, operation: "diff", ok: true, data: null, affected: 0, warnings: [], errors: [], locations: [] };
4565
+ } else {
4566
+ const left = await request.readInput(positionals[0], maxBytes);
4567
+ request.signal.throwIfAborted();
4568
+ const right = await request.readInput(positionals[1], maxBytes);
4569
+ const data = await comparePresentations(left, right, { mode }, context);
4570
+ result = {
4571
+ version: 1,
4572
+ operation: "diff",
4573
+ ok: true,
4574
+ data,
4575
+ affected: 0,
4576
+ warnings: [],
4577
+ errors: [],
4578
+ locations: []
4579
+ };
4580
+ exitCode = data.equal ? 0 : 1;
4581
+ human = `${data.equal ? "Equal" : "Different"} (${data.mode}; ${data.formatting} formatting)
4566
4582
  ` + data.changes.map(
4567
- (change) => `${change.category} ${change.kind} ${change.id}
4583
+ (change) => `${change.category} ${change.kind} ${change.id}
4568
4584
  before: ${JSON.stringify(change.before)}
4569
4585
  after: ${JSON.stringify(change.after)}
4570
4586
  `
4571
- ).join("");
4587
+ ).join("");
4588
+ }
4572
4589
  }
4573
4590
  } catch (error) {
4574
4591
  result = failure(error);
4575
4592
  }
4593
+ if (staged) {
4594
+ let failed = false;
4595
+ try {
4596
+ await staged.output.write(request.streaming.stdout);
4597
+ } catch (error) {
4598
+ failed = true;
4599
+ throw error;
4600
+ } finally {
4601
+ try {
4602
+ await staged.output.close();
4603
+ } catch (error) {
4604
+ if (!failed) await Promise.reject(error);
4605
+ }
4606
+ }
4607
+ return { exitCode, stdout: new Uint8Array(), stderr: new Uint8Array() };
4608
+ }
4576
4609
  let bytes = encoder.encode(json ? JSON.stringify(result) + "\n" : human);
4577
4610
  if (bytes.length > maxOutputBytes) {
4578
4611
  result = failure(
@@ -12081,8 +12114,8 @@ async function executeRequest(request, options2, owned) {
12081
12114
  publication = { inputPath: args.input, outputPath: destination, bytes: staged.bytes(), originalBytes: input, inPlace: args.inPlace ?? false, force: args.force ?? false, dryRun };
12082
12115
  }
12083
12116
  result = success(operation2, null);
12084
- } else if ((args.operation === "inspect" || args.operation === "text.get" || args.operation === "fields.list" || args.operation === "fields.get" || args.operation === "text.frames.list" || args.operation === "text.frames.get" || args.operation === "notes.list" || args.operation === "notes.get" || args.operation === "xml.get") && request.streaming) {
12085
- if (args.token && args.operation !== "notes.list" && args.operation !== "notes.get") decodeSelectionToken2(args.token);
12117
+ } else if ((args.operation === "inspect" || args.operation === "text.get" || args.operation === "fields.list" || args.operation === "fields.get" || args.operation === "text.frames.list" || args.operation === "text.frames.get" || args.operation === "notes.list" || args.operation === "notes.get" || args.operation === "properties.list" || args.operation === "properties.get" || args.operation === "tags.list" || args.operation === "tags.get" || args.operation === "xml.get") && request.streaming) {
12118
+ if (args.token && args.operation !== "notes.list" && args.operation !== "notes.get" && args.operation !== "tags.list" && args.operation !== "tags.get") decodeSelectionToken2(args.token);
12086
12119
  const input = await request.streaming.openInput(args.input, Math.min(options2.context.limits.maxBytes, options2.context.archiveLimits.maxArchiveBytes));
12087
12120
  const hash = sha2564.create();
12088
12121
  for await (const bytes of input.stream()) {
@@ -12094,8 +12127,11 @@ async function executeRequest(request, options2, owned) {
12094
12127
  const archive = await openPackageArchive(input, context);
12095
12128
  let failed = false;
12096
12129
  try {
12097
- const scope = args.operation === "notes.list" || args.operation === "notes.get" ? void 0 : args.token ? decodeSelectionToken2(args.token).scope : args.scope;
12098
- stagedOutput = args.operation === "notes.list" || args.operation === "notes.get" ? await stageRetainedNotes(archive, fingerprint, { selection: {
12130
+ const scope = args.operation === "notes.list" || args.operation === "notes.get" || args.operation === "tags.list" || args.operation === "tags.get" ? void 0 : args.token ? decodeSelectionToken2(args.token).scope : args.scope;
12131
+ stagedOutput = args.operation === "tags.list" || args.operation === "tags.get" ? await stageRetainedTags(archive, fingerprint, {
12132
+ ...args.scope === void 0 ? {} : { scope: args.scope },
12133
+ ...args.token ? { selection: { token: args.token } } : args.slide === void 0 ? args.all ? { selection: { all: true } } : {} : { selection: { kind: "slide", position: { coordinateSystem: "one-based", value: args.slide }, ...args.all ? { all: true } : {} } }
12134
+ }, context, { operation: args.operation, json: args.json, maxOutputBytes: options2.maxOutputBytes }) : args.operation === "properties.list" || args.operation === "properties.get" ? await stageRetainedProperties(archive, fingerprint, args.metadataName === void 0 ? {} : { name: args.metadataName }, context, { operation: args.operation, json: args.json, maxOutputBytes: options2.maxOutputBytes }) : args.operation === "notes.list" || args.operation === "notes.get" ? await stageRetainedNotes(archive, fingerprint, { selection: {
12099
12135
  kind: "slide",
12100
12136
  ...args.token ? { token: args.token } : {},
12101
12137
  ...args.slide === void 0 ? {} : { position: { coordinateSystem: "one-based", value: args.slide } },