Skip to content

feat(react-core): align the standard catalog with the A2UI 1.0 basic catalog - #7873

Closed
mme wants to merge 3 commits into
feat/generative-ui-prototypefrom
mme/genui-basic-catalog-names
Closed

mme wants to merge 3 commits into
feat/generative-ui-prototypefrom
mme/genui-basic-catalog-names

Conversation

@mme

@mme mme commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Aligns standardUI with the A2UI 1.0 basic catalog: the 18 basic components now carry their A2UI names and props (no aliases), and the five basic components we did not have are added. Catalog goes from 69 to 73 components. Additive to the engine: no change to createGenerativeUI, slots, events or the surface model.

Spec source: a2ui.org basic catalog v1.0 (basic_v1_catalog.json, common_types.json).

Renamed / aligned

Component Change
Row, Column, Box… justify: spaceBetween / spaceAround / spaceEvenly (+ stretch) replace between / around / evenly
all basic components weight = flex-grow in a Row/Column (A2UI). Font weight is now fontWeight (Title, Text, Caption, Label, Bold, Badge); Icon stroke is strokeWeight
Image url, description replace src, alt; fit takes contain|cover|fill|none|scaleDown; new variant (icon, avatar, smallFeature, mediumFeature, largeFeature, header). Same rename for CarouselMediaItem (media→url) and ImageGrid items
Icon accepts the A2UI basic icon names (arrowBack, shoppingCart, …, mapped to Lucide) next to Lucide kebab names, and { "svgPath" }
Button variants default (outlined) / primary / borderless (+ our soft); child single slot. Event stays onClick
TextField variant (shortText, longText, number, obscured, email, url, tel) replaces inputType; longText renders a textarea
CheckBox value is the boolean state (writable); checked and the string form value are gone
Slider steps (equal divisions)
DateTimeInput enableDate / enableTime, ISO values, datetime-local / time inputs
Divider axis: horizontal | vertical
Card child single slot (plus children)
List direction: vertical | horizontal, align

New

  • Video (url, posterUrl): native <video> for a file URL; a YouTube link gets the poster-first privacy-enhanced embed. Replaces YouTube.
  • AudioPlayer (url, description)
  • Tabs (tabs: [{ title }], panels as children, writable selectedIndex)
  • Modal (trigger / content single slots, writable open; focus trap, Escape, backdrop)
  • ChoicePicker (options, value: string[], variant, displayStyle: checkbox | chips, filterable)

Deviations from 1.0 to know about

  • Tabs: 1.0 puts a child id inside each tabs[] entry. The engine resolves child ids only in top-level slots, so the panels are the children here (nth child = nth tab). Supporting nested child refs would be an engine feature (slot paths).
  • Button keeps onClick instead of action; checks / ValidationResult (Checkable) are not modelled in the catalog, they belong to the engine.
  • Defaults differ where ours look better in chat (Image.fit default cover, not fill).

Context cost

Compact schema + guideline: 12.5K tokens (o200k), up from 11.0K: 4 new components, weight on 18 components, the Icon name union and the Image variants.

Verification

  • tsc clean for react-core and the example; react-core generative-ui tests 447/447, react-ui 79/79.
  • Fixture standard-all.json covers all 73 components; /catalog in examples/v2/a2ui-markdown renders every sample; Tabs, Modal, ChoicePicker, Video and the Image variants checked in the browser.

mme added 3 commits October 19, 2026 14:54
…catalog

The 18 components of the A2UI 1.0 basic catalog now carry their A2UI
names and props in standardUI, instead of our own spellings:

- Row/Column/Box justify: "spaceBetween" | "spaceAround" | "spaceEvenly"
  (+ "stretch") replace "between" | "around" | "evenly".
- Every component of the basic catalog takes `weight` (flex-grow in a Row
  or Column); the font weight prop of Title, Text, Caption, Label, Bold
  and Badge is `fontWeight`, and the Icon stroke is `strokeWeight`.
- Image: `url` and `description` replace `src` and `alt`; `fit` takes the
  five object-fit values; `variant` (icon, avatar, smallFeature,
  mediumFeature, largeFeature, header) sets the size. CarouselMediaItem
  and ImageGrid items use the same `url` and `description`.
- Icon: the A2UI basic icon names (arrowBack, shoppingCart, ...) map to
  Lucide icons; `{ svgPath }` renders a path on a 24px grid.
- Button: variants "default" | "primary" | "borderless" (+ "soft") and a
  `child` single slot. TextField: `variant` (shortText, longText, number,
  obscured, email, url, tel) replaces inputType; longText is a textarea.
  CheckBox: `value` is the boolean state. Slider: `steps`. DateTimeInput:
  `enableDate` / `enableTime` with ISO values. Divider: `axis`. Card:
  `child` single slot. List: `direction` and `align`.
- New: Video (a video file, or a YouTube link with the poster-first
  privacy-enhanced embed; replaces YouTube), AudioPlayer, Tabs, Modal and
  ChoicePicker. 73 components.

Tabs takes `tabs: [{ title }]` plus the panels as children, because the
engine resolves child ids only in top-level slots.
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 1
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: CopilotKit/CopilotKit/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e66986d0-9788-4ff8-9757-cbe7f79a04f4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Production Digest-Pinning Audit

All 43 services digest-pinned.

