Moving the anchor of a path's only rounded corner into a straight line kept
its radius, but the next anchor move found no corner drawn with an arc and
edited the drawn path instead, dropping the live shape and its radius.
edit_corner_anchors now decides on the stored radii, so the corner rounds
again once a move bends it.
A window started with --control and no automation roots answers its
control requests unconfined, so `prefs.agents` saved any readRoot,
writeRoot or controlPort such a client sent. The agent folders it
widened then held for every later agent session.
`prefs.agents` now refuses a change whenever automation sent the
request (a control or MCP request, or a pass that carries injected
input), as `automation_is_acting` already does for commands that open
another app. Reading the settings still works. The params text, its
MCP mirror and docs/mcp.md say so.
The answer_dialog tool description, which MCP clients read from
tools/list, still gave Don't Save for the save-changes question as one
call that sets `choice` and confirms. The app answers that request with
the confirm's result alone, so answer_dialog sends a second confirm,
which fails once the document has closed or, during Close All or Quit,
answers the next document's question with Save.
The description now gives the same sequence as docs/mcp.md: set
`choice` to `dontSave`, then confirm in a second call. It names
file.closeAll beside app.quit and file.close, lists the values `choice`
takes, describes `applyToAll`, and says to give `set` and `action` in
separate calls for this question. The answer_dialog row of docs/mcp.md
says the same.
A test in the MCP crate checks that the description gives the two-call
sequence and applyToAll, and does not give the one-call form or
`discard`.
docs/mcp.md says what OK and Apply do with the agent settings after
input injected through the control channel reached Preferences, and
what an OK sent by a control request does.
DWG drawings open and place through the DXF reader since #10802, but
the M4 row in docs/roadmap.md still listed DWG under Left. The row now
lists DWG import with its pull request, and Left keeps DWG export (use
DXF).
The check that an image or placed-document frame still encloses an area
now measures each subpath from its own first point, so a tiny frame far
from the origin is not lost to roundoff and a collapsed frame is not
counted through roundoff.
When a live geometry effect, such as an Offset Path inset, would leave
no clipping region once the paths are deleted, removeAll() now throws and
deletes nothing. The preflight copies only the members that hold a path
being deleted.
When VectorCraft is closed and the closed-app choice is a headless session, the session is confined
to the agent folders. If no folder is set and the default one can't be made, the shared router
passes no folders, and the session started with no automation roots, so its file commands could
open and save anywhere the user can. It now gets roots that grant nothing. The decision uses the
router's own consent result from the same lookup, so the ordinary headless fallback (agents off,
or Allow Agent Control off) keeps the command line's folders as before.
docs/mcp.md says what such a session can do.
docs/mcp.md now says that loadFromPreset(name) runs no command only when
the tracing's preset matches name (ignoring letter case and, for a
built-in preset, brackets) and its current parameters equal the
preset's, as options_load in crates/engine/src/script/dom/tracing.rs
checks.
The question that Close, Close All and Quit open for a modified
document takes `choice` (`save`, `dontSave` or `cancel`) and, while
more documents wait, `applyToAll`. A `discard` field is refused with
"unknown field `discard`". docs/control-protocol.md, the answer_dialog
row of docs/mcp.md and the control module's doc comment still told
clients to set `discard: true`.
Each text now gives `{field: "choice", value: "dontSave"}`, lists the
values `choice` takes and describes `applyToAll`. The answer_dialog
row gives the choice in one call and the confirm in a second one: the
app answers a `set` with `action` by returning the confirm's result
alone, and answer_dialog then sends a second confirm, which can fail
after the document closed or answer the next document's question.
A test in unsaved.rs checks the requests on the lines that describe
the `{"pending": "saveChanges"}` reply in both docs and sends the same
requests through the control handler: the modified documents close
and no file is written.
The edit field read the focus of the field's outer response, which never
holds the keyboard focus: the focus sits on the field's text part. A
click elsewhere or Tab out of a palette's or dialog's edit field then did
not give the typed text to the script. The field now reads the text
part's focus loss (`text_lost_focus`).
The focus-loss test drives the focus with Tab through egui instead of
calling the commit helper, and fails without the fix.
The retry docs in the script.palette.event help, docs/mcp.md and the
progress-doc entry name the recoveryFolder and recoveryOffForComplex
preferences, the two recovery preferences whose change starts the
waiting events again.
The document's pathItems.removeAll() refused to delete paths from a group
that is a clipping path when an image or placed document stayed inside
that group, although the image's frame still clips. It now counts the frame
of a visible image or placed document as clipping geometry when the frame
encloses an area, as Node::clip_shapes does, and still refuses when the
frame is collapsed to a line.
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
- A DWG placed while it is converted goes on the layer that was current
when Place started and, with `replace`, in place of the object selected
then, selected again unless it changed meanwhile. A layer the user made
current since stays current, as for other files read for Place.
- Place's checks run before the conversion starts, so a bad param or a
selection Replace can't swap (several objects, part of a symbol
instance) is reported at once and nothing is converted.
- The open progress window shows a DWG drawing being converted.
`file.cancelOpen` drops the conversion, so its dialog never opens, and
`file.openInBackground` closes the window while it goes on in the
status bar. Both commands' help text and `docs/mcp.md` say so.