mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-16 15:14:38 +00:00
- Without the AI-MCP flag plain `photocraft-cli mcp` is headless as before: a Control Port saved before the agents switch no longer makes it look for the app, start it or apply When PhotoCraft Is Closed. Test in mcp_without_consent_works_headless (fails without the gate). - `prefs::read_integrations_section` (migrate + lenient read) is shared by the app's launch read and `photocraft-cli mcp`: one bad value resets only itself, so a saved "error" closed-app choice no longer falls back to Launch in the CLI. Replaces the app's hand-written per-field reader. Test in integrations_come_from_the_saved_preferences_or_default (fails without it). - docs/development.md: the headless client examples pass --headless. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>