Skip to content

feat(a2ui): live sendDataModel round-trip + capabilities helper (Phase 4 of the v0.9 migration) - #820

Merged
blove merged 2 commits into
mainfrom
blove/a2ui-v09-phase4
Aug 17, 2026
Merged

feat(a2ui): live sendDataModel round-trip + capabilities helper (Phase 4 of the v0.9 migration)#820
blove merged 2 commits into
mainfrom
blove/a2ui-v09-phase4

Conversation

@blove

@blove blove commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Phase 4 — final phase of the A2UI v0.9.1 migration (follows #817, #818, #819).

  • Live sendDataModel metadata: when createSurface.sendDataModel is true, outbound action messages now attach the live per-surface data model (user edits included via the Phase-3 surface store, renderer-internal _a2uiChecks key stripped) instead of the agent-seeded snapshot.
  • a2uiClientCapabilities(): typed helper returning the renderer's A2uiClientCapabilities (supportedCatalogIds: [basic catalog]) for hosts to attach as catalog-negotiation transport metadata.
  • Prompts (byte-identical schema-prompt twins) + docs updated; api-docs regenerated.

With this, the migration is fully conformant to the v0.9.1 stable feature set: wire format, client-side functions, validation checks, and the sendDataModel round-trip.

Verification

  • libs/a2ui + libs/chat lint/test/build green (1135 chat tests incl. the new round-trip spec); pytest twins 56 + 23
  • nx affected: green except the known pre-existing cockpit-telemetry:lint worktree-environment failure (untouched project)
  • Live Chrome smoke (real gpt-5-mini): prompted for a sendDataModel: true feedback form, typed a comment, submitted — the outbound wire message (verified via thread state) carried metadata.a2uiClientDataModel.surfaces["feedback-surface-1"].comment = "The new checkout flow is great", i.e. the live-typed value round-tripped to the agent.

🤖 Generated with Claude Code

blove and others added 2 commits August 17, 2026 11:00
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…e 4)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview Aug 17, 2026 6:09pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

Claude Code is working…

I'll analyze this and get back to you.

View job run

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove merged commit c874b97 into main Aug 17, 2026
68 of 70 checks passed
@blove
blove deleted the blove/a2ui-v09-phase4 branch August 17, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant