@poe-platform/safe-bash 0.1.806 → 0.1.807
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/image-ast/portable.d.ts +8 -0
- package/dist/image-ast/portable.js +2 -0
- package/dist/safe-bash/chunks/{chunk-KRA6WK4Z.js → chunk-3Y54SR4R.js} +6 -6
- package/dist/safe-bash/chunks/{chunk-OYJI4L4J.js → chunk-PPAA3LJS.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-SCROOJV7.js → chunk-XZ2Y4RWC.js} +2 -2
- package/dist/safe-bash/command-chunks/{biff-AU4VGVMD-6EQ64QPG.js → biff-YBHP7ZES-M7TU7NA5.js} +1211 -1205
- package/dist/safe-bash/command-chunks/chunk-2A6TBB4F.js +14 -0
- package/dist/safe-bash/command-chunks/chunk-2AF7J6FE.js +372 -0
- package/dist/safe-bash/command-chunks/{chunk-AITNVBXO.js → chunk-2ANW3FXH.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-2B6XWO6A.js +730 -0
- package/dist/safe-bash/command-chunks/chunk-2BKOSQD3.js +11 -0
- package/dist/safe-bash/command-chunks/chunk-2EUH5B6A.js +127 -0
- package/dist/safe-bash/command-chunks/chunk-2FOLUJLI.js +400 -0
- package/dist/safe-bash/command-chunks/{chunk-CZLX3KVF.js → chunk-2GILUQJY.js} +4 -6
- package/dist/safe-bash/command-chunks/chunk-2HHGDJ7J.js +280 -0
- package/dist/safe-bash/command-chunks/chunk-2NE2GPSF.js +546 -0
- package/dist/safe-bash/command-chunks/chunk-2P7BLWWI.js +272 -0
- package/dist/safe-bash/command-chunks/chunk-2PSVE7I5.js +101 -0
- package/dist/safe-bash/command-chunks/chunk-2UUFZMOH.js +503 -0
- package/dist/safe-bash/command-chunks/chunk-2VGAC6S6.js +393 -0
- package/dist/safe-bash/command-chunks/chunk-2W54TAGI.js +162 -0
- package/dist/safe-bash/command-chunks/chunk-326A5G42.js +328 -0
- package/dist/safe-bash/command-chunks/chunk-36KIT4DU.js +218 -0
- package/dist/safe-bash/command-chunks/chunk-3CHQG25N.js +455 -0
- package/dist/safe-bash/command-chunks/chunk-3JQ3RF2O.js +72 -0
- package/dist/safe-bash/command-chunks/chunk-3MLJWSYL.js +92 -0
- package/dist/safe-bash/command-chunks/{chunk-ASYR2LU7.js → chunk-3RQCLLQA.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-3SEQG5JH.js +521 -0
- package/dist/safe-bash/command-chunks/chunk-3SWT2KYH.js +78 -0
- package/dist/safe-bash/command-chunks/chunk-3VETFXYR.js +170 -0
- package/dist/safe-bash/command-chunks/chunk-3W6PTHHB.js +65 -0
- package/dist/safe-bash/command-chunks/chunk-457CU3IC.js +8 -0
- package/dist/safe-bash/command-chunks/chunk-45BW6MGM.js +250 -0
- package/dist/safe-bash/command-chunks/chunk-47MFDPH4.js +419 -0
- package/dist/safe-bash/command-chunks/chunk-4ATHODCG.js +444 -0
- package/dist/safe-bash/command-chunks/chunk-4DJICIFV.js +227 -0
- package/dist/safe-bash/command-chunks/chunk-4FNQPK7C.js +385 -0
- package/dist/safe-bash/command-chunks/chunk-4LXDJES2.js +65 -0
- package/dist/safe-bash/command-chunks/chunk-4QRXKUD2.js +662 -0
- package/dist/safe-bash/command-chunks/chunk-4QYNOBWZ.js +455 -0
- package/dist/safe-bash/command-chunks/{chunk-MWNWT6HG.js → chunk-4XFFIKA3.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-5AU5ENL5.js +180 -0
- package/dist/safe-bash/command-chunks/chunk-5DFZAJHL.js +324 -0
- package/dist/safe-bash/command-chunks/chunk-5GEFJROP.js +270 -0
- package/dist/safe-bash/command-chunks/chunk-5HWX4XYW.js +263 -0
- package/dist/safe-bash/command-chunks/chunk-5LKNP4IF.js +872 -0
- package/dist/safe-bash/command-chunks/chunk-5OEHUIVE.js +240 -0
- package/dist/safe-bash/command-chunks/chunk-6EHVFKM7.js +171 -0
- package/dist/safe-bash/command-chunks/chunk-6JTPLJ3B.js +155 -0
- package/dist/safe-bash/command-chunks/chunk-6KLUPQ65.js +496 -0
- package/dist/safe-bash/command-chunks/chunk-6NS5RXQ7.js +285 -0
- package/dist/safe-bash/command-chunks/chunk-6PJIQEH4.js +3472 -0
- package/dist/safe-bash/command-chunks/chunk-763ECQWB.js +566 -0
- package/dist/safe-bash/command-chunks/chunk-7DADVPKN.js +23 -0
- package/dist/safe-bash/command-chunks/chunk-7LEADSSA.js +164 -0
- package/dist/safe-bash/command-chunks/chunk-7MMSBVUP.js +732 -0
- package/dist/safe-bash/command-chunks/chunk-7OXNWLSL.js +35 -0
- package/dist/safe-bash/command-chunks/chunk-7PZASWL6.js +354 -0
- package/dist/safe-bash/command-chunks/{chunk-ZBR3UH4P.js → chunk-7QH3WAMQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CB3HTIDK.js → chunk-7SOE7XIS.js} +11 -11
- package/dist/safe-bash/command-chunks/chunk-7Y3ZQ6FE.js +56 -0
- package/dist/safe-bash/command-chunks/chunk-A2YEQYCC.js +289 -0
- package/dist/safe-bash/command-chunks/chunk-A3XE767Q.js +502 -0
- package/dist/safe-bash/command-chunks/{chunk-MWY75E3F.js → chunk-A6LCBGE6.js} +187 -187
- package/dist/safe-bash/command-chunks/{chunk-HFUL6E5I.js → chunk-A7CE4EIU.js} +33 -151
- package/dist/safe-bash/command-chunks/chunk-A7EMM3SB.js +297 -0
- package/dist/safe-bash/command-chunks/{chunk-G3YO3JIN.js → chunk-ABH5FMMA.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-AEJZEGW7.js +1376 -0
- package/dist/safe-bash/command-chunks/chunk-AELXRNM6.js +207 -0
- package/dist/safe-bash/command-chunks/chunk-AEZIPWRI.js +260 -0
- package/dist/safe-bash/command-chunks/{chunk-AHD3CGAY.js → chunk-AFPXADZG.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-AIOB34IX.js +201 -0
- package/dist/safe-bash/command-chunks/chunk-AJEYCC4X.js +262 -0
- package/dist/safe-bash/command-chunks/chunk-ALMHXDKZ.js +321 -0
- package/dist/safe-bash/command-chunks/chunk-AQ6RTM2M.js +309 -0
- package/dist/safe-bash/command-chunks/chunk-AQNFEGMZ.js +481 -0
- package/dist/safe-bash/command-chunks/{chunk-2AKKYY5G.js → chunk-ASZ4EMKE.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-AYJGINE5.js +144 -0
- package/dist/safe-bash/command-chunks/{chunk-MRFW2E6B.js → chunk-B4UWZCQR.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-BDYKJTBQ.js +43 -0
- package/dist/safe-bash/command-chunks/chunk-BERVTMQB.js +41 -0
- package/dist/safe-bash/command-chunks/chunk-BZOY2UMP.js +275 -0
- package/dist/safe-bash/command-chunks/{chunk-W47KIMSP.js → chunk-C2EYJT4S.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-CK5Q6RDE.js +342 -0
- package/dist/safe-bash/command-chunks/chunk-CKEODJVT.js +992 -0
- package/dist/safe-bash/command-chunks/{chunk-Z7UIOPHJ.js → chunk-DCMSPMMD.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-DE66JRWJ.js +352 -0
- package/dist/safe-bash/command-chunks/chunk-DKNNYPOI.js +409 -0
- package/dist/safe-bash/command-chunks/chunk-DV745GFU.js +294 -0
- package/dist/safe-bash/command-chunks/chunk-DXX2Z2QA.js +33 -0
- package/dist/safe-bash/command-chunks/chunk-E7AYF54A.js +473 -0
- package/dist/safe-bash/command-chunks/chunk-EDSFQJAU.js +159 -0
- package/dist/safe-bash/command-chunks/{chunk-UQ3KEUCF.js → chunk-ESD5ZD74.js} +7 -1
- package/dist/safe-bash/command-chunks/chunk-EUXUCRCI.js +1739 -0
- package/dist/safe-bash/command-chunks/chunk-F2ORFLCH.js +3669 -0
- package/dist/safe-bash/command-chunks/chunk-FANIWOBM.js +311 -0
- package/dist/safe-bash/command-chunks/chunk-FOO3AXFK.js +47 -0
- package/dist/safe-bash/command-chunks/chunk-FRZ5P5AB.js +131 -0
- package/dist/safe-bash/command-chunks/chunk-FZSQMMYV.js +276 -0
- package/dist/safe-bash/command-chunks/{chunk-P6NUIMMX.js → chunk-G5F2VSQ7.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-GGOZXIGH.js +299 -0
- package/dist/safe-bash/command-chunks/chunk-GIESJLR2.js +241 -0
- package/dist/safe-bash/command-chunks/chunk-GLPIFP7N.js +385 -0
- package/dist/safe-bash/command-chunks/chunk-GZ2N24A2.js +342 -0
- package/dist/safe-bash/command-chunks/chunk-H2NWPMNW.js +216 -0
- package/dist/safe-bash/command-chunks/chunk-HHLVI2CB.js +3949 -0
- package/dist/safe-bash/command-chunks/chunk-HJDE7ZNV.js +82 -0
- package/dist/safe-bash/command-chunks/chunk-HOAM3F5I.js +124 -0
- package/dist/safe-bash/command-chunks/chunk-HPKUFWHW.js +482 -0
- package/dist/safe-bash/command-chunks/chunk-HPMVMOD2.js +109 -0
- package/dist/safe-bash/command-chunks/chunk-HQAHDJPX.js +8 -0
- package/dist/safe-bash/command-chunks/chunk-HR2Y6YEP.js +12 -0
- package/dist/safe-bash/command-chunks/chunk-HUNXIAOL.js +62 -0
- package/dist/safe-bash/command-chunks/chunk-I4JWZOSP.js +244 -0
- package/dist/safe-bash/command-chunks/chunk-I6AMDG2T.js +85 -0
- package/dist/safe-bash/command-chunks/chunk-IB2Q5CL3.js +288 -0
- package/dist/safe-bash/command-chunks/chunk-IFNLDOJ4.js +316 -0
- package/dist/safe-bash/command-chunks/chunk-IKHBXETN.js +174 -0
- package/dist/safe-bash/command-chunks/chunk-IOSWG5JS.js +228 -0
- package/dist/safe-bash/command-chunks/chunk-IQFRPIXH.js +317 -0
- package/dist/safe-bash/command-chunks/chunk-IR6ZKAUH.js +582 -0
- package/dist/safe-bash/command-chunks/chunk-IW7PEB4I.js +297 -0
- package/dist/safe-bash/command-chunks/chunk-JGGRMERW.js +36 -0
- package/dist/safe-bash/command-chunks/chunk-JHAY3KYC.js +520 -0
- package/dist/safe-bash/command-chunks/{chunk-UO25D4WG.js → chunk-JITDS55R.js} +22 -22
- package/dist/safe-bash/command-chunks/chunk-JJK3CU7Z.js +6 -0
- package/dist/safe-bash/command-chunks/{chunk-XKZWUMH4.js → chunk-JN7GNI2C.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-JQ3EJKHF.js +160 -0
- package/dist/safe-bash/command-chunks/chunk-JQE256UO.js +292 -0
- package/dist/safe-bash/command-chunks/chunk-JQZ3BXWY.js +382 -0
- package/dist/safe-bash/command-chunks/{chunk-7DLR4HCC.js → chunk-JWSOFSGI.js} +22 -22
- package/dist/safe-bash/command-chunks/chunk-K3CDZMUN.js +168 -0
- package/dist/safe-bash/command-chunks/{chunk-SUYSZJI3.js → chunk-K5COUQAQ.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-K7HUXUN2.js +489 -0
- package/dist/safe-bash/command-chunks/chunk-KB3CY3QO.js +62 -0
- package/dist/safe-bash/command-chunks/chunk-KCBVOYAY.js +92 -0
- package/dist/safe-bash/command-chunks/chunk-KD25ICP4.js +366 -0
- package/dist/safe-bash/command-chunks/chunk-KDKQ5D55.js +180 -0
- package/dist/safe-bash/command-chunks/chunk-KNKDUEDW.js +521 -0
- package/dist/safe-bash/command-chunks/chunk-KR2PQ7GD.js +174 -0
- package/dist/safe-bash/command-chunks/chunk-KS6WUDPM.js +153 -0
- package/dist/safe-bash/command-chunks/{chunk-XFHUSZBM.js → chunk-KUGV3SSL.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-L2JAP5KO.js +249 -0
- package/dist/safe-bash/command-chunks/chunk-L2KEA6SN.js +271 -0
- package/dist/safe-bash/command-chunks/chunk-L3WY5ASN.js +526 -0
- package/dist/safe-bash/command-chunks/chunk-L4XEXXVQ.js +399 -0
- package/dist/safe-bash/command-chunks/chunk-LDTUZIJK.js +90 -0
- package/dist/safe-bash/command-chunks/chunk-LHDB4QO5.js +479 -0
- package/dist/safe-bash/command-chunks/chunk-LHL6RWGJ.js +548 -0
- package/dist/safe-bash/command-chunks/chunk-LHRXDH45.js +164 -0
- package/dist/safe-bash/command-chunks/chunk-LQOKYG3O.js +153 -0
- package/dist/safe-bash/command-chunks/chunk-LRDME6WV.js +12 -0
- package/dist/safe-bash/command-chunks/chunk-LWVDJB5S.js +305 -0
- package/dist/safe-bash/command-chunks/chunk-M57GLLK4.js +27 -0
- package/dist/safe-bash/command-chunks/chunk-MAHX3IW3.js +108 -0
- package/dist/safe-bash/command-chunks/{chunk-LQZSR6DT.js → chunk-MDV7W5AS.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-MG7AJD5E.js +168 -0
- package/dist/safe-bash/command-chunks/chunk-MHJ3DQUE.js +213 -0
- package/dist/safe-bash/command-chunks/chunk-MLGNBD7V.js +552 -0
- package/dist/safe-bash/command-chunks/chunk-MN2M33JK.js +237 -0
- package/dist/safe-bash/command-chunks/chunk-MOL3TRBT.js +32 -0
- package/dist/safe-bash/command-chunks/chunk-MQFXMBGD.js +75 -0
- package/dist/safe-bash/command-chunks/chunk-MQPWE22J.js +171 -0
- package/dist/safe-bash/command-chunks/chunk-MQU6Q75R.js +523 -0
- package/dist/safe-bash/command-chunks/chunk-MWAAMNAM.js +353 -0
- package/dist/safe-bash/command-chunks/chunk-MZ4BTMTI.js +240 -0
- package/dist/safe-bash/command-chunks/chunk-N4DY4FPA.js +679 -0
- package/dist/safe-bash/command-chunks/chunk-N74TJL6X.js +183 -0
- package/dist/safe-bash/command-chunks/chunk-NA5Q4V2H.js +304 -0
- package/dist/safe-bash/command-chunks/chunk-NSM366N6.js +22 -0
- package/dist/safe-bash/command-chunks/chunk-NY4ZPV3N.js +523 -0
- package/dist/safe-bash/command-chunks/chunk-NYBF2BVE.js +17 -0
- package/dist/safe-bash/command-chunks/chunk-OBK24KGM.js +24 -0
- package/dist/safe-bash/command-chunks/{chunk-GDAS4LY7.js → chunk-OEKLEUUW.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-OGWJD5QP.js +404 -0
- package/dist/safe-bash/command-chunks/chunk-OIPATOZW.js +154 -0
- package/dist/safe-bash/command-chunks/chunk-OP6J3OLL.js +243 -0
- package/dist/safe-bash/command-chunks/chunk-OTTMIB3C.js +266 -0
- package/dist/safe-bash/command-chunks/{chunk-OZHPB4KD.js → chunk-OU4VE5CR.js} +12 -12
- package/dist/safe-bash/command-chunks/chunk-P42REFYL.js +228 -0
- package/dist/safe-bash/command-chunks/{chunk-YJ3TFZB2.js → chunk-PQOAM5SC.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-PQOIOVF2.js +444 -0
- package/dist/safe-bash/command-chunks/chunk-PRQEVUNE.js +205 -0
- package/dist/safe-bash/command-chunks/{chunk-W5OR7COJ.js → chunk-PVLPWVRH.js} +21 -21
- package/dist/safe-bash/command-chunks/{chunk-BNG4ZMZ3.js → chunk-PXL4NBYP.js} +1 -78
- package/dist/safe-bash/command-chunks/chunk-Q6W5FRZG.js +41 -0
- package/dist/safe-bash/command-chunks/{chunk-KLCHCSIV.js → chunk-QGD64UHJ.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-QHS7PDG3.js +188 -0
- package/dist/safe-bash/command-chunks/chunk-QXCSASIE.js +151 -0
- package/dist/safe-bash/command-chunks/chunk-QYCBVKFT.js +255 -0
- package/dist/safe-bash/command-chunks/chunk-R4TYL2G6.js +1529 -0
- package/dist/safe-bash/command-chunks/chunk-RAXJVM4U.js +625 -0
- package/dist/safe-bash/command-chunks/chunk-RBFZYSZZ.js +207 -0
- package/dist/safe-bash/command-chunks/chunk-RJHVJZ4H.js +185 -0
- package/dist/safe-bash/command-chunks/chunk-RKPPUYZE.js +213 -0
- package/dist/safe-bash/command-chunks/chunk-RMJNV6Q7.js +23 -0
- package/dist/safe-bash/command-chunks/{chunk-MR2RLUPV.js → chunk-RQHQCJMV.js} +11 -9
- package/dist/safe-bash/command-chunks/chunk-RR6QQ25D.js +71 -0
- package/dist/safe-bash/command-chunks/{chunk-JW3KIZU6.js → chunk-RUXY7GN5.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-RZC7QHL6.js +112 -0
- package/dist/safe-bash/command-chunks/chunk-RZJRR4UJ.js +1677 -0
- package/dist/safe-bash/command-chunks/chunk-S4OBYRNI.js +639 -0
- package/dist/safe-bash/command-chunks/{chunk-DQNDEWCI.js → chunk-S65T5JJO.js} +12 -12
- package/dist/safe-bash/command-chunks/chunk-S6PPBBXX.js +77 -0
- package/dist/safe-bash/command-chunks/chunk-SCG4LK5U.js +265 -0
- package/dist/safe-bash/command-chunks/chunk-SDTC2BLK.js +143 -0
- package/dist/safe-bash/command-chunks/chunk-SEK43FRN.js +357 -0
- package/dist/safe-bash/command-chunks/chunk-SH45NZ2P.js +194 -0
- package/dist/safe-bash/command-chunks/chunk-SM733XRT.js +250 -0
- package/dist/safe-bash/command-chunks/chunk-SSRGI476.js +116 -0
- package/dist/safe-bash/command-chunks/chunk-SUUD352U.js +127 -0
- package/dist/safe-bash/command-chunks/{chunk-B5F2KQYA.js → chunk-SWUVHT7G.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-TBAH4XGI.js +38 -0
- package/dist/safe-bash/command-chunks/chunk-TBVWTZTR.js +469 -0
- package/dist/safe-bash/command-chunks/chunk-TGHQGJNR.js +144 -0
- package/dist/safe-bash/command-chunks/{chunk-Q6JLT2EY.js → chunk-TL3KDYEM.js} +8 -110
- package/dist/safe-bash/command-chunks/chunk-TVAEX4WQ.js +473 -0
- package/dist/safe-bash/command-chunks/chunk-TZ2J6LGM.js +163 -0
- package/dist/safe-bash/command-chunks/chunk-UICO7H6S.js +186 -0
- package/dist/safe-bash/command-chunks/chunk-UJTJFMIN.js +501 -0
- package/dist/safe-bash/command-chunks/chunk-UMWWCLBG.js +109 -0
- package/dist/safe-bash/command-chunks/chunk-UPXFSGQG.js +134 -0
- package/dist/safe-bash/command-chunks/chunk-UWUYSXYT.js +272 -0
- package/dist/safe-bash/command-chunks/{chunk-5FMXQUDY.js → chunk-UZOGSYJP.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-V3RGA5PS.js +125 -0
- package/dist/safe-bash/command-chunks/chunk-VEUQWV2V.js +287 -0
- package/dist/safe-bash/command-chunks/chunk-VGKYTZT5.js +161 -0
- package/dist/safe-bash/command-chunks/chunk-VQUEIEVP.js +410 -0
- package/dist/safe-bash/command-chunks/chunk-VU3YUC3U.js +169 -0
- package/dist/safe-bash/command-chunks/chunk-W32KW66B.js +27 -0
- package/dist/safe-bash/command-chunks/chunk-W543LSYH.js +899 -0
- package/dist/safe-bash/command-chunks/chunk-W5YFDYHO.js +387 -0
- package/dist/safe-bash/command-chunks/chunk-W6DV2CLS.js +267 -0
- package/dist/safe-bash/command-chunks/chunk-WAKYUXVQ.js +215 -0
- package/dist/safe-bash/command-chunks/chunk-WGOL3MM6.js +125 -0
- package/dist/safe-bash/command-chunks/{chunk-N2A7V3WY.js → chunk-WHNYT34N.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-WOZCIRJ5.js +169 -0
- package/dist/safe-bash/command-chunks/chunk-WVB6ONZS.js +232 -0
- package/dist/safe-bash/command-chunks/chunk-WVESNAND.js +25 -0
- package/dist/safe-bash/command-chunks/chunk-XDEA3TL5.js +322 -0
- package/dist/safe-bash/command-chunks/chunk-XFEUWSYG.js +357 -0
- package/dist/safe-bash/command-chunks/chunk-XFMJ4RMS.js +2849 -0
- package/dist/safe-bash/command-chunks/chunk-XH6DXJHX.js +196 -0
- package/dist/safe-bash/command-chunks/chunk-XNJ67APB.js +6 -0
- package/dist/safe-bash/command-chunks/chunk-XP6BHGZ6.js +227 -0
- package/dist/safe-bash/command-chunks/chunk-XXFHTGV2.js +142 -0
- package/dist/safe-bash/command-chunks/chunk-Y5GI5PVT.js +139 -0
- package/dist/safe-bash/command-chunks/chunk-Y6KHC3JB.js +177 -0
- package/dist/safe-bash/command-chunks/{chunk-2UWPMSME.js → chunk-Y72LPXST.js} +8 -8
- package/dist/safe-bash/command-chunks/chunk-YDRWQZNB.js +69 -0
- package/dist/safe-bash/command-chunks/{chunk-P4OJBL2B.js → chunk-YFZ6FPIC.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-YH4DC4RP.js +171 -0
- package/dist/safe-bash/command-chunks/chunk-YH7KKMMN.js +463 -0
- package/dist/safe-bash/command-chunks/{chunk-MN3BB4WW.js → chunk-YP3WWV5N.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-YPVBU7QF.js +2817 -0
- package/dist/safe-bash/command-chunks/chunk-YQYVEVUE.js +1621 -0
- package/dist/safe-bash/command-chunks/chunk-YRNBIU5U.js +175 -0
- package/dist/safe-bash/command-chunks/chunk-Z7ESJVFP.js +10 -0
- package/dist/safe-bash/command-chunks/chunk-ZTAFAHY3.js +653 -0
- package/dist/safe-bash/command-chunks/chunk-ZXKOMB24.js +85 -0
- package/dist/safe-bash/command-chunks/{clipboard-XCSQACOK-SHFXT53F.js → clipboard-6SDGQGC3-TVJ3CG7A.js} +4 -4
- package/dist/safe-bash/command-chunks/{command-engine-4TEGTXCQ.js → command-engine-KMLHVFMA.js} +356 -316
- package/dist/safe-bash/command-chunks/{engine-QDC5VCGO-LYAAFESF.js → engine-EOYR2WTY-KUFLFTDE.js} +2 -4
- package/dist/safe-bash/command-chunks/{gnumeric-OCFH63UT-YI7SG7TN.js → gnumeric-ABKSRBZJ-MPIIPXKP.js} +3 -3
- package/dist/safe-bash/command-chunks/inspection-command-ULEU7ZVV.js +7 -0
- package/dist/safe-bash/command-chunks/model-store-JUFU3RSW.js +54 -0
- package/dist/safe-bash/command-chunks/pdf-22JDKKAR-UDWNSWYB.js +338 -0
- package/dist/safe-bash/command-chunks/{pptx-XG3YSXWZ-XAG36NAB.js → pptx-YDKHIGCD-H7FU4VMJ.js} +2 -2
- package/dist/safe-bash/commands/bc/index.browser.js +2 -2
- package/dist/safe-bash/commands/diffpdf/index.d.ts +2 -0
- package/dist/safe-bash/commands/diffpdf/index.js +2 -0
- package/dist/safe-bash/commands/dot/index.d.ts +2 -0
- package/dist/safe-bash/commands/dot/index.js +2 -0
- package/dist/safe-bash/commands/llm/collections.browser.js +6 -0
- package/dist/safe-bash/commands/llm/collections.d.ts +2 -0
- package/dist/safe-bash/commands/llm/collections.js +2 -0
- package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
- package/dist/safe-bash/commands/rsvg-convert/index.d.ts +2 -0
- package/dist/safe-bash/commands/rsvg-convert/index.js +2 -0
- package/dist/safe-bash/commands/safejs/io.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/io.js +1 -1
- package/dist/safe-bash/commands/safejs/options.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/options.js +1 -1
- package/dist/safe-bash/commands/safejs/render.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/render.js +1 -1
- package/dist/safe-bash/commands/safejs/runtime.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/runtime.js +1 -1
- package/dist/safe-bash/commands/safejs/types.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/types.js +1 -1
- package/dist/safe-bash/commands/wdiff/index.d.ts +2 -0
- package/dist/safe-bash/commands/wdiff/index.js +2 -0
- package/dist/safe-bash/core.d.ts +4 -0
- package/dist/safe-bash/core.js +4 -0
- package/dist/safe-bash/full-core.browser.js +59 -35
- package/dist/safe-bash/optional-host.browser.js +7 -7
- package/dist/safe-bash/plugins/index.browser.js +7 -7
- package/dist/safe-bash/registry-entry.browser.js +6 -6
- package/dist/safe-bash/search.browser.js +2 -2
- package/dist/safe-bash/shell-entry.browser.js +3 -3
- package/dist/safe-bash-checksum-engine/index.js +83 -40
- package/dist/safe-bash-checksum-engine/md5.d.ts +2 -0
- package/dist/safe-bash-checksum-engine/md5.js +7 -0
- 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.js +7 -7
- package/dist/safe-bash-command-awk/index.js +7 -7
- package/dist/safe-bash-command-chmod/command.js +1 -1
- package/dist/safe-bash-command-chmod/index.js +1 -1
- package/dist/safe-bash-command-csvkit/index.js +6 -6
- package/dist/safe-bash-command-diff/index.js +3 -3
- package/dist/safe-bash-command-diffpdf/LICENSE +21 -0
- package/dist/safe-bash-command-diffpdf/index.d.ts +12 -0
- package/dist/safe-bash-command-diffpdf/index.js +107 -0
- package/dist/safe-bash-command-docx/command.d.ts +36 -0
- package/dist/{safe-bash-docx-engine → safe-bash-command-docx}/discovery.d.ts +4 -4
- package/dist/safe-bash-command-docx/index.js +1 -1
- package/dist/{safe-bash-docx-engine → safe-bash-command-docx}/inspection-command.d.ts +6 -6
- package/dist/safe-bash-command-docx/sdk.d.ts +4 -0
- package/dist/safe-bash-command-docx/sdk.js +24 -0
- package/dist/safe-bash-command-dot/LICENSE +21 -0
- package/dist/safe-bash-command-dot/index.d.ts +14 -0
- package/dist/safe-bash-command-dot/index.js +1298 -0
- package/dist/safe-bash-command-du/arguments.d.ts +1 -1
- package/dist/safe-bash-command-du/arguments.js +1 -1
- package/dist/safe-bash-command-du/du.js +2 -2
- package/dist/safe-bash-command-du/index.js +2 -2
- package/dist/safe-bash-command-factor/command.js +2 -2
- package/dist/safe-bash-command-factor/index.js +2 -2
- package/dist/safe-bash-command-ffmpeg/index.js +16 -16
- package/dist/safe-bash-command-imagemagick/index.js +21 -53
- package/dist/safe-bash-command-llm/collections-embed.d.ts +23 -0
- package/dist/safe-bash-command-llm/collections.d.ts +38 -0
- package/dist/safe-bash-command-llm/collections.js +423 -0
- package/dist/safe-bash-command-llm/command.js +4 -2
- package/dist/safe-bash-command-llm/index.js +12 -8
- package/dist/safe-bash-command-llm/openai.js +4 -3
- package/dist/safe-bash-command-llm/providers/index.js +6 -4
- package/dist/safe-bash-command-llm/providers/openai.js +4 -3
- package/dist/safe-bash-command-node/commands/node/browser.js +9 -12
- package/dist/safe-bash-command-node/commands/node/buffer.js +2 -2
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +9 -12
- package/dist/safe-bash-command-node/commands/node/filesystem.js +3 -3
- package/dist/safe-bash-command-node/commands/node/safejs.js +9 -12
- package/dist/safe-bash-command-node/commands/node/source-maps.js +2 -2
- package/dist/safe-bash-command-node/commands/node/timers.js +3 -3
- package/dist/safe-bash-command-node/commands/safejs/io.d.ts +1 -35
- package/dist/safe-bash-command-node/commands/safejs/io.js +3 -7
- package/dist/safe-bash-command-node/commands/safejs/options.d.ts +2 -22
- package/dist/safe-bash-command-node/commands/safejs/options.js +1 -1
- package/dist/safe-bash-command-node/commands/safejs/render.d.ts +1 -1
- package/dist/safe-bash-command-node/commands/safejs/render.js +3 -5
- package/dist/safe-bash-command-node/commands/safejs/runtime.d.ts +2 -25
- package/dist/safe-bash-command-node/commands/safejs/runtime.js +1 -7
- package/dist/safe-bash-command-node/commands/safejs/types.d.ts +2 -85
- package/dist/safe-bash-command-node/commands/safejs/types.js +1 -1
- package/dist/safe-bash-command-node/integrations/safejs/filesystem.d.ts +2 -5
- package/dist/safe-bash-command-node/integrations/safejs/filesystem.js +3 -3
- package/dist/safe-bash-command-node/integrations/safejs/shell.js +1 -1
- package/dist/safe-bash-command-node/integrations/safejs/values.d.ts +1 -7
- package/dist/safe-bash-command-node/integrations/safejs/values.js +1 -1
- package/dist/safe-bash-command-openssl/index.js +15452 -420
- package/dist/safe-bash-command-pandoc/command.js +1 -1
- package/dist/safe-bash-command-pandoc/index.js +1 -1
- package/dist/safe-bash-command-patch/index.js +5 -5
- package/dist/safe-bash-command-patch/patch.js +4 -4
- package/dist/safe-bash-command-playwright-cli/index.js +25 -25
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +8 -8
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +16 -16
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +25 -25
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +4 -4
- package/dist/{safe-bash-pptx-engine → safe-bash-command-pptx}/command-engine.d.ts +5 -13
- package/dist/safe-bash-command-pptx/engine.d.ts +4 -0
- package/dist/safe-bash-command-pptx/engine.js +37 -0
- package/dist/safe-bash-command-pptx/index.js +1 -1
- package/dist/safe-bash-command-python/executor.js +15 -15
- package/dist/safe-bash-command-python/index.js +15 -15
- package/dist/safe-bash-command-python/jspi.js +4 -4
- package/dist/safe-bash-command-qrencode/index.js +1 -4
- package/dist/safe-bash-command-rsvg-convert/LICENSE +21 -0
- package/dist/safe-bash-command-rsvg-convert/index.d.ts +13 -0
- package/dist/safe-bash-command-rsvg-convert/index.js +84 -0
- package/dist/safe-bash-command-safejs/LICENSE +21 -0
- package/dist/safe-bash-command-safejs/filesystem.d.ts +5 -0
- package/dist/safe-bash-command-safejs/filesystem.js +7 -0
- package/dist/safe-bash-command-safejs/index.d.ts +4 -0
- package/dist/safe-bash-command-safejs/index.js +19 -0
- package/dist/safe-bash-command-safejs/io.d.ts +35 -0
- package/dist/safe-bash-command-safejs/io.js +12 -0
- package/dist/safe-bash-command-safejs/options.d.ts +22 -0
- package/dist/safe-bash-command-safejs/options.js +11 -0
- package/dist/safe-bash-command-safejs/render.d.ts +1 -0
- package/dist/safe-bash-command-safejs/render.js +9 -0
- package/dist/safe-bash-command-safejs/runtime.d.ts +25 -0
- package/dist/safe-bash-command-safejs/runtime.js +13 -0
- package/dist/safe-bash-command-safejs/types.d.ts +85 -0
- package/dist/safe-bash-command-safejs/types.js +7 -0
- package/dist/safe-bash-command-safejs/values.d.ts +7 -0
- package/dist/safe-bash-command-safejs/values.js +19 -0
- package/dist/safe-bash-command-sips/index.js +1 -14
- package/dist/safe-bash-command-ssconvert/index.js +413 -546
- package/dist/safe-bash-command-ssconvert/rendering/chart/axis.d.ts +1 -26
- package/dist/safe-bash-command-ssconvert/rendering/chart/error-bar.d.ts +1 -39
- package/dist/safe-bash-command-ssconvert/rendering/chart/layout.d.ts +1 -24
- package/dist/safe-bash-command-ssconvert/rendering/chart/line.d.ts +1 -23
- package/dist/safe-bash-command-ssconvert/rendering/chart/marker.d.ts +1 -35
- package/dist/safe-bash-command-ssconvert/rendering/chart/pie.d.ts +1 -32
- package/dist/safe-bash-command-ssconvert/rendering/images/index.d.ts +1 -26
- package/dist/safe-bash-command-ssconvert/rendering/print/header-footer.d.ts +1 -16
- package/dist/safe-bash-command-ssconvert/rendering/print/layout.d.ts +1 -65
- package/dist/safe-bash-command-ssconvert/rendering/print/pagination.d.ts +1 -34
- package/dist/safe-bash-command-tar/create.js +4 -4
- package/dist/safe-bash-command-tar/extract.js +4 -4
- package/dist/safe-bash-command-tar/index.js +16 -14
- package/dist/safe-bash-command-tar/modes.js +6 -6
- package/dist/safe-bash-command-tar/options.d.ts +3 -1
- package/dist/safe-bash-command-tar/options.js +1 -1
- package/dist/safe-bash-command-unzip/index.js +4 -4
- package/dist/safe-bash-command-wdiff/LICENSE +21 -0
- package/dist/safe-bash-command-wdiff/index.d.ts +12 -0
- package/dist/safe-bash-command-wdiff/index.js +123 -0
- package/dist/safe-bash-compression-engine/bounded-codec.js +2 -2
- package/dist/safe-bash-compression-engine/codec-loader.js +1 -1
- package/dist/safe-bash-compression-engine/files.js +5 -5
- package/dist/safe-bash-compression-engine/index.js +4 -4
- package/dist/safe-bash-compression-engine/operand.js +5 -5
- package/dist/safe-bash-compression-engine/stream.js +4 -4
- package/dist/safe-bash-compression-engine/zstd-decode.js +3 -3
- package/dist/safe-bash-contracts/escaping.js +2 -2
- package/dist/safe-bash-contracts/index.js +15 -15
- package/dist/safe-bash-docx-engine/admission.js +31 -0
- package/dist/safe-bash-docx-engine/ancillary-resources.js +38 -0
- package/dist/safe-bash-docx-engine/archive.js +24 -0
- package/dist/safe-bash-docx-engine/argument-json.js +25 -0
- package/dist/safe-bash-docx-engine/batch-operations.d.ts +7 -0
- package/dist/safe-bash-docx-engine/batch-operations.js +95 -0
- package/dist/safe-bash-docx-engine/batch-result-schema.d.ts +2 -0
- package/dist/safe-bash-docx-engine/batch-result-schema.js +145 -0
- package/dist/safe-bash-docx-engine/batch.js +106 -0
- package/dist/safe-bash-docx-engine/bookmarks.js +43 -0
- package/dist/safe-bash-docx-engine/budget.js +18 -0
- package/dist/safe-bash-docx-engine/charts.js +35 -0
- package/dist/safe-bash-docx-engine/command-option-rules.d.ts +1 -0
- package/dist/safe-bash-docx-engine/command-option-rules.js +24 -0
- package/dist/safe-bash-docx-engine/command-properties.d.ts +1 -0
- package/dist/safe-bash-docx-engine/command-properties.js +18 -0
- package/dist/safe-bash-docx-engine/command-selection.d.ts +1 -0
- package/dist/safe-bash-docx-engine/command-selection.js +15 -0
- package/dist/safe-bash-docx-engine/comments.js +53 -0
- package/dist/safe-bash-docx-engine/control-bindings.js +45 -0
- package/dist/safe-bash-docx-engine/control-repeat.js +46 -0
- package/dist/safe-bash-docx-engine/controls.js +52 -0
- package/dist/safe-bash-docx-engine/create.js +36 -0
- package/dist/safe-bash-docx-engine/diagrams.js +43 -0
- package/dist/safe-bash-docx-engine/diff.js +33 -0
- package/dist/safe-bash-docx-engine/discovery-result-schema.d.ts +72 -0
- package/dist/safe-bash-docx-engine/discovery-result-schema.js +36 -0
- package/dist/safe-bash-docx-engine/document-properties.js +43 -0
- package/dist/safe-bash-docx-engine/equations.js +53 -0
- package/dist/safe-bash-docx-engine/extract.js +40 -0
- package/dist/safe-bash-docx-engine/fields.js +48 -0
- package/dist/safe-bash-docx-engine/font-inventory.js +40 -0
- package/dist/safe-bash-docx-engine/font-resources.js +33 -0
- package/dist/safe-bash-docx-engine/image-batch-operations.d.ts +4 -0
- package/dist/safe-bash-docx-engine/image-batch-operations.js +35 -0
- package/dist/safe-bash-docx-engine/image-insertion.js +46 -0
- package/dist/safe-bash-docx-engine/image-layout.js +43 -0
- package/dist/safe-bash-docx-engine/image-replacement.js +48 -0
- package/dist/safe-bash-docx-engine/images.js +49 -0
- package/dist/safe-bash-docx-engine/index.d.ts +1 -3
- package/dist/safe-bash-docx-engine/index.js +369 -19350
- package/dist/safe-bash-docx-engine/inspection.js +49 -0
- package/dist/safe-bash-docx-engine/invocation.d.ts +50 -0
- package/dist/safe-bash-docx-engine/invocation.js +66 -0
- package/dist/safe-bash-docx-engine/io-errors.js +11 -0
- package/dist/safe-bash-docx-engine/io.js +29 -0
- package/dist/safe-bash-docx-engine/links.js +47 -0
- package/dist/safe-bash-docx-engine/lists.js +46 -0
- package/dist/safe-bash-docx-engine/location-token.js +27 -0
- package/dist/safe-bash-docx-engine/locations.js +39 -0
- package/dist/safe-bash-docx-engine/model-context.js +15 -0
- package/dist/safe-bash-docx-engine/model-errors.js +13 -0
- package/dist/safe-bash-docx-engine/notes.js +48 -0
- package/dist/safe-bash-docx-engine/objects.js +49 -0
- package/dist/safe-bash-docx-engine/operation-json-schema.js +21 -0
- package/dist/safe-bash-docx-engine/operation-schema.js +29 -0
- package/dist/safe-bash-docx-engine/pack-uri-batch-operations.d.ts +3 -0
- package/dist/safe-bash-docx-engine/pack-uri-batch-operations.js +15 -0
- package/dist/safe-bash-docx-engine/pack.js +38 -0
- package/dist/safe-bash-docx-engine/package-view-batch-operations.d.ts +4 -0
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +47 -0
- package/dist/safe-bash-docx-engine/package-xml.js +25 -0
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +55 -6
- package/dist/safe-bash-docx-engine/paragraph-edit.js +52 -0
- package/dist/safe-bash-docx-engine/part-provider.js +18 -0
- package/dist/safe-bash-docx-engine/property-values.js +46 -0
- package/dist/safe-bash-docx-engine/publication.js +40 -0
- package/dist/safe-bash-docx-engine/removal.js +44 -0
- package/dist/safe-bash-docx-engine/revision-decisions.js +46 -0
- package/dist/safe-bash-docx-engine/revision-edit.js +43 -0
- package/dist/safe-bash-docx-engine/revisions.js +42 -0
- package/dist/safe-bash-docx-engine/run-format.js +43 -0
- package/dist/safe-bash-docx-engine/sanitize.js +59 -0
- package/dist/safe-bash-docx-engine/sections.js +47 -0
- package/dist/safe-bash-docx-engine/settings.js +36 -0
- package/dist/safe-bash-docx-engine/shape-edit.js +47 -0
- package/dist/safe-bash-docx-engine/signatures.js +42 -0
- package/dist/safe-bash-docx-engine/simple-selection.d.ts +1 -1
- package/dist/safe-bash-docx-engine/stories.js +48 -0
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.d.ts +3 -0
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +64 -0
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +57 -0
- package/dist/safe-bash-docx-engine/style-model-result-schema.d.ts +4 -0
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +76 -0
- package/dist/safe-bash-docx-engine/styles.js +44 -0
- package/dist/safe-bash-docx-engine/table-edit.js +52 -0
- package/dist/safe-bash-docx-engine/table-read.js +38 -0
- package/dist/safe-bash-docx-engine/template.js +45 -0
- package/dist/safe-bash-docx-engine/text-replace.js +47 -0
- package/dist/safe-bash-docx-engine/text-resource-read.js +42 -0
- package/dist/safe-bash-docx-engine/text.js +36 -0
- package/dist/safe-bash-docx-engine/validation.js +30 -0
- package/dist/safe-bash-docx-engine/xml-parts.js +48 -0
- package/dist/safe-bash-markdown-engine/index.js +3 -3
- package/dist/safe-bash-network-engine/aggregate.js +3 -3
- package/dist/safe-bash-network-engine/args.js +3 -3
- package/dist/safe-bash-network-engine/body.js +4 -4
- package/dist/safe-bash-network-engine/decode.js +3 -3
- package/dist/safe-bash-network-engine/fetch-transport.js +3 -3
- package/dist/safe-bash-network-engine/index.js +3 -3
- package/dist/safe-bash-network-engine/output.js +3 -3
- package/dist/safe-bash-network-engine/platform-portable.js +3 -3
- package/dist/safe-bash-network-engine/shared.js +2 -2
- package/dist/safe-bash-network-engine/transfer.js +20 -20
- package/dist/safe-bash-pptx-engine/bytes.d.ts +1 -4
- package/dist/safe-bash-pptx-engine/bytes.js +2 -11
- package/dist/safe-bash-pptx-engine/index.d.ts +1 -103
- package/dist/safe-bash-pptx-engine/index.js +1 -662
- package/dist/safe-bash-presentation-engine/LICENSE +21 -0
- package/dist/safe-bash-presentation-engine/accessibility.js +43 -0
- package/dist/safe-bash-presentation-engine/animation-editing.js +29 -0
- package/dist/safe-bash-presentation-engine/animations.js +23 -0
- package/dist/safe-bash-presentation-engine/backgrounds.js +26 -0
- package/dist/safe-bash-presentation-engine/bytes.d.ts +4 -0
- package/dist/safe-bash-presentation-engine/bytes.js +13 -0
- package/dist/safe-bash-presentation-engine/chart-editing.js +60 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-enums.d.ts +2 -2
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-object-operations.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +35 -0
- package/dist/safe-bash-presentation-engine/charts.js +41 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/color-enums.d.ts +5 -5
- package/dist/safe-bash-presentation-engine/command-placeholder.js +64 -0
- package/dist/safe-bash-presentation-engine/comments.js +32 -0
- package/dist/safe-bash-presentation-engine/connector-operations.js +50 -0
- package/dist/safe-bash-presentation-engine/connectors.js +49 -0
- package/dist/safe-bash-presentation-engine/content-types.js +9 -0
- package/dist/safe-bash-presentation-engine/contracts.js +0 -0
- package/dist/safe-bash-presentation-engine/creation.js +15 -0
- package/dist/safe-bash-presentation-engine/diff.js +40 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-enums.d.ts +20 -20
- package/dist/safe-bash-presentation-engine/drawing-format.js +44 -0
- package/dist/safe-bash-presentation-engine/drawing-operations.js +41 -0
- package/dist/safe-bash-presentation-engine/drawing-schema.d.ts +1549 -0
- package/dist/safe-bash-presentation-engine/drawing-schema.js +33 -0
- package/dist/safe-bash-presentation-engine/equations.js +30 -0
- package/dist/safe-bash-presentation-engine/errors.js +23 -0
- package/dist/safe-bash-presentation-engine/fields.js +32 -0
- package/dist/safe-bash-presentation-engine/font-metrics.js +12 -0
- package/dist/safe-bash-presentation-engine/image-extraction.js +29 -0
- package/dist/safe-bash-presentation-engine/image-formatting.js +43 -0
- package/dist/safe-bash-presentation-engine/image-insertion.js +26 -0
- package/dist/safe-bash-presentation-engine/image-metadata.d.ts +9 -0
- package/dist/safe-bash-presentation-engine/image-metadata.js +9 -0
- package/dist/safe-bash-presentation-engine/image-replacement.js +30 -0
- package/dist/safe-bash-presentation-engine/image-value.js +15 -0
- package/dist/safe-bash-presentation-engine/images.js +30 -0
- package/dist/safe-bash-presentation-engine/index.d.ts +100 -0
- package/dist/safe-bash-presentation-engine/index.js +791 -0
- package/dist/safe-bash-presentation-engine/layouts.js +31 -0
- package/dist/safe-bash-presentation-engine/length.js +21 -0
- package/dist/safe-bash-presentation-engine/links.js +33 -0
- package/dist/safe-bash-presentation-engine/masters.js +54 -0
- package/dist/safe-bash-presentation-engine/media-editing.js +35 -0
- package/dist/safe-bash-presentation-engine/media-extraction.js +24 -0
- package/dist/safe-bash-presentation-engine/media.js +23 -0
- package/dist/safe-bash-presentation-engine/memberships.js +24 -0
- package/dist/safe-bash-presentation-engine/notes.js +27 -0
- package/dist/safe-bash-presentation-engine/ole-enum.js +10 -0
- package/dist/safe-bash-presentation-engine/ole-insertion.js +29 -0
- package/dist/safe-bash-presentation-engine/opaque-objects.js +21 -0
- package/dist/safe-bash-presentation-engine/package-reader.js +13 -0
- package/dist/safe-bash-presentation-engine/package-tools.js +25 -0
- package/dist/safe-bash-presentation-engine/package-uri.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/package-uri.js +16 -0
- package/dist/safe-bash-presentation-engine/package-writer.js +13 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/presentation-model.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/presentation-model.js +63 -0
- package/dist/safe-bash-presentation-engine/presentation-settings.js +25 -0
- package/dist/safe-bash-presentation-engine/properties.js +37 -0
- package/dist/safe-bash-presentation-engine/publication.d.ts +10 -0
- package/dist/safe-bash-presentation-engine/publication.js +0 -0
- package/dist/safe-bash-presentation-engine/relationships.js +16 -0
- package/dist/safe-bash-presentation-engine/resource-limits.js +8 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +24 -0
- package/dist/safe-bash-presentation-engine/selector-schema.js +7 -0
- package/dist/safe-bash-presentation-engine/selectors.js +26 -0
- package/dist/safe-bash-presentation-engine/shape-groups.js +47 -0
- package/dist/safe-bash-presentation-engine/shape-operations.js +48 -0
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +44 -0
- package/dist/safe-bash-presentation-engine/shape-paths.js +31 -0
- package/dist/safe-bash-presentation-engine/shape-presets.js +11 -0
- package/dist/safe-bash-presentation-engine/shape-selection.js +43 -0
- package/dist/safe-bash-presentation-engine/shape-transforms.js +28 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-types.d.ts +1 -1
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shapes.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/shapes.js +66 -0
- package/dist/safe-bash-presentation-engine/slide-copy.js +24 -0
- package/dist/safe-bash-presentation-engine/slide-import.js +27 -0
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +33 -0
- package/dist/safe-bash-presentation-engine/slide-model.js +74 -0
- package/dist/safe-bash-presentation-engine/slide-removal.js +25 -0
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +17 -0
- package/dist/safe-bash-presentation-engine/slides.js +26 -0
- package/dist/safe-bash-presentation-engine/table-operations.js +51 -0
- package/dist/safe-bash-presentation-engine/table-spans.js +42 -0
- package/dist/safe-bash-presentation-engine/tables.js +45 -0
- package/dist/safe-bash-presentation-engine/tags.js +25 -0
- package/dist/safe-bash-presentation-engine/template-bindings.js +44 -0
- package/dist/safe-bash-presentation-engine/template-repeat.js +51 -0
- package/dist/safe-bash-presentation-engine/text-fitting.js +39 -0
- package/dist/safe-bash-presentation-engine/text-frames.js +52 -0
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +58 -0
- package/dist/safe-bash-presentation-engine/text-reading.js +23 -0
- package/dist/safe-bash-presentation-engine/text-replacement.js +24 -0
- package/dist/safe-bash-presentation-engine/text-runs.js +45 -0
- package/dist/safe-bash-presentation-engine/themes.js +31 -0
- package/dist/safe-bash-presentation-engine/transitions.js +27 -0
- package/dist/safe-bash-presentation-engine/validation.js +14 -0
- package/dist/safe-bash-presentation-engine/xml-parts.js +25 -0
- package/dist/safe-bash-presentation-engine/xml-view.js +8 -0
- package/dist/safe-bash-presentation-engine/xml.js +8 -0
- package/dist/safe-bash-sqlite-engine/sqlite-edit-snapshot.d.ts +15 -0
- package/dist/safe-bash-sqlite-engine/sqlite-finalization.d.ts +7 -0
- package/dist/safe-bash-sqlite-engine/sqlite-pages.d.ts +18 -0
- package/dist/safe-bash-sqlite-engine/sqlite-record-read.d.ts +8 -0
- package/dist/safe-bash-sqlite-engine/sqlite-record-write.d.ts +20 -0
- package/dist/safe-bash-sqlite-engine/storage.d.ts +2 -0
- package/dist/safe-bash-sqlite-engine/storage.js +236 -55
- package/dist/safe-bash-svg-engine/LICENSE +21 -0
- package/dist/safe-bash-svg-engine/index.d.ts +8 -0
- package/dist/safe-bash-svg-engine/index.js +477 -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 +55 -18
- package/dist/safe-playwright-cloudflare/browser-run-code-guest.generated.js +1 -1
- package/dist/spreadsheet-engine/datasource.js +4 -1
- package/dist/spreadsheet-engine/formulas/functions/math.js +3 -1
- package/dist/spreadsheet-engine/rendering/chart/axis.d.ts +26 -0
- package/dist/spreadsheet-engine/rendering/chart/axis.js +61 -0
- package/dist/spreadsheet-engine/rendering/chart/error-bar.d.ts +39 -0
- package/dist/spreadsheet-engine/rendering/chart/error-bar.js +59 -0
- package/dist/spreadsheet-engine/rendering/chart/layout.d.ts +24 -0
- package/dist/spreadsheet-engine/rendering/chart/layout.js +54 -0
- package/dist/spreadsheet-engine/rendering/chart/line.d.ts +23 -0
- package/dist/spreadsheet-engine/rendering/chart/line.js +56 -0
- package/dist/spreadsheet-engine/rendering/chart/marker.d.ts +35 -0
- package/dist/spreadsheet-engine/rendering/chart/marker.js +52 -0
- package/dist/spreadsheet-engine/rendering/chart/pie.d.ts +32 -0
- package/dist/spreadsheet-engine/rendering/chart/pie.js +47 -0
- package/dist/{safe-bash-command-ssconvert → spreadsheet-engine}/rendering/images/codecs.d.ts +0 -1
- package/dist/spreadsheet-engine/rendering/images/codecs.js +253 -0
- package/dist/spreadsheet-engine/rendering/images/index.d.ts +26 -0
- package/dist/spreadsheet-engine/rendering/images/index.js +144 -0
- package/dist/spreadsheet-engine/rendering/images/profile-raster.d.ts +4 -0
- package/dist/spreadsheet-engine/rendering/images/profile-raster.js +72 -0
- package/dist/spreadsheet-engine/rendering/images/scene.d.ts +3 -0
- package/dist/spreadsheet-engine/rendering/images/scene.js +34 -0
- package/dist/spreadsheet-engine/rendering/print/cell-style.d.ts +10 -0
- package/dist/spreadsheet-engine/rendering/print/cell-style.js +52 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization-data.d.ts +43 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization-data.js +1558 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization.d.ts +3 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization.js +113 -0
- package/dist/spreadsheet-engine/rendering/print/font-shaping.d.ts +18 -0
- package/dist/spreadsheet-engine/rendering/print/font-shaping.js +271 -0
- package/dist/spreadsheet-engine/rendering/print/harfbuzz/data.d.ts +1 -0
- package/dist/spreadsheet-engine/rendering/print/harfbuzz/data.js +2 -0
- package/dist/spreadsheet-engine/rendering/print/header-footer.d.ts +16 -0
- package/dist/spreadsheet-engine/rendering/print/header-footer.js +92 -0
- package/dist/spreadsheet-engine/rendering/print/layout.d.ts +65 -0
- package/dist/spreadsheet-engine/rendering/print/layout.js +75 -0
- package/dist/spreadsheet-engine/rendering/print/pagination.d.ts +34 -0
- package/dist/spreadsheet-engine/rendering/print/pagination.js +126 -0
- package/dist/spreadsheet-engine/rendering/print/settings.d.ts +42 -0
- package/dist/spreadsheet-engine/rendering/print/settings.js +159 -0
- package/dist/spreadsheet-format-xls/biff-metadata.js +3 -3
- package/dist/spreadsheet-format-xls/biff-write-metadata.d.ts +1 -1
- package/dist/spreadsheet-format-xls/biff-write-metadata.js +20 -3
- package/dist/spreadsheet-format-xls/biff-write.js +1 -1
- package/package.json +239 -12
- package/third-party/spreadsheet-engine/scripts/harfbuzz/README.md +39 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/allocator.cc +18 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/build.mjs +94 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/completion.patch +98 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/config-override.h +19 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/exports.json +29 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/sources.json +274 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.d.mts +10 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.mjs +96 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.test.mjs +60 -0
- package/third-party/spreadsheet-engine/src/rendering/images/NOTICE.md +22 -0
- package/third-party/spreadsheet-engine/src/rendering/print/NOTICE.md +30 -0
- package/third-party/spreadsheet-engine/src/rendering/print/font-normalization-NOTICE.md +64 -0
- package/third-party/spreadsheet-engine/src/rendering/print/font-normalization-data.ts +1558 -0
- package/third-party/spreadsheet-engine/src/rendering/print/font-normalization.ts +91 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/EMSCRIPTEN-LICENSE.txt +102 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/HARFBUZZ-LICENSE.txt +42 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/LIBCXX-LICENSE.txt +311 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/LIBCXXABI-LICENSE.txt +311 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/MUSL-LICENSE.txt +193 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/NOTICE.md +41 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/data.ts +2 -0
- package/dist/safe-bash/command-chunks/chunk-C5TUE2FE.js +0 -169
- package/dist/safe-bash/command-chunks/chunk-CVKW2YIC.js +0 -13631
- package/dist/safe-bash/command-chunks/chunk-JBGGUHQY.js +0 -17617
- package/dist/safe-bash/command-chunks/chunk-S4R2JDPL.js +0 -35
- package/dist/safe-bash/command-chunks/chunk-TU5IFVCX.js +0 -33708
- package/dist/safe-bash/command-chunks/chunk-TUWGIF22.js +0 -328
- package/dist/safe-bash/command-chunks/data-2FJOPYXA-PDKMLCGR.js +0 -8
- package/dist/safe-bash/command-chunks/index.browser-2NLML6H4.js +0 -269
- package/dist/safe-bash/command-chunks/model-store-EEI3QS4G.js +0 -10
- package/dist/safe-bash/command-chunks/pdf-M2GFAR2A-FCJMJCAP.js +0 -683
- package/dist/safe-bash-command-ssconvert/rendering/images/formats.d.ts +0 -2
- package/dist/safe-bash-docx-engine/command.d.ts +0 -65
- package/dist/safe-bash/chunks/{chunk-4T4RQYRI.js → chunk-5HRGBHZH.js} +10 -10
- package/dist/safe-bash/chunks/{chunk-QUS6X4MS.js → chunk-EOQMDRTY.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-2L3JKGUH.js → chunk-4LYZBDZF.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-EMMSXKEJ.js → chunk-4Q4R3VZU.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-5RLK2QSY.js → chunk-7JEIWA3A.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-AV6N7DDA.js → chunk-DDYPQAXN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OOB7YCFQ.js → chunk-FMJKCVSQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FUL2C4EX.js → chunk-HFKS6AET.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2M3WUEDX.js → chunk-J6K5Q53O.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-ATWMLV75.js → chunk-RJXZYDSN.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-JD3NSHFT.js → chunk-TVGIJ56E.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3I33KPQH.js → chunk-X2HVVMTW.js} +6 -6
- package/dist/safe-bash/command-chunks/{odf-UKSXPNOZ-NCL5P7YL.js → odf-UKSXPNOZ-BV2LCKTB.js} +0 -0
- package/dist/{safe-bash/command-chunks/chunk-3SVT5VB7.js → safe-bash-docx-engine/operation-types.js} +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/accessibility.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/animation-editing.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/animations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/backgrounds.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-data-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-editing.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-font-operations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-axes.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-core.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-series.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-objects.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-workbook.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/charts.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/command-placeholder.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/comments.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connector-operations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connectors-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connectors.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/content-types.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/contracts.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/creation.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/diagram-resources.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/diff.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-format.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-operations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/equations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/errors.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/fields.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/font-metrics.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/freeform-builder.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/group-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-extraction.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-formatting.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-insertion.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-replacement.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-value.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/images.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/inventory.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/language-enum.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/layouts.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/length.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/links-model.d.ts +4 -4
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/links.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/masters.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-editing.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-enum.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-extraction.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/memberships.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/modern-comments.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/notes.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/ole-enum.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/ole-insertion.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/opaque-objects.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-reader.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-tools.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-view.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-writer.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/paragraph-alignment.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/presentation-settings.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/properties.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/relationships.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/resource-limits.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/sanitize.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/selector-schema.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/selectors.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-adjustments.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-groups.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-operations.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-path-operations.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-paths.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-placeholder-types.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-presets.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-selection.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-transforms.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-copy.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-import.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-layout-model.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-merge-split.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-model.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-removal.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-transfer-budget.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slides.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/table-operations.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/table-spans.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tables-model.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tables.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tags.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/template-bindings.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/template-repeat.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-fitting.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-frame-enums.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-frames.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-paragraphs.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-reading.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-replacement.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-run-color.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-runs.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-style-resolution.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/themes.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/transitions.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/validation.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml-parts.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml-view.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml.d.ts +0 -0
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
import {
|
|
2
|
+
styleFontFlags
|
|
3
|
+
} from "./chunk-M57GLLK4.js";
|
|
4
|
+
|
|
5
|
+
// packages/safe-bash-docx-engine/src/discovery-result-schema.ts
|
|
6
|
+
var string = { type: "string" };
|
|
7
|
+
var strings = { type: "array", items: string };
|
|
8
|
+
var empty = { type: "array", maxItems: 0 };
|
|
9
|
+
function object(properties) {
|
|
10
|
+
return { type: "object", properties, required: Object.keys(properties), additionalProperties: false };
|
|
11
|
+
}
|
|
12
|
+
function result(operation, data) {
|
|
13
|
+
return { oneOf: [object({
|
|
14
|
+
version: { const: 1 },
|
|
15
|
+
operation: { const: operation },
|
|
16
|
+
ok: { const: true },
|
|
17
|
+
data,
|
|
18
|
+
warnings: empty,
|
|
19
|
+
errors: empty,
|
|
20
|
+
affected: { const: 0 },
|
|
21
|
+
locations: empty
|
|
22
|
+
}), discoveryFailureSchema(operation)] };
|
|
23
|
+
}
|
|
24
|
+
function discoveryFailureSchema(operation) {
|
|
25
|
+
return object({
|
|
26
|
+
version: { const: 1 },
|
|
27
|
+
operation: { const: operation },
|
|
28
|
+
ok: { const: false },
|
|
29
|
+
data: { type: "null" },
|
|
30
|
+
warnings: empty,
|
|
31
|
+
errors: { type: "array", minItems: 1, items: object({
|
|
32
|
+
code: { enum: [
|
|
33
|
+
"usage",
|
|
34
|
+
"limit-exceeded",
|
|
35
|
+
"source-failure",
|
|
36
|
+
"sink-failure",
|
|
37
|
+
"cancelled",
|
|
38
|
+
"unsupported-profile",
|
|
39
|
+
...operation === "capabilities" ? ["invalid-container", "invalid-xml", "invalid-package", "permission"] : []
|
|
40
|
+
] },
|
|
41
|
+
message: string
|
|
42
|
+
}) },
|
|
43
|
+
affected: { const: 0 },
|
|
44
|
+
locations: empty
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
var discoveryResultSchemas = {
|
|
48
|
+
help: result("help", object({ name: { const: "docx" }, paths: { type: "array", items: object({
|
|
49
|
+
path: strings,
|
|
50
|
+
usage: string,
|
|
51
|
+
description: string,
|
|
52
|
+
operationIds: strings
|
|
53
|
+
}) } })),
|
|
54
|
+
schema: result("schema", object({ schemaVersion: { const: 1 }, validationProfiles: { type: "array", items: { type: "object" } }, operations: { type: "array", items: object({
|
|
55
|
+
id: string,
|
|
56
|
+
path: strings,
|
|
57
|
+
input: { type: "object" },
|
|
58
|
+
result: { type: "object" },
|
|
59
|
+
featureIds: strings,
|
|
60
|
+
support: { enum: ["edit", "read", "preserve", "reject"] }
|
|
61
|
+
}) } })),
|
|
62
|
+
capabilities: result("capabilities", object({ input: { oneOf: [{ type: "null" }, object({ signed: { type: "boolean" }, protected: { type: "boolean" }, unsupportedNamespaces: strings, unsupportedOperations: strings })] }, features: { type: "array", items: object({ id: string, operationIds: strings, level: { enum: ["read", "edit", "preserve", "reject"] }, subsets: { type: "array", items: object({ name: string, level: { enum: ["read", "edit", "preserve", "reject"] }, reason: string }) }, detected: { oneOf: [{ type: "boolean" }, { type: "null" }] } }) }, host: object({
|
|
63
|
+
read: { type: "boolean" },
|
|
64
|
+
atomicReplace: { type: "boolean" },
|
|
65
|
+
transactions: { type: "boolean" },
|
|
66
|
+
binaryStdout: { const: true }
|
|
67
|
+
}), validationProfiles: { type: "array", items: { type: "object" } }, limits: { type: "array", items: object({ name: string, ceiling: { type: "integer", minimum: 0 } }) } })),
|
|
68
|
+
version: result("version", object({ name: { const: "docx" }, version: string, schemaVersion: { const: 1 } }))
|
|
69
|
+
};
|
|
70
|
+
var number = { type: "integer", minimum: 0 };
|
|
71
|
+
var nullableString = { oneOf: [string, { type: "null" }] };
|
|
72
|
+
var boolean = { type: "boolean" };
|
|
73
|
+
var nullableBoolean = { oneOf: [boolean, { type: "null" }] };
|
|
74
|
+
var array = (items) => ({ type: "array", items });
|
|
75
|
+
var diagnostic = object({ code: string, message: string });
|
|
76
|
+
var failureDiagnostic = {
|
|
77
|
+
...object({
|
|
78
|
+
code: { enum: ["usage", "invalid-container", "invalid-xml", "invalid-package", "unsupported-profile", "unsupported-edit", "ambiguous-selection", "stale-selection", "missing-selection", "conflict", "limit-exceeded", "permission", "unsupported-publication", "source-failure", "sink-failure", "cancelled"] },
|
|
79
|
+
message: string,
|
|
80
|
+
location: string,
|
|
81
|
+
operationIndex: number,
|
|
82
|
+
candidates: strings,
|
|
83
|
+
truncated: boolean
|
|
84
|
+
}),
|
|
85
|
+
required: ["code", "message"]
|
|
86
|
+
};
|
|
87
|
+
var part = object({ name: string, contentType: string, bytes: number, sha256: string });
|
|
88
|
+
var reference = object({ owner: string, id: string, type: string, target: string, external: boolean });
|
|
89
|
+
var location = object({ kind: string, token: string, value: { type: "object" }, positions: { type: "object" } });
|
|
90
|
+
var resourcePartLocation = object({ kind: { const: "part" }, token: string, value: object({ version: { const: 1 }, sourceSha256: string, generation: number, part: string, story: string, path: { type: "array", maxItems: 0 }, range: { type: "null" } }), positions: object({}) });
|
|
91
|
+
var locatedDiagnostic = { ...object({ code: string, message: string, location: string }), required: ["code", "message"] };
|
|
92
|
+
var diagramIssue = object({ code: string, part: string, path: array(number), message: string });
|
|
93
|
+
var diagramRole = { enum: ["data", "layout", "style", "color", "drawing"] };
|
|
94
|
+
var diagramBinding = object({
|
|
95
|
+
role: diagramRole,
|
|
96
|
+
attribute: string,
|
|
97
|
+
relationshipId: nullableString,
|
|
98
|
+
reference: { oneOf: [reference, { type: "null" }] },
|
|
99
|
+
status: { enum: ["internal", "external", "missing-id", "missing-relationship", "wrong-relationship-type", "wrong-resource-type", "opaque"] },
|
|
100
|
+
target: { oneOf: [part, { type: "null" }] },
|
|
101
|
+
issues: array(diagramIssue)
|
|
102
|
+
});
|
|
103
|
+
var diagramDetails = object({
|
|
104
|
+
kind: { const: "diagrams" },
|
|
105
|
+
parts: array(part),
|
|
106
|
+
roles: array(object({
|
|
107
|
+
role: diagramRole,
|
|
108
|
+
part: string,
|
|
109
|
+
evidence: { enum: ["content-type", "relationship", "both"] },
|
|
110
|
+
root: { oneOf: [object({ namespace: string, localName: string }), { type: "null" }] },
|
|
111
|
+
status: { enum: ["matching", "opaque"] }
|
|
112
|
+
})),
|
|
113
|
+
observations: array(object({
|
|
114
|
+
kind: { enum: ["relIds", "unknown-graphic", "extension"] },
|
|
115
|
+
part: string,
|
|
116
|
+
path: array(number),
|
|
117
|
+
namespace: string,
|
|
118
|
+
localName: string,
|
|
119
|
+
uri: nullableString,
|
|
120
|
+
active: boolean,
|
|
121
|
+
bindings: array(diagramBinding),
|
|
122
|
+
issues: array(diagramIssue)
|
|
123
|
+
})),
|
|
124
|
+
issues: array(diagramIssue)
|
|
125
|
+
});
|
|
126
|
+
var diagramRecord = object({
|
|
127
|
+
kind: { const: "diagrams" },
|
|
128
|
+
location: resourcePartLocation,
|
|
129
|
+
name: string,
|
|
130
|
+
properties: empty,
|
|
131
|
+
references: array(reference),
|
|
132
|
+
support: { const: "preserve" },
|
|
133
|
+
details: diagramDetails
|
|
134
|
+
});
|
|
135
|
+
var diagramOperationContracts = {
|
|
136
|
+
"diagrams.list": {
|
|
137
|
+
description: "Inventory package-global physical diagram role parts and eligible opaque graphics observations, including orphan parts and inactive alternatives. Preserve-only snapshots retain inert bindings and graph references. No layout activation, rendering, external acquisition or semantic editing. Utility batch execution and live diagram models remain unsupported.",
|
|
138
|
+
featureIds: ["F38"],
|
|
139
|
+
result: { oneOf: [
|
|
140
|
+
object({ version: { const: 1 }, operation: { const: "diagrams.list" }, ok: { const: true }, data: object({ items: array(diagramRecord) }), warnings: array(diagnostic), errors: empty, affected: { const: 0 }, locations: array(resourcePartLocation) }),
|
|
141
|
+
object({ version: { const: 1 }, operation: { const: "diagrams.list" }, ok: { const: false }, data: { type: "null" }, warnings: empty, errors: { type: "array", minItems: 1, items: diagnostic }, affected: { const: 0 }, locations: empty })
|
|
142
|
+
] }
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
var customXmlDetails = object({ kind: { const: "custom-xml" }, parts: array(part), root: { oneOf: [object({ namespace: string, localName: string }), { type: "null" }] }, storeItemId: nullableString, propertiesParts: strings, namespaces: array(object({ prefix: string, uri: string })), schemaReferences: strings });
|
|
146
|
+
var glossaryDetails = object({ kind: { const: "glossary" }, parts: array(part), buildingBlocks: array(object({ path: array(number), name: nullableString, guid: nullableString, category: nullableString, gallery: nullableString, types: strings, behaviors: strings })) });
|
|
147
|
+
var customXmlData = object({ items: array(object({ kind: { const: "custom-xml" }, location: resourcePartLocation, name: string, properties: empty, references: array(reference), support: { const: "preserve" }, details: customXmlDetails })) });
|
|
148
|
+
var glossaryData = object({ items: array(object({ kind: { const: "glossary" }, location: resourcePartLocation, name: string, properties: empty, references: array(reference), support: { const: "preserve" }, details: glossaryDetails })) });
|
|
149
|
+
var property = object({ name: string, type: { enum: ["string", "boolean", "integer", "number", "date"] }, value: { oneOf: [string, boolean, { type: "number" }, { type: "null" }] }, writable: boolean, cached: boolean, part: string, group: { enum: ["core", "extended", "custom"] } });
|
|
150
|
+
var fontResources = object({
|
|
151
|
+
themes: array(object({
|
|
152
|
+
part: string,
|
|
153
|
+
name: nullableString,
|
|
154
|
+
colors: array(object({ slot: string, kind: string, value: nullableString, lastColor: nullableString })),
|
|
155
|
+
fonts: array(object({ family: { enum: ["major", "minor"] }, slot: string, script: nullableString, typeface: nullableString }))
|
|
156
|
+
})),
|
|
157
|
+
fontTables: array(object({ part: string, fonts: array(object({
|
|
158
|
+
name: nullableString,
|
|
159
|
+
alternateName: nullableString,
|
|
160
|
+
charset: nullableString,
|
|
161
|
+
family: nullableString,
|
|
162
|
+
pitch: nullableString,
|
|
163
|
+
embedded: array(object({ kind: string, id: nullableString, fontKey: nullableString, subsetted: nullableString, target: nullableString, status: { enum: ["resolved", "invalid-font-reference"] } }))
|
|
164
|
+
})) })),
|
|
165
|
+
references: array(object({
|
|
166
|
+
part: string,
|
|
167
|
+
path: array(number),
|
|
168
|
+
attribute: string,
|
|
169
|
+
value: string,
|
|
170
|
+
resource: nullableString,
|
|
171
|
+
status: { enum: ["resolved", "missing-theme", "invalid-theme-reference", "missing-theme-slot"] }
|
|
172
|
+
})),
|
|
173
|
+
languages: array(object({ part: string, values: { type: "object", additionalProperties: string } })),
|
|
174
|
+
colorMappings: array(object({ part: string, values: { type: "object", additionalProperties: string } })),
|
|
175
|
+
diagnostics: array(object({ code: string, part: string, message: string })),
|
|
176
|
+
availability: { type: "null" },
|
|
177
|
+
licensing: { type: "null" },
|
|
178
|
+
embeddedFontMutation: { const: "unsupported" }
|
|
179
|
+
});
|
|
180
|
+
var inspectionData = object({
|
|
181
|
+
unsupportedNamespaces: strings,
|
|
182
|
+
fontResources,
|
|
183
|
+
kind: { enum: ["docx", "dotx"] },
|
|
184
|
+
dialect: { enum: ["strict", "transitional"] },
|
|
185
|
+
parts: array(part),
|
|
186
|
+
relationships: array(reference),
|
|
187
|
+
contentTypes: object({ defaults: array(object({ extension: string, contentType: string })), overrides: array(object({ name: string, contentType: string })) }),
|
|
188
|
+
stories: array(object({ kind: string, location, properties: array(property), references: array(reference), support: { const: "read" } })),
|
|
189
|
+
properties: array(property),
|
|
190
|
+
features: array(object({ id: string, level: { enum: ["read", "preserve"] }, subsets: array(object({ name: string, level: { enum: ["read", "preserve"] }, reason: string })), detected: boolean })),
|
|
191
|
+
counts: object({ ...Object.fromEntries(["paragraphs", "runs", "tables", "rows", "cells", "images", "sections", "comments", "footnotes", "endnotes", "fields", "controls", "equations"].map((name) => [name, number])), cachedPages: { oneOf: [number, { type: "null" }] } }),
|
|
192
|
+
sizes: object({ archiveBytes: number, expandedBytes: number, mediaBytes: number }),
|
|
193
|
+
signed: boolean,
|
|
194
|
+
protected: boolean,
|
|
195
|
+
pages: object({ rendered: { type: "null" }, cachedBreaks: number }),
|
|
196
|
+
fonts: object({ references: strings, themeReferences: strings, embedded: strings, installed: { type: "null" } }),
|
|
197
|
+
signatures: object({ parts: strings, verified: { type: "null" } }),
|
|
198
|
+
media: array(part),
|
|
199
|
+
annotations: array(object({ part: string, kind: string, id: nullableString, author: nullableString, date: nullableString })),
|
|
200
|
+
protection: array(object({ part: string, kind: string, enforced: nullableBoolean, edit: nullableString })),
|
|
201
|
+
warnings: array(diagnostic)
|
|
202
|
+
});
|
|
203
|
+
var validationData = object({ valid: boolean, profile: { const: "core-v1" }, checks: array(object({ id: string, status: { enum: ["passed", "failed", "unvalidated"] } })), diagnostics: array(object({ code: string, part: string, location: string, message: string })), warnings: strings });
|
|
204
|
+
var xmlData = object({ part: string, encoding: { enum: ["base64", "utf-8"] }, content: string, pretty: boolean, bytes: number, sha256: string });
|
|
205
|
+
var textResourceData = object({ item: object({
|
|
206
|
+
kind: { enum: ["paragraphs", "runs"] },
|
|
207
|
+
location,
|
|
208
|
+
text: string,
|
|
209
|
+
properties: array(object({ name: string, type: { enum: ["string", "boolean", "integer", "number"] }, value: { anyOf: [string, boolean, { type: "number" }, { type: "null" }] }, writable: boolean, cached: { const: false } })),
|
|
210
|
+
references: array(reference),
|
|
211
|
+
support: { const: "read" }
|
|
212
|
+
}) });
|
|
213
|
+
var mutationData = object({
|
|
214
|
+
changed: boolean,
|
|
215
|
+
changes: array(object({ kind: { const: "replace" }, before: location, after: location })),
|
|
216
|
+
output: { oneOf: [object({ path: nullableString, bytes: number, sha256: string }), { type: "null" }] },
|
|
217
|
+
dryRun: boolean
|
|
218
|
+
});
|
|
219
|
+
var equationLocation = object({ kind: { const: "part" }, token: string, value: object({ version: { const: 1 }, sourceSha256: string, generation: number, part: string, story: string, path: array(number), range: { type: "null" } }), positions: object({}) });
|
|
220
|
+
var equationIssue = object({ code: string, part: string, path: array(number), message: string });
|
|
221
|
+
var equationProperty = object({
|
|
222
|
+
scope: { enum: ["equation", "run", "argument", "display", "global"] },
|
|
223
|
+
part: string,
|
|
224
|
+
path: array(number),
|
|
225
|
+
namespace: string,
|
|
226
|
+
localName: string,
|
|
227
|
+
attributes: array(object({ namespace: string, localName: string, value: string })),
|
|
228
|
+
status: { enum: ["stored", "opaque"] },
|
|
229
|
+
issues: array(equationIssue)
|
|
230
|
+
});
|
|
231
|
+
var equationDetails = object({
|
|
232
|
+
kind: { const: "equations" },
|
|
233
|
+
mode: { enum: ["inline", "display"] },
|
|
234
|
+
ownerPart: string,
|
|
235
|
+
root: object({ namespace: string, localName: string }),
|
|
236
|
+
path: array(number),
|
|
237
|
+
mathPaths: array(array(number)),
|
|
238
|
+
active: boolean,
|
|
239
|
+
properties: array(equationProperty),
|
|
240
|
+
status: { enum: ["bounded", "opaque"] },
|
|
241
|
+
issues: array(equationIssue)
|
|
242
|
+
});
|
|
243
|
+
var equationRecord = object({ kind: { const: "equations" }, location: equationLocation, name: string, properties: empty, references: array(reference), support: { enum: ["edit", "preserve"] }, details: equationDetails });
|
|
244
|
+
var equationOperationContracts = Object.fromEntries(
|
|
245
|
+
["equations.list", "equations.add", "equations.replace"].map((id) => [id, {
|
|
246
|
+
description: id === "equations.list" ? "Read package-global physical outer OMML units and inert stored/global properties, including inactive and opaque storage. Explicit bounded fragment edits are separate; full math models, evaluation, layout, rendering and utility batch execution remain unsupported." : "Edit one explicit current whole-paragraph add or physical-unit replacement using a matching-dialect bounded OMML fragment. Preserve adjacent/inactive/opaque content; full schema, math models, evaluation, conversion, layout, rendering and utility batch execution remain unsupported.",
|
|
247
|
+
featureIds: ["F39"],
|
|
248
|
+
result: { oneOf: [
|
|
249
|
+
object({
|
|
250
|
+
version: { const: 1 },
|
|
251
|
+
operation: { const: id },
|
|
252
|
+
ok: { const: true },
|
|
253
|
+
data: id === "equations.list" ? object({ items: array(equationRecord), globalProperties: array(equationProperty) }) : object({ ...mutationData.properties, changes: { ...array(object({ kind: { const: id === "equations.add" ? "add" : "replace" }, before: location, after: equationLocation })), maxItems: 1 } }),
|
|
254
|
+
warnings: array(diagnostic),
|
|
255
|
+
errors: empty,
|
|
256
|
+
affected: id === "equations.list" ? { const: 0 } : { enum: [0, 1] },
|
|
257
|
+
locations: id === "equations.list" ? array(equationLocation) : { ...array(equationLocation), maxItems: 1 }
|
|
258
|
+
}),
|
|
259
|
+
object({ version: { const: 1 }, operation: { const: id }, ok: { const: false }, data: { type: "null" }, warnings: array(diagnostic), errors: { type: "array", minItems: 1, items: locatedDiagnostic }, affected: { const: 0 }, locations: array(location) })
|
|
260
|
+
] }
|
|
261
|
+
}])
|
|
262
|
+
);
|
|
263
|
+
var propertyValue = object({ name: string, type: { enum: ["string", "boolean", "integer", "number", "date"] }, value: { oneOf: [string, boolean, { type: "number" }, { type: "null" }] }, writable: boolean, cached: boolean });
|
|
264
|
+
var settingsData = object({ items: array(object({ kind: { const: "settings" }, location: resourcePartLocation, name: string, properties: array(propertyValue), references: array(reference), support: { enum: ["read", "preserve"] } })) });
|
|
265
|
+
var propertyRecord = { ...object({ kind: { const: "property" }, location: resourcePartLocation, name: string, properties: { type: "array", maxItems: 1, items: propertyValue }, references: array(reference), support: { enum: ["edit", "read", "preserve"] }, details: object({ kind: { const: "property" }, group: { enum: ["core", "extended", "custom"] }, storedType: { oneOf: [object({ namespace: string, localName: string }), { type: "null" }] }, id: nullableString }) }), required: ["kind", "location", "properties", "references", "support", "details"] };
|
|
266
|
+
var nullablePartLocation = { oneOf: [resourcePartLocation, { type: "null" }] };
|
|
267
|
+
var propertyMutationData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["add", "set", "remove", "replace"] }, before: nullablePartLocation, after: nullablePartLocation })) });
|
|
268
|
+
var imageNumber = { oneOf: [{ type: "number" }, { type: "null" }] };
|
|
269
|
+
var imagePosition = { oneOf: [object({ relativeFrom: nullableString, offsetEmu: { oneOf: [{ type: "integer" }, { type: "null" }] }, alignment: nullableString }), { type: "null" }] };
|
|
270
|
+
var imageDetails = object({
|
|
271
|
+
kind: { const: "images" },
|
|
272
|
+
part: nullableString,
|
|
273
|
+
mime: nullableString,
|
|
274
|
+
declaredMime: nullableString,
|
|
275
|
+
bytes: { oneOf: [number, { type: "null" }] },
|
|
276
|
+
sha256: nullableString,
|
|
277
|
+
pixelWidth: imageNumber,
|
|
278
|
+
pixelHeight: imageNumber,
|
|
279
|
+
widthEmu: imageNumber,
|
|
280
|
+
heightEmu: imageNumber,
|
|
281
|
+
placement: { oneOf: [{ enum: ["inline", "floating"] }, { type: "null" }] },
|
|
282
|
+
crop: { oneOf: [object({ left: { type: "number" }, right: { type: "number" }, top: { type: "number" }, bottom: { type: "number" } }), { type: "null" }] },
|
|
283
|
+
rotation: imageNumber,
|
|
284
|
+
flipHorizontal: nullableBoolean,
|
|
285
|
+
flipVertical: nullableBoolean,
|
|
286
|
+
wrap: { oneOf: [{ enum: ["none", "square", "tight", "through", "top-bottom"] }, { type: "null" }] },
|
|
287
|
+
zOrder: imageNumber,
|
|
288
|
+
horizontalPosition: imagePosition,
|
|
289
|
+
verticalPosition: imagePosition,
|
|
290
|
+
alt: nullableString,
|
|
291
|
+
decorative: nullableBoolean,
|
|
292
|
+
wrapText: { oneOf: [{ enum: ["bothSides", "left", "right", "largest"] }, { type: "null" }] },
|
|
293
|
+
wrapPolygon: { oneOf: [object({ start: object({ x: { type: "integer", minimum: -27273042329600, maximum: 27273042316900 }, y: { type: "integer", minimum: -27273042329600, maximum: 27273042316900 } }), lineTo: { type: "array", minItems: 2, items: object({ x: { type: "integer", minimum: -27273042329600, maximum: 27273042316900 }, y: { type: "integer", minimum: -27273042329600, maximum: 27273042316900 } }) } }), { type: "null" }] },
|
|
294
|
+
distances: { oneOf: [object({ top: imageNumber, bottom: imageNumber, left: imageNumber, right: imageNumber }), { type: "null" }] },
|
|
295
|
+
allowOverlap: nullableBoolean,
|
|
296
|
+
behindText: nullableBoolean,
|
|
297
|
+
lockAspect: nullableBoolean,
|
|
298
|
+
owners: array(location),
|
|
299
|
+
fallbackPart: nullableString,
|
|
300
|
+
alternateParts: strings,
|
|
301
|
+
linked: boolean
|
|
302
|
+
});
|
|
303
|
+
var imageRecord = { ...object({
|
|
304
|
+
kind: { const: "images" },
|
|
305
|
+
location,
|
|
306
|
+
name: string,
|
|
307
|
+
properties: empty,
|
|
308
|
+
references: array(reference),
|
|
309
|
+
support: { enum: ["read", "preserve"] },
|
|
310
|
+
details: imageDetails
|
|
311
|
+
}), required: ["kind", "location", "properties", "references", "support", "details"] };
|
|
312
|
+
var imageExtractionData = object({
|
|
313
|
+
complete: boolean,
|
|
314
|
+
inventory: { type: "null" },
|
|
315
|
+
manifest: { oneOf: [object({ path: string, bytes: number, sha256: string, published: boolean }), { type: "null" }] },
|
|
316
|
+
entries: array(object({ path: string, part: string, bytes: number, sha256: string, locations: array(location), published: boolean }))
|
|
317
|
+
});
|
|
318
|
+
var rasterReplacementOperationContracts = {
|
|
319
|
+
"images.replace": {
|
|
320
|
+
description: "Replace one embedded raster image; explicit shared intent replaces its shared media resource and preserves drawing properties.",
|
|
321
|
+
featureIds: ["F32", "F35"],
|
|
322
|
+
result: { oneOf: [object({
|
|
323
|
+
version: { const: 1 },
|
|
324
|
+
operation: { const: "images.replace" },
|
|
325
|
+
ok: { const: true },
|
|
326
|
+
data: object({ ...mutationData.properties, changes: array(object({ kind: { const: "replace" }, before: location, after: location })) }),
|
|
327
|
+
warnings: empty,
|
|
328
|
+
errors: empty,
|
|
329
|
+
affected: number,
|
|
330
|
+
locations: array(location)
|
|
331
|
+
}), object({
|
|
332
|
+
version: { const: 1 },
|
|
333
|
+
operation: { const: "images.replace" },
|
|
334
|
+
ok: { const: false },
|
|
335
|
+
data: { type: "null" },
|
|
336
|
+
warnings: empty,
|
|
337
|
+
errors: array(diagnostic),
|
|
338
|
+
affected: { const: 0 },
|
|
339
|
+
locations: empty
|
|
340
|
+
})] }
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
var imageLayoutOperationContracts = {
|
|
344
|
+
"images.set": {
|
|
345
|
+
description: "Edit admitted stored native picture layout and metadata; preserve media and owner-local relationships exactly.",
|
|
346
|
+
featureIds: ["F33"],
|
|
347
|
+
result: { oneOf: [object({
|
|
348
|
+
version: { const: 1 },
|
|
349
|
+
operation: { const: "images.set" },
|
|
350
|
+
ok: { const: true },
|
|
351
|
+
data: object({ ...mutationData.properties, changes: array(object({ kind: { const: "set" }, before: location, after: location })) }),
|
|
352
|
+
warnings: empty,
|
|
353
|
+
errors: empty,
|
|
354
|
+
affected: number,
|
|
355
|
+
locations: array(location)
|
|
356
|
+
}), object({
|
|
357
|
+
version: { const: 1 },
|
|
358
|
+
operation: { const: "images.set" },
|
|
359
|
+
ok: { const: false },
|
|
360
|
+
data: { type: "null" },
|
|
361
|
+
warnings: empty,
|
|
362
|
+
errors: array(diagnostic),
|
|
363
|
+
affected: { const: 0 },
|
|
364
|
+
locations: empty
|
|
365
|
+
})] }
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
var shapeDetails = object({
|
|
369
|
+
representation: { enum: ["native", "office", "vml"] },
|
|
370
|
+
kind: { enum: ["shape", "group"] },
|
|
371
|
+
containingGroup: { oneOf: [location, { type: "null" }] },
|
|
372
|
+
textBoxStories: array(location),
|
|
373
|
+
ownerPart: string,
|
|
374
|
+
sectionReferences: array(object({ section: number, variant: { enum: ["default", "first", "even"] }, story: string, part: string })),
|
|
375
|
+
editSupport: { enum: ["supported", "unsupported"] },
|
|
376
|
+
refusalReasons: strings,
|
|
377
|
+
watermarkEvidence: strings
|
|
378
|
+
});
|
|
379
|
+
var shapeRecord = {
|
|
380
|
+
...object({
|
|
381
|
+
kind: { const: "shape" },
|
|
382
|
+
location,
|
|
383
|
+
name: string,
|
|
384
|
+
properties: empty,
|
|
385
|
+
references: array(reference),
|
|
386
|
+
support: { enum: ["edit", "preserve"] },
|
|
387
|
+
details: shapeDetails
|
|
388
|
+
}),
|
|
389
|
+
required: ["kind", "location", "properties", "references", "support", "details"]
|
|
390
|
+
};
|
|
391
|
+
var shapeOperationContracts = Object.fromEntries([
|
|
392
|
+
["shapes.list", "Inventory active native, Office and VML shapes and groups in story order, retaining carrier hierarchy, text-box story owners and physical section references. Stored watermark-like evidence is not rendering or visibility. Inactive MCE alternatives remain preservation evidence.", object({ items: array(shapeRecord) })],
|
|
393
|
+
["shapes.set", "Replace the whole text of an admitted simple ungrouped text box, preserving paragraph properties and shape geometry while replacing run formatting. Explicit shape/token/all selection; nested, linked, opaque and shared-header edits reject. Utility batch and geometry models remain unsupported.", mutationData]
|
|
394
|
+
].map(([id, description, data]) => [id, { description, featureIds: ["F36"], result: { oneOf: [
|
|
395
|
+
object({
|
|
396
|
+
version: { const: 1 },
|
|
397
|
+
operation: { const: id },
|
|
398
|
+
ok: { const: true },
|
|
399
|
+
data,
|
|
400
|
+
warnings: id === "shapes.list" ? array(diagnostic) : empty,
|
|
401
|
+
errors: empty,
|
|
402
|
+
affected: id === "shapes.list" ? { const: 0 } : number,
|
|
403
|
+
locations: array(location)
|
|
404
|
+
}),
|
|
405
|
+
object({
|
|
406
|
+
version: { const: 1 },
|
|
407
|
+
operation: { const: id },
|
|
408
|
+
ok: { const: false },
|
|
409
|
+
data: { type: "null" },
|
|
410
|
+
warnings: empty,
|
|
411
|
+
errors: { type: "array", minItems: 1, items: diagnostic },
|
|
412
|
+
affected: { const: 0 },
|
|
413
|
+
locations: empty
|
|
414
|
+
})
|
|
415
|
+
] } }]));
|
|
416
|
+
var chartPath = array(number);
|
|
417
|
+
var chartIssue = object({ code: string, part: string, path: chartPath, message: string });
|
|
418
|
+
var chartPoint = object({ path: chartPath, index: nullableString, values: array(nullableString), issues: array(chartIssue) });
|
|
419
|
+
var chartCache = object({
|
|
420
|
+
kind: { enum: ["string", "numeric", "multilevel-string"] },
|
|
421
|
+
path: chartPath,
|
|
422
|
+
cached: boolean,
|
|
423
|
+
freshness: { enum: ["unknown", null] },
|
|
424
|
+
counts: array(nullableString),
|
|
425
|
+
formatCodes: array(nullableString),
|
|
426
|
+
points: array(chartPoint),
|
|
427
|
+
levels: array(object({ path: chartPath, points: array(chartPoint) })),
|
|
428
|
+
issues: array(chartIssue)
|
|
429
|
+
});
|
|
430
|
+
var chartSource = object({
|
|
431
|
+
role: { enum: ["label", "category", "value", "x", "y", "bubble"] },
|
|
432
|
+
namespace: string,
|
|
433
|
+
localName: string,
|
|
434
|
+
path: chartPath,
|
|
435
|
+
kind: { enum: ["literal", "reference", "opaque"] },
|
|
436
|
+
literals: array(nullableString),
|
|
437
|
+
formulas: array(nullableString),
|
|
438
|
+
caches: array(chartCache),
|
|
439
|
+
issues: array(chartIssue)
|
|
440
|
+
});
|
|
441
|
+
var chartSeries = object({
|
|
442
|
+
group: number,
|
|
443
|
+
path: chartPath,
|
|
444
|
+
indices: array(nullableString),
|
|
445
|
+
orders: array(nullableString),
|
|
446
|
+
name: nullableString,
|
|
447
|
+
label: object({ provenance: { enum: ["literal", "cached", "missing", "ambiguous", "opaque"] } }),
|
|
448
|
+
cachedValues: array(nullableString),
|
|
449
|
+
sources: array(chartSource),
|
|
450
|
+
issues: array(chartIssue)
|
|
451
|
+
});
|
|
452
|
+
var chartBinding = object({
|
|
453
|
+
role: { enum: ["workbook", "style", "color"] },
|
|
454
|
+
relationshipId: nullableString,
|
|
455
|
+
reference: { oneOf: [reference, { type: "null" }] },
|
|
456
|
+
status: { enum: ["internal", "external", "missing-id", "missing-relationship", "wrong-relationship-type", "wrong-resource-type", "opaque"] },
|
|
457
|
+
target: { oneOf: [part, { type: "null" }] },
|
|
458
|
+
issues: array(chartIssue)
|
|
459
|
+
});
|
|
460
|
+
var chartDetails = object({
|
|
461
|
+
kind: { const: "charts" },
|
|
462
|
+
definition: part,
|
|
463
|
+
root: object({ namespace: string, localName: string }),
|
|
464
|
+
status: { enum: ["decoded", "opaque"] },
|
|
465
|
+
chartType: nullableString,
|
|
466
|
+
chartTypes: strings,
|
|
467
|
+
plotGroups: array(object({ type: string, path: chartPath })),
|
|
468
|
+
series: array(chartSeries),
|
|
469
|
+
externalData: array(object({ path: chartPath, relationshipId: nullableString, autoUpdate: array(nullableString), binding: chartBinding })),
|
|
470
|
+
workbookParts: strings,
|
|
471
|
+
resources: array(chartBinding),
|
|
472
|
+
graphParts: array(part),
|
|
473
|
+
issues: array(chartIssue)
|
|
474
|
+
});
|
|
475
|
+
var chartRecord = object({
|
|
476
|
+
kind: { const: "charts" },
|
|
477
|
+
location: resourcePartLocation,
|
|
478
|
+
name: string,
|
|
479
|
+
properties: empty,
|
|
480
|
+
references: array(reference),
|
|
481
|
+
support: { enum: ["read", "preserve"] },
|
|
482
|
+
details: chartDetails
|
|
483
|
+
});
|
|
484
|
+
var chartOperationContracts = {
|
|
485
|
+
"charts.list": {
|
|
486
|
+
description: "Read package-wide physical chart definitions once in canonical part order, including unreferenced and opaque parts. Report inert workbook/style/color bindings, grouped sources and indexed cached values with unknown freshness. No selected drawing visibility, formula evaluation, rendering or external refresh. Direct utility inventory is supported; utility batch execution and live chart/workbook models remain unsupported.",
|
|
487
|
+
featureIds: ["F37"],
|
|
488
|
+
result: { oneOf: [
|
|
489
|
+
object({
|
|
490
|
+
version: { const: 1 },
|
|
491
|
+
operation: { const: "charts.list" },
|
|
492
|
+
ok: { const: true },
|
|
493
|
+
data: object({ items: array(chartRecord) }),
|
|
494
|
+
warnings: array(diagnostic),
|
|
495
|
+
errors: empty,
|
|
496
|
+
affected: { const: 0 },
|
|
497
|
+
locations: array(resourcePartLocation)
|
|
498
|
+
}),
|
|
499
|
+
object({
|
|
500
|
+
version: { const: 1 },
|
|
501
|
+
operation: { const: "charts.list" },
|
|
502
|
+
ok: { const: false },
|
|
503
|
+
data: { type: "null" },
|
|
504
|
+
warnings: empty,
|
|
505
|
+
errors: { type: "array", minItems: 1, items: diagnostic },
|
|
506
|
+
affected: { const: 0 },
|
|
507
|
+
locations: empty
|
|
508
|
+
})
|
|
509
|
+
] }
|
|
510
|
+
}
|
|
511
|
+
};
|
|
512
|
+
var rasterInsertionOperationContracts = {
|
|
513
|
+
"images.add": {
|
|
514
|
+
description: "Insert admitted PNG/JPEG or static safe SVG with an explicit validated PNG/JPEG/GIF/BMP/TIFF fallback inline into one paragraph or a new trailing container paragraph; no rasterization or rendering is performed.",
|
|
515
|
+
featureIds: ["F06", "F08", "F11", "F12", "F31", "F32", "F35"],
|
|
516
|
+
result: { oneOf: [
|
|
517
|
+
object({
|
|
518
|
+
version: { const: 1 },
|
|
519
|
+
operation: { const: "images.add" },
|
|
520
|
+
ok: { const: true },
|
|
521
|
+
data: object({ ...mutationData.properties, changes: { ...array(object({ kind: { const: "add" }, before: location, after: location })), minItems: 0, maxItems: 1 } }),
|
|
522
|
+
warnings: array(diagnostic),
|
|
523
|
+
errors: empty,
|
|
524
|
+
affected: { enum: [0, 1] },
|
|
525
|
+
locations: { ...array(location), minItems: 0, maxItems: 1 }
|
|
526
|
+
}),
|
|
527
|
+
object({ version: { const: 1 }, operation: { const: "images.add" }, ok: { const: false }, data: { type: "null" }, warnings: array(diagnostic), errors: { type: "array", minItems: 1, items: diagnostic }, affected: { const: 0 }, locations: empty })
|
|
528
|
+
] }
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
var imageOperationContracts = Object.fromEntries([
|
|
532
|
+
["images.list", "Inventory selected drawing occurrences and exact owner-local references, separate from shared media. Unique groups only selected owners by byte hash; first selected occurrence supplies representative geometry. Missing or opaque metadata reads null; external links remain inert. No render, pixel decoding or native-size parity.", object({ items: array(imageRecord) })],
|
|
533
|
+
["images.get", "Inspect one selected drawing occurrence with nullable stored metadata, relationships and exact admitted media identity. Shared bytes do not conflate occurrence-local layout. No rendering, linked acquisition or live image model is implied.", object({ item: imageRecord })],
|
|
534
|
+
["images.extract", "Extract exact original admitted image bytes and deterministic manifest.json through explicit output-dir VFS authority. Opaque bytes use .bin, never document names. External or unresolved resources skip with warnings and complete false. Manifest counts as an output: one image has two outputs and requires allow-partial-output on the current nontransactional VFS. Preflight all destinations; report actual publication without rollback promises.", imageExtractionData]
|
|
535
|
+
].map(([id, description, data]) => [id, { description, featureIds: id === "images.list" ? ["F31", "F34", "F35"] : id === "images.get" ? ["F31", "F33"] : ["F31", "F34"], result: { oneOf: [object({ version: { const: 1 }, operation: { const: id }, ok: { const: true }, data, warnings: array(diagnostic), errors: empty, affected: { const: 0 }, locations: array(location) }), object({ version: { const: 1 }, operation: { const: id }, ok: { const: false }, data: id === "images.extract" ? { oneOf: [{ type: "null" }, object({ ...imageExtractionData.properties, complete: { const: false } })] } : { type: "null" }, warnings: array(diagnostic), errors: { type: "array", minItems: 1, items: diagnostic }, affected: { const: 0 }, locations: id === "images.extract" ? array(location) : empty })] } }]));
|
|
536
|
+
var propertyOperationContracts = Object.fromEntries([
|
|
537
|
+
["properties.list", "Inventory declared core, extended and custom metadata without creating missing parts. Qualified core:/extended:/custom: names identify exact stored keys; opaque and invalid values remain preserve-only without a content dump. Cached counts are stored metadata, never recalculated.", object({ items: array(propertyRecord) })],
|
|
538
|
+
["properties.get", "Read one exact core:/extended:/custom: property name, or an unqualified name when admitted stored names are unambiguous. Missing names and ambiguous ownership reject. UTC utility dates are whole-second strings; cached values remain read-only and opaque data has no guessed scalar type.", object({ item: propertyRecord })],
|
|
539
|
+
["properties.set", "Set one exact core:/extended:/custom: property name. New custom names require --type string|boolean|integer|number|date; existing declarations determine the type. Empty string, false and zero are values; null rejects. Utility dates require explicit UTC instant strings and drop fractional seconds. Core text is bounded to 255 Unicode scalars; revision is positive safe integer. Cached, opaque, invalid or ambiguous properties reject. Preserve unrelated timestamps, cached counts, custom variants and IDs; no live model API is implied.", propertyMutationData],
|
|
540
|
+
["properties.remove", "Remove only one exact supported core:/extended:/custom: property name. Cached, opaque, invalid and ambiguous metadata rejects. Retain the empty part and its relationship; missing selection rejects unless --allow-empty explicitly requests an unchanged result. Preserve unrelated timestamps, counts and custom IDs.", propertyMutationData]
|
|
541
|
+
].map(([id, description, data]) => [id, { description, result: { oneOf: [object({ version: { const: 1 }, operation: { const: id }, ok: { const: true }, data, warnings: array(diagnostic), errors: empty, affected: id === "properties.list" || id === "properties.get" ? { const: 0 } : number, locations: array(resourcePartLocation) }), object({ version: { const: 1 }, operation: { const: id }, ok: { const: false }, data: { type: "null" }, warnings: array(diagnostic), errors: { type: "array", minItems: 1, items: diagnostic }, affected: { const: 0 }, locations: empty })] } }]));
|
|
542
|
+
var runFormatData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["format", "replace"] }, before: location, after: location })) });
|
|
543
|
+
var contentRemovalData = object({ ...mutationData.properties, changes: array(object({ kind: { const: "remove" }, before: location, after: { oneOf: [location, { type: "null" }] } })) });
|
|
544
|
+
var paragraphEditData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["format", "replace", "insert"] }, before: location, after: location })) });
|
|
545
|
+
var tableEditData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["format", "replace", "insert", "delete"] }, before: location, after: location })) });
|
|
546
|
+
var tableDetails = object({
|
|
547
|
+
kind: { const: "tables" },
|
|
548
|
+
rows: number,
|
|
549
|
+
columns: number,
|
|
550
|
+
cells: array(object({ row: number, column: number, rowSpan: number, columnSpan: number, location, text: string })),
|
|
551
|
+
omitted: array(object({ row: number, before: number, after: number }))
|
|
552
|
+
});
|
|
553
|
+
var tableReadRecord = object({ kind: { const: "tables" }, location, properties: empty, references: empty, support: { const: "read" }, details: tableDetails });
|
|
554
|
+
var tableReadData = object({ item: tableReadRecord });
|
|
555
|
+
var revisionInfo = object({
|
|
556
|
+
id: nullableString,
|
|
557
|
+
author: nullableString,
|
|
558
|
+
timestamp: nullableString,
|
|
559
|
+
markup: string,
|
|
560
|
+
namespace: string,
|
|
561
|
+
name: nullableString,
|
|
562
|
+
type: { enum: ["insert", "delete", "format", "move", "table", "section", "unsupported"] },
|
|
563
|
+
support: { enum: ["supported", "opaque"] }
|
|
564
|
+
});
|
|
565
|
+
var revisionEditData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["insert", "remove"] }, before: location, after: location })) });
|
|
566
|
+
var revisionDecisionData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["replace", "remove"] }, before: location, after: { oneOf: [location, { type: "null" }] }, revision: revisionInfo })) });
|
|
567
|
+
var textFormatting = object({
|
|
568
|
+
bold: nullableBoolean,
|
|
569
|
+
italic: nullableBoolean,
|
|
570
|
+
rtl: nullableBoolean,
|
|
571
|
+
hidden: nullableBoolean,
|
|
572
|
+
style: nullableString,
|
|
573
|
+
language: { type: "object", additionalProperties: true },
|
|
574
|
+
fonts: { type: "object", additionalProperties: true },
|
|
575
|
+
paragraph: object({ style: nullableString, bidi: nullableBoolean })
|
|
576
|
+
});
|
|
577
|
+
var textData = object({
|
|
578
|
+
revisions: array(revisionInfo),
|
|
579
|
+
warnings: array(diagnostic),
|
|
580
|
+
text: string,
|
|
581
|
+
view: { enum: ["final", "original", "all"] },
|
|
582
|
+
hiddenText: { const: "include" },
|
|
583
|
+
segments: array(object({
|
|
584
|
+
text: string,
|
|
585
|
+
location,
|
|
586
|
+
revisions: array(revisionInfo),
|
|
587
|
+
revision: { enum: ["insert", "delete", "unchanged"] },
|
|
588
|
+
kind: { enum: ["text", "tab", "line-break", "page-break", "column-break", "paragraph", "cell", "row", "story"] },
|
|
589
|
+
formatting: textFormatting,
|
|
590
|
+
originalFormatting: { anyOf: [textFormatting, { type: "null" }] }
|
|
591
|
+
}))
|
|
592
|
+
});
|
|
593
|
+
var sectionBinding = object({ linkedToPrevious: boolean, sourceSection: { oneOf: [number, { type: "null" }] }, part: nullableString });
|
|
594
|
+
var sectionBindings = object({ default: sectionBinding, first: sectionBinding, even: sectionBinding });
|
|
595
|
+
var sectionDirect = object({ ...Object.fromEntries(["pageWidth", "pageHeight", "topMargin", "bottomMargin", "leftMargin", "rightMargin", "gutter", "headerDistance", "footerDistance", "columns", "columnGap", "pageNumberStart"].map((name) => [name, { oneOf: [{ type: "integer" }, { type: "null" }] }])), orientation: string, startType: string, pageNumberFormat: string, differentFirstPage: boolean, columnSeparator: boolean, equalWidth: boolean });
|
|
596
|
+
var sectionListData = object({ items: array(object({ position: number, owner: { enum: ["paragraph", "body"] }, location, direct: sectionDirect, headers: sectionBindings, footers: sectionBindings })), units: { const: "twip" }, evenAndOddHeaders: boolean });
|
|
597
|
+
var storyReadData = object({ items: array(object({ kind: { enum: ["headers", "footers"] }, section: number, variant: { enum: ["default", "first", "even"] }, part: nullableString, linked: boolean, sourceSection: { oneOf: [number, { type: "null" }] }, owners: array(number), text: string, location })) });
|
|
598
|
+
var storyEditData = object({ ...mutationData.properties, affectedSections: array(number), changes: array(object({ kind: { enum: ["replace", "remove", "bind"] }, before: location, after: location })) });
|
|
599
|
+
var noteKind = { enum: ["footnote", "endnote"] };
|
|
600
|
+
var noteNumbering = object({ format: string, start: { type: "integer" }, restart: string });
|
|
601
|
+
var noteNumberingKinds = object({ footnote: noteNumbering, endnote: noteNumbering });
|
|
602
|
+
var noteReadData = object({
|
|
603
|
+
items: array(object({ kind: noteKind, id: { type: "integer", minimum: 0 }, type: string, text: string, location, references: array(location) })),
|
|
604
|
+
separators: array(object({ kind: noteKind, id: { type: "integer", minimum: -1 }, type: string })),
|
|
605
|
+
numbering: object({ document: noteNumberingKinds, sections: array(object({ section: number, ...noteNumberingKinds.properties })) })
|
|
606
|
+
});
|
|
607
|
+
var noteEditData = object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["insert", "replace", "remove"] }, before: location, after: { oneOf: [location, { type: "null" }] } })) });
|
|
608
|
+
var commentResourceRecord = object({
|
|
609
|
+
kind: { const: "comments" },
|
|
610
|
+
location,
|
|
611
|
+
text: string,
|
|
612
|
+
properties: array(propertyValue),
|
|
613
|
+
references: array(reference),
|
|
614
|
+
support: { enum: ["read", "preserve"] },
|
|
615
|
+
details: object({ kind: { const: "comments" }, commentId: { type: "integer" }, author: string, timestamp: nullableString, initials: nullableString, modern: boolean, anchors: array(location) })
|
|
616
|
+
});
|
|
617
|
+
var revisionResourceRecord = { ...object({
|
|
618
|
+
kind: { const: "revisions" },
|
|
619
|
+
location,
|
|
620
|
+
name: string,
|
|
621
|
+
properties: array(propertyValue),
|
|
622
|
+
references: array(reference),
|
|
623
|
+
support: { enum: ["read", "preserve"] },
|
|
624
|
+
details: object({ kind: { const: "revisions" }, revisionId: { type: "integer" }, author: string, timestamp: nullableString, type: revisionInfo.properties.type })
|
|
625
|
+
}), required: ["kind", "location", "properties", "references", "support", "details"] };
|
|
626
|
+
var styleMutationData = object({ ...mutationData.properties, changes: array(object({ kind: { const: "style" }, id: string })) });
|
|
627
|
+
var styleNumber = { oneOf: [{ type: "number" }, { type: "null" }] };
|
|
628
|
+
var styleProperties = object({
|
|
629
|
+
...Object.fromEntries(Object.keys(styleFontFlags).map((key) => [key, nullableBoolean])),
|
|
630
|
+
...Object.fromEntries(["themeColor", "underline", "highlight", "baseline", "language", "lineSpacingRule", "alignment"].map((key) => [key, nullableString])),
|
|
631
|
+
...Object.fromEntries(["leftIndent", "rightIndent", "firstLineIndent", "lineSpacing"].map((key) => [key, styleNumber])),
|
|
632
|
+
...Object.fromEntries(["keepTogether", "widowControl", "pageBreakBefore"].map((key) => [key, nullableBoolean])),
|
|
633
|
+
tabStops: { oneOf: [array(object({ position: styleNumber, alignment: string, leader: string })), { type: "null" }] },
|
|
634
|
+
bold: nullableBoolean,
|
|
635
|
+
italic: nullableBoolean,
|
|
636
|
+
font: nullableString,
|
|
637
|
+
size: styleNumber,
|
|
638
|
+
color: nullableString,
|
|
639
|
+
outlineLevel: styleNumber,
|
|
640
|
+
keepWithNext: nullableBoolean,
|
|
641
|
+
spaceBefore: styleNumber,
|
|
642
|
+
spaceAfter: styleNumber,
|
|
643
|
+
numbering: { oneOf: [object({ id: nullableString, level: styleNumber }), { type: "null" }] }
|
|
644
|
+
});
|
|
645
|
+
var styleInspectionData = object({
|
|
646
|
+
styles: array(object({
|
|
647
|
+
id: string,
|
|
648
|
+
name: string,
|
|
649
|
+
type: string,
|
|
650
|
+
builtin: boolean,
|
|
651
|
+
base: nullableString,
|
|
652
|
+
next: nullableString,
|
|
653
|
+
linkedStyle: nullableString,
|
|
654
|
+
defaultForType: boolean,
|
|
655
|
+
priority: styleNumber,
|
|
656
|
+
hidden: boolean,
|
|
657
|
+
locked: boolean,
|
|
658
|
+
quickStyle: boolean,
|
|
659
|
+
unhideWhenUsed: boolean,
|
|
660
|
+
direct: styleProperties,
|
|
661
|
+
effective: { oneOf: [styleProperties, { type: "null" }] },
|
|
662
|
+
runXml: nullableString,
|
|
663
|
+
paragraphXml: nullableString,
|
|
664
|
+
tableXml: nullableString
|
|
665
|
+
})),
|
|
666
|
+
defaults: object({ run: styleProperties, paragraph: styleProperties }),
|
|
667
|
+
latentXml: nullableString,
|
|
668
|
+
latent: { oneOf: [object({ defaults: object({ defaultToHidden: boolean, defaultToLocked: boolean, defaultToQuickStyle: boolean, defaultToUnhideWhenUsed: boolean, defaultPriority: styleNumber, loadCount: styleNumber }), entries: array(object({ name: string, hidden: nullableBoolean, locked: nullableBoolean, quickStyle: nullableBoolean, unhideWhenUsed: nullableBoolean, priority: styleNumber })) }), { type: "null" }] },
|
|
669
|
+
diagnostics: array(object({ code: string, part: string, location: string, message: string }))
|
|
670
|
+
});
|
|
671
|
+
var signatureRelationship = object({ owner: string, id: string, type: string, target: nullableString, external: boolean });
|
|
672
|
+
var signatureListData = object({ verified: { type: "null" }, relationships: array(signatureRelationship), items: array(object({ kind: { const: "signatures" }, name: string, location, properties: empty, references: empty, support: { const: "read" }, details: object({ kind: { const: "signatures" }, parts: array(part) }) })) });
|
|
673
|
+
var signatureMutationData = object({ changed: boolean, dryRun: boolean, removedParts: strings, removedRelationships: array(signatureRelationship), removedContentTypes: array(object({ kind: { enum: ["default", "override"] }, name: string, contentType: string })), output: { oneOf: [object({ path: nullableString, bytes: number, sha256: string }), { type: "null" }] } });
|
|
674
|
+
var controlPicture = object({ relationshipId: string, target: nullableString, external: boolean, contentType: nullableString });
|
|
675
|
+
var controlSnapshot = object({
|
|
676
|
+
location,
|
|
677
|
+
kind: { enum: ["plain-text", "rich-text", "checkbox", "dropdown", "combo-box", "date", "picture", "repeating-section", "repeating-item", "unsupported"] },
|
|
678
|
+
id: nullableString,
|
|
679
|
+
tag: nullableString,
|
|
680
|
+
alias: nullableString,
|
|
681
|
+
lock: string,
|
|
682
|
+
placeholder: boolean,
|
|
683
|
+
binding: { anyOf: [object({ storeItemId: nullableString, xpath: nullableString, prefixMappings: nullableString }), { type: "null" }] },
|
|
684
|
+
value: { anyOf: [string, boolean, controlPicture, { type: "null" }] },
|
|
685
|
+
choices: array(object({ value: string, label: string })),
|
|
686
|
+
support: { enum: ["supported", "unsupported"] },
|
|
687
|
+
reason: nullableString
|
|
688
|
+
});
|
|
689
|
+
var inspectionOperationMetadata = Object.fromEntries([
|
|
690
|
+
...Object.entries(propertyOperationContracts).map(([id, contract]) => [id, { ...contract, featureIds: ["F30"] }]),
|
|
691
|
+
...[
|
|
692
|
+
["custom-xml.list", "Inventory internal customXML roots, declared properties, namespace bindings and inert schema references across the package. Preserve ancillary payloads; no content dump, schema fetch or semantic editing. Package-global json/limit only; story selectors and publication flags reject.", ["F41"], customXmlData],
|
|
693
|
+
["signatures.list", "Inventory signature origin, relationship and part structures without cryptographic verification.", ["F43"], signatureListData],
|
|
694
|
+
["signatures.remove", "Explicitly remove the complete signature graph and content-type declarations; preserve unrelated bytes or reject unsafe removal before publication.", ["F43"], signatureMutationData],
|
|
695
|
+
["settings.list", "Read global compatibility, field-update, font embedding and protection metadata without creating settings.", ["F42"], settingsData],
|
|
696
|
+
["fonts.list", "Inventory declared font tables and inert embedded font storage with exact part hashes and relationships. Preserve stored bytes; no font installation, decoding, external fetching or availability/licensing inference.", ["F42"], object({ items: array(object({ kind: { const: "fonts" }, name: string, location, properties: empty, references: array(object({ owner: string, id: string, type: string, target: string, external: boolean })), support: { enum: ["read", "preserve"] }, details: object({ kind: { const: "fonts" }, parts: array(part) }) })) })],
|
|
697
|
+
["glossary.list", "Inventory glossary roots, stored building-block metadata and internal ancillary resources across the package. Preserve unknown blocks; no content dump, import or execution. Package-global json/limit only; story selectors and publication flags reject.", ["F41"], glossaryData],
|
|
698
|
+
["controls.list", "Inspect individually indexed scalar and native repeating controls, typed stored values, IDs/tags/aliases, locks, placeholders, bindings, choices and picture relationships. Unsupported and nested controls remain inventoried; no separate get route or live model owner is declared.", ["F28", "F29"], object({ items: array(controlSnapshot) })],
|
|
699
|
+
["controls.set", "Fill exactly one explicit text/checked/choice/date/file value on a selected control or scoped all. Preserve properties and required owners; clear showingPlcHdr only. Bound, locked, compound and affected nested structures refuse filling atomically. Picture input is bounded owned PNG through explicit VFS authority. Use controls bind for synchronized declared bindings. Available in the ordered utility batch; use schema for bounded live model routes.", ["F28"], mutationData],
|
|
700
|
+
["template.apply", "Fill explicitly tagged body template controls and nested native rows/sections from exact typed records. At most four repeat levels and 1,000 items per region, subject to cumulative node/media/reference budgets; no executable expressions. Empty arrays retain cleared reusable prototypes. Unrelated brace text and stories are preserved. Live model APIs remain pending.", ["F47"], mutationData],
|
|
701
|
+
["controls.repeat", "Expand one selected native repeating block or complete unmerged row from exact tagged scalar records. Empty data retains one reusable placeholder item. Remap contained control, bookmark, classic-comment and drawing identities and internal image relationships; retained media requires admitted inline RGB/RGBA PNG. Affected locks, bindings, review, opaque structures and crossing annotations reject atomically. Available in the ordered utility batch; use schema for bounded live model routes.", ["F29"], mutationData],
|
|
702
|
+
["controls.bind", "Synchronize one exact declared binding tag across the singleton internal custom XML leaf and every same-target recipient, including aliases, within explicit complete scope. Resolve root-inclusive QName child paths from stored namespaces; preserve false, zero and empty values with declared scalar types. Incomplete scope, ambiguous stores, unsupported selectors or recipients and locks reject atomically. Bindings remain attached. Available in the ordered utility batch; use schema for bounded live model routes.", ["F29"], mutationData],
|
|
703
|
+
["revisions.accept", "Accept selected supported text/property revisions atomically; retain current text/properties and report removed review owners. Select a whole revision token, scoped ordinal or explicit scoped all. Unsupported affected review fails before edits; available in the ordered utility batch; use schema for bounded live model routes.", ["F26"], revisionDecisionData],
|
|
704
|
+
["revisions.reject", "Reject selected supported text/property revisions atomically; restore admitted original text/properties and report removed review owners. Select a whole revision token, scoped ordinal or explicit scoped all. Unsupported affected review fails before edits; available in the ordered utility batch; use schema for bounded live model routes.", ["F26"], revisionDecisionData],
|
|
705
|
+
["revisions.list", "Inspect typed revision resource properties, stored timestamp provenance and supported versus opaque read types; view defaults to all. Read support is distinct from the bounded text/property acceptance and rejection editing subset.", ["F26", "F27"], object({ items: array(revisionResourceRecord) })],
|
|
706
|
+
["comments.list", "List typed classic comment resources separately from visible text, with range consistency and modern metadata in details; no parts are created.", ["F25"], object({ items: array(commentResourceRecord) })],
|
|
707
|
+
["comments.get", "Read one typed comment resource using a whole comment token or one-based --comment ordinal in numeric ID order.", ["F25"], object({ item: commentResourceRecord })],
|
|
708
|
+
["comments.add", "Anchor a nonempty run-boundary range in an admitted body, footnote or endnote story, with explicit author and UTC timestamp. Shared note occurrences, header/footer, nested-comment, overlapping comment and field boundaries reject.", ["F25"], noteEditData],
|
|
709
|
+
["comments.set", "Replace one simple comment body text, preserving author, initials, timestamp and anchors. Rich blocks require scoped editors.", ["F25"], noteEditData],
|
|
710
|
+
["comments.remove", "Remove selected classic comment bodies and their markers, including deleted-anchor bodies. Preserve unrelated annotations and modern metadata.", ["F25"], noteEditData],
|
|
711
|
+
["notes.list", "Read both footnotes and endnotes, references, separators and effective numbering without creating parts.", ["F24"], noteReadData],
|
|
712
|
+
["notes.get", "Read a selected note, its references and preserved numbering; selection defaults to footnotes.", ["F24"], noteReadData],
|
|
713
|
+
["notes.add", "Insert a footnote or endnote reference with a scoped allocated ID and required separators.", ["F24"], noteEditData],
|
|
714
|
+
["notes.set", "Replace selected note text with explicit shared-body intent; preserve required note markers.", ["F24"], noteEditData],
|
|
715
|
+
["notes.remove", "Remove selected references and only unreferenced note bodies; preserve required separators.", ["F24"], noteEditData],
|
|
716
|
+
["bookmarks.list", "Inspect bookmark ranges, checked names/IDs and structural issues.", ["F21"], object({ items: array(object({ location, name: string, id: string, end: { anyOf: [object({ part: string, path: array({ type: "integer", minimum: 0 }) }), { type: "null" }] }, issues: array(string) })), issues: array(string) })],
|
|
717
|
+
...["bookmarks.add", "bookmarks.set", "bookmarks.remove"].map((id) => [id, id === "bookmarks.add" ? "Create a checked bookmark around a selected paragraph range." : id === "bookmarks.set" ? "Rename a bookmark with explicit reference-update policy." : "Remove a bookmark with explicit reference-removal policy.", ["F21"], object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["insert", "rename", "remove"] }, before: location, after: location })) })]),
|
|
718
|
+
["fields.list", "List simple/complex/nested fields with exact instructions, cached values and locations.", ["F22"], object({ items: array(object({ location, form: { enum: ["simple", "complex"] }, kind: string, instruction: string, result: string, update: boolean, locked: boolean, nested: array(location) })) })],
|
|
719
|
+
["fields.set", "Set cached field results or update flags without instruction execution.", ["F22"], mutationData],
|
|
720
|
+
...["fields.add", "toc.add", "toc.set", "captions.add", "captions.set"].map((id) => [id, "Create or edit bounded inert fields and static labels; cached values are never recalculated.", id.startsWith("fields.") ? ["F22"] : ["F23"], object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["insert", "replace"] }, before: location, after: location })) })]),
|
|
721
|
+
["links.list", "List inert links with stored address, separate anchor, label and owner location.", ["F21"], object({ items: array(object({ location, text: string, address: string, fragment: string, url: string, history: boolean, contains_page_break: boolean })) })],
|
|
722
|
+
...["links.add", "links.set", "links.remove"].map((id) => [id, id === "links.add" ? "Append a hyperlink label to a selected paragraph." : id === "links.set" ? "Change the target while preserving label runs and owner relationships." : "Remove a hyperlink: unwrap its visible label by default; --delete-content deletes it.", ["F21"], object({ ...mutationData.properties, changes: array(object({ kind: { enum: ["insert", "target", "unwrap", "remove"] }, before: location, after: location })) })]),
|
|
723
|
+
["tables.get", "Inspect one table's 1-based logical cell anchors, spans, omitted slots and exact text.", ["F19", "F20"], tableReadData],
|
|
724
|
+
["paragraphs.get", "Read one selected paragraph's logical text, stored nullable formatting and inert owner-local references without creating definitions. A typed batch result handle retains the native paragraph owner.", ["F01", "F04", "F08", "F19"], textResourceData],
|
|
725
|
+
["runs.get", "Read one selected run's logical text, stored nullable formatting and inert owner-local references without creating definitions. A typed batch result handle retains the native run owner.", ["F01", "F04"], textResourceData],
|
|
726
|
+
["paragraphs.list", "List selected stored paragraphs in logical story order with nullable formatting and inert references, without creating definitions or publishing a package.", ["F08"], object({ items: array(textResourceData.properties.item) })],
|
|
727
|
+
["runs.list", "List selected stored runs in logical story order with nullable formatting and inert owner-local references, without creating definitions or publishing a package.", ["F08", "F19"], object({ items: array(textResourceData.properties.item) })],
|
|
728
|
+
["tables.list", "List stored table records in the explicitly selected story/owner scope, including logical anchors, spans, omitted slots and exact cell text.", ["F19", "F20"], object({ items: array(tableReadRecord) })],
|
|
729
|
+
["tables.merge", "Merge a complete rectangle with an explicit content join policy.", ["F20"], tableEditData],
|
|
730
|
+
["tables.split", "Restore a merged cell's existing grid slots with explicit content distribution.", ["F20"], tableEditData],
|
|
731
|
+
["tables.set", "Replace selected cell values or edit table, row and cell formatting without growing the grid.", ["F19"], tableEditData],
|
|
732
|
+
["tables.rows.add", "Insert a row before a 1-based index, or append at count+1.", ["F19"], tableEditData],
|
|
733
|
+
["tables.rows.remove", "Delete an explicit 1-based row while preserving surviving cells and properties.", ["F19"], tableEditData],
|
|
734
|
+
["tables.columns.add", "Insert a column before a 1-based index, or append at count+1.", ["F19"], tableEditData],
|
|
735
|
+
["tables.columns.remove", "Delete an explicit 1-based column while preserving surviving cells and properties.", ["F19"], tableEditData],
|
|
736
|
+
["tables.add", "Create a bounded rectangular table with typed nested blocks, explicit grid widths and table/row/cell formatting; preserve surrounding sections.", ["F19"], paragraphEditData],
|
|
737
|
+
["lists.add", "Insert a list item with bounded nesting and an optional starting value.", ["F18"], paragraphEditData],
|
|
738
|
+
["lists.set", "Change list nesting or restart selected items while preserving other lists.", ["F18"], paragraphEditData],
|
|
739
|
+
["headers.list", "Inspect default/first/even story bindings and cached text without creating absent definitions.", ["F16", "F17"], storyReadData],
|
|
740
|
+
["headers.get", "Inspect default/first/even story bindings and cached text without creating absent definitions.", ["F16", "F17"], storyReadData],
|
|
741
|
+
["headers.set", "Use --shared to edit all owners, or --link-to-previous false to clone one section locally.", ["F16", "F17"], storyEditData],
|
|
742
|
+
["headers.remove", "Remove a local binding, including in the first section. Preserve later stories and referenced resources.", ["F16", "F17"], storyEditData],
|
|
743
|
+
["footers.list", "Inspect default/first/even story bindings and cached text without creating absent definitions.", ["F16", "F17"], storyReadData],
|
|
744
|
+
["footers.get", "Inspect default/first/even story bindings and cached text without creating absent definitions.", ["F16", "F17"], storyReadData],
|
|
745
|
+
["footers.set", "Use --shared to edit all owners, or --link-to-previous false to clone one section locally.", ["F16", "F17"], storyEditData],
|
|
746
|
+
["footers.remove", "Remove a local binding, including in the first section. Preserve later stories and referenced resources.", ["F16", "F17"], storyEditData],
|
|
747
|
+
["styles.latent.list", "Inspect latent style entries and defaults without creating definitions.", ["F14"], styleInspectionData],
|
|
748
|
+
["styles.latent.get", "Inspect latent style entries and defaults without creating definitions.", ["F14"], styleInspectionData],
|
|
749
|
+
["styles.latent.add", "Edit latent style entries or defaults with explicit inheritance resets.", ["F14"], styleMutationData],
|
|
750
|
+
["styles.latent.set", "Edit latent style entries or defaults with explicit inheritance resets.", ["F14"], styleMutationData],
|
|
751
|
+
["styles.latent.remove", "Edit latent style entries or defaults with explicit inheritance resets.", ["F14"], styleMutationData],
|
|
752
|
+
["styles.latent.defaults.get", "Inspect latent style entries and defaults without creating definitions.", ["F14"], styleInspectionData],
|
|
753
|
+
["styles.latent.defaults.set", "Edit latent style entries or defaults with explicit inheritance resets.", ["F14"], styleMutationData],
|
|
754
|
+
["styles.list", "Inspect style definitions, inherited properties, document defaults and relationship diagnostics.", ["F14"], styleInspectionData],
|
|
755
|
+
["styles.get", "Inspect one style by exact name without creating missing definitions.", ["F14"], styleInspectionData],
|
|
756
|
+
["styles.defaults.get", "Inspect document run and paragraph defaults without mutation.", ["F14"], styleInspectionData],
|
|
757
|
+
["styles.remove", "Remove one named style definition while retaining content, dangling style references, other definitions and package resources. Opaque definition data that cannot survive removal rejects before publication.", ["F14"], styleMutationData],
|
|
758
|
+
["styles.add", "Create a paragraph, character or table style with a collision-free ID; matching names are never overwritten.", ["F14"], styleMutationData],
|
|
759
|
+
["styles.set", "Edit selected style properties and relationships; null removes direct formatting and omissions preserve metadata.", ["F14"], styleMutationData],
|
|
760
|
+
["styles.defaults.set", "Edit document run and paragraph defaults; null removes direct values and omissions preserve metadata.", ["F14"], styleMutationData],
|
|
761
|
+
["sections.list", "List section owners, stored twip geometry and explicit or inherited header/footer bindings without creating parts. Missing geometry stays null; no pagination is inferred.", ["F16"], sectionListData],
|
|
762
|
+
["sections.set", "Edit selected section geometry, columns, start and page-number metadata. Orientation never swaps dimensions. Different-first-page is local; even-and-odd-headers requires --all because it is document-wide. Header/footer content and bindings use the headers and footers commands.", ["F02", "F04", "F16"], paragraphEditData],
|
|
763
|
+
["sections.add", "Append a section with inherited geometry and header/footer bindings. Start type defaults NEW_PAGE. Preserve paragraph-owned breaks and final body properties.", ["F02", "F04", "F16"], paragraphEditData],
|
|
764
|
+
["paragraphs.remove", "Remove an explicitly selected whole paragraph or half-open Unicode scalar range.", ["F44"], contentRemovalData],
|
|
765
|
+
["runs.remove", "Remove an explicitly selected whole run or run/paragraph scalar range.", ["F44"], contentRemovalData],
|
|
766
|
+
["tables.remove", "Remove an explicitly selected whole table and retain surrounding content.", ["F44"], contentRemovalData],
|
|
767
|
+
["paragraphs.set", "Set direct paragraph properties; null resets inheritance. Text replaces run content and formatting while retaining paragraph properties and annotation boundaries. Tabs, borders and shading accept --tab-stops-json, --borders-json and --shading-json. Explicit whole-paragraph text replacement also supports typed model batches.", ["F02", "F04", "F13"], paragraphEditData],
|
|
768
|
+
["paragraphs.add", "Append a block to a story or cell; a paragraph anchor inserts after, or --before. A collapsed paragraph range splits at its Unicode scalar caret and retains the suffix and section properties. Level 0 creates Title; levels 1-9 create headings while preserving conflicting user style definitions. An explicit style and level cannot be combined.", ["F02", "F04", "F13", "F15"], paragraphEditData],
|
|
769
|
+
["runs.add", "Append text and an optional --break line|page|column inside a paragraph. A collapsed paragraph range inserts inline without dropping suffix text or formatting.", ["F02", "F04", "F13"], paragraphEditData],
|
|
770
|
+
["runs.set", "Format selected runs or a fingerprinted run/paragraph scalar range. Omission leaves direct properties unchanged; null removes them. Explicit false/default overrides inheritance. Preserve complex-script and CJK properties. Explicit whole-run text assignment retains owning formatting and is available directly, through SDK operations and ordered utility/model batches; text assignment rejects scalar ranges. Native compatibility carriers and inactive branches remain retained. Unsupported affected resources reject before publication.", ["F02", "F04", "F09", "F12"], runFormatData],
|
|
771
|
+
["revisions.add", "Create bounded tracked insertion or deletion with explicit author and UTC timestamp; insert at a scalar caret or append to selected text, delete a nonempty scalar range or whole text. Preserve original/final views and direct formatting; existing affected review and compound boundaries reject. Acceptance/rejection is a separate bounded subset; available in the ordered utility batch; use schema for bounded live model routes.", ["F26"], revisionEditData],
|
|
772
|
+
["sanitize", "Apply explicit category actions to staged bytes; report exact effects and retained gaps", ["F46"], object({ changed: boolean, actions: array(object({ category: { enum: ["properties", "comments", "revisions", "links", "objects"] }, action: { enum: ["remove-supported-properties", "remove-supported-comments-and-markers", "accept-supported-revisions", "reject-supported-revisions", "unwrap-external-hyperlinks-preserving-labels", "remove-supported-inert-object-carriers"] }, affected: number, records: array(string) })), retained: array({ enum: ["properties", "comments", "revisions", "links", "objects"] }), gaps: array(string), removedParts: array(string), removedRelationships: array(object({ owner: string, id: string })), dryRun: boolean, output: mutationData.properties.output })],
|
|
773
|
+
["lorem.set", "Replace explicitly selected logical visible text with required seeded dummy words; not anonymization. Preserve run properties, field instructions, relationships and nontext data. Zero computed words is unchanged; generic utility batches and live text owners remain pending.", ["F45"], mutationData],
|
|
774
|
+
["text.replace", "Replace literal paragraph text across formatting runs; exactly one of --first, --all or --occurrence is required. Field, object, revision and container boundaries stop matches. Inherit the first matched run; --bold/--italic explicitly override those properties. --track-changes requires explicit author and UTC timestamp, retaining deleted text and inserting replacement text; ordinary replacement rejects review metadata.", ["F02", "F04", "F05", "F10", "F26"], mutationData],
|
|
775
|
+
["create", "Create an original DOCX/DOTX or append typed blocks to an admitted template; explicit dialect and content settings.", ["F01", "F02", "F03", "F11", "F15"], mutationData],
|
|
776
|
+
["inspect", "Inventory package parts, metadata, theme schemes, font-table entries, embedding metadata and unresolved references without rendering or linked-resource access. Font availability and licensing are unknown; embedded font mutation is unsupported.", ["F06", "F14", "F42", "F41"], inspectionData],
|
|
777
|
+
["diff", "Compare admitted package payloads, semantic XML, final logical text or stored story structure with declared scope defaults and shared cumulative limits. ZIP serialization metadata is ignored; XML whitespace, order, values and identifiers are retained. Differences are bounded part-level records, never rendered layout claims.", ["F48"], object({ equal: boolean, mode: { enum: ["parts", "xml", "text", "structure"] }, differences: array(object({ kind: { enum: ["add", "remove", "change"] }, left: { oneOf: [location, { type: "null" }] }, right: { oneOf: [location, { type: "null" }] }, part: string })) })],
|
|
778
|
+
["validate", "Validate document bytes against the partial core-v1 profile without repairs.", ["F49"], validationData],
|
|
779
|
+
["text.get", "Extract logical story text with locations, direct formatting and revision views.", ["F08", "F09", "F26"], textData],
|
|
780
|
+
["xml.get", "Read one absolute XML part as raw bytes or bounded display serialization.", ["F04", "F07"], xmlData],
|
|
781
|
+
["xml.set", "Replace one complete XML part with validated bytes; preserve opaque content and unrelated parts.", ["F04", "F07"], mutationData]
|
|
782
|
+
].map(([id, description, featureIds, data]) => [id, { description, featureIds, result: { oneOf: [object({
|
|
783
|
+
version: { const: 1 },
|
|
784
|
+
operation: { const: id },
|
|
785
|
+
ok: { const: true },
|
|
786
|
+
data,
|
|
787
|
+
warnings: array(diagnostic),
|
|
788
|
+
errors: empty,
|
|
789
|
+
affected: ["template.apply", "sanitize", "paragraphs.remove", "runs.remove", "tables.remove", "signatures.remove", "controls.set", "controls.repeat", "controls.bind", "revisions.accept", "revisions.reject", "revisions.add", "notes.add", "notes.set", "notes.remove", "tables.merge", "tables.split", "tables.set", "tables.rows.add", "tables.rows.remove", "tables.columns.add", "tables.columns.remove", "tables.add", "lists.add", "lists.set", "headers.set", "headers.remove", "footers.set", "footers.remove", "sections.set", "sections.add", "styles.latent.add", "styles.latent.set", "styles.latent.remove", "styles.latent.defaults.set", "styles.add", "styles.set", "styles.remove", "styles.defaults.set", "text.replace", "lorem.set", "runs.set", "paragraphs.set", "paragraphs.add", "runs.add"].includes(id) ? number : id === "create" ? { const: 1 } : id === "xml.set" ? { type: "integer", minimum: 0, maximum: 1 } : { const: 0 },
|
|
790
|
+
locations: array(location)
|
|
791
|
+
}), object({ version: { const: 1 }, operation: { const: id }, ok: { const: false }, data: { type: "null" }, warnings: array(diagnostic), errors: { type: "array", minItems: 1, items: failureDiagnostic }, affected: { const: 0 }, locations: ["xml.set", "paragraphs.set"].includes(id) ? array(location) : empty })] } }])
|
|
792
|
+
]);
|
|
793
|
+
var objectLocation = object({ kind: { const: "part" }, token: string, value: object({ version: { const: 1 }, sourceSha256: string, generation: { const: 0 }, part: string, story: string, path: array(number), range: { type: "null" } }), positions: object({}) });
|
|
794
|
+
var objectResource = object({ part: string, contentType: string, bytes: number, sha256: string });
|
|
795
|
+
var objectStatus = { enum: ["internal", "external", "missing-id", "missing-relationship", "wrong-relationship-type", "ambiguous"] };
|
|
796
|
+
var objectDetails = object({
|
|
797
|
+
kind: { const: "objects" },
|
|
798
|
+
role: { enum: ["ole", "package", "unknown"] },
|
|
799
|
+
status: objectStatus,
|
|
800
|
+
resource: { oneOf: [objectResource, { type: "null" }] },
|
|
801
|
+
previews: array(object({ relationshipId: nullableString, status: objectStatus, resource: { oneOf: [objectResource, { type: "null" }] } })),
|
|
802
|
+
owners: array(objectLocation),
|
|
803
|
+
graphParts: array(objectResource),
|
|
804
|
+
security: object({ macro: { enum: ["declared", "unknown"] }, protected: { const: "unknown" }, content: { const: "opaque" } })
|
|
805
|
+
});
|
|
806
|
+
var objectRecord = { ...object({ kind: { const: "objects" }, location: objectLocation, name: string, properties: empty, references: array(reference), support: { const: "preserve" }, details: objectDetails }), required: ["kind", "location", "properties", "references", "support", "details"] };
|
|
807
|
+
var objectOperationContracts = Object.fromEntries([
|
|
808
|
+
["objects.list", "Inventory inert OLE carriers, shape-bound preview images, shared owners and package relationships including embedded workbooks. Without selectors inventory is package-global; explicit story/owner selectors narrow physical occurrences. Embedded content is opaque: macro/protection is unknown unless declared. External targets are redacted and never fetched. No activation, binary decoding or live owner API.", object({ items: array(objectRecord), document: object({ protected: boolean }) })],
|
|
809
|
+
["objects.extract", "Extract exact inert object payloads as object-N.bin and deterministic manifest.json through explicit output-dir VFS authority. Previews remain preserved package resources. External/unresolved bindings skip with complete false. Manifest counts as an output; multi-file extraction requires transactions or explicit allow-partial-output. Preflight all destinations and output limits; report actual receipts without rollback guarantees.", imageExtractionData]
|
|
810
|
+
].map(([id, description, data]) => [id, { description, featureIds: ["F40"], result: { oneOf: [
|
|
811
|
+
object({ version: { const: 1 }, operation: { const: id }, ok: { const: true }, data, warnings: array(diagnostic), errors: empty, affected: { const: 0 }, locations: array(location) }),
|
|
812
|
+
object({ version: { const: 1 }, operation: { const: id }, ok: { const: false }, data: id === "objects.extract" ? { oneOf: [{ type: "null" }, object({ ...imageExtractionData.properties, complete: { const: false } })] } : { type: "null" }, warnings: array(diagnostic), errors: { type: "array", minItems: 1, items: diagnostic }, affected: { const: 0 }, locations: id === "objects.extract" ? array(location) : empty })
|
|
813
|
+
] } }]));
|
|
814
|
+
var archiveExtractionData = object({
|
|
815
|
+
outputDir: string,
|
|
816
|
+
complete: boolean,
|
|
817
|
+
possiblePartialOutput: boolean,
|
|
818
|
+
entries: array(object({ path: string, bytes: number, sha256: string, published: boolean })),
|
|
819
|
+
manifestPublished: boolean
|
|
820
|
+
});
|
|
821
|
+
var archiveExtractionContract = {
|
|
822
|
+
featureIds: ["F50"],
|
|
823
|
+
description: "Extract admitted archive resources into a new explicit VFS tree, with a relative SHA-256 manifest.",
|
|
824
|
+
result: { oneOf: [
|
|
825
|
+
object({
|
|
826
|
+
version: { const: 1 },
|
|
827
|
+
operation: { const: "extract" },
|
|
828
|
+
ok: { const: true },
|
|
829
|
+
data: object({ ...archiveExtractionData.properties, complete: { const: true }, possiblePartialOutput: { const: false } }),
|
|
830
|
+
affected: { const: 0 },
|
|
831
|
+
locations: empty,
|
|
832
|
+
warnings: empty,
|
|
833
|
+
errors: empty
|
|
834
|
+
}),
|
|
835
|
+
object({
|
|
836
|
+
version: { const: 1 },
|
|
837
|
+
operation: { const: "extract" },
|
|
838
|
+
ok: { const: false },
|
|
839
|
+
data: { oneOf: [{ type: "null" }, object({ ...archiveExtractionData.properties, complete: { const: false } })] },
|
|
840
|
+
affected: { const: 0 },
|
|
841
|
+
locations: empty,
|
|
842
|
+
warnings: empty,
|
|
843
|
+
errors: { ...array(diagnostic), minItems: 1 }
|
|
844
|
+
})
|
|
845
|
+
] }
|
|
846
|
+
};
|
|
847
|
+
var archivePackingContract = {
|
|
848
|
+
featureIds: ["F01", "F50"],
|
|
849
|
+
description: "Pack a sorted explicit VFS inventory of authenticated payloads into one validated document, preserving kind, dialect and opaque bytes.",
|
|
850
|
+
result: { oneOf: [
|
|
851
|
+
object({ version: { const: 1 }, operation: { const: "pack" }, ok: { const: true }, data: mutationData, affected: { const: 1 }, locations: empty, warnings: empty, errors: empty }),
|
|
852
|
+
object({ version: { const: 1 }, operation: { const: "pack" }, ok: { const: false }, data: { type: "null" }, affected: { const: 0 }, locations: empty, warnings: empty, errors: { ...array(diagnostic), minItems: 1 } })
|
|
853
|
+
] }
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
export {
|
|
857
|
+
discoveryFailureSchema,
|
|
858
|
+
discoveryResultSchemas,
|
|
859
|
+
diagramOperationContracts,
|
|
860
|
+
equationOperationContracts,
|
|
861
|
+
rasterReplacementOperationContracts,
|
|
862
|
+
imageLayoutOperationContracts,
|
|
863
|
+
shapeOperationContracts,
|
|
864
|
+
chartOperationContracts,
|
|
865
|
+
rasterInsertionOperationContracts,
|
|
866
|
+
imageOperationContracts,
|
|
867
|
+
propertyOperationContracts,
|
|
868
|
+
inspectionOperationMetadata,
|
|
869
|
+
objectOperationContracts,
|
|
870
|
+
archiveExtractionContract,
|
|
871
|
+
archivePackingContract
|
|
872
|
+
};
|