@poe-platform/safe-bash 0.1.799 → 0.1.801
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.
- package/README.md +48 -22
- package/dist/image-ast/index.browser.js +1503 -98
- package/dist/image-ast/index.js +1503 -98
- package/dist/mp4-ast/types.d.ts +1 -0
- package/dist/office-package/zip.d.ts +2 -0
- package/dist/office-package/zip.js +1 -1
- package/dist/pdf-ast/index.js +5 -4
- package/dist/safe-bash/chunks/{chunk-LUOFIVNI.js → chunk-3NDIFSNM.js} +3 -3
- package/dist/safe-bash/chunks/chunk-3R3AANOR.js +26 -0
- package/dist/safe-bash/chunks/{chunk-TRVGCN3U.js → chunk-45PK3NWI.js} +4 -4
- package/dist/safe-bash/chunks/{chunk-KHMGTPD6.js → chunk-46Z5E5EV.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-XB3B7KMM.js → chunk-6O77NL2S.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-T3JTVIEP.js → chunk-6PAVEFT3.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-PYVEAFJM.js → chunk-74GHTNJA.js} +3 -2
- package/dist/safe-bash/chunks/{chunk-LQHGH25W.js → chunk-7R5BDCG7.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-WUNK5NXJ.js → chunk-7VNF5BFF.js} +1140 -1660
- package/dist/safe-bash/chunks/{chunk-NHOXKQNE.js → chunk-A7XEHALN.js} +6 -6
- package/dist/safe-bash/chunks/{chunk-MHZ24KEI.js → chunk-AM5ESLPH.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-3L3T6LYV.js → chunk-AUSNDQTJ.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-YG5WAHK7.js → chunk-B7TAL7S5.js} +1 -3
- package/dist/safe-bash/chunks/{chunk-K7IQZE7D.js → chunk-C5OWC2TL.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-F3RV2F72.js → chunk-CHYGPFVM.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-M4CFCXHN.js → chunk-CS4MNM6I.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-H6JW3E4F.js → chunk-CTVWDACF.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-KTGR4U57.js → chunk-D3ANYGMC.js} +2 -3
- package/dist/safe-bash/chunks/{chunk-ENR3HB2B.js → chunk-E7OYNDGL.js} +1 -2
- package/dist/safe-bash/chunks/{chunk-SOZK5JVX.js → chunk-FBUCWVTE.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-NX2SQVON.js → chunk-FNDNHAGE.js} +46 -27
- package/dist/safe-bash/chunks/{chunk-KCVSVD65.js → chunk-I5HZ4FGE.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-KMH2DF3I.js → chunk-ICFDYV64.js} +7 -2
- package/dist/safe-bash/chunks/{chunk-T5KKDMYB.js → chunk-IVRQ4BXL.js} +7 -1
- package/dist/safe-bash/chunks/{chunk-KV7PKOHV.js → chunk-IWDICZVK.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-I4OAEOP6.js → chunk-J42RIHHJ.js} +1 -1
- package/dist/safe-bash/chunks/chunk-K6VCD7IY.js +106 -0
- package/dist/safe-bash/chunks/{chunk-63FXVDGF.js → chunk-LVOBFF4D.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-U5NUZPCC.js → chunk-MHMMRCYC.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-6HZYFL3H.js → chunk-NR3EM4LS.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-VYZTG3GV.js → chunk-NZQXYWA3.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-JSVX4VIA.js → chunk-OQRVVGR6.js} +3 -2
- package/dist/safe-bash/chunks/{chunk-B3DDEDH2.js → chunk-OV6IHKO6.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-SPYL72GN.js → chunk-PQRAK7HU.js} +1196 -5781
- package/dist/safe-bash/chunks/chunk-SZH7EJLD.js +9221 -0
- package/dist/safe-bash/chunks/{chunk-AKC46AF6.js → chunk-TFIBK2GI.js} +8 -41
- package/dist/safe-bash/chunks/{chunk-ZNAFMYIA.js → chunk-UE5KZDEK.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-QU3BVQ53.js → chunk-UTBUUFDM.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-6IBTC4YL.js → chunk-VQDD3G76.js} +93 -39
- package/dist/safe-bash/chunks/{chunk-IUTD5FH5.js → chunk-VTH3MLDU.js} +2 -7
- package/dist/safe-bash/chunks/{chunk-LLZCZ24K.js → chunk-XVOSKJE2.js} +1 -1
- package/dist/safe-bash/chunks/{csvkit-W2UEKH6P.js → csvkit-TACDU7FC.js} +3 -3
- package/dist/safe-bash/chunks/{ffmpeg-42CGASMV.js → ffmpeg-WTC3TEFI.js} +2 -2
- package/dist/safe-bash/chunks/{gh-26GYLH6D.js → gh-6WU6PXL4.js} +2 -2
- package/dist/safe-bash/chunks/{git-YREKMUVD.js → git-EFZIGJW4.js} +2 -2
- package/dist/safe-bash/chunks/{imagemagick-3YIX4XO2.js → imagemagick-EIEYGWPF.js} +2 -2
- package/dist/safe-bash/chunks/{implementation-E3YMKU3Z.js → implementation-MLFHUQ5M.js} +2 -2
- package/dist/safe-bash/chunks/mmdc-ROQJT5HQ.js +118 -0
- package/dist/safe-bash/chunks/{pdfimages-UE2UISP2.js → pdfimages-DW7LWXFI.js} +2 -2
- package/dist/safe-bash/chunks/{pdfinfo-RGARKLI5.js → pdfinfo-TIP6XLUQ.js} +4 -12
- package/dist/safe-bash/chunks/{pdftk-JY3WVCCC.js → pdftk-DMG22ITZ.js} +2 -2
- package/dist/safe-bash/chunks/{pdftoppm-GPD3BMPY.js → pdftoppm-WNDYR72T.js} +2 -2
- package/dist/safe-bash/chunks/{pdftotext-K7GQ2QJZ.js → pdftotext-5IPZ4NI7.js} +2 -2
- package/dist/safe-bash/chunks/{qpdf-F4U7WUSU.js → qpdf-TTX2DIUA.js} +2 -2
- package/dist/safe-bash/chunks/{sips-RWENS7X5.js → sips-XYS46JPJ.js} +2 -2
- package/dist/safe-bash/chunks/{soffice-IT6W2C5F.js → soffice-TU73E5KL.js} +2 -2
- package/dist/safe-bash/chunks/{wkhtmltopdf-JYNDAHIZ.js → wkhtmltopdf-FSZ2CHGE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-QBGA56UH.js → chunk-2ELYGJDD.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-2FGJYFWZ.js +44 -0
- package/dist/safe-bash/command-chunks/chunk-2H4JTFIL.js +53 -0
- package/dist/safe-bash/command-chunks/{chunk-52PCQXD2.js → chunk-2NHI5F5S.js} +2 -1
- package/dist/safe-bash/command-chunks/{chunk-HDKVO47G.js → chunk-2SQEIUGJ.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-364TMWBT.js +946 -0
- package/dist/safe-bash/command-chunks/chunk-3E2OIS2J.js +7037 -0
- package/dist/safe-bash/command-chunks/chunk-3HHCU5YU.js +380 -0
- package/dist/safe-bash/command-chunks/{chunk-TF6OA2GK.js → chunk-3NV3HYT2.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-4B7Y7S6E.js +61 -0
- package/dist/safe-bash/command-chunks/{chunk-LLCXZKZ6.js → chunk-4BB2SWJ5.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-IEXHHNOF.js → chunk-4J5CZ2DP.js} +2 -7
- package/dist/safe-bash/command-chunks/{chunk-WDHI3S6Y.js → chunk-4OOUQTQO.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-4ZHMW6F5.js +104 -0
- package/dist/safe-bash/command-chunks/{chunk-YMONDXET.js → chunk-4ZQWGOZB.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-5BSTFCXG.js +553 -0
- package/dist/safe-bash/command-chunks/{chunk-MKQVQMXO.js → chunk-5LU4UCBR.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-5PWJG2UK.js +174 -0
- package/dist/safe-bash/command-chunks/chunk-5TBUOBDE.js +346 -0
- package/dist/safe-bash/command-chunks/{chunk-JMPP4TCW.js → chunk-5UBXNSFZ.js} +3 -2
- package/dist/safe-bash/command-chunks/chunk-5XY4DTNG.js +34 -0
- package/dist/safe-bash/command-chunks/chunk-5ZMZ573Q.js +140 -0
- package/dist/safe-bash/command-chunks/{chunk-3NG75MOB.js → chunk-67GQA75T.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-67QKREJK.js +347 -0
- package/dist/safe-bash/command-chunks/{chunk-L6SU4S26.js → chunk-6B7WQIKB.js} +0 -7
- package/dist/safe-bash/command-chunks/chunk-6BNTBWIK.js +327 -0
- package/dist/safe-bash/command-chunks/chunk-6EPHJGGF.js +23 -0
- package/dist/safe-bash/command-chunks/chunk-6F4XCVON.js +266 -0
- package/dist/safe-bash/command-chunks/chunk-6KJ3LPI2.js +94 -0
- package/dist/safe-bash/command-chunks/{chunk-HLDTOR7M.js → chunk-6ZVI7LUY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-X6NJC3IC.js → chunk-75OFBY5R.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-7K6JYKPJ.js +422 -0
- package/dist/safe-bash/command-chunks/chunk-7N2LI2KO.js +206 -0
- package/dist/safe-bash/command-chunks/{chunk-MRW5HD2D.js → chunk-7O3E4LPT.js} +4 -22
- package/dist/safe-bash/command-chunks/chunk-7U7EXOXX.js +1392 -0
- package/dist/safe-bash/command-chunks/{chunk-6CYTRQ24.js → chunk-7VTKQUA5.js} +20 -17
- package/dist/safe-bash/command-chunks/{chunk-BZPAWTUL.js → chunk-AEF5BA3D.js} +1 -1
- package/dist/safe-bash/command-chunks/{pptx-GBPNWNEP-7EQEVXV5.js → chunk-AI5JAXQF.js} +34820 -18029
- package/dist/safe-bash/command-chunks/{chunk-63R3FEZJ.js → chunk-AIV5BF5W.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-AYUTO323.js → chunk-AKJG2XD3.js} +2 -18
- package/dist/safe-bash/command-chunks/{chunk-J34TZVMW.js → chunk-ALDC4XP4.js} +0 -5
- package/dist/safe-bash/command-chunks/chunk-AMO3THU4.js +105 -0
- package/dist/safe-bash/command-chunks/chunk-ARBYOQUZ.js +65 -0
- package/dist/safe-bash/command-chunks/chunk-BAGCY35S.js +231 -0
- package/dist/safe-bash/command-chunks/chunk-BAXU7B5Z.js +101 -0
- package/dist/safe-bash/command-chunks/{chunk-44AHAB5O.js → chunk-BDSMROQZ.js} +1 -4
- package/dist/safe-bash/command-chunks/chunk-BNOU5YQS.js +182 -0
- package/dist/safe-bash/command-chunks/{chunk-4ZALPDBV.js → chunk-BPE5INLI.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-OT4LZMLB.js → chunk-BR73BIOW.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-C5YYCQHW.js +1444 -0
- package/dist/safe-bash/command-chunks/chunk-C7I25AAL.js +25 -0
- package/dist/safe-bash/command-chunks/{chunk-4ONEXMD3.js → chunk-CAP7ZJSY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-DWFLVJC6.js → chunk-CCRHMAU5.js} +2 -1
- package/dist/safe-bash/command-chunks/chunk-CQ5YGOGB.js +150 -0
- package/dist/safe-bash/command-chunks/{chunk-JCNNOMBV.js → chunk-CQTRW45K.js} +3 -2
- package/dist/safe-bash/command-chunks/{chunk-N2F74VRO.js → chunk-CZ7EN3JG.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-DB453IE6.js +122 -0
- package/dist/safe-bash/command-chunks/{chunk-KKG4BAFZ.js → chunk-DIEPXUM4.js} +6 -0
- package/dist/safe-bash/command-chunks/chunk-DOKKNRRM.js +87 -0
- package/dist/safe-bash/command-chunks/{chunk-2PX5B7T5.js → chunk-DQAVUDDX.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-DT7BCTWY.js +249 -0
- package/dist/safe-bash/command-chunks/{chunk-6BETHLXZ.js → chunk-DZCY63VJ.js} +13 -11
- package/dist/safe-bash/command-chunks/{chunk-QUENU6GM.js → chunk-E55UKBIE.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-EK6YNAXT.js +343 -0
- package/dist/safe-bash/command-chunks/chunk-EQ4HV54N.js +22 -0
- package/dist/safe-bash/command-chunks/{chunk-HLGKIZ25.js → chunk-F6OYH562.js} +2 -0
- package/dist/safe-bash/command-chunks/{chunk-MC3VWLIZ.js → chunk-FDBUV4HJ.js} +28 -19
- package/dist/safe-bash/command-chunks/{chunk-7FKUC34S.js → chunk-FPVUD6TH.js} +6 -3
- package/dist/safe-bash/command-chunks/chunk-FXELCPFX.js +195 -0
- package/dist/safe-bash/command-chunks/chunk-FXOA7RBK.js +42 -0
- package/dist/safe-bash/command-chunks/{chunk-LPORMIZS.js → chunk-FZTK4MFI.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-K543PB3I.js → chunk-G66QUHIZ.js} +6 -35
- package/dist/safe-bash/command-chunks/chunk-GFQZCKO6.js +272 -0
- package/dist/safe-bash/command-chunks/{chunk-CU5RLO62.js → chunk-GLOZX57Y.js} +92 -18
- package/dist/safe-bash/command-chunks/chunk-GMIHJYDG.js +331 -0
- package/dist/safe-bash/command-chunks/chunk-GOB777HR.js +97 -0
- package/dist/safe-bash/command-chunks/chunk-GRBWW4SG.js +48 -0
- package/dist/safe-bash/command-chunks/{chunk-PPNBNFAU.js → chunk-GYQ2HAKQ.js} +8 -8
- package/dist/safe-bash/command-chunks/chunk-H622NS6Z.js +11 -0
- package/dist/safe-bash/command-chunks/{chunk-UI32HWGS.js → chunk-HMOZ6XVJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-AVSPNLWV.js → chunk-I237SNW5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-43GSSUAY.js → chunk-II77KPZN.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ZS3QPNUL.js → chunk-IR2BY7EL.js} +21 -6
- package/dist/safe-bash/command-chunks/{chunk-SG424QWS.js → chunk-JDYXY44P.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-JNZ3CVAE.js +147 -0
- package/dist/safe-bash/command-chunks/{chunk-4QJOYXVB.js → chunk-JV7LBUTP.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IKS2YXZQ.js → chunk-K67MWWWH.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-KFVV7ZJO.js +216 -0
- package/dist/safe-bash/command-chunks/{chunk-G4PNVO6Z.js → chunk-KP7AO66M.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KMCZ6P4O.js → chunk-KQLD3AED.js} +68 -7
- package/dist/safe-bash/command-chunks/chunk-KWESKQHR.js +25 -0
- package/dist/safe-bash/command-chunks/{chunk-YZ5SVZFD.js → chunk-KXU3IRUO.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-C7IHMJEW.js → chunk-KZC5UWFF.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-2WRTLCGK.js → chunk-LAOM65EE.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-LE5LZNHE.js +204 -0
- package/dist/safe-bash/command-chunks/{chunk-HFII3QYO.js → chunk-LWS62ISU.js} +46 -32
- package/dist/safe-bash/command-chunks/{chunk-BZDDAPSV.js → chunk-LWSBAWLT.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-MDH5T4OS.js +41 -0
- package/dist/safe-bash/command-chunks/{chunk-X7TM3AKW.js → chunk-MIXBO6U7.js} +20 -7
- package/dist/safe-bash/command-chunks/chunk-MM6HU6CX.js +20 -0
- package/dist/safe-bash/command-chunks/{chunk-MYJAZ3U2.js → chunk-MPL2466A.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-HLBX5IRS.js → chunk-MQFIPHIQ.js} +46 -81
- package/dist/safe-bash/command-chunks/{chunk-ZJBR5Q5I.js → chunk-MSFXC3OC.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-NI7MKJPN.js → chunk-MTQH74CF.js} +3 -55
- package/dist/safe-bash/command-chunks/chunk-MWUZZWXK.js +354 -0
- package/dist/safe-bash/command-chunks/chunk-N4PFUSRM.js +35 -0
- package/dist/safe-bash/command-chunks/chunk-NCD7PEWH.js +298 -0
- package/dist/safe-bash/command-chunks/chunk-NFGI5IGF.js +266 -0
- package/dist/safe-bash/command-chunks/{chunk-I3K5RYU4.js → chunk-NKFYQSES.js} +73 -26
- package/dist/safe-bash/command-chunks/{chunk-KVFCSLKK.js → chunk-NXEQ3ESQ.js} +6 -0
- package/dist/safe-bash/command-chunks/{chunk-NGWB2YBL.js → chunk-O4JQSB7O.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-7L24L4UO.js → chunk-OQU6UT6X.js} +2 -20
- package/dist/safe-bash/command-chunks/{chunk-3VGGYEDH.js → chunk-ORYGZYKW.js} +4 -3
- package/dist/safe-bash/command-chunks/{chunk-ZXKW7SJ2.js → chunk-OYYV7ZAF.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-P2N33UMN.js +270 -0
- package/dist/safe-bash/command-chunks/{chunk-Q7Q5GM5S.js → chunk-P5APDEFB.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-X2YQLGKS.js → chunk-PCEFOYA3.js} +240 -148
- package/dist/safe-bash/command-chunks/{chunk-OLQG7ZCN.js → chunk-PEF7K3UQ.js} +136 -75
- package/dist/safe-bash/command-chunks/chunk-PII4YEZW.js +123 -0
- package/dist/safe-bash/command-chunks/{chunk-AIRGA2SU.js → chunk-PMBFZXTK.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZT4KSS2V.js → chunk-PTT3I223.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4Y3WVMK4.js → chunk-PV66YWHB.js} +1 -0
- package/dist/safe-bash/command-chunks/chunk-Q3EWDEUQ.js +185 -0
- package/dist/safe-bash/command-chunks/{chunk-AXK3H4PX.js → chunk-QJ33BHI4.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-QKFSRZGQ.js +1091 -0
- package/dist/safe-bash/command-chunks/{chunk-JZSNU2MY.js → chunk-QKJLP53H.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-VVI4Z73I.js → chunk-QP4R6GLA.js} +5 -1
- package/dist/safe-bash/command-chunks/chunk-RMWQAAO5.js +2488 -0
- package/dist/safe-bash/command-chunks/{chunk-QDTBMSBE.js → chunk-RO62EWX6.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-HRLIAMXC.js → chunk-RZZI24ZE.js} +7 -6
- package/dist/safe-bash/command-chunks/{chunk-PFAADCB5.js → chunk-SDNBCQ3X.js} +10 -24
- package/dist/safe-bash/command-chunks/chunk-SEM36PG5.js +11 -0
- package/dist/safe-bash/command-chunks/{chunk-36O5OT7E.js → chunk-T35Y7YQD.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ESMCX3YV.js → chunk-TGSNCQSR.js} +710 -143
- package/dist/safe-bash/command-chunks/chunk-TIOCQVUQ.js +557 -0
- package/dist/safe-bash/command-chunks/{chunk-T5H5UJQ3.js → chunk-TNOA7FCQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GN2TKLE7.js → chunk-TS65BJHG.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-TSCGT46G.js +363 -0
- package/dist/safe-bash/command-chunks/chunk-UG7SMZFF.js +178 -0
- package/dist/safe-bash/command-chunks/{chunk-KBEURXFF.js → chunk-UN6WS55J.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-UXSR5BZH.js +136 -0
- package/dist/safe-bash/command-chunks/{chunk-SX2X3IH4.js → chunk-V2V5OCL3.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-V6BEDRMQ.js +112 -0
- package/dist/safe-bash/command-chunks/chunk-V7A7DRTU.js +293 -0
- package/dist/safe-bash/command-chunks/{chunk-5SHGJ7NO.js → chunk-VA5ZHYYA.js} +73 -33
- package/dist/safe-bash/command-chunks/{chunk-J4PEQWSF.js → chunk-VGG2DL5Q.js} +0 -1
- package/dist/safe-bash/command-chunks/chunk-VPR5LQYX.js +1228 -0
- package/dist/safe-bash/command-chunks/{chunk-EIVW3X3N.js → chunk-VSRGNQCP.js} +11 -6
- package/dist/safe-bash/command-chunks/{chunk-TYVCKQDH.js → chunk-VXSLJH7G.js} +56 -6
- package/dist/safe-bash/command-chunks/{chunk-PXYOWWMV.js → chunk-W7RAD4EW.js} +4 -3
- package/dist/safe-bash/command-chunks/{src-UJOWAS2S.js → chunk-WD3ERGRY.js} +77 -277
- package/dist/safe-bash/command-chunks/{chunk-5ZSM4UFN.js → chunk-WECIOOQB.js} +8 -64
- package/dist/safe-bash/command-chunks/{chunk-YFSDDFGV.js → chunk-WH627NJL.js} +446 -53
- package/dist/safe-bash/command-chunks/chunk-WNE7FPVR.js +236 -0
- package/dist/safe-bash/command-chunks/{chunk-UKS2XJZI.js → chunk-WPYIOKE3.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-HHP343KT.js → chunk-WTECBRU4.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-AO6Z5EQ7.js → chunk-WVE64WM2.js} +6 -5
- package/dist/safe-bash/command-chunks/chunk-WVHONVZ4.js +594 -0
- package/dist/safe-bash/command-chunks/chunk-XIIBTGC5.js +580 -0
- package/dist/safe-bash/command-chunks/chunk-XJXU3VVH.js +737 -0
- package/dist/safe-bash/command-chunks/chunk-XNLFHHOC.js +63 -0
- package/dist/safe-bash/command-chunks/{chunk-XAFSZDY2.js → chunk-XS72HTMA.js} +11 -0
- package/dist/safe-bash/command-chunks/chunk-Y5INTD6S.js +220 -0
- package/dist/safe-bash/command-chunks/chunk-YIQACGEW.js +43 -0
- package/dist/safe-bash/command-chunks/chunk-YOF7R4OY.js +80 -0
- package/dist/safe-bash/command-chunks/{chunk-VZHRZMS7.js → chunk-YOFC45RK.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2FUAW6GO.js → chunk-Z45N42QC.js} +75 -11
- package/dist/safe-bash/command-chunks/chunk-ZHUWOUWB.js +618 -0
- package/dist/safe-bash/command-chunks/{chunk-OPUJSTHS.js → chunk-ZYHTWNAE.js} +215 -67
- package/dist/safe-bash/command-chunks/chunk-ZYXH3B66.js +636 -0
- package/dist/safe-bash/command-chunks/{model-store-L35QTZMJ.js → model-store-WPKMRPV4.js} +2 -2
- package/dist/safe-bash/command-chunks/pptx-7G52EJ6L-4JACH5FB.js +625 -0
- package/dist/safe-bash/command-chunks/python-worker-source-TYOFJMCW.js +4 -0
- package/dist/safe-bash/command-chunks/src-ICMQISAA.js +501 -0
- package/dist/safe-bash/commands/archive/create.d.ts +1 -17
- package/dist/safe-bash/commands/archive/create.js +1 -252
- package/dist/safe-bash/commands/archive/extract.d.ts +1 -11
- package/dist/safe-bash/commands/archive/extract.js +1 -640
- package/dist/safe-bash/commands/archive/format.d.ts +1 -32
- package/dist/safe-bash/commands/archive/format.js +1 -225
- package/dist/safe-bash/commands/archive/index.d.ts +5 -10
- package/dist/safe-bash/commands/archive/index.js +6 -931
- package/dist/safe-bash/commands/archive/listing.d.ts +1 -2
- package/dist/safe-bash/commands/archive/listing.js +1 -21
- package/dist/safe-bash/commands/archive/modes.d.ts +1 -5
- package/dist/safe-bash/commands/archive/modes.js +1 -182
- package/dist/safe-bash/commands/archive/options.d.ts +1 -53
- package/dist/safe-bash/commands/archive/options.js +1 -462
- package/dist/safe-bash/commands/archive/stream.d.ts +1 -22
- package/dist/safe-bash/commands/archive/stream.js +1 -188
- package/dist/safe-bash/commands/archive/transform.d.ts +1 -16
- package/dist/safe-bash/commands/archive/transform.js +1 -85
- package/dist/safe-bash/commands/archive/unzip/arguments.d.ts +1 -53
- package/dist/safe-bash/commands/archive/unzip/arguments.js +1 -322
- package/dist/safe-bash/commands/archive/unzip/safety.d.ts +1 -32
- package/dist/safe-bash/commands/archive/unzip/safety.js +1 -295
- package/dist/safe-bash/commands/archive/unzip.d.ts +1 -3
- package/dist/safe-bash/commands/archive/unzip.js +1 -398
- package/dist/safe-bash/commands/archive/zip/aes.d.ts +1 -17
- package/dist/safe-bash/commands/archive/zip/aes.js +1 -156
- package/dist/safe-bash/commands/archive/zip/comments.d.ts +1 -17
- package/dist/safe-bash/commands/archive/zip/comments.js +1 -83
- package/dist/safe-bash/commands/archive/zip/crc.d.ts +1 -1
- package/dist/safe-bash/commands/archive/zip/crc.js +1 -1
- package/dist/safe-bash/commands/archive/zip/crypto.d.ts +1 -19
- package/dist/safe-bash/commands/archive/zip/crypto.js +1 -118
- package/dist/safe-bash/commands/archive/zip/dates.d.ts +1 -4
- package/dist/safe-bash/commands/archive/zip/dates.js +1 -66
- package/dist/safe-bash/commands/archive/zip/environment.d.ts +1 -2
- package/dist/safe-bash/commands/archive/zip/environment.js +1 -62
- package/dist/safe-bash/commands/archive/zip/grow.d.ts +1 -3
- package/dist/safe-bash/commands/archive/zip/grow.js +1 -2
- package/dist/safe-bash/commands/archive/zip/help.d.ts +1 -4
- package/dist/safe-bash/commands/archive/zip/help.js +1 -182
- package/dist/safe-bash/commands/archive/zip/line-endings.d.ts +1 -2
- package/dist/safe-bash/commands/archive/zip/line-endings.js +1 -194
- package/dist/safe-bash/commands/archive/zip/log.d.ts +1 -22
- package/dist/safe-bash/commands/archive/zip/log.js +1 -159
- package/dist/safe-bash/commands/archive/zip/lzma.d.ts +1 -9
- package/dist/safe-bash/commands/archive/zip/lzma.js +1 -40
- package/dist/safe-bash/commands/archive/zip/move.d.ts +1 -11
- package/dist/safe-bash/commands/archive/zip/move.js +1 -59
- package/dist/safe-bash/commands/archive/zip/names.d.ts +1 -2
- package/dist/safe-bash/commands/archive/zip/names.js +1 -33
- package/dist/safe-bash/commands/archive/zip/options.d.ts +1 -13
- package/dist/safe-bash/commands/archive/zip/options.js +1 -124
- package/dist/safe-bash/commands/archive/zip/repair.d.ts +1 -10
- package/dist/safe-bash/commands/archive/zip/repair.js +1 -392
- package/dist/safe-bash/commands/archive/zip/safety.d.ts +1 -54
- package/dist/safe-bash/commands/archive/zip/safety.js +1 -360
- package/dist/safe-bash/commands/archive/zip/sfx.d.ts +1 -4
- package/dist/safe-bash/commands/archive/zip/sfx.js +1 -52
- package/dist/safe-bash/commands/archive/zip/test-command.d.ts +1 -5
- package/dist/safe-bash/commands/archive/zip/test-command.js +1 -101
- package/dist/safe-bash/commands/archive/zip/volumes.d.ts +1 -21
- package/dist/safe-bash/commands/archive/zip/volumes.js +1 -281
- package/dist/safe-bash/commands/archive/zip/zip64.d.ts +1 -30
- package/dist/safe-bash/commands/archive/zip/zip64.js +1 -227
- package/dist/safe-bash/commands/archive/zip-format.d.ts +1 -68
- package/dist/safe-bash/commands/archive/zip-format.js +1 -1075
- package/dist/safe-bash/commands/archive/zip.d.ts +1 -3
- package/dist/safe-bash/commands/archive/zip.js +1 -1523
- package/dist/safe-bash/commands/awk/index.d.ts +2 -0
- package/dist/safe-bash/commands/awk/index.js +2 -0
- package/dist/safe-bash/commands/bytes/compression/index.js +4 -2
- package/dist/safe-bash/commands/copy-preserve.d.ts +1 -0
- package/dist/safe-bash/commands/csplit/index.browser.js +2 -2
- package/dist/safe-bash/commands/curl/index.d.ts +2 -0
- package/dist/safe-bash/commands/curl/index.js +2 -0
- package/dist/safe-bash/commands/diff/index.d.ts +2 -0
- package/dist/safe-bash/commands/diff/index.js +2 -0
- package/dist/safe-bash/commands/diff-patch/diff-format.d.ts +1 -10
- package/dist/safe-bash/commands/diff-patch/diff-format.js +1 -237
- package/dist/safe-bash/commands/diff-patch/diff-options.d.ts +1 -38
- package/dist/safe-bash/commands/diff-patch/diff-options.js +1 -261
- package/dist/safe-bash/commands/diff-patch/diff-output.d.ts +1 -20
- package/dist/safe-bash/commands/diff-patch/diff-output.js +1 -290
- package/dist/safe-bash/commands/diff-patch/diff.d.ts +1 -2
- package/dist/safe-bash/commands/diff-patch/diff.js +1 -656
- package/dist/safe-bash/commands/diff-patch/index.d.ts +4 -5
- package/dist/safe-bash/commands/diff-patch/index.js +8 -333
- package/dist/safe-bash/commands/diff-patch/patch-envelope.d.ts +1 -2
- package/dist/safe-bash/commands/diff-patch/patch-envelope.js +1 -63
- package/dist/safe-bash/commands/diff-patch/patch-formats.d.ts +1 -7
- package/dist/safe-bash/commands/diff-patch/patch-formats.js +1 -264
- package/dist/safe-bash/commands/diff-patch/patch-gnu-paths.d.ts +1 -41
- package/dist/safe-bash/commands/diff-patch/patch-gnu-paths.js +1 -263
- package/dist/safe-bash/commands/diff-patch/patch-gnu-reject.d.ts +1 -3
- package/dist/safe-bash/commands/diff-patch/patch-gnu-reject.js +1 -100
- package/dist/safe-bash/commands/diff-patch/patch-path.d.ts +1 -3
- package/dist/safe-bash/commands/diff-patch/patch-path.js +1 -91
- package/dist/safe-bash/commands/diff-patch/patch-publication.d.ts +1 -13
- package/dist/safe-bash/commands/diff-patch/patch-publication.js +1 -107
- package/dist/safe-bash/commands/diff-patch/patch.d.ts +1 -2
- package/dist/safe-bash/commands/diff-patch/patch.js +1 -653
- package/dist/safe-bash/commands/diff-patch/shared.d.ts +1 -53
- package/dist/safe-bash/commands/diff-patch/shared.js +1 -267
- package/dist/safe-bash/commands/diff-patch/unified.d.ts +1 -52
- package/dist/safe-bash/commands/diff-patch/unified.js +1 -385
- package/dist/safe-bash/commands/directory-admission.d.ts +1 -3
- package/dist/safe-bash/commands/directory-admission.js +1 -26
- package/dist/safe-bash/commands/docx/index.browser.js +1 -1
- package/dist/safe-bash/commands/execution.js +19 -13
- package/dist/safe-bash/commands/factor/index.browser.js +2 -2
- package/dist/safe-bash/commands/filesystem.d.ts +1 -1
- package/dist/safe-bash/commands/filesystem.js +17 -13
- package/dist/safe-bash/commands/find/index.d.ts +2 -0
- package/dist/safe-bash/commands/find/index.js +2 -0
- package/dist/safe-bash/commands/find-format.d.ts +1 -20
- package/dist/safe-bash/commands/find-format.js +1 -161
- package/dist/safe-bash/commands/find.d.ts +2 -18
- package/dist/safe-bash/commands/find.js +2 -1236
- package/dist/safe-bash/commands/getopt/index.browser.js +2 -2
- package/dist/safe-bash/commands/gzip/index.d.ts +2 -0
- package/dist/safe-bash/commands/gzip/index.js +2 -0
- package/dist/safe-bash/commands/hexdump/index.browser.js +2 -2
- package/dist/safe-bash/commands/htmlq/index.d.ts +1 -1
- package/dist/safe-bash/commands/iconv/index.browser.js +2 -2
- package/dist/safe-bash/commands/line-endings/index.browser.js +2 -2
- package/dist/safe-bash/commands/line-endings/index.d.ts +1 -1
- package/dist/safe-bash/commands/line-endings/index.js +1 -262
- package/dist/safe-bash/commands/llm/index.browser.js +4 -2
- package/dist/safe-bash/commands/llm/providers/index.browser.js +1 -1
- package/dist/safe-bash/commands/mdq/index.browser.js +3 -3
- package/dist/safe-bash/commands/media/index.browser.js +1 -1
- package/dist/safe-bash/commands/metadata/chmod.d.ts +1 -4
- package/dist/safe-bash/commands/metadata/chmod.js +2 -63
- package/dist/safe-bash/commands/network/aggregate.d.ts +1 -4
- package/dist/safe-bash/commands/network/aggregate.js +1 -23
- package/dist/safe-bash/commands/network/args.d.ts +1 -68
- package/dist/safe-bash/commands/network/args.js +1 -321
- package/dist/safe-bash/commands/network/authorizer.d.ts +1 -6
- package/dist/safe-bash/commands/network/authorizer.js +1 -33
- package/dist/safe-bash/commands/network/body.d.ts +1 -9
- package/dist/safe-bash/commands/network/body.js +1 -393
- package/dist/safe-bash/commands/network/curl.d.ts +3 -13
- package/dist/safe-bash/commands/network/curl.js +6 -695
- package/dist/safe-bash/commands/network/deadline.d.ts +1 -2
- package/dist/safe-bash/commands/network/deadline.js +1 -14
- package/dist/safe-bash/commands/network/decode.d.ts +1 -2
- package/dist/safe-bash/commands/network/decode.js +1 -79
- package/dist/safe-bash/commands/network/fetch-transport.d.ts +1 -7
- package/dist/safe-bash/commands/network/fetch-transport.js +1 -94
- package/dist/safe-bash/commands/network/form-content-type.d.ts +1 -5
- package/dist/safe-bash/commands/network/form-content-type.js +1 -63
- package/dist/safe-bash/commands/network/form-headers.d.ts +1 -2
- package/dist/safe-bash/commands/network/form-headers.js +1 -35
- package/dist/safe-bash/commands/network/glob.d.ts +1 -7
- package/dist/safe-bash/commands/network/glob.js +1 -134
- package/dist/safe-bash/commands/network/index.browser.js +4 -12
- package/dist/safe-bash/commands/network/input.d.ts +1 -5
- package/dist/safe-bash/commands/network/input.js +1 -276
- package/dist/safe-bash/commands/network/output.d.ts +1 -6
- package/dist/safe-bash/commands/network/output.js +1 -131
- package/dist/safe-bash/commands/network/platform-portable.d.ts +1 -5
- package/dist/safe-bash/commands/network/platform-portable.js +1 -26
- package/dist/safe-bash/commands/network/private-address.d.ts +1 -1
- package/dist/safe-bash/commands/network/private-address.js +1 -44
- package/dist/safe-bash/commands/network/public.d.ts +2 -2
- package/dist/safe-bash/commands/network/public.js +2 -2
- package/dist/safe-bash/commands/network/shared.d.ts +1 -14
- package/dist/safe-bash/commands/network/shared.js +1 -71
- package/dist/safe-bash/commands/network/transport.js +2 -2
- package/dist/safe-bash/commands/network/types.d.ts +1 -37
- package/dist/safe-bash/commands/network/types.js +1 -31
- package/dist/safe-bash/commands/network/url.d.ts +1 -2
- package/dist/safe-bash/commands/network/url.js +1 -30
- package/dist/safe-bash/commands/network/wget.d.ts +3 -3
- package/dist/safe-bash/commands/network/wget.js +9 -332
- package/dist/safe-bash/commands/node/filesystem.js +3 -2
- package/dist/safe-bash/commands/node/index.browser.js +8 -9
- package/dist/safe-bash/commands/node/index.d.ts +3 -3
- package/dist/safe-bash/commands/node/index.js +5 -0
- package/dist/safe-bash/commands/node/safejs.d.ts +3 -3
- package/dist/safe-bash/commands/node/safejs.js +6 -1
- package/dist/safe-bash/commands/node/types.d.ts +1 -1
- package/dist/safe-bash/commands/node/types.js +1 -1
- package/dist/safe-bash/commands/node/unconfigured.d.ts +3 -0
- package/dist/safe-bash/commands/node/unconfigured.js +10 -0
- package/dist/safe-bash/commands/op/index.browser.js +3 -3
- package/dist/safe-bash/commands/patch/index.d.ts +2 -0
- package/dist/safe-bash/commands/patch/index.js +2 -0
- package/dist/safe-bash/commands/pdfinfo/index.js +2 -1
- package/dist/safe-bash/commands/pr/index.browser.js +2 -2
- package/dist/safe-bash/commands/predicates.js +3 -4
- package/dist/safe-bash/commands/python/host-capabilities.js +31 -14
- package/dist/safe-bash/commands/python/index.browser.js +11 -11
- package/dist/safe-bash/commands/python/llm-capability.d.ts +1 -0
- package/dist/safe-bash/commands/python/llm-capability.js +27 -7
- package/dist/safe-bash/commands/python/llm-module.js +11 -0
- package/dist/safe-bash/commands/python/manifest.d.ts +2 -0
- package/dist/safe-bash/commands/python/manifest.js +13 -6
- package/dist/safe-bash/commands/python/provisioning.js +1 -1
- package/dist/safe-bash/commands/python/shell-capability.d.ts +1 -0
- package/dist/safe-bash/commands/python/shell-capability.js +3 -2
- package/dist/safe-bash/commands/python/worker.browser.js +3 -3
- package/dist/safe-bash/commands/regex-execution/matching.js +1 -2
- package/dist/safe-bash/commands/regex-execution/public.browser.js +8 -8
- package/dist/safe-bash/commands/safejs/runtime.js +16 -7
- package/dist/safe-bash/commands/search/index.d.ts +1 -1
- package/dist/safe-bash/commands/search/index.js +1 -347
- package/dist/safe-bash/commands/search/portable.d.ts +2 -2
- package/dist/safe-bash/commands/search/portable.js +3 -2
- package/dist/safe-bash/commands/sed/index.d.ts +2 -0
- package/dist/safe-bash/commands/sed/index.js +2 -0
- package/dist/safe-bash/commands/standard.d.ts +1 -0
- package/dist/safe-bash/commands/standard.js +2 -1
- package/dist/safe-bash/commands/streams.js +6 -24
- package/dist/safe-bash/commands/tar/index.d.ts +2 -0
- package/dist/safe-bash/commands/tar/index.js +2 -0
- package/dist/safe-bash/commands/text-programs/awk-inspection.d.ts +1 -19
- package/dist/safe-bash/commands/text-programs/awk-inspection.js +1 -50
- package/dist/safe-bash/commands/text-programs/awk-pipes.d.ts +2 -0
- package/dist/safe-bash/commands/text-programs/awk-pipes.js +2 -0
- package/dist/safe-bash/commands/text-programs/awk-pretty.d.ts +1 -3
- package/dist/safe-bash/commands/text-programs/awk-pretty.js +1 -197
- package/dist/safe-bash/commands/text-programs/awk-quote.d.ts +1 -2
- package/dist/safe-bash/commands/text-programs/awk-quote.js +1 -15
- package/dist/safe-bash/commands/text-programs/awk-reader.d.ts +1 -42
- package/dist/safe-bash/commands/text-programs/awk-reader.js +1 -449
- package/dist/safe-bash/commands/text-programs/awk-retention.d.ts +1 -13
- package/dist/safe-bash/commands/text-programs/awk-retention.js +1 -51
- package/dist/safe-bash/commands/text-programs/awk-runtime.d.ts +1 -150
- package/dist/safe-bash/commands/text-programs/awk-runtime.js +1 -2627
- package/dist/safe-bash/commands/text-programs/awk-syntax.d.ts +1 -142
- package/dist/safe-bash/commands/text-programs/awk-syntax.js +1 -509
- package/dist/safe-bash/commands/text-programs/awk-values.d.ts +1 -32
- package/dist/safe-bash/commands/text-programs/awk-values.js +1 -386
- package/dist/safe-bash/commands/text-programs/awk.d.ts +1 -3
- package/dist/safe-bash/commands/text-programs/awk.js +1 -361
- package/dist/safe-bash/commands/text-programs/inplace.d.ts +1 -16
- package/dist/safe-bash/commands/text-programs/inplace.js +1 -155
- package/dist/safe-bash/commands/text-programs/sed.d.ts +1 -3
- package/dist/safe-bash/commands/text-programs/sed.js +1 -1647
- package/dist/safe-bash/commands/text.js +268 -364
- package/dist/safe-bash/commands/tsort/index.browser.js +2 -2
- package/dist/safe-bash/commands/unzip/index.d.ts +2 -0
- package/dist/safe-bash/commands/unzip/index.js +2 -0
- package/dist/safe-bash/commands/wget/index.d.ts +2 -0
- package/dist/safe-bash/commands/wget/index.js +2 -0
- package/dist/safe-bash/commands/xml/index.browser.js +2 -2
- package/dist/safe-bash/commands/yq/index.browser.js +8 -3
- package/dist/safe-bash/commands/yq/index.d.ts +1 -6
- package/dist/safe-bash/commands/yq/index.js +1 -36
- package/dist/safe-bash/commands/zip/index.d.ts +2 -0
- package/dist/safe-bash/commands/zip/index.js +2 -0
- package/dist/safe-bash/core.browser.js +2 -2
- package/dist/safe-bash/core.d.ts +14 -2
- package/dist/safe-bash/core.js +8 -2
- package/dist/safe-bash/fs/s3/index.d.ts +2 -2
- package/dist/safe-bash/fs/s3/index.js +1 -1
- package/dist/safe-bash/full-core.browser.js +321 -286
- package/dist/safe-bash/jobs.browser.js +5 -5
- package/dist/safe-bash/lazy-mmdc.d.ts +6 -0
- package/dist/safe-bash/lazy-mmdc.js +23 -0
- package/dist/safe-bash/opt-in/commands/dd/index.js +2 -0
- package/dist/safe-bash/opt-in/commands/yq/mike.js +6 -13
- package/dist/safe-bash/opt-in/commands/yq/native-work.d.ts +1 -0
- package/dist/safe-bash/opt-in/commands/yq/native-work.js +17 -0
- package/dist/safe-bash/opt-in/optional/commands/shuf/options.d.ts +1 -0
- package/dist/safe-bash/opt-in/optional/commands/shuf/options.js +2 -4
- package/dist/safe-bash/opt-in/optional/commands/shuf/shuf.js +2 -1
- package/dist/safe-bash/optional-host.browser.js +15 -11
- package/dist/safe-bash/optional-host.d.ts +1 -1
- package/dist/safe-bash/optional-host.js +1 -1
- package/dist/safe-bash/playwright/ability-execution.js +3 -2
- package/dist/safe-bash/playwright/adapter.js +1 -1
- package/dist/safe-bash/playwright/controller.js +9 -8
- package/dist/safe-bash/playwright/modal-capabilities.js +2 -1
- package/dist/safe-bash/playwright/native-json-snapshot.js +4 -3
- package/dist/safe-bash/playwright/native-snapshot.js +5 -4
- package/dist/safe-bash/playwright/open-options.js +3 -3
- package/dist/safe-bash/playwright/resource-limit.d.ts +2 -0
- package/dist/safe-bash/playwright/resource-limit.js +4 -0
- package/dist/safe-bash/playwright/session-configuration.js +8 -3
- package/dist/safe-bash/playwright/snapshot.js +8 -7
- package/dist/safe-bash/playwright/standard-capabilities.js +5 -4
- package/dist/safe-bash/plugins/composition.d.ts +1 -0
- package/dist/safe-bash/plugins/composition.js +3 -8
- package/dist/safe-bash/plugins/index.browser.js +27 -29
- package/dist/safe-bash/registry-entry.browser.js +28 -30
- package/dist/safe-bash/shell/arrays/bindings.d.ts +3 -5
- package/dist/safe-bash/shell/arrays/bindings.js +7 -3
- package/dist/safe-bash/shell/arrays/state.js +4 -0
- package/dist/safe-bash/shell/brace-expansion.js +1 -1
- package/dist/safe-bash/shell/dynamic-variables.d.ts +10 -0
- package/dist/safe-bash/shell/dynamic-variables.js +25 -0
- package/dist/safe-bash/shell/input.js +16 -14
- package/dist/safe-bash/shell/parser.js +8 -1
- package/dist/safe-bash/shell/runtime.d.ts +7 -4
- package/dist/safe-bash/shell/runtime.js +604 -802
- package/dist/safe-bash/shell/shell.js +2 -31
- package/dist/safe-bash/shell/types.d.ts +2 -0
- package/dist/safe-bash/shell/value-state.js +17 -2
- package/dist/safe-bash/shell/worker-limits.js +1 -0
- package/dist/safe-bash/shell-entry.browser.js +25 -27
- package/dist/safe-bash/trap.browser.d.ts +3 -0
- package/dist/safe-bash/trap.browser.js +14 -0
- package/dist/safe-bash/worker/host.js +1 -1
- package/dist/safe-bash/yq-browser/index.js +1 -1
- package/dist/safe-bash-base-encoding-engine/base.js +2 -2
- package/dist/safe-bash-base-encoding-engine/shared.js +1 -1
- package/dist/safe-bash-byte-input-engine/index.d.ts +3 -2
- package/dist/safe-bash-byte-input-engine/index.js +4 -1
- package/dist/safe-bash-checksum-engine/index.js +13 -6
- package/dist/safe-bash-command-apply-patch/apply.d.ts +1 -1
- package/dist/safe-bash-command-apply-patch/apply.js +4 -3
- package/dist/safe-bash-command-apply-patch/index.js +4 -4
- package/dist/safe-bash-command-apply-patch/matcher.js +1 -1
- package/dist/safe-bash-command-apply-patch/parser.js +1 -1
- package/dist/safe-bash-command-awk/LICENSE +21 -0
- package/dist/safe-bash-command-awk/awk-inspection.d.ts +19 -0
- package/dist/safe-bash-command-awk/awk-inspection.js +9 -0
- package/dist/safe-bash-command-awk/awk-pipes.d.ts +19 -0
- package/dist/safe-bash-command-awk/awk-pipes.js +8 -0
- package/dist/safe-bash-command-awk/awk-pretty.d.ts +3 -0
- package/dist/safe-bash-command-awk/awk-pretty.js +8 -0
- package/dist/safe-bash-command-awk/awk-quote.d.ts +2 -0
- package/dist/safe-bash-command-awk/awk-quote.js +7 -0
- package/dist/safe-bash-command-awk/awk-reader.d.ts +42 -0
- package/dist/safe-bash-command-awk/awk-reader.js +9 -0
- package/dist/safe-bash-command-awk/awk-retention.d.ts +13 -0
- package/dist/safe-bash-command-awk/awk-retention.js +7 -0
- package/dist/safe-bash-command-awk/awk-runtime.d.ts +151 -0
- package/dist/safe-bash-command-awk/awk-runtime.js +11 -0
- package/dist/safe-bash-command-awk/awk-syntax.d.ts +144 -0
- package/dist/safe-bash-command-awk/awk-syntax.js +14 -0
- package/dist/safe-bash-command-awk/awk-values.d.ts +32 -0
- package/dist/safe-bash-command-awk/awk-values.js +35 -0
- package/dist/safe-bash-command-awk/awk.d.ts +3 -0
- package/dist/safe-bash-command-awk/awk.js +16 -0
- package/dist/safe-bash-command-awk/index.d.ts +7 -0
- package/dist/safe-bash-command-awk/index.js +36 -0
- package/dist/safe-bash-command-bc/index.d.ts +6 -0
- package/dist/safe-bash-command-bc/index.js +136 -266
- package/dist/safe-bash-command-column/column.js +5 -5
- package/dist/safe-bash-command-column/display.d.ts +1 -1
- package/dist/safe-bash-command-column/display.js +1 -1
- package/dist/safe-bash-command-column/index.js +5 -5
- package/dist/safe-bash-command-column/internal.d.ts +0 -2
- package/dist/safe-bash-command-column/internal.js +1 -1
- package/dist/safe-bash-command-column/layout.js +4 -4
- package/dist/safe-bash-command-column/table.js +2 -2
- package/dist/safe-bash-command-comm/comm.js +1 -1
- package/dist/safe-bash-command-comm/index.js +1 -1
- package/dist/safe-bash-command-csplit/command.js +2 -2
- package/dist/safe-bash-command-csplit/index.js +2 -2
- package/dist/safe-bash-command-csvcut/index.d.ts +1 -0
- package/dist/safe-bash-command-csvcut/index.js +1 -0
- package/dist/safe-bash-command-csvgrep/index.d.ts +1 -0
- package/dist/safe-bash-command-csvgrep/index.js +2 -2
- package/dist/safe-bash-command-csvkit/contracts.d.ts +1 -0
- package/dist/safe-bash-command-csvkit/csvpy-interpreter.d.ts +2 -1
- package/dist/safe-bash-command-csvkit/default-csvpy.d.ts +11 -0
- package/dist/safe-bash-command-csvkit/errors.js +22 -0
- package/dist/safe-bash-command-csvkit/index.d.ts +1 -0
- package/dist/safe-bash-command-csvkit/index.js +180 -12
- package/dist/safe-bash-command-csvkit/python-worker-browser.d.ts +3 -0
- package/dist/safe-bash-command-csvkit/python-worker-browser.js +16 -0
- package/dist/safe-bash-command-csvkit/python-worker-contract.d.ts +20 -0
- package/dist/safe-bash-command-csvkit/python-worker-node.d.ts +3 -0
- package/dist/safe-bash-command-csvkit/python-worker-node.js +9 -0
- package/dist/safe-bash-command-csvkit/runtime.d.ts +1 -0
- package/dist/safe-bash-command-csvkit/sync-support.js +1 -1
- package/dist/safe-bash-command-curl/LICENSE +21 -0
- package/dist/safe-bash-command-curl/curl.d.ts +13 -0
- package/dist/safe-bash-command-curl/curl.js +9 -0
- package/dist/safe-bash-command-curl/index.d.ts +6 -0
- package/dist/safe-bash-command-curl/index.js +26 -0
- package/dist/safe-bash-command-dd/index.js +2 -0
- package/dist/safe-bash-command-diff/LICENSE +21 -0
- package/dist/safe-bash-command-diff/diff-format.d.ts +10 -0
- package/dist/safe-bash-command-diff/diff-format.js +10 -0
- package/dist/safe-bash-command-diff/diff-options.d.ts +38 -0
- package/dist/safe-bash-command-diff/diff-options.js +7 -0
- package/dist/safe-bash-command-diff/diff-output.d.ts +20 -0
- package/dist/safe-bash-command-diff/diff-output.js +19 -0
- package/dist/safe-bash-command-diff/diff.d.ts +2 -0
- package/dist/safe-bash-command-diff/diff.js +10 -0
- package/dist/safe-bash-command-diff/index.d.ts +8 -0
- package/dist/safe-bash-command-diff/index.js +34 -0
- package/dist/safe-bash-command-diff/sync.d.ts +2 -0
- package/dist/safe-bash-command-diff/sync.js +9 -0
- package/dist/safe-bash-command-diff3/index.js +5 -5
- package/dist/safe-bash-command-docx/index.d.ts +4 -4
- package/dist/safe-bash-command-docx/index.js +12 -5
- package/dist/safe-bash-command-dos2unix/index.d.ts +1 -0
- package/dist/safe-bash-command-dos2unix/index.js +225 -1
- package/dist/safe-bash-command-dos2unix/sync.d.ts +1 -0
- package/dist/safe-bash-command-exiftool/index.d.ts +1 -0
- package/dist/safe-bash-command-exiftool/index.js +2 -2
- package/dist/safe-bash-command-factor/command.js +2 -2
- package/dist/safe-bash-command-factor/index.js +2 -2
- package/dist/safe-bash-command-fd/index.js +9 -9
- package/dist/safe-bash-command-ffmpeg/index.js +117 -102
- package/dist/safe-bash-command-file/index.js +4 -4
- package/dist/safe-bash-command-file/shared.js +1 -1
- package/dist/safe-bash-command-find/LICENSE +21 -0
- package/dist/safe-bash-command-find/find-format.d.ts +20 -0
- package/dist/safe-bash-command-find/find-format.js +9 -0
- package/dist/safe-bash-command-find/find.d.ts +18 -0
- package/dist/safe-bash-command-find/find.js +10 -0
- package/dist/safe-bash-command-find/index.d.ts +13 -0
- package/dist/safe-bash-command-find/index.js +45 -0
- package/dist/safe-bash-command-fmt/index.js +7 -4
- package/dist/safe-bash-command-git/git_rust.wasm +0 -0
- package/dist/safe-bash-command-git/index.js +5 -7
- package/dist/safe-bash-command-git/wasm.generated.js +1 -1
- package/dist/safe-bash-command-gzip/LICENSE +21 -0
- package/dist/safe-bash-command-gzip/index.d.ts +11 -0
- package/dist/safe-bash-command-gzip/index.js +95 -0
- package/dist/safe-bash-command-hexdump/command.js +4 -4
- package/dist/safe-bash-command-hexdump/custom.d.ts +24 -0
- package/dist/safe-bash-command-hexdump/index.js +4 -4
- package/dist/safe-bash-command-hexdump/internal.d.ts +2 -0
- package/dist/safe-bash-command-hexdump/internal.js +1 -1
- package/dist/safe-bash-command-hexdump/io.js +2 -2
- package/dist/safe-bash-command-hexdump/options.d.ts +3 -0
- package/dist/safe-bash-command-hexdump/options.js +2 -2
- package/dist/safe-bash-command-hostname/index.js +1 -1
- package/dist/safe-bash-command-html-to-markdown/budget.js +1 -1
- package/dist/safe-bash-command-html-to-markdown/entities.js +3 -3
- package/dist/safe-bash-command-html-to-markdown/index.js +11 -11
- package/dist/safe-bash-command-html-to-markdown/input.js +5 -5
- package/dist/safe-bash-command-html-to-markdown/parser.d.ts +1 -0
- package/dist/safe-bash-command-html-to-markdown/parser.js +4 -4
- package/dist/safe-bash-command-html-to-markdown/render.js +5 -5
- package/dist/safe-bash-command-html-to-markdown/text.js +2 -2
- package/dist/safe-bash-command-htmlq/index.d.ts +1 -0
- package/dist/safe-bash-command-htmlq/index.js +39 -17
- package/dist/safe-bash-command-iconv/codec.js +1 -1
- package/dist/safe-bash-command-iconv/command.js +2 -2
- package/dist/safe-bash-command-iconv/index.js +2 -2
- package/dist/safe-bash-command-imagemagick/index.js +45 -35
- package/dist/safe-bash-command-join/index.js +1 -1
- package/dist/safe-bash-command-join/join.js +1 -1
- package/dist/safe-bash-command-jq/index.js +1 -1
- package/dist/safe-bash-command-jq/jq.js +1 -1
- package/dist/safe-bash-command-less/index.js +43 -28
- package/dist/safe-bash-command-llm/command.js +1 -1
- package/dist/safe-bash-command-llm/index.d.ts +1 -0
- package/dist/safe-bash-command-llm/index.js +16 -14
- package/dist/safe-bash-command-llm/openai.js +3 -3
- package/dist/safe-bash-command-llm/providers/index.js +3 -3
- package/dist/safe-bash-command-llm/providers/openai.js +3 -3
- package/dist/safe-bash-command-llm/stored-schema.d.ts +10 -0
- package/dist/safe-bash-command-mmdc/index.d.ts +1 -0
- package/dist/safe-bash-command-mmdc/index.js +13 -604
- package/dist/safe-bash-command-mmdc/settings.d.ts +2 -0
- package/dist/safe-bash-command-mmdc/settings.js +7 -0
- package/dist/safe-bash-command-numfmt/index.js +0 -11
- package/dist/safe-bash-command-od/index.js +101 -68
- package/dist/safe-bash-command-pandoc/command.js +4 -3
- package/dist/safe-bash-command-pandoc/defaults.d.ts +1 -0
- package/dist/safe-bash-command-pandoc/index.js +4 -3
- package/dist/safe-bash-command-pandoc/lua-filters.js +1 -1
- package/dist/safe-bash-command-pandoc/types.d.ts +3 -1
- package/dist/safe-bash-command-paste/index.js +1 -1
- package/dist/safe-bash-command-paste/paste.js +1 -1
- package/dist/safe-bash-command-patch/LICENSE +21 -0
- package/dist/safe-bash-command-patch/index.d.ts +8 -0
- package/dist/safe-bash-command-patch/index.js +38 -0
- package/dist/safe-bash-command-patch/patch-envelope.d.ts +2 -0
- package/dist/safe-bash-command-patch/patch-envelope.js +7 -0
- package/dist/safe-bash-command-patch/patch-formats.d.ts +7 -0
- package/dist/safe-bash-command-patch/patch-formats.js +9 -0
- package/dist/safe-bash-command-patch/patch-gnu-paths.d.ts +41 -0
- package/dist/safe-bash-command-patch/patch-gnu-paths.js +26 -0
- package/dist/safe-bash-command-patch/patch-gnu-reject.d.ts +3 -0
- package/dist/safe-bash-command-patch/patch-gnu-reject.js +7 -0
- package/dist/safe-bash-command-patch/patch-path.d.ts +3 -0
- package/dist/safe-bash-command-patch/patch-path.js +11 -0
- package/dist/safe-bash-command-patch/patch-publication.d.ts +13 -0
- package/dist/safe-bash-command-patch/patch-publication.js +7 -0
- package/dist/safe-bash-command-patch/patch.d.ts +2 -0
- package/dist/safe-bash-command-patch/patch.js +14 -0
- package/dist/safe-bash-command-patch/sync.d.ts +2 -0
- package/dist/safe-bash-command-patch/sync.js +7 -0
- package/dist/safe-bash-command-patch/unified.d.ts +52 -0
- package/dist/safe-bash-command-patch/unified.js +16 -0
- package/dist/safe-bash-command-pathchk/index.js +3 -13
- package/dist/safe-bash-command-pdfimages/index.js +62 -25
- package/dist/safe-bash-command-pdfinfo/index.d.ts +0 -23
- package/dist/safe-bash-command-pdfinfo/index.js +39 -782
- package/dist/safe-bash-command-pdftk/index.js +40 -12
- package/dist/safe-bash-command-pdftoppm/index.js +76 -30
- package/dist/safe-bash-command-pdftotext/index.js +37 -15
- package/dist/safe-bash-command-pptx/index.d.ts +4 -4
- package/dist/safe-bash-command-pptx/index.js +11 -5
- package/dist/safe-bash-command-pr/command.js +2 -2
- package/dist/safe-bash-command-pr/index.js +4 -4
- package/dist/safe-bash-command-qpdf/index.js +31 -18
- package/dist/safe-bash-command-rg/index.d.ts +1 -0
- package/dist/safe-bash-command-rg/index.js +222 -1
- package/dist/safe-bash-command-rg/rg-command.js +1 -1
- package/dist/safe-bash-command-rg/sync.d.ts +1 -0
- package/dist/safe-bash-command-sed/LICENSE +21 -0
- package/dist/safe-bash-command-sed/index.d.ts +7 -0
- package/dist/safe-bash-command-sed/index.js +28 -0
- package/dist/safe-bash-command-sed/inplace.d.ts +16 -0
- package/dist/safe-bash-command-sed/inplace.js +9 -0
- package/dist/safe-bash-command-sed/sed.d.ts +3 -0
- package/dist/safe-bash-command-sed/sed.js +8 -0
- package/dist/safe-bash-command-shuf/options.d.ts +1 -0
- package/dist/safe-bash-command-shuf/options.js +2 -4
- package/dist/safe-bash-command-shuf/shuf.js +2 -1
- package/dist/safe-bash-command-sips/index.js +111 -35
- package/dist/safe-bash-command-soffice/index.js +21 -17
- package/dist/safe-bash-command-split/index.js +3 -3
- package/dist/safe-bash-command-split/io.js +1 -1
- package/dist/safe-bash-command-split/outputs.js +2 -2
- package/dist/safe-bash-command-split/split.js +3 -3
- package/dist/safe-bash-command-sqlite3/btree.d.ts +1 -0
- package/dist/safe-bash-command-sqlite3/engine.d.ts +7 -2
- package/dist/safe-bash-command-sqlite3/index.js +436 -537
- package/dist/safe-bash-command-ssconvert/commands.js +9 -9
- package/dist/safe-bash-command-ssconvert/core.js +8 -8
- package/dist/safe-bash-command-ssconvert/formats/csv.js +9 -9
- package/dist/safe-bash-command-ssconvert/formats/ods.js +9 -9
- package/dist/safe-bash-command-ssconvert/formats/spreadsheetml.js +2 -2
- package/dist/safe-bash-command-ssconvert/formats/xls.js +9 -9
- package/dist/safe-bash-command-ssconvert/formats/xlsx.js +9 -9
- package/dist/safe-bash-command-ssconvert/index.js +21 -21
- package/dist/safe-bash-command-tar/LICENSE +21 -0
- package/dist/safe-bash-command-tar/create.d.ts +17 -0
- package/dist/safe-bash-command-tar/create.js +14 -0
- package/dist/safe-bash-command-tar/extract.d.ts +11 -0
- package/dist/safe-bash-command-tar/extract.js +14 -0
- package/dist/safe-bash-command-tar/format.d.ts +32 -0
- package/dist/safe-bash-command-tar/format.js +19 -0
- package/dist/safe-bash-command-tar/index.d.ts +8 -0
- package/dist/safe-bash-command-tar/index.js +551 -0
- package/dist/safe-bash-command-tar/listing.d.ts +2 -0
- package/dist/safe-bash-command-tar/listing.js +7 -0
- package/dist/safe-bash-command-tar/modes.d.ts +5 -0
- package/dist/safe-bash-command-tar/modes.js +16 -0
- package/dist/safe-bash-command-tar/options.d.ts +53 -0
- package/dist/safe-bash-command-tar/options.js +10 -0
- package/dist/safe-bash-command-tar/stream.d.ts +22 -0
- package/dist/safe-bash-command-tar/stream.js +15 -0
- package/dist/safe-bash-command-tar/transform.d.ts +16 -0
- package/dist/safe-bash-command-tar/transform.js +9 -0
- package/dist/safe-bash-command-tree/arguments.js +3 -3
- package/dist/safe-bash-command-tree/charset.js +1 -1
- package/dist/safe-bash-command-tree/index.js +4 -4
- package/dist/safe-bash-command-tree/io.js +1 -1
- package/dist/safe-bash-command-tree/pattern.js +2 -2
- package/dist/safe-bash-command-tree/tree.js +4 -4
- package/dist/safe-bash-command-unrtf/index.js +14 -7
- package/dist/safe-bash-command-unzip/LICENSE +21 -0
- package/dist/safe-bash-command-unzip/index.d.ts +7 -0
- package/dist/safe-bash-command-unzip/index.js +39 -0
- package/dist/safe-bash-command-unzip/sync.d.ts +3 -0
- package/dist/safe-bash-command-unzip/sync.js +9 -0
- package/dist/safe-bash-command-unzip/unzip/safety.d.ts +32 -0
- package/dist/safe-bash-command-unzip/unzip/safety.js +7 -0
- package/dist/safe-bash-command-unzip/unzip.d.ts +3 -0
- package/dist/safe-bash-command-unzip/unzip.js +8 -0
- package/dist/safe-bash-command-wget/LICENSE +21 -0
- package/dist/safe-bash-command-wget/index.d.ts +6 -0
- package/dist/safe-bash-command-wget/index.js +26 -0
- package/dist/safe-bash-command-wget/wget.d.ts +3 -0
- package/dist/safe-bash-command-wget/wget.js +7 -0
- package/dist/safe-bash-command-xan/argv.d.ts +4 -1
- package/dist/safe-bash-command-xan/argv.js +1 -1
- package/dist/safe-bash-command-xan/commands.js +6 -3
- package/dist/safe-bash-command-xan/csv.d.ts +1 -1
- package/dist/safe-bash-command-xan/csv.js +1 -1
- package/dist/safe-bash-command-xan/index.js +18 -17
- package/dist/safe-bash-command-xan/io.js +3 -3
- package/dist/safe-bash-command-xmllint/index.js +190 -50
- package/dist/safe-bash-command-xxd/index.js +105 -91
- package/dist/safe-bash-command-xz/command.d.ts +2 -0
- package/dist/safe-bash-command-xz/index.d.ts +1 -1
- package/dist/safe-bash-command-xz/index.js +11 -2
- package/dist/safe-bash-command-xz/options.d.ts +9 -1
- package/dist/safe-bash-command-xz/options.js +3 -1
- package/dist/safe-bash-command-yq/index.d.ts +4 -11
- package/dist/safe-bash-command-yq/index.js +3367 -670
- package/dist/safe-bash-command-yq/mike.js +6 -13
- package/dist/safe-bash-command-yq/native-work.d.ts +1 -0
- package/dist/safe-bash-command-yq/native-work.js +17 -0
- package/dist/safe-bash-command-yq/query.d.ts +11 -0
- package/dist/safe-bash-command-yq/query.js +735 -0
- package/dist/safe-bash-command-zip/LICENSE +21 -0
- package/dist/safe-bash-command-zip/index.d.ts +7 -0
- package/dist/safe-bash-command-zip/index.js +38 -0
- package/dist/safe-bash-command-zip/sync.d.ts +3 -0
- package/dist/safe-bash-command-zip/sync.js +9 -0
- package/dist/safe-bash-command-zip/zip.d.ts +3 -0
- package/dist/safe-bash-command-zip/zip.js +7 -0
- package/dist/safe-bash-compression-engine/files.js +4 -4
- package/dist/safe-bash-compression-engine/index.js +2 -2
- package/dist/safe-bash-compression-engine/operand.js +6 -6
- package/dist/safe-bash-compression-engine/stream.js +2 -2
- package/dist/safe-bash-compression-engine/zstd-decode.js +1 -1
- package/dist/safe-bash-contracts/command.js +1 -1
- package/dist/safe-bash-contracts/diagnostics.js +4 -4
- package/dist/safe-bash-contracts/escaping.js +12 -12
- package/dist/safe-bash-contracts/filesystem-descriptor.js +1 -1
- package/dist/safe-bash-contracts/filesystem-output.js +8 -8
- package/dist/safe-bash-contracts/index.d.ts +1 -0
- package/dist/safe-bash-contracts/index.js +39 -35
- package/dist/safe-bash-contracts/io.d.ts +4 -1
- package/dist/safe-bash-contracts/io.js +4 -2
- package/dist/safe-bash-contracts/managed-abort.d.ts +10 -0
- package/dist/safe-bash-contracts/output.js +3 -3
- package/dist/safe-bash-diff-engine/LICENSE +21 -0
- package/dist/safe-bash-diff-engine/index.d.ts +1 -0
- package/dist/safe-bash-diff-engine/index.js +24 -0
- package/dist/safe-bash-diff-engine/shared.d.ts +54 -0
- package/dist/safe-bash-diff-engine/shared.js +19 -0
- package/dist/safe-bash-io-engine/commands/archive/internal.js +5 -23
- package/dist/safe-bash-io-engine/commands/directory-admission.d.ts +3 -0
- package/dist/safe-bash-io-engine/commands/directory-admission.js +34 -0
- package/dist/safe-bash-io-engine/commands/mode-change.d.ts +4 -0
- package/dist/safe-bash-io-engine/commands/mode-change.js +60 -0
- package/dist/safe-bash-io-engine/commands/search/requirements.js +2 -2
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +44 -66
- package/dist/safe-bash-io-engine/internal.js +1 -1
- package/dist/safe-bash-io-engine/shell/pattern.js +8 -13
- package/dist/safe-bash-io-engine/shell/string-operations.js +1 -1
- package/dist/safe-bash-markdown-engine/commonmark-blocks.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-inlines.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-syntax.js +2 -2
- package/dist/safe-bash-markdown-engine/gfm-syntax.js +3 -3
- package/dist/safe-bash-markdown-engine/index.js +7 -7
- package/dist/safe-bash-mcp/index.browser.d.ts +161 -35
- package/dist/safe-bash-mcp/index.browser.js +417 -0
- package/dist/safe-bash-mcp/index.d.ts +66 -2
- package/dist/safe-bash-mcp/index.js +1838 -122
- package/dist/safe-bash-network-engine/LICENSE +21 -0
- package/dist/safe-bash-network-engine/aggregate.d.ts +4 -0
- package/dist/safe-bash-network-engine/aggregate.js +37 -0
- package/dist/safe-bash-network-engine/args.d.ts +68 -0
- package/dist/safe-bash-network-engine/args.js +19 -0
- package/dist/safe-bash-network-engine/authorizer.d.ts +6 -0
- package/dist/safe-bash-network-engine/authorizer.js +8 -0
- package/dist/safe-bash-network-engine/body.d.ts +9 -0
- package/dist/safe-bash-network-engine/body.js +374 -0
- package/dist/safe-bash-network-engine/deadline.d.ts +2 -0
- package/dist/safe-bash-network-engine/deadline.js +7 -0
- package/dist/safe-bash-network-engine/decode.d.ts +2 -0
- package/dist/safe-bash-network-engine/decode.js +80 -0
- package/dist/safe-bash-network-engine/fetch-transport.d.ts +7 -0
- package/dist/safe-bash-network-engine/fetch-transport.js +9 -0
- package/dist/safe-bash-network-engine/form-content-type.d.ts +5 -0
- package/dist/safe-bash-network-engine/form-content-type.js +8 -0
- package/dist/safe-bash-network-engine/form-headers.d.ts +2 -0
- package/dist/safe-bash-network-engine/form-headers.js +10 -0
- package/dist/safe-bash-network-engine/glob.d.ts +7 -0
- package/dist/safe-bash-network-engine/glob.js +124 -0
- package/dist/safe-bash-network-engine/index.d.ts +3 -0
- package/dist/safe-bash-network-engine/index.js +26 -0
- package/dist/safe-bash-network-engine/input.d.ts +5 -0
- package/dist/safe-bash-network-engine/input.js +255 -0
- package/dist/safe-bash-network-engine/output.d.ts +6 -0
- package/dist/safe-bash-network-engine/output.js +132 -0
- package/dist/safe-bash-network-engine/platform-portable.d.ts +5 -0
- package/dist/safe-bash-network-engine/platform-portable.js +19 -0
- package/dist/safe-bash-network-engine/private-address.d.ts +1 -0
- package/dist/safe-bash-network-engine/private-address.js +7 -0
- package/dist/safe-bash-network-engine/shared.d.ts +14 -0
- package/dist/safe-bash-network-engine/shared.js +23 -0
- package/dist/safe-bash-network-engine/types.d.ts +42 -0
- package/dist/safe-bash-network-engine/types.js +11 -0
- package/dist/safe-bash-network-engine/url.d.ts +2 -0
- package/dist/safe-bash-network-engine/url.js +8 -0
- package/dist/safe-bash-query-engine/capture.d.ts +1 -0
- package/dist/safe-bash-query-engine/capture.js +9 -7
- package/dist/safe-bash-query-engine/dates.d.ts +5 -1
- package/dist/safe-bash-query-engine/dates.js +10 -2
- package/dist/safe-bash-query-engine/delpaths.js +5 -5
- package/dist/safe-bash-query-engine/formats.js +3 -3
- package/dist/safe-bash-query-engine/index.js +15 -15
- package/dist/safe-bash-query-engine/indices.js +5 -5
- package/dist/safe-bash-query-engine/input.d.ts +1 -2
- package/dist/safe-bash-query-engine/input.js +2 -4
- package/dist/safe-bash-query-engine/interpreter.d.ts +5 -0
- package/dist/safe-bash-query-engine/interpreter.js +13 -13
- package/dist/safe-bash-query-engine/limits.js +1 -1
- package/dist/safe-bash-query-engine/parser.d.ts +8 -1
- package/dist/safe-bash-query-engine/parser.js +2 -2
- package/dist/safe-bash-query-engine/query-core.js +15 -15
- package/dist/safe-bash-query-engine/recurse.js +2 -2
- package/dist/safe-bash-query-engine/regex.d.ts +4 -2
- package/dist/safe-bash-query-engine/regex.js +10 -5
- package/dist/safe-bash-query-engine/split.js +2 -2
- package/dist/safe-bash-query-engine/splits.d.ts +1 -1
- package/dist/safe-bash-query-engine/splits.js +7 -6
- package/dist/safe-bash-query-engine/values.js +4 -4
- package/dist/safe-bash-regex-engine/ere/matcher.js +106 -34
- package/dist/safe-bash-regex-engine/execution/bounded-provider.js +55 -67
- package/dist/safe-bash-regex-engine/execution/portable.d.ts +0 -1
- package/dist/safe-bash-regex-engine/execution/portable.js +6 -10
- package/dist/safe-bash-regex-engine/execution/protocol.d.ts +0 -5
- package/dist/safe-bash-regex-engine/execution/protocol.js +1 -3
- package/dist/safe-bash-regex-engine/index.js +6 -4
- package/dist/safe-bash-regex-engine/text/budget.d.ts +1 -0
- package/dist/safe-bash-regex-engine/text/budget.js +1 -1
- package/dist/safe-bash-regex-engine/text/regex.d.ts +15 -0
- package/dist/safe-bash-regex-engine/text/regex.js +6 -4
- package/dist/safe-bash-regex-engine/text/replacement-buffer.js +2 -2
- package/dist/safe-bash-regex-engine/text/rust-syntax.js +2 -2
- package/dist/safe-bash-search-engine/ergonomic-regex.d.ts +12 -2
- package/dist/safe-bash-search-engine/ergonomic-regex.js +2 -2
- package/dist/safe-bash-search-engine/glob.js +2 -2
- package/dist/safe-bash-search-engine/grep.js +191 -229
- package/dist/safe-bash-search-engine/matcher.d.ts +6 -2
- package/dist/safe-bash-search-engine/matcher.js +30 -8
- package/dist/safe-bash-search-engine/options.js +1 -1
- package/dist/safe-bash-search-engine/output.d.ts +3 -2
- package/dist/safe-bash-search-engine/output.js +111 -30
- package/dist/safe-bash-search-engine/shared.d.ts +2 -0
- package/dist/safe-bash-search-engine/shared.js +2 -2
- package/dist/safe-bash-search-engine/walk.js +11 -10
- package/dist/safe-bash-table-text-engine/table-text/internal.d.ts +7 -5
- package/dist/safe-bash-table-text-engine/table-text/internal.js +39 -21
- package/dist/safe-bash-xml-engine/document.d.ts +1 -1
- package/dist/safe-bash-xml-engine/document.js +3 -3
- package/dist/safe-bash-xml-engine/evaluate.d.ts +1 -0
- package/dist/safe-bash-xml-engine/evaluate.js +4 -1
- package/dist/safe-bash-xml-engine/index.js +8 -6
- package/dist/safe-bash-xml-engine/io.js +1 -1
- package/dist/safe-bash-xml-engine/limits.d.ts +2 -0
- package/dist/safe-bash-xml-engine/limits.js +1 -1
- package/dist/safe-bash-xml-engine/predicate.d.ts +57 -0
- package/dist/safe-bash-xml-engine/query.d.ts +3 -15
- package/dist/safe-bash-xml-engine/query.js +3 -2
- package/dist/safe-bash-zip-engine/LICENSE +21 -0
- package/dist/safe-bash-zip-engine/index.d.ts +1 -0
- package/dist/safe-bash-zip-engine/index.js +32 -0
- package/dist/safe-bash-zip-engine/unzip/arguments.d.ts +53 -0
- package/dist/safe-bash-zip-engine/unzip/arguments.js +270 -0
- package/dist/safe-bash-zip-engine/zip/aes.d.ts +17 -0
- package/dist/safe-bash-zip-engine/zip/aes.js +15 -0
- package/dist/safe-bash-zip-engine/zip/comments.d.ts +17 -0
- package/dist/safe-bash-zip-engine/zip/comments.js +77 -0
- package/dist/safe-bash-zip-engine/zip/crc.d.ts +1 -0
- package/dist/safe-bash-zip-engine/zip/crc.js +7 -0
- package/dist/safe-bash-zip-engine/zip/crypto.d.ts +19 -0
- package/dist/safe-bash-zip-engine/zip/crypto.js +16 -0
- package/dist/safe-bash-zip-engine/zip/dates.d.ts +4 -0
- package/dist/safe-bash-zip-engine/zip/dates.js +68 -0
- package/dist/safe-bash-zip-engine/zip/environment.d.ts +2 -0
- package/dist/safe-bash-zip-engine/zip/environment.js +60 -0
- package/dist/safe-bash-zip-engine/zip/grow.d.ts +3 -0
- package/dist/safe-bash-zip-engine/zip/grow.js +7 -0
- package/dist/safe-bash-zip-engine/zip/help.d.ts +4 -0
- package/dist/safe-bash-zip-engine/zip/help.js +194 -0
- package/dist/safe-bash-zip-engine/zip/line-endings.d.ts +2 -0
- package/dist/safe-bash-zip-engine/zip/line-endings.js +165 -0
- package/dist/safe-bash-zip-engine/zip/log.d.ts +22 -0
- package/dist/safe-bash-zip-engine/zip/log.js +153 -0
- package/dist/safe-bash-zip-engine/zip/lzma.d.ts +9 -0
- package/dist/safe-bash-zip-engine/zip/lzma.js +7 -0
- package/dist/safe-bash-zip-engine/zip/move.d.ts +11 -0
- package/dist/safe-bash-zip-engine/zip/move.js +57 -0
- package/dist/safe-bash-zip-engine/zip/names.d.ts +2 -0
- package/dist/safe-bash-zip-engine/zip/names.js +37 -0
- package/dist/safe-bash-zip-engine/zip/options.d.ts +13 -0
- package/dist/safe-bash-zip-engine/zip/options.js +23 -0
- package/dist/safe-bash-zip-engine/zip/repair.d.ts +10 -0
- package/dist/safe-bash-zip-engine/zip/repair.js +348 -0
- package/dist/safe-bash-zip-engine/zip/safety.d.ts +54 -0
- package/dist/safe-bash-zip-engine/zip/safety.js +19 -0
- package/dist/safe-bash-zip-engine/zip/sfx.d.ts +4 -0
- package/dist/safe-bash-zip-engine/zip/sfx.js +58 -0
- package/dist/safe-bash-zip-engine/zip/test-command.d.ts +5 -0
- package/dist/safe-bash-zip-engine/zip/test-command.js +98 -0
- package/dist/safe-bash-zip-engine/zip/volumes.d.ts +21 -0
- package/dist/safe-bash-zip-engine/zip/volumes.js +255 -0
- package/dist/safe-bash-zip-engine/zip/zip64.d.ts +30 -0
- package/dist/safe-bash-zip-engine/zip/zip64.js +25 -0
- package/dist/safe-bash-zip-engine/zip-format.d.ts +68 -0
- package/dist/safe-bash-zip-engine/zip-format.js +27 -0
- package/dist/safe-playwright-cloudflare/browser-codegen.generated.d.ts +7 -7
- package/dist/safe-playwright-cloudflare/browser-codegen.generated.js +866 -8069
- package/dist/safe-playwright-cloudflare/browser-run-code-budget.d.ts +0 -1
- package/dist/safe-playwright-cloudflare/browser-run-code-budget.js +0 -2
- package/dist/safe-playwright-cloudflare/browser-trace-archive.d.ts +5 -1
- package/dist/safe-playwright-cloudflare/browser-trace-archive.js +2 -1
- package/dist/safe-playwright-cloudflare/browser-trace-budget.js +8 -4
- package/dist/safe-playwright-cloudflare/shell-browser-resource.d.ts +2 -0
- package/dist/safe-playwright-cloudflare/shell-browser-resource.js +3 -11
- package/dist/safe-playwright-cloudflare/shell-playwright.d.ts +2 -0
- package/dist/safe-playwright-cloudflare/shell-playwright.js +1 -1
- package/dist/spreadsheet-engine/codecs/odf-hyperlinks.js +8 -2
- package/dist/spreadsheet-engine/formulas/functions/captured-bessel-phase.js +2 -2
- package/dist/spreadsheet-engine/formulas/label-references.js +54 -33
- package/dist/spreadsheet-engine/formulas/parser.js +3 -1
- package/dist/spreadsheet-engine/formulas/rewriting.js +13 -3
- package/dist/spreadsheet-engine/io/publication.d.ts +1 -0
- package/dist/spreadsheet-format-xls/biff-data-tables.js +4 -6
- package/dist/spreadsheet-format-xls/biff-formulas.js +3 -0
- package/dist/spreadsheet-format-xls/biff-label-ranges.js +9 -6
- package/dist/spreadsheet-format-xls/biff.js +1 -1
- package/dist/xlsx-ast/xlsx.js +8 -5
- package/package.json +165 -15
- package/dist/safe-bash/chunks/chunk-AZAJJVFX.js +0 -23017
- package/dist/safe-bash/chunks/chunk-O4ZUCRGN.js +0 -13
- package/dist/safe-bash/chunks/chunk-S264DZO2.js +0 -243
- package/dist/safe-bash/chunks/chunk-WVG5SHHQ.js +0 -12
- package/dist/safe-bash/chunks/chunk-ZW6K2J7P.js +0 -2652
- package/dist/safe-bash/command-chunks/chunk-5MPOQ6V3.js +0 -181
- package/dist/safe-bash/command-chunks/chunk-BIXLZ3OG.js +0 -14342
- package/dist/safe-bash/command-chunks/chunk-DUYJE2HY.js +0 -14
- package/dist/safe-bash/command-chunks/chunk-KAGBORIC.js +0 -88
- package/dist/safe-bash/command-chunks/chunk-NETECMOF.js +0 -40
- package/dist/safe-bash/command-chunks/chunk-XS3PGJU2.js +0 -343
- package/dist/safe-bash/command-chunks/chunk-XTZALMLR.js +0 -488
- package/dist/safe-bash/commands/archive/zip/aes-primitives-unavailable.d.ts +0 -2
- package/dist/safe-bash/commands/archive/zip/aes-primitives-unavailable.js +0 -3
- package/dist/safe-bash/commands/archive/zip/aes-primitives.d.ts +0 -2
- package/dist/safe-bash/commands/archive/zip/aes-primitives.js +0 -3
- package/dist/safe-bash/commands/xml/document.d.ts +0 -2
- package/dist/safe-bash/commands/xml/document.js +0 -2
- package/dist/safe-bash/commands/xml/evaluate.d.ts +0 -2
- package/dist/safe-bash/commands/xml/evaluate.js +0 -2
- package/dist/safe-bash/commands/xml/json.d.ts +0 -2
- package/dist/safe-bash/commands/xml/json.js +0 -2
- package/dist/safe-bash/commands/xml/limits.d.ts +0 -2
- package/dist/safe-bash/commands/xml/limits.js +0 -2
- package/dist/safe-bash/commands/xml/query.d.ts +0 -2
- package/dist/safe-bash/commands/xml/query.js +0 -2
- package/dist/safe-bash/command-chunks/{chunk-FIUFIDAO.js → chunk-2JRBIDAD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BWNXWI33.js → chunk-2LMZVE3I.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-B5BKA5WH.js → chunk-B5TAOCKD.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2ENZ6JGA.js → chunk-KEV7C3KH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-S62HELHU.js → chunk-PL6O4K6W.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-DDLQ5YDB.js → chunk-YHFXOX6U.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-DQMOM72Z.js → chunk-ZRRBXU3M.js} +4 -4
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
evalSyncCurl,
|
|
13
13
|
evalSyncWget,
|
|
14
14
|
networkCommands
|
|
15
|
-
} from "./chunks/chunk-
|
|
15
|
+
} from "./chunks/chunk-K6VCD7IY.js";
|
|
16
16
|
import {
|
|
17
17
|
SafeJsCommandLimitError,
|
|
18
18
|
createSafeJsNodeCommand,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
safeJsNodeCommands,
|
|
24
24
|
stringValue,
|
|
25
25
|
withSignal
|
|
26
|
-
} from "./chunks/chunk-
|
|
26
|
+
} from "./chunks/chunk-FNDNHAGE.js";
|
|
27
27
|
import {
|
|
28
28
|
createCsplitCommand,
|
|
29
29
|
createCsplitCommands,
|
|
30
30
|
csplitCommands,
|
|
31
31
|
evalSyncCsplit
|
|
32
|
-
} from "./chunks/chunk-
|
|
32
|
+
} from "./chunks/chunk-UTBUUFDM.js";
|
|
33
33
|
import {
|
|
34
34
|
MemoryFileSystem,
|
|
35
35
|
Shell,
|
|
@@ -57,14 +57,18 @@ import {
|
|
|
57
57
|
parseShell,
|
|
58
58
|
searchCommands,
|
|
59
59
|
unrtfCommands
|
|
60
|
-
} from "./chunks/chunk-
|
|
60
|
+
} from "./chunks/chunk-7VNF5BFF.js";
|
|
61
61
|
import {
|
|
62
|
+
createMikeYqCommand,
|
|
63
|
+
createMikeYqCommands,
|
|
62
64
|
createYqCommand,
|
|
63
65
|
createYqCommands,
|
|
64
66
|
evalSyncYqPrep,
|
|
65
67
|
formatSyncYqYamlLines,
|
|
68
|
+
mikeYqCommands,
|
|
66
69
|
yqCommands
|
|
67
|
-
} from "./chunks/chunk-
|
|
70
|
+
} from "./chunks/chunk-TFIBK2GI.js";
|
|
71
|
+
import "./chunks/chunk-3NDIFSNM.js";
|
|
68
72
|
import {
|
|
69
73
|
agentCommands,
|
|
70
74
|
createAgentCommands,
|
|
@@ -75,139 +79,168 @@ import {
|
|
|
75
79
|
ghCommands,
|
|
76
80
|
ghMetadata,
|
|
77
81
|
lazyCommandPlugin
|
|
78
|
-
} from "./chunks/chunk-
|
|
82
|
+
} from "./chunks/chunk-45PK3NWI.js";
|
|
79
83
|
import {
|
|
80
84
|
applyPatchCommands,
|
|
81
85
|
baseAgentCommands,
|
|
86
|
+
bcCommands,
|
|
82
87
|
byteCommands,
|
|
83
88
|
columnCommands,
|
|
84
89
|
createApplyPatchCommand,
|
|
85
90
|
createApplyPatchCommands,
|
|
91
|
+
createBcCommand,
|
|
92
|
+
createBcCommands,
|
|
86
93
|
createByteCommands,
|
|
87
94
|
createColumnCommand,
|
|
88
95
|
createColumnCommands,
|
|
96
|
+
createDdCommand,
|
|
97
|
+
createDdCommands,
|
|
98
|
+
createEnvsubstCommand,
|
|
99
|
+
createEnvsubstCommands,
|
|
100
|
+
createGetconfCommand,
|
|
101
|
+
createGetconfCommands,
|
|
89
102
|
createGpgCommand,
|
|
90
103
|
createGpgCommands,
|
|
91
104
|
createGrepCommands,
|
|
105
|
+
createHostnameCommand,
|
|
106
|
+
createHostnameCommands,
|
|
107
|
+
createIdCommand,
|
|
108
|
+
createIdCommands,
|
|
109
|
+
createLocaleCommand,
|
|
110
|
+
createLocaleCommands,
|
|
111
|
+
createNprocCommand,
|
|
112
|
+
createNprocCommands,
|
|
113
|
+
createNumfmtCommand,
|
|
114
|
+
createNumfmtCommands,
|
|
92
115
|
createOdCommand,
|
|
93
116
|
createOdCommands,
|
|
94
117
|
createOpensslCommand,
|
|
95
118
|
createOpensslCommands,
|
|
119
|
+
createShufCommand,
|
|
120
|
+
createShufCommands,
|
|
96
121
|
createSplitCommand,
|
|
97
122
|
createSplitCommands,
|
|
123
|
+
createSpongeCommand,
|
|
124
|
+
createSpongeCommands,
|
|
125
|
+
createSqlite3Command,
|
|
126
|
+
createSqlite3Commands,
|
|
98
127
|
createSshCommand,
|
|
99
128
|
createSshCommands,
|
|
100
129
|
createSshKeygenCommand,
|
|
101
130
|
createStandardCommandsWithGrep,
|
|
131
|
+
createStreamFormatCommands,
|
|
132
|
+
createStreamInspectionCommands,
|
|
102
133
|
createStructuredCommands,
|
|
103
134
|
createTableTextCommands,
|
|
104
135
|
createTextProgramCommands,
|
|
136
|
+
createUnameCommand,
|
|
137
|
+
createUnameCommands,
|
|
138
|
+
createWhoamiCommand,
|
|
139
|
+
createWhoamiCommands,
|
|
105
140
|
createXxdCommand,
|
|
106
141
|
createXxdCommands,
|
|
107
142
|
createYesCommand,
|
|
108
143
|
createYesCommands,
|
|
144
|
+
ddCommands,
|
|
109
145
|
defaultJqLimits,
|
|
146
|
+
envsubstCommands,
|
|
110
147
|
evalSyncApplyPatch,
|
|
111
148
|
evalSyncSplit,
|
|
149
|
+
getconfCommands,
|
|
112
150
|
gpgCommands,
|
|
151
|
+
hostnameCommands,
|
|
152
|
+
idCommands,
|
|
153
|
+
localeCommands,
|
|
154
|
+
nprocCommands,
|
|
155
|
+
numfmtCommands,
|
|
113
156
|
odCommands,
|
|
114
157
|
opensslCommands,
|
|
115
158
|
sedCommand,
|
|
159
|
+
shufCommands,
|
|
116
160
|
splitCommands,
|
|
161
|
+
spongeCommands,
|
|
162
|
+
sqlite3Commands,
|
|
117
163
|
sshCommands,
|
|
164
|
+
streamFormatCommands,
|
|
165
|
+
streamInspectionCommands,
|
|
118
166
|
structuredCommands,
|
|
119
167
|
tableTextCommands,
|
|
120
168
|
textProgramCommands,
|
|
169
|
+
unameCommands,
|
|
170
|
+
whoamiCommands,
|
|
121
171
|
xxdCommands,
|
|
122
172
|
yesCommands
|
|
123
|
-
} from "./chunks/chunk-
|
|
173
|
+
} from "./chunks/chunk-PQRAK7HU.js";
|
|
174
|
+
import {
|
|
175
|
+
createFactorCommand,
|
|
176
|
+
createFactorCommands,
|
|
177
|
+
factorCommands
|
|
178
|
+
} from "./chunks/chunk-AM5ESLPH.js";
|
|
124
179
|
import {
|
|
125
180
|
createHdCommand,
|
|
126
181
|
createHexdumpCommand,
|
|
127
182
|
createHexdumpCommands,
|
|
128
183
|
hexdumpCommands
|
|
129
|
-
} from "./chunks/chunk-
|
|
184
|
+
} from "./chunks/chunk-CS4MNM6I.js";
|
|
185
|
+
import {
|
|
186
|
+
createTimeoutCommand,
|
|
187
|
+
createTimeoutCommands,
|
|
188
|
+
evalSyncTimeout,
|
|
189
|
+
signalName,
|
|
190
|
+
timeoutCommands
|
|
191
|
+
} from "./chunks/chunk-FBUCWVTE.js";
|
|
130
192
|
import {
|
|
131
193
|
createTsortCommand,
|
|
132
194
|
createTsortCommands,
|
|
133
195
|
tsortCommands
|
|
134
|
-
} from "./chunks/chunk-
|
|
135
|
-
import {
|
|
136
|
-
createFactorCommand,
|
|
137
|
-
createFactorCommands,
|
|
138
|
-
factorCommands
|
|
139
|
-
} from "./chunks/chunk-MHZ24KEI.js";
|
|
196
|
+
} from "./chunks/chunk-6PAVEFT3.js";
|
|
140
197
|
import {
|
|
141
198
|
DEFAULT_ARCHIVE_LIMITS,
|
|
142
199
|
archiveCommands,
|
|
143
|
-
bcCommands,
|
|
144
200
|
calCommands,
|
|
145
201
|
createArchiveCommands,
|
|
146
|
-
createBcCommand,
|
|
147
|
-
createBcCommands,
|
|
148
202
|
createCalCommand,
|
|
149
203
|
createCalCommands,
|
|
150
|
-
createDdCommand,
|
|
151
|
-
createDdCommands,
|
|
152
204
|
createDfCommand,
|
|
153
205
|
createDfCommands,
|
|
206
|
+
createDiffCommand,
|
|
207
|
+
createDiffCommands,
|
|
154
208
|
createDiffPatchCommands,
|
|
155
209
|
createDuCommand,
|
|
156
210
|
createDuCommands,
|
|
157
|
-
createEnvsubstCommand,
|
|
158
|
-
createEnvsubstCommands,
|
|
159
211
|
createFdCommand,
|
|
160
212
|
createFdCommands,
|
|
161
213
|
createFileCommand,
|
|
162
214
|
createFileCommands,
|
|
163
|
-
createGetconfCommand,
|
|
164
|
-
createGetconfCommands,
|
|
165
|
-
createHostnameCommand,
|
|
166
|
-
createHostnameCommands,
|
|
167
215
|
createHtmlToMarkdownCommand,
|
|
168
216
|
createHtmlToMarkdownCommands,
|
|
169
|
-
createIdCommand,
|
|
170
|
-
createIdCommands,
|
|
171
217
|
createLessCommand,
|
|
172
218
|
createLessCommands,
|
|
173
|
-
createLocaleCommand,
|
|
174
|
-
createLocaleCommands,
|
|
175
219
|
createMetadataCommands,
|
|
176
220
|
createMoreCommand,
|
|
177
221
|
createNcalCommand,
|
|
178
|
-
createNprocCommand,
|
|
179
|
-
createNprocCommands,
|
|
180
|
-
createNumfmtCommand,
|
|
181
|
-
createNumfmtCommands,
|
|
182
222
|
createPagerCommands,
|
|
223
|
+
createPatchCommand,
|
|
224
|
+
createPatchCommands,
|
|
183
225
|
createPathchkCommand,
|
|
184
226
|
createPathchkCommands,
|
|
185
227
|
createRgCommand,
|
|
186
|
-
createShufCommand,
|
|
187
|
-
createShufCommands,
|
|
188
|
-
createSpongeCommand,
|
|
189
|
-
createSpongeCommands,
|
|
190
|
-
createSqlite3Command,
|
|
191
|
-
createSqlite3Commands,
|
|
192
|
-
createStreamFormatCommands,
|
|
193
|
-
createStreamInspectionCommands,
|
|
194
228
|
createTarCommand,
|
|
229
|
+
createTarCommands,
|
|
195
230
|
createTimeEnvCommands,
|
|
196
231
|
createTreeCommand,
|
|
197
232
|
createTreeCommands,
|
|
198
|
-
createUnameCommand,
|
|
199
|
-
createUnameCommands,
|
|
200
233
|
createUnzipCommand,
|
|
234
|
+
createUnzipCommands,
|
|
201
235
|
createWhichCommand,
|
|
202
236
|
createWhichCommands,
|
|
203
|
-
createWhoamiCommand,
|
|
204
|
-
createWhoamiCommands,
|
|
205
237
|
createZipCommand,
|
|
206
|
-
|
|
238
|
+
createZipCommands,
|
|
207
239
|
dfCommands,
|
|
240
|
+
diffCommand,
|
|
241
|
+
diffCommands,
|
|
208
242
|
diffPatchCommands,
|
|
209
243
|
duCommands,
|
|
210
|
-
envsubstCommands,
|
|
211
244
|
evalSyncDate,
|
|
212
245
|
evalSyncDiff,
|
|
213
246
|
evalSyncDu,
|
|
@@ -226,41 +259,33 @@ import {
|
|
|
226
259
|
evalSyncZip,
|
|
227
260
|
fdCommands,
|
|
228
261
|
fileCommands,
|
|
229
|
-
getconfCommands,
|
|
230
|
-
hostnameCommands,
|
|
231
262
|
htmlToMarkdownCommands,
|
|
232
|
-
idCommands,
|
|
233
263
|
lessCommands,
|
|
234
|
-
localeCommands,
|
|
235
264
|
metadataCommands,
|
|
236
|
-
nprocCommands,
|
|
237
|
-
numfmtCommands,
|
|
238
265
|
pagerCommands,
|
|
266
|
+
patchCommand,
|
|
267
|
+
patchCommands,
|
|
239
268
|
pathchkCommands,
|
|
240
|
-
|
|
241
|
-
spongeCommands,
|
|
242
|
-
sqlite3Commands,
|
|
243
|
-
streamFormatCommands,
|
|
244
|
-
streamInspectionCommands,
|
|
269
|
+
tarCommands,
|
|
245
270
|
timeEnvCommands,
|
|
246
271
|
treeCommands,
|
|
247
|
-
|
|
272
|
+
unzipCommands,
|
|
248
273
|
whichCommands,
|
|
249
|
-
|
|
250
|
-
} from "./chunks/chunk-
|
|
251
|
-
import "./chunks/chunk-
|
|
274
|
+
zipCommands
|
|
275
|
+
} from "./chunks/chunk-SZH7EJLD.js";
|
|
276
|
+
import "./chunks/chunk-MHMMRCYC.js";
|
|
252
277
|
import {
|
|
253
278
|
createGetoptCommand,
|
|
254
279
|
createGetoptCommands,
|
|
255
280
|
evalSyncGetopt,
|
|
256
281
|
getoptCommands
|
|
257
|
-
} from "./chunks/chunk-
|
|
282
|
+
} from "./chunks/chunk-AUSNDQTJ.js";
|
|
258
283
|
import {
|
|
259
284
|
createIconvCommand,
|
|
260
285
|
createIconvCommands,
|
|
261
286
|
evalSyncIconv,
|
|
262
287
|
iconvCommands
|
|
263
|
-
} from "./chunks/chunk-
|
|
288
|
+
} from "./chunks/chunk-CTVWDACF.js";
|
|
264
289
|
import {
|
|
265
290
|
createDos2unixCommand,
|
|
266
291
|
createDos2unixCommands,
|
|
@@ -269,7 +294,7 @@ import {
|
|
|
269
294
|
dos2unixCommands,
|
|
270
295
|
dos2unixCommands2,
|
|
271
296
|
evalSyncLineEndings
|
|
272
|
-
} from "./chunks/chunk-
|
|
297
|
+
} from "./chunks/chunk-3R3AANOR.js";
|
|
273
298
|
import {
|
|
274
299
|
MdqError,
|
|
275
300
|
createMdqCommand,
|
|
@@ -279,7 +304,8 @@ import {
|
|
|
279
304
|
mdqCommand,
|
|
280
305
|
mdqCommands,
|
|
281
306
|
parseMdqArguments
|
|
282
|
-
} from "./chunks/chunk-
|
|
307
|
+
} from "./chunks/chunk-OV6IHKO6.js";
|
|
308
|
+
import "./chunks/chunk-XVOSKJE2.js";
|
|
283
309
|
import {
|
|
284
310
|
createXmlCommands,
|
|
285
311
|
createXmllintCommand,
|
|
@@ -289,36 +315,20 @@ import {
|
|
|
289
315
|
evalSyncXq,
|
|
290
316
|
xmlCommands,
|
|
291
317
|
xmllintCommands
|
|
292
|
-
} from "./chunks/chunk-
|
|
293
|
-
import "./chunks/chunk-O4ZUCRGN.js";
|
|
318
|
+
} from "./chunks/chunk-C5OWC2TL.js";
|
|
294
319
|
import {
|
|
295
320
|
PublicDiagnostic
|
|
296
|
-
} from "./chunks/chunk-
|
|
297
|
-
import "./chunks/chunk-
|
|
321
|
+
} from "./chunks/chunk-IVRQ4BXL.js";
|
|
322
|
+
import "./chunks/chunk-D3ANYGMC.js";
|
|
298
323
|
import {
|
|
299
324
|
createPrCommand,
|
|
300
325
|
createPrCommands,
|
|
301
326
|
evalSyncPr,
|
|
302
327
|
prCommands
|
|
303
|
-
} from "./chunks/chunk-
|
|
328
|
+
} from "./chunks/chunk-CHYGPFVM.js";
|
|
304
329
|
import {
|
|
305
330
|
RegexExecutionError
|
|
306
|
-
} from "./chunks/chunk-
|
|
307
|
-
import {
|
|
308
|
-
RegexExecutor,
|
|
309
|
-
RegexSession,
|
|
310
|
-
createBoundedRegexProvider
|
|
311
|
-
} from "./chunks/chunk-6HZYFL3H.js";
|
|
312
|
-
import "./chunks/chunk-LUOFIVNI.js";
|
|
313
|
-
import {
|
|
314
|
-
createTimeoutCommand,
|
|
315
|
-
createTimeoutCommands,
|
|
316
|
-
evalSyncTimeout,
|
|
317
|
-
signalName,
|
|
318
|
-
timeoutCommands
|
|
319
|
-
} from "./chunks/chunk-SOZK5JVX.js";
|
|
320
|
-
import "./chunks/chunk-LLZCZ24K.js";
|
|
321
|
-
import "./chunks/chunk-KTGR4U57.js";
|
|
331
|
+
} from "./chunks/chunk-46Z5E5EV.js";
|
|
322
332
|
import {
|
|
323
333
|
EreLedger,
|
|
324
334
|
EreProfileLimitError,
|
|
@@ -327,9 +337,14 @@ import {
|
|
|
327
337
|
EreUsageUnknownError,
|
|
328
338
|
compileEre,
|
|
329
339
|
matchEre
|
|
330
|
-
} from "./chunks/chunk-
|
|
331
|
-
import
|
|
332
|
-
|
|
340
|
+
} from "./chunks/chunk-6O77NL2S.js";
|
|
341
|
+
import {
|
|
342
|
+
RegexExecutor,
|
|
343
|
+
RegexSession,
|
|
344
|
+
createBoundedRegexProvider
|
|
345
|
+
} from "./chunks/chunk-NR3EM4LS.js";
|
|
346
|
+
import "./chunks/chunk-A7XEHALN.js";
|
|
347
|
+
import "./chunks/chunk-J42RIHHJ.js";
|
|
333
348
|
import {
|
|
334
349
|
PythonPackageConflictError,
|
|
335
350
|
createPythonCommands,
|
|
@@ -348,26 +363,27 @@ import {
|
|
|
348
363
|
pythonCommands,
|
|
349
364
|
pythonDocumentPackages,
|
|
350
365
|
pythonHostFailureCode
|
|
351
|
-
} from "./chunks/chunk-
|
|
352
|
-
import "./chunks/chunk-
|
|
353
|
-
import "./chunks/chunk-
|
|
354
|
-
import "./chunks/chunk-
|
|
355
|
-
import "./chunks/chunk-
|
|
366
|
+
} from "./chunks/chunk-VQDD3G76.js";
|
|
367
|
+
import "./chunks/chunk-I5HZ4FGE.js";
|
|
368
|
+
import "./chunks/chunk-ICFDYV64.js";
|
|
369
|
+
import "./chunks/chunk-VTH3MLDU.js";
|
|
370
|
+
import "./chunks/chunk-NZQXYWA3.js";
|
|
371
|
+
import {
|
|
372
|
+
createBufferedOutput,
|
|
373
|
+
withInputByteBudget
|
|
374
|
+
} from "./chunks/chunk-74GHTNJA.js";
|
|
356
375
|
import {
|
|
357
376
|
CommandRegistry,
|
|
358
377
|
builtInDirectContextExecutors,
|
|
359
378
|
isDefaultCommandOptions,
|
|
360
379
|
registerDefaultExecutor,
|
|
361
380
|
registerDefaultExecutors
|
|
362
|
-
} from "./chunks/chunk-
|
|
363
|
-
import {
|
|
364
|
-
createBufferedOutput
|
|
365
|
-
} from "./chunks/chunk-PYVEAFJM.js";
|
|
381
|
+
} from "./chunks/chunk-7R5BDCG7.js";
|
|
366
382
|
import {
|
|
367
383
|
PythonFailure,
|
|
368
384
|
inspectPythonCapabilities
|
|
369
|
-
} from "./chunks/chunk-
|
|
370
|
-
import "./chunks/chunk-
|
|
385
|
+
} from "./chunks/chunk-LVOBFF4D.js";
|
|
386
|
+
import "./chunks/chunk-IWDICZVK.js";
|
|
371
387
|
import {
|
|
372
388
|
captureEnvironment,
|
|
373
389
|
createDocumentHandlers,
|
|
@@ -389,14 +405,14 @@ import {
|
|
|
389
405
|
restoreEnvironment,
|
|
390
406
|
selectOpBackendContext,
|
|
391
407
|
selectOpGlobalFlags
|
|
392
|
-
} from "./chunks/chunk-
|
|
408
|
+
} from "./chunks/chunk-UE5KZDEK.js";
|
|
393
409
|
import {
|
|
394
410
|
builtInDirectContextExecutors as builtInDirectContextExecutors2,
|
|
395
411
|
diagnostic,
|
|
396
412
|
registerDefaultExecutor as registerDefaultExecutor2,
|
|
397
413
|
registerDefaultExecutors as registerDefaultExecutors2,
|
|
398
414
|
syncCommandEvaluators
|
|
399
|
-
} from "./chunks/chunk-
|
|
415
|
+
} from "./chunks/chunk-E7OYNDGL.js";
|
|
400
416
|
import {
|
|
401
417
|
createElevenLabsProvider,
|
|
402
418
|
createLlmCommand,
|
|
@@ -411,6 +427,7 @@ import {
|
|
|
411
427
|
getLlmModelAliases,
|
|
412
428
|
llmCommands,
|
|
413
429
|
llmTemplateUsesInput,
|
|
430
|
+
loadLlmStoredSchema,
|
|
414
431
|
parseLlmSchemaDsl,
|
|
415
432
|
resolveLlmSchemaInput,
|
|
416
433
|
selectLlmModelByQuery,
|
|
@@ -420,10 +437,10 @@ import {
|
|
|
420
437
|
templateYaml,
|
|
421
438
|
validateLlmTemplateParameters,
|
|
422
439
|
validateModelOptions
|
|
423
|
-
} from "./chunks/chunk-
|
|
440
|
+
} from "./chunks/chunk-OQRVVGR6.js";
|
|
424
441
|
import {
|
|
425
442
|
init_platform
|
|
426
|
-
} from "./chunks/chunk-
|
|
443
|
+
} from "./chunks/chunk-B7TAL7S5.js";
|
|
427
444
|
|
|
428
445
|
// packages/safe-bash/src/core.browser.ts
|
|
429
446
|
init_platform();
|
|
@@ -466,8 +483,8 @@ function standardCommands(options = {}) {
|
|
|
466
483
|
|
|
467
484
|
// packages/safe-bash/src/commands/search/portable.ts
|
|
468
485
|
init_platform();
|
|
469
|
-
function portableSearchCommands(options) {
|
|
470
|
-
const executor = new RegexExecutor(options.provider, options.regex);
|
|
486
|
+
function portableSearchCommands(options = {}) {
|
|
487
|
+
const executor = new RegexExecutor(options.provider ?? createBoundedRegexProvider(), options.regex);
|
|
471
488
|
const commands = [...createGrepCommands(executor), createRgCommand(executor, options.search), sedCommand(options.sed)];
|
|
472
489
|
return {
|
|
473
490
|
name: "portable-search-commands",
|
|
@@ -599,7 +616,7 @@ function bzip2Commands(options = {}) {
|
|
|
599
616
|
// packages/safe-bash/src/lazy-optional.ts
|
|
600
617
|
init_platform();
|
|
601
618
|
import { validatePandocOptions } from "../safe-bash-command-pandoc/options.js";
|
|
602
|
-
var loadffmpeg = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/ffmpeg-
|
|
619
|
+
var loadffmpeg = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/ffmpeg-WTC3TEFI.js"));
|
|
603
620
|
var ffmpegMetadata = [
|
|
604
621
|
{
|
|
605
622
|
name: "ffmpeg",
|
|
@@ -611,17 +628,17 @@ var ffmpegMetadata = [
|
|
|
611
628
|
}
|
|
612
629
|
];
|
|
613
630
|
var createFfmpegCommand = (...args) => {
|
|
614
|
-
const
|
|
615
|
-
if (!
|
|
616
|
-
return createLazyCommands([
|
|
631
|
+
const metadata2 = ffmpegMetadata.find((item) => item.name === "ffmpeg");
|
|
632
|
+
if (!metadata2) throw new TypeError("Unknown ffmpeg command");
|
|
633
|
+
return createLazyCommands([metadata2], async () => {
|
|
617
634
|
const module = await loadffmpeg();
|
|
618
635
|
return () => [module.createFfmpegCommand(...args)];
|
|
619
636
|
})[0];
|
|
620
637
|
};
|
|
621
638
|
var createFfprobeCommand = (...args) => {
|
|
622
|
-
const
|
|
623
|
-
if (!
|
|
624
|
-
return createLazyCommands([
|
|
639
|
+
const metadata2 = ffmpegMetadata.find((item) => item.name === "ffprobe");
|
|
640
|
+
if (!metadata2) throw new TypeError("Unknown ffmpeg command");
|
|
641
|
+
return createLazyCommands([metadata2], async () => {
|
|
625
642
|
const module = await loadffmpeg();
|
|
626
643
|
return () => [module.createFfprobeCommand(...args)];
|
|
627
644
|
})[0];
|
|
@@ -639,7 +656,7 @@ var createFfmpegCommands = (...args) => {
|
|
|
639
656
|
);
|
|
640
657
|
};
|
|
641
658
|
var ffmpegCommands = (options = {}) => lazyCommandPlugin("ffmpeg-commands", createFfmpegCommands(options), options.replace ?? false);
|
|
642
|
-
var loadgit = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/git-
|
|
659
|
+
var loadgit = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/git-EFZIGJW4.js"));
|
|
643
660
|
var gitMetadata = [
|
|
644
661
|
{
|
|
645
662
|
name: "git",
|
|
@@ -655,14 +672,14 @@ var createGitCommands = (...args) => {
|
|
|
655
672
|
return definitions;
|
|
656
673
|
};
|
|
657
674
|
var createGitCommand = (...args) => {
|
|
658
|
-
const
|
|
659
|
-
if (!
|
|
660
|
-
return createLazyCommands([
|
|
675
|
+
const metadata2 = gitMetadata.find((item) => item.name === "git");
|
|
676
|
+
if (!metadata2) throw new TypeError("Unknown git command");
|
|
677
|
+
return createLazyCommands([metadata2], async () => {
|
|
661
678
|
const module = await loadgit();
|
|
662
679
|
return () => [module.createGitCommand(...args)];
|
|
663
680
|
})[0];
|
|
664
681
|
};
|
|
665
|
-
var loadsoffice = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/soffice-
|
|
682
|
+
var loadsoffice = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/soffice-TU73E5KL.js"));
|
|
666
683
|
var sofficeMetadata = [
|
|
667
684
|
{
|
|
668
685
|
name: "soffice",
|
|
@@ -674,9 +691,9 @@ var sofficeMetadata = [
|
|
|
674
691
|
}
|
|
675
692
|
];
|
|
676
693
|
var createSofficeCommand = (...args) => {
|
|
677
|
-
const
|
|
678
|
-
if (!
|
|
679
|
-
return createLazyCommands([
|
|
694
|
+
const metadata2 = sofficeMetadata.find((item) => item.name === "soffice");
|
|
695
|
+
if (!metadata2) throw new TypeError("Unknown soffice command");
|
|
696
|
+
return createLazyCommands([metadata2], async () => {
|
|
680
697
|
const module = await loadsoffice();
|
|
681
698
|
return () => [module.createSofficeCommand(...args)];
|
|
682
699
|
})[0];
|
|
@@ -689,7 +706,7 @@ var createSofficeCommands = (...args) => {
|
|
|
689
706
|
});
|
|
690
707
|
return definitions;
|
|
691
708
|
};
|
|
692
|
-
var loadpandoc = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/implementation-
|
|
709
|
+
var loadpandoc = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/implementation-MLFHUQ5M.js"));
|
|
693
710
|
var pandocMetadata = [
|
|
694
711
|
{
|
|
695
712
|
name: "pandoc",
|
|
@@ -717,9 +734,9 @@ var createPandocCommands = (...args) => {
|
|
|
717
734
|
};
|
|
718
735
|
var createPandocCommand = (...args) => {
|
|
719
736
|
validatePandocOptions(args[0] === void 0 ? {} : args[0]);
|
|
720
|
-
const
|
|
721
|
-
if (!
|
|
722
|
-
return createLazyCommands([
|
|
737
|
+
const metadata2 = pandocMetadata.find((item) => item.name === "pandoc");
|
|
738
|
+
if (!metadata2) throw new TypeError("Unknown pandoc command");
|
|
739
|
+
return createLazyCommands([metadata2], async () => {
|
|
723
740
|
const module = await loadpandoc();
|
|
724
741
|
return () => [module.createPandocCommand(...args)];
|
|
725
742
|
})[0];
|
|
@@ -735,9 +752,9 @@ var ssconvertMetadata = [
|
|
|
735
752
|
}
|
|
736
753
|
];
|
|
737
754
|
var createSsconvertCommand = (...args) => {
|
|
738
|
-
const
|
|
739
|
-
if (!
|
|
740
|
-
return createLazyCommands([
|
|
755
|
+
const metadata2 = ssconvertMetadata.find((item) => item.name === "ssconvert");
|
|
756
|
+
if (!metadata2) throw new TypeError("Unknown ssconvert command");
|
|
757
|
+
return createLazyCommands([metadata2], async () => {
|
|
741
758
|
const module = await (args[0]?.formats === void 0 ? loadssconvert() : loadSelectedSsconvert());
|
|
742
759
|
return () => [module.createSsconvertCommand(...args)];
|
|
743
760
|
})[0];
|
|
@@ -754,7 +771,7 @@ var createSsconvertCommands = (...args) => {
|
|
|
754
771
|
});
|
|
755
772
|
return definitions;
|
|
756
773
|
};
|
|
757
|
-
var loadpdfinfo = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdfinfo-
|
|
774
|
+
var loadpdfinfo = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdfinfo-TIP6XLUQ.js"));
|
|
758
775
|
var pdfinfoMetadata = [
|
|
759
776
|
{
|
|
760
777
|
name: "pdfinfo",
|
|
@@ -778,9 +795,9 @@ var pdfinfoMetadata = [
|
|
|
778
795
|
}
|
|
779
796
|
];
|
|
780
797
|
var createPdfinfoCommand = (...args) => {
|
|
781
|
-
const
|
|
782
|
-
if (!
|
|
783
|
-
return createLazyCommands([
|
|
798
|
+
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfinfo");
|
|
799
|
+
if (!metadata2) throw new TypeError("Unknown pdfinfo command");
|
|
800
|
+
return createLazyCommands([metadata2], async () => {
|
|
784
801
|
const module = await loadpdfinfo();
|
|
785
802
|
return () => [module.createPdfinfoCommand(...args)];
|
|
786
803
|
})[0];
|
|
@@ -793,7 +810,7 @@ var createPdfinfoCommands = (...args) => {
|
|
|
793
810
|
});
|
|
794
811
|
return definitions;
|
|
795
812
|
};
|
|
796
|
-
var loadpdftotext = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftotext-
|
|
813
|
+
var loadpdftotext = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftotext-5IPZ4NI7.js"));
|
|
797
814
|
var pdftotextMetadata = [
|
|
798
815
|
{
|
|
799
816
|
name: "pdftotext",
|
|
@@ -805,9 +822,9 @@ var pdftotextMetadata = [
|
|
|
805
822
|
}
|
|
806
823
|
];
|
|
807
824
|
var createPdftotextCommand = (...args) => {
|
|
808
|
-
const
|
|
809
|
-
if (!
|
|
810
|
-
return createLazyCommands([
|
|
825
|
+
const metadata2 = pdftotextMetadata.find((item) => item.name === "pdftotext");
|
|
826
|
+
if (!metadata2) throw new TypeError("Unknown pdftotext command");
|
|
827
|
+
return createLazyCommands([metadata2], async () => {
|
|
811
828
|
const module = await loadpdftotext();
|
|
812
829
|
return () => [module.createPdftotextCommand(...args)];
|
|
813
830
|
})[0];
|
|
@@ -824,7 +841,7 @@ var createPdftotextCommands = (...args) => {
|
|
|
824
841
|
});
|
|
825
842
|
return definitions;
|
|
826
843
|
};
|
|
827
|
-
var loadpdfimages = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdfimages-
|
|
844
|
+
var loadpdfimages = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdfimages-DW7LWXFI.js"));
|
|
828
845
|
var pdfimagesMetadata = [
|
|
829
846
|
{
|
|
830
847
|
name: "pdfimages",
|
|
@@ -832,9 +849,9 @@ var pdfimagesMetadata = [
|
|
|
832
849
|
}
|
|
833
850
|
];
|
|
834
851
|
var createPdfimagesCommand = (...args) => {
|
|
835
|
-
const
|
|
836
|
-
if (!
|
|
837
|
-
return createLazyCommands([
|
|
852
|
+
const metadata2 = pdfimagesMetadata.find((item) => item.name === "pdfimages");
|
|
853
|
+
if (!metadata2) throw new TypeError("Unknown pdfimages command");
|
|
854
|
+
return createLazyCommands([metadata2], async () => {
|
|
838
855
|
const module = await loadpdfimages();
|
|
839
856
|
return () => [module.createPdfimagesCommand(...args)];
|
|
840
857
|
})[0];
|
|
@@ -851,7 +868,7 @@ var createPdfimagesCommands = (...args) => {
|
|
|
851
868
|
});
|
|
852
869
|
return definitions;
|
|
853
870
|
};
|
|
854
|
-
var loadpdftoppm = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftoppm-
|
|
871
|
+
var loadpdftoppm = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftoppm-WNDYR72T.js"));
|
|
855
872
|
var pdftoppmMetadata = [
|
|
856
873
|
{
|
|
857
874
|
name: "pdftoppm",
|
|
@@ -863,9 +880,9 @@ var pdftoppmMetadata = [
|
|
|
863
880
|
}
|
|
864
881
|
];
|
|
865
882
|
var createPdftoppmCommand = (...args) => {
|
|
866
|
-
const
|
|
867
|
-
if (!
|
|
868
|
-
return createLazyCommands([
|
|
883
|
+
const metadata2 = pdftoppmMetadata.find((item) => item.name === "pdftoppm");
|
|
884
|
+
if (!metadata2) throw new TypeError("Unknown pdftoppm command");
|
|
885
|
+
return createLazyCommands([metadata2], async () => {
|
|
869
886
|
const module = await loadpdftoppm();
|
|
870
887
|
return () => [module.createPdftoppmCommand(...args)];
|
|
871
888
|
})[0];
|
|
@@ -878,7 +895,7 @@ var createPdftoppmCommands = (...args) => {
|
|
|
878
895
|
});
|
|
879
896
|
return definitions;
|
|
880
897
|
};
|
|
881
|
-
var loadpdftk = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftk-
|
|
898
|
+
var loadpdftk = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftk-DMG22ITZ.js"));
|
|
882
899
|
var pdftkMetadata = [
|
|
883
900
|
{
|
|
884
901
|
name: "pdftk",
|
|
@@ -886,9 +903,9 @@ var pdftkMetadata = [
|
|
|
886
903
|
}
|
|
887
904
|
];
|
|
888
905
|
var createPdftkCommand = (...args) => {
|
|
889
|
-
const
|
|
890
|
-
if (!
|
|
891
|
-
return createLazyCommands([
|
|
906
|
+
const metadata2 = pdftkMetadata.find((item) => item.name === "pdftk");
|
|
907
|
+
if (!metadata2) throw new TypeError("Unknown pdftk command");
|
|
908
|
+
return createLazyCommands([metadata2], async () => {
|
|
892
909
|
const module = await loadpdftk();
|
|
893
910
|
return () => [module.createPdftkCommand(...args)];
|
|
894
911
|
})[0];
|
|
@@ -901,7 +918,7 @@ var createPdftkCommands = (...args) => {
|
|
|
901
918
|
});
|
|
902
919
|
return definitions;
|
|
903
920
|
};
|
|
904
|
-
var loadqpdf = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/qpdf-
|
|
921
|
+
var loadqpdf = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/qpdf-TTX2DIUA.js"));
|
|
905
922
|
var qpdfMetadata = [
|
|
906
923
|
{
|
|
907
924
|
name: "qpdf",
|
|
@@ -909,9 +926,9 @@ var qpdfMetadata = [
|
|
|
909
926
|
}
|
|
910
927
|
];
|
|
911
928
|
var createQpdfCommand = (...args) => {
|
|
912
|
-
const
|
|
913
|
-
if (!
|
|
914
|
-
return createLazyCommands([
|
|
929
|
+
const metadata2 = qpdfMetadata.find((item) => item.name === "qpdf");
|
|
930
|
+
if (!metadata2) throw new TypeError("Unknown qpdf command");
|
|
931
|
+
return createLazyCommands([metadata2], async () => {
|
|
915
932
|
const module = await loadqpdf();
|
|
916
933
|
return () => [module.createQpdfCommand(...args)];
|
|
917
934
|
})[0];
|
|
@@ -924,7 +941,7 @@ var createQpdfCommands = (...args) => {
|
|
|
924
941
|
});
|
|
925
942
|
return definitions;
|
|
926
943
|
};
|
|
927
|
-
var loadsips = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/sips-
|
|
944
|
+
var loadsips = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/sips-XYS46JPJ.js"));
|
|
928
945
|
var sipsMetadata = [
|
|
929
946
|
{
|
|
930
947
|
name: "sips",
|
|
@@ -932,9 +949,9 @@ var sipsMetadata = [
|
|
|
932
949
|
}
|
|
933
950
|
];
|
|
934
951
|
var createSipsCommand = (...args) => {
|
|
935
|
-
const
|
|
936
|
-
if (!
|
|
937
|
-
return createLazyCommands([
|
|
952
|
+
const metadata2 = sipsMetadata.find((item) => item.name === "sips");
|
|
953
|
+
if (!metadata2) throw new TypeError("Unknown sips command");
|
|
954
|
+
return createLazyCommands([metadata2], async () => {
|
|
938
955
|
const module = await loadsips();
|
|
939
956
|
return () => [module.createSipsCommand(...args)];
|
|
940
957
|
})[0];
|
|
@@ -947,7 +964,7 @@ var createSipsCommands = (...args) => {
|
|
|
947
964
|
});
|
|
948
965
|
return definitions;
|
|
949
966
|
};
|
|
950
|
-
var loadimagemagick = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/imagemagick-
|
|
967
|
+
var loadimagemagick = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/imagemagick-EIEYGWPF.js"));
|
|
951
968
|
var imagemagickMetadata = [
|
|
952
969
|
{
|
|
953
970
|
name: "magick",
|
|
@@ -979,9 +996,9 @@ var imagemagickMetadata = [
|
|
|
979
996
|
}
|
|
980
997
|
];
|
|
981
998
|
var createMagickCommand = (...args) => {
|
|
982
|
-
const
|
|
983
|
-
if (!
|
|
984
|
-
return createLazyCommands([
|
|
999
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "magick");
|
|
1000
|
+
if (!metadata2) throw new TypeError("Unknown imagemagick command");
|
|
1001
|
+
return createLazyCommands([metadata2], async () => {
|
|
985
1002
|
const module = await loadimagemagick();
|
|
986
1003
|
return () => [module.createMagickCommand(...args)];
|
|
987
1004
|
})[0];
|
|
@@ -999,14 +1016,14 @@ var createImagemagickCommands = (...args) => {
|
|
|
999
1016
|
return definitions;
|
|
1000
1017
|
};
|
|
1001
1018
|
var createImagemagickCommand = (...args) => {
|
|
1002
|
-
const
|
|
1003
|
-
if (!
|
|
1004
|
-
return createLazyCommands([
|
|
1019
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "magick");
|
|
1020
|
+
if (!metadata2) throw new TypeError("Unknown imagemagick command");
|
|
1021
|
+
return createLazyCommands([metadata2], async () => {
|
|
1005
1022
|
const module = await loadimagemagick();
|
|
1006
1023
|
return () => [module.createImagemagickCommand(...args)];
|
|
1007
1024
|
})[0];
|
|
1008
1025
|
};
|
|
1009
|
-
var loadwkhtmltopdf = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/wkhtmltopdf-
|
|
1026
|
+
var loadwkhtmltopdf = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/wkhtmltopdf-FSZ2CHGE.js"));
|
|
1010
1027
|
var wkhtmltopdfMetadata = [
|
|
1011
1028
|
{
|
|
1012
1029
|
name: "wkhtmltopdf",
|
|
@@ -1014,9 +1031,9 @@ var wkhtmltopdfMetadata = [
|
|
|
1014
1031
|
}
|
|
1015
1032
|
];
|
|
1016
1033
|
var createWkhtmltopdfCommand = (...args) => {
|
|
1017
|
-
const
|
|
1018
|
-
if (!
|
|
1019
|
-
return createLazyCommands([
|
|
1034
|
+
const metadata2 = wkhtmltopdfMetadata.find((item) => item.name === "wkhtmltopdf");
|
|
1035
|
+
if (!metadata2) throw new TypeError("Unknown wkhtmltopdf command");
|
|
1036
|
+
return createLazyCommands([metadata2], async () => {
|
|
1020
1037
|
const module = await loadwkhtmltopdf();
|
|
1021
1038
|
return () => [module.createWkhtmltopdfCommand(...args)];
|
|
1022
1039
|
})[0];
|
|
@@ -1033,7 +1050,7 @@ var createWkhtmltopdfCommands = (...args) => {
|
|
|
1033
1050
|
});
|
|
1034
1051
|
return definitions;
|
|
1035
1052
|
};
|
|
1036
|
-
var loadcsvkit = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/csvkit-
|
|
1053
|
+
var loadcsvkit = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/csvkit-TACDU7FC.js"));
|
|
1037
1054
|
var csvkitMetadata = [
|
|
1038
1055
|
{
|
|
1039
1056
|
name: "csvclean",
|
|
@@ -1103,9 +1120,9 @@ var createCsvkitCommands = (...args) => {
|
|
|
1103
1120
|
return definitions;
|
|
1104
1121
|
};
|
|
1105
1122
|
var createCsvkitCommand = (...args) => {
|
|
1106
|
-
const
|
|
1107
|
-
if (!
|
|
1108
|
-
return createLazyCommands([
|
|
1123
|
+
const metadata2 = csvkitMetadata.find((item) => item.name === (args[0]?.name ?? "csvclean"));
|
|
1124
|
+
if (!metadata2) throw new TypeError("Unknown csvkit command");
|
|
1125
|
+
return createLazyCommands([metadata2], async () => {
|
|
1109
1126
|
const module = await loadcsvkit();
|
|
1110
1127
|
return () => [module.createCsvkitCommand(...args)];
|
|
1111
1128
|
})[0];
|
|
@@ -1179,14 +1196,14 @@ var optionalFamilies = {
|
|
|
1179
1196
|
var optionalCommandCatalog = Object.freeze(
|
|
1180
1197
|
Object.entries(optionalFamilies).flatMap(
|
|
1181
1198
|
([family, entry]) => entry.metadata.map(
|
|
1182
|
-
(
|
|
1199
|
+
(metadata2) => Object.freeze({ family, ...metadata2 })
|
|
1183
1200
|
)
|
|
1184
1201
|
)
|
|
1185
1202
|
);
|
|
1186
1203
|
function createOptionalCommands(options = {}) {
|
|
1187
1204
|
const names = new Set(options.commands ?? []);
|
|
1188
1205
|
for (const name of names)
|
|
1189
|
-
if (!optionalCommandCatalog.some((
|
|
1206
|
+
if (!optionalCommandCatalog.some((metadata2) => metadata2.name === name)) {
|
|
1190
1207
|
throw new TypeError(`Unknown optional command: ${name}`);
|
|
1191
1208
|
}
|
|
1192
1209
|
const families = new Set(options.families ?? []);
|
|
@@ -1197,7 +1214,7 @@ function createOptionalCommands(options = {}) {
|
|
|
1197
1214
|
const definitions = [];
|
|
1198
1215
|
for (const [family, entry] of Object.entries(optionalFamilies)) {
|
|
1199
1216
|
const fullFamily = options.profile === "full" || families.has(family);
|
|
1200
|
-
if (!fullFamily && !entry.metadata.some((
|
|
1217
|
+
if (!fullFamily && !entry.metadata.some((metadata2) => names.has(metadata2.name))) continue;
|
|
1201
1218
|
definitions.push(
|
|
1202
1219
|
...entry.create(options.configuration ?? {}).filter((command) => fullFamily || names.has(command.name)).map((command) => options.profile === "full" ? Object.freeze({ ...command, fallback: true }) : command)
|
|
1203
1220
|
);
|
|
@@ -1212,97 +1229,97 @@ function optionalCommands(options = {}) {
|
|
|
1212
1229
|
);
|
|
1213
1230
|
}
|
|
1214
1231
|
var createConvertCommand = (...args) => {
|
|
1215
|
-
const
|
|
1216
|
-
if (!
|
|
1217
|
-
return createLazyCommands([
|
|
1232
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "convert");
|
|
1233
|
+
if (!metadata2) throw new TypeError("Unknown convert command");
|
|
1234
|
+
return createLazyCommands([metadata2], async () => {
|
|
1218
1235
|
const module = await loadimagemagick();
|
|
1219
1236
|
return () => [module.createConvertCommand(...args)];
|
|
1220
1237
|
})[0];
|
|
1221
1238
|
};
|
|
1222
1239
|
var createMogrifyCommand = (...args) => {
|
|
1223
|
-
const
|
|
1224
|
-
if (!
|
|
1225
|
-
return createLazyCommands([
|
|
1240
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "mogrify");
|
|
1241
|
+
if (!metadata2) throw new TypeError("Unknown mogrify command");
|
|
1242
|
+
return createLazyCommands([metadata2], async () => {
|
|
1226
1243
|
const module = await loadimagemagick();
|
|
1227
1244
|
return () => [module.createMogrifyCommand(...args)];
|
|
1228
1245
|
})[0];
|
|
1229
1246
|
};
|
|
1230
1247
|
var createCompositeCommand = (...args) => {
|
|
1231
|
-
const
|
|
1232
|
-
if (!
|
|
1233
|
-
return createLazyCommands([
|
|
1248
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "composite");
|
|
1249
|
+
if (!metadata2) throw new TypeError("Unknown composite command");
|
|
1250
|
+
return createLazyCommands([metadata2], async () => {
|
|
1234
1251
|
const module = await loadimagemagick();
|
|
1235
1252
|
return () => [module.createCompositeCommand(...args)];
|
|
1236
1253
|
})[0];
|
|
1237
1254
|
};
|
|
1238
1255
|
var createMontageCommand = (...args) => {
|
|
1239
|
-
const
|
|
1240
|
-
if (!
|
|
1241
|
-
return createLazyCommands([
|
|
1256
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "montage");
|
|
1257
|
+
if (!metadata2) throw new TypeError("Unknown montage command");
|
|
1258
|
+
return createLazyCommands([metadata2], async () => {
|
|
1242
1259
|
const module = await loadimagemagick();
|
|
1243
1260
|
return () => [module.createMontageCommand(...args)];
|
|
1244
1261
|
})[0];
|
|
1245
1262
|
};
|
|
1246
1263
|
var createIdentifyCommand = (...args) => {
|
|
1247
|
-
const
|
|
1248
|
-
if (!
|
|
1249
|
-
return createLazyCommands([
|
|
1264
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "identify");
|
|
1265
|
+
if (!metadata2) throw new TypeError("Unknown identify command");
|
|
1266
|
+
return createLazyCommands([metadata2], async () => {
|
|
1250
1267
|
const module = await loadimagemagick();
|
|
1251
1268
|
return () => [module.createIdentifyCommand(...args)];
|
|
1252
1269
|
})[0];
|
|
1253
1270
|
};
|
|
1254
1271
|
var createCompareCommand = (...args) => {
|
|
1255
|
-
const
|
|
1256
|
-
if (!
|
|
1257
|
-
return createLazyCommands([
|
|
1272
|
+
const metadata2 = imagemagickMetadata.find((item) => item.name === "compare");
|
|
1273
|
+
if (!metadata2) throw new TypeError("Unknown compare command");
|
|
1274
|
+
return createLazyCommands([metadata2], async () => {
|
|
1258
1275
|
const module = await loadimagemagick();
|
|
1259
1276
|
return () => [module.createCompareCommand(...args)];
|
|
1260
1277
|
})[0];
|
|
1261
1278
|
};
|
|
1262
1279
|
var createPdfuniteCommand = (...args) => {
|
|
1263
|
-
const
|
|
1264
|
-
if (!
|
|
1265
|
-
return createLazyCommands([
|
|
1280
|
+
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfunite");
|
|
1281
|
+
if (!metadata2) throw new TypeError("Unknown pdfunite command");
|
|
1282
|
+
return createLazyCommands([metadata2], async () => {
|
|
1266
1283
|
const module = await loadpdfinfo();
|
|
1267
1284
|
return () => [module.createPdfuniteCommand(...args)];
|
|
1268
1285
|
})[0];
|
|
1269
1286
|
};
|
|
1270
1287
|
var createPdfseparateCommand = (...args) => {
|
|
1271
|
-
const
|
|
1272
|
-
if (!
|
|
1273
|
-
return createLazyCommands([
|
|
1288
|
+
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfseparate");
|
|
1289
|
+
if (!metadata2) throw new TypeError("Unknown pdfseparate command");
|
|
1290
|
+
return createLazyCommands([metadata2], async () => {
|
|
1274
1291
|
const module = await loadpdfinfo();
|
|
1275
1292
|
return () => [module.createPdfseparateCommand(...args)];
|
|
1276
1293
|
})[0];
|
|
1277
1294
|
};
|
|
1278
1295
|
var createPdffontsCommand = (...args) => {
|
|
1279
|
-
const
|
|
1280
|
-
if (!
|
|
1281
|
-
return createLazyCommands([
|
|
1296
|
+
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdffonts");
|
|
1297
|
+
if (!metadata2) throw new TypeError("Unknown pdffonts command");
|
|
1298
|
+
return createLazyCommands([metadata2], async () => {
|
|
1282
1299
|
const module = await loadpdfinfo();
|
|
1283
1300
|
return () => [module.createPdffontsCommand(...args)];
|
|
1284
1301
|
})[0];
|
|
1285
1302
|
};
|
|
1286
1303
|
var createPdfdetachCommand = (...args) => {
|
|
1287
|
-
const
|
|
1288
|
-
if (!
|
|
1289
|
-
return createLazyCommands([
|
|
1304
|
+
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfdetach");
|
|
1305
|
+
if (!metadata2) throw new TypeError("Unknown pdfdetach command");
|
|
1306
|
+
return createLazyCommands([metadata2], async () => {
|
|
1290
1307
|
const module = await loadpdfinfo();
|
|
1291
1308
|
return () => [module.createPdfdetachCommand(...args)];
|
|
1292
1309
|
})[0];
|
|
1293
1310
|
};
|
|
1294
1311
|
var createPdftocairoCommand = (...args) => {
|
|
1295
|
-
const
|
|
1296
|
-
if (!
|
|
1297
|
-
return createLazyCommands([
|
|
1312
|
+
const metadata2 = pdftoppmMetadata.find((item) => item.name === "pdftocairo");
|
|
1313
|
+
if (!metadata2) throw new TypeError("Unknown pdftocairo command");
|
|
1314
|
+
return createLazyCommands([metadata2], async () => {
|
|
1298
1315
|
const module = await loadpdfinfo();
|
|
1299
1316
|
return () => [module.createPdftocairoCommand(...args)];
|
|
1300
1317
|
})[0];
|
|
1301
1318
|
};
|
|
1302
1319
|
var createLibreofficeCommand = (...args) => {
|
|
1303
|
-
const
|
|
1304
|
-
if (!
|
|
1305
|
-
return createLazyCommands([
|
|
1320
|
+
const metadata2 = sofficeMetadata.find((item) => item.name === "libreoffice");
|
|
1321
|
+
if (!metadata2) throw new TypeError("Unknown libreoffice command");
|
|
1322
|
+
return createLazyCommands([metadata2], async () => {
|
|
1306
1323
|
const module = await loadsoffice();
|
|
1307
1324
|
return () => [module.createLibreofficeCommand(...args)];
|
|
1308
1325
|
})[0];
|
|
@@ -1353,80 +1370,29 @@ function exiftoolCommands(options = {}) {
|
|
|
1353
1370
|
}
|
|
1354
1371
|
syncCommandEvaluators.evalSyncExiftool = evalSyncExiftool;
|
|
1355
1372
|
|
|
1356
|
-
// packages/safe-bash/src/
|
|
1373
|
+
// packages/safe-bash/src/lazy-mmdc.ts
|
|
1357
1374
|
init_platform();
|
|
1358
|
-
import {
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
var
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
return defs;
|
|
1380
|
-
}
|
|
1381
|
-
function mmdcCommands(settings4) {
|
|
1382
|
-
const plugin = rawMmdcCommands(settings4);
|
|
1383
|
-
for (let i = 0; i < plugin.length; i++) builtInDirectContextExecutors2.add(plugin[i].execute);
|
|
1384
|
-
return plugin;
|
|
1385
|
-
}
|
|
1386
|
-
var mmdcUtf8Encoder = new TextEncoder();
|
|
1387
|
-
function evalSyncMmdc(inBytes, opArgs, readFileSync, writeFileSync) {
|
|
1388
|
-
try {
|
|
1389
|
-
const parsed = parseMmdcArguments(opArgs);
|
|
1390
|
-
if (parsed.action === "help") return MMDC_HELP_TEXT;
|
|
1391
|
-
if (parsed.action === "version") return `${MMDC_VERSION}
|
|
1392
|
-
`;
|
|
1393
|
-
if (parsed.outputFormat !== "svg") return void 0;
|
|
1394
|
-
let cfgTheme;
|
|
1395
|
-
let cfgWidth;
|
|
1396
|
-
let cfgHeight;
|
|
1397
|
-
let cfgSvgId;
|
|
1398
|
-
let cfgBg;
|
|
1399
|
-
if (parsed.configFile !== void 0) {
|
|
1400
|
-
const cfgBytes = readFileSync?.(parsed.configFile);
|
|
1401
|
-
if (!cfgBytes) return void 0;
|
|
1402
|
-
const cfg = JSON.parse(utf8Decoder.decode(cfgBytes));
|
|
1403
|
-
if (!cfg || typeof cfg !== "object" || Array.isArray(cfg)) return void 0;
|
|
1404
|
-
const allowedKeys = /* @__PURE__ */ new Set(["theme", "rankGap", "nodeGap", "padding", "width", "height", "scale", "backgroundColor", "flowchart", "themeVariables"]);
|
|
1405
|
-
if (Object.keys(cfg).some((k) => !allowedKeys.has(k))) return void 0;
|
|
1406
|
-
if (typeof cfg.theme === "string") cfgTheme = cfg.theme;
|
|
1407
|
-
if (typeof cfg.width === "number") cfgWidth = cfg.width;
|
|
1408
|
-
if (typeof cfg.height === "number") cfgHeight = cfg.height;
|
|
1409
|
-
if (typeof cfg.backgroundColor === "string") cfgBg = cfg.backgroundColor;
|
|
1410
|
-
}
|
|
1411
|
-
const rawBytes = parsed.input === "-" ? inBytes : readFileSync?.(parsed.input);
|
|
1412
|
-
if (!rawBytes || rawBytes.byteLength > 262144) return void 0;
|
|
1413
|
-
const sourceText = utf8Decoder.decode(rawBytes);
|
|
1414
|
-
const res = renderMermaidSvg(sourceText, {
|
|
1415
|
-
theme: parsed.theme ?? cfgTheme ?? "light",
|
|
1416
|
-
width: parsed.width ?? cfgWidth,
|
|
1417
|
-
height: parsed.height ?? cfgHeight,
|
|
1418
|
-
svgId: parsed.svgId ?? cfgSvgId,
|
|
1419
|
-
backgroundColor: parsed.backgroundColor ?? cfgBg
|
|
1420
|
-
});
|
|
1421
|
-
if (parsed.output !== "-") {
|
|
1422
|
-
if (!writeFileSync || !writeFileSync(parsed.output, mmdcUtf8Encoder.encode(res.svg))) return void 0;
|
|
1423
|
-
return "";
|
|
1424
|
-
}
|
|
1425
|
-
return res.svg;
|
|
1426
|
-
} catch {
|
|
1427
|
-
return void 0;
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1375
|
+
import { snapshotMmdcSettings } from "../safe-bash-command-mmdc/settings.js";
|
|
1376
|
+
var loadMmdc = createLazyCommandLoader(() => import("./chunks/mmdc-ROQJT5HQ.js"));
|
|
1377
|
+
var metadata = [{ name: "mmdc", description: "Render Mermaid diagrams to SVG or PNG" }];
|
|
1378
|
+
var createMmdcCommands = (settings4) => {
|
|
1379
|
+
const captured = snapshotMmdcSettings(settings4);
|
|
1380
|
+
return createLazyCommands(metadata, async () => {
|
|
1381
|
+
const module = await loadMmdc();
|
|
1382
|
+
return () => module.createMmdcCommands(captured);
|
|
1383
|
+
});
|
|
1384
|
+
};
|
|
1385
|
+
var createMmdcCommand = (settings4) => {
|
|
1386
|
+
const captured = snapshotMmdcSettings(settings4);
|
|
1387
|
+
return createLazyCommands(metadata, async () => {
|
|
1388
|
+
const module = await loadMmdc();
|
|
1389
|
+
return () => [module.createMmdcCommand(captured)];
|
|
1390
|
+
})[0];
|
|
1391
|
+
};
|
|
1392
|
+
var mmdcCommands = (settings4 = {}) => {
|
|
1393
|
+
const commands = createMmdcCommands(settings4);
|
|
1394
|
+
return Object.freeze(Object.assign([...commands], lazyCommandPlugin("mmdc-commands", commands, settings4.replace ?? false)));
|
|
1395
|
+
};
|
|
1430
1396
|
|
|
1431
1397
|
// packages/safe-bash/src/commands/fmt/index.ts
|
|
1432
1398
|
init_platform();
|
|
@@ -1556,7 +1522,7 @@ import {
|
|
|
1556
1522
|
createXzCommand as createBaseXzCommand,
|
|
1557
1523
|
createXzCommands as createBaseXzCommands
|
|
1558
1524
|
} from "../safe-bash-command-xz/index.js";
|
|
1559
|
-
import {} from "../safe-bash-command-xz/index.js";
|
|
1525
|
+
import { createUnxzCommand, createXzcatCommand } from "../safe-bash-command-xz/index.js";
|
|
1560
1526
|
function isDefaultXzOptions(options) {
|
|
1561
1527
|
return options === void 0 || options.maxDecodedBytes === void 0;
|
|
1562
1528
|
}
|
|
@@ -1589,6 +1555,30 @@ function xzCommands(options = {}) {
|
|
|
1589
1555
|
};
|
|
1590
1556
|
}
|
|
1591
1557
|
|
|
1558
|
+
// packages/safe-bash/src/commands/sed/index.ts
|
|
1559
|
+
init_platform();
|
|
1560
|
+
import { createSedCommand, createSedCommands, sedCommand as sedCommand2, sedCommands } from "../safe-bash-command-sed/index.js";
|
|
1561
|
+
|
|
1562
|
+
// packages/safe-bash/src/commands/awk/index.ts
|
|
1563
|
+
init_platform();
|
|
1564
|
+
import { awkCommand, awkCommands, createAwkCommand, createAwkCommands } from "../safe-bash-command-awk/index.js";
|
|
1565
|
+
|
|
1566
|
+
// packages/safe-bash/src/commands/find/index.ts
|
|
1567
|
+
init_platform();
|
|
1568
|
+
import { createFindCommand, createFindCommands, evalSyncFind, findCommands } from "../safe-bash-command-find/index.js";
|
|
1569
|
+
|
|
1570
|
+
// packages/safe-bash/src/commands/gzip/index.ts
|
|
1571
|
+
init_platform();
|
|
1572
|
+
import { createGzipCommand, createGzipCommands, gzipCommands } from "../safe-bash-command-gzip/index.js";
|
|
1573
|
+
|
|
1574
|
+
// packages/safe-bash/src/commands/wget/index.ts
|
|
1575
|
+
init_platform();
|
|
1576
|
+
import { createWgetCommand as createWgetCommand2, createWgetCommands, wgetCommands } from "../safe-bash-command-wget/index.js";
|
|
1577
|
+
|
|
1578
|
+
// packages/safe-bash/src/fs/s3/index.ts
|
|
1579
|
+
init_platform();
|
|
1580
|
+
import { S3FileSystem, S3RenameError, MockS3Client, createS3Transport, encodeCopySource, S3ServiceError, createS3NamespaceFileSystem } from "@poe-platform/safe-fs/core";
|
|
1581
|
+
|
|
1592
1582
|
// packages/safe-bash/src/core.browser.ts
|
|
1593
1583
|
import { CommandArgumentIdentityError, createCommandArguments, getCommandArguments, commandRuntimeIdentity, CommandRegistry as CommandRegistry2, validateExitCode } from "../safe-bash-contracts/command.js";
|
|
1594
1584
|
import { evaluateCommandSupport, assertCommandRequirements } from "../safe-bash-contracts/command-requirements.js";
|
|
@@ -1612,6 +1602,7 @@ export {
|
|
|
1612
1602
|
InputByteBudget,
|
|
1613
1603
|
MdqError,
|
|
1614
1604
|
MemoryFileSystem,
|
|
1605
|
+
MockS3Client,
|
|
1615
1606
|
MountFileSystem,
|
|
1616
1607
|
OverlayFileSystem,
|
|
1617
1608
|
PythonFailure,
|
|
@@ -1620,6 +1611,9 @@ export {
|
|
|
1620
1611
|
RegexExecutionError,
|
|
1621
1612
|
RegexExecutor,
|
|
1622
1613
|
RegexSession,
|
|
1614
|
+
S3FileSystem,
|
|
1615
|
+
S3RenameError,
|
|
1616
|
+
S3ServiceError,
|
|
1623
1617
|
SafeJsCommandLimitError,
|
|
1624
1618
|
Shell,
|
|
1625
1619
|
ShellLimitError,
|
|
@@ -1630,6 +1624,8 @@ export {
|
|
|
1630
1624
|
archiveCommands,
|
|
1631
1625
|
assertCommandRequirements,
|
|
1632
1626
|
assertPathWithin,
|
|
1627
|
+
awkCommand,
|
|
1628
|
+
awkCommands,
|
|
1633
1629
|
baseAgentCommands,
|
|
1634
1630
|
basename,
|
|
1635
1631
|
bcCommands,
|
|
@@ -1650,6 +1646,8 @@ export {
|
|
|
1650
1646
|
createApplyPatchCommand,
|
|
1651
1647
|
createApplyPatchCommands,
|
|
1652
1648
|
createArchiveCommands,
|
|
1649
|
+
createAwkCommand,
|
|
1650
|
+
createAwkCommands,
|
|
1653
1651
|
createBcCommand,
|
|
1654
1652
|
createBcCommands,
|
|
1655
1653
|
createBoundedRegexProvider,
|
|
@@ -1684,6 +1682,8 @@ export {
|
|
|
1684
1682
|
createDfCommands,
|
|
1685
1683
|
createDiff3Command,
|
|
1686
1684
|
createDiff3Commands,
|
|
1685
|
+
createDiffCommand,
|
|
1686
|
+
createDiffCommands,
|
|
1687
1687
|
createDiffPatchCommands,
|
|
1688
1688
|
createDocumentHandlers,
|
|
1689
1689
|
createDos2unixCommand,
|
|
@@ -1708,6 +1708,8 @@ export {
|
|
|
1708
1708
|
createFfprobeCommand,
|
|
1709
1709
|
createFileCommand,
|
|
1710
1710
|
createFileCommands,
|
|
1711
|
+
createFindCommand,
|
|
1712
|
+
createFindCommands,
|
|
1711
1713
|
createFmtCommand,
|
|
1712
1714
|
createFmtCommands,
|
|
1713
1715
|
createFoldCommand,
|
|
@@ -1724,6 +1726,8 @@ export {
|
|
|
1724
1726
|
createGpgCommand,
|
|
1725
1727
|
createGpgCommands,
|
|
1726
1728
|
createGrepAliasCommands,
|
|
1729
|
+
createGzipCommand,
|
|
1730
|
+
createGzipCommands,
|
|
1727
1731
|
createHdCommand,
|
|
1728
1732
|
createHexdumpCommand,
|
|
1729
1733
|
createHexdumpCommands,
|
|
@@ -1759,6 +1763,8 @@ export {
|
|
|
1759
1763
|
createMdqCommands,
|
|
1760
1764
|
createMemoryFileSystem,
|
|
1761
1765
|
createMetadataCommands,
|
|
1766
|
+
createMikeYqCommand,
|
|
1767
|
+
createMikeYqCommands,
|
|
1762
1768
|
createMmdcCommand,
|
|
1763
1769
|
createMmdcCommands,
|
|
1764
1770
|
createMogrifyCommand,
|
|
@@ -1790,6 +1796,8 @@ export {
|
|
|
1790
1796
|
createPagerCommands,
|
|
1791
1797
|
createPandocCommand,
|
|
1792
1798
|
createPandocCommands,
|
|
1799
|
+
createPatchCommand,
|
|
1800
|
+
createPatchCommands,
|
|
1793
1801
|
createPathchkCommand,
|
|
1794
1802
|
createPathchkCommands,
|
|
1795
1803
|
createPdfdetachCommand,
|
|
@@ -1825,9 +1833,13 @@ export {
|
|
|
1825
1833
|
createQpdfCommand,
|
|
1826
1834
|
createQpdfCommands,
|
|
1827
1835
|
createReadOnlyFileSystem,
|
|
1836
|
+
createS3NamespaceFileSystem,
|
|
1837
|
+
createS3Transport,
|
|
1828
1838
|
createSafeJsNodeCommands as createSafeJsCommands,
|
|
1829
1839
|
createSearchCommands,
|
|
1830
1840
|
createSecretHandlers,
|
|
1841
|
+
createSedCommand,
|
|
1842
|
+
createSedCommands,
|
|
1831
1843
|
createSha512sumCommand,
|
|
1832
1844
|
createSha512sumCommands,
|
|
1833
1845
|
createShufCommand,
|
|
@@ -1853,6 +1865,7 @@ export {
|
|
|
1853
1865
|
createStructuredCommands,
|
|
1854
1866
|
createTableTextCommands,
|
|
1855
1867
|
createTarCommand,
|
|
1868
|
+
createTarCommands,
|
|
1856
1869
|
createTextProgramCommands,
|
|
1857
1870
|
createTimeEnvCommands,
|
|
1858
1871
|
createTimeoutCommand,
|
|
@@ -1866,8 +1879,11 @@ export {
|
|
|
1866
1879
|
createUnix2dosCommand,
|
|
1867
1880
|
createUnrtfCommand,
|
|
1868
1881
|
createUnrtfCommands,
|
|
1882
|
+
createUnxzCommand,
|
|
1869
1883
|
createUnzipCommand,
|
|
1884
|
+
createUnzipCommands,
|
|
1870
1885
|
createWgetCommand,
|
|
1886
|
+
createWgetCommands,
|
|
1871
1887
|
createWhichCommand,
|
|
1872
1888
|
createWhichCommands,
|
|
1873
1889
|
createWhoamiCommand,
|
|
@@ -1881,11 +1897,13 @@ export {
|
|
|
1881
1897
|
createXxdCommands,
|
|
1882
1898
|
createXzCommand,
|
|
1883
1899
|
createXzCommands,
|
|
1900
|
+
createXzcatCommand,
|
|
1884
1901
|
createYesCommand,
|
|
1885
1902
|
createYesCommands,
|
|
1886
1903
|
createYqCommand,
|
|
1887
1904
|
createYqCommands,
|
|
1888
1905
|
createZipCommand,
|
|
1906
|
+
createZipCommands,
|
|
1889
1907
|
csplitCommands,
|
|
1890
1908
|
csvcutCommands,
|
|
1891
1909
|
csvgrepCommands,
|
|
@@ -1899,11 +1917,14 @@ export {
|
|
|
1899
1917
|
defaultXmlQueryLimits,
|
|
1900
1918
|
dfCommands,
|
|
1901
1919
|
diff3Commands,
|
|
1920
|
+
diffCommand,
|
|
1921
|
+
diffCommands,
|
|
1902
1922
|
diffPatchCommands,
|
|
1903
1923
|
dirname,
|
|
1904
1924
|
dos2unixCommands,
|
|
1905
1925
|
duCommands,
|
|
1906
1926
|
createEgrepCommand as egrepCommand,
|
|
1927
|
+
encodeCopySource,
|
|
1907
1928
|
encodeLlmBase64,
|
|
1908
1929
|
envsubstCommands,
|
|
1909
1930
|
evalSyncApplyPatch,
|
|
@@ -1913,6 +1934,7 @@ export {
|
|
|
1913
1934
|
evalSyncDiff,
|
|
1914
1935
|
evalSyncDu,
|
|
1915
1936
|
evalSyncFile,
|
|
1937
|
+
evalSyncFind,
|
|
1916
1938
|
evalSyncGetopt,
|
|
1917
1939
|
evalSyncHtmlToMarkdown,
|
|
1918
1940
|
evalSyncIconv,
|
|
@@ -1948,6 +1970,7 @@ export {
|
|
|
1948
1970
|
ffmpegCommands,
|
|
1949
1971
|
createFgrepCommand as fgrepCommand,
|
|
1950
1972
|
fileCommands,
|
|
1973
|
+
findCommands,
|
|
1951
1974
|
findExtractedRange,
|
|
1952
1975
|
fmtCommands,
|
|
1953
1976
|
foldCommands,
|
|
@@ -1960,6 +1983,7 @@ export {
|
|
|
1960
1983
|
gitCommands,
|
|
1961
1984
|
gpgCommands,
|
|
1962
1985
|
grepAliasCommands,
|
|
1986
|
+
gzipCommands,
|
|
1963
1987
|
hexdumpCommands,
|
|
1964
1988
|
hostnameCommands,
|
|
1965
1989
|
htmlToMarkdownCommands,
|
|
@@ -1979,6 +2003,7 @@ export {
|
|
|
1979
2003
|
dos2unixCommands2 as lineEndingCommands,
|
|
1980
2004
|
llmCommands,
|
|
1981
2005
|
llmTemplateUsesInput,
|
|
2006
|
+
loadLlmStoredSchema,
|
|
1982
2007
|
localeCommands,
|
|
1983
2008
|
makeSafeJsShellModule,
|
|
1984
2009
|
matchEre,
|
|
@@ -1986,6 +2011,7 @@ export {
|
|
|
1986
2011
|
mdqCommand,
|
|
1987
2012
|
mdqCommands,
|
|
1988
2013
|
metadataCommands,
|
|
2014
|
+
mikeYqCommands,
|
|
1989
2015
|
mmdcCommands,
|
|
1990
2016
|
networkCommands,
|
|
1991
2017
|
safeJsNodeCommands as nodeCommands,
|
|
@@ -2006,6 +2032,8 @@ export {
|
|
|
2006
2032
|
parseOpFileMode,
|
|
2007
2033
|
parseSecretReference,
|
|
2008
2034
|
parseShell,
|
|
2035
|
+
patchCommand,
|
|
2036
|
+
patchCommands,
|
|
2009
2037
|
pathchkCommands,
|
|
2010
2038
|
pdfimagesCommands,
|
|
2011
2039
|
pdfinfoCommands,
|
|
@@ -2031,6 +2059,8 @@ export {
|
|
|
2031
2059
|
restoreEnvironment,
|
|
2032
2060
|
safeJsNodeCommands as safeJsCommands,
|
|
2033
2061
|
searchCommands,
|
|
2062
|
+
sedCommand2 as sedCommand,
|
|
2063
|
+
sedCommands,
|
|
2034
2064
|
selectLlmModelByQuery,
|
|
2035
2065
|
selectOpBackendContext,
|
|
2036
2066
|
selectOpGlobalFlags,
|
|
@@ -2052,6 +2082,7 @@ export {
|
|
|
2052
2082
|
streamInspectionCommands,
|
|
2053
2083
|
structuredCommands,
|
|
2054
2084
|
tableTextCommands,
|
|
2085
|
+
tarCommands,
|
|
2055
2086
|
templateYaml,
|
|
2056
2087
|
textProgramCommands,
|
|
2057
2088
|
timeEnvCommands,
|
|
@@ -2062,12 +2093,15 @@ export {
|
|
|
2062
2093
|
tsortCommands,
|
|
2063
2094
|
unameCommands,
|
|
2064
2095
|
unrtfCommands,
|
|
2096
|
+
unzipCommands,
|
|
2065
2097
|
validateExitCode,
|
|
2066
2098
|
validateLlmTemplateParameters,
|
|
2067
2099
|
validateModelOptions,
|
|
2068
2100
|
validatePath,
|
|
2101
|
+
wgetCommands,
|
|
2069
2102
|
whichCommands,
|
|
2070
2103
|
whoamiCommands,
|
|
2104
|
+
withInputByteBudget,
|
|
2071
2105
|
wkhtmltopdfCommands,
|
|
2072
2106
|
writeBytes,
|
|
2073
2107
|
writeText,
|
|
@@ -2076,5 +2110,6 @@ export {
|
|
|
2076
2110
|
xxdCommands,
|
|
2077
2111
|
xzCommands,
|
|
2078
2112
|
yesCommands,
|
|
2079
|
-
yqCommands
|
|
2113
|
+
yqCommands,
|
|
2114
|
+
zipCommands
|
|
2080
2115
|
};
|