From 53136bb99e82643b1bca9da45c409a4e3788654f Mon Sep 17 00:00:00 2001 From: Brian Love Date: Tue, 9 Jun 2026 09:01:52 -0700 Subject: [PATCH] docs(chat): fix snippet accuracy vs 0.0.49 API --- .../content/docs/chat/a2ui/catalog.mdx | 48 ++++++++++++------- .../docs/chat/components/chat-trace.mdx | 26 ++++++++-- .../chat/getting-started/installation.mdx | 1 + .../docs/chat/getting-started/quickstart.mdx | 20 ++++---- 4 files changed, 61 insertions(+), 34 deletions(-) diff --git a/apps/website/content/docs/chat/a2ui/catalog.mdx b/apps/website/content/docs/chat/a2ui/catalog.mdx index 46269e1a7..065ed3ce3 100644 --- a/apps/website/content/docs/chat/a2ui/catalog.mdx +++ b/apps/website/content/docs/chat/a2ui/catalog.mdx @@ -335,12 +335,15 @@ A tabbed container that shows one child panel at a time based on the selected ta ```json { "id": "info-tabs", - "component": "Tabs", - "tabs": [ - {"label": "Overview", "childKeys": ["overview-content"]}, - {"label": "Details", "childKeys": ["detail-list"]} - ], - "selected": {"path": "/activeTab"} + "component": { + "Tabs": { + "tabs": [ + {"label": "Overview", "childKeys": ["overview-content"]}, + {"label": "Details", "childKeys": ["detail-list"]} + ], + "selected": {"path": "/activeTab"} + } + } } ``` @@ -365,11 +368,14 @@ A dialog overlay that renders child content when open. Supports an optional titl ```json { "id": "confirm-dialog", - "component": "Modal", - "title": "Confirm Action", - "open": {"path": "/showConfirm"}, - "childKeys": ["confirm-message", "confirm-buttons"], - "dismissible": true + "component": { + "Modal": { + "title": {"literalString": "Confirm Action"}, + "open": {"path": "/showConfirm"}, + "childKeys": ["confirm-message", "confirm-buttons"], + "dismissible": true + } + } } ``` @@ -393,10 +399,13 @@ Renders an HTML5 `