veryfront 0.1.1048 → 0.1.1049
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/esm/cli/templates/manifest.js +3 -3
- package/esm/deno.d.ts +3 -0
- package/esm/deno.js +10 -6
- package/esm/src/agent/react/use-agent-metadata.js +1 -1
- package/esm/src/agent/react/use-agent.js +1 -1
- package/esm/src/agent/react/use-agents.js +1 -1
- package/esm/src/agent/react/use-chat/types.d.ts +0 -6
- package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/use-chat.d.ts +5 -0
- package/esm/src/agent/react/use-chat/use-chat.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/use-chat.js +87 -34
- package/esm/src/agent/react/use-completion.js +1 -1
- package/esm/src/agent/react/use-streaming.js +1 -1
- package/esm/src/agent/react/use-voice-input.js +1 -1
- package/esm/src/cache/backends/api.d.ts.map +1 -1
- package/esm/src/cache/backends/api.js +10 -7
- package/esm/src/chat/index.d.ts +8 -15
- package/esm/src/chat/index.d.ts.map +1 -1
- package/esm/src/chat/index.js +7 -16
- package/esm/src/modules/component-registry/registry.d.ts +1 -1
- package/esm/src/modules/component-registry/registry.d.ts.map +1 -1
- package/esm/src/modules/react-loader/component-loader.d.ts +1 -1
- package/esm/src/modules/react-loader/component-loader.d.ts.map +1 -1
- package/esm/src/modules/react-loader/extract-component.d.ts +1 -1
- package/esm/src/modules/react-loader/extract-component.d.ts.map +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/loader.d.ts +1 -1
- package/esm/src/modules/react-loader/ssr-module-loader/loader.d.ts.map +1 -1
- package/esm/src/modules/react-loader/types.d.ts +1 -1
- package/esm/src/modules/react-loader/types.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/multi-project-adapter.d.ts +3 -1
- package/esm/src/platform/adapters/fs/veryfront/multi-project-adapter.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/multi-project-adapter.js +2 -0
- package/esm/src/platform/adapters/fs/veryfront/request-context.d.ts +4 -0
- package/esm/src/platform/adapters/fs/veryfront/request-context.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/request-context.js +1 -0
- package/esm/src/proxy/main.js +6 -5
- package/esm/src/proxy/retry.d.ts +14 -6
- package/esm/src/proxy/retry.d.ts.map +1 -1
- package/esm/src/proxy/retry.js +82 -20
- package/esm/src/react/compat/hooks-adapter.d.ts +1 -1
- package/esm/src/react/compat/hooks-adapter.d.ts.map +1 -1
- package/esm/src/react/compat/hooks-adapter.js +1 -1
- package/esm/src/react/compat/ssr-adapter/response-builder.d.ts +1 -1
- package/esm/src/react/compat/ssr-adapter/response-builder.d.ts.map +1 -1
- package/esm/src/react/compat/ssr-adapter/server-loader.d.ts +5 -5
- package/esm/src/react/compat/ssr-adapter/server-loader.d.ts.map +1 -1
- package/esm/src/react/compat/ssr-adapter/stream-renderer.d.ts +1 -1
- package/esm/src/react/compat/ssr-adapter/stream-renderer.d.ts.map +1 -1
- package/esm/src/react/compat/ssr-adapter/string-renderer.d.ts +1 -1
- package/esm/src/react/compat/ssr-adapter/string-renderer.d.ts.map +1 -1
- package/esm/src/react/compat/version-detector/feature-detector.js +1 -1
- package/esm/src/react/components/AppWrapper.d.ts +1 -1
- package/esm/src/react/components/AppWrapper.d.ts.map +1 -1
- package/esm/src/react/components/AppWrapper.js +1 -1
- package/esm/src/react/components/LayoutComponent.d.ts +1 -1
- package/esm/src/react/components/LayoutComponent.d.ts.map +1 -1
- package/esm/src/react/components/LayoutComponent.js +1 -1
- package/esm/src/react/components/MDXProvider.d.ts +1 -1
- package/esm/src/react/components/MDXProvider.d.ts.map +1 -1
- package/esm/src/react/components/MDXProvider.js +1 -1
- package/esm/src/react/components/ProviderComponent.d.ts +1 -1
- package/esm/src/react/components/ProviderComponent.d.ts.map +1 -1
- package/esm/src/react/components/ProviderComponent.js +1 -1
- package/esm/src/react/components/chat/agent-card.d.ts +15 -7
- package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
- package/esm/src/react/components/chat/agent-card.js +9 -10
- package/esm/src/react/components/chat/agent-picker-actions.d.ts +20 -0
- package/esm/src/react/components/chat/agent-picker-actions.d.ts.map +1 -0
- package/esm/src/react/components/chat/agent-picker-actions.js +24 -0
- package/esm/src/react/components/chat/agent-picker-context.d.ts +19 -0
- package/esm/src/react/components/chat/agent-picker-context.d.ts.map +1 -0
- package/esm/src/react/components/chat/agent-picker-context.js +13 -0
- package/esm/src/react/components/chat/agent-picker.d.ts +35 -42
- package/esm/src/react/components/chat/agent-picker.d.ts.map +1 -1
- package/esm/src/react/components/chat/agent-picker.js +59 -50
- package/esm/src/react/components/chat/chat/app-mode-chat.d.ts +14 -0
- package/esm/src/react/components/chat/chat/app-mode-chat.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/app-mode-chat.js +137 -0
- package/esm/src/react/components/chat/chat/chat-attachments.d.ts +7 -0
- package/esm/src/react/components/chat/chat/chat-attachments.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/chat-attachments.js +16 -0
- package/esm/src/react/components/chat/chat/chat-component.d.ts +21 -0
- package/esm/src/react/components/chat/chat/chat-component.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/chat-component.js +1 -0
- package/esm/src/react/components/chat/chat/chat-props.d.ts +114 -0
- package/esm/src/react/components/chat/chat/chat-props.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/chat-props.js +1 -0
- package/esm/src/react/components/chat/chat/components/animations.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/animations.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/animations.js +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +18 -18
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.js +11 -15
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts +14 -3
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/attachments-panel.js +3 -3
- package/esm/src/react/components/chat/chat/components/branch-picker.d.ts +44 -14
- package/esm/src/react/components/chat/chat/components/branch-picker.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/branch-picker.js +55 -12
- package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.js +1 -1
- package/esm/src/react/components/chat/chat/components/code-block.d.ts +7 -2
- package/esm/src/react/components/chat/chat/components/code-block.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/code-block.js +3 -3
- package/esm/src/react/components/chat/chat/components/drop-zone.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/drop-zone.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/drop-zone.js +1 -1
- package/esm/src/react/components/chat/chat/components/empty-state.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/empty-state.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/empty-state.js +1 -1
- package/esm/src/react/components/chat/chat/components/inference-badge.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/inference-badge.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/inference-badge.js +1 -1
- package/esm/src/react/components/chat/chat/components/inline-citation.d.ts +33 -10
- package/esm/src/react/components/chat/chat/components/inline-citation.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/inline-citation.js +145 -51
- package/esm/src/react/components/chat/chat/components/message-actions.d.ts +49 -20
- package/esm/src/react/components/chat/chat/components/message-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-actions.js +72 -18
- package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-edit-form.js +1 -1
- package/esm/src/react/components/chat/chat/components/message-feedback.d.ts +34 -14
- package/esm/src/react/components/chat/chat/components/message-feedback.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/message-feedback.js +54 -15
- package/esm/src/react/components/chat/chat/components/quick-actions.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/quick-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/quick-actions.js +1 -1
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts +14 -6
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/reasoning.js +3 -5
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts +70 -16
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sidebar.js +72 -23
- package/esm/src/react/components/chat/chat/components/skill-badge.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/skill-badge.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/skill-badge.js +1 -1
- package/esm/src/react/components/chat/chat/components/skill-tool.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/skill-tool.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/skill-tool.js +1 -1
- package/esm/src/react/components/chat/chat/components/sources.d.ts +25 -15
- package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sources.js +7 -7
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +14 -3
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/step-indicator.js +3 -3
- package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts +1 -1
- package/esm/src/react/components/chat/chat/components/tab-switcher.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/tab-switcher.js +1 -1
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +16 -9
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/tool-ui.js +10 -14
- package/esm/src/react/components/chat/chat/composition/agent-avatar.d.ts +1 -1
- package/esm/src/react/components/chat/chat/composition/agent-avatar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/agent-avatar.js +1 -1
- package/esm/src/react/components/chat/chat/composition/api.d.ts +3 -3
- package/esm/src/react/components/chat/chat/composition/api.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/api.js +2 -2
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +72 -29
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-composer.js +92 -82
- package/esm/src/react/components/chat/chat/composition/chat-empty-state.d.ts +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-empty-state.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-empty-state.js +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts +7 -2
- package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-empty.js +3 -3
- package/esm/src/react/components/chat/chat/composition/chat-if.d.ts +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-if.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts +25 -11
- package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-message-list.js +67 -29
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +7 -3
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/chat-root.js +3 -5
- package/esm/src/react/components/chat/chat/composition/error-banner.d.ts +7 -2
- package/esm/src/react/components/chat/chat/composition/error-banner.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/error-banner.js +3 -3
- package/esm/src/react/components/chat/chat/composition/message.d.ts +85 -34
- package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/message.js +146 -122
- package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts +1 -1
- package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/model-avatar.js +1 -1
- package/esm/src/react/components/chat/chat/composition/pending-message.d.ts +1 -1
- package/esm/src/react/components/chat/chat/composition/pending-message.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/pending-message.js +1 -1
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +2 -3
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/chat-context.js +1 -1
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +2 -2
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/composer-context.js +1 -1
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts +2 -2
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/conversations-context.js +1 -1
- package/esm/src/react/components/chat/chat/contexts/index.d.ts +1 -1
- package/esm/src/react/components/chat/chat/contexts/index.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/index.js +1 -1
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts +15 -2
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/message-context.js +11 -1
- package/esm/src/react/components/chat/chat/controlled-chat.d.ts +15 -0
- package/esm/src/react/components/chat/chat/controlled-chat.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/controlled-chat.js +97 -0
- package/esm/src/react/components/chat/chat/hooks/use-clipboard.js +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-conversation-chat.d.ts +54 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversation-chat.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversation-chat.js +179 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversation.js +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-conversations.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-conversations.js +3 -6
- package/esm/src/react/components/chat/chat/hooks/use-drop-zone.d.ts +8 -5
- package/esm/src/react/components/chat/chat/hooks/use-drop-zone.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-drop-zone.js +6 -6
- package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.d.ts +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.js +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-upload.js +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.js +1 -1
- package/esm/src/react/components/chat/chat/index.d.ts +13 -230
- package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/index.js +27 -383
- package/esm/src/react/components/chat/chat-actions.d.ts +1 -1
- package/esm/src/react/components/chat/chat-actions.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-actions.js +1 -1
- package/esm/src/react/components/chat/chat-agent-picker.d.ts +1 -1
- package/esm/src/react/components/chat/chat-agent-picker.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-agent-picker.js +1 -1
- package/esm/src/react/components/chat/chat-theme-scope.d.ts +1 -1
- package/esm/src/react/components/chat/chat-theme-scope.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat-theme-scope.js +1 -1
- package/esm/src/react/components/chat/chat.d.ts +6 -6
- package/esm/src/react/components/chat/chat.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat.js +4 -4
- package/esm/src/react/components/chat/error-boundary.d.ts +1 -1
- package/esm/src/react/components/chat/error-boundary.d.ts.map +1 -1
- package/esm/src/react/components/chat/error-boundary.js +1 -1
- package/esm/src/react/components/chat/markdown.d.ts +3 -5
- package/esm/src/react/components/chat/markdown.d.ts.map +1 -1
- package/esm/src/react/components/chat/markdown.js +4 -72
- package/esm/src/react/components/chat/model-selector.d.ts +21 -27
- package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
- package/esm/src/react/components/chat/model-selector.js +26 -31
- package/esm/src/react/components/optimized-image/OptimizedBackgroundImage.d.ts +1 -1
- package/esm/src/react/components/optimized-image/OptimizedBackgroundImage.d.ts.map +1 -1
- package/esm/src/react/components/optimized-image/OptimizedBackgroundImage.js +1 -1
- package/esm/src/react/components/optimized-image/OptimizedImage.d.ts +1 -1
- package/esm/src/react/components/optimized-image/OptimizedImage.d.ts.map +1 -1
- package/esm/src/react/components/optimized-image/OptimizedImage.js +1 -1
- package/esm/src/react/components/optimized-image/SimpleOptimizedImage.d.ts +1 -1
- package/esm/src/react/components/optimized-image/SimpleOptimizedImage.d.ts.map +1 -1
- package/esm/src/react/components/optimized-image/utils.d.ts +1 -1
- package/esm/src/react/components/optimized-image/utils.d.ts.map +1 -1
- package/esm/src/react/components/optimized-image/utils.js +1 -1
- package/esm/src/react/components/ui/alert.d.ts +1 -1
- package/esm/src/react/components/ui/alert.d.ts.map +1 -1
- package/esm/src/react/components/ui/alert.js +1 -1
- package/esm/src/react/components/ui/app-shell.d.ts +1 -1
- package/esm/src/react/components/ui/app-shell.d.ts.map +1 -1
- package/esm/src/react/components/ui/app-shell.js +1 -1
- package/esm/src/react/components/ui/avatar.d.ts +1 -1
- package/esm/src/react/components/ui/avatar.d.ts.map +1 -1
- package/esm/src/react/components/ui/avatar.js +1 -1
- package/esm/src/react/components/ui/badge.d.ts +1 -1
- package/esm/src/react/components/ui/badge.d.ts.map +1 -1
- package/esm/src/react/components/ui/badge.js +1 -1
- package/esm/src/react/components/ui/button.d.ts +1 -1
- package/esm/src/react/components/ui/button.d.ts.map +1 -1
- package/esm/src/react/components/ui/button.js +1 -1
- package/esm/src/react/components/ui/card.d.ts +1 -1
- package/esm/src/react/components/ui/card.d.ts.map +1 -1
- package/esm/src/react/components/ui/card.js +1 -1
- package/esm/src/react/components/ui/checkbox.d.ts +1 -1
- package/esm/src/react/components/ui/checkbox.d.ts.map +1 -1
- package/esm/src/react/components/ui/checkbox.js +1 -1
- package/esm/src/react/components/ui/code-block.d.ts +1 -1
- package/esm/src/react/components/ui/code-block.d.ts.map +1 -1
- package/esm/src/react/components/ui/code-block.js +1 -1
- package/esm/src/react/components/ui/collapsible.d.ts +1 -1
- package/esm/src/react/components/ui/collapsible.d.ts.map +1 -1
- package/esm/src/react/components/ui/collapsible.js +1 -1
- package/esm/src/react/components/ui/color-mode.d.ts +2 -2
- package/esm/src/react/components/ui/color-mode.d.ts.map +1 -1
- package/esm/src/react/components/ui/color-mode.js +1 -1
- package/esm/src/react/components/ui/command.d.ts +1 -1
- package/esm/src/react/components/ui/command.d.ts.map +1 -1
- package/esm/src/react/components/ui/command.js +1 -1
- package/esm/src/react/components/ui/dialog.d.ts +1 -1
- package/esm/src/react/components/ui/dialog.d.ts.map +1 -1
- package/esm/src/react/components/ui/dialog.js +1 -1
- package/esm/src/react/components/ui/drawer.d.ts +1 -1
- package/esm/src/react/components/ui/drawer.d.ts.map +1 -1
- package/esm/src/react/components/ui/drawer.js +1 -1
- package/esm/src/react/components/ui/dropdown-menu.d.ts +1 -1
- package/esm/src/react/components/ui/dropdown-menu.d.ts.map +1 -1
- package/esm/src/react/components/ui/dropdown-menu.js +1 -1
- package/esm/src/react/components/ui/file-type.d.ts +1 -1
- package/esm/src/react/components/ui/file-type.d.ts.map +1 -1
- package/esm/src/react/components/ui/file-type.js +1 -1
- package/esm/src/react/components/ui/floating.d.ts +1 -1
- package/esm/src/react/components/ui/floating.d.ts.map +1 -1
- package/esm/src/react/components/ui/floating.js +2 -2
- package/esm/src/react/components/ui/icon-button.d.ts +1 -1
- package/esm/src/react/components/ui/icon-button.d.ts.map +1 -1
- package/esm/src/react/components/ui/icon-button.js +1 -1
- package/esm/src/react/components/ui/icons/index.d.ts +1 -1
- package/esm/src/react/components/ui/icons/index.d.ts.map +1 -1
- package/esm/src/react/components/ui/icons/index.js +1 -1
- package/esm/src/react/components/ui/input.d.ts +1 -1
- package/esm/src/react/components/ui/input.d.ts.map +1 -1
- package/esm/src/react/components/ui/input.js +1 -1
- package/esm/src/react/components/ui/label.d.ts +1 -1
- package/esm/src/react/components/ui/label.d.ts.map +1 -1
- package/esm/src/react/components/ui/label.js +1 -1
- package/esm/src/react/components/ui/list.d.ts +1 -1
- package/esm/src/react/components/ui/list.d.ts.map +1 -1
- package/esm/src/react/components/ui/list.js +1 -1
- package/esm/src/react/components/ui/pill.d.ts +1 -1
- package/esm/src/react/components/ui/pill.d.ts.map +1 -1
- package/esm/src/react/components/ui/pill.js +1 -1
- package/esm/src/react/components/ui/popover.d.ts +1 -1
- package/esm/src/react/components/ui/popover.d.ts.map +1 -1
- package/esm/src/react/components/ui/popover.js +1 -1
- package/esm/src/react/components/ui/progress-bar.d.ts +1 -1
- package/esm/src/react/components/ui/progress-bar.d.ts.map +1 -1
- package/esm/src/react/components/ui/progress-bar.js +1 -1
- package/esm/src/react/components/ui/radio.d.ts +1 -1
- package/esm/src/react/components/ui/radio.d.ts.map +1 -1
- package/esm/src/react/components/ui/radio.js +1 -1
- package/esm/src/react/components/ui/scroll-fade.d.ts +1 -1
- package/esm/src/react/components/ui/scroll-fade.d.ts.map +1 -1
- package/esm/src/react/components/ui/scroll-fade.js +1 -1
- package/esm/src/react/components/ui/select.d.ts +1 -1
- package/esm/src/react/components/ui/select.d.ts.map +1 -1
- package/esm/src/react/components/ui/select.js +1 -1
- package/esm/src/react/components/ui/shimmer.d.ts +1 -1
- package/esm/src/react/components/ui/shimmer.d.ts.map +1 -1
- package/esm/src/react/components/ui/shimmer.js +1 -1
- package/esm/src/react/components/ui/skeleton.d.ts +1 -1
- package/esm/src/react/components/ui/skeleton.d.ts.map +1 -1
- package/esm/src/react/components/ui/skeleton.js +1 -1
- package/esm/src/react/components/ui/slot.d.ts +1 -1
- package/esm/src/react/components/ui/slot.d.ts.map +1 -1
- package/esm/src/react/components/ui/slot.js +1 -1
- package/esm/src/react/components/ui/status.d.ts +1 -1
- package/esm/src/react/components/ui/status.d.ts.map +1 -1
- package/esm/src/react/components/ui/status.js +1 -1
- package/esm/src/react/components/ui/switch.d.ts +1 -1
- package/esm/src/react/components/ui/switch.d.ts.map +1 -1
- package/esm/src/react/components/ui/switch.js +1 -1
- package/esm/src/react/components/ui/tabs.d.ts +3 -3
- package/esm/src/react/components/ui/tabs.d.ts.map +1 -1
- package/esm/src/react/components/ui/tabs.js +1 -1
- package/esm/src/react/components/ui/tag.d.ts +1 -1
- package/esm/src/react/components/ui/tag.d.ts.map +1 -1
- package/esm/src/react/components/ui/tag.js +1 -1
- package/esm/src/react/components/ui/textarea.d.ts +1 -1
- package/esm/src/react/components/ui/textarea.d.ts.map +1 -1
- package/esm/src/react/components/ui/textarea.js +1 -1
- package/esm/src/react/components/ui/tokens.d.ts +1 -1
- package/esm/src/react/components/ui/tokens.d.ts.map +1 -1
- package/esm/src/react/components/ui/tokens.js +1 -1
- package/esm/src/react/components/ui/tooltip.d.ts +1 -1
- package/esm/src/react/components/ui/tooltip.d.ts.map +1 -1
- package/esm/src/react/components/ui/tooltip.js +2 -2
- package/esm/src/react/fonts/index.d.ts +1 -1
- package/esm/src/react/fonts/index.d.ts.map +1 -1
- package/esm/src/react/fonts/index.js +1 -1
- package/esm/src/react/primitives/agent-primitives.d.ts +4 -4
- package/esm/src/react/primitives/agent-primitives.d.ts.map +1 -1
- package/esm/src/react/primitives/agent-primitives.js +1 -1
- package/esm/src/react/primitives/chat-container.d.ts +2 -2
- package/esm/src/react/primitives/chat-container.d.ts.map +1 -1
- package/esm/src/react/primitives/chat-container.js +1 -1
- package/esm/src/react/primitives/input-box.d.ts +4 -4
- package/esm/src/react/primitives/input-box.d.ts.map +1 -1
- package/esm/src/react/primitives/input-box.js +1 -1
- package/esm/src/react/primitives/message-list.d.ts +5 -5
- package/esm/src/react/primitives/message-list.d.ts.map +1 -1
- package/esm/src/react/primitives/message-list.js +1 -1
- package/esm/src/react/primitives/tool-primitives.d.ts +4 -4
- package/esm/src/react/primitives/tool-primitives.d.ts.map +1 -1
- package/esm/src/react/primitives/tool-primitives.js +1 -1
- package/esm/src/react/runtime/core.d.ts +1 -1
- package/esm/src/react/runtime/core.d.ts.map +1 -1
- package/esm/src/react/runtime/core.js +1 -1
- package/esm/src/rendering/app-reserved.d.ts +1 -1
- package/esm/src/rendering/app-reserved.d.ts.map +1 -1
- package/esm/src/rendering/app-reserved.js +1 -1
- package/esm/src/rendering/component-handling.d.ts +1 -1
- package/esm/src/rendering/component-handling.d.ts.map +1 -1
- package/esm/src/rendering/element-validator/element-normalizer.d.ts +1 -1
- package/esm/src/rendering/element-validator/element-normalizer.d.ts.map +1 -1
- package/esm/src/rendering/element-validator/element-normalizer.js +1 -1
- package/esm/src/rendering/element-validator/primitive-checks.d.ts +1 -1
- package/esm/src/rendering/element-validator/primitive-checks.d.ts.map +1 -1
- package/esm/src/rendering/element-validator/primitive-checks.js +1 -1
- package/esm/src/rendering/element-validator/validator-core.d.ts +1 -1
- package/esm/src/rendering/element-validator/validator-core.d.ts.map +1 -1
- package/esm/src/rendering/layouts/layout-applicator.d.ts +1 -1
- package/esm/src/rendering/layouts/layout-applicator.d.ts.map +1 -1
- package/esm/src/rendering/layouts/utils/applicator.d.ts +1 -1
- package/esm/src/rendering/layouts/utils/applicator.d.ts.map +1 -1
- package/esm/src/rendering/layouts/utils/component-loader.d.ts +1 -1
- package/esm/src/rendering/layouts/utils/component-loader.d.ts.map +1 -1
- package/esm/src/rendering/layouts/utils/ensure-valid-child.d.ts +1 -1
- package/esm/src/rendering/layouts/utils/ensure-valid-child.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/layout.d.ts +1 -1
- package/esm/src/rendering/orchestrator/layout.d.ts.map +1 -1
- package/esm/src/rendering/orchestrator/ssr-orchestrator.d.ts +1 -1
- package/esm/src/rendering/orchestrator/ssr-orchestrator.d.ts.map +1 -1
- package/esm/src/rendering/page-renderer.d.ts +1 -1
- package/esm/src/rendering/page-renderer.d.ts.map +1 -1
- package/esm/src/rendering/page-rendering.d.ts +1 -1
- package/esm/src/rendering/page-rendering.d.ts.map +1 -1
- package/esm/src/rendering/rsc/server-renderer/component-detector.d.ts +1 -1
- package/esm/src/rendering/rsc/server-renderer/component-detector.d.ts.map +1 -1
- package/esm/src/rendering/rsc/server-renderer/rsc-renderer.d.ts +1 -1
- package/esm/src/rendering/rsc/server-renderer/rsc-renderer.d.ts.map +1 -1
- package/esm/src/rendering/rsc/server-renderer/tree-processor.d.ts +1 -1
- package/esm/src/rendering/rsc/server-renderer/tree-processor.d.ts.map +1 -1
- package/esm/src/rendering/rsc/server-renderer/tree-processor.js +1 -1
- package/esm/src/rendering/snippet-renderer.js +2 -2
- package/esm/src/rendering/ssr/component-registry.d.ts +1 -1
- package/esm/src/rendering/ssr/component-registry.d.ts.map +1 -1
- package/esm/src/rendering/ssr/component-registry.js +1 -1
- package/esm/src/rendering/ssr/mdx-renderer.d.ts +1 -1
- package/esm/src/rendering/ssr/mdx-renderer.d.ts.map +1 -1
- package/esm/src/rendering/ssr/mdx-renderer.js +1 -1
- package/esm/src/rendering/ssr/types.d.ts +1 -1
- package/esm/src/rendering/ssr/types.d.ts.map +1 -1
- package/esm/src/rendering/ssr-renderer.d.ts +1 -1
- package/esm/src/rendering/ssr-renderer.d.ts.map +1 -1
- package/esm/src/rendering/utils/react-helpers.d.ts +1 -1
- package/esm/src/rendering/utils/react-helpers.d.ts.map +1 -1
- package/esm/src/rendering/utils/react-helpers.js +1 -1
- package/esm/src/security/http/base-handler.d.ts +2 -0
- package/esm/src/security/http/base-handler.d.ts.map +1 -1
- package/esm/src/security/http/base-handler.js +1 -0
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +841 -596
- package/esm/src/server/handlers/request/agent-stream.handler.d.ts.map +1 -1
- package/esm/src/server/handlers/request/agent-stream.handler.js +4 -1
- package/esm/src/transforms/mdx/esm-module-loader/components/resolver.d.ts +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/components/resolver.d.ts.map +1 -1
- package/esm/src/transforms/mdx/esm-module-loader/jsx/runtime-loader.js +1 -1
- package/esm/src/transforms/mdx/index.d.ts +1 -1
- package/esm/src/transforms/mdx/index.d.ts.map +1 -1
- package/esm/src/transforms/mdx/index.js +1 -1
- package/esm/src/transforms/mdx/mdx-cache-adapter.js +1 -1
- package/esm/src/transforms/mdx/module-loader/types.d.ts +1 -1
- package/esm/src/transforms/mdx/module-loader/types.d.ts.map +1 -1
- package/esm/src/transforms/mdx/types.d.ts +2 -2
- package/esm/src/transforms/mdx/types.d.ts.map +1 -1
- package/esm/src/types/app.d.ts +1 -1
- package/esm/src/types/app.d.ts.map +1 -1
- package/esm/src/types/global-guards.d.ts +1 -1
- package/esm/src/types/global-guards.d.ts.map +1 -1
- package/esm/src/types/index.d.ts +1 -1
- package/esm/src/types/index.d.ts.map +1 -1
- package/esm/src/utils/id.d.ts +7 -0
- package/esm/src/utils/id.d.ts.map +1 -1
- package/esm/src/utils/id.js +22 -0
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/workflow/claude-code/react/use-claude-code-stream.js +1 -1
- package/esm/src/workflow/claude-code/react/use-claude-code-websocket.js +1 -1
- package/esm/src/workflow/react/use-approval.js +1 -1
- package/esm/src/workflow/react/use-workflow-list.js +1 -1
- package/esm/src/workflow/react/use-workflow-start.js +1 -1
- package/esm/src/workflow/react/use-workflow.js +1 -1
- package/package.json +4 -5
- package/esm/deps/esm.sh/react-dom@19.2.4/client.d.ts +0 -3
- package/esm/deps/esm.sh/react-dom@19.2.4/client.d.ts.map +0 -1
- package/esm/deps/esm.sh/react-dom@19.2.4/client.js +0 -3
- package/esm/deps/esm.sh/react-dom@19.2.4/server.d.ts +0 -3
- package/esm/deps/esm.sh/react-dom@19.2.4/server.d.ts.map +0 -1
- package/esm/deps/esm.sh/react-dom@19.2.4/server.js +0 -3
- package/esm/deps/esm.sh/react-dom@19.2.4.d.ts +0 -3
- package/esm/deps/esm.sh/react-dom@19.2.4.d.ts.map +0 -1
- package/esm/deps/esm.sh/react-dom@19.2.4.js +0 -3
- package/esm/deps/esm.sh/react@19.2.4/jsx-dev-runtime.d.ts +0 -3
- package/esm/deps/esm.sh/react@19.2.4/jsx-dev-runtime.d.ts.map +0 -1
- package/esm/deps/esm.sh/react@19.2.4/jsx-dev-runtime.js +0 -3
- package/esm/deps/esm.sh/react@19.2.4/jsx-runtime.d.ts +0 -3
- package/esm/deps/esm.sh/react@19.2.4/jsx-runtime.d.ts.map +0 -1
- package/esm/deps/esm.sh/react@19.2.4/jsx-runtime.js +0 -3
- package/esm/deps/esm.sh/react@19.2.4.d.ts +0 -3
- package/esm/deps/esm.sh/react@19.2.4.d.ts.map +0 -1
- package/esm/deps/esm.sh/react@19.2.4.js +0 -3
- package/esm/deps/esm.sh/scheduler@^0.27.0.d.ts +0 -3
- package/esm/deps/esm.sh/scheduler@^0.27.0.d.ts.map +0 -1
- package/esm/deps/esm.sh/scheduler@^0.27.0.js +0 -3
- package/esm/react/jsx-dev-runtime.d.ts +0 -2
- package/esm/react/jsx-dev-runtime.d.ts.map +0 -1
- package/esm/react/jsx-dev-runtime.js +0 -1
- package/esm/react/jsx-runtime.d.ts +0 -2
- package/esm/react/jsx-runtime.d.ts.map +0 -1
- package/esm/react/jsx-runtime.js +0 -1
- package/esm/react/react-dom-client.d.ts +0 -3
- package/esm/react/react-dom-client.d.ts.map +0 -1
- package/esm/react/react-dom-client.js +0 -2
- package/esm/react/react-dom-server.d.ts +0 -3
- package/esm/react/react-dom-server.d.ts.map +0 -1
- package/esm/react/react-dom-server.js +0 -2
- package/esm/react/react-dom.d.ts +0 -3
- package/esm/react/react-dom.d.ts.map +0 -1
- package/esm/react/react-dom.js +0 -2
- package/esm/react/react.d.ts +0 -6
- package/esm/react/react.d.ts.map +0 -1
- package/esm/react/react.js +0 -7
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @module react/components/chat/components/skill-tool
|
|
13
13
|
*/
|
|
14
|
-
import * as React from "
|
|
14
|
+
import * as React from "react";
|
|
15
15
|
import { cn } from "../../theme.js";
|
|
16
16
|
import { cva } from "../../../ui/cva.js";
|
|
17
17
|
import { Shimmer } from "../../../ui/shimmer.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
/** Public API contract for source. */
|
|
3
3
|
export interface Source {
|
|
4
4
|
title: string;
|
|
@@ -18,28 +18,38 @@ export interface SourcesProps {
|
|
|
18
18
|
sources: Source[];
|
|
19
19
|
className?: string;
|
|
20
20
|
onSourceClick?: (source: Source, index: number) => void;
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
renderPill?: (source: Source, index: number) => React.ReactNode;
|
|
21
|
+
/** Render each source yourself instead of using `Sources.Pill`. */
|
|
22
|
+
renderItem?: (options: {
|
|
23
|
+
item: Source;
|
|
24
|
+
index: number;
|
|
25
|
+
}) => React.ReactNode;
|
|
27
26
|
/** Compose your own row; when omitted, the default anatomy is rendered. */
|
|
28
27
|
children?: React.ReactNode;
|
|
28
|
+
/** React 19: `ref` is a regular prop, forwarded to the row wrapper. */
|
|
29
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* `Sources.Root` — context provider + the row wrapper. No children renders the
|
|
33
|
+
* default anatomy (`List` of `Pill`s); pass children to recompose. Renders
|
|
34
|
+
* nothing when the source list is empty.
|
|
35
|
+
*/
|
|
36
|
+
declare function SourcesRoot({ sources, className, onSourceClick, renderItem, children, ref }: SourcesProps): React.ReactElement | null;
|
|
37
|
+
declare namespace SourcesRoot {
|
|
38
|
+
var displayName: string;
|
|
29
39
|
}
|
|
30
40
|
/** Props for `Sources.List` — the flex-wrap row of pills. */
|
|
31
41
|
export interface SourcesListProps {
|
|
32
42
|
className?: string;
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
43
|
+
/** Render each source yourself instead of using `Sources.Pill`. */
|
|
44
|
+
renderItem?: (options: {
|
|
45
|
+
item: Source;
|
|
46
|
+
index: number;
|
|
47
|
+
}) => React.ReactNode;
|
|
38
48
|
/** Compose your own pills; when omitted, one `Sources.Pill` per source. */
|
|
39
49
|
children?: React.ReactNode;
|
|
40
50
|
}
|
|
41
51
|
/** The flex-wrap row. Renders one `Sources.Pill` per source by default. */
|
|
42
|
-
declare function SourcesList({ className,
|
|
52
|
+
declare function SourcesList({ className, renderItem, children }: SourcesListProps): React.JSX.Element;
|
|
43
53
|
declare namespace SourcesList {
|
|
44
54
|
var displayName: string;
|
|
45
55
|
}
|
|
@@ -60,8 +70,8 @@ export declare namespace SourcePill {
|
|
|
60
70
|
* `Sources.Root` + `Sources.List` + `Sources.Pill` for a custom layout.
|
|
61
71
|
* Mirrors the `ToolCall` / `Reasoning` compounds: render it, or compose it.
|
|
62
72
|
*/
|
|
63
|
-
export declare const Sources:
|
|
64
|
-
Root:
|
|
73
|
+
export declare const Sources: typeof SourcesRoot & {
|
|
74
|
+
Root: typeof SourcesRoot;
|
|
65
75
|
List: typeof SourcesList;
|
|
66
76
|
Pill: typeof SourcePill;
|
|
67
77
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/sources.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/sources.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA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IACnE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3E,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,2EAA2E;AAC3E,iBAAS,WAAW,CAClB,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,gBAAgB,GACpD,KAAK,CAAC,GAAG,CAAC,OAAO,CAsBnB;kBAxBQ,WAAW;;;AA2BpB,mDAAmD;AACnD,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,gFAAgF;AAChF,wBAAgB,UAAU,CACxB,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,eAAe,GACrD,KAAK,CAAC,YAAY,CAkDpB;yBApDe,UAAU;;;AAuD1B;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;;CAIlB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { cn } from "../../theme.js";
|
|
3
3
|
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
4
4
|
const SourcesContext = React.createContext(null);
|
|
@@ -17,19 +17,19 @@ export function useSources() {
|
|
|
17
17
|
* default anatomy (`List` of `Pill`s); pass children to recompose. Renders
|
|
18
18
|
* nothing when the source list is empty.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
function SourcesRoot({ sources, className, onSourceClick, renderItem, children, ref }) {
|
|
21
21
|
if (sources.length === 0)
|
|
22
22
|
return null;
|
|
23
23
|
const context = { sources, onSourceClick };
|
|
24
24
|
return (React.createElement(SourcesContext.Provider, { value: context },
|
|
25
|
-
React.createElement("div", { ref: ref, className: cn("mt-1", className) }, children ?? React.createElement(SourcesList, {
|
|
26
|
-
}
|
|
25
|
+
React.createElement("div", { ref: ref, className: cn("mt-1", className) }, children ?? React.createElement(SourcesList, { renderItem: renderItem }))));
|
|
26
|
+
}
|
|
27
27
|
SourcesRoot.displayName = "Sources.Root";
|
|
28
28
|
/** The flex-wrap row. Renders one `Sources.Pill` per source by default. */
|
|
29
|
-
function SourcesList({ className,
|
|
29
|
+
function SourcesList({ className, renderItem, children }) {
|
|
30
30
|
const { sources, onSourceClick } = useSources();
|
|
31
|
-
return (React.createElement("div", { className: cn("flex flex-wrap gap-2", className) }, children ?? sources.map((source, index) =>
|
|
32
|
-
? (React.createElement(React.Fragment, { key: `${source.title}-${index}` },
|
|
31
|
+
return (React.createElement("div", { className: cn("flex flex-wrap gap-2", className) }, children ?? sources.map((source, index) => renderItem
|
|
32
|
+
? (React.createElement(React.Fragment, { key: `${source.title}-${index}` }, renderItem({ item: source, index })))
|
|
33
33
|
: (React.createElement(SourcePill, { key: `${source.title}-${index}`, source: source, index: index, onClick: onSourceClick ? () => onSourceClick(source, index) : undefined })))));
|
|
34
34
|
}
|
|
35
35
|
SourcesList.displayName = "Sources.List";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
/** Props accepted by step indicator. */
|
|
3
3
|
export interface StepIndicatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "className"> {
|
|
4
4
|
stepIndex: number;
|
|
@@ -8,6 +8,8 @@ export interface StepIndicatorProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
8
8
|
icon?: React.ReactNode;
|
|
9
9
|
/** Compose your own divider; when omitted, the default anatomy is rendered. */
|
|
10
10
|
children?: React.ReactNode;
|
|
11
|
+
/** React 19: ref is a regular prop. */
|
|
12
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
11
13
|
}
|
|
12
14
|
/** Per-indicator state shared with `StepIndicator.*` sub-parts. */
|
|
13
15
|
export interface StepIndicatorContextValue {
|
|
@@ -21,6 +23,15 @@ export interface StepIndicatorContextValue {
|
|
|
21
23
|
* `StepIndicator`.
|
|
22
24
|
*/
|
|
23
25
|
export declare function useStepIndicator(): StepIndicatorContextValue;
|
|
26
|
+
/**
|
|
27
|
+
* `StepIndicator.Root` — context provider + the flex container. No children
|
|
28
|
+
* renders the default anatomy (`Rule` + `Label` + `Rule`); pass children to
|
|
29
|
+
* recompose.
|
|
30
|
+
*/
|
|
31
|
+
declare function StepIndicatorRoot({ stepIndex, isComplete, className, icon, children, ref, ...props }: StepIndicatorProps): React.ReactElement;
|
|
32
|
+
declare namespace StepIndicatorRoot {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
24
35
|
/** `StepIndicator.Rule` — one of the flanking horizontal rules. */
|
|
25
36
|
declare function StepIndicatorRule({ className }: {
|
|
26
37
|
className?: string;
|
|
@@ -40,8 +51,8 @@ declare namespace StepIndicatorLabel {
|
|
|
40
51
|
* default divider, or compose `StepIndicator.Root` + `.Rule` / `.Label` for a
|
|
41
52
|
* custom layout. Mirrors the `ToolCall` / `Sources` compounds.
|
|
42
53
|
*/
|
|
43
|
-
export declare const StepIndicator:
|
|
44
|
-
Root:
|
|
54
|
+
export declare const StepIndicator: typeof StepIndicatorRoot & {
|
|
55
|
+
Root: typeof StepIndicatorRoot;
|
|
45
56
|
Rule: typeof StepIndicatorRule;
|
|
46
57
|
Label: typeof StepIndicatorLabel;
|
|
47
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-indicator.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/step-indicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"step-indicator.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/step-indicator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AO,CAenB;kBAjBQ,kBAAkB;;;AAoB3B;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;CAIxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from "
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { cn } from "../../theme.js";
|
|
3
3
|
import { CheckCircleIcon } from "../../../ui/icons/index.js";
|
|
4
4
|
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
@@ -21,14 +21,14 @@ export function useStepIndicator() {
|
|
|
21
21
|
* renders the default anatomy (`Rule` + `Label` + `Rule`); pass children to
|
|
22
22
|
* recompose.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
function StepIndicatorRoot({ stepIndex, isComplete, className, icon, children, ref, ...props }) {
|
|
25
25
|
const context = { stepIndex, isComplete, icon };
|
|
26
26
|
return (React.createElement(StepIndicatorContext.Provider, { value: context },
|
|
27
27
|
React.createElement("div", { ...props, ref: ref, className: cn("flex items-center gap-3 py-3 text-xs text-[var(--faint)]", className) }, children ?? (React.createElement(React.Fragment, null,
|
|
28
28
|
React.createElement(StepIndicatorRule, null),
|
|
29
29
|
React.createElement(StepIndicatorLabel, null),
|
|
30
30
|
React.createElement(StepIndicatorRule, null))))));
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
32
|
StepIndicatorRoot.displayName = "StepIndicator.Root";
|
|
33
33
|
/** `StepIndicator.Rule` — one of the flanking horizontal rules. */
|
|
34
34
|
function StepIndicatorRule({ className }) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* spring-like cubic-bezier easing to approximate Studio's motion.div.
|
|
6
6
|
* WAI-ARIA tabs pattern with keyboard navigation.
|
|
7
7
|
*/
|
|
8
|
-
import * as React from "
|
|
8
|
+
import * as React from "react";
|
|
9
9
|
/** Public API contract for chat tab. */
|
|
10
10
|
export type ChatTab = "chat" | "attachments";
|
|
11
11
|
/** Props accepted by tab switcher. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-switcher.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/tab-switcher.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"tab-switcher.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/tab-switcher.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,wCAAwC;AACxC,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC;AAE7C,sCAAsC;AACtC,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,2BAA2B;AAC3B,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,WAAW,EACX,SAAS,GACV,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAwCvC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* spring-like cubic-bezier easing to approximate Studio's motion.div.
|
|
6
6
|
* WAI-ARIA tabs pattern with keyboard navigation.
|
|
7
7
|
*/
|
|
8
|
-
import * as React from "
|
|
8
|
+
import * as React from "react";
|
|
9
9
|
import { cn } from "../../theme.js";
|
|
10
10
|
const TABS = [
|
|
11
11
|
{ value: "chat", label: "Chat" },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tool UI Components
|
|
3
3
|
* @module react/components/chat/components/tool-ui
|
|
4
4
|
*/
|
|
5
|
-
import * as React from "
|
|
5
|
+
import * as React from "react";
|
|
6
6
|
import type { ChatDynamicToolPart, ChatToolPart } from "../../../../../agent/react/index.js";
|
|
7
7
|
/** Render tool status badge. */
|
|
8
8
|
export declare function ToolStatusBadge({ state, className }: {
|
|
@@ -29,7 +29,7 @@ export interface ToolCallContextValue {
|
|
|
29
29
|
}
|
|
30
30
|
/** Read the enclosing `ToolCall` state. Throws when used outside a `ToolCall`. */
|
|
31
31
|
export declare function useToolCall(): ToolCallContextValue;
|
|
32
|
-
/** Props accepted by `ToolCall` / `ToolCall.Root
|
|
32
|
+
/** Props accepted by `ToolCall` / `ToolCall.Root`. */
|
|
33
33
|
export interface ToolCallProps {
|
|
34
34
|
tool: ChatToolPart | ChatDynamicToolPart;
|
|
35
35
|
className?: string;
|
|
@@ -45,10 +45,19 @@ export interface ToolCallProps {
|
|
|
45
45
|
defaultExpanded?: boolean;
|
|
46
46
|
/** Called when the card is toggled; receives the next state + event. */
|
|
47
47
|
onToggle?: (next: boolean, e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
48
|
-
/**
|
|
49
|
-
renderSkill?: (tool: ChatToolPart | ChatDynamicToolPart) => React.ReactNode;
|
|
50
|
-
/** Compose your own card; when omitted, the default anatomy is rendered. */
|
|
48
|
+
/** Compose your own card or replace the compact row. */
|
|
51
49
|
children?: React.ReactNode;
|
|
50
|
+
/** React 19: ref is a regular prop. */
|
|
51
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* `ToolCall.Root` — context provider + the card wrapper. No children renders
|
|
55
|
+
* the default anatomy (`Trigger` + `Body`); pass children to recompose. Skill /
|
|
56
|
+
* compact tools render a single-line row by default and accept replacement children.
|
|
57
|
+
*/
|
|
58
|
+
declare function ToolCallRoot({ tool, className, icon, variant, defaultExpanded, onToggle, children, ref }: ToolCallProps): React.ReactElement;
|
|
59
|
+
declare namespace ToolCallRoot {
|
|
60
|
+
var displayName: string;
|
|
52
61
|
}
|
|
53
62
|
/** Props for `ToolCall.Trigger` — the header button. */
|
|
54
63
|
export interface ToolCallTriggerProps {
|
|
@@ -97,15 +106,13 @@ declare namespace ToolCallError {
|
|
|
97
106
|
* `ToolCall.Trigger` / `Body` / `Input` / `Output` / `Error` for a custom
|
|
98
107
|
* layout. Mirrors the `Message` compound: render it, or compose it.
|
|
99
108
|
*/
|
|
100
|
-
export declare const ToolCall:
|
|
101
|
-
Root:
|
|
109
|
+
export declare const ToolCall: typeof ToolCallRoot & {
|
|
110
|
+
Root: typeof ToolCallRoot;
|
|
102
111
|
Trigger: typeof ToolCallTrigger;
|
|
103
112
|
Body: typeof ToolCallBody;
|
|
104
113
|
Input: typeof ToolCallInput;
|
|
105
114
|
Output: typeof ToolCallOutput;
|
|
106
115
|
Error: typeof ToolCallError;
|
|
107
116
|
};
|
|
108
|
-
/** Back-compat alias — `message.tsx` and others import `ToolCallCard`. */
|
|
109
|
-
export declare const ToolCallCard: React.ForwardRefExoticComponent<ToolCallProps & React.RefAttributes<HTMLDivElement>>;
|
|
110
117
|
export {};
|
|
111
118
|
//# sourceMappingURL=tool-ui.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-ui.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/tool-ui.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"tool-ui.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/tool-ui.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAyD7F,gCAAgC;AAChC,wBAAgB,eAAe,CAC7B,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1D,KAAK,CAAC,GAAG,CAAC,OAAO,CAcnB;AA+FD;;;;;;;;;GASG;AAYH,yDAAyD;AACzD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,YAA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|
5
|
+
import * as React from "react";
|
|
6
6
|
import { cn } from "../../theme.js";
|
|
7
7
|
import { CheckCircleIcon, ChevronDownIcon, CircleIcon, ClockIcon, WrenchIcon, XCircleIcon, } from "../../../ui/icons/index.js";
|
|
8
8
|
import { Alert, AlertContent, AlertIcon } from "../../../ui/alert.js";
|
|
@@ -124,9 +124,9 @@ export function useToolCall() {
|
|
|
124
124
|
/**
|
|
125
125
|
* `ToolCall.Root` — context provider + the card wrapper. No children renders
|
|
126
126
|
* the default anatomy (`Trigger` + `Body`); pass children to recompose. Skill /
|
|
127
|
-
* compact tools
|
|
127
|
+
* compact tools render a single-line row by default and accept replacement children.
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
function ToolCallRoot({ tool, className, icon, variant, defaultExpanded, onToggle, children, ref }) {
|
|
130
130
|
const hasOutput = hasVisibleToolOutput(tool.output);
|
|
131
131
|
const hasError = Boolean(tool.errorText);
|
|
132
132
|
// Collapse tool cards by default. Fast server-side tools (e.g.
|
|
@@ -136,14 +136,6 @@ const ToolCallRoot = React.forwardRef(function ToolCall({ tool, className, icon,
|
|
|
136
136
|
// Errors stay open so failures aren't hidden behind a click.
|
|
137
137
|
const shouldExpandByDefault = hasError;
|
|
138
138
|
const [isExpanded, setIsExpanded] = React.useState(defaultExpanded ?? shouldExpandByDefault);
|
|
139
|
-
// Compact row for skill tools (or when forced) — a presentation variant.
|
|
140
|
-
const isCompact = variant === "compact" ||
|
|
141
|
-
(variant !== "card" && isSkillToolPart(tool));
|
|
142
|
-
if (isCompact) {
|
|
143
|
-
if (renderSkill)
|
|
144
|
-
return React.createElement(React.Fragment, null, renderSkill(tool));
|
|
145
|
-
return React.createElement(SkillTool, { ...getSkillToolProps(tool) });
|
|
146
|
-
}
|
|
147
139
|
const toggle = (e) => {
|
|
148
140
|
const next = !isExpanded;
|
|
149
141
|
setIsExpanded(next);
|
|
@@ -156,11 +148,17 @@ const ToolCallRoot = React.forwardRef(function ToolCall({ tool, className, icon,
|
|
|
156
148
|
hasOutput,
|
|
157
149
|
hasError,
|
|
158
150
|
};
|
|
151
|
+
// Compact row for skill tools (or when forced), a presentation variant.
|
|
152
|
+
const isCompact = variant === "compact" ||
|
|
153
|
+
(variant !== "card" && isSkillToolPart(tool));
|
|
154
|
+
if (isCompact) {
|
|
155
|
+
return (React.createElement(ToolCallContext.Provider, { value: context }, children ?? React.createElement(SkillTool, { ...getSkillToolProps(tool) })));
|
|
156
|
+
}
|
|
159
157
|
return (React.createElement(ToolCallContext.Provider, { value: context },
|
|
160
158
|
React.createElement("div", { ref: ref, className: cn("not-prose w-full overflow-hidden rounded-[var(--radius-md)] border border-[var(--outline-border)] bg-transparent px-4 py-2.5", className) }, children ?? (React.createElement(React.Fragment, null,
|
|
161
159
|
React.createElement(ToolCallTrigger, { icon: icon }),
|
|
162
160
|
React.createElement(ToolCallBody, null))))));
|
|
163
|
-
}
|
|
161
|
+
}
|
|
164
162
|
ToolCallRoot.displayName = "ToolCall.Root";
|
|
165
163
|
/** The header row: tool icon + name + status badge + expand chevron. */
|
|
166
164
|
function ToolCallTrigger({ icon, className }) {
|
|
@@ -230,5 +228,3 @@ export const ToolCall = Object.assign(ToolCallRoot, {
|
|
|
230
228
|
Output: ToolCallOutput,
|
|
231
229
|
Error: ToolCallError,
|
|
232
230
|
});
|
|
233
|
-
/** Back-compat alias — `message.tsx` and others import `ToolCallCard`. */
|
|
234
|
-
export const ToolCallCard = ToolCallRoot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-avatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/agent-avatar.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"agent-avatar.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/agent-avatar.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,sCAAsC;AACtC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,yFAAyF;AACzF,wBAAgB,WAAW,CACzB,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,GACtD,KAAK,CAAC,YAAY,CA4BpB"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module react/components/chat/composition/agent-avatar
|
|
5
5
|
*/
|
|
6
|
-
import * as React from "
|
|
6
|
+
import * as React from "react";
|
|
7
7
|
import { cn } from "../../theme.js";
|
|
8
8
|
import { ModelAvatar } from "./model-avatar.js";
|
|
9
9
|
function getInitial(name) {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* @module react/components/chat/composition/api
|
|
5
5
|
*/
|
|
6
6
|
export { ChatRoot, type ChatRootProps } from "./chat-root.js";
|
|
7
|
-
export { ChatMessageList, type ChatMessageListProps } from "./chat-message-list.js";
|
|
8
|
-
export { ChatInput, type ChatInputProps } from "./chat-composer.js";
|
|
7
|
+
export { ChatMessageList, type ChatMessageListContentProps, type ChatMessageListProps, } from "./chat-message-list.js";
|
|
8
|
+
export { ChatInput, type ChatInputExportProps, type ChatInputProps } from "./chat-composer.js";
|
|
9
9
|
export { ChatEmpty, type ChatEmptyProps } from "./chat-empty.js";
|
|
10
10
|
export { ChatEmptyState, type ChatEmptyStateAvatarProps, type ChatEmptyStateHeadingProps, type ChatEmptyStateRootProps, type ChatEmptyStateSuggestionProps, type ChatEmptyStateSuggestionsProps, } from "./chat-empty-state.js";
|
|
11
11
|
export { ChatIf, type ChatIfProps } from "./chat-if.js";
|
|
@@ -13,5 +13,5 @@ export { AgentAvatar, type AgentAvatarProps } from "./agent-avatar.js";
|
|
|
13
13
|
export { ModelAvatar, type ModelAvatarProps } from "./model-avatar.js";
|
|
14
14
|
export { ErrorBanner, type ErrorBannerProps } from "./error-banner.js";
|
|
15
15
|
export { PendingMessage, type PendingMessageProps } from "./pending-message.js";
|
|
16
|
-
export { Message, type MessageProps, type MessageRootProps } from "./message.js";
|
|
16
|
+
export { Message, type MessageProps, type MessageRootProps, type MessageTokensProps, type TokenRowProps, } from "./message.js";
|
|
17
17
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/api.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/api.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,cAAc,EACd,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAClC,KAAK,8BAA8B,GACpC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhF,OAAO,EACL,OAAO,EACP,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,aAAa,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
// Root / Layout
|
|
7
7
|
export { ChatRoot } from "./chat-root.js";
|
|
8
|
-
export { ChatMessageList } from "./chat-message-list.js";
|
|
8
|
+
export { ChatMessageList, } from "./chat-message-list.js";
|
|
9
9
|
export { ChatInput } from "./chat-composer.js";
|
|
10
10
|
export { ChatEmpty } from "./chat-empty.js";
|
|
11
11
|
export { ChatEmptyState, } from "./chat-empty-state.js";
|
|
@@ -15,4 +15,4 @@ export { ModelAvatar } from "./model-avatar.js";
|
|
|
15
15
|
export { ErrorBanner } from "./error-banner.js";
|
|
16
16
|
export { PendingMessage } from "./pending-message.js";
|
|
17
17
|
// Message — render-or-compose (`<Message />` or `Message.Root` + parts)
|
|
18
|
-
export { Message } from "./message.js";
|
|
18
|
+
export { Message, } from "./message.js";
|
|
@@ -4,26 +4,17 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Render-or-compose: `<ChatInput … />` renders the batteries-included toolbar,
|
|
6
6
|
* or compose your own from the sub-parts (`ChatInput.Field`, `ChatInput.Send`,
|
|
7
|
-
* `ChatInput.Stop`, `ChatInput.Voice`, `ChatInput.Model`, `ChatInput.Attach
|
|
8
|
-
* each reads its state/handlers from
|
|
9
|
-
*
|
|
10
|
-
* `onClick(e, next)` wrap-signature.
|
|
7
|
+
* `ChatInput.Stop`, `ChatInput.Voice`, `ChatInput.Model`, `ChatInput.Attach`,
|
|
8
|
+
* `ChatInput.Export`): each reads its state/handlers from
|
|
9
|
+
* `useComposerContext`, which `ChatInput` provides.
|
|
11
10
|
*
|
|
12
11
|
* @module react/components/chat/composition/chat-composer
|
|
13
12
|
*/
|
|
14
|
-
import * as React from "
|
|
13
|
+
import * as React from "react";
|
|
15
14
|
import { type ModelOption } from "../../model-selector.js";
|
|
16
15
|
import type { ChatTheme } from "../../theme.js";
|
|
17
16
|
import type { AttachmentInfo } from "../components/attachment-pill.js";
|
|
18
17
|
import type { ChatMessage } from "../../../../../agent/react/index.js";
|
|
19
|
-
/** Icon overrides for the batteries-included `ChatInput` toolbar. */
|
|
20
|
-
export interface ChatInputIcons {
|
|
21
|
-
send?: React.ReactNode;
|
|
22
|
-
attach?: React.ReactNode;
|
|
23
|
-
voice?: React.ReactNode;
|
|
24
|
-
stop?: React.ReactNode;
|
|
25
|
-
export?: React.ReactNode;
|
|
26
|
-
}
|
|
27
18
|
/** Wrap-signature onClick shared by the interactive `ChatInput` sub-parts. */
|
|
28
19
|
type WrapClick = (event: React.MouseEvent<HTMLElement>, next: () => void) => void;
|
|
29
20
|
/** Props accepted by `<ChatInput.Field>`. */
|
|
@@ -40,13 +31,24 @@ export interface ChatInputActionProps {
|
|
|
40
31
|
className?: string;
|
|
41
32
|
asChild?: boolean;
|
|
42
33
|
onClick?: WrapClick;
|
|
34
|
+
/** React 19: ref is a regular prop. */
|
|
35
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
43
36
|
}
|
|
44
37
|
/** Send button — shows when there is input (and not streaming). */
|
|
45
|
-
export declare
|
|
38
|
+
export declare function ChatInputSend({ icon, className, asChild, onClick, ref }: ChatInputActionProps): React.ReactElement | null;
|
|
39
|
+
export declare namespace ChatInputSend {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
46
42
|
/** Stop button — shows while streaming. */
|
|
47
|
-
export declare
|
|
43
|
+
export declare function ChatInputStop({ icon, className, asChild, onClick, ref }: ChatInputActionProps): React.ReactElement | null;
|
|
44
|
+
export declare namespace ChatInputStop {
|
|
45
|
+
var displayName: string;
|
|
46
|
+
}
|
|
48
47
|
/** Voice button — shows when the field is empty and voice is available. */
|
|
49
|
-
export declare
|
|
48
|
+
export declare function ChatInputVoice({ icon, className, asChild, onClick, ref }: ChatInputActionProps): React.ReactElement | null;
|
|
49
|
+
export declare namespace ChatInputVoice {
|
|
50
|
+
var displayName: string;
|
|
51
|
+
}
|
|
50
52
|
/** Model selector — shows when models are configured. */
|
|
51
53
|
export declare function ChatInputModel({ className }: {
|
|
52
54
|
className?: string;
|
|
@@ -60,6 +62,39 @@ export declare function ChatInputAttach({ icon, onClick }: {
|
|
|
60
62
|
icon?: React.ReactNode;
|
|
61
63
|
onClick?: WrapClick;
|
|
62
64
|
}): React.ReactElement | null;
|
|
65
|
+
/** Props accepted by `<ChatInput.Export>`. */
|
|
66
|
+
export interface ChatInputExportProps {
|
|
67
|
+
/** Messages included in the downloaded Markdown document. */
|
|
68
|
+
messages: ChatMessage[];
|
|
69
|
+
/** Override the download glyph. */
|
|
70
|
+
icon?: React.ReactNode;
|
|
71
|
+
className?: string;
|
|
72
|
+
/** Wrap the download action; call `next()` to continue. */
|
|
73
|
+
onClick?: WrapClick;
|
|
74
|
+
/** React 19: ref is a regular prop. */
|
|
75
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
76
|
+
}
|
|
77
|
+
/** Download the supplied conversation as Markdown. */
|
|
78
|
+
export declare function ChatInputExport({ messages, icon, className, onClick, ref }: ChatInputExportProps): React.ReactElement | null;
|
|
79
|
+
export declare namespace ChatInputExport {
|
|
80
|
+
var displayName: string;
|
|
81
|
+
}
|
|
82
|
+
/** Props accepted by `<ChatInput.Toolbar>`. */
|
|
83
|
+
export interface ChatInputToolbarProps {
|
|
84
|
+
className?: string;
|
|
85
|
+
children?: React.ReactNode;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* `ChatInput.Toolbar` — a semantic layout slot for the composer's action row.
|
|
89
|
+
* Group/reorder the action sub-parts (`ChatInput.Attach`/`.Model`/`.Export`/
|
|
90
|
+
* `.Voice`/`.Send`) inside it without re-implementing the composer. Pure layout: the
|
|
91
|
+
* children read their own `ComposerContext`, so `<ChatInput.Toolbar>` just
|
|
92
|
+
* mirrors the default action-row wrapper classes.
|
|
93
|
+
*/
|
|
94
|
+
export declare function ChatInputToolbar({ className, children }: ChatInputToolbarProps): React.ReactElement;
|
|
95
|
+
export declare namespace ChatInputToolbar {
|
|
96
|
+
var displayName: string;
|
|
97
|
+
}
|
|
63
98
|
/** Props accepted by `ChatInput`. */
|
|
64
99
|
export interface ChatInputProps {
|
|
65
100
|
input: string;
|
|
@@ -86,16 +121,12 @@ export interface ChatInputProps {
|
|
|
86
121
|
attachAccept?: string;
|
|
87
122
|
attachments?: AttachmentInfo[];
|
|
88
123
|
onRemoveAttachment?: (id: string) => void;
|
|
89
|
-
showExport?: boolean;
|
|
90
|
-
messages?: ChatMessage[];
|
|
91
|
-
/** Override the toolbar button icons. */
|
|
92
|
-
icons?: ChatInputIcons;
|
|
93
124
|
/** Wrap the built-in attachment `+` click; call `next()` to run it. */
|
|
94
125
|
onAttachClick?: WrapClick;
|
|
95
|
-
/** Wrap the built-in export click; call `next()` to run it. */
|
|
96
|
-
onExportClick?: WrapClick;
|
|
97
126
|
className?: string;
|
|
98
127
|
children?: React.ReactNode;
|
|
128
|
+
/** React 19: ref is a regular prop. */
|
|
129
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
99
130
|
}
|
|
100
131
|
/** Composer state the context is built from (shared by `ChatInput` + `ChatInput.Root`). */
|
|
101
132
|
export interface ComposerStateProps {
|
|
@@ -120,6 +151,8 @@ export interface ComposerStateProps {
|
|
|
120
151
|
export interface ChatInputRootProps extends ComposerStateProps {
|
|
121
152
|
className?: string;
|
|
122
153
|
children: React.ReactNode;
|
|
154
|
+
/** React 19: ref is a regular prop. */
|
|
155
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
123
156
|
}
|
|
124
157
|
/**
|
|
125
158
|
* `ChatInput.Root` — the provider shell for a fully custom composer. Supplies
|
|
@@ -127,19 +160,29 @@ export interface ChatInputRootProps extends ComposerStateProps {
|
|
|
127
160
|
* `ChatInput.Field` + the toolbar sub-parts yourself (like `Message.Root`). The
|
|
128
161
|
* default `<ChatInput>` is exactly this Root plus the standard body.
|
|
129
162
|
*/
|
|
130
|
-
export declare
|
|
163
|
+
export declare function ChatInputRoot({ className, children, ref, ...state }: ChatInputRootProps): React.ReactElement;
|
|
164
|
+
export declare namespace ChatInputRoot {
|
|
165
|
+
var displayName: string;
|
|
166
|
+
}
|
|
167
|
+
/** Render the composer. */
|
|
168
|
+
declare function ChatInputBase({ input, onChange, onSubmit, isLoading, placeholder, theme, stop, onVoice, isListening, transcript, models, model, onModelChange, toolbarStart, onAttach, onSelectAttachment, onDrop, attachAccept, attachments, onRemoveAttachment, onAttachClick, className, children, ref, }: ChatInputProps): React.ReactElement;
|
|
169
|
+
declare namespace ChatInputBase {
|
|
170
|
+
var displayName: string;
|
|
171
|
+
}
|
|
131
172
|
/**
|
|
132
173
|
* ChatInput — render `<ChatInput … />` for the default composer, or compose
|
|
133
|
-
* `ChatInput.Field` + `ChatInput.Send`/`Stop`/`Voice`/`Model`/`Attach`.
|
|
174
|
+
* `ChatInput.Field` + `ChatInput.Send`/`Stop`/`Voice`/`Model`/`Attach`/`Export`.
|
|
134
175
|
*/
|
|
135
|
-
export declare const ChatInput:
|
|
136
|
-
Root:
|
|
176
|
+
export declare const ChatInput: typeof ChatInputBase & {
|
|
177
|
+
Root: typeof ChatInputRoot;
|
|
137
178
|
Field: typeof ChatInputField;
|
|
138
|
-
Send:
|
|
139
|
-
Stop:
|
|
140
|
-
Voice:
|
|
179
|
+
Send: typeof ChatInputSend;
|
|
180
|
+
Stop: typeof ChatInputStop;
|
|
181
|
+
Voice: typeof ChatInputVoice;
|
|
141
182
|
Model: typeof ChatInputModel;
|
|
142
183
|
Attach: typeof ChatInputAttach;
|
|
184
|
+
Export: typeof ChatInputExport;
|
|
185
|
+
Toolbar: typeof ChatInputToolbar;
|
|
143
186
|
};
|
|
144
187
|
export {};
|
|
145
188
|
//# sourceMappingURL=chat-composer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-composer.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-composer.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"chat-composer.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/composition/chat-composer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,EAAE,KAAK,WAAW,EAAiB,MAAM,yBAAyB,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AA0BvE,8EAA8E;AAC9E,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;AAMlF,6CAA6C;AAC7C,MAAM,WAAW,mBAAmB;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iCAAiC;AACjC,wBAAgB,cAAc,CAC5B,EAAE,WAAiC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,GAC9E,KAAK,CAAC,YAAY,CAmBpB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,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