mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
`dialogs::confirm` picks a dialog's handler by marker fields (`__diskChanged`, `__export`, `__web`, `__print`, ...). Only the app sets them now: - `ui.dialog.set` and `ui.dialog.open`'s `fields` refuse to add a key any of confirm's or cancel's `owns()` predicates route on (`dialogs::is_route_marker`, which probes the predicates themselves). A dialog's own fields, private ones included, stay settable. - `dialogs::confirm`, when driven by automation (a control request's gate or synthetic input), judges a handler that writes files itself as the file command it stands for: file.save, file.export.exportAs, file.export.saveForWebLegacy or file.print. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>