Run 2026-10-19 05:56:14 PDT — 0 finding(s).

@pkg-pr-new

pkg-pr-new Bot commented Oct 19, 2026

Copy link
Copy Markdown
@copilotkit/a2ui-renderer

pnpm add https://pkg.pr.new/@copilotkit/a2ui-renderer@7873

@copilotkit/agentcore-runner

pnpm add https://pkg.pr.new/@copilotkit/agentcore-runner@7873

@copilotkit/angular

pnpm add https://pkg.pr.new/@copilotkit/angular@7873

@copilotkit/channels

pnpm add https://pkg.pr.new/@copilotkit/channels@7873

@copilotkit/channels-core

pnpm add https://pkg.pr.new/@copilotkit/channels-core@7873

@copilotkit/channels-discord

pnpm add https://pkg.pr.new/@copilotkit/channels-discord@7873

@copilotkit/channels-intelligence

pnpm add https://pkg.pr.new/@copilotkit/channels-intelligence@7873

@copilotkit/channels-slack

pnpm add https://pkg.pr.new/@copilotkit/channels-slack@7873

@copilotkit/channels-teams

pnpm add https://pkg.pr.new/@copilotkit/channels-teams@7873

@copilotkit/channels-telegram

pnpm add https://pkg.pr.new/@copilotkit/channels-telegram@7873

@copilotkit/channels-ui

pnpm add https://pkg.pr.new/@copilotkit/channels-ui@7873

@copilotkit/channels-whatsapp

pnpm add https://pkg.pr.new/@copilotkit/channels-whatsapp@7873

@copilotkit/core

pnpm add https://pkg.pr.new/@copilotkit/core@7873

@copilotkit/intelligence-langgraph

pnpm add https://pkg.pr.new/@copilotkit/intelligence-langgraph@7873

@copilotkit/intelligence-mastra

pnpm add https://pkg.pr.new/@copilotkit/intelligence-mastra@7873

@copilotkit/learning

pnpm add https://pkg.pr.new/@copilotkit/learning@7873

@copilotkit/mcp-apps-renderer

pnpm add https://pkg.pr.new/@copilotkit/mcp-apps-renderer@7873

@copilotkit/react-core

pnpm add https://pkg.pr.new/@copilotkit/react-core@7873

@copilotkit/react-native

pnpm add https://pkg.pr.new/@copilotkit/react-native@7873

@copilotkit/react-textarea

pnpm add https://pkg.pr.new/@copilotkit/react-textarea@7873

@copilotkit/react-ui

pnpm add https://pkg.pr.new/@copilotkit/react-ui@7873

@copilotkit/runtime

pnpm add https://pkg.pr.new/@copilotkit/runtime@7873

@copilotkit/runtime-client-gql

pnpm add https://pkg.pr.new/@copilotkit/runtime-client-gql@7873

@copilotkit/sdk-js

pnpm add https://pkg.pr.new/@copilotkit/sdk-js@7873

@copilotkit/shared

pnpm add https://pkg.pr.new/@copilotkit/shared@7873

@copilotkit/sqlite-runner

pnpm add https://pkg.pr.new/@copilotkit/sqlite-runner@7873

@copilotkit/voice

pnpm add https://pkg.pr.new/@copilotkit/voice@7873

@copilotkit/vue

pnpm add https://pkg.pr.new/@copilotkit/vue@7873

@copilotkit/web-components

pnpm add https://pkg.pr.new/@copilotkit/web-components@7873

@copilotkit/web-inspector

pnpm add https://pkg.pr.new/@copilotkit/web-inspector@7873

commit: 97f50ef

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: +11.4 kB (+0.54%)

Total Size: 2.12 MB

