@poe-platform/safe-bash 0.1.818 → 0.1.820

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 (1058) hide show
  1. package/dist/office-xml/retained-xml-document.d.ts +2 -2
  2. package/dist/pdf-ast/cos/compact-number.d.ts +19 -0
  3. package/dist/pdf-ast/cos/mutable-object-store.d.ts +2 -1
  4. package/dist/pdf-ast/cos/retained-node-writer.d.ts +9 -0
  5. package/dist/pdf-ast/cos/text-store.d.ts +27 -0
  6. package/dist/pdf-ast/edit/retained-bookmarks.d.ts +2 -2
  7. package/dist/pdf-ast/edit/retained-info-updates.d.ts +3 -3
  8. package/dist/pdf-ast/edit/retained-merge-outlines.d.ts +43 -0
  9. package/dist/pdf-ast/edit/retained-page-copy.d.ts +2 -0
  10. package/dist/pdf-ast/image.js +1 -1
  11. package/dist/pdf-ast/index.d.ts +3 -0
  12. package/dist/pdf-ast/index.js +7 -1
  13. package/dist/pdf-ast/retained-document.d.ts +7 -0
  14. package/dist/pdf-ast/retained-reader.d.ts +4 -0
  15. package/dist/safe-bash/ast-grep.js +1 -1
  16. package/dist/safe-bash/audio-ast.js +1 -1
  17. package/dist/safe-bash/byte-encoding.js +1 -1
  18. package/dist/safe-bash/chunks/{chunk-HD6DWOAC.js → chunk-67QE3JLU.js} +1 -1
  19. package/dist/safe-bash/chunks/{chunk-HPQE675Q.js → chunk-ESH5MDQR.js} +1 -1
  20. package/dist/safe-bash/chunks/chunk-HNT2MR4W.js +45 -0
  21. package/dist/safe-bash/chunks/{chunk-SXSEF5E2.js → chunk-IRJS54AA.js} +1 -1
  22. package/dist/safe-bash/chunks/{chunk-AXGI5JVL.js → chunk-NAETSXBW.js} +2 -2
  23. package/dist/safe-bash/chunks/{chunk-WW7QPLH2.js → chunk-PSD2RSOS.js} +2 -1
  24. package/dist/safe-bash/chunks/{chunk-FQRI5AS5.js → chunk-VF3Q2V3E.js} +1 -1
  25. package/dist/safe-bash/chunks/{pdfinfo-KQIQEDOF.js → pdfinfo-G7BGZXBN.js} +2 -12
  26. package/dist/safe-bash/command-chunks/{chunk-CEHICGP6.js → chunk-22D6Q6SW.js} +5 -5
  27. package/dist/safe-bash/command-chunks/{chunk-RYOHOS2I.js → chunk-2E53ZL5D.js} +11 -9
  28. package/dist/safe-bash/command-chunks/{chunk-EJ4UP7DA.js → chunk-2ESK2YIE.js} +27 -5
  29. package/dist/safe-bash/command-chunks/{chunk-X6KFCAWZ.js → chunk-2GU2UU2Z.js} +6 -6
  30. package/dist/safe-bash/command-chunks/{chunk-L2VLASZ4.js → chunk-2GUI3ZKE.js} +3 -3
  31. package/dist/safe-bash/command-chunks/chunk-2H6RJPCQ.js +721 -0
  32. package/dist/safe-bash/command-chunks/{chunk-DRHONH2C.js → chunk-2IGH6JIP.js} +1 -1
  33. package/dist/safe-bash/command-chunks/{chunk-45GTHPL5.js → chunk-2V6EUWE3.js} +1 -1
  34. package/dist/safe-bash/command-chunks/{chunk-QNLX3CZH.js → chunk-2VSNIHIW.js} +19 -19
  35. package/dist/safe-bash/command-chunks/{chunk-PX6E5MHY.js → chunk-3DID6MQY.js} +15 -5
  36. package/dist/safe-bash/command-chunks/{chunk-5VO534FR.js → chunk-3K5FCRUG.js} +1 -0
  37. package/dist/safe-bash/command-chunks/{chunk-BSTABZIK.js → chunk-3LMUKOP2.js} +1 -1
  38. package/dist/safe-bash/command-chunks/{chunk-FDRE535F.js → chunk-3MFYCMQU.js} +35 -35
  39. package/dist/safe-bash/command-chunks/chunk-3PO534WJ.js +37 -0
  40. package/dist/safe-bash/command-chunks/{chunk-VUJCVXD4.js → chunk-3RDEX4AF.js} +4 -4
  41. package/dist/safe-bash/command-chunks/{chunk-3B6554G6.js → chunk-3TXPZLFI.js} +6 -6
  42. package/dist/safe-bash/command-chunks/{chunk-YW7WU7W2.js → chunk-4HJEZGYN.js} +8 -8
  43. package/dist/safe-bash/command-chunks/{chunk-V3NKL42J.js → chunk-4Q3HP33O.js} +1 -1
  44. package/dist/safe-bash/command-chunks/{chunk-EBX5RKKT.js → chunk-4XYGJB24.js} +4 -4
  45. package/dist/safe-bash/command-chunks/{chunk-D7UFAIBS.js → chunk-4ZQYBCB2.js} +15 -15
  46. package/dist/safe-bash/command-chunks/{chunk-TG2RVQLP.js → chunk-5KWEZV5H.js} +2 -2
  47. package/dist/safe-bash/command-chunks/{chunk-4Z7PBIMP.js → chunk-5P5SF75H.js} +79 -30
  48. package/dist/safe-bash/command-chunks/{chunk-HOBXZX23.js → chunk-5PJ6VT2O.js} +4 -4
  49. package/dist/safe-bash/command-chunks/{chunk-CODJMTSA.js → chunk-5QR4LTAK.js} +7 -7
  50. package/dist/safe-bash/command-chunks/{chunk-2WTDP3TP.js → chunk-5XIJYTQU.js} +5 -5
  51. package/dist/safe-bash/command-chunks/{chunk-MTWFSBNG.js → chunk-63WEASJ7.js} +1 -1
  52. package/dist/safe-bash/command-chunks/{chunk-NZF56C25.js → chunk-64L57DEI.js} +16 -16
  53. package/dist/safe-bash/command-chunks/{chunk-GPLN6JV2.js → chunk-6PDXNY3T.js} +9 -9
  54. package/dist/safe-bash/command-chunks/{chunk-BJL7AGA5.js → chunk-6RE4MZYM.js} +4 -4
  55. package/dist/safe-bash/command-chunks/{chunk-4OHTYYNU.js → chunk-6REH56FL.js} +11 -9
  56. package/dist/safe-bash/command-chunks/{chunk-XFIDOCYH.js → chunk-6ZHNKHQQ.js} +2 -2
  57. package/dist/safe-bash/command-chunks/{chunk-ZSF2T5D4.js → chunk-75OUKYCM.js} +2 -2
  58. package/dist/safe-bash/command-chunks/{chunk-QCN7MRRU.js → chunk-772WNCU6.js} +6 -6
  59. package/dist/safe-bash/command-chunks/{chunk-XVEI4HZL.js → chunk-7JTJQKIV.js} +1 -1
  60. package/dist/safe-bash/command-chunks/{chunk-3ZVK2OAY.js → chunk-A4GYNM2E.js} +6 -5
  61. package/dist/safe-bash/command-chunks/{chunk-SQBWAFUI.js → chunk-ADN7BU5X.js} +58 -26
  62. package/dist/safe-bash/command-chunks/{chunk-XLFOLLUZ.js → chunk-AEHEOKI2.js} +5 -5
  63. package/dist/safe-bash/command-chunks/{chunk-IKU7ZBF3.js → chunk-AH3ZEPAN.js} +10 -7
  64. package/dist/safe-bash/command-chunks/{chunk-F2JUB7JI.js → chunk-AR65HNNX.js} +3 -3
  65. package/dist/safe-bash/command-chunks/{chunk-UZZ2WJQV.js → chunk-ARA57PMC.js} +5 -5
  66. package/dist/safe-bash/command-chunks/{chunk-HX7QQNWS.js → chunk-AXUHORS3.js} +1 -1
  67. package/dist/safe-bash/command-chunks/chunk-B6NAEWHC.js +53 -0
  68. package/dist/safe-bash/command-chunks/{chunk-2ZWRW6UQ.js → chunk-B74LVFAN.js} +1 -1
  69. package/dist/safe-bash/command-chunks/{chunk-E4TF5W6O.js → chunk-BBOYR6LV.js} +5 -5
  70. package/dist/safe-bash/command-chunks/{chunk-GNT3SCF3.js → chunk-BOMCPF7N.js} +1 -1
  71. package/dist/safe-bash/command-chunks/{chunk-R6X63VAO.js → chunk-BSLXS4PE.js} +2 -2
  72. package/dist/safe-bash/command-chunks/{chunk-N6TG44VG.js → chunk-BTDSUATE.js} +1 -1
  73. package/dist/safe-bash/command-chunks/{chunk-VZJRFHMZ.js → chunk-BXDNFBKZ.js} +26 -2
  74. package/dist/safe-bash/command-chunks/chunk-BZLLQWRK.js +296 -0
  75. package/dist/safe-bash/command-chunks/{chunk-Z33YS3DW.js → chunk-C3FERGHU.js} +4 -4
  76. package/dist/safe-bash/command-chunks/chunk-C5SLY3RB.js +279 -0
  77. package/dist/safe-bash/command-chunks/{chunk-X4TWJNW7.js → chunk-CI6KHUFK.js} +4 -4
  78. package/dist/safe-bash/command-chunks/chunk-CJIFJ45R.js +203 -0
  79. package/dist/safe-bash/command-chunks/{chunk-OTEHQQU7.js → chunk-CKQ5SXOO.js} +8 -59
  80. package/dist/safe-bash/command-chunks/{chunk-UBX5I5HY.js → chunk-CPCXE2TM.js} +7 -7
  81. package/dist/safe-bash/command-chunks/{chunk-WPEIOUJN.js → chunk-CXOAMPOV.js} +14 -12
  82. package/dist/safe-bash/command-chunks/{chunk-4SFX6YGC.js → chunk-D3WMD32B.js} +14 -14
  83. package/dist/safe-bash/command-chunks/{chunk-SF56V6QK.js → chunk-D54L2IOZ.js} +10 -10
  84. package/dist/safe-bash/command-chunks/{chunk-RNIFPFGC.js → chunk-DBYY7IDI.js} +18 -16
  85. package/dist/safe-bash/command-chunks/{chunk-DGCJVZW6.js → chunk-DGFMOT4O.js} +4 -4
  86. package/dist/safe-bash/command-chunks/{chunk-N5J3IZZK.js → chunk-DQVOBGI2.js} +12414 -8140
  87. package/dist/safe-bash/command-chunks/{chunk-IFBLXBBM.js → chunk-DTLIBRCQ.js} +6 -6
  88. package/dist/safe-bash/command-chunks/{chunk-4PMMJ45F.js → chunk-DZTT5SLG.js} +7 -7
  89. package/dist/safe-bash/command-chunks/{chunk-77NXQZGK.js → chunk-DZY7V74W.js} +3 -1
  90. package/dist/safe-bash/command-chunks/chunk-E47FFS5M.js +52 -0
  91. package/dist/safe-bash/command-chunks/{chunk-LNKZVU5V.js → chunk-E76WK7OQ.js} +1 -1
  92. package/dist/safe-bash/command-chunks/{chunk-TTVJJZOM.js → chunk-EBMKGNKF.js} +8 -8
  93. package/dist/safe-bash/command-chunks/{chunk-LNHTLWIL.js → chunk-EG7VVDV3.js} +7 -7
  94. package/dist/safe-bash/command-chunks/{chunk-GZNX5SS4.js → chunk-EIZFAUUD.js} +5 -5
  95. package/dist/safe-bash/command-chunks/{chunk-5UGQGB5Y.js → chunk-ESIEU4E4.js} +5 -5
  96. package/dist/safe-bash/command-chunks/{chunk-QJZJWL2X.js → chunk-ET3CPTJT.js} +38 -25
  97. package/dist/safe-bash/command-chunks/{chunk-XQFEP43Y.js → chunk-ETS4BINB.js} +8 -8
  98. package/dist/safe-bash/command-chunks/{chunk-WJSU2UVG.js → chunk-EU5SR3LS.js} +3 -3
  99. package/dist/safe-bash/command-chunks/{chunk-WRCYZJNO.js → chunk-FCGMSOF6.js} +8 -8
  100. package/dist/safe-bash/command-chunks/{chunk-XB5ZZHFD.js → chunk-FGK6HLSY.js} +8 -8
  101. package/dist/safe-bash/command-chunks/{chunk-7ADQE64C.js → chunk-FMGNXOMV.js} +1 -1
  102. package/dist/safe-bash/command-chunks/chunk-FVHPDYV5.js +3902 -0
  103. package/dist/safe-bash/command-chunks/{chunk-QLE6JUR7.js → chunk-FX54I4AC.js} +2 -2
  104. package/dist/safe-bash/command-chunks/{chunk-MRBX4KEP.js → chunk-GAYTDZPP.js} +5 -5
  105. package/dist/safe-bash/command-chunks/chunk-GCSKS22X.js +15 -0
  106. package/dist/safe-bash/command-chunks/{chunk-UVZJAV2S.js → chunk-GNPPPYDF.js} +1 -78
  107. package/dist/safe-bash/command-chunks/{chunk-B6XTAKKQ.js → chunk-GNVAW6NL.js} +1 -1
  108. package/dist/safe-bash/command-chunks/chunk-GQV5RWMN.js +27 -0
  109. package/dist/safe-bash/command-chunks/{chunk-PWHIVWQT.js → chunk-GVDVRC7J.js} +15 -19
  110. package/dist/safe-bash/command-chunks/{chunk-KXM3HTAF.js → chunk-GYKQ3IOV.js} +27 -14
  111. package/dist/safe-bash/command-chunks/{chunk-BFRSYJUC.js → chunk-HBR5PWX4.js} +3 -3
  112. package/dist/safe-bash/command-chunks/{chunk-ZOEKSH3R.js → chunk-HCPEYQKT.js} +5 -4
  113. package/dist/safe-bash/command-chunks/{chunk-TTTNFKT6.js → chunk-HCZITM4C.js} +8 -8
  114. package/dist/safe-bash/command-chunks/{chunk-4SISSPIH.js → chunk-HLRLMFMS.js} +1 -1
  115. package/dist/safe-bash/command-chunks/chunk-HNEWGADJ.js +43 -0
  116. package/dist/safe-bash/command-chunks/{chunk-GQ7BD75U.js → chunk-HQFX5XKV.js} +7 -7
  117. package/dist/safe-bash/command-chunks/{chunk-V6NZVM7C.js → chunk-HSB55ED5.js} +6 -6
  118. package/dist/safe-bash/command-chunks/{chunk-G3FK5VVG.js → chunk-HTBUIRTH.js} +1 -1
  119. package/dist/safe-bash/command-chunks/{chunk-QCIAX6HZ.js → chunk-HUAQZFON.js} +1 -1
  120. package/dist/safe-bash/command-chunks/{chunk-JNRX5EFF.js → chunk-HVLF3Y4B.js} +8 -8
  121. package/dist/safe-bash/command-chunks/{chunk-M5BFAMXD.js → chunk-I6CQDCIP.js} +5 -5
  122. package/dist/safe-bash/command-chunks/chunk-I7MEH76L.js +276 -0
  123. package/dist/safe-bash/command-chunks/{chunk-E3BL7W5C.js → chunk-IAHYG67O.js} +152 -80
  124. package/dist/safe-bash/command-chunks/{chunk-EAGIJ4VW.js → chunk-IC5XC4TO.js} +118 -118
  125. package/dist/safe-bash/command-chunks/{chunk-YN3OEJAZ.js → chunk-IGZOQT2L.js} +6 -6
  126. package/dist/safe-bash/command-chunks/{chunk-FJLSYX5P.js → chunk-ITJDLFPW.js} +3 -3
  127. package/dist/safe-bash/command-chunks/{chunk-LSKA4IR4.js → chunk-IYEAS7TU.js} +5 -5
  128. package/dist/safe-bash/command-chunks/{chunk-P57V45F2.js → chunk-J3ISXTYB.js} +5 -5
  129. package/dist/safe-bash/command-chunks/{chunk-5WS6DXYE.js → chunk-J3VS55K4.js} +3142 -2489
  130. package/dist/safe-bash/command-chunks/chunk-J4I7KCQQ.js +495 -0
  131. package/dist/safe-bash/command-chunks/{chunk-HQEYSSZV.js → chunk-JLS6XKAR.js} +1 -1
  132. package/dist/safe-bash/command-chunks/{chunk-IJE65P52.js → chunk-JMUB5A26.js} +27 -8
  133. package/dist/safe-bash/command-chunks/{chunk-IJZUUXLL.js → chunk-JQPDVCBU.js} +6 -6
  134. package/dist/safe-bash/command-chunks/{chunk-EBKKYRQJ.js → chunk-JSW6YH6T.js} +7 -7
  135. package/dist/safe-bash/command-chunks/{chunk-YJ5IA5YQ.js → chunk-K576GZED.js} +3 -3
  136. package/dist/safe-bash/command-chunks/{chunk-C2QUG7IP.js → chunk-K6J3KFQ2.js} +17 -122
  137. package/dist/safe-bash/command-chunks/{chunk-5PMLTSQ5.js → chunk-KQE2D7PX.js} +8 -8
  138. package/dist/safe-bash/command-chunks/{chunk-Q65GWGQR.js → chunk-KVTZJBLM.js} +5 -5
  139. package/dist/safe-bash/command-chunks/chunk-L365UGC7.js +250 -0
  140. package/dist/safe-bash/command-chunks/{chunk-5VY5O37W.js → chunk-LBBJ5S3W.js} +1 -1
  141. package/dist/safe-bash/command-chunks/{chunk-WHZ6XK7Y.js → chunk-LBILRPVR.js} +1 -1
  142. package/dist/safe-bash/command-chunks/{chunk-NTXRKJPZ.js → chunk-LDR3PPM3.js} +5 -5
  143. package/dist/safe-bash/command-chunks/{chunk-Y7XL6CWB.js → chunk-LJLB7TBN.js} +19 -15
  144. package/dist/safe-bash/command-chunks/{chunk-3ZGO24WG.js → chunk-LZHFVNEV.js} +17 -107
  145. package/dist/safe-bash/command-chunks/{chunk-KFFV7HBL.js → chunk-M7MQTU77.js} +4 -4
  146. package/dist/safe-bash/command-chunks/chunk-MCUDSE4H.js +77 -0
  147. package/dist/safe-bash/command-chunks/{chunk-JT656DKZ.js → chunk-MD5ZSARP.js} +5 -5
  148. package/dist/safe-bash/command-chunks/chunk-MEST2HID.js +112 -0
  149. package/dist/safe-bash/command-chunks/{chunk-YS5ZKMRJ.js → chunk-MLMFFBOU.js} +2 -2
  150. package/dist/safe-bash/command-chunks/{chunk-NFWLZDMY.js → chunk-MQCLG2CT.js} +1 -1
  151. package/dist/safe-bash/command-chunks/{chunk-4WHTTCKY.js → chunk-N5Y7WWO6.js} +8 -8
  152. package/dist/safe-bash/command-chunks/{chunk-MZYQKH26.js → chunk-NA6YAGAH.js} +3 -3
  153. package/dist/safe-bash/command-chunks/{chunk-BB7HBO56.js → chunk-NDJPULBE.js} +4 -4
  154. package/dist/safe-bash/command-chunks/{chunk-WI5NEHPD.js → chunk-NN6OWOJG.js} +6 -6
  155. package/dist/safe-bash/command-chunks/{chunk-OL75SBZL.js → chunk-NNYOPI7K.js} +8 -8
  156. package/dist/safe-bash/command-chunks/{chunk-ZBXUAM34.js → chunk-NR7POLKP.js} +2 -2
  157. package/dist/safe-bash/command-chunks/{chunk-57SKL76U.js → chunk-NWA7ZJDV.js} +5 -5
  158. package/dist/safe-bash/command-chunks/{chunk-CSS5KXQC.js → chunk-O3FTKLWR.js} +94 -61
  159. package/dist/safe-bash/command-chunks/{chunk-6KJDTKE4.js → chunk-O4H7HPMP.js} +35 -393
  160. package/dist/safe-bash/command-chunks/{chunk-5GP4A3TD.js → chunk-OLNV5MI6.js} +1 -1
  161. package/dist/safe-bash/command-chunks/{chunk-BBEAO5N7.js → chunk-OLXMWQJ5.js} +1 -1
  162. package/dist/safe-bash/command-chunks/{chunk-QWX5IERU.js → chunk-OMD45J52.js} +23 -19
  163. package/dist/safe-bash/command-chunks/{chunk-AXI7VMLG.js → chunk-OOYVZAWL.js} +3 -41
  164. package/dist/safe-bash/command-chunks/{chunk-GNORF6RY.js → chunk-OPKLIF5P.js} +12 -12
  165. package/dist/safe-bash/command-chunks/{chunk-E3DF7RTE.js → chunk-OT75C5YS.js} +2 -2
  166. package/dist/safe-bash/command-chunks/{chunk-X6KO7D6R.js → chunk-OVCSXD7N.js} +6 -6
  167. package/dist/safe-bash/command-chunks/chunk-P3LHQOX7.js +371 -0
  168. package/dist/safe-bash/command-chunks/{chunk-M7DZ7COK.js → chunk-P3TV5GIG.js} +6 -6
  169. package/dist/safe-bash/command-chunks/{chunk-CCNOZKAK.js → chunk-P5UFNPRE.js} +5 -5
  170. package/dist/safe-bash/command-chunks/{chunk-VW67MA53.js → chunk-PAEAEFK3.js} +122 -12
  171. package/dist/safe-bash/command-chunks/{chunk-5RDS6CNQ.js → chunk-PH722HK2.js} +6 -6
  172. package/dist/safe-bash/command-chunks/{chunk-OU4VE5CR.js → chunk-PKH57OIC.js} +8 -6
  173. package/dist/safe-bash/command-chunks/{chunk-GTOMW4VV.js → chunk-PNOXBL2B.js} +1 -1
  174. package/dist/safe-bash/command-chunks/{chunk-L4XSOULP.js → chunk-PPNPXNM6.js} +38 -2
  175. package/dist/safe-bash/command-chunks/{chunk-UH4CQIU3.js → chunk-PVKSBXHB.js} +11 -9
  176. package/dist/safe-bash/command-chunks/{chunk-6LOAJOWK.js → chunk-PYYAX5FB.js} +23 -23
  177. package/dist/safe-bash/command-chunks/{chunk-MOUCMZZP.js → chunk-PZVFNPRC.js} +1 -1
  178. package/dist/safe-bash/command-chunks/{chunk-37KBCKDF.js → chunk-QCCRQU44.js} +10 -10
  179. package/dist/safe-bash/command-chunks/{chunk-C34RLMAC.js → chunk-QEVSG6HQ.js} +4 -4
  180. package/dist/safe-bash/command-chunks/{chunk-YOYK2I4N.js → chunk-QGSY4ZAU.js} +8 -8
  181. package/dist/safe-bash/command-chunks/{chunk-4YFTJS5U.js → chunk-QMXOKYMJ.js} +2 -2
  182. package/dist/safe-bash/command-chunks/{chunk-PFUZPAXQ.js → chunk-QPHI7Y7Z.js} +4 -4
  183. package/dist/safe-bash/command-chunks/{chunk-HNY7LZ5P.js → chunk-QWQHLMDX.js} +7 -7
  184. package/dist/safe-bash/command-chunks/chunk-QX3WKBLI.js +58 -0
  185. package/dist/safe-bash/command-chunks/{chunk-V6OWCRHN.js → chunk-QZPSGPN5.js} +1 -1
  186. package/dist/safe-bash/command-chunks/chunk-R36PDP3L.js +106 -0
  187. package/dist/safe-bash/command-chunks/{chunk-L6X4EEN6.js → chunk-R43WEA4C.js} +9 -9
  188. package/dist/safe-bash/command-chunks/{chunk-JSX5CFZY.js → chunk-R6VXFTYL.js} +44 -44
  189. package/dist/safe-bash/command-chunks/{chunk-OVUY46QF.js → chunk-RC4TNFNF.js} +1 -1
  190. package/dist/safe-bash/command-chunks/{chunk-PU5DMQGG.js → chunk-RESJSUHH.js} +1 -1
  191. package/dist/safe-bash/command-chunks/{chunk-CVMHDJ7J.js → chunk-RHXV2KG5.js} +520 -6
  192. package/dist/safe-bash/command-chunks/{chunk-7B2MHKIW.js → chunk-RKON2TGI.js} +1 -1
  193. package/dist/safe-bash/command-chunks/{chunk-ITXSHOLP.js → chunk-RQTFK7AV.js} +2 -2
  194. package/dist/safe-bash/command-chunks/{chunk-CFMJXJS5.js → chunk-RTUDDAAY.js} +9 -4
  195. package/dist/safe-bash/command-chunks/{chunk-FAU2KL6I.js → chunk-S5MBHFLB.js} +2 -2
  196. package/dist/safe-bash/command-chunks/{chunk-B6T2526I.js → chunk-S6223MIG.js} +1 -1
  197. package/dist/safe-bash/command-chunks/{chunk-N6VNHC3B.js → chunk-SKDJCMGI.js} +10 -8
  198. package/dist/safe-bash/command-chunks/{chunk-3W3HLPCX.js → chunk-SKF6PGA5.js} +10 -10
  199. package/dist/safe-bash/command-chunks/{chunk-2FEMMALH.js → chunk-SLD5A7IL.js} +8 -8
  200. package/dist/safe-bash/command-chunks/{chunk-FVAFISPY.js → chunk-T2LZWXWF.js} +8 -8
  201. package/dist/safe-bash/command-chunks/{chunk-ATHU53C2.js → chunk-TMJG745A.js} +6 -6
  202. package/dist/safe-bash/command-chunks/{chunk-FQ2WRT4Q.js → chunk-TP5MZHCB.js} +6 -6
  203. package/dist/safe-bash/command-chunks/{chunk-EV3DPRWE.js → chunk-TPSRY72Q.js} +2 -2
  204. package/dist/safe-bash/command-chunks/{chunk-73KY3MZ3.js → chunk-TTPT3OME.js} +7 -7
  205. package/dist/safe-bash/command-chunks/{chunk-424NYO35.js → chunk-U6VSRO6E.js} +6 -6
  206. package/dist/safe-bash/command-chunks/{chunk-5VF2EA7Z.js → chunk-U7J3R7HX.js} +6 -1
  207. package/dist/safe-bash/command-chunks/{chunk-A32PUWYE.js → chunk-UDRJKA3P.js} +11 -11
  208. package/dist/safe-bash/command-chunks/{chunk-3B444A5G.js → chunk-UI5AS3FS.js} +10 -2
  209. package/dist/safe-bash/command-chunks/{chunk-YKEMSPJZ.js → chunk-UMOQHHSV.js} +7 -7
  210. package/dist/safe-bash/command-chunks/{chunk-D5XSGHXN.js → chunk-UNI6QG45.js} +5 -5
  211. package/dist/safe-bash/command-chunks/{chunk-77WBFVZQ.js → chunk-UTSN7AKE.js} +6 -6
  212. package/dist/safe-bash/command-chunks/{chunk-F5QYUK2E.js → chunk-UWIDPTOB.js} +2 -2
  213. package/dist/safe-bash/command-chunks/{chunk-F42WV2YO.js → chunk-V2J6AC6S.js} +4 -4
  214. package/dist/safe-bash/command-chunks/{chunk-ZZ27QNBY.js → chunk-V2PJO6JL.js} +29 -60
  215. package/dist/safe-bash/command-chunks/{chunk-EDBNI7WE.js → chunk-VAMBWXDV.js} +60 -9
  216. package/dist/safe-bash/command-chunks/{chunk-KM2SMMXZ.js → chunk-VJQ5OWS5.js} +80 -2
  217. package/dist/safe-bash/command-chunks/{chunk-MI2WY75O.js → chunk-VWBNUCUP.js} +28 -11
  218. package/dist/safe-bash/command-chunks/{chunk-232N24HE.js → chunk-W4BC2YGQ.js} +11 -11
  219. package/dist/safe-bash/command-chunks/{chunk-Y3ZRIZL7.js → chunk-W5LH7D23.js} +26 -13
  220. package/dist/safe-bash/command-chunks/{chunk-K6E56LND.js → chunk-W6L4Z2VX.js} +7 -7
  221. package/dist/safe-bash/command-chunks/{chunk-MURNTGDL.js → chunk-WEXEZRMH.js} +5 -5
  222. package/dist/safe-bash/command-chunks/chunk-WIUEM7HP.js +58 -0
  223. package/dist/safe-bash/command-chunks/{chunk-AQ3XOOPQ.js → chunk-WKS2PAZL.js} +2 -2
  224. package/dist/safe-bash/command-chunks/{chunk-MMSKDYK6.js → chunk-WOECEZAC.js} +336 -74
  225. package/dist/safe-bash/command-chunks/{chunk-5OS4Q3AX.js → chunk-WOO3YO2X.js} +7 -7
  226. package/dist/safe-bash/command-chunks/{chunk-7YDJ7LDO.js → chunk-WOT2YXBT.js} +8 -223
  227. package/dist/safe-bash/command-chunks/{chunk-OVQSILY3.js → chunk-WV3C6BRD.js} +12 -12
  228. package/dist/safe-bash/command-chunks/{chunk-N3MAYM6Y.js → chunk-X3EDCCXU.js} +5 -5
  229. package/dist/safe-bash/command-chunks/{chunk-6PE2L522.js → chunk-XE75H5ZZ.js} +13 -13
  230. package/dist/safe-bash/command-chunks/{chunk-LF7YJ5VQ.js → chunk-XMNPE6RN.js} +5 -5
  231. package/dist/safe-bash/command-chunks/{chunk-DCKAY6HV.js → chunk-XNVL6AOV.js} +14 -14
  232. package/dist/safe-bash/command-chunks/{chunk-MOJQT6RW.js → chunk-XPUYA7YU.js} +6 -6
  233. package/dist/safe-bash/command-chunks/{chunk-HW3IOXT6.js → chunk-XXUMECE4.js} +20 -18
  234. package/dist/safe-bash/command-chunks/{chunk-OAM2SUUI.js → chunk-YB5TNDY6.js} +1 -1
  235. package/dist/safe-bash/command-chunks/{chunk-VEZULAIA.js → chunk-YJMS5Q4Y.js} +12 -12
  236. package/dist/safe-bash/command-chunks/{chunk-KADQKXZE.js → chunk-YJTP4ROI.js} +11 -11
  237. package/dist/safe-bash/command-chunks/{chunk-7ITPO2V6.js → chunk-YNFQ5AXM.js} +80 -45
  238. package/dist/safe-bash/command-chunks/{chunk-7PYDVQPB.js → chunk-YWP62BAZ.js} +2 -2
  239. package/dist/safe-bash/command-chunks/chunk-YXIJOYT6.js +416 -0
  240. package/dist/safe-bash/command-chunks/{chunk-NQL3WNFI.js → chunk-YYRVGXJH.js} +44 -5
  241. package/dist/safe-bash/command-chunks/{chunk-7ZEGARPB.js → chunk-Z7UPCDTU.js} +1 -1
  242. package/dist/safe-bash/command-chunks/{chunk-O2XP6HQN.js → chunk-ZBGP6XEG.js} +1 -1
  243. package/dist/safe-bash/command-chunks/{chunk-VWRHPDCD.js → chunk-ZIDESNHW.js} +3 -3
  244. package/dist/safe-bash/command-chunks/{chunk-D2ZT2UUT.js → chunk-ZLMCWAAU.js} +9 -9
  245. package/dist/safe-bash/command-chunks/{chunk-UE34SQET.js → chunk-ZODGWV3Y.js} +5 -5
  246. package/dist/safe-bash/command-chunks/{chunk-DIRK47GT.js → chunk-ZPBL7TYJ.js} +3 -3
  247. package/dist/safe-bash/command-chunks/{chunk-OA4MEWTN.js → chunk-ZQ4NQ24M.js} +10 -10
  248. package/dist/safe-bash/command-chunks/{chunk-4IDV763L.js → chunk-ZS4J5B6Y.js} +2 -2
  249. package/dist/safe-bash/command-chunks/chunk-ZTW2E5OT.js +1016 -0
  250. package/dist/safe-bash/command-chunks/{chunk-MN7EEK6Y.js → chunk-ZUOID3FA.js} +10 -10
  251. package/dist/safe-bash/command-chunks/chunk-ZWGERYLT.js +192 -0
  252. package/dist/safe-bash/command-chunks/{chunk-F2NF6FHV.js → chunk-ZXIOTUXC.js} +2 -2
  253. package/dist/safe-bash/command-chunks/{chunk-DJB5RB6U.js → chunk-ZZ6EIACJ.js} +21 -68
  254. package/dist/safe-bash/command-chunks/{chunk-XMRQ6UP2.js → chunk-ZZO3GYEZ.js} +1 -11
  255. package/dist/safe-bash/command-chunks/{command-engine-PFYHL7GS.js → command-engine-B6X6WAMX.js} +375 -114
  256. package/dist/safe-bash/command-chunks/{engine-5AVSKFBI-D7Q5VPUN.js → engine-UPLVIV72-IGXUDNO5.js} +1 -1
  257. package/dist/safe-bash/command-chunks/{model-store-IIWQHSEZ.js → model-store-RGLCVIML.js} +9 -9
  258. package/dist/safe-bash/command-chunks/paradox-BHPRIGXX-RQN37FHB.js +370 -0
  259. package/dist/safe-bash/command-chunks/prompt-tool-debug-ERJKK3XZ.js +171 -0
  260. package/dist/safe-bash/commands/alias/index.js +1 -1
  261. package/dist/safe-bash/commands/apply-patch/index.js +1 -1
  262. package/dist/safe-bash/commands/archive/create.js +1 -1
  263. package/dist/safe-bash/commands/archive/extract.js +1 -1
  264. package/dist/safe-bash/commands/archive/format.js +1 -1
  265. package/dist/safe-bash/commands/archive/index.js +1 -1
  266. package/dist/safe-bash/commands/archive/internal.js +1 -1
  267. package/dist/safe-bash/commands/archive/listing.js +1 -1
  268. package/dist/safe-bash/commands/archive/modes.js +1 -1
  269. package/dist/safe-bash/commands/archive/options.js +1 -1
  270. package/dist/safe-bash/commands/archive/stream.js +1 -1
  271. package/dist/safe-bash/commands/archive/transform.js +1 -1
  272. package/dist/safe-bash/commands/archive/unzip/safety.js +1 -1
  273. package/dist/safe-bash/commands/archive/unzip.js +1 -1
  274. package/dist/safe-bash/commands/archive/zip/aes.js +1 -1
  275. package/dist/safe-bash/commands/archive/zip/comments.js +1 -1
  276. package/dist/safe-bash/commands/archive/zip/crc.js +1 -1
  277. package/dist/safe-bash/commands/archive/zip/crypto.js +1 -1
  278. package/dist/safe-bash/commands/archive/zip/dates.js +1 -1
  279. package/dist/safe-bash/commands/archive/zip/environment.js +1 -1
  280. package/dist/safe-bash/commands/archive/zip/grow.js +1 -1
  281. package/dist/safe-bash/commands/archive/zip/help.js +1 -1
  282. package/dist/safe-bash/commands/archive/zip/line-endings.js +1 -1
  283. package/dist/safe-bash/commands/archive/zip/log.js +1 -1
  284. package/dist/safe-bash/commands/archive/zip/lzma.js +1 -1
  285. package/dist/safe-bash/commands/archive/zip/move.js +1 -1
  286. package/dist/safe-bash/commands/archive/zip/names.js +1 -1
  287. package/dist/safe-bash/commands/archive/zip/options.js +1 -1
  288. package/dist/safe-bash/commands/archive/zip/repair.js +1 -1
  289. package/dist/safe-bash/commands/archive/zip/safety.js +1 -1
  290. package/dist/safe-bash/commands/archive/zip/sfx.js +1 -1
  291. package/dist/safe-bash/commands/archive/zip/test-command.js +1 -1
  292. package/dist/safe-bash/commands/archive/zip/volumes.js +1 -1
  293. package/dist/safe-bash/commands/archive/zip/zip64.js +1 -1
  294. package/dist/safe-bash/commands/archive/zip-format.js +1 -1
  295. package/dist/safe-bash/commands/archive/zip.js +1 -1
  296. package/dist/safe-bash/commands/ast-grep/index.js +1 -1
  297. package/dist/safe-bash/commands/audio/index.browser.js +2 -8
  298. package/dist/safe-bash/commands/audio/index.js +1 -1
  299. package/dist/safe-bash/commands/awk/index.js +1 -1
  300. package/dist/safe-bash/commands/base32/index.js +1 -1
  301. package/dist/safe-bash/commands/base64/index.js +1 -1
  302. package/dist/safe-bash/commands/bc/index.browser.js +1 -1
  303. package/dist/safe-bash/commands/bc/index.js +1 -1
  304. package/dist/safe-bash/commands/bytes/checksums/sm3.js +1 -1
  305. package/dist/safe-bash/commands/bytes/compression/bounded-codec.js +1 -1
  306. package/dist/safe-bash/commands/bytes/compression/codec-loader.js +1 -1
  307. package/dist/safe-bash/commands/bytes/compression/codec.js +1 -1
  308. package/dist/safe-bash/commands/bytes/compression/errors.js +1 -1
  309. package/dist/safe-bash/commands/bytes/compression/file-operation.js +1 -1
  310. package/dist/safe-bash/commands/bytes/compression/files.js +1 -1
  311. package/dist/safe-bash/commands/bytes/compression/gunzip.js +1 -1
  312. package/dist/safe-bash/commands/bytes/compression/stream.js +1 -1
  313. package/dist/safe-bash/commands/bytes/compression/xz-list.js +1 -1
  314. package/dist/safe-bash/commands/bytes/compression/zstd-decode.js +1 -1
  315. package/dist/safe-bash/commands/bytes/encoding/base.js +1 -1
  316. package/dist/safe-bash/commands/bytes/encoding/shared.js +1 -1
  317. package/dist/safe-bash/commands/bytes/input-budget.js +1 -1
  318. package/dist/safe-bash/commands/bzip2/index.js +1 -1
  319. package/dist/safe-bash/commands/cal/index.js +1 -1
  320. package/dist/safe-bash/commands/caller/index.js +1 -1
  321. package/dist/safe-bash/commands/canonicalize-existing-parent.js +1 -1
  322. package/dist/safe-bash/commands/chmod/index.js +1 -1
  323. package/dist/safe-bash/commands/column/index.js +1 -1
  324. package/dist/safe-bash/commands/comm/index.js +1 -1
  325. package/dist/safe-bash/commands/copy-backup.js +1 -1
  326. package/dist/safe-bash/commands/copy-preserve.js +1 -1
  327. package/dist/safe-bash/commands/copy-source.js +1 -1
  328. package/dist/safe-bash/commands/cp/index.js +1 -1
  329. package/dist/safe-bash/commands/csplit/index.js +1 -1
  330. package/dist/safe-bash/commands/csvcut/index.js +1 -1
  331. package/dist/safe-bash/commands/csvgrep/index.js +1 -1
  332. package/dist/safe-bash/commands/csvkit/index.js +1 -1
  333. package/dist/safe-bash/commands/curl/index.js +1 -1
  334. package/dist/safe-bash/commands/date/index.js +1 -1
  335. package/dist/safe-bash/commands/df/index.js +1 -1
  336. package/dist/safe-bash/commands/diff/index.js +1 -1
  337. package/dist/safe-bash/commands/diff-patch/diff-format.js +1 -1
  338. package/dist/safe-bash/commands/diff-patch/diff-options.js +1 -1
  339. package/dist/safe-bash/commands/diff-patch/diff-output.js +1 -1
  340. package/dist/safe-bash/commands/diff-patch/diff.js +1 -1
  341. package/dist/safe-bash/commands/diff-patch/index.js +2 -2
  342. package/dist/safe-bash/commands/diff-patch/patch-envelope.js +1 -1
  343. package/dist/safe-bash/commands/diff-patch/patch-formats.js +1 -1
  344. package/dist/safe-bash/commands/diff-patch/patch-gnu-paths.js +1 -1
  345. package/dist/safe-bash/commands/diff-patch/patch-gnu-reject.js +1 -1
  346. package/dist/safe-bash/commands/diff-patch/patch-path.js +1 -1
  347. package/dist/safe-bash/commands/diff-patch/patch-publication.js +1 -1
  348. package/dist/safe-bash/commands/diff-patch/patch.js +1 -1
  349. package/dist/safe-bash/commands/diff-patch/shared.js +1 -1
  350. package/dist/safe-bash/commands/diff-patch/unified.js +1 -1
  351. package/dist/safe-bash/commands/diff3/index.js +1 -1
  352. package/dist/safe-bash/commands/diffpdf/index.js +1 -1
  353. package/dist/safe-bash/commands/directory-admission.js +1 -1
  354. package/dist/safe-bash/commands/docx/index.js +1 -1
  355. package/dist/safe-bash/commands/docx/io.js +1 -1
  356. package/dist/safe-bash/commands/dos2unix/index.js +1 -1
  357. package/dist/safe-bash/commands/dot/index.js +1 -1
  358. package/dist/safe-bash/commands/du/index.js +1 -1
  359. package/dist/safe-bash/commands/egrep/index.js +1 -1
  360. package/dist/safe-bash/commands/env/index.js +1 -1
  361. package/dist/safe-bash/commands/env-split.js +1 -1
  362. package/dist/safe-bash/commands/exiftool/index.js +1 -1
  363. package/dist/safe-bash/commands/expand/index.js +1 -1
  364. package/dist/safe-bash/commands/expr/index.js +1 -1
  365. package/dist/safe-bash/commands/factor/index.js +1 -1
  366. package/dist/safe-bash/commands/fd/index.js +1 -1
  367. package/dist/safe-bash/commands/ffmpeg/index.js +1 -1
  368. package/dist/safe-bash/commands/ffprobe/index.js +1 -1
  369. package/dist/safe-bash/commands/fgrep/index.js +1 -1
  370. package/dist/safe-bash/commands/file/index.js +1 -1
  371. package/dist/safe-bash/commands/filesystem-requirements.js +1 -1
  372. package/dist/safe-bash/commands/find/index.js +1 -1
  373. package/dist/safe-bash/commands/find-format.js +1 -1
  374. package/dist/safe-bash/commands/find.js +1 -1
  375. package/dist/safe-bash/commands/fmt/index.js +1 -1
  376. package/dist/safe-bash/commands/fold/index.js +1 -1
  377. package/dist/safe-bash/commands/getconf/index.js +1 -1
  378. package/dist/safe-bash/commands/getopt/index.js +1 -1
  379. package/dist/safe-bash/commands/gnu-information.js +1 -1
  380. package/dist/safe-bash/commands/gpg/index.js +1 -1
  381. package/dist/safe-bash/commands/graphviz/index.js +3 -3
  382. package/dist/safe-bash/commands/grep/index.js +1 -1
  383. package/dist/safe-bash/commands/grep-aliases/aliases.js +1 -1
  384. package/dist/safe-bash/commands/grep.js +1 -1
  385. package/dist/safe-bash/commands/gzip/index.js +1 -1
  386. package/dist/safe-bash/commands/hexdump/index.js +1 -1
  387. package/dist/safe-bash/commands/hostname/index.js +1 -1
  388. package/dist/safe-bash/commands/html-to-markdown/index.js +1 -1
  389. package/dist/safe-bash/commands/htmlq/index.js +1 -1
  390. package/dist/safe-bash/commands/iconv/index.js +1 -1
  391. package/dist/safe-bash/commands/id/index.js +1 -1
  392. package/dist/safe-bash/commands/imagemagick/index.js +1 -1
  393. package/dist/safe-bash/commands/internal.js +1 -1
  394. package/dist/safe-bash/commands/join/index.js +1 -1
  395. package/dist/safe-bash/commands/jq/index.js +1 -1
  396. package/dist/safe-bash/commands/less/index.js +1 -1
  397. package/dist/safe-bash/commands/line-endings/index.js +1 -1
  398. package/dist/safe-bash/commands/llm/collections.js +1 -1
  399. package/dist/safe-bash/commands/llm/command.js +1 -1
  400. package/dist/safe-bash/commands/llm/elevenlabs-stream.js +1 -1
  401. package/dist/safe-bash/commands/llm/elevenlabs.js +1 -1
  402. package/dist/safe-bash/commands/llm/index.browser.js +21 -1
  403. package/dist/safe-bash/commands/llm/index.js +1 -1
  404. package/dist/safe-bash/commands/llm/mime.js +1 -1
  405. package/dist/safe-bash/commands/llm/openai-http.js +1 -1
  406. package/dist/safe-bash/commands/llm/openai-sse.js +1 -1
  407. package/dist/safe-bash/commands/llm/openai.js +1 -1
  408. package/dist/safe-bash/commands/llm/providers/elevenlabs.js +1 -1
  409. package/dist/safe-bash/commands/llm/providers/index.js +1 -1
  410. package/dist/safe-bash/commands/llm/providers/openai.js +1 -1
  411. package/dist/safe-bash/commands/llm/providers/shared.js +1 -1
  412. package/dist/safe-bash/commands/llm/service.js +1 -1
  413. package/dist/safe-bash/commands/locale/index.js +1 -1
  414. package/dist/safe-bash/commands/md5sum/index.js +1 -1
  415. package/dist/safe-bash/commands/mdq/index.js +1 -1
  416. package/dist/safe-bash/commands/media/index.js +1 -1
  417. package/dist/safe-bash/commands/media/plugin.js +1 -1
  418. package/dist/safe-bash/commands/media/remote.js +1 -1
  419. package/dist/safe-bash/commands/media/settings.js +1 -1
  420. package/dist/safe-bash/commands/metadata/chmod.js +1 -1
  421. package/dist/safe-bash/commands/metadata/internal.js +1 -1
  422. package/dist/safe-bash/commands/metadata/mktemp.js +1 -1
  423. package/dist/safe-bash/commands/metadata/stat.js +1 -1
  424. package/dist/safe-bash/commands/mktemp/index.js +1 -1
  425. package/dist/safe-bash/commands/mmdc/index.js +1 -1
  426. package/dist/safe-bash/commands/more/index.js +1 -1
  427. package/dist/safe-bash/commands/neato/index.js +1 -1
  428. package/dist/safe-bash/commands/network/aggregate.js +1 -1
  429. package/dist/safe-bash/commands/network/args.js +1 -1
  430. package/dist/safe-bash/commands/network/authorizer.js +1 -1
  431. package/dist/safe-bash/commands/network/body.js +1 -1
  432. package/dist/safe-bash/commands/network/curl.js +1 -1
  433. package/dist/safe-bash/commands/network/deadline.js +1 -1
  434. package/dist/safe-bash/commands/network/decode.js +1 -1
  435. package/dist/safe-bash/commands/network/fetch-transport.js +1 -1
  436. package/dist/safe-bash/commands/network/form-content-type.js +1 -1
  437. package/dist/safe-bash/commands/network/form-headers.js +1 -1
  438. package/dist/safe-bash/commands/network/glob.js +1 -1
  439. package/dist/safe-bash/commands/network/input.js +1 -1
  440. package/dist/safe-bash/commands/network/output.js +1 -1
  441. package/dist/safe-bash/commands/network/platform-portable.js +1 -1
  442. package/dist/safe-bash/commands/network/platform.js +1 -1
  443. package/dist/safe-bash/commands/network/private-address.js +1 -1
  444. package/dist/safe-bash/commands/network/shared.js +1 -1
  445. package/dist/safe-bash/commands/network/types.js +1 -1
  446. package/dist/safe-bash/commands/network/url.js +1 -1
  447. package/dist/safe-bash/commands/network/wget.js +1 -1
  448. package/dist/safe-bash/commands/nl/index.js +1 -1
  449. package/dist/safe-bash/commands/node/browser.js +1 -1
  450. package/dist/safe-bash/commands/node/buffer.js +1 -1
  451. package/dist/safe-bash/commands/node/default-runtime.js +1 -1
  452. package/dist/safe-bash/commands/node/filesystem.js +1 -1
  453. package/dist/safe-bash/commands/node/path.js +1 -1
  454. package/dist/safe-bash/commands/node/safejs.js +1 -1
  455. package/dist/safe-bash/commands/node/source-maps.js +1 -1
  456. package/dist/safe-bash/commands/node/timers.js +1 -1
  457. package/dist/safe-bash/commands/node/types.js +1 -1
  458. package/dist/safe-bash/commands/node/worker-types.js +1 -1
  459. package/dist/safe-bash/commands/nproc/index.js +1 -1
  460. package/dist/safe-bash/commands/numfmt/index.js +1 -1
  461. package/dist/safe-bash/commands/od/index.js +1 -1
  462. package/dist/safe-bash/commands/op/index.js +23 -1
  463. package/dist/safe-bash/commands/openssl/index.js +1 -1
  464. package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
  465. package/dist/safe-bash/commands/pandoc/index.js +1 -1
  466. package/dist/safe-bash/commands/paste/index.js +1 -1
  467. package/dist/safe-bash/commands/patch/index.js +1 -1
  468. package/dist/safe-bash/commands/pathchk/index.js +1 -1
  469. package/dist/safe-bash/commands/pdfimages/index.js +1 -1
  470. package/dist/safe-bash/commands/pdfinfo/index.js +1 -1
  471. package/dist/safe-bash/commands/pdfseparate/index.js +1 -1
  472. package/dist/safe-bash/commands/pdftk/index.js +1 -1
  473. package/dist/safe-bash/commands/pdftoppm/index.js +1 -1
  474. package/dist/safe-bash/commands/pdftotext/index.js +1 -1
  475. package/dist/safe-bash/commands/pdfunite/index.js +1 -1
  476. package/dist/safe-bash/commands/playwright/index.js +1 -1
  477. package/dist/safe-bash/commands/portable-random.js +1 -1
  478. package/dist/safe-bash/commands/portable-requirements.js +1 -1
  479. package/dist/safe-bash/commands/pptx/index.js +1 -1
  480. package/dist/safe-bash/commands/pr/index.js +1 -1
  481. package/dist/safe-bash/commands/printenv/index.js +1 -1
  482. package/dist/safe-bash/commands/python/executor-pool.js +1 -1
  483. package/dist/safe-bash/commands/python/executor.browser.js +2 -1
  484. package/dist/safe-bash/commands/python/executor.js +1 -1
  485. package/dist/safe-bash/commands/python/host-capabilities.js +1 -1
  486. package/dist/safe-bash/commands/python/index.browser.js +3 -1
  487. package/dist/safe-bash/commands/python/index.js +1 -1
  488. package/dist/safe-bash/commands/python/jspi-assets.js +1 -1
  489. package/dist/safe-bash/commands/python/jspi-trampoline.js +1 -1
  490. package/dist/safe-bash/commands/python/jspi.js +1 -1
  491. package/dist/safe-bash/commands/python/llm-capability.js +1 -1
  492. package/dist/safe-bash/commands/python/llm-dependencies.js +1 -1
  493. package/dist/safe-bash/commands/python/llm-module.js +1 -1
  494. package/dist/safe-bash/commands/python/llm-provider.js +1 -1
  495. package/dist/safe-bash/commands/python/llm-reference-module.js +1 -1
  496. package/dist/safe-bash/commands/python/provisioning.js +1 -1
  497. package/dist/safe-bash/commands/python/shell-capability.js +1 -1
  498. package/dist/safe-bash/commands/python/shell-module.js +1 -1
  499. package/dist/safe-bash/commands/python/worker.js +1 -1
  500. package/dist/safe-bash/commands/qpdf/index.js +1 -1
  501. package/dist/safe-bash/commands/qrencode/index.js +1 -1
  502. package/dist/safe-bash/commands/readlink/index.js +1 -1
  503. package/dist/safe-bash/commands/readlink-missing.js +1 -1
  504. package/dist/safe-bash/commands/realpath/index.js +1 -1
  505. package/dist/safe-bash/commands/record-buffer.js +1 -1
  506. package/dist/safe-bash/commands/regex-execution/ascii.js +1 -1
  507. package/dist/safe-bash/commands/regex-execution/bounded-glob.js +1 -1
  508. package/dist/safe-bash/commands/regex-execution/bounded-provider.js +1 -1
  509. package/dist/safe-bash/commands/regex-execution/ere/errors.js +1 -1
  510. package/dist/safe-bash/commands/regex-execution/ere/limits.js +1 -1
  511. package/dist/safe-bash/commands/regex-execution/ere/matcher.js +1 -1
  512. package/dist/safe-bash/commands/regex-execution/ere/syntax.js +1 -1
  513. package/dist/safe-bash/commands/regex-execution/portable.js +1 -1
  514. package/dist/safe-bash/commands/regex-execution/protocol.js +1 -1
  515. package/dist/safe-bash/commands/regex-execution/utf8.js +1 -1
  516. package/dist/safe-bash/commands/rev/index.js +1 -1
  517. package/dist/safe-bash/commands/rg/index.js +1 -1
  518. package/dist/safe-bash/commands/rgrep/index.js +1 -1
  519. package/dist/safe-bash/commands/rsvg-convert/index.js +1 -1
  520. package/dist/safe-bash/commands/safejs/io.js +1 -1
  521. package/dist/safe-bash/commands/safejs/options.js +1 -1
  522. package/dist/safe-bash/commands/safejs/render.js +1 -1
  523. package/dist/safe-bash/commands/safejs/runtime.js +1 -1
  524. package/dist/safe-bash/commands/safejs/types.js +1 -1
  525. package/dist/safe-bash/commands/search/ergonomic-regex.js +1 -1
  526. package/dist/safe-bash/commands/search/file-types.js +1 -1
  527. package/dist/safe-bash/commands/search/glob.js +1 -1
  528. package/dist/safe-bash/commands/search/grep-files.js +1 -1
  529. package/dist/safe-bash/commands/search/grep.js +1 -1
  530. package/dist/safe-bash/commands/search/matcher.js +1 -1
  531. package/dist/safe-bash/commands/search/options.js +1 -1
  532. package/dist/safe-bash/commands/search/output.js +1 -1
  533. package/dist/safe-bash/commands/search/requirements.js +1 -1
  534. package/dist/safe-bash/commands/search/rg-command.js +1 -1
  535. package/dist/safe-bash/commands/search/shared.js +1 -1
  536. package/dist/safe-bash/commands/search/walk.js +1 -1
  537. package/dist/safe-bash/commands/sed/index.js +1 -1
  538. package/dist/safe-bash/commands/seq/index.js +1 -1
  539. package/dist/safe-bash/commands/sha1sum/index.js +1 -1
  540. package/dist/safe-bash/commands/sha256sum/index.js +1 -1
  541. package/dist/safe-bash/commands/sha512sum/index.js +1 -1
  542. package/dist/safe-bash/commands/sips/index.js +1 -1
  543. package/dist/safe-bash/commands/sleep/index.js +1 -1
  544. package/dist/safe-bash/commands/soffice/index.js +1 -1
  545. package/dist/safe-bash/commands/sort/index.js +1 -1
  546. package/dist/safe-bash/commands/sort-admission.js +1 -1
  547. package/dist/safe-bash/commands/sox/index.js +1 -1
  548. package/dist/safe-bash/commands/soxi/index.js +1 -1
  549. package/dist/safe-bash/commands/split/index.js +1 -1
  550. package/dist/safe-bash/commands/sponge/index.js +1 -1
  551. package/dist/safe-bash/commands/sqlite3/index.js +1 -1
  552. package/dist/safe-bash/commands/ssh/index.js +1 -1
  553. package/dist/safe-bash/commands/stat/index.js +1 -1
  554. package/dist/safe-bash/commands/stream-format/shared.js +1 -1
  555. package/dist/safe-bash/commands/stream-inspection/numeric-options.js +1 -1
  556. package/dist/safe-bash/commands/stream-inspection/shared.js +1 -1
  557. package/dist/safe-bash/commands/stream-inspection/strings-object.js +1 -1
  558. package/dist/safe-bash/commands/strings/index.js +1 -1
  559. package/dist/safe-bash/commands/structured/bytes.js +1 -1
  560. package/dist/safe-bash/commands/structured/capture.js +1 -1
  561. package/dist/safe-bash/commands/structured/dates.js +1 -1
  562. package/dist/safe-bash/commands/structured/delpaths.js +1 -1
  563. package/dist/safe-bash/commands/structured/formats.js +1 -1
  564. package/dist/safe-bash/commands/structured/indices.js +1 -1
  565. package/dist/safe-bash/commands/structured/input.js +1 -1
  566. package/dist/safe-bash/commands/structured/interpreter.js +1 -1
  567. package/dist/safe-bash/commands/structured/jq.js +1 -1
  568. package/dist/safe-bash/commands/structured/limits.js +1 -1
  569. package/dist/safe-bash/commands/structured/numbers.js +1 -1
  570. package/dist/safe-bash/commands/structured/parser.js +1 -1
  571. package/dist/safe-bash/commands/structured/query-core.js +1 -1
  572. package/dist/safe-bash/commands/structured/recurse.js +1 -1
  573. package/dist/safe-bash/commands/structured/regex.js +1 -1
  574. package/dist/safe-bash/commands/structured/split.js +1 -1
  575. package/dist/safe-bash/commands/structured/splits.js +1 -1
  576. package/dist/safe-bash/commands/structured/values.js +1 -1
  577. package/dist/safe-bash/commands/svgo/index.js +1 -1
  578. package/dist/safe-bash/commands/table-text/internal.js +1 -1
  579. package/dist/safe-bash/commands/tac/index.js +1 -1
  580. package/dist/safe-bash/commands/tar/index.js +1 -1
  581. package/dist/safe-bash/commands/text-programs/awk-inspection.js +1 -1
  582. package/dist/safe-bash/commands/text-programs/awk-pipes.js +1 -1
  583. package/dist/safe-bash/commands/text-programs/awk-pretty.js +1 -1
  584. package/dist/safe-bash/commands/text-programs/awk-quote.js +1 -1
  585. package/dist/safe-bash/commands/text-programs/awk-reader.js +1 -1
  586. package/dist/safe-bash/commands/text-programs/awk-retention.js +1 -1
  587. package/dist/safe-bash/commands/text-programs/awk-runtime.js +1 -1
  588. package/dist/safe-bash/commands/text-programs/awk-syntax.js +1 -1
  589. package/dist/safe-bash/commands/text-programs/awk-values.js +1 -1
  590. package/dist/safe-bash/commands/text-programs/awk.js +1 -1
  591. package/dist/safe-bash/commands/text-programs/inplace.js +1 -1
  592. package/dist/safe-bash/commands/text-programs/regex.js +1 -1
  593. package/dist/safe-bash/commands/text-programs/replacement-buffer.js +1 -1
  594. package/dist/safe-bash/commands/text-programs/sed.js +1 -1
  595. package/dist/safe-bash/commands/text-programs/shared.js +1 -1
  596. package/dist/safe-bash/commands/time-env/calendar.js +1 -1
  597. package/dist/safe-bash/commands/time-env/format.js +1 -1
  598. package/dist/safe-bash/commands/time-env/shared.js +1 -1
  599. package/dist/safe-bash/commands/timeout/index.js +1 -1
  600. package/dist/safe-bash/commands/touch/index.js +1 -1
  601. package/dist/safe-bash/commands/touch-target.js +1 -1
  602. package/dist/safe-bash/commands/touch-times.js +1 -1
  603. package/dist/safe-bash/commands/tree/index.js +1 -1
  604. package/dist/safe-bash/commands/tsort/index.js +1 -1
  605. package/dist/safe-bash/commands/unalias/index.js +1 -1
  606. package/dist/safe-bash/commands/uname/index.js +1 -1
  607. package/dist/safe-bash/commands/unexpand/index.js +1 -1
  608. package/dist/safe-bash/commands/unix2dos/index.js +1 -1
  609. package/dist/safe-bash/commands/unrtf/index.js +1 -1
  610. package/dist/safe-bash/commands/unzip/index.js +1 -1
  611. package/dist/safe-bash/commands/wdiff/index.js +1 -1
  612. package/dist/safe-bash/commands/wget/index.js +1 -1
  613. package/dist/safe-bash/commands/which/index.js +1 -1
  614. package/dist/safe-bash/commands/whoami/index.js +1 -1
  615. package/dist/safe-bash/commands/wkhtmltopdf/index.js +1 -1
  616. package/dist/safe-bash/commands/xan/index.js +1 -1
  617. package/dist/safe-bash/commands/xml/index.js +1 -1
  618. package/dist/safe-bash/commands/xmllint/index.js +1 -1
  619. package/dist/safe-bash/commands/xq/index.js +1 -1
  620. package/dist/safe-bash/commands/xxd/index.js +1 -1
  621. package/dist/safe-bash/commands/xz/index.js +1 -1
  622. package/dist/safe-bash/commands/yq/index.js +1 -1
  623. package/dist/safe-bash/commands/zip/index.js +1 -1
  624. package/dist/safe-bash/commands/zstd/index.js +1 -1
  625. package/dist/safe-bash/core.browser.js +2 -2
  626. package/dist/safe-bash/full-core.browser.js +29 -7
  627. package/dist/safe-bash/integrations/safejs/filesystem.js +1 -1
  628. package/dist/safe-bash/integrations/safejs/shell.js +1 -1
  629. package/dist/safe-bash/integrations/safejs/values.js +1 -1
  630. package/dist/safe-bash/playwright/abilities.js +1 -1
  631. package/dist/safe-bash/playwright/ability-execution.js +1 -1
  632. package/dist/safe-bash/playwright/adapter.js +1 -1
  633. package/dist/safe-bash/playwright/builtins.js +1 -1
  634. package/dist/safe-bash/playwright/canonical-locator-parser.js +1 -1
  635. package/dist/safe-bash/playwright/capability-events.js +1 -1
  636. package/dist/safe-bash/playwright/capability-result.js +1 -1
  637. package/dist/safe-bash/playwright/catalog.js +1 -1
  638. package/dist/safe-bash/playwright/checkpoint.js +1 -1
  639. package/dist/safe-bash/playwright/command-budget.js +1 -1
  640. package/dist/safe-bash/playwright/command-reference.js +1 -1
  641. package/dist/safe-bash/playwright/config-ini.js +1 -1
  642. package/dist/safe-bash/playwright/config-json.js +1 -1
  643. package/dist/safe-bash/playwright/controller.js +1 -1
  644. package/dist/safe-bash/playwright/devices.js +1 -1
  645. package/dist/safe-bash/playwright/download-capabilities.js +1 -1
  646. package/dist/safe-bash/playwright/drop-capability.js +1 -1
  647. package/dist/safe-bash/playwright/find.js +1 -1
  648. package/dist/safe-bash/playwright/frame-snapshot.js +1 -1
  649. package/dist/safe-bash/playwright/generated-locator.js +1 -1
  650. package/dist/safe-bash/playwright/help-reference.js +1 -1
  651. package/dist/safe-bash/playwright/help.js +1 -1
  652. package/dist/safe-bash/playwright/highlight.js +1 -1
  653. package/dist/safe-bash/playwright/index.js +1 -1
  654. package/dist/safe-bash/playwright/invocation.js +1 -1
  655. package/dist/safe-bash/playwright/locator-selector.js +1 -1
  656. package/dist/safe-bash/playwright/modal-capabilities.js +1 -1
  657. package/dist/safe-bash/playwright/native-evaluation.js +1 -1
  658. package/dist/safe-bash/playwright/native-json-snapshot.js +1 -1
  659. package/dist/safe-bash/playwright/native-snapshot.js +1 -1
  660. package/dist/safe-bash/playwright/native-storage-realm.js +1 -1
  661. package/dist/safe-bash/playwright/native-storage-replacement.js +1 -1
  662. package/dist/safe-bash/playwright/native-storage-sources.generated.js +1 -1
  663. package/dist/safe-bash/playwright/native-storage-targets.js +1 -1
  664. package/dist/safe-bash/playwright/network-policy.js +1 -1
  665. package/dist/safe-bash/playwright/open-options.js +1 -1
  666. package/dist/safe-bash/playwright/private-target-transport.js +1 -1
  667. package/dist/safe-bash/playwright/profile.js +1 -1
  668. package/dist/safe-bash/playwright/recording-capabilities.js +1 -1
  669. package/dist/safe-bash/playwright/recovery.js +1 -1
  670. package/dist/safe-bash/playwright/resource-limit.js +1 -1
  671. package/dist/safe-bash/playwright/response.js +1 -1
  672. package/dist/safe-bash/playwright/route-capabilities.js +1 -1
  673. package/dist/safe-bash/playwright/route-policy.js +1 -1
  674. package/dist/safe-bash/playwright/screenshot.js +1 -1
  675. package/dist/safe-bash/playwright/session-configuration.js +1 -1
  676. package/dist/safe-bash/playwright/session-runtime.js +1 -1
  677. package/dist/safe-bash/playwright/session-selection.js +1 -1
  678. package/dist/safe-bash/playwright/snapshot-reference-error.js +1 -1
  679. package/dist/safe-bash/playwright/snapshot.js +1 -1
  680. package/dist/safe-bash/playwright/standard-capabilities.js +1 -1
  681. package/dist/safe-bash/playwright/storage-capabilities.js +1 -1
  682. package/dist/safe-bash/playwright/storage-state.js +1 -1
  683. package/dist/safe-bash/playwright/target-screenshot.js +1 -1
  684. package/dist/safe-bash/playwright/targets.js +1 -1
  685. package/dist/safe-bash/playwright/tracing-capabilities.js +1 -1
  686. package/dist/safe-bash/playwright/webmcp-capabilities.js +1 -1
  687. package/dist/safe-bash/playwright/webmcp-params.js +1 -1
  688. package/dist/safe-bash/playwright/workspace-assets.js +1 -1
  689. package/dist/safe-bash/playwright/workspace.js +1 -1
  690. package/dist/safe-bash/plugins/index.browser.js +4 -4
  691. package/dist/safe-bash/registry-entry.browser.js +2 -2
  692. package/dist/safe-bash/search.browser.js +1 -1
  693. package/dist/safe-bash/shell/parser.js +2 -1
  694. package/dist/safe-bash/shell/pattern.js +1 -1
  695. package/dist/safe-bash/shell/string-operations.js +1 -1
  696. package/dist/safe-bash/shell-entry.browser.js +2 -2
  697. package/dist/safe-bash/ts-ast.js +1 -1
  698. package/dist/safe-bash-checksum-engine/index.js +1 -1
  699. package/dist/safe-bash-command-audio/index.js +2 -2
  700. package/dist/safe-bash-command-awk/awk-runtime.js +2 -2
  701. package/dist/safe-bash-command-awk/awk-syntax.js +1 -1
  702. package/dist/safe-bash-command-awk/awk.js +4 -4
  703. package/dist/safe-bash-command-awk/index.js +4 -4
  704. package/dist/safe-bash-command-bc/index.js +13 -14
  705. package/dist/safe-bash-command-cal/index.js +25 -31
  706. package/dist/safe-bash-command-cp/index.js +3 -3
  707. package/dist/safe-bash-command-csvgrep/command.d.ts +1 -0
  708. package/dist/safe-bash-command-csvgrep/index.js +7 -0
  709. package/dist/safe-bash-command-docx/sdk.js +1 -1
  710. package/dist/safe-bash-command-expr/bre-engine.js +1 -1
  711. package/dist/safe-bash-command-factor/command.js +2 -2
  712. package/dist/safe-bash-command-factor/index.js +2 -2
  713. package/dist/safe-bash-command-fd/index.js +4 -3
  714. package/dist/safe-bash-command-ffmpeg/index.js +13 -2
  715. package/dist/safe-bash-command-ffprobe/index.js +2 -2
  716. package/dist/safe-bash-command-ffprobe/media.js +2 -2
  717. package/dist/safe-bash-command-getconf/index.js +11 -4
  718. package/dist/safe-bash-command-git/git_rust.wasm +0 -0
  719. package/dist/safe-bash-command-git/index.js +96 -14
  720. package/dist/safe-bash-command-html-to-markdown/index.js +1 -1
  721. package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +2 -0
  722. package/dist/safe-bash-command-html-to-markdown/stored-text.js +1 -1
  723. package/dist/safe-bash-command-imagemagick/index.js +18 -4
  724. package/dist/safe-bash-command-jq/index.js +1 -1
  725. package/dist/safe-bash-command-jq/jq.js +1 -1
  726. package/dist/safe-bash-command-llm/collections.js +48 -192
  727. package/dist/safe-bash-command-llm/command.js +14 -6
  728. package/dist/safe-bash-command-llm/elevenlabs.js +2 -2
  729. package/dist/safe-bash-command-llm/fragment-loaders.d.ts +29 -0
  730. package/dist/safe-bash-command-llm/fragments.d.ts +24 -0
  731. package/dist/safe-bash-command-llm/import-json-document.d.ts +5 -2
  732. package/dist/safe-bash-command-llm/index.d.ts +7 -0
  733. package/dist/safe-bash-command-llm/index.js +47 -17
  734. package/dist/safe-bash-command-llm/input-budget.d.ts +2 -0
  735. package/dist/safe-bash-command-llm/openai-sse.d.ts +1 -1
  736. package/dist/safe-bash-command-llm/openai-sse.js +4 -1
  737. package/dist/safe-bash-command-llm/openai.js +11 -7
  738. package/dist/safe-bash-command-llm/providers/elevenlabs.js +2 -2
  739. package/dist/safe-bash-command-llm/providers/index.js +16 -10
  740. package/dist/safe-bash-command-llm/providers/openai.js +11 -7
  741. package/dist/safe-bash-command-llm/providers/shared.d.ts +2 -0
  742. package/dist/safe-bash-command-llm/providers/shared.js +1 -1
  743. package/dist/safe-bash-command-llm/retained-spool.d.ts +4 -0
  744. package/dist/safe-bash-command-llm/service.d.ts +3 -1
  745. package/dist/safe-bash-command-llm/service.js +5 -2
  746. package/dist/safe-bash-command-llm/tool-chain.d.ts +22 -0
  747. package/dist/safe-bash-command-llm/tool-execution.d.ts +55 -0
  748. package/dist/safe-bash-command-llm/tool-registry.d.ts +43 -0
  749. package/dist/safe-bash-command-llm/types.d.ts +39 -11
  750. package/dist/safe-bash-command-llm/url-fragment-source.d.ts +6 -0
  751. package/dist/safe-bash-command-llm/url-source.d.ts +3 -1
  752. package/dist/safe-bash-command-mcp/index.browser.d.ts +1 -0
  753. package/dist/safe-bash-command-mcp/index.browser.js +4 -4
  754. package/dist/safe-bash-command-mcp/index.d.ts +1 -0
  755. package/dist/safe-bash-command-mcp/index.js +28 -7
  756. package/dist/safe-bash-command-mdq/index.js +10 -3
  757. package/dist/safe-bash-command-node/commands/node/quickjs.js +1 -1
  758. package/dist/safe-bash-command-pandoc/command.js +9 -9
  759. package/dist/safe-bash-command-pandoc/index.js +57 -57
  760. package/dist/safe-bash-command-pandoc/lua-filters.js +1 -1
  761. package/dist/safe-bash-command-patch/index.js +5 -5
  762. package/dist/safe-bash-command-patch/patch-publication.js +1 -1
  763. package/dist/safe-bash-command-patch/patch.js +4 -4
  764. package/dist/safe-bash-command-pdfinfo/index.js +2 -2
  765. package/dist/safe-bash-command-pdftk/index.js +550 -137
  766. package/dist/safe-bash-command-pdftoppm/index.js +1 -1
  767. package/dist/safe-bash-command-pdftotext/index.js +29 -15
  768. package/dist/safe-bash-command-playwright-cli/index.js +12 -11
  769. package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +4 -4
  770. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +7 -6
  771. package/dist/safe-bash-command-playwright-cli/playwright/index.js +12 -11
  772. package/dist/safe-bash-command-playwright-cli/playwright/profile.d.ts +1 -1
  773. package/dist/safe-bash-command-playwright-cli/playwright/profile.js +2 -1
  774. package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +3 -3
  775. package/dist/safe-bash-command-pptx/engine.js +2 -2
  776. package/dist/safe-bash-command-python/executor.d.ts +1 -0
  777. package/dist/safe-bash-command-python/executor.js +16 -14
  778. package/dist/safe-bash-command-python/index.js +16 -14
  779. package/dist/safe-bash-command-python/jspi.js +1 -1
  780. package/dist/safe-bash-command-python/llm-capability.js +1 -1
  781. package/dist/safe-bash-command-python/llm-functions-loader.d.ts +5 -0
  782. package/dist/safe-bash-command-python/llm-packages.js +51 -2
  783. package/dist/safe-bash-command-python/llm-provider.js +1 -1
  784. package/dist/safe-bash-command-rg/glob.d.ts +6 -0
  785. package/dist/safe-bash-command-rg/glob.js +2 -2
  786. package/dist/safe-bash-command-rg/index.js +8 -8
  787. package/dist/safe-bash-command-rg/matcher.d.ts +2 -0
  788. package/dist/safe-bash-command-rg/matcher.js +2 -2
  789. package/dist/safe-bash-command-rg/options.d.ts +2 -0
  790. package/dist/safe-bash-command-rg/options.js +1 -1
  791. package/dist/safe-bash-command-rg/output.js +3 -3
  792. package/dist/safe-bash-command-rg/replacement.js +2 -2
  793. package/dist/safe-bash-command-rg/rg-command.js +8 -8
  794. package/dist/safe-bash-command-rg/shared.d.ts +0 -2
  795. package/dist/safe-bash-command-rg/shared.js +2 -4
  796. package/dist/safe-bash-command-rg/walk.js +4 -4
  797. package/dist/safe-bash-command-safejs/index.js +4 -4
  798. package/dist/safe-bash-command-safejs/runtime.js +2 -2
  799. package/dist/safe-bash-command-soffice/index.js +2 -2
  800. package/dist/safe-bash-command-sqlite3/engine.d.ts +15 -0
  801. package/dist/safe-bash-command-sqlite3/index.js +310 -15
  802. package/dist/safe-bash-command-ssconvert/index.js +2 -2
  803. package/dist/safe-bash-command-tar/create.js +2 -2
  804. package/dist/safe-bash-command-tar/extract.js +2 -2
  805. package/dist/safe-bash-command-tar/index.js +6 -6
  806. package/dist/safe-bash-command-tar/modes.js +4 -4
  807. package/dist/safe-bash-command-unzip/index.js +2 -2
  808. package/dist/safe-bash-command-unzip/unzip.js +2 -2
  809. package/dist/safe-bash-command-yq/parser.js +1 -1
  810. package/dist/safe-bash-command-yq/query.js +1 -1
  811. package/dist/safe-bash-contracts/escaping.js +2 -2
  812. package/dist/safe-bash-contracts/index.js +15 -15
  813. package/dist/safe-bash-csv-engine/index.js +5 -3
  814. package/dist/safe-bash-csv-engine/python-codepages.js +2 -1
  815. package/dist/safe-bash-csv-engine/python-file-codepages.d.ts +1 -0
  816. package/dist/safe-bash-csv-engine/python-file-codepages.js +8 -0
  817. package/dist/safe-bash-csv-engine/python-utf16.js +3 -2
  818. package/dist/safe-bash-csv-engine/text-decoder.js +5 -3
  819. package/dist/safe-bash-docx-engine/ancillary-resources.js +4 -4
  820. package/dist/safe-bash-docx-engine/batch-operations.js +45 -45
  821. package/dist/safe-bash-docx-engine/batch-result-schema.js +52 -52
  822. package/dist/safe-bash-docx-engine/batch.js +52 -52
  823. package/dist/safe-bash-docx-engine/bookmarks.js +10 -10
  824. package/dist/safe-bash-docx-engine/charts.js +5 -5
  825. package/dist/safe-bash-docx-engine/command-option-rules.js +1 -1
  826. package/dist/safe-bash-docx-engine/comments.js +14 -14
  827. package/dist/safe-bash-docx-engine/control-bindings.js +12 -12
  828. package/dist/safe-bash-docx-engine/control-repeat.js +11 -11
  829. package/dist/safe-bash-docx-engine/controls.js +10 -10
  830. package/dist/safe-bash-docx-engine/create.js +4 -4
  831. package/dist/safe-bash-docx-engine/diagrams.js +5 -5
  832. package/dist/safe-bash-docx-engine/diff.js +4 -4
  833. package/dist/safe-bash-docx-engine/document-properties.js +11 -11
  834. package/dist/safe-bash-docx-engine/equations.js +11 -11
  835. package/dist/safe-bash-docx-engine/extract.js +9 -9
  836. package/dist/safe-bash-docx-engine/fields.js +11 -11
  837. package/dist/safe-bash-docx-engine/font-inventory.js +8 -8
  838. package/dist/safe-bash-docx-engine/font-resources.js +1 -1
  839. package/dist/safe-bash-docx-engine/image-batch-operations.js +1 -1
  840. package/dist/safe-bash-docx-engine/image-insertion.js +13 -13
  841. package/dist/safe-bash-docx-engine/image-layout.js +12 -12
  842. package/dist/safe-bash-docx-engine/image-replacement.js +13 -13
  843. package/dist/safe-bash-docx-engine/images.js +12 -12
  844. package/dist/safe-bash-docx-engine/index.js +100 -100
  845. package/dist/safe-bash-docx-engine/inspection.js +11 -11
  846. package/dist/safe-bash-docx-engine/invocation.js +1 -1
  847. package/dist/safe-bash-docx-engine/io.js +1 -1
  848. package/dist/safe-bash-docx-engine/links.js +11 -11
  849. package/dist/safe-bash-docx-engine/lists.js +11 -11
  850. package/dist/safe-bash-docx-engine/locations.js +5 -5
  851. package/dist/safe-bash-docx-engine/notes.js +12 -12
  852. package/dist/safe-bash-docx-engine/objects.js +12 -12
  853. package/dist/safe-bash-docx-engine/pack.js +9 -9
  854. package/dist/safe-bash-docx-engine/package-view-batch-operations.js +8 -8
  855. package/dist/safe-bash-docx-engine/pandoc-adapter.js +9 -9
  856. package/dist/safe-bash-docx-engine/paragraph-edit.js +15 -15
  857. package/dist/safe-bash-docx-engine/publication.js +3 -3
  858. package/dist/safe-bash-docx-engine/removal.js +11 -11
  859. package/dist/safe-bash-docx-engine/revision-decisions.js +13 -13
  860. package/dist/safe-bash-docx-engine/revision-edit.js +10 -10
  861. package/dist/safe-bash-docx-engine/revisions.js +8 -8
  862. package/dist/safe-bash-docx-engine/run-format.js +10 -10
  863. package/dist/safe-bash-docx-engine/sanitize.js +20 -20
  864. package/dist/safe-bash-docx-engine/sections.js +10 -10
  865. package/dist/safe-bash-docx-engine/settings.js +6 -6
  866. package/dist/safe-bash-docx-engine/shape-edit.js +12 -12
  867. package/dist/safe-bash-docx-engine/signatures.js +11 -11
  868. package/dist/safe-bash-docx-engine/stories.js +12 -12
  869. package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +17 -17
  870. package/dist/safe-bash-docx-engine/style-model-batch-operations.js +11 -11
  871. package/dist/safe-bash-docx-engine/style-model-result-schema.js +20 -20
  872. package/dist/safe-bash-docx-engine/styles.js +10 -10
  873. package/dist/safe-bash-docx-engine/table-edit.js +16 -16
  874. package/dist/safe-bash-docx-engine/table-read.js +6 -6
  875. package/dist/safe-bash-docx-engine/template.js +12 -12
  876. package/dist/safe-bash-docx-engine/text-replace.js +10 -10
  877. package/dist/safe-bash-docx-engine/text-resource-read.js +6 -6
  878. package/dist/safe-bash-docx-engine/text.js +6 -6
  879. package/dist/safe-bash-docx-engine/validation.js +1 -1
  880. package/dist/safe-bash-docx-engine/xml-parts.js +14 -14
  881. package/dist/safe-bash-io-engine/commands/text-programs/shared.js +4 -4
  882. package/dist/safe-bash-line-ending-engine/command.js +4 -4
  883. package/dist/safe-bash-line-ending-engine/index.js +4 -4
  884. package/dist/safe-bash-markdown-engine/commonmark-blocks.js +1 -1
  885. package/dist/safe-bash-markdown-engine/index.js +3 -3
  886. package/dist/safe-bash-network-engine/index.js +4 -4
  887. package/dist/safe-bash-pptx-engine/bytes.js +1 -1
  888. package/dist/safe-bash-pptx-engine/index.js +1 -1
  889. package/dist/safe-bash-presentation-engine/accessibility.js +33 -31
  890. package/dist/safe-bash-presentation-engine/animation-editing.js +17 -16
  891. package/dist/safe-bash-presentation-engine/animations.js +17 -16
  892. package/dist/safe-bash-presentation-engine/backgrounds.js +18 -17
  893. package/dist/safe-bash-presentation-engine/bytes.js +4 -4
  894. package/dist/safe-bash-presentation-engine/chart-editing.js +36 -34
  895. package/dist/safe-bash-presentation-engine/chart-object-operations.js +26 -25
  896. package/dist/safe-bash-presentation-engine/charts.js +33 -31
  897. package/dist/safe-bash-presentation-engine/command-placeholder.js +63 -61
  898. package/dist/safe-bash-presentation-engine/comments.js +18 -17
  899. package/dist/safe-bash-presentation-engine/connector-operations.js +34 -32
  900. package/dist/safe-bash-presentation-engine/connectors.js +31 -29
  901. package/dist/safe-bash-presentation-engine/content-types.js +5 -5
  902. package/dist/safe-bash-presentation-engine/creation.js +7 -7
  903. package/dist/safe-bash-presentation-engine/diff.js +40 -38
  904. package/dist/safe-bash-presentation-engine/drawing-format.js +21 -20
  905. package/dist/safe-bash-presentation-engine/drawing-operations.js +33 -31
  906. package/dist/safe-bash-presentation-engine/drawing-schema.js +22 -21
  907. package/dist/safe-bash-presentation-engine/equations.js +18 -17
  908. package/dist/safe-bash-presentation-engine/errors.js +3 -3
  909. package/dist/safe-bash-presentation-engine/fields.js +18 -17
  910. package/dist/safe-bash-presentation-engine/font-metrics.js +4 -4
  911. package/dist/safe-bash-presentation-engine/image-extraction.js +23 -21
  912. package/dist/safe-bash-presentation-engine/image-formatting.js +35 -33
  913. package/dist/safe-bash-presentation-engine/image-insertion.js +20 -19
  914. package/dist/safe-bash-presentation-engine/image-metadata.d.ts +7 -1
  915. package/dist/safe-bash-presentation-engine/image-metadata.js +5 -3
  916. package/dist/safe-bash-presentation-engine/image-replacement.js +24 -22
  917. package/dist/safe-bash-presentation-engine/image-value.js +6 -6
  918. package/dist/safe-bash-presentation-engine/images.d.ts +1 -0
  919. package/dist/safe-bash-presentation-engine/images.js +24 -20
  920. package/dist/safe-bash-presentation-engine/index.js +141 -137
  921. package/dist/safe-bash-presentation-engine/layouts.js +17 -16
  922. package/dist/safe-bash-presentation-engine/length.js +4 -4
  923. package/dist/safe-bash-presentation-engine/links.js +17 -16
  924. package/dist/safe-bash-presentation-engine/masters.js +16 -15
  925. package/dist/safe-bash-presentation-engine/media-editing.js +30 -25
  926. package/dist/safe-bash-presentation-engine/media-extraction.d.ts +4 -0
  927. package/dist/safe-bash-presentation-engine/media-extraction.js +33 -19
  928. package/dist/safe-bash-presentation-engine/media.d.ts +2 -0
  929. package/dist/safe-bash-presentation-engine/media.js +32 -18
  930. package/dist/safe-bash-presentation-engine/memberships.js +19 -17
  931. package/dist/safe-bash-presentation-engine/notes.js +20 -18
  932. package/dist/safe-bash-presentation-engine/ole-enum.js +5 -5
  933. package/dist/safe-bash-presentation-engine/ole-insertion.js +22 -21
  934. package/dist/safe-bash-presentation-engine/opaque-objects.d.ts +4 -0
  935. package/dist/safe-bash-presentation-engine/opaque-objects.js +30 -12
  936. package/dist/safe-bash-presentation-engine/package-reader.js +6 -6
  937. package/dist/safe-bash-presentation-engine/package-tools.js +24 -20
  938. package/dist/safe-bash-presentation-engine/package-uri.js +4 -4
  939. package/dist/safe-bash-presentation-engine/package-writer.js +5 -5
  940. package/dist/safe-bash-presentation-engine/presentation-model.js +62 -60
  941. package/dist/safe-bash-presentation-engine/presentation-settings.js +19 -17
  942. package/dist/safe-bash-presentation-engine/properties.js +21 -19
  943. package/dist/safe-bash-presentation-engine/relationships.js +5 -5
  944. package/dist/safe-bash-presentation-engine/resource-limits.js +2 -2
  945. package/dist/safe-bash-presentation-engine/retained-extraction-output.d.ts +8 -4
  946. package/dist/safe-bash-presentation-engine/retained-fonts.d.ts +26 -0
  947. package/dist/safe-bash-presentation-engine/retained-image-metadata.d.ts +13 -0
  948. package/dist/safe-bash-presentation-engine/retained-inspection.js +16 -14
  949. package/dist/safe-bash-presentation-engine/retained-media-extraction.d.ts +21 -0
  950. package/dist/safe-bash-presentation-engine/retained-media.d.ts +54 -0
  951. package/dist/safe-bash-presentation-engine/retained-object-extraction.d.ts +22 -0
  952. package/dist/safe-bash-presentation-engine/retained-objects.d.ts +25 -0
  953. package/dist/safe-bash-presentation-engine/retained-package.js +6 -6
  954. package/dist/safe-bash-presentation-engine/retained-shape-geometry.d.ts +20 -0
  955. package/dist/safe-bash-presentation-engine/retained-text.js +34 -32
  956. package/dist/safe-bash-presentation-engine/retained-transitions.d.ts +18 -0
  957. package/dist/safe-bash-presentation-engine/sanitize.js +22 -20
  958. package/dist/safe-bash-presentation-engine/selectors.js +11 -11
  959. package/dist/safe-bash-presentation-engine/shape-groups.js +33 -31
  960. package/dist/safe-bash-presentation-engine/shape-operations.js +32 -30
  961. package/dist/safe-bash-presentation-engine/shape-path-operations.js +34 -32
  962. package/dist/safe-bash-presentation-engine/shape-paths.js +17 -16
  963. package/dist/safe-bash-presentation-engine/shape-presets.js +4 -4
  964. package/dist/safe-bash-presentation-engine/shape-selection.js +33 -31
  965. package/dist/safe-bash-presentation-engine/shape-transforms.d.ts +6 -0
  966. package/dist/safe-bash-presentation-engine/shape-transforms.js +26 -20
  967. package/dist/safe-bash-presentation-engine/shapes.js +28 -27
  968. package/dist/safe-bash-presentation-engine/slide-copy.js +21 -19
  969. package/dist/safe-bash-presentation-engine/slide-import.js +19 -18
  970. package/dist/safe-bash-presentation-engine/slide-merge-split.js +21 -20
  971. package/dist/safe-bash-presentation-engine/slide-model.js +46 -44
  972. package/dist/safe-bash-presentation-engine/slide-removal.js +19 -18
  973. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +10 -10
  974. package/dist/safe-bash-presentation-engine/slides.js +21 -19
  975. package/dist/safe-bash-presentation-engine/table-operations.js +35 -33
  976. package/dist/safe-bash-presentation-engine/table-spans.js +34 -32
  977. package/dist/safe-bash-presentation-engine/tables.js +33 -31
  978. package/dist/safe-bash-presentation-engine/tags.js +20 -18
  979. package/dist/safe-bash-presentation-engine/template-bindings.js +36 -34
  980. package/dist/safe-bash-presentation-engine/template-repeat.js +46 -43
  981. package/dist/safe-bash-presentation-engine/text-fitting.js +28 -27
  982. package/dist/safe-bash-presentation-engine/text-frames.js +28 -27
  983. package/dist/safe-bash-presentation-engine/text-paragraphs.js +28 -27
  984. package/dist/safe-bash-presentation-engine/text-reading.js +12 -12
  985. package/dist/safe-bash-presentation-engine/text-replacement.js +18 -17
  986. package/dist/safe-bash-presentation-engine/text-runs.js +21 -20
  987. package/dist/safe-bash-presentation-engine/themes.js +17 -16
  988. package/dist/safe-bash-presentation-engine/transitions.d.ts +1 -0
  989. package/dist/safe-bash-presentation-engine/transitions.js +24 -16
  990. package/dist/safe-bash-presentation-engine/validation.js +11 -10
  991. package/dist/safe-bash-presentation-engine/xml-parts.js +21 -19
  992. package/dist/safe-bash-presentation-engine/xml-view.js +4 -4
  993. package/dist/safe-bash-presentation-engine/xml.js +4 -4
  994. package/dist/safe-bash-query-engine/capture.js +5 -5
  995. package/dist/safe-bash-query-engine/dates.js +2 -2
  996. package/dist/safe-bash-query-engine/delpaths.js +5 -5
  997. package/dist/safe-bash-query-engine/formats.js +3 -3
  998. package/dist/safe-bash-query-engine/index.js +15 -15
  999. package/dist/safe-bash-query-engine/indices.js +5 -5
  1000. package/dist/safe-bash-query-engine/input.js +2 -2
  1001. package/dist/safe-bash-query-engine/interpreter.d.ts +2 -1
  1002. package/dist/safe-bash-query-engine/interpreter.js +13 -13
  1003. package/dist/safe-bash-query-engine/limits.d.ts +1 -0
  1004. package/dist/safe-bash-query-engine/limits.js +1 -1
  1005. package/dist/safe-bash-query-engine/parser.js +2 -2
  1006. package/dist/safe-bash-query-engine/query-core.js +15 -15
  1007. package/dist/safe-bash-query-engine/recurse.js +2 -2
  1008. package/dist/safe-bash-query-engine/regex.js +6 -6
  1009. package/dist/safe-bash-query-engine/split.js +2 -2
  1010. package/dist/safe-bash-query-engine/splits.js +7 -7
  1011. package/dist/safe-bash-query-engine/values.js +4 -4
  1012. package/dist/safe-bash-regex-engine/ere/matcher.d.ts +1 -1
  1013. package/dist/safe-bash-regex-engine/ere/matcher.js +18 -10
  1014. package/dist/safe-bash-regex-engine/ere/syntax.d.ts +1 -1
  1015. package/dist/safe-bash-regex-engine/ere/syntax.js +1 -1
  1016. package/dist/safe-bash-regex-engine/ere/types.d.ts +1 -0
  1017. package/dist/safe-bash-regex-engine/execution/bounded-provider.js +5 -6
  1018. package/dist/safe-bash-search-engine/ergonomic-regex.d.ts +1 -0
  1019. package/dist/safe-bash-search-engine/ergonomic-regex.js +2 -2
  1020. package/dist/safe-bash-sqlite-engine/sqlite-read-session.d.ts +17 -0
  1021. package/dist/safe-bash-sqlite-engine/storage.d.ts +1 -0
  1022. package/dist/safe-bash-sqlite-engine/storage.js +159 -89
  1023. package/dist/safe-bash-xml-engine/document.js +3 -3
  1024. package/dist/safe-bash-xml-engine/evaluate.js +1 -1
  1025. package/dist/safe-bash-xml-engine/index.js +4 -4
  1026. package/dist/safe-bash-xml-engine/json.js +14 -7
  1027. package/dist/safe-bash-xml-engine/query.js +2 -2
  1028. package/dist/safe-bash-xml-engine/recovery.d.ts +8 -2
  1029. package/dist/safe-bash-xml-engine/stored-document.d.ts +16 -2
  1030. package/dist/safe-bash-xml-engine/stored-document.js +1 -1
  1031. package/dist/safe-bash-xml-engine/stored-evaluate.js +5 -5
  1032. package/dist/safe-bash-xml-engine/stored-map.d.ts +18 -4
  1033. package/dist/safe-playwright-cloudflare/browser-provider.generated.js +11819 -11773
  1034. package/dist/safe-playwright-cloudflare/browser-run-code-guest.generated.js +1 -1
  1035. package/dist/spreadsheet-engine/formulas/functions/python-printf.js +7 -3
  1036. package/package.json +4 -3
  1037. package/dist/safe-bash/chunks/chunk-FL6XE3W4.js +0 -35
  1038. package/dist/safe-bash/command-chunks/chunk-ADVQZLLE.js +0 -260
  1039. package/dist/safe-bash/command-chunks/chunk-AEZU6NZE.js +0 -297
  1040. package/dist/safe-bash/command-chunks/chunk-BQXKO3X7.js +0 -228
  1041. package/dist/safe-bash/command-chunks/chunk-CZSLXQU2.js +0 -107
  1042. package/dist/safe-bash/command-chunks/chunk-KSM5CCHT.js +0 -1850
  1043. package/dist/safe-bash/command-chunks/chunk-R2N3E267.js +0 -144
  1044. package/dist/safe-bash/command-chunks/chunk-UPXFSGQG.js +0 -134
  1045. package/dist/safe-bash/command-chunks/chunk-WKUV62RJ.js +0 -92
  1046. package/dist/safe-bash/command-chunks/chunk-Z3PGWMSQ.js +0 -63
  1047. package/dist/safe-bash/command-chunks/paradox-4FCZE53D-LQPGVMEL.js +0 -365
  1048. package/dist/safe-bash/command-chunks/{biff-AYJZR2YV-JPESBEOO.js → biff-AYJZR2YV-YFF3BK43.js} +5 -5
  1049. package/dist/safe-bash/command-chunks/{chunk-WKU65Z3Q.js → chunk-3NJETNC2.js} +3 -3
  1050. package/dist/safe-bash/command-chunks/{chunk-WRJV7OVO.js → chunk-42OQIFPW.js} +4 -4
  1051. package/dist/safe-bash/command-chunks/{chunk-XLPEPCQC.js → chunk-45QE6QRR.js} +3 -3
  1052. package/dist/safe-bash/command-chunks/{chunk-MWVELMXZ.js → chunk-BFOVQUTF.js} +3 -3
  1053. package/dist/safe-bash/command-chunks/{chunk-ETN25WCR.js → chunk-KD4JUF6R.js} +3 -3
  1054. package/dist/safe-bash/command-chunks/{chunk-LTWX23FS.js → chunk-QQ7ORF2D.js} +3 -3
  1055. package/dist/safe-bash/command-chunks/{chunk-FPNUGKCX.js → chunk-QWHBQBPB.js} +3 -3
  1056. package/dist/safe-bash/command-chunks/{chunk-5MFRN3CB.js → chunk-R64BI5MT.js} +4 -4
  1057. package/dist/safe-bash/command-chunks/{chunk-A32ZROH5.js → chunk-SMCRKN3O.js} +3 -3
  1058. package/dist/safe-bash/command-chunks/{chunk-RXXNLH7A.js → chunk-ZSQCROFE.js} +3 -3
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Si,
3
3
  gi
