@poe-platform/safe-bash 0.1.762 → 0.1.764
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/image-ast/index.browser.js +454 -208
- package/dist/image-ast/index.js +454 -208
- package/dist/pdf-ast/ast.d.ts +23 -0
- package/dist/pdf-ast/index.js +543 -244
- package/dist/safe-bash/chunks/{chunk-CRQDMBQA.js → chunk-FSH7QRIC.js} +10 -1
- package/dist/safe-bash/command-chunks/{chunk-D4GXXV65.js → chunk-B7YLGJRF.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-P3Q2QSCA.js → chunk-G3IIEU2N.js} +457 -208
- package/dist/safe-bash/command-chunks/{chunk-F7MJRXQ2.js → chunk-RDPJGIQF.js} +1 -1
- package/dist/safe-bash/commands/python/index.browser.js +1 -1
- package/dist/safe-bash/commands/python/llm-module.js +3 -1
- package/dist/safe-bash/commands/python/shell-module.js +7 -0
- package/dist/safe-bash/core.browser.js +33 -13
- package/dist/safe-bash/shell/runtime.js +44 -12
- package/dist/safe-bash-checksum-engine/index.d.ts +1 -1
- package/dist/safe-bash-checksum-engine/index.js +5 -1
- package/dist/safe-bash-command-ffmpeg/index.js +7476 -7338
- package/dist/safe-bash-command-gh/index.js +174 -105
- package/dist/safe-bash-command-imagemagick/index.js +2 -2
- package/dist/safe-bash-command-pandoc/command.js +3 -3
- package/dist/safe-bash-command-pandoc/index.js +3 -3
- package/dist/safe-bash-command-pdfimages/index.js +454 -208
- package/dist/safe-bash-command-pdfinfo/index.js +541 -244
- package/dist/safe-bash-command-pdftk/index.js +454 -208
- package/dist/safe-bash-command-pdftoppm/index.js +541 -244
- package/dist/safe-bash-command-pdftotext/index.js +454 -208
- package/dist/safe-bash-command-qpdf/index.js +454 -208
- package/dist/safe-bash-command-sips/index.js +2 -2
- package/dist/safe-bash-command-soffice/index.js +1 -1
- package/dist/safe-bash-command-ssconvert/index.js +514 -208
- package/dist/safe-bash-command-wkhtmltopdf/index.js +455 -208
- package/dist/safe-playwright-cloudflare/browser-snapshot-labels.d.ts +14 -0
- package/dist/safe-playwright-cloudflare/browser-snapshot-labels.js +62 -0
- package/dist/safe-playwright-cloudflare/browser-snapshot-scheduler.js +8 -1
- package/package.json +2 -2
- package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +27 -0
package/dist/pdf-ast/ast.d.ts
CHANGED
|
@@ -211,6 +211,13 @@ export interface PdfRgbColor {
|
|
|
211
211
|
readonly g: number;
|
|
212
212
|
readonly b: number;
|
|
213
213
|
}
|
|
214
|
+
/** A transparency-group mask evaluated in page coordinates at the gs operator. */
|
|
215
|
+
export interface PdfSoftMask {
|
|
216
|
+
readonly subtype: "Alpha" | "Luminosity";
|
|
217
|
+
readonly operations: readonly PdfPaintOperation[];
|
|
218
|
+
readonly backdrop: PdfRgbColor;
|
|
219
|
+
readonly transferMap?: Uint8Array | undefined;
|
|
220
|
+
}
|
|
214
221
|
export interface PdfPlacedGlyph {
|
|
215
222
|
/** Glyph paint geometry, kept separate from page drawings for extraction. */
|
|
216
223
|
readonly outline?: PdfEvaluatedPath | undefined;
|
|
@@ -229,6 +236,7 @@ export interface PdfPlacedGlyph {
|
|
|
229
236
|
readonly blendMode?: string | undefined;
|
|
230
237
|
readonly clipPaths?: readonly PdfClipPath[] | undefined;
|
|
231
238
|
readonly clipImages?: readonly PdfEvaluatedImage[] | undefined;
|
|
239
|
+
readonly softMask?: PdfSoftMask | undefined;
|
|
232
240
|
readonly clipRect?: readonly [number, number, number, number] | undefined;
|
|
233
241
|
}
|
|
234
242
|
export interface PdfEvaluatedPath {
|
|
@@ -248,6 +256,7 @@ export interface PdfEvaluatedPath {
|
|
|
248
256
|
readonly isClip?: boolean | undefined;
|
|
249
257
|
readonly clipPaths?: readonly PdfClipPath[] | undefined;
|
|
250
258
|
readonly clipImages?: readonly PdfEvaluatedImage[] | undefined;
|
|
259
|
+
readonly softMask?: PdfSoftMask | undefined;
|
|
251
260
|
readonly clipRect?: readonly [number, number, number, number] | undefined;
|
|
252
261
|
}
|
|
253
262
|
export interface PdfEvaluatedImage {
|
|
@@ -261,6 +270,7 @@ export interface PdfEvaluatedImage {
|
|
|
261
270
|
readonly blendMode?: string | undefined;
|
|
262
271
|
readonly clipPaths?: readonly PdfClipPath[] | undefined;
|
|
263
272
|
readonly clipImages?: readonly PdfEvaluatedImage[] | undefined;
|
|
273
|
+
readonly softMask?: PdfSoftMask | undefined;
|
|
264
274
|
readonly clipRect?: readonly [number, number, number, number] | undefined;
|
|
265
275
|
}
|
|
266
276
|
export interface PdfLinkAnnotation {
|
|
@@ -278,7 +288,20 @@ export type PdfPaintOperation = {
|
|
|
278
288
|
} | {
|
|
279
289
|
readonly kind: "glyph";
|
|
280
290
|
readonly value: PdfPlacedGlyph;
|
|
291
|
+
} | {
|
|
292
|
+
readonly kind: "group";
|
|
293
|
+
readonly value: PdfPaintGroup;
|
|
281
294
|
};
|
|
295
|
+
/** An isolated transparency Form, composited after painting its children. */
|
|
296
|
+
export interface PdfPaintGroup {
|
|
297
|
+
readonly operations: readonly PdfPaintOperation[];
|
|
298
|
+
readonly alpha: number;
|
|
299
|
+
readonly blendMode?: string | undefined;
|
|
300
|
+
readonly clipPaths?: readonly PdfClipPath[] | undefined;
|
|
301
|
+
readonly clipImages?: readonly PdfEvaluatedImage[] | undefined;
|
|
302
|
+
readonly clipRect?: readonly [number, number, number, number] | undefined;
|
|
303
|
+
readonly softMask?: PdfSoftMask | undefined;
|
|
304
|
+
}
|
|
282
305
|
export interface PdfDisplayList {
|
|
283
306
|
readonly pageIndex: number;
|
|
284
307
|
readonly width: number;
|