@elabs-ai/components-ai 4.2.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{_audio-player-media-chrome-T3XVXWRZ.js → _audio-player-media-chrome.js} +1 -1
- package/dist/_code-block-theme.js +12 -0
- package/dist/_code-block-theme.js.map +1 -0
- package/dist/{_flow-boundary-SHNWLQG5.js → _flow-boundary.js} +1 -1
- package/dist/_flow-boundary.js.map +1 -0
- package/dist/_flow-lazy.js +8 -0
- package/dist/_flow-lazy.js.map +1 -0
- package/dist/_lazy-boundary-conformance.js +2 -0
- package/dist/_lazy-boundary-conformance.js.map +1 -0
- package/dist/_lazy-cjk.js +13 -0
- package/dist/_lazy-cjk.js.map +1 -0
- package/dist/_lazy-engine-boundary.js +9 -0
- package/dist/_lazy-engine-boundary.js.map +1 -0
- package/dist/_lazy-math.js +13 -0
- package/dist/_lazy-math.js.map +1 -0
- package/dist/_lazy-mermaid.js +12 -0
- package/dist/_lazy-mermaid.js.map +1 -0
- package/dist/_mermaid-error-panel.js +9 -0
- package/dist/_mermaid-error-panel.js.map +1 -0
- package/dist/{_persona-rive-JEG44YHX.js → _persona-rive.js} +19 -24
- package/dist/_persona-rive.js.map +1 -0
- package/dist/_streamdown-i18n.js +21 -0
- package/dist/_streamdown-i18n.js.map +1 -0
- package/dist/_streamdown-safety.js +10 -0
- package/dist/_streamdown-safety.js.map +1 -0
- package/dist/_theme-scope-store.js +13 -0
- package/dist/_theme-scope-store.js.map +1 -0
- package/dist/a2ui/a2ui-surface.js +17 -0
- package/dist/a2ui/a2ui-surface.js.map +1 -0
- package/dist/a2ui/core/catalog.generated.js +10 -0
- package/dist/a2ui/core/catalog.generated.js.map +1 -0
- package/dist/a2ui/core/complete-json.js +10 -0
- package/dist/a2ui/core/complete-json.js.map +1 -0
- package/dist/a2ui/core/index.js +37 -0
- package/dist/a2ui/core/index.js.map +1 -0
- package/dist/a2ui/core/schema.js +11 -0
- package/dist/a2ui/core/schema.js.map +1 -0
- package/dist/a2ui/core/spec.js +10 -0
- package/dist/a2ui/core/spec.js.map +1 -0
- package/dist/a2ui/core/validate.js +16 -0
- package/dist/a2ui/core/validate.js.map +1 -0
- package/dist/a2ui/index.js +54 -0
- package/dist/a2ui/index.js.map +1 -0
- package/dist/a2ui/ui-catalog.js +18 -0
- package/dist/a2ui/ui-catalog.js.map +1 -0
- package/dist/agent-event.js +10 -0
- package/dist/agent-event.js.map +1 -0
- package/dist/agent-timeline.js +11 -0
- package/dist/agent-timeline.js.map +1 -0
- package/dist/agent.js +25 -0
- package/dist/agent.js.map +1 -0
- package/dist/artifact.js +23 -0
- package/dist/artifact.js.map +1 -0
- package/dist/asset-preview.js +22 -0
- package/dist/asset-preview.js.map +1 -0
- package/dist/attachments.js +33 -0
- package/dist/attachments.js.map +1 -0
- package/dist/audio-player.js +30 -0
- package/dist/audio-player.js.map +1 -0
- package/dist/audio-visualizer.js +9 -0
- package/dist/audio-visualizer.js.map +1 -0
- package/dist/canvas.js +10 -0
- package/dist/canvas.js.map +1 -0
- package/dist/chain-of-thought.js +22 -0
- package/dist/chain-of-thought.js.map +1 -0
- package/dist/chat-greeting.js +8 -0
- package/dist/chat-greeting.js.map +1 -0
- package/dist/chat-shell.js +9 -0
- package/dist/chat-shell.js.map +1 -0
- package/dist/checkpoint.js +13 -0
- package/dist/checkpoint.js.map +1 -0
- package/dist/chunk-2XOIG5TG.js +72 -0
- package/dist/chunk-2XOIG5TG.js.map +1 -0
- package/dist/chunk-34CQ2VHM.js +172 -0
- package/dist/chunk-34CQ2VHM.js.map +1 -0
- package/dist/chunk-3TDHPXZZ.js +60 -0
- package/dist/chunk-3TDHPXZZ.js.map +1 -0
- package/dist/chunk-3XNPMDZY.js +478 -0
- package/dist/chunk-3XNPMDZY.js.map +1 -0
- package/dist/chunk-3YPT3V7L.js +56 -0
- package/dist/chunk-3YPT3V7L.js.map +1 -0
- package/dist/chunk-475UEU2Q.js +87 -0
- package/dist/chunk-475UEU2Q.js.map +1 -0
- package/dist/chunk-4CBTII2I.js +95 -0
- package/dist/chunk-4CBTII2I.js.map +1 -0
- package/dist/chunk-4XRNIZMG.js +22 -0
- package/dist/chunk-4XRNIZMG.js.map +1 -0
- package/dist/chunk-5NNWUKK5.js +2 -0
- package/dist/chunk-5NNWUKK5.js.map +1 -0
- package/dist/chunk-5UOMU27Z.js +164 -0
- package/dist/chunk-5UOMU27Z.js.map +1 -0
- package/dist/chunk-5VGYZ62I.js +264 -0
- package/dist/chunk-5VGYZ62I.js.map +1 -0
- package/dist/chunk-6IQPH2OS.js +21 -0
- package/dist/chunk-6IQPH2OS.js.map +1 -0
- package/dist/chunk-6PB2MXCI.js +482 -0
- package/dist/chunk-6PB2MXCI.js.map +1 -0
- package/dist/chunk-7FD5CZEU.js +215 -0
- package/dist/chunk-7FD5CZEU.js.map +1 -0
- package/dist/chunk-7RL6KZDF.js +266 -0
- package/dist/chunk-7RL6KZDF.js.map +1 -0
- package/dist/chunk-ADOYAGGK.js +482 -0
- package/dist/chunk-ADOYAGGK.js.map +1 -0
- package/dist/chunk-BA3AEMOU.js +21 -0
- package/dist/chunk-BA3AEMOU.js.map +1 -0
- package/dist/chunk-BBHFOYML.js +336 -0
- package/dist/chunk-BBHFOYML.js.map +1 -0
- package/dist/chunk-BHUVISIY.js +221 -0
- package/dist/chunk-BHUVISIY.js.map +1 -0
- package/dist/chunk-BM2LWERA.js +100 -0
- package/dist/chunk-BM2LWERA.js.map +1 -0
- package/dist/chunk-CMOYXNPJ.js +211 -0
- package/dist/chunk-CMOYXNPJ.js.map +1 -0
- package/dist/chunk-CZP3RHC4.js +74 -0
- package/dist/chunk-CZP3RHC4.js.map +1 -0
- package/dist/chunk-DDG5JHQT.js +112 -0
- package/dist/chunk-DDG5JHQT.js.map +1 -0
- package/dist/chunk-DJODXO7I.js +38 -0
- package/dist/chunk-DJODXO7I.js.map +1 -0
- package/dist/chunk-DWJDJLPU.js +192 -0
- package/dist/chunk-DWJDJLPU.js.map +1 -0
- package/dist/chunk-DZW6LM22.js +45 -0
- package/dist/chunk-DZW6LM22.js.map +1 -0
- package/dist/chunk-ELGCZLZF.js +305 -0
- package/dist/chunk-ELGCZLZF.js.map +1 -0
- package/dist/chunk-EV3U6ZZB.js +209 -0
- package/dist/chunk-EV3U6ZZB.js.map +1 -0
- package/dist/chunk-EY7LVUKQ.js +87 -0
- package/dist/chunk-EY7LVUKQ.js.map +1 -0
- package/dist/chunk-F4C74F7M.js +230 -0
- package/dist/chunk-F4C74F7M.js.map +1 -0
- package/dist/chunk-FERYDFZA.js +108 -0
- package/dist/chunk-FERYDFZA.js.map +1 -0
- package/dist/chunk-FUIYG2DS.js +166 -0
- package/dist/chunk-FUIYG2DS.js.map +1 -0
- package/dist/chunk-GA7M34KU.js +236 -0
- package/dist/chunk-GA7M34KU.js.map +1 -0
- package/dist/chunk-GKYZT3LA.js +136 -0
- package/dist/chunk-GKYZT3LA.js.map +1 -0
- package/dist/chunk-H42LRUQ4.js +102 -0
- package/dist/chunk-H42LRUQ4.js.map +1 -0
- package/dist/chunk-HVXM2G5F.js +222 -0
- package/dist/chunk-HVXM2G5F.js.map +1 -0
- package/dist/chunk-I4RDAGVY.js +53 -0
- package/dist/chunk-I4RDAGVY.js.map +1 -0
- package/dist/chunk-IQJG4IDX.js +208 -0
- package/dist/chunk-IQJG4IDX.js.map +1 -0
- package/dist/chunk-IX2PXG4Y.js +144 -0
- package/dist/chunk-IX2PXG4Y.js.map +1 -0
- package/dist/chunk-IXICSOOP.js +287 -0
- package/dist/chunk-IXICSOOP.js.map +1 -0
- package/dist/chunk-JY5HSN4D.js +84 -0
- package/dist/chunk-JY5HSN4D.js.map +1 -0
- package/dist/chunk-L4SU3QJV.js +174 -0
- package/dist/chunk-L4SU3QJV.js.map +1 -0
- package/dist/chunk-LMNSBOBG.js +19 -0
- package/dist/chunk-LMNSBOBG.js.map +1 -0
- package/dist/chunk-MBI7D6IL.js +42 -0
- package/dist/chunk-MBI7D6IL.js.map +1 -0
- package/dist/chunk-MLFMYCPH.js +192 -0
- package/dist/chunk-MLFMYCPH.js.map +1 -0
- package/dist/chunk-MOK66734.js +33 -0
- package/dist/chunk-MOK66734.js.map +1 -0
- package/dist/chunk-MXTAWPYM.js +196 -0
- package/dist/chunk-MXTAWPYM.js.map +1 -0
- package/dist/chunk-NCL2UZKI.js +96 -0
- package/dist/chunk-NCL2UZKI.js.map +1 -0
- package/dist/chunk-NET4YLRY.js +107 -0
- package/dist/chunk-NET4YLRY.js.map +1 -0
- package/dist/chunk-NIG67CFM.js +329 -0
- package/dist/chunk-NIG67CFM.js.map +1 -0
- package/dist/chunk-NMVNNO3L.js +10 -0
- package/dist/chunk-NMVNNO3L.js.map +1 -0
- package/dist/chunk-NP7VID4K.js +2 -0
- package/dist/chunk-NP7VID4K.js.map +1 -0
- package/dist/chunk-NPUCMAG2.js +382 -0
- package/dist/chunk-NPUCMAG2.js.map +1 -0
- package/dist/chunk-NSCLRHES.js +102 -0
- package/dist/chunk-NSCLRHES.js.map +1 -0
- package/dist/chunk-OEUXHVFW.js +86 -0
- package/dist/chunk-OEUXHVFW.js.map +1 -0
- package/dist/chunk-ONBHFIMZ.js +137 -0
- package/dist/chunk-ONBHFIMZ.js.map +1 -0
- package/dist/chunk-OPH2HHL2.js +228 -0
- package/dist/chunk-OPH2HHL2.js.map +1 -0
- package/dist/chunk-OQERHIQP.js +287 -0
- package/dist/chunk-OQERHIQP.js.map +1 -0
- package/dist/chunk-P6YJAZFG.js +103 -0
- package/dist/chunk-P6YJAZFG.js.map +1 -0
- package/dist/chunk-PG7ERDOD.js +65 -0
- package/dist/chunk-PG7ERDOD.js.map +1 -0
- package/dist/chunk-PIB5JBMA.js +90 -0
- package/dist/chunk-PIB5JBMA.js.map +1 -0
- package/dist/chunk-PQ5BPIWQ.js +22 -0
- package/dist/chunk-PQ5BPIWQ.js.map +1 -0
- package/dist/chunk-PQBF6ZIQ.js +55 -0
- package/dist/chunk-PQBF6ZIQ.js.map +1 -0
- package/dist/chunk-PTWCTSZL.js +173 -0
- package/dist/chunk-PTWCTSZL.js.map +1 -0
- package/dist/chunk-QJUNPVOS.js +101 -0
- package/dist/chunk-QJUNPVOS.js.map +1 -0
- package/dist/chunk-QOBSEGCG.js +996 -0
- package/dist/chunk-QOBSEGCG.js.map +1 -0
- package/dist/chunk-QUDZOTRV.js +43 -0
- package/dist/chunk-QUDZOTRV.js.map +1 -0
- package/dist/chunk-RB7G65JC.js +213 -0
- package/dist/chunk-RB7G65JC.js.map +1 -0
- package/dist/chunk-RPHAOR7P.js +45 -0
- package/dist/chunk-RPHAOR7P.js.map +1 -0
- package/dist/chunk-RTCSH2AN.js +331 -0
- package/dist/chunk-RTCSH2AN.js.map +1 -0
- package/dist/chunk-S3ISPW3A.js +28 -0
- package/dist/chunk-S3ISPW3A.js.map +1 -0
- package/dist/chunk-SEVN656N.js +36 -0
- package/dist/chunk-SEVN656N.js.map +1 -0
- package/dist/chunk-SKVG672B.js +64 -0
- package/dist/chunk-SKVG672B.js.map +1 -0
- package/dist/chunk-SSGJ6MEM.js +1076 -0
- package/dist/chunk-SSGJ6MEM.js.map +1 -0
- package/dist/chunk-SSKZ2AED.js +118 -0
- package/dist/chunk-SSKZ2AED.js.map +1 -0
- package/dist/chunk-T56JFGXI.js +561 -0
- package/dist/chunk-T56JFGXI.js.map +1 -0
- package/dist/chunk-TCB6O74A.js +137 -0
- package/dist/chunk-TCB6O74A.js.map +1 -0
- package/dist/chunk-TTEYPO6X.js +57 -0
- package/dist/chunk-TTEYPO6X.js.map +1 -0
- package/dist/chunk-TWPHAJNM.js +462 -0
- package/dist/chunk-TWPHAJNM.js.map +1 -0
- package/dist/chunk-TXJJLP4O.js +336 -0
- package/dist/chunk-TXJJLP4O.js.map +1 -0
- package/dist/chunk-TZ6TB7VM.js +245 -0
- package/dist/chunk-TZ6TB7VM.js.map +1 -0
- package/dist/chunk-UBLKJJ7K.js +278 -0
- package/dist/chunk-UBLKJJ7K.js.map +1 -0
- package/dist/chunk-UCJ6IUFS.js +52 -0
- package/dist/chunk-UCJ6IUFS.js.map +1 -0
- package/dist/chunk-UCKFJ3QF.js +197 -0
- package/dist/chunk-UCKFJ3QF.js.map +1 -0
- package/dist/chunk-UPXSLILN.js +20 -0
- package/dist/chunk-UPXSLILN.js.map +1 -0
- package/dist/chunk-V4DORGWJ.js +92 -0
- package/dist/chunk-V4DORGWJ.js.map +1 -0
- package/dist/chunk-V6E5DYZD.js +80 -0
- package/dist/chunk-V6E5DYZD.js.map +1 -0
- package/dist/chunk-VLLYKF3P.js +96 -0
- package/dist/chunk-VLLYKF3P.js.map +1 -0
- package/dist/chunk-VLNBTOH6.js +43 -0
- package/dist/chunk-VLNBTOH6.js.map +1 -0
- package/dist/chunk-WMDSMSPL.js +303 -0
- package/dist/chunk-WMDSMSPL.js.map +1 -0
- package/dist/chunk-WU5BLGTF.js +149 -0
- package/dist/chunk-WU5BLGTF.js.map +1 -0
- package/dist/chunk-WYTZVSGK.js +245 -0
- package/dist/chunk-WYTZVSGK.js.map +1 -0
- package/dist/chunk-X47QMM6K.js +187 -0
- package/dist/chunk-X47QMM6K.js.map +1 -0
- package/dist/chunk-YHUSW7D2.js +40 -0
- package/dist/chunk-YHUSW7D2.js.map +1 -0
- package/dist/chunk-YSKD7UXX.js +126 -0
- package/dist/chunk-YSKD7UXX.js.map +1 -0
- package/dist/chunk-YYRDGWOU.js +72 -0
- package/dist/chunk-YYRDGWOU.js.map +1 -0
- package/dist/chunk-ZIGZMWM7.js +19 -0
- package/dist/chunk-ZIGZMWM7.js.map +1 -0
- package/dist/chunk-ZKRTUKNP.js +40 -0
- package/dist/chunk-ZKRTUKNP.js.map +1 -0
- package/dist/code-block.js +38 -0
- package/dist/code-block.js.map +1 -0
- package/dist/commit.js +51 -0
- package/dist/commit.js.map +1 -0
- package/dist/composer.js +15 -0
- package/dist/composer.js.map +1 -0
- package/dist/confirmation.js +53 -0
- package/dist/confirmation.js.map +1 -0
- package/dist/connection.js +8 -0
- package/dist/connection.js.map +1 -0
- package/dist/context-panel.js +25 -0
- package/dist/context-panel.js.map +1 -0
- package/dist/controls.js +10 -0
- package/dist/controls.js.map +1 -0
- package/dist/conversation.js +19 -0
- package/dist/conversation.js.map +1 -0
- package/dist/diff-view.js +15 -0
- package/dist/diff-view.js.map +1 -0
- package/dist/edge.js +10 -0
- package/dist/edge.js.map +1 -0
- package/dist/environment-variables.js +29 -0
- package/dist/environment-variables.js.map +1 -0
- package/dist/file-tree.js +23 -0
- package/dist/file-tree.js.map +1 -0
- package/dist/gallery.js +9 -0
- package/dist/gallery.js.map +1 -0
- package/dist/grouped-parts.js +21 -0
- package/dist/grouped-parts.js.map +1 -0
- package/dist/image.js +9 -0
- package/dist/image.js.map +1 -0
- package/dist/index.d.ts +366 -98
- package/dist/index.js +672 -13577
- package/dist/index.js.map +1 -1
- package/dist/inline-citation.js +39 -0
- package/dist/inline-citation.js.map +1 -0
- package/dist/jsx-preview.js +17 -0
- package/dist/jsx-preview.js.map +1 -0
- package/dist/markdown-view.js +17 -0
- package/dist/markdown-view.js.map +1 -0
- package/dist/message-compare.js +12 -0
- package/dist/message-compare.js.map +1 -0
- package/dist/message-edit.js +19 -0
- package/dist/message-edit.js.map +1 -0
- package/dist/message-feedback.js +11 -0
- package/dist/message-feedback.js.map +1 -0
- package/dist/message-form-spec.js +38 -0
- package/dist/message-form-spec.js.map +1 -0
- package/dist/message-form.js +26 -0
- package/dist/message-form.js.map +1 -0
- package/dist/message-table-spec.js +26 -0
- package/dist/message-table-spec.js.map +1 -0
- package/dist/message-table.js +12 -0
- package/dist/message-table.js.map +1 -0
- package/dist/message.js +51 -0
- package/dist/message.js.map +1 -0
- package/dist/mic-selector.js +27 -0
- package/dist/mic-selector.js.map +1 -0
- package/dist/model-provider-logo.js +13 -0
- package/dist/model-provider-logo.js.map +1 -0
- package/dist/motion-config.js +9 -0
- package/dist/motion-config.js.map +1 -0
- package/dist/node.js +22 -0
- package/dist/node.js.map +1 -0
- package/dist/open-in-chat.js +31 -0
- package/dist/open-in-chat.js.map +1 -0
- package/dist/package-info.js +25 -0
- package/dist/package-info.js.map +1 -0
- package/dist/panel.js +10 -0
- package/dist/panel.js.map +1 -0
- package/dist/part-groups.js +18 -0
- package/dist/part-groups.js.map +1 -0
- package/dist/permission-mode-select.js +9 -0
- package/dist/permission-mode-select.js.map +1 -0
- package/dist/persona-sources.js +8 -0
- package/dist/persona-sources.js.map +1 -0
- package/dist/persona.js +14 -0
- package/dist/persona.js.map +1 -0
- package/dist/plan.js +32 -0
- package/dist/plan.js.map +1 -0
- package/dist/prompt-input-effort.js +9 -0
- package/dist/prompt-input-effort.js.map +1 -0
- package/dist/prompt-input-mode.js +10 -0
- package/dist/prompt-input-mode.js.map +1 -0
- package/dist/prompt-input-slash.js +12 -0
- package/dist/prompt-input-slash.js.map +1 -0
- package/dist/prompt-input.js +89 -0
- package/dist/prompt-input.js.map +1 -0
- package/dist/queue.js +37 -0
- package/dist/queue.js.map +1 -0
- package/dist/reasoning.js +23 -0
- package/dist/reasoning.js.map +1 -0
- package/dist/sandbox.js +28 -0
- package/dist/sandbox.js.map +1 -0
- package/dist/schema-display.js +33 -0
- package/dist/schema-display.js.map +1 -0
- package/dist/selection-toolbar.js +11 -0
- package/dist/selection-toolbar.js.map +1 -0
- package/dist/session-header.js +9 -0
- package/dist/session-header.js.map +1 -0
- package/dist/session-status-bar.js +9 -0
- package/dist/session-status-bar.js.map +1 -0
- package/dist/shimmer.js +9 -0
- package/dist/shimmer.js.map +1 -0
- package/dist/snippet.js +17 -0
- package/dist/snippet.js.map +1 -0
- package/dist/sources.js +17 -0
- package/dist/sources.js.map +1 -0
- package/dist/speech-input.js +9 -0
- package/dist/speech-input.js.map +1 -0
- package/dist/stack-trace.js +27 -0
- package/dist/stack-trace.js.map +1 -0
- package/dist/suggestion.js +16 -0
- package/dist/suggestion.js.map +1 -0
- package/dist/task.js +18 -0
- package/dist/task.js.map +1 -0
- package/dist/test-results.js +43 -0
- package/dist/test-results.js.map +1 -0
- package/dist/token-usage.js +27 -0
- package/dist/token-usage.js.map +1 -0
- package/dist/tool-result-card.js +9 -0
- package/dist/tool-result-card.js.map +1 -0
- package/dist/tool.js +27 -0
- package/dist/tool.js.map +1 -0
- package/dist/toolbar.js +10 -0
- package/dist/toolbar.js.map +1 -0
- package/dist/transcription.js +11 -0
- package/dist/transcription.js.map +1 -0
- package/dist/turn-status.js +9 -0
- package/dist/turn-status.js.map +1 -0
- package/dist/use-audio-level.js +9 -0
- package/dist/use-audio-level.js.map +1 -0
- package/dist/voice-selector.js +47 -0
- package/dist/voice-selector.js.map +1 -0
- package/dist/web-preview.js +19 -0
- package/dist/web-preview.js.map +1 -0
- package/package.json +11 -9
- package/schemas/a2ui-surface.v1.schema.json +5434 -0
- package/src/_chat-shell-rail.tsx +3 -1
- package/src/_flow-boundary.tsx +2 -2
- package/src/_persona-rive.tsx +27 -41
- package/src/a2ui/a2ui-surface.stories.tsx +662 -0
- package/src/a2ui/a2ui-surface.test.tsx +201 -0
- package/src/a2ui/a2ui-surface.tsx +354 -0
- package/src/a2ui/catalog.source.json +772 -0
- package/src/a2ui/core/a2ui-core.test.ts +178 -0
- package/src/a2ui/core/catalog.generated.ts +1019 -0
- package/src/a2ui/core/complete-json.ts +81 -0
- package/src/a2ui/core/index.ts +10 -0
- package/src/a2ui/core/schema.ts +111 -0
- package/src/a2ui/core/spec.ts +148 -0
- package/src/a2ui/core/validate.ts +266 -0
- package/src/a2ui/index.ts +7 -0
- package/src/a2ui/ui-catalog.tsx +225 -0
- package/src/a2ui/wave1-chart-spec.test.ts +87 -0
- package/src/a2ui/wave2-chart-spec.test.ts +108 -0
- package/src/agentic-workspace.stories.tsx +6 -45
- package/src/chat-shell.test.tsx +40 -10
- package/src/chat-shell.tsx +90 -44
- package/src/chat.stories.tsx +47 -42
- package/src/composer.stories.tsx +4 -5
- package/src/composer.test.tsx +45 -0
- package/src/composer.tsx +104 -21
- package/src/context-panel.stories.tsx +1 -1
- package/src/context-panel.tsx +1 -1
- package/src/conversation.stories.tsx +1 -0
- package/src/conversation.test.tsx +16 -0
- package/src/conversation.tsx +16 -2
- package/src/diff-view.stories.tsx +79 -0
- package/src/diff-view.tsx +3 -2
- package/src/file-tree.tsx +24 -17
- package/src/gallery.stories.tsx +42 -0
- package/src/gallery.tsx +2 -2
- package/src/grouped-parts.stories.tsx +23 -0
- package/src/grouped-parts.tsx +1 -1
- package/src/index.ts +1 -0
- package/src/message-compare.stories.tsx +40 -0
- package/src/message-compare.tsx +2 -1
- package/src/message-form.tsx +1 -1
- package/src/message-table.stories.tsx +24 -0
- package/src/message-table.tsx +1 -1
- package/src/package-info.tsx +12 -9
- package/src/reasoning.stories.tsx +27 -0
- package/src/reasoning.tsx +1 -1
- package/src/session-header.stories.tsx +35 -1
- package/src/session-header.tsx +1 -1
- package/src/sources.stories.tsx +30 -0
- package/src/sources.tsx +4 -1
- package/src/templates-ai-assistant.stories.tsx +151 -87
- package/src/tool.stories.tsx +39 -0
- package/src/tool.tsx +3 -3
- package/src/toolbar.tsx +0 -10
- package/dist/_flow-boundary-SHNWLQG5.js.map +0 -1
- package/dist/_persona-rive-JEG44YHX.js.map +0 -1
- /package/dist/{_audio-player-media-chrome-T3XVXWRZ.js.map → _audio-player-media-chrome.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ComponentProps, ReactNode, HTMLAttributes, RefObject, FormEvent, PropsWithChildren, ImgHTMLAttributes, FC, ElementType, JSX } from 'react';
|
|
2
|
+
import { ComponentProps, ReactNode, HTMLAttributes, RefObject, FormEvent, PropsWithChildren, ImgHTMLAttributes, ComponentType, FC, ElementType, JSX } from 'react';
|
|
3
3
|
import * as _elabs_ai_components_ui from '@elabs-ai/components-ui';
|
|
4
|
-
import { AccordionItem, Accordion, TimelineItemProps, Status, TimelineRootProps, AgentEventPhase, AgentEventOutcome, CheckSummary, CheckResult, Button, FileSource, HoverCard, HoverCardContent, HoverCardTrigger, CollapsibleContent, CollapsibleTrigger, Badge, HeadingLevel, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Collapsible, Avatar, InputGroupButton, DropdownMenuItem, DropdownMenu, DropdownMenuContent, TooltipContent, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, InputGroupAddon, InputGroupTextarea, EffortLevel, OperatingMode, SlashCommand, Alert, AlertDescription, ApprovalOption, Textarea, AlertTitle, DiffLine, Switch, Carousel, ProseHeadingLevel, ButtonGroup, Popover, PopoverContent, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, StatusBadge, ScrollArea, TabsContent, Tabs, TabsList, TabsTrigger, SessionCapability, SessionWhatsNewItem, SessionQuickAction, InputGroup, InputGroupInput, InputGroupText, Dialog, DialogContent, CommandDialog, CommandShortcut, DialogTrigger, Input } from '@elabs-ai/components-ui';
|
|
4
|
+
import { AccordionItem, Accordion, TimelineItemProps, Status, TimelineRootProps, AgentEventPhase, AgentEventOutcome, CheckSummary, CheckResult, Button, FileSource, HoverCard, HoverCardContent, HoverCardTrigger, CollapsibleContent, CollapsibleTrigger, Badge, HeadingLevel, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Collapsible, Avatar, InputGroupButton, DropdownMenuItem, DropdownMenu, DropdownMenuContent, TooltipContent, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, InputGroupAddon, InputGroupTextarea, EffortLevel, OperatingMode, SlashCommand, MentionOption, MentionValue, Alert, AlertDescription, ApprovalOption, Textarea, AlertTitle, DiffLine, Switch, Carousel, ProseHeadingLevel, ButtonGroup, Popover, PopoverContent, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, StatusBadge, ScrollArea, TabsContent, Tabs, TabsList, TabsTrigger, SessionCapability, SessionWhatsNewItem, SessionQuickAction, InputGroup, InputGroupInput, InputGroupText, Dialog, DialogContent, CommandDialog, CommandShortcut, DialogTrigger, Input } from '@elabs-ai/components-ui';
|
|
5
5
|
import * as ai from 'ai';
|
|
6
6
|
import { Tool as Tool$1, FileUIPart, SourceDocumentUIPart, Experimental_SpeechResult, ChatStatus, ToolUIPart, UIMessage, Experimental_GeneratedImage, LanguageModelUsage, DynamicToolUIPart, Experimental_TranscriptionResult } from 'ai';
|
|
7
7
|
import { LucideIcon, LucideProps, FileIcon } from 'lucide-react';
|
|
@@ -1208,7 +1208,26 @@ interface ComposerShortcut {
|
|
|
1208
1208
|
/** What the key does, in a word or two, e.g. `"send"`, `"newline"`. */
|
|
1209
1209
|
label: string;
|
|
1210
1210
|
}
|
|
1211
|
-
|
|
1211
|
+
/**
|
|
1212
|
+
* An `@`-mention roster for the composer field (`MentionInput` from
|
|
1213
|
+
* `@elabs-ai/components-ui`). The field keeps its own submit contract; the
|
|
1214
|
+
* mentions ride alongside the text in a `MentionValue`.
|
|
1215
|
+
*
|
|
1216
|
+
* Read the mentions on submit from `value` (controlled) or from
|
|
1217
|
+
* `onValueChange`, and resolve them with `serializeMentions(value)`
|
|
1218
|
+
* (`{ text, mentionedIds }`). `Composer` resets the value to empty after a
|
|
1219
|
+
* submit it accepts — through `onValueChange`, so a controlled caller's state
|
|
1220
|
+
* clears too.
|
|
1221
|
+
*/
|
|
1222
|
+
interface ComposerMentions {
|
|
1223
|
+
/** Who (or what) can be mentioned. */
|
|
1224
|
+
options: MentionOption[];
|
|
1225
|
+
/** Controlled value. Omit for an uncontrolled roster. */
|
|
1226
|
+
value?: MentionValue;
|
|
1227
|
+
/** Fires on every edit, pick and post-submit reset. */
|
|
1228
|
+
onValueChange?: (value: MentionValue) => void;
|
|
1229
|
+
}
|
|
1230
|
+
interface ComposerBaseProps {
|
|
1212
1231
|
/** Submit handler — receives the assembled message (text + attachments). */
|
|
1213
1232
|
onSubmit?: PromptInputProps["onSubmit"];
|
|
1214
1233
|
/** Textarea placeholder. Default `"Ask me anything…"`. */
|
|
@@ -1242,20 +1261,6 @@ interface ComposerProps {
|
|
|
1242
1261
|
* and is entirely yours; `aria-label` names the scale.
|
|
1243
1262
|
*/
|
|
1244
1263
|
effort?: ComposerEffortProps;
|
|
1245
|
-
/**
|
|
1246
|
-
* Slash-command palette. When set (and non-empty) the textarea becomes a
|
|
1247
|
-
* `PromptInputSlashTextarea` wrapped in a `PromptInputSlash`, so typing `/`
|
|
1248
|
-
* at the start of a line opens a filtered command list — nothing else about
|
|
1249
|
-
* the composer changes.
|
|
1250
|
-
*
|
|
1251
|
-
* Note this makes the textarea REACT-CONTROLLED (the palette needs to read
|
|
1252
|
-
* and splice the text), which is why `Composer` clears its own copy of the
|
|
1253
|
-
* text on submit: `PromptInput`'s `form.reset()` reaches the DOM node, not
|
|
1254
|
-
* React state.
|
|
1255
|
-
*/
|
|
1256
|
-
slashCommands?: PromptInputSlashProps["commands"];
|
|
1257
|
-
/** Fires with the chosen slash command (alongside the text splice). */
|
|
1258
|
-
onSlashCommand?: PromptInputSlashProps["onSelect"];
|
|
1259
1264
|
/**
|
|
1260
1265
|
* Override the DEFAULT tool buttons (today: the attach button) — e.g. to add
|
|
1261
1266
|
* a web-search or connect-data control. Render `PromptInputButton`s /
|
|
@@ -1330,6 +1335,34 @@ interface ComposerProps {
|
|
|
1330
1335
|
/** Extra classes for the outer card frame. */
|
|
1331
1336
|
className?: string;
|
|
1332
1337
|
}
|
|
1338
|
+
/**
|
|
1339
|
+
* The field enhancements that each take over the textarea — a slash palette OR
|
|
1340
|
+
* a mention roster, never both. The union makes the impossible combination a
|
|
1341
|
+
* type error instead of a silent precedence rule.
|
|
1342
|
+
*/
|
|
1343
|
+
type ComposerFieldProps = {
|
|
1344
|
+
/**
|
|
1345
|
+
* Slash-command palette. When set (and non-empty) the textarea becomes a
|
|
1346
|
+
* `PromptInputSlashTextarea` wrapped in a `PromptInputSlash`, so typing `/`
|
|
1347
|
+
* at the start of a line opens a filtered command list — nothing else about
|
|
1348
|
+
* the composer changes.
|
|
1349
|
+
*
|
|
1350
|
+
* Note this makes the textarea REACT-CONTROLLED (the palette needs to read
|
|
1351
|
+
* and splice the text), which is why `Composer` clears its own copy of the
|
|
1352
|
+
* text on submit: `PromptInput`'s `form.reset()` reaches the DOM node, not
|
|
1353
|
+
* React state.
|
|
1354
|
+
*/
|
|
1355
|
+
slashCommands?: PromptInputSlashProps["commands"];
|
|
1356
|
+
/** Fires with the chosen slash command (alongside the text splice). */
|
|
1357
|
+
onSlashCommand?: PromptInputSlashProps["onSelect"];
|
|
1358
|
+
mentions?: never;
|
|
1359
|
+
} | {
|
|
1360
|
+
/** `@`-mention roster on the field — see `ComposerMentions`. */
|
|
1361
|
+
mentions?: ComposerMentions;
|
|
1362
|
+
slashCommands?: never;
|
|
1363
|
+
onSlashCommand?: never;
|
|
1364
|
+
};
|
|
1365
|
+
type ComposerProps = ComposerBaseProps & ComposerFieldProps;
|
|
1333
1366
|
/**
|
|
1334
1367
|
* Composer — the standard brand-ui AI chat input.
|
|
1335
1368
|
*
|
|
@@ -1347,14 +1380,15 @@ interface ComposerProps {
|
|
|
1347
1380
|
*
|
|
1348
1381
|
* **Composer is the chat input. Every control the `PromptInput` family ships
|
|
1349
1382
|
* is reachable from a `Composer` prop; drop to `PromptInput` only for a
|
|
1350
|
-
* bespoke shell.** `modelPicker`, `mode`, `effort
|
|
1351
|
-
*
|
|
1352
|
-
* `PromptInputMode`, `PromptInputEffort
|
|
1383
|
+
* bespoke shell.** `modelPicker`, `mode`, `effort`, `slashCommands` and
|
|
1384
|
+
* `mentions` are the slots that make that true — they render `ModelPicker`,
|
|
1385
|
+
* `PromptInputMode`, `PromptInputEffort`, `PromptInputSlash` and
|
|
1386
|
+
* `MentionInput` respectively,
|
|
1353
1387
|
* in the footer order `attach · modelPicker · mode · effort │ voice · send`
|
|
1354
1388
|
* (the same left-to-right arrangement `TerminalComposer` uses, so the chat and
|
|
1355
1389
|
* console skins agree).
|
|
1356
1390
|
*/
|
|
1357
|
-
declare function Composer({ onSubmit, placeholder, status, modelPicker, mode, effort, slashCommands, onSlashCommand, tools, sendStatus, onStop, submitProps, shortcuts, cancelShortcut, suggestions, onSuggestionClick, showVoice, showAttach, tone, className, }: ComposerProps): react.JSX.Element;
|
|
1391
|
+
declare function Composer({ onSubmit, placeholder, status, modelPicker, mode, effort, slashCommands, onSlashCommand, mentions, tools, sendStatus, onStop, submitProps, shortcuts, cancelShortcut, suggestions, onSuggestionClick, showVoice, showAttach, tone, className, }: ComposerProps): react.JSX.Element;
|
|
1358
1392
|
|
|
1359
1393
|
type ToolUIPartApproval = {
|
|
1360
1394
|
id: string;
|
|
@@ -1946,6 +1980,242 @@ declare const InlineCitationSource: ({ title, url, description, className, child
|
|
|
1946
1980
|
type InlineCitationQuoteProps = ComponentProps<"blockquote">;
|
|
1947
1981
|
declare const InlineCitationQuote: ({ children, className, ...props }: InlineCitationQuoteProps) => react.JSX.Element;
|
|
1948
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* complete-json.ts — close a PARTIAL JSON document so a streaming surface can be
|
|
1985
|
+
* parsed and drawn before the model has finished (the A2UI counterpart of
|
|
1986
|
+
* `JSXPreview`'s `completeJsxTag`).
|
|
1987
|
+
*
|
|
1988
|
+
* Strategy: one linear scan tracking the bracket stack, string state and escape
|
|
1989
|
+
* state; then (1) close an open string, (2) drop a dangling `,` or supply `null`
|
|
1990
|
+
* for a dangling `"key":`, (3) close every open bracket in reverse. The result is
|
|
1991
|
+
* always syntactically valid JSON for any prefix of a valid document that has
|
|
1992
|
+
* passed its first `{`. Semantic gaps (a half-typed prop value, a node without
|
|
1993
|
+
* its `type` yet) are the validator's business — the renderer prunes what does
|
|
1994
|
+
* not validate while streaming and keeps the last good tree.
|
|
1995
|
+
*/
|
|
1996
|
+
declare function completeJson(text: string): string;
|
|
1997
|
+
/**
|
|
1998
|
+
* Parse `text`, completing it first when `partial`. Returns `null` (never throws)
|
|
1999
|
+
* when even the completed text is not JSON — the caller treats that as "no tree
|
|
2000
|
+
* yet".
|
|
2001
|
+
*/
|
|
2002
|
+
declare function parseSurfaceJson(text: string, partial?: boolean): unknown | null;
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* spec.ts — the A2UI surface protocol (D2, the generative-UI path: "the agent
|
|
2006
|
+
* describes a screen as DATA, validated against a catalog").
|
|
2007
|
+
*
|
|
2008
|
+
* An `A2uiSurface` is plain JSON an agent emits — a tree of catalog nodes. It is
|
|
2009
|
+
* NOT JSX (that is `JSXPreview`, the escape hatch) and it carries no code: every
|
|
2010
|
+
* `type` must exist in the catalog, every prop is checked against that type's
|
|
2011
|
+
* schema, and interaction is a named `on` binding the HOST app resolves
|
|
2012
|
+
* (`onAction`). brand-ui renders the tree; the app owns the model call and what
|
|
2013
|
+
* an action means (D5).
|
|
2014
|
+
*
|
|
2015
|
+
* Engine-free on purpose (no React import): `validateA2uiSurface` runs in the
|
|
2016
|
+
* browser, in Node, and — bundled by `pnpm gen` — inside the dependency-free
|
|
2017
|
+
* `brand-ui a2ui` CLI, so the CLI and `@elabs-ai/components-ai` can never
|
|
2018
|
+
* disagree about what a valid surface is.
|
|
2019
|
+
*/
|
|
2020
|
+
/** Protocol version this module understands (`"a2ui": "1"` on the root). */
|
|
2021
|
+
declare const A2UI_VERSION = "1";
|
|
2022
|
+
/**
|
|
2023
|
+
* A JSON value an agent may place in a prop. The `object` arm is there for
|
|
2024
|
+
* authoring: an app hands typed records (an interface for a KPI, a chart row) to
|
|
2025
|
+
* a spec literal without an index-signature cast; the runtime validator, not the
|
|
2026
|
+
* type, is what decides whether a value is acceptable.
|
|
2027
|
+
*/
|
|
2028
|
+
type A2uiJson = string | number | boolean | null | undefined | readonly A2uiJson[] | {
|
|
2029
|
+
readonly [key: string]: A2uiJson;
|
|
2030
|
+
} | object;
|
|
2031
|
+
/**
|
|
2032
|
+
* A node's prop value: a JSON value, or — for props the catalog types as `node`
|
|
2033
|
+
* (`title`, `description`, `actions`, …) — a nested node or list of nodes.
|
|
2034
|
+
*/
|
|
2035
|
+
type A2uiPropValue = A2uiJson | A2uiNode | A2uiNode[];
|
|
2036
|
+
/** What a bound event sends to the host: a NAME (the app's verb) and a payload. */
|
|
2037
|
+
interface A2uiAction {
|
|
2038
|
+
/** The host-side verb, e.g. `"approve"`, `"open-order"`. Never a code string. */
|
|
2039
|
+
name: string;
|
|
2040
|
+
/** Free JSON the agent attaches (an id, a row, a form draft). */
|
|
2041
|
+
payload?: A2uiJson;
|
|
2042
|
+
}
|
|
2043
|
+
/** An element node. Text nodes are plain strings inside `children`. */
|
|
2044
|
+
interface A2uiElement {
|
|
2045
|
+
/** A catalog type — `"Card"`, `"Button"`, `"Stack"`, … Unknown types are errors. */
|
|
2046
|
+
type: string;
|
|
2047
|
+
/** Optional stable id (→ `data-a2ui-id`), useful for the host to address a node. */
|
|
2048
|
+
id?: string;
|
|
2049
|
+
/** Props checked against the catalog entry's schema. */
|
|
2050
|
+
props?: Record<string, A2uiPropValue>;
|
|
2051
|
+
/** Child nodes — only for catalog types that accept children. */
|
|
2052
|
+
children?: A2uiNode[];
|
|
2053
|
+
/**
|
|
2054
|
+
* Event bindings by the catalog's event vocabulary (`click`, `change`, …) →
|
|
2055
|
+
* the action the host receives. The renderer wires the React handler.
|
|
2056
|
+
*/
|
|
2057
|
+
on?: Record<string, A2uiAction>;
|
|
2058
|
+
}
|
|
2059
|
+
type A2uiNode = string | A2uiElement;
|
|
2060
|
+
/** The document an agent emits (the whole tool-call result / message part). */
|
|
2061
|
+
interface A2uiSurfaceSpec {
|
|
2062
|
+
/** Protocol version — currently always `"1"`. */
|
|
2063
|
+
a2ui: string;
|
|
2064
|
+
/** Optional accessible name for the surface region. */
|
|
2065
|
+
title?: string;
|
|
2066
|
+
/** The root node — usually a `Stack`, `Grid` or `Card`. */
|
|
2067
|
+
root: A2uiNode;
|
|
2068
|
+
}
|
|
2069
|
+
/** The value shape of one prop in a catalog entry. */
|
|
2070
|
+
type A2uiPropType = "string" | "number" | "boolean" | "node" | "array" | "object" | "any";
|
|
2071
|
+
interface A2uiPropSchema {
|
|
2072
|
+
type: A2uiPropType;
|
|
2073
|
+
/** Closed set of allowed values (strings or numbers); `type` is then informational. */
|
|
2074
|
+
enum?: (string | number)[];
|
|
2075
|
+
required?: boolean;
|
|
2076
|
+
default?: A2uiJson;
|
|
2077
|
+
description?: string;
|
|
2078
|
+
}
|
|
2079
|
+
/** One catalog type — what an agent may emit for it. */
|
|
2080
|
+
interface A2uiCatalogTypeSchema {
|
|
2081
|
+
/** Drawn by the renderer itself (`Stack`, `Grid`), not a library component. */
|
|
2082
|
+
builtin?: boolean;
|
|
2083
|
+
/** May carry `children`. */
|
|
2084
|
+
children: boolean;
|
|
2085
|
+
/** One line for the agent (rendered by `brand-ui a2ui catalog`). */
|
|
2086
|
+
summary?: string;
|
|
2087
|
+
/** Prop name → schema. Anything not listed (and not in `A2UI_COMMON_PROPS`) is an error. */
|
|
2088
|
+
props: Record<string, A2uiPropSchema>;
|
|
2089
|
+
/** Event vocabulary → React handler prop (`click` → `onClick`). */
|
|
2090
|
+
events: Record<string, string>;
|
|
2091
|
+
/** Where the component comes from (`@elabs-ai/components-ui`) or `"builtin"`. */
|
|
2092
|
+
source: string;
|
|
2093
|
+
}
|
|
2094
|
+
type A2uiCatalogSchema = Record<string, A2uiCatalogTypeSchema>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Props every non-builtin element accepts on top of its own schema: the DOM
|
|
2097
|
+
* attributes that are safe for an agent to set. Deliberately NO `className` or
|
|
2098
|
+
* `style` — a surface inherits the app's theme and tokens; it never restyles.
|
|
2099
|
+
*/
|
|
2100
|
+
declare const A2UI_COMMON_PROPS: Record<string, A2uiPropSchema>;
|
|
2101
|
+
/** Machine-readable problem codes from `validateA2uiSurface`. */
|
|
2102
|
+
type A2uiErrorCode = "invalid-root" | "unsupported-version" | "invalid-node" | "unknown-type" | "unknown-prop" | "missing-prop" | "invalid-value" | "children-not-allowed" | "unknown-event" | "invalid-action";
|
|
2103
|
+
interface A2uiError {
|
|
2104
|
+
/** JSON-pointer-ish path: `root.children[2].props.variant`. */
|
|
2105
|
+
path: string;
|
|
2106
|
+
/** The path of the NODE that owns the problem (`root.children[2]`) — what a streaming renderer prunes. */
|
|
2107
|
+
node: string;
|
|
2108
|
+
code: A2uiErrorCode;
|
|
2109
|
+
message: string;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
/** One renderable catalog type: its schema plus the component that draws it. */
|
|
2113
|
+
interface A2uiCatalogEntry {
|
|
2114
|
+
schema: A2uiCatalogTypeSchema;
|
|
2115
|
+
/** Absent for builtins (`Stack`, `Grid`), which the surface draws itself. */
|
|
2116
|
+
component?: ComponentType<Record<string, unknown>>;
|
|
2117
|
+
}
|
|
2118
|
+
type A2uiCatalog = Record<string, A2uiCatalogEntry>;
|
|
2119
|
+
type AnyComponent = ComponentType<any>;
|
|
2120
|
+
/** The `@elabs-ai/components-ui` bindings, one per non-builtin catalog type. */
|
|
2121
|
+
declare const UI_CATALOG_BINDINGS: Record<string, AnyComponent>;
|
|
2122
|
+
/**
|
|
2123
|
+
* Build a catalog from component bindings + a schema. Every schema type that is
|
|
2124
|
+
* not a builtin must have a binding; a binding without a schema is ignored (it
|
|
2125
|
+
* would be unvalidatable). Extend the shipped one:
|
|
2126
|
+
*
|
|
2127
|
+
* ```ts
|
|
2128
|
+
* const catalog = createA2uiCatalog(
|
|
2129
|
+
* { ...UI_CATALOG_BINDINGS, RevenueChart },
|
|
2130
|
+
* { ...A2UI_CATALOG_SCHEMA, RevenueChart: defineA2uiType({ props: { series: { type: "array", required: true } } }) },
|
|
2131
|
+
* );
|
|
2132
|
+
* ```
|
|
2133
|
+
*/
|
|
2134
|
+
declare function createA2uiCatalog(bindings: Record<string, AnyComponent>, schema?: A2uiCatalogSchema): A2uiCatalog;
|
|
2135
|
+
/** Author a schema entry for an app-provided type with sensible defaults. */
|
|
2136
|
+
declare function defineA2uiType(partial: Partial<A2uiCatalogTypeSchema> & {
|
|
2137
|
+
source?: string;
|
|
2138
|
+
}): A2uiCatalogTypeSchema;
|
|
2139
|
+
/** The schema half of a catalog (what `validateA2uiSurface` takes). */
|
|
2140
|
+
declare function catalogSchema(catalog: A2uiCatalog): A2uiCatalogSchema;
|
|
2141
|
+
/** The shipped catalog: builtins + every `@elabs-ai/components-ui` type above. */
|
|
2142
|
+
declare const uiCatalog: A2uiCatalog;
|
|
2143
|
+
|
|
2144
|
+
type A2uiSurfaceStatus = "idle" | "pending" | "ready" | "error";
|
|
2145
|
+
/** What `onAction` receives besides the action the agent named. */
|
|
2146
|
+
interface A2uiActionContext {
|
|
2147
|
+
/** The catalog event that fired (`click`, `change`, …). */
|
|
2148
|
+
event: string;
|
|
2149
|
+
/** The control's value for `change` events (text, checked, selected value…). */
|
|
2150
|
+
value?: unknown;
|
|
2151
|
+
/** The node that carried the binding, and its path in the spec. */
|
|
2152
|
+
node: A2uiElement;
|
|
2153
|
+
path: string;
|
|
2154
|
+
}
|
|
2155
|
+
type A2uiActionHandler = (action: A2uiAction, context: A2uiActionContext) => void;
|
|
2156
|
+
type A2uiSurfaceProps = Omit<ComponentProps<"div">, "children" | "onError"> & {
|
|
2157
|
+
/** The agent's surface: a parsed spec, or its JSON text (may be a streaming prefix). */
|
|
2158
|
+
surface: A2uiSurfaceSpec | string | null | undefined;
|
|
2159
|
+
/** Which types render, and how. Defaults to the shipped `uiCatalog`. */
|
|
2160
|
+
catalog?: A2uiCatalog;
|
|
2161
|
+
/** Receives every `on.<event>` binding the user triggers. */
|
|
2162
|
+
onAction?: A2uiActionHandler;
|
|
2163
|
+
/** Content is arriving incrementally — build up, suppress transient errors. */
|
|
2164
|
+
isStreaming?: boolean;
|
|
2165
|
+
/** No surface yet (fetch-then-show) — forces the skeleton. */
|
|
2166
|
+
loading?: boolean;
|
|
2167
|
+
/** Fires once per settled, invalid surface with the validation errors. */
|
|
2168
|
+
onError?: (errors: A2uiError[]) => void;
|
|
2169
|
+
/** Replace the default skeleton (shown before the first paint while pending). */
|
|
2170
|
+
skeleton?: ReactNode;
|
|
2171
|
+
};
|
|
2172
|
+
declare const A2uiSurface: react.ForwardRefExoticComponent<Omit<A2uiSurfaceProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* validate.ts — `validateA2uiSurface`: is this JSON a surface the catalog can
|
|
2176
|
+
* render? Never throws, never repairs; every problem is a typed `A2uiError` with
|
|
2177
|
+
* a path, so an agent can fix its own output from the message and a host can
|
|
2178
|
+
* prune the failing subtree while streaming (`invalidNodePaths`).
|
|
2179
|
+
*/
|
|
2180
|
+
|
|
2181
|
+
type A2uiValidation = {
|
|
2182
|
+
ok: true;
|
|
2183
|
+
spec: A2uiSurfaceSpec;
|
|
2184
|
+
errors: [];
|
|
2185
|
+
} | {
|
|
2186
|
+
ok: false;
|
|
2187
|
+
spec: A2uiSurfaceSpec | null;
|
|
2188
|
+
errors: A2uiError[];
|
|
2189
|
+
};
|
|
2190
|
+
/** An element-shaped value: an object with a string `type`. */
|
|
2191
|
+
declare const isA2uiElement: (v: unknown) => v is A2uiElement;
|
|
2192
|
+
/**
|
|
2193
|
+
* Validate an untrusted value (a parsed tool result, a streamed JSON prefix)
|
|
2194
|
+
* against `catalog`. `ok: false` carries every problem found, in document order.
|
|
2195
|
+
*/
|
|
2196
|
+
declare function validateA2uiSurface(input: unknown, catalog: A2uiCatalogSchema): A2uiValidation;
|
|
2197
|
+
/**
|
|
2198
|
+
* The set of NODE paths (`root`, `root.children[1]`, …) that own at least one
|
|
2199
|
+
* error — the renderer drops exactly those subtrees while a surface is still
|
|
2200
|
+
* streaming, so a half-arrived node never blanks its finished siblings.
|
|
2201
|
+
*/
|
|
2202
|
+
declare function invalidNodePaths(errors: A2uiError[]): Set<string>;
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* schema.ts — the A2UI surface as a JSON Schema (draft 2020-12), built from the
|
|
2206
|
+
* catalog so editors, structured-output modes and JSON-Schema validators see the
|
|
2207
|
+
* SAME contract `validateA2uiSurface` enforces. Published as
|
|
2208
|
+
* `@elabs-ai/components-ai/a2ui/schema.json` and printed by `brand-ui a2ui schema`.
|
|
2209
|
+
*/
|
|
2210
|
+
|
|
2211
|
+
declare const A2UI_SURFACE_SCHEMA_ID = "https://github.com/mreimitz/elabs-components/packages/ai/schemas/a2ui-surface.v1.schema.json";
|
|
2212
|
+
type JsonSchema = Record<string, unknown>;
|
|
2213
|
+
/** Build the JSON Schema document for `catalog`. Deterministic: sorted types. */
|
|
2214
|
+
declare function buildA2uiSurfaceSchema(catalog: A2uiCatalogSchema): JsonSchema;
|
|
2215
|
+
|
|
2216
|
+
declare const A2UI_CATALOG_VERSION = "1";
|
|
2217
|
+
declare const A2UI_CATALOG_SCHEMA: A2uiCatalogSchema;
|
|
2218
|
+
|
|
1949
2219
|
/**
|
|
1950
2220
|
* The readiness of the preview, derived from the input (see loading-states.md):
|
|
1951
2221
|
* - `idle` — nothing requested yet (empty input, never rendered). Renders nothing.
|
|
@@ -2538,8 +2808,8 @@ declare const stringFieldSchema: z.ZodObject<{
|
|
|
2538
2808
|
}, "strip", z.ZodTypeAny, {
|
|
2539
2809
|
name: string;
|
|
2540
2810
|
type: "string";
|
|
2541
|
-
label?: string | undefined;
|
|
2542
2811
|
default?: string | undefined;
|
|
2812
|
+
label?: string | undefined;
|
|
2543
2813
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
2544
2814
|
pattern?: string | undefined;
|
|
2545
2815
|
maxLength?: number | undefined;
|
|
@@ -2550,8 +2820,8 @@ declare const stringFieldSchema: z.ZodObject<{
|
|
|
2550
2820
|
}, {
|
|
2551
2821
|
name: string;
|
|
2552
2822
|
type: "string";
|
|
2553
|
-
label?: string | undefined;
|
|
2554
2823
|
default?: string | undefined;
|
|
2824
|
+
label?: string | undefined;
|
|
2555
2825
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
2556
2826
|
pattern?: string | undefined;
|
|
2557
2827
|
maxLength?: number | undefined;
|
|
@@ -2578,8 +2848,8 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
2578
2848
|
}, "strip", z.ZodTypeAny, {
|
|
2579
2849
|
name: string;
|
|
2580
2850
|
type: "number";
|
|
2581
|
-
label?: string | undefined;
|
|
2582
2851
|
default?: number | undefined;
|
|
2852
|
+
label?: string | undefined;
|
|
2583
2853
|
max?: number | undefined;
|
|
2584
2854
|
min?: number | undefined;
|
|
2585
2855
|
required?: boolean | undefined;
|
|
@@ -2587,8 +2857,8 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
2587
2857
|
}, {
|
|
2588
2858
|
name: string;
|
|
2589
2859
|
type: "number";
|
|
2590
|
-
label?: string | undefined;
|
|
2591
2860
|
default?: number | undefined;
|
|
2861
|
+
label?: string | undefined;
|
|
2592
2862
|
max?: number | undefined;
|
|
2593
2863
|
min?: number | undefined;
|
|
2594
2864
|
required?: boolean | undefined;
|
|
@@ -2612,8 +2882,8 @@ declare const integerFieldSchema: z.ZodObject<{
|
|
|
2612
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2613
2883
|
name: string;
|
|
2614
2884
|
type: "integer";
|
|
2615
|
-
label?: string | undefined;
|
|
2616
2885
|
default?: number | undefined;
|
|
2886
|
+
label?: string | undefined;
|
|
2617
2887
|
max?: number | undefined;
|
|
2618
2888
|
min?: number | undefined;
|
|
2619
2889
|
required?: boolean | undefined;
|
|
@@ -2621,8 +2891,8 @@ declare const integerFieldSchema: z.ZodObject<{
|
|
|
2621
2891
|
}, {
|
|
2622
2892
|
name: string;
|
|
2623
2893
|
type: "integer";
|
|
2624
|
-
label?: string | undefined;
|
|
2625
2894
|
default?: number | undefined;
|
|
2895
|
+
label?: string | undefined;
|
|
2626
2896
|
max?: number | undefined;
|
|
2627
2897
|
min?: number | undefined;
|
|
2628
2898
|
required?: boolean | undefined;
|
|
@@ -2644,15 +2914,15 @@ declare const booleanFieldSchema: z.ZodObject<{
|
|
|
2644
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2645
2915
|
name: string;
|
|
2646
2916
|
type: "boolean";
|
|
2647
|
-
label?: string | undefined;
|
|
2648
2917
|
default?: boolean | undefined;
|
|
2918
|
+
label?: string | undefined;
|
|
2649
2919
|
required?: boolean | undefined;
|
|
2650
2920
|
description?: string | undefined;
|
|
2651
2921
|
}, {
|
|
2652
2922
|
name: string;
|
|
2653
2923
|
type: "boolean";
|
|
2654
|
-
label?: string | undefined;
|
|
2655
2924
|
default?: boolean | undefined;
|
|
2925
|
+
label?: string | undefined;
|
|
2656
2926
|
required?: boolean | undefined;
|
|
2657
2927
|
description?: string | undefined;
|
|
2658
2928
|
}>;
|
|
@@ -2686,8 +2956,8 @@ declare const enumFieldSchema: z.ZodObject<{
|
|
|
2686
2956
|
const: string;
|
|
2687
2957
|
title?: string | undefined;
|
|
2688
2958
|
})[];
|
|
2689
|
-
label?: string | undefined;
|
|
2690
2959
|
default?: string | undefined;
|
|
2960
|
+
label?: string | undefined;
|
|
2691
2961
|
required?: boolean | undefined;
|
|
2692
2962
|
description?: string | undefined;
|
|
2693
2963
|
}, {
|
|
@@ -2697,8 +2967,8 @@ declare const enumFieldSchema: z.ZodObject<{
|
|
|
2697
2967
|
const: string;
|
|
2698
2968
|
title?: string | undefined;
|
|
2699
2969
|
})[];
|
|
2700
|
-
label?: string | undefined;
|
|
2701
2970
|
default?: string | undefined;
|
|
2971
|
+
label?: string | undefined;
|
|
2702
2972
|
required?: boolean | undefined;
|
|
2703
2973
|
description?: string | undefined;
|
|
2704
2974
|
}>;
|
|
@@ -2732,8 +3002,8 @@ declare const multiEnumFieldSchema: z.ZodObject<{
|
|
|
2732
3002
|
const: string;
|
|
2733
3003
|
title?: string | undefined;
|
|
2734
3004
|
})[];
|
|
2735
|
-
label?: string | undefined;
|
|
2736
3005
|
default?: string[] | undefined;
|
|
3006
|
+
label?: string | undefined;
|
|
2737
3007
|
required?: boolean | undefined;
|
|
2738
3008
|
description?: string | undefined;
|
|
2739
3009
|
}, {
|
|
@@ -2743,8 +3013,8 @@ declare const multiEnumFieldSchema: z.ZodObject<{
|
|
|
2743
3013
|
const: string;
|
|
2744
3014
|
title?: string | undefined;
|
|
2745
3015
|
})[];
|
|
2746
|
-
label?: string | undefined;
|
|
2747
3016
|
default?: string[] | undefined;
|
|
3017
|
+
label?: string | undefined;
|
|
2748
3018
|
required?: boolean | undefined;
|
|
2749
3019
|
description?: string | undefined;
|
|
2750
3020
|
}>;
|
|
@@ -2771,8 +3041,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2771
3041
|
}, "strip", z.ZodTypeAny, {
|
|
2772
3042
|
name: string;
|
|
2773
3043
|
type: "string";
|
|
2774
|
-
label?: string | undefined;
|
|
2775
3044
|
default?: string | undefined;
|
|
3045
|
+
label?: string | undefined;
|
|
2776
3046
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
2777
3047
|
pattern?: string | undefined;
|
|
2778
3048
|
maxLength?: number | undefined;
|
|
@@ -2783,8 +3053,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2783
3053
|
}, {
|
|
2784
3054
|
name: string;
|
|
2785
3055
|
type: "string";
|
|
2786
|
-
label?: string | undefined;
|
|
2787
3056
|
default?: string | undefined;
|
|
3057
|
+
label?: string | undefined;
|
|
2788
3058
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
2789
3059
|
pattern?: string | undefined;
|
|
2790
3060
|
maxLength?: number | undefined;
|
|
@@ -2808,8 +3078,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2808
3078
|
}, "strip", z.ZodTypeAny, {
|
|
2809
3079
|
name: string;
|
|
2810
3080
|
type: "number";
|
|
2811
|
-
label?: string | undefined;
|
|
2812
3081
|
default?: number | undefined;
|
|
3082
|
+
label?: string | undefined;
|
|
2813
3083
|
max?: number | undefined;
|
|
2814
3084
|
min?: number | undefined;
|
|
2815
3085
|
required?: boolean | undefined;
|
|
@@ -2817,8 +3087,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2817
3087
|
}, {
|
|
2818
3088
|
name: string;
|
|
2819
3089
|
type: "number";
|
|
2820
|
-
label?: string | undefined;
|
|
2821
3090
|
default?: number | undefined;
|
|
3091
|
+
label?: string | undefined;
|
|
2822
3092
|
max?: number | undefined;
|
|
2823
3093
|
min?: number | undefined;
|
|
2824
3094
|
required?: boolean | undefined;
|
|
@@ -2839,8 +3109,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2839
3109
|
}, "strip", z.ZodTypeAny, {
|
|
2840
3110
|
name: string;
|
|
2841
3111
|
type: "integer";
|
|
2842
|
-
label?: string | undefined;
|
|
2843
3112
|
default?: number | undefined;
|
|
3113
|
+
label?: string | undefined;
|
|
2844
3114
|
max?: number | undefined;
|
|
2845
3115
|
min?: number | undefined;
|
|
2846
3116
|
required?: boolean | undefined;
|
|
@@ -2848,8 +3118,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2848
3118
|
}, {
|
|
2849
3119
|
name: string;
|
|
2850
3120
|
type: "integer";
|
|
2851
|
-
label?: string | undefined;
|
|
2852
3121
|
default?: number | undefined;
|
|
3122
|
+
label?: string | undefined;
|
|
2853
3123
|
max?: number | undefined;
|
|
2854
3124
|
min?: number | undefined;
|
|
2855
3125
|
required?: boolean | undefined;
|
|
@@ -2868,15 +3138,15 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2868
3138
|
}, "strip", z.ZodTypeAny, {
|
|
2869
3139
|
name: string;
|
|
2870
3140
|
type: "boolean";
|
|
2871
|
-
label?: string | undefined;
|
|
2872
3141
|
default?: boolean | undefined;
|
|
3142
|
+
label?: string | undefined;
|
|
2873
3143
|
required?: boolean | undefined;
|
|
2874
3144
|
description?: string | undefined;
|
|
2875
3145
|
}, {
|
|
2876
3146
|
name: string;
|
|
2877
3147
|
type: "boolean";
|
|
2878
|
-
label?: string | undefined;
|
|
2879
3148
|
default?: boolean | undefined;
|
|
3149
|
+
label?: string | undefined;
|
|
2880
3150
|
required?: boolean | undefined;
|
|
2881
3151
|
description?: string | undefined;
|
|
2882
3152
|
}>, z.ZodObject<{
|
|
@@ -2907,8 +3177,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2907
3177
|
const: string;
|
|
2908
3178
|
title?: string | undefined;
|
|
2909
3179
|
})[];
|
|
2910
|
-
label?: string | undefined;
|
|
2911
3180
|
default?: string | undefined;
|
|
3181
|
+
label?: string | undefined;
|
|
2912
3182
|
required?: boolean | undefined;
|
|
2913
3183
|
description?: string | undefined;
|
|
2914
3184
|
}, {
|
|
@@ -2918,8 +3188,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2918
3188
|
const: string;
|
|
2919
3189
|
title?: string | undefined;
|
|
2920
3190
|
})[];
|
|
2921
|
-
label?: string | undefined;
|
|
2922
3191
|
default?: string | undefined;
|
|
3192
|
+
label?: string | undefined;
|
|
2923
3193
|
required?: boolean | undefined;
|
|
2924
3194
|
description?: string | undefined;
|
|
2925
3195
|
}>, z.ZodObject<{
|
|
@@ -2950,8 +3220,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2950
3220
|
const: string;
|
|
2951
3221
|
title?: string | undefined;
|
|
2952
3222
|
})[];
|
|
2953
|
-
label?: string | undefined;
|
|
2954
3223
|
default?: string[] | undefined;
|
|
3224
|
+
label?: string | undefined;
|
|
2955
3225
|
required?: boolean | undefined;
|
|
2956
3226
|
description?: string | undefined;
|
|
2957
3227
|
}, {
|
|
@@ -2961,8 +3231,8 @@ declare const fieldSpecSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
2961
3231
|
const: string;
|
|
2962
3232
|
title?: string | undefined;
|
|
2963
3233
|
})[];
|
|
2964
|
-
label?: string | undefined;
|
|
2965
3234
|
default?: string[] | undefined;
|
|
3235
|
+
label?: string | undefined;
|
|
2966
3236
|
required?: boolean | undefined;
|
|
2967
3237
|
description?: string | undefined;
|
|
2968
3238
|
}>]>;
|
|
@@ -3003,8 +3273,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3003
3273
|
}, "strip", z.ZodTypeAny, {
|
|
3004
3274
|
name: string;
|
|
3005
3275
|
type: "string";
|
|
3006
|
-
label?: string | undefined;
|
|
3007
3276
|
default?: string | undefined;
|
|
3277
|
+
label?: string | undefined;
|
|
3008
3278
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
3009
3279
|
pattern?: string | undefined;
|
|
3010
3280
|
maxLength?: number | undefined;
|
|
@@ -3015,8 +3285,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3015
3285
|
}, {
|
|
3016
3286
|
name: string;
|
|
3017
3287
|
type: "string";
|
|
3018
|
-
label?: string | undefined;
|
|
3019
3288
|
default?: string | undefined;
|
|
3289
|
+
label?: string | undefined;
|
|
3020
3290
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
3021
3291
|
pattern?: string | undefined;
|
|
3022
3292
|
maxLength?: number | undefined;
|
|
@@ -3040,8 +3310,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3040
3310
|
}, "strip", z.ZodTypeAny, {
|
|
3041
3311
|
name: string;
|
|
3042
3312
|
type: "number";
|
|
3043
|
-
label?: string | undefined;
|
|
3044
3313
|
default?: number | undefined;
|
|
3314
|
+
label?: string | undefined;
|
|
3045
3315
|
max?: number | undefined;
|
|
3046
3316
|
min?: number | undefined;
|
|
3047
3317
|
required?: boolean | undefined;
|
|
@@ -3049,8 +3319,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3049
3319
|
}, {
|
|
3050
3320
|
name: string;
|
|
3051
3321
|
type: "number";
|
|
3052
|
-
label?: string | undefined;
|
|
3053
3322
|
default?: number | undefined;
|
|
3323
|
+
label?: string | undefined;
|
|
3054
3324
|
max?: number | undefined;
|
|
3055
3325
|
min?: number | undefined;
|
|
3056
3326
|
required?: boolean | undefined;
|
|
@@ -3071,8 +3341,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3071
3341
|
}, "strip", z.ZodTypeAny, {
|
|
3072
3342
|
name: string;
|
|
3073
3343
|
type: "integer";
|
|
3074
|
-
label?: string | undefined;
|
|
3075
3344
|
default?: number | undefined;
|
|
3345
|
+
label?: string | undefined;
|
|
3076
3346
|
max?: number | undefined;
|
|
3077
3347
|
min?: number | undefined;
|
|
3078
3348
|
required?: boolean | undefined;
|
|
@@ -3080,8 +3350,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3080
3350
|
}, {
|
|
3081
3351
|
name: string;
|
|
3082
3352
|
type: "integer";
|
|
3083
|
-
label?: string | undefined;
|
|
3084
3353
|
default?: number | undefined;
|
|
3354
|
+
label?: string | undefined;
|
|
3085
3355
|
max?: number | undefined;
|
|
3086
3356
|
min?: number | undefined;
|
|
3087
3357
|
required?: boolean | undefined;
|
|
@@ -3100,15 +3370,15 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3100
3370
|
}, "strip", z.ZodTypeAny, {
|
|
3101
3371
|
name: string;
|
|
3102
3372
|
type: "boolean";
|
|
3103
|
-
label?: string | undefined;
|
|
3104
3373
|
default?: boolean | undefined;
|
|
3374
|
+
label?: string | undefined;
|
|
3105
3375
|
required?: boolean | undefined;
|
|
3106
3376
|
description?: string | undefined;
|
|
3107
3377
|
}, {
|
|
3108
3378
|
name: string;
|
|
3109
3379
|
type: "boolean";
|
|
3110
|
-
label?: string | undefined;
|
|
3111
3380
|
default?: boolean | undefined;
|
|
3381
|
+
label?: string | undefined;
|
|
3112
3382
|
required?: boolean | undefined;
|
|
3113
3383
|
description?: string | undefined;
|
|
3114
3384
|
}>, z.ZodObject<{
|
|
@@ -3139,8 +3409,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3139
3409
|
const: string;
|
|
3140
3410
|
title?: string | undefined;
|
|
3141
3411
|
})[];
|
|
3142
|
-
label?: string | undefined;
|
|
3143
3412
|
default?: string | undefined;
|
|
3413
|
+
label?: string | undefined;
|
|
3144
3414
|
required?: boolean | undefined;
|
|
3145
3415
|
description?: string | undefined;
|
|
3146
3416
|
}, {
|
|
@@ -3150,8 +3420,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3150
3420
|
const: string;
|
|
3151
3421
|
title?: string | undefined;
|
|
3152
3422
|
})[];
|
|
3153
|
-
label?: string | undefined;
|
|
3154
3423
|
default?: string | undefined;
|
|
3424
|
+
label?: string | undefined;
|
|
3155
3425
|
required?: boolean | undefined;
|
|
3156
3426
|
description?: string | undefined;
|
|
3157
3427
|
}>, z.ZodObject<{
|
|
@@ -3182,8 +3452,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3182
3452
|
const: string;
|
|
3183
3453
|
title?: string | undefined;
|
|
3184
3454
|
})[];
|
|
3185
|
-
label?: string | undefined;
|
|
3186
3455
|
default?: string[] | undefined;
|
|
3456
|
+
label?: string | undefined;
|
|
3187
3457
|
required?: boolean | undefined;
|
|
3188
3458
|
description?: string | undefined;
|
|
3189
3459
|
}, {
|
|
@@ -3193,8 +3463,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3193
3463
|
const: string;
|
|
3194
3464
|
title?: string | undefined;
|
|
3195
3465
|
})[];
|
|
3196
|
-
label?: string | undefined;
|
|
3197
3466
|
default?: string[] | undefined;
|
|
3467
|
+
label?: string | undefined;
|
|
3198
3468
|
required?: boolean | undefined;
|
|
3199
3469
|
description?: string | undefined;
|
|
3200
3470
|
}>]>, "many">;
|
|
@@ -3204,8 +3474,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3204
3474
|
fields: ({
|
|
3205
3475
|
name: string;
|
|
3206
3476
|
type: "string";
|
|
3207
|
-
label?: string | undefined;
|
|
3208
3477
|
default?: string | undefined;
|
|
3478
|
+
label?: string | undefined;
|
|
3209
3479
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
3210
3480
|
pattern?: string | undefined;
|
|
3211
3481
|
maxLength?: number | undefined;
|
|
@@ -3216,8 +3486,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3216
3486
|
} | {
|
|
3217
3487
|
name: string;
|
|
3218
3488
|
type: "number";
|
|
3219
|
-
label?: string | undefined;
|
|
3220
3489
|
default?: number | undefined;
|
|
3490
|
+
label?: string | undefined;
|
|
3221
3491
|
max?: number | undefined;
|
|
3222
3492
|
min?: number | undefined;
|
|
3223
3493
|
required?: boolean | undefined;
|
|
@@ -3225,8 +3495,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3225
3495
|
} | {
|
|
3226
3496
|
name: string;
|
|
3227
3497
|
type: "integer";
|
|
3228
|
-
label?: string | undefined;
|
|
3229
3498
|
default?: number | undefined;
|
|
3499
|
+
label?: string | undefined;
|
|
3230
3500
|
max?: number | undefined;
|
|
3231
3501
|
min?: number | undefined;
|
|
3232
3502
|
required?: boolean | undefined;
|
|
@@ -3234,8 +3504,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3234
3504
|
} | {
|
|
3235
3505
|
name: string;
|
|
3236
3506
|
type: "boolean";
|
|
3237
|
-
label?: string | undefined;
|
|
3238
3507
|
default?: boolean | undefined;
|
|
3508
|
+
label?: string | undefined;
|
|
3239
3509
|
required?: boolean | undefined;
|
|
3240
3510
|
description?: string | undefined;
|
|
3241
3511
|
} | {
|
|
@@ -3245,8 +3515,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3245
3515
|
const: string;
|
|
3246
3516
|
title?: string | undefined;
|
|
3247
3517
|
})[];
|
|
3248
|
-
label?: string | undefined;
|
|
3249
3518
|
default?: string | undefined;
|
|
3519
|
+
label?: string | undefined;
|
|
3250
3520
|
required?: boolean | undefined;
|
|
3251
3521
|
description?: string | undefined;
|
|
3252
3522
|
} | {
|
|
@@ -3256,8 +3526,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3256
3526
|
const: string;
|
|
3257
3527
|
title?: string | undefined;
|
|
3258
3528
|
})[];
|
|
3259
|
-
label?: string | undefined;
|
|
3260
3529
|
default?: string[] | undefined;
|
|
3530
|
+
label?: string | undefined;
|
|
3261
3531
|
required?: boolean | undefined;
|
|
3262
3532
|
description?: string | undefined;
|
|
3263
3533
|
})[];
|
|
@@ -3269,8 +3539,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3269
3539
|
fields: ({
|
|
3270
3540
|
name: string;
|
|
3271
3541
|
type: "string";
|
|
3272
|
-
label?: string | undefined;
|
|
3273
3542
|
default?: string | undefined;
|
|
3543
|
+
label?: string | undefined;
|
|
3274
3544
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
3275
3545
|
pattern?: string | undefined;
|
|
3276
3546
|
maxLength?: number | undefined;
|
|
@@ -3281,8 +3551,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3281
3551
|
} | {
|
|
3282
3552
|
name: string;
|
|
3283
3553
|
type: "number";
|
|
3284
|
-
label?: string | undefined;
|
|
3285
3554
|
default?: number | undefined;
|
|
3555
|
+
label?: string | undefined;
|
|
3286
3556
|
max?: number | undefined;
|
|
3287
3557
|
min?: number | undefined;
|
|
3288
3558
|
required?: boolean | undefined;
|
|
@@ -3290,8 +3560,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3290
3560
|
} | {
|
|
3291
3561
|
name: string;
|
|
3292
3562
|
type: "integer";
|
|
3293
|
-
label?: string | undefined;
|
|
3294
3563
|
default?: number | undefined;
|
|
3564
|
+
label?: string | undefined;
|
|
3295
3565
|
max?: number | undefined;
|
|
3296
3566
|
min?: number | undefined;
|
|
3297
3567
|
required?: boolean | undefined;
|
|
@@ -3299,8 +3569,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3299
3569
|
} | {
|
|
3300
3570
|
name: string;
|
|
3301
3571
|
type: "boolean";
|
|
3302
|
-
label?: string | undefined;
|
|
3303
3572
|
default?: boolean | undefined;
|
|
3573
|
+
label?: string | undefined;
|
|
3304
3574
|
required?: boolean | undefined;
|
|
3305
3575
|
description?: string | undefined;
|
|
3306
3576
|
} | {
|
|
@@ -3310,8 +3580,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3310
3580
|
const: string;
|
|
3311
3581
|
title?: string | undefined;
|
|
3312
3582
|
})[];
|
|
3313
|
-
label?: string | undefined;
|
|
3314
3583
|
default?: string | undefined;
|
|
3584
|
+
label?: string | undefined;
|
|
3315
3585
|
required?: boolean | undefined;
|
|
3316
3586
|
description?: string | undefined;
|
|
3317
3587
|
} | {
|
|
@@ -3321,8 +3591,8 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
3321
3591
|
const: string;
|
|
3322
3592
|
title?: string | undefined;
|
|
3323
3593
|
})[];
|
|
3324
|
-
label?: string | undefined;
|
|
3325
3594
|
default?: string[] | undefined;
|
|
3595
|
+
label?: string | undefined;
|
|
3326
3596
|
required?: boolean | undefined;
|
|
3327
3597
|
description?: string | undefined;
|
|
3328
3598
|
})[];
|
|
@@ -3513,11 +3783,11 @@ declare const columnSpecSchema: z.ZodObject<{
|
|
|
3513
3783
|
}, "strip", z.ZodTypeAny, {
|
|
3514
3784
|
key: string;
|
|
3515
3785
|
label?: string | undefined;
|
|
3516
|
-
format?: "number" | "text" | "
|
|
3786
|
+
format?: "number" | "text" | "badge" | "percent" | "currency" | "date" | undefined;
|
|
3517
3787
|
}, {
|
|
3518
3788
|
key: string;
|
|
3519
3789
|
label?: string | undefined;
|
|
3520
|
-
format?: "number" | "text" | "
|
|
3790
|
+
format?: "number" | "text" | "badge" | "percent" | "currency" | "date" | undefined;
|
|
3521
3791
|
}>;
|
|
3522
3792
|
type ColumnSpec = z.infer<typeof columnSpecSchema>;
|
|
3523
3793
|
/** A single row: an object keyed by column `key`. */
|
|
@@ -3540,11 +3810,11 @@ declare const tableSpecSchema: z.ZodObject<{
|
|
|
3540
3810
|
}, "strip", z.ZodTypeAny, {
|
|
3541
3811
|
key: string;
|
|
3542
3812
|
label?: string | undefined;
|
|
3543
|
-
format?: "number" | "text" | "
|
|
3813
|
+
format?: "number" | "text" | "badge" | "percent" | "currency" | "date" | undefined;
|
|
3544
3814
|
}, {
|
|
3545
3815
|
key: string;
|
|
3546
3816
|
label?: string | undefined;
|
|
3547
|
-
format?: "number" | "text" | "
|
|
3817
|
+
format?: "number" | "text" | "badge" | "percent" | "currency" | "date" | undefined;
|
|
3548
3818
|
}>, "many">;
|
|
3549
3819
|
/** Row objects keyed by column `key`. */
|
|
3550
3820
|
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
@@ -3554,7 +3824,7 @@ declare const tableSpecSchema: z.ZodObject<{
|
|
|
3554
3824
|
columns: {
|
|
3555
3825
|
key: string;
|
|
3556
3826
|
label?: string | undefined;
|
|
3557
|
-
format?: "number" | "text" | "
|
|
3827
|
+
format?: "number" | "text" | "badge" | "percent" | "currency" | "date" | undefined;
|
|
3558
3828
|
}[];
|
|
3559
3829
|
rows: Record<string, unknown>[];
|
|
3560
3830
|
title?: string | undefined;
|
|
@@ -3563,7 +3833,7 @@ declare const tableSpecSchema: z.ZodObject<{
|
|
|
3563
3833
|
columns: {
|
|
3564
3834
|
key: string;
|
|
3565
3835
|
label?: string | undefined;
|
|
3566
|
-
format?: "number" | "text" | "
|
|
3836
|
+
format?: "number" | "text" | "badge" | "percent" | "currency" | "date" | undefined;
|
|
3567
3837
|
}[];
|
|
3568
3838
|
rows: Record<string, unknown>[];
|
|
3569
3839
|
title?: string | undefined;
|
|
@@ -4761,14 +5031,6 @@ type NodeToolbarProps = ComponentProps<typeof NodeToolbar$1>;
|
|
|
4761
5031
|
* ambiguous at every call site.
|
|
4762
5032
|
*/
|
|
4763
5033
|
declare const NodeToolbar: (props: NodeToolbarProps) => react.JSX.Element;
|
|
4764
|
-
/**
|
|
4765
|
-
* @deprecated Renamed to {@link NodeToolbar}. `Toolbar` is now the WAI-ARIA
|
|
4766
|
-
* toolbar in `@elabs-ai/components-ui`. This alias will be removed in
|
|
4767
|
-
* the next major.
|
|
4768
|
-
*/
|
|
4769
|
-
declare const Toolbar: (props: NodeToolbarProps) => react.JSX.Element;
|
|
4770
|
-
/** @deprecated Renamed to {@link NodeToolbarProps}. */
|
|
4771
|
-
type ToolbarProps = NodeToolbarProps;
|
|
4772
5034
|
|
|
4773
5035
|
type TranscriptionProps = Omit<ComponentProps<"div">, "children"> & {
|
|
4774
5036
|
segments: TranscriptionSegment[];
|
|
@@ -4978,20 +5240,25 @@ declare const WebPreviewConsole: ({ className, logs, children, ...props }: WebPr
|
|
|
4978
5240
|
interface ChatShellProps {
|
|
4979
5241
|
/** Scrollable transcript — typically a <Conversation>. */
|
|
4980
5242
|
children: ReactNode;
|
|
4981
|
-
/**
|
|
5243
|
+
/**
|
|
5244
|
+
* Floating composer — typically a <Composer> (the standard chat input). It
|
|
5245
|
+
* floats, padded, over the bottom of the transcript, centred at
|
|
5246
|
+
* `--chat-composer-column` (default `--container-3xl`) under a transcript
|
|
5247
|
+
* column of `--chat-column` (default `--container-4xl`, read by
|
|
5248
|
+
* `ConversationContent`); turns scroll up behind it and fade out.
|
|
5249
|
+
*/
|
|
4982
5250
|
composer?: ReactNode;
|
|
4983
5251
|
/** Optional header row (title, model picker, actions). */
|
|
4984
5252
|
header?: ReactNode;
|
|
4985
5253
|
/** Optional right-side context rail (sources, files, memory). */
|
|
4986
5254
|
aside?: ReactNode;
|
|
4987
5255
|
/**
|
|
4988
|
-
*
|
|
4989
|
-
* - `"card"` (default) — a self-contained rounded, bordered chat card
|
|
4990
|
-
* when the shell sits on a page among other
|
|
4991
|
-
*
|
|
4992
|
-
*
|
|
4993
|
-
*
|
|
4994
|
-
* of a hard bordered bar. Use when the shell already lives inside a bounded
|
|
5256
|
+
* Frame treatment (the transcript/composer layout is the same in both):
|
|
5257
|
+
* - `"card"` (default) — a self-contained rounded, bordered chat card with a
|
|
5258
|
+
* divider under the header. Use when the shell sits on a page among other
|
|
5259
|
+
* content and needs its own frame.
|
|
5260
|
+
* - `"bare"` — an immersive pane that fills its container with NO frame and
|
|
5261
|
+
* no header divider. Use when the shell already lives inside a bounded
|
|
4995
5262
|
* region (an AppShell `SidebarInset`, a full-page workspace) so it doesn't
|
|
4996
5263
|
* draw a redundant second frame.
|
|
4997
5264
|
*/
|
|
@@ -4999,15 +5266,16 @@ interface ChatShellProps {
|
|
|
4999
5266
|
className?: string;
|
|
5000
5267
|
}
|
|
5001
5268
|
/**
|
|
5002
|
-
* Layout shell for an AI chat built from the AI Elements: a header, a
|
|
5003
|
-
* transcript (give it a <Conversation>, which is
|
|
5004
|
-
*
|
|
5269
|
+
* Layout shell for an AI chat built from the AI Elements: a header, a
|
|
5270
|
+
* full-height scrollable transcript (give it a <Conversation>, which is
|
|
5271
|
+
* `flex-1`), a composer floating over the transcript's bottom edge (a
|
|
5272
|
+
* <Composer>, the standard chat input), and an optional context rail. Fills
|
|
5005
5273
|
* its parent's height.
|
|
5006
5274
|
*
|
|
5007
|
-
* Two
|
|
5008
|
-
*
|
|
5009
|
-
*
|
|
5275
|
+
* Two frames (`variant`): a framed `"card"` for in-page use, and a frameless
|
|
5276
|
+
* `"bare"` immersive pane for when the shell already sits inside a bounded
|
|
5277
|
+
* region and a second frame would just read as boxy.
|
|
5010
5278
|
*/
|
|
5011
5279
|
declare function ChatShell({ children, composer, header, aside, variant, className, }: ChatShellProps): react.JSX.Element;
|
|
5012
5280
|
|
|
5013
|
-
export { Agent, AgentContent, type AgentContentProps, AgentEvent, type AgentEventProps, AgentHeader, type AgentHeaderProps, AgentInstructions, type AgentInstructionsProps, AgentMessage, type AgentMessageEmphasis, type AgentMessageProps, AgentOutput, type AgentOutputProps, type AgentProps, AgentStep, type AgentStepProps, AgentTimeline, type AgentTimelineProps, AgentTool, type AgentToolProps, AgentTools, type AgentToolsProps, ApprovalCard, ApprovalCardAccepted, type ApprovalCardAcceptedProps, ApprovalCardAction, type ApprovalCardActionProps, ApprovalCardActions, type ApprovalCardActionsProps, ApprovalCardApprove, type ApprovalCardApproveProps, ApprovalCardDeny, type ApprovalCardDenyProps, ApprovalCardDescription, type ApprovalCardDescriptionProps, ApprovalCardOptions, type ApprovalCardOptionsProps, type ApprovalCardProps, ApprovalCardReason, type ApprovalCardReasonProps, ApprovalCardRejected, type ApprovalCardRejectedProps, ApprovalCardRequest, type ApprovalCardRequestProps, ApprovalCardTarget, type ApprovalCardTargetProps, ApprovalCardTitle, type ApprovalCardTitleProps, Artifact, ArtifactAction, type ArtifactActionProps, ArtifactActions, type ArtifactActionsProps, ArtifactClose, type ArtifactCloseProps, ArtifactContent, type ArtifactContentProps, ArtifactDescription, type ArtifactDescriptionProps, ArtifactHeader, type ArtifactHeaderProps, type ArtifactProps, ArtifactTitle, type ArtifactTitleProps, AssetPreview, type AssetPreviewMode, type AssetPreviewProps, type AssetPreviewRenderer, Attachment, type AttachmentData, AttachmentEmpty, type AttachmentEmptyProps, AttachmentHoverCard, AttachmentHoverCardContent, type AttachmentHoverCardContentProps, type AttachmentHoverCardProps, AttachmentHoverCardTrigger, type AttachmentHoverCardTriggerProps, AttachmentInfo, type AttachmentInfoProps, type AttachmentMediaCategory, AttachmentPreview, type AttachmentPreviewProps, type AttachmentProps, AttachmentRemove, type AttachmentRemoveProps, type AttachmentVariant, Attachments, type AttachmentsContext, type AttachmentsProps, AudioPlayer, AudioPlayerControlBar, type AudioPlayerControlBarProps, AudioPlayerDurationDisplay, type AudioPlayerDurationDisplayProps, AudioPlayerElement, type AudioPlayerElementProps, AudioPlayerMuteButton, type AudioPlayerMuteButtonProps, type AudioPlayerPartProps, AudioPlayerPlayButton, type AudioPlayerPlayButtonProps, type AudioPlayerProps, AudioPlayerSeekBackwardButton, type AudioPlayerSeekBackwardButtonProps, AudioPlayerSeekForwardButton, type AudioPlayerSeekForwardButtonProps, AudioPlayerTimeDisplay, type AudioPlayerTimeDisplayProps, AudioPlayerTimeRange, type AudioPlayerTimeRangeProps, AudioPlayerVolumeRange, type AudioPlayerVolumeRangeProps, AudioVisualizer, type AudioVisualizerLevelState, type AudioVisualizerProps, type AudioVisualizerVariant, type BadgeTone, type BooleanFieldSpec, BrandMotionConfig, type BrandMotionConfigProps, Canvas, type CanvasProps, type CellFormat, ChainOfThought, ChainOfThoughtContent, type ChainOfThoughtContentProps, ChainOfThoughtHeader, type ChainOfThoughtHeaderProps, ChainOfThoughtImage, type ChainOfThoughtImageProps, type ChainOfThoughtProps, ChainOfThoughtSearchResult, type ChainOfThoughtSearchResultProps, ChainOfThoughtSearchResults, type ChainOfThoughtSearchResultsProps, ChainOfThoughtStep, type ChainOfThoughtStepProps, ChatGreeting, type ChatGreetingProps, ChatShell, type ChatShellProps, Checkpoint, CheckpointIcon, type CheckpointIconProps, type CheckpointProps, CheckpointTrigger, type CheckpointTriggerProps, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, type CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, type CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, type CodeBlockLanguageSelectorItemProps, type CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, type CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, type CodeBlockLanguageSelectorValueProps, type CodeBlockProps, CodeBlockTitle, type ColumnSpec, Commit, CommitActions, type CommitActionsProps, CommitAuthor, CommitAuthorAvatar, type CommitAuthorAvatarProps, type CommitAuthorProps, CommitContent, type CommitContentProps, CommitCopyButton, type CommitCopyButtonProps, CommitFile, CommitFileAdditions, type CommitFileAdditionsProps, CommitFileChanges, type CommitFileChangesProps, CommitFileDeletions, type CommitFileDeletionsProps, CommitFileIcon, type CommitFileIconProps, CommitFileInfo, type CommitFileInfoProps, CommitFilePath, type CommitFilePathProps, type CommitFileProps, CommitFileStatus, type CommitFileStatusProps, CommitFiles, type CommitFilesProps, CommitHash, type CommitHashProps, CommitHeader, type CommitHeaderProps, CommitInfo, type CommitInfoProps, CommitMessage, type CommitMessageProps, CommitMetadata, type CommitMetadataProps, type CommitProps, CommitSeparator, type CommitSeparatorProps, CommitTimestamp, type CommitTimestampProps, Composer, type ComposerEffortProps, type ComposerModeProps, type ComposerProps, type ComposerShortcut, Confirmation, ConfirmationAccepted, type ConfirmationAcceptedProps, ConfirmationAction, type ConfirmationActionProps, ConfirmationActions, type ConfirmationActionsProps, ConfirmationApprove, type ConfirmationApproveProps, ConfirmationDeny, type ConfirmationDenyProps, ConfirmationDescription, type ConfirmationDescriptionProps, type ConfirmationProps, ConfirmationRejected, type ConfirmationRejectedProps, ConfirmationRequest, type ConfirmationRequestProps, ConfirmationTitle, type ConfirmationTitleProps, Connection, type ContextAsset, type ContextAssetType, ContextPanel, ContextPanelBody, type ContextPanelBodyProps, type ContextPanelContextValue, ContextPanelDetail, type ContextPanelDetailProps, ContextPanelHeader, type ContextPanelHeaderProps, type ContextPanelProps, ContextPanelProvider, type ContextPanelProviderProps, ContextPanelSection, type ContextPanelSectionProps, ContextPanelTrigger, type ContextPanelTriggerProps, type ContextPanelView, Controls, type ControlsProps, Conversation, ConversationContent, type ConversationContentProps, ConversationDownload, type ConversationDownloadProps, ConversationEmptyState, type ConversationEmptyStateProps, type ConversationProps, ConversationScrollButton, type ConversationScrollButtonProps, DiffView, type DiffViewProps, EMPTY_CELL, Edge, type EnumFieldSpec, type EnumOption, EnvironmentVariable, EnvironmentVariableCopyButton, type EnvironmentVariableCopyButtonProps, EnvironmentVariableGroup, type EnvironmentVariableGroupProps, EnvironmentVariableName, type EnvironmentVariableNameProps, type EnvironmentVariableProps, EnvironmentVariableRequired, type EnvironmentVariableRequiredProps, EnvironmentVariableValue, type EnvironmentVariableValueProps, EnvironmentVariables, EnvironmentVariablesContent, type EnvironmentVariablesContentProps, EnvironmentVariablesHeader, type EnvironmentVariablesHeaderProps, type EnvironmentVariablesProps, EnvironmentVariablesTitle, type EnvironmentVariablesTitleProps, EnvironmentVariablesToggle, type EnvironmentVariablesToggleProps, EvidenceChip, type EvidenceChipProps, type FeedbackType, type FieldSpec, FileTree, FileTreeActions, type FileTreeActionsProps, FileTreeFile, type FileTreeFileProps, FileTreeFolder, type FileTreeFolderProps, FileTreeIcon, type FileTreeIconProps, FileTreeName, type FileTreeNameProps, type FileTreeProps, type FileTreeVariant, type FormSpec, type FormSubmitState, type FormValue, type FormValues, Gallery, type GalleryImage, type GalleryMetaItem, type GalleryProps, type GetPartStatus, type GroupBy, type GroupByContext, type GroupKey, type GroupPartByTypeOptions, type GroupStatus, type GroupablePart, type GroupedNode, type GroupedPartRenderArgs, type GroupedPartRenderer, GroupedParts, type GroupedPartsProps, Image, type ImageProps, InlineCitation, InlineCitationCard, InlineCitationCardBody, type InlineCitationCardBodyProps, type InlineCitationCardProps, InlineCitationCardTrigger, type InlineCitationCardTriggerProps, InlineCitationCarousel, InlineCitationCarouselContent, type InlineCitationCarouselContentProps, InlineCitationCarouselHeader, type InlineCitationCarouselHeaderProps, InlineCitationCarouselIndex, type InlineCitationCarouselIndexProps, InlineCitationCarouselItem, type InlineCitationCarouselItemProps, InlineCitationCarouselNext, type InlineCitationCarouselNextProps, InlineCitationCarouselPrev, type InlineCitationCarouselPrevProps, type InlineCitationCarouselProps, type InlineCitationProps, InlineCitationQuote, type InlineCitationQuoteProps, InlineCitationSource, type InlineCitationSourceProps, type InlineCitationSourceRef, InlineCitationText, type InlineCitationTextProps, type IntegerFieldSpec, JSXPreview, JSXPreviewContent, type JSXPreviewContentProps, JSXPreviewError, type JSXPreviewErrorProps, type JSXPreviewProps, JSXPreviewSkeleton, type JSXPreviewSkeletonProps, type JSXPreviewStatus, LocalReferencedSourcesContext, MODEL_PROVIDER_LOGO_BASE_URL, MarkdownView, type MarkdownViewProps, Message, MessageAction, type MessageActionProps, MessageActions, type MessageActionsProps, MessageAvatar, type MessageAvatarProps, MessageBranch, MessageBranchContent, type MessageBranchContentProps, MessageBranchNext, type MessageBranchNextProps, MessageBranchPage, type MessageBranchPageProps, MessageBranchPrevious, type MessageBranchPreviousProps, type MessageBranchProps, MessageBranchSelector, type MessageBranchSelectorProps, MessageCompare, MessageCompareColumn, type MessageCompareColumnProps, type MessageCompareColumnsCount, type MessageCompareModel, type MessageCompareProps, MessageContent, type MessageContentProps, MessageEdit, MessageEditContent, type MessageEditContentProps, MessageEditForm, type MessageEditFormProps, type MessageEditProps, MessageEditProvider, type MessageEditProviderProps, MessageEditTrigger, type MessageEditTriggerProps, MessageFeedback, type MessageFeedbackProps, MessageForm, MessageFormDescription, type MessageFormDescriptionProps, MessageFormFallback, type MessageFormFallbackProps, MessageFormField, type MessageFormFieldProps, MessageFormFields, type MessageFormFieldsProps, type MessageFormProps, MessageFormProvider, type MessageFormProviderProps, MessageFormRoot, type MessageFormRootProps, MessageFormSubmit, type MessageFormSubmitProps, MessageFormTitle, type MessageFormTitleProps, MessageHeader, type MessageHeaderProps, type MessageProps, MessageResponse, type MessageResponseProps, MessageTable, MessageTableFallback, type MessageTableFallbackProps, type MessageTableProps, MessageToolbar, type MessageToolbarProps, MicSelector, MicSelectorContent, type MicSelectorContentProps, MicSelectorEmpty, type MicSelectorEmptyProps, MicSelectorInput, type MicSelectorInputProps, MicSelectorItem, type MicSelectorItemProps, MicSelectorLabel, type MicSelectorLabelProps, MicSelectorList, type MicSelectorListProps, type MicSelectorProps, MicSelectorTrigger, type MicSelectorTriggerProps, MicSelectorValue, type MicSelectorValueProps, ModelProviderLogo, ModelProviderLogoGroup, type ModelProviderLogoGroupProps, type ModelProviderLogoProps, type MultiEnumFieldSpec, Node, NodeAction, type NodeActionProps, NodeContent, type NodeContentProps, NodeDescription, type NodeDescriptionProps, NodeFooter, type NodeFooterProps, NodeHeader, type NodeHeaderProps, type NodeProps, NodeTitle, type NodeTitleProps, NodeToolbar, type NodeToolbarProps, type NormalizedFormSpec, type NormalizedTableSpec, type NumberFieldSpec, OpenIn, OpenInChatGPT, type OpenInChatGPTProps, OpenInClaude, type OpenInClaudeProps, OpenInContent, type OpenInContentProps, OpenInCursor, type OpenInCursorProps, OpenInItem, type OpenInItemProps, OpenInLabel, type OpenInLabelProps, type OpenInProps, OpenInScira, type OpenInSciraProps, OpenInSeparator, type OpenInSeparatorProps, OpenInT3, type OpenInT3Props, OpenInTrigger, type OpenInTriggerProps, OpenInv0, type OpenInv0Props, PERSONA_SOURCES, PRODUCED_ASSET_ICONS, PackageInfo, PackageInfoChangeType, type PackageInfoChangeTypeProps, PackageInfoContent, type PackageInfoContentProps, PackageInfoDependencies, type PackageInfoDependenciesProps, PackageInfoDependency, type PackageInfoDependencyProps, PackageInfoDescription, type PackageInfoDescriptionProps, PackageInfoHeader, type PackageInfoHeaderProps, PackageInfoName, type PackageInfoNameProps, type PackageInfoProps, PackageInfoVersion, type PackageInfoVersionProps, Panel, type PanelProps, type PartDisplay, type PartGroupNode, type PermissionMode, PermissionModeSelect, type PermissionModeSelectProps, Persona, type PersonaProps, type PersonaRiveEvent, type PersonaRiveEventCallback, type PersonaState, type PersonaVariant, Plan, PlanAction, type PlanActionProps, PlanApprove, type PlanApproveProps, PlanComment, type PlanCommentProps, PlanContent, type PlanContentProps, type PlanDecisionActionProps, PlanDescription, type PlanDescriptionProps, PlanFooter, type PlanFooterProps, PlanHeader, type PlanHeaderProps, type PlanProps, PlanRequestChanges, type PlanRequestChangesProps, type PlanStatus, PlanStatusLine, type PlanStatusLineProps, PlanTitle, type PlanTitleProps, PlanTrigger, type PlanTriggerProps, ProducedAssetTree, type ProducedAssetTreeProps, PromptInput, PromptInputActionAddAttachments, type PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, type PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, type PromptInputActionMenuContentProps, PromptInputActionMenuItem, type PromptInputActionMenuItemProps, type PromptInputActionMenuProps, PromptInputActionMenuTrigger, type PromptInputActionMenuTriggerProps, PromptInputBody, type PromptInputBodyProps, PromptInputButton, type PromptInputButtonProps, type PromptInputButtonTooltip, PromptInputCommand, PromptInputCommandEmpty, type PromptInputCommandEmptyProps, PromptInputCommandGroup, type PromptInputCommandGroupProps, PromptInputCommandInput, type PromptInputCommandInputProps, PromptInputCommandItem, type PromptInputCommandItemProps, PromptInputCommandList, type PromptInputCommandListProps, type PromptInputCommandProps, PromptInputCommandSeparator, type PromptInputCommandSeparatorProps, type PromptInputControllerProps, PromptInputEffort, type PromptInputEffortProps, PromptInputFooter, type PromptInputFooterProps, PromptInputHeader, type PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, type PromptInputHoverCardContentProps, type PromptInputHoverCardProps, PromptInputHoverCardTrigger, type PromptInputHoverCardTriggerProps, type PromptInputMessage, PromptInputMode, type PromptInputModeProps, type PromptInputProps, PromptInputProvider, type PromptInputProviderProps, PromptInputSelect, PromptInputSelectContent, type PromptInputSelectContentProps, PromptInputSelectItem, type PromptInputSelectItemProps, type PromptInputSelectProps, PromptInputSelectTrigger, type PromptInputSelectTriggerProps, PromptInputSelectValue, type PromptInputSelectValueProps, PromptInputSlash, type PromptInputSlashProps, PromptInputSlashTextarea, type PromptInputSlashTextareaProps, PromptInputStop, type PromptInputStopProps, PromptInputSubmit, type PromptInputSubmitAction, type PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, type PromptInputTabBodyProps, PromptInputTabItem, type PromptInputTabItemProps, PromptInputTabLabel, type PromptInputTabLabelProps, type PromptInputTabProps, PromptInputTabsList, type PromptInputTabsListProps, PromptInputTextarea, type PromptInputTextareaProps, PromptInputTools, type PromptInputToolsProps, Queue, QueueItem, QueueItemAction, type QueueItemActionProps, QueueItemActions, type QueueItemActionsProps, QueueItemAttachment, type QueueItemAttachmentProps, QueueItemContent, type QueueItemContentProps, QueueItemDescription, type QueueItemDescriptionProps, QueueItemFile, type QueueItemFileProps, QueueItemImage, type QueueItemImageProps, QueueItemIndicator, type QueueItemIndicatorProps, type QueueItemProps, QueueList, type QueueListProps, type QueueMessage, type QueueMessagePart, type QueueProps, QueueSection, QueueSectionContent, type QueueSectionContentProps, QueueSectionLabel, type QueueSectionLabelProps, type QueueSectionProps, QueueSectionTrigger, type QueueSectionTriggerProps, type QueueTodo, Reasoning, ReasoningContent, type ReasoningContentProps, type ReasoningProps, ReasoningTrigger, type ReasoningTriggerProps, type ReferencedSourcesContext, type RenderCell, Sandbox, SandboxContent, type SandboxContentProps, SandboxHeader, type SandboxHeaderProps, type SandboxProps, type SandboxRootProps, SandboxTabContent, type SandboxTabContentProps, SandboxTabs, SandboxTabsBar, type SandboxTabsBarProps, SandboxTabsList, type SandboxTabsListProps, type SandboxTabsProps, SandboxTabsTrigger, type SandboxTabsTriggerProps, SchemaDisplay, SchemaDisplayBody, type SchemaDisplayBodyProps, SchemaDisplayContent, type SchemaDisplayContentProps, SchemaDisplayDescription, type SchemaDisplayDescriptionProps, SchemaDisplayExample, type SchemaDisplayExampleProps, SchemaDisplayHeader, type SchemaDisplayHeaderProps, SchemaDisplayMethod, type SchemaDisplayMethodProps, SchemaDisplayParameter, type SchemaDisplayParameterProps, SchemaDisplayParameters, type SchemaDisplayParametersProps, SchemaDisplayPath, type SchemaDisplayPathProps, SchemaDisplayProperty, type SchemaDisplayPropertyProps, type SchemaDisplayProps, SchemaDisplayRequest, type SchemaDisplayRequestProps, SchemaDisplayResponse, type SchemaDisplayResponseProps, type SelectionSnapshot, SelectionToolbar, type SelectionToolbarProps, SessionHeader, type SessionHeaderProps, SessionStatusBar, type SessionStatusBarConnections, type SessionStatusBarProps, Shimmer, Snippet, SnippetAddon, type SnippetAddonProps, SnippetCopyButton, type SnippetCopyButtonProps, SnippetInput, type SnippetInputProps, type SnippetProps, SnippetText, type SnippetTextProps, Source, SourceList, type SourceListItem, type SourceListProps, type SourceProps, Sources, SourcesContent, type SourcesContentProps, type SourcesProps, SourcesTrigger, type SourcesTriggerProps, SpeechInput, type SpeechInputProps, StackTrace, StackTraceActions, type StackTraceActionsProps, StackTraceContent, type StackTraceContentProps, StackTraceCopyButton, type StackTraceCopyButtonProps, StackTraceError, StackTraceErrorMessage, type StackTraceErrorMessageProps, type StackTraceErrorProps, StackTraceErrorType, type StackTraceErrorTypeProps, StackTraceExpandButton, type StackTraceExpandButtonProps, StackTraceFrames, type StackTraceFramesProps, StackTraceHeader, type StackTraceHeaderProps, type StackTraceProps, StreamingSuggestions, type StreamingSuggestionsProps, type StringFieldSpec, Suggestion, SuggestionLoading, type SuggestionLoadingProps, type SuggestionProps, Suggestions, type SuggestionsProps, type TableRowData, type TableSort, type TableSpec, Task, TaskContent, type TaskContentProps, TaskItem, TaskItemFile, type TaskItemFileProps, type TaskItemProps, type TaskProps, TaskTrigger, type TaskTriggerProps, Test, TestDuration, type TestDurationProps, TestError, TestErrorMessage, type TestErrorMessageProps, type TestErrorProps, TestErrorStack, type TestErrorStackProps, TestName, type TestNameProps, type TestProps, TestResults, TestResultsContent, type TestResultsContentProps, TestResultsDuration, type TestResultsDurationProps, TestResultsHeader, type TestResultsHeaderProps, TestResultsMeta, type TestResultsMetaProps, TestResultsProgress, type TestResultsProgressProps, type TestResultsProps, TestResultsSummary, type TestResultsSummaryProps, TestStatus, type TestStatusProps, TestSuite, TestSuiteContent, type TestSuiteContentProps, TestSuiteName, type TestSuiteNameProps, type TestSuiteProps, TestSuiteStats, type TestSuiteStatsProps, type TextInputContext, type TextShimmerProps, TokenUsage, TokenUsageCache, type TokenUsageCacheProps, TokenUsageContent, TokenUsageContentBody, type TokenUsageContentBodyProps, TokenUsageContentFooter, type TokenUsageContentFooterProps, TokenUsageContentHeader, type TokenUsageContentHeaderProps, type TokenUsageContentProps, TokenUsageInput, type TokenUsageInputProps, TokenUsageOutput, type TokenUsageOutputProps, type TokenUsageProps, TokenUsageReasoning, type TokenUsageReasoningProps, TokenUsageTrigger, type TokenUsageTriggerProps, Tool, ToolContent, type ToolContentProps, ToolDetails, type ToolDetailsProps, ToolHeader, type ToolHeaderProps, ToolInput, type ToolInputProps, ToolOutput, type ToolOutputProps, type ToolPart, type ToolProps, ToolResultCard, type ToolResultCardProps, Toolbar, type ToolbarProps, Transcription, type TranscriptionProps, TranscriptionSegment, type TranscriptionSegmentProps, TurnStatus, type TurnStatusProps, type TurnStatusTokens, type UseAudioLevelOptions, type UseAudioLevelResult, UserMessage, type UserMessageProps, VoiceSelector, VoiceSelectorAccent, type VoiceSelectorAccentProps, VoiceSelectorAge, type VoiceSelectorAgeProps, VoiceSelectorAttributes, type VoiceSelectorAttributesProps, VoiceSelectorBullet, type VoiceSelectorBulletProps, VoiceSelectorContent, type VoiceSelectorContentProps, VoiceSelectorDescription, type VoiceSelectorDescriptionProps, VoiceSelectorDialog, type VoiceSelectorDialogProps, VoiceSelectorEmpty, type VoiceSelectorEmptyProps, VoiceSelectorGender, type VoiceSelectorGenderProps, VoiceSelectorGroup, type VoiceSelectorGroupProps, VoiceSelectorInput, type VoiceSelectorInputProps, VoiceSelectorItem, type VoiceSelectorItemProps, VoiceSelectorList, type VoiceSelectorListProps, VoiceSelectorName, type VoiceSelectorNameProps, VoiceSelectorPreview, type VoiceSelectorPreviewProps, type VoiceSelectorProps, VoiceSelectorSeparator, type VoiceSelectorSeparatorProps, VoiceSelectorShortcut, type VoiceSelectorShortcutProps, VoiceSelectorTrigger, type VoiceSelectorTriggerProps, WebPreview, WebPreviewBody, type WebPreviewBodyProps, WebPreviewConsole, type WebPreviewConsoleProps, type WebPreviewContextValue, WebPreviewNavigation, WebPreviewNavigationButton, type WebPreviewNavigationButtonProps, type WebPreviewNavigationProps, type WebPreviewProps, WebPreviewUrl, type WebPreviewUrlProps, agentMessageVariants, badgeToneForValue, booleanFieldSchema, buildPartGroups, cellFormatSchema, columnSpecSchema, compareCellValues, createLazyMermaidPlugin, defaultPartStatus, diffRowVariants, enumFieldSchema, enumOptionSchema, fieldLabel, fieldSpecSchema, formSpecSchema, formatCellValue, getAttachmentLabel, getMediaCategory, getStatusBadge, groupPartByType, highlightCode, initialFormValues, inlineCitationSourceLabel, integerFieldSchema, isEmptyCell, isGroupNode, isNumericFormat, lazyMermaid, messageActionsVariants, messageFeedbackVariants, messagesToMarkdown, multiEnumFieldSchema, normalizeFormSpec, normalizeTableSpec, numberFieldSchema, optionLabel, optionValue, partsFingerprint, preloadMermaid, readSelectionWithin, rollupStatus, statusFromToolState, stringFieldSchema, tableSpecSchema, useAssetPreviewRenderer, useAttachmentContext, useAttachmentsContext, useAudioDevices, useAudioLevel, useContextPanel, useJSXPreview, useMessageEdit, usePromptInputAttachments, usePromptInputController, usePromptInputReferencedSources, useProviderAttachments, useReasoning, useVoiceSelector, validateField, validateForm };
|
|
5281
|
+
export { A2UI_CATALOG_SCHEMA, A2UI_CATALOG_VERSION, A2UI_COMMON_PROPS, A2UI_SURFACE_SCHEMA_ID, A2UI_VERSION, type A2uiAction, type A2uiActionContext, type A2uiActionHandler, type A2uiCatalog, type A2uiCatalogEntry, type A2uiCatalogSchema, type A2uiCatalogTypeSchema, type A2uiElement, type A2uiError, type A2uiErrorCode, type A2uiJson, type A2uiNode, type A2uiPropSchema, type A2uiPropType, type A2uiPropValue, A2uiSurface, type A2uiSurfaceProps, type A2uiSurfaceSpec, type A2uiSurfaceStatus, type A2uiValidation, Agent, AgentContent, type AgentContentProps, AgentEvent, type AgentEventProps, AgentHeader, type AgentHeaderProps, AgentInstructions, type AgentInstructionsProps, AgentMessage, type AgentMessageEmphasis, type AgentMessageProps, AgentOutput, type AgentOutputProps, type AgentProps, AgentStep, type AgentStepProps, AgentTimeline, type AgentTimelineProps, AgentTool, type AgentToolProps, AgentTools, type AgentToolsProps, ApprovalCard, ApprovalCardAccepted, type ApprovalCardAcceptedProps, ApprovalCardAction, type ApprovalCardActionProps, ApprovalCardActions, type ApprovalCardActionsProps, ApprovalCardApprove, type ApprovalCardApproveProps, ApprovalCardDeny, type ApprovalCardDenyProps, ApprovalCardDescription, type ApprovalCardDescriptionProps, ApprovalCardOptions, type ApprovalCardOptionsProps, type ApprovalCardProps, ApprovalCardReason, type ApprovalCardReasonProps, ApprovalCardRejected, type ApprovalCardRejectedProps, ApprovalCardRequest, type ApprovalCardRequestProps, ApprovalCardTarget, type ApprovalCardTargetProps, ApprovalCardTitle, type ApprovalCardTitleProps, Artifact, ArtifactAction, type ArtifactActionProps, ArtifactActions, type ArtifactActionsProps, ArtifactClose, type ArtifactCloseProps, ArtifactContent, type ArtifactContentProps, ArtifactDescription, type ArtifactDescriptionProps, ArtifactHeader, type ArtifactHeaderProps, type ArtifactProps, ArtifactTitle, type ArtifactTitleProps, AssetPreview, type AssetPreviewMode, type AssetPreviewProps, type AssetPreviewRenderer, Attachment, type AttachmentData, AttachmentEmpty, type AttachmentEmptyProps, AttachmentHoverCard, AttachmentHoverCardContent, type AttachmentHoverCardContentProps, type AttachmentHoverCardProps, AttachmentHoverCardTrigger, type AttachmentHoverCardTriggerProps, AttachmentInfo, type AttachmentInfoProps, type AttachmentMediaCategory, AttachmentPreview, type AttachmentPreviewProps, type AttachmentProps, AttachmentRemove, type AttachmentRemoveProps, type AttachmentVariant, Attachments, type AttachmentsContext, type AttachmentsProps, AudioPlayer, AudioPlayerControlBar, type AudioPlayerControlBarProps, AudioPlayerDurationDisplay, type AudioPlayerDurationDisplayProps, AudioPlayerElement, type AudioPlayerElementProps, AudioPlayerMuteButton, type AudioPlayerMuteButtonProps, type AudioPlayerPartProps, AudioPlayerPlayButton, type AudioPlayerPlayButtonProps, type AudioPlayerProps, AudioPlayerSeekBackwardButton, type AudioPlayerSeekBackwardButtonProps, AudioPlayerSeekForwardButton, type AudioPlayerSeekForwardButtonProps, AudioPlayerTimeDisplay, type AudioPlayerTimeDisplayProps, AudioPlayerTimeRange, type AudioPlayerTimeRangeProps, AudioPlayerVolumeRange, type AudioPlayerVolumeRangeProps, AudioVisualizer, type AudioVisualizerLevelState, type AudioVisualizerProps, type AudioVisualizerVariant, type BadgeTone, type BooleanFieldSpec, BrandMotionConfig, type BrandMotionConfigProps, Canvas, type CanvasProps, type CellFormat, ChainOfThought, ChainOfThoughtContent, type ChainOfThoughtContentProps, ChainOfThoughtHeader, type ChainOfThoughtHeaderProps, ChainOfThoughtImage, type ChainOfThoughtImageProps, type ChainOfThoughtProps, ChainOfThoughtSearchResult, type ChainOfThoughtSearchResultProps, ChainOfThoughtSearchResults, type ChainOfThoughtSearchResultsProps, ChainOfThoughtStep, type ChainOfThoughtStepProps, ChatGreeting, type ChatGreetingProps, ChatShell, type ChatShellProps, Checkpoint, CheckpointIcon, type CheckpointIconProps, type CheckpointProps, CheckpointTrigger, type CheckpointTriggerProps, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, type CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, type CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, type CodeBlockLanguageSelectorItemProps, type CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, type CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, type CodeBlockLanguageSelectorValueProps, type CodeBlockProps, CodeBlockTitle, type ColumnSpec, Commit, CommitActions, type CommitActionsProps, CommitAuthor, CommitAuthorAvatar, type CommitAuthorAvatarProps, type CommitAuthorProps, CommitContent, type CommitContentProps, CommitCopyButton, type CommitCopyButtonProps, CommitFile, CommitFileAdditions, type CommitFileAdditionsProps, CommitFileChanges, type CommitFileChangesProps, CommitFileDeletions, type CommitFileDeletionsProps, CommitFileIcon, type CommitFileIconProps, CommitFileInfo, type CommitFileInfoProps, CommitFilePath, type CommitFilePathProps, type CommitFileProps, CommitFileStatus, type CommitFileStatusProps, CommitFiles, type CommitFilesProps, CommitHash, type CommitHashProps, CommitHeader, type CommitHeaderProps, CommitInfo, type CommitInfoProps, CommitMessage, type CommitMessageProps, CommitMetadata, type CommitMetadataProps, type CommitProps, CommitSeparator, type CommitSeparatorProps, CommitTimestamp, type CommitTimestampProps, Composer, type ComposerBaseProps, type ComposerEffortProps, type ComposerFieldProps, type ComposerMentions, type ComposerModeProps, type ComposerProps, type ComposerShortcut, Confirmation, ConfirmationAccepted, type ConfirmationAcceptedProps, ConfirmationAction, type ConfirmationActionProps, ConfirmationActions, type ConfirmationActionsProps, ConfirmationApprove, type ConfirmationApproveProps, ConfirmationDeny, type ConfirmationDenyProps, ConfirmationDescription, type ConfirmationDescriptionProps, type ConfirmationProps, ConfirmationRejected, type ConfirmationRejectedProps, ConfirmationRequest, type ConfirmationRequestProps, ConfirmationTitle, type ConfirmationTitleProps, Connection, type ContextAsset, type ContextAssetType, ContextPanel, ContextPanelBody, type ContextPanelBodyProps, type ContextPanelContextValue, ContextPanelDetail, type ContextPanelDetailProps, ContextPanelHeader, type ContextPanelHeaderProps, type ContextPanelProps, ContextPanelProvider, type ContextPanelProviderProps, ContextPanelSection, type ContextPanelSectionProps, ContextPanelTrigger, type ContextPanelTriggerProps, type ContextPanelView, Controls, type ControlsProps, Conversation, ConversationContent, type ConversationContentProps, ConversationDownload, type ConversationDownloadProps, ConversationEmptyState, type ConversationEmptyStateProps, type ConversationProps, ConversationScrollButton, type ConversationScrollButtonProps, DiffView, type DiffViewProps, EMPTY_CELL, Edge, type EnumFieldSpec, type EnumOption, EnvironmentVariable, EnvironmentVariableCopyButton, type EnvironmentVariableCopyButtonProps, EnvironmentVariableGroup, type EnvironmentVariableGroupProps, EnvironmentVariableName, type EnvironmentVariableNameProps, type EnvironmentVariableProps, EnvironmentVariableRequired, type EnvironmentVariableRequiredProps, EnvironmentVariableValue, type EnvironmentVariableValueProps, EnvironmentVariables, EnvironmentVariablesContent, type EnvironmentVariablesContentProps, EnvironmentVariablesHeader, type EnvironmentVariablesHeaderProps, type EnvironmentVariablesProps, EnvironmentVariablesTitle, type EnvironmentVariablesTitleProps, EnvironmentVariablesToggle, type EnvironmentVariablesToggleProps, EvidenceChip, type EvidenceChipProps, type FeedbackType, type FieldSpec, FileTree, FileTreeActions, type FileTreeActionsProps, FileTreeFile, type FileTreeFileProps, FileTreeFolder, type FileTreeFolderProps, FileTreeIcon, type FileTreeIconProps, FileTreeName, type FileTreeNameProps, type FileTreeProps, type FileTreeVariant, type FormSpec, type FormSubmitState, type FormValue, type FormValues, Gallery, type GalleryImage, type GalleryMetaItem, type GalleryProps, type GetPartStatus, type GroupBy, type GroupByContext, type GroupKey, type GroupPartByTypeOptions, type GroupStatus, type GroupablePart, type GroupedNode, type GroupedPartRenderArgs, type GroupedPartRenderer, GroupedParts, type GroupedPartsProps, Image, type ImageProps, InlineCitation, InlineCitationCard, InlineCitationCardBody, type InlineCitationCardBodyProps, type InlineCitationCardProps, InlineCitationCardTrigger, type InlineCitationCardTriggerProps, InlineCitationCarousel, InlineCitationCarouselContent, type InlineCitationCarouselContentProps, InlineCitationCarouselHeader, type InlineCitationCarouselHeaderProps, InlineCitationCarouselIndex, type InlineCitationCarouselIndexProps, InlineCitationCarouselItem, type InlineCitationCarouselItemProps, InlineCitationCarouselNext, type InlineCitationCarouselNextProps, InlineCitationCarouselPrev, type InlineCitationCarouselPrevProps, type InlineCitationCarouselProps, type InlineCitationProps, InlineCitationQuote, type InlineCitationQuoteProps, InlineCitationSource, type InlineCitationSourceProps, type InlineCitationSourceRef, InlineCitationText, type InlineCitationTextProps, type IntegerFieldSpec, JSXPreview, JSXPreviewContent, type JSXPreviewContentProps, JSXPreviewError, type JSXPreviewErrorProps, type JSXPreviewProps, JSXPreviewSkeleton, type JSXPreviewSkeletonProps, type JSXPreviewStatus, LocalReferencedSourcesContext, MODEL_PROVIDER_LOGO_BASE_URL, MarkdownView, type MarkdownViewProps, Message, MessageAction, type MessageActionProps, MessageActions, type MessageActionsProps, MessageAvatar, type MessageAvatarProps, MessageBranch, MessageBranchContent, type MessageBranchContentProps, MessageBranchNext, type MessageBranchNextProps, MessageBranchPage, type MessageBranchPageProps, MessageBranchPrevious, type MessageBranchPreviousProps, type MessageBranchProps, MessageBranchSelector, type MessageBranchSelectorProps, MessageCompare, MessageCompareColumn, type MessageCompareColumnProps, type MessageCompareColumnsCount, type MessageCompareModel, type MessageCompareProps, MessageContent, type MessageContentProps, MessageEdit, MessageEditContent, type MessageEditContentProps, MessageEditForm, type MessageEditFormProps, type MessageEditProps, MessageEditProvider, type MessageEditProviderProps, MessageEditTrigger, type MessageEditTriggerProps, MessageFeedback, type MessageFeedbackProps, MessageForm, MessageFormDescription, type MessageFormDescriptionProps, MessageFormFallback, type MessageFormFallbackProps, MessageFormField, type MessageFormFieldProps, MessageFormFields, type MessageFormFieldsProps, type MessageFormProps, MessageFormProvider, type MessageFormProviderProps, MessageFormRoot, type MessageFormRootProps, MessageFormSubmit, type MessageFormSubmitProps, MessageFormTitle, type MessageFormTitleProps, MessageHeader, type MessageHeaderProps, type MessageProps, MessageResponse, type MessageResponseProps, MessageTable, MessageTableFallback, type MessageTableFallbackProps, type MessageTableProps, MessageToolbar, type MessageToolbarProps, MicSelector, MicSelectorContent, type MicSelectorContentProps, MicSelectorEmpty, type MicSelectorEmptyProps, MicSelectorInput, type MicSelectorInputProps, MicSelectorItem, type MicSelectorItemProps, MicSelectorLabel, type MicSelectorLabelProps, MicSelectorList, type MicSelectorListProps, type MicSelectorProps, MicSelectorTrigger, type MicSelectorTriggerProps, MicSelectorValue, type MicSelectorValueProps, ModelProviderLogo, ModelProviderLogoGroup, type ModelProviderLogoGroupProps, type ModelProviderLogoProps, type MultiEnumFieldSpec, Node, NodeAction, type NodeActionProps, NodeContent, type NodeContentProps, NodeDescription, type NodeDescriptionProps, NodeFooter, type NodeFooterProps, NodeHeader, type NodeHeaderProps, type NodeProps, NodeTitle, type NodeTitleProps, NodeToolbar, type NodeToolbarProps, type NormalizedFormSpec, type NormalizedTableSpec, type NumberFieldSpec, OpenIn, OpenInChatGPT, type OpenInChatGPTProps, OpenInClaude, type OpenInClaudeProps, OpenInContent, type OpenInContentProps, OpenInCursor, type OpenInCursorProps, OpenInItem, type OpenInItemProps, OpenInLabel, type OpenInLabelProps, type OpenInProps, OpenInScira, type OpenInSciraProps, OpenInSeparator, type OpenInSeparatorProps, OpenInT3, type OpenInT3Props, OpenInTrigger, type OpenInTriggerProps, OpenInv0, type OpenInv0Props, PERSONA_SOURCES, PRODUCED_ASSET_ICONS, PackageInfo, PackageInfoChangeType, type PackageInfoChangeTypeProps, PackageInfoContent, type PackageInfoContentProps, PackageInfoDependencies, type PackageInfoDependenciesProps, PackageInfoDependency, type PackageInfoDependencyProps, PackageInfoDescription, type PackageInfoDescriptionProps, PackageInfoHeader, type PackageInfoHeaderProps, PackageInfoName, type PackageInfoNameProps, type PackageInfoProps, PackageInfoVersion, type PackageInfoVersionProps, Panel, type PanelProps, type PartDisplay, type PartGroupNode, type PermissionMode, PermissionModeSelect, type PermissionModeSelectProps, Persona, type PersonaProps, type PersonaRiveEvent, type PersonaRiveEventCallback, type PersonaState, type PersonaVariant, Plan, PlanAction, type PlanActionProps, PlanApprove, type PlanApproveProps, PlanComment, type PlanCommentProps, PlanContent, type PlanContentProps, type PlanDecisionActionProps, PlanDescription, type PlanDescriptionProps, PlanFooter, type PlanFooterProps, PlanHeader, type PlanHeaderProps, type PlanProps, PlanRequestChanges, type PlanRequestChangesProps, type PlanStatus, PlanStatusLine, type PlanStatusLineProps, PlanTitle, type PlanTitleProps, PlanTrigger, type PlanTriggerProps, ProducedAssetTree, type ProducedAssetTreeProps, PromptInput, PromptInputActionAddAttachments, type PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, type PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, type PromptInputActionMenuContentProps, PromptInputActionMenuItem, type PromptInputActionMenuItemProps, type PromptInputActionMenuProps, PromptInputActionMenuTrigger, type PromptInputActionMenuTriggerProps, PromptInputBody, type PromptInputBodyProps, PromptInputButton, type PromptInputButtonProps, type PromptInputButtonTooltip, PromptInputCommand, PromptInputCommandEmpty, type PromptInputCommandEmptyProps, PromptInputCommandGroup, type PromptInputCommandGroupProps, PromptInputCommandInput, type PromptInputCommandInputProps, PromptInputCommandItem, type PromptInputCommandItemProps, PromptInputCommandList, type PromptInputCommandListProps, type PromptInputCommandProps, PromptInputCommandSeparator, type PromptInputCommandSeparatorProps, type PromptInputControllerProps, PromptInputEffort, type PromptInputEffortProps, PromptInputFooter, type PromptInputFooterProps, PromptInputHeader, type PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, type PromptInputHoverCardContentProps, type PromptInputHoverCardProps, PromptInputHoverCardTrigger, type PromptInputHoverCardTriggerProps, type PromptInputMessage, PromptInputMode, type PromptInputModeProps, type PromptInputProps, PromptInputProvider, type PromptInputProviderProps, PromptInputSelect, PromptInputSelectContent, type PromptInputSelectContentProps, PromptInputSelectItem, type PromptInputSelectItemProps, type PromptInputSelectProps, PromptInputSelectTrigger, type PromptInputSelectTriggerProps, PromptInputSelectValue, type PromptInputSelectValueProps, PromptInputSlash, type PromptInputSlashProps, PromptInputSlashTextarea, type PromptInputSlashTextareaProps, PromptInputStop, type PromptInputStopProps, PromptInputSubmit, type PromptInputSubmitAction, type PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, type PromptInputTabBodyProps, PromptInputTabItem, type PromptInputTabItemProps, PromptInputTabLabel, type PromptInputTabLabelProps, type PromptInputTabProps, PromptInputTabsList, type PromptInputTabsListProps, PromptInputTextarea, type PromptInputTextareaProps, PromptInputTools, type PromptInputToolsProps, Queue, QueueItem, QueueItemAction, type QueueItemActionProps, QueueItemActions, type QueueItemActionsProps, QueueItemAttachment, type QueueItemAttachmentProps, QueueItemContent, type QueueItemContentProps, QueueItemDescription, type QueueItemDescriptionProps, QueueItemFile, type QueueItemFileProps, QueueItemImage, type QueueItemImageProps, QueueItemIndicator, type QueueItemIndicatorProps, type QueueItemProps, QueueList, type QueueListProps, type QueueMessage, type QueueMessagePart, type QueueProps, QueueSection, QueueSectionContent, type QueueSectionContentProps, QueueSectionLabel, type QueueSectionLabelProps, type QueueSectionProps, QueueSectionTrigger, type QueueSectionTriggerProps, type QueueTodo, Reasoning, ReasoningContent, type ReasoningContentProps, type ReasoningProps, ReasoningTrigger, type ReasoningTriggerProps, type ReferencedSourcesContext, type RenderCell, Sandbox, SandboxContent, type SandboxContentProps, SandboxHeader, type SandboxHeaderProps, type SandboxProps, type SandboxRootProps, SandboxTabContent, type SandboxTabContentProps, SandboxTabs, SandboxTabsBar, type SandboxTabsBarProps, SandboxTabsList, type SandboxTabsListProps, type SandboxTabsProps, SandboxTabsTrigger, type SandboxTabsTriggerProps, SchemaDisplay, SchemaDisplayBody, type SchemaDisplayBodyProps, SchemaDisplayContent, type SchemaDisplayContentProps, SchemaDisplayDescription, type SchemaDisplayDescriptionProps, SchemaDisplayExample, type SchemaDisplayExampleProps, SchemaDisplayHeader, type SchemaDisplayHeaderProps, SchemaDisplayMethod, type SchemaDisplayMethodProps, SchemaDisplayParameter, type SchemaDisplayParameterProps, SchemaDisplayParameters, type SchemaDisplayParametersProps, SchemaDisplayPath, type SchemaDisplayPathProps, SchemaDisplayProperty, type SchemaDisplayPropertyProps, type SchemaDisplayProps, SchemaDisplayRequest, type SchemaDisplayRequestProps, SchemaDisplayResponse, type SchemaDisplayResponseProps, type SelectionSnapshot, SelectionToolbar, type SelectionToolbarProps, SessionHeader, type SessionHeaderProps, SessionStatusBar, type SessionStatusBarConnections, type SessionStatusBarProps, Shimmer, Snippet, SnippetAddon, type SnippetAddonProps, SnippetCopyButton, type SnippetCopyButtonProps, SnippetInput, type SnippetInputProps, type SnippetProps, SnippetText, type SnippetTextProps, Source, SourceList, type SourceListItem, type SourceListProps, type SourceProps, Sources, SourcesContent, type SourcesContentProps, type SourcesProps, SourcesTrigger, type SourcesTriggerProps, SpeechInput, type SpeechInputProps, StackTrace, StackTraceActions, type StackTraceActionsProps, StackTraceContent, type StackTraceContentProps, StackTraceCopyButton, type StackTraceCopyButtonProps, StackTraceError, StackTraceErrorMessage, type StackTraceErrorMessageProps, type StackTraceErrorProps, StackTraceErrorType, type StackTraceErrorTypeProps, StackTraceExpandButton, type StackTraceExpandButtonProps, StackTraceFrames, type StackTraceFramesProps, StackTraceHeader, type StackTraceHeaderProps, type StackTraceProps, StreamingSuggestions, type StreamingSuggestionsProps, type StringFieldSpec, Suggestion, SuggestionLoading, type SuggestionLoadingProps, type SuggestionProps, Suggestions, type SuggestionsProps, type TableRowData, type TableSort, type TableSpec, Task, TaskContent, type TaskContentProps, TaskItem, TaskItemFile, type TaskItemFileProps, type TaskItemProps, type TaskProps, TaskTrigger, type TaskTriggerProps, Test, TestDuration, type TestDurationProps, TestError, TestErrorMessage, type TestErrorMessageProps, type TestErrorProps, TestErrorStack, type TestErrorStackProps, TestName, type TestNameProps, type TestProps, TestResults, TestResultsContent, type TestResultsContentProps, TestResultsDuration, type TestResultsDurationProps, TestResultsHeader, type TestResultsHeaderProps, TestResultsMeta, type TestResultsMetaProps, TestResultsProgress, type TestResultsProgressProps, type TestResultsProps, TestResultsSummary, type TestResultsSummaryProps, TestStatus, type TestStatusProps, TestSuite, TestSuiteContent, type TestSuiteContentProps, TestSuiteName, type TestSuiteNameProps, type TestSuiteProps, TestSuiteStats, type TestSuiteStatsProps, type TextInputContext, type TextShimmerProps, TokenUsage, TokenUsageCache, type TokenUsageCacheProps, TokenUsageContent, TokenUsageContentBody, type TokenUsageContentBodyProps, TokenUsageContentFooter, type TokenUsageContentFooterProps, TokenUsageContentHeader, type TokenUsageContentHeaderProps, type TokenUsageContentProps, TokenUsageInput, type TokenUsageInputProps, TokenUsageOutput, type TokenUsageOutputProps, type TokenUsageProps, TokenUsageReasoning, type TokenUsageReasoningProps, TokenUsageTrigger, type TokenUsageTriggerProps, Tool, ToolContent, type ToolContentProps, ToolDetails, type ToolDetailsProps, ToolHeader, type ToolHeaderProps, ToolInput, type ToolInputProps, ToolOutput, type ToolOutputProps, type ToolPart, type ToolProps, ToolResultCard, type ToolResultCardProps, Transcription, type TranscriptionProps, TranscriptionSegment, type TranscriptionSegmentProps, TurnStatus, type TurnStatusProps, type TurnStatusTokens, UI_CATALOG_BINDINGS, type UseAudioLevelOptions, type UseAudioLevelResult, UserMessage, type UserMessageProps, VoiceSelector, VoiceSelectorAccent, type VoiceSelectorAccentProps, VoiceSelectorAge, type VoiceSelectorAgeProps, VoiceSelectorAttributes, type VoiceSelectorAttributesProps, VoiceSelectorBullet, type VoiceSelectorBulletProps, VoiceSelectorContent, type VoiceSelectorContentProps, VoiceSelectorDescription, type VoiceSelectorDescriptionProps, VoiceSelectorDialog, type VoiceSelectorDialogProps, VoiceSelectorEmpty, type VoiceSelectorEmptyProps, VoiceSelectorGender, type VoiceSelectorGenderProps, VoiceSelectorGroup, type VoiceSelectorGroupProps, VoiceSelectorInput, type VoiceSelectorInputProps, VoiceSelectorItem, type VoiceSelectorItemProps, VoiceSelectorList, type VoiceSelectorListProps, VoiceSelectorName, type VoiceSelectorNameProps, VoiceSelectorPreview, type VoiceSelectorPreviewProps, type VoiceSelectorProps, VoiceSelectorSeparator, type VoiceSelectorSeparatorProps, VoiceSelectorShortcut, type VoiceSelectorShortcutProps, VoiceSelectorTrigger, type VoiceSelectorTriggerProps, WebPreview, WebPreviewBody, type WebPreviewBodyProps, WebPreviewConsole, type WebPreviewConsoleProps, type WebPreviewContextValue, WebPreviewNavigation, WebPreviewNavigationButton, type WebPreviewNavigationButtonProps, type WebPreviewNavigationProps, type WebPreviewProps, WebPreviewUrl, type WebPreviewUrlProps, agentMessageVariants, badgeToneForValue, booleanFieldSchema, buildA2uiSurfaceSchema, buildPartGroups, catalogSchema, cellFormatSchema, columnSpecSchema, compareCellValues, completeJson, createA2uiCatalog, createLazyMermaidPlugin, defaultPartStatus, defineA2uiType, diffRowVariants, enumFieldSchema, enumOptionSchema, fieldLabel, fieldSpecSchema, formSpecSchema, formatCellValue, getAttachmentLabel, getMediaCategory, getStatusBadge, groupPartByType, highlightCode, initialFormValues, inlineCitationSourceLabel, integerFieldSchema, invalidNodePaths, isA2uiElement, isEmptyCell, isGroupNode, isNumericFormat, lazyMermaid, messageActionsVariants, messageFeedbackVariants, messagesToMarkdown, multiEnumFieldSchema, normalizeFormSpec, normalizeTableSpec, numberFieldSchema, optionLabel, optionValue, parseSurfaceJson, partsFingerprint, preloadMermaid, readSelectionWithin, rollupStatus, statusFromToolState, stringFieldSchema, tableSpecSchema, uiCatalog, useAssetPreviewRenderer, useAttachmentContext, useAttachmentsContext, useAudioDevices, useAudioLevel, useContextPanel, useJSXPreview, useMessageEdit, usePromptInputAttachments, usePromptInputController, usePromptInputReferencedSources, useProviderAttachments, useReasoning, useVoiceSelector, validateA2uiSurface, validateField, validateForm };
|