4
- } from "./chunk-GPLN6JV2.js";
4
+ } from "./chunk-6PDXNY3T.js";
5
5
  import "./chunk-Z7ESJVFP.js";
6
6
  import "./chunk-WHWIZ2B7.js";
7
7
  import "./chunk-65DS4IOB.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ModelStore
3
- } from "./chunk-F42WV2YO.js";
3
+ } from "./chunk-V2J6AC6S.js";
4
4
  import "./chunk-PAY4ULWY.js";
5
- import "./chunk-EV3DPRWE.js";
6
- import "./chunk-5RDS6CNQ.js";
5
+ import "./chunk-TPSRY72Q.js";
6
+ import "./chunk-PH722HK2.js";
7
7
  import "./chunk-M42GCI5F.js";
8
8
  import "./chunk-QTC5YGNM.js";
9
9
  import "./chunk-JLPBGKVC.js";
@@ -11,21 +11,21 @@ import "./chunk-JY2T3KV2.js";
11
11
  import "./chunk-7GJJDM2F.js";
12
12
  import "./chunk-5IHJWBDR.js";
13
13
  import "./chunk-GIQUIF6E.js";
14
+ import "./chunk-ROE6KD4C.js";
14
15
  import "./chunk-K2NV6H7E.js";
15
16
  import "./chunk-DMAOMHJQ.js";
