You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(write): per-corner set_corner_radius + new set_mask tool
Write counterparts for the read fidelity fields added in the previous commit,
completing read↔write symmetry (blendMode already had set_blend_mode):
- set_corner_radius: radius is now optional; adds per-corner topLeftRadius /
topRightRadius / bottomRightRadius / bottomLeftRadius. A per-corner value
overrides the uniform radius (set after it), mirroring set_strokes' per-side
weights. Nodes without individual corners are rejected; at least one of
radius or a corner is required.
- set_mask (new, tool 84→85): isMask boolean + optional maskType
(ALPHA/LUMINANCE/GEOMETRY, applied only when enabling). Masking has no
composable alternative, so it's a genuine authoring primitive (same bar as
combine_as_variants).
Both carry the Zod ToolSpec + registry wiring + gating tests (write-tools
schema assertions, handler tests for override / corner-only / unsupported-node
/ mask on-off + maskType gating).
605 tests, typecheck/lint/build green.
0 commit comments