📦 View Changed
Filename Size Change
packages/react-core/dist/v2/generative-ui.cjs 58.9 kB +5.72 kB (+10.76%) ⚠️
packages/react-core/dist/v2/generative-ui.mjs 58.2 kB +5.66 kB (+10.77%) ⚠️
ℹ️ View Unchanged
Filename Size
packages/a2ui-renderer/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/a2ui-renderer/dist/a2ui-types.cjs 472 B
packages/a2ui-renderer/dist/a2ui-types.mjs 469 B
packages/a2ui-renderer/dist/index.cjs 959 B
packages/a2ui-renderer/dist/index.mjs 637 B
packages/a2ui-renderer/dist/index.umd.js 13.4 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.cjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/A2uiSurface.mjs 1.46 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.cjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/adapter.mjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.cjs 904 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/AudioPlayer.mjs 492 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.cjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Button.mjs 603 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.cjs 829 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Card.mjs 419 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/CheckBox.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.cjs 799 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChildList.mjs 737 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.cjs 1.64 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/ChoicePicker.mjs 1.57 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.cjs 856 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Column.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.cjs 1.12 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/DateTimeInput.mjs 1.05 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.cjs 842 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Divider.mjs 432 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.cjs 877 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Icon.mjs 469 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.cjs 995 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Image.mjs 587 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.cjs 920 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/List.mjs 508 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.cjs 1.2 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Modal.mjs 1.14 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.cjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Row.mjs 801 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.cjs 1.06 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Slider.mjs 984 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.cjs 1.1 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Tabs.mjs 1.04 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.cjs 903 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Text.mjs 489 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/TextField.mjs 1.14 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.cjs 788 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/components/Video.mjs 378 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.cjs 928 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/index.mjs 855 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.cjs 579 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/basic/utils.mjs 556 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.cjs 989 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Button.mjs 584 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.cjs 800 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/ChildList.mjs 735 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.cjs 1.08 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Column.mjs 1.02 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.cjs 1.07 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Row.mjs 1.01 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.cjs 894 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/Text.mjs 839 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.cjs 1.21 kB
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/components/TextField.mjs 802 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.cjs 849 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/catalog/minimal/index.mjs 804 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.cjs 310 B
packages/a2ui-renderer/dist/react-renderer/a2ui-react/index.mjs 325 B
packages/a2ui-renderer/dist/react-renderer/catalog-utils.cjs 1.59 kB
packages/a2ui-renderer/dist/react-renderer/catalog-utils.mjs 1.52 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.cjs 1.5 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIProvider.mjs 1.42 kB
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.cjs 728 B
packages/a2ui-renderer/dist/react-renderer/core/A2UIRenderer.mjs 671 B
packages/a2ui-renderer/dist/react-renderer/create-catalog.cjs 1.35 kB
packages/a2ui-renderer/dist/react-renderer/create-catalog.mjs 1.28 kB
packages/a2ui-renderer/dist/react-renderer/filter-catalog.cjs 622 B
packages/a2ui-renderer/dist/react-renderer/filter-catalog.mjs 569 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.cjs 316 B
packages/a2ui-renderer/dist/react-renderer/hooks/useA2UI.mjs 309 B
packages/a2ui-renderer/dist/react-renderer/index.cjs 409 B
packages/a2ui-renderer/dist/react-renderer/index.mjs 568 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.cjs 236 B
packages/a2ui-renderer/dist/react-renderer/lib/utils.mjs 188 B
packages/a2ui-renderer/dist/react-renderer/styles/index.cjs 239 B
packages/a2ui-renderer/dist/react-renderer/styles/index.mjs 231 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.cjs 436 B
packages/a2ui-renderer/dist/react-renderer/theme/ThemeContext.mjs 381 B
packages/core/dist/index.cjs 98.4 kB
packages/core/dist/index.mjs 97.8 kB
packages/core/dist/index.umd.js 104 kB
packages/mcp-apps-renderer/dist/activity.cjs 259 B
packages/mcp-apps-renderer/dist/activity.mjs 170 B
packages/mcp-apps-renderer/dist/activity.umd.js 2.24 kB
packages/mcp-apps-renderer/dist/constants.cjs 714 B
packages/mcp-apps-renderer/dist/constants.mjs 712 B
packages/mcp-apps-renderer/dist/content-schema.cjs 768 B
packages/mcp-apps-renderer/dist/content-schema.mjs 765 B
packages/mcp-apps-renderer/dist/follow-up.cjs 796 B
packages/mcp-apps-renderer/dist/follow-up.mjs 794 B
packages/mcp-apps-renderer/dist/index.mjs 354 B
packages/mcp-apps-renderer/dist/request-queue.mjs 2.39 kB
packages/mcp-apps-renderer/dist/sandbox.mjs 1.14 kB
packages/mcp-apps-renderer/dist/session.mjs 6.86 kB
packages/react-core/dist/copilotkit-CIE6vAGV.mjs 136 kB
packages/react-core/dist/copilotkit-eIETsXXW.cjs 132 kB
packages/react-core/dist/index.cjs 17.7 kB
packages/react-core/dist/index.mjs 17.6 kB
packages/react-core/dist/index.umd.js 96.4 kB
packages/react-core/dist/MarkdownSurfaces-AM1Adf-q.mjs 23 kB
packages/react-core/dist/MarkdownSurfaces-Bx6UJzAU.cjs 23.6 kB
packages/react-core/dist/v2/context.cjs 1.58 kB
packages/react-core/dist/v2/context.mjs 1.5 kB
packages/react-core/dist/v2/headless.cjs 16.3 kB
packages/react-core/dist/v2/headless.mjs 15.7 kB
packages/react-core/dist/v2/index.cjs 4.3 kB
packages/react-core/dist/v2/index.mjs 4.29 kB
packages/react-core/dist/v2/index.umd.js 154 kB
packages/react-native/dist/chunk-C0xms8kb.cjs 546 B
packages/react-native/dist/components/index.cjs 8.65 kB
packages/react-native/dist/components/index.mjs 8.45 kB
packages/react-native/dist/CopilotKitProvider-CjoPnabW.cjs 1.55 kB
packages/react-native/dist/CopilotKitProvider-D8sn7G_C.mjs 1.43 kB
packages/react-native/dist/headless.cjs 632 B
packages/react-native/dist/headless.mjs 373 B
packages/react-native/dist/index.cjs 6.52 kB
packages/react-native/dist/index.mjs 6.14 kB
packages/react-native/dist/polyfills.cjs 195 B
packages/react-native/dist/polyfills.mjs 195 B
packages/react-native/dist/polyfills/crypto.cjs 373 B
packages/react-native/dist/polyfills/crypto.mjs 381 B
packages/react-native/dist/polyfills/dom.cjs 540 B
packages/react-native/dist/polyfills/dom.mjs 550 B
packages/react-native/dist/polyfills/encoding.cjs 332 B
packages/react-native/dist/polyfills/encoding.mjs 307 B
packages/react-native/dist/polyfills/location.cjs 236 B
packages/react-native/dist/polyfills/location.mjs 244 B
packages/react-native/dist/polyfills/streams.cjs 371 B
packages/react-native/dist/polyfills/streams.mjs 339 B
packages/react-native/dist/streaming-fetch-BnQh3vBz.mjs 2.22 kB
packages/react-native/dist/streaming-fetch-BTESzLKX.cjs 2.27 kB
packages/react-textarea/dist/index.cjs 17.6 kB
packages/react-textarea/dist/index.mjs 16.9 kB
packages/react-textarea/dist/index.umd.js 18.4 kB
packages/react-ui/dist/index.cjs 25.3 kB
packages/react-ui/dist/index.mjs 24.6 kB
packages/react-ui/dist/index.umd.js 26.6 kB
packages/runtime-client-gql/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/runtime-client-gql/dist/client/conversion.cjs 1.52 kB
packages/runtime-client-gql/dist/client/conversion.mjs 1.45 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.cjs 1.58 kB
packages/runtime-client-gql/dist/client/CopilotRuntimeClient.mjs 1.54 kB
packages/runtime-client-gql/dist/client/types.cjs 701 B
packages/runtime-client-gql/dist/client/types.mjs 642 B
packages/runtime-client-gql/dist/graphql/@generated/gql.cjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/gql.mjs 850 B
packages/runtime-client-gql/dist/graphql/@generated/graphql.cjs 2.4 kB
packages/runtime-client-gql/dist/graphql/@generated/graphql.mjs 2.36 kB
packages/runtime-client-gql/dist/graphql/definitions/mutations.cjs 740 B
packages/runtime-client-gql/dist/graphql/definitions/mutations.mjs 732 B
packages/runtime-client-gql/dist/graphql/definitions/queries.cjs 316 B
packages/runtime-client-gql/dist/graphql/definitions/queries.mjs 304 B
packages/runtime-client-gql/dist/index.cjs 679 B
packages/runtime-client-gql/dist/index.mjs 495 B
packages/runtime-client-gql/dist/index.umd.js 9.58 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.cjs 1.72 kB
packages/runtime-client-gql/dist/message-conversion/agui-to-gql.mjs 1.7 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.cjs 1.56 kB
packages/runtime-client-gql/dist/message-conversion/gql-to-agui.mjs 1.53 kB
packages/runtime-client-gql/dist/package.cjs 181 B
packages/runtime-client-gql/dist/package.mjs 116 B
packages/shared/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/shared/dist/a2ui-envelope.cjs 2.2 kB
packages/shared/dist/a2ui-envelope.mjs 2.19 kB
packages/shared/dist/a2ui-prompts.cjs 6.12 kB
packages/shared/dist/a2ui-prompts.mjs 6.08 kB
packages/shared/dist/attachments/content.cjs 255 B
packages/shared/dist/attachments/content.mjs 253 B
packages/shared/dist/attachments/utils.cjs 1.83 kB
packages/shared/dist/attachments/utils.mjs 1.79 kB
packages/shared/dist/constants/index.cjs 362 B
packages/shared/dist/constants/index.mjs 345 B
packages/shared/dist/debug.cjs 454 B
packages/shared/dist/debug.mjs 452 B
packages/shared/dist/event-transforms/index.cjs 335 B
packages/shared/dist/event-transforms/index.mjs 165 B
packages/shared/dist/event-transforms/open-generative-ui-middleware.cjs 2.42 kB
packages/shared/dist/event-transforms/open-generative-ui-middleware.mjs 2.35 kB
packages/shared/dist/event-transforms/recorded-events.cjs 988 B
packages/shared/dist/event-transforms/recorded-events.mjs 925 B
packages/shared/dist/finalize-events.cjs 1.94 kB
packages/shared/dist/finalize-events.mjs 1.88 kB
packages/shared/dist/generative-ui/render-ui-args.cjs 1.2 kB
packages/shared/dist/generative-ui/render-ui-args.mjs 1.2 kB
packages/shared/dist/generative-ui/types.cjs 769 B
packages/shared/dist/generative-ui/types.mjs 729 B
packages/shared/dist/generative-ui/validate-operation.cjs 3.95 kB
packages/shared/dist/generative-ui/validate-operation.mjs 3.92 kB
packages/shared/dist/index.cjs 3.45 kB
packages/shared/dist/index.mjs 2.92 kB
packages/shared/dist/index.umd.js 42 kB
packages/shared/dist/intelligence-routing-fields.cjs 778 B
packages/shared/dist/intelligence-routing-fields.mjs 775 B
packages/shared/dist/logger.cjs 112 B
packages/shared/dist/logger.mjs 112 B
packages/shared/dist/open-generative-ui-prompts.cjs 1.59 kB
packages/shared/dist/open-generative-ui-prompts.mjs 1.59 kB
packages/shared/dist/package.cjs 181 B
packages/shared/dist/package.mjs 116 B
packages/shared/dist/standard-schema.cjs 740 B
packages/shared/dist/standard-schema.mjs 737 B
packages/shared/dist/telemetry/index.cjs 358 B
packages/shared/dist/telemetry/index.mjs 250 B
packages/shared/dist/telemetry/lambda-client.cjs 1.59 kB
packages/shared/dist/telemetry/lambda-client.mjs 1.58 kB
packages/shared/dist/telemetry/model-host.cjs 1.63 kB
packages/shared/dist/telemetry/model-host.mjs 1.63 kB
packages/shared/dist/telemetry/sampling.cjs 956 B
packages/shared/dist/telemetry/sampling.mjs 935 B
packages/shared/dist/telemetry/telemetry-client.cjs 1.88 kB
packages/shared/dist/telemetry/telemetry-client.mjs 1.83 kB
packages/shared/dist/telemetry/telemetry-disabled.cjs 454 B
packages/shared/dist/telemetry/telemetry-disabled.mjs 451 B
packages/shared/dist/telemetry/utils.cjs 321 B
packages/shared/dist/telemetry/utils.mjs 277 B
packages/shared/dist/transcription-errors.cjs 951 B
packages/shared/dist/transcription-errors.mjs 944 B
packages/shared/dist/utils/clipboard.cjs 407 B
packages/shared/dist/utils/clipboard.mjs 405 B
packages/shared/dist/utils/conditions.cjs 540 B
packages/shared/dist/utils/conditions.mjs 536 B
packages/shared/dist/utils/console-styling.cjs 1.23 kB
packages/shared/dist/utils/console-styling.mjs 1.21 kB
packages/shared/dist/utils/errors.cjs 4.51 kB
packages/shared/dist/utils/errors.mjs 4.41 kB
packages/shared/dist/utils/index.cjs 1.45 kB
packages/shared/dist/utils/index.mjs 1.77 kB
packages/shared/dist/utils/inspector-learning.cjs 2.38 kB
packages/shared/dist/utils/inspector-learning.mjs 2.38 kB
packages/shared/dist/utils/inspector-metadata.cjs 1.46 kB
packages/shared/dist/utils/inspector-metadata.mjs 1.45 kB
packages/shared/dist/utils/inspector-visibility.cjs 285 B
packages/shared/dist/utils/inspector-visibility.mjs 282 B
packages/shared/dist/utils/json-schema.cjs 1.97 kB
packages/shared/dist/utils/json-schema.mjs 1.91 kB
packages/shared/dist/utils/random-id.cjs 618 B
packages/shared/dist/utils/random-id.mjs 559 B
packages/shared/dist/utils/requests.cjs 706 B
packages/shared/dist/utils/requests.mjs 704 B
packages/shared/dist/utils/row-render-keys.cjs 3.38 kB
packages/shared/dist/utils/row-render-keys.mjs 3.36 kB
packages/shared/dist/utils/types.cjs 161 B
packages/shared/dist/utils/types.mjs 160 B
packages/voice/dist/_virtual/_rolldown/runtime.cjs 516 B
packages/voice/dist/index.cjs 175 B
packages/voice/dist/index.mjs 95 B
packages/voice/dist/index.umd.js 1.5 kB
packages/voice/dist/transcription/transcription-service-openai.cjs 495 B
packages/voice/dist/transcription/transcription-service-openai.mjs 434 B
packages/web-inspector/dist/assets/inspector-logo-kite.cjs 2.36 kB
packages/web-inspector/dist/assets/inspector-logo-kite.mjs 2.3 kB
packages/web-inspector/dist/assets/inspector-logo.cjs 4.32 kB
packages/web-inspector/dist/assets/inspector-logo.mjs 4.23 kB
packages/web-inspector/dist/components/learning-view.cjs 9.47 kB
packages/web-inspector/dist/components/learning-view.mjs 9.47 kB
packages/web-inspector/dist/index.cjs 132 kB
packages/web-inspector/dist/index.mjs 132 kB
packages/web-inspector/dist/index.umd.js 198 kB
packages/web-inspector/dist/lib/context-helpers.cjs 866 B
packages/web-inspector/dist/lib/context-helpers.mjs 835 B
packages/web-inspector/dist/lib/home-briefing.cjs 2.8 kB
packages/web-inspector/dist/lib/home-briefing.mjs 2.79 kB
packages/web-inspector/dist/lib/hud-config.cjs 1.34 kB
packages/web-inspector/dist/lib/hud-config.mjs 1.33 kB
packages/web-inspector/dist/lib/hud-defaults.cjs 287 B
packages/web-inspector/dist/lib/hud-defaults.mjs 285 B
packages/web-inspector/dist/lib/hud-loader.cjs 557 B
packages/web-inspector/dist/lib/hud-loader.mjs 546 B
packages/web-inspector/dist/lib/inspector-learning.cjs 754 B
packages/web-inspector/dist/lib/inspector-learning.mjs 732 B
packages/web-inspector/dist/lib/inspector-metadata.cjs 760 B
packages/web-inspector/dist/lib/inspector-metadata.mjs 750 B
packages/web-inspector/dist/lib/inspector-nav.cjs 674 B
packages/web-inspector/dist/lib/inspector-nav.mjs 652 B
packages/web-inspector/dist/lib/learning-setup.cjs 1.12 kB
packages/web-inspector/dist/lib/learning-setup.mjs 1.09 kB
packages/web-inspector/dist/lib/notification-loader.cjs 792 B
packages/web-inspector/dist/lib/notification-loader.mjs 786 B
packages/web-inspector/dist/lib/notifications.cjs 2.39 kB
packages/web-inspector/dist/lib/notifications.mjs 2.37 kB
packages/web-inspector/dist/lib/onboarding-prompt.cjs 2.38 kB
packages/web-inspector/dist/lib/onboarding-prompt.mjs 2.37 kB
packages/web-inspector/dist/lib/persistence.cjs 3.61 kB
packages/web-inspector/dist/lib/persistence.mjs 3.52 kB
packages/web-inspector/dist/lib/pop-out.cjs 1.07 kB
packages/web-inspector/dist/lib/pop-out.mjs 1.05 kB
packages/web-inspector/dist/lib/telemetry.cjs 5.59 kB
packages/web-inspector/dist/lib/telemetry.mjs 5.38 kB
packages/web-inspector/dist/lib/thread-selection.cjs 566 B
packages/web-inspector/dist/lib/thread-selection.mjs 563 B
packages/web-inspector/dist/package.cjs 181 B
packages/web-inspector/dist/package.mjs 116 B
packages/web-inspector/dist/styles/generated.cjs 20.1 kB
packages/web-inspector/dist/styles/generated.mjs 20 kB
packages/web-inspector/dist/styles/notification-article.cjs 1.44 kB
packages/web-inspector/dist/styles/notification-article.mjs 1.44 kB

