Files
qwen-code/integrations
qqqys 81ab5b9285 feat(generated-ui): keep chatting with a card's values and turn Generated UI on by default (#15856)
* feat(generated-ui): let users keep chatting with a card's values

Continuing from an interactive view took a separate button and a review
dialog that showed the protocol text and a JSON snapshot. Hosts built
on MCP Apps let a view update the model context and let a view's own
explicit action post to the conversation directly; the card now does
both.

After the user changes values, the App sends the applied values as
model context once they settle (ui/update-model-context). Web Shell
places them above the composer as one removable "Interactive view
values" tag per card, replaced as the values change, so whatever the
user types next carries the card's current state. Values are offered
only after an interaction and never from a hidden or parked card.

The App's continue action now sends the applied values straight to the
session. The built-in card's parameter message skips the review dialog
and appears in the transcript as the same labelled reference instead of
raw text, and sending it clears that card's composer tag. When nothing
was sent, the card says so with the host's reason (for example a busy
session) and offers the action again. Other App messages, including the
built-in card's request to fix a failed view, keep the review dialog.

The writer skill asks for a short reply after the card that does not
repeat what the card shows, and explains how later messages carry the
view's values.

* feat(generated-ui): turn Generated UI on by default

experimental.generatedUi now defaults to true, so clients that render
MCP Apps, such as Web Shell, can show interactive views without a
settings change. An explicit false still turns it off, and an invalid
value still leaves it off.

Only an explicit opt-in warns when the runtime cannot offer the view
(untrusted workspace, sandbox, missing assets and similar); under the
default the session falls back to text as it already does for clients
that do not render MCP Apps. The settings schema, the VS Code schema,
the Web Shell setting copy, the settings reference and the Generated UI
README describe the new default.
2026-10-29 20:16:06 +08:00
..