16
17
  import "./chunk-KZICRCQ7.js";
17
- import "./chunk-5GP4A3TD.js";
18
+ import "./chunk-OLNV5MI6.js";
18
19
  import "./chunk-EEJ3YXVO.js";
19
- import "./chunk-ROE6KD4C.js";
20
20
  import "./chunk-CP5EO5TT.js";
21
21
  import "./chunk-MPRUGL4W.js";
22
22
  import "./chunk-DZ4ELL34.js";
23
- import "./chunk-UIX3CASN.js";
24
23
  import "./chunk-LUJUYUOG.js";
24
+ import "./chunk-UIX3CASN.js";
25
25
  import "./chunk-VSTAHYCV.js";
26
- import "./chunk-LTWX23FS.js";
27
- import "./chunk-NPVOYY2A.js";
26
+ import "./chunk-QQ7ORF2D.js";
28
27
  import "./chunk-TBAH4XGI.js";
28
+ import "./chunk-NPVOYY2A.js";
29
29
  import "./chunk-FILE5PBI.js";
30
30
  import "./chunk-C5VUJOUQ.js";
31
31
  import "./chunk-JGGRMERW.js";
@@ -35,8 +35,8 @@ import "./chunk-QMWBKR4C.js";
35
35
  import "./chunk-2TMTGVJR.js";
