@poe-platform/safe-bash 0.1.788 → 0.1.789
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 +1 -1
- package/dist/safe-bash/chunks/{chunk-WHURJBET.js → chunk-2MUJ7RLZ.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-PYTLIUST.js → chunk-CTUHLNJM.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-Z3HX3ZBA.js → chunk-D4PHJK4T.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-O6356Z27.js → chunk-H7MMJS26.js} +2 -2
- package/dist/safe-bash/chunks/{chunk-Q3E6C3DX.js → chunk-KHJGUF2W.js} +14 -0
- package/dist/safe-bash/chunks/{chunk-FJZNUUOQ.js → chunk-VUVKC6HV.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-ZMYVCRAF.js → chunk-X5ZCECM6.js} +2 -2
- package/dist/safe-bash/chunks/{git-UFNPAOYZ.js → git-HO7WDPHZ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-PFBJR2PY.js → chunk-2KRKKW5S.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-4DSJDVBM.js → chunk-32F3RBUW.js} +10 -749
- package/dist/safe-bash/command-chunks/{chunk-L3MLMXL4.js → chunk-3ZK5F23O.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4QX6XCDD.js → chunk-4RNIZ3RT.js} +79 -0
- package/dist/safe-bash/command-chunks/{chunk-D7TADAYG.js → chunk-64LG3EVJ.js} +17 -0
- package/dist/safe-bash/command-chunks/{chunk-JUDOV5MJ.js → chunk-6F7QJMJ3.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IJ3FXP4Q.js → chunk-A3ZX6SCY.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-YNT4ZJHW.js → chunk-AT6ZSOE6.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-KSIGF4AG.js → chunk-BK4CMEE6.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-XGMWWUHV.js → chunk-CZ5DAK4K.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-Z57TV6TC.js → chunk-EZ2DTOLI.js} +4 -2
- package/dist/safe-bash/command-chunks/{chunk-ADCGH6A7.js → chunk-FH3D75FC.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-WYJTWJZ5.js → chunk-G3G6W5ZE.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3HDIDEUJ.js → chunk-GF54KE2M.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-Z7TYZG3A.js → chunk-IHHTTQX6.js} +5 -3
- package/dist/safe-bash/command-chunks/{chunk-INDIFLBW.js → chunk-JTAGNROA.js} +4 -0
- package/dist/safe-bash/command-chunks/chunk-PGEYORBZ.js +25 -0
- package/dist/safe-bash/command-chunks/chunk-QM4UZF3C.js +753 -0
- package/dist/safe-bash/command-chunks/{chunk-TOSM3T3A.js → chunk-UJOO6DKY.js} +20 -9
- package/dist/safe-bash/command-chunks/{chunk-2LP3VMPA.js → chunk-WFDW4XXD.js} +1 -17
- package/dist/safe-bash/command-chunks/chunk-WR37IS4O.js +318 -0
- package/dist/safe-bash/command-chunks/{chunk-Y5IHIAY3.js → chunk-XNHSCU6I.js} +7 -3
- package/dist/safe-bash/commands/basic.js +148 -48
- package/dist/safe-bash/commands/bytes/compression/index.js +5 -6
- package/dist/safe-bash/commands/cmp.d.ts +2 -3
- package/dist/safe-bash/commands/cmp.js +2 -689
- package/dist/safe-bash/commands/docx/index.browser.js +3 -46
- package/dist/safe-bash/commands/docx/index.d.ts +2 -24
- package/dist/safe-bash/commands/docx/index.js +2 -41
- package/dist/safe-bash/commands/docx/io.d.ts +1 -14
- package/dist/safe-bash/commands/docx/io.js +1 -15
- package/dist/safe-bash/commands/llm/index.browser.js +3 -3
- package/dist/safe-bash/commands/network/index.browser.js +3 -3
- package/dist/safe-bash/commands/node/index.browser.js +3 -3
- package/dist/safe-bash/commands/pptx/index.d.ts +2 -28
- package/dist/safe-bash/commands/pptx/index.js +2 -152
- package/dist/safe-bash/commands/printf-float.d.ts +1 -0
- package/dist/safe-bash/commands/printf-float.js +48 -38
- package/dist/safe-bash/commands/printf-format.js +9 -6
- package/dist/safe-bash/commands/printf-quote.d.ts +3 -0
- package/dist/safe-bash/commands/printf-quote.js +62 -0
- package/dist/safe-bash/commands/printf-wide.d.ts +5 -0
- package/dist/safe-bash/commands/printf-wide.js +41 -0
- package/dist/safe-bash/commands/python/index.browser.js +2 -2
- package/dist/safe-bash/commands/truncate.d.ts +2 -3
- package/dist/safe-bash/commands/truncate.js +2 -686
- package/dist/safe-bash/contracts/diagnostics.d.ts +2 -0
- package/dist/safe-bash/contracts/diagnostics.js +2 -0
- package/dist/safe-bash/contracts/runtime-control.d.ts +2 -0
- package/dist/safe-bash/contracts/runtime-control.js +2 -0
- package/dist/safe-bash/core.browser.d.ts +1 -1
- package/dist/safe-bash/core.browser.js +2651 -4871
- package/dist/safe-bash/core.d.ts +10 -0
- package/dist/safe-bash/opt-in/commands/cmp/index.d.ts +6 -2
- package/dist/safe-bash/opt-in/commands/cmp/index.js +776 -79
- package/dist/safe-bash/opt-in/commands/cmp/options.d.ts +0 -12
- package/dist/safe-bash/opt-in/commands/cmp/options.js +0 -153
- package/dist/safe-bash/opt-in/commands/truncate/index.d.ts +8 -3
- package/dist/safe-bash/opt-in/commands/truncate/index.js +790 -272
- package/dist/safe-bash/opt-in/commands/truncate/sync.d.ts +1 -0
- package/dist/safe-bash/opt-in/commands/truncate/sync.js +60 -0
- package/dist/safe-bash/optional-host.browser.js +9 -1
- package/dist/safe-bash/optional-host.d.ts +3 -1
- package/dist/safe-bash/optional-host.js +3 -1
- package/dist/safe-bash/shell/runtime.js +10 -6
- package/dist/safe-bash-checksum-engine/index.d.ts +1 -1
- package/dist/safe-bash-checksum-engine/index.js +14 -2
- package/dist/safe-bash-command-bzip2/index.js +2 -1
- package/dist/safe-bash-command-cmp/index.d.ts +10 -0
- package/dist/safe-bash-command-cmp/index.js +796 -0
- package/dist/safe-bash-command-cmp/options.d.ts +12 -0
- package/dist/safe-bash-command-cmp/options.js +42 -0
- package/dist/safe-bash-command-csvcut/index.js +11 -8
- package/dist/safe-bash-command-csvgrep/index.js +35 -7
- package/dist/safe-bash-command-csvkit/codecs/python.js +4 -3
- package/dist/safe-bash-command-csvkit/codecs/utf8.js +3 -2
- package/dist/safe-bash-command-csvkit/index.js +80 -324
- package/dist/safe-bash-command-csvkit/python-regex.d.ts +5 -0
- package/dist/safe-bash-command-csvkit/python-regex.js +14 -0
- package/dist/safe-bash-command-csvkit/runtime.d.ts +1 -0
- package/dist/safe-bash-command-csvkit/sync-support.js +4 -2
- package/dist/safe-bash-command-diff3/index.js +3 -0
- package/dist/safe-bash-command-docx/LICENSE +21 -0
- package/dist/safe-bash-command-docx/index.d.ts +30 -0
- package/dist/safe-bash-command-docx/index.js +67 -0
- package/dist/safe-bash-command-docx/io.d.ts +14 -0
- package/dist/safe-bash-command-docx/io.js +26 -0
- package/dist/safe-bash-command-envsubst/index.js +34 -3
- package/dist/safe-bash-command-exiftool/index.js +3 -0
- package/dist/safe-bash-command-ffmpeg/index.js +1102 -1088
- package/dist/safe-bash-command-fold/family.js +1 -1
- package/dist/safe-bash-command-fold/index.js +1 -1
- package/dist/safe-bash-command-htmlq/index.js +5 -0
- package/dist/safe-bash-command-imagemagick/index.d.ts +25 -21
- package/dist/safe-bash-command-imagemagick/index.js +669 -271
- package/dist/safe-bash-command-mmdc/index.js +48 -10
- package/dist/safe-bash-command-mmdc/svg.d.ts +1 -0
- package/dist/safe-bash-command-op/index.js +19 -14
- 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-pdfimages/index.d.ts +7 -1
- package/dist/safe-bash-command-pdfimages/index.js +63 -33
- package/dist/safe-bash-command-pdfinfo/index.d.ts +24 -20
- package/dist/safe-bash-command-pdfinfo/index.js +370 -161
- package/dist/safe-bash-command-pdftk/index.d.ts +7 -3
- package/dist/safe-bash-command-pdftk/index.js +114 -45
- package/dist/safe-bash-command-pdftoppm/index.d.ts +15 -7
- package/dist/safe-bash-command-pdftoppm/index.js +179 -109
- package/dist/safe-bash-command-pdftotext/index.d.ts +9 -5
- package/dist/safe-bash-command-pdftotext/index.js +90 -27
- package/dist/safe-bash-command-pptx/LICENSE +21 -0
- package/dist/safe-bash-command-pptx/index.d.ts +33 -0
- package/dist/safe-bash-command-pptx/index.js +168 -0
- package/dist/safe-bash-command-qpdf/index.d.ts +9 -3
- package/dist/safe-bash-command-qpdf/index.js +80 -29
- package/dist/safe-bash-command-sha512sum/index.js +12 -475
- package/dist/safe-bash-command-sips/index.d.ts +9 -5
- package/dist/safe-bash-command-sips/index.js +63 -44
- package/dist/safe-bash-command-soffice/index.d.ts +9 -3
- package/dist/safe-bash-command-soffice/index.js +65 -24
- package/dist/safe-bash-command-sqlite3/engine.d.ts +9 -0
- package/dist/safe-bash-command-sqlite3/index.d.ts +1 -0
- package/dist/safe-bash-command-sqlite3/index.js +851 -352
- package/dist/safe-bash-command-ssconvert/formats/xls.js +3 -3
- package/dist/safe-bash-command-timeout/index.js +3 -3
- package/dist/safe-bash-command-truncate/index.d.ts +8 -3
- package/dist/safe-bash-command-truncate/index.js +790 -272
- package/dist/safe-bash-command-truncate/sync.d.ts +1 -0
- package/dist/safe-bash-command-truncate/sync.js +60 -0
- package/dist/safe-bash-command-wkhtmltopdf/index.js +92 -38
- package/dist/safe-bash-command-wkhtmltopdf/pdf-renderer.d.ts +1 -1
- package/dist/safe-bash-command-xxd/index.js +78 -20
- package/dist/safe-bash-command-xz/command.d.ts +4 -0
- package/dist/safe-bash-command-xz/index.d.ts +1 -1
- package/dist/safe-bash-command-xz/index.js +1 -1
- package/dist/safe-bash-compression-engine/bounded-codec.js +3 -3
- package/dist/safe-bash-compression-engine/codec-loader.js +2 -2
- package/dist/safe-bash-compression-engine/files.js +6 -6
- package/dist/safe-bash-compression-engine/index.js +5 -5
- package/dist/safe-bash-compression-engine/operand.js +6 -6
- package/dist/safe-bash-compression-engine/stream.js +5 -5
- package/dist/safe-bash-compression-engine/zstd-decode.js +4 -4
- package/dist/safe-bash-contracts/command.js +3 -3
- package/dist/safe-bash-contracts/diagnostics.js +3 -3
- package/dist/safe-bash-contracts/escaping.js +9 -9
- package/dist/safe-bash-contracts/filesystem-descriptor.js +3 -3
- package/dist/safe-bash-contracts/filesystem-output.js +8 -8
- package/dist/safe-bash-contracts/index.js +21 -19
- package/dist/safe-bash-contracts/io.d.ts +12 -0
- package/dist/safe-bash-contracts/io.js +4 -1
- package/dist/safe-bash-contracts/output.js +3 -2
- package/dist/safe-bash-contracts/runtime-control.js +2 -2
- package/dist/safe-bash-contracts/signals.js +1 -1
- package/dist/safe-bash-contracts/yield.d.ts +1 -0
- package/dist/safe-bash-contracts/yield.js +3 -1
- package/dist/safe-bash-csv-engine/index.d.ts +10 -1
- package/dist/safe-bash-csv-engine/index.js +78 -6
- package/dist/safe-bash-io-engine/commands/search/requirements.js +3 -3
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +3 -3
- package/dist/safe-bash-io-engine/gnu-information.js +1 -1
- package/dist/safe-bash-io-engine/internal.d.ts +1 -1
- package/dist/safe-bash-io-engine/internal.js +2 -2
- package/dist/safe-bash-query-engine/index.js +4 -4
- package/dist/safe-bash-query-engine/interpreter.js +2 -2
- package/dist/safe-bash-query-engine/query-core.js +4 -4
- package/package.json +2 -2
- package/dist/safe-bash/opt-in/commands/cmp/compare.js +0 -95
- package/dist/safe-bash/opt-in/commands/cmp/io.js +0 -218
- package/dist/safe-bash/command-chunks/{chunk-FXYWQ6S4.js → chunk-2VTMZTV3.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-RTOJNFFL.js → chunk-BJ6DGYJA.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DEH3CMGL.js → chunk-QJ3ONEBI.js} +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
boundedCodec
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-FH3D75FC.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
6
5
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
7
6
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
9
9
|
export {
|
|
10
10
|
boundedCodec
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCodec
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
5
4
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
6
5
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
8
8
|
export {
|
|
9
9
|
createCodec
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
unchangedSource,
|
|
5
5
|
verifyOperandDestinations,
|
|
6
6
|
writeFileOperand
|
|
7
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
+
} from "../safe-bash/command-chunks/chunk-GF54KE2M.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-LVEHHFOV.js";
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-2KRKKW5S.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-3ZK5F23O.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-6NTY42E5.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-2MFNTNK7.js";
|
|
13
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
13
|
+
import "../safe-bash/command-chunks/chunk-FH3D75FC.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
16
15
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
17
16
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
17
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
18
18
|
import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
|
|
19
19
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
20
20
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DecodedBudget,
|
|
3
3
|
transform
|
|
4
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
4
|
+
} from "../safe-bash/command-chunks/chunk-2KRKKW5S.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-3ZK5F23O.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-6NTY42E5.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-2MFNTNK7.js";
|
|
8
8
|
import {
|
|
9
9
|
boundedCodec
|
|
10
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
11
|
-
import "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
10
|
+
} from "../safe-bash/command-chunks/chunk-FH3D75FC.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
13
12
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
14
13
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
15
15
|
import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
|
|
16
16
|
import {
|
|
17
17
|
init_buffer
|
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
sourceBytes,
|
|
3
3
|
unchangedSource,
|
|
4
4
|
writeFileOperand
|
|
5
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
+
} from "../safe-bash/command-chunks/chunk-GF54KE2M.js";
|
|
6
6
|
import {
|
|
7
7
|
FileOperation
|
|
8
8
|
} from "../safe-bash/command-chunks/chunk-LVEHHFOV.js";
|
|
9
9
|
import {
|
|
10
10
|
transform
|
|
11
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
+
} from "../safe-bash/command-chunks/chunk-2KRKKW5S.js";
|
|
12
|
+
import "../safe-bash/command-chunks/chunk-3ZK5F23O.js";
|
|
13
13
|
import "../safe-bash/command-chunks/chunk-6NTY42E5.js";
|
|
14
14
|
import "../safe-bash/command-chunks/chunk-2MFNTNK7.js";
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-
|
|
16
|
-
import "../safe-bash/command-chunks/chunk-
|
|
17
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
15
|
+
import "../safe-bash/command-chunks/chunk-FH3D75FC.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
18
17
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
19
18
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
19
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
20
20
|
import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
|
|
21
21
|
import {
|
|
22
22
|
init_buffer
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
chunkBytes,
|
|
4
4
|
stagingLimit,
|
|
5
5
|
transform
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-2KRKKW5S.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-3ZK5F23O.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-6NTY42E5.js";
|
|
9
9
|
import "../safe-bash/command-chunks/chunk-2MFNTNK7.js";
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
11
|
-
import "../safe-bash/command-chunks/chunk-
|
|
12
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-FH3D75FC.js";
|
|
11
|
+
import "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
13
12
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
14
13
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
15
15
|
import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
|
|
16
16
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
17
17
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
zstdDecode
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-3ZK5F23O.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-6NTY42E5.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-2MFNTNK7.js";
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-FH3D75FC.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-QJ3ONEBI.js";
|
|
9
8
|
import "../safe-bash/command-chunks/chunk-KHGQDFQ7.js";
|
|
10
9
|
import "../safe-bash/command-chunks/chunk-A7L65T2H.js";
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-Z6SFT6OC.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-RDV7UCYZ.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
13
13
|
export {
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
registerDefaultExecutor,
|
|
9
9
|
registerDefaultExecutors,
|
|
10
10
|
validateExitCode
|
|
11
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
11
|
+
} from "../safe-bash/command-chunks/chunk-A3ZX6SCY.js";
|
|
12
12
|
import {
|
|
13
13
|
builtInDirectContextExecutors
|
|
14
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
15
|
-
import "../safe-bash/command-chunks/chunk-D7TADAYG.js";
|
|
14
|
+
} from "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
16
15
|
import "../safe-bash/command-chunks/chunk-7QBEUGRX.js";
|
|
16
|
+
import "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
17
17
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
18
18
|
export {
|
|
19
19
|
CommandArgumentIdentityError,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "../safe-bash/command-chunks/chunk-WCVGFWMI.js";
|
|
4
4
|
import {
|
|
5
5
|
CommandArgumentIdentityError
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-D7TADAYG.js";
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-A3ZX6SCY.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
9
8
|
import "../safe-bash/command-chunks/chunk-7QBEUGRX.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
10
10
|
import {
|
|
11
11
|
FsError
|
|
12
12
|
} from "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import "../safe-bash/command-chunks/chunk-UWNBM24V.js";
|
|
2
|
-
import "../safe-bash/command-chunks/chunk-
|
|
2
|
+
import "../safe-bash/command-chunks/chunk-JCDHBLWM.js";
|
|
3
|
+
import "../safe-bash/command-chunks/chunk-6LBBB4KL.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-CZ5DAK4K.js";
|
|
3
5
|
import "../safe-bash/command-chunks/chunk-3IC3LNJH.js";
|
|
4
6
|
import "../safe-bash/command-chunks/chunk-PTLDMI4O.js";
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-WYJTWJZ5.js";
|
|
8
|
-
import {
|
|
9
|
-
yieldTurn
|
|
10
|
-
} from "../safe-bash/command-chunks/chunk-D7TADAYG.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-A3ZX6SCY.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
11
9
|
import {
|
|
12
10
|
shellValueByteLength
|
|
13
11
|
} from "../safe-bash/command-chunks/chunk-7QBEUGRX.js";
|
|
14
12
|
import "../safe-bash/command-chunks/chunk-FCHHRTWP.js";
|
|
15
13
|
import {
|
|
16
14
|
writeBytes
|
|
17
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
15
|
+
} from "../safe-bash/command-chunks/chunk-4RNIZ3RT.js";
|
|
16
|
+
import {
|
|
17
|
+
yieldTurn
|
|
18
|
+
} from "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
18
19
|
import "../safe-bash/command-chunks/chunk-CRIWRVFY.js";
|
|
19
20
|
import "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
20
|
-
import "../safe-bash/command-chunks/chunk-6LBBB4KL.js";
|
|
21
21
|
import {
|
|
22
22
|
init_buffer
|
|
23
23
|
} from "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openCommandFile
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-BK4CMEE6.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-PTLDMI4O.js";
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
9
9
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openCommandFile
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-BK4CMEE6.js";
|
|
4
4
|
import {
|
|
5
5
|
createOutputOperation
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-CZ5DAK4K.js";
|
|
7
7
|
import {
|
|
8
8
|
assertCountedFileOutput,
|
|
9
9
|
bindFileOutputBudget,
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
writeFileOutput,
|
|
12
12
|
writeFileOutputCounted
|
|
13
13
|
} from "../safe-bash/command-chunks/chunk-PTLDMI4O.js";
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
15
|
+
import {
|
|
16
|
+
createBytePipe,
|
|
17
|
+
outputFailure
|
|
18
|
+
} from "../safe-bash/command-chunks/chunk-4RNIZ3RT.js";
|
|
15
19
|
import {
|
|
16
20
|
abortManagedController,
|
|
17
21
|
addAbortSignalWaiter,
|
|
18
22
|
isManagedAbortSignal,
|
|
19
23
|
registerManagedAbortSignal,
|
|
20
24
|
removeAbortSignalWaiter
|
|
21
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
22
|
-
import {
|
|
23
|
-
createBytePipe,
|
|
24
|
-
outputFailure
|
|
25
|
-
} from "../safe-bash/command-chunks/chunk-4QX6XCDD.js";
|
|
25
|
+
} from "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
26
26
|
import {
|
|
27
27
|
FsError
|
|
28
28
|
} from "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
import "../safe-bash/command-chunks/chunk-UWNBM24V.js";
|
|
2
|
-
import {
|
|
3
|
-
createOutputOperation
|
|
4
|
-
} from "../safe-bash/command-chunks/chunk-XGMWWUHV.js";
|
|
5
|
-
import {
|
|
6
|
-
createProcessSignalChannel
|
|
7
|
-
} from "../safe-bash/command-chunks/chunk-3IC3LNJH.js";
|
|
8
|
-
import {
|
|
9
|
-
assertCountedFileOutput,
|
|
10
|
-
bindFileOutputBudget,
|
|
11
|
-
writeFileOutput,
|
|
12
|
-
writeFileOutputCounted
|
|
13
|
-
} from "../safe-bash/command-chunks/chunk-PTLDMI4O.js";
|
|
14
2
|
import {
|
|
15
3
|
assertPathWithin,
|
|
16
4
|
basename,
|
|
@@ -26,6 +14,21 @@ import {
|
|
|
26
14
|
resolvePath,
|
|
27
15
|
validatePath
|
|
28
16
|
} from "../safe-bash/command-chunks/chunk-JCDHBLWM.js";
|
|
17
|
+
import {
|
|
18
|
+
composeMiddleware
|
|
19
|
+
} from "../safe-bash/command-chunks/chunk-6LBBB4KL.js";
|
|
20
|
+
import {
|
|
21
|
+
createOutputOperation
|
|
22
|
+
} from "../safe-bash/command-chunks/chunk-CZ5DAK4K.js";
|
|
23
|
+
import {
|
|
24
|
+
createProcessSignalChannel
|
|
25
|
+
} from "../safe-bash/command-chunks/chunk-3IC3LNJH.js";
|
|
26
|
+
import {
|
|
27
|
+
assertCountedFileOutput,
|
|
28
|
+
bindFileOutputBudget,
|
|
29
|
+
writeFileOutput,
|
|
30
|
+
writeFileOutputCounted
|
|
31
|
+
} from "../safe-bash/command-chunks/chunk-PTLDMI4O.js";
|
|
29
32
|
import {
|
|
30
33
|
CommandArgumentIdentityError,
|
|
31
34
|
CommandRegistry,
|
|
@@ -36,11 +39,10 @@ import {
|
|
|
36
39
|
registerDefaultExecutor,
|
|
37
40
|
registerDefaultExecutors,
|
|
38
41
|
validateExitCode
|
|
39
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
42
|
+
} from "../safe-bash/command-chunks/chunk-A3ZX6SCY.js";
|
|
40
43
|
import {
|
|
41
44
|
builtInDirectContextExecutors
|
|
42
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
43
|
-
import "../safe-bash/command-chunks/chunk-D7TADAYG.js";
|
|
45
|
+
} from "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
44
46
|
import {
|
|
45
47
|
concatShellValues,
|
|
46
48
|
shellValueByteLength,
|
|
@@ -53,6 +55,7 @@ import {
|
|
|
53
55
|
ACCESS_MODES
|
|
54
56
|
} from "../safe-bash/command-chunks/chunk-FCHHRTWP.js";
|
|
55
57
|
import {
|
|
58
|
+
InputByteBudget,
|
|
56
59
|
collectBytes,
|
|
57
60
|
collectText,
|
|
58
61
|
createBufferedOutput,
|
|
@@ -63,7 +66,8 @@ import {
|
|
|
63
66
|
toByteSource,
|
|
64
67
|
writeBytes,
|
|
65
68
|
writeText
|
|
66
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
69
|
+
} from "../safe-bash/command-chunks/chunk-4RNIZ3RT.js";
|
|
70
|
+
import "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
67
71
|
import {
|
|
68
72
|
assertCommandRequirements,
|
|
69
73
|
evaluateCommandSupport
|
|
@@ -74,15 +78,13 @@ import {
|
|
|
74
78
|
isFsError,
|
|
75
79
|
toFsError
|
|
76
80
|
} from "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
77
|
-
import {
|
|
78
|
-
composeMiddleware
|
|
79
|
-
} from "../safe-bash/command-chunks/chunk-6LBBB4KL.js";
|
|
80
81
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
81
82
|
export {
|
|
82
83
|
ACCESS_MODES,
|
|
83
84
|
CommandArgumentIdentityError,
|
|
84
85
|
CommandRegistry,
|
|
85
86
|
FsError,
|
|
87
|
+
InputByteBudget,
|
|
86
88
|
assertCommandRequirements,
|
|
87
89
|
assertCountedFileOutput,
|
|
88
90
|
assertPathWithin,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CommandContext, CommandResult } from "./command.js";
|
|
1
2
|
import type { ByteSource, CollectOptions } from "@poe-platform/safe-fs/core";
|
|
2
3
|
export { collectBytes, readBytes, toByteSource } from "@poe-platform/safe-fs/core";
|
|
3
4
|
export type { ByteSource, CollectOptions } from "@poe-platform/safe-fs/core";
|
|
@@ -60,3 +61,14 @@ export declare function writeText(sink: ByteSink, text: string): Promise<void>;
|
|
|
60
61
|
export declare function writeBytes(sink: ByteSink, chunk: Uint8Array, signal?: AbortSignal): Promise<void>;
|
|
61
62
|
export declare function pipeBytes(source: ByteSource, sink: ByteSink, signal?: AbortSignal): Promise<void>;
|
|
62
63
|
export declare function collectText(source: ByteSource, options: CollectOptions): Promise<string>;
|
|
64
|
+
/** Cumulative command-local input accounting, including failures caught by file probes. */
|
|
65
|
+
export declare class InputByteBudget {
|
|
66
|
+
#private;
|
|
67
|
+
readonly maximum: number;
|
|
68
|
+
static limit(value?: number): number;
|
|
69
|
+
constructor(maximum?: number);
|
|
70
|
+
assertOpen(): void;
|
|
71
|
+
charge(bytes: number): void;
|
|
72
|
+
run(context: CommandContext, execute: (context: CommandContext) => Promise<CommandResult>): Promise<CommandResult>;
|
|
73
|
+
read(source: ByteSource, signal: AbortSignal): ByteSource;
|
|
74
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
InputByteBudget,
|
|
2
3
|
collectBytes,
|
|
3
4
|
collectText,
|
|
4
5
|
createBufferedOutput,
|
|
@@ -9,10 +10,12 @@ import {
|
|
|
9
10
|
toByteSource,
|
|
10
11
|
writeBytes,
|
|
11
12
|
writeText
|
|
12
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
13
|
+
} from "../safe-bash/command-chunks/chunk-4RNIZ3RT.js";
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
13
15
|
import "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
14
16
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
15
17
|
export {
|
|
18
|
+
InputByteBudget,
|
|
16
19
|
collectBytes,
|
|
17
20
|
collectText,
|
|
18
21
|
createBufferedOutput,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createOutputOperation
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
4
|
-
import "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-CZ5DAK4K.js";
|
|
4
|
+
import "../safe-bash/command-chunks/chunk-4RNIZ3RT.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
5
6
|
import "../safe-bash/command-chunks/chunk-U6CJOXRY.js";
|
|
6
7
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
7
8
|
export {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
interruptible,
|
|
7
7
|
isSyncResolved,
|
|
8
8
|
registerRuntimeBackingFileSystem
|
|
9
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
9
|
+
} from "../safe-bash/command-chunks/chunk-G3G6W5ZE.js";
|
|
10
10
|
import {
|
|
11
11
|
abortManagedController,
|
|
12
12
|
addAbortSignalWaiter,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
registerManagedAbortSignal,
|
|
19
19
|
removeAbortSignalWaiter,
|
|
20
20
|
toNativeAbortSignal
|
|
21
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
21
|
+
} from "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
22
22
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
23
23
|
export {
|
|
24
24
|
abortManagedController,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
registerManagedAbortSignal,
|
|
10
10
|
removeAbortSignalWaiter,
|
|
11
11
|
toNativeAbortSignal
|
|
12
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
12
|
+
} from "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
13
13
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
14
14
|
export {
|
|
15
15
|
abortManagedController,
|
|
@@ -15,3 +15,4 @@ export declare function inheritYieldCheckpoint(parent: AbortSignal, child: Abort
|
|
|
15
15
|
export declare function scheduleTurn(callback: () => void): TurnHandle;
|
|
16
16
|
export declare function cancelTurn(handle: TurnHandle | undefined): void;
|
|
17
17
|
export declare function yieldTurn(signal?: AbortSignal): Promise<void>;
|
|
18
|
+
export declare function drainCooperativeSteps<T>(steps: Generator<void, T, void>, signal?: AbortSignal): Promise<T>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cancelTurn,
|
|
3
|
+
drainCooperativeSteps,
|
|
3
4
|
hasRegisteredYieldCheckpoint,
|
|
4
5
|
hasYieldCheckpoint,
|
|
5
6
|
inheritYieldCheckpoint,
|
|
@@ -9,10 +10,11 @@ import {
|
|
|
9
10
|
runYieldCheckpoint,
|
|
10
11
|
scheduleTurn,
|
|
11
12
|
yieldTurn
|
|
12
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
13
|
+
} from "../safe-bash/command-chunks/chunk-64LG3EVJ.js";
|
|
13
14
|
import "../safe-bash/command-chunks/chunk-HX3SHTCE.js";
|
|
14
15
|
export {
|
|
15
16
|
cancelTurn,
|
|
17
|
+
drainCooperativeSteps,
|
|
16
18
|
hasRegisteredYieldCheckpoint,
|
|
17
19
|
hasYieldCheckpoint,
|
|
18
20
|
inheritYieldCheckpoint,
|
|
@@ -21,6 +21,7 @@ export declare const defaultCsvLimits: Readonly<CsvLimits>;
|
|
|
21
21
|
export declare class CsvBudget {
|
|
22
22
|
readonly signal: AbortSignal;
|
|
23
23
|
private disposed;
|
|
24
|
+
private lastYieldWork;
|
|
24
25
|
private aborted;
|
|
25
26
|
private readonly pollSignal;
|
|
26
27
|
readonly limits: Readonly<CsvLimits>;
|
|
@@ -28,6 +29,7 @@ export declare class CsvBudget {
|
|
|
28
29
|
/** Immutable observations cannot change the invocation's quota ledger. */
|
|
29
30
|
get accounting(): Readonly<typeof this.usage>;
|
|
30
31
|
getUsage(key: keyof typeof this.usage): number;
|
|
32
|
+
checkpoint(): Promise<void>;
|
|
31
33
|
remaining(key: Exclude<keyof CsvLimits, "fieldBytes">): number;
|
|
32
34
|
constructor(limits: Partial<CsvLimits>, signal: AbortSignal);
|
|
33
35
|
chargeWorkAndRetained(workAmount: number, retainedAmount: number): void;
|
|
@@ -47,7 +49,9 @@ export interface CsvDialect {
|
|
|
47
49
|
doubleQuote?: boolean;
|
|
48
50
|
skipInitialSpace?: boolean;
|
|
49
51
|
skipLines?: number;
|
|
50
|
-
quoting?: 0 | 3;
|
|
52
|
+
quoting?: 0 | 1 | 2 | 3;
|
|
53
|
+
encoding?: string;
|
|
54
|
+
fieldCharacters?: number;
|
|
51
55
|
}
|
|
52
56
|
export interface CsvRow {
|
|
53
57
|
readonly cells: readonly string[];
|
|
@@ -57,6 +61,9 @@ export declare class CsvParser {
|
|
|
57
61
|
private readonly dialect;
|
|
58
62
|
private readonly budget;
|
|
59
63
|
private readonly decoder;
|
|
64
|
+
private readonly encoding;
|
|
65
|
+
private fieldCharacters;
|
|
66
|
+
private quotedField;
|
|
60
67
|
private readonly delimiter;
|
|
61
68
|
private field;
|
|
62
69
|
private row;
|
|
@@ -69,6 +76,8 @@ export declare class CsvParser {
|
|
|
69
76
|
private ended;
|
|
70
77
|
private skipped;
|
|
71
78
|
constructor(dialect: CsvDialect, budget: CsvBudget);
|
|
79
|
+
/** Consume a borrowed producer chunk in bounded units before its next pull. */
|
|
80
|
+
pushAsync(bytes: Uint8Array): AsyncGenerator<CsvRow>;
|
|
72
81
|
push(bytes: Uint8Array): CsvRow[];
|
|
73
82
|
end(): CsvRow[];
|
|
74
83
|
/** Releases parser-owned fields; returned rows remain owned by the caller. */
|