With Preferences > AI Integrations' folders empty, agents had no file
access, and the launcher starts `mcp` with no root flags.
- An empty folder setting named by no flag uses the shared default agent
folder Documents/ArtCraft/Agents/PhotoCraft (craft-libs#2550), in the
open window (agent link, --control) and in the live headless session.
- agent_folders tells the agent which folders it may use: the headless
session's roots, or the open window's saved folders with the default.
- Pin craft-libs to bafb452 + the craft-libs#2550 commit until it reaches
next.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
tone::adjust now delegates to a private adjust_with that takes the U16
table area threshold (U16_TABLE_AREA, 65_536, unchanged for production).
The fused-tile oracle test passes the area of its small bounds, so U16
still takes the table path for the full area and the holes mask and the
tiled path for the sparse mask, without 256 x 256 areas.
Also drops the empty blocks left by the earlier loop removals in
multi_channel_editing, tone_target_picker and the tone dialog test.
The colour-channel tests looped over every mode, depth, command and
target, although the code under test is generic over mode and depth
(restrict_coords, scatter_selected, tone::adjust). Each case now runs a
rotation that keeps every mode, depth, command and target (and the
refusal branches) in at least one case, with all assertions unchanged.
- multi_channel_editing: adjustments/filters/drawing (22 commands, one
mode and depth each, plus both refusal sides), live brush/eraser, live
mixer, live retouching, colour adjustments, desaturate, CMYK grayscale
clips, mask view
- tone_target_picker: gray tone records, native gray pickers, filter mask
picker
- tone: the fused-tile oracle keeps the 256 x 256 area only for U16, whose
table needs it
- tone dialog: one depth per (subset, record)
- cmyk_flatten_profile: the synthesised profile uses coarse LUT grids
restrict_region now restores only the pixels in the damage rect instead of
every pixel of each touched tile. Pinned to one core, the live mixer test
drops from 14.69 s to 1.15 s (12.8x faster) and the live retouching test
from 16.24 s to 7.93 s (2.0x faster).
Artboards to Files accepted any number as `quality` and clamped it while
writing, though the params string documents 0..12; it now returns
BadParams before any file is written. The warnings of each file's save
were dropped; they now come back as `warnings`, each prefixed with the
file name, as Save a Copy returns them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Hold ordered layer selection across reads
* Migrate UI and automation to the borrowed document selection
* Fix held selection migration diagnostics
* Preserve held selection for unchanged active layer
* Keep owned selection snapshots in engine tests
* Allow consuming a document state without cloning
* Preserve document ownership on close and capture export selection
* Migrate engine integration tests to held selection
* Keep isolate-layer test selection snapshot
* Read the active layer before editing the gradient test document
* Remove redundant selection slice borrows
---------
Co-authored-by: FredApps <[email protected]>
* Retain damage across document revisions
* Count canvas conversion after neutral revisions
* Check paragraph box damage against ink bounds
* Bound damage growth on deep documents
* Keep recorded effect reach without growing twice
* Construct indexed layer trees in damage history tests
---------
Co-authored-by: FredApps <[email protected]>