- A prompt, confirm or alert answer that cannot reach the script is listed
in the report with the answer "error" instead of the answer given.
- After a named-engine run, point changes that a palette getter makes
while the palettes are refreshed are written before the run ends.
- The promise jobs a palette getter queues during that refresh run in the
same fuel, the host gets the controls once more after them, and their
unhandled rejections are part of the run's report. An update() they
call takes no waiting event.
- A waiting text change merges with a newer one only when no click or
close of its palette waits after it.
- With nobody to ask, an open edit that cannot be finished before the run
ends script.palette.event with that error, and the event does not wait.
- A click whose onClick getter hid the palette runs no handler, and a list
choice whose list a text getter removed, or whose earlier item text a
later getter changed, is refused.
- add() and remove() on a shown palette return their result when a getter
throws while the host's copy is updated; the host gets the controls at
the next update or when the run ends.
- In the app, a palette event whose run cannot begin shows its own error
instead of an earlier stopped run's message.
- The overview comments, docs/mcp.md and the progress line describe the
update() handling, the merge rule, onClose returning false and the
named engine a palette needs.
The script error for answers left in `answers` and Liquify's warning about
objects under the brush that it left as they were built their singular by
adding an empty suffix, so no catalog template could match the singular
form, and neither message had a catalog row for either count.
- Both messages are now built from complete singular and plural English
sentences; `it was` and `they were` are part of the sentence. The
English the commands return does not change.
- Every complete-message catalog has an `@msgplural` row for each, with
the language's own count forms. The tool name and the list of kinds
stay as written.
script_pump read vectorcraft_doc::cancel only after the guard that keeps
a run waiting, so a run asleep in $.sleep went on waiting until its wake
time (up to 1,000 ms), and a run waiting at a dialog or for approval to
grow waited until someone answered. The check now runs before that
guard, after the dialog-failure check, so a canceled request ends the
run at the next slice and every document goes back.
alert(message[, title, errorIcon]), confirm(message[, noAsDflt, title])
and prompt(message, preset[, title]) are globals in a script run. In the
app the run waits at the call for the person's answer, spends no
instructions while it waits, and every dialog has Stop, which ends the
run and puts every document back. A run over MCP or the command line
takes its answers in order from script.run's answers, a list of
{kind, value} records; a missing, mismatched or unused answer ends the
run. The report lists each dialog with its answer in dialogs, with
dialogCount and dialogsTruncated.
The interpreter gains a host call that waits at the call for its
result, from the script's own code only; a dialog called in a callback
of a built-in, a getter or a conversion throws in the app.
Docs: docs/mcp.md, docs/target-app-parity.md.