Files
photocraft/apps
David MannandClaude Opus 5.5 dbd2cd1628 fix(mcp): plain mcp stays headless without the AI-MCP flag; integrations read leniently
- 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>
2026-11-13 12:36:22 +01:00
..