@poe-platform/safe-bash 0.1.782 → 0.1.783
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 +40 -0
- package/dist/office-package/zip-sync.d.ts +2 -0
- package/dist/office-package/zip-sync.js +111 -0
- package/dist/safe-bash/chunks/chunk-4FDQJUFW.js +3464 -0
- package/dist/safe-bash/chunks/csvkit-K55OYAQC.js +1564 -0
- package/dist/safe-bash/chunks/ffmpeg-BEFTQ6DZ.js +60 -0
- package/dist/safe-bash/chunks/gh-HQWOWLWE.js +41 -0
- package/dist/safe-bash/chunks/git-UFNPAOYZ.js +52 -0
- package/dist/safe-bash/chunks/imagemagick-53BMHH6D.js +134 -0
- package/dist/safe-bash/chunks/implementation-QUTAAYMT.js +105 -0
- package/dist/safe-bash/chunks/pdfimages-4OYI6FLG.js +73 -0
- package/dist/safe-bash/chunks/pdfinfo-I7U6TQPP.js +153 -0
- package/dist/safe-bash/chunks/pdftk-SUA6FMHI.js +79 -0
- package/dist/safe-bash/chunks/pdftoppm-4C5DGEWX.js +139 -0
- package/dist/safe-bash/chunks/pdftotext-Y4WI225Y.js +118 -0
- package/dist/safe-bash/chunks/qpdf-IORB4RV5.js +68 -0
- package/dist/safe-bash/chunks/sips-WHAMJFEU.js +77 -0
- package/dist/safe-bash/chunks/soffice-SYEK6WJS.js +89 -0
- package/dist/safe-bash/chunks/wkhtmltopdf-ZIICWJLF.js +85 -0
- package/dist/safe-bash/command-chunks/chunk-2LP3VMPA.js +58 -0
- package/dist/safe-bash/command-chunks/{chunk-CG4JSOK2.js → chunk-3HDIDEUJ.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-4DSJDVBM.js +2897 -0
- package/dist/safe-bash/command-chunks/{chunk-GBHSE6ZO.js → chunk-5GRLAARV.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-7OKDCM5U.js +112 -0
- package/dist/safe-bash/command-chunks/{chunk-FH3D75FC.js → chunk-ADCGH6A7.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-MTKXVRXL.js → chunk-DREUDEQG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-ADBFNLLK.js → chunk-FXYWQ6S4.js} +16 -14
- package/dist/safe-bash/command-chunks/{chunk-Y2KHC6TZ.js → chunk-IDKD76KR.js} +5 -3
- package/dist/safe-bash/command-chunks/{chunk-K6KBYLQC.js → chunk-JUDOV5MJ.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-3ZK5F23O.js → chunk-L3MLMXL4.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-E5TEVROY.js → chunk-PFBJR2PY.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-YGYOVXTO.js → chunk-UUR2S7AD.js} +9 -5
- package/dist/safe-bash/command-chunks/chunk-VIVYKW7Q.js +101 -0
- package/dist/safe-bash/command-chunks/{chunk-I5GLTNVH.js → chunk-X4P42NYK.js} +2 -27
- package/dist/safe-bash/command-chunks/{chunk-XF6TXYLD.js → chunk-Z57TV6TC.js} +4 -54
- package/dist/safe-bash/command-chunks/{chunk-QDPRSPHQ.js → chunk-Z64BW7CG.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-X3IVPNC3.js → chunk-Z7TYZG3A.js} +5 -3
- package/dist/safe-bash/command-chunks/{chunk-GZXLPWT5.js → chunk-ZF3ZVGQC.js} +259 -258
- package/dist/safe-bash/command-chunks/{pptx-ZL6L7KP2-QVZEYFUV.js → pptx-KY2OJWZW-76LBHCHD.js} +4 -3
- package/dist/safe-bash/commands/csvkit/index.d.ts +1 -8
- package/dist/safe-bash/commands/csvkit/index.js +5 -1639
- package/dist/safe-bash/commands/csvkit/sync.d.ts +9 -0
- package/dist/safe-bash/commands/csvkit/sync.js +1639 -0
- package/dist/safe-bash/commands/pandoc/implementation.d.ts +8 -0
- package/dist/safe-bash/commands/pandoc/implementation.js +92 -0
- package/dist/safe-bash/commands/pandoc/index.d.ts +2 -6
- package/dist/safe-bash/commands/pandoc/index.js +2 -90
- package/dist/safe-bash/core.browser.js +808 -6271
- package/dist/safe-bash/core.d.ts +17 -16
- package/dist/safe-bash/core.js +17 -16
- package/dist/safe-bash/lazy-gh.d.ts +10 -0
- package/dist/safe-bash/lazy-gh.js +30 -0
- package/dist/safe-bash/lazy-optional.d.ts +499 -0
- package/dist/safe-bash/lazy-optional.js +609 -0
- package/dist/safe-bash/plugins/composition.d.ts +1 -1
- package/dist/safe-bash/plugins/composition.js +1 -1
- package/dist/safe-bash/plugins/lazy-command.d.ts +9 -0
- package/dist/safe-bash/plugins/lazy-command.js +57 -0
- package/dist/safe-bash/shell/runtime.js +24 -25
- package/dist/safe-bash-command-csvkit/cli/lexical.d.ts +3 -0
- package/dist/safe-bash-command-csvkit/cli/parser.d.ts +1 -2
- package/dist/safe-bash-command-csvkit/codecs/python.js +3 -2
- package/dist/safe-bash-command-csvkit/codecs/utf8.js +2 -1
- package/dist/safe-bash-command-csvkit/index.js +453 -3270
- package/dist/safe-bash-command-csvkit/sync-support.d.ts +7 -0
- package/dist/safe-bash-command-csvkit/sync-support.js +31 -0
- package/dist/safe-bash-command-gh/index.js +25 -17
- package/dist/safe-bash-command-git/index.js +6 -10
- package/dist/safe-bash-command-imagemagick/index.js +2 -2
- package/dist/safe-bash-command-pandoc/citeproc-filters.js +4 -2
- package/dist/safe-bash-command-pandoc/command.js +8 -6
- package/dist/safe-bash-command-pandoc/index.js +8 -6
- package/dist/safe-bash-command-pandoc/lua-filters.js +3 -2
- package/dist/safe-bash-command-pandoc/options.d.ts +5 -0
- package/dist/safe-bash-command-pandoc/options.js +93 -0
- package/dist/safe-bash-command-sips/index.js +2 -2
- package/dist/safe-bash-command-soffice/index.d.ts +1 -2
- package/dist/safe-bash-command-soffice/index.js +22 -18
- package/dist/safe-bash-command-ssconvert/commands.js +2 -2
- package/dist/safe-bash-command-ssconvert/core.js +2 -2
- package/dist/safe-bash-command-ssconvert/formats/csv.js +2 -2
- package/dist/safe-bash-command-ssconvert/formats/xls.js +3 -3
- package/dist/safe-bash-command-ssconvert/formats/xlsx.js +3 -3
- package/dist/safe-bash-command-timeout/index.js +3 -3
- package/dist/safe-bash-command-yq/index.js +5 -5
- 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 +7 -7
- package/dist/safe-bash-compression-engine/index.js +6 -6
- package/dist/safe-bash-compression-engine/operand.js +7 -7
- package/dist/safe-bash-compression-engine/stream.js +6 -6
- package/dist/safe-bash-compression-engine/zstd-decode.js +5 -5
- 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 +1 -1
- package/dist/safe-bash-contracts/filesystem-output.js +10 -10
- package/dist/safe-bash-contracts/index.js +40 -40
- package/dist/safe-bash-io-engine/commands/search/requirements.js +4 -4
- package/dist/safe-bash-io-engine/commands/text-programs/shared.js +4 -4
- package/dist/safe-bash-io-engine/internal.d.ts +9 -0
- package/dist/safe-bash-io-engine/internal.js +3 -3
- package/dist/safe-bash-query-engine/index.js +6 -6
- package/dist/safe-bash-query-engine/interpreter.js +5 -5
- package/dist/safe-bash-query-engine/query-core.js +6 -6
- package/dist/safe-bash-regex-engine/execution/bounded-provider.js +3 -3
- package/dist/safe-bash-regex-engine/index.js +2 -2
- package/dist/safe-bash-regex-engine/text/regex.js +2 -2
- package/dist/safe-bash-xml-engine/index.js +3 -3
- package/package.json +4 -4
- package/dist/safe-bash/command-chunks/{chunk-DC52GWRK.js → chunk-BUKYQBXO.js} +13 -13
- package/dist/safe-bash/command-chunks/{chunk-QJ3ONEBI.js → chunk-DEH3CMGL.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-Y64PA6IA.js → chunk-KHZZ4V3L.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-I7PKIGII.js → chunk-QIRUOY2W.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-HQG2IBZL.js → chunk-TOSM3T3A.js} +6 -6
- package/dist/safe-bash/command-chunks/{chunk-F4IQCXZG.js → chunk-VBZMCL23.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-J2NPH7DO.js → chunk-W2T7JWT3.js} +3 -3
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
import { createGhCommands } from "./lazy-gh.js";
|
|
2
|
+
import { type CommandDefinition } from "./contracts/command.js";
|
|
3
|
+
import type { VirtualShellPlugin } from "./contracts/plugin.js";
|
|
4
|
+
type ffmpegModule = typeof import("./commands/ffmpeg/index.js");
|
|
5
|
+
export declare const createFfmpegCommand: ffmpegModule["createFfmpegCommand"];
|
|
6
|
+
export declare const createFfprobeCommand: ffmpegModule["createFfprobeCommand"];
|
|
7
|
+
export declare const createFfmpegCommands: ffmpegModule["createFfmpegCommands"];
|
|
8
|
+
export declare const ffmpegCommands: ffmpegModule["ffmpegCommands"];
|
|
9
|
+
export type { FfmpegCommandsOptions } from "./commands/ffmpeg/index.js";
|
|
10
|
+
export type { FfmpegCommandPair } from "./commands/ffmpeg/index.js";
|
|
11
|
+
type gitModule = typeof import("./commands/git/index.js");
|
|
12
|
+
export declare const gitCommands: gitModule["gitCommands"];
|
|
13
|
+
export declare const createGitCommands: gitModule["createGitCommands"];
|
|
14
|
+
export declare const createGitCommand: gitModule["createGitCommand"];
|
|
15
|
+
export type { GitCommandsOptions } from "./commands/git/index.js";
|
|
16
|
+
type sofficeModule = typeof import("./commands/soffice/index.js");
|
|
17
|
+
export declare const createSofficeCommand: sofficeModule["createSofficeCommand"];
|
|
18
|
+
export declare const sofficeCommands: sofficeModule["sofficeCommands"];
|
|
19
|
+
export type { SofficeCommandOptions } from "./commands/soffice/index.js";
|
|
20
|
+
export declare const createSofficeCommands: sofficeModule["createSofficeCommands"];
|
|
21
|
+
export type { SofficeCommandsOptions } from "./commands/soffice/index.js";
|
|
22
|
+
type pandocModule = typeof import("./commands/pandoc/implementation.js");
|
|
23
|
+
export declare const pandocCommands: pandocModule["pandocCommands"];
|
|
24
|
+
export declare const createPandocCommands: pandocModule["createPandocCommands"];
|
|
25
|
+
export declare const createPandocCommand: pandocModule["createPandocCommand"];
|
|
26
|
+
export type { PandocCommandsOptions } from "./commands/pandoc/implementation.js";
|
|
27
|
+
export type { PandocLimits } from "./commands/pandoc/implementation.js";
|
|
28
|
+
type ssconvertModule = typeof import("./commands/ssconvert/index.js");
|
|
29
|
+
export declare const createSsconvertCommand: ssconvertModule["createSsconvertCommand"];
|
|
30
|
+
export declare const ssconvertCommands: ssconvertModule["ssconvertCommands"];
|
|
31
|
+
export type { SsconvertCommandsOptions } from "./commands/ssconvert/index.js";
|
|
32
|
+
export type { SsconvertLimits } from "./commands/ssconvert/index.js";
|
|
33
|
+
export declare const createSsconvertCommands: ssconvertModule["createSsconvertCommands"];
|
|
34
|
+
type pdfinfoModule = typeof import("./commands/pdfinfo/index.js");
|
|
35
|
+
export declare const createPdfinfoCommand: pdfinfoModule["createPdfinfoCommand"];
|
|
36
|
+
export declare const pdfinfoCommands: pdfinfoModule["pdfinfoCommands"];
|
|
37
|
+
export type { PdfinfoCommandOptions } from "./commands/pdfinfo/index.js";
|
|
38
|
+
export declare const createPdfinfoCommands: pdfinfoModule["createPdfinfoCommands"];
|
|
39
|
+
export type { PdfinfoCommandsOptions } from "./commands/pdfinfo/index.js";
|
|
40
|
+
type pdftotextModule = typeof import("./commands/pdftotext/index.js");
|
|
41
|
+
export declare const createPdftotextCommand: pdftotextModule["createPdftotextCommand"];
|
|
42
|
+
export declare const pdftotextCommands: pdftotextModule["pdftotextCommands"];
|
|
43
|
+
export type { PdftotextCommandOptions } from "./commands/pdftotext/index.js";
|
|
44
|
+
export declare const createPdftotextCommands: pdftotextModule["createPdftotextCommands"];
|
|
45
|
+
export type { PdftotextCommandsOptions } from "./commands/pdftotext/index.js";
|
|
46
|
+
type pdfimagesModule = typeof import("./commands/pdfimages/index.js");
|
|
47
|
+
export declare const createPdfimagesCommand: pdfimagesModule["createPdfimagesCommand"];
|
|
48
|
+
export declare const pdfimagesCommands: pdfimagesModule["pdfimagesCommands"];
|
|
49
|
+
export type { PdfimagesCommandOptions } from "./commands/pdfimages/index.js";
|
|
50
|
+
export declare const createPdfimagesCommands: pdfimagesModule["createPdfimagesCommands"];
|
|
51
|
+
export type { PdfimagesCommandsOptions } from "./commands/pdfimages/index.js";
|
|
52
|
+
type pdftoppmModule = typeof import("./commands/pdftoppm/index.js");
|
|
53
|
+
export declare const createPdftoppmCommand: pdftoppmModule["createPdftoppmCommand"];
|
|
54
|
+
export declare const pdftoppmCommands: pdftoppmModule["pdftoppmCommands"];
|
|
55
|
+
export type { PdftoppmCommandOptions } from "./commands/pdftoppm/index.js";
|
|
56
|
+
export declare const createPdftoppmCommands: pdftoppmModule["createPdftoppmCommands"];
|
|
57
|
+
export type { PdftoppmCommandsOptions } from "./commands/pdftoppm/index.js";
|
|
58
|
+
type pdftkModule = typeof import("./commands/pdftk/index.js");
|
|
59
|
+
export declare const createPdftkCommand: pdftkModule["createPdftkCommand"];
|
|
60
|
+
export declare const pdftkCommands: pdftkModule["pdftkCommands"];
|
|
61
|
+
export type { PdftkCommandOptions } from "./commands/pdftk/index.js";
|
|
62
|
+
export declare const createPdftkCommands: pdftkModule["createPdftkCommands"];
|
|
63
|
+
export type { PdftkCommandsOptions } from "./commands/pdftk/index.js";
|
|
64
|
+
type qpdfModule = typeof import("./commands/qpdf/index.js");
|
|
65
|
+
export declare const createQpdfCommand: qpdfModule["createQpdfCommand"];
|
|
66
|
+
export declare const qpdfCommands: qpdfModule["qpdfCommands"];
|
|
67
|
+
export type { QpdfCommandOptions } from "./commands/qpdf/index.js";
|
|
68
|
+
export declare const createQpdfCommands: qpdfModule["createQpdfCommands"];
|
|
69
|
+
export type { QpdfCommandsOptions } from "./commands/qpdf/index.js";
|
|
70
|
+
type sipsModule = typeof import("./commands/sips/index.js");
|
|
71
|
+
export declare const createSipsCommand: sipsModule["createSipsCommand"];
|
|
72
|
+
export declare const sipsCommands: sipsModule["sipsCommands"];
|
|
73
|
+
export type { SipsCommandOptions } from "./commands/sips/index.js";
|
|
74
|
+
export declare const createSipsCommands: sipsModule["createSipsCommands"];
|
|
75
|
+
export type { SipsCommandsOptions } from "./commands/sips/index.js";
|
|
76
|
+
type imagemagickModule = typeof import("./commands/imagemagick/index.js");
|
|
77
|
+
export declare const createMagickCommand: imagemagickModule["createMagickCommand"];
|
|
78
|
+
export declare const imagemagickCommands: imagemagickModule["imagemagickCommands"];
|
|
79
|
+
export type { ImageMagickCommandOptions } from "./commands/imagemagick/index.js";
|
|
80
|
+
export declare const createImagemagickCommands: imagemagickModule["createImagemagickCommands"];
|
|
81
|
+
export declare const createImagemagickCommand: imagemagickModule["createImagemagickCommand"];
|
|
82
|
+
export type { ImagemagickCommandsOptions } from "./commands/imagemagick/index.js";
|
|
83
|
+
type wkhtmltopdfModule = typeof import("./commands/wkhtmltopdf/index.js");
|
|
84
|
+
export declare const createWkhtmltopdfCommand: wkhtmltopdfModule["createWkhtmltopdfCommand"];
|
|
85
|
+
export declare const wkhtmltopdfCommands: wkhtmltopdfModule["wkhtmltopdfCommands"];
|
|
86
|
+
export type { WkhtmltopdfCommandOptions } from "./commands/wkhtmltopdf/index.js";
|
|
87
|
+
export declare const createWkhtmltopdfCommands: wkhtmltopdfModule["createWkhtmltopdfCommands"];
|
|
88
|
+
export type { WkhtmltopdfCommandsOptions } from "./commands/wkhtmltopdf/index.js";
|
|
89
|
+
type csvkitModule = typeof import("./commands/csvkit/index.js");
|
|
90
|
+
export declare const csvkitCommands: csvkitModule["csvkitCommands"];
|
|
91
|
+
export declare const createCsvkitCommands: csvkitModule["createCsvkitCommands"];
|
|
92
|
+
export declare const createCsvkitCommand: csvkitModule["createCsvkitCommand"];
|
|
93
|
+
export type { CsvkitCommandsOptions } from "./commands/csvkit/index.js";
|
|
94
|
+
export { createGhCommand, createGhCommands, ghCommands } from "./lazy-gh.js";
|
|
95
|
+
export type { GhCommandOptions, GhCommandsOptions, GhLimits } from "./lazy-gh.js";
|
|
96
|
+
/** Extension contract for trusted, statically bundled command code. */
|
|
97
|
+
export { createLazyCommandLoader, createLazyCommands, lazyCommandPlugin } from "./plugins/lazy-command.js";
|
|
98
|
+
export type { LazyCommandMetadata, LazyCommandFactory } from "./plugins/lazy-command.js";
|
|
99
|
+
export interface OptionalCommandConfiguration {
|
|
100
|
+
readonly gh?: Parameters<typeof createGhCommands>[0];
|
|
101
|
+
readonly ffmpeg?: Parameters<ffmpegModule["createFfmpegCommands"]>[0];
|
|
102
|
+
readonly git?: Parameters<gitModule["createGitCommands"]>[0];
|
|
103
|
+
readonly soffice?: Parameters<sofficeModule["createSofficeCommands"]>[0];
|
|
104
|
+
readonly pandoc?: Parameters<pandocModule["createPandocCommands"]>[0];
|
|
105
|
+
readonly ssconvert?: Parameters<ssconvertModule["createSsconvertCommands"]>[0];
|
|
106
|
+
readonly pdfinfo?: Parameters<pdfinfoModule["createPdfinfoCommands"]>[0];
|
|
107
|
+
readonly pdftotext?: Parameters<pdftotextModule["createPdftotextCommands"]>[0];
|
|
108
|
+
readonly pdfimages?: Parameters<pdfimagesModule["createPdfimagesCommands"]>[0];
|
|
109
|
+
readonly pdftoppm?: Parameters<pdftoppmModule["createPdftoppmCommands"]>[0];
|
|
110
|
+
readonly pdftk?: Parameters<pdftkModule["createPdftkCommands"]>[0];
|
|
111
|
+
readonly qpdf?: Parameters<qpdfModule["createQpdfCommands"]>[0];
|
|
112
|
+
readonly sips?: Parameters<sipsModule["createSipsCommands"]>[0];
|
|
113
|
+
readonly imagemagick?: Parameters<imagemagickModule["createImagemagickCommands"]>[0];
|
|
114
|
+
readonly wkhtmltopdf?: Parameters<wkhtmltopdfModule["createWkhtmltopdfCommands"]>[0];
|
|
115
|
+
readonly csvkit?: Parameters<csvkitModule["createCsvkitCommands"]>[0];
|
|
116
|
+
}
|
|
117
|
+
export interface OptionalCommandsOptions {
|
|
118
|
+
readonly profile?: "full";
|
|
119
|
+
readonly families?: readonly OptionalCommandFamily[];
|
|
120
|
+
readonly commands?: readonly string[];
|
|
121
|
+
readonly configuration?: OptionalCommandConfiguration;
|
|
122
|
+
readonly replace?: boolean;
|
|
123
|
+
}
|
|
124
|
+
declare const optionalFamilies: {
|
|
125
|
+
readonly ffmpeg: {
|
|
126
|
+
readonly metadata: readonly [{
|
|
127
|
+
readonly name: "ffmpeg";
|
|
128
|
+
readonly description: "Multimedia converter, merger, and stream processor powered by pluggable ASTs";
|
|
129
|
+
}, {
|
|
130
|
+
readonly name: "ffprobe";
|
|
131
|
+
readonly description: "Multimedia stream analyzer powered by pluggable ASTs";
|
|
132
|
+
}];
|
|
133
|
+
readonly create: (options: OptionalCommandConfiguration) => import("../safe-bash-command-ffmpeg/index.js").FfmpegCommandPair;
|
|
134
|
+
};
|
|
135
|
+
readonly git: {
|
|
136
|
+
readonly metadata: readonly [{
|
|
137
|
+
readonly name: "git";
|
|
138
|
+
readonly description: "Git repositories in the virtual filesystem";
|
|
139
|
+
}];
|
|
140
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
141
|
+
};
|
|
142
|
+
readonly soffice: {
|
|
143
|
+
readonly metadata: readonly [{
|
|
144
|
+
readonly name: "soffice";
|
|
145
|
+
readonly description: "Headless document/spreadsheet/presentation to PDF and CSV converter via @poe-code/pdf-ast";
|
|
146
|
+
}, {
|
|
147
|
+
readonly name: "libreoffice";
|
|
148
|
+
readonly description: "Headless LibreOffice document/spreadsheet/presentation to PDF converter via @poe-code/pdf-ast";
|
|
149
|
+
}];
|
|
150
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
151
|
+
};
|
|
152
|
+
readonly pandoc: {
|
|
153
|
+
readonly metadata: readonly [{
|
|
154
|
+
readonly name: "pandoc";
|
|
155
|
+
readonly description: "Convert documents with the original bounded TypeScript SDK";
|
|
156
|
+
}];
|
|
157
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
158
|
+
};
|
|
159
|
+
readonly ssconvert: {
|
|
160
|
+
readonly metadata: readonly [{
|
|
161
|
+
readonly name: "ssconvert";
|
|
162
|
+
readonly description: "Explicitly bound TypeScript spreadsheet conversion engine";
|
|
163
|
+
}];
|
|
164
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
165
|
+
};
|
|
166
|
+
readonly pdfinfo: {
|
|
167
|
+
readonly metadata: readonly [{
|
|
168
|
+
readonly name: "pdfinfo";
|
|
169
|
+
readonly description: "Extract PDF metadata, page boxes, encryption, and structure via @poe-code/pdf-ast";
|
|
170
|
+
}, {
|
|
171
|
+
readonly name: "pdfunite";
|
|
172
|
+
readonly description: "Merge multiple PDF documents into a single PDF via @poe-code/pdf-ast";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "pdfseparate";
|
|
175
|
+
readonly description: "Split PDF pages into individual PDF files via @poe-code/pdf-ast";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "pdffonts";
|
|
178
|
+
readonly description: "List fonts used in a PDF document via @poe-code/pdf-ast";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "pdfdetach";
|
|
181
|
+
readonly description: "List and extract embedded file attachments from PDF documents via @poe-code/pdf-ast";
|
|
182
|
+
}];
|
|
183
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
184
|
+
};
|
|
185
|
+
readonly pdftotext: {
|
|
186
|
+
readonly metadata: readonly [{
|
|
187
|
+
readonly name: "pdftotext";
|
|
188
|
+
readonly description: "Extract PDF text, layout, XHTML bounding boxes, and TSV via @poe-code/pdf-ast";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "pdftohtml";
|
|
191
|
+
readonly description: "Convert PDF pages into HTML or XML layout documents via @poe-code/pdf-ast";
|
|
192
|
+
}];
|
|
193
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
194
|
+
};
|
|
195
|
+
readonly pdfimages: {
|
|
196
|
+
readonly metadata: readonly [{
|
|
197
|
+
readonly name: "pdfimages";
|
|
198
|
+
readonly description: "List and extract embedded images from PDF pages via @poe-code/pdf-ast";
|
|
199
|
+
}];
|
|
200
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
201
|
+
};
|
|
202
|
+
readonly pdftoppm: {
|
|
203
|
+
readonly metadata: readonly [{
|
|
204
|
+
readonly name: "pdftoppm";
|
|
205
|
+
readonly description: "Render PDF pages to PNG, PPM, PGM, PBM, or SVG via @poe-code/pdf-ast";
|
|
206
|
+
}, {
|
|
207
|
+
readonly name: "pdftocairo";
|
|
208
|
+
readonly description: "Render PDF pages to PNG, JPEG, TIFF, PDF, PS, EPS, or SVG via @poe-code/pdf-ast";
|
|
209
|
+
}];
|
|
210
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
211
|
+
};
|
|
212
|
+
readonly pdftk: {
|
|
213
|
+
readonly metadata: readonly [{
|
|
214
|
+
readonly name: "pdftk";
|
|
215
|
+
readonly description: "Manipulate PDF documents, fill/flatten AcroForms, and assemble pages via @poe-code/pdf-ast";
|
|
216
|
+
}];
|
|
217
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
218
|
+
};
|
|
219
|
+
readonly qpdf: {
|
|
220
|
+
readonly metadata: readonly [{
|
|
221
|
+
readonly name: "qpdf";
|
|
222
|
+
readonly description: "Structural PDF inspection, encryption, page selection, and transformation via @poe-code/pdf-ast";
|
|
223
|
+
}];
|
|
224
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
225
|
+
};
|
|
226
|
+
readonly sips: {
|
|
227
|
+
readonly metadata: readonly [{
|
|
228
|
+
readonly name: "sips";
|
|
229
|
+
readonly description: "Scriptable image processing system powered by @poe-code/image-ast";
|
|
230
|
+
}];
|
|
231
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
232
|
+
};
|
|
233
|
+
readonly imagemagick: {
|
|
234
|
+
readonly metadata: readonly [{
|
|
235
|
+
readonly name: "magick";
|
|
236
|
+
readonly description: "ImageMagick v7 image processor powered by @poe-code/image-ast";
|
|
237
|
+
}, {
|
|
238
|
+
readonly name: "convert";
|
|
239
|
+
readonly description: "ImageMagick convert pipeline powered by @poe-code/image-ast";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "mogrify";
|
|
242
|
+
readonly description: "ImageMagick in-place batch image processor powered by @poe-code/image-ast";
|
|
243
|
+
}, {
|
|
244
|
+
readonly name: "composite";
|
|
245
|
+
readonly description: "ImageMagick overlay composition tool powered by @poe-code/image-ast";
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "montage";
|
|
248
|
+
readonly description: "ImageMagick contact-sheet grid generator powered by @poe-code/image-ast";
|
|
249
|
+
}, {
|
|
250
|
+
readonly name: "identify";
|
|
251
|
+
readonly description: "ImageMagick image metadata inspector powered by @poe-code/image-ast";
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "compare";
|
|
254
|
+
readonly description: "ImageMagick image comparison and diff generator powered by @poe-code/image-ast";
|
|
255
|
+
}];
|
|
256
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
257
|
+
};
|
|
258
|
+
readonly wkhtmltopdf: {
|
|
259
|
+
readonly metadata: readonly [{
|
|
260
|
+
readonly name: "wkhtmltopdf";
|
|
261
|
+
readonly description: "Bounded static HTML-to-PDF adapter with a built-in PDF AST renderer";
|
|
262
|
+
}];
|
|
263
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
264
|
+
};
|
|
265
|
+
readonly csvkit: {
|
|
266
|
+
readonly metadata: readonly [{
|
|
267
|
+
readonly name: "csvclean";
|
|
268
|
+
readonly description: "csvkit 2.2.0 csvclean; compatibility gaps return status 78";
|
|
269
|
+
}, {
|
|
270
|
+
readonly name: "csvcut";
|
|
271
|
+
readonly description: "csvkit 2.2.0 csvcut; compatibility gaps return status 78";
|
|
272
|
+
readonly fallback: true;
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "csvformat";
|
|
275
|
+
readonly description: "csvkit 2.2.0 csvformat; compatibility gaps return status 78";
|
|
276
|
+
}, {
|
|
277
|
+
readonly name: "csvgrep";
|
|
278
|
+
readonly description: "csvkit 2.2.0 csvgrep; compatibility gaps return status 78";
|
|
279
|
+
readonly fallback: true;
|
|
280
|
+
}, {
|
|
281
|
+
readonly name: "csvjoin";
|
|
282
|
+
readonly description: "csvkit 2.2.0 csvjoin; compatibility gaps return status 78";
|
|
283
|
+
}, {
|
|
284
|
+
readonly name: "csvjson";
|
|
285
|
+
readonly description: "csvkit 2.2.0 csvjson; compatibility gaps return status 78";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "csvlook";
|
|
288
|
+
readonly description: "csvkit 2.2.0 csvlook; compatibility gaps return status 78";
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "csvpy";
|
|
291
|
+
readonly description: "csvkit 2.2.0 csvpy; compatibility gaps return status 78";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "csvsort";
|
|
294
|
+
readonly description: "csvkit 2.2.0 csvsort; compatibility gaps return status 78";
|
|
295
|
+
}, {
|
|
296
|
+
readonly name: "csvsql";
|
|
297
|
+
readonly description: "csvkit 2.2.0 csvsql; compatibility gaps return status 78";
|
|
298
|
+
}, {
|
|
299
|
+
readonly name: "csvstack";
|
|
300
|
+
readonly description: "csvkit 2.2.0 csvstack; compatibility gaps return status 78";
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "csvstat";
|
|
303
|
+
readonly description: "csvkit 2.2.0 csvstat; compatibility gaps return status 78";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "in2csv";
|
|
306
|
+
readonly description: "csvkit 2.2.0 in2csv; compatibility gaps return status 78";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "sql2csv";
|
|
309
|
+
readonly description: "csvkit 2.2.0 sql2csv; compatibility gaps return status 78";
|
|
310
|
+
}];
|
|
311
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
312
|
+
};
|
|
313
|
+
readonly gh: {
|
|
314
|
+
readonly metadata: readonly [{
|
|
315
|
+
readonly name: "gh";
|
|
316
|
+
readonly description: "Work seamlessly with GitHub from the command line";
|
|
317
|
+
}];
|
|
318
|
+
readonly create: (options: OptionalCommandConfiguration) => readonly CommandDefinition[];
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
export type OptionalCommandFamily = keyof typeof optionalFamilies;
|
|
322
|
+
export declare const optionalCommandCatalog: readonly Readonly<{
|
|
323
|
+
name: "gh";
|
|
324
|
+
description: "Work seamlessly with GitHub from the command line";
|
|
325
|
+
family: OptionalCommandFamily;
|
|
326
|
+
} | {
|
|
327
|
+
name: "ffmpeg";
|
|
328
|
+
description: "Multimedia converter, merger, and stream processor powered by pluggable ASTs";
|
|
329
|
+
family: OptionalCommandFamily;
|
|
330
|
+
} | {
|
|
331
|
+
name: "ffprobe";
|
|
332
|
+
description: "Multimedia stream analyzer powered by pluggable ASTs";
|
|
333
|
+
family: OptionalCommandFamily;
|
|
334
|
+
} | {
|
|
335
|
+
name: "git";
|
|
336
|
+
description: "Git repositories in the virtual filesystem";
|
|
337
|
+
family: OptionalCommandFamily;
|
|
338
|
+
} | {
|
|
339
|
+
name: "soffice";
|
|
340
|
+
description: "Headless document/spreadsheet/presentation to PDF and CSV converter via @poe-code/pdf-ast";
|
|
341
|
+
family: OptionalCommandFamily;
|
|
342
|
+
} | {
|
|
343
|
+
name: "libreoffice";
|
|
344
|
+
description: "Headless LibreOffice document/spreadsheet/presentation to PDF converter via @poe-code/pdf-ast";
|
|
345
|
+
family: OptionalCommandFamily;
|
|
346
|
+
} | {
|
|
347
|
+
name: "pandoc";
|
|
348
|
+
description: "Convert documents with the original bounded TypeScript SDK";
|
|
349
|
+
family: OptionalCommandFamily;
|
|
350
|
+
} | {
|
|
351
|
+
name: "ssconvert";
|
|
352
|
+
description: "Explicitly bound TypeScript spreadsheet conversion engine";
|
|
353
|
+
family: OptionalCommandFamily;
|
|
354
|
+
} | {
|
|
355
|
+
name: "pdfinfo";
|
|
356
|
+
description: "Extract PDF metadata, page boxes, encryption, and structure via @poe-code/pdf-ast";
|
|
357
|
+
family: OptionalCommandFamily;
|
|
358
|
+
} | {
|
|
359
|
+
name: "pdfunite";
|
|
360
|
+
description: "Merge multiple PDF documents into a single PDF via @poe-code/pdf-ast";
|
|
361
|
+
family: OptionalCommandFamily;
|
|
362
|
+
} | {
|
|
363
|
+
name: "pdfseparate";
|
|
364
|
+
description: "Split PDF pages into individual PDF files via @poe-code/pdf-ast";
|
|
365
|
+
family: OptionalCommandFamily;
|
|
366
|
+
} | {
|
|
367
|
+
name: "pdffonts";
|
|
368
|
+
description: "List fonts used in a PDF document via @poe-code/pdf-ast";
|
|
369
|
+
family: OptionalCommandFamily;
|
|
370
|
+
} | {
|
|
371
|
+
name: "pdfdetach";
|
|
372
|
+
description: "List and extract embedded file attachments from PDF documents via @poe-code/pdf-ast";
|
|
373
|
+
family: OptionalCommandFamily;
|
|
374
|
+
} | {
|
|
375
|
+
name: "pdftotext";
|
|
376
|
+
description: "Extract PDF text, layout, XHTML bounding boxes, and TSV via @poe-code/pdf-ast";
|
|
377
|
+
family: OptionalCommandFamily;
|
|
378
|
+
} | {
|
|
379
|
+
name: "pdftohtml";
|
|
380
|
+
description: "Convert PDF pages into HTML or XML layout documents via @poe-code/pdf-ast";
|
|
381
|
+
family: OptionalCommandFamily;
|
|
382
|
+
} | {
|
|
383
|
+
name: "pdfimages";
|
|
384
|
+
description: "List and extract embedded images from PDF pages via @poe-code/pdf-ast";
|
|
385
|
+
family: OptionalCommandFamily;
|
|
386
|
+
} | {
|
|
387
|
+
name: "pdftoppm";
|
|
388
|
+
description: "Render PDF pages to PNG, PPM, PGM, PBM, or SVG via @poe-code/pdf-ast";
|
|
389
|
+
family: OptionalCommandFamily;
|
|
390
|
+
} | {
|
|
391
|
+
name: "pdftocairo";
|
|
392
|
+
description: "Render PDF pages to PNG, JPEG, TIFF, PDF, PS, EPS, or SVG via @poe-code/pdf-ast";
|
|
393
|
+
family: OptionalCommandFamily;
|
|
394
|
+
} | {
|
|
395
|
+
name: "pdftk";
|
|
396
|
+
description: "Manipulate PDF documents, fill/flatten AcroForms, and assemble pages via @poe-code/pdf-ast";
|
|
397
|
+
family: OptionalCommandFamily;
|
|
398
|
+
} | {
|
|
399
|
+
name: "qpdf";
|
|
400
|
+
description: "Structural PDF inspection, encryption, page selection, and transformation via @poe-code/pdf-ast";
|
|
401
|
+
family: OptionalCommandFamily;
|
|
402
|
+
} | {
|
|
403
|
+
name: "sips";
|
|
404
|
+
description: "Scriptable image processing system powered by @poe-code/image-ast";
|
|
405
|
+
family: OptionalCommandFamily;
|
|
406
|
+
} | {
|
|
407
|
+
name: "magick";
|
|
408
|
+
description: "ImageMagick v7 image processor powered by @poe-code/image-ast";
|
|
409
|
+
family: OptionalCommandFamily;
|
|
410
|
+
} | {
|
|
411
|
+
name: "convert";
|
|
412
|
+
description: "ImageMagick convert pipeline powered by @poe-code/image-ast";
|
|
413
|
+
family: OptionalCommandFamily;
|
|
414
|
+
} | {
|
|
415
|
+
name: "mogrify";
|
|
416
|
+
description: "ImageMagick in-place batch image processor powered by @poe-code/image-ast";
|
|
417
|
+
family: OptionalCommandFamily;
|
|
418
|
+
} | {
|
|
419
|
+
name: "composite";
|
|
420
|
+
description: "ImageMagick overlay composition tool powered by @poe-code/image-ast";
|
|
421
|
+
family: OptionalCommandFamily;
|
|
422
|
+
} | {
|
|
423
|
+
name: "montage";
|
|
424
|
+
description: "ImageMagick contact-sheet grid generator powered by @poe-code/image-ast";
|
|
425
|
+
family: OptionalCommandFamily;
|
|
426
|
+
} | {
|
|
427
|
+
name: "identify";
|
|
428
|
+
description: "ImageMagick image metadata inspector powered by @poe-code/image-ast";
|
|
429
|
+
family: OptionalCommandFamily;
|
|
430
|
+
} | {
|
|
431
|
+
name: "compare";
|
|
432
|
+
description: "ImageMagick image comparison and diff generator powered by @poe-code/image-ast";
|
|
433
|
+
family: OptionalCommandFamily;
|
|
434
|
+
} | {
|
|
435
|
+
name: "wkhtmltopdf";
|
|
436
|
+
description: "Bounded static HTML-to-PDF adapter with a built-in PDF AST renderer";
|
|
437
|
+
family: OptionalCommandFamily;
|
|
438
|
+
} | {
|
|
439
|
+
name: "csvclean";
|
|
440
|
+
description: "csvkit 2.2.0 csvclean; compatibility gaps return status 78";
|
|
441
|
+
family: OptionalCommandFamily;
|
|
442
|
+
} | {
|
|
443
|
+
name: "csvcut";
|
|
444
|
+
description: "csvkit 2.2.0 csvcut; compatibility gaps return status 78";
|
|
445
|
+
fallback: true;
|
|
446
|
+
family: OptionalCommandFamily;
|
|
447
|
+
} | {
|
|
448
|
+
name: "csvformat";
|
|
449
|
+
description: "csvkit 2.2.0 csvformat; compatibility gaps return status 78";
|
|
450
|
+
family: OptionalCommandFamily;
|
|
451
|
+
} | {
|
|
452
|
+
name: "csvgrep";
|
|
453
|
+
description: "csvkit 2.2.0 csvgrep; compatibility gaps return status 78";
|
|
454
|
+
fallback: true;
|
|
455
|
+
family: OptionalCommandFamily;
|
|
456
|
+
} | {
|
|
457
|
+
name: "csvjoin";
|
|
458
|
+
description: "csvkit 2.2.0 csvjoin; compatibility gaps return status 78";
|
|
459
|
+
family: OptionalCommandFamily;
|
|
460
|
+
} | {
|
|
461
|
+
name: "csvjson";
|
|
462
|
+
description: "csvkit 2.2.0 csvjson; compatibility gaps return status 78";
|
|
463
|
+
family: OptionalCommandFamily;
|
|
464
|
+
} | {
|
|
465
|
+
name: "csvlook";
|
|
466
|
+
description: "csvkit 2.2.0 csvlook; compatibility gaps return status 78";
|
|
467
|
+
family: OptionalCommandFamily;
|
|
468
|
+
} | {
|
|
469
|
+
name: "csvpy";
|
|
470
|
+
description: "csvkit 2.2.0 csvpy; compatibility gaps return status 78";
|
|
471
|
+
family: OptionalCommandFamily;
|
|
472
|
+
} | {
|
|
473
|
+
name: "csvsort";
|
|
474
|
+
description: "csvkit 2.2.0 csvsort; compatibility gaps return status 78";
|
|
475
|
+
family: OptionalCommandFamily;
|
|
476
|
+
} | {
|
|
477
|
+
name: "csvsql";
|
|
478
|
+
description: "csvkit 2.2.0 csvsql; compatibility gaps return status 78";
|
|
479
|
+
family: OptionalCommandFamily;
|
|
480
|
+
} | {
|
|
481
|
+
name: "csvstack";
|
|
482
|
+
description: "csvkit 2.2.0 csvstack; compatibility gaps return status 78";
|
|
483
|
+
family: OptionalCommandFamily;
|
|
484
|
+
} | {
|
|
485
|
+
name: "csvstat";
|
|
486
|
+
description: "csvkit 2.2.0 csvstat; compatibility gaps return status 78";
|
|
487
|
+
family: OptionalCommandFamily;
|
|
488
|
+
} | {
|
|
489
|
+
name: "in2csv";
|
|
490
|
+
description: "csvkit 2.2.0 in2csv; compatibility gaps return status 78";
|
|
491
|
+
family: OptionalCommandFamily;
|
|
492
|
+
} | {
|
|
493
|
+
name: "sql2csv";
|
|
494
|
+
description: "csvkit 2.2.0 sql2csv; compatibility gaps return status 78";
|
|
495
|
+
family: OptionalCommandFamily;
|
|
496
|
+
}>[];
|
|
497
|
+
export declare function createOptionalCommands(options?: OptionalCommandsOptions): readonly CommandDefinition[];
|
|
498
|
+
export declare function optionalCommands(options?: OptionalCommandsOptions): VirtualShellPlugin;
|
|
499
|
+
//# sourceMappingURL=lazy-optional.d.ts.map
|