@poe-platform/safe-bash 0.1.815 → 0.1.816
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/dist/image-ast/index.js +1 -1
- package/dist/mp4-ast/codecs.d.ts +3 -0
- package/dist/mp4-ast/esds-source.d.ts +7 -0
- package/dist/mp4-ast/index.d.ts +5 -1
- package/dist/mp4-ast/mp4-codec-metadata.d.ts +48 -0
- package/dist/mp4-ast/mp4-codec-source.d.ts +8 -0
- package/dist/mp4-ast/mp4-packets-source.d.ts +11 -0
- package/dist/pdf-ast/ast.d.ts +6 -0
- package/dist/pdf-ast/content/evaluator.d.ts +4 -1
- package/dist/pdf-ast/content/stored-dictionary.d.ts +15 -1
- package/dist/pdf-ast/content/stored-record.d.ts +6 -0
- package/dist/pdf-ast/cos/retained-writer.d.ts +1 -0
- package/dist/pdf-ast/cos/value-parser.d.ts +5 -0
- package/dist/pdf-ast/edit/retained-graph.d.ts +1 -0
- package/dist/pdf-ast/edit/retained-page-copy.d.ts +10 -0
- package/dist/pdf-ast/extract/images.d.ts +2 -1
- package/dist/pdf-ast/fonts/resolve.d.ts +1 -0
- package/dist/pdf-ast/index.d.ts +2 -0
- package/dist/pdf-ast/index.js +1091 -322
- package/dist/pdf-ast/render/raster.d.ts +14 -0
- package/dist/pdf-ast/render/svg-image-stream.d.ts +6 -0
- package/dist/pdf-ast/render/svg-path-stream.d.ts +15 -0
- package/dist/pdf-ast/retained-document.d.ts +1 -1
- package/dist/safe-bash/chunks/{chunk-I6ECNJMR.js → chunk-AXGI5JVL.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-TPG55BAQ.js → chunk-FQRI5AS5.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-TWWGAW4M.js → chunk-HD6DWOAC.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-5JCZEXEM.js → chunk-SXSEF5E2.js} +12 -7
- package/dist/safe-bash/command-chunks/biff-UBP2BZLK-JPODPKS3.js +5448 -0
- package/dist/safe-bash/command-chunks/{chunk-S7HIOT7Z.js → chunk-26JE5JEB.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-AG2SNMP5.js → chunk-2ALHVXEM.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-4YLACJHE.js → chunk-2IMIKROX.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-MYZ46FQL.js → chunk-2QZUAZTH.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-YAD7EV4N.js → chunk-2TWXRJPB.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-NYFYTL5G.js → chunk-345YBIHP.js} +27 -27
- package/dist/safe-bash/command-chunks/{chunk-3MG5EAMX.js → chunk-35DU6I2M.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-FSVJ67G5.js → chunk-3DWFXESW.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-TKCUGMRZ.js → chunk-3K5CVXUV.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-6LPSKLLD.js → chunk-3MUFXGA2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-44F5TOHZ.js → chunk-3PM46VWH.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-6QYSF7I2.js → chunk-3ZWFE4CK.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-NEYITAAO.js → chunk-45DKGZYO.js} +744 -328
- package/dist/safe-bash/command-chunks/{chunk-U3C6IT2C.js → chunk-4772DJKS.js} +14 -10
- package/dist/safe-bash/command-chunks/{chunk-FOONI6BD.js → chunk-4ABR3KGK.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-7KZ5LWV2.js → chunk-4IDV763L.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-FGGHYUWR.js → chunk-4QEJPP3K.js} +102 -7
- package/dist/safe-bash/command-chunks/{chunk-RV5AGXOV.js → chunk-4X2MPZXW.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-LNTEV56A.js → chunk-4YFTJS5U.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6XES7Z4G.js → chunk-57PK2QFX.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-42MEXZBJ.js → chunk-5GDF5FAS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-BS3ZEQGT.js → chunk-5KZMR6AJ.js} +18 -16
- package/dist/safe-bash/command-chunks/{chunk-ZU2KJMXO.js → chunk-5MNQTHED.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-W25EIKDJ.js → chunk-5NC2IQMQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KY4LCHUF.js → chunk-5O45KGW5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GYM5ICK4.js → chunk-5V7WIQ2D.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-GPGLTWNR.js → chunk-5XUWGUGN.js} +16 -11
- package/dist/safe-bash/command-chunks/{chunk-SUTHGUD3.js → chunk-5YL453ZF.js} +34 -34
- package/dist/safe-bash/command-chunks/{chunk-IHXZMAMY.js → chunk-62RG3GHF.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-P2LT6TGR.js → chunk-6EZWG56T.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-CCMAHM3I.js → chunk-6JGICYHP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-AWPI4DZR.js → chunk-6KJDTKE4.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FUQMEUAT.js → chunk-6M3JTPKE.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-H33D4R26.js → chunk-6RLWPB44.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-3GRMU7TM.js → chunk-6W4RMBFH.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-RIVKF77R.js → chunk-6YF2QADH.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-LEO4VRIN.js → chunk-77ROD2TR.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-XNGM3W5R.js → chunk-7B2MHKIW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RFMHNTTF.js → chunk-7OCTMVYJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-DBLQUZGN.js → chunk-7PYDVQPB.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-AM5LANIE.js → chunk-A2L3U7DW.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-UYGQEQIP.js → chunk-A4P37F3P.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ADHFF2IM.js → chunk-A5SPMSKD.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ENEIE44W.js → chunk-A6OTPNNI.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-AF2IO57Q.js +733 -0
- package/dist/safe-bash/command-chunks/{chunk-AFPXADZG.js → chunk-AHD3CGAY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-YW2VYN4V.js → chunk-ALD53QFL.js} +74 -27
- package/dist/safe-bash/command-chunks/{chunk-4B2ZUGLT.js → chunk-ARE267HR.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-OTF2AJ5M.js → chunk-AYQPJQJR.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-2VVJRVYM.js → chunk-B6XTAKKQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GCHB7VNX.js → chunk-BIJW6QWB.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-OVEPYULA.js → chunk-BKK4MS3V.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3EB2FSAN.js → chunk-BOVDUJ3A.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-SEPUP6TZ.js → chunk-BSTABZIK.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ATHHWPSE.js → chunk-BZRWZ6GO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-BZMNC7Q5.js → chunk-CGJ7GMHO.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-RGDOYWOD.js → chunk-CHZE6FNT.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-V7E3PZOK.js → chunk-CKA7ZROU.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-MEM2ZPMI.js → chunk-CKIXC7AO.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Y54L4P4J.js → chunk-CORUUCS2.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-QDVDBN2N.js → chunk-DBZCTL7C.js} +150 -35
- package/dist/safe-bash/command-chunks/{chunk-6ZGCKUAM.js → chunk-DIRK47GT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WYZG3DRR.js → chunk-DM5WURQL.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-EBHOZIBS.js → chunk-DOVWHVHI.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-ZIGENXGC.js → chunk-DXOXUKQB.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-JR3Q6QNL.js → chunk-DZOKH5BL.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-6EINUY5G.js → chunk-E22EAYJN.js} +54 -12
- package/dist/safe-bash/command-chunks/{chunk-3EASXF5D.js → chunk-E4TF5W6O.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-MLOYUXUV.js → chunk-EJ4UP7DA.js} +31 -9
- package/dist/safe-bash/command-chunks/{chunk-USGZN2KE.js → chunk-ENMJHB2C.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ZSQZHFWS.js → chunk-ERWIJYCS.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-S2QNBAN6.js → chunk-ET6LMDEX.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-6XGDWFNQ.js → chunk-EWC56JNI.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-EQWFKNHJ.js → chunk-EZDWPTYB.js} +19 -19
- package/dist/safe-bash/command-chunks/{chunk-CQBACD2V.js → chunk-F2NF6FHV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NFII726L.js → chunk-FAU2KL6I.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-4EHY6J2Z.js → chunk-FB2WPI3M.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-2PKBXGXD.js → chunk-FEBTT5NH.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-FGARVKAX.js +704 -0
- package/dist/safe-bash/command-chunks/{chunk-N4MUBJCT.js → chunk-FGHSE3RZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WBKB7HBZ.js → chunk-FHQOFEQK.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-3ZRCL756.js → chunk-FJLSYX5P.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-PMWW7KSB.js → chunk-FJSD43VF.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XKAUKLF7.js → chunk-FLSXHLJG.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-3EW7GYHM.js → chunk-FR63MJSO.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-NRFTYZ2R.js → chunk-FUYZUETI.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-JUHOL5KB.js → chunk-G3FK5VVG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4UPKVQWH.js → chunk-G3LUT475.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-Q7UZTMF4.js → chunk-GAROGIVU.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4RRYWHED.js → chunk-GMBUOYTN.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-FYYFV6PW.js → chunk-GR4ONCQ5.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-XTEIT5CI.js → chunk-GTOMW4VV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-OVQP6KH5.js → chunk-H56BSMFQ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-RQYPFLZJ.js → chunk-HOJ7WDTS.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-BLIFGBIO.js → chunk-HOKPYTHQ.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-HQEYSSZV.js +152 -0
- package/dist/safe-bash/command-chunks/{chunk-NEMUPUUB.js → chunk-ICJH6A73.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-CSE4VQKG.js → chunk-IJE65P52.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MKOIPOXX.js → chunk-IOXMGD2H.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-LDW3RF7Y.js → chunk-ISFGPCED.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-S43QRKDC.js → chunk-IVKAFEPO.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-A347DLRB.js → chunk-IWVANZWH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ZXELXF2H.js → chunk-IZ3SD5S2.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-HGIMFVI2.js → chunk-J6FNSVHT.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-GLAF45M7.js → chunk-JA36YOZI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WHNYT34N.js → chunk-K2R7H3KO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-HQ2UN2L2.js → chunk-K7VDCBXW.js} +21 -21
- package/dist/safe-bash/command-chunks/{chunk-CKEMZUE3.js → chunk-KDBU5Q2N.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-6VBDJC6V.js → chunk-KDDXLHN7.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-NEVQWOU6.js → chunk-KLAC2MIZ.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-QGD64UHJ.js → chunk-KLCHCSIV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CXME4YHU.js → chunk-KM2SMMXZ.js} +59 -201
- package/dist/safe-bash/command-chunks/{chunk-RHU44OMN.js → chunk-KXM3HTAF.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-AVOGFREX.js → chunk-KYIGYYEY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5OM3UIK3.js → chunk-L2VLASZ4.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Z7QOSXQC.js → chunk-LECGQSQW.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-RXQ2G2YK.js → chunk-LFSWLJPR.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-OSYY6E23.js → chunk-LJ3UYESS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-MVLVIMJ6.js → chunk-LMLBQSAM.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-MGMTRGKM.js → chunk-LNAZ3E4Q.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-WJ2ERUCQ.js → chunk-LNKZVU5V.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WWHMI4S3.js → chunk-LQDANF2B.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-CIRDVCAZ.js → chunk-LQX7RAF7.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-SWAKALDJ.js → chunk-LT2YCGC5.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-Y7AXMCFV.js → chunk-LZY46GYY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-VT2PHQ63.js → chunk-MDFNUNK5.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-YP3WWV5N.js → chunk-MN3BB4WW.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-WTVJLHMG.js → chunk-MOUCMZZP.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IB5QP4LF.js → chunk-MQE77MEQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FSYMSWJU.js → chunk-MUTARE5I.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-F762XDNG.js → chunk-MZYQKH26.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-N6G3345Q.js → chunk-N32AP43V.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-XU6S3XUZ.js → chunk-N35IJXBK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-EVYKV3QI.js → chunk-N3ZH4YYH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-VUWXLH3E.js → chunk-N4HWOLGZ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-WAT2562G.js → chunk-N5J3IZZK.js} +8042 -7189
- package/dist/safe-bash/command-chunks/{chunk-W3ZSWK76.js → chunk-NCNHJRIY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-FXCSPPYE.js → chunk-NDALIHKK.js} +20 -20
- package/dist/safe-bash/command-chunks/{chunk-BS5JEUEW.js → chunk-NKK76B4V.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-4EZJV4FZ.js → chunk-NLCUQD7Y.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RHDERFMR.js → chunk-O2HNOQQG.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-G2COZLXX.js → chunk-OBIXFO25.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-47IAU25U.js → chunk-OCV5ZU35.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3YEQI5B7.js → chunk-OFDJJRAD.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-VDTFVRYX.js → chunk-OFONWWEZ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-F4YFTO2K.js → chunk-OHEZQ4QA.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-JW6WVNTM.js → chunk-OIHQXURE.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZTMZO4IT.js → chunk-ONQP4FNV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-K2WOMJOQ.js → chunk-OVUY46QF.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-DGBQ7QDE.js → chunk-OWCBX5M2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-LKGTH2Q7.js → chunk-P462JTNT.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-5LFGXN3D.js → chunk-P4OWVKMD.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-46AMTJPE.js → chunk-POGVOCOB.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-PLMF35XK.js → chunk-PPN53PX3.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-V5XC43BX.js → chunk-PRO7JOIH.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-UJERQEJB.js → chunk-PU5DMQGG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IWHNRYER.js → chunk-Q65GWGQR.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BLGGAHQW.js → chunk-QCIAX6HZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ET5SFGRH.js → chunk-QDV2NIFR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-Y42KSX63.js → chunk-QMBMZSJF.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-KUOCGGEU.js → chunk-QNETPOMH.js} +6 -5
- package/dist/safe-bash/command-chunks/{chunk-QB72X7FF.js → chunk-QNX5LZBK.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-LZ2JFMKT.js → chunk-QOKFSYD5.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-7DOLY7IV.js → chunk-R7LF4XQV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6CDDKNNA.js → chunk-RINR7XPR.js} +36 -10
- package/dist/safe-bash/command-chunks/{chunk-MPXMRTMY.js → chunk-ROQ3VNVX.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-6WNVGCXD.js → chunk-RRAQII52.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-2BNGPR6Z.js → chunk-RTHYAGKI.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-RTKDZBJS.js +816 -0
- package/dist/safe-bash/command-chunks/{chunk-JVKE7YZN.js → chunk-RVWIEXR7.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-XM5QJCPD.js → chunk-S5ER73EA.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-YRPXBGRX.js → chunk-SBXS4S6Y.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HI6ZYH3W.js → chunk-SHLT5R64.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-Q5PWYPQV.js → chunk-SICTBSLW.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-AXXZNB7U.js → chunk-SL4LD25A.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-JGKSWDGP.js → chunk-SNA2LVBX.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TXPDKEGY.js → chunk-SWIF6BBY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-PS5GDFIP.js → chunk-T2FRXSQT.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-HELAVGZH.js → chunk-T4SEQU66.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3SPLP2DB.js → chunk-T5OQ53XS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KBAQHE5Y.js → chunk-TG2RVQLP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CZ5K2YPU.js → chunk-TXU7MMHN.js} +24 -24
- package/dist/safe-bash/command-chunks/{chunk-TYPS5MOU.js → chunk-TXWDR2P4.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ETXPMVR6.js → chunk-TY7JXEWI.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-X6OHFKBL.js → chunk-U42WHQRH.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-Z2WNYEPD.js → chunk-UFLMOU3B.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2BLTUQNK.js → chunk-UJYXSLM6.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-Q7TVCBU2.js → chunk-UKAGRRLZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4GQKCUS5.js → chunk-UPWLHHZ2.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-5L4YGRQU.js → chunk-URQSUMMJ.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-KPHLESD4.js → chunk-UT5X6QRU.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-T5S4SJGO.js → chunk-V6JPIZUW.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-MKK6FM5H.js → chunk-VMZIAFVJ.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-HK6MSB7Z.js → chunk-VNNNVT4C.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ROL5AEX6.js → chunk-VVV45NLY.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-VVWHFNHD.js +502 -0
- package/dist/safe-bash/command-chunks/{chunk-KCLJGRU7.js → chunk-VZTVR3JI.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-PLR5IULU.js → chunk-WDVPHDBH.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-MNK3DDH6.js → chunk-WH624PKJ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-TJLXSENN.js → chunk-WHZ6XK7Y.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-DN6MSXY7.js → chunk-WIW3KDBS.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-GXMPXMDP.js → chunk-WMBELKPP.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-NHNZYWPW.js → chunk-WMV5224N.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-RTNI47C5.js → chunk-WOL3LBXE.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-7SOE7XIS.js → chunk-WVD5WZXD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-XMTR7QGL.js → chunk-X42MJT2J.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-XUJAQA3S.js → chunk-XBWD6SI3.js} +33 -33
- package/dist/safe-bash/command-chunks/{chunk-ZQM37BGE.js → chunk-XFIDOCYH.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-IBYMPAUW.js → chunk-XPQUUFQD.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-NQINS4XY.js → chunk-XVEI4HZL.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KSBNZTAZ.js → chunk-YKODRSGT.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-WZRFS5OY.js → chunk-YXR4JE4U.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DCMSPMMD.js → chunk-Z7UIOPHJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-AY3KQ4EN.js → chunk-ZAYTFXUX.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DZH54L3F.js → chunk-ZM7HMBAJ.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-NFGCBQN3.js → chunk-ZNCPIZCN.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-HKGNBH7Z.js → chunk-ZRHKXN6W.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-A45UG4KT.js → chunk-ZZERSKAR.js} +5 -5
- package/dist/safe-bash/command-chunks/{clipboard-BBDK33GP-QZ4ERNQX.js → clipboard-BBDK33GP-VB22F7GI.js} +2 -2
- package/dist/safe-bash/command-chunks/{command-engine-M7S4QIXV.js → command-engine-GHE6QUHU.js} +53 -21
- package/dist/safe-bash/command-chunks/{engine-YUYZJIB4-NZUDFEHL.js → engine-RG6HQCCB-FXYZS264.js} +1 -1
- package/dist/safe-bash/command-chunks/{gnumeric-UJPXWBVR-7VOHQAPM.js → gnumeric-UJPXWBVR-YPXTNEDZ.js} +2 -2
- package/dist/safe-bash/command-chunks/model-store-I7YAWL5V.js +54 -0
- package/dist/safe-bash/command-chunks/{xlsx-RE54MFCS-DI3F765V.js → xlsx-RE54MFCS-IQ6OXXKK.js} +1 -1
- package/dist/safe-bash/commands/bc/index.browser.js +1 -1
- package/dist/safe-bash/full-core.browser.js +4 -4
- package/dist/safe-bash/plugins/index.browser.js +3 -3
- package/dist/safe-bash/registry-entry.browser.js +2 -2
- package/dist/safe-bash/search.browser.js +1 -1
- package/dist/safe-bash/shell/runtime.d.ts +1 -0
- package/dist/safe-bash/shell/runtime.js +12 -3
- package/dist/safe-bash/shell/sync-extra-evaluators.js +7 -4
- package/dist/safe-bash/shell-entry.browser.js +2 -2
- package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
- package/dist/safe-bash-command-awk/awk.js +4 -4
- package/dist/safe-bash-command-awk/index.js +4 -4
- package/dist/safe-bash-command-cp/index.js +3 -3
- package/dist/safe-bash-command-csvkit/index.js +1 -1
- package/dist/safe-bash-command-diff/diff.js +2 -2
- package/dist/safe-bash-command-diff/index.js +3 -3
- package/dist/safe-bash-command-diff/sync.js +2 -2
- package/dist/safe-bash-command-factor/command.js +2 -2
- package/dist/safe-bash-command-factor/index.js +2 -2
- package/dist/safe-bash-command-ffmpeg/index.js +1 -1
- package/dist/safe-bash-command-ffprobe/index.js +2 -2
- package/dist/safe-bash-command-ffprobe/media.d.ts +5 -1
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-getopt/command.js +2 -2
- package/dist/safe-bash-command-getopt/index.js +2 -2
- package/dist/safe-bash-command-html-to-markdown/index.js +51 -813
- package/dist/safe-bash-command-html-to-markdown/stored-destination.d.ts +8 -0
- package/dist/safe-bash-command-html-to-markdown/stored-destination.js +10 -0
- package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +4 -1
- package/dist/safe-bash-command-html-to-markdown/stored-text.js +1 -1
- package/dist/safe-bash-command-htmlq/index.js +1280 -419
- package/dist/safe-bash-command-iconv/command.js +2 -2
- package/dist/safe-bash-command-iconv/index.js +2 -2
- package/dist/safe-bash-command-llm/index.js +2 -2
- package/dist/safe-bash-command-llm/openai.js +2 -2
- package/dist/safe-bash-command-llm/providers/index.js +2 -2
- package/dist/safe-bash-command-llm/providers/openai.js +2 -2
- package/dist/safe-bash-command-node/commands/node/browser.js +4 -4
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +4 -4
- package/dist/safe-bash-command-node/commands/node/safejs.js +4 -4
- package/dist/safe-bash-command-pandoc/command.js +10 -9
- package/dist/safe-bash-command-pandoc/index.js +60 -59
- package/dist/safe-bash-command-patch/index.js +6 -6
- package/dist/safe-bash-command-patch/patch-formats.js +3 -3
- package/dist/safe-bash-command-patch/patch-gnu-reject.js +1 -1
- package/dist/safe-bash-command-patch/patch.js +6 -6
- package/dist/safe-bash-command-patch/stored-patch.d.ts +7 -6
- package/dist/safe-bash-command-patch/unified.d.ts +5 -5
- package/dist/safe-bash-command-patch/unified.js +2 -2
- package/dist/safe-bash-command-pdftk/index.js +21 -108
- package/dist/safe-bash-command-pdftoppm/index.js +131 -27
- package/dist/safe-bash-command-playwright-cli/index.js +12 -12
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/capability-events.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/capability-result.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +7 -7
- package/dist/safe-bash-command-playwright-cli/playwright/download-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/drop-capability.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +12 -12
- package/dist/safe-bash-command-playwright-cli/playwright/modal-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/native-evaluation.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/native-json-snapshot.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/native-snapshot.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/open-options.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/profile.js +3 -3
- package/dist/safe-bash-command-playwright-cli/playwright/recording-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/route-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +3 -3
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/tracing-capabilities.js +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/webmcp-capabilities.js +1 -1
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-python/executor.js +11 -11
- package/dist/safe-bash-command-python/index.js +11 -11
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-rg/index.js +3 -3
- package/dist/safe-bash-command-rg/rg-command.js +3 -3
- package/dist/safe-bash-command-safejs/index.js +4 -4
- package/dist/safe-bash-command-safejs/io.js +3 -3
- package/dist/safe-bash-command-safejs/render.js +2 -2
- package/dist/safe-bash-command-safejs/runtime.js +4 -4
- package/dist/safe-bash-command-soffice/index.js +5 -4
- package/dist/safe-bash-command-sort/index.js +3 -3
- package/dist/safe-bash-command-ssconvert/index.js +13 -13
- package/dist/safe-bash-command-tar/create.js +3 -3
- package/dist/safe-bash-command-tar/extract.js +3 -3
- package/dist/safe-bash-command-tar/index.js +7 -7
- package/dist/safe-bash-command-tar/modes.js +5 -5
- package/dist/safe-bash-command-unzip/index.js +2 -2
- package/dist/safe-bash-command-unzip/unzip.js +2 -2
- package/dist/safe-bash-command-xmllint/index.js +1 -1
- package/dist/safe-bash-command-xz/index.js +5 -5
- package/dist/safe-bash-compression-engine/files.js +5 -5
- package/dist/safe-bash-compression-engine/index.js +3 -3
- package/dist/safe-bash-compression-engine/operand.js +6 -6
- package/dist/safe-bash-compression-engine/stream.js +3 -3
- package/dist/safe-bash-compression-engine/zstd-decode.js +2 -2
- package/dist/safe-bash-contracts/escaping.js +3 -3
- package/dist/safe-bash-contracts/filesystem-output.js +3 -3
- package/dist/safe-bash-contracts/index.js +10 -10
- package/dist/safe-bash-docx-engine/ancillary-resources.js +9 -9
- package/dist/safe-bash-docx-engine/batch-operations.js +66 -66
- package/dist/safe-bash-docx-engine/batch-result-schema.js +78 -78
- package/dist/safe-bash-docx-engine/batch.js +77 -77
- package/dist/safe-bash-docx-engine/bookmarks.js +17 -17
- package/dist/safe-bash-docx-engine/charts.js +10 -10
- package/dist/safe-bash-docx-engine/command-option-rules.js +5 -5
- package/dist/safe-bash-docx-engine/command-properties.js +3 -3
- package/dist/safe-bash-docx-engine/comments.js +25 -25
- package/dist/safe-bash-docx-engine/control-bindings.js +20 -20
- package/dist/safe-bash-docx-engine/control-repeat.js +20 -20
- package/dist/safe-bash-docx-engine/controls.js +18 -18
- package/dist/safe-bash-docx-engine/create.js +10 -10
- package/dist/safe-bash-docx-engine/diagrams.js +10 -10
- package/dist/safe-bash-docx-engine/diff.js +12 -12
- package/dist/safe-bash-docx-engine/document-properties.js +15 -15
- package/dist/safe-bash-docx-engine/equations.js +16 -16
- package/dist/safe-bash-docx-engine/extract.js +13 -13
- package/dist/safe-bash-docx-engine/fields.js +22 -22
- package/dist/safe-bash-docx-engine/font-inventory.js +17 -17
- package/dist/safe-bash-docx-engine/font-resources.js +5 -5
- package/dist/safe-bash-docx-engine/image-batch-operations.js +13 -13
- package/dist/safe-bash-docx-engine/image-insertion.js +20 -20
- package/dist/safe-bash-docx-engine/image-layout.js +18 -18
- package/dist/safe-bash-docx-engine/image-replacement.js +21 -21
- package/dist/safe-bash-docx-engine/images.js +18 -18
- package/dist/safe-bash-docx-engine/index.js +113 -113
- package/dist/safe-bash-docx-engine/inspection.js +19 -19
- package/dist/safe-bash-docx-engine/invocation.js +8 -8
- package/dist/safe-bash-docx-engine/io.js +8 -8
- package/dist/safe-bash-docx-engine/links.js +20 -20
- package/dist/safe-bash-docx-engine/lists.js +19 -19
- package/dist/safe-bash-docx-engine/locations.js +14 -14
- package/dist/safe-bash-docx-engine/notes.js +21 -21
- package/dist/safe-bash-docx-engine/objects.js +18 -18
- package/dist/safe-bash-docx-engine/operation-json-schema.js +3 -3
- package/dist/safe-bash-docx-engine/operation-schema.js +2 -2
- package/dist/safe-bash-docx-engine/pack.js +13 -13
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +21 -21
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +28 -28
- package/dist/safe-bash-docx-engine/paragraph-edit.js +24 -24
- package/dist/safe-bash-docx-engine/part-provider.js +3 -3
- package/dist/safe-bash-docx-engine/property-values.js +3 -3
- package/dist/safe-bash-docx-engine/publication.js +8 -8
- package/dist/safe-bash-docx-engine/removal.js +20 -20
- package/dist/safe-bash-docx-engine/revision-decisions.js +21 -21
- package/dist/safe-bash-docx-engine/revision-edit.js +19 -19
- package/dist/safe-bash-docx-engine/revisions.js +17 -17
- package/dist/safe-bash-docx-engine/run-format.js +19 -19
- package/dist/safe-bash-docx-engine/sanitize.js +33 -33
- package/dist/safe-bash-docx-engine/sections.js +18 -18
- package/dist/safe-bash-docx-engine/settings.js +10 -10
- package/dist/safe-bash-docx-engine/shape-edit.js +20 -20
- package/dist/safe-bash-docx-engine/signatures.js +14 -14
- package/dist/safe-bash-docx-engine/stories.js +21 -21
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +37 -37
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +26 -26
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +43 -43
- package/dist/safe-bash-docx-engine/styles.js +17 -17
- package/dist/safe-bash-docx-engine/table-edit.js +26 -26
- package/dist/safe-bash-docx-engine/table-read.js +15 -15
- package/dist/safe-bash-docx-engine/template.js +21 -21
- package/dist/safe-bash-docx-engine/text-replace.js +19 -19
- package/dist/safe-bash-docx-engine/text-resource-read.js +15 -15
- package/dist/safe-bash-docx-engine/text.js +15 -15
- package/dist/safe-bash-docx-engine/validation.js +6 -6
- package/dist/safe-bash-docx-engine/xml-parts.js +21 -21
- package/dist/safe-bash-line-ending-engine/command.js +4 -4
- package/dist/safe-bash-line-ending-engine/index.js +7 -7
- package/dist/safe-bash-markdown-engine/commonmark-blocks.js +3 -3
- package/dist/safe-bash-markdown-engine/commonmark-inlines.js +3 -3
- package/dist/safe-bash-markdown-engine/gfm-syntax.js +2 -2
- package/dist/safe-bash-markdown-engine/index.js +4 -4
- package/dist/safe-bash-network-engine/aggregate.js +3 -3
- package/dist/safe-bash-network-engine/args.js +3 -3
- package/dist/safe-bash-network-engine/body.js +4 -4
- package/dist/safe-bash-network-engine/decode.js +3 -3
- package/dist/safe-bash-network-engine/fetch-transport.js +3 -3
- package/dist/safe-bash-network-engine/index.js +3 -3
- package/dist/safe-bash-network-engine/output.js +3 -3
- package/dist/safe-bash-network-engine/platform-portable.js +3 -3
- package/dist/safe-bash-network-engine/shared.js +2 -2
- package/dist/safe-bash-network-engine/transfer.js +9 -9
- package/dist/safe-bash-presentation-engine/accessibility.js +31 -30
- package/dist/safe-bash-presentation-engine/animation-editing.js +16 -15
- package/dist/safe-bash-presentation-engine/animations.js +16 -15
- package/dist/safe-bash-presentation-engine/backgrounds.js +17 -16
- package/dist/safe-bash-presentation-engine/bytes.js +4 -3
- package/dist/safe-bash-presentation-engine/chart-editing.js +34 -33
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +25 -24
- package/dist/safe-bash-presentation-engine/charts.js +31 -30
- package/dist/safe-bash-presentation-engine/command-placeholder.js +60 -58
- package/dist/safe-bash-presentation-engine/comments.js +17 -16
- package/dist/safe-bash-presentation-engine/connector-operations.js +32 -31
- package/dist/safe-bash-presentation-engine/connectors.js +29 -28
- package/dist/safe-bash-presentation-engine/content-types.js +5 -4
- package/dist/safe-bash-presentation-engine/creation.js +7 -6
- package/dist/safe-bash-presentation-engine/diff.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/diff.js +44 -33
- package/dist/safe-bash-presentation-engine/drawing-format.js +20 -19
- package/dist/safe-bash-presentation-engine/drawing-operations.js +31 -30
- package/dist/safe-bash-presentation-engine/drawing-schema.js +21 -20
- package/dist/safe-bash-presentation-engine/equations.js +17 -16
- package/dist/safe-bash-presentation-engine/errors.js +3 -2
- package/dist/safe-bash-presentation-engine/fields.js +17 -16
- package/dist/safe-bash-presentation-engine/font-metrics.js +4 -3
- package/dist/safe-bash-presentation-engine/image-extraction.js +20 -19
- package/dist/safe-bash-presentation-engine/image-formatting.js +32 -31
- package/dist/safe-bash-presentation-engine/image-insertion.js +18 -17
- package/dist/safe-bash-presentation-engine/image-replacement.js +21 -20
- package/dist/safe-bash-presentation-engine/image-value.js +5 -4
- package/dist/safe-bash-presentation-engine/images.js +19 -18
- package/dist/safe-bash-presentation-engine/index.js +135 -132
- package/dist/safe-bash-presentation-engine/layouts.js +16 -15
- package/dist/safe-bash-presentation-engine/length.js +4 -3
- package/dist/safe-bash-presentation-engine/links.js +16 -15
- package/dist/safe-bash-presentation-engine/masters.js +15 -14
- package/dist/safe-bash-presentation-engine/media-editing.js +24 -23
- package/dist/safe-bash-presentation-engine/media-extraction.js +17 -16
- package/dist/safe-bash-presentation-engine/media.js +16 -15
- package/dist/safe-bash-presentation-engine/memberships.js +15 -14
- package/dist/safe-bash-presentation-engine/notes.js +18 -17
- package/dist/safe-bash-presentation-engine/ole-enum.js +5 -4
- package/dist/safe-bash-presentation-engine/ole-insertion.js +20 -19
- package/dist/safe-bash-presentation-engine/opaque-objects.js +10 -9
- package/dist/safe-bash-presentation-engine/package-reader.js +6 -5
- package/dist/safe-bash-presentation-engine/package-tools.js +19 -18
- package/dist/safe-bash-presentation-engine/package-uri.js +4 -3
- package/dist/safe-bash-presentation-engine/package-writer.js +5 -4
- package/dist/safe-bash-presentation-engine/presentation-model.js +59 -57
- package/dist/safe-bash-presentation-engine/presentation-settings.js +14 -13
- package/dist/safe-bash-presentation-engine/properties.d.ts +2 -1
- package/dist/safe-bash-presentation-engine/properties.js +25 -15
- package/dist/safe-bash-presentation-engine/relationships.js +5 -4
- package/dist/safe-bash-presentation-engine/resource-limits.js +2 -1
- package/dist/safe-bash-presentation-engine/retained-diff.d.ts +56 -0
- package/dist/safe-bash-presentation-engine/retained-inspection.js +14 -13
- package/dist/safe-bash-presentation-engine/retained-package.js +6 -5
- package/dist/safe-bash-presentation-engine/retained-properties.d.ts +26 -0
- package/dist/safe-bash-presentation-engine/retained-text.js +33 -517
- package/dist/safe-bash-presentation-engine/sanitize.js +20 -16
- package/dist/safe-bash-presentation-engine/selectors.js +11 -10
- package/dist/safe-bash-presentation-engine/shape-groups.js +31 -30
- package/dist/safe-bash-presentation-engine/shape-operations.js +30 -29
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +32 -31
- package/dist/safe-bash-presentation-engine/shape-paths.js +16 -15
- package/dist/safe-bash-presentation-engine/shape-presets.js +4 -3
- package/dist/safe-bash-presentation-engine/shape-selection.js +31 -30
- package/dist/safe-bash-presentation-engine/shape-transforms.js +18 -17
- package/dist/safe-bash-presentation-engine/shapes.js +27 -26
- package/dist/safe-bash-presentation-engine/slide-copy.js +17 -16
- package/dist/safe-bash-presentation-engine/slide-import.js +18 -17
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +20 -19
- package/dist/safe-bash-presentation-engine/slide-model.js +43 -42
- package/dist/safe-bash-presentation-engine/slide-removal.js +18 -17
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +10 -9
- package/dist/safe-bash-presentation-engine/slides.js +19 -18
- package/dist/safe-bash-presentation-engine/table-operations.js +33 -32
- package/dist/safe-bash-presentation-engine/table-spans.js +32 -31
- package/dist/safe-bash-presentation-engine/tables.js +31 -30
- package/dist/safe-bash-presentation-engine/tags.js +16 -15
- package/dist/safe-bash-presentation-engine/template-bindings.js +33 -32
- package/dist/safe-bash-presentation-engine/template-repeat.js +40 -39
- package/dist/safe-bash-presentation-engine/text-fitting.js +27 -26
- package/dist/safe-bash-presentation-engine/text-frames.js +27 -26
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +27 -26
- package/dist/safe-bash-presentation-engine/text-reading.js +12 -11
- package/dist/safe-bash-presentation-engine/text-replacement.js +17 -16
- package/dist/safe-bash-presentation-engine/text-runs.js +20 -19
- package/dist/safe-bash-presentation-engine/themes.js +16 -15
- package/dist/safe-bash-presentation-engine/transitions.js +16 -15
- package/dist/safe-bash-presentation-engine/validation.js +10 -9
- package/dist/safe-bash-presentation-engine/xml-parts.js +19 -18
- package/dist/safe-bash-presentation-engine/xml-view.js +4 -3
- package/dist/safe-bash-presentation-engine/xml.js +4 -3
- package/dist/safe-bash-query-engine/index.js +3 -3
- package/dist/safe-bash-query-engine/interpreter.js +2 -2
- package/dist/safe-bash-query-engine/query-core.js +3 -3
- package/dist/safe-bash-regex-engine/ere/matcher.js +3 -3
- package/dist/safe-bash-xml-engine/document.js +3 -3
- package/dist/safe-bash-xml-engine/evaluate.js +1 -1
- package/dist/safe-bash-xml-engine/index.js +4 -4
- package/dist/safe-bash-xml-engine/json.js +14 -10
- package/dist/safe-bash-xml-engine/query.js +2 -2
- package/dist/safe-bash-xml-engine/stored-document.d.ts +4 -0
- package/dist/safe-bash-xml-engine/stored-document.js +1 -1
- package/dist/safe-bash-xml-engine/stored-evaluate.js +3 -3
- package/dist/safe-bash-zip-engine/index.js +2 -2
- package/dist/safe-bash-zip-engine/zip/repair.js +2 -2
- package/dist/safe-bash-zip-engine/zip/sfx.js +2 -2
- package/dist/safe-bash-zip-engine/zip-format.js +2 -2
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +63 -67
- package/dist/spreadsheet-format-xls/biff-properties.js +3 -3
- package/dist/spreadsheet-format-xls/biff-property-transcode.d.ts +6 -1
- package/dist/spreadsheet-format-xls/biff-property-transcode.js +15 -4
- package/dist/spreadsheet-format-xls/biff-property-values.d.ts +6 -1
- package/dist/spreadsheet-format-xls/biff-property-values.js +81 -12
- package/dist/xlsx-ast/comment-geometry.d.ts +12 -0
- package/dist/xlsx-ast/comment-geometry.js +71 -0
- package/dist/xlsx-ast/xlsx-metadata.d.ts +1 -1
- package/dist/xlsx-ast/xlsx-metadata.js +27 -2
- package/dist/xlsx-ast/xlsx-write-metadata.js +9 -1
- package/dist/xlsx-ast/xlsx.js +9 -4
- package/package.json +5 -3
- package/dist/safe-bash/command-chunks/biff-A7XPBWAK-DCLG5QKF.js +0 -5417
- package/dist/safe-bash/command-chunks/chunk-DBNJEXHK.js +0 -387
- package/dist/safe-bash/command-chunks/chunk-EV5G535P.js +0 -240
- package/dist/safe-bash/command-chunks/model-store-UB5DWMAP.js +0 -54
- package/dist/safe-bash/command-chunks/{chunk-NGSO645G.js → chunk-3ZVK2OAY.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-W2FKFEVY.js → chunk-4YSBUQPV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-UJSLBBQ7.js → chunk-5MFRN3CB.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-AW4Q3GZW.js → chunk-5QXRIZSS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-KUGV3SSL.js → chunk-CZXYWGVO.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-JWORWL72.js → chunk-DX7KU6YU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Z37OM247.js → chunk-E3BL7W5C.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-RIKNMBLZ.js → chunk-FEKECRJP.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-D3HW7R2N.js → chunk-FTZFCMVI.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-KRRG4MGH.js → chunk-GEDO5V32.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-NBRXQUK7.js → chunk-M3OXQXCU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-JRSZ5IGD.js → chunk-OAM2SUUI.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-HFKS6AET.js → chunk-OCOJMKDP.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-FMJKCVSQ.js → chunk-OOB7YCFQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-GGH376XQ.js → chunk-OU4VE5CR.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-DYERIXPU.js → chunk-QGTQJCKW.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-ZSQCROFE.js → chunk-RXXNLH7A.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-TI52LKLL.js → chunk-UVM6QG2H.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BJXADHRT.js → chunk-WKU65Z3Q.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-KGKF5NM2.js → chunk-WOXLPDO6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Y5ADXWBQ.js → chunk-WXW665TV.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-FWCUEZ3K.js → chunk-WYBCSJFG.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BXU5Y7I5.js → chunk-XI2LETBJ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-LNLACEAN.js → chunk-Y3ZRIZL7.js} +3 -3
|
@@ -481,7 +481,7 @@ async function* retainedInfoUpdates(chunks, signal) {
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
// packages/safe-bash-command-pdftk/src/retained-burst.ts
|
|
484
|
-
import { createRetainedPageCopy as createRetainedPageCopy2, saveRetainedDocumentChunks } from "../pdf-ast/index.js";
|
|
484
|
+
import { editRetainedDocument as editRetainedDocument2, createRetainedPageCopy as createRetainedPageCopy2, saveRetainedDocumentChunks } from "../pdf-ast/index.js";
|
|
485
485
|
|
|
486
486
|
// packages/safe-bash-command-pdftk/src/retained-inspection.ts
|
|
487
487
|
import { IntegerTable as IntegerTable3, PagedStorage as PagedStorage3 } from "@poe-platform/safe-fs/storage";
|
|
@@ -827,17 +827,20 @@ async function* retainedBurst(document, storage, options, pageCount, signal) {
|
|
|
827
827
|
const path = formatBurstFilename(pattern, index + 1);
|
|
828
828
|
if (path === "-" || path === report) continue;
|
|
829
829
|
const copy = await createRetainedPageCopy2(document, [index], storage, { signal });
|
|
830
|
+
let edited;
|
|
830
831
|
let failed = false;
|
|
831
832
|
try {
|
|
832
|
-
|
|
833
|
+
if (options.shouldFlatten) edited = await editRetainedDocument2(await copy.openDocument(), storage, { signal, flattenForms: true });
|
|
834
|
+
const chunks = options.compressStreams || options.uncompressStreams || edited ? saveRetainedDocumentChunks(edited?.document ?? await copy.openDocument(), storage, { signal, streamMode: options.uncompressStreams ? "uncompress" : options.compressStreams ? "compress" : "preserve" }) : copy.chunks();
|
|
833
835
|
yield { path, chunks };
|
|
834
836
|
} catch (error) {
|
|
835
837
|
failed = true;
|
|
836
838
|
throw error;
|
|
837
839
|
} finally {
|
|
838
|
-
await
|
|
839
|
-
|
|
840
|
-
|
|
840
|
+
const results = await Promise.allSettled([edited?.close(), copy.close()]);
|
|
841
|
+
if (!failed) {
|
|
842
|
+
for (const result of results) if (result.status === "rejected") await Promise.reject(result.reason);
|
|
843
|
+
}
|
|
841
844
|
}
|
|
842
845
|
}
|
|
843
846
|
yield { path: report, chunks: retainedInspectionReport(document, storage, false, signal, "document") };
|
|
@@ -876,16 +879,17 @@ async function* retainedRotations(args, handles, primaryHandle, pageCount, stora
|
|
|
876
879
|
}
|
|
877
880
|
|
|
878
881
|
// packages/safe-bash-command-pdftk/src/retained-output.ts
|
|
879
|
-
import { parseRetainedFormData, editRetainedDocument as
|
|
882
|
+
import { parseRetainedFormData, editRetainedDocument as editRetainedDocument3, PdfFileSource as PdfFileSource3, PdfMutableObjectStore as PdfMutableObjectStore4, PdfRetainedDocument, cosBool, cosName, dictDelete, dictGet as dictGet4, dictSet as dictSet2, encryptRetainedPdfChunks, retainedCosObjects, saveRetainedDocumentChunks as saveRetainedDocumentChunks2 } from "../pdf-ast/index.js";
|
|
880
883
|
async function* retainedOutput(source, storage, options, selectedId, signal, handles, pageCount, attachments, attachmentPage, stamps, info, formData) {
|
|
881
884
|
const infoUpdates = info?.updates;
|
|
885
|
+
const flattenForms = options.operation === "flatten" || options.shouldFlatten && ["output", "fill_form", "cat", "shuffle", "stamp", "multistamp", "background", "multibackground"].includes(options.operation);
|
|
882
886
|
const store = new PdfMutableObjectStore4(storage, { signal });
|
|
883
887
|
let edited;
|
|
884
888
|
let document, plaintext, failed = false;
|
|
885
889
|
try {
|
|
886
|
-
if (options.operation === "attach_files" || stamps || infoUpdates || formData) {
|
|
890
|
+
if (options.operation === "attach_files" || stamps || infoUpdates || formData || flattenForms) {
|
|
887
891
|
const pageIndex = attachmentPage !== void 0 && pageCount > 0 ? attachmentPage.toLowerCase() === "end" ? pageCount - 1 : Math.max(0, Math.min(pageCount - 1, (Number.parseInt(attachmentPage, 10) || 1) - 1)) : void 0;
|
|
888
|
-
edited = await
|
|
892
|
+
edited = await editRetainedDocument3(source, storage, { signal, flattenForms, ...formData ? { formUpdates: parseRetainedFormData(formData, storage, { signal }) } : {}, ...infoUpdates ? { infoUpdates } : {}, ...options.operation === "attach_files" ? { appendAttachments: attachments } : {}, ...stamps ? { stamps } : {}, ...pageIndex !== void 0 ? { attachmentPageIndex: pageIndex } : {} });
|
|
889
893
|
}
|
|
890
894
|
const input = edited?.document ?? source;
|
|
891
895
|
const pageReferences = edited ? { pageReferences: async function* () {
|
|
@@ -907,7 +911,7 @@ async function* retainedOutput(source, storage, options, selectedId, signal, han
|
|
|
907
911
|
const form = await document.lookup(dictGet4(root.value, "AcroForm"));
|
|
908
912
|
if (form?.value.kind === "dict" && !form.stream) {
|
|
909
913
|
if (options.dropXfa) dictDelete(form.value, "XFA");
|
|
910
|
-
if (formData || options.needAppearances) dictSet2(form.value, "NeedAppearances", cosBool(options.needAppearances));
|
|
914
|
+
if (!options.shouldFlatten && (formData || options.needAppearances)) dictSet2(form.value, "NeedAppearances", cosBool(options.needAppearances));
|
|
911
915
|
if (form.reference) await store.set({ objectNumber: form.reference.objectNumber, generationNumber: form.reference.generationNumber, value: form.value });
|
|
912
916
|
else dictSet2(root.value, "AcroForm", form.value);
|
|
913
917
|
}
|
|
@@ -1276,7 +1280,7 @@ async function executeRetainedPdftk(context, options) {
|
|
|
1276
1280
|
if (options.operation === "cat" || options.operation === "shuffle") {
|
|
1277
1281
|
assembled = await assembleRetainedPdftk(document, storage, options, counts, handles, async (input) => PdfRetainedDocument2.open(inputs.get(input.file), storage, { signal, recovery: "strict", ...input.password ? { password: input.password } : {} }), signal);
|
|
1278
1282
|
}
|
|
1279
|
-
output = await PdfFileSource5.fromStream(context.fs, storage.directory, ["output", "rotate", "attach_files", "stamp", "multistamp", "background", "multibackground", "update_info", "update_info_utf8", "cat", "shuffle", "fill_form"].includes(options.operation) ? retainedOutput(assembled?.document ?? document, storage, options, selectedId, signal, new Map([...handles].map(([handle, input]) => [handle, { pageCount: counts.get(input) }])), counts.get(primary), attachments(), attachmentPage, overlayDocument ? [{ source: overlayDocument, mode: options.operation.includes("background") ? "underlay" : "overlay", preserveStreams: true, pages: stampPages() }] : void 0, infoSource ? { updates: retainedInfoUpdates(infoSource.stream(0, infoSource.size, signal), signal), useUpdatedId: idInput === primary } : void 0, formSource) : options.operation === "generate_fdf" ? retainedFdf(document, storage, signal) : options.operation === "dump_data_fields" || options.operation === "dump_data_fields_utf8" ? retainedFieldReport(document, options.operation.endsWith("_utf8"), signal) : retainedInspectionReport(document, storage, options.operation.endsWith("_utf8"), signal, options.operation === "dump_data" || options.operation === "dump_data_utf8" ? "document" : "annotations"), { signal });
|
|
1283
|
+
output = await PdfFileSource5.fromStream(context.fs, storage.directory, ["output", "rotate", "attach_files", "stamp", "multistamp", "background", "multibackground", "update_info", "update_info_utf8", "cat", "shuffle", "fill_form", "flatten"].includes(options.operation) ? retainedOutput(assembled?.document ?? document, storage, options, selectedId, signal, new Map([...handles].map(([handle, input]) => [handle, { pageCount: counts.get(input) }])), counts.get(primary), attachments(), attachmentPage, overlayDocument ? [{ source: overlayDocument, mode: options.operation.includes("background") ? "underlay" : "overlay", preserveStreams: true, pages: stampPages() }] : void 0, infoSource ? { updates: retainedInfoUpdates(infoSource.stream(0, infoSource.size, signal), signal), useUpdatedId: idInput === primary } : void 0, formSource) : options.operation === "generate_fdf" ? retainedFdf(document, storage, signal) : options.operation === "dump_data_fields" || options.operation === "dump_data_fields_utf8" ? retainedFieldReport(document, options.operation.endsWith("_utf8"), signal) : retainedInspectionReport(document, storage, options.operation.endsWith("_utf8"), signal, options.operation === "dump_data" || options.operation === "dump_data_utf8" ? "document" : "annotations"), { signal });
|
|
1280
1284
|
const destination = options.outputTarget;
|
|
1281
1285
|
if (!destination || destination === "-") for await (const bytes of output.stream(0, output.size, signal)) await writeBytes(context.stdout, bytes, signal);
|
|
1282
1286
|
else {
|
|
@@ -1495,15 +1499,13 @@ function* parsePdftkArgumentsSteps(argv) {
|
|
|
1495
1499
|
}
|
|
1496
1500
|
|
|
1497
1501
|
// packages/safe-bash-command-pdftk/src/index.ts
|
|
1498
|
-
import {
|
|
1499
|
-
import { yieldTurn, drainCooperativeSteps as drainSteps } from "../safe-bash-contracts/yield.js";
|
|
1502
|
+
import { drainCooperativeSteps as drainSteps } from "../safe-bash-contracts/yield.js";
|
|
1500
1503
|
import { InputByteBudget } from "../safe-bash-contracts/io.js";
|
|
1501
|
-
import { writeFileOutput as writeFileOutput2 } from "../safe-bash-contracts/filesystem-output-budget.js";
|
|
1502
1504
|
import {
|
|
1503
1505
|
commandRuntimeIdentity,
|
|
1504
1506
|
getCommandArguments
|
|
1505
1507
|
} from "../safe-bash-contracts/command.js";
|
|
1506
|
-
import {
|
|
1508
|
+
import { writeBytes as writeBytes2 } from "../safe-bash-contracts/io.js";
|
|
1507
1509
|
import { createOutputOperation } from "../safe-bash-contracts/output.js";
|
|
1508
1510
|
import {
|
|
1509
1511
|
PdfDocument,
|
|
@@ -3064,104 +3066,15 @@ function runPdftkCliSync(argv, files, signal) {
|
|
|
3064
3066
|
return next.value;
|
|
3065
3067
|
}
|
|
3066
3068
|
async function executePdftk(context, retainedContext = context) {
|
|
3067
|
-
let cooperativeWork = 63;
|
|
3068
3069
|
const invocation = createOutputOperation(context, { write: async () => {
|
|
3069
3070
|
} });
|
|
3070
3071
|
try {
|
|
3071
|
-
const
|
|
3072
|
-
|
|
3073
|
-
const parsed = await drainSteps(parsePdftkArgumentsSteps(argv), invocation.signal);
|
|
3074
|
-
if (parsed.options && (["output", "rotate", "attach_files", "stamp", "multistamp", "background", "multibackground", "burst", "update_info", "update_info_utf8", "cat", "shuffle", "fill_form"].includes(parsed.options.operation) && !parsed.options.shouldFlatten || ["dump_data", "dump_data_utf8", "dump_data_annots", "dump_data_annots_utf8", "dump_data_fields", "dump_data_fields_utf8", "generate_fdf", "unpack_files"].includes(parsed.options.operation))) {
|
|
3075
|
-
return await executeRetainedPdftk({ ...retainedContext, signal: invocation.signal, stdout: invocation.child(context.stdout).output }, parsed.options);
|
|
3076
|
-
}
|
|
3077
|
-
const vfsFiles = /* @__PURE__ */ new Map();
|
|
3078
|
-
let accountedBytes = 0;
|
|
3079
|
-
const chargeBytes = (delta) => {
|
|
3080
|
-
if (delta > 0) {
|
|
3081
|
-
accountedBytes += delta;
|
|
3082
|
-
context.inputBudget?.check(accountedBytes);
|
|
3083
|
-
}
|
|
3084
|
-
};
|
|
3085
|
-
const inputPaths = [];
|
|
3086
|
-
let operandIndex = 0;
|
|
3087
|
-
while (operandIndex < argv.length && !PDFTK_OPERATIONS.has(argv[operandIndex].toLowerCase())) {
|
|
3088
|
-
const token = argv[operandIndex++];
|
|
3089
|
-
const eq = token.indexOf("=");
|
|
3090
|
-
inputPaths.push(eq > 0 ? token.slice(eq + 1) : token);
|
|
3091
|
-
}
|
|
3092
|
-
while (argv[operandIndex]?.toLowerCase() === "input_pw") {
|
|
3093
|
-
operandIndex++;
|
|
3094
|
-
while (operandIndex < argv.length && !PDFTK_OPERATIONS.has(argv[operandIndex].toLowerCase())) operandIndex++;
|
|
3095
|
-
}
|
|
3096
|
-
const operation = argv[operandIndex++]?.toLowerCase();
|
|
3097
|
-
if (["update_info", "update_info_utf8", "fill_form", "background", "multibackground", "stamp", "multistamp"].includes(operation ?? "")) {
|
|
3098
|
-
const operand = argv[operandIndex];
|
|
3099
|
-
inputPaths.push(operand && !PDFTK_OPERATIONS.has(operand.toLowerCase()) ? operand : "-");
|
|
3100
|
-
} else if (operation === "attach_files") {
|
|
3101
|
-
while (operandIndex < argv.length && !PDFTK_OPERATIONS.has(argv[operandIndex].toLowerCase())) {
|
|
3102
|
-
const token = argv[operandIndex++];
|
|
3103
|
-
if (token.toLowerCase() === "to_page") operandIndex++;
|
|
3104
|
-
else inputPaths.push(token);
|
|
3105
|
-
}
|
|
3106
|
-
}
|
|
3107
|
-
if (inputPaths.includes("-")) {
|
|
3108
|
-
const chunks = [];
|
|
3109
|
-
let total = 0;
|
|
3110
|
-
for await (const chunk of readBytes(context.stdin, invocation.signal)) {
|
|
3111
|
-
if (++cooperativeWork % 64 === 0) await yieldTurn(context.signal);
|
|
3112
|
-
chunks.push(chunk);
|
|
3113
|
-
total += chunk.byteLength;
|
|
3114
|
-
chargeBytes(chunk.byteLength);
|
|
3115
|
-
}
|
|
3116
|
-
const buf = new Uint8Array(total);
|
|
3117
|
-
let off = 0;
|
|
3118
|
-
for (const c of chunks) {
|
|
3119
|
-
if (++cooperativeWork % 64 === 0) await yieldTurn(context.signal);
|
|
3120
|
-
buf.set(c, off);
|
|
3121
|
-
off += c.byteLength;
|
|
3122
|
-
}
|
|
3123
|
-
vfsFiles.set("-", buf);
|
|
3124
|
-
}
|
|
3125
|
-
for (const filePath of new Set(inputPaths)) {
|
|
3126
|
-
if (++cooperativeWork % 64 === 0) await yieldTurn(context.signal);
|
|
3127
|
-
if (filePath === "-") continue;
|
|
3128
|
-
try {
|
|
3129
|
-
const bytes = await context.fs.readFile(resolvePath2(context.cwd, filePath), { signal: invocation.signal });
|
|
3130
|
-
chargeBytes(bytes.byteLength);
|
|
3131
|
-
vfsFiles.set(filePath, bytes);
|
|
3132
|
-
} catch {
|
|
3133
|
-
}
|
|
3134
|
-
}
|
|
3072
|
+
const parsed = await drainSteps(parsePdftkArgumentsSteps([...getCommandArguments(context).args]), invocation.signal);
|
|
3073
|
+
if (parsed.options) return await executeRetainedPdftk({ ...retainedContext, signal: invocation.signal, stdout: invocation.child(context.stdout).output }, parsed.options);
|
|
3135
3074
|
context.inputBudget?.check(0);
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
await writeBytes2(context.stderr, new TextEncoder().encode(res.stderr), invocation.signal);
|
|
3140
|
-
}
|
|
3141
|
-
if (res.stdoutBytes) {
|
|
3142
|
-
const stdout = invocation.child(context.stdout);
|
|
3143
|
-
await writeBytes2(stdout.output, res.stdoutBytes, invocation.signal);
|
|
3144
|
-
} else if (res.stdout) {
|
|
3145
|
-
const outBytes = new TextEncoder().encode(res.stdout);
|
|
3146
|
-
const stdout = invocation.child(context.stdout);
|
|
3147
|
-
await writeBytes2(stdout.output, outBytes, invocation.signal);
|
|
3148
|
-
}
|
|
3149
|
-
for (const [key, val] of vfsFiles.entries()) {
|
|
3150
|
-
if (++cooperativeWork % 64 === 0) await yieldTurn(context.signal);
|
|
3151
|
-
if (key !== "-" && existingSnap.get(key) !== val) {
|
|
3152
|
-
const abs = resolvePath2(context.cwd, key);
|
|
3153
|
-
try {
|
|
3154
|
-
await writeFileOutput2(context, val, (data) => context.fs.writeFile(abs, data, { signal: invocation.signal }));
|
|
3155
|
-
} catch (error) {
|
|
3156
|
-
invocation.signal.throwIfAborted();
|
|
3157
|
-
if (!(error instanceof Error) || !("code" in error)) throw error;
|
|
3158
|
-
await writeBytes2(context.stderr, new TextEncoder().encode(`Error: Failed to open output file '${key}': ${error.code}.
|
|
3159
|
-
`), invocation.signal);
|
|
3160
|
-
return { exitCode: 1 };
|
|
3161
|
-
}
|
|
3162
|
-
}
|
|
3163
|
-
}
|
|
3164
|
-
return { exitCode: res.exitCode };
|
|
3075
|
+
if (parsed.result.stderr) await writeBytes2(context.stderr, new TextEncoder().encode(parsed.result.stderr), invocation.signal);
|
|
3076
|
+
if (parsed.result.stdout) await writeBytes2(invocation.child(context.stdout).output, new TextEncoder().encode(parsed.result.stdout), invocation.signal);
|
|
3077
|
+
return { exitCode: parsed.result.exitCode };
|
|
3165
3078
|
} finally {
|
|
3166
3079
|
await invocation.close();
|
|
3167
3080
|
}
|
|
@@ -419,6 +419,12 @@ function* parsePdftocairoArgsSteps(argv, hasStdin) {
|
|
|
419
419
|
return { format, grayMode, monoMode, quiet, firstPage, lastPage, oddOnly, evenOnly, cropX, cropY, cropW, cropH, hasCrop, paperW, paperH, origPageSizes, password, forwardedArgs, positionals, inputPath };
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
+
// packages/safe-bash-command-pdftoppm/src/retained-cairo-pdf.ts
|
|
423
|
+
import { createRetainedPageCopy, PdfFileSource as PdfFileSource2, PdfRetainedDocument as PdfRetainedDocument2, PdfStagingStorage as PdfStagingStorage2, PdfError as PdfError2 } from "../pdf-ast/index.js";
|
|
424
|
+
import { readBytes as readBytes2, writeBytes as writeBytes2 } from "../safe-bash-contracts/io.js";
|
|
425
|
+
import { resolvePath as resolvePath2 } from "../safe-bash-contracts/path.js";
|
|
426
|
+
import { yieldTurn as yieldTurn2 } from "../safe-bash-contracts/yield.js";
|
|
427
|
+
|
|
422
428
|
// packages/safe-bash-command-pdftoppm/src/retained.ts
|
|
423
429
|
import { PagedStorage } from "@poe-platform/safe-fs/storage";
|
|
424
430
|
import {
|
|
@@ -655,16 +661,105 @@ async function publish(context, path, chunks, signal) {
|
|
|
655
661
|
}
|
|
656
662
|
}
|
|
657
663
|
|
|
664
|
+
// packages/safe-bash-command-pdftoppm/src/retained-cairo-pdf.ts
|
|
665
|
+
async function executeRetainedCairoPdf(context, plan, stdout, signal, maximum) {
|
|
666
|
+
const directory = resolvePath2(context.cwd, context.env.TMPDIR || "/tmp"), storage = new PdfStagingStorage2({ fs: context.fs, directory }), encoder = new TextEncoder();
|
|
667
|
+
async function diagnostic(message, exitCode) {
|
|
668
|
+
if (!plan.quiet) await writeBytes2(context.stderr, encoder.encode(message), signal);
|
|
669
|
+
return { exitCode };
|
|
670
|
+
}
|
|
671
|
+
let source, document, copy, result, failed = false;
|
|
672
|
+
try {
|
|
673
|
+
await context.fs.mkdir(directory, { recursive: true, signal });
|
|
674
|
+
const maxInputBytes = Math.min(maximum, context.inputBudget?.maxBytes ?? Infinity);
|
|
675
|
+
try {
|
|
676
|
+
if (plan.inputPath === "-") {
|
|
677
|
+
async function* input() {
|
|
678
|
+
let count2 = 0;
|
|
679
|
+
for await (const bytes of readBytes2(context.stdin, signal)) {
|
|
680
|
+
count2 += bytes.length;
|
|
681
|
+
context.inputBudget?.check(count2);
|
|
682
|
+
yield bytes;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
source = await PdfFileSource2.fromStream(storage.fs, directory, input(), { maxInputBytes, signal });
|
|
686
|
+
} else {
|
|
687
|
+
const path = resolvePath2(context.cwd, plan.inputPath);
|
|
688
|
+
context.inputBudget?.check((await context.fs.stat(path, { signal })).size);
|
|
689
|
+
source = await PdfFileSource2.open(context.fs, path, { maxInputBytes, signal });
|
|
690
|
+
context.inputBudget?.check(source.size);
|
|
691
|
+
}
|
|
692
|
+
} catch (error) {
|
|
693
|
+
signal.throwIfAborted();
|
|
694
|
+
if (error instanceof Error && "code" in error && error.code === "ENOENT") return await diagnostic(`I/O Error: Couldn't open file '${plan.inputPath}'
|
|
695
|
+
`, 1);
|
|
696
|
+
throw error;
|
|
697
|
+
}
|
|
698
|
+
let count = 0;
|
|
699
|
+
try {
|
|
700
|
+
document = await PdfRetainedDocument2.open(source, storage, { signal, ...plan.password ? { password: plan.password } : {} });
|
|
701
|
+
for await (const ignored of document.pages()) {
|
|
702
|
+
void ignored;
|
|
703
|
+
count++;
|
|
704
|
+
await yieldTurn2(signal);
|
|
705
|
+
}
|
|
706
|
+
} catch (error) {
|
|
707
|
+
signal.throwIfAborted();
|
|
708
|
+
if (!(error instanceof PdfError2) || error.code === "E_LIMIT" || error.code === "E_CANCELLED") throw error;
|
|
709
|
+
return await diagnostic(`PDF Error: ${error.message}
|
|
710
|
+
`, 1);
|
|
711
|
+
}
|
|
712
|
+
const total = Math.max(1, count), last = plan.lastPage > 0 ? Math.min(total, plan.lastPage) : total;
|
|
713
|
+
if (plan.firstPage > total || plan.firstPage > last) return await diagnostic(`Command Line Error: Wrong page range given: the first page (${plan.firstPage}) can not be after the last page (${last}).
|
|
714
|
+
`, 99);
|
|
715
|
+
const retained = document;
|
|
716
|
+
async function* selections() {
|
|
717
|
+
for (let page = plan.firstPage; page <= last; page++) {
|
|
718
|
+
await yieldTurn2(signal);
|
|
719
|
+
if (plan.oddOnly && page % 2 === 0 || plan.evenOnly && page % 2 === 1) continue;
|
|
720
|
+
yield { document: retained, indices: [page - 1] };
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
const paper = !plan.origPageSizes && plan.paperW > 0 && plan.paperH > 0;
|
|
724
|
+
copy = await createRetainedPageCopy(selections(), storage, { signal, metadata: await document.info(), ...paper || plan.hasCrop ? { pageBoxes: ({ width, height }) => {
|
|
725
|
+
const box = [0, 0, paper ? plan.paperW : plan.cropW > 0 ? plan.cropW : Math.max(1, width - plan.cropX), paper ? plan.paperH : plan.cropH > 0 ? plan.cropH : Math.max(1, height - plan.cropY)];
|
|
726
|
+
return { mediaBox: box, cropBox: box };
|
|
727
|
+
} } : {} });
|
|
728
|
+
result = await PdfFileSource2.fromStream(storage.fs, directory, copy.chunks(), { signal });
|
|
729
|
+
const stem = plan.inputPath.toLowerCase().endsWith(".pdf") ? plan.inputPath.slice(0, -4) : plan.inputPath, raw = plan.positionals[1] ?? (plan.inputPath === "-" ? "-" : `${stem}.pdf`), output = raw === "-" || raw.toLowerCase().endsWith(".pdf") ? raw : `${raw}.pdf`;
|
|
730
|
+
if (output === "-") {
|
|
731
|
+
for await (const bytes of result.stream(0, result.size, signal)) await writeBytes2(stdout, bytes, signal);
|
|
732
|
+
} else try {
|
|
733
|
+
await publish(context, resolvePath2(context.cwd, output), result.stream(0, result.size, signal), signal);
|
|
734
|
+
} catch (error) {
|
|
735
|
+
signal.throwIfAborted();
|
|
736
|
+
if (!(error instanceof Error) || !("code" in error)) throw error;
|
|
737
|
+
await writeBytes2(context.stderr, encoder.encode(`Error opening output file ${output}
|
|
738
|
+
`), signal);
|
|
739
|
+
return { exitCode: 2 };
|
|
740
|
+
}
|
|
741
|
+
return { exitCode: 0 };
|
|
742
|
+
} catch (error) {
|
|
743
|
+
failed = true;
|
|
744
|
+
throw error;
|
|
745
|
+
} finally {
|
|
746
|
+
const results = await Promise.allSettled([result?.close(), copy?.close(), document?.close(), source?.close()]);
|
|
747
|
+
if (!failed) {
|
|
748
|
+
for (const result2 of results) if (result2.status === "rejected") await Promise.reject(result2.reason);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
658
753
|
// packages/safe-bash-command-pdftoppm/src/index.ts
|
|
659
|
-
import { resolvePath as
|
|
660
|
-
import { yieldTurn as
|
|
754
|
+
import { resolvePath as resolvePath3 } from "../safe-bash-contracts/path.js";
|
|
755
|
+
import { yieldTurn as yieldTurn3, drainCooperativeSteps as drainSteps } from "../safe-bash-contracts/yield.js";
|
|
661
756
|
import { InputByteBudget } from "../safe-bash-contracts/io.js";
|
|
662
757
|
import { writeFileOutput as writeFileOutput2 } from "../safe-bash-contracts/filesystem-output-budget.js";
|
|
663
758
|
import {
|
|
664
759
|
commandRuntimeIdentity,
|
|
665
760
|
getCommandArguments
|
|
666
761
|
} from "../safe-bash-contracts/command.js";
|
|
667
|
-
import { readBytes as
|
|
762
|
+
import { readBytes as readBytes3, writeBytes as writeBytes3 } from "../safe-bash-contracts/io.js";
|
|
668
763
|
import { createOutputOperation } from "../safe-bash-contracts/output.js";
|
|
669
764
|
import { PdfDocument, cosArray, cosNumber, dictSet, getDisplayListCropBox as getDisplayListCropBox2, decodePngSteps, encodeJpegSteps, encodePbmSteps, encodePgmSteps, encodePngSteps, encodePpmSteps, encodeTiffSteps, renderDisplayListToSvgSteps, renderDisplayListToBitmapSteps } from "../pdf-ast/index.js";
|
|
670
765
|
function extractPdftoppmPositionals(argv) {
|
|
@@ -882,8 +977,8 @@ async function executePdftoppm(context) {
|
|
|
882
977
|
if (readStdin) {
|
|
883
978
|
const chunks = [];
|
|
884
979
|
let total = 0;
|
|
885
|
-
for await (const chunk of
|
|
886
|
-
if (++cooperativeWork % 64 === 0) await
|
|
980
|
+
for await (const chunk of readBytes3(context.stdin, invocation.signal)) {
|
|
981
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context.signal);
|
|
887
982
|
chunks.push(chunk);
|
|
888
983
|
total += chunk.byteLength;
|
|
889
984
|
chargeBytes(chunk.byteLength);
|
|
@@ -891,17 +986,17 @@ async function executePdftoppm(context) {
|
|
|
891
986
|
const buf = new Uint8Array(total);
|
|
892
987
|
let off = 0;
|
|
893
988
|
for (const c of chunks) {
|
|
894
|
-
if (++cooperativeWork % 64 === 0) await
|
|
989
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context.signal);
|
|
895
990
|
buf.set(c, off);
|
|
896
991
|
off += c.byteLength;
|
|
897
992
|
}
|
|
898
993
|
vfsFiles.set("-", buf);
|
|
899
994
|
}
|
|
900
995
|
for (const token of positionals.slice(0, 1)) {
|
|
901
|
-
if (++cooperativeWork % 64 === 0) await
|
|
996
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context.signal);
|
|
902
997
|
if (token === "-") continue;
|
|
903
998
|
try {
|
|
904
|
-
const bytes = await context.fs.readFile(
|
|
999
|
+
const bytes = await context.fs.readFile(resolvePath3(context.cwd, token), { signal: invocation.signal });
|
|
905
1000
|
chargeBytes(bytes.byteLength);
|
|
906
1001
|
vfsFiles.set(token, bytes);
|
|
907
1002
|
} catch {
|
|
@@ -911,25 +1006,25 @@ async function executePdftoppm(context) {
|
|
|
911
1006
|
const existingSnap = new Map(vfsFiles);
|
|
912
1007
|
const res = await runPdftoppmCli(argv, vfsFiles, { signal: invocation.signal });
|
|
913
1008
|
if (res.stderr) {
|
|
914
|
-
await
|
|
1009
|
+
await writeBytes3(context.stderr, new TextEncoder().encode(res.stderr), invocation.signal);
|
|
915
1010
|
}
|
|
916
1011
|
if (res.stdoutBytes) {
|
|
917
1012
|
const stdout = invocation.child(context.stdout);
|
|
918
|
-
await
|
|
1013
|
+
await writeBytes3(stdout.output, res.stdoutBytes, invocation.signal);
|
|
919
1014
|
} else if (res.stdout) {
|
|
920
1015
|
const stdout = invocation.child(context.stdout);
|
|
921
|
-
await
|
|
1016
|
+
await writeBytes3(stdout.output, new TextEncoder().encode(res.stdout), invocation.signal);
|
|
922
1017
|
}
|
|
923
1018
|
for (const [key, val] of vfsFiles.entries()) {
|
|
924
|
-
if (++cooperativeWork % 64 === 0) await
|
|
1019
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context.signal);
|
|
925
1020
|
if (key !== "-" && existingSnap.get(key) !== val) {
|
|
926
|
-
const abs =
|
|
1021
|
+
const abs = resolvePath3(context.cwd, key);
|
|
927
1022
|
try {
|
|
928
1023
|
await writeFileOutput2(context, val, (data) => context.fs.writeFile(abs, data, { signal: invocation.signal }));
|
|
929
1024
|
} catch (error) {
|
|
930
1025
|
invocation.signal.throwIfAborted();
|
|
931
1026
|
if (!(error instanceof Error) || !("code" in error)) throw error;
|
|
932
|
-
await
|
|
1027
|
+
await writeBytes3(context.stderr, new TextEncoder().encode(`Could not write image to ${key}; exiting
|
|
933
1028
|
`), invocation.signal);
|
|
934
1029
|
return { exitCode: 1 };
|
|
935
1030
|
}
|
|
@@ -1143,6 +1238,15 @@ function createPdftocairoCommand(options = {}) {
|
|
|
1143
1238
|
description: "Render PDF pages to PNG, JPEG, TIFF, PDF, PS, EPS, or SVG via @poe-code/pdf-ast",
|
|
1144
1239
|
async execute(context) {
|
|
1145
1240
|
const parsed = await drainSteps(parsePdftocairoArgsSteps(getCommandArguments(context).args, true), context.signal);
|
|
1241
|
+
if ("inputPath" in parsed && parsed.format === "pdf") {
|
|
1242
|
+
const invocation = createOutputOperation(context, { write: async () => {
|
|
1243
|
+
} });
|
|
1244
|
+
try {
|
|
1245
|
+
return await executeRetainedCairoPdf(context, parsed, invocation.child(context.stdout).output, invocation.signal, maxInputBytes);
|
|
1246
|
+
} finally {
|
|
1247
|
+
await invocation.close();
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1146
1250
|
if ("inputPath" in parsed && (parsed.format === "png" || parsed.format === "jpg" || parsed.format === "tif")) {
|
|
1147
1251
|
const stem = parsed.inputPath.toLowerCase().endsWith(".pdf") ? parsed.inputPath.slice(0, -4) : parsed.inputPath;
|
|
1148
1252
|
const positionals = parsed.positionals.length === 1 && parsed.inputPath !== "-" ? [parsed.inputPath, stem] : parsed.positionals;
|
|
@@ -1151,8 +1255,8 @@ function createPdftocairoCommand(options = {}) {
|
|
|
1151
1255
|
} });
|
|
1152
1256
|
try {
|
|
1153
1257
|
if (!("inputPath" in plan)) {
|
|
1154
|
-
if (plan.stdout) await
|
|
1155
|
-
if (plan.stderr) await
|
|
1258
|
+
if (plan.stdout) await writeBytes3(invocation.child(context.stdout).output, new TextEncoder().encode(plan.stdout), invocation.signal);
|
|
1259
|
+
if (plan.stderr) await writeBytes3(context.stderr, new TextEncoder().encode(plan.stderr), invocation.signal);
|
|
1156
1260
|
return { exitCode: plan.exitCode };
|
|
1157
1261
|
}
|
|
1158
1262
|
if (plan.format === "png" && plan.positionals[1] && plan.positionals[1] !== "-" && (parsed.grayMode || parsed.monoMode)) {
|
|
@@ -1203,8 +1307,8 @@ function createPdftocairoCommand(options = {}) {
|
|
|
1203
1307
|
if (!informational && (positionals.length === 0 || positionals[0] === "-")) {
|
|
1204
1308
|
const chunks = [];
|
|
1205
1309
|
let total = 0;
|
|
1206
|
-
for await (const chunk of
|
|
1207
|
-
if (++cooperativeWork % 64 === 0) await
|
|
1310
|
+
for await (const chunk of readBytes3(context2.stdin, invocation.signal)) {
|
|
1311
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context2.signal);
|
|
1208
1312
|
chunks.push(chunk);
|
|
1209
1313
|
total += chunk.byteLength;
|
|
1210
1314
|
chargeBytes(chunk.byteLength);
|
|
@@ -1213,7 +1317,7 @@ function createPdftocairoCommand(options = {}) {
|
|
|
1213
1317
|
const buf = new Uint8Array(total);
|
|
1214
1318
|
let off = 0;
|
|
1215
1319
|
for (const c of chunks) {
|
|
1216
|
-
if (++cooperativeWork % 64 === 0) await
|
|
1320
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context2.signal);
|
|
1217
1321
|
buf.set(c, off);
|
|
1218
1322
|
off += c.byteLength;
|
|
1219
1323
|
}
|
|
@@ -1221,10 +1325,10 @@ function createPdftocairoCommand(options = {}) {
|
|
|
1221
1325
|
}
|
|
1222
1326
|
}
|
|
1223
1327
|
for (const token of positionals.slice(0, 1)) {
|
|
1224
|
-
if (++cooperativeWork % 64 === 0) await
|
|
1328
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context2.signal);
|
|
1225
1329
|
if (token === "-") continue;
|
|
1226
1330
|
try {
|
|
1227
|
-
const bytes = await context2.fs.readFile(
|
|
1331
|
+
const bytes = await context2.fs.readFile(resolvePath3(context2.cwd, token), { signal: invocation.signal });
|
|
1228
1332
|
chargeBytes(bytes.byteLength);
|
|
1229
1333
|
vfsFiles.set(token, bytes);
|
|
1230
1334
|
} catch {
|
|
@@ -1234,25 +1338,25 @@ function createPdftocairoCommand(options = {}) {
|
|
|
1234
1338
|
const existingSnap = new Map(vfsFiles);
|
|
1235
1339
|
const res = await runPdftocairoCli(argv, vfsFiles, { signal: invocation.signal });
|
|
1236
1340
|
if (res.stderr) {
|
|
1237
|
-
await
|
|
1341
|
+
await writeBytes3(context2.stderr, new TextEncoder().encode(res.stderr), invocation.signal);
|
|
1238
1342
|
}
|
|
1239
1343
|
if (res.stdoutBytes) {
|
|
1240
1344
|
const stdout = invocation.child(context2.stdout);
|
|
1241
|
-
await
|
|
1345
|
+
await writeBytes3(stdout.output, res.stdoutBytes, invocation.signal);
|
|
1242
1346
|
} else if (res.stdout) {
|
|
1243
1347
|
const stdout = invocation.child(context2.stdout);
|
|
1244
|
-
await
|
|
1348
|
+
await writeBytes3(stdout.output, new TextEncoder().encode(res.stdout), invocation.signal);
|
|
1245
1349
|
}
|
|
1246
1350
|
for (const [key, val] of vfsFiles.entries()) {
|
|
1247
|
-
if (++cooperativeWork % 64 === 0) await
|
|
1351
|
+
if (++cooperativeWork % 64 === 0) await yieldTurn3(context2.signal);
|
|
1248
1352
|
if (key !== "-" && existingSnap.get(key) !== val) {
|
|
1249
|
-
const abs =
|
|
1353
|
+
const abs = resolvePath3(context2.cwd, key);
|
|
1250
1354
|
try {
|
|
1251
1355
|
await writeFileOutput2(context2, val, (data) => context2.fs.writeFile(abs, data, { signal: invocation.signal }));
|
|
1252
1356
|
} catch (error) {
|
|
1253
1357
|
invocation.signal.throwIfAborted();
|
|
1254
1358
|
if (!(error instanceof Error) || !("code" in error)) throw error;
|
|
1255
|
-
await
|
|
1359
|
+
await writeBytes3(context2.stderr, new TextEncoder().encode(`Error opening output file ${key}
|
|
1256
1360
|
`), invocation.signal);
|
|
1257
1361
|
return { exitCode: 2 };
|
|
1258
1362
|
}
|
|
@@ -1,38 +1,39 @@
|
|
|
1
1
|
import "../safe-bash/command-chunks/chunk-YZDNGY3D.js";
|
|
2
|
+
import {
|
|
3
|
+
admitPlaywrightProtocolFrame,
|
|
4
|
+
createPlaywrightPrivateTargetTransport
|
|
5
|
+
} from "../safe-bash/command-chunks/chunk-RKUMOMKR.js";
|
|
2
6
|
import {
|
|
3
7
|
checkpointBrowserProfile,
|
|
4
8
|
encodeBrowserProfile,
|
|
5
9
|
parseBrowserProfile,
|
|
6
10
|
restoreBrowserProfile
|
|
7
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
11
|
+
} from "../safe-bash/command-chunks/chunk-BZRWZ6GO.js";
|
|
8
12
|
import {
|
|
9
13
|
createPlaywrightStorageOriginPreparer
|
|
10
14
|
} from "../safe-bash/command-chunks/chunk-LY6ZHDZ2.js";
|
|
11
15
|
import {
|
|
12
16
|
installPlaywrightNetworkPolicy
|
|
13
17
|
} from "../safe-bash/command-chunks/chunk-MWTK56E5.js";
|
|
14
|
-
import {
|
|
15
|
-
admitPlaywrightProtocolFrame,
|
|
16
|
-
createPlaywrightPrivateTargetTransport
|
|
17
|
-
} from "../safe-bash/command-chunks/chunk-RKUMOMKR.js";
|
|
18
18
|
import {
|
|
19
19
|
createPlaywrightController
|
|
20
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
20
|
+
} from "../safe-bash/command-chunks/chunk-QNETPOMH.js";
|
|
21
21
|
import "../safe-bash/command-chunks/chunk-SPZR6J6S.js";
|
|
22
22
|
import "../safe-bash/command-chunks/chunk-GGDJ725I.js";
|
|
23
23
|
import "../safe-bash/command-chunks/chunk-MAFCR5HR.js";
|
|
24
|
+
import "../safe-bash/command-chunks/chunk-G3OKGAWN.js";
|
|
24
25
|
import "../safe-bash/command-chunks/chunk-Z2LHB5YJ.js";
|
|
25
|
-
import "../safe-bash/command-chunks/chunk-
|
|
26
|
+
import "../safe-bash/command-chunks/chunk-WYBCSJFG.js";
|
|
26
27
|
import "../safe-bash/command-chunks/chunk-WR4AO2LL.js";
|
|
27
28
|
import "../safe-bash/command-chunks/chunk-RBUKK6QE.js";
|
|
28
29
|
import {
|
|
29
30
|
parsePlaywrightOperationOutcome
|
|
30
31
|
} from "../safe-bash/command-chunks/chunk-SA3VOWEB.js";
|
|
31
|
-
import "../safe-bash/command-chunks/chunk-
|
|
32
|
+
import "../safe-bash/command-chunks/chunk-2TZBVTD4.js";
|
|
32
33
|
import "../safe-bash/command-chunks/chunk-FWUHF4RW.js";
|
|
33
34
|
import {
|
|
34
35
|
parsePlaywrightContextOptions
|
|
35
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
36
|
+
} from "../safe-bash/command-chunks/chunk-M3OXQXCU.js";
|
|
36
37
|
import {
|
|
37
38
|
parsePlaywrightSessionConfiguration
|
|
38
39
|
} from "../safe-bash/command-chunks/chunk-DMOWQSKN.js";
|
|
@@ -41,7 +42,7 @@ import "../safe-bash/command-chunks/chunk-J5AYTMPX.js";
|
|
|
41
42
|
import {
|
|
42
43
|
validatePlaywrightSessionName
|
|
43
44
|
} from "../safe-bash/command-chunks/chunk-4RC7R5ND.js";
|
|
44
|
-
import "../safe-bash/command-chunks/chunk-
|
|
45
|
+
import "../safe-bash/command-chunks/chunk-WDF3IURH.js";
|
|
45
46
|
import "../safe-bash/command-chunks/chunk-D43FDVLM.js";
|
|
46
47
|
import "../safe-bash/command-chunks/chunk-VWGVKAUJ.js";
|
|
47
48
|
import "../safe-bash/command-chunks/chunk-SJL6IVMI.js";
|
|
@@ -51,7 +52,6 @@ import {
|
|
|
51
52
|
PlaywrightStorageReadError
|
|
52
53
|
} from "../safe-bash/command-chunks/chunk-YTYMDDBB.js";
|
|
53
54
|
import "../safe-bash/command-chunks/chunk-Q2GU7KCT.js";
|
|
54
|
-
import "../safe-bash/command-chunks/chunk-WDF3IURH.js";
|
|
55
55
|
import "../safe-bash/command-chunks/chunk-3VGQTLO6.js";
|
|
56
56
|
import "../safe-bash/command-chunks/chunk-TID5TSQW.js";
|
|
57
57
|
import "../safe-bash/command-chunks/chunk-C2DVDNCG.js";
|
|
@@ -76,6 +76,7 @@ import {
|
|
|
76
76
|
} from "../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
|
|
77
77
|
import "../safe-bash/command-chunks/chunk-DI2GPUM4.js";
|
|
78
78
|
import "../safe-bash/command-chunks/chunk-SSIG3FO3.js";
|
|
79
|
+
import "../safe-bash/command-chunks/chunk-QZNPYTJX.js";
|
|
79
80
|
import {
|
|
80
81
|
playwrightCommandCatalog
|
|
81
82
|
} from "../safe-bash/command-chunks/chunk-ZFNYL7XB.js";
|
|
@@ -102,7 +103,6 @@ import {
|
|
|
102
103
|
} from "../safe-bash/command-chunks/chunk-I6ICC6AG.js";
|
|
103
104
|
import "../safe-bash/command-chunks/chunk-F6RRYQS7.js";
|
|
104
105
|
import "../safe-bash/command-chunks/chunk-BLNP5WRP.js";
|
|
105
|
-
import "../safe-bash/command-chunks/chunk-QZNPYTJX.js";
|
|
106
106
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
107
107
|
|
|
108
108
|
// packages/safe-bash-command-playwright-cli/src/index.ts
|
|
@@ -17,6 +17,7 @@ import "../../safe-bash/command-chunks/chunk-MI4J3AIL.js";
|
|
|
17
17
|
import "../../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
|
|
18
18
|
import "../../safe-bash/command-chunks/chunk-DI2GPUM4.js";
|
|
19
19
|
import "../../safe-bash/command-chunks/chunk-SSIG3FO3.js";
|
|
20
|
+
import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
|
|
20
21
|
import "../../safe-bash/command-chunks/chunk-ZFNYL7XB.js";
|
|
21
22
|
import "../../safe-bash/command-chunks/chunk-CO2JNBOX.js";
|
|
22
23
|
import "../../safe-bash/command-chunks/chunk-C3RJ43XB.js";
|
|
@@ -25,7 +26,6 @@ import "../../safe-bash/command-chunks/chunk-BPVCKKYK.js";
|
|
|
25
26
|
import "../../safe-bash/command-chunks/chunk-YMZQFL3O.js";
|
|
26
27
|
import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
|
|
27
28
|
import "../../safe-bash/command-chunks/chunk-BLNP5WRP.js";
|
|
28
|
-
import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
|
|
29
29
|
import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
30
30
|
export {
|
|
31
31
|
registerPlaywrightAbilities
|
|
@@ -8,8 +8,8 @@ import "../../safe-bash/command-chunks/chunk-MI4J3AIL.js";
|
|
|
8
8
|
import "../../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
|
|
9
9
|
import "../../safe-bash/command-chunks/chunk-DI2GPUM4.js";
|
|
10
10
|
import "../../safe-bash/command-chunks/chunk-SSIG3FO3.js";
|
|
11
|
-
import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
|
|
12
11
|
import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
|
|
12
|
+
import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
|
|
13
13
|
import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
14
14
|
export {
|
|
15
15
|
flushPlaywrightConsole,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
import "../../safe-bash/command-chunks/chunk-Q7JQPHFP.js";
|
|
15
15
|
import "../../safe-bash/command-chunks/chunk-DI2GPUM4.js";
|
|
16
16
|
import "../../safe-bash/command-chunks/chunk-SSIG3FO3.js";
|
|
17
|
-
import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
|
|
18
17
|
import "../../safe-bash/command-chunks/chunk-QZNPYTJX.js";
|
|
18
|
+
import "../../safe-bash/command-chunks/chunk-I6ICC6AG.js";
|
|
19
19
|
import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
20
20
|
export {
|
|
21
21
|
capabilityAction,
|