@poe-platform/safe-bash 0.1.810 → 0.1.812
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio-ast/flac-source.d.ts +13 -0
- package/dist/audio-ast/index.d.ts +2 -0
- package/dist/audio-ast/index.js +253 -179
- package/dist/audio-ast/vorbis.d.ts +14 -0
- package/dist/image-ast/index.js +1 -1
- package/dist/json-ast/backed-json-parser.d.ts +12 -1
- package/dist/json-ast/index.d.ts +1 -1
- package/dist/office-xml/index.d.ts +1 -0
- package/dist/office-xml/retained-xml-edits.d.ts +22 -0
- package/dist/pdf-ast/cos/qpdf-json-document.d.ts +2 -1
- package/dist/pdf-ast/cos/value-parser.d.ts +23 -2
- package/dist/pdf-ast/extract/retained-form-field-details.d.ts +20 -0
- package/dist/pdf-ast/extract/retained-form-fields.d.ts +17 -4
- package/dist/pdf-ast/index.d.ts +1 -0
- package/dist/pdf-ast/index.js +844 -384
- package/dist/pdf-ast/retained-document.d.ts +6 -0
- package/dist/safe-bash/audio-ast.browser.js +3 -1
- package/dist/safe-bash/chunks/{chunk-65TFMAZU.js → chunk-BUYRKFW2.js} +8 -35
- package/dist/safe-bash/chunks/{chunk-ZA5FQ34E.js → chunk-TPG55BAQ.js} +0 -2
- package/dist/safe-bash/command-chunks/{biff-ORSHM4YX-QYPGRDAZ.js → biff-YKPDH35C-MVQIWNKV.js} +2192 -2155
- package/dist/safe-bash/command-chunks/{chunk-HEHGHIE2.js → chunk-22MOB45U.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-6DEWZMOL.js → chunk-2CORNDGF.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-DCD32BEY.js → chunk-2JSDKQ4J.js} +201 -84
- package/dist/safe-bash/command-chunks/{chunk-6UHGIWFX.js → chunk-2ZFLMWOX.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-HONWGFDA.js → chunk-33YCKZZX.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-AXWPJRY6.js → chunk-36XGIPOG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-D5AYP2UM.js → chunk-3Q247UDJ.js} +26 -16
- package/dist/safe-bash/command-chunks/{chunk-32ADKP5E.js → chunk-456PHA3L.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-UJXP3T6R.js → chunk-4CKFNXRN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-5L6GHFRW.js → chunk-554Z6IKP.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-ORZRWT62.js → chunk-56NYSX65.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-53JP3S6H.js → chunk-5HPU7D36.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-HARUYHH7.js → chunk-5HUICAWD.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IC5GJI7E.js → chunk-5Q22ZLNC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YO3V5RLY.js → chunk-6CCQI6XZ.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-EO2IVGV7.js → chunk-6M6TM5Z5.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Z54Z3KRN.js → chunk-6QBMND4A.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-INX4JMQ6.js → chunk-6VPQ3CDZ.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-VGXVN3BX.js → chunk-7GKKMNL6.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-TZJC67W3.js → chunk-7PVHO47B.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-CM3C7AXJ.js → chunk-A2CLZMQZ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ASR27KHW.js → chunk-A5FZBR7X.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DMDHE5KC.js → chunk-AHA6IWAJ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-PTZ55XXN.js → chunk-APEWTWCC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-YUVH6CE4.js → chunk-ATTWQVR2.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-2VCKUNDZ.js → chunk-B2C3UPJS.js} +27 -17
- package/dist/safe-bash/command-chunks/{chunk-JON5DB3Z.js → chunk-B5LDP7AA.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-YTFWPJ3F.js → chunk-CJQSAATC.js} +26 -26
- package/dist/safe-bash/command-chunks/{chunk-CHJL6JMU.js → chunk-COKYZUBW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-KCTV4NVX.js → chunk-CRV2Q3PB.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-V3WXPCKN.js → chunk-CV7M2QJU.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-VPDSQPSN.js → chunk-DM2CPMB4.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-3DTDMEOP.js → chunk-EAGIJ4VW.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-JW6CMBF2.js → chunk-EHSM5ZQS.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WIOH7ZQN.js → chunk-ENT3IV2G.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-5IE4LJGB.js → chunk-EUT24Y5Z.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-WC2OCF4H.js → chunk-FDCIPJBQ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-COKZFXHG.js → chunk-FIIAYCWS.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-MWVFP2HY.js → chunk-GEM47B2P.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-EHL6B34L.js → chunk-HDJVJTCK.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-JMM3MNAY.js → chunk-HKATEVAP.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-VWY3EAVQ.js → chunk-HTVIYLVB.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-CHR2OD2U.js → chunk-HWQ2UHMT.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-Z4QJMDK3.js → chunk-IT7TAC3F.js} +16 -16
- package/dist/safe-bash/command-chunks/{chunk-EWS4KYJE.js → chunk-JFYWVQ4V.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-ZCX63QWA.js → chunk-JOCFI7TG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-F5WTH4O4.js → chunk-JQVHUSDD.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-O4VJEGL6.js → chunk-K5GB2YMN.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-27C3NT5V.js → chunk-KB7DUBVL.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-4DZ32PI7.js → chunk-KCOJA7EM.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-CAXJ4RLF.js → chunk-KJ4XXZIL.js} +12 -12
- package/dist/safe-bash/command-chunks/{chunk-U6QHTC5J.js → chunk-L5MCW6CM.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-LVL3A7YE.js → chunk-LCZDBW55.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-DJVRDUCA.js → chunk-LXLLA4PM.js} +17 -17
- package/dist/safe-bash/command-chunks/{chunk-K7AGAS3K.js → chunk-M7QE2MN7.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-SWT6ILF2.js → chunk-MPUHH2KR.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3ZWBBS6U.js → chunk-NARD63DY.js} +437 -34
- package/dist/safe-bash/command-chunks/{chunk-DC3OJLRB.js → chunk-NQDIT667.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-LWZVDDJA.js → chunk-NUGQQDGE.js} +5 -1
- package/dist/safe-bash/command-chunks/{chunk-MFLQZLFR.js → chunk-OA75SGN2.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-5LATYOF7.js → chunk-OEJM666F.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-AF25YYIO.js → chunk-PMAM4N33.js} +9 -9
- package/dist/safe-bash/command-chunks/{chunk-KMMAJ6H6.js → chunk-PNGDJA6M.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-62BHPSKJ.js → chunk-Q6S57NOQ.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-KJ3PEDI2.js → chunk-Q73EMLLZ.js} +146 -4
- package/dist/safe-bash/command-chunks/{chunk-FXKBM5KJ.js → chunk-QC5RMGSA.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-UQ6UIZMM.js → chunk-QD7ZRDUN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-JHUYZZGV.js → chunk-QYMEASQ6.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-3GY5VDIX.js → chunk-QZZ73J2O.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-S2CYIGWH.js → chunk-R6EGGK5M.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-7AVN3OBH.js → chunk-RHYJVTJO.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-EWGDSO6U.js → chunk-RID6VYS3.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-MMBRBANA.js → chunk-RNSKXOG3.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-D3ZRZTY5.js → chunk-RQIQ75W5.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-DWKQPLRT.js → chunk-RRL3Y562.js} +11 -11
- package/dist/safe-bash/command-chunks/{chunk-NXCMXD74.js → chunk-S6R3IB36.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XUPKFHAQ.js → chunk-SDTPO2VV.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-PIAGKRFW.js → chunk-SPLOIABU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Z5QOVRVH.js → chunk-SU26FZLJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WLTJDNSQ.js → chunk-TVH4JORU.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-6XVMWFHD.js → chunk-TW73OXPR.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-SFO43CID.js → chunk-UAXSE3XE.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-K35BSUHO.js → chunk-UYWSIIUX.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-2E2YEDVB.js → chunk-W5YSINXC.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-EYNT4OEJ.js → chunk-WGG6G2KG.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-DVQBZXMQ.js → chunk-WJCN2IXI.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-XBZ4ZWGL.js → chunk-WVMHRNXZ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-7GXUCQI4.js → chunk-WXRYDALR.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-S4IIOSRA.js → chunk-X7FA7ZD5.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-DPR5CYQV.js → chunk-XITDDJFT.js} +2 -0
- package/dist/safe-bash/command-chunks/{chunk-SFCERNHU.js → chunk-XPD636C4.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HYDWQLJ3.js → chunk-XRVKWGVQ.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-ZEPDT6I5.js → chunk-XVLWZTPY.js} +249 -51
- package/dist/safe-bash/command-chunks/{chunk-3UJWHRK4.js → chunk-XVP6V5K3.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-KTI3BULE.js → chunk-XZ2FWFNV.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-QK3CHRGL.js → chunk-Y4EYCZFT.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-GTWVMFBK.js → chunk-YORJDX4V.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-H6F5SN2N.js → chunk-YSMNXMAO.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-SE5SJ4JT.js → chunk-Z2JW6M2D.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-WH3TIOTS.js → chunk-ZEGNRZV2.js} +9 -2
- package/dist/safe-bash/command-chunks/{chunk-BYZUOF6X.js → chunk-ZEX53S5I.js} +4010 -3980
- package/dist/safe-bash/command-chunks/{chunk-HQYFRQ5W.js → chunk-ZIIO6GRY.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-NTRZMQZP.js → chunk-ZMHEGDU2.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-EYBXHGA6.js → chunk-ZXR6LXV5.js} +2 -2
- package/dist/safe-bash/command-chunks/{command-engine-BEWABZ75.js → command-engine-BCUQGJJ4.js} +58 -21
- package/dist/safe-bash/command-chunks/{engine-MEPOXIXT-WZMRHACG.js → engine-LAUEWYSQ-DQCEI5HE.js} +1 -1
- package/dist/safe-bash/command-chunks/pdf-XHHFTOT4-UJJYOYJ2.js +573 -0
- package/dist/safe-bash/commands/diff-patch/index.js +0 -3
- package/dist/safe-bash/commands/diff3/index.js +0 -2
- package/dist/safe-bash/full-core.browser.js +2 -2
- package/dist/safe-bash/plugins/index.browser.js +2 -2
- package/dist/safe-bash/plugins/index.js +3 -1
- package/dist/safe-bash/plugins/portable-commands.d.ts +1 -1
- package/dist/safe-bash/plugins/portable-commands.js +5 -3
- package/dist/safe-bash/registry-entry.browser.js +1 -1
- package/dist/safe-bash-command-apply-patch/apply.js +4 -4
- package/dist/safe-bash-command-apply-patch/index.js +4 -4
- package/dist/safe-bash-command-apply-patch/matcher.js +2 -2
- package/dist/safe-bash-command-apply-patch/parser.js +2 -2
- package/dist/safe-bash-command-apply-patch/shared.d.ts +2 -0
- package/dist/safe-bash-command-apply-patch/shared.js +1 -1
- package/dist/safe-bash-command-diff/index.js +0 -2
- package/dist/safe-bash-command-diff3/index.js +830 -56
- package/dist/safe-bash-command-ffmpeg/index.js +1 -1
- package/dist/safe-bash-command-ffprobe/index.js +2 -2
- package/dist/safe-bash-command-ffprobe/media.js +2 -2
- package/dist/safe-bash-command-html-to-markdown/index.js +75 -21
- package/dist/safe-bash-command-pandoc/command.js +3 -3
- package/dist/safe-bash-command-pandoc/execution.d.ts +2 -2
- package/dist/safe-bash-command-pandoc/index.d.ts +1 -1
- package/dist/safe-bash-command-pandoc/index.js +14 -14
- package/dist/safe-bash-command-pandoc/lua-filters.js +2 -2
- package/dist/safe-bash-command-pandoc/types.d.ts +17 -2
- package/dist/safe-bash-command-patch/index.js +2 -2
- package/dist/safe-bash-command-patch/patch-publication.js +1 -1
- package/dist/safe-bash-command-patch/patch.js +2 -2
- package/dist/safe-bash-command-pdftk/index.js +649 -265
- package/dist/safe-bash-command-pptx/command-engine.d.ts +12 -3
- package/dist/safe-bash-command-pptx/engine.d.ts +2 -2
- package/dist/safe-bash-command-pptx/engine.js +1 -1
- package/dist/safe-bash-command-qpdf/index.js +115 -9
- package/dist/safe-bash-command-soffice/index.js +1 -1
- package/dist/safe-bash-command-ssconvert/index.js +2 -2
- package/dist/safe-bash-command-xq/index.js +45 -29
- package/dist/safe-bash-diff-engine/document.d.ts +2 -1
- package/dist/safe-bash-diff-engine/document.js +7 -4
- package/dist/safe-bash-presentation-engine/accessibility.js +30 -30
- package/dist/safe-bash-presentation-engine/animation-editing.js +15 -15
- package/dist/safe-bash-presentation-engine/animations.js +15 -15
- package/dist/safe-bash-presentation-engine/backgrounds.js +16 -16
- package/dist/safe-bash-presentation-engine/bytes.js +3 -3
- package/dist/safe-bash-presentation-engine/chart-editing.js +33 -33
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +24 -24
- package/dist/safe-bash-presentation-engine/charts.js +30 -30
- package/dist/safe-bash-presentation-engine/command-placeholder.js +56 -55
- package/dist/safe-bash-presentation-engine/comments.js +16 -16
- package/dist/safe-bash-presentation-engine/connector-operations.js +31 -31
- package/dist/safe-bash-presentation-engine/connectors.js +28 -28
- package/dist/safe-bash-presentation-engine/content-types.js +4 -4
- package/dist/safe-bash-presentation-engine/creation.js +6 -6
- package/dist/safe-bash-presentation-engine/diff.js +31 -31
- package/dist/safe-bash-presentation-engine/drawing-format.js +19 -19
- package/dist/safe-bash-presentation-engine/drawing-operations.js +30 -30
- package/dist/safe-bash-presentation-engine/drawing-schema.js +20 -20
- package/dist/safe-bash-presentation-engine/equations.js +16 -16
- package/dist/safe-bash-presentation-engine/errors.js +2 -2
- package/dist/safe-bash-presentation-engine/fields.js +16 -16
- package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
- package/dist/safe-bash-presentation-engine/image-extraction.js +19 -19
- package/dist/safe-bash-presentation-engine/image-formatting.js +31 -31
- package/dist/safe-bash-presentation-engine/image-insertion.js +17 -17
- package/dist/safe-bash-presentation-engine/image-replacement.js +20 -20
- package/dist/safe-bash-presentation-engine/image-value.js +4 -4
- package/dist/safe-bash-presentation-engine/images.js +18 -18
- package/dist/safe-bash-presentation-engine/index.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/index.js +99 -95
- package/dist/safe-bash-presentation-engine/layouts.js +15 -15
- package/dist/safe-bash-presentation-engine/length.js +3 -3
- package/dist/safe-bash-presentation-engine/links.js +15 -15
- package/dist/safe-bash-presentation-engine/masters.js +14 -14
- package/dist/safe-bash-presentation-engine/media-editing.js +23 -23
- package/dist/safe-bash-presentation-engine/media-extraction.js +16 -16
- package/dist/safe-bash-presentation-engine/media.js +15 -15
- package/dist/safe-bash-presentation-engine/memberships.js +14 -14
- package/dist/safe-bash-presentation-engine/notes.js +15 -15
- package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
- package/dist/safe-bash-presentation-engine/ole-insertion.js +19 -19
- package/dist/safe-bash-presentation-engine/opaque-objects.js +9 -9
- package/dist/safe-bash-presentation-engine/package-reader.js +5 -5
- package/dist/safe-bash-presentation-engine/package-tools.js +15 -15
- package/dist/safe-bash-presentation-engine/package-uri.js +3 -3
- package/dist/safe-bash-presentation-engine/package-writer.js +4 -4
- package/dist/safe-bash-presentation-engine/presentation-model.js +55 -54
- package/dist/safe-bash-presentation-engine/presentation-settings.js +13 -13
- package/dist/safe-bash-presentation-engine/properties.js +15 -15
- package/dist/safe-bash-presentation-engine/relationships.js +4 -4
- package/dist/safe-bash-presentation-engine/resource-limits.js +1 -1
- package/dist/safe-bash-presentation-engine/retained-inspection.js +12 -12
- package/dist/safe-bash-presentation-engine/retained-package.js +4 -4
- package/dist/safe-bash-presentation-engine/retained-slide-publication.d.ts +24 -0
- package/dist/safe-bash-presentation-engine/retained-slide-settings.d.ts +15 -0
- package/dist/safe-bash-presentation-engine/retained-text.js +17 -17
- package/dist/safe-bash-presentation-engine/sanitize.js +16 -16
- package/dist/safe-bash-presentation-engine/selectors.js +10 -10
- package/dist/safe-bash-presentation-engine/shape-groups.js +30 -30
- package/dist/safe-bash-presentation-engine/shape-operations.js +29 -29
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +31 -31
- package/dist/safe-bash-presentation-engine/shape-paths.js +15 -15
- package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
- package/dist/safe-bash-presentation-engine/shape-selection.js +30 -30
- package/dist/safe-bash-presentation-engine/shape-transforms.js +17 -17
- package/dist/safe-bash-presentation-engine/shapes.js +26 -26
- package/dist/safe-bash-presentation-engine/slide-copy.js +16 -16
- package/dist/safe-bash-presentation-engine/slide-import.js +17 -17
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +19 -19
- package/dist/safe-bash-presentation-engine/slide-model.js +42 -42
- package/dist/safe-bash-presentation-engine/slide-removal.js +17 -17
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
- package/dist/safe-bash-presentation-engine/slides.d.ts +3 -0
- package/dist/safe-bash-presentation-engine/slides.js +24 -16
- package/dist/safe-bash-presentation-engine/table-operations.js +32 -32
- package/dist/safe-bash-presentation-engine/table-spans.js +31 -31
- package/dist/safe-bash-presentation-engine/tables.js +30 -30
- package/dist/safe-bash-presentation-engine/tags.js +15 -15
- package/dist/safe-bash-presentation-engine/template-bindings.js +32 -32
- package/dist/safe-bash-presentation-engine/template-repeat.js +39 -39
- package/dist/safe-bash-presentation-engine/text-fitting.js +26 -26
- package/dist/safe-bash-presentation-engine/text-frames.js +26 -26
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +26 -26
- package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
- package/dist/safe-bash-presentation-engine/text-replacement.js +16 -16
- package/dist/safe-bash-presentation-engine/text-runs.js +19 -19
- package/dist/safe-bash-presentation-engine/themes.js +15 -15
- package/dist/safe-bash-presentation-engine/transitions.js +15 -15
- package/dist/safe-bash-presentation-engine/validation.js +9 -9
- package/dist/safe-bash-presentation-engine/xml-parts.js +15 -15
- package/dist/safe-bash-presentation-engine/xml-view.js +3 -3
- package/dist/safe-bash-presentation-engine/xml.js +3 -3
- package/dist/safe-bash-xml-engine/json.d.ts +1 -0
- package/dist/safe-bash-xml-engine/json.js +203 -0
- package/dist/safe-bash-xml-engine/stored-json.d.ts +5 -0
- package/dist/spreadsheet-engine/rendering/print/bidi-runs.d.ts +5 -0
- package/dist/spreadsheet-engine/rendering/print/bidi-runs.js +35 -0
- package/dist/spreadsheet-engine/rendering/print/control-bidi.d.ts +8 -0
- package/dist/spreadsheet-engine/rendering/print/control-bidi.js +80 -0
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.d.ts +4 -4
- package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +76 -30
- package/dist/spreadsheet-format-xls/biff-encryption.js +1 -1
- package/dist/spreadsheet-format-xls/biff-metadata.d.ts +1 -0
- package/dist/spreadsheet-format-xls/biff-metadata.js +2 -2
- package/dist/spreadsheet-format-xls/biff-property-bytes.d.ts +4 -1
- package/dist/spreadsheet-format-xls/biff-property-bytes.js +1 -1
- package/dist/spreadsheet-format-xls/biff-range.js +1 -1
- package/dist/spreadsheet-format-xls/biff-write-metadata.js +10 -1
- package/package.json +5 -2
- package/dist/safe-bash/command-chunks/pdf-LOZAXXS6-ERI57IAV.js +0 -557
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
sliceMp4,
|
|
21
21
|
srtAst,
|
|
22
22
|
webvttAst
|
|
23
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
23
|
+
} from "../safe-bash/command-chunks/chunk-2JSDKQ4J.js";
|
|
24
24
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
25
25
|
|
|
26
26
|
// packages/safe-bash-command-ffmpeg/src/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFfprobeCommand
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-XVLWZTPY.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-MGBHGZEX.js";
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-2JSDKQ4J.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
7
7
|
|
|
8
8
|
// packages/safe-bash-command-ffprobe/src/index.ts
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
loadManifestResources,
|
|
11
11
|
resolvePath,
|
|
12
12
|
rethrowRuntimeError
|
|
13
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
13
|
+
} from "../safe-bash/command-chunks/chunk-XVLWZTPY.js";
|
|
14
14
|
import "../safe-bash/command-chunks/chunk-MGBHGZEX.js";
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-2JSDKQ4J.js";
|
|
16
16
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
17
17
|
export {
|
|
18
18
|
createFfprobeCommand,
|
|
@@ -92,7 +92,7 @@ var StoredBuilder = class {
|
|
|
92
92
|
// packages/safe-bash-command-html-to-markdown/src/stored-destination.ts
|
|
93
93
|
var alpha = (character) => character >= "A" && character <= "Z" || character >= "a" && character <= "z";
|
|
94
94
|
var digit = (character) => character >= "0" && character <= "9";
|
|
95
|
-
async function asciiHost(text, root, budget) {
|
|
95
|
+
async function asciiHost(text, root, budget, validatePunycode = true) {
|
|
96
96
|
const parts = [];
|
|
97
97
|
let count = 0, length = 0, prefix = "", radix = 10, valid = true, decimal = true, value = 0;
|
|
98
98
|
let previous, last;
|
|
@@ -120,7 +120,7 @@ async function asciiHost(text, root, budget) {
|
|
|
120
120
|
continue;
|
|
121
121
|
}
|
|
122
122
|
if (prefix.length < 4) prefix += character.toLowerCase();
|
|
123
|
-
if (prefix === "xn--") return void 0;
|
|
123
|
+
if (validatePunycode && prefix === "xn--") return void 0;
|
|
124
124
|
decimal &&= digit(character);
|
|
125
125
|
if (length === 0 && character === "0") radix = 8;
|
|
126
126
|
if (length === 1 && prefix === "0x") radix = 16;
|
|
@@ -185,29 +185,83 @@ async function decodeHost(text, root, budget) {
|
|
|
185
185
|
if (percent || !await flush(true)) return 0;
|
|
186
186
|
return result.finish();
|
|
187
187
|
}
|
|
188
|
+
async function idnaHost(text, root, budget) {
|
|
189
|
+
const domain = text.builder();
|
|
190
|
+
let unicode = false;
|
|
191
|
+
for await (const character of text.characters(root)) {
|
|
192
|
+
budget.work(character.length);
|
|
193
|
+
const checkpoint = budget.checkpoint();
|
|
194
|
+
if (checkpoint) await checkpoint;
|
|
195
|
+
if (character.codePointAt(0) > 127) {
|
|
196
|
+
unicode = true;
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
const suffix = unicode ? "\xE9" : "invalid", mappedSuffix = unicode ? ".xn--9ca" : ".invalid";
|
|
201
|
+
let label = text.builder(), native = false, prefix = "";
|
|
202
|
+
const finish = async () => {
|
|
203
|
+
const value = await label.finish();
|
|
204
|
+
if (native) {
|
|
205
|
+
let input = "";
|
|
206
|
+
for await (const chunk of text.chunks(value)) {
|
|
207
|
+
budget.work(chunk.length);
|
|
208
|
+
input += chunk;
|
|
209
|
+
const checkpoint = budget.checkpoint();
|
|
210
|
+
if (checkpoint) await checkpoint;
|
|
211
|
+
}
|
|
212
|
+
let mapped;
|
|
213
|
+
try {
|
|
214
|
+
const hostname2 = new URL(`http://${input}.${suffix}/`).hostname;
|
|
215
|
+
if (!hostname2.endsWith(mappedSuffix)) return false;
|
|
216
|
+
mapped = hostname2.slice(0, -mappedSuffix.length);
|
|
217
|
+
} catch {
|
|
218
|
+
return false;
|
|
219
|
+
}
|
|
220
|
+
await domain.write(mapped);
|
|
221
|
+
} else await domain.append(value);
|
|
222
|
+
label = text.builder();
|
|
223
|
+
native = false;
|
|
224
|
+
prefix = "";
|
|
225
|
+
return true;
|
|
226
|
+
};
|
|
227
|
+
for await (const character of text.characters(root)) {
|
|
228
|
+
budget.work(character.length);
|
|
229
|
+
const checkpoint = budget.checkpoint();
|
|
230
|
+
if (checkpoint) await checkpoint;
|
|
231
|
+
const code = character.codePointAt(0);
|
|
232
|
+
if (code <= 32 || code === 127 || "#%/:<>?@[\\]^|".includes(character)) return 0;
|
|
233
|
+
if (character === "." || character === "\u3002" || character === "\uFF0E" || character === "\uFF61") {
|
|
234
|
+
if (!await finish()) return 0;
|
|
235
|
+
await domain.write(".");
|
|
236
|
+
} else {
|
|
237
|
+
if (prefix.length < 4) prefix += character.toLowerCase();
|
|
238
|
+
native ||= code > 127 || prefix === "xn--";
|
|
239
|
+
await label.write(character);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return await finish() ? domain.finish() : 0;
|
|
243
|
+
}
|
|
188
244
|
async function hostname(text, root, budget) {
|
|
189
245
|
if (!root) return false;
|
|
190
246
|
const first = await text.at(root, 0);
|
|
191
|
-
if (first
|
|
192
|
-
if (await text.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
for await (const chunk of text.chunks(root)) {
|
|
201
|
-
budget.work(chunk.length);
|
|
202
|
-
host += chunk;
|
|
203
|
-
const checkpoint = budget.checkpoint();
|
|
204
|
-
if (checkpoint) await checkpoint;
|
|
247
|
+
if (first === "[") {
|
|
248
|
+
if ((await text.info(root)).length > 47) return false;
|
|
249
|
+
let host = "";
|
|
250
|
+
for await (const chunk of text.chunks(root)) host += chunk;
|
|
251
|
+
try {
|
|
252
|
+
return Boolean(new URL(`http://${host}/`).hostname);
|
|
253
|
+
} catch {
|
|
254
|
+
return false;
|
|
255
|
+
}
|
|
205
256
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return false;
|
|
257
|
+
if (await text.includes(root, "%")) {
|
|
258
|
+
root = await decodeHost(text, root, budget);
|
|
259
|
+
if (!root) return false;
|
|
210
260
|
}
|
|
261
|
+
const ascii = await asciiHost(text, root, budget);
|
|
262
|
+
if (ascii !== void 0) return ascii;
|
|
263
|
+
const mapped = await idnaHost(text, root, budget);
|
|
264
|
+
return mapped !== 0 && await asciiHost(text, mapped, budget, false) === true;
|
|
211
265
|
}
|
|
212
266
|
async function authority(text, root, start, budget) {
|
|
213
267
|
let offset = start, first = start, last = start, hostStart = start, began = false;
|
|
@@ -789,7 +843,7 @@ var TextStore = class {
|
|
|
789
843
|
storage;
|
|
790
844
|
cooperate;
|
|
791
845
|
encoder = new TextEncoder();
|
|
792
|
-
decoder = new TextDecoder();
|
|
846
|
+
decoder = new TextDecoder("utf-8", { ignoreBOM: true });
|
|
793
847
|
async info(root) {
|
|
794
848
|
if (!root) return empty;
|
|
795
849
|
const bytes = await this.storage.read(root, 48);
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
eR,
|
|
3
3
|
iR,
|
|
4
4
|
jh
|
|
5
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
+
} from "../safe-bash/command-chunks/chunk-ZEX53S5I.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-7QRIAJEQ.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-EAGIJ4VW.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-NUGQQDGE.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-Z2T7E4ID.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-MO4CWGBR.js";
|
|
13
13
|
import "../safe-bash/command-chunks/chunk-5NKZJEUI.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AdapterContext, ConversionContext, Diagnostic, DiagnosticCode, Limits, Operation } from "./types.js";
|
|
1
|
+
import type { AdapterContext, ConversionContext, Diagnostic, DiagnosticCode, Limits, Operation, ResourceIdentifier } from "./types.js";
|
|
2
2
|
/** Resource budgets are opt-in. No ambient environment settings. */
|
|
3
3
|
export declare const defaultLimits: Limits;
|
|
4
4
|
type Chunks = AsyncIterable<Uint8Array> | Iterable<Uint8Array>;
|
|
@@ -42,7 +42,7 @@ export declare class ExecutionContext implements AdapterContext {
|
|
|
42
42
|
call<T>(callback: () => Promise<T>): Promise<T>;
|
|
43
43
|
consume(chunks: Chunks, accept: (bytes: Uint8Array) => Promise<void>, budgets?: readonly (keyof Limits)[], retain?: boolean): Promise<void>;
|
|
44
44
|
/** Consume a custom resource directly into the caller-owned destination. */
|
|
45
|
-
consumeResource(id: string, base: string | undefined, accept: (bytes: Uint8Array) => Promise<void>): Promise<number>;
|
|
45
|
+
consumeResource(id: string | ResourceIdentifier, base: string | undefined, accept: (bytes: Uint8Array) => Promise<void>): Promise<number>;
|
|
46
46
|
acquire(chunks: Chunks, additionalBudget?: keyof Limits): Promise<Uint8Array>;
|
|
47
47
|
decodeUtf8(chunks: Chunks): Promise<string>;
|
|
48
48
|
decodeUtf8To(chunks: Chunks, accept: (text: string) => Promise<void>, budgets?: readonly (keyof Limits)[], retainInput?: boolean): Promise<void>;
|
|
@@ -3,7 +3,7 @@ export { evalSyncPandoc } from "./sync.js";
|
|
|
3
3
|
export { convert, convertToOutput, convertSync, readDocument, writeDocument, PandocError } from "./engine.js";
|
|
4
4
|
export { createFormatRegistry, coreFormats, formatCapabilities } from "./formats.js";
|
|
5
5
|
export type { FormatCapability, FormatDescriptor, FormatSelection, Direction } from "./formats.js";
|
|
6
|
-
export type { AdapterContext, ConversionContext, ConversionSummary, OutputConversionContext, WorkingStorageOptions, ConversionOptions, FilterRequest, FilterCapability, JsonFilterStreams, MetadataObject, MetadataValue, ConversionResult, Diagnostic, DiagnosticCode, Document, Input, InputSource, StreamingInput, Limits, Node, Operation, OutputCapability, StreamingOutputCapability, ReadOptions, ReaderCapability, Resource, ResourceCapability, StreamingResourceCapability, ResourceFileSystem, SerializedDocument, WriteOptions, PdfOptions, EpubOptions, WriterCapability } from "./types.js";
|
|
6
|
+
export type { AdapterContext, ConversionContext, ConversionSummary, OutputConversionContext, WorkingStorageOptions, ConversionOptions, FilterRequest, FilterCapability, JsonFilterStreams, MetadataObject, MetadataValue, ConversionResult, Diagnostic, DiagnosticCode, Document, Input, InputSource, StreamingInput, Limits, Node, Operation, OutputCapability, StreamingOutputCapability, ReadOptions, ReaderCapability, Resource, ResourceCapability, StreamingResourceCapability, SourceResourceCapability, ResourceIdentifier, ResourceFileSystem, SerializedDocument, WriteOptions, PdfOptions, EpubOptions, WriterCapability } from "./types.js";
|
|
7
7
|
export { createJsonFilterCapability } from "./json-filters.js";
|
|
8
8
|
export type { JsonFilterRuntime, JsonStreamFilterRuntime } from "./json-filters.js";
|
|
9
9
|
export { createLuaFilterCapability } from "./lua-filters.js";
|
|
@@ -3,35 +3,35 @@ import {
|
|
|
3
3
|
Al,
|
|
4
4
|
El,
|
|
5
5
|
Fh,
|
|
6
|
-
Ie,
|
|
7
6
|
La,
|
|
8
7
|
Lh,
|
|
8
|
+
Pe,
|
|
9
9
|
Qo,
|
|
10
10
|
SP,
|
|
11
11
|
TP,
|
|
12
12
|
Xv,
|
|
13
13
|
Zi,
|
|
14
|
-
|
|
15
|
-
dn,
|
|
14
|
+
dh,
|
|
16
15
|
eR,
|
|
17
|
-
|
|
16
|
+
fE,
|
|
17
|
+
fn,
|
|
18
18
|
iR,
|
|
19
19
|
ih,
|
|
20
20
|
jh,
|
|
21
|
-
|
|
21
|
+
ld,
|
|
22
22
|
mE,
|
|
23
23
|
nr,
|
|
24
24
|
tl,
|
|
25
25
|
tr,
|
|
26
26
|
vP
|
|
27
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
27
|
+
} from "../safe-bash/command-chunks/chunk-ZEX53S5I.js";
|
|
28
28
|
import "../safe-bash/command-chunks/chunk-7QRIAJEQ.js";
|
|
29
29
|
import "../safe-bash/command-chunks/chunk-IOEUZ4EA.js";
|
|
30
30
|
import "../safe-bash/command-chunks/chunk-E6SK3OU2.js";
|
|
31
31
|
import {
|
|
32
32
|
_r
|
|
33
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
34
|
-
import "../safe-bash/command-chunks/chunk-
|
|
33
|
+
} from "../safe-bash/command-chunks/chunk-EAGIJ4VW.js";
|
|
34
|
+
import "../safe-bash/command-chunks/chunk-NUGQQDGE.js";
|
|
35
35
|
import {
|
|
36
36
|
yr
|
|
37
37
|
} from "../safe-bash/command-chunks/chunk-Z2T7E4ID.js";
|
|
@@ -63,7 +63,7 @@ function K(u = {}) {
|
|
|
63
63
|
if (typeof m != "object" || m === null || !("code" in m) || m.code !== "ENOTSUP" && m.code !== "EOPNOTSUPP") throw m;
|
|
64
64
|
}
|
|
65
65
|
yield await s.readFile(t2, r, n);
|
|
66
|
-
} } : {}, readFile: (t2, r, n) => e2.fs.readFile(O(e2.cwd ?? "/", t2), { signal: r, ...n === void 0 || n === 1 / 0 ? {} : { maxBytes: n } }), writeFile: (t2, r, n) => e2.fs.writeFile(O(e2.cwd ?? "/", t2), r, { signal: n }) } : e2, { options: S, operands:
|
|
66
|
+
} } : {}, readFile: (t2, r, n) => e2.fs.readFile(O(e2.cwd ?? "/", t2), { signal: r, ...n === void 0 || n === 1 / 0 ? {} : { maxBytes: n } }), writeFile: (t2, r, n) => e2.fs.writeFile(O(e2.cwd ?? "/", t2), r, { signal: n }) } : e2, { options: S, operands: R, destination: d, limits: P } = await Fh(e2.args, s, e2.signal, i), A = (R ?? [{ chunks: e2.stdin }]).map((t2) => ({ ...t2, ...t2.base === void 0 && e2.cwd !== void 0 ? { base: e2.cwd } : {} })), F = { ...i, limits: P, signal: e2.signal, ...e2.fs === void 0 ? {} : { resourceFiles: e2.fs, resources: { resolve: async (t2, r, n) => e2.fs.readFile(`${r ?? e2.cwd ?? "/"}/${t2}`, { ...n === void 0 ? {} : { signal: n } }) } }, ...e2.cwd === void 0 ? {} : { resourceCwd: e2.cwd } }, p, v = d !== void 0 && s.createOutput ? { async write(t2, r) {
|
|
67
67
|
p ??= s.createOutput(d, r ?? e2.signal), (r ?? e2.signal).throwIfAborted(), await p.write(t2, r);
|
|
68
68
|
}, async close(t2) {
|
|
69
69
|
p ??= s.createOutput(d, t2 ?? e2.signal), (t2 ?? e2.signal).throwIfAborted(), await p.close(t2);
|
|
@@ -110,7 +110,7 @@ function Z(u = {}) {
|
|
|
110
110
|
var export_assertNever = Zi.assertNever;
|
|
111
111
|
export {
|
|
112
112
|
e as AstError,
|
|
113
|
-
|
|
113
|
+
fn as ExecutionContext,
|
|
114
114
|
t as PandocError,
|
|
115
115
|
export_assertNever as assertNever,
|
|
116
116
|
El as convert,
|
|
@@ -121,8 +121,8 @@ export {
|
|
|
121
121
|
mE as createExecutionContext,
|
|
122
122
|
Al as createFileOutput,
|
|
123
123
|
Z as createFormatInspectionCommand,
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
Pe as createFormatRegistry,
|
|
125
|
+
dh as createJsonFilterCapability,
|
|
126
126
|
_r as createLuaFilterCapability,
|
|
127
127
|
jh as createPandocCommand,
|
|
128
128
|
eR as createPandocCommands,
|
|
@@ -132,11 +132,11 @@ export {
|
|
|
132
132
|
Xv as formatCapabilities,
|
|
133
133
|
tl as inspectCommand,
|
|
134
134
|
tr as inspectFormats,
|
|
135
|
-
|
|
135
|
+
fE as normalizeDocument,
|
|
136
136
|
ih as normalizeDocumentCooperatively,
|
|
137
137
|
iR as pandocCommands,
|
|
138
138
|
nr as parseConversionArgs,
|
|
139
|
-
|
|
139
|
+
ld as pdfReader,
|
|
140
140
|
vP as readDocument,
|
|
141
141
|
Fh as resolveConversionArgs,
|
|
142
142
|
TP as writeDocument
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_r
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-EAGIJ4VW.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-NUGQQDGE.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-5NKZJEUI.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-QIFS4QHZ.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -224,15 +224,30 @@ export interface AdapterContext {
|
|
|
224
224
|
/** Strictly advancing cursor for pagination and other iterative layouts. */
|
|
225
225
|
progress(id: string, cursor: number): void;
|
|
226
226
|
}
|
|
227
|
+
/** Replayable UTF-16 identifier. Valid until the resolver's byte stream finishes.
|
|
228
|
+
* Chunks contain at most 4096 code units and may split a surrogate pair. */
|
|
229
|
+
export interface ResourceIdentifier {
|
|
230
|
+
readonly length: number;
|
|
231
|
+
chunks(): AsyncIterable<string>;
|
|
232
|
+
}
|
|
233
|
+
/** Custom resolver that accepts a caller-backed identifier without collecting it. */
|
|
234
|
+
export interface SourceResourceCapability {
|
|
235
|
+
resolveSource(id: ResourceIdentifier, base: string | undefined, signal: AbortSignal | undefined): AsyncIterable<Uint8Array>;
|
|
236
|
+
resolveStream?: StreamingResourceCapability["resolveStream"];
|
|
237
|
+
resolve?: ResourceCapability["resolve"];
|
|
238
|
+
}
|
|
227
239
|
/** Custom resource source for retained conversions. Yielded chunks are borrowed
|
|
228
240
|
* until the next pull; conversion awaits storage before advancing the producer. */
|
|
229
241
|
export interface StreamingResourceCapability {
|
|
242
|
+
resolveSource?: SourceResourceCapability["resolveSource"];
|
|
230
243
|
resolveStream(id: string, base: string | undefined, signal: AbortSignal | undefined): AsyncIterable<Uint8Array>;
|
|
231
244
|
/** Optional convenience resolver for adapters that require complete bytes. */
|
|
232
245
|
resolve?: ResourceCapability["resolve"];
|
|
233
246
|
}
|
|
234
247
|
export interface ResourceCapability {
|
|
235
|
-
/** Preferred by retained image writers
|
|
248
|
+
/** Preferred by retained image writers; keeps identifiers in caller storage. */
|
|
249
|
+
resolveSource?: SourceResourceCapability["resolveSource"];
|
|
250
|
+
/** Streaming byte fallback when resolveSource is absent. */
|
|
236
251
|
resolveStream?: StreamingResourceCapability["resolveStream"];
|
|
237
252
|
resolve(id: string, base: string | undefined, signal: AbortSignal | undefined): Promise<Uint8Array>;
|
|
238
253
|
}
|
|
@@ -281,7 +296,7 @@ export interface ConversionContext {
|
|
|
281
296
|
readonly resourceCwd?: string;
|
|
282
297
|
readonly reader?: ReaderCapability;
|
|
283
298
|
readonly writer?: WriterCapability;
|
|
284
|
-
readonly resources?: ResourceCapability | StreamingResourceCapability;
|
|
299
|
+
readonly resources?: ResourceCapability | StreamingResourceCapability | SourceResourceCapability;
|
|
285
300
|
readonly output?: OutputCapability | StreamingOutputCapability;
|
|
286
301
|
readonly limits?: Partial<Limits>;
|
|
287
302
|
readonly signal?: AbortSignal;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
patchCommand
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-3Q247UDJ.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-ZEGNRZV2.js";
|
|
5
5
|
import {
|
|
6
6
|
evalSyncPatch
|
|
7
7
|
} from "../safe-bash/command-chunks/chunk-KSY3QHLY.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
patchCommand
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-3Q247UDJ.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-ZEGNRZV2.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-JKLOBSMP.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-2VLAXKTS.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-MOZD7RUY.js";
|