mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-25 18:59:48 +00:00
7a0f846a28
Add a shared CLI/MCP batch runner with bounded discovery, retained relative paths and per-file processing in isolated engine sessions. Publish complete outputs without overwriting existing names, and return structured errors with an optional stop-on-error policy. Cover recursive jobs, overlapping inputs, concurrent output collisions, root confinement and partial-failure reporting in automation and CLI tests. Co-authored-by: LabDennis <341377186+LabDennis@users.noreply.github.com>
35 lines
954 B
TOML
35 lines
954 B
TOML
[package]
|
|
name = "pdfcraft-automation"
|
|
description = "Agent control for PdfCraft: a headless tool set over the engine and an MCP server"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
pdfcraft-engine = { workspace = true }
|
|
pdfcraft-cos = { workspace = true }
|
|
pdfcraft-render = { workspace = true }
|
|
pdfcraft-organize = { workspace = true }
|
|
pdfcraft-platform = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sha2 = "0.11"
|
|
tempfile = "3.27"
|
|
png = "0.18"
|
|
base64 = { version = "0.22", optional = true }
|
|
|
|
|
|
[features]
|
|
default = ["mcp"]
|
|
# The MCP server module. Opt-in at run time either way; disable to leave it out of the build.
|
|
mcp = ["dep:base64"]
|
|
|
|
[dev-dependencies]
|
|
pdfcraft-fonts = { workspace = true }
|
|
flate2.workspace = true
|
|
pdfcraft-model = { workspace = true }
|
|
pdfcraft-xfa = { workspace = true }
|
|
image = { version = "0.25", default-features = false, features = ["jpeg"] }
|