@poe-platform/safe-bash 0.1.772 → 0.1.774

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.
Files changed (45) hide show
  1. package/dist/image-ast/index.browser.js +3543 -706
  2. package/dist/image-ast/index.js +3543 -706
  3. package/dist/pdf-ast/ast.d.ts +7 -0
  4. package/dist/pdf-ast/content/evaluator.d.ts +1 -0
  5. package/dist/pdf-ast/index.js +3587 -718
  6. package/dist/pdf-ast/render/raster.d.ts +1 -0
  7. package/dist/pdf-ast/vendor/pdfjs-fonts.d.mts +36 -0
  8. package/dist/pdf-ast/vendor/pdfjs-fonts.mjs +3323 -0
  9. package/dist/safe-bash/command-chunks/{chunk-M2XU2YCK.js → chunk-4ZHDCMQX.js} +2 -2
  10. package/dist/safe-bash/command-chunks/{chunk-NBENXODJ.js → chunk-HH5QPKIN.js} +1 -1
  11. package/dist/safe-bash/command-chunks/{chunk-C4AAJTXF.js → chunk-PM63UJE6.js} +3546 -706
  12. package/dist/safe-bash/core.browser.js +101 -45
  13. package/dist/safe-bash/core.d.ts +1 -1
  14. package/dist/safe-bash/plugins/composition.d.ts +2 -0
  15. package/dist/safe-bash/plugins/composition.js +2 -1
  16. package/dist/safe-bash/shell/runtime.js +17 -9
  17. package/dist/safe-bash/shell/sync-posix-regex.d.ts +3 -0
  18. package/dist/safe-bash/shell/sync-posix-regex.js +48 -0
  19. package/dist/safe-bash-command-ffmpeg/index.js +11032 -9579
  20. package/dist/safe-bash-command-gh/index.d.ts +1 -0
  21. package/dist/safe-bash-command-gh/index.js +43 -13
  22. package/dist/safe-bash-command-gh/types.d.ts +1 -0
  23. package/dist/safe-bash-command-git/git_rust.wasm +0 -0
  24. package/dist/safe-bash-command-git/index.js +22 -15
  25. package/dist/safe-bash-command-git/wasm.generated.js +1 -1
  26. package/dist/safe-bash-command-gpg/index.js +28 -7
  27. package/dist/safe-bash-command-imagemagick/index.js +2 -2
  28. package/dist/safe-bash-command-openssl/index.js +24 -6
  29. package/dist/safe-bash-command-pandoc/command.js +3 -3
  30. package/dist/safe-bash-command-pandoc/index.js +3 -3
  31. package/dist/safe-bash-command-pdfimages/index.js +3542 -660
  32. package/dist/safe-bash-command-pdfinfo/index.js +3584 -718
  33. package/dist/safe-bash-command-pdftk/index.js +3542 -660
  34. package/dist/safe-bash-command-pdftoppm/index.js +3589 -787
  35. package/dist/safe-bash-command-pdftotext/index.js +3542 -660
  36. package/dist/safe-bash-command-qpdf/index.js +3542 -660
  37. package/dist/safe-bash-command-sips/index.js +2 -2
  38. package/dist/safe-bash-command-soffice/index.js +1 -1
  39. package/dist/safe-bash-command-ssconvert/index.js +3553 -716
  40. package/dist/safe-bash-command-ssh/index.js +124 -23
  41. package/dist/safe-bash-command-wkhtmltopdf/index.js +3581 -660
  42. package/dist/safe-bash-mcp/index.d.ts +8 -2
  43. package/dist/safe-bash-mcp/index.js +13 -6
  44. package/package.json +7 -7
  45. package/third-party/pdf-ast/THIRD_PARTY_NOTICES.md +84 -1
@@ -298,6 +298,9 @@ export type PdfPaintOperation = {
298
298
  export interface PdfPaintGroup {
299
299
  readonly operations: readonly PdfPaintOperation[];
300
300
  readonly alpha: number;
301
+ readonly isolated?: boolean | undefined;
302
+ /** Transformed Form BBox, used to bound a copied backdrop. */
303
+ readonly bboxClip?: PdfClipPath | undefined;
301
304
  readonly blendMode?: string | undefined;
302
305
  readonly clipPaths?: readonly PdfClipPath[] | undefined;
303
306
  readonly clipImages?: readonly PdfEvaluatedImage[] | undefined;
@@ -308,6 +311,10 @@ export interface PdfDisplayList {
308
311
  readonly pageIndex: number;
309
312
  readonly width: number;
310
313
  readonly height: number;
314
+ /** Lower-left MediaBox coordinates; painting and editing retain PDF coordinates. */
315
+ readonly origin?: readonly [number, number] | undefined;
316
+ /** Unrotated CropBox relative to the MediaBox origin, when supplied by a page. */
317
+ readonly cropBox?: readonly [number, number, number, number] | undefined;
311
318
  readonly rotation: 0 | 90 | 180 | 270;
312
319
  readonly glyphs: readonly PdfPlacedGlyph[];
313
320
  readonly paths: readonly PdfEvaluatedPath[];
@@ -9,6 +9,7 @@ export declare function evaluateContentStreamToDisplayList(params: {
9
9
  readonly pageIndex: number;
10
10
  readonly width: number;
11
11
  readonly height: number;
12
+ readonly origin?: readonly [number, number] | undefined;
12
13
  readonly rotation?: 0 | 90 | 180 | 270 | undefined;
13
14
  readonly nodes: readonly PdfContentNode[];
14
15
  readonly cosDoc?: ParsedCosDocument | undefined;