@poe-platform/safe-bash 0.1.802 → 0.1.804
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 +60 -33
- package/dist/image-ast/ast.d.ts +1 -0
- package/dist/image-ast/browser/ast.d.ts +1 -0
- package/dist/image-ast/browser/codecs/jpeg.d.ts +2 -2
- package/dist/image-ast/codecs/jpeg.d.ts +2 -2
- package/dist/image-ast/index.browser.js +692 -8355
- package/dist/image-ast/index.js +692 -8355
- package/dist/mp4-ast/codecs.d.ts +7 -2
- package/dist/safe-bash/chunks/{chunk-CHYGPFVM.js → chunk-22SX3F2R.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-FBUCWVTE.js → chunk-2IVBJTBD.js} +1 -1
- package/dist/safe-bash/chunks/chunk-2POETUMB.js +190 -0
- package/dist/safe-bash/chunks/{chunk-XVOSKJE2.js → chunk-47D7WBJK.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-VKNVHEX3.js → chunk-4ESI236Y.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-74GHTNJA.js → chunk-4KTMKD5W.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-55YJASTN.js → chunk-4T53AERN.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-DQP3VHSB.js → chunk-5XIFJVOO.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-NZQXYWA3.js → chunk-62BOHHJT.js} +1 -2
- package/dist/safe-bash/chunks/{chunk-HZAMGT5I.js → chunk-67WIFM3N.js} +17 -6
- package/dist/safe-bash/chunks/{chunk-4D4N7IU2.js → chunk-6LNFRPW5.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-6O77NL2S.js → chunk-6SMICPI3.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-4BSJLKNM.js → chunk-7O76UFQD.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-44ALJ4QG.js → chunk-AW5KIT6V.js} +3549 -84
- package/dist/safe-bash/chunks/{chunk-RSTHLAF3.js → chunk-B2Z73HTZ.js} +52 -28
- package/dist/safe-bash/chunks/chunk-B3ZMOJVM.js +319 -0
- package/dist/safe-bash/chunks/{chunk-7ZBU7KYV.js → chunk-CFAWS3O4.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-I5HZ4FGE.js → chunk-CL2FCTTO.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-KDNSPLII.js → chunk-CTXNARJH.js} +2 -1
- package/dist/safe-bash/chunks/{chunk-TFIBK2GI.js → chunk-D5Q7NFWI.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-OQRVVGR6.js → chunk-DSOOVZ6Q.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-VTH3MLDU.js → chunk-DUTAG6ZD.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-XAQMU6OY.js → chunk-EE5YGFIZ.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-FZE4HW6G.js → chunk-EJOYT2ME.js} +1 -1
- package/dist/safe-bash/chunks/chunk-FAAIR6EJ.js +887 -0
- package/dist/safe-bash/chunks/{chunk-OV6IHKO6.js → chunk-FOB2FZR4.js} +2 -2
- package/dist/safe-bash/chunks/chunk-G6V4RRSQ.js +14 -0
- package/dist/safe-bash/chunks/{chunk-UTBUUFDM.js → chunk-GGQAGQXQ.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-K6VCD7IY.js → chunk-HIIYIJ5G.js} +2 -4
- package/dist/safe-bash/chunks/chunk-IOHH2GTI.js +56 -0
- package/dist/safe-bash/chunks/{chunk-CTVWDACF.js → chunk-IQW34XQT.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-HZ7BWKQ3.js → chunk-IS572AAT.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-AUSNDQTJ.js → chunk-JPSUHHOA.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-ZVD5IS4V.js → chunk-KBZ4UB2O.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-AM5ESLPH.js → chunk-KU5CVWKA.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-NQCM3TYR.js → chunk-LPOVNKNB.js} +225 -176
- package/dist/safe-bash/chunks/{chunk-46Z5E5EV.js → chunk-MBOC3LZ4.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-6PAVEFT3.js → chunk-N4BQFD3P.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-CS4MNM6I.js → chunk-NGKCVNWS.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-7R5BDCG7.js → chunk-OHML2BEU.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-C5OWC2TL.js → chunk-OQ3AGYCZ.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-B7TAL7S5.js → chunk-PTAEWLSE.js} +0 -2
- package/dist/safe-bash/chunks/{chunk-LVOBFF4D.js → chunk-Q4FNLOTI.js} +1 -1
- package/dist/safe-bash/chunks/chunk-Q5XO3NAS.js +1036 -0
- package/dist/safe-bash/chunks/{chunk-GEG3BWGE.js → chunk-RHFRJIWQ.js} +1 -1
- package/dist/safe-bash/chunks/chunk-RUR6J33T.js +11 -0
- package/dist/safe-bash/chunks/{chunk-WDLGKIHD.js → chunk-S4RFUUXO.js} +841 -26
- package/dist/safe-bash/chunks/{chunk-RRR7AQ24.js → chunk-SD2ISU5L.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-3NDIFSNM.js → chunk-SUJ3NTMH.js} +3 -3
- package/dist/safe-bash/chunks/{chunk-R3NAKOED.js → chunk-SZRUU5HS.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-PH63PLPZ.js → chunk-TC3F4UFF.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-3R3AANOR.js → chunk-TCKYOLUE.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-D3ANYGMC.js → chunk-UV4X32QU.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-E7OYNDGL.js → chunk-V7QT2RWC.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-SHEMU2Z7.js → chunk-W2IYOVHK.js} +839 -1211
- package/dist/safe-bash/chunks/{chunk-3HQU4OJO.js → chunk-XNGVOSGI.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-J42RIHHJ.js → chunk-XQWCQSRN.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-BJA5XNP6.js → chunk-Y7FW6GLT.js} +6 -6
- package/dist/safe-bash/chunks/{chunk-QGUV42T5.js → chunk-YL3GBUG4.js} +1 -1
- package/dist/safe-bash/chunks/chunk-YOXUCJER.js +389 -0
- package/dist/safe-bash/chunks/{chunk-HBCN24ZA.js → chunk-Z2AAYYJN.js} +2 -2
- package/dist/safe-bash/chunks/chunk-ZKYKJCZZ.js +30 -0
- package/dist/safe-bash/chunks/core-IE3AFIDX.js +85806 -0
- package/dist/safe-bash/chunks/{ffmpeg-WTC3TEFI.js → ffmpeg-YANDK6HU.js} +2 -2
- package/dist/safe-bash/chunks/{gh-6WU6PXL4.js → gh-4MBJ2S5V.js} +2 -2
- package/dist/safe-bash/chunks/{git-EFZIGJW4.js → git-2QONJNRQ.js} +2 -2
- package/dist/safe-bash/chunks/{imagemagick-EIEYGWPF.js → imagemagick-JLEHGYSN.js} +2 -2
- package/dist/safe-bash/chunks/{mmdc-ROQJT5HQ.js → mmdc-6LD7A6ND.js} +2 -2
- package/dist/safe-bash/chunks/{pdfimages-DW7LWXFI.js → pdfimages-RSHL7LOP.js} +2 -2
- package/dist/safe-bash/chunks/{pdfinfo-TIP6XLUQ.js → pdfinfo-L3SGWPNG.js} +2 -2
- package/dist/safe-bash/chunks/{pdftk-DMG22ITZ.js → pdftk-LFBJNU5A.js} +2 -2
- package/dist/safe-bash/chunks/{pdftoppm-WNDYR72T.js → pdftoppm-NXXFUIHG.js} +2 -2
- package/dist/safe-bash/chunks/{pdftotext-5IPZ4NI7.js → pdftotext-4IHNWT6F.js} +2 -2
- package/dist/safe-bash/chunks/{qpdf-TTX2DIUA.js → qpdf-ZEIREV63.js} +2 -2
- package/dist/safe-bash/chunks/read-builtin-A4QKAT45.js +9 -0
- package/dist/safe-bash/chunks/{sips-XYS46JPJ.js → sips-D5YBG2V3.js} +2 -2
- package/dist/safe-bash/chunks/{soffice-TU73E5KL.js → soffice-RAJU3JUT.js} +2 -2
- package/dist/safe-bash/chunks/source-files-3XWRRHFA.js +7 -0
- package/dist/safe-bash/chunks/{wkhtmltopdf-FSZ2CHGE.js → wkhtmltopdf-7UE4FORZ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-7KWZXKY6.js → chunk-26RTBV2I.js} +1 -0
- package/dist/safe-bash/command-chunks/{chunk-AQJ2ROJO.js → chunk-2WYNMZR2.js} +10 -8
- package/dist/safe-bash/command-chunks/{chunk-BDSMROQZ.js → chunk-36GFRF2N.js} +2 -1
- package/dist/safe-bash/command-chunks/{chunk-GC5TJZOF.js → chunk-3VIA2IA7.js} +114 -31
- package/dist/safe-bash/command-chunks/{chunk-NKFYQSES.js → chunk-4CTI3ZTX.js} +1 -0
- package/dist/safe-bash/command-chunks/{chunk-WH627NJL.js → chunk-4MYP2FX4.js} +2 -1
- package/dist/safe-bash/command-chunks/chunk-4R5ADJM5.js +178 -0
- package/dist/safe-bash/command-chunks/{chunk-P2N33UMN.js → chunk-5MIKM54M.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DB453IE6.js → chunk-6FZQUOSJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WPYIOKE3.js → chunk-6GKYHPJG.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-7K6JYKPJ.js → chunk-6M2ELGEN.js} +17 -15
- package/dist/safe-bash/command-chunks/{chunk-PXEIT2O4.js → chunk-6UR7V3ET.js} +8 -1
- package/dist/safe-bash/command-chunks/{chunk-6KJ3LPI2.js → chunk-6XBS5B46.js} +26 -3
- package/dist/safe-bash/command-chunks/{chunk-5PWJG2UK.js → chunk-6YXLZX7L.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-EK6YNAXT.js → chunk-753YOR54.js} +31 -5
- package/dist/safe-bash/command-chunks/{chunk-RMWQAAO5.js → chunk-7IR4NRNE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-FZTK4MFI.js → chunk-7NM73SVK.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-NXEQ3ESQ.js → chunk-7QD5YY4F.js} +6 -11
- package/dist/safe-bash/command-chunks/{chunk-EMPU65ZK.js → chunk-A5LBSJGH.js} +1 -0
- package/dist/safe-bash/command-chunks/chunk-A7MU7762.js +200 -0
- package/dist/safe-bash/command-chunks/{chunk-ORYGZYKW.js → chunk-ARZMP2L2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OQKC5ZU2.js → chunk-BAKFZ477.js} +62 -20
- package/dist/safe-bash/command-chunks/{chunk-QRRYN2KO.js → chunk-BC7BK6R6.js} +0 -2424
- package/dist/safe-bash/command-chunks/{chunk-F4TEEZTL.js → chunk-BOEOJS2Q.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XS72HTMA.js → chunk-BWGGLYEB.js} +5 -22
- package/dist/safe-bash/command-chunks/{chunk-PMBFZXTK.js → chunk-C5ZZKP7V.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LHIOAFWW.js → chunk-C7SEB6WU.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XPT2UGBF.js → chunk-CHJKFRT7.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TIOCQVUQ.js → chunk-CON26Q2O.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-E55UKBIE.js → chunk-DBAT3IK2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-Z45N42QC.js → chunk-DPAYAVMS.js} +15 -1
- package/dist/safe-bash/command-chunks/chunk-DS3NXVUM.js +368 -0
- package/dist/safe-bash/command-chunks/{chunk-5ZMZ573Q.js → chunk-DSJ3VRL3.js} +16 -4
- package/dist/safe-bash/command-chunks/{chunk-K2GDEMEU.js → chunk-EFRCFWVR.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DZCY63VJ.js → chunk-EV6HIJ5H.js} +6 -5
- package/dist/safe-bash/command-chunks/{chunk-JDYXY44P.js → chunk-FJURV46Y.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-TZZ4WUKH.js → chunk-FZAWGKSE.js} +6 -4
- package/dist/safe-bash/command-chunks/{chunk-YHFXOX6U.js → chunk-GOCFQ6XV.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-YOFC45RK.js → chunk-HH5O7DJI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3HHCU5YU.js → chunk-HK7F5SDC.js} +13 -0
- package/dist/safe-bash/command-chunks/{chunk-JNZ3CVAE.js → chunk-HQBXIZC7.js} +8 -3
- package/dist/safe-bash/command-chunks/{chunk-2JRBIDAD.js → chunk-I63DBZXZ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-WNE7FPVR.js → chunk-I64TLTIW.js} +24 -16
- package/dist/safe-bash/command-chunks/{chunk-QKFSRZGQ.js → chunk-ICANWOXH.js} +7 -31
- package/dist/safe-bash/command-chunks/{chunk-SQRQW3CT.js → chunk-IJ6LGLXM.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-5E4WAO4O.js → chunk-JD5QNRNO.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-KJIMDLBB.js → chunk-JNANXVJV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TGSNCQSR.js → chunk-JT4RYCA6.js} +1771 -1663
- package/dist/safe-bash/command-chunks/{chunk-II77KPZN.js → chunk-JWW6FYBN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ZYXH3B66.js → chunk-LCJWKTCJ.js} +250 -203
- package/dist/safe-bash/command-chunks/{chunk-I237SNW5.js → chunk-LFJJQQND.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-LU4HBPP2.js +97 -0
- package/dist/safe-bash/command-chunks/{chunk-XJXU3VVH.js → chunk-LWOE65OE.js} +20 -5
- package/dist/safe-bash/command-chunks/{chunk-GMIHJYDG.js → chunk-M32HFSX7.js} +22 -6
- package/dist/safe-bash/command-chunks/{chunk-YG4EPFWC.js → chunk-M3NINRDU.js} +2880 -172
- package/dist/safe-bash/command-chunks/chunk-MQREDAL6.js +164 -0
- package/dist/safe-bash/command-chunks/{chunk-LWS62ISU.js → chunk-N6DIASO2.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-NGL7YK7O.js +188 -0
- package/dist/safe-bash/command-chunks/{chunk-PEF7K3UQ.js → chunk-NJYHWKIL.js} +40 -10
- package/dist/safe-bash/command-chunks/{chunk-VXSLJH7G.js → chunk-OJQRSCBP.js} +27 -7
- package/dist/safe-bash/command-chunks/{chunk-OQU6UT6X.js → chunk-OV3XREFN.js} +11 -0
- package/dist/safe-bash/command-chunks/{chunk-MIXBO6U7.js → chunk-PTZLF456.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ALDC4XP4.js → chunk-QILLRNES.js} +34 -10
- package/dist/safe-bash/command-chunks/{chunk-L22T3H7L.js → chunk-QR25JLKO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-7U7EXOXX.js → chunk-R7C4MGZ5.js} +17 -223
- package/dist/safe-bash/command-chunks/{chunk-LCF3OB7P.js → chunk-RBME3JEH.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-2KG2QLJE.js → chunk-RFWGYT7G.js} +3 -0
- package/dist/safe-bash/command-chunks/{chunk-5TBUOBDE.js → chunk-RZMVRT26.js} +27 -13
- package/dist/safe-bash/command-chunks/chunk-TFR6B3WB.js +44 -0
- package/dist/safe-bash/command-chunks/chunk-TOH3OF3O.js +179 -0
- package/dist/safe-bash/command-chunks/{chunk-VGG2DL5Q.js → chunk-TRR4MYWF.js} +4 -0
- package/dist/safe-bash/command-chunks/chunk-TT4DAFBT.js +13621 -0
- package/dist/safe-bash/command-chunks/{chunk-LWSBAWLT.js → chunk-TXI64OAG.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-TZRI7BJZ.js +496 -0
- package/dist/safe-bash/command-chunks/{chunk-QOKBZFFD.js → chunk-U3MMODA5.js} +2 -7
- package/dist/safe-bash/command-chunks/{chunk-ZYHTWNAE.js → chunk-UAW423ZL.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-C5YYCQHW.js → chunk-UXEEUGOV.js} +222 -12
- package/dist/safe-bash/command-chunks/{chunk-GY3BWK7K.js → chunk-VOZPMJRX.js} +87 -80
- package/dist/safe-bash/command-chunks/{chunk-MQFIPHIQ.js → chunk-WPANOB4A.js} +38 -35
- package/dist/safe-bash/command-chunks/{chunk-Y2WBSJG6.js → chunk-X4QZQI5Q.js} +65 -64
- package/dist/safe-bash/command-chunks/{chunk-FPVUD6TH.js → chunk-XGI57GCN.js} +10 -8
- package/dist/safe-bash/command-chunks/{chunk-5UBXNSFZ.js → chunk-XUCU7QQT.js} +1281 -1278
- package/dist/safe-bash/command-chunks/chunk-Y22VXJBD.js +296 -0
- package/dist/safe-bash/command-chunks/{chunk-WVHONVZ4.js → chunk-YMFUUPDX.js} +5 -3
- package/dist/safe-bash/command-chunks/{chunk-IR2BY7EL.js → chunk-YYGIBXFZ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-MSFXC3OC.js → chunk-Z4FO6OHE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6GWJUQAV.js → chunk-Z5ZZVDUD.js} +181 -133
- package/dist/safe-bash/command-chunks/{chunk-W5DNF4JH.js → chunk-ZHN3QDCI.js} +1 -1
- package/dist/safe-bash/commands/alias/index.d.ts +2 -0
- package/dist/safe-bash/commands/alias/index.js +2 -0
- package/dist/safe-bash/commands/apply-patch/index.browser.js +2 -3
- package/dist/safe-bash/commands/apply-patch/index.d.ts +0 -1
- package/dist/safe-bash/commands/apply-patch/index.js +0 -1
- package/dist/safe-bash/commands/archive/index.browser.js +2 -3
- package/dist/safe-bash/commands/archive/index.d.ts +0 -1
- package/dist/safe-bash/commands/archive/index.js +0 -1
- package/dist/safe-bash/commands/bytes/compression/index.js +54 -51
- package/dist/safe-bash/commands/bytes/index.js +2 -1
- package/dist/safe-bash/commands/chmod/index.browser.js +14 -0
- package/dist/safe-bash/commands/chmod/index.d.ts +2 -0
- package/dist/safe-bash/commands/chmod/index.js +2 -0
- package/dist/safe-bash/commands/column/index.browser.js +2 -3
- package/dist/safe-bash/commands/column/index.d.ts +0 -1
- package/dist/safe-bash/commands/column/index.js +0 -1
- package/dist/safe-bash/commands/copy-source.js +1 -0
- package/dist/safe-bash/commands/csplit/index.browser.js +2 -2
- package/dist/safe-bash/commands/csvkit/index.browser.js +72 -0
- package/dist/safe-bash/commands/csvkit/index.d.ts +0 -5
- package/dist/safe-bash/commands/csvkit/index.js +0 -50
- package/dist/safe-bash/commands/docx/index.browser.js +5 -7
- package/dist/safe-bash/commands/du/index.browser.js +2 -3
- package/dist/safe-bash/commands/du/index.d.ts +0 -1
- package/dist/safe-bash/commands/du/index.js +0 -1
- package/dist/safe-bash/commands/expr/index.browser.js +2 -3
- package/dist/safe-bash/commands/expr/index.d.ts +0 -1
- package/dist/safe-bash/commands/expr/index.js +0 -1
- package/dist/safe-bash/commands/factor/index.browser.js +2 -2
- package/dist/safe-bash/commands/file/index.browser.js +2 -3
- package/dist/safe-bash/commands/file/index.d.ts +0 -1
- package/dist/safe-bash/commands/file/index.js +0 -1
- package/dist/safe-bash/commands/filesystem.js +1 -1
- package/dist/safe-bash/commands/getopt/index.browser.js +2 -2
- package/dist/safe-bash/commands/grep-aliases/index.browser.js +3 -3
- package/dist/safe-bash/commands/hexdump/index.browser.js +2 -2
- package/dist/safe-bash/commands/html-to-markdown/index.browser.js +2 -3
- package/dist/safe-bash/commands/html-to-markdown/index.d.ts +0 -1
- package/dist/safe-bash/commands/html-to-markdown/index.js +0 -1
- package/dist/safe-bash/commands/htmlq/index.d.ts +1 -5
- package/dist/safe-bash/commands/htmlq/index.js +1 -143
- 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/llm/index.browser.js +2 -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 +4 -16314
- package/dist/safe-bash/commands/media/index.d.ts +1 -5
- package/dist/safe-bash/commands/media/index.js +1 -3
- package/dist/safe-bash/commands/media/plugin.d.ts +1 -18
- package/dist/safe-bash/commands/media/plugin.js +1 -90
- package/dist/safe-bash/commands/media/remote.d.ts +1 -63
- package/dist/safe-bash/commands/media/remote.js +1 -405
- package/dist/safe-bash/commands/media/settings.d.ts +1 -4
- package/dist/safe-bash/commands/media/settings.js +1 -26
- package/dist/safe-bash/commands/metadata/chmod.d.ts +1 -7
- package/dist/safe-bash/commands/metadata/chmod.js +1 -204
- package/dist/safe-bash/commands/metadata/index.browser.js +3 -8
- package/dist/safe-bash/commands/metadata/index.d.ts +0 -1
- package/dist/safe-bash/commands/metadata/index.js +2 -2
- package/dist/safe-bash/commands/metadata/internal.d.ts +1 -30
- package/dist/safe-bash/commands/metadata/internal.js +1 -76
- package/dist/safe-bash/commands/metadata/mktemp.d.ts +1 -3
- package/dist/safe-bash/commands/metadata/mktemp.js +1 -202
- package/dist/safe-bash/commands/metadata/stat.d.ts +1 -7
- package/dist/safe-bash/commands/metadata/stat.js +1 -530
- package/dist/safe-bash/commands/mktemp/index.browser.js +13 -0
- package/dist/safe-bash/commands/mktemp/index.d.ts +2 -0
- package/dist/safe-bash/commands/mktemp/index.js +2 -0
- package/dist/safe-bash/commands/network/curl.js +1 -3
- package/dist/safe-bash/commands/network/index.browser.js +3 -4
- package/dist/safe-bash/commands/network/public.d.ts +0 -1
- package/dist/safe-bash/commands/network/public.js +0 -1
- package/dist/safe-bash/commands/network/transport.js +2 -1
- package/dist/safe-bash/commands/network/wget.js +1 -3
- package/dist/safe-bash/commands/node/browser.d.ts +0 -1
- package/dist/safe-bash/commands/node/browser.js +0 -1
- package/dist/safe-bash/commands/node/default-runtime.d.ts +3 -0
- package/dist/safe-bash/commands/node/default-runtime.js +15 -0
- package/dist/safe-bash/commands/node/index.browser.js +7 -8
- package/dist/safe-bash/commands/node/index.js +3 -3
- package/dist/safe-bash/commands/node/path.js +1 -1
- package/dist/safe-bash/commands/node/preload.d.ts +1 -1
- package/dist/safe-bash/commands/node/preload.js +4 -1
- package/dist/safe-bash/commands/node/quickjs.d.ts +2 -0
- package/dist/safe-bash/commands/node/quickjs.js +2 -0
- package/dist/safe-bash/commands/node/safejs.js +26 -12
- package/dist/safe-bash/commands/op/index.browser.js +2 -3
- package/dist/safe-bash/commands/op/index.d.ts +0 -11
- package/dist/safe-bash/commands/op/index.js +0 -84
- package/dist/safe-bash/commands/pandoc/index.browser.js +44 -0
- package/dist/safe-bash/commands/pandoc/index.d.ts +0 -1
- package/dist/safe-bash/commands/pandoc/index.js +0 -1
- package/dist/safe-bash/commands/portable-random.d.ts +1 -1
- package/dist/safe-bash/commands/portable-random.js +1 -12
- package/dist/safe-bash/commands/pr/index.browser.js +2 -2
- package/dist/safe-bash/commands/python/docker-runner.js +4 -3
- package/dist/safe-bash/commands/python/docker.d.ts +1 -0
- package/dist/safe-bash/commands/python/docker.js +5 -2
- package/dist/safe-bash/commands/python/index.browser.js +17 -13
- package/dist/safe-bash/commands/python/index.d.ts +2 -1
- package/dist/safe-bash/commands/python/index.js +10 -8
- package/dist/safe-bash/commands/python/llm-capability.js +65 -2
- package/dist/safe-bash/commands/python/llm-dependencies.d.ts +27 -0
- package/dist/safe-bash/commands/python/llm-dependencies.js +66 -0
- package/dist/safe-bash/commands/python/llm-module.js +6 -4
- package/dist/safe-bash/commands/python/llm-reference-module.d.ts +3 -0
- package/dist/safe-bash/commands/python/llm-reference-module.js +690 -0
- package/dist/safe-bash/commands/python/worker.browser.js +2 -3
- package/dist/safe-bash/commands/python/worker.d.ts +0 -1
- package/dist/safe-bash/commands/python/worker.js +0 -1
- package/dist/safe-bash/commands/regex-execution/ere/transport/wire-engine.d.ts +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/transport/wire-engine.js +3 -3
- package/dist/safe-bash/commands/regex-execution/public.browser.js +7 -7
- package/dist/safe-bash/commands/safejs/options.js +5 -1
- package/dist/safe-bash/commands/safejs/runtime.d.ts +1 -0
- package/dist/safe-bash/commands/safejs/runtime.js +1 -1
- package/dist/safe-bash/commands/split/index.browser.js +2 -3
- package/dist/safe-bash/commands/split/index.d.ts +0 -1
- package/dist/safe-bash/commands/split/index.js +0 -1
- package/dist/safe-bash/commands/ssconvert/index.browser.js +98 -0
- package/dist/safe-bash/commands/stat/index.browser.js +13 -0
- package/dist/safe-bash/commands/stat/index.d.ts +2 -0
- package/dist/safe-bash/commands/stat/index.js +2 -0
- package/dist/safe-bash/commands/stream-format/index.browser.js +3 -4
- package/dist/safe-bash/commands/stream-format/index.d.ts +0 -1
- package/dist/safe-bash/commands/stream-format/index.js +0 -1
- package/dist/safe-bash/commands/stream-inspection/index.browser.js +3 -4
- package/dist/safe-bash/commands/stream-inspection/index.d.ts +0 -1
- package/dist/safe-bash/commands/stream-inspection/index.js +0 -1
- package/dist/safe-bash/commands/streams.js +2 -1
- package/dist/safe-bash/commands/table-text/index.browser.js +3 -4
- package/dist/safe-bash/commands/table-text/index.d.ts +0 -1
- package/dist/safe-bash/commands/table-text/index.js +0 -1
- package/dist/safe-bash/commands/text.js +74 -34
- package/dist/safe-bash/commands/time-env/index.browser.js +3 -4
- package/dist/safe-bash/commands/time-env/index.d.ts +0 -1
- package/dist/safe-bash/commands/time-env/index.js +0 -1
- package/dist/safe-bash/commands/tree/index.browser.js +2 -3
- package/dist/safe-bash/commands/tree/index.d.ts +0 -1
- package/dist/safe-bash/commands/tree/index.js +0 -1
- package/dist/safe-bash/commands/tsort/index.browser.js +2 -2
- package/dist/safe-bash/commands/unalias/index.d.ts +2 -0
- package/dist/safe-bash/commands/unalias/index.js +2 -0
- package/dist/safe-bash/commands/xml/index.browser.js +2 -2
- package/dist/safe-bash/commands/yq/index.browser.js +2 -2
- package/dist/safe-bash/core.browser.js +2 -2
- package/dist/safe-bash/core.d.ts +7 -1
- package/dist/safe-bash/core.js +7 -1
- package/dist/safe-bash/execution-runtime.js +2 -1
- package/dist/safe-bash/fs/s3/http/index.d.ts +2 -2
- package/dist/safe-bash/fs/s3/http/index.js +1 -1
- package/dist/safe-bash/full-core.browser.js +254 -916
- package/dist/safe-bash/internal/op/types.d.ts +1 -0
- package/dist/safe-bash/jobs.browser.js +5 -5
- package/dist/safe-bash/lazy-optional.d.ts +3 -3
- package/dist/safe-bash/lazy-optional.js +1 -1
- package/dist/safe-bash/opt-in/commands/cmp/index.js +7 -6
- package/dist/safe-bash/opt-in/commands/dd/index.js +1 -1
- package/dist/safe-bash/opt-in/commands/dd/io.js +51 -5
- package/dist/safe-bash/opt-in/commands/truncate/index.js +2 -2
- package/dist/safe-bash/opt-in/commands/yq/native-work.js +3 -0
- package/dist/safe-bash/opt-in/optional/commands/shuf/input.js +2 -1
- package/dist/safe-bash/opt-in/optional/commands/shuf/shuf.js +4 -2
- package/dist/safe-bash/opt-in/optional.d.ts +1 -1
- package/dist/safe-bash/opt-in/optional.js +1 -1
- package/dist/safe-bash/opt-in/shell/extensions/read/index.js +2 -344
- package/dist/safe-bash/optional-host.browser.js +19 -14
- package/dist/safe-bash/optional-host.d.ts +1 -0
- package/dist/safe-bash/optional-host.js +1 -0
- package/dist/safe-bash/playwright/controller.js +41 -3
- package/dist/safe-bash/playwright/native-storage-targets.js +4 -2
- package/dist/safe-bash/plugins/base.d.ts +1 -1
- package/dist/safe-bash/plugins/base.js +3 -3
- package/dist/safe-bash/plugins/composition.d.ts +5 -2
- package/dist/safe-bash/plugins/composition.js +10 -7
- package/dist/safe-bash/plugins/index.browser.js +44 -41
- package/dist/safe-bash/plugins/index.js +3 -2
- package/dist/safe-bash/plugins/portable-commands.d.ts +3 -0
- package/dist/safe-bash/plugins/portable-commands.js +31 -0
- package/dist/safe-bash/registry-entry.browser.js +41 -42
- package/dist/safe-bash/search.browser.js +32 -33
- package/dist/safe-bash/shell/arithmetic.js +19 -6
- package/dist/safe-bash/shell/arrays/state.js +1 -1
- package/dist/safe-bash/shell/arrays/syntax.js +4 -3
- package/dist/safe-bash/shell/index.d.ts +0 -1
- package/dist/safe-bash/shell/index.js +0 -1
- package/dist/safe-bash/shell/parser.d.ts +2 -2
- package/dist/safe-bash/shell/parser.js +268 -64
- package/dist/safe-bash/shell/read-builtin.d.ts +3 -0
- package/dist/safe-bash/shell/read-builtin.js +344 -0
- package/dist/safe-bash/shell/runtime.d.ts +24 -4
- package/dist/safe-bash/shell/runtime.js +392 -414
- package/dist/safe-bash/shell/session-state.js +25 -0
- package/dist/safe-bash/shell/shell.js +76 -154
- package/dist/safe-bash/shell/tilde-expansion.d.ts +1 -1
- package/dist/safe-bash/shell/tilde-expansion.js +2 -2
- package/dist/safe-bash/shell/types.d.ts +7 -0
- package/dist/safe-bash/shell/value-state.js +1 -1
- package/dist/safe-bash/shell/worker-limits.js +1 -0
- package/dist/safe-bash/shell-entry.browser.js +32 -33
- package/dist/safe-bash/trap.browser.js +4 -4
- package/dist/safe-bash/worker/host.js +1 -1
- package/dist/safe-bash/yq-browser/index.js +1 -1
- package/dist/safe-bash-calendar-engine/time-env/calendar.d.ts +1 -1
- package/dist/safe-bash-calendar-engine/time-env/calendar.js +1 -1
- package/dist/safe-bash-calendar-engine/time-env/format.js +1 -1
- package/dist/safe-bash-command-alias/index.d.ts +13 -0
- package/dist/safe-bash-command-alias/index.js +88 -0
- package/dist/safe-bash-command-apply-patch/apply.js +3 -3
- package/dist/safe-bash-command-apply-patch/index.js +3 -3
- 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/awk-pipes.js +2 -2
- package/dist/safe-bash-command-awk/awk-reader.js +1 -1
- package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
- package/dist/safe-bash-command-awk/awk.js +5 -5
- package/dist/safe-bash-command-awk/index.js +5 -5
- package/dist/safe-bash-command-bc/index.js +218 -65
- package/dist/safe-bash-command-bzip2/index.js +4 -3
- package/dist/safe-bash-command-chmod/LICENSE +21 -0
- package/dist/safe-bash-command-chmod/command.d.ts +7 -0
- package/dist/safe-bash-command-chmod/command.js +11 -0
- package/dist/safe-bash-command-chmod/index.d.ts +6 -0
- package/dist/safe-bash-command-chmod/index.js +27 -0
- package/dist/safe-bash-command-cmp/index.js +7 -6
- package/dist/safe-bash-command-column/column.js +3 -3
- package/dist/safe-bash-command-column/index.js +3 -3
- package/dist/safe-bash-command-column/layout.js +2 -2
- package/dist/safe-bash-command-csvkit/index.d.ts +1 -0
- package/dist/safe-bash-command-csvkit/index.js +1505 -7
- package/dist/safe-bash-command-csvkit/sync-support.js +2 -7
- package/dist/safe-bash-command-curl/curl.js +1 -1
- package/dist/safe-bash-command-curl/index.js +1 -1
- package/dist/safe-bash-command-date/date.js +1 -1
- package/dist/safe-bash-command-date/index.js +1 -1
- package/dist/safe-bash-command-dd/index.js +1 -1
- package/dist/safe-bash-command-dd/io.js +51 -5
- package/dist/safe-bash-command-diff/diff.js +1 -1
- package/dist/safe-bash-command-diff/index.js +1 -1
- package/dist/safe-bash-command-diff3/index.js +10 -13
- package/dist/safe-bash-command-exiftool/index.js +283 -55
- package/dist/safe-bash-command-exiftool/registry.d.ts +4 -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/arguments.d.ts +2 -0
- package/dist/safe-bash-command-fd/index.js +42 -12
- package/dist/safe-bash-command-ffmpeg/index.js +356 -66
- package/dist/safe-bash-command-find/find-format.d.ts +3 -0
- package/dist/safe-bash-command-find/find-format.js +1 -1
- package/dist/safe-bash-command-find/find.js +2 -2
- package/dist/safe-bash-command-find/index.js +2 -2
- package/dist/safe-bash-command-fmt/index.js +10 -6
- package/dist/safe-bash-command-fold/engine.d.ts +1 -1
- package/dist/safe-bash-command-fold/family.js +2 -2
- package/dist/safe-bash-command-fold/index.js +1 -1
- package/dist/safe-bash-command-gzip/index.js +45 -42
- package/dist/safe-bash-command-hexdump/command.js +2 -2
- package/dist/safe-bash-command-hexdump/index.js +2 -2
- package/dist/safe-bash-command-html-to-markdown/entities.js +1 -1
- package/dist/safe-bash-command-html-to-markdown/index.js +4 -4
- package/dist/safe-bash-command-html-to-markdown/input.js +3 -3
- package/dist/safe-bash-command-html-to-markdown/parser.js +2 -2
- package/dist/safe-bash-command-html-to-markdown/render.js +3 -3
- package/dist/safe-bash-command-htmlq/contracts.d.ts +5 -2
- package/dist/safe-bash-command-htmlq/index.d.ts +2 -1
- package/dist/safe-bash-command-htmlq/index.js +175 -49
- package/dist/safe-bash-command-htmlq/sync.d.ts +1 -0
- package/dist/safe-bash-command-imagemagick/index.js +59 -7
- package/dist/safe-bash-command-install/arguments.d.ts +27 -0
- package/dist/safe-bash-command-install/arguments.js +224 -0
- package/dist/safe-bash-command-install/index.d.ts +7 -0
- package/dist/safe-bash-command-install/index.js +942 -0
- package/dist/safe-bash-command-install/mode.d.ts +6 -0
- package/dist/safe-bash-command-install/mode.js +71 -0
- package/dist/safe-bash-command-install/options.d.ts +40 -0
- package/dist/safe-bash-command-install/options.js +27 -0
- 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 +42 -57
- package/dist/safe-bash-command-llm/command.js +1 -1
- package/dist/safe-bash-command-llm/elevenlabs.js +2 -2
- package/dist/safe-bash-command-llm/index.js +4 -4
- package/dist/safe-bash-command-llm/openai.js +2 -2
- package/dist/safe-bash-command-llm/providers/elevenlabs.js +2 -2
- package/dist/safe-bash-command-llm/providers/index.js +3 -3
- package/dist/safe-bash-command-llm/providers/openai.js +2 -2
- package/dist/safe-bash-command-llm/providers/shared.js +1 -1
- package/dist/{safe-bash-mcp → safe-bash-command-mcp}/index.browser.d.ts +463 -46
- package/dist/safe-bash-command-mcp/index.browser.js +19308 -0
- package/dist/{safe-bash-mcp → safe-bash-command-mcp}/index.d.ts +15 -6
- package/dist/{safe-bash-mcp → safe-bash-command-mcp}/index.js +2835 -2783
- package/dist/safe-bash-command-media/LICENSE +21 -0
- package/dist/safe-bash-command-media/index.d.ts +6 -0
- package/dist/safe-bash-command-media/index.js +30 -0
- package/dist/safe-bash-command-media/plugin.d.ts +18 -0
- package/dist/safe-bash-command-media/plugin.js +11 -0
- package/dist/safe-bash-command-media/remote.d.ts +63 -0
- package/dist/safe-bash-command-media/remote.js +11 -0
- package/dist/safe-bash-command-media/settings.d.ts +4 -0
- package/dist/safe-bash-command-media/settings.js +41 -0
- package/dist/safe-bash-command-mktemp/LICENSE +21 -0
- package/dist/safe-bash-command-mktemp/command.d.ts +3 -0
- package/dist/safe-bash-command-mktemp/command.js +9 -0
- package/dist/safe-bash-command-mktemp/index.d.ts +6 -0
- package/dist/safe-bash-command-mktemp/index.js +25 -0
- package/dist/safe-bash-command-mmdc/arguments.d.ts +1 -0
- package/dist/safe-bash-command-mmdc/command.d.ts +2 -0
- package/dist/safe-bash-command-mmdc/contracts.d.ts +8 -1
- package/dist/safe-bash-command-mmdc/index.js +359 -7
- package/dist/safe-bash-command-nl/index.js +1 -1
- package/dist/safe-bash-command-nl/nl.js +1 -1
- package/dist/safe-bash-command-node/LICENSE +21 -0
- package/dist/safe-bash-command-node/index.d.ts +17 -0
- package/dist/safe-bash-command-node/index.js +328 -0
- package/dist/safe-bash-command-numfmt/index.js +1 -0
- package/dist/safe-bash-command-od/index.js +16 -8
- package/dist/safe-bash-command-op/index.js +62 -36
- package/dist/safe-bash-command-op/types.d.ts +1 -0
- package/dist/safe-bash-command-pandoc/command.js +3 -3
- package/dist/safe-bash-command-pandoc/index.d.ts +1 -0
- package/dist/safe-bash-command-pandoc/index.js +5 -3
- package/dist/safe-bash-command-pandoc/sync.d.ts +1 -0
- package/dist/safe-bash-command-patch/index.js +4 -4
- package/dist/safe-bash-command-patch/patch.js +4 -4
- package/dist/safe-bash-command-pdfimages/index.js +1 -1
- package/dist/safe-bash-command-pdfinfo/index.js +30 -5
- package/dist/safe-bash-command-pdftk/index.js +21 -23
- package/dist/safe-bash-command-pdftoppm/index.js +17 -4
- package/dist/safe-bash-command-pdftotext/index.js +11 -14
- package/dist/safe-bash-command-qpdf/index.d.ts +1 -0
- package/dist/safe-bash-command-qpdf/index.js +9 -6
- package/dist/safe-bash-command-rg/index.js +1 -1
- package/dist/safe-bash-command-rg/rg-command.js +1 -1
- package/dist/safe-bash-command-sed/index.js +1 -1
- package/dist/safe-bash-command-sed/sed.js +1 -1
- package/dist/safe-bash-command-shuf/input.d.ts +2 -2
- package/dist/safe-bash-command-shuf/input.js +2 -1
- package/dist/safe-bash-command-shuf/shuf.js +4 -2
- package/dist/safe-bash-command-sips/index.js +15 -7
- package/dist/safe-bash-command-soffice/index.js +97 -12
- package/dist/safe-bash-command-sponge/index.js +13 -3
- package/dist/safe-bash-command-sqlite3/engine.d.ts +1 -0
- package/dist/safe-bash-command-sqlite3/index.js +510 -70
- package/dist/safe-bash-command-ssconvert/formats/xlsx.js +2 -2
- package/dist/safe-bash-command-ssconvert/index.js +44 -22
- package/dist/safe-bash-command-stat/LICENSE +21 -0
- package/dist/safe-bash-command-stat/command.d.ts +7 -0
- package/dist/safe-bash-command-stat/command.js +9 -0
- package/dist/safe-bash-command-stat/index.d.ts +6 -0
- package/dist/safe-bash-command-stat/index.js +25 -0
- package/dist/safe-bash-command-tar/create.d.ts +1 -0
- package/dist/safe-bash-command-tar/create.js +2 -2
- package/dist/safe-bash-command-tar/extract.js +2 -2
- package/dist/safe-bash-command-tar/index.js +4 -4
- package/dist/safe-bash-command-tar/modes.js +4 -4
- package/dist/safe-bash-command-tar/options.js +1 -1
- package/dist/safe-bash-command-truncate/index.js +2 -2
- package/dist/safe-bash-command-tsort/command.js +2 -2
- package/dist/safe-bash-command-tsort/index.js +2 -2
- package/dist/safe-bash-command-unalias/index.d.ts +12 -0
- package/dist/safe-bash-command-unalias/index.js +67 -0
- package/dist/safe-bash-command-unrtf/index.js +37 -5
- package/dist/safe-bash-command-xan/argv.d.ts +1 -1
- package/dist/safe-bash-command-xan/argv.js +2 -2
- package/dist/safe-bash-command-xan/budget.d.ts +0 -1
- package/dist/safe-bash-command-xan/budget.js +1 -1
- package/dist/safe-bash-command-xan/commands.js +6 -6
- package/dist/safe-bash-command-xan/csv.js +2 -2
- package/dist/safe-bash-command-xan/index.js +8 -9
- package/dist/safe-bash-command-xan/io.js +4 -4
- package/dist/safe-bash-command-xan/options.js +1 -1
- package/dist/safe-bash-command-xan/selector.js +2 -2
- package/dist/safe-bash-command-xmllint/index.js +45 -23
- package/dist/safe-bash-command-xxd/index.js +47 -12
- package/dist/safe-bash-command-xz/command.d.ts +1 -1
- package/dist/safe-bash-command-xz/index.js +3 -2
- package/dist/safe-bash-command-yq/accounting.js +1 -1
- package/dist/safe-bash-command-yq/index.js +4 -2
- package/dist/safe-bash-command-yq/native-work.js +3 -0
- package/dist/safe-bash-command-yq/parser.js +2 -2
- package/dist/safe-bash-command-yq/query.js +8 -5
- package/dist/safe-bash-command-yq/toml.js +2 -2
- package/dist/safe-bash-command-zip/index.js +3 -3
- package/dist/safe-bash-compression-engine/bounded-codec.js +3 -3
- package/dist/safe-bash-compression-engine/codec-loader.js +2 -2
- package/dist/safe-bash-compression-engine/files.js +6 -6
- package/dist/safe-bash-compression-engine/index.js +5 -5
- package/dist/safe-bash-compression-engine/operand.js +6 -6
- package/dist/safe-bash-compression-engine/options.js +1 -1
- package/dist/safe-bash-compression-engine/stream.js +5 -5
- package/dist/safe-bash-compression-engine/zstd-decode.js +4 -4
- package/dist/safe-bash-contracts/command.js +3 -3
- package/dist/safe-bash-contracts/default-executor.js +2 -2
- package/dist/safe-bash-contracts/diagnostics.js +3 -3
- package/dist/safe-bash-contracts/escaping.js +6 -6
- package/dist/safe-bash-contracts/filesystem-descriptor.js +3 -3
- package/dist/safe-bash-contracts/filesystem-output.js +5 -5
- package/dist/safe-bash-contracts/http.d.ts +7 -0
- package/dist/safe-bash-contracts/index.js +8 -8
- package/dist/safe-bash-contracts/io.d.ts +2 -0
- package/dist/safe-bash-contracts/io.js +2 -2
- package/dist/safe-bash-contracts/output.js +3 -3
- package/dist/safe-bash-contracts/runtime-control.d.ts +2 -2
- package/dist/safe-bash-contracts/runtime-control.js +4 -2
- package/dist/safe-bash-contracts/signals.d.ts +2 -0
- package/dist/safe-bash-contracts/signals.js +3 -1
- package/dist/safe-bash-contracts/yield.js +1 -1
- package/dist/safe-bash-csv-engine/index.d.ts +2 -1
- package/dist/safe-bash-csv-engine/index.js +21 -15
- package/dist/safe-bash-io-engine/commands/search/requirements.js +2 -2
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +6 -6
- package/dist/safe-bash-io-engine/internal.js +1 -1
- package/dist/safe-bash-io-engine/shell/pattern.js +38 -18
- package/dist/safe-bash-line-ending-engine/convert.js +9 -204
- package/dist/safe-bash-line-ending-engine/encoding.js +9 -42
- package/dist/safe-bash-line-ending-engine/index.js +48 -0
- package/dist/safe-bash-line-ending-engine/info.js +9 -90
- package/dist/safe-bash-line-ending-engine/internal.js +15 -160
- package/dist/safe-bash-line-ending-engine/io.js +12 -289
- package/dist/safe-bash-line-ending-engine/stage.js +10 -160
- package/dist/safe-bash-markdown-engine/index.js +3 -3
- package/dist/safe-bash-metadata-engine/LICENSE +21 -0
- package/dist/safe-bash-metadata-engine/index.d.ts +30 -0
- package/dist/safe-bash-metadata-engine/index.js +82 -0
- package/dist/safe-bash-metadata-engine/random.d.ts +1 -0
- package/dist/safe-bash-metadata-engine/random.js +21 -0
- package/dist/safe-bash-network-engine/args.d.ts +6 -0
- package/dist/safe-bash-network-engine/args.js +4 -2
- package/dist/safe-bash-network-engine/body.js +1 -1
- package/dist/safe-bash-network-engine/fetch-transport.js +3 -1
- package/dist/safe-bash-network-engine/index.js +3 -1
- package/dist/safe-bash-network-engine/input.js +2 -2
- package/dist/safe-bash-network-engine/platform-portable.js +3 -1
- package/dist/safe-bash-query-engine/dates.d.ts +1 -1
- package/dist/safe-bash-query-engine/dates.js +1 -1
- package/dist/safe-bash-query-engine/index.js +6 -6
- package/dist/safe-bash-query-engine/interpreter.js +4 -4
- package/dist/safe-bash-query-engine/parser.js +1 -1
- package/dist/safe-bash-query-engine/query-core.js +6 -6
- package/dist/safe-bash-regex-engine/execution/bounded-provider.js +10 -0
- package/dist/safe-bash-regex-engine/index.js +1 -1
- package/dist/safe-bash-regex-engine/text/regex.d.ts +1 -1
- package/dist/safe-bash-regex-engine/text/regex.js +1 -1
- package/dist/safe-bash-search-engine/ergonomic-regex.d.ts +1 -0
- 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 +17 -10
- package/dist/safe-bash-search-engine/matcher.d.ts +2 -2
- package/dist/safe-bash-search-engine/matcher.js +13 -9
- package/dist/safe-bash-search-engine/options.d.ts +2 -0
- package/dist/safe-bash-search-engine/options.js +1 -1
- package/dist/safe-bash-search-engine/output.js +1 -1
- package/dist/safe-bash-search-engine/shared.js +2 -2
- package/dist/safe-bash-search-engine/walk.js +15 -3
- package/dist/safe-bash-text-stream-engine/stream-format/shared.d.ts +1 -1
- package/dist/safe-bash-text-stream-engine/stream-format/shared.js +2 -1
- package/dist/safe-bash-xml-engine/document.js +3 -3
- package/dist/safe-bash-xml-engine/evaluate.js +2 -2
- package/dist/safe-bash-xml-engine/index.js +4 -4
- package/dist/safe-bash-xml-engine/io.js +7 -2
- package/dist/safe-bash-xml-engine/limits.d.ts +0 -2
- package/dist/safe-bash-xml-engine/limits.js +1 -1
- package/dist/safe-bash-xml-engine/query.js +3 -3
- package/dist/safe-bash-zip-engine/index.js +3 -3
- package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
- package/dist/safe-bash-zip-engine/zip/safety.js +1 -1
- package/dist/safe-bash-zip-engine/zip/sfx.js +3 -3
- package/dist/safe-bash-zip-engine/zip/volumes.js +1 -1
- package/dist/safe-bash-zip-engine/zip-format.js +3 -3
- package/dist/safe-playwright-cloudflare/browser-snapshot-json.js +2 -2
- package/dist/safe-playwright-cloudflare/browser-snapshot-references.js +1 -1
- package/dist/safe-playwright-cloudflare/browser-socket-closure.js +18 -3
- package/dist/safe-playwright-cloudflare/shell-browser-resource.js +1 -1
- package/dist/xlsx-ast/xlsx.js +6 -5
- package/package.json +112 -98
- package/dist/media-cli/bytes.d.ts +0 -8
- package/dist/media-cli/bytes.js +0 -40
- package/dist/media-cli/concat.d.ts +0 -30
- package/dist/media-cli/concat.js +0 -197
- package/dist/media-cli/content.js +0 -66
- package/dist/media-cli/dependency-grammars.d.ts +0 -12
- package/dist/media-cli/dependency-grammars.js +0 -557
- package/dist/media-cli/discover.js +0 -286
- package/dist/media-cli/engine.js +0 -190
- package/dist/media-cli/filename-expression.js +0 -147
- package/dist/media-cli/filesystem.js +0 -35
- package/dist/media-cli/frontend-contract.js +0 -8
- package/dist/media-cli/frontend-issues.d.ts +0 -6
- package/dist/media-cli/frontend-issues.js +0 -9
- package/dist/media-cli/imagemagick-operand.d.ts +0 -42
- package/dist/media-cli/imagemagick-operand.js +0 -229
- package/dist/media-cli/imagemagick-references.d.ts +0 -7
- package/dist/media-cli/imagemagick-references.js +0 -42
- package/dist/media-cli/imagemagick.generated.js +0 -3254
- package/dist/media-cli/imagemagick.js +0 -615
- package/dist/media-cli/index.js +0 -12
- package/dist/media-cli/mvg.d.ts +0 -10
- package/dist/media-cli/mvg.js +0 -102
- package/dist/media-cli/network.js +0 -78
- package/dist/media-cli/options.generated.js +0 -3312
- package/dist/media-cli/preset.d.ts +0 -11
- package/dist/media-cli/preset.js +0 -57
- package/dist/media-cli/resolution-path.d.ts +0 -23
- package/dist/media-cli/resolution-path.js +0 -217
- package/dist/media-cli/resolver.js +0 -494
- package/dist/media-cli/resources.d.ts +0 -16
- package/dist/media-cli/resources.js +0 -187
- package/dist/media-cli/shim.js +0 -52
- package/dist/media-cli/tee.d.ts +0 -6
- package/dist/media-cli/tee.js +0 -38
- package/dist/office-package/zip-sync.js +0 -111
- package/dist/remote-execution/binary.js +0 -178
- package/dist/remote-execution/callback-result.js +0 -26
- package/dist/remote-execution/canonical-capabilities.d.ts +0 -5
- package/dist/remote-execution/canonical-capabilities.js +0 -45
- package/dist/remote-execution/canonical-metadata.d.ts +0 -4
- package/dist/remote-execution/canonical-metadata.js +0 -32
- package/dist/remote-execution/client.js +0 -824
- package/dist/remote-execution/deployment.js +0 -131
- package/dist/remote-execution/descriptors.js +0 -267
- package/dist/remote-execution/effects.js +0 -357
- package/dist/remote-execution/endpoint.js +0 -224
- package/dist/remote-execution/files.js +0 -291
- package/dist/remote-execution/hosting-operation.js +0 -26
- package/dist/remote-execution/hosting-request.d.ts +0 -4
- package/dist/remote-execution/hosting-request.js +0 -12
- package/dist/remote-execution/hosting-stream.d.ts +0 -8
- package/dist/remote-execution/hosting-stream.js +0 -64
- package/dist/remote-execution/index.js +0 -18
- package/dist/remote-execution/invocation-admission.d.ts +0 -3
- package/dist/remote-execution/invocation-admission.js +0 -17
- package/dist/remote-execution/job-binding.js +0 -1269
- package/dist/remote-execution/materializations.js +0 -284
- package/dist/remote-execution/modal-driver.js +0 -90
- package/dist/remote-execution/native-result.d.ts +0 -3
- package/dist/remote-execution/native-result.js +0 -16
- package/dist/remote-execution/output-freshness.d.ts +0 -4
- package/dist/remote-execution/output-freshness.js +0 -19
- package/dist/remote-execution/output-retrieval.js +0 -474
- package/dist/remote-execution/process-http.js +0 -607
- package/dist/remote-execution/process.js +0 -577
- package/dist/remote-execution/protocol.js +0 -208
- package/dist/remote-execution/relay.js +0 -91
- package/dist/remote-execution/rest-driver.js +0 -93
- package/dist/remote-execution/upload-descriptor.js +0 -201
- package/dist/remote-execution/upload-protocol.js +0 -62
- package/dist/remote-execution/uploads.js +0 -324
- package/dist/remote-execution/wire-json.d.ts +0 -4
- package/dist/remote-execution/wire-json.js +0 -44
- package/dist/remote-execution/wire-validation.js +0 -131
- package/dist/remote-execution/wire.generated.js +0 -4224
- package/dist/safe-bash/chunks/chunk-GETUOD5D.js +0 -161
- package/dist/safe-bash/chunks/chunk-IWDICZVK.js +0 -20
- package/dist/safe-bash/chunks/chunk-MHMMRCYC.js +0 -3464
- package/dist/safe-bash/chunks/chunk-UE5KZDEK.js +0 -77
- package/dist/safe-bash/chunks/chunk-VSAJ4OTM.js +0 -962
- package/dist/safe-bash/chunks/csvkit-TACDU7FC.js +0 -1618
- package/dist/safe-bash/chunks/implementation-MLFHUQ5M.js +0 -133
- package/dist/safe-bash/commands/csvkit/sync.js +0 -1639
- package/dist/safe-bash/commands/node/unconfigured.d.ts +0 -3
- package/dist/safe-bash/commands/node/unconfigured.js +0 -10
- package/dist/safe-bash/commands/pandoc/implementation.d.ts +0 -8
- package/dist/safe-bash/commands/pandoc/implementation.js +0 -94
- package/dist/safe-bash-mcp/index.browser.js +0 -9157
- package/dist/safe-bash/command-chunks/{chunk-ZRRBXU3M.js → chunk-GIN5GUDP.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-LAOM65EE.js → chunk-IEO4XVN6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-364TMWBT.js → chunk-MWREVL44.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-464RVBGB.js → chunk-Q5TDKFHK.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-AJR3AQYA.js → chunk-UKX3LZHR.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-XIIBTGC5.js → chunk-XPXEQKRW.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-FDBUV4HJ.js → chunk-Y4HGTG3E.js} +3 -3
- /package/dist/{safe-bash/commands/csvkit → safe-bash-command-csvkit}/sync.d.ts +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
evalSyncCurl,
|
|
13
13
|
evalSyncWget,
|
|
14
14
|
networkCommands
|
|
15
|
-
} from "./chunks/chunk-
|
|
15
|
+
} from "./chunks/chunk-HIIYIJ5G.js";
|
|
16
16
|
import {
|
|
17
17
|
SafeJsCommandLimitError,
|
|
18
18
|
createSafeJsNodeCommand,
|
|
@@ -23,27 +23,26 @@ import {
|
|
|
23
23
|
safeJsNodeCommands,
|
|
24
24
|
stringValue,
|
|
25
25
|
withSignal
|
|
26
|
-
} from "./chunks/chunk-
|
|
26
|
+
} from "./chunks/chunk-B2Z73HTZ.js";
|
|
27
27
|
import {
|
|
28
28
|
createCsplitCommand,
|
|
29
29
|
createCsplitCommands,
|
|
30
30
|
csplitCommands,
|
|
31
31
|
evalSyncCsplit
|
|
32
|
-
} from "./chunks/chunk-
|
|
32
|
+
} from "./chunks/chunk-GGQAGQXQ.js";
|
|
33
33
|
import {
|
|
34
34
|
cloudflareWorkerLimits
|
|
35
|
-
} from "./chunks/chunk-
|
|
35
|
+
} from "./chunks/chunk-CTXNARJH.js";
|
|
36
36
|
import {
|
|
37
37
|
agentCommands,
|
|
38
38
|
createAgentCommands,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./chunks/chunk-GETUOD5D.js";
|
|
39
|
+
createExiftoolCommand,
|
|
40
|
+
createExiftoolCommands,
|
|
41
|
+
createMmdcCommand,
|
|
42
|
+
createMmdcCommands,
|
|
43
|
+
exiftoolCommands,
|
|
44
|
+
mmdcCommands
|
|
45
|
+
} from "./chunks/chunk-2POETUMB.js";
|
|
47
46
|
import {
|
|
48
47
|
baseAgentCommands,
|
|
49
48
|
bcCommands,
|
|
@@ -90,6 +89,8 @@ import {
|
|
|
90
89
|
createUnameCommands,
|
|
91
90
|
createWhoamiCommand,
|
|
92
91
|
createWhoamiCommands,
|
|
92
|
+
createXanCommand,
|
|
93
|
+
createXanCommands,
|
|
93
94
|
createXxdCommand,
|
|
94
95
|
createXxdCommands,
|
|
95
96
|
createYesCommand,
|
|
@@ -115,39 +116,40 @@ import {
|
|
|
115
116
|
textProgramCommands,
|
|
116
117
|
unameCommands,
|
|
117
118
|
whoamiCommands,
|
|
119
|
+
xanCommands,
|
|
118
120
|
xxdCommands,
|
|
119
121
|
yesCommands
|
|
120
|
-
} from "./chunks/chunk-
|
|
121
|
-
import {
|
|
122
|
-
createFactorCommand,
|
|
123
|
-
createFactorCommands,
|
|
124
|
-
factorCommands
|
|
125
|
-
} from "./chunks/chunk-AM5ESLPH.js";
|
|
122
|
+
} from "./chunks/chunk-LPOVNKNB.js";
|
|
126
123
|
import {
|
|
127
124
|
createHdCommand,
|
|
128
125
|
createHexdumpCommand,
|
|
129
126
|
createHexdumpCommands,
|
|
130
127
|
hexdumpCommands
|
|
131
|
-
} from "./chunks/chunk-
|
|
132
|
-
import {
|
|
133
|
-
createTimeoutCommand,
|
|
134
|
-
createTimeoutCommands,
|
|
135
|
-
evalSyncTimeout,
|
|
136
|
-
signalName,
|
|
137
|
-
timeoutCommands
|
|
138
|
-
} from "./chunks/chunk-FBUCWVTE.js";
|
|
128
|
+
} from "./chunks/chunk-NGKCVNWS.js";
|
|
139
129
|
import {
|
|
140
130
|
createTsortCommand,
|
|
141
131
|
createTsortCommands,
|
|
142
132
|
tsortCommands
|
|
143
|
-
} from "./chunks/chunk-
|
|
133
|
+
} from "./chunks/chunk-N4BQFD3P.js";
|
|
134
|
+
import {
|
|
135
|
+
createFactorCommand,
|
|
136
|
+
createFactorCommands,
|
|
137
|
+
factorCommands
|
|
138
|
+
} from "./chunks/chunk-KU5CVWKA.js";
|
|
144
139
|
import {
|
|
145
140
|
RegexExecutionError
|
|
146
|
-
} from "./chunks/chunk-
|
|
141
|
+
} from "./chunks/chunk-MBOC3LZ4.js";
|
|
147
142
|
import {
|
|
148
143
|
RegexExecutor,
|
|
149
144
|
RegexSession
|
|
150
|
-
} from "./chunks/chunk-
|
|
145
|
+
} from "./chunks/chunk-4ESI236Y.js";
|
|
146
|
+
import {
|
|
147
|
+
createTimeoutCommand,
|
|
148
|
+
createTimeoutCommands,
|
|
149
|
+
evalSyncTimeout,
|
|
150
|
+
signalName,
|
|
151
|
+
timeoutCommands
|
|
152
|
+
} from "./chunks/chunk-2IVBJTBD.js";
|
|
151
153
|
import {
|
|
152
154
|
PythonPackageConflictError,
|
|
153
155
|
createPythonCommands,
|
|
@@ -163,15 +165,18 @@ import {
|
|
|
163
165
|
createPythonPackageEnvironment,
|
|
164
166
|
createPythonPackageManifestStore,
|
|
165
167
|
createPythonShellCapability,
|
|
168
|
+
installPythonLlmDependencies,
|
|
166
169
|
pythonCommands,
|
|
167
170
|
pythonDocumentPackages,
|
|
168
|
-
pythonHostFailureCode
|
|
169
|
-
|
|
170
|
-
|
|
171
|
+
pythonHostFailureCode,
|
|
172
|
+
pythonLlmDependencies
|
|
173
|
+
} from "./chunks/chunk-S4RFUUXO.js";
|
|
174
|
+
import "./chunks/chunk-RUR6J33T.js";
|
|
175
|
+
import "./chunks/chunk-67WIFM3N.js";
|
|
171
176
|
import {
|
|
172
177
|
PythonFailure,
|
|
173
178
|
inspectPythonCapabilities
|
|
174
|
-
} from "./chunks/chunk-
|
|
179
|
+
} from "./chunks/chunk-Q4FNLOTI.js";
|
|
175
180
|
import {
|
|
176
181
|
captureEnvironment,
|
|
177
182
|
createDocumentHandlers,
|
|
@@ -193,7 +198,7 @@ import {
|
|
|
193
198
|
restoreEnvironment,
|
|
194
199
|
selectOpBackendContext,
|
|
195
200
|
selectOpGlobalFlags
|
|
196
|
-
} from "./chunks/chunk-
|
|
201
|
+
} from "./chunks/chunk-ZKYKJCZZ.js";
|
|
197
202
|
import {
|
|
198
203
|
createElevenLabsProvider,
|
|
199
204
|
createLlmCommand,
|
|
@@ -218,34 +223,125 @@ import {
|
|
|
218
223
|
templateYaml,
|
|
219
224
|
validateLlmTemplateParameters,
|
|
220
225
|
validateModelOptions
|
|
221
|
-
} from "./chunks/chunk-
|
|
226
|
+
} from "./chunks/chunk-DSOOVZ6Q.js";
|
|
227
|
+
import {
|
|
228
|
+
createExprCommand,
|
|
229
|
+
createExprCommands,
|
|
230
|
+
exprCommands
|
|
231
|
+
} from "./chunks/chunk-IS572AAT.js";
|
|
232
|
+
import {
|
|
233
|
+
applyPatchCommands,
|
|
234
|
+
createApplyPatchCommand,
|
|
235
|
+
createApplyPatchCommands,
|
|
236
|
+
evalSyncApplyPatch
|
|
237
|
+
} from "./chunks/chunk-EE5YGFIZ.js";
|
|
238
|
+
import {
|
|
239
|
+
createDocxCommand,
|
|
240
|
+
createDocxCommands,
|
|
241
|
+
docxCommands
|
|
242
|
+
} from "./chunks/chunk-G6V4RRSQ.js";
|
|
243
|
+
import {
|
|
244
|
+
createStreamFormatCommands,
|
|
245
|
+
streamFormatCommands
|
|
246
|
+
} from "./chunks/chunk-SZRUU5HS.js";
|
|
247
|
+
import {
|
|
248
|
+
createSplitCommand,
|
|
249
|
+
createSplitCommands,
|
|
250
|
+
evalSyncSplit,
|
|
251
|
+
splitCommands
|
|
252
|
+
} from "./chunks/chunk-CFAWS3O4.js";
|
|
222
253
|
import {
|
|
223
254
|
createEgrepCommand,
|
|
224
255
|
createFgrepCommand,
|
|
225
256
|
createGrepAliasCommands,
|
|
226
257
|
grepAliasCommands
|
|
227
|
-
} from "./chunks/chunk-
|
|
258
|
+
} from "./chunks/chunk-SD2ISU5L.js";
|
|
228
259
|
import {
|
|
229
260
|
columnCommands,
|
|
230
261
|
createColumnCommand,
|
|
231
262
|
createColumnCommands
|
|
232
|
-
} from "./chunks/chunk-
|
|
263
|
+
} from "./chunks/chunk-XNGVOSGI.js";
|
|
233
264
|
import {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
265
|
+
createCompareCommand,
|
|
266
|
+
createCompositeCommand,
|
|
267
|
+
createConvertCommand,
|
|
268
|
+
createCsvkitCommand,
|
|
269
|
+
createCsvkitCommands,
|
|
270
|
+
createFfmpegCommand,
|
|
271
|
+
createFfmpegCommands,
|
|
272
|
+
createFfprobeCommand,
|
|
273
|
+
createFormatInspectionCommand,
|
|
274
|
+
createGhCommand,
|
|
275
|
+
createGhCommands,
|
|
276
|
+
createGitCommand,
|
|
277
|
+
createGitCommands,
|
|
278
|
+
createIdentifyCommand,
|
|
279
|
+
createImagemagickCommand,
|
|
280
|
+
createImagemagickCommands,
|
|
281
|
+
createLazyCommandLoader,
|
|
282
|
+
createLazyCommands,
|
|
283
|
+
createLibreofficeCommand,
|
|
284
|
+
createMagickCommand,
|
|
285
|
+
createMogrifyCommand,
|
|
286
|
+
createMontageCommand,
|
|
287
|
+
createOptionalCommands,
|
|
288
|
+
createPandocCommand,
|
|
289
|
+
createPandocCommands,
|
|
290
|
+
createPdfdetachCommand,
|
|
291
|
+
createPdffontsCommand,
|
|
292
|
+
createPdfimagesCommand,
|
|
293
|
+
createPdfimagesCommands,
|
|
294
|
+
createPdfinfoCommand,
|
|
295
|
+
createPdfinfoCommands,
|
|
296
|
+
createPdfseparateCommand,
|
|
297
|
+
createPdftkCommand,
|
|
298
|
+
createPdftkCommands,
|
|
299
|
+
createPdftocairoCommand,
|
|
300
|
+
createPdftoppmCommand,
|
|
301
|
+
createPdftoppmCommands,
|
|
302
|
+
createPdftotextCommand,
|
|
303
|
+
createPdftotextCommands,
|
|
304
|
+
createPdfuniteCommand,
|
|
305
|
+
createQpdfCommand,
|
|
306
|
+
createQpdfCommands,
|
|
307
|
+
createSipsCommand,
|
|
308
|
+
createSipsCommands,
|
|
309
|
+
createSofficeCommand,
|
|
310
|
+
createSofficeCommands,
|
|
311
|
+
createSsconvertCommand,
|
|
312
|
+
createSsconvertCommands,
|
|
313
|
+
createWkhtmltopdfCommand,
|
|
314
|
+
createWkhtmltopdfCommands,
|
|
315
|
+
csvkitCommands,
|
|
316
|
+
ffmpegCommands,
|
|
317
|
+
ghCommands,
|
|
318
|
+
gitCommands,
|
|
319
|
+
imagemagickCommands,
|
|
320
|
+
lazyCommandPlugin,
|
|
321
|
+
optionalCommandCatalog,
|
|
322
|
+
optionalCommands,
|
|
323
|
+
pandocCommands,
|
|
324
|
+
pdfimagesCommands,
|
|
325
|
+
pdfinfoCommands,
|
|
326
|
+
pdftkCommands,
|
|
327
|
+
pdftoppmCommands,
|
|
328
|
+
pdftotextCommands,
|
|
329
|
+
qpdfCommands,
|
|
330
|
+
sipsCommands,
|
|
331
|
+
sofficeCommands,
|
|
332
|
+
ssconvertCommands,
|
|
333
|
+
wkhtmltopdfCommands
|
|
334
|
+
} from "./chunks/chunk-FAAIR6EJ.js";
|
|
244
335
|
import {
|
|
245
|
-
MemoryFileSystem,
|
|
246
336
|
Shell,
|
|
247
337
|
ShellLimitError,
|
|
248
338
|
ShellSyntaxError,
|
|
339
|
+
createSearchCommands,
|
|
340
|
+
evalSyncRg,
|
|
341
|
+
parseShell,
|
|
342
|
+
searchCommands
|
|
343
|
+
} from "./chunks/chunk-W2IYOVHK.js";
|
|
344
|
+
import {
|
|
249
345
|
createCsvcutCommand,
|
|
250
346
|
createCsvcutCommands,
|
|
251
347
|
createCsvgrepCommand,
|
|
@@ -254,20 +350,14 @@ import {
|
|
|
254
350
|
createDiff3Commands,
|
|
255
351
|
createHtmlqCommand,
|
|
256
352
|
createHtmlqCommands,
|
|
257
|
-
createMemoryFileSystem,
|
|
258
|
-
createSearchCommands,
|
|
259
353
|
createUnrtfCommand,
|
|
260
354
|
createUnrtfCommands,
|
|
261
355
|
csvcutCommands,
|
|
262
356
|
csvgrepCommands,
|
|
263
|
-
defaultMemoryFileSystemLimits,
|
|
264
357
|
diff3Commands,
|
|
265
|
-
evalSyncRg,
|
|
266
358
|
htmlqCommands,
|
|
267
|
-
parseShell,
|
|
268
|
-
searchCommands,
|
|
269
359
|
unrtfCommands
|
|
270
|
-
} from "./chunks/chunk-
|
|
360
|
+
} from "./chunks/chunk-YOXUCJER.js";
|
|
271
361
|
import {
|
|
272
362
|
createMikeYqCommand,
|
|
273
363
|
createMikeYqCommands,
|
|
@@ -277,8 +367,7 @@ import {
|
|
|
277
367
|
formatSyncYqYamlLines,
|
|
278
368
|
mikeYqCommands,
|
|
279
369
|
yqCommands
|
|
280
|
-
} from "./chunks/chunk-
|
|
281
|
-
import "./chunks/chunk-3NDIFSNM.js";
|
|
370
|
+
} from "./chunks/chunk-D5Q7NFWI.js";
|
|
282
371
|
import {
|
|
283
372
|
calCommands,
|
|
284
373
|
createCalCommand,
|
|
@@ -316,20 +405,13 @@ import {
|
|
|
316
405
|
patchCommands,
|
|
317
406
|
pathchkCommands,
|
|
318
407
|
whichCommands
|
|
319
|
-
} from "./chunks/chunk-
|
|
320
|
-
import "./chunks/chunk-MHMMRCYC.js";
|
|
321
|
-
import {
|
|
322
|
-
createGetoptCommand,
|
|
323
|
-
createGetoptCommands,
|
|
324
|
-
evalSyncGetopt,
|
|
325
|
-
getoptCommands
|
|
326
|
-
} from "./chunks/chunk-AUSNDQTJ.js";
|
|
408
|
+
} from "./chunks/chunk-AW5KIT6V.js";
|
|
327
409
|
import {
|
|
328
410
|
createIconvCommand,
|
|
329
411
|
createIconvCommands,
|
|
330
412
|
evalSyncIconv,
|
|
331
413
|
iconvCommands
|
|
332
|
-
} from "./chunks/chunk-
|
|
414
|
+
} from "./chunks/chunk-IQW34XQT.js";
|
|
333
415
|
import {
|
|
334
416
|
createDos2unixCommand,
|
|
335
417
|
createDos2unixCommands,
|
|
@@ -338,7 +420,7 @@ import {
|
|
|
338
420
|
dos2unixCommands,
|
|
339
421
|
dos2unixCommands2,
|
|
340
422
|
evalSyncLineEndings
|
|
341
|
-
} from "./chunks/chunk-
|
|
423
|
+
} from "./chunks/chunk-TCKYOLUE.js";
|
|
342
424
|
import {
|
|
343
425
|
MdqError,
|
|
344
426
|
createMdqCommand,
|
|
@@ -348,27 +430,27 @@ import {
|
|
|
348
430
|
mdqCommand,
|
|
349
431
|
mdqCommands,
|
|
350
432
|
parseMdqArguments
|
|
351
|
-
} from "./chunks/chunk-
|
|
352
|
-
import "./chunks/chunk-XVOSKJE2.js";
|
|
353
|
-
import {
|
|
354
|
-
createXmlCommands,
|
|
355
|
-
createXmllintCommand,
|
|
356
|
-
createXmllintCommands,
|
|
357
|
-
defaultXmlQueryLimits,
|
|
358
|
-
evalSyncXmllint,
|
|
359
|
-
evalSyncXq,
|
|
360
|
-
xmlCommands,
|
|
361
|
-
xmllintCommands
|
|
362
|
-
} from "./chunks/chunk-C5OWC2TL.js";
|
|
433
|
+
} from "./chunks/chunk-FOB2FZR4.js";
|
|
363
434
|
import {
|
|
364
435
|
PublicDiagnostic
|
|
365
|
-
} from "./chunks/chunk-
|
|
436
|
+
} from "./chunks/chunk-TC3F4UFF.js";
|
|
366
437
|
import {
|
|
367
438
|
createPrCommand,
|
|
368
439
|
createPrCommands,
|
|
369
440
|
evalSyncPr,
|
|
370
441
|
prCommands
|
|
371
|
-
} from "./chunks/chunk-
|
|
442
|
+
} from "./chunks/chunk-22SX3F2R.js";
|
|
443
|
+
import {
|
|
444
|
+
createGetoptCommand,
|
|
445
|
+
createGetoptCommands,
|
|
446
|
+
evalSyncGetopt,
|
|
447
|
+
getoptCommands
|
|
448
|
+
} from "./chunks/chunk-JPSUHHOA.js";
|
|
449
|
+
import {
|
|
450
|
+
createBoundedRegexProvider
|
|
451
|
+
} from "./chunks/chunk-EJOYT2ME.js";
|
|
452
|
+
import "./chunks/chunk-47D7WBJK.js";
|
|
453
|
+
import "./chunks/chunk-UV4X32QU.js";
|
|
372
454
|
import {
|
|
373
455
|
EreLedger,
|
|
374
456
|
EreProfileLimitError,
|
|
@@ -377,59 +459,71 @@ import {
|
|
|
377
459
|
EreUsageUnknownError,
|
|
378
460
|
compileEre,
|
|
379
461
|
matchEre
|
|
380
|
-
} from "./chunks/chunk-
|
|
462
|
+
} from "./chunks/chunk-6SMICPI3.js";
|
|
463
|
+
import "./chunks/chunk-Y7FW6GLT.js";
|
|
381
464
|
import {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
465
|
+
createXmlCommands,
|
|
466
|
+
createXmllintCommand,
|
|
467
|
+
createXmllintCommands,
|
|
468
|
+
defaultXmlQueryLimits,
|
|
469
|
+
evalSyncXmllint,
|
|
470
|
+
evalSyncXq,
|
|
471
|
+
xmlCommands,
|
|
472
|
+
xmllintCommands
|
|
473
|
+
} from "./chunks/chunk-OQ3AGYCZ.js";
|
|
474
|
+
import "./chunks/chunk-CL2FCTTO.js";
|
|
475
|
+
import "./chunks/chunk-62BOHHJT.js";
|
|
476
|
+
import "./chunks/chunk-DUTAG6ZD.js";
|
|
387
477
|
import {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
478
|
+
createBufferedOutput,
|
|
479
|
+
withInputByteBudget
|
|
480
|
+
} from "./chunks/chunk-4KTMKD5W.js";
|
|
481
|
+
import "./chunks/chunk-SUJ3NTMH.js";
|
|
482
|
+
import "./chunks/chunk-XQWCQSRN.js";
|
|
483
|
+
import {
|
|
484
|
+
createDuCommand,
|
|
485
|
+
createDuCommands,
|
|
486
|
+
duCommands,
|
|
487
|
+
evalSyncDu
|
|
488
|
+
} from "./chunks/chunk-RHFRJIWQ.js";
|
|
489
|
+
import {
|
|
490
|
+
createTimeEnvCommands,
|
|
491
|
+
evalSyncDate,
|
|
492
|
+
evalSyncPrintenv,
|
|
493
|
+
timeEnvCommands
|
|
494
|
+
} from "./chunks/chunk-KBZ4UB2O.js";
|
|
394
495
|
import {
|
|
395
496
|
createTreeCommand,
|
|
396
497
|
createTreeCommands,
|
|
397
498
|
evalSyncTree,
|
|
398
499
|
treeCommands
|
|
399
|
-
} from "./chunks/chunk-
|
|
500
|
+
} from "./chunks/chunk-4T53AERN.js";
|
|
400
501
|
import {
|
|
401
502
|
createFileCommand,
|
|
402
503
|
createFileCommands,
|
|
403
504
|
evalSyncFile,
|
|
404
505
|
fileCommands
|
|
405
|
-
} from "./chunks/chunk-
|
|
506
|
+
} from "./chunks/chunk-7O76UFQD.js";
|
|
406
507
|
import {
|
|
407
508
|
createHtmlToMarkdownCommand,
|
|
408
509
|
createHtmlToMarkdownCommands,
|
|
409
510
|
evalSyncHtmlToMarkdown,
|
|
410
511
|
evalSyncShuf,
|
|
411
512
|
htmlToMarkdownCommands
|
|
412
|
-
} from "./chunks/chunk-
|
|
513
|
+
} from "./chunks/chunk-5XIFJVOO.js";
|
|
413
514
|
import {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
} from "./chunks/chunk-
|
|
515
|
+
builtInDirectContextExecutors,
|
|
516
|
+
isDefaultCommandOptions,
|
|
517
|
+
registerDefaultExecutor,
|
|
518
|
+
registerDefaultExecutors
|
|
519
|
+
} from "./chunks/chunk-OHML2BEU.js";
|
|
419
520
|
import {
|
|
420
521
|
createMetadataCommands,
|
|
421
522
|
evalSyncMktemp,
|
|
422
523
|
evalSyncStat,
|
|
423
524
|
evalSyncTruncate,
|
|
424
525
|
metadataCommands
|
|
425
|
-
} from "./chunks/chunk-
|
|
426
|
-
import "./chunks/chunk-D3ANYGMC.js";
|
|
427
|
-
import "./chunks/chunk-VTH3MLDU.js";
|
|
428
|
-
import "./chunks/chunk-NZQXYWA3.js";
|
|
429
|
-
import {
|
|
430
|
-
createBufferedOutput,
|
|
431
|
-
withInputByteBudget
|
|
432
|
-
} from "./chunks/chunk-74GHTNJA.js";
|
|
526
|
+
} from "./chunks/chunk-IOHH2GTI.js";
|
|
433
527
|
import {
|
|
434
528
|
DEFAULT_ARCHIVE_LIMITS,
|
|
435
529
|
archiveCommands,
|
|
@@ -446,42 +540,24 @@ import {
|
|
|
446
540
|
tarCommands,
|
|
447
541
|
unzipCommands,
|
|
448
542
|
zipCommands
|
|
449
|
-
} from "./chunks/chunk-
|
|
543
|
+
} from "./chunks/chunk-YL3GBUG4.js";
|
|
450
544
|
import {
|
|
451
545
|
createTableTextCommands,
|
|
452
546
|
tableTextCommands
|
|
453
|
-
} from "./chunks/chunk-
|
|
547
|
+
} from "./chunks/chunk-6LNFRPW5.js";
|
|
454
548
|
import {
|
|
455
549
|
createStreamInspectionCommands,
|
|
456
550
|
streamInspectionCommands
|
|
457
|
-
} from "./chunks/chunk-
|
|
458
|
-
import {
|
|
459
|
-
createStreamFormatCommands,
|
|
460
|
-
streamFormatCommands
|
|
461
|
-
} from "./chunks/chunk-R3NAKOED.js";
|
|
462
|
-
import {
|
|
463
|
-
createSplitCommand,
|
|
464
|
-
createSplitCommands,
|
|
465
|
-
evalSyncSplit,
|
|
466
|
-
splitCommands
|
|
467
|
-
} from "./chunks/chunk-7ZBU7KYV.js";
|
|
468
|
-
import {
|
|
469
|
-
createTimeEnvCommands,
|
|
470
|
-
evalSyncDate,
|
|
471
|
-
evalSyncPrintenv,
|
|
472
|
-
timeEnvCommands
|
|
473
|
-
} from "./chunks/chunk-ZVD5IS4V.js";
|
|
551
|
+
} from "./chunks/chunk-Z2AAYYJN.js";
|
|
474
552
|
import {
|
|
475
553
|
builtInDirectContextExecutors as builtInDirectContextExecutors2,
|
|
476
554
|
diagnostic,
|
|
477
555
|
registerDefaultExecutor as registerDefaultExecutor2,
|
|
478
|
-
registerDefaultExecutors as registerDefaultExecutors2
|
|
479
|
-
|
|
480
|
-
} from "./chunks/chunk-E7OYNDGL.js";
|
|
481
|
-
import "./chunks/chunk-IWDICZVK.js";
|
|
556
|
+
registerDefaultExecutors as registerDefaultExecutors2
|
|
557
|
+
} from "./chunks/chunk-V7QT2RWC.js";
|
|
482
558
|
import {
|
|
483
559
|
init_platform
|
|
484
|
-
} from "./chunks/chunk-
|
|
560
|
+
} from "./chunks/chunk-PTAEWLSE.js";
|
|
485
561
|
|
|
486
562
|
// packages/safe-bash/src/core.browser.ts
|
|
487
563
|
init_platform();
|
|
@@ -539,6 +615,16 @@ function portableSearchCommands(options = {}) {
|
|
|
539
615
|
};
|
|
540
616
|
}
|
|
541
617
|
|
|
618
|
+
// packages/safe-bash/src/core.ts
|
|
619
|
+
import { createCmpCommand, createCmpCommands, cmpCommands } from "../safe-bash-command-cmp/index.js";
|
|
620
|
+
import { createInstallCommand, createInstallCommands, installCommands } from "../safe-bash-command-install/index.js";
|
|
621
|
+
import { createTruncateCommand, createTruncateCommands, truncateCommands } from "../safe-bash-command-truncate/index.js";
|
|
622
|
+
|
|
623
|
+
// packages/safe-bash/src/commands/pptx/index.ts
|
|
624
|
+
init_platform();
|
|
625
|
+
import {} from "../safe-bash-command-pptx/index.js";
|
|
626
|
+
import { createPptxCommand, createPptxCommands, pptxCommands } from "../safe-bash-command-pptx/index.js";
|
|
627
|
+
|
|
542
628
|
// packages/safe-bash/src/commands/safejs/index.ts
|
|
543
629
|
init_platform();
|
|
544
630
|
|
|
@@ -622,787 +708,6 @@ function bzip2Commands(options = {}) {
|
|
|
622
708
|
};
|
|
623
709
|
}
|
|
624
710
|
|
|
625
|
-
// packages/safe-bash/src/lazy-optional.ts
|
|
626
|
-
init_platform();
|
|
627
|
-
import { validatePandocOptions } from "../safe-bash-command-pandoc/options.js";
|
|
628
|
-
var loadffmpeg = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/ffmpeg-WTC3TEFI.js"));
|
|
629
|
-
var ffmpegMetadata = [
|
|
630
|
-
{
|
|
631
|
-
name: "ffmpeg",
|
|
632
|
-
description: "Multimedia converter, merger, and stream processor powered by pluggable ASTs"
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
name: "ffprobe",
|
|
636
|
-
description: "Multimedia stream analyzer powered by pluggable ASTs"
|
|
637
|
-
}
|
|
638
|
-
];
|
|
639
|
-
var createFfmpegCommand = (...args) => {
|
|
640
|
-
const metadata2 = ffmpegMetadata.find((item) => item.name === "ffmpeg");
|
|
641
|
-
if (!metadata2) throw new TypeError("Unknown ffmpeg command");
|
|
642
|
-
return createLazyCommands([metadata2], async () => {
|
|
643
|
-
const module = await loadffmpeg();
|
|
644
|
-
return () => [module.createFfmpegCommand(...args)];
|
|
645
|
-
})[0];
|
|
646
|
-
};
|
|
647
|
-
var createFfprobeCommand = (...args) => {
|
|
648
|
-
const metadata2 = ffmpegMetadata.find((item) => item.name === "ffprobe");
|
|
649
|
-
if (!metadata2) throw new TypeError("Unknown ffmpeg command");
|
|
650
|
-
return createLazyCommands([metadata2], async () => {
|
|
651
|
-
const module = await loadffmpeg();
|
|
652
|
-
return () => [module.createFfprobeCommand(...args)];
|
|
653
|
-
})[0];
|
|
654
|
-
};
|
|
655
|
-
var createFfmpegCommands = (...args) => {
|
|
656
|
-
const definitions = createLazyCommands(ffmpegMetadata, async () => {
|
|
657
|
-
const module = await loadffmpeg();
|
|
658
|
-
return () => module.createFfmpegCommands(...args);
|
|
659
|
-
});
|
|
660
|
-
return Object.freeze(
|
|
661
|
-
Object.assign([definitions[0], definitions[1]], {
|
|
662
|
-
ffmpeg: definitions[0],
|
|
663
|
-
ffprobe: definitions[1]
|
|
664
|
-
})
|
|
665
|
-
);
|
|
666
|
-
};
|
|
667
|
-
var ffmpegCommands = (options = {}) => lazyCommandPlugin("ffmpeg-commands", createFfmpegCommands(options), options.replace ?? false);
|
|
668
|
-
var loadgit = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/git-EFZIGJW4.js"));
|
|
669
|
-
var gitMetadata = [
|
|
670
|
-
{
|
|
671
|
-
name: "git",
|
|
672
|
-
description: "Git repositories in the virtual filesystem"
|
|
673
|
-
}
|
|
674
|
-
];
|
|
675
|
-
var gitCommands = (options = {}) => lazyCommandPlugin("git-commands", createGitCommands(options), options.replace ?? false);
|
|
676
|
-
var createGitCommands = (...args) => {
|
|
677
|
-
const definitions = createLazyCommands(gitMetadata, async () => {
|
|
678
|
-
const module = await loadgit();
|
|
679
|
-
return () => module.createGitCommands(...args);
|
|
680
|
-
});
|
|
681
|
-
return definitions;
|
|
682
|
-
};
|
|
683
|
-
var createGitCommand = (...args) => {
|
|
684
|
-
const metadata2 = gitMetadata.find((item) => item.name === "git");
|
|
685
|
-
if (!metadata2) throw new TypeError("Unknown git command");
|
|
686
|
-
return createLazyCommands([metadata2], async () => {
|
|
687
|
-
const module = await loadgit();
|
|
688
|
-
return () => [module.createGitCommand(...args)];
|
|
689
|
-
})[0];
|
|
690
|
-
};
|
|
691
|
-
var loadsoffice = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/soffice-TU73E5KL.js"));
|
|
692
|
-
var sofficeMetadata = [
|
|
693
|
-
{
|
|
694
|
-
name: "soffice",
|
|
695
|
-
description: "Headless document/spreadsheet/presentation to PDF and CSV converter via @poe-code/pdf-ast"
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
name: "libreoffice",
|
|
699
|
-
description: "Headless LibreOffice document/spreadsheet/presentation to PDF converter via @poe-code/pdf-ast"
|
|
700
|
-
}
|
|
701
|
-
];
|
|
702
|
-
var createSofficeCommand = (...args) => {
|
|
703
|
-
const metadata2 = sofficeMetadata.find((item) => item.name === "soffice");
|
|
704
|
-
if (!metadata2) throw new TypeError("Unknown soffice command");
|
|
705
|
-
return createLazyCommands([metadata2], async () => {
|
|
706
|
-
const module = await loadsoffice();
|
|
707
|
-
return () => [module.createSofficeCommand(...args)];
|
|
708
|
-
})[0];
|
|
709
|
-
};
|
|
710
|
-
var sofficeCommands = (options = {}) => lazyCommandPlugin("soffice", createSofficeCommands(options), options.replace ?? false);
|
|
711
|
-
var createSofficeCommands = (...args) => {
|
|
712
|
-
const definitions = createLazyCommands(sofficeMetadata, async () => {
|
|
713
|
-
const module = await loadsoffice();
|
|
714
|
-
return () => module.createSofficeCommands(...args);
|
|
715
|
-
});
|
|
716
|
-
return definitions;
|
|
717
|
-
};
|
|
718
|
-
var loadpandoc = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/implementation-MLFHUQ5M.js"));
|
|
719
|
-
var pandocMetadata = [
|
|
720
|
-
{
|
|
721
|
-
name: "pandoc",
|
|
722
|
-
description: "Convert documents with the original bounded TypeScript SDK"
|
|
723
|
-
}
|
|
724
|
-
];
|
|
725
|
-
var pandocCommands = (options = {}) => {
|
|
726
|
-
let hasCommand;
|
|
727
|
-
const command = createPandocCommand(options, (name) => hasCommand?.(name) ?? false);
|
|
728
|
-
return {
|
|
729
|
-
name: "pandoc",
|
|
730
|
-
setup(host) {
|
|
731
|
-
hasCommand = (name) => host.commands.has(name);
|
|
732
|
-
host.commands.register(command, { replace: options.replace ?? false });
|
|
733
|
-
}
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
var createPandocCommands = (...args) => {
|
|
737
|
-
validatePandocOptions(args[0] === void 0 ? {} : args[0]);
|
|
738
|
-
const definitions = createLazyCommands(pandocMetadata, async () => {
|
|
739
|
-
const module = await loadpandoc();
|
|
740
|
-
return () => module.createPandocCommands(...args);
|
|
741
|
-
});
|
|
742
|
-
return definitions;
|
|
743
|
-
};
|
|
744
|
-
var createPandocCommand = (...args) => {
|
|
745
|
-
validatePandocOptions(args[0] === void 0 ? {} : args[0]);
|
|
746
|
-
const metadata2 = pandocMetadata.find((item) => item.name === "pandoc");
|
|
747
|
-
if (!metadata2) throw new TypeError("Unknown pandoc command");
|
|
748
|
-
return createLazyCommands([metadata2], async () => {
|
|
749
|
-
const module = await loadpandoc();
|
|
750
|
-
return () => [module.createPandocCommand(...args)];
|
|
751
|
-
})[0];
|
|
752
|
-
};
|
|
753
|
-
var loadssconvert = /* @__PURE__ */ createLazyCommandLoader(() => import("../safe-bash-command-ssconvert/index.js"));
|
|
754
|
-
var loadSelectedSsconvert = /* @__PURE__ */ createLazyCommandLoader(
|
|
755
|
-
() => import("../safe-bash-command-ssconvert/commands.js")
|
|
756
|
-
);
|
|
757
|
-
var ssconvertMetadata = [
|
|
758
|
-
{
|
|
759
|
-
name: "ssconvert",
|
|
760
|
-
description: "Explicitly bound TypeScript spreadsheet conversion engine"
|
|
761
|
-
}
|
|
762
|
-
];
|
|
763
|
-
var createSsconvertCommand = (...args) => {
|
|
764
|
-
const metadata2 = ssconvertMetadata.find((item) => item.name === "ssconvert");
|
|
765
|
-
if (!metadata2) throw new TypeError("Unknown ssconvert command");
|
|
766
|
-
return createLazyCommands([metadata2], async () => {
|
|
767
|
-
const module = await (args[0]?.formats === void 0 ? loadssconvert() : loadSelectedSsconvert());
|
|
768
|
-
return () => [module.createSsconvertCommand(...args)];
|
|
769
|
-
})[0];
|
|
770
|
-
};
|
|
771
|
-
var ssconvertCommands = (options = {}) => lazyCommandPlugin(
|
|
772
|
-
"ssconvert-commands",
|
|
773
|
-
createSsconvertCommands(options),
|
|
774
|
-
options.replace ?? false
|
|
775
|
-
);
|
|
776
|
-
var createSsconvertCommands = (...args) => {
|
|
777
|
-
const definitions = createLazyCommands(ssconvertMetadata, async () => {
|
|
778
|
-
const module = await (args[0]?.formats === void 0 ? loadssconvert() : loadSelectedSsconvert());
|
|
779
|
-
return () => module.createSsconvertCommands(...args);
|
|
780
|
-
});
|
|
781
|
-
return definitions;
|
|
782
|
-
};
|
|
783
|
-
var loadpdfinfo = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdfinfo-TIP6XLUQ.js"));
|
|
784
|
-
var pdfinfoMetadata = [
|
|
785
|
-
{
|
|
786
|
-
name: "pdfinfo",
|
|
787
|
-
description: "Extract PDF metadata, page boxes, encryption, and structure via @poe-code/pdf-ast"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
name: "pdfunite",
|
|
791
|
-
description: "Merge multiple PDF documents into a single PDF via @poe-code/pdf-ast"
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
name: "pdfseparate",
|
|
795
|
-
description: "Split PDF pages into individual PDF files via @poe-code/pdf-ast"
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
name: "pdffonts",
|
|
799
|
-
description: "List fonts used in a PDF document via @poe-code/pdf-ast"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
name: "pdfdetach",
|
|
803
|
-
description: "List and extract embedded file attachments from PDF documents via @poe-code/pdf-ast"
|
|
804
|
-
}
|
|
805
|
-
];
|
|
806
|
-
var createPdfinfoCommand = (...args) => {
|
|
807
|
-
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfinfo");
|
|
808
|
-
if (!metadata2) throw new TypeError("Unknown pdfinfo command");
|
|
809
|
-
return createLazyCommands([metadata2], async () => {
|
|
810
|
-
const module = await loadpdfinfo();
|
|
811
|
-
return () => [module.createPdfinfoCommand(...args)];
|
|
812
|
-
})[0];
|
|
813
|
-
};
|
|
814
|
-
var pdfinfoCommands = (options = {}) => lazyCommandPlugin("pdfinfo", createPdfinfoCommands(options), options.replace ?? false);
|
|
815
|
-
var createPdfinfoCommands = (...args) => {
|
|
816
|
-
const definitions = createLazyCommands(pdfinfoMetadata, async () => {
|
|
817
|
-
const module = await loadpdfinfo();
|
|
818
|
-
return () => module.createPdfinfoCommands(...args);
|
|
819
|
-
});
|
|
820
|
-
return definitions;
|
|
821
|
-
};
|
|
822
|
-
var loadpdftotext = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftotext-5IPZ4NI7.js"));
|
|
823
|
-
var pdftotextMetadata = [
|
|
824
|
-
{
|
|
825
|
-
name: "pdftotext",
|
|
826
|
-
description: "Extract PDF text, layout, XHTML bounding boxes, and TSV via @poe-code/pdf-ast"
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
name: "pdftohtml",
|
|
830
|
-
description: "Convert PDF pages into HTML or XML layout documents via @poe-code/pdf-ast"
|
|
831
|
-
}
|
|
832
|
-
];
|
|
833
|
-
var createPdftotextCommand = (...args) => {
|
|
834
|
-
const metadata2 = pdftotextMetadata.find((item) => item.name === "pdftotext");
|
|
835
|
-
if (!metadata2) throw new TypeError("Unknown pdftotext command");
|
|
836
|
-
return createLazyCommands([metadata2], async () => {
|
|
837
|
-
const module = await loadpdftotext();
|
|
838
|
-
return () => [module.createPdftotextCommand(...args)];
|
|
839
|
-
})[0];
|
|
840
|
-
};
|
|
841
|
-
var pdftotextCommands = (options = {}) => lazyCommandPlugin(
|
|
842
|
-
"pdftotext",
|
|
843
|
-
createPdftotextCommands(options),
|
|
844
|
-
options.replace ?? false
|
|
845
|
-
);
|
|
846
|
-
var createPdftotextCommands = (...args) => {
|
|
847
|
-
const definitions = createLazyCommands(pdftotextMetadata, async () => {
|
|
848
|
-
const module = await loadpdftotext();
|
|
849
|
-
return () => module.createPdftotextCommands(...args);
|
|
850
|
-
});
|
|
851
|
-
return definitions;
|
|
852
|
-
};
|
|
853
|
-
var loadpdfimages = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdfimages-DW7LWXFI.js"));
|
|
854
|
-
var pdfimagesMetadata = [
|
|
855
|
-
{
|
|
856
|
-
name: "pdfimages",
|
|
857
|
-
description: "List and extract embedded images from PDF pages via @poe-code/pdf-ast"
|
|
858
|
-
}
|
|
859
|
-
];
|
|
860
|
-
var createPdfimagesCommand = (...args) => {
|
|
861
|
-
const metadata2 = pdfimagesMetadata.find((item) => item.name === "pdfimages");
|
|
862
|
-
if (!metadata2) throw new TypeError("Unknown pdfimages command");
|
|
863
|
-
return createLazyCommands([metadata2], async () => {
|
|
864
|
-
const module = await loadpdfimages();
|
|
865
|
-
return () => [module.createPdfimagesCommand(...args)];
|
|
866
|
-
})[0];
|
|
867
|
-
};
|
|
868
|
-
var pdfimagesCommands = (options = {}) => lazyCommandPlugin(
|
|
869
|
-
"pdfimages",
|
|
870
|
-
createPdfimagesCommands(options),
|
|
871
|
-
options.replace ?? false
|
|
872
|
-
);
|
|
873
|
-
var createPdfimagesCommands = (...args) => {
|
|
874
|
-
const definitions = createLazyCommands(pdfimagesMetadata, async () => {
|
|
875
|
-
const module = await loadpdfimages();
|
|
876
|
-
return () => module.createPdfimagesCommands(...args);
|
|
877
|
-
});
|
|
878
|
-
return definitions;
|
|
879
|
-
};
|
|
880
|
-
var loadpdftoppm = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftoppm-WNDYR72T.js"));
|
|
881
|
-
var pdftoppmMetadata = [
|
|
882
|
-
{
|
|
883
|
-
name: "pdftoppm",
|
|
884
|
-
description: "Render PDF pages to PNG, PPM, PGM, PBM, or SVG via @poe-code/pdf-ast"
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
name: "pdftocairo",
|
|
888
|
-
description: "Render PDF pages to PNG, JPEG, TIFF, PDF, PS, EPS, or SVG via @poe-code/pdf-ast"
|
|
889
|
-
}
|
|
890
|
-
];
|
|
891
|
-
var createPdftoppmCommand = (...args) => {
|
|
892
|
-
const metadata2 = pdftoppmMetadata.find((item) => item.name === "pdftoppm");
|
|
893
|
-
if (!metadata2) throw new TypeError("Unknown pdftoppm command");
|
|
894
|
-
return createLazyCommands([metadata2], async () => {
|
|
895
|
-
const module = await loadpdftoppm();
|
|
896
|
-
return () => [module.createPdftoppmCommand(...args)];
|
|
897
|
-
})[0];
|
|
898
|
-
};
|
|
899
|
-
var pdftoppmCommands = (options = {}) => lazyCommandPlugin("pdftoppm", createPdftoppmCommands(options), options.replace ?? false);
|
|
900
|
-
var createPdftoppmCommands = (...args) => {
|
|
901
|
-
const definitions = createLazyCommands(pdftoppmMetadata, async () => {
|
|
902
|
-
const module = await loadpdftoppm();
|
|
903
|
-
return () => module.createPdftoppmCommands(...args);
|
|
904
|
-
});
|
|
905
|
-
return definitions;
|
|
906
|
-
};
|
|
907
|
-
var loadpdftk = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/pdftk-DMG22ITZ.js"));
|
|
908
|
-
var pdftkMetadata = [
|
|
909
|
-
{
|
|
910
|
-
name: "pdftk",
|
|
911
|
-
description: "Manipulate PDF documents, fill/flatten AcroForms, and assemble pages via @poe-code/pdf-ast"
|
|
912
|
-
}
|
|
913
|
-
];
|
|
914
|
-
var createPdftkCommand = (...args) => {
|
|
915
|
-
const metadata2 = pdftkMetadata.find((item) => item.name === "pdftk");
|
|
916
|
-
if (!metadata2) throw new TypeError("Unknown pdftk command");
|
|
917
|
-
return createLazyCommands([metadata2], async () => {
|
|
918
|
-
const module = await loadpdftk();
|
|
919
|
-
return () => [module.createPdftkCommand(...args)];
|
|
920
|
-
})[0];
|
|
921
|
-
};
|
|
922
|
-
var pdftkCommands = (options = {}) => lazyCommandPlugin("pdftk", createPdftkCommands(options), options.replace ?? false);
|
|
923
|
-
var createPdftkCommands = (...args) => {
|
|
924
|
-
const definitions = createLazyCommands(pdftkMetadata, async () => {
|
|
925
|
-
const module = await loadpdftk();
|
|
926
|
-
return () => module.createPdftkCommands(...args);
|
|
927
|
-
});
|
|
928
|
-
return definitions;
|
|
929
|
-
};
|
|
930
|
-
var loadqpdf = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/qpdf-TTX2DIUA.js"));
|
|
931
|
-
var qpdfMetadata = [
|
|
932
|
-
{
|
|
933
|
-
name: "qpdf",
|
|
934
|
-
description: "Structural PDF inspection, encryption, page selection, and transformation via @poe-code/pdf-ast"
|
|
935
|
-
}
|
|
936
|
-
];
|
|
937
|
-
var createQpdfCommand = (...args) => {
|
|
938
|
-
const metadata2 = qpdfMetadata.find((item) => item.name === "qpdf");
|
|
939
|
-
if (!metadata2) throw new TypeError("Unknown qpdf command");
|
|
940
|
-
return createLazyCommands([metadata2], async () => {
|
|
941
|
-
const module = await loadqpdf();
|
|
942
|
-
return () => [module.createQpdfCommand(...args)];
|
|
943
|
-
})[0];
|
|
944
|
-
};
|
|
945
|
-
var qpdfCommands = (options = {}) => lazyCommandPlugin("qpdf", createQpdfCommands(options), options.replace ?? false);
|
|
946
|
-
var createQpdfCommands = (...args) => {
|
|
947
|
-
const definitions = createLazyCommands(qpdfMetadata, async () => {
|
|
948
|
-
const module = await loadqpdf();
|
|
949
|
-
return () => module.createQpdfCommands(...args);
|
|
950
|
-
});
|
|
951
|
-
return definitions;
|
|
952
|
-
};
|
|
953
|
-
var loadsips = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/sips-XYS46JPJ.js"));
|
|
954
|
-
var sipsMetadata = [
|
|
955
|
-
{
|
|
956
|
-
name: "sips",
|
|
957
|
-
description: "Scriptable image processing system powered by @poe-code/image-ast"
|
|
958
|
-
}
|
|
959
|
-
];
|
|
960
|
-
var createSipsCommand = (...args) => {
|
|
961
|
-
const metadata2 = sipsMetadata.find((item) => item.name === "sips");
|
|
962
|
-
if (!metadata2) throw new TypeError("Unknown sips command");
|
|
963
|
-
return createLazyCommands([metadata2], async () => {
|
|
964
|
-
const module = await loadsips();
|
|
965
|
-
return () => [module.createSipsCommand(...args)];
|
|
966
|
-
})[0];
|
|
967
|
-
};
|
|
968
|
-
var sipsCommands = (options = {}) => lazyCommandPlugin("sips", createSipsCommands(options), options.replace ?? false);
|
|
969
|
-
var createSipsCommands = (...args) => {
|
|
970
|
-
const definitions = createLazyCommands(sipsMetadata, async () => {
|
|
971
|
-
const module = await loadsips();
|
|
972
|
-
return () => module.createSipsCommands(...args);
|
|
973
|
-
});
|
|
974
|
-
return definitions;
|
|
975
|
-
};
|
|
976
|
-
var loadimagemagick = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/imagemagick-EIEYGWPF.js"));
|
|
977
|
-
var imagemagickMetadata = [
|
|
978
|
-
{
|
|
979
|
-
name: "magick",
|
|
980
|
-
description: "ImageMagick v7 image processor powered by @poe-code/image-ast"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
name: "convert",
|
|
984
|
-
description: "ImageMagick convert pipeline powered by @poe-code/image-ast"
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
name: "mogrify",
|
|
988
|
-
description: "ImageMagick in-place batch image processor powered by @poe-code/image-ast"
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
name: "composite",
|
|
992
|
-
description: "ImageMagick overlay composition tool powered by @poe-code/image-ast"
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
name: "montage",
|
|
996
|
-
description: "ImageMagick contact-sheet grid generator powered by @poe-code/image-ast"
|
|
997
|
-
},
|
|
998
|
-
{
|
|
999
|
-
name: "identify",
|
|
1000
|
-
description: "ImageMagick image metadata inspector powered by @poe-code/image-ast"
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
name: "compare",
|
|
1004
|
-
description: "ImageMagick image comparison and diff generator powered by @poe-code/image-ast"
|
|
1005
|
-
}
|
|
1006
|
-
];
|
|
1007
|
-
var createMagickCommand = (...args) => {
|
|
1008
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "magick");
|
|
1009
|
-
if (!metadata2) throw new TypeError("Unknown imagemagick command");
|
|
1010
|
-
return createLazyCommands([metadata2], async () => {
|
|
1011
|
-
const module = await loadimagemagick();
|
|
1012
|
-
return () => [module.createMagickCommand(...args)];
|
|
1013
|
-
})[0];
|
|
1014
|
-
};
|
|
1015
|
-
var imagemagickCommands = (options = {}) => lazyCommandPlugin(
|
|
1016
|
-
"imagemagick",
|
|
1017
|
-
createImagemagickCommands(options),
|
|
1018
|
-
options.replace ?? false
|
|
1019
|
-
);
|
|
1020
|
-
var createImagemagickCommands = (...args) => {
|
|
1021
|
-
const definitions = createLazyCommands(imagemagickMetadata, async () => {
|
|
1022
|
-
const module = await loadimagemagick();
|
|
1023
|
-
return () => module.createImagemagickCommands(...args);
|
|
1024
|
-
});
|
|
1025
|
-
return definitions;
|
|
1026
|
-
};
|
|
1027
|
-
var createImagemagickCommand = (...args) => {
|
|
1028
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "magick");
|
|
1029
|
-
if (!metadata2) throw new TypeError("Unknown imagemagick command");
|
|
1030
|
-
return createLazyCommands([metadata2], async () => {
|
|
1031
|
-
const module = await loadimagemagick();
|
|
1032
|
-
return () => [module.createImagemagickCommand(...args)];
|
|
1033
|
-
})[0];
|
|
1034
|
-
};
|
|
1035
|
-
var loadwkhtmltopdf = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/wkhtmltopdf-FSZ2CHGE.js"));
|
|
1036
|
-
var wkhtmltopdfMetadata = [
|
|
1037
|
-
{
|
|
1038
|
-
name: "wkhtmltopdf",
|
|
1039
|
-
description: "Bounded static HTML-to-PDF adapter with a built-in PDF AST renderer"
|
|
1040
|
-
}
|
|
1041
|
-
];
|
|
1042
|
-
var createWkhtmltopdfCommand = (...args) => {
|
|
1043
|
-
const metadata2 = wkhtmltopdfMetadata.find((item) => item.name === "wkhtmltopdf");
|
|
1044
|
-
if (!metadata2) throw new TypeError("Unknown wkhtmltopdf command");
|
|
1045
|
-
return createLazyCommands([metadata2], async () => {
|
|
1046
|
-
const module = await loadwkhtmltopdf();
|
|
1047
|
-
return () => [module.createWkhtmltopdfCommand(...args)];
|
|
1048
|
-
})[0];
|
|
1049
|
-
};
|
|
1050
|
-
var wkhtmltopdfCommands = (options = {}) => lazyCommandPlugin(
|
|
1051
|
-
"wkhtmltopdf",
|
|
1052
|
-
createWkhtmltopdfCommands(options),
|
|
1053
|
-
options.replace ?? false
|
|
1054
|
-
);
|
|
1055
|
-
var createWkhtmltopdfCommands = (...args) => {
|
|
1056
|
-
const definitions = createLazyCommands(wkhtmltopdfMetadata, async () => {
|
|
1057
|
-
const module = await loadwkhtmltopdf();
|
|
1058
|
-
return () => module.createWkhtmltopdfCommands(...args);
|
|
1059
|
-
});
|
|
1060
|
-
return definitions;
|
|
1061
|
-
};
|
|
1062
|
-
var loadcsvkit = /* @__PURE__ */ createLazyCommandLoader(() => import("./chunks/csvkit-TACDU7FC.js"));
|
|
1063
|
-
var csvkitMetadata = [
|
|
1064
|
-
{
|
|
1065
|
-
name: "csvclean",
|
|
1066
|
-
description: "csvkit 2.2.0 csvclean; compatibility gaps return status 78"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
name: "csvcut",
|
|
1070
|
-
description: "csvkit 2.2.0 csvcut; compatibility gaps return status 78",
|
|
1071
|
-
fallback: true
|
|
1072
|
-
},
|
|
1073
|
-
{
|
|
1074
|
-
name: "csvformat",
|
|
1075
|
-
description: "csvkit 2.2.0 csvformat; compatibility gaps return status 78"
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
name: "csvgrep",
|
|
1079
|
-
description: "csvkit 2.2.0 csvgrep; compatibility gaps return status 78",
|
|
1080
|
-
fallback: true
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
name: "csvjoin",
|
|
1084
|
-
description: "csvkit 2.2.0 csvjoin; compatibility gaps return status 78"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
name: "csvjson",
|
|
1088
|
-
description: "csvkit 2.2.0 csvjson; compatibility gaps return status 78"
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
name: "csvlook",
|
|
1092
|
-
description: "csvkit 2.2.0 csvlook; compatibility gaps return status 78"
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
name: "csvpy",
|
|
1096
|
-
description: "csvkit 2.2.0 csvpy; compatibility gaps return status 78"
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
name: "csvsort",
|
|
1100
|
-
description: "csvkit 2.2.0 csvsort; compatibility gaps return status 78"
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
name: "csvsql",
|
|
1104
|
-
description: "csvkit 2.2.0 csvsql; compatibility gaps return status 78"
|
|
1105
|
-
},
|
|
1106
|
-
{
|
|
1107
|
-
name: "csvstack",
|
|
1108
|
-
description: "csvkit 2.2.0 csvstack; compatibility gaps return status 78"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
name: "csvstat",
|
|
1112
|
-
description: "csvkit 2.2.0 csvstat; compatibility gaps return status 78"
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
name: "in2csv",
|
|
1116
|
-
description: "csvkit 2.2.0 in2csv; compatibility gaps return status 78"
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
name: "sql2csv",
|
|
1120
|
-
description: "csvkit 2.2.0 sql2csv; compatibility gaps return status 78"
|
|
1121
|
-
}
|
|
1122
|
-
];
|
|
1123
|
-
var csvkitCommands = (options = {}) => lazyCommandPlugin("csvkit-commands", createCsvkitCommands(options), options.replace ?? false);
|
|
1124
|
-
var createCsvkitCommands = (...args) => {
|
|
1125
|
-
const definitions = createLazyCommands(csvkitMetadata, async () => {
|
|
1126
|
-
const module = await loadcsvkit();
|
|
1127
|
-
return () => module.createCsvkitCommands(...args);
|
|
1128
|
-
});
|
|
1129
|
-
return definitions;
|
|
1130
|
-
};
|
|
1131
|
-
var createCsvkitCommand = (...args) => {
|
|
1132
|
-
const metadata2 = csvkitMetadata.find((item) => item.name === (args[0]?.name ?? "csvclean"));
|
|
1133
|
-
if (!metadata2) throw new TypeError("Unknown csvkit command");
|
|
1134
|
-
return createLazyCommands([metadata2], async () => {
|
|
1135
|
-
const module = await loadcsvkit();
|
|
1136
|
-
return () => [module.createCsvkitCommand(...args)];
|
|
1137
|
-
})[0];
|
|
1138
|
-
};
|
|
1139
|
-
var optionalFamilies = {
|
|
1140
|
-
ffmpeg: {
|
|
1141
|
-
metadata: ffmpegMetadata,
|
|
1142
|
-
create: (options) => createFfmpegCommands(options.ffmpeg)
|
|
1143
|
-
},
|
|
1144
|
-
git: {
|
|
1145
|
-
metadata: gitMetadata,
|
|
1146
|
-
create: (options) => createGitCommands(options.git)
|
|
1147
|
-
},
|
|
1148
|
-
soffice: {
|
|
1149
|
-
metadata: sofficeMetadata,
|
|
1150
|
-
create: (options) => createSofficeCommands(options.soffice)
|
|
1151
|
-
},
|
|
1152
|
-
pandoc: {
|
|
1153
|
-
metadata: pandocMetadata,
|
|
1154
|
-
create: (options) => createPandocCommands(options.pandoc)
|
|
1155
|
-
},
|
|
1156
|
-
ssconvert: {
|
|
1157
|
-
metadata: ssconvertMetadata,
|
|
1158
|
-
create: (options) => createSsconvertCommands(options.ssconvert)
|
|
1159
|
-
},
|
|
1160
|
-
pdfinfo: {
|
|
1161
|
-
metadata: pdfinfoMetadata,
|
|
1162
|
-
create: (options) => createPdfinfoCommands(options.pdfinfo)
|
|
1163
|
-
},
|
|
1164
|
-
pdftotext: {
|
|
1165
|
-
metadata: pdftotextMetadata,
|
|
1166
|
-
create: (options) => createPdftotextCommands(options.pdftotext)
|
|
1167
|
-
},
|
|
1168
|
-
pdfimages: {
|
|
1169
|
-
metadata: pdfimagesMetadata,
|
|
1170
|
-
create: (options) => createPdfimagesCommands(options.pdfimages)
|
|
1171
|
-
},
|
|
1172
|
-
pdftoppm: {
|
|
1173
|
-
metadata: pdftoppmMetadata,
|
|
1174
|
-
create: (options) => createPdftoppmCommands(options.pdftoppm)
|
|
1175
|
-
},
|
|
1176
|
-
pdftk: {
|
|
1177
|
-
metadata: pdftkMetadata,
|
|
1178
|
-
create: (options) => createPdftkCommands(options.pdftk)
|
|
1179
|
-
},
|
|
1180
|
-
qpdf: {
|
|
1181
|
-
metadata: qpdfMetadata,
|
|
1182
|
-
create: (options) => createQpdfCommands(options.qpdf)
|
|
1183
|
-
},
|
|
1184
|
-
sips: {
|
|
1185
|
-
metadata: sipsMetadata,
|
|
1186
|
-
create: (options) => createSipsCommands(options.sips)
|
|
1187
|
-
},
|
|
1188
|
-
imagemagick: {
|
|
1189
|
-
metadata: imagemagickMetadata,
|
|
1190
|
-
create: (options) => createImagemagickCommands(options.imagemagick)
|
|
1191
|
-
},
|
|
1192
|
-
wkhtmltopdf: {
|
|
1193
|
-
metadata: wkhtmltopdfMetadata,
|
|
1194
|
-
create: (options) => createWkhtmltopdfCommands(options.wkhtmltopdf)
|
|
1195
|
-
},
|
|
1196
|
-
csvkit: {
|
|
1197
|
-
metadata: csvkitMetadata,
|
|
1198
|
-
create: (options) => createCsvkitCommands(options.csvkit)
|
|
1199
|
-
},
|
|
1200
|
-
gh: {
|
|
1201
|
-
metadata: ghMetadata,
|
|
1202
|
-
create: (options) => createGhCommands(options.gh)
|
|
1203
|
-
}
|
|
1204
|
-
};
|
|
1205
|
-
var optionalCommandCatalog = Object.freeze(
|
|
1206
|
-
Object.entries(optionalFamilies).flatMap(
|
|
1207
|
-
([family, entry]) => entry.metadata.map(
|
|
1208
|
-
(metadata2) => Object.freeze({ family, ...metadata2 })
|
|
1209
|
-
)
|
|
1210
|
-
)
|
|
1211
|
-
);
|
|
1212
|
-
function createOptionalCommands(options = {}) {
|
|
1213
|
-
const names = new Set(options.commands ?? []);
|
|
1214
|
-
for (const name of names)
|
|
1215
|
-
if (!optionalCommandCatalog.some((metadata2) => metadata2.name === name)) {
|
|
1216
|
-
throw new TypeError(`Unknown optional command: ${name}`);
|
|
1217
|
-
}
|
|
1218
|
-
const families = new Set(options.families ?? []);
|
|
1219
|
-
for (const family of families)
|
|
1220
|
-
if (!Object.hasOwn(optionalFamilies, family)) {
|
|
1221
|
-
throw new TypeError(`Unknown optional command family: ${family}`);
|
|
1222
|
-
}
|
|
1223
|
-
const definitions = [];
|
|
1224
|
-
for (const [family, entry] of Object.entries(optionalFamilies)) {
|
|
1225
|
-
const fullFamily = options.profile === "full" || families.has(family);
|
|
1226
|
-
if (!fullFamily && !entry.metadata.some((metadata2) => names.has(metadata2.name))) continue;
|
|
1227
|
-
definitions.push(
|
|
1228
|
-
...entry.create(options.configuration ?? {}).filter((command) => fullFamily || names.has(command.name)).map((command) => options.profile === "full" ? Object.freeze({ ...command, fallback: true }) : command)
|
|
1229
|
-
);
|
|
1230
|
-
}
|
|
1231
|
-
return new CommandRegistry(definitions).list();
|
|
1232
|
-
}
|
|
1233
|
-
function optionalCommands(options = {}) {
|
|
1234
|
-
return lazyCommandPlugin(
|
|
1235
|
-
"optional-commands",
|
|
1236
|
-
createOptionalCommands(options),
|
|
1237
|
-
options.replace ?? false
|
|
1238
|
-
);
|
|
1239
|
-
}
|
|
1240
|
-
var createConvertCommand = (...args) => {
|
|
1241
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "convert");
|
|
1242
|
-
if (!metadata2) throw new TypeError("Unknown convert command");
|
|
1243
|
-
return createLazyCommands([metadata2], async () => {
|
|
1244
|
-
const module = await loadimagemagick();
|
|
1245
|
-
return () => [module.createConvertCommand(...args)];
|
|
1246
|
-
})[0];
|
|
1247
|
-
};
|
|
1248
|
-
var createMogrifyCommand = (...args) => {
|
|
1249
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "mogrify");
|
|
1250
|
-
if (!metadata2) throw new TypeError("Unknown mogrify command");
|
|
1251
|
-
return createLazyCommands([metadata2], async () => {
|
|
1252
|
-
const module = await loadimagemagick();
|
|
1253
|
-
return () => [module.createMogrifyCommand(...args)];
|
|
1254
|
-
})[0];
|
|
1255
|
-
};
|
|
1256
|
-
var createCompositeCommand = (...args) => {
|
|
1257
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "composite");
|
|
1258
|
-
if (!metadata2) throw new TypeError("Unknown composite command");
|
|
1259
|
-
return createLazyCommands([metadata2], async () => {
|
|
1260
|
-
const module = await loadimagemagick();
|
|
1261
|
-
return () => [module.createCompositeCommand(...args)];
|
|
1262
|
-
})[0];
|
|
1263
|
-
};
|
|
1264
|
-
var createMontageCommand = (...args) => {
|
|
1265
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "montage");
|
|
1266
|
-
if (!metadata2) throw new TypeError("Unknown montage command");
|
|
1267
|
-
return createLazyCommands([metadata2], async () => {
|
|
1268
|
-
const module = await loadimagemagick();
|
|
1269
|
-
return () => [module.createMontageCommand(...args)];
|
|
1270
|
-
})[0];
|
|
1271
|
-
};
|
|
1272
|
-
var createIdentifyCommand = (...args) => {
|
|
1273
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "identify");
|
|
1274
|
-
if (!metadata2) throw new TypeError("Unknown identify command");
|
|
1275
|
-
return createLazyCommands([metadata2], async () => {
|
|
1276
|
-
const module = await loadimagemagick();
|
|
1277
|
-
return () => [module.createIdentifyCommand(...args)];
|
|
1278
|
-
})[0];
|
|
1279
|
-
};
|
|
1280
|
-
var createCompareCommand = (...args) => {
|
|
1281
|
-
const metadata2 = imagemagickMetadata.find((item) => item.name === "compare");
|
|
1282
|
-
if (!metadata2) throw new TypeError("Unknown compare command");
|
|
1283
|
-
return createLazyCommands([metadata2], async () => {
|
|
1284
|
-
const module = await loadimagemagick();
|
|
1285
|
-
return () => [module.createCompareCommand(...args)];
|
|
1286
|
-
})[0];
|
|
1287
|
-
};
|
|
1288
|
-
var createPdfuniteCommand = (...args) => {
|
|
1289
|
-
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfunite");
|
|
1290
|
-
if (!metadata2) throw new TypeError("Unknown pdfunite command");
|
|
1291
|
-
return createLazyCommands([metadata2], async () => {
|
|
1292
|
-
const module = await loadpdfinfo();
|
|
1293
|
-
return () => [module.createPdfuniteCommand(...args)];
|
|
1294
|
-
})[0];
|
|
1295
|
-
};
|
|
1296
|
-
var createPdfseparateCommand = (...args) => {
|
|
1297
|
-
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfseparate");
|
|
1298
|
-
if (!metadata2) throw new TypeError("Unknown pdfseparate command");
|
|
1299
|
-
return createLazyCommands([metadata2], async () => {
|
|
1300
|
-
const module = await loadpdfinfo();
|
|
1301
|
-
return () => [module.createPdfseparateCommand(...args)];
|
|
1302
|
-
})[0];
|
|
1303
|
-
};
|
|
1304
|
-
var createPdffontsCommand = (...args) => {
|
|
1305
|
-
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdffonts");
|
|
1306
|
-
if (!metadata2) throw new TypeError("Unknown pdffonts command");
|
|
1307
|
-
return createLazyCommands([metadata2], async () => {
|
|
1308
|
-
const module = await loadpdfinfo();
|
|
1309
|
-
return () => [module.createPdffontsCommand(...args)];
|
|
1310
|
-
})[0];
|
|
1311
|
-
};
|
|
1312
|
-
var createPdfdetachCommand = (...args) => {
|
|
1313
|
-
const metadata2 = pdfinfoMetadata.find((item) => item.name === "pdfdetach");
|
|
1314
|
-
if (!metadata2) throw new TypeError("Unknown pdfdetach command");
|
|
1315
|
-
return createLazyCommands([metadata2], async () => {
|
|
1316
|
-
const module = await loadpdfinfo();
|
|
1317
|
-
return () => [module.createPdfdetachCommand(...args)];
|
|
1318
|
-
})[0];
|
|
1319
|
-
};
|
|
1320
|
-
var createPdftocairoCommand = (...args) => {
|
|
1321
|
-
const metadata2 = pdftoppmMetadata.find((item) => item.name === "pdftocairo");
|
|
1322
|
-
if (!metadata2) throw new TypeError("Unknown pdftocairo command");
|
|
1323
|
-
return createLazyCommands([metadata2], async () => {
|
|
1324
|
-
const module = await loadpdfinfo();
|
|
1325
|
-
return () => [module.createPdftocairoCommand(...args)];
|
|
1326
|
-
})[0];
|
|
1327
|
-
};
|
|
1328
|
-
var createLibreofficeCommand = (...args) => {
|
|
1329
|
-
const metadata2 = sofficeMetadata.find((item) => item.name === "libreoffice");
|
|
1330
|
-
if (!metadata2) throw new TypeError("Unknown libreoffice command");
|
|
1331
|
-
return createLazyCommands([metadata2], async () => {
|
|
1332
|
-
const module = await loadsoffice();
|
|
1333
|
-
return () => [module.createLibreofficeCommand(...args)];
|
|
1334
|
-
})[0];
|
|
1335
|
-
};
|
|
1336
|
-
var createFormatInspectionCommand = (...args) => ({
|
|
1337
|
-
name: "pandoc",
|
|
1338
|
-
description: "List available document formats and dialect extensions",
|
|
1339
|
-
async execute(context) {
|
|
1340
|
-
context.signal.throwIfAborted();
|
|
1341
|
-
const module = await loadpandoc();
|
|
1342
|
-
context.signal.throwIfAborted();
|
|
1343
|
-
return module.createFormatInspectionCommand(...args).execute(context);
|
|
1344
|
-
}
|
|
1345
|
-
});
|
|
1346
|
-
|
|
1347
|
-
// packages/safe-bash/src/commands/exiftool/index.ts
|
|
1348
|
-
init_platform();
|
|
1349
|
-
import {
|
|
1350
|
-
createExiftoolCommand as createRawExiftoolCommand,
|
|
1351
|
-
createExiftoolCommands as createRawExiftoolCommands,
|
|
1352
|
-
evalSyncExiftool
|
|
1353
|
-
} from "../safe-bash-command-exiftool/index.js";
|
|
1354
|
-
import { createExiftoolArguments, editJpeg, editPng, encodeJsonScalar, evalSyncExiftool as evalSyncExiftool2, exiftoolCommand, exiftoolLimits, exiftoolRegistry, inspectJpeg, inspectPng, printable } from "../safe-bash-command-exiftool/index.js";
|
|
1355
|
-
function isDefaultExiftoolOptions(options) {
|
|
1356
|
-
if (!options) return true;
|
|
1357
|
-
return options.limits === void 0;
|
|
1358
|
-
}
|
|
1359
|
-
function createExiftoolCommand(options = {}) {
|
|
1360
|
-
const def = createRawExiftoolCommand(options);
|
|
1361
|
-
if (isDefaultExiftoolOptions(options)) builtInDirectContextExecutors2.add(def.execute);
|
|
1362
|
-
return def;
|
|
1363
|
-
}
|
|
1364
|
-
function createExiftoolCommands(options = {}) {
|
|
1365
|
-
const defs = createRawExiftoolCommands(options);
|
|
1366
|
-
if (isDefaultExiftoolOptions(options)) {
|
|
1367
|
-
for (let i = 0; i < defs.length; i++) builtInDirectContextExecutors2.add(defs[i].execute);
|
|
1368
|
-
}
|
|
1369
|
-
return defs;
|
|
1370
|
-
}
|
|
1371
|
-
function exiftoolCommands(options = {}) {
|
|
1372
|
-
const command = createExiftoolCommand(options);
|
|
1373
|
-
return {
|
|
1374
|
-
name: "exiftool",
|
|
1375
|
-
setup(host) {
|
|
1376
|
-
host.commands.register(command, { replace: options.replace ?? false });
|
|
1377
|
-
}
|
|
1378
|
-
};
|
|
1379
|
-
}
|
|
1380
|
-
syncCommandEvaluators.evalSyncExiftool = evalSyncExiftool;
|
|
1381
|
-
|
|
1382
|
-
// packages/safe-bash/src/lazy-mmdc.ts
|
|
1383
|
-
init_platform();
|
|
1384
|
-
import { snapshotMmdcSettings } from "../safe-bash-command-mmdc/settings.js";
|
|
1385
|
-
var loadMmdc = createLazyCommandLoader(() => import("./chunks/mmdc-ROQJT5HQ.js"));
|
|
1386
|
-
var metadata = [{ name: "mmdc", description: "Render Mermaid diagrams to SVG or PNG" }];
|
|
1387
|
-
var createMmdcCommands = (settings4) => {
|
|
1388
|
-
const captured = snapshotMmdcSettings(settings4);
|
|
1389
|
-
return createLazyCommands(metadata, async () => {
|
|
1390
|
-
const module = await loadMmdc();
|
|
1391
|
-
return () => module.createMmdcCommands(captured);
|
|
1392
|
-
});
|
|
1393
|
-
};
|
|
1394
|
-
var createMmdcCommand = (settings4) => {
|
|
1395
|
-
const captured = snapshotMmdcSettings(settings4);
|
|
1396
|
-
return createLazyCommands(metadata, async () => {
|
|
1397
|
-
const module = await loadMmdc();
|
|
1398
|
-
return () => [module.createMmdcCommand(captured)];
|
|
1399
|
-
})[0];
|
|
1400
|
-
};
|
|
1401
|
-
var mmdcCommands = (settings4 = {}) => {
|
|
1402
|
-
const commands = createMmdcCommands(settings4);
|
|
1403
|
-
return Object.freeze(Object.assign([...commands], lazyCommandPlugin("mmdc-commands", commands, settings4.replace ?? false)));
|
|
1404
|
-
};
|
|
1405
|
-
|
|
1406
711
|
// packages/safe-bash/src/commands/fmt/index.ts
|
|
1407
712
|
init_platform();
|
|
1408
713
|
import {
|
|
@@ -1461,6 +766,14 @@ function foldCommands(options = {}) {
|
|
|
1461
766
|
};
|
|
1462
767
|
}
|
|
1463
768
|
|
|
769
|
+
// packages/safe-bash/src/fs/memory/index.ts
|
|
770
|
+
init_platform();
|
|
771
|
+
import {
|
|
772
|
+
createMemoryFileSystem,
|
|
773
|
+
defaultMemoryFileSystemLimits,
|
|
774
|
+
MemoryFileSystem
|
|
775
|
+
} from "@poe-platform/safe-fs/core";
|
|
776
|
+
|
|
1464
777
|
// packages/safe-bash/src/fs/webdav/index.ts
|
|
1465
778
|
init_platform();
|
|
1466
779
|
import { WebDavFileSystem } from "@poe-platform/safe-fs/core";
|
|
@@ -1588,8 +901,12 @@ import { createWgetCommand as createWgetCommand2, createWgetCommands, wgetComman
|
|
|
1588
901
|
init_platform();
|
|
1589
902
|
import { S3FileSystem, S3RenameError, MockS3Client, createS3Transport, encodeCopySource, S3ServiceError, createS3NamespaceFileSystem } from "@poe-platform/safe-fs/core";
|
|
1590
903
|
|
|
904
|
+
// packages/safe-bash/src/fs/s3/http/index.ts
|
|
905
|
+
init_platform();
|
|
906
|
+
import { createS3HttpTransport } from "@poe-platform/safe-fs/core";
|
|
907
|
+
|
|
1591
908
|
// packages/safe-bash/src/core.browser.ts
|
|
1592
|
-
import { CommandArgumentIdentityError, createCommandArguments, getCommandArguments, commandRuntimeIdentity, CommandRegistry
|
|
909
|
+
import { CommandArgumentIdentityError, createCommandArguments, getCommandArguments, commandRuntimeIdentity, CommandRegistry, validateExitCode } from "../safe-bash-contracts/command.js";
|
|
1593
910
|
import { evaluateCommandSupport, assertCommandRequirements } from "../safe-bash-contracts/command-requirements.js";
|
|
1594
911
|
import { isErrnoCode, isFsError, toFsError, FsError } from "../safe-bash-contracts/errors.js";
|
|
1595
912
|
import { ACCESS_MODES } from "../safe-bash-contracts/filesystem.js";
|
|
@@ -1599,7 +916,7 @@ import { composeMiddleware } from "../safe-bash-contracts/plugin.js";
|
|
|
1599
916
|
export {
|
|
1600
917
|
ACCESS_MODES,
|
|
1601
918
|
CommandArgumentIdentityError,
|
|
1602
|
-
|
|
919
|
+
CommandRegistry,
|
|
1603
920
|
CurlError,
|
|
1604
921
|
DEFAULT_ARCHIVE_LIMITS,
|
|
1605
922
|
EreLedger,
|
|
@@ -1645,6 +962,7 @@ export {
|
|
|
1645
962
|
captureEnvironment,
|
|
1646
963
|
cloudflareWorkerLimits,
|
|
1647
964
|
cloudflareWorkerNetworkLimits,
|
|
965
|
+
cmpCommands,
|
|
1648
966
|
collectBytes,
|
|
1649
967
|
collectText,
|
|
1650
968
|
columnCommands,
|
|
@@ -1669,6 +987,8 @@ export {
|
|
|
1669
987
|
createBzip2Commands,
|
|
1670
988
|
createCalCommand,
|
|
1671
989
|
createCalCommands,
|
|
990
|
+
createCmpCommand,
|
|
991
|
+
createCmpCommands,
|
|
1672
992
|
createColumnCommand,
|
|
1673
993
|
createColumnCommands,
|
|
1674
994
|
createCommandArguments,
|
|
@@ -1695,6 +1015,8 @@ export {
|
|
|
1695
1015
|
createDiffCommands,
|
|
1696
1016
|
createDiffPatchCommands,
|
|
1697
1017
|
createDocumentHandlers,
|
|
1018
|
+
createDocxCommand,
|
|
1019
|
+
createDocxCommands,
|
|
1698
1020
|
createDos2unixCommand,
|
|
1699
1021
|
createDos2unixCommands,
|
|
1700
1022
|
createDuCommand,
|
|
@@ -1753,6 +1075,8 @@ export {
|
|
|
1753
1075
|
createIdentifyCommand,
|
|
1754
1076
|
createImagemagickCommand,
|
|
1755
1077
|
createImagemagickCommands,
|
|
1078
|
+
createInstallCommand,
|
|
1079
|
+
createInstallCommands,
|
|
1756
1080
|
createItemHandlers,
|
|
1757
1081
|
createLazyCommandLoader,
|
|
1758
1082
|
createLazyCommands,
|
|
@@ -1824,6 +1148,8 @@ export {
|
|
|
1824
1148
|
createPdftotextCommand,
|
|
1825
1149
|
createPdftotextCommands,
|
|
1826
1150
|
createPdfuniteCommand,
|
|
1151
|
+
createPptxCommand,
|
|
1152
|
+
createPptxCommands,
|
|
1827
1153
|
createPrCommand,
|
|
1828
1154
|
createPrCommands,
|
|
1829
1155
|
createPythonCommands,
|
|
@@ -1842,6 +1168,7 @@ export {
|
|
|
1842
1168
|
createQpdfCommand,
|
|
1843
1169
|
createQpdfCommands,
|
|
1844
1170
|
createReadOnlyFileSystem,
|
|
1171
|
+
createS3HttpTransport,
|
|
1845
1172
|
createS3NamespaceFileSystem,
|
|
1846
1173
|
createS3Transport,
|
|
1847
1174
|
createSafeJsNodeCommands as createSafeJsCommands,
|
|
@@ -1881,6 +1208,8 @@ export {
|
|
|
1881
1208
|
createTimeoutCommands,
|
|
1882
1209
|
createTreeCommand,
|
|
1883
1210
|
createTreeCommands,
|
|
1211
|
+
createTruncateCommand,
|
|
1212
|
+
createTruncateCommands,
|
|
1884
1213
|
createTsortCommand,
|
|
1885
1214
|
createTsortCommands,
|
|
1886
1215
|
createUnameCommand,
|
|
@@ -1899,6 +1228,8 @@ export {
|
|
|
1899
1228
|
createWhoamiCommands,
|
|
1900
1229
|
createWkhtmltopdfCommand,
|
|
1901
1230
|
createWkhtmltopdfCommands,
|
|
1231
|
+
createXanCommand,
|
|
1232
|
+
createXanCommands,
|
|
1902
1233
|
createXmlCommands,
|
|
1903
1234
|
createXmllintCommand,
|
|
1904
1235
|
createXmllintCommands,
|
|
@@ -1930,6 +1261,7 @@ export {
|
|
|
1930
1261
|
diffCommands,
|
|
1931
1262
|
diffPatchCommands,
|
|
1932
1263
|
dirname,
|
|
1264
|
+
docxCommands,
|
|
1933
1265
|
dos2unixCommands,
|
|
1934
1266
|
duCommands,
|
|
1935
1267
|
createEgrepCommand as egrepCommand,
|
|
@@ -2001,6 +1333,8 @@ export {
|
|
|
2001
1333
|
idCommands,
|
|
2002
1334
|
imagemagickCommands,
|
|
2003
1335
|
inspectPythonCapabilities,
|
|
1336
|
+
installCommands,
|
|
1337
|
+
installPythonLlmDependencies,
|
|
2004
1338
|
isAbsolutePath,
|
|
2005
1339
|
isDefaultCommandOptions,
|
|
2006
1340
|
isErrnoCode,
|
|
@@ -2052,10 +1386,12 @@ export {
|
|
|
2052
1386
|
pipeBytes,
|
|
2053
1387
|
portableSearchCommands,
|
|
2054
1388
|
posixPath2 as posixPath,
|
|
1389
|
+
pptxCommands,
|
|
2055
1390
|
prCommands,
|
|
2056
1391
|
pythonCommands,
|
|
2057
1392
|
pythonDocumentPackages,
|
|
2058
1393
|
pythonHostFailureCode,
|
|
1394
|
+
pythonLlmDependencies,
|
|
2059
1395
|
qpdfCommands,
|
|
2060
1396
|
readBytes,
|
|
2061
1397
|
registerDefaultExecutor,
|
|
@@ -2099,6 +1435,7 @@ export {
|
|
|
2099
1435
|
toByteSource,
|
|
2100
1436
|
toFsError,
|
|
2101
1437
|
treeCommands,
|
|
1438
|
+
truncateCommands,
|
|
2102
1439
|
tsortCommands,
|
|
2103
1440
|
unameCommands,
|
|
2104
1441
|
unrtfCommands,
|
|
@@ -2114,6 +1451,7 @@ export {
|
|
|
2114
1451
|
wkhtmltopdfCommands,
|
|
2115
1452
|
writeBytes,
|
|
2116
1453
|
writeText,
|
|
1454
|
+
xanCommands,
|
|
2117
1455
|
xmlCommands,
|
|
2118
1456
|
xmllintCommands,
|
|
2119
1457
|
xxdCommands,
|