mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-27 09:42:00 +01:00
With the environment fallbacks, clap's conflicts_with on the token pair made a stale exported PHOTOCRAFT_CONTROL_TOKEN and PHOTOCRAFT_CONTROL_TOKEN_FILE a usage error for every mcp and serve, though headless mcp and stdio serve read no token. As on main, the pair is now refused only by serve on TCP and mcp bridging, still as clap's either/or usage error naming each half as it was given. An automation root on the command line with PHOTOCRAFT_CONTROL_PORT set is a usage error too: the variable would switch mcp to bridging, which drops the roots, with only a note on stderr. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>