mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
- Preferences > Integrations: default and web builds showed the section with two single-option "Classical" dropdowns, "Local models aren't available in this build" and disabled Download buttons; main hides it (#204). The model choices are now hidden where no model can run (prefs::LOCAL_ML_ONLY), and main's hidden-section test is back. - A model choice saved by a local-ml build (the preferences file is shared) made every Select Subject, Object Selection box and Remove Background fail in a default build, with no control left to switch back. There it now means Classical; local-ml builds stay strict, and an explicit "model" param still fails. - models.download / models.remove: the automation gate let a control or MCP agent start about 1.8 GB of downloads or delete installed models outside its workspace. Both are now refused like other ambient file effects; models.list stays allowed. - Select Subject / Object Selection with a model run as jobs, so "No subject found" / "found nothing there" never showed. The job result now gets the same message as the classical path, including the Object Selection options bar's "try a rectangle" hint. - local-models.yml pins its third-party actions by SHA, as ci.yml does. - docs/development.md: Windows local-ml builds fail to link ONNX Runtime 1.28's prebuilt with MSVC 14.42 (unresolved __std_search_1 etc.), and Linux ones need glibc 2.38 / GCC 13 (Ubuntu 22.04 fails with __isoc23_strtol). Tests that fail without the fix: model_cmds a_model_saved_by_a_local_ml_build_means_classical_in_a_build_without_models, prefs_ui unimplemented_preferences_are_hidden_from_the_dialog, workspace local_model_downloads_and_removals_are_not_automation_commands, jobs_ui a_model_selection_that_finds_nothing_says_so_like_the_classical_one. Co-authored-by: mighty-programmer <83077551+mighty-programmer@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>