@mgamadeus/ddd-agents 0.0.0-stage → 0.1.0-alpha.21
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/LICENSE +21 -0
- package/README.md +14 -2
- package/dist/chat.js +5263 -0
- package/dist/chat.js.map +1 -0
- package/dist/chunks/AgentsConversationClientContext-C4T7g_Qk.js +22 -0
- package/dist/chunks/AgentsConversationClientContext-C4T7g_Qk.js.map +1 -0
- package/dist/chunks/ConversationMarkdown-W7NHglmL.js +399 -0
- package/dist/chunks/ConversationMarkdown-W7NHglmL.js.map +1 -0
- package/dist/chunks/WebSearchResultsConversationWidget-BvnLWHyi.js +5059 -0
- package/dist/chunks/WebSearchResultsConversationWidget-BvnLWHyi.js.map +1 -0
- package/dist/chunks/canvas-behaviours-BRFR1ALE.js +45 -0
- package/dist/chunks/canvas-behaviours-BRFR1ALE.js.map +1 -0
- package/dist/chunks/canvas-feature-flags-BmmxC3bz.js +11 -0
- package/dist/chunks/canvas-feature-flags-BmmxC3bz.js.map +1 -0
- package/dist/chunks/canvasBodies-9SuF6NAB.js +289 -0
- package/dist/chunks/canvasBodies-9SuF6NAB.js.map +1 -0
- package/dist/chunks/d3-7.6.1.min.js-DTmPafrl.js +6 -0
- package/dist/chunks/d3-7.6.1.min.js-DTmPafrl.js.map +1 -0
- package/dist/chunks/decide-canvas-open-Ct-wnNEJ.js +20 -0
- package/dist/chunks/decide-canvas-open-Ct-wnNEJ.js.map +1 -0
- package/dist/chunks/widget-image-readiness-signal-DeOuL89j.js +25 -0
- package/dist/chunks/widget-image-readiness-signal-DeOuL89j.js.map +1 -0
- package/dist/chunks/widget-name-resolver-DyIY6Zu4.js +9736 -0
- package/dist/chunks/widget-name-resolver-DyIY6Zu4.js.map +1 -0
- package/dist/chunks/withPollingChangeSubscription-BLDAWF-o.js +251 -0
- package/dist/chunks/withPollingChangeSubscription-BLDAWF-o.js.map +1 -0
- package/dist/client-testing.js +346 -0
- package/dist/client-testing.js.map +1 -0
- package/dist/client.js +16 -0
- package/dist/client.js.map +1 -0
- package/dist/contract.js +31 -0
- package/dist/contract.js.map +1 -0
- package/dist/image-render.js +334 -0
- package/dist/image-render.js.map +1 -0
- package/dist/index.js +80 -0
- package/dist/index.js.map +1 -0
- package/dist/kit.js +13 -0
- package/dist/kit.js.map +1 -0
- package/dist/preview.js +733 -0
- package/dist/preview.js.map +1 -0
- package/dist/renderer.js +115 -0
- package/dist/renderer.js.map +1 -0
- package/dist/styles.css +6768 -0
- package/dist/types/chat/AgentChat/AgentChat.d.ts +37 -0
- package/dist/types/chat/AgentChatActivityHistory/AgentChatActivityHistory.d.ts +6 -0
- package/dist/types/chat/AgentChatActivityIndicator/AgentChatActivityIndicator.d.ts +8 -0
- package/dist/types/chat/CanvasPane/CanvasPane.d.ts +15 -0
- package/dist/types/chat/CanvasResizeHandle/CanvasResizeHandle.d.ts +10 -0
- package/dist/types/chat/CanvasResizeHandle/use-canvas-resize.d.ts +43 -0
- package/dist/types/chat/ConversationClosedBar/ConversationClosedBar.d.ts +10 -0
- package/dist/types/chat/ConversationErrorCard/ConversationErrorCard.d.ts +13 -0
- package/dist/types/chat/ConversationIntroCard/ConversationIntroCard.d.ts +10 -0
- package/dist/types/chat/ConversationLoadingStates.d.ts +2 -0
- package/dist/types/chat/ConversationMessage/ConversationCallMarkerChip/ConversationCallMarkerChip.d.ts +14 -0
- package/dist/types/chat/ConversationMessage/ConversationCallMarkerChip/VoiceBarsIcon/VoiceBarsIcon.d.ts +8 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageSystem/ConversationMessageSystem.d.ts +8 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageSystem/ConversationMessageSystemHeader/ConversationMessageSystemHeader.d.ts +9 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageUser/ConversationMessageUser.d.ts +7 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageUser/ConversationMessageUserWidgets.d.ts +14 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/ConversationMessageHeader/ConversationMessageHeader.d.ts +7 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/ConversationMessageThinking/ConversationMessageThinking.d.ts +7 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/ConversationMessageWidgets.d.ts +29 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/copyRichToClipboard.d.ts +1 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/hooks/useFreshMessageBlockReveal.d.ts +14 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/hooks/useStreamingText.d.ts +8 -0
- package/dist/types/chat/ConversationMessage/ConversationMessageWidgets/hooks/useTypewriter.d.ts +12 -0
- package/dist/types/chat/ConversationMessage/ConversationTaskInstructionDisclosure/ConversationTaskInstructionDisclosure.d.ts +12 -0
- package/dist/types/chat/ConversationMessageInput/ConversationMessageInput.d.ts +111 -0
- package/dist/types/chat/ConversationMessageInput/ConversationMessageInputAttachments/ConversationMessageInputAttachmentPreviewCard.d.ts +34 -0
- package/dist/types/chat/ConversationMessageInput/ConversationMessageInputAttachments/ConversationMessageInputAttachmentsErrorBox.d.ts +22 -0
- package/dist/types/chat/ConversationMessageInput/ConversationMessageInputAttachments/ConversationMessageInputAttachmentsPreviewStrip.d.ts +12 -0
- package/dist/types/chat/ConversationMessageInput/ConversationMessageInputAttachments/convert-bytes-to-size-string.d.ts +2 -0
- package/dist/types/chat/ConversationMessageInput/ConversationMessageInputComposerWidgets/ConversationMessageInputComposerWidgets.d.ts +12 -0
- package/dist/types/chat/ConversationMessageList/ConversationMessageList.d.ts +75 -0
- package/dist/types/chat/ConversationScrollToLatestMessageButton/ConversationScrollToLatestMessageButton.d.ts +6 -0
- package/dist/types/chat/ConversationSuggestionCard/ConversationSuggestionCard.d.ts +7 -0
- package/dist/types/chat/ConversationView.d.ts +216 -0
- package/dist/types/chat/ConversationViewBody/ConversationViewBody.d.ts +214 -0
- package/dist/types/chat/ConversationViewBody/hooks/useIsMessagesBottomOutOfView.d.ts +2 -0
- package/dist/types/chat/ConversationViewBody/hooks/usePinQuestionOnSend.d.ts +24 -0
- package/dist/types/chat/assistant-message-has-renderable-markdown.d.ts +13 -0
- package/dist/types/chat/chat-assistant-identity.d.ts +24 -0
- package/dist/types/chat/chat-message.d.ts +11 -0
- package/dist/types/chat/controller/AgentChatController.d.ts +97 -0
- package/dist/types/chat/controller/activity-ticker.d.ts +120 -0
- package/dist/types/chat/controller/changed-messages-request.d.ts +12 -0
- package/dist/types/chat/controller/chat-scroll-target.d.ts +10 -0
- package/dist/types/chat/controller/conversation-change-signal-rules.d.ts +64 -0
- package/dist/types/chat/controller/derive-agent-activity.d.ts +31 -0
- package/dist/types/chat/controller/merge-activity-elements.d.ts +25 -0
- package/dist/types/chat/controller/pending-start-request.d.ts +38 -0
- package/dist/types/chat/controller/use-activity-ticker.d.ts +60 -0
- package/dist/types/chat/controller/use-conversation-activity.d.ts +38 -0
- package/dist/types/chat/controller/use-conversation-live-updates.d.ts +30 -0
- package/dist/types/chat/controller/use-conversation-message-pages.d.ts +24 -0
- package/dist/types/chat/controller/use-conversation-scroll-jump.d.ts +47 -0
- package/dist/types/chat/controller/use-conversation-search.d.ts +31 -0
- package/dist/types/chat/controller/use-conversation-signals.d.ts +44 -0
- package/dist/types/chat/controller/use-debounced-semantic-search.d.ts +15 -0
- package/dist/types/chat/conversation-send-message.d.ts +43 -0
- package/dist/types/chat/last-wire-message-is-unanswered-user-message.d.ts +22 -0
- package/dist/types/chat/normalize-server-message-to-markdown.d.ts +23 -0
- package/dist/types/chat/store/agents-chat-state.d.ts +132 -0
- package/dist/types/chat/store/conversation-error-type.d.ts +32 -0
- package/dist/types/chat/store/create-agents-chat-store.d.ts +23 -0
- package/dist/types/chat/store/index.d.ts +5 -0
- package/dist/types/chat/store/merge-chat-messages.d.ts +20 -0
- package/dist/types/chat/store/reduce-agents-chat-state.d.ts +7 -0
- package/dist/types/chat/store/use-agents-chat-store.d.ts +22 -0
- package/dist/types/chat/strip-pre-call-message-marker.d.ts +12 -0
- package/dist/types/chat/use-canvas-shell-transitions.d.ts +25 -0
- package/dist/types/client/AgentsConversationClient.d.ts +93 -0
- package/dist/types/client/AgentsConversationClientContext.d.ts +17 -0
- package/dist/types/client/polling/createPollingConversationChangeSubscription.d.ts +62 -0
- package/dist/types/client/polling/withPollingChangeSubscription.d.ts +11 -0
- package/dist/types/client/testing/createInMemoryAgentsConversationClient.d.ts +139 -0
- package/dist/types/contract/conversation.d.ts +370 -0
- package/dist/types/entries/chat.d.ts +21 -0
- package/dist/types/entries/client-testing.d.ts +1 -0
- package/dist/types/entries/client.d.ts +4 -0
- package/dist/types/entries/contract.d.ts +1 -0
- package/dist/types/entries/image-render.d.ts +9 -0
- package/dist/types/entries/index.d.ts +9 -0
- package/dist/types/entries/kit.d.ts +4 -0
- package/dist/types/entries/preview.d.ts +8 -0
- package/dist/types/entries/renderer.d.ts +15 -0
- package/dist/types/entries/widgets.d.ts +16 -0
- package/dist/types/image-render/ComposedViewEmailDataTimes/ComposedViewEmailDataTimes.d.ts +15 -0
- package/dist/types/image-render/WidgetImageRender.d.ts +55 -0
- package/dist/types/image-render/WidgetImageRenderContext.d.ts +14 -0
- package/dist/types/image-render/composed-view-data-times.d.ts +20 -0
- package/dist/types/image-render/frozen-widget-requests.d.ts +2 -0
- package/dist/types/image-render/live-widget-requests.d.ts +4 -0
- package/dist/types/image-render/widget-image-google-map.d.ts +7 -0
- package/dist/types/image-render/widget-image-readiness-signal.d.ts +16 -0
- package/dist/types/image-render/widget-image-readiness.d.ts +9 -0
- package/dist/types/image-render/widget-image-render.types.d.ts +47 -0
- package/dist/types/kit/ComposedViewConversationWidget.d.ts +14 -0
- package/dist/types/kit/ComposedViewDataSourceLoader.d.ts +20 -0
- package/dist/types/kit/ComposedViewRenderer.d.ts +30 -0
- package/dist/types/kit/ComposedViewSlotErrorBoundary.d.ts +23 -0
- package/dist/types/kit/ModelText/ModelText.d.ts +12 -0
- package/dist/types/kit/components/embedding/EmbeddedConversationWidget.d.ts +26 -0
- package/dist/types/kit/components/map/map-full-screen-instance.d.ts +26 -0
- package/dist/types/kit/components/map/map-presentation-context.d.ts +8 -0
- package/dist/types/kit/components/text/shared/text-node-values.d.ts +39 -0
- package/dist/types/kit/composed-view-component-types.d.ts +61 -0
- package/dist/types/kit/composed-view-components.d.ts +7 -0
- package/dist/types/kit/composed-view-tones.d.ts +20 -0
- package/dist/types/kit/entity-detail/EntityDetailCanvasBody.d.ts +9 -0
- package/dist/types/kit/entity-detail/entity-detail-bodies.d.ts +32 -0
- package/dist/types/kit/entity-detail/entity-detail-name.d.ts +9 -0
- package/dist/types/kit/hooks/use-debounced-value.d.ts +2 -0
- package/dist/types/kit/map-full-screen/MapFullScreenCanvasBody.d.ts +11 -0
- package/dist/types/preview/WidgetPreviewHost.d.ts +20 -0
- package/dist/types/preview/preview-stub-components.d.ts +3 -0
- package/dist/types/preview/widget-preview-fixtures.d.ts +17 -0
- package/dist/types/preview/widget-preview-hydration.d.ts +10 -0
- package/dist/types/preview/widget-preview-readiness.d.ts +27 -0
- package/dist/types/preview/widget-preview-requests.d.ts +16 -0
- package/dist/types/preview/widget-preview-signal.d.ts +10 -0
- package/dist/types/preview/widget-preview.types.d.ts +134 -0
- package/dist/types/provider/AgentsProvider.d.ts +33 -0
- package/dist/types/provider/class-names.d.ts +7 -0
- package/dist/types/provider/components/default-components.d.ts +3 -0
- package/dist/types/provider/components/icon-names.d.ts +9 -0
- package/dist/types/provider/components/index.d.ts +39 -0
- package/dist/types/provider/components/types.d.ts +463 -0
- package/dist/types/provider/environment.d.ts +262 -0
- package/dist/types/provider/index.d.ts +4 -0
- package/dist/types/renderer/ConversationDeepLinkedWidget.d.ts +18 -0
- package/dist/types/renderer/ConversationMarkdown.d.ts +21 -0
- package/dist/types/renderer/ConversationWidgetActions/ConversationWidgetActions.d.ts +7 -0
- package/dist/types/renderer/ConversationWidgetCallbacksContext.d.ts +234 -0
- package/dist/types/renderer/ConversationWidgetContext.d.ts +32 -0
- package/dist/types/renderer/ConversationWidgetErrorBoundary.d.ts +25 -0
- package/dist/types/renderer/ConversationWidgetHost.d.ts +36 -0
- package/dist/types/renderer/ConversationWidgetRenderContext.d.ts +3 -0
- package/dist/types/renderer/MarkdownLink.d.ts +6 -0
- package/dist/types/renderer/WindowedWidget/WindowedWidget.d.ts +16 -0
- package/dist/types/renderer/_access/ConversationWidgetFeatureGate.d.ts +21 -0
- package/dist/types/renderer/_agent-space/ConversationWidgetAgentSpaceFrame.d.ts +12 -0
- package/dist/types/renderer/_agent-space/ConversationWidgetAgentSpaceHeader.d.ts +15 -0
- package/dist/types/renderer/_agent-space/agent-space-name.hydrator.d.ts +7 -0
- package/dist/types/renderer/_agent-space/declared-agent-space-key-field-name.d.ts +8 -0
- package/dist/types/renderer/_agent-space/use-resolved-conversation-widget-agent-space-key.d.ts +16 -0
- package/dist/types/renderer/_agent-space/widget-agent-space-key-attribute.d.ts +13 -0
- package/dist/types/renderer/balanced-json-object.d.ts +12 -0
- package/dist/types/renderer/canvas/CanvasRestoreOnMount.d.ts +19 -0
- package/dist/types/renderer/canvas/canvas-behaviours.d.ts +84 -0
- package/dist/types/renderer/canvas/canvas-body-props.d.ts +18 -0
- package/dist/types/renderer/canvas/canvas-feature-flags.d.ts +11 -0
- package/dist/types/renderer/canvas/canvas-reducers.d.ts +46 -0
- package/dist/types/renderer/canvas/canvas-state.d.ts +107 -0
- package/dist/types/renderer/canvas/canvasBodies.d.ts +19 -0
- package/dist/types/renderer/canvas/canvasStorage.d.ts +25 -0
- package/dist/types/renderer/canvas/decide-canvas-open.d.ts +32 -0
- package/dist/types/renderer/canvas/entity-detail-instance.d.ts +27 -0
- package/dist/types/renderer/canvas/find-widget-fences-in-markdown.d.ts +32 -0
- package/dist/types/renderer/canvas/use-anchor-widget-payload.d.ts +8 -0
- package/dist/types/renderer/composer-widget-fence.d.ts +30 -0
- package/dist/types/renderer/conversation-composer-widget.d.ts +13 -0
- package/dist/types/renderer/conversation-widget-props.d.ts +54 -0
- package/dist/types/renderer/conversation-widget-state-partition.d.ts +31 -0
- package/dist/types/renderer/conversationWidgetAstPlugin.d.ts +11 -0
- package/dist/types/renderer/conversationWidgetRegistry.d.ts +74 -0
- package/dist/types/renderer/detect-unrendered-widgets.d.ts +42 -0
- package/dist/types/renderer/markdown-contains-widget.d.ts +13 -0
- package/dist/types/renderer/reference-naked-widget-json.d.ts +1 -0
- package/dist/types/renderer/remarkWidgetFencePlugin.d.ts +22 -0
- package/dist/types/renderer/render-report/widget-render-report-collector.d.ts +57 -0
- package/dist/types/renderer/render-report/widget-render-report.d.ts +29 -0
- package/dist/types/renderer/repair-malformed-widget-fences.d.ts +11 -0
- package/dist/types/renderer/resolve-deep-linkable-widget.d.ts +25 -0
- package/dist/types/renderer/restoreTextDirectivesPlugin.d.ts +12 -0
- package/dist/types/renderer/widget-click-signal-sources.d.ts +15 -0
- package/dist/types/renderer/widget-fence-json.d.ts +16 -0
- package/dist/types/renderer/widget-fence-syntax.d.ts +25 -0
- package/dist/types/renderer/widget-hydration/index.d.ts +8 -0
- package/dist/types/renderer/widget-hydration/section-hydration.d.ts +41 -0
- package/dist/types/renderer/widget-hydration/use-widget-hydration.d.ts +27 -0
- package/dist/types/renderer/widget-hydration/widget-hydration-state-store.d.ts +27 -0
- package/dist/types/renderer/widget-hydration/widget-hydration.reducer.d.ts +39 -0
- package/dist/types/renderer/widget-hydration/widget-hydration.registry.d.ts +7 -0
- package/dist/types/renderer/widget-hydration/widget-hydration.slice.d.ts +8 -0
- package/dist/types/renderer/widget-hydration/widget-hydration.types.d.ts +27 -0
- package/dist/types/renderer/widget-name-resolver.d.ts +22 -0
- package/dist/types/renderer/widget-tree/bounded-json.d.ts +23 -0
- package/dist/types/renderer/widget-tree/composed-node-schema.d.ts +143 -0
- package/dist/types/renderer/widget-tree/composed-view-data-sources.d.ts +41 -0
- package/dist/types/renderer/widget-tree/composed-view-tree.d.ts +111 -0
- package/dist/types/renderer/widget-tree/expression/evaluate-expression.d.ts +65 -0
- package/dist/types/renderer/widget-tree/expression/parse-expression.d.ts +71 -0
- package/dist/types/renderer/widget-tree/resolve-composed-view-values.d.ts +49 -0
- package/dist/types/renderer/widget-tree/use-composed-view-state.d.ts +16 -0
- package/dist/types/renderer/widget-windowing.d.ts +25 -0
- package/dist/types/widgets/CanvasWidgetCard/CanvasWidgetCard.d.ts +79 -0
- package/dist/types/widgets/CanvasWidgetCard/CanvasWidgetSwitch.d.ts +61 -0
- package/dist/types/widgets/CanvasWidgetCard/canvas-for-message-widget.d.ts +8 -0
- package/dist/types/widgets/CanvasWidgetCard/use-canvas-viable.d.ts +15 -0
- package/dist/types/widgets/ClockConversationWidget/ClockConversationWidget.d.ts +11 -0
- package/dist/types/widgets/ClockConversationWidget/ClockWidget/AnalogClockFace.d.ts +12 -0
- package/dist/types/widgets/ClockConversationWidget/ClockWidget/ClockRow.d.ts +23 -0
- package/dist/types/widgets/ClockConversationWidget/ClockWidget/ClockWidget.d.ts +21 -0
- package/dist/types/widgets/ClockConversationWidget/ClockWidget/DayNightGlyph.d.ts +8 -0
- package/dist/types/widgets/ClockConversationWidget/shared/clock-time.d.ts +52 -0
- package/dist/types/widgets/ClockConversationWidget/shared/clock-widget-payload.d.ts +23 -0
- package/dist/types/widgets/ClockConversationWidget/shared/use-clock-settings.d.ts +18 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/ConceptExplainerConversationWidget.d.ts +14 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/ConceptExplainerWidget/ConceptExplainerWidget.d.ts +27 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/shared/ConceptExplainerTextView.d.ts +11 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/shared/concept-explainer-type.d.ts +89 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/shared/concept-explainer-types.d.ts +17 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/shared/concept-explainer-widget-payload.d.ts +25 -0
- package/dist/types/widgets/ConceptExplainerConversationWidget/shared/use-concept-explainer-language.d.ts +8 -0
- package/dist/types/widgets/ConversationSearchResultsConversationWidget/ConversationSearchResultsCanvas.d.ts +9 -0
- package/dist/types/widgets/ConversationSearchResultsConversationWidget/ConversationSearchResultsCanvasBody.d.ts +7 -0
- package/dist/types/widgets/ConversationSearchResultsConversationWidget/ConversationSearchResultsConversationWidget.d.ts +15 -0
- package/dist/types/widgets/ConversationSearchResultsConversationWidget/shared/conversation-search-results-widget-payload.d.ts +42 -0
- package/dist/types/widgets/ConversationSearchResultsConversationWidget/shared/search-hit-excerpt.d.ts +1 -0
- package/dist/types/widgets/CurrencyConverterConversationWidget/CurrencyConverterConversationWidget.d.ts +8 -0
- package/dist/types/widgets/CurrencyConverterConversationWidget/CurrencyConverterWidget/CurrencyConverterWidget.d.ts +17 -0
- package/dist/types/widgets/CurrencyConverterConversationWidget/CurrencyConverterWidget/CurrencyLabel/CurrencyLabel.d.ts +9 -0
- package/dist/types/widgets/CurrencyConverterConversationWidget/shared/currency-converter-widget-payload.d.ts +22 -0
- package/dist/types/widgets/CurrencyConverterConversationWidget/shared/currency-display.d.ts +30 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/CustomVisualizationConversationWidget.d.ts +11 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/CustomVisualizationWidget/CustomVisualizationFrame.d.ts +14 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/CustomVisualizationWidget/CustomVisualizationWidget.d.ts +15 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/shared/custom-visualization-frame-protocol.d.ts +77 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/shared/custom-visualization-libraries.d.ts +25 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/shared/custom-visualization-sandbox-config.d.ts +21 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/shared/custom-visualization-widget-payload.d.ts +55 -0
- package/dist/types/widgets/CustomVisualizationConversationWidget/shared/read-custom-visualization-theme.d.ts +5 -0
- package/dist/types/widgets/EntityMentionConversationWidget/EntityMentionAskButton/EntityMentionAskButton.d.ts +13 -0
- package/dist/types/widgets/EntityMentionConversationWidget/EntityMentionCard/EntityMentionCard.d.ts +11 -0
- package/dist/types/widgets/EntityMentionConversationWidget/EntityMentionConversationWidget.d.ts +9 -0
- package/dist/types/widgets/EntityMentionConversationWidget/shared/entity-mention-presentation.d.ts +4 -0
- package/dist/types/widgets/EntityMentionConversationWidget/shared/entity-mention.d.ts +33 -0
- package/dist/types/widgets/EntityMentionConversationWidget/shared/use-entity-mention-composer.d.ts +17 -0
- package/dist/types/widgets/MultiChoiceConversationWidget/MultiChoiceConversationWidget.d.ts +2 -0
- package/dist/types/widgets/MultiChoiceConversationWidget/shared/multi-choice-widget-payload.d.ts +16 -0
- package/dist/types/widgets/QuickRepliesConversationWidget/QuickRepliesConversationWidget.d.ts +38 -0
- package/dist/types/widgets/QuickRepliesConversationWidget/shared/quick-replies-widget-payload.d.ts +20 -0
- package/dist/types/widgets/SuggestedActions/SuggestedActions.d.ts +10 -0
- package/dist/types/widgets/ToolTraceConversationWidget/ToolTraceConversationWidget.d.ts +8 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/SourceFavicon.d.ts +10 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/WebSearchAnswer.d.ts +6 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/WebSearchReferences.d.ts +12 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/WebSearchResultsCanvas.d.ts +10 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/WebSearchResultsCanvasBody.d.ts +7 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/WebSearchResultsConversationWidget.d.ts +14 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/WebSearchSourcesList.d.ts +10 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/shared/display-hostname.d.ts +9 -0
- package/dist/types/widgets/WebSearchResultsConversationWidget/shared/web-search-results-widget-payload.d.ts +30 -0
- package/dist/types/widgets/WritingDraftConversationWidget/WritingDraftConversationWidget.d.ts +14 -0
- package/dist/types/widgets/WritingDraftConversationWidget/WritingDraftWidget/WritingDraftBody.d.ts +9 -0
- package/dist/types/widgets/WritingDraftConversationWidget/WritingDraftWidget/WritingDraftWidget.d.ts +44 -0
- package/dist/types/widgets/WritingDraftConversationWidget/shared/draft-mail-link.d.ts +17 -0
- package/dist/types/widgets/WritingDraftConversationWidget/shared/draft-plain-text.d.ts +7 -0
- package/dist/types/widgets/WritingDraftConversationWidget/shared/remark-draft-line-breaks.d.ts +13 -0
- package/dist/types/widgets/WritingDraftConversationWidget/shared/writing-draft-widget-payload.d.ts +23 -0
- package/dist/types/widgets/_shared/ConversationWidgetButton.d.ts +4 -0
- package/dist/types/widgets/_shared/DonePill.d.ts +14 -0
- package/dist/types/widgets/_shared/modern/WidgetKpiValue.d.ts +24 -0
- package/dist/types/widgets/_shared/modern/WidgetListRow.d.ts +14 -0
- package/dist/types/widgets/_shared/modern/WidgetStatusChip.d.ts +8 -0
- package/dist/types/widgets/_shared/modern/WidgetSurface.d.ts +13 -0
- package/dist/types/widgets/_shared/modern/WidgetSurfaceSkeleton.d.ts +11 -0
- package/dist/types/widgets/_shared/modern/index.d.ts +16 -0
- package/dist/types/widgets/_shared/skeleton-primitives.d.ts +20 -0
- package/dist/types/widgets/_shared/use-stack-when-wrapped.d.ts +6 -0
- package/dist/types/widgets/_shared/widget-payload-validation.d.ts +22 -0
- package/dist/widgets.js +84 -0
- package/dist/widgets.js.map +1 -0
- package/package.json +147 -3
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WidgetPreviewResponse } from "./widget-preview.types";
|
|
2
|
+
/**
|
|
3
|
+
* The preview's hydration transport for the `interactive` and `replay` modes: every registered hydrator is replaced by
|
|
4
|
+
* one that answers from the fixture's `hydration` (by derived key, else by type) and otherwise runs the real hydrator,
|
|
5
|
+
* whose requests the request transport answers from `responses`. The widget therefore runs its live code path —
|
|
6
|
+
* `useWidgetHydration` with the store's hydration slice, no frozen capture context — so a self-hydrating canvas widget
|
|
7
|
+
* auto-opens its canvas like in the chat (`CanvasWidgetCard`). The `email` mode keeps the capture's frozen hydration.
|
|
8
|
+
* Returns the disposer that puts the real hydrators back.
|
|
9
|
+
*/
|
|
10
|
+
export declare const installWidgetPreviewHydration: (hydration: Record<string, WidgetPreviewResponse>, onFailedRequest: (requestKey: string) => void) => (() => void);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { WidgetRenderReportEntry } from "../renderer/render-report/widget-render-report";
|
|
2
|
+
import type { WidgetPreviewExpectedState } from "./widget-preview.types";
|
|
3
|
+
/**
|
|
4
|
+
* The state an element shows — the same loading markers the e-mail capture refuses to shoot. `hasError` is true when
|
|
5
|
+
* the widget is known to be in an error: a failed hydration, a crash caught by the error boundary, or a request the
|
|
6
|
+
* fixture failed on purpose — a widget that renders nothing on an error would otherwise read as `empty`.
|
|
7
|
+
* `renderReport` is the block's own render report when the widget sent one: `failed` reads as `error`,
|
|
8
|
+
* `pending` as `loading` and `empty` as `empty` — a widget that shows one muted line ("No data to show.") for its empty
|
|
9
|
+
* state is empty, whatever text the line holds.
|
|
10
|
+
*/
|
|
11
|
+
export declare const observeWidgetPreviewState: (element: HTMLElement, hasError: boolean, renderReport?: WidgetRenderReportEntry) => WidgetPreviewExpectedState;
|
|
12
|
+
/**
|
|
13
|
+
* The preview's ready signal: after every change it waits until the DOM is still for `SETTLE_MS`, then publishes what
|
|
14
|
+
* it shows — `window.__AGENTS_WIDGET_PREVIEW_V1__` (observed against the fixture's expected state, with every request
|
|
15
|
+
* the fixture had no response for) and the e-mail capture's `window.__AGENTS_WIDGET_IMAGE_V1__` (`ready` when the
|
|
16
|
+
* expected state was reached), so the same script conventions work for both. Both are also published under the names
|
|
17
|
+
* the app declares (`AgentsEnvironment.sandboxLegacyAliases`).
|
|
18
|
+
*/
|
|
19
|
+
export declare const createWidgetPreviewReadiness: (expectedState: WidgetPreviewExpectedState) => {
|
|
20
|
+
observe: (watchedElement: HTMLElement, widgetElement: HTMLElement, hasHydrationError: () => boolean) => () => void;
|
|
21
|
+
fail: (errorCode: string) => void;
|
|
22
|
+
recordMissingResponse: (requestKey: string) => void;
|
|
23
|
+
recordFailedRequest: (requestKey: string) => void;
|
|
24
|
+
recordWidgetCrash: () => void;
|
|
25
|
+
recordRenderReport: (entry: WidgetRenderReportEntry) => void;
|
|
26
|
+
};
|
|
27
|
+
export type WidgetPreviewReadiness = ReturnType<typeof createWidgetPreviewReadiness>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { WidgetPreviewResponse } from "./widget-preview.types";
|
|
2
|
+
/** The key a fixture response is stored under: method, path and the sorted query (`GET /api/example/…?a=1&b=2`). */
|
|
3
|
+
export declare const widgetPreviewRequestKey: (method: string, url: URL) => string;
|
|
4
|
+
export declare const isStatusResponse: (response: unknown) => response is {
|
|
5
|
+
__status: number;
|
|
6
|
+
__body?: unknown;
|
|
7
|
+
};
|
|
8
|
+
export declare const isPendingResponse: (response: unknown) => boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Serves every request of the preview — axios and `fetch` — from the fixture: a known request gets its body (a copy), a
|
|
11
|
+
* `__status` entry fails with that status (a status of 400 or more is reported as a failed request — the error state the
|
|
12
|
+
* fixture asked for), a `__pending` entry never answers (the loading state), and anything else — an unknown read, a
|
|
13
|
+
* write the fixture does not answer — fails as a missing response and is reported. A write is answered only when the
|
|
14
|
+
* fixture names it (`"POST /api/example/…"`, e.g. a widget's fire-and-forget measurement event). Nothing reaches a server.
|
|
15
|
+
*/
|
|
16
|
+
export declare const installWidgetPreviewRequests: (responses: Record<string, WidgetPreviewResponse>, onMissingResponse: (requestKey: string) => void, onFailedRequest?: (requestKey: string) => void) => (() => void);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WidgetPreviewSignal } from "./widget-preview.types";
|
|
2
|
+
/** The `window` property a preview script waits on. */
|
|
3
|
+
export declare const WIDGET_PREVIEW_SIGNAL_GLOBAL_NAME = "__AGENTS_WIDGET_PREVIEW_V1__";
|
|
4
|
+
/**
|
|
5
|
+
* Every name the preview signal is published under: the package's own, then each name the app declares
|
|
6
|
+
* (`AgentsEnvironment.sandboxLegacyAliases.previewReadinessGlobalNames`), read at each publish.
|
|
7
|
+
*/
|
|
8
|
+
export declare const readWidgetPreviewSignalGlobalNames: () => string[];
|
|
9
|
+
/** Publishes (or with `undefined` clears) the preview signal under every name. */
|
|
10
|
+
export declare const publishWidgetPreviewSignal: (signal: WidgetPreviewSignal | undefined) => void;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { WidgetRenderReportEntry } from "../renderer/render-report/widget-render-report";
|
|
2
|
+
/**
|
|
3
|
+
* The widget preview: one registered widget — or a `ComposedView` tree — rendered outside the chat from
|
|
4
|
+
* a named fixture, in one of three modes, so a script can screenshot it, drive its interactions and compare it with the
|
|
5
|
+
* ChatGPT reference. The fixtures live next to each widget (`<kebab-name>.preview-fixtures.json`); the same dummy data
|
|
6
|
+
* can feed the widget's stories.
|
|
7
|
+
*/
|
|
8
|
+
/** `interactive`: the live reply (inputs work, canvases open); `replay`: a reloaded message; `email`: the capture look. */
|
|
9
|
+
export type WidgetPreviewMode = "interactive" | "replay" | "email";
|
|
10
|
+
/** What the fixture is built to show once it settles; the preview reports whether that state was reached. */
|
|
11
|
+
export type WidgetPreviewExpectedState = "data" | "loading" | "empty" | "error";
|
|
12
|
+
/** One step the compare script performs after the first screenshot (then it screenshots again). */
|
|
13
|
+
export interface WidgetPreviewInteraction {
|
|
14
|
+
name: string;
|
|
15
|
+
/** Click the element with this visible text, or matching `selector`. */
|
|
16
|
+
click?: {
|
|
17
|
+
text?: string;
|
|
18
|
+
selector?: string;
|
|
19
|
+
};
|
|
20
|
+
/** Type `value` into the element matching `selector`. */
|
|
21
|
+
fill?: {
|
|
22
|
+
selector: string;
|
|
23
|
+
value: string;
|
|
24
|
+
};
|
|
25
|
+
/** Press one key (`Enter`, `ArrowRight`, …) on the focused element. */
|
|
26
|
+
press?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Hover the element with this visible text, or matching `selector` — at `position` (CSS px from its top left corner)
|
|
29
|
+
* when given; with `position` alone the widget itself is hovered there (a chart point, a map marker).
|
|
30
|
+
*/
|
|
31
|
+
hover?: {
|
|
32
|
+
text?: string;
|
|
33
|
+
selector?: string;
|
|
34
|
+
position?: {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* The state this step must settle in, when it differs from the fixture's — the click that opens a detail whose read
|
|
41
|
+
* fails on purpose expects `error` while the chat block before it shows `data` (`scripts/widget-preview/preview-step-state.mjs`).
|
|
42
|
+
*/
|
|
43
|
+
expectedState?: WidgetPreviewExpectedState;
|
|
44
|
+
}
|
|
45
|
+
/** A frozen GET response: the body, or a status the request fails with, or a request that never answers (loading). */
|
|
46
|
+
export type WidgetPreviewResponse = unknown | {
|
|
47
|
+
__status: number;
|
|
48
|
+
__body?: unknown;
|
|
49
|
+
} | {
|
|
50
|
+
__pending: true;
|
|
51
|
+
};
|
|
52
|
+
export interface WidgetPreviewFixture {
|
|
53
|
+
name: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The shared test data set the fixture's data comes from (e.g. `kassel-dental-practice`, one coherent customer across
|
|
57
|
+
* every domain) — read by the widget comparison manifest; the preview ignores it.
|
|
58
|
+
*/
|
|
59
|
+
dataSet?: string;
|
|
60
|
+
/** The fence fields next to `type`. */
|
|
61
|
+
payload: Record<string, unknown>;
|
|
62
|
+
/**
|
|
63
|
+
* Hydrator type (or exact derived cache key) → the resolved result, as the e-mail capture takes it. In `email` mode it
|
|
64
|
+
* is the capture's frozen hydration; in `interactive` / `replay` the preview's hydrators answer with it (a value may
|
|
65
|
+
* be a `__status` or `__pending` entry like a response), so the widget runs its live code path — a self-hydrating
|
|
66
|
+
* canvas widget auto-opens its canvas. A hydrator type it does not name runs for real against `responses`.
|
|
67
|
+
*/
|
|
68
|
+
hydration?: Record<string, WidgetPreviewResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* `"GET /path?sorted=query"` → the response; a request with no entry fails as a missing response. A `__status`
|
|
71
|
+
* entry of 400 or more fails the request and makes the preview observe `error`.
|
|
72
|
+
*/
|
|
73
|
+
responses?: Record<string, WidgetPreviewResponse>;
|
|
74
|
+
/** Location / project settings for the store, as the e-mail capture takes them. */
|
|
75
|
+
settings?: Record<string, unknown>;
|
|
76
|
+
/**
|
|
77
|
+
* The owner's language (`de`, `en`, `fr`, or a full `de-DE`) — the store's `GlobalReducer` language, so numbers and
|
|
78
|
+
* dates format as for that owner; the location's date locale follows unless `settings.location.localeFormatted` is
|
|
79
|
+
* set. Default `de`.
|
|
80
|
+
*/
|
|
81
|
+
locale?: string;
|
|
82
|
+
expectedState?: WidgetPreviewExpectedState;
|
|
83
|
+
/** The chat width the screenshot is taken at; the script adds a narrow one. */
|
|
84
|
+
width?: number;
|
|
85
|
+
interactions?: WidgetPreviewInteraction[];
|
|
86
|
+
/** Render the kit's node types that have no component yet with the preview's stub components. */
|
|
87
|
+
stubComposedViewComponents?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Parts of the URLs the browser fails to load on purpose (the picture of a broken-image fixture) — the render sweep
|
|
90
|
+
* (`scripts/widget-preview/render-sweep.mjs`) reports them as FAILED_ON_PURPOSE instead of REQUEST_FAILED.
|
|
91
|
+
*/
|
|
92
|
+
expectedFailedRequests?: string[];
|
|
93
|
+
}
|
|
94
|
+
export interface WidgetPreviewFixtureFile {
|
|
95
|
+
wireName: string;
|
|
96
|
+
fixtures: WidgetPreviewFixture[];
|
|
97
|
+
}
|
|
98
|
+
export interface WidgetPreviewBootstrap {
|
|
99
|
+
widgetName: string;
|
|
100
|
+
fixtureName: string;
|
|
101
|
+
mode: WidgetPreviewMode;
|
|
102
|
+
width?: number;
|
|
103
|
+
}
|
|
104
|
+
/** What the page publishes for a script, beside the e-mail capture's `__AGENTS_WIDGET_IMAGE_V1__`. */
|
|
105
|
+
export interface WidgetPreviewSignal {
|
|
106
|
+
version: 1;
|
|
107
|
+
state: "loading" | "settled" | "failed";
|
|
108
|
+
/** Bumped on every settle — after an interaction the script waits for the next revision. */
|
|
109
|
+
revision: number;
|
|
110
|
+
expectedState: WidgetPreviewExpectedState;
|
|
111
|
+
observedState?: WidgetPreviewExpectedState;
|
|
112
|
+
expectedStateReached?: boolean;
|
|
113
|
+
/** Requests the fixture has no response for (a harness gap, not a widget defect). */
|
|
114
|
+
missingResponses: string[];
|
|
115
|
+
/** Requests (and preview hydrations) the fixture answered with a failing `__status` — the error state it asked for. */
|
|
116
|
+
failedRequests: string[];
|
|
117
|
+
/** The widget threw and `ConversationWidgetErrorBoundary` caught it. */
|
|
118
|
+
widgetCrashed: boolean;
|
|
119
|
+
/** The block's last render report, when the widget sent one — the observed state follows it. */
|
|
120
|
+
renderReport?: WidgetRenderReportEntry;
|
|
121
|
+
error_code?: string;
|
|
122
|
+
rect?: {
|
|
123
|
+
x: number;
|
|
124
|
+
y: number;
|
|
125
|
+
width: number;
|
|
126
|
+
height: number;
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
declare global {
|
|
130
|
+
interface Window {
|
|
131
|
+
/** The preview's readiness signal (`publishWidgetPreviewSignal` also writes it under the app's declared names). */
|
|
132
|
+
__AGENTS_WIDGET_PREVIEW_V1__?: WidgetPreviewSignal;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { AgentsConversationClient } from "../client/AgentsConversationClient";
|
|
3
|
+
import type { AgentsComponents } from "./components/types";
|
|
4
|
+
import { type AgentsBudgetLimit, type AgentsEnvironment, type AgentsMapsLoaderState, type AgentsOwnerSettings, type AgentsStateAction, type AgentsTexts } from "./environment";
|
|
5
|
+
export interface AgentsProviderProps {
|
|
6
|
+
/** The subtree's environment; members it leaves out fall back to the app-wide one, then to the defaults. */
|
|
7
|
+
environment?: AgentsEnvironment;
|
|
8
|
+
/** The conversation client the chat below reads and sends through (the one required input of a chat). */
|
|
9
|
+
client?: AgentsConversationClient;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Supplies an environment and the conversation client to one subtree. `<AgentsProvider client={client}><AgentChat />
|
|
14
|
+
* </AgentsProvider>` is a whole chat with the package defaults.
|
|
15
|
+
*/
|
|
16
|
+
export declare const AgentsProvider: (props: AgentsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
/** The components package code renders: the subtree's replacements over the app's over the package defaults. */
|
|
18
|
+
export declare const useAgentsComponents: () => AgentsComponents;
|
|
19
|
+
export declare const useAgentsTexts: () => AgentsTexts;
|
|
20
|
+
/** The environment of this subtree: its own members over the app-wide ones. */
|
|
21
|
+
export declare const useAgentsEnvironment: () => AgentsEnvironment;
|
|
22
|
+
/** Reads from the state store (`AgentsEnvironment.stateStore`, else the package's default store). */
|
|
23
|
+
export declare const useAgentsStateSelector: <Selected>(selector: (state: any) => Selected) => Selected;
|
|
24
|
+
/** The dispatch of the state store (`AgentsEnvironment.stateStore`, else the package's default store). */
|
|
25
|
+
export declare const useAgentsStateDispatch: () => ((action: AgentsStateAction) => unknown);
|
|
26
|
+
/** The owner's language and the active agent space's date and time settings (`AgentsEnvironment.useOwnerSettings`). */
|
|
27
|
+
export declare const useAgentsOwnerSettings: () => AgentsOwnerSettings;
|
|
28
|
+
/** The key of the agent space the owner works in (`AgentsEnvironment.useActiveAgentSpaceKey`). */
|
|
29
|
+
export declare const useAgentsActiveAgentSpaceKey: () => number | undefined;
|
|
30
|
+
/** The map script loader's state (`AgentsEnvironment.useMapsLoader`). */
|
|
31
|
+
export declare const useAgentsMapsLoader: () => AgentsMapsLoaderState;
|
|
32
|
+
/** What the error card of a reached budget offers (`AgentsEnvironment.useBudgetLimit`). */
|
|
33
|
+
export declare const useAgentsBudgetLimit: () => AgentsBudgetLimit;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type ClassNameValue = string | undefined | null | false | Readonly<Record<string, boolean | undefined | null>>;
|
|
2
|
+
/**
|
|
3
|
+
* Joins the class names that are set, skipping empty and falsy values; an object adds each key whose value is truthy
|
|
4
|
+
* (`classNames(styles.card, { [styles.selected]: isSelected })`), in argument order, as the `classnames` package does.
|
|
5
|
+
*/
|
|
6
|
+
export declare const classNames: (...args: ClassNameValue[]) => string;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The icons package code uses, by name. The list is the contract: an app's `Icon` replacement maps every name, the
|
|
3
|
+
* package default draws every name. Extend it only together with the default drawing. It holds the names package
|
|
4
|
+
* components draw and every name a composed `Icon` node may carry (`IconComposedViewNode::ICON_NAMES`).
|
|
5
|
+
*/
|
|
6
|
+
export declare const AGENTS_ICON_NAMES: readonly ["add", "ai", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "barChart", "browser", "budget", "business", "calendar", "caretDown", "caretLeft", "caretUp", "check", "clock", "close", "closeCanvas", "dash", "desktop", "details", "directions", "document", "download", "duplicate", "edit", "event", "exclamation", "google", "help", "home", "image", "info", "like", "lineChart", "link", "location", "lock", "lockOpen", "mail", "maps", "maximize", "message", "messageBad", "messageGood", "messageNeutral", "minimize", "mobile", "newTab", "news", "notification", "pause", "phone", "photo", "pinFilled", "play", "post", "prize", "question", "refresh", "remove", "search", "searchEngines", "settings", "shield", "sorting", "star", "starActive", "tablet", "tag", "text", "trash", "upload", "user", "visibility", "warning", "wizard"];
|
|
7
|
+
export type AgentsIconName = (typeof AGENTS_ICON_NAMES)[number];
|
|
8
|
+
/** Whether a string is a package icon name (a name a model or a record wrote). */
|
|
9
|
+
export declare const isAgentsIconName: (value: unknown) => value is AgentsIconName;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { AgentsButtonProps, AgentsCheckboxProps, AgentsDateInputProps, AgentsGlowFrameProps, AgentsIconProps, AgentsInteractiveSurfaceProps, AgentsLoadingSpinnerProps, AgentsMapMarkerProps, AgentsMapProps, AgentsModalLayerProps, AgentsProgressBarProps, AgentsRadioGroupProps, AgentsRangeSliderProps, AgentsSelectProps, AgentsSkeletonProps, AgentsSplitViewProps, AgentsStatusBadgeProps, AgentsTabsProps, AgentsTextAreaProps, AgentsTextInputProps, AgentsTextProps, AgentsTooltipProps, AgentsTrendDeltaProps, AgentsHeroRowProps, AgentsHeroValueProps, AgentsWidgetTextProps, AgentsSkeletonTextProps, AgentsStatusChipProps, AgentsSegmentBarProps, AgentsMarkdownProps, AgentsWidgetFeatureGateProps, AgentsConversationSearchResultsListProps } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* The components package code imports. Each renders the app's replacement when the environment has one, else the
|
|
4
|
+
* package default — package code never imports an app's component library.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Text: (props: AgentsTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const Button: (props: AgentsButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Icon: (props: AgentsIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const InteractiveSurface: (props: AgentsInteractiveSurfaceProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Skeleton: (props: AgentsSkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const LoadingSpinner: (props: AgentsLoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const Tooltip: (props: AgentsTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const GlowFrame: (props: AgentsGlowFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ProgressBar: (props: AgentsProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const SplitView: (props: AgentsSplitViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const TrendDelta: (props: AgentsTrendDeltaProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const Checkbox: (props: AgentsCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const TextInput: (props: AgentsTextInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const TextArea: (props: AgentsTextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const RangeSlider: (props: AgentsRangeSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const DateInput: (props: AgentsDateInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const RadioGroup: (props: AgentsRadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const Select: (props: AgentsSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare const Tabs: (props: AgentsTabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const StatusBadge: (props: AgentsStatusBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const Map: (props: AgentsMapProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const MapMarker: (props: AgentsMapMarkerProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare const ModalLayer: (props: AgentsModalLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const HeroRow: (props: AgentsHeroRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const HeroValue: (props: AgentsHeroValueProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare const WidgetText: (props: AgentsWidgetTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare const SkeletonText: (props: AgentsSkeletonTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const StatusChip: (props: AgentsStatusChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare const SegmentBar: (props: AgentsSegmentBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare const Markdown: (props: AgentsMarkdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare const WidgetFeatureGate: (props: AgentsWidgetFeatureGateProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare const ConversationSearchResultsList: (props: AgentsConversationSearchResultsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export type * from "./types";
|
|
39
|
+
export { AGENTS_ICON_NAMES, isAgentsIconName } from "./icon-names";
|