compressed-size-action

@mme

mme commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #7879, which carries this work as one commit per feature.

@mme mme closed this Oct 19, 2026
mme added a commit that referenced this pull request Oct 20, 2026
…names, child references, dynamic values, checks, calc (#7879)

## Summary

Brings `standardUI` and the generative UI engine to the **A2UI 1.0 basic
catalog**, in seven commits, one per area: shared protocol pieces, the
core prose lift, the react-core engine, the standard catalog, the
runtime prompt, the demo, the docs. Additive to the engine:
`createGenerativeUI`, `slots`, events and the surface model keep working
as they are.

### 1. Catalog aligned with the 1.0 basic catalog 

The 18 basic components carry their A2UI names *and* props, no aliases,
and the five we lacked are added (Video, AudioPlayer, Tabs, Modal,
ChoicePicker). 73 components.

| Component | Change |
| --- | --- |
| Row, Column, Box… | `justify`: `spaceBetween` / `spaceAround` /
`spaceEvenly` (+ `stretch`) |
| all basic components | `weight` = flex-grow in a Row/Column; font
weight is `fontWeight`, Icon stroke `strokeWeight` |
| Image | `url`, `description`; `fit` with the five object-fit values;
`variant` (icon … header). Same for `CarouselMediaItem` and `ImageGrid`
items |
| Icon | the A2UI icon names (`arrowBack`, `shoppingCart`, …) map to
Lucide; `{ svgPath }` |
| Button | variants `default` / `primary` / `borderless` (+ `soft`);
`child` slot |
| TextField | `variant` (`shortText`, `longText`, `number`, `obscured`,
`email`, `url`, `tel`) |
| CheckBox | `value` is the boolean state |
| Slider / DateTimeInput / Divider / Card / List | `steps`; `enableDate`
/ `enableTime` with ISO values; `axis`; `child` slot; `direction` +
`align` |

### 2. Typed child references 

`child()` and `childList()` mark a prop as a component reference
anywhere in the props schema, like A2UI's `ComponentId` / `ChildList`
types. The JSON Schema carries the A2UI `$ref`, the compact schema shows
`componentId`, and the engine renders every referenced id at any depth
(lists and templates included) and hands the component the nodes.
`slots` stays as top-level sugar. `Tabs` takes `tabs: [{ title, child
}]` exactly as in 1.0.

### 3. Dynamic values, the whole 1.0 model 

- `{"@path"}` and `{"@call"}` resolve at any depth of props, event
`context`, `userMessage` and function args.
- All 14 basic functions are built in, plus `@index`: `required`,
`regex`, `length`, `numeric`, `email`, `formatString` (`${/path}`,
`${relative}`, `${fn(arg: value)}`, `\${` escape), `formatNumber`,
`formatCurrency`, `formatDate` (TR35), `pluralize`, `and`, `or`, `not`,
`openUrl`.
- Reactive per prop: a node subscribes to the paths it read and
re-resolves only the prop whose inputs changed; literals keep their
identity.
- `ValidationResult` coerces to a boolean except under a check
`condition`.
- `openUrl` runs only from an event binding; the agent's
`callRendererFunction` gets `invalid_function_call` for it. Other basic
functions are callable by the agent.
- A bad call is a node fallback plus `reportError`, never a crash. The
validator and the guideline know the rules, including that 1.0 has **no
operators** in `${...}` (no arithmetic, no conditions): a derived number
is the model's job.
- Guideline nudge from the live runs: keep `dataModel` flat. With one
wrapper object around everything the model dropped a closing brace twice
in a row, which made the whole surface invisible.

### 4. `checks` 

Every input and `Button` take the `Checkable` rules. An input shows the
first failed message once touched (or when it has a value) and sets
`aria-invalid`; a Button with checks is disabled while one fails.

### 5. `calc` and `series`: arithmetic and computed lists

1.0 has no operators at all, so a price that follows a slider has no
spelling in the basic catalog. A catalog may declare its own functions,
so `standardUI` adds two, listed to the model like `formatCurrency`:

- `calc`: one expression over named args (`"expression": "seats * 29 *
(annual ? 0.8 : 1)"`, with `"seats": {"@path": "/seats"}`). Closed
language: arithmetic, comparisons, `&& || !`, `?:`,
`min/max/round/floor/ceil/abs`, text `+`. No property access, no code.
- `series`: a list of `count` items from an `item` template with
`${...}` expressions over a loop variable, for chart data and template
lists.

Both are reactive through the resolver. In the demo the model now writes
`calc` for the monthly price and a `series` (with a nested `calc`) for
the 12-month chart; moving the slider or toggling annual billing updates
both with no round trip.

### 6. Fix: a generated event is sent only when the agent is idle

A model-generated Button with an event binding sent its event on every
click; a double click or a click during a streaming reply started a
second run that interrupted the first. `forwardEvent` now drops an event
while the agent runs or another event is on its way (`agent_busy` result
to the component, nothing reported). Chat input and the chat's own
suggestion pills are untouched.

### Deviations from 1.0

`calc` and `series` are CopilotKit catalog functions, not basic-catalog
ones; a renderer without them rejects the call cleanly.

`Button` keeps `onClick` (1.0: `action`); defaults differ where ours
look better in chat (`Image.fit` → `cover`).

### Context cost

Compact schema + run guideline: **13.2K tokens** (o200k), up from 11.0K
on the base: four new components, `weight` on 18 components, the Icon
names and the 14 function signatures.

### Demo suggestions

Three pills in `examples/v2/a2ui-markdown` exercise the new features end
to end: **Table booking** (a `formatString` sentence with `pluralize`
and `formatDate` that updates live from a name field, a date picker and
a slider), **Sign-up with validation** (per-field `checks`, Create
account disabled until valid), and the sharpened **Team plan estimator**
(`calc` price and `series` chart following the slider and the annual
checkbox, plus a Request quote button gated by checks). All three were
run against the built-in agent and rendered as intended.

## Review

Nine rounds of `codex review` (gpt-6-astra, xhigh) against the base,
each round's findings fixed and folded into the feature commit they
belong to. Highlights: failed function values keep their subscriptions
and recover; the prose lift follows typed child references, declared
slots and a Card's `child`, and leaves bound references and horizontal
lists alone; the resolution cache is scoped by template item and cleared
on data notifications; `calc` short-circuits `?:`, `&&`, `||`;
`formatDate` tokenizes TR35 fields; built-ins are in the forwarded
catalog and never shadow a declared app function; `openUrl` is never a
value and needs the browser's user activation; the Modal is portaled
with its theme, keyboard-operable, respects disabled triggers and shares
one Escape stack with the Lightbox; the tool-transport prompt matches
the markdown guideline. Declined as disproportionate: detecting an
in-place data-model mutation made by a layout effect in the window
before a node subscribes.

## Verification

Each commit was type-checked and tested on its own. At the head: shared
98/98, react-core generative-ui 526/526 (new suites: `resolve`,
`functions`, `calc`, `child-refs`, `dynamic-values`, `checks`), react-ui
79/79; `tsc` clean for shared, react-core and the example. `/catalog` in
`examples/v2/a2ui-markdown` renders every sample; Tabs from typed ids,
the reactive formatString sample and the checks sample were exercised in
the browser.

Replaces #7873 and #7878.
mme added a commit that referenced this pull request Oct 21, 2026
…names, child references, dynamic values, checks, calc (#7879)

## Summary

Brings `standardUI` and the generative UI engine to the **A2UI 1.0 basic
catalog**, in seven commits, one per area: shared protocol pieces, the
core prose lift, the react-core engine, the standard catalog, the
runtime prompt, the demo, the docs. Additive to the engine:
`createGenerativeUI`, `slots`, events and the surface model keep working
as they are.

### 1. Catalog aligned with the 1.0 basic catalog 

The 18 basic components carry their A2UI names *and* props, no aliases,
and the five we lacked are added (Video, AudioPlayer, Tabs, Modal,
ChoicePicker). 73 components.

| Component | Change |
| --- | --- |
| Row, Column, Box… | `justify`: `spaceBetween` / `spaceAround` /
`spaceEvenly` (+ `stretch`) |
| all basic components | `weight` = flex-grow in a Row/Column; font
weight is `fontWeight`, Icon stroke `strokeWeight` |
| Image | `url`, `description`; `fit` with the five object-fit values;
`variant` (icon … header). Same for `CarouselMediaItem` and `ImageGrid`
items |
| Icon | the A2UI icon names (`arrowBack`, `shoppingCart`, …) map to
Lucide; `{ svgPath }` |
| Button | variants `default` / `primary` / `borderless` (+ `soft`);
`child` slot |
| TextField | `variant` (`shortText`, `longText`, `number`, `obscured`,
`email`, `url`, `tel`) |
| CheckBox | `value` is the boolean state |
| Slider / DateTimeInput / Divider / Card / List | `steps`; `enableDate`
/ `enableTime` with ISO values; `axis`; `child` slot; `direction` +
`align` |

### 2. Typed child references 

`child()` and `childList()` mark a prop as a component reference
anywhere in the props schema, like A2UI's `ComponentId` / `ChildList`
types. The JSON Schema carries the A2UI `$ref`, the compact schema shows
`componentId`, and the engine renders every referenced id at any depth
(lists and templates included) and hands the component the nodes.
`slots` stays as top-level sugar. `Tabs` takes `tabs: [{ title, child
}]` exactly as in 1.0.

### 3. Dynamic values, the whole 1.0 model 

- `{"@path"}` and `{"@call"}` resolve at any depth of props, event
`context`, `userMessage` and function args.
- All 14 basic functions are built in, plus `@index`: `required`,
`regex`, `length`, `numeric`, `email`, `formatString` (`${/path}`,
`${relative}`, `${fn(arg: value)}`, `\${` escape), `formatNumber`,
`formatCurrency`, `formatDate` (TR35), `pluralize`, `and`, `or`, `not`,
`openUrl`.
- Reactive per prop: a node subscribes to the paths it read and
re-resolves only the prop whose inputs changed; literals keep their
identity.
- `ValidationResult` coerces to a boolean except under a check
`condition`.
- `openUrl` runs only from an event binding; the agent's
`callRendererFunction` gets `invalid_function_call` for it. Other basic
functions are callable by the agent.
- A bad call is a node fallback plus `reportError`, never a crash. The
validator and the guideline know the rules, including that 1.0 has **no
operators** in `${...}` (no arithmetic, no conditions): a derived number
is the model's job.
- Guideline nudge from the live runs: keep `dataModel` flat. With one
wrapper object around everything the model dropped a closing brace twice
in a row, which made the whole surface invisible.

### 4. `checks` 

Every input and `Button` take the `Checkable` rules. An input shows the
first failed message once touched (or when it has a value) and sets
`aria-invalid`; a Button with checks is disabled while one fails.

### 5. `calc` and `series`: arithmetic and computed lists

1.0 has no operators at all, so a price that follows a slider has no
spelling in the basic catalog. A catalog may declare its own functions,
so `standardUI` adds two, listed to the model like `formatCurrency`:

- `calc`: one expression over named args (`"expression": "seats * 29 *
(annual ? 0.8 : 1)"`, with `"seats": {"@path": "/seats"}`). Closed
language: arithmetic, comparisons, `&& || !`, `?:`,
`min/max/round/floor/ceil/abs`, text `+`. No property access, no code.
- `series`: a list of `count` items from an `item` template with
`${...}` expressions over a loop variable, for chart data and template
lists.

Both are reactive through the resolver. In the demo the model now writes
`calc` for the monthly price and a `series` (with a nested `calc`) for
the 12-month chart; moving the slider or toggling annual billing updates
both with no round trip.

### 6. Fix: a generated event is sent only when the agent is idle

A model-generated Button with an event binding sent its event on every
click; a double click or a click during a streaming reply started a
second run that interrupted the first. `forwardEvent` now drops an event
while the agent runs or another event is on its way (`agent_busy` result
to the component, nothing reported). Chat input and the chat's own
suggestion pills are untouched.

### Deviations from 1.0

`calc` and `series` are CopilotKit catalog functions, not basic-catalog
ones; a renderer without them rejects the call cleanly.

`Button` keeps `onClick` (1.0: `action`); defaults differ where ours
look better in chat (`Image.fit` → `cover`).

### Context cost

Compact schema + run guideline: **13.2K tokens** (o200k), up from 11.0K
on the base: four new components, `weight` on 18 components, the Icon
names and the 14 function signatures.

### Demo suggestions

Three pills in `examples/v2/a2ui-markdown` exercise the new features end
to end: **Table booking** (a `formatString` sentence with `pluralize`
and `formatDate` that updates live from a name field, a date picker and
a slider), **Sign-up with validation** (per-field `checks`, Create
account disabled until valid), and the sharpened **Team plan estimator**
(`calc` price and `series` chart following the slider and the annual
checkbox, plus a Request quote button gated by checks). All three were
run against the built-in agent and rendered as intended.

## Review

Nine rounds of `codex review` (gpt-6-astra, xhigh) against the base,
each round's findings fixed and folded into the feature commit they
belong to. Highlights: failed function values keep their subscriptions
and recover; the prose lift follows typed child references, declared
slots and a Card's `child`, and leaves bound references and horizontal
lists alone; the resolution cache is scoped by template item and cleared
on data notifications; `calc` short-circuits `?:`, `&&`, `||`;
`formatDate` tokenizes TR35 fields; built-ins are in the forwarded
catalog and never shadow a declared app function; `openUrl` is never a
value and needs the browser's user activation; the Modal is portaled
with its theme, keyboard-operable, respects disabled triggers and shares
one Escape stack with the Lightbox; the tool-transport prompt matches
the markdown guideline. Declined as disproportionate: detecting an
in-place data-model mutation made by a layout effect in the window
before a node subscribes.

## Verification

Each commit was type-checked and tested on its own. At the head: shared
98/98, react-core generative-ui 526/526 (new suites: `resolve`,
`functions`, `calc`, `child-refs`, `dynamic-values`, `checks`), react-ui
79/79; `tsc` clean for shared, react-core and the example. `/catalog` in
`examples/v2/a2ui-markdown` renders every sample; Tabs from typed ids,
the reactive formatString sample and the checks sample were exercised in
the browser.

Replaces #7873 and #7878.
@mme
mme deleted the mme/genui-basic-catalog-names branch October 21, 2026 10:48
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