@poe-platform/safe-bash 0.1.817 → 0.1.819
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 +2 -2
- package/dist/mp4-ast/index.d.ts +2 -1
- package/dist/mp4-ast/mp4-metadata-source.d.ts +10 -0
- package/dist/mp4-ast/mp4-packets-source.d.ts +8 -1
- package/dist/mp4-ast/types.d.ts +21 -3
- package/dist/office-xml/retained-xml-document.d.ts +2 -2
- package/dist/pdf-ast/ast.d.ts +2 -0
- package/dist/pdf-ast/content/evaluator.d.ts +7 -0
- package/dist/pdf-ast/content/retained-evaluator.d.ts +2 -2
- package/dist/pdf-ast/content/retained-page.d.ts +2 -2
- package/dist/pdf-ast/cos/compact-number.d.ts +19 -0
- package/dist/pdf-ast/cos/mutable-object-store.d.ts +2 -1
- package/dist/pdf-ast/cos/retained-node-writer.d.ts +9 -0
- package/dist/pdf-ast/cos/text-store.d.ts +27 -0
- package/dist/pdf-ast/edit/retained-bookmarks.d.ts +2 -2
- package/dist/pdf-ast/edit/retained-info-updates.d.ts +3 -3
- package/dist/pdf-ast/edit/retained-merge-outlines.d.ts +43 -0
- package/dist/pdf-ast/edit/retained-page-copy.d.ts +2 -0
- package/dist/pdf-ast/extract/html-text-stream.d.ts +14 -0
- package/dist/pdf-ast/extract/logical-text-stream.d.ts +14 -0
- package/dist/pdf-ast/extract/raw-text-index.d.ts +18 -4
- package/dist/pdf-ast/extract/retained-color.d.ts +6 -6
- package/dist/pdf-ast/extract/retained-decoded-image.d.ts +2 -2
- package/dist/pdf-ast/extract/stored-text-glyphs.d.ts +8 -0
- package/dist/pdf-ast/fonts/retained.d.ts +2 -2
- package/dist/pdf-ast/image.d.ts +2 -0
- package/dist/pdf-ast/image.js +19 -0
- package/dist/pdf-ast/index.d.ts +6 -0
- package/dist/pdf-ast/index.js +270 -66852
- package/dist/pdf-ast/render/postscript.d.ts +6 -0
- package/dist/pdf-ast/render/raster.d.ts +21 -1
- package/dist/pdf-ast/retained-document.d.ts +23 -95
- package/dist/pdf-ast/retained-reader.d.ts +113 -0
- package/dist/safe-bash/ast-grep.js +1 -1
- package/dist/safe-bash/audio-ast.js +1 -1
- package/dist/safe-bash/byte-encoding.js +1 -1
- package/dist/safe-bash/chunks/{chunk-HD6DWOAC.js → chunk-67QE3JLU.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-HPQE675Q.js → chunk-ESH5MDQR.js} +1 -1
- package/dist/safe-bash/chunks/chunk-HNT2MR4W.js +45 -0
- package/dist/safe-bash/chunks/{chunk-SXSEF5E2.js → chunk-IRJS54AA.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-AXGI5JVL.js → chunk-NAETSXBW.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-WW7QPLH2.js → chunk-PSD2RSOS.js} +2 -1
- package/dist/safe-bash/chunks/{chunk-FQRI5AS5.js → chunk-VF3Q2V3E.js} +1 -1
- package/dist/safe-bash/chunks/{pdfinfo-KQIQEDOF.js → pdfinfo-G7BGZXBN.js} +2 -12
- package/dist/safe-bash/command-chunks/biff-AYJZR2YV-YFF3BK43.js +5741 -0
- package/dist/safe-bash/command-chunks/{chunk-FEBTT5NH.js → chunk-22D6Q6SW.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ALD53QFL.js → chunk-2C4QMQQD.js} +42 -12
- package/dist/safe-bash/command-chunks/{chunk-ZHHALBM7.js → chunk-2E53ZL5D.js} +11 -9
- package/dist/safe-bash/command-chunks/{chunk-EJ4UP7DA.js → chunk-2ESK2YIE.js} +27 -5
- package/dist/safe-bash/command-chunks/{chunk-CKA7ZROU.js → chunk-2GU2UU2Z.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-L2VLASZ4.js → chunk-2GUI3ZKE.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-2H6RJPCQ.js +721 -0
- package/dist/safe-bash/command-chunks/{chunk-DRHONH2C.js → chunk-2IGH6JIP.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-QDV2NIFR.js → chunk-2TMTGVJR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-MQE77MEQ.js → chunk-2V6EUWE3.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-BIJW6QWB.js → chunk-2VSNIHIW.js} +21 -21
- package/dist/safe-bash/command-chunks/{chunk-FSG6UC2N.js → chunk-2XR7B6DY.js} +420 -167
- package/dist/safe-bash/command-chunks/{chunk-EY3UE26F.js → chunk-2YC6MWQB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NLCUQD7Y.js → chunk-3DID6MQY.js} +21 -11
- package/dist/safe-bash/command-chunks/{chunk-5VO534FR.js → chunk-3K5FCRUG.js} +1 -0
- package/dist/safe-bash/command-chunks/{chunk-BSTABZIK.js → chunk-3LMUKOP2.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XBWD6SI3.js → chunk-3MFYCMQU.js} +37 -37
- package/dist/safe-bash/command-chunks/chunk-3PO534WJ.js +37 -0
- package/dist/safe-bash/command-chunks/{chunk-UFLMOU3B.js → chunk-3RDEX4AF.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DOVWHVHI.js → chunk-3TXPZLFI.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-TID5TSQW.js → chunk-42OQIFPW.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-UJYXSLM6.js → chunk-45QE6QRR.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-LMLBQSAM.js → chunk-4HJEZGYN.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-5QXRIZSS.js → chunk-4Q3HP33O.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-EBX5RKKT.js → chunk-4XYGJB24.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-NDALIHKK.js → chunk-4ZQYBCB2.js} +22 -22
- package/dist/safe-bash/command-chunks/{chunk-OFONWWEZ.js → chunk-5IHJWBDR.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-TG2RVQLP.js → chunk-5KWEZV5H.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-UYZ6EFZE.js → chunk-5P5SF75H.js} +83 -34
- package/dist/safe-bash/command-chunks/{chunk-P462JTNT.js → chunk-5PJ6VT2O.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-SICTBSLW.js → chunk-5QR4LTAK.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-ARE267HR.js → chunk-5XIJYTQU.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-63WEASJ7.js +137 -0
- package/dist/safe-bash/command-chunks/{chunk-3K5CVXUV.js → chunk-64L57DEI.js} +19 -19
- package/dist/safe-bash/command-chunks/{chunk-2ALHVXEM.js → chunk-6EK76ERE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-4772DJKS.js → chunk-6GCK2KSL.js} +61 -26
- package/dist/safe-bash/command-chunks/{chunk-T5OQ53XS.js → chunk-6IID5HTY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ABL2DPJI.js → chunk-6PDXNY3T.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-X42MJT2J.js → chunk-6RE4MZYM.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-AF2IO57Q.js → chunk-6REH56FL.js} +14 -140
- package/dist/safe-bash/command-chunks/{chunk-XFIDOCYH.js → chunk-6ZHNKHQQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6JGICYHP.js → chunk-75OUKYCM.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-POGVOCOB.js → chunk-772WNCU6.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-3DWFXESW.js → chunk-7GJJDM2F.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-XVEI4HZL.js → chunk-7JTJQKIV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WIW3KDBS.js → chunk-7NFICYRU.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-3ZVK2OAY.js → chunk-A4GYNM2E.js} +6 -5
- package/dist/safe-bash/command-chunks/chunk-AC4FFCRL.js +3820 -0
- package/dist/safe-bash/command-chunks/{chunk-SQBWAFUI.js → chunk-ADN7BU5X.js} +58 -26
- package/dist/safe-bash/command-chunks/{chunk-FHQOFEQK.js → chunk-AEHEOKI2.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-BZRWZ6GO.js → chunk-AH3ZEPAN.js} +12 -9
- package/dist/safe-bash/command-chunks/{chunk-3MUFXGA2.js → chunk-AR65HNNX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-VNNNVT4C.js → chunk-ARA57PMC.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-3VGQTLO6.js → chunk-AXUHORS3.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-B6NAEWHC.js +53 -0
- package/dist/safe-bash/command-chunks/{chunk-2ZWRW6UQ.js → chunk-B74LVFAN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-E4TF5W6O.js → chunk-BBOYR6LV.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ZM7HMBAJ.js → chunk-BDGNKRY4.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-KDBU5Q2N.js → chunk-BFOVQUTF.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-GNT3SCF3.js → chunk-BOMCPF7N.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZNCPIZCN.js → chunk-BSLXS4PE.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-N6TG44VG.js → chunk-BTDSUATE.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-VZJRFHMZ.js → chunk-BXDNFBKZ.js} +26 -2
- package/dist/safe-bash/command-chunks/chunk-BZLLQWRK.js +296 -0
- package/dist/safe-bash/command-chunks/{chunk-YXR4JE4U.js → chunk-C3FERGHU.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-C5SLY3RB.js +279 -0
- package/dist/safe-bash/command-chunks/{chunk-5O45KGW5.js → chunk-C5VUJOUQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-T4SEQU66.js → chunk-CI6KHUFK.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-CJIFJ45R.js +203 -0
- package/dist/safe-bash/command-chunks/{chunk-OTEHQQU7.js → chunk-CKQ5SXOO.js} +8 -59
- package/dist/safe-bash/command-chunks/{chunk-LJ3UYESS.js → chunk-CP5EO5TT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TY7JXEWI.js → chunk-CPCXE2TM.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-VVWHFNHD.js → chunk-CXOAMPOV.js} +420 -28
- package/dist/safe-bash/command-chunks/{chunk-57PK2QFX.js → chunk-D3WMD32B.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-LECGQSQW.js → chunk-D54L2IOZ.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-FGARVKAX.js → chunk-DBYY7IDI.js} +24 -20
- package/dist/safe-bash/command-chunks/{chunk-LNAZ3E4Q.js → chunk-DGFMOT4O.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-N5J3IZZK.js → chunk-DQVOBGI2.js} +12414 -8140
- package/dist/safe-bash/command-chunks/{chunk-OHEZQ4QA.js → chunk-DTLIBRCQ.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-FGHSE3RZ.js → chunk-DZ4ELL34.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ICJH6A73.js → chunk-DZTT5SLG.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-77NXQZGK.js → chunk-DZY7V74W.js} +3 -1
- package/dist/safe-bash/command-chunks/chunk-E47FFS5M.js +52 -0
- package/dist/safe-bash/command-chunks/{chunk-LNKZVU5V.js → chunk-E76WK7OQ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-EWC56JNI.js → chunk-EBMKGNKF.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-5GDF5FAS.js → chunk-EEJ3YXVO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GMBUOYTN.js → chunk-EG7VVDV3.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-N32AP43V.js → chunk-EIZFAUUD.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-FR63MJSO.js → chunk-ESIEU4E4.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-QJZJWL2X.js → chunk-ET3CPTJT.js} +38 -25
- package/dist/safe-bash/command-chunks/{chunk-UT5X6QRU.js → chunk-ETS4BINB.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-SBXS4S6Y.js → chunk-EU5SR3LS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FTZFCMVI.js → chunk-FAVWWMFW.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-YKODRSGT.js → chunk-FCGMSOF6.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-S5ER73EA.js → chunk-FGK6HLSY.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WMV5224N.js → chunk-FILE5PBI.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-7ADQE64C.js → chunk-FMGNXOMV.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XPQUUFQD.js → chunk-FPOM47UA.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ZZERSKAR.js → chunk-FX54I4AC.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-CORUUCS2.js → chunk-GAYTDZPP.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-GCSKS22X.js +15 -0
- package/dist/safe-bash/command-chunks/{chunk-2QZUAZTH.js → chunk-GIQUIF6E.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UVZJAV2S.js → chunk-GNPPPYDF.js} +1 -78
- package/dist/safe-bash/command-chunks/{chunk-B6XTAKKQ.js → chunk-GNVAW6NL.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-GQV5RWMN.js +27 -0
- package/dist/safe-bash/command-chunks/{chunk-PWHIVWQT.js → chunk-GVDVRC7J.js} +15 -19
- package/dist/safe-bash/command-chunks/{chunk-N4HWOLGZ.js → chunk-GY2C555A.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-KXM3HTAF.js → chunk-GYKQ3IOV.js} +27 -14
- package/dist/safe-bash/command-chunks/{chunk-VMZIAFVJ.js → chunk-HBR5PWX4.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-YPG55QTP.js → chunk-HCJWEB6P.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ZOEKSH3R.js → chunk-HCPEYQKT.js} +5 -4
- package/dist/safe-bash/command-chunks/{chunk-U42WHQRH.js → chunk-HCZITM4C.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-4SISSPIH.js → chunk-HLRLMFMS.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-HNEWGADJ.js +43 -0
- package/dist/safe-bash/command-chunks/{chunk-DZOKH5BL.js → chunk-HQFX5XKV.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-QNX5LZBK.js → chunk-HSB55ED5.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-G3FK5VVG.js → chunk-HTBUIRTH.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-QCIAX6HZ.js → chunk-HUAQZFON.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-6M3JTPKE.js → chunk-HVLF3Y4B.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-AYQPJQJR.js → chunk-I6CQDCIP.js} +8 -8
- package/dist/safe-bash/command-chunks/chunk-I7MEH76L.js +276 -0
- package/dist/safe-bash/command-chunks/{chunk-E3BL7W5C.js → chunk-IAHYG67O.js} +152 -80
- package/dist/safe-bash/command-chunks/{chunk-TXWDR2P4.js → chunk-IBT3OWXB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-EAGIJ4VW.js → chunk-IC5XC4TO.js} +118 -118
- package/dist/safe-bash/command-chunks/{chunk-ERWIJYCS.js → chunk-IGZOQT2L.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-CKIXC7AO.js → chunk-IPKYPADE.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FJLSYX5P.js → chunk-ITJDLFPW.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MUTARE5I.js → chunk-IYEAS7TU.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WDVPHDBH.js → chunk-J3ISXTYB.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-J3VS55K4.js +69097 -0
- package/dist/safe-bash/command-chunks/chunk-J4I7KCQQ.js +495 -0
- package/dist/safe-bash/command-chunks/{chunk-IWVANZWH.js → chunk-JLPBGKVC.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HQEYSSZV.js → chunk-JLS6XKAR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IJE65P52.js → chunk-JMUB5A26.js} +27 -8
- package/dist/safe-bash/command-chunks/{chunk-HOJ7WDTS.js → chunk-JQPDVCBU.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-LQX7RAF7.js → chunk-JSW6YH6T.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DM5WURQL.js → chunk-JY2T3KV2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-IZ3SD5S2.js → chunk-K2NV6H7E.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-YJ5IA5YQ.js → chunk-K576GZED.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-VZTVR3JI.js → chunk-K6J3KFQ2.js} +17 -122
- package/dist/safe-bash/command-chunks/{chunk-RTHYAGKI.js → chunk-KD4JUF6R.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-FUYZUETI.js → chunk-KQE2D7PX.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-Q65GWGQR.js → chunk-KVTZJBLM.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-ONQP4FNV.js → chunk-KZICRCQ7.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-L365UGC7.js +250 -0
- package/dist/safe-bash/command-chunks/{chunk-UKAGRRLZ.js → chunk-LBBJ5S3W.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WHZ6XK7Y.js → chunk-LBILRPVR.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ENMJHB2C.js → chunk-LDR3PPM3.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-LJLB7TBN.js +775 -0
- package/dist/safe-bash/command-chunks/{chunk-A6OTPNNI.js → chunk-LPKMNCC5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-JA36YOZI.js → chunk-LUJUYUOG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-FB2WPI3M.js → chunk-LZHFVNEV.js} +17 -107
- package/dist/safe-bash/command-chunks/{chunk-4X2MPZXW.js → chunk-M42GCI5F.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-URQSUMMJ.js → chunk-M7MQTU77.js} +6 -6
- package/dist/safe-bash/command-chunks/chunk-MCUDSE4H.js +77 -0
- package/dist/safe-bash/command-chunks/{chunk-V6JPIZUW.js → chunk-MD5ZSARP.js} +9 -9
- package/dist/safe-bash/command-chunks/chunk-MEST2HID.js +112 -0
- package/dist/safe-bash/command-chunks/{chunk-26JE5JEB.js → chunk-MLMFFBOU.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-HOKPYTHQ.js → chunk-MPRUGL4W.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-E22EAYJN.js → chunk-MQCLG2CT.js} +177 -34
- package/dist/safe-bash/command-chunks/{chunk-G3LUT475.js → chunk-N5Y7WWO6.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-MZYQKH26.js → chunk-NA6YAGAH.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-PPN53PX3.js → chunk-NDJPULBE.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2IMIKROX.js → chunk-NN6OWOJG.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-SWIF6BBY.js → chunk-NNYOPI7K.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-GAROGIVU.js → chunk-NP2QXF2X.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SNA2LVBX.js → chunk-NPVOYY2A.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-T2FRXSQT.js → chunk-NR7POLKP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-A4P37F3P.js → chunk-NWA7ZJDV.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-45DKGZYO.js → chunk-O3FTKLWR.js} +423 -213
- package/dist/safe-bash/command-chunks/{chunk-6KJDTKE4.js → chunk-O4H7HPMP.js} +35 -393
- package/dist/safe-bash/command-chunks/{chunk-J6FNSVHT.js → chunk-OLNV5MI6.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-BBEAO5N7.js → chunk-OLXMWQJ5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-MDFNUNK5.js → chunk-OMD45J52.js} +25 -21
- package/dist/safe-bash/command-chunks/{chunk-AXI7VMLG.js → chunk-OOYVZAWL.js} +3 -41
- package/dist/safe-bash/command-chunks/{chunk-2TWXRJPB.js → chunk-OPKLIF5P.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-E3DF7RTE.js → chunk-OT75C5YS.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ROQ3VNVX.js → chunk-OVCSXD7N.js} +10 -10
- package/dist/safe-bash/command-chunks/chunk-P3LHQOX7.js +371 -0
- package/dist/safe-bash/command-chunks/{chunk-OFDJJRAD.js → chunk-P3TV5GIG.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-LQDANF2B.js → chunk-P5UFNPRE.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-5V7WIQ2D.js → chunk-PAEAEFK3.js} +122 -12
- package/dist/safe-bash/command-chunks/{chunk-OWCBX5M2.js → chunk-PAY4ULWY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-TXU7MMHN.js → chunk-PH722HK2.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-OU4VE5CR.js → chunk-PKH57OIC.js} +8 -6
- package/dist/safe-bash/command-chunks/{chunk-GTOMW4VV.js → chunk-PNOXBL2B.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-L4XSOULP.js → chunk-PPNPXNM6.js} +38 -2
- package/dist/safe-bash/command-chunks/{chunk-DXOXUKQB.js → chunk-PVKSBXHB.js} +11 -9
- package/dist/safe-bash/command-chunks/{chunk-EZDWPTYB.js → chunk-PYYAX5FB.js} +23 -23
- package/dist/safe-bash/command-chunks/{chunk-MOUCMZZP.js → chunk-PZVFNPRC.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UPWLHHZ2.js → chunk-QCCRQU44.js} +18 -18
- package/dist/safe-bash/command-chunks/{chunk-IVKAFEPO.js → chunk-QEVSG6HQ.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-6YF2QADH.js → chunk-QGSY4ZAU.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-LZY46GYY.js → chunk-QMWBKR4C.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-4YFTJS5U.js → chunk-QMXOKYMJ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CHZE6FNT.js → chunk-QPHI7Y7Z.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-N3ZH4YYH.js → chunk-QQ7ORF2D.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-4ABR3KGK.js → chunk-QWQHLMDX.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-QX3WKBLI.js +58 -0
- package/dist/safe-bash/command-chunks/{chunk-V6OWCRHN.js → chunk-QZPSGPN5.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-R36PDP3L.js +106 -0
- package/dist/safe-bash/command-chunks/{chunk-N35IJXBK.js → chunk-R43WEA4C.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-5YL453ZF.js → chunk-R6VXFTYL.js} +47 -47
- package/dist/safe-bash/command-chunks/{chunk-OVUY46QF.js → chunk-RC4TNFNF.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-PU5DMQGG.js → chunk-RESJSUHH.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-OCOJMKDP.js → chunk-RHXV2KG5.js} +522 -8
- package/dist/safe-bash/command-chunks/{chunk-7B2MHKIW.js → chunk-RKON2TGI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-OIHQXURE.js → chunk-ROE6KD4C.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ITXSHOLP.js → chunk-RQTFK7AV.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-BKK4MS3V.js → chunk-RR6XG2I6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-CFMJXJS5.js → chunk-RTUDDAAY.js} +9 -4
- package/dist/safe-bash/command-chunks/{chunk-FAU2KL6I.js → chunk-S5MBHFLB.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-R7LF4XQV.js → chunk-S6223MIG.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-6W4RMBFH.js → chunk-SKDJCMGI.js} +12 -10
- package/dist/safe-bash/command-chunks/{chunk-NCNHJRIY.js → chunk-SKF6PGA5.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-3PM46VWH.js → chunk-SLD5A7IL.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-KYIGYYEY.js → chunk-SMCRKN3O.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-H56BSMFQ.js → chunk-T2LZWXWF.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-KDDXLHN7.js → chunk-TMJG745A.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-QMBMZSJF.js → chunk-TP5MZHCB.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-ET6LMDEX.js → chunk-TPSRY72Q.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-ZAYTFXUX.js → chunk-TTPT3OME.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-GR4ONCQ5.js → chunk-U6VSRO6E.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-5VF2EA7Z.js → chunk-U7J3R7HX.js} +6 -1
- package/dist/safe-bash/command-chunks/{chunk-A5SPMSKD.js → chunk-UDRJKA3P.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-3B444A5G.js → chunk-UI5AS3FS.js} +10 -2
- package/dist/safe-bash/command-chunks/{chunk-RVWIEXR7.js → chunk-UMOQHHSV.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-WH624PKJ.js → chunk-UNI6QG45.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-BOVDUJ3A.js → chunk-UTSN7AKE.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-F5QYUK2E.js → chunk-UWIDPTOB.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-345YBIHP.js → chunk-V2J6AC6S.js} +19 -19
- package/dist/safe-bash/command-chunks/{chunk-ZZ27QNBY.js → chunk-V2PJO6JL.js} +29 -60
- package/dist/safe-bash/command-chunks/{chunk-QNETPOMH.js → chunk-VAMBWXDV.js} +72 -21
- package/dist/safe-bash/command-chunks/{chunk-KM2SMMXZ.js → chunk-VJQ5OWS5.js} +80 -2
- package/dist/safe-bash/command-chunks/{chunk-OCV5ZU35.js → chunk-VSTAHYCV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-MI2WY75O.js → chunk-VWBNUCUP.js} +28 -11
- package/dist/safe-bash/command-chunks/{chunk-SL4LD25A.js → chunk-W4BC2YGQ.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-Y3ZRIZL7.js → chunk-W5LH7D23.js} +26 -13
- package/dist/safe-bash/command-chunks/{chunk-62RG3GHF.js → chunk-W6L4Z2VX.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-RRAQII52.js → chunk-WEXEZRMH.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-WIUEM7HP.js +58 -0
- package/dist/safe-bash/command-chunks/{chunk-AQ3XOOPQ.js → chunk-WKS2PAZL.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-WOECEZAC.js +921 -0
- package/dist/safe-bash/command-chunks/{chunk-A2L3U7DW.js → chunk-WOO3YO2X.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-7YDJ7LDO.js → chunk-WOT2YXBT.js} +8 -223
- package/dist/safe-bash/command-chunks/{chunk-LT2YCGC5.js → chunk-WV3C6BRD.js} +14 -14
- package/dist/safe-bash/command-chunks/{chunk-PRO7JOIH.js → chunk-X3EDCCXU.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-WMBELKPP.js → chunk-XE75H5ZZ.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-SHLT5R64.js → chunk-XMNPE6RN.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-ISFGPCED.js → chunk-XNVL6AOV.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-OBIXFO25.js → chunk-XPUYA7YU.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-5KZMR6AJ.js → chunk-XXUMECE4.js} +22 -20
- package/dist/safe-bash/command-chunks/{chunk-OAM2SUUI.js → chunk-YB5TNDY6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KLAC2MIZ.js → chunk-YJMS5Q4Y.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-FLSXHLJG.js → chunk-YJTP4ROI.js} +15 -15
- package/dist/safe-bash/command-chunks/{chunk-7ITPO2V6.js → chunk-YNFQ5AXM.js} +80 -45
- package/dist/safe-bash/command-chunks/{chunk-7PYDVQPB.js → chunk-YWP62BAZ.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-YXIJOYT6.js +416 -0
- package/dist/safe-bash/command-chunks/{chunk-NQL3WNFI.js → chunk-YYRVGXJH.js} +44 -5
- package/dist/safe-bash/command-chunks/{chunk-35DU6I2M.js → chunk-Z7UPCDTU.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-O2XP6HQN.js → chunk-ZBGP6XEG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-VWRHPDCD.js → chunk-ZIDESNHW.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-VVV45NLY.js → chunk-ZJUU5IAS.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3ZWFE4CK.js → chunk-ZLMCWAAU.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-7OCTMVYJ.js → chunk-ZNABMTV3.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-QOKFSYD5.js → chunk-ZODGWV3Y.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-DIRK47GT.js → chunk-ZPBL7TYJ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-5MNQTHED.js → chunk-ZQ4NQ24M.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-4IDV763L.js → chunk-ZS4J5B6Y.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-ZTW2E5OT.js +1016 -0
- package/dist/safe-bash/command-chunks/{chunk-NKK76B4V.js → chunk-ZUOID3FA.js} +14 -14
- package/dist/safe-bash/command-chunks/chunk-ZWGERYLT.js +192 -0
- package/dist/safe-bash/command-chunks/{chunk-F2NF6FHV.js → chunk-ZXIOTUXC.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-LFSWLJPR.js → chunk-ZZ6EIACJ.js} +250 -41
- package/dist/safe-bash/command-chunks/{chunk-XMRQ6UP2.js → chunk-ZZO3GYEZ.js} +1 -11
- package/dist/safe-bash/command-chunks/{command-engine-2QXVRRH3.js → command-engine-B6X6WAMX.js} +381 -114
- package/dist/safe-bash/command-chunks/{engine-T4GP6QOK-ECFKMR5V.js → engine-UPLVIV72-IGXUDNO5.js} +1 -1
- package/dist/safe-bash/command-chunks/model-store-RGLCVIML.js +54 -0
- package/dist/safe-bash/command-chunks/paradox-BHPRIGXX-RQN37FHB.js +370 -0
- package/dist/safe-bash/command-chunks/prompt-tool-debug-ERJKK3XZ.js +171 -0
- package/dist/safe-bash/commands/alias/index.js +1 -1
- package/dist/safe-bash/commands/apply-patch/index.js +1 -1
- package/dist/safe-bash/commands/archive/create.js +1 -1
- package/dist/safe-bash/commands/archive/extract.js +1 -1
- package/dist/safe-bash/commands/archive/format.js +1 -1
- package/dist/safe-bash/commands/archive/index.js +1 -1
- package/dist/safe-bash/commands/archive/internal.js +1 -1
- package/dist/safe-bash/commands/archive/listing.js +1 -1
- package/dist/safe-bash/commands/archive/modes.js +1 -1
- package/dist/safe-bash/commands/archive/options.js +1 -1
- package/dist/safe-bash/commands/archive/stream.js +1 -1
- package/dist/safe-bash/commands/archive/transform.js +1 -1
- package/dist/safe-bash/commands/archive/unzip/safety.js +1 -1
- package/dist/safe-bash/commands/archive/unzip.js +1 -1
- package/dist/safe-bash/commands/archive/zip/aes.js +1 -1
- package/dist/safe-bash/commands/archive/zip/comments.js +1 -1
- package/dist/safe-bash/commands/archive/zip/crc.js +1 -1
- package/dist/safe-bash/commands/archive/zip/crypto.js +1 -1
- package/dist/safe-bash/commands/archive/zip/dates.js +1 -1
- package/dist/safe-bash/commands/archive/zip/environment.js +1 -1
- package/dist/safe-bash/commands/archive/zip/grow.js +1 -1
- package/dist/safe-bash/commands/archive/zip/help.js +1 -1
- package/dist/safe-bash/commands/archive/zip/line-endings.js +1 -1
- package/dist/safe-bash/commands/archive/zip/log.js +1 -1
- package/dist/safe-bash/commands/archive/zip/lzma.js +1 -1
- package/dist/safe-bash/commands/archive/zip/move.js +1 -1
- package/dist/safe-bash/commands/archive/zip/names.js +1 -1
- package/dist/safe-bash/commands/archive/zip/options.js +1 -1
- package/dist/safe-bash/commands/archive/zip/repair.js +1 -1
- package/dist/safe-bash/commands/archive/zip/safety.js +1 -1
- package/dist/safe-bash/commands/archive/zip/sfx.js +1 -1
- package/dist/safe-bash/commands/archive/zip/test-command.js +1 -1
- package/dist/safe-bash/commands/archive/zip/volumes.js +1 -1
- package/dist/safe-bash/commands/archive/zip/zip64.js +1 -1
- package/dist/safe-bash/commands/archive/zip-format.js +1 -1
- package/dist/safe-bash/commands/archive/zip.js +1 -1
- package/dist/safe-bash/commands/ast-grep/index.js +1 -1
- package/dist/safe-bash/commands/audio/index.browser.js +2 -8
- package/dist/safe-bash/commands/audio/index.js +1 -1
- package/dist/safe-bash/commands/awk/index.js +1 -1
- package/dist/safe-bash/commands/base32/index.js +1 -1
- package/dist/safe-bash/commands/base64/index.js +1 -1
- package/dist/safe-bash/commands/bc/index.browser.js +1 -1
- package/dist/safe-bash/commands/bc/index.js +1 -1
- package/dist/safe-bash/commands/bytes/checksums/sm3.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/bounded-codec.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/codec-loader.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/codec.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/errors.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/file-operation.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/files.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/gunzip.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/stream.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/xz-list.js +1 -1
- package/dist/safe-bash/commands/bytes/compression/zstd-decode.js +1 -1
- package/dist/safe-bash/commands/bytes/encoding/base.js +1 -1
- package/dist/safe-bash/commands/bytes/encoding/shared.js +1 -1
- package/dist/safe-bash/commands/bytes/input-budget.js +1 -1
- package/dist/safe-bash/commands/bzip2/index.js +1 -1
- package/dist/safe-bash/commands/cal/index.js +1 -1
- package/dist/safe-bash/commands/caller/index.js +1 -1
- package/dist/safe-bash/commands/canonicalize-existing-parent.js +1 -1
- package/dist/safe-bash/commands/chmod/index.js +1 -1
- package/dist/safe-bash/commands/column/index.js +1 -1
- package/dist/safe-bash/commands/comm/index.js +1 -1
- package/dist/safe-bash/commands/copy-backup.js +1 -1
- package/dist/safe-bash/commands/copy-preserve.js +1 -1
- package/dist/safe-bash/commands/copy-source.js +1 -1
- package/dist/safe-bash/commands/cp/index.js +1 -1
- package/dist/safe-bash/commands/csplit/index.js +1 -1
- package/dist/safe-bash/commands/csvcut/index.js +1 -1
- package/dist/safe-bash/commands/csvgrep/index.js +1 -1
- package/dist/safe-bash/commands/csvkit/index.js +1 -1
- package/dist/safe-bash/commands/curl/index.js +1 -1
- package/dist/safe-bash/commands/date/index.js +1 -1
- package/dist/safe-bash/commands/df/index.js +1 -1
- package/dist/safe-bash/commands/diff/index.js +1 -1
- package/dist/safe-bash/commands/diff-patch/diff-format.js +1 -1
- package/dist/safe-bash/commands/diff-patch/diff-options.js +1 -1
- package/dist/safe-bash/commands/diff-patch/diff-output.js +1 -1
- package/dist/safe-bash/commands/diff-patch/diff.js +1 -1
- package/dist/safe-bash/commands/diff-patch/index.js +2 -2
- package/dist/safe-bash/commands/diff-patch/patch-envelope.js +1 -1
- package/dist/safe-bash/commands/diff-patch/patch-formats.js +1 -1
- package/dist/safe-bash/commands/diff-patch/patch-gnu-paths.js +1 -1
- package/dist/safe-bash/commands/diff-patch/patch-gnu-reject.js +1 -1
- package/dist/safe-bash/commands/diff-patch/patch-path.js +1 -1
- package/dist/safe-bash/commands/diff-patch/patch-publication.js +1 -1
- package/dist/safe-bash/commands/diff-patch/patch.js +1 -1
- package/dist/safe-bash/commands/diff-patch/shared.js +1 -1
- package/dist/safe-bash/commands/diff-patch/unified.js +1 -1
- package/dist/safe-bash/commands/diff3/index.js +1 -1
- package/dist/safe-bash/commands/diffpdf/index.js +1 -1
- package/dist/safe-bash/commands/directory-admission.js +1 -1
- package/dist/safe-bash/commands/docx/index.js +1 -1
- package/dist/safe-bash/commands/docx/io.js +1 -1
- package/dist/safe-bash/commands/dos2unix/index.js +1 -1
- package/dist/safe-bash/commands/dot/index.js +1 -1
- package/dist/safe-bash/commands/du/index.js +1 -1
- package/dist/safe-bash/commands/egrep/index.js +1 -1
- package/dist/safe-bash/commands/env/index.js +1 -1
- package/dist/safe-bash/commands/env-split.js +1 -1
- package/dist/safe-bash/commands/exiftool/index.js +1 -1
- package/dist/safe-bash/commands/expand/index.js +1 -1
- package/dist/safe-bash/commands/expr/index.js +1 -1
- package/dist/safe-bash/commands/factor/index.js +1 -1
- package/dist/safe-bash/commands/fd/index.js +1 -1
- package/dist/safe-bash/commands/ffmpeg/index.js +1 -1
- package/dist/safe-bash/commands/ffprobe/index.js +1 -1
- package/dist/safe-bash/commands/fgrep/index.js +1 -1
- package/dist/safe-bash/commands/file/index.js +1 -1
- package/dist/safe-bash/commands/filesystem-requirements.js +1 -1
- package/dist/safe-bash/commands/find/index.js +1 -1
- package/dist/safe-bash/commands/find-format.js +1 -1
- package/dist/safe-bash/commands/find.js +1 -1
- package/dist/safe-bash/commands/fmt/index.js +1 -1
- package/dist/safe-bash/commands/fold/index.js +1 -1
- package/dist/safe-bash/commands/getconf/index.js +1 -1
- package/dist/safe-bash/commands/getopt/index.js +1 -1
- package/dist/safe-bash/commands/gnu-information.js +1 -1
- package/dist/safe-bash/commands/gpg/index.js +1 -1
- package/dist/safe-bash/commands/graphviz/index.js +3 -3
- package/dist/safe-bash/commands/grep/index.js +1 -1
- package/dist/safe-bash/commands/grep-aliases/aliases.js +1 -1
- package/dist/safe-bash/commands/grep.js +1 -1
- package/dist/safe-bash/commands/gzip/index.js +1 -1
- package/dist/safe-bash/commands/hexdump/index.js +1 -1
- package/dist/safe-bash/commands/hostname/index.js +1 -1
- package/dist/safe-bash/commands/html-to-markdown/index.js +1 -1
- package/dist/safe-bash/commands/htmlq/index.js +1 -1
- package/dist/safe-bash/commands/iconv/index.js +1 -1
- package/dist/safe-bash/commands/id/index.js +1 -1
- package/dist/safe-bash/commands/imagemagick/index.js +1 -1
- package/dist/safe-bash/commands/internal.js +1 -1
- package/dist/safe-bash/commands/join/index.js +1 -1
- package/dist/safe-bash/commands/jq/index.js +1 -1
- package/dist/safe-bash/commands/less/index.js +1 -1
- package/dist/safe-bash/commands/line-endings/index.js +1 -1
- package/dist/safe-bash/commands/llm/collections.js +1 -1
- package/dist/safe-bash/commands/llm/command.js +1 -1
- package/dist/safe-bash/commands/llm/elevenlabs-stream.js +1 -1
- package/dist/safe-bash/commands/llm/elevenlabs.js +1 -1
- package/dist/safe-bash/commands/llm/index.browser.js +21 -1
- package/dist/safe-bash/commands/llm/index.js +1 -1
- package/dist/safe-bash/commands/llm/mime.js +1 -1
- package/dist/safe-bash/commands/llm/openai-http.js +1 -1
- package/dist/safe-bash/commands/llm/openai-sse.js +1 -1
- package/dist/safe-bash/commands/llm/openai.js +1 -1
- package/dist/safe-bash/commands/llm/providers/elevenlabs.js +1 -1
- package/dist/safe-bash/commands/llm/providers/index.js +1 -1
- package/dist/safe-bash/commands/llm/providers/openai.js +1 -1
- package/dist/safe-bash/commands/llm/providers/shared.js +1 -1
- package/dist/safe-bash/commands/llm/service.js +1 -1
- package/dist/safe-bash/commands/locale/index.js +1 -1
- package/dist/safe-bash/commands/md5sum/index.js +1 -1
- package/dist/safe-bash/commands/mdq/index.js +1 -1
- package/dist/safe-bash/commands/media/index.js +1 -1
- package/dist/safe-bash/commands/media/plugin.js +1 -1
- package/dist/safe-bash/commands/media/remote.js +1 -1
- package/dist/safe-bash/commands/media/settings.js +1 -1
- package/dist/safe-bash/commands/metadata/chmod.js +1 -1
- package/dist/safe-bash/commands/metadata/internal.js +1 -1
- package/dist/safe-bash/commands/metadata/mktemp.js +1 -1
- package/dist/safe-bash/commands/metadata/stat.js +1 -1
- package/dist/safe-bash/commands/mktemp/index.js +1 -1
- package/dist/safe-bash/commands/mmdc/index.js +1 -1
- package/dist/safe-bash/commands/more/index.js +1 -1
- package/dist/safe-bash/commands/neato/index.js +1 -1
- package/dist/safe-bash/commands/network/aggregate.js +1 -1
- package/dist/safe-bash/commands/network/args.js +1 -1
- package/dist/safe-bash/commands/network/authorizer.js +1 -1
- package/dist/safe-bash/commands/network/body.js +1 -1
- package/dist/safe-bash/commands/network/curl.js +1 -1
- package/dist/safe-bash/commands/network/deadline.js +1 -1
- package/dist/safe-bash/commands/network/decode.js +1 -1
- package/dist/safe-bash/commands/network/fetch-transport.js +1 -1
- package/dist/safe-bash/commands/network/form-content-type.js +1 -1
- package/dist/safe-bash/commands/network/form-headers.js +1 -1
- package/dist/safe-bash/commands/network/glob.js +1 -1
- package/dist/safe-bash/commands/network/input.js +1 -1
- package/dist/safe-bash/commands/network/output.js +1 -1
- package/dist/safe-bash/commands/network/platform-portable.js +1 -1
- package/dist/safe-bash/commands/network/platform.js +1 -1
- package/dist/safe-bash/commands/network/private-address.js +1 -1
- package/dist/safe-bash/commands/network/shared.js +1 -1
- package/dist/safe-bash/commands/network/types.js +1 -1
- package/dist/safe-bash/commands/network/url.js +1 -1
- package/dist/safe-bash/commands/network/wget.js +1 -1
- package/dist/safe-bash/commands/nl/index.js +1 -1
- package/dist/safe-bash/commands/node/browser.js +1 -1
- package/dist/safe-bash/commands/node/buffer.js +1 -1
- package/dist/safe-bash/commands/node/default-runtime.js +1 -1
- package/dist/safe-bash/commands/node/filesystem.js +1 -1
- package/dist/safe-bash/commands/node/path.js +1 -1
- package/dist/safe-bash/commands/node/safejs.js +1 -1
- package/dist/safe-bash/commands/node/source-maps.js +1 -1
- package/dist/safe-bash/commands/node/timers.js +1 -1
- package/dist/safe-bash/commands/node/types.js +1 -1
- package/dist/safe-bash/commands/node/worker-types.js +1 -1
- package/dist/safe-bash/commands/nproc/index.js +1 -1
- package/dist/safe-bash/commands/numfmt/index.js +1 -1
- package/dist/safe-bash/commands/od/index.js +1 -1
- package/dist/safe-bash/commands/op/index.js +23 -1
- package/dist/safe-bash/commands/openssl/index.js +1 -1
- package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
- package/dist/safe-bash/commands/pandoc/index.js +1 -1
- package/dist/safe-bash/commands/paste/index.js +1 -1
- package/dist/safe-bash/commands/patch/index.js +1 -1
- package/dist/safe-bash/commands/pathchk/index.js +1 -1
- package/dist/safe-bash/commands/pdfimages/index.js +1 -1
- package/dist/safe-bash/commands/pdfinfo/index.js +1 -1
- package/dist/safe-bash/commands/pdfseparate/index.js +1 -1
- package/dist/safe-bash/commands/pdftk/index.js +1 -1
- package/dist/safe-bash/commands/pdftoppm/index.js +1 -1
- package/dist/safe-bash/commands/pdftotext/index.js +1 -1
- package/dist/safe-bash/commands/pdfunite/index.js +1 -1
- package/dist/safe-bash/commands/playwright/index.js +1 -1
- package/dist/safe-bash/commands/portable-random.js +1 -1
- package/dist/safe-bash/commands/portable-requirements.js +1 -1
- package/dist/safe-bash/commands/pptx/index.js +1 -1
- package/dist/safe-bash/commands/pr/index.js +1 -1
- package/dist/safe-bash/commands/printenv/index.js +1 -1
- package/dist/safe-bash/commands/python/executor-pool.js +1 -1
- package/dist/safe-bash/commands/python/executor.browser.js +2 -1
- package/dist/safe-bash/commands/python/executor.js +1 -1
- package/dist/safe-bash/commands/python/host-capabilities.js +1 -1
- package/dist/safe-bash/commands/python/index.browser.js +3 -1
- package/dist/safe-bash/commands/python/index.js +1 -1
- package/dist/safe-bash/commands/python/jspi-assets.js +1 -1
- package/dist/safe-bash/commands/python/jspi-trampoline.js +1 -1
- package/dist/safe-bash/commands/python/jspi.js +1 -1
- package/dist/safe-bash/commands/python/llm-capability.js +1 -1
- package/dist/safe-bash/commands/python/llm-dependencies.js +1 -1
- package/dist/safe-bash/commands/python/llm-module.js +1 -1
- package/dist/safe-bash/commands/python/llm-provider.js +1 -1
- package/dist/safe-bash/commands/python/llm-reference-module.js +1 -1
- package/dist/safe-bash/commands/python/provisioning.js +1 -1
- package/dist/safe-bash/commands/python/shell-capability.js +1 -1
- package/dist/safe-bash/commands/python/shell-module.js +1 -1
- package/dist/safe-bash/commands/python/worker.js +1 -1
- package/dist/safe-bash/commands/qpdf/index.js +1 -1
- package/dist/safe-bash/commands/qrencode/index.js +1 -1
- package/dist/safe-bash/commands/readlink/index.js +1 -1
- package/dist/safe-bash/commands/readlink-missing.js +1 -1
- package/dist/safe-bash/commands/realpath/index.js +1 -1
- package/dist/safe-bash/commands/record-buffer.js +1 -1
- package/dist/safe-bash/commands/regex-execution/ascii.js +1 -1
- package/dist/safe-bash/commands/regex-execution/bounded-glob.js +1 -1
- package/dist/safe-bash/commands/regex-execution/bounded-provider.js +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/errors.js +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/limits.js +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/matcher.js +1 -1
- package/dist/safe-bash/commands/regex-execution/ere/syntax.js +1 -1
- package/dist/safe-bash/commands/regex-execution/portable.js +1 -1
- package/dist/safe-bash/commands/regex-execution/protocol.js +1 -1
- package/dist/safe-bash/commands/regex-execution/utf8.js +1 -1
- package/dist/safe-bash/commands/rev/index.js +1 -1
- package/dist/safe-bash/commands/rg/index.js +1 -1
- package/dist/safe-bash/commands/rgrep/index.js +1 -1
- package/dist/safe-bash/commands/rsvg-convert/index.js +1 -1
- package/dist/safe-bash/commands/safejs/io.js +1 -1
- package/dist/safe-bash/commands/safejs/options.js +1 -1
- package/dist/safe-bash/commands/safejs/render.js +1 -1
- package/dist/safe-bash/commands/safejs/runtime.js +1 -1
- package/dist/safe-bash/commands/safejs/types.js +1 -1
- package/dist/safe-bash/commands/search/ergonomic-regex.js +1 -1
- package/dist/safe-bash/commands/search/file-types.js +1 -1
- package/dist/safe-bash/commands/search/glob.js +1 -1
- package/dist/safe-bash/commands/search/grep-files.js +1 -1
- package/dist/safe-bash/commands/search/grep.js +1 -1
- package/dist/safe-bash/commands/search/matcher.js +1 -1
- package/dist/safe-bash/commands/search/options.js +1 -1
- package/dist/safe-bash/commands/search/output.js +1 -1
- package/dist/safe-bash/commands/search/requirements.js +1 -1
- package/dist/safe-bash/commands/search/rg-command.js +1 -1
- package/dist/safe-bash/commands/search/shared.js +1 -1
- package/dist/safe-bash/commands/search/walk.js +1 -1
- package/dist/safe-bash/commands/sed/index.js +1 -1
- package/dist/safe-bash/commands/seq/index.js +1 -1
- package/dist/safe-bash/commands/sha1sum/index.js +1 -1
- package/dist/safe-bash/commands/sha256sum/index.js +1 -1
- package/dist/safe-bash/commands/sha512sum/index.js +1 -1
- package/dist/safe-bash/commands/sips/index.js +1 -1
- package/dist/safe-bash/commands/sleep/index.js +1 -1
- package/dist/safe-bash/commands/soffice/index.js +1 -1
- package/dist/safe-bash/commands/sort/index.js +1 -1
- package/dist/safe-bash/commands/sort-admission.js +1 -1
- package/dist/safe-bash/commands/sox/index.js +1 -1
- package/dist/safe-bash/commands/soxi/index.js +1 -1
- package/dist/safe-bash/commands/split/index.js +1 -1
- package/dist/safe-bash/commands/sponge/index.js +1 -1
- package/dist/safe-bash/commands/sqlite3/index.js +1 -1
- package/dist/safe-bash/commands/ssh/index.js +1 -1
- package/dist/safe-bash/commands/stat/index.js +1 -1
- package/dist/safe-bash/commands/stream-format/shared.js +1 -1
- package/dist/safe-bash/commands/stream-inspection/numeric-options.js +1 -1
- package/dist/safe-bash/commands/stream-inspection/shared.js +1 -1
- package/dist/safe-bash/commands/stream-inspection/strings-object.js +1 -1
- package/dist/safe-bash/commands/strings/index.js +1 -1
- package/dist/safe-bash/commands/structured/bytes.js +1 -1
- package/dist/safe-bash/commands/structured/capture.js +1 -1
- package/dist/safe-bash/commands/structured/dates.js +1 -1
- package/dist/safe-bash/commands/structured/delpaths.js +1 -1
- package/dist/safe-bash/commands/structured/formats.js +1 -1
- package/dist/safe-bash/commands/structured/indices.js +1 -1
- package/dist/safe-bash/commands/structured/input.js +1 -1
- package/dist/safe-bash/commands/structured/interpreter.js +1 -1
- package/dist/safe-bash/commands/structured/jq.js +1 -1
- package/dist/safe-bash/commands/structured/limits.js +1 -1
- package/dist/safe-bash/commands/structured/numbers.js +1 -1
- package/dist/safe-bash/commands/structured/parser.js +1 -1
- package/dist/safe-bash/commands/structured/query-core.js +1 -1
- package/dist/safe-bash/commands/structured/recurse.js +1 -1
- package/dist/safe-bash/commands/structured/regex.js +1 -1
- package/dist/safe-bash/commands/structured/split.js +1 -1
- package/dist/safe-bash/commands/structured/splits.js +1 -1
- package/dist/safe-bash/commands/structured/values.js +1 -1
- package/dist/safe-bash/commands/svgo/index.js +1 -1
- package/dist/safe-bash/commands/table-text/internal.js +1 -1
- package/dist/safe-bash/commands/tac/index.js +1 -1
- package/dist/safe-bash/commands/tar/index.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-inspection.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-pipes.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-pretty.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-quote.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-reader.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-retention.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-runtime.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-syntax.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk-values.js +1 -1
- package/dist/safe-bash/commands/text-programs/awk.js +1 -1
- package/dist/safe-bash/commands/text-programs/inplace.js +1 -1
- package/dist/safe-bash/commands/text-programs/regex.js +1 -1
- package/dist/safe-bash/commands/text-programs/replacement-buffer.js +1 -1
- package/dist/safe-bash/commands/text-programs/sed.js +1 -1
- package/dist/safe-bash/commands/text-programs/shared.js +1 -1
- package/dist/safe-bash/commands/time-env/calendar.js +1 -1
- package/dist/safe-bash/commands/time-env/format.js +1 -1
- package/dist/safe-bash/commands/time-env/shared.js +1 -1
- package/dist/safe-bash/commands/timeout/index.js +1 -1
- package/dist/safe-bash/commands/touch/index.js +1 -1
- package/dist/safe-bash/commands/touch-target.js +1 -1
- package/dist/safe-bash/commands/touch-times.js +1 -1
- package/dist/safe-bash/commands/tree/index.js +1 -1
- package/dist/safe-bash/commands/tsort/index.js +1 -1
- package/dist/safe-bash/commands/unalias/index.js +1 -1
- package/dist/safe-bash/commands/uname/index.js +1 -1
- package/dist/safe-bash/commands/unexpand/index.js +1 -1
- package/dist/safe-bash/commands/unix2dos/index.js +1 -1
- package/dist/safe-bash/commands/unrtf/index.js +1 -1
- package/dist/safe-bash/commands/unzip/index.js +1 -1
- package/dist/safe-bash/commands/wdiff/index.js +1 -1
- package/dist/safe-bash/commands/wget/index.js +1 -1
- package/dist/safe-bash/commands/which/index.js +1 -1
- package/dist/safe-bash/commands/whoami/index.js +1 -1
- package/dist/safe-bash/commands/wkhtmltopdf/index.js +1 -1
- package/dist/safe-bash/commands/xan/index.js +1 -1
- package/dist/safe-bash/commands/xml/index.js +1 -1
- package/dist/safe-bash/commands/xmllint/index.js +1 -1
- package/dist/safe-bash/commands/xq/index.js +1 -1
- package/dist/safe-bash/commands/xxd/index.js +1 -1
- package/dist/safe-bash/commands/xz/index.js +1 -1
- package/dist/safe-bash/commands/yq/index.js +1 -1
- package/dist/safe-bash/commands/zip/index.js +1 -1
- package/dist/safe-bash/commands/zstd/index.js +1 -1
- package/dist/safe-bash/core.browser.js +2 -2
- package/dist/safe-bash/full-core.browser.js +29 -7
- package/dist/safe-bash/integrations/safejs/filesystem.js +1 -1
- package/dist/safe-bash/integrations/safejs/shell.js +1 -1
- package/dist/safe-bash/integrations/safejs/values.js +1 -1
- package/dist/safe-bash/playwright/abilities.js +1 -1
- package/dist/safe-bash/playwright/ability-execution.js +1 -1
- package/dist/safe-bash/playwright/adapter.js +1 -1
- package/dist/safe-bash/playwright/builtins.js +1 -1
- package/dist/safe-bash/playwright/canonical-locator-parser.js +1 -1
- package/dist/safe-bash/playwright/capability-events.js +1 -1
- package/dist/safe-bash/playwright/capability-result.js +1 -1
- package/dist/safe-bash/playwright/catalog.js +1 -1
- package/dist/safe-bash/playwright/checkpoint.js +1 -1
- package/dist/safe-bash/playwright/command-budget.js +1 -1
- package/dist/safe-bash/playwright/command-reference.js +1 -1
- package/dist/safe-bash/playwright/config-ini.js +1 -1
- package/dist/safe-bash/playwright/config-json.js +1 -1
- package/dist/safe-bash/playwright/controller.js +1 -1
- package/dist/safe-bash/playwright/devices.js +1 -1
- package/dist/safe-bash/playwright/download-capabilities.js +1 -1
- package/dist/safe-bash/playwright/drop-capability.js +1 -1
- package/dist/safe-bash/playwright/find.js +1 -1
- package/dist/safe-bash/playwright/frame-snapshot.js +1 -1
- package/dist/safe-bash/playwright/generated-locator.js +1 -1
- package/dist/safe-bash/playwright/help-reference.js +1 -1
- package/dist/safe-bash/playwright/help.js +1 -1
- package/dist/safe-bash/playwright/highlight.js +1 -1
- package/dist/safe-bash/playwright/index.js +1 -1
- package/dist/safe-bash/playwright/invocation.js +1 -1
- package/dist/safe-bash/playwright/locator-selector.js +1 -1
- package/dist/safe-bash/playwright/modal-capabilities.js +1 -1
- package/dist/safe-bash/playwright/native-evaluation.js +1 -1
- package/dist/safe-bash/playwright/native-json-snapshot.js +1 -1
- package/dist/safe-bash/playwright/native-snapshot.js +1 -1
- package/dist/safe-bash/playwright/native-storage-realm.js +1 -1
- package/dist/safe-bash/playwright/native-storage-replacement.js +1 -1
- package/dist/safe-bash/playwright/native-storage-sources.generated.js +1 -1
- package/dist/safe-bash/playwright/native-storage-targets.js +1 -1
- package/dist/safe-bash/playwright/network-policy.js +1 -1
- package/dist/safe-bash/playwright/open-options.js +1 -1
- package/dist/safe-bash/playwright/private-target-transport.js +1 -1
- package/dist/safe-bash/playwright/profile.js +1 -1
- package/dist/safe-bash/playwright/recording-capabilities.js +1 -1
- package/dist/safe-bash/playwright/recovery.js +1 -1
- package/dist/safe-bash/playwright/resource-limit.js +1 -1
- package/dist/safe-bash/playwright/response.js +1 -1
- package/dist/safe-bash/playwright/route-capabilities.js +1 -1
- package/dist/safe-bash/playwright/route-policy.js +1 -1
- package/dist/safe-bash/playwright/screenshot.js +1 -1
- package/dist/safe-bash/playwright/session-configuration.js +1 -1
- package/dist/safe-bash/playwright/session-runtime.js +1 -1
- package/dist/safe-bash/playwright/session-selection.js +1 -1
- package/dist/safe-bash/playwright/snapshot-reference-error.js +1 -1
- package/dist/safe-bash/playwright/snapshot.js +1 -1
- package/dist/safe-bash/playwright/standard-capabilities.js +1 -1
- package/dist/safe-bash/playwright/storage-capabilities.js +1 -1
- package/dist/safe-bash/playwright/storage-state.js +1 -1
- package/dist/safe-bash/playwright/target-screenshot.js +1 -1
- package/dist/safe-bash/playwright/targets.js +1 -1
- package/dist/safe-bash/playwright/tracing-capabilities.js +1 -1
- package/dist/safe-bash/playwright/webmcp-capabilities.js +1 -1
- package/dist/safe-bash/playwright/webmcp-params.js +1 -1
- package/dist/safe-bash/playwright/workspace-assets.js +1 -1
- package/dist/safe-bash/playwright/workspace.js +1 -1
- package/dist/safe-bash/plugins/index.browser.js +4 -4
- package/dist/safe-bash/registry-entry.browser.js +2 -2
- package/dist/safe-bash/search.browser.js +1 -1
- package/dist/safe-bash/shell/parser.js +2 -1
- package/dist/safe-bash/shell/pattern.js +1 -1
- package/dist/safe-bash/shell/string-operations.js +1 -1
- package/dist/safe-bash/shell-entry.browser.js +2 -2
- package/dist/safe-bash/ts-ast.js +1 -1
- package/dist/safe-bash-checksum-engine/index.js +1 -1
- package/dist/safe-bash-command-audio/index.js +2 -2
- package/dist/safe-bash-command-awk/awk-inspection.js +2 -2
- package/dist/safe-bash-command-awk/awk-runtime.js +2 -2
- package/dist/safe-bash-command-awk/awk-syntax.js +1 -1
- package/dist/safe-bash-command-awk/awk.js +6 -6
- package/dist/safe-bash-command-awk/index.js +6 -6
- package/dist/safe-bash-command-bc/index.js +13 -14
- package/dist/safe-bash-command-cal/index.js +25 -31
- package/dist/safe-bash-command-cp/index.js +3 -3
- package/dist/safe-bash-command-csvgrep/command.d.ts +1 -0
- package/dist/safe-bash-command-csvgrep/index.js +7 -0
- package/dist/safe-bash-command-diff/diff.js +2 -2
- package/dist/safe-bash-command-diff/index.js +2 -2
- package/dist/safe-bash-command-docx/sdk.js +1 -1
- package/dist/safe-bash-command-expr/bre-engine.js +1 -1
- package/dist/safe-bash-command-factor/command.js +2 -2
- package/dist/safe-bash-command-factor/index.js +2 -2
- package/dist/safe-bash-command-fd/index.js +4 -3
- package/dist/safe-bash-command-ffmpeg/index.js +13 -2
- package/dist/safe-bash-command-ffprobe/index.js +2 -2
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-getconf/index.js +11 -4
- package/dist/safe-bash-command-git/git_rust.wasm +0 -0
- package/dist/safe-bash-command-git/index.js +96 -14
- package/dist/safe-bash-command-html-to-markdown/index.js +1 -1
- package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +2 -0
- package/dist/safe-bash-command-html-to-markdown/stored-text.js +1 -1
- package/dist/safe-bash-command-imagemagick/index.js +18 -4
- 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-llm/collections.js +48 -192
- package/dist/safe-bash-command-llm/command.js +14 -6
- package/dist/safe-bash-command-llm/elevenlabs.js +2 -2
- package/dist/safe-bash-command-llm/fragment-loaders.d.ts +29 -0
- package/dist/safe-bash-command-llm/fragments.d.ts +24 -0
- package/dist/safe-bash-command-llm/import-json-document.d.ts +5 -2
- package/dist/safe-bash-command-llm/index.d.ts +7 -0
- package/dist/safe-bash-command-llm/index.js +47 -17
- package/dist/safe-bash-command-llm/input-budget.d.ts +2 -0
- package/dist/safe-bash-command-llm/openai-sse.d.ts +1 -1
- package/dist/safe-bash-command-llm/openai-sse.js +4 -1
- package/dist/safe-bash-command-llm/openai.js +11 -7
- package/dist/safe-bash-command-llm/providers/elevenlabs.js +2 -2
- package/dist/safe-bash-command-llm/providers/index.js +16 -10
- package/dist/safe-bash-command-llm/providers/openai.js +11 -7
- package/dist/safe-bash-command-llm/providers/shared.d.ts +2 -0
- package/dist/safe-bash-command-llm/providers/shared.js +1 -1
- package/dist/safe-bash-command-llm/retained-spool.d.ts +4 -0
- package/dist/safe-bash-command-llm/service.d.ts +3 -1
- package/dist/safe-bash-command-llm/service.js +5 -2
- package/dist/safe-bash-command-llm/tool-chain.d.ts +22 -0
- package/dist/safe-bash-command-llm/tool-execution.d.ts +55 -0
- package/dist/safe-bash-command-llm/tool-registry.d.ts +43 -0
- package/dist/safe-bash-command-llm/types.d.ts +39 -11
- package/dist/safe-bash-command-llm/url-fragment-source.d.ts +6 -0
- package/dist/safe-bash-command-llm/url-source.d.ts +3 -1
- package/dist/safe-bash-command-mcp/index.browser.d.ts +1 -0
- package/dist/safe-bash-command-mcp/index.browser.js +4 -4
- package/dist/safe-bash-command-mcp/index.d.ts +1 -0
- package/dist/safe-bash-command-mcp/index.js +28 -7
- package/dist/safe-bash-command-mdq/index.js +10 -3
- package/dist/safe-bash-command-node/commands/node/browser.js +6 -6
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +6 -6
- package/dist/safe-bash-command-node/commands/node/filesystem.js +2 -2
- package/dist/safe-bash-command-node/commands/node/quickjs.js +1 -1
- package/dist/safe-bash-command-node/commands/node/safejs.js +6 -6
- package/dist/safe-bash-command-node/commands/node/timers.js +2 -2
- package/dist/safe-bash-command-pandoc/command.js +9 -9
- package/dist/safe-bash-command-pandoc/index.js +57 -57
- package/dist/safe-bash-command-pandoc/lua-filters.js +1 -1
- package/dist/safe-bash-command-patch/index.js +6 -6
- package/dist/safe-bash-command-patch/patch-formats.js +2 -2
- package/dist/safe-bash-command-patch/patch-publication.js +1 -1
- package/dist/safe-bash-command-patch/patch.js +5 -5
- package/dist/safe-bash-command-patch/unified.js +1 -1
- package/dist/safe-bash-command-pdfinfo/index.js +2 -2
- package/dist/safe-bash-command-pdftk/index.js +550 -137
- package/dist/safe-bash-command-pdftoppm/index.js +89 -124
- package/dist/safe-bash-command-pdftotext/index.d.ts +1 -1
- package/dist/safe-bash-command-pdftotext/index.js +554 -381
- package/dist/safe-bash-command-playwright-cli/index.js +26 -25
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +7 -7
- package/dist/safe-bash-command-playwright-cli/playwright/adapter.js +3 -3
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +16 -15
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +26 -25
- package/dist/safe-bash-command-playwright-cli/playwright/native-storage-replacement.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/open-options.js +2 -2
- package/dist/safe-bash-command-playwright-cli/playwright/profile.d.ts +1 -1
- package/dist/safe-bash-command-playwright-cli/playwright/profile.js +6 -5
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +5 -5
- package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +3 -3
- package/dist/safe-bash-command-pptx/engine.js +2 -2
- package/dist/safe-bash-command-python/executor.d.ts +1 -0
- package/dist/safe-bash-command-python/executor.js +24 -22
- package/dist/safe-bash-command-python/index.js +24 -22
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-python/llm-capability.js +1 -1
- package/dist/safe-bash-command-python/llm-functions-loader.d.ts +5 -0
- package/dist/safe-bash-command-python/llm-packages.js +51 -2
- package/dist/safe-bash-command-python/llm-provider.js +1 -1
- package/dist/safe-bash-command-rg/glob.d.ts +6 -0
- package/dist/safe-bash-command-rg/glob.js +2 -2
- package/dist/safe-bash-command-rg/index.js +8 -8
- package/dist/safe-bash-command-rg/matcher.d.ts +2 -0
- package/dist/safe-bash-command-rg/matcher.js +2 -2
- package/dist/safe-bash-command-rg/options.d.ts +2 -0
- package/dist/safe-bash-command-rg/options.js +1 -1
- package/dist/safe-bash-command-rg/output.js +3 -3
- package/dist/safe-bash-command-rg/replacement.js +2 -2
- package/dist/safe-bash-command-rg/rg-command.js +8 -8
- package/dist/safe-bash-command-rg/shared.d.ts +0 -2
- package/dist/safe-bash-command-rg/shared.js +2 -4
- package/dist/safe-bash-command-rg/walk.js +4 -4
- package/dist/safe-bash-command-safejs/index.js +5 -5
- package/dist/safe-bash-command-safejs/runtime.js +3 -3
- package/dist/safe-bash-command-soffice/index.js +2 -2
- package/dist/safe-bash-command-sqlite3/engine.d.ts +15 -0
- package/dist/safe-bash-command-sqlite3/index.js +310 -15
- package/dist/safe-bash-command-ssconvert/index.js +13 -13
- 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 +6 -6
- package/dist/safe-bash-command-tar/modes.js +4 -4
- package/dist/safe-bash-command-unzip/index.js +5 -5
- package/dist/safe-bash-command-unzip/unzip.js +2 -2
- package/dist/safe-bash-command-yq/parser.js +1 -1
- package/dist/safe-bash-command-yq/query.js +1 -1
- package/dist/safe-bash-contracts/escaping.js +2 -2
- package/dist/safe-bash-contracts/index.js +15 -15
- package/dist/safe-bash-csv-engine/index.js +5 -3
- package/dist/safe-bash-csv-engine/python-codepages.js +2 -1
- package/dist/safe-bash-csv-engine/python-file-codepages.d.ts +1 -0
- package/dist/safe-bash-csv-engine/python-file-codepages.js +8 -0
- package/dist/safe-bash-csv-engine/python-utf16.js +3 -2
- package/dist/safe-bash-csv-engine/text-decoder.js +5 -3
- package/dist/safe-bash-docx-engine/ancillary-resources.js +10 -10
- package/dist/safe-bash-docx-engine/batch-operations.js +68 -68
- package/dist/safe-bash-docx-engine/batch-result-schema.js +80 -80
- package/dist/safe-bash-docx-engine/batch.js +79 -79
- package/dist/safe-bash-docx-engine/bookmarks.js +18 -18
- package/dist/safe-bash-docx-engine/charts.js +11 -11
- 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 +27 -27
- package/dist/safe-bash-docx-engine/control-bindings.js +22 -22
- package/dist/safe-bash-docx-engine/control-repeat.js +21 -21
- package/dist/safe-bash-docx-engine/controls.js +19 -19
- package/dist/safe-bash-docx-engine/create.js +10 -10
- package/dist/safe-bash-docx-engine/diagrams.js +11 -11
- package/dist/safe-bash-docx-engine/diff.js +13 -13
- package/dist/safe-bash-docx-engine/document-properties.js +17 -17
- package/dist/safe-bash-docx-engine/equations.js +18 -18
- package/dist/safe-bash-docx-engine/extract.js +14 -14
- package/dist/safe-bash-docx-engine/fields.js +23 -23
- package/dist/safe-bash-docx-engine/font-inventory.js +18 -18
- 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 +22 -22
- package/dist/safe-bash-docx-engine/image-layout.js +20 -20
- package/dist/safe-bash-docx-engine/image-replacement.js +23 -23
- package/dist/safe-bash-docx-engine/images.js +20 -20
- package/dist/safe-bash-docx-engine/index.js +138 -138
- package/dist/safe-bash-docx-engine/inspection.js +21 -21
- 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 +21 -21
- package/dist/safe-bash-docx-engine/lists.js +20 -20
- package/dist/safe-bash-docx-engine/locations.js +15 -15
- package/dist/safe-bash-docx-engine/notes.js +22 -22
- package/dist/safe-bash-docx-engine/objects.js +20 -20
- 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 +14 -14
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +21 -21
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +29 -29
- package/dist/safe-bash-docx-engine/paragraph-edit.js +26 -26
- 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 +21 -21
- package/dist/safe-bash-docx-engine/revision-decisions.js +23 -23
- package/dist/safe-bash-docx-engine/revision-edit.js +20 -20
- package/dist/safe-bash-docx-engine/revisions.js +18 -18
- package/dist/safe-bash-docx-engine/run-format.js +20 -20
- package/dist/safe-bash-docx-engine/sanitize.js +35 -35
- package/dist/safe-bash-docx-engine/sections.js +19 -19
- package/dist/safe-bash-docx-engine/settings.js +12 -12
- package/dist/safe-bash-docx-engine/shape-edit.js +22 -22
- package/dist/safe-bash-docx-engine/signatures.js +16 -16
- package/dist/safe-bash-docx-engine/stories.js +22 -22
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +38 -38
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +26 -26
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +44 -44
- package/dist/safe-bash-docx-engine/styles.js +18 -18
- package/dist/safe-bash-docx-engine/table-edit.js +28 -28
- package/dist/safe-bash-docx-engine/table-read.js +16 -16
- package/dist/safe-bash-docx-engine/template.js +22 -22
- package/dist/safe-bash-docx-engine/text-replace.js +20 -20
- package/dist/safe-bash-docx-engine/text-resource-read.js +16 -16
- package/dist/safe-bash-docx-engine/text.js +16 -16
- package/dist/safe-bash-docx-engine/validation.js +6 -6
- package/dist/safe-bash-docx-engine/xml-parts.js +23 -23
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +4 -4
- package/dist/safe-bash-line-ending-engine/command.js +4 -4
- package/dist/safe-bash-line-ending-engine/index.js +4 -4
- package/dist/safe-bash-markdown-engine/commonmark-blocks.js +1 -1
- package/dist/safe-bash-markdown-engine/index.js +3 -3
- package/dist/safe-bash-network-engine/transfer.js +12 -12
- package/dist/safe-bash-pptx-engine/bytes.js +1 -1
- package/dist/safe-bash-pptx-engine/index.js +1 -1
- package/dist/safe-bash-presentation-engine/accessibility.js +33 -31
- package/dist/safe-bash-presentation-engine/animation-editing.js +17 -16
- package/dist/safe-bash-presentation-engine/animations.js +17 -16
- package/dist/safe-bash-presentation-engine/backgrounds.js +18 -17
- package/dist/safe-bash-presentation-engine/bytes.js +4 -4
- package/dist/safe-bash-presentation-engine/chart-editing.js +36 -34
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +26 -25
- package/dist/safe-bash-presentation-engine/charts.js +33 -31
- package/dist/safe-bash-presentation-engine/command-placeholder.js +63 -60
- package/dist/safe-bash-presentation-engine/comments.js +18 -17
- package/dist/safe-bash-presentation-engine/connector-operations.js +34 -32
- package/dist/safe-bash-presentation-engine/connectors.js +31 -29
- package/dist/safe-bash-presentation-engine/content-types.js +5 -5
- package/dist/safe-bash-presentation-engine/creation.js +7 -7
- package/dist/safe-bash-presentation-engine/diff.js +40 -37
- package/dist/safe-bash-presentation-engine/drawing-format.js +21 -20
- package/dist/safe-bash-presentation-engine/drawing-operations.js +33 -31
- package/dist/safe-bash-presentation-engine/drawing-schema.js +22 -21
- package/dist/safe-bash-presentation-engine/equations.js +18 -17
- package/dist/safe-bash-presentation-engine/errors.js +3 -3
- package/dist/safe-bash-presentation-engine/fields.js +18 -17
- package/dist/safe-bash-presentation-engine/font-metrics.js +4 -4
- package/dist/safe-bash-presentation-engine/image-extraction.js +23 -21
- package/dist/safe-bash-presentation-engine/image-formatting.js +35 -33
- package/dist/safe-bash-presentation-engine/image-insertion.js +20 -19
- package/dist/safe-bash-presentation-engine/image-metadata.d.ts +7 -1
- package/dist/safe-bash-presentation-engine/image-metadata.js +5 -3
- package/dist/safe-bash-presentation-engine/image-replacement.js +24 -22
- package/dist/safe-bash-presentation-engine/image-value.js +6 -6
- package/dist/safe-bash-presentation-engine/images.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/images.js +24 -20
- package/dist/safe-bash-presentation-engine/index.js +151 -146
- package/dist/safe-bash-presentation-engine/layouts.js +17 -16
- package/dist/safe-bash-presentation-engine/length.js +4 -4
- package/dist/safe-bash-presentation-engine/links.js +17 -16
- package/dist/safe-bash-presentation-engine/masters.js +16 -15
- package/dist/safe-bash-presentation-engine/media-editing.js +30 -25
- package/dist/safe-bash-presentation-engine/media-extraction.d.ts +4 -0
- package/dist/safe-bash-presentation-engine/media-extraction.js +33 -19
- package/dist/safe-bash-presentation-engine/media.d.ts +2 -0
- package/dist/safe-bash-presentation-engine/media.js +32 -18
- package/dist/safe-bash-presentation-engine/memberships.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/memberships.js +25 -17
- package/dist/safe-bash-presentation-engine/notes.js +20 -18
- package/dist/safe-bash-presentation-engine/ole-enum.js +5 -5
- package/dist/safe-bash-presentation-engine/ole-insertion.js +22 -21
- package/dist/safe-bash-presentation-engine/opaque-objects.d.ts +4 -0
- package/dist/safe-bash-presentation-engine/opaque-objects.js +30 -12
- package/dist/safe-bash-presentation-engine/package-reader.js +6 -6
- package/dist/safe-bash-presentation-engine/package-tools.js +24 -20
- package/dist/safe-bash-presentation-engine/package-uri.js +4 -4
- package/dist/safe-bash-presentation-engine/package-writer.js +5 -5
- package/dist/safe-bash-presentation-engine/presentation-model.js +62 -59
- package/dist/safe-bash-presentation-engine/presentation-settings.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/presentation-settings.js +25 -16
- package/dist/safe-bash-presentation-engine/properties.js +21 -18
- package/dist/safe-bash-presentation-engine/relationships.js +5 -5
- package/dist/safe-bash-presentation-engine/resource-limits.js +2 -2
- package/dist/safe-bash-presentation-engine/retained-extraction-output.d.ts +8 -4
- package/dist/safe-bash-presentation-engine/retained-fonts.d.ts +26 -0
- package/dist/safe-bash-presentation-engine/retained-image-metadata.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/retained-inspection.js +16 -14
- package/dist/safe-bash-presentation-engine/retained-media-extraction.d.ts +21 -0
- package/dist/safe-bash-presentation-engine/retained-media.d.ts +54 -0
- package/dist/safe-bash-presentation-engine/retained-memberships.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-object-extraction.d.ts +22 -0
- package/dist/safe-bash-presentation-engine/retained-objects.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-package.js +6 -6
- package/dist/safe-bash-presentation-engine/retained-presentation-settings.d.ts +25 -0
- package/dist/safe-bash-presentation-engine/retained-shape-geometry.d.ts +20 -0
- package/dist/safe-bash-presentation-engine/retained-text.d.ts +24 -4
- package/dist/safe-bash-presentation-engine/retained-text.js +35 -31
- package/dist/safe-bash-presentation-engine/retained-transitions.d.ts +18 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +22 -19
- package/dist/safe-bash-presentation-engine/selectors.js +11 -11
- package/dist/safe-bash-presentation-engine/shape-groups.js +33 -31
- package/dist/safe-bash-presentation-engine/shape-operations.js +32 -30
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +34 -32
- package/dist/safe-bash-presentation-engine/shape-paths.js +17 -16
- package/dist/safe-bash-presentation-engine/shape-presets.js +4 -4
- package/dist/safe-bash-presentation-engine/shape-selection.js +33 -31
- package/dist/safe-bash-presentation-engine/shape-transforms.d.ts +6 -0
- package/dist/safe-bash-presentation-engine/shape-transforms.js +26 -20
- package/dist/safe-bash-presentation-engine/shapes.js +28 -27
- package/dist/safe-bash-presentation-engine/slide-copy.js +21 -17
- package/dist/safe-bash-presentation-engine/slide-import.js +19 -18
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +21 -20
- package/dist/safe-bash-presentation-engine/slide-model.js +46 -44
- package/dist/safe-bash-presentation-engine/slide-removal.js +19 -18
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +10 -10
- package/dist/safe-bash-presentation-engine/slides.js +21 -19
- package/dist/safe-bash-presentation-engine/table-operations.js +35 -33
- package/dist/safe-bash-presentation-engine/table-spans.js +34 -32
- package/dist/safe-bash-presentation-engine/tables.js +33 -31
- package/dist/safe-bash-presentation-engine/tags.js +20 -18
- package/dist/safe-bash-presentation-engine/template-bindings.js +36 -34
- package/dist/safe-bash-presentation-engine/template-repeat.js +46 -41
- package/dist/safe-bash-presentation-engine/text-fitting.js +28 -27
- package/dist/safe-bash-presentation-engine/text-frames.js +28 -27
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +28 -27
- package/dist/safe-bash-presentation-engine/text-reading.js +12 -12
- package/dist/safe-bash-presentation-engine/text-replacement.js +18 -17
- package/dist/safe-bash-presentation-engine/text-runs.js +21 -20
- package/dist/safe-bash-presentation-engine/themes.js +17 -16
- package/dist/safe-bash-presentation-engine/transitions.d.ts +1 -0
- package/dist/safe-bash-presentation-engine/transitions.js +24 -16
- package/dist/safe-bash-presentation-engine/validation.js +11 -10
- package/dist/safe-bash-presentation-engine/xml-parts.js +21 -19
- package/dist/safe-bash-presentation-engine/xml-view.js +4 -4
- package/dist/safe-bash-presentation-engine/xml.js +4 -4
- package/dist/safe-bash-query-engine/capture.js +5 -5
- package/dist/safe-bash-query-engine/dates.js +2 -2
- package/dist/safe-bash-query-engine/delpaths.js +5 -5
- package/dist/safe-bash-query-engine/formats.js +3 -3
- package/dist/safe-bash-query-engine/index.js +15 -15
- package/dist/safe-bash-query-engine/indices.js +5 -5
- package/dist/safe-bash-query-engine/input.js +2 -2
- package/dist/safe-bash-query-engine/interpreter.d.ts +2 -1
- package/dist/safe-bash-query-engine/interpreter.js +13 -13
- package/dist/safe-bash-query-engine/limits.d.ts +1 -0
- package/dist/safe-bash-query-engine/limits.js +1 -1
- package/dist/safe-bash-query-engine/parser.js +2 -2
- package/dist/safe-bash-query-engine/query-core.js +15 -15
- package/dist/safe-bash-query-engine/recurse.js +2 -2
- package/dist/safe-bash-query-engine/regex.js +6 -6
- package/dist/safe-bash-query-engine/split.js +2 -2
- package/dist/safe-bash-query-engine/splits.js +7 -7
- package/dist/safe-bash-query-engine/values.js +4 -4
- package/dist/safe-bash-regex-engine/ere/matcher.d.ts +1 -1
- package/dist/safe-bash-regex-engine/ere/matcher.js +18 -10
- package/dist/safe-bash-regex-engine/ere/syntax.d.ts +1 -1
- package/dist/safe-bash-regex-engine/ere/syntax.js +1 -1
- package/dist/safe-bash-regex-engine/ere/types.d.ts +1 -0
- package/dist/safe-bash-regex-engine/execution/bounded-provider.js +5 -6
- 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-sqlite-engine/sqlite-read-session.d.ts +17 -0
- package/dist/safe-bash-sqlite-engine/storage.d.ts +1 -0
- package/dist/safe-bash-sqlite-engine/storage.js +159 -89
- 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 -7
- package/dist/safe-bash-xml-engine/query.js +2 -2
- package/dist/safe-bash-xml-engine/recovery.d.ts +13 -3
- package/dist/safe-bash-xml-engine/stored-document.d.ts +18 -3
- package/dist/safe-bash-xml-engine/stored-document.js +1 -1
- package/dist/safe-bash-xml-engine/stored-evaluate.js +5 -5
- package/dist/safe-bash-xml-engine/stored-map.d.ts +35 -0
- 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/sfx.js +3 -3
- package/dist/safe-bash-zip-engine/zip-format.js +3 -3
- package/dist/safe-playwright-cloudflare/browser-provider.generated.js +11819 -11773
- package/dist/safe-playwright-cloudflare/browser-run-code-guest.generated.js +1 -1
- package/dist/spreadsheet-engine/formatting/cell-text.js +1 -1
- package/dist/spreadsheet-engine/{rendering/print → formatting}/general-number.js +3 -3
- package/dist/spreadsheet-engine/formulas/functions/python-printf.js +16 -10
- package/dist/spreadsheet-engine/solver/program.js +3 -2
- package/dist/spreadsheet-engine/solver/run.js +8 -2
- package/dist/spreadsheet-engine/solver/sensitivity.d.ts +4 -2
- package/dist/spreadsheet-engine/solver/sensitivity.js +80 -42
- package/dist/spreadsheet-format-xls/biff-properties-merge.d.ts +2 -1
- package/dist/spreadsheet-format-xls/biff-properties-merge.js +35 -29
- package/dist/spreadsheet-format-xls/biff-properties-write.js +16 -7
- package/dist/spreadsheet-format-xls/biff-property-names.d.ts +3 -0
- package/dist/spreadsheet-format-xls/biff-property-names.js +44 -1
- package/dist/spreadsheet-format-xls/biff-property-observations.d.ts +33 -0
- package/dist/spreadsheet-format-xls/biff-property-observations.js +160 -0
- package/package.json +8 -5
- package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +15 -0
- package/third-party/pdf-ast/licenses/PYTHON-PSF.txt +254 -0
- package/third-party/pdf-ast/licenses/V8-BSD.txt +61 -0
- package/dist/safe-bash/chunks/chunk-FL6XE3W4.js +0 -35
- package/dist/safe-bash/command-chunks/biff-KLS4T7FP-UO3CXFFF.js +0 -5581
- package/dist/safe-bash/command-chunks/chunk-6EZWG56T.js +0 -455
- package/dist/safe-bash/command-chunks/chunk-6RLWPB44.js +0 -107
- package/dist/safe-bash/command-chunks/chunk-CGJ7GMHO.js +0 -297
- package/dist/safe-bash/command-chunks/chunk-E64ZI2YB.js +0 -550
- package/dist/safe-bash/command-chunks/chunk-IOXMGD2H.js +0 -260
- package/dist/safe-bash/command-chunks/chunk-KSM5CCHT.js +0 -1850
- package/dist/safe-bash/command-chunks/chunk-P4OWVKMD.js +0 -228
- package/dist/safe-bash/command-chunks/chunk-UPXFSGQG.js +0 -134
- package/dist/safe-bash/command-chunks/chunk-WKUV62RJ.js +0 -92
- package/dist/safe-bash/command-chunks/chunk-WOL3LBXE.js +0 -144
- package/dist/safe-bash/command-chunks/chunk-Z3PGWMSQ.js +0 -63
- package/dist/safe-bash/command-chunks/model-store-I7YAWL5V.js +0 -54
- package/dist/safe-bash/command-chunks/paradox-4FCZE53D-LQPGVMEL.js +0 -365
- package/dist/safe-bash-xml-engine/stored-namespaces.d.ts +0 -21
- package/dist/safe-bash/command-chunks/{chunk-WKU65Z3Q.js → chunk-3NJETNC2.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-SRXARACJ.js → chunk-3TP4SSPS.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-AV6N7DDA.js → chunk-DDYPQAXN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FEKECRJP.js → chunk-EBTKM7KX.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-M3OXQXCU.js → chunk-NBRXQUK7.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WVD5WZXD.js → chunk-QWHBQBPB.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-5MFRN3CB.js → chunk-R64BI5MT.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-2ANW3FXH.js → chunk-U33GIOUY.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OEKLEUUW.js → chunk-YZE7BKHC.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WXW665TV.js → chunk-ZSHXZ3XG.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-RXXNLH7A.js → chunk-ZSQCROFE.js} +3 -3
- package/dist/safe-bash/command-chunks/{dif-BXKPQOCO-4KB3RC6G.js → dif-BXKPQOCO-FVJYYGYB.js} +4 -4
- package/dist/safe-bash/command-chunks/{pln-DFS7VLVS-OVOBS4QX.js → pln-DFS7VLVS-JATX6FS7.js} +3 -3
- package/dist/safe-bash/command-chunks/{psion-YBI6JEQI-GY4S6ZLC.js → psion-YBI6JEQI-6OMC2PGC.js} +3 -3
- package/dist/safe-bash/command-chunks/{sylk-25D7TL2Y-RU6ANKGT.js → sylk-25D7TL2Y-NJKBZZTF.js} +4 -4
- /package/dist/spreadsheet-engine/{rendering/print → formatting}/general-number.d.ts +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
7
7
|
|
|
8
8
|
// packages/safe-bash-sqlite-engine/src/sqlite-transaction.ts
|
|
9
|
-
import { FsError as
|
|
9
|
+
import { FsError as FsError14, toByteSource } from "../safe-bash-contracts/index.js";
|
|
10
10
|
|
|
11
11
|
// packages/safe-bash-sqlite-engine/src/sqlite-sources.ts
|
|
12
12
|
import { FsError as FsError2 } from "../safe-bash-contracts/index.js";
|
|
@@ -396,6 +396,9 @@ async function withPrivateSqliteSession(options, operation) {
|
|
|
396
396
|
return value;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
+
// packages/safe-bash-sqlite-engine/src/sqlite-copy-snapshot.ts
|
|
400
|
+
import { FsError as FsError7 } from "../safe-bash-contracts/index.js";
|
|
401
|
+
|
|
399
402
|
// packages/safe-bash-sqlite-engine/src/sqlite-wal.ts
|
|
400
403
|
import { FsError as FsError6 } from "../safe-bash-contracts/index.js";
|
|
401
404
|
import { yieldTurn } from "../safe-bash-contracts/yield.js";
|
|
@@ -523,23 +526,91 @@ async function createSqliteWalSnapshot(database, wal, index, options) {
|
|
|
523
526
|
};
|
|
524
527
|
}
|
|
525
528
|
|
|
529
|
+
// packages/safe-bash-sqlite-engine/src/sqlite-copy-snapshot.ts
|
|
530
|
+
async function copySqliteSnapshot(options) {
|
|
531
|
+
const { sources, storage, path: privatePath, signal, maxFileBytes, maxIndexBytes } = options;
|
|
532
|
+
const path = sources.path, cleanups = [];
|
|
533
|
+
const errors = [];
|
|
534
|
+
let result;
|
|
535
|
+
try {
|
|
536
|
+
const copy = async (source, target) => {
|
|
537
|
+
const stat = await source.stat({ signal });
|
|
538
|
+
if (!Number.isSafeInteger(stat.size) || stat.size < 0 || stat.size > maxFileBytes) throw new FsError7("EFBIG", { path: target });
|
|
539
|
+
const file = await storage.fs.open(target, { access: "readwrite", creation: "exclusive", signal });
|
|
540
|
+
try {
|
|
541
|
+
for (let position = 0; position < stat.size; ) {
|
|
542
|
+
const bytes = await source.read(position, Math.min(16384, stat.size - position), { signal });
|
|
543
|
+
if (!bytes.length || bytes.length > Math.min(16384, stat.size - position)) throw new FsError7("EIO", { path: target });
|
|
544
|
+
await writeSqliteFile(file, bytes, position, signal);
|
|
545
|
+
position += bytes.length;
|
|
546
|
+
}
|
|
547
|
+
} finally {
|
|
548
|
+
await file.close();
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
let snapshot = sources.database?.file;
|
|
552
|
+
if (snapshot && sources.wal?.stat.size) {
|
|
553
|
+
const index = await storage.fs.open(`${privatePath}-index`, { access: "readwrite", creation: "exclusive", signal });
|
|
554
|
+
cleanups.push(() => index.close());
|
|
555
|
+
snapshot = await createSqliteWalSnapshot(snapshot, sources.wal.file, index, { signal, maxIndexBytes });
|
|
556
|
+
const overlay = snapshot;
|
|
557
|
+
cleanups.push(() => overlay.close());
|
|
558
|
+
}
|
|
559
|
+
if (!snapshot && (sources.wal?.stat.size || sources.journal?.stat.size)) throw new FsError7("EIO", { path, message: "SQLite sidecar has no database" });
|
|
560
|
+
let walMode = false;
|
|
561
|
+
if (snapshot) {
|
|
562
|
+
await copy(snapshot, privatePath);
|
|
563
|
+
const file = await storage.fs.open(privatePath, { access: "readwrite", creation: "never", signal });
|
|
564
|
+
try {
|
|
565
|
+
const header = new Uint8Array(20);
|
|
566
|
+
let count = 0;
|
|
567
|
+
while (count < header.length) {
|
|
568
|
+
const read = await file.read(header.subarray(count), count, { signal });
|
|
569
|
+
if (!read) break;
|
|
570
|
+
count += read;
|
|
571
|
+
}
|
|
572
|
+
walMode = count === 20 && header[18] === 2 && header[19] === 2;
|
|
573
|
+
if (walMode) await writeSqliteFile(file, new Uint8Array([1, 1]), 18, signal);
|
|
574
|
+
} finally {
|
|
575
|
+
await file.close();
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
if (sources.journal?.stat.size) {
|
|
579
|
+
if (walMode) throw new FsError7("EIO", { path, message: "SQLite WAL database has a rollback journal" });
|
|
580
|
+
await copy(sources.journal.file, `${privatePath}-journal`);
|
|
581
|
+
}
|
|
582
|
+
sources.validate();
|
|
583
|
+
result = { walMode };
|
|
584
|
+
} catch (error) {
|
|
585
|
+
errors.push(error);
|
|
586
|
+
}
|
|
587
|
+
for (const cleanup of cleanups.reverse()) try {
|
|
588
|
+
await cleanup();
|
|
589
|
+
} catch (error) {
|
|
590
|
+
errors.push(error);
|
|
591
|
+
}
|
|
592
|
+
if (errors.length === 1) throw errors[0];
|
|
593
|
+
if (errors.length) throw new AggregateError(errors, "SQLite snapshot copy and cleanup failed");
|
|
594
|
+
return result;
|
|
595
|
+
}
|
|
596
|
+
|
|
526
597
|
// packages/safe-bash-sqlite-engine/src/sqlite-finalization.ts
|
|
527
|
-
import { FsError as
|
|
598
|
+
import { FsError as FsError12 } from "../safe-bash-contracts/index.js";
|
|
528
599
|
|
|
529
600
|
// packages/safe-bash-sqlite-engine/src/sqlite-record-write.ts
|
|
530
|
-
import { FsError as
|
|
601
|
+
import { FsError as FsError10 } from "../safe-bash-contracts/index.js";
|
|
531
602
|
|
|
532
603
|
// packages/safe-bash-sqlite-engine/src/sqlite-varint.ts
|
|
533
|
-
import { FsError as
|
|
604
|
+
import { FsError as FsError8 } from "../safe-bash-contracts/index.js";
|
|
534
605
|
function readSqliteVarint(bytes, start) {
|
|
535
606
|
let value = 0n;
|
|
536
607
|
for (let i = 0; i < 9; i++) {
|
|
537
608
|
const byte = bytes[start + i];
|
|
538
|
-
if (byte === void 0) throw new
|
|
609
|
+
if (byte === void 0) throw new FsError8("EIO", { message: "Invalid SQLite varint" });
|
|
539
610
|
value = value << BigInt(i === 8 ? 8 : 7) | BigInt(i === 8 ? byte : byte & 127);
|
|
540
611
|
if (i === 8 || byte < 128) return { value, end: start + i + 1 };
|
|
541
612
|
}
|
|
542
|
-
throw new
|
|
613
|
+
throw new FsError8("EIO", { message: "Invalid SQLite varint" });
|
|
543
614
|
}
|
|
544
615
|
function writeSqliteVarint(value) {
|
|
545
616
|
if (value < 0n || value > 0xffffffffffffffffn) throw new RangeError("SQLite varint out of range");
|
|
@@ -557,10 +628,10 @@ function writeSqliteVarint(value) {
|
|
|
557
628
|
}
|
|
558
629
|
|
|
559
630
|
// packages/safe-bash-sqlite-engine/src/sqlite-pages.ts
|
|
560
|
-
import { FsError as
|
|
631
|
+
import { FsError as FsError9 } from "../safe-bash-contracts/index.js";
|
|
561
632
|
import { yieldTurn as yieldTurn2 } from "../safe-bash-contracts/yield.js";
|
|
562
633
|
function corrupt() {
|
|
563
|
-
throw new
|
|
634
|
+
throw new FsError9("EIO", { message: "Invalid SQLite table record or page chain" });
|
|
564
635
|
}
|
|
565
636
|
function u16(bytes, offset) {
|
|
566
637
|
if (offset < 0 || offset + 2 > bytes.length) return corrupt();
|
|
@@ -743,7 +814,7 @@ async function* sqliteSourceChunks(source, signal) {
|
|
|
743
814
|
async function rewriteSqliteRecords(options) {
|
|
744
815
|
const { fs, directory, path, records, signal } = options;
|
|
745
816
|
signal.throwIfAborted();
|
|
746
|
-
if (!path.startsWith(directory + "/") || path.slice(directory.length + 1).includes("/") || !fs.open || !fs.unlink) throw new
|
|
817
|
+
if (!path.startsWith(directory + "/") || path.slice(directory.length + 1).includes("/") || !fs.open || !fs.unlink) throw new FsError10("EACCES", { path });
|
|
747
818
|
const temporary = directory + "/record-source-" + crypto.randomUUID();
|
|
748
819
|
const errors = [];
|
|
749
820
|
const remember = (error) => {
|
|
@@ -763,7 +834,7 @@ async function rewriteSqliteRecords(options) {
|
|
|
763
834
|
verifySqliteSnapshot(await file.stat({ signal }), original);
|
|
764
835
|
const bytes = new Uint8Array(Math.min(16384, original.size - position));
|
|
765
836
|
const count = await file.read(bytes, position, { signal });
|
|
766
|
-
if (!Number.isSafeInteger(count) || count < 1 || count > bytes.length) throw new
|
|
837
|
+
if (!Number.isSafeInteger(count) || count < 1 || count > bytes.length) throw new FsError10("EIO", { path });
|
|
767
838
|
await writeSqliteFile(copy, bytes.subarray(0, count), position, signal);
|
|
768
839
|
position += count;
|
|
769
840
|
}
|
|
@@ -772,14 +843,14 @@ async function rewriteSqliteRecords(options) {
|
|
|
772
843
|
const snapshot = { stat: (controls) => source.stat(controls), async read(position, count, controls) {
|
|
773
844
|
const bytes = new Uint8Array(Math.min(count, 16384));
|
|
774
845
|
const length = await source.read(bytes, position, controls);
|
|
775
|
-
if (!Number.isSafeInteger(length) || length < 0 || length > bytes.length) throw new
|
|
846
|
+
if (!Number.isSafeInteger(length) || length < 0 || length > bytes.length) throw new FsError10("EIO", { path: temporary });
|
|
776
847
|
return bytes.slice(0, length);
|
|
777
848
|
}, async close() {
|
|
778
849
|
} };
|
|
779
850
|
for await (const { rootPage, rowid, record } of sqliteSourceChunks(records, signal)) {
|
|
780
851
|
signal.throwIfAborted();
|
|
781
852
|
const stored = await findSqliteRecord(snapshot, rootPage, rowid, signal);
|
|
782
|
-
if (!stored) throw new
|
|
853
|
+
if (!stored) throw new FsError10("ENOENT", { path, message: "SQLite placeholder record is missing" });
|
|
783
854
|
if (stored.size !== record.size) throw new RangeError("SQLite placeholder record length mismatch");
|
|
784
855
|
const spans = stored.spans()[Symbol.asyncIterator]();
|
|
785
856
|
let span = await spans.next(), offset = 0, received = 0;
|
|
@@ -822,10 +893,10 @@ async function rewriteSqliteRecords(options) {
|
|
|
822
893
|
}
|
|
823
894
|
|
|
824
895
|
// packages/safe-bash-sqlite-engine/src/sqlite-edit-snapshot.ts
|
|
825
|
-
import { FsError as
|
|
896
|
+
import { FsError as FsError11 } from "../safe-bash-contracts/index.js";
|
|
826
897
|
async function withSqliteEditSnapshot(options, operation) {
|
|
827
898
|
const { fs, directory, path, signal } = options;
|
|
828
|
-
if (!fs.open || !fs.unlink || !path.startsWith(directory + "/") || path.slice(directory.length + 1).includes("/")) throw new
|
|
899
|
+
if (!fs.open || !fs.unlink || !path.startsWith(directory + "/") || path.slice(directory.length + 1).includes("/")) throw new FsError11("EACCES", { path });
|
|
829
900
|
const temporary = directory + "/edit-source-" + crypto.randomUUID();
|
|
830
901
|
let source, copy, created = false, active = true, pending, value;
|
|
831
902
|
const errors = [];
|
|
@@ -833,9 +904,9 @@ async function withSqliteEditSnapshot(options, operation) {
|
|
|
833
904
|
if (!errors.includes(error)) errors.push(error);
|
|
834
905
|
};
|
|
835
906
|
const run = (action) => {
|
|
836
|
-
if (!active) return Promise.reject(new
|
|
907
|
+
if (!active) return Promise.reject(new FsError11("EBADF", { message: "SQLite edit snapshot is closed" }));
|
|
837
908
|
if (pending) {
|
|
838
|
-
const error = new
|
|
909
|
+
const error = new FsError11("EBUSY", { message: "SQLite snapshot reads must be serialized" });
|
|
839
910
|
remember(error);
|
|
840
911
|
return Promise.reject(error);
|
|
841
912
|
}
|
|
@@ -865,7 +936,7 @@ async function withSqliteEditSnapshot(options, operation) {
|
|
|
865
936
|
verifySqliteSnapshot(await source.stat({ signal }), expected);
|
|
866
937
|
const bytes = new Uint8Array(Math.min(16384, expected.size - position));
|
|
867
938
|
const count = await source.read(bytes, position, { signal });
|
|
868
|
-
if (!Number.isSafeInteger(count) || count < 1 || count > bytes.length) throw new
|
|
939
|
+
if (!Number.isSafeInteger(count) || count < 1 || count > bytes.length) throw new FsError11("EIO", { path });
|
|
869
940
|
await writeSqliteFile(copy, bytes.subarray(0, count), position, signal);
|
|
870
941
|
position += count;
|
|
871
942
|
}
|
|
@@ -876,7 +947,7 @@ async function withSqliteEditSnapshot(options, operation) {
|
|
|
876
947
|
const snapshot = { stat: (controls) => file.stat(controls), async read(position, count, controls) {
|
|
877
948
|
const bytes = new Uint8Array(Math.min(count, 16384));
|
|
878
949
|
const length = await file.read(bytes, position, controls);
|
|
879
|
-
if (!Number.isSafeInteger(length) || length < 0 || length > bytes.length) throw new
|
|
950
|
+
if (!Number.isSafeInteger(length) || length < 0 || length > bytes.length) throw new FsError11("EIO", { path: temporary });
|
|
880
951
|
return bytes.slice(0, length);
|
|
881
952
|
}, async close() {
|
|
882
953
|
} };
|
|
@@ -931,9 +1002,9 @@ async function finalizeSqlite(options, operation) {
|
|
|
931
1002
|
if (!errors.includes(error)) errors.push(error);
|
|
932
1003
|
};
|
|
933
1004
|
const run = (action) => {
|
|
934
|
-
if (!accepting) return Promise.reject(new
|
|
1005
|
+
if (!accepting) return Promise.reject(new FsError12("EBADF", { message: "SQLite finalization is closed" }));
|
|
935
1006
|
if (busy) {
|
|
936
|
-
const error = new
|
|
1007
|
+
const error = new FsError12("EBUSY", { message: "SQLite finalization phases overlap" });
|
|
937
1008
|
remember(error);
|
|
938
1009
|
return Promise.reject(error);
|
|
939
1010
|
}
|
|
@@ -988,7 +1059,7 @@ async function finalizeSqlite(options, operation) {
|
|
|
988
1059
|
}
|
|
989
1060
|
|
|
990
1061
|
// packages/safe-bash-sqlite-engine/src/sqlite-publication.ts
|
|
991
|
-
import { FsError as
|
|
1062
|
+
import { FsError as FsError13 } from "../safe-bash-contracts/index.js";
|
|
992
1063
|
import { yieldTurn as yieldTurn3 } from "../safe-bash-contracts/yield.js";
|
|
993
1064
|
async function publishSqliteSnapshot(options) {
|
|
994
1065
|
const { fs, snapshot, path, signal } = options;
|
|
@@ -1004,7 +1075,7 @@ async function publishSqliteSnapshot(options) {
|
|
|
1004
1075
|
signal.throwIfAborted();
|
|
1005
1076
|
const capabilities = await fs.capabilitiesFor?.(path, { signal, create: expected === null }) ?? fs.capabilities;
|
|
1006
1077
|
if (sourceSet !== void 0 ? !fs.publishStagedFileSet || capabilities.retainedStagingWrite !== true || !staging?.writer : capabilities.atomicFilePublication !== true || !fs.publishFileConditional) {
|
|
1007
|
-
throw new
|
|
1078
|
+
throw new FsError13("ENOTSUP", { path, message: "SQLite snapshots require atomic conditional publication" });
|
|
1008
1079
|
}
|
|
1009
1080
|
const original = await snapshot.stat({ signal });
|
|
1010
1081
|
verifySqliteSnapshot(original, original);
|
|
@@ -1028,7 +1099,7 @@ async function publishSqliteSnapshot(options) {
|
|
|
1028
1099
|
const requested = Math.min(16384, stop - start);
|
|
1029
1100
|
const bytes2 = await snapshot.read(start, requested, { signal });
|
|
1030
1101
|
if (!(bytes2 instanceof Uint8Array) || bytes2.length === 0 || bytes2.length > requested) {
|
|
1031
|
-
throw new
|
|
1102
|
+
throw new FsError13("EIO", { message: "Invalid SQLite snapshot read" });
|
|
1032
1103
|
}
|
|
1033
1104
|
const owned = bytes2.slice();
|
|
1034
1105
|
await check();
|
|
@@ -1060,12 +1131,12 @@ async function publishSqliteSnapshot(options) {
|
|
|
1060
1131
|
}
|
|
1061
1132
|
if (staging && companions) {
|
|
1062
1133
|
if (staging.file.stat.size !== 0 || staging.file.stat.type !== "file") {
|
|
1063
|
-
throw new
|
|
1134
|
+
throw new FsError13("EINVAL", { path: staging.file.path, message: "SQLite publication requires empty regular-file staging" });
|
|
1064
1135
|
}
|
|
1065
1136
|
for await (const chunk of bytes()) await staging.writer.write(chunk, { signal });
|
|
1066
1137
|
const stat = await staging.writer.finish({ signal });
|
|
1067
1138
|
if (stat.type !== "file" || stat.size !== original.size) {
|
|
1068
|
-
throw new
|
|
1139
|
+
throw new FsError13("EIO", { path: staging.file.path, message: "SQLite staged snapshot size mismatch" });
|
|
1069
1140
|
}
|
|
1070
1141
|
await check();
|
|
1071
1142
|
return fs.publishStagedFileSet({ ...staging, file: { ...staging.file, stat } }, path, {
|
|
@@ -1094,56 +1165,11 @@ async function transactSqlite(options, operation) {
|
|
|
1094
1165
|
cleanups.push(() => sources.close());
|
|
1095
1166
|
const path = sources.path;
|
|
1096
1167
|
const directory = path.slice(0, path.lastIndexOf("/")) || "/";
|
|
1097
|
-
if (!fs.createStagedFile || !fs.publishStagedFileSet) throw new
|
|
1168
|
+
if (!fs.createStagedFile || !fs.publishStagedFileSet) throw new FsError14("ENOTSUP", { path, message: "SQLite transactions require retained source-set publication" });
|
|
1098
1169
|
const storage = await createPrivateSqliteStorage({ fs, directory, signal, maxFiles: options.maxOpenFiles });
|
|
1099
1170
|
cleanups.push(() => storage.close());
|
|
1100
1171
|
const privatePath = `${storage.directory}/database`;
|
|
1101
|
-
const
|
|
1102
|
-
const stat = await source.stat({ signal });
|
|
1103
|
-
if (!Number.isSafeInteger(stat.size) || stat.size < 0 || stat.size > maxFileBytes) throw new FsError13("EFBIG", { path: target });
|
|
1104
|
-
const file2 = await storage.fs.open(target, { access: "readwrite", creation: "exclusive", signal });
|
|
1105
|
-
try {
|
|
1106
|
-
for (let position = 0; position < stat.size; ) {
|
|
1107
|
-
const bytes = await source.read(position, Math.min(16384, stat.size - position), { signal });
|
|
1108
|
-
if (!bytes.length || bytes.length > Math.min(16384, stat.size - position)) throw new FsError13("EIO", { path: target });
|
|
1109
|
-
await writeSqliteFile(file2, bytes, position, signal);
|
|
1110
|
-
position += bytes.length;
|
|
1111
|
-
}
|
|
1112
|
-
} finally {
|
|
1113
|
-
await file2.close();
|
|
1114
|
-
}
|
|
1115
|
-
};
|
|
1116
|
-
let snapshot = sources.database?.file;
|
|
1117
|
-
if (snapshot && sources.wal?.stat.size) {
|
|
1118
|
-
const index = await storage.fs.open(`${storage.directory}/index`, { access: "readwrite", creation: "exclusive", signal });
|
|
1119
|
-
cleanups.push(() => index.close());
|
|
1120
|
-
snapshot = await createSqliteWalSnapshot(snapshot, sources.wal.file, index, { signal, maxIndexBytes: options.maxIndexBytes });
|
|
1121
|
-
const overlay = snapshot;
|
|
1122
|
-
cleanups.push(() => overlay.close());
|
|
1123
|
-
}
|
|
1124
|
-
if (!snapshot && (sources.wal?.stat.size || sources.journal?.stat.size)) throw new FsError13("EIO", { path, message: "SQLite sidecar has no database" });
|
|
1125
|
-
let walMode = false;
|
|
1126
|
-
if (snapshot) {
|
|
1127
|
-
await copy(snapshot, privatePath);
|
|
1128
|
-
const file2 = await storage.fs.open(privatePath, { access: "readwrite", creation: "never", signal });
|
|
1129
|
-
try {
|
|
1130
|
-
const header = new Uint8Array(20);
|
|
1131
|
-
let count = 0;
|
|
1132
|
-
while (count < header.length) {
|
|
1133
|
-
const read = await file2.read(header.subarray(count), count, { signal });
|
|
1134
|
-
if (!read) break;
|
|
1135
|
-
count += read;
|
|
1136
|
-
}
|
|
1137
|
-
walMode = count === 20 && header[18] === 2 && header[19] === 2;
|
|
1138
|
-
if (walMode) await writeSqliteFile(file2, new Uint8Array([1, 1]), 18, signal);
|
|
1139
|
-
} finally {
|
|
1140
|
-
await file2.close();
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
if (sources.journal?.stat.size) {
|
|
1144
|
-
if (walMode) throw new FsError13("EIO", { path, message: "SQLite WAL database has a rollback journal" });
|
|
1145
|
-
await copy(sources.journal.file, `${privatePath}-journal`);
|
|
1146
|
-
}
|
|
1172
|
+
const { walMode } = await copySqliteSnapshot({ ...options, sources, storage, path: privatePath });
|
|
1147
1173
|
value = await withPrivateSqliteSession({ ...options, fs: storage.fs, directory: storage.directory, path: privatePath }, async (session) => {
|
|
1148
1174
|
await session.execute("BEGIN IMMEDIATE");
|
|
1149
1175
|
const result = await operation(session);
|
|
@@ -1175,7 +1201,7 @@ async function transactSqlite(options, operation) {
|
|
|
1175
1201
|
cleanups.push(() => staging.cleanup.close());
|
|
1176
1202
|
cleanups.push(() => staging.cleanup.remove());
|
|
1177
1203
|
} else {
|
|
1178
|
-
throw new
|
|
1204
|
+
throw new FsError14("EIO", { path, message: "SQLite publication staging omitted retained cleanup" });
|
|
1179
1205
|
}
|
|
1180
1206
|
committed = await publishSqliteSnapshot({
|
|
1181
1207
|
fs,
|
|
@@ -1205,7 +1231,7 @@ async function transactSqlite(options, operation) {
|
|
|
1205
1231
|
}
|
|
1206
1232
|
|
|
1207
1233
|
// packages/safe-bash-sqlite-engine/src/sqlite-statement.ts
|
|
1208
|
-
import { FsError as
|
|
1234
|
+
import { FsError as FsError15 } from "../safe-bash-contracts/index.js";
|
|
1209
1235
|
import { yieldTurn as yieldTurn4 } from "../safe-bash-contracts/yield.js";
|
|
1210
1236
|
async function withSqliteStatement(module, options, operation) {
|
|
1211
1237
|
const { database, sql, signal, check } = options;
|
|
@@ -1232,7 +1258,7 @@ async function withSqliteStatement(module, options, operation) {
|
|
|
1232
1258
|
const bindText = module.cwrap("sqlite3_bind_text", "number", ["number", "number", "number", "number", "number"]);
|
|
1233
1259
|
const result = (code) => {
|
|
1234
1260
|
check();
|
|
1235
|
-
if (code !== 0) throw new
|
|
1261
|
+
if (code !== 0) throw new FsError15("EIO", { message: `Native SQLite statement failed (${code})` });
|
|
1236
1262
|
};
|
|
1237
1263
|
let out = 0, statement = 0, accepting = true, current, value;
|
|
1238
1264
|
const errors = [];
|
|
@@ -1249,8 +1275,8 @@ async function withSqliteStatement(module, options, operation) {
|
|
|
1249
1275
|
};
|
|
1250
1276
|
const rows = (bindings, columns) => {
|
|
1251
1277
|
async function* iterate() {
|
|
1252
|
-
if (!accepting) throw new
|
|
1253
|
-
if (current) throw new
|
|
1278
|
+
if (!accepting) throw new FsError15("EBADF", { message: "SQLite statement is closed" });
|
|
1279
|
+
if (current) throw new FsError15("EBUSY", { message: "SQLite cursor is already active" });
|
|
1254
1280
|
current = iterator;
|
|
1255
1281
|
let failed = false, failure;
|
|
1256
1282
|
try {
|
|
@@ -1340,7 +1366,7 @@ async function withSqliteStatement(module, options, operation) {
|
|
|
1340
1366
|
statement = new DataView(module.HEAPU8.buffer).getInt32(out, true);
|
|
1341
1367
|
result(code);
|
|
1342
1368
|
signal.throwIfAborted();
|
|
1343
|
-
if (!statement) throw new
|
|
1369
|
+
if (!statement) throw new FsError15("EIO", { message: "SQLite returned an empty statement" });
|
|
1344
1370
|
value = await operation({ rows });
|
|
1345
1371
|
} catch (error) {
|
|
1346
1372
|
errors.push(error);
|
|
@@ -1375,7 +1401,7 @@ async function withSqliteStatement(module, options, operation) {
|
|
|
1375
1401
|
}
|
|
1376
1402
|
|
|
1377
1403
|
// packages/safe-bash-sqlite-engine/src/sqlite-blob-read.ts
|
|
1378
|
-
import { FsError as
|
|
1404
|
+
import { FsError as FsError16 } from "../safe-bash-contracts/index.js";
|
|
1379
1405
|
import { yieldTurn as yieldTurn5 } from "../safe-bash-contracts/yield.js";
|
|
1380
1406
|
async function* readSqliteBlob(module, options) {
|
|
1381
1407
|
const { database, table, column, rowid, signal, check } = options;
|
|
@@ -1390,7 +1416,7 @@ async function* readSqliteBlob(module, options) {
|
|
|
1390
1416
|
const close = module.cwrap("sqlite3_blob_close", "number", ["number"], { async: true });
|
|
1391
1417
|
const result = (code) => {
|
|
1392
1418
|
check();
|
|
1393
|
-
if (code !== 0) throw new
|
|
1419
|
+
if (code !== 0) throw new FsError16("EIO", { message: `Native SQLite blob read failed (${code})` });
|
|
1394
1420
|
};
|
|
1395
1421
|
let out = 0, blob = 0, buffer = 0;
|
|
1396
1422
|
let failed = false, failure;
|
|
@@ -1404,7 +1430,7 @@ async function* readSqliteBlob(module, options) {
|
|
|
1404
1430
|
if (blob) try {
|
|
1405
1431
|
const code = await close(blob);
|
|
1406
1432
|
if (!failed) check();
|
|
1407
|
-
if (code !== 0) errors.push(new
|
|
1433
|
+
if (code !== 0) errors.push(new FsError16("EIO", { message: `Native SQLite blob close failed (${code})` }));
|
|
1408
1434
|
} catch (error) {
|
|
1409
1435
|
errors.push(error);
|
|
1410
1436
|
}
|
|
@@ -1426,8 +1452,8 @@ async function* readSqliteBlob(module, options) {
|
|
|
1426
1452
|
result(code);
|
|
1427
1453
|
signal.throwIfAborted();
|
|
1428
1454
|
const size = length(blob);
|
|
1429
|
-
if (!blob || !Number.isSafeInteger(size) || size < 0) throw new
|
|
1430
|
-
if (size > maxBytes) throw new
|
|
1455
|
+
if (!blob || !Number.isSafeInteger(size) || size < 0) throw new FsError16("EIO", { message: "Invalid SQLite blob size" });
|
|
1456
|
+
if (size > maxBytes) throw new FsError16("EFBIG", { message: "LLM schema input byte limit exceeded" });
|
|
1431
1457
|
if (size) {
|
|
1432
1458
|
buffer = module._malloc(Math.min(16384, size));
|
|
1433
1459
|
if (!buffer) throw new RangeError("SQLite memory allocation failed");
|
|
@@ -1450,7 +1476,7 @@ async function* readSqliteBlob(module, options) {
|
|
|
1450
1476
|
}
|
|
1451
1477
|
|
|
1452
1478
|
// packages/safe-bash-sqlite-engine/src/sqlite-blob.ts
|
|
1453
|
-
import { FsError as
|
|
1479
|
+
import { FsError as FsError17 } from "../safe-bash-contracts/index.js";
|
|
1454
1480
|
import { yieldTurn as yieldTurn6 } from "../safe-bash-contracts/yield.js";
|
|
1455
1481
|
async function writeSqliteBlob(module, options) {
|
|
1456
1482
|
const { database, table, column, rowid, source, size, signal, check } = options;
|
|
@@ -1464,7 +1490,7 @@ async function writeSqliteBlob(module, options) {
|
|
|
1464
1490
|
const close = module.cwrap("sqlite3_blob_close", "number", ["number"], { async: true });
|
|
1465
1491
|
const result = (code) => {
|
|
1466
1492
|
check();
|
|
1467
|
-
if (code !== 0) throw new
|
|
1493
|
+
if (code !== 0) throw new FsError17("EIO", { message: `Native SQLite blob operation failed (${code})` });
|
|
1468
1494
|
};
|
|
1469
1495
|
let out = 0, buffer = 0, blob = 0;
|
|
1470
1496
|
const errors = [];
|
|
@@ -1510,7 +1536,7 @@ async function writeSqliteBlob(module, options) {
|
|
|
1510
1536
|
if (blob) try {
|
|
1511
1537
|
const code = await close(blob);
|
|
1512
1538
|
if (!errors.length) check();
|
|
1513
|
-
if (code !== 0) errors.push(new
|
|
1539
|
+
if (code !== 0) errors.push(new FsError17("EIO", { message: `Native SQLite blob close failed (${code})` }));
|
|
1514
1540
|
} catch (error) {
|
|
1515
1541
|
errors.push(error);
|
|
1516
1542
|
}
|
|
@@ -1588,12 +1614,12 @@ function sqliteRecord(values) {
|
|
|
1588
1614
|
}
|
|
1589
1615
|
|
|
1590
1616
|
// packages/safe-bash-sqlite-engine/src/sqlite-record-read.ts
|
|
1591
|
-
import { FsError as
|
|
1617
|
+
import { FsError as FsError18 } from "../safe-bash-contracts/index.js";
|
|
1592
1618
|
async function readSqliteRecord(record, options) {
|
|
1593
1619
|
const { signal, maxColumns } = options;
|
|
1594
1620
|
if (!Number.isSafeInteger(maxColumns) || maxColumns < 0 || maxColumns > 65536) throw new RangeError("Invalid SQLite column budget");
|
|
1595
1621
|
const corrupt2 = () => {
|
|
1596
|
-
throw new
|
|
1622
|
+
throw new FsError18("EIO", { message: "Invalid SQLite record encoding" });
|
|
1597
1623
|
};
|
|
1598
1624
|
if (!Number.isSafeInteger(record.size) || record.size < 1) corrupt2();
|
|
1599
1625
|
const read = async (offset2, length) => {
|
|
@@ -1616,7 +1642,7 @@ async function readSqliteRecord(record, options) {
|
|
|
1616
1642
|
const header = await read(0, headerSize), values = [];
|
|
1617
1643
|
let position = start.end, offset = headerSize;
|
|
1618
1644
|
while (position < headerSize) {
|
|
1619
|
-
if (values.length === maxColumns) throw new
|
|
1645
|
+
if (values.length === maxColumns) throw new FsError18("EFBIG", { message: "SQLite record exceeds column budget" });
|
|
1620
1646
|
const serial = readSqliteVarint(header, position);
|
|
1621
1647
|
position = serial.end;
|
|
1622
1648
|
const type = serial.value;
|
|
@@ -1650,6 +1676,49 @@ async function readSqliteRecord(record, options) {
|
|
|
1650
1676
|
if (position !== headerSize || offset !== record.size) corrupt2();
|
|
1651
1677
|
return values;
|
|
1652
1678
|
}
|
|
1679
|
+
|
|
1680
|
+
// packages/safe-bash-sqlite-engine/src/sqlite-read-session.ts
|
|
1681
|
+
import { FsError as FsError19 } from "../safe-bash-contracts/index.js";
|
|
1682
|
+
async function withSqliteReadSession(options, operation) {
|
|
1683
|
+
const { fs, signal } = options;
|
|
1684
|
+
for (const limit of [options.maxFileBytes, options.maxIndexBytes, options.maxOpenFiles]) if (!Number.isSafeInteger(limit) || limit < 0) throw new RangeError("Invalid SQLite snapshot budget");
|
|
1685
|
+
const inputs = [{ path: options.path, alias: "main" }, ...(options.attachments ?? []).map((input) => ({ ...input }))];
|
|
1686
|
+
for (const { alias } of inputs) if (alias.includes("\0") || new TextEncoder().encode(alias).length > 65536) throw new RangeError("Invalid SQLite attachment alias");
|
|
1687
|
+
const storage = await createPrivateSqliteStorage({ ...options, maxFiles: options.maxOpenFiles });
|
|
1688
|
+
const errors = [];
|
|
1689
|
+
let value;
|
|
1690
|
+
try {
|
|
1691
|
+
for (const [index, input] of inputs.entries()) {
|
|
1692
|
+
const sources = await acquireSqliteSources(fs, input.path, signal);
|
|
1693
|
+
try {
|
|
1694
|
+
if (!sources.database) throw new FsError19("ENOENT", { path: input.path });
|
|
1695
|
+
await copySqliteSnapshot({ ...options, sources, storage, path: `${storage.directory}/database-${index}` });
|
|
1696
|
+
} finally {
|
|
1697
|
+
await sources.close();
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
value = await withPrivateSqliteSession({ ...options, fs: storage.fs, directory: storage.directory, path: storage.directory + "/database-0" }, async (session) => {
|
|
1701
|
+
for (let index = 1; index < inputs.length; index++) {
|
|
1702
|
+
const alias = inputs[index].alias;
|
|
1703
|
+
await withSqliteStatement(session.module, { ...session, signal, sql: 'ATTACH DATABASE ? AS "' + alias.replaceAll('"', '""') + '"' }, async (statement) => {
|
|
1704
|
+
for await (const ignored of statement.rows([`${storage.directory}/database-${index}`], [])) signal.throwIfAborted();
|
|
1705
|
+
});
|
|
1706
|
+
}
|
|
1707
|
+
await session.execute("PRAGMA query_only=ON");
|
|
1708
|
+
return operation(session);
|
|
1709
|
+
});
|
|
1710
|
+
} catch (error) {
|
|
1711
|
+
errors.push(error);
|
|
1712
|
+
}
|
|
1713
|
+
try {
|
|
1714
|
+
await storage.close();
|
|
1715
|
+
} catch (error) {
|
|
1716
|
+
errors.push(error);
|
|
1717
|
+
}
|
|
1718
|
+
if (errors.length === 1) throw errors[0];
|
|
1719
|
+
if (errors.length) throw new AggregateError(errors, "SQLite read session and cleanup failed");
|
|
1720
|
+
return value;
|
|
1721
|
+
}
|
|
1653
1722
|
export {
|
|
1654
1723
|
createPrivateSqliteStorage,
|
|
1655
1724
|
readSqliteBlob,
|
|
@@ -1657,6 +1726,7 @@ export {
|
|
|
1657
1726
|
sqliteRecord,
|
|
1658
1727
|
transactSqlite,
|
|
1659
1728
|
withPrivateSqliteSession,
|
|
1729
|
+
withSqliteReadSession,
|
|
1660
1730
|
withSqliteStatement,
|
|
1661
1731
|
writeSqliteBlob
|
|
1662
1732
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
serializeDocument
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-5P5SF75H.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-WOECEZAC.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-JMUB5A26.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-3I5WTVWZ.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
8
8
|
export {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
serialize,
|
|
7
7
|
serializeSimpleSync,
|
|
8
8
|
stringValue
|
|
9
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
9
|
+
} from "../safe-bash/command-chunks/chunk-JMUB5A26.js";
|
|
10
10
|
import "../safe-bash/command-chunks/chunk-3I5WTVWZ.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
12
12
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseQuery
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-E76WK7OQ.js";
|
|
4
4
|
import {
|
|
5
5
|
serializeDocument
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-5P5SF75H.js";
|
|
7
7
|
import {
|
|
8
8
|
parseStoredXml
|
|
9
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
9
|
+
} from "../safe-bash/command-chunks/chunk-WOECEZAC.js";
|
|
10
10
|
import {
|
|
11
11
|
escape,
|
|
12
12
|
evaluate,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
serialize,
|
|
16
16
|
serializeSimpleSync,
|
|
17
17
|
stringValue
|
|
18
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
18
|
+
} from "../safe-bash/command-chunks/chunk-JMUB5A26.js";
|
|
19
19
|
import {
|
|
20
20
|
XmlBudget,
|
|
21
21
|
XmlQueryError,
|
|
@@ -40,7 +40,11 @@ async function* storedXmlToJson(document, budget) {
|
|
|
40
40
|
}
|
|
41
41
|
async function hash(parent, name) {
|
|
42
42
|
let value = 14695981039346656037n;
|
|
43
|
-
for (const part of
|
|
43
|
+
for await (const part of (async function* () {
|
|
44
|
+
yield String(parent);
|
|
45
|
+
yield ":";
|
|
46
|
+
yield* document.nameText(name);
|
|
47
|
+
})()) for (const character of part) {
|
|
44
48
|
const checkpoint = budget.tick();
|
|
45
49
|
if (checkpoint) await checkpoint;
|
|
46
50
|
value = BigInt.asUintN(64, (value ^ BigInt(character.codePointAt(0))) * 1099511628211n);
|
|
@@ -51,14 +55,14 @@ async function* storedXmlToJson(document, budget) {
|
|
|
51
55
|
if (entry.closing || entry.reference === document.root) continue;
|
|
52
56
|
const current = await document.metadata(entry.reference);
|
|
53
57
|
if (current.kind !== "element") continue;
|
|
54
|
-
const parent = await document.parent(entry.reference), key = await hash(parent, current
|
|
58
|
+
const parent = await document.parent(entry.reference), key = await hash(parent, current);
|
|
55
59
|
const bucket = Number(await hashes.get(key) ?? 0n);
|
|
56
60
|
let group = bucket;
|
|
57
61
|
while (group) {
|
|
58
62
|
const value = await fields(group, 8);
|
|
59
63
|
const checkpoint = budget.tick(current.name.length + 1);
|
|
60
64
|
if (checkpoint) await checkpoint;
|
|
61
|
-
if (value[0] === parent && (await node(value[1])
|
|
65
|
+
if (value[0] === parent && await document.nameEquals(await node(value[1]), current)) break;
|
|
62
66
|
group = value[6];
|
|
63
67
|
}
|
|
64
68
|
const member = await record([entry.reference, 0]);
|
|
@@ -111,7 +115,7 @@ async function* storedXmlToJson(document, budget) {
|
|
|
111
115
|
async function* output() {
|
|
112
116
|
const root = await node(document.root);
|
|
113
117
|
yield "{";
|
|
114
|
-
yield* quoted(
|
|
118
|
+
yield* quoted(document.nameText(root));
|
|
115
119
|
yield ":";
|
|
116
120
|
await push({ kind: "literal", value: "}" });
|
|
117
121
|
await push({ kind: "element", reference: document.root });
|
|
@@ -128,9 +132,12 @@ async function* storedXmlToJson(document, budget) {
|
|
|
128
132
|
const value = await document.metadata(task.reference);
|
|
129
133
|
if (value.kind !== "attribute") throw new TypeError("Expected XML attribute");
|
|
130
134
|
const attribute = value.value;
|
|
131
|
-
yield* quoted(
|
|
135
|
+
yield* quoted((async function* () {
|
|
136
|
+
yield "@";
|
|
137
|
+
yield* document.nameText(attribute);
|
|
138
|
+
})());
|
|
132
139
|
yield ":";
|
|
133
|
-
yield* quoted(
|
|
140
|
+
yield* quoted(document.text(task.reference));
|
|
134
141
|
continue;
|
|
135
142
|
}
|
|
136
143
|
if (task.kind === "text") {
|
|
@@ -148,7 +155,7 @@ async function* storedXmlToJson(document, budget) {
|
|
|
148
155
|
}
|
|
149
156
|
if (task.kind === "group") {
|
|
150
157
|
const group = await fields(task.reference, 8);
|
|
151
|
-
yield* quoted(
|
|
158
|
+
yield* quoted(document.nameText(await node(group[1])));
|
|
152
159
|
yield ":";
|
|
153
160
|
if (group[7] === 1) await push({ kind: "element", reference: group[1] });
|
|
154
161
|
else {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseQuery
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-E76WK7OQ.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-JMUB5A26.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-3I5WTVWZ.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
7
7
|
export {
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { parseXmlSourceSteps, type XmlElement } from "@poe-platform/safe-fs/core";
|
|
1
|
+
import { parseXmlSourceSteps, type XmlElement, type XmlAttribute, type XmlSourceSpan } from "@poe-platform/safe-fs/core";
|
|
2
2
|
import { type PagedStorageContext } from "@poe-platform/safe-fs/storage";
|
|
3
3
|
import { XmlBudget } from "./limits.js";
|
|
4
|
-
type XmlEvent = Parameters<NonNullable<NonNullable<Parameters<typeof parseXmlSourceSteps>[1]>["events"]>>[0]
|
|
4
|
+
type XmlEvent = Parameters<NonNullable<NonNullable<Parameters<typeof parseXmlSourceSteps>[1]>["events"]>>[0] | {
|
|
5
|
+
type: "attribute";
|
|
6
|
+
attribute: XmlAttribute;
|
|
7
|
+
element: XmlElement;
|
|
8
|
+
continuation?: boolean;
|
|
9
|
+
};
|
|
5
10
|
/** Parse lazy input, or prevalidated recovery input, through a shared 64 KiB source/frame cache.
|
|
6
11
|
* The parser retains only its current source window, tokens and the current frame. */
|
|
7
12
|
export declare function parseStoredXml(source: AsyncIterable<string> | Iterable<string>, context: PagedStorageContext & {
|
|
8
13
|
readonly registerCleanup?: (cleanup: () => Promise<void>) => void;
|
|
9
|
-
}, budget: XmlBudget, recover?: (message: string) => void, consume?: (event: XmlEvent) =>
|
|
14
|
+
}, budget: XmlBudget, recover?: (message: string) => void, consume?: (event: XmlEvent, namespaceParts: (reference: number) => AsyncIterable<string>, sourceParts: (span: XmlSourceSpan) => AsyncIterable<string>) => Promise<void>, options?: {
|
|
15
|
+
deferNamespaces?: boolean;
|
|
16
|
+
deferContentNames?: boolean;
|
|
17
|
+
deferElementNames?: boolean;
|
|
18
|
+
deferAttributeNames?: boolean;
|
|
19
|
+
}): Promise<XmlElement>;
|
|
10
20
|
export { parseStoredXml as parseXmlRecovery };
|