36
36
  import "./chunk-WI4522BH.js";
37
37
  import "./chunk-WLANDWNW.js";
38
- import "./chunk-M57GLLK4.js";
39
38
  import "./chunk-DQ6XGWDH.js";
39
+ import "./chunk-M57GLLK4.js";
40
40
  import "./chunk-EBTKM7KX.js";
41
41
  import "./chunk-JWO7BP4K.js";
42
42
  import "./chunk-AW2RHM4G.js";
@@ -0,0 +1,370 @@
1
+ import {
2
+ o,
3
+ t
4
+ } from "./chunk-5CKHD2EV.js";
5
+ import {
6
+ p
7
+ } from "./chunk-4XWFUW5L.js";
8
+ import {
9
+ a
10
+ } from "./chunk-Y4RGZJIG.js";
11
+ import {
12
+ e
13
+ } from "./chunk-SB3DHPKZ.js";
14
+ import "./chunk-WHWIZ2B7.js";
15
+ import "./chunk-65DS4IOB.js";
16
+
17
+ // packages/safe-bash-command-ssconvert/dist/chunks/paradox-BHPRIGXX.js
18
+ import { databaseDate as ve, databaseInput as X, databaseNumber as H, databaseNumeric as ae, databaseText as oe } from "../../spreadsheet-engine/codecs/database-support.js";
19
+ import { encodeText as Z } from "../../spreadsheet-engine/encoding/encode.js";
20
+ var ee = Uint8Array.from([178, 165, 12, 221, 56, 254, 203, 91, 12, 35, 236, 106, 149, 62, 213, 45, 44, 247, 45, 48, 234, 21, 152, 180, 95, 130, 211, 175, 244, 76, 132, 22, 116, 23, 5, 17, 172, 219, 67, 145, 156, 119, 160, 56, 190, 214, 143, 37, 177, 238, 109, 128, 55, 20, 169, 122, 87, 56, 108, 47, 166, 79, 124, 56, 113, 212, 11, 81, 246, 185, 69, 33, 29, 108, 77, 135, 110, 167, 231, 33, 13, 133, 244, 206, 58, 129, 106, 62, 215, 50, 164, 35, 172, 233, 1, 145, 176, 237, 199, 70, 18, 172, 21, 61, 255, 27, 123, 59, 186, 238, 44, 44, 104, 166, 98, 96, 237, 91, 132, 51, 97, 98, 57, 121, 212, 210, 235, 96, 184, 37, 29, 219, 255, 58, 33, 154, 176, 195, 247, 99, 82, 245, 34, 148, 249, 180, 183, 190, 159, 84, 59, 206, 225, 60, 115, 203, 234, 45, 69, 0, 157, 194, 120, 231, 150, 15, 20, 58, 164, 220, 1, 100, 141, 214, 89, 78, 57, 15, 21, 125, 240, 140, 138, 197, 120, 3, 74, 232, 251, 239, 24, 180, 82, 49, 121, 208, 142, 170, 195, 198, 206, 237, 233, 66, 90, 214, 45, 6, 199, 154, 177, 56, 98, 217, 126, 97, 116, 210, 70, 222, 203, 43, 12, 89, 11, 100, 157, 28, 79, 178, 6, 145, 155, 99, 181, 178, 169, 253, 173, 90, 56, 249, 19, 110, 157, 45, 75, 2, 249, 19, 111, 80, 203, 33, 9, 250]);
21
+ var de = Uint8Array.from([97, 167, 121, 2, 55, 52, 111, 129, 1, 194, 178, 179, 214, 77, 62, 3, 6, 96, 152, 68, 70, 104, 28, 235, 16, 74, 91, 174, 34, 72, 36, 66, 159, 85, 144, 193, 125, 47, 108, 65, 78, 130, 86, 216, 30, 50, 40, 198, 237, 188, 60, 58, 233, 135, 59, 143, 134, 8, 163, 251, 164, 98, 153, 255, 89, 185, 222, 45, 88, 147, 27, 177, 118, 43, 170, 217, 42, 172, 202, 249, 224, 183, 5, 17, 119, 169, 142, 239, 181, 187, 38, 234, 141, 24, 155, 254, 199, 248, 90, 131, 253, 46, 107, 132, 51, 250, 105, 212, 116, 191, 203, 196, 25, 150, 63, 229, 37, 242, 165, 213, 149, 243, 160, 57, 220, 228, 161, 127, 123, 73, 122, 241, 238, 247, 117, 9, 145, 103, 151, 56, 211, 137, 71, 49, 31, 44, 14, 206, 32, 204, 156, 35, 23, 146, 15, 244, 19, 100, 113, 200, 205, 61, 180, 207, 225, 80, 82, 175, 109, 39, 182, 148, 48, 4, 140, 83, 75, 210, 79, 33, 41, 106, 26, 236, 92, 126, 81, 154, 13, 133, 230, 29, 197, 136, 168, 221, 158, 246, 95, 218, 189, 110, 157, 84, 219, 94, 192, 128, 93, 184, 64, 99, 21, 18, 162, 12, 7, 173, 112, 20, 114, 22, 208, 166, 101, 53, 186, 231, 171, 252, 195, 201, 190, 11, 176, 245, 69, 226, 76, 115, 10, 54, 120, 67, 139, 138, 240, 102, 209, 0, 223, 124, 227, 232, 87, 215]);
22
+ var G = Uint8Array.from([249, 8, 3, 15, 173, 82, 16, 216, 57, 135, 240, 233, 215, 188, 146, 154, 24, 83, 213, 156, 219, 212, 221, 152, 93, 112, 182, 70, 22, 191, 44, 144, 148, 179, 28, 151, 30, 116, 90, 169, 46, 180, 76, 73, 145, 67, 101, 37, 172, 143, 45, 104, 5, 225, 241, 4, 139, 123, 51, 54, 50, 161, 14, 114, 210, 39, 31, 243, 19, 236, 20, 142, 29, 129, 25, 176, 238, 13, 40, 178, 165, 186, 166, 175, 203, 33, 42, 254, 68, 64, 98, 26, 184, 208, 205, 198, 17, 0, 61, 211, 157, 224, 247, 137, 21, 106, 181, 102, 38, 168, 201, 6, 218, 158, 220, 239, 108, 134, 72, 84, 242, 2, 130, 128, 251, 36, 185, 127, 207, 7, 41, 99, 103, 189, 56, 53, 193, 141, 245, 244, 174, 92, 86, 55, 34, 136, 153, 69, 171, 120, 113, 138, 18, 62, 187, 94, 150, 202, 196, 32, 122, 126, 214, 58, 60, 118, 223, 1, 194, 85, 74, 228, 77, 217, 27, 167, 234, 71, 10, 11, 162, 88, 170, 81, 209, 65, 226, 89, 49, 200, 232, 109, 206, 35, 9, 230, 111, 192, 47, 96, 159, 231, 78, 110, 149, 160, 147, 163, 222, 248, 177, 140, 107, 119, 12, 255, 43, 75, 199, 204, 124, 195, 66, 250, 80, 164, 237, 252, 125, 115, 190, 227, 253, 52, 91, 23, 183, 48, 132, 87, 246, 131, 117, 121, 155, 235, 197, 133, 97, 79, 105, 59, 229, 100, 95, 63]);
23
+ async function se(e2, t2, r, h, i) {
24
+ i.signal.throwIfAborted();
25
+ let d = e2.length - t2;
26
+ if (d < 0 || d % r) throw new e("io", "Truncated encrypted Paradox block");
27
+ if (e2.length + d > (i.limits.workbookWork ?? i.limits.inputBytes * 8)) throw new e("resource-limit", "ssconvert Paradox decryption work limit exceeded");
28
+ let s;
29
+ i.own(() => {
30
+ s?.fill(0), s = void 0;
31
+ });
32
+ let c = s = new Uint8Array(e2);
33
+ try {
34
+ let k = 0;
35
+ for (let a2 = t2, m = 1; a2 < e2.length; a2 += r, m++) for (let v = 0; v < r / 256; v++) {
36
+ i.signal.throwIfAborted();
37
+ let N = a2 + v * 256;
38
+ for (let $ = 0; $ < 256; $++) {
39
+ let S = G[$] - m & 255;
40
+ c[N + $] = e2[N + S] ^ ee[$ + h & 255] ^ de[S + (h >>> 8) & 255] ^ G[S + v & 255];
41
+ }
42
+ ++k % 128 === 0 && (await new Promise(($) => setTimeout($, 0)), i.signal.throwIfAborted());
43
+ }
44
+ return c;
45
+ } catch (k) {
46
+ throw c.fill(0), k;
47
+ }
48
+ }
49
+ function _(e2, t2, r, h, i, d) {
50
+ for (let s = 0; s < 256; s++) {
51
+ let c = G[s] - d & 255;
52
+ t2[c] = e2[s] ^ ee[s + r & 255] ^ de[c + h & 255] ^ G[c + i & 255];
53
+ }
54
+ e2.set(t2);
55
+ }
56
+ async function ce(e2, t2) {
57
+ t2.signal.throwIfAborted();
58
+ let r = new DataView(e2.buffer, e2.byteOffset, e2.byteLength);
59
+ if (e2.length < 120) throw new TypeError("Invalid Paradox encryption layout");
60
+ let h = r.getUint16(2, true), i = e2[5] * 1024, d = e2.length - h;
61
+ if (h < 120 || d < 0 || !i || d % i) throw new TypeError("Invalid Paradox encryption layout");
62
+ if (1536 + e2.length + d > (t2.limits.workbookWork ?? t2.limits.inputBytes * 8)) throw new e("resource-limit", "ssconvert Paradox encryption work limit exceeded");
63
+ function s(N) {
64
+ throw new e("unsupported-feature", `Unsupported ssconvert feature: encrypted Paradox ${N}`);
65
+ }
66
+ t2.password || s("export requires a password capability");
67
+ let c;
68
+ try {
69
+ c = await t2.password.read(Object.freeze({ purpose: "encrypt", format: "paradox", algorithm: "paradox", revision: 12, encoding: "bytes", maxBytes: 256, signal: t2.signal, ...t2.outputFilename === void 0 ? {} : { outputFilename: t2.outputFilename } }));
70
+ } catch {
71
+ t2.signal.throwIfAborted(), s("password acquisition failed");
72
+ }
73
+ t2.signal.throwIfAborted(), c === void 0 && s("password required"), (!(c instanceof Uint8Array) || !c.length || c.length > 256 || c[0] === 0) && s("password encoding or length");
74
+ let k = new Uint8Array(c), a2 = new Uint8Array(256), m = new Uint8Array(256), v = 0;
75
+ try {
76
+ let N = k.indexOf(0), $ = N < 0 ? k.length : N;
77
+ for (let l = 0; l < 256; l++) a2[l] = k[l % $];
78
+ _(a2, m, a2[0], a2[1], a2[2], a2[3]);
79
+ let S = a2[0] | a2[1] << 8;
80
+ a2.set(k.subarray(0, $));
81
+ for (let l = $; l < 256; l++) a2[l] = ee[a2[l - $]] ^ l;
82
+ _(a2, m, a2[0], a2[20], a2[40], a2[255]);
83
+ let L = 0, V = 0;
84
+ for (let l = 0; l < 256; l += 2) L ^= a2[l], V ^= a2[l + 1];
85
+ v = ((V << 8 | L || 1) << 16 | S) >>> 0, k.fill(0), a2.fill(0);
86
+ let T = 0;
87
+ for (let l = h, j = 1; l < e2.length; l += i, j++) for (let b = 0; b < i / 256; b++) {
88
+ t2.signal.throwIfAborted();
89
+ let A = l + b * 256;
90
+ _(e2.subarray(A, A + 256), m, v & 255, v >>> 8 & 255, b, j), ++T % 128 === 0 && (await new Promise((I) => setTimeout(I, 0)), t2.signal.throwIfAborted());
91
+ }
92
+ t2.signal.throwIfAborted(), r.setUint32(92, v, true);
93
+ } finally {
94
+ k.fill(0), a2.fill(0), m.fill(0), v = 0;
95
+ }
96
+ }
97
+ var be = "?ADSI$N??L??MBFOG???T@+#Y";
98
+ var pe = { S: [3, 2], I: [4, 4], A: [1, 0], C: [1, 0], N: [6, 8], $: [5, 8], L: [9, 1], D: [2, 4], "+": [22, 4], "@": [21, 8], T: [20, 4], "#": [23, 17], M: [12, 0], B: [13, 0], F: [14, 0], Y: [24, 0] };
99
+ var te = [0, 2, 3, 5, 6, 8];
100
+ function he(e2) {
101
+ let t2 = 0;
102
+ for (; t2 < e2.length && `
103
+ \r\v\f`.includes(e2[t2]); ) t2++;
104
+ let r = t2;
105
+ return (e2[t2] === "+" || e2[t2] === "-") && t2++, !e2[t2] || !"0123456789".includes(e2[t2]) ? 0 : Number.parseInt(e2.slice(r), 10) || 0;
106
+ }
107
+ function fe(e2) {
108
+ if (e2.every((h) => h === 0)) return;
109
+ let t2 = new Uint8Array(e2);
110
+ t2[0] = t2[0] ^ 128;
111
+ let r = new DataView(t2.buffer);
112
+ return t2.length === 1 ? r.getInt8(0) : t2.length === 2 ? r.getInt16(0) : r.getInt32(0);
113
+ }
114
+ function we(e2) {
115
+ if (e2.every((r) => r === 0)) return;
116
+ let t2 = new Uint8Array(e2);
117
+ if (t2[0] & 128) t2[0] = t2[0] & 127;
118
+ else for (let r = 0; r < 8; r++) t2[r] = t2[r] ^ 255;
119
+ return new DataView(t2.buffer).getFloat64(0);
120
+ }
121
+ function ge(e2, t2) {
122
+ if (!e2[0] || (e2[0] & 63) !== t2) return;
123
+ let r = !(e2[0] & 128), h = [];
124
+ for (let d = 2; d < 34; d++) h.push(String.fromCharCode(48 + ((d % 2 ? e2[d >> 1] & 15 : e2[d >> 1] >> 4) ^ (r ? 15 : 0))));
125
+ let i = h.slice(0, 32 - t2).join("");
126
+ for (; i.length > 1 && i[0] === "0"; ) i = i.slice(1);
127
+ return `${r ? "-" : ""}${i || "0"}.${h.slice(32 - t2).join("")}`;
128
+ }
129
+ async function Ee(e2, t2) {
130
+ let r = X(e2, t2), h = [], i = r.view;
131
+ async function d(w) {
132
+ await t2.diagnostic?.({ code: "paradox", severity: "warning", message: w });
133
+ }
134
+ async function s(w) {
135
+ throw await d(w), await d("Unable to get header."), new e("io", "E Error while opening Paradox file.");
136
+ }
137
+ if (e2.length < 88) return s("Could not read header from paradox file.");
138
+ let c = e2[4], k = e2[5], a2 = e2[57];
139
+ if (c > 8) return s(`Paradox file has unknown file type (${c}).`);
140
+ if (k < 1 || k > 32) return s(`Paradox file has unknown table size (${k}).`);
141
+ if (a2 < 3 || a2 > 15) return s(`Paradox file has unknown file version (0x${a2.toString(16).toUpperCase()}).`);
142
+ let m = i.getUint16(0, true), v = i.getUint16(2, true), N = i.getUint32(6, true);
143
+ if (!m) return s("Paradox file has zero record size.");
144
+ if (!v) return s("Paradox file has zero header size.");
145
+ let $ = i.getUint16(33, true), S = i.getUint16(12, true), L = k * 1024, V = te.includes(c) && a2 >= 5 && a2 <= 12, T = V ? 120 : 88;
146
+ if (v > e2.length || T + $ * 2 + 4 > v) return s("Could not read header from paradox file.");
147
+ let l = i.getUint32(37, true);
148
+ if (l === 4278255360) {
149
+ if (!V) return s("Paradox encryption header is missing.");
150
+ l = i.getUint32(92, true);
151
+ }
152
+ l && (e2 = await se(e2, v, L, l, t2), i = new DataView(e2.buffer, e2.byteOffset, e2.byteLength));
153
+ let j = V ? i.getUint16(106, true) : 0, b = [];
154
+ for (let w = 0; w < $; w++, T += 2) {
155
+ await r.tick();
156
+ let u = e2[T], n = e2[T + 1];
157
+ b.push({ type: u, length: u === 23 ? 17 : n, precision: u === 23 ? n : 0, name: "" });
158
+ }
159
+ T += 4 + (te.includes(c) ? $ * 4 : 0);
160
+ let A = a2 === 12 ? 261 : 79;
161
+ if (T + A > v) return s("Could not read header from paradox file.");
162
+ let I = e2.subarray(T, T + A), Y = I.indexOf(0), x = new TextDecoder().decode(I.subarray(0, Y < 0 ? I.length : Y)) || "Sheet1";
163
+ T += A;
164
+ for (let [w, u] of b.entries()) {
165
+ let n = T;
166
+ for (; n < v && n - T < 299 && e2[n] !== 0; ) n++;
167
+ if (n >= v) return s("Could not read header from paradox file.");
168
+ u.name = new TextDecoder().decode(e2.subarray(T, n)), T = n + 1;
169
+ let B = `${u.name},${be[u.type] ?? "?"},${u.type === 23 ? u.precision : u.length}`, C = o(new TextDecoder().decode(new TextEncoder().encode(B).subarray(0, 29)), 0, w, t2);
170
+ r.add(h, 0, w, C.value, { ...C, style: { ...C.style, bold: true } });
171
+ }
172
+ if (b.reduce((w, u) => w + u.length, 0) + (c === 1 ? 6 : 0) > m || m > L - 6) return s("Could not read record from paradox file.");
173
+ if (te.includes(c)) {
174
+ let w = i.getUint16(14, true), u = 0;
175
+ for (let n = 0; n < S && w; n++) {
176
+ await r.tick();
177
+ let B = v + (w - 1) * L;
178
+ if (B + 6 > e2.length) break;
179
+ u += Math.floor(i.getUint16(B + 4, true) / m) + 1, w = i.getUint16(B, true);
180
+ }
181
+ u !== N && await d(`Number of records counted in blocks does not match number of records in header (${u} != ${N})`);
182
+ }
183
+ j === 0 && await d("Target encoding could not be set.");
184
+ let F = i.getUint16(14, true), O = 1, q = /* @__PURE__ */ new Set();
185
+ for (let w = 0; w < S && F && O <= N; w++) {
186
+ if (await r.tick(), q.has(F) || F > S) {
187
+ await d(`Could not get head of data block nr. ${F}.`);
188
+ break;
189
+ }
190
+ q.add(F);
191
+ let u = v + (F - 1) * L;
192
+ if (u + 6 > e2.length) {
193
+ await d(`Could not get head of data block nr. ${F}.`);
194
+ break;
195
+ }
196
+ let n = i.getUint16(u + 4, true), B = i.getUint16(u, true);
197
+ if (c !== 1 || n + m <= L - 6) for (let C = 0; C <= n && O <= N; C += m, O++) {
198
+ await r.tick();
199
+ let y = u + 6 + C;
200
+ if (y + m > e2.length || y + m > u + L) {
201
+ await d(`Could not read record ${O - 1}.`);
202
+ break;
203
+ }
204
+ let z = y;
205
+ for (let [P, g] of b.entries()) {
206
+ await r.tick();
207
+ let o2 = e2.subarray(z, z + g.length);
208
+ z += g.length;
209
+ let p2, f;
210
+ if (g.type === 1 && o2[0]) try {
211
+ p2 = { kind: "string", value: oe(o2, j) };
212
+ } catch (U) {
213
+ if (!(U instanceof RangeError)) throw U;
214
+ }
215
+ else if ([2, 3, 4, 9, 20, 22].includes(g.type)) {
216
+ let U = g.type === 9 ? 1 : g.type === 3 ? 2 : 4;
217
+ if (o2.length < U) {
218
+ await d("Could not read record from paradox file.");
219
+ continue;
220
+ }
221
+ let M = fe(o2.subarray(0, U));
222
+ if (M !== void 0) if (g.type === 9) p2 = { kind: "boolean", value: M !== 0 };
223
+ else if (g.type === 20) p2 = H(M / 864e5), f = "h:mm:ss";
224
+ else if (g.type === 2) {
225
+ let W = M - 693594;
226
+ p2 = H(W <= 60 ? W - 1 : W), f = "m/d/yy";
227
+ } else p2 = H(M);
228
+ } else if ([5, 6, 21].includes(g.type)) {
229
+ if (o2.length < 8) {
230
+ await d("Could not read record from paradox file.");
231
+ continue;
232
+ }
233
+ let U = we(o2.subarray(0, 8));
234
+ U !== void 0 && (p2 = H(g.type === 21 ? U / 864e5 - 693594 : U), f = g.type === 5 ? "$#,##0.00" : g.type === 21 ? "m/d/yy h:mm" : void 0);
235
+ } else if (g.type === 23) {
236
+ let U = ge(o2, g.precision);
237
+ U !== void 0 && (p2 = { kind: "string", value: U });
238
+ } else if (g.type === 12) {
239
+ if (o2.length < 10) {
240
+ await d("Could not read record from paradox file.");
241
+ continue;
242
+ }
243
+ let U = new DataView(o2.buffer, o2.byteOffset, o2.length).getUint32(o2.length - 6, true);
244
+ if (U && U <= o2.length - 10) {
245
+ let M = o2.subarray(0, U), W = M.indexOf(0);
246
+ p2 = { kind: "string", value: new TextDecoder("utf-8", { ignoreBOM: true }).decode(W < 0 ? M : M.subarray(0, W)) };
247
+ } else U && await d("Blob data is not contained in record and a blob file is not set.");
248
+ } else g.type !== 1 && (p2 = { kind: "string", value: `Field type ${g.type} is not supported.` });
249
+ O < 65536 && P < 256 && r.add(h, O, P, p2, f ? { format: f } : {});
250
+ }
251
+ if (c === 1 && O < 65536) {
252
+ for (let P = 0; P < 3; P++) {
253
+ let g = fe(e2.subarray(z + 2 * P, z + 2 * P + 2));
254
+ r.add(h, O, $ + P, g === void 0 ? void 0 : H(g));
255
+ }
256
+ r.add(h, O, $ + 3, H(F));
257
+ }
258
+ }
259
+ F = B;
260
+ }
261
+ return { sheets: [{ id: x, name: x, size: { columns: 256, rows: 65536 }, cells: h }], activeSheet: x };
262
+ }
263
+ async function Se(e2, t2, r) {
264
+ r.signal.throwIfAborted();
265
+ let h = false;
266
+ for (let d of t2) for (let [s, c] of p(d)) if (s === "encryption") {
267
+ if (c !== "paradox") throw new e("invalid-request", "Invalid Paradox encryption profile");
268
+ h = true;
269
+ }
270
+ let i = await me(e2, r);
271
+ if (h) try {
272
+ if (!i.length) throw new e("invalid-request", "Invalid Paradox schema for encrypted export");
273
+ await ce(i, r);
274
+ } catch (d) {
275
+ throw i.fill(0), d;
276
+ }
277
+ return i;
278
+ }
279
+ async function me(e2, t2) {
280
+ let r = t(e2), h = X(new Uint8Array(), t2), i = /* @__PURE__ */ new Map(), d = 0, s = 0, c = 1 / 0;
281
+ async function k(x) {
282
+ await t2.diagnostic?.({ code: "paradox", severity: "warning", message: x });
283
+ }
284
+ for (let x of r.cells) await h.tick(), i.set(`${x.row}:${x.column}`, x), (x.cachedResult ?? x.value).kind !== "blank" && (d = Math.max(d, x.row), s = Math.max(s, x.column), c = Math.min(c, x.row));
285
+ let a2 = [];
286
+ if (s >= t2.limits.cells) throw new e("resource-limit", "ssconvert database cells limit exceeded");
287
+ for (let x = 0; x <= s; x++) {
288
+ await h.tick();
289
+ let D = i.get(`0:${x}`);
290
+ if (!D || (D.cachedResult ?? D.value).kind === "blank") throw new e("io", "E First line of sheet must contain database specification.");
291
+ let F = await a(D, e2, t2, "preserve"), O = F.indexOf("\0"), q = O < 0 ? F : F.slice(0, O), w = q.indexOf(",");
292
+ if (w < 0) return await k("Field specification must be a comma separated value (Name,Type,Size,Prec)."), new Uint8Array();
293
+ let u = q.slice(w + 1), n = u[0];
294
+ if (!n || n === ",") return await k(`${x}. field specification ${n === "," ? "misses type" : "ended unexpectedly"}.`), new Uint8Array();
295
+ let B = pe[n];
296
+ if (!B) return await k(`${x}. field type '${n}' is unknown.`), new Uint8Array();
297
+ let [C, y] = B, z = y, P = 0;
298
+ if (!y || C === 23) {
299
+ let g = u.indexOf(","), o2 = g < 0 ? "" : u.slice(g + 1), p2 = parseInt(o2, 10);
300
+ if (!Number.isFinite(p2)) return await k("Field specification misses the column size."), new Uint8Array();
301
+ let f = 0;
302
+ for (; f < o2.length && ` \r
303
+ `.includes(o2[f]); ) f++;
304
+ for ((o2[f] === "+" || o2[f] === "-") && f++; f < o2.length && "0123456789".includes(o2[f]); ) f++;
305
+ f < o2.length && await k(`The remainder '${o2.slice(f + 1)}' of the specification for field ${x + 1} is being disregarded.`), C === 23 ? P = p2 : z = p2;
306
+ }
307
+ if (z < 1 || z > 255 || P < 0 || P > 32 || [12, 13, 14].includes(C) && z < 10) throw new e("unsupported-feature", "Unsupported ssconvert feature: invalid Paradox field dimensions");
308
+ a2.push({ name: q.slice(0, w), type: C, length: z, precision: P });
309
+ }
310
+ let m = a2.reduce((x, D) => x + D.length, 0), v = m < 80 ? 2 : m < 140 ? 3 : 16;
311
+ if (m > v * 1024 - 6) throw new e("unsupported-feature", "Unsupported ssconvert feature: Paradox record exceeds block size");
312
+ let N = a2.map((x) => Z(x.name + "\0", "UTF-8", false, t2)), $ = 120 + a2.length * 10 + 269 + N.reduce((x, D) => x + D.length, 0) + 8, S = (Math.floor($ / 2048) + 1) * 2048, L = v * 1024, V = Math.floor((L - 6) / m), T = Math.max(0, d - (c === 1 / 0 ? 0 : c)), l = Math.ceil(T / V), j = S + l * L;
313
+ if (l > 65535 || S > 65535 || m > 65535 || j > t2.limits.outputBytes) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
314
+ let b = new Uint8Array(j), A = new DataView(b.buffer);
315
+ A.setUint16(0, m, true), A.setUint16(2, S, true), b[4] = 2, b[5] = v, A.setUint32(6, T, true);
316
+ for (let x of [10, 12, 16, 58]) A.setUint16(x, l, true);
317
+ A.setUint16(14, l ? 1 : 0, true), A.setUint16(33, a2.length, true), A.setUint32(37, 4278255360, true), b[45] = 2, b[46] = 1, b[57] = 12, b[62] = 31, b[63] = 15, b[86] = 32, A.setUint16(88, 268, true), A.setUint16(90, 268, true), A.setUint32(96, Math.floor((t2.clock?.now() ?? 0) / 1e3), true), A.setUint16(100, a2.length + 1, true), A.setUint16(106, 1252, true), b[108] = 1, b[109] = 1;
318
+ let I = 120;
319
+ for (let x of a2) b[I++] = x.type, b[I++] = x.type === 23 ? x.precision : x.length;
320
+ I += 4 + a2.length * 4;
321
+ let Y = r.name.indexOf("\0");
322
+ b.set(new TextEncoder().encode(Y < 0 ? r.name : r.name.slice(0, Y)).subarray(0, 260), I), I += 261;
323
+ for (let x of N) b.set(x, I), I += x.length;
324
+ for (let x = 0; x < a2.length; x++) A.setUint16(I, x + 1, true), I += 2;
325
+ b.set(new TextEncoder().encode("ANSIINTL"), I), I += 9, A.setUint16(81, I, true);
326
+ for (let x = 0; x < l; x++) {
327
+ let D = S + x * L, F = Math.min(V, T - x * V);
328
+ A.setUint16(D, x + 1 < l ? x + 2 : 0, true), A.setUint16(D + 2, x, true), A.setInt16(D + 4, (F - 1) * m, true);
329
+ for (let O = 0; O < F; O++) {
330
+ let q = (c === 1 / 0 ? 0 : c) + 1 + x * V + O, w = D + 6 + O * m;
331
+ for (let [u, n] of a2.entries()) {
332
+ await h.tick();
333
+ let B = i.get(`${q}:${u}`), C = B?.cachedResult ?? B?.value, y = b.subarray(w, w + n.length), z = new DataView(y.buffer, y.byteOffset, y.length);
334
+ if (w += n.length, !C || C.kind === "blank") continue;
335
+ let P = await a(B, e2, t2, "preserve"), g = [2, 3, 4, 22].includes(n.type), o2 = C.kind === "number" ? C.value : C.kind === "boolean" ? Number(C.value) : C.kind === "string" ? g ? he(C.value) : ae(C.value) : 0;
336
+ if ([2, 3, 4, 9, 20, 22].includes(n.type)) n.type === 2 && (o2 = Math.trunc(o2), o2 += (o2 < 60 ? 1 : 0) + 693594), n.type === 20 && (o2 = Math.trunc((o2 - Math.trunc(o2)) * 864e5)), n.type === 9 ? z.setInt8(0, C.kind === "string" ? +(C.value.toLowerCase() === "true") : +(o2 !== 0)) : n.type === 3 ? z.setInt16(0, Math.trunc(o2)) : z.setInt32(0, Math.trunc(o2)), y[0] = y[0] ^ 128;
337
+ else if ([5, 6, 21].includes(n.type)) if (n.type === 21 && (o2 = (o2 + (o2 < 60 ? 1 : 0) + 693594) * 864e5), z.setFloat64(0, o2), o2 >= 0) y[0] = y[0] | 128;
338
+ else for (let p2 = 0; p2 < 8; p2++) y[p2] = y[p2] ^ 255;
339
+ else if (n.type === 1) {
340
+ let p2 = P.indexOf("\0"), f = p2 < 0 ? P : P.slice(0, p2), U = new TextEncoder().encode(f).length;
341
+ U > n.length && await k(`Field ${u + 1} in line ${q + 1} has possibly been cut off. Data has ${U} ${U === 1 ? "character" : "characters"}.`);
342
+ try {
343
+ let M = Z(f, "CP1252", false, t2);
344
+ M.length <= n.length + 1 && y.set(M.subarray(0, n.length));
345
+ } catch (M) {
346
+ if (!(M instanceof e) || M.code === "resource-limit") throw M;
347
+ }
348
+ } else if (n.type === 23) {
349
+ let p2 = P.indexOf("\0"), f = p2 < 0 ? P : P.slice(0, p2), U = f.startsWith("-"), M = U ? 15 : 0, W = f.indexOf(".");
350
+ y.fill(U ? 255 : 0), y[0] = (U ? 64 : 192) + n.precision;
351
+ let le = W < 0 ? f.slice(0, n.precision) : f.slice(0, W), J = "";
352
+ if (W >= 0) for (let R = W + 1; R < f.length && J.length < n.precision; R++) "0123456789".includes(f[R]) && (J += f[R]);
353
+ let ue = (n.precision === 32 ? "" : le.split("").filter((R) => "0123456789".includes(R)).join("").padStart(32 - n.precision, "0").slice(-(32 - n.precision))) + J.padEnd(n.precision, "0").slice(0, n.precision);
354
+ for (let R = 0; R < 32; R++) {
355
+ let xe = (Number(ue[R]) || 0) ^ M, K = R + 2 >> 1;
356
+ y[K] = R % 2 ? y[K] & 240 | xe : y[K] & 15 | xe << 4;
357
+ }
358
+ } else if (n.type === 12 || n.type === 14) {
359
+ let p2 = P.indexOf("\0"), f = new TextEncoder().encode(p2 < 0 ? P : P.slice(0, p2));
360
+ f.length > y.length - 10 ? (await k("Paradox database has no blob file."), await k(`Field ${u + 1} in row ${q + 1} could not be written.`)) : (y.set(f), z.setUint32(y.length - 6, f.length, true));
361
+ }
362
+ }
363
+ }
364
+ }
365
+ return b;
366
+ }
367
+ export {
368
+ Ee as readParadox,
369
+ Se as writeParadox
370
+ };
@@ -0,0 +1,171 @@
1
+ import {
2
+ EmptyJsonDocumentError,
3
+ indentLlmText,
4
+ withEmbeddingJsonDocument
5
+ } from "./chunk-I7MEH76L.js";
6
+ import {
7
+ pythonRepr
8
+ } from "./chunk-MCUDSE4H.js";
9
+ import {
10
+ createLlmSpool,
11
+ floatText
12
+ } from "./chunk-BZLLQWRK.js";
13
+ import "./chunk-3PO534WJ.js";
14
+ import {
15
+ attachmentDigestHex,
16
+ getLlmAttachmentUrlId
17
+ } from "./chunk-B74LVFAN.js";
18
+ import "./chunk-GQV5RWMN.js";
19
+ import "./chunk-B6NAEWHC.js";
20
+ import "./chunk-QX3WKBLI.js";
21
+ import "./chunk-65DS4IOB.js";
22
+
23
+ // packages/safe-bash-command-llm/src/prompt-tool-debug.ts
24
+ import { yieldTurn as yieldTurn2 } from "../../safe-bash-contracts/yield.js";
25
+ import { JqError, JqLimitError } from "../../safe-bash-query-engine/limits.js";
26
+ import { sha256 } from "../../safe-bash-checksum-engine/sha256.js";
27
+
28
+ // packages/safe-bash-command-llm/src/json-document-output.ts
29
+ import { yieldTurn } from "../../safe-bash-contracts/yield.js";
30
+ async function* prettyJsonDocument(document, signal) {
31
+ const escape = (point) => {
32
+ if (point < 127) return JSON.stringify(String.fromCodePoint(point)).slice(1, -1);
33
+ if (point <= 65535) return "\\u" + point.toString(16).padStart(4, "0");
34
+ const value = point - 65536;
35
+ return "\\u" + (55296 + (value >>> 10)).toString(16) + "\\u" + (56320 + (value & 1023)).toString(16);
36
+ };
37
+ async function* node(value, depth) {
38
+ signal.throwIfAborted();
39
+ if (value.type === "string") {
40
+ yield '"';
41
+ for await (const points of document.points(value)) for (const point of points) yield escape(point);
42
+ yield '"';
43
+ return;
44
+ }
45
+ if (value.type === "null") {
46
+ yield "null";
47
+ return;
48
+ }
49
+ if (value.type === "boolean") {
50
+ yield value.token;
51
+ return;
52
+ }
53
+ if (value.type === "number") {
54
+ const token = value.token;
55
+ if (token === "NaN" || token.endsWith("Infinity")) yield token;
56
+ else if (!token.includes(".") && !token.includes("e") && !token.includes("E")) yield BigInt(token).toString();
57
+ else {
58
+ const number = Number(token);
59
+ yield Number.isFinite(number) ? floatText(number) : number < 0 ? "-Infinity" : "Infinity";
60
+ }
61
+ return;
62
+ }
63
+ const object = value.type === "object";
64
+ yield object ? "{" : "[";
65
+ let child = await document.child(value.id), count = 0;
66
+ while (child) {
67
+ yield (count++ ? ",\n" : "\n") + " ".repeat(depth + 1);
68
+ if (object) {
69
+ yield '"';
70
+ for (const point of child.keyPoints ?? Array.from(String(child.key), (char) => char.codePointAt(0))) yield escape(point);
71
+ yield '": ';
72
+ }
73
+ yield* node(child.node, depth + 1);
74
+ child = await document.child(value.id, child.position);
75
+ }
76
+ if (count) yield "\n" + " ".repeat(depth);
77
+ yield object ? "}" : "]";
78
+ }
79
+ const encoder = new TextEncoder();
80
+ let chunk = "", steps = 0;
81
+ for await (const part of node(document.root, 0)) {
82
+ if (++steps % 256 === 0) await yieldTurn(signal);
83
+ chunk += part;
84
+ while (chunk.length >= 4096) {
85
+ yield encoder.encode(chunk.slice(0, 4096));
86
+ chunk = chunk.slice(4096);
87
+ }
88
+ }
89
+ if (chunk) yield encoder.encode(chunk);
90
+ }
91
+
92
+ // packages/safe-bash-command-llm/src/prompt-tool-debug.ts
93
+ async function debugToolResult(options) {
94
+ const { context, result, write } = options, { signal } = context;
95
+ if (!result.executed) return;
96
+ const encoder = new TextEncoder();
97
+ const emit = async (text, sink = write) => {
98
+ for (let offset = 0; offset < text.length; ) {
99
+ await yieldTurn2(signal);
100
+ let end = Math.min(text.length, offset + 4096);
101
+ const last = text.charCodeAt(end - 1);
102
+ if (end < text.length && last >= 55296 && last <= 56319) end--;
103
+ await sink(encoder.encode(text.slice(offset, end)));
104
+ offset = end;
105
+ }
106
+ };
107
+ await emit("\nTool call: ");
108
+ await emit(result.call.name);
109
+ await emit("(");
110
+ for await (const bytes of pythonRepr(result.call.arguments, signal)) await write(bytes);
111
+ await write(encoder.encode(")\n"));
112
+ const body = await createLlmSpool(context.fs, context.cwd, signal);
113
+ try {
114
+ let parsed = false;
115
+ try {
116
+ await withEmbeddingJsonDocument({ fs: context.fs, directory: context.cwd, signal, maxFileBytes: Number.MAX_SAFE_INTEGER, maxOpenFiles: 8 }, options.output.replay(), async (document) => {
117
+ parsed = true;
118
+ for await (const bytes of prettyJsonDocument(document, signal)) await body.write(bytes);
119
+ });
120
+ } catch (error) {
121
+ signal.throwIfAborted();
122
+ if (parsed || !(error instanceof JqError && !(error instanceof JqLimitError) && error.message.startsWith("parse error:") || error instanceof EmptyJsonDocumentError)) throw error;
123
+ for await (const bytes of options.output.replay()) await body.write(bytes);
124
+ }
125
+ if (options.attachments.length) await body.write(encoder.encode("\nAttachments:\n"));
126
+ for (const attachment of options.attachments) {
127
+ let id = attachment.id;
128
+ if (id === void 0 && attachment.content?.size) {
129
+ const hash = sha256.create();
130
+ try {
131
+ for await (const bytes of attachment.content.spool.replay()) hash.update(bytes);
132
+ id = attachmentDigestHex(hash.digest());
133
+ } finally {
134
+ hash.destroy();
135
+ }
136
+ }
137
+ id ??= await getLlmAttachmentUrlId(attachment.url ?? null, signal);
138
+ const append = body.write.bind(body);
139
+ await emit(` <Attachment: ${id} type="`, append);
140
+ await emit(attachment.mimeType, append);
141
+ await emit('"', append);
142
+ if (attachment.url) {
143
+ await emit(' url="', append);
144
+ await emit(attachment.url, append);
145
+ await emit('"', append);
146
+ }
147
+ if (attachment.content?.size) await emit(` content=${attachment.content.size} bytes`, append);
148
+ await emit(">\n", append);
149
+ }
150
+ const replay = { async *[Symbol.asyncIterator]() {
151
+ const source = await body.lease(signal);
152
+ try {
153
+ yield* source.bytes;
154
+ } finally {
155
+ await source.dispose();
156
+ }
157
+ } };
158
+ for await (const text of indentLlmText(replay, signal)) await write(encoder.encode(text));
159
+ await write(encoder.encode(result.exception === void 0 ? "\n\n" : "\n"));
160
+ if (result.exception !== void 0) {
161
+ await emit(" Exception: ");
162
+ await emit(result.exception instanceof Error ? result.exception.message : String(result.exception));
163
+ await emit("\n");
164
+ }
165
+ } finally {
166
+ await body.close();
167
+ }
168
+ }
169
+ export {
170
+ debugToolResult
171
+ };
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-alias/index.js";
1
+ export { "aliasCommands", "createAliasCommand", "createAliasCommands" } from "../../../safe-bash-command-alias/index.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-apply-patch/index.js";
1
+ export { "applyPatchCommands", "createApplyPatchCommand", "createApplyPatchCommands", "evalSyncApplyPatch" } from "../../../safe-bash-command-apply-patch/index.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-tar/create.js";
1
+ export { "createArchive", "manifest" } from "../../../safe-bash-command-tar/create.js";
2
2
  //# sourceMappingURL=create.js.map
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-tar/extract.js";
1
+ export { "extractionInput", "readArchive" } from "../../../safe-bash-command-tar/extract.js";
2
2
  //# sourceMappingURL=extract.js.map
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-tar/format.js";
1
+ export { "applyPax", "encodeEntry", "headerBytes", "numberField", "parseHeader", "parsePax", "paxRecord" } from "../../../safe-bash-command-tar/format.js";
2
2
  //# sourceMappingURL=format.js.map
