feat(desktop): answer structured form interactions - #4384
Open
me2seeks wants to merge 4 commits into
Open
Conversation
me2seeks
force-pushed
the
feat/4364-desktop-form-interactions
branch
from
August 31, 2026 17:50
f6247a5 to
b814c29
Compare
me2seeks
force-pushed
the
feat/4364-desktop-form-interactions
branch
from
August 31, 2026 17:56
b814c29 to
661ee44
Compare
Render the Host-owned primitive form contract in the shared composer slot for both the main conversation and Side Chat. Preserve optional omission separately from explicit values, validate through the shared core contract, and expose cancel, decline, and accept without introducing surface-owned continuation state. Decode renderer responses at the Desktop IPC boundary, settle them through Runtime Host, and retire prompts only after the authoritative answer succeeds or its acknowledgement is projected. Cover all six field kinds, malformed responses, reconnect hydration, and both Desktop surfaces. Part of #4364. Generated-by: OpenAI Codex
Route main-surface form answers through the existing Desktop platform adapter, expose test-only companion helpers from the Workbar testing entry, and keep legacy AppShell debt monotonic while sharing response settlement behavior. Add focused coverage for answer acceptance and failure retention. Part of #4364.
Refresh the generated Astryx surface inventory for the aligned structured-form prompt. Part of #4364.
Keep the Session Workbar Storybook services aligned with the required structured-form response capability. Part of #4364.
me2seeks
force-pushed
the
feat/4364-desktop-form-interactions
branch
from
August 31, 2026 19:03
828699d to
098cac3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
falsevalues, while validating all six primitive field kinds through the shared core contractWhy
PR #4379 establishes the durable form interaction contract and Runtime Host continuation authority. Desktop still needs a surface adapter so a tool can collect bounded structured input without falling back to an untyped text question or inventing a second pending-interaction owner in the renderer.
This PR is stacked on #4379 and implements the Desktop slice of the rollout in #4364. It does not add provider-specific form state or change the MCP wire path.
Screenshots
Before, Desktop could only render the fixed question prompt. After, the same composer slot renders a structured form, preserves optional field intent, and reports field-local validation errors.
Usability states
trueTest plan
npm run buildPart of #4364.