mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
With Preferences > AI Integrations' folders empty, agents had no file access, and the launcher starts `mcp` with no root flags. - An empty folder setting named by no flag uses the shared default agent folder Documents/ArtCraft/Agents/PhotoCraft (craft-libs#2550), in the open window (agent link, --control) and in the live headless session. - agent_folders tells the agent which folders it may use: the headless session's roots, or the open window's saved folders with the default. - Pin craft-libs to bafb452 + the craft-libs#2550 commit until it reaches next. Co-Authored-By: Claude Opus 5.5 <[email protected]>
63 lines
2.5 KiB
TOML
63 lines
2.5 KiB
TOML
[package]
|
|
name = "photocraft-automation"
|
|
description = "MCP server (rmcp) over the PhotoCraft engine, plus a bridge to a running GUI"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
gpu = [
|
|
"dep:photocraft-gpu",
|
|
"dep:wgpu",
|
|
"dep:pollster",
|
|
"photocraft-gpu/native",
|
|
]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
photocraft-doc = { workspace = true }
|
|
photocraft-raster = { workspace = true }
|
|
photocraft-compose = { workspace = true }
|
|
photocraft-codecs = { workspace = true }
|
|
photocraft-io = { workspace = true }
|
|
photocraft-format = { path = "../format" }
|
|
photocraft-engine = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
rmcp = { version = "3.5", default-features = false, features = ["server", "macros", "transport-io"] }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "sync", "net", "io-util", "time"] }
|
|
base64 = "0.23"
|
|
schemars = "1"
|
|
getrandom = { workspace = true }
|
|
cap-std = "4"
|
|
clap = { workspace = true }
|
|
# The framework through its facade: the control channel's handshake (`craft::automation::security`),
|
|
# and the agent settings, the ArtCraft Launcher's switch and the connection file (`craft::automation::agents`).
|
|
craft = { workspace = true, features = ["automation-agents", "control-agents"] }
|
|
|
|
# Optional native GPU rendering backend
|
|
photocraft-gpu = { workspace = true, optional = true }
|
|
wgpu = { version = "30", default-features = false, features = ["std", "wgsl"], optional = true }
|
|
pollster = { version = "1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
photocraft-color = { workspace = true }
|
|
photocraft-geom = { workspace = true }
|
|
# Synthetic camera raws (#7789).
|
|
photocraft-raw = { workspace = true, features = ["testgen"] }
|
|
# Tiny generated PSDs and the scoped estimate charge for the high-memory approval tests
|
|
# (no multi-gigabyte fixture or global override).
|
|
photocraft-io = { workspace = true, features = ["testgen"] }
|
|
craft-psd = { workspace = true, features = ["testgen"] }
|
|
rmcp = { version = "3.5", default-features = false, features = ["client", "server", "macros", "transport-io"] }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "sync", "net", "io-util", "time"] }
|
|
|
|
# Reading back an extended attribute the write path should have preserved (#7095).
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
rustix = { version = "1.1", default-features = false, features = ["std", "fs"] }
|