Files
pdfcraft/apps/pdfcraft-cli/Cargo.toml
T
David MannandClaude Opus 5.5 181eee0158 feat(automation): agents in the open window through the ArtCraft Launcher's switch
While the launcher's AI agents switch names PdfCraft (behind the AI-MCP flag), the window serves
its control channel to agents through the shared AgentLink and publishes agent-connection.json;
plain `pdfcraft-cli mcp` finds it with the shared Live client (challenge handshake, no port or
token in client configs) and adds ui_* tools, control_call and agent_folders. Agent requests and
the input they queue are held to the agent folders (open, save, file picks). Preferences gets the
shared Agents page as "AI Integrations". New `mcp --headless` and `--when-closed`.

Fixes #9172.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-03 04:59:21 +01:00

39 lines
1.1 KiB
TOML

[package]
name = "pdfcraft-cli"
description = "PdfCraft command-line tool: inspect, render and robustness-check PDFs"
version.workspace = true
edition.workspace = true
license.workspace = true
[[bin]]
name = "pdfcraft-cli"
path = "src/main.rs"
[lints]
workspace = true
[dependencies]
pdfcraft-render = { workspace = true }
serde_json = { workspace = true }
pdfcraft-engine = { workspace = true }
pdfcraft-audit = { workspace = true }
pdfcraft-cos = { workspace = true }
pdfcraft-preflight = { workspace = true }
pdfcraft-automation = { workspace = true }
pdfcraft-platform = { workspace = true }
base64 = "0.23"
craft = { workspace = true, features = ["automation", "atomic", "control-agents", "settings"] }
[dev-dependencies]
# Decodes `render` output in tests/it/owner_password.rs.
craft-image-codecs = { workspace = true }
[build-dependencies]
# VERSIONINFO for pdfcraft-cli.exe; build.rs only uses it when targeting Windows.
winresource = "0.1"
[features]
default = ["mcp"]
# The opt-in MCP server (`pdfcraft-cli mcp`). Build with --no-default-features to leave it out.
mcp = ["pdfcraft-automation/mcp"]