@@ -17,7 +17,7 @@ export function archiveCommands(options = {}) {
17
17
  host.commands.register(command, { replace: options.replace ?? false });
18
18
  } };
19
19
  }
20
- export * from "../../../safe-bash-command-tar/index.js";
20
+ export { "DEFAULT_ARCHIVE_LIMITS", "createTarCommand", "createTarCommands", "evalSyncTar", "tarCommands" } from "../../../safe-bash-command-tar/index.js";
21
21
  export { createZipCommand, createZipCommands, zipCommands, evalSyncZip } from "../../../safe-bash-command-zip/index.js";
22
22
  export { createUnzipCommand, createUnzipCommands, unzipCommands, evalSyncUnzip } from "../../../safe-bash-command-unzip/index.js";
23
23
  import { syncCommandEvaluators } from "../internal.js";
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-io-engine/commands/archive/internal.js";
1
+ export { "Budget", "DEFAULT_ARCHIVE_LIMITS", "admitArchiveInput", "archiveStorageContext", "bounded", "checkPath", "display", "fail", "fileSource", "hasIdentity", "invocationLimits", "maybeStat", "operation", "publish", "sameIdentity", "settings", "smallFile", "text", "vfsPath", "wait", "withArchiveInputByteBudget" } from "../../../safe-bash-io-engine/commands/archive/internal.js";
2
2
  //# sourceMappingURL=internal.js.map
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-tar/listing.js";
1
+ export { "quoteName" } from "../../../safe-bash-command-tar/listing.js";
2
2
  //# sourceMappingURL=listing.js.map
@@ -1,2 +1,2 @@
1
- export * from "../../../safe-bash-command-tar/modes.js";
1
+ export { "compareArchive", "mutateArchive" } from "../../../safe-bash-command-tar/modes.js";
2
2
  //# sourceMappingURL=modes.js.map