veryfront 0.1.996 → 0.1.998
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 +1 -1
- package/esm/deno.d.ts +8 -0
- package/esm/deno.js +12 -3
- package/esm/deps/esm.sh/react-dom@19.2.4.d.ts +2 -0
- package/esm/deps/esm.sh/react-dom@19.2.4.d.ts.map +1 -0
- package/esm/deps/esm.sh/react-dom@19.2.4.js +3 -0
- package/esm/react/react-dom.d.ts +3 -0
- package/esm/react/react-dom.d.ts.map +1 -0
- package/esm/react/react-dom.js +2 -0
- package/esm/src/agent/ag-ui/host-support.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/host-support.js +12 -0
- package/esm/src/agent/react/index.d.ts +4 -2
- package/esm/src/agent/react/index.d.ts.map +1 -1
- package/esm/src/agent/react/index.js +2 -1
- package/esm/src/agent/react/use-agent-metadata.d.ts +5 -0
- package/esm/src/agent/react/use-agent-metadata.d.ts.map +1 -1
- package/esm/src/agent/react/use-agent-metadata.js +18 -9
- package/esm/src/agent/react/use-agents.d.ts +33 -0
- package/esm/src/agent/react/use-agents.d.ts.map +1 -0
- package/esm/src/agent/react/use-agents.js +72 -0
- package/esm/src/agent/react/use-chat/index.d.ts +1 -1
- package/esm/src/agent/react/use-chat/index.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/types.d.ts +3 -2
- package/esm/src/agent/react/use-chat/types.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/use-chat.d.ts +12 -1
- package/esm/src/agent/react/use-chat/use-chat.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/use-chat.js +47 -7
- package/esm/src/agent/react/use-chat/utils.d.ts.map +1 -1
- package/esm/src/agent/react/use-chat/utils.js +4 -0
- package/esm/src/agent/runtime/message-adapter.d.ts.map +1 -1
- package/esm/src/agent/runtime/message-adapter.js +3 -1
- package/esm/src/agent/runtime/text-generation-runtime-message-converter.d.ts.map +1 -1
- package/esm/src/agent/runtime/text-generation-runtime-message-converter.js +6 -2
- package/esm/src/chat/index.d.ts +17 -7
- package/esm/src/chat/index.d.ts.map +1 -1
- package/esm/src/chat/index.js +33 -7
- package/esm/src/chat/protocol.d.ts +13 -1
- package/esm/src/chat/protocol.d.ts.map +1 -1
- package/esm/src/chat/upload-handler.d.ts +55 -0
- package/esm/src/chat/upload-handler.d.ts.map +1 -0
- package/esm/src/chat/upload-handler.js +180 -0
- package/esm/src/discovery/import-rewriter.d.ts +1 -1
- package/esm/src/discovery/import-rewriter.d.ts.map +1 -1
- package/esm/src/discovery/import-rewriter.js +2 -0
- package/esm/src/discovery/transpiler.d.ts.map +1 -1
- package/esm/src/discovery/transpiler.js +2 -0
- package/esm/src/react/components/chat/agent-card.d.ts +84 -11
- package/esm/src/react/components/chat/agent-card.d.ts.map +1 -1
- package/esm/src/react/components/chat/agent-card.js +151 -57
- package/esm/src/react/components/chat/agent-picker.d.ts +166 -0
- package/esm/src/react/components/chat/agent-picker.d.ts.map +1 -0
- package/esm/src/react/components/chat/agent-picker.js +183 -0
- package/esm/src/react/components/chat/chat/components/animations.js +1 -1
- package/esm/src/react/components/chat/chat/components/attachment-pill.d.ts +125 -3
- 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 +209 -25
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts +149 -0
- package/esm/src/react/components/chat/chat/components/attachments-panel.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/components/attachments-panel.js +187 -0
- package/esm/src/react/components/chat/chat/components/branch-picker.d.ts +13 -2
- 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 +6 -8
- package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.d.ts +20 -0
- package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/components/chat-messages-skeleton.js +31 -0
- package/esm/src/react/components/chat/chat/components/code-block.d.ts +9 -1
- 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 +14 -6
- package/esm/src/react/components/chat/chat/components/drop-zone.d.ts +11 -4
- 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 +10 -8
- package/esm/src/react/components/chat/chat/components/empty-state.d.ts +2 -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 +7 -8
- package/esm/src/react/components/chat/chat/components/inference-badge.d.ts +6 -2
- 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 +5 -4
- package/esm/src/react/components/chat/chat/components/inline-citation.d.ts +9 -1
- 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 +19 -20
- package/esm/src/react/components/chat/chat/components/message-actions.d.ts +28 -5
- 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 +24 -36
- package/esm/src/react/components/chat/chat/components/message-edit-form.d.ts +7 -2
- 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 +5 -5
- package/esm/src/react/components/chat/chat/components/message-feedback.d.ts +11 -1
- 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 +9 -11
- 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 +3 -1
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts +66 -3
- package/esm/src/react/components/chat/chat/components/reasoning.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/reasoning.js +95 -21
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts +178 -12
- package/esm/src/react/components/chat/chat/components/sidebar.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sidebar.js +228 -45
- package/esm/src/react/components/chat/chat/components/skill-badge.d.ts +6 -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 +6 -5
- package/esm/src/react/components/chat/chat/components/skill-tool.d.ts +37 -0
- package/esm/src/react/components/chat/chat/components/skill-tool.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/components/skill-tool.js +46 -0
- package/esm/src/react/components/chat/chat/components/sources.d.ts +55 -3
- package/esm/src/react/components/chat/chat/components/sources.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/components/sources.js +50 -16
- package/esm/src/react/components/chat/chat/components/step-indicator.d.ts +42 -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 +55 -12
- 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 +3 -3
- package/esm/src/react/components/chat/chat/components/tool-ui.d.ts +96 -3
- 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 +158 -36
- package/esm/src/react/components/chat/chat/composition/api.d.ts +4 -2
- package/esm/src/react/components/chat/chat/composition/api.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/api.js +4 -2
- package/esm/src/react/components/chat/chat/composition/chat-composer.d.ts +112 -5
- 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 +251 -61
- package/esm/src/react/components/chat/chat/composition/chat-empty-state.d.ts +78 -0
- package/esm/src/react/components/chat/chat/composition/chat-empty-state.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/composition/chat-empty-state.js +63 -0
- package/esm/src/react/components/chat/chat/composition/chat-empty.d.ts +4 -1
- 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 +11 -10
- package/esm/src/react/components/chat/chat/composition/chat-message-list.d.ts +11 -3
- 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 +81 -111
- package/esm/src/react/components/chat/chat/composition/chat-root.d.ts +4 -0
- 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 -1
- package/esm/src/react/components/chat/chat/composition/error-banner.d.ts +4 -0
- 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 +10 -7
- package/esm/src/react/components/chat/chat/composition/message.d.ts +123 -5
- package/esm/src/react/components/chat/chat/composition/message.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/composition/message.js +332 -53
- package/esm/src/react/components/chat/chat/composition/model-avatar.d.ts +6 -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 +3 -4
- package/esm/src/react/components/chat/chat/composition/pending-message.d.ts +31 -0
- package/esm/src/react/components/chat/chat/composition/pending-message.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/composition/pending-message.js +31 -0
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts +4 -0
- package/esm/src/react/components/chat/chat/contexts/chat-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts +1 -0
- package/esm/src/react/components/chat/chat/contexts/composer-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts +29 -0
- package/esm/src/react/components/chat/chat/contexts/conversations-context.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/contexts/conversations-context.js +39 -0
- 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 +2 -0
- package/esm/src/react/components/chat/chat/contexts/message-context.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/hooks/use-clipboard.d.ts +10 -0
- package/esm/src/react/components/chat/chat/hooks/use-clipboard.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-clipboard.js +34 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversation.d.ts +21 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversation.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversation.js +54 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversations.d.ts +67 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversations.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-conversations.js +317 -0
- package/esm/src/react/components/chat/chat/hooks/use-drop-zone.d.ts +27 -0
- package/esm/src/react/components/chat/chat/hooks/use-drop-zone.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-drop-zone.js +50 -0
- package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.d.ts +49 -0
- package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-stick-to-bottom.js +120 -0
- package/esm/src/react/components/chat/chat/hooks/use-upload.d.ts +34 -0
- package/esm/src/react/components/chat/chat/hooks/use-upload.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-upload.js +147 -0
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.d.ts +37 -0
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/hooks/use-uploads-registry.js +178 -0
- package/esm/src/react/components/chat/chat/index.d.ts +171 -31
- package/esm/src/react/components/chat/chat/index.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/index.js +371 -77
- package/esm/src/react/components/chat/chat/persistence/conversation-store.d.ts +63 -0
- package/esm/src/react/components/chat/chat/persistence/conversation-store.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/persistence/conversation-store.js +1 -0
- package/esm/src/react/components/chat/chat/persistence/local-conversation-store.d.ts +13 -0
- package/esm/src/react/components/chat/chat/persistence/local-conversation-store.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/persistence/local-conversation-store.js +102 -0
- package/esm/src/react/components/chat/chat/persistence/memory-conversation-store.d.ts +11 -0
- package/esm/src/react/components/chat/chat/persistence/memory-conversation-store.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat/persistence/memory-conversation-store.js +33 -0
- package/esm/src/react/components/chat/chat/utils/message-parts.d.ts +4 -1
- package/esm/src/react/components/chat/chat/utils/message-parts.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat/utils/message-parts.js +4 -0
- package/esm/src/react/components/chat/chat-actions.d.ts +164 -0
- package/esm/src/react/components/chat/chat-actions.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat-actions.js +191 -0
- package/esm/src/react/components/chat/chat-agent-picker.d.ts +50 -0
- package/esm/src/react/components/chat/chat-agent-picker.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat-agent-picker.js +40 -0
- package/esm/src/react/components/chat/chat-theme-scope.d.ts +26 -0
- package/esm/src/react/components/chat/chat-theme-scope.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat-theme-scope.js +27 -0
- package/esm/src/react/components/chat/chat-tokens-style.d.ts +21 -0
- package/esm/src/react/components/chat/chat-tokens-style.d.ts.map +1 -0
- package/esm/src/react/components/chat/chat-tokens-style.js +24 -0
- package/esm/src/react/components/chat/chat.d.ts +5 -5
- package/esm/src/react/components/chat/chat.d.ts.map +1 -1
- package/esm/src/react/components/chat/chat.js +5 -5
- package/esm/src/react/components/chat/color-mode.d.ts +46 -0
- package/esm/src/react/components/chat/color-mode.d.ts.map +1 -0
- package/esm/src/react/components/chat/color-mode.js +123 -0
- package/esm/src/react/components/chat/error-boundary.js +2 -2
- package/esm/src/react/components/chat/icons/index.d.ts +8 -0
- package/esm/src/react/components/chat/icons/index.d.ts.map +1 -1
- package/esm/src/react/components/chat/icons/index.js +64 -0
- package/esm/src/react/components/chat/markdown.d.ts +24 -1
- package/esm/src/react/components/chat/markdown.d.ts.map +1 -1
- package/esm/src/react/components/chat/markdown.js +122 -38
- package/esm/src/react/components/chat/model-selector.d.ts +130 -8
- package/esm/src/react/components/chat/model-selector.d.ts.map +1 -1
- package/esm/src/react/components/chat/model-selector.js +148 -121
- package/esm/src/react/components/chat/theme.d.ts +9 -12
- package/esm/src/react/components/chat/theme.d.ts.map +1 -1
- package/esm/src/react/components/chat/theme.js +149 -93
- package/esm/src/react/components/chat/ui/alert.d.ts +30 -0
- package/esm/src/react/components/chat/ui/alert.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/alert.js +35 -0
- package/esm/src/react/components/chat/ui/app-shell.d.ts +155 -0
- package/esm/src/react/components/chat/ui/app-shell.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/app-shell.js +276 -0
- package/esm/src/react/components/chat/ui/avatar.d.ts +24 -0
- package/esm/src/react/components/chat/ui/avatar.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/avatar.js +44 -0
- package/esm/src/react/components/chat/ui/badge.d.ts +24 -0
- package/esm/src/react/components/chat/ui/badge.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/badge.js +30 -0
- package/esm/src/react/components/chat/ui/button.d.ts +44 -0
- package/esm/src/react/components/chat/ui/button.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/button.js +108 -0
- package/esm/src/react/components/chat/ui/card.d.ts +42 -0
- package/esm/src/react/components/chat/ui/card.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/card.js +55 -0
- package/esm/src/react/components/chat/ui/checkbox.d.ts +28 -0
- package/esm/src/react/components/chat/ui/checkbox.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/checkbox.js +36 -0
- package/esm/src/react/components/chat/ui/code-block.d.ts +89 -0
- package/esm/src/react/components/chat/ui/code-block.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/code-block.js +277 -0
- package/esm/src/react/components/chat/ui/collapsible.d.ts +30 -0
- package/esm/src/react/components/chat/ui/collapsible.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/collapsible.js +44 -0
- package/esm/src/react/components/chat/ui/command.d.ts +65 -0
- package/esm/src/react/components/chat/ui/command.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/command.js +121 -0
- package/esm/src/react/components/chat/ui/cva.d.ts +36 -0
- package/esm/src/react/components/chat/ui/cva.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/cva.js +45 -0
- package/esm/src/react/components/chat/ui/dialog.d.ts +55 -0
- package/esm/src/react/components/chat/ui/dialog.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/dialog.js +116 -0
- package/esm/src/react/components/chat/ui/drawer.d.ts +41 -0
- package/esm/src/react/components/chat/ui/drawer.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/drawer.js +92 -0
- package/esm/src/react/components/chat/ui/dropdown-menu.d.ts +63 -0
- package/esm/src/react/components/chat/ui/dropdown-menu.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/dropdown-menu.js +76 -0
- package/esm/src/react/components/chat/ui/file-type.d.ts +26 -0
- package/esm/src/react/components/chat/ui/file-type.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/file-type.js +235 -0
- package/esm/src/react/components/chat/ui/floating.d.ts +29 -0
- package/esm/src/react/components/chat/ui/floating.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/floating.js +90 -0
- package/esm/src/react/components/chat/ui/icon-button.d.ts +19 -0
- package/esm/src/react/components/chat/ui/icon-button.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/icon-button.js +20 -0
- package/esm/src/react/components/chat/ui/index.d.ts +43 -0
- package/esm/src/react/components/chat/ui/index.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/index.js +42 -0
- package/esm/src/react/components/chat/ui/input.d.ts +27 -0
- package/esm/src/react/components/chat/ui/input.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/input.js +41 -0
- package/esm/src/react/components/chat/ui/label.d.ts +29 -0
- package/esm/src/react/components/chat/ui/label.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/label.js +40 -0
- package/esm/src/react/components/chat/ui/list.d.ts +47 -0
- package/esm/src/react/components/chat/ui/list.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/list.js +40 -0
- package/esm/src/react/components/chat/ui/pill.d.ts +26 -0
- package/esm/src/react/components/chat/ui/pill.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/pill.js +39 -0
- package/esm/src/react/components/chat/ui/popover.d.ts +47 -0
- package/esm/src/react/components/chat/ui/popover.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/popover.js +68 -0
- package/esm/src/react/components/chat/ui/progress-bar.d.ts +20 -0
- package/esm/src/react/components/chat/ui/progress-bar.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/progress-bar.js +31 -0
- package/esm/src/react/components/chat/ui/radio.d.ts +25 -0
- package/esm/src/react/components/chat/ui/radio.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/radio.js +29 -0
- package/esm/src/react/components/chat/ui/scroll-fade.d.ts +23 -0
- package/esm/src/react/components/chat/ui/scroll-fade.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/scroll-fade.js +40 -0
- package/esm/src/react/components/chat/ui/select.d.ts +64 -0
- package/esm/src/react/components/chat/ui/select.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/select.js +148 -0
- package/esm/src/react/components/chat/ui/shimmer.d.ts +25 -0
- package/esm/src/react/components/chat/ui/shimmer.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/shimmer.js +24 -0
- package/esm/src/react/components/chat/ui/skeleton.d.ts +14 -0
- package/esm/src/react/components/chat/ui/skeleton.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/skeleton.js +12 -0
- package/esm/src/react/components/chat/ui/slot.d.ts +21 -0
- package/esm/src/react/components/chat/ui/slot.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/slot.js +70 -0
- package/esm/src/react/components/chat/ui/status.d.ts +28 -0
- package/esm/src/react/components/chat/ui/status.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/status.js +23 -0
- package/esm/src/react/components/chat/ui/switch.d.ts +34 -0
- package/esm/src/react/components/chat/ui/switch.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/switch.js +58 -0
- package/esm/src/react/components/chat/ui/tabs.d.ts +44 -0
- package/esm/src/react/components/chat/ui/tabs.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/tabs.js +51 -0
- package/esm/src/react/components/chat/ui/tag.d.ts +22 -0
- package/esm/src/react/components/chat/ui/tag.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/tag.js +27 -0
- package/esm/src/react/components/chat/ui/textarea.d.ts +22 -0
- package/esm/src/react/components/chat/ui/textarea.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/textarea.js +35 -0
- package/esm/src/react/components/chat/ui/tooltip.d.ts +40 -0
- package/esm/src/react/components/chat/ui/tooltip.d.ts.map +1 -0
- package/esm/src/react/components/chat/ui/tooltip.js +132 -0
- package/esm/src/react/primitives/input-box.d.ts.map +1 -1
- package/esm/src/react/primitives/input-box.js +17 -4
- package/esm/src/server/handlers/dev/framework-candidates.generated.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/framework-candidates.generated.js +9437 -1064
- package/esm/src/server/handlers/dev/projects/html-shell.d.ts +1 -1
- package/esm/src/server/handlers/dev/projects/html-shell.d.ts.map +1 -1
- package/esm/src/server/handlers/dev/projects/html-shell.js +1 -12
- package/esm/src/server/handlers/request/public-agents-list.handler.d.ts +18 -0
- package/esm/src/server/handlers/request/public-agents-list.handler.d.ts.map +1 -0
- package/esm/src/server/handlers/request/public-agents-list.handler.js +44 -0
- package/esm/src/server/runtime-handler/index.d.ts +1 -1
- package/esm/src/server/runtime-handler/index.d.ts.map +1 -1
- package/esm/src/server/runtime-handler/index.js +3 -0
- package/esm/src/studio/bridge/bridge-bundle.generated.d.ts +1 -1
- package/esm/src/studio/bridge/bridge-bundle.generated.d.ts.map +1 -1
- package/esm/src/studio/bridge/bridge-bundle.generated.js +3 -2
- package/esm/src/task/discovery.d.ts +95 -0
- package/esm/src/task/discovery.d.ts.map +1 -0
- package/esm/src/task/discovery.js +192 -0
- package/esm/src/task/index.d.ts +27 -0
- package/esm/src/task/index.d.ts.map +1 -0
- package/esm/src/task/index.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/blob/local-storage.d.ts +32 -0
- package/esm/src/workflow/blob/local-storage.d.ts.map +1 -0
- package/esm/src/workflow/blob/local-storage.js +179 -0
- package/esm/src/workflow/blob/types.d.ts +5 -0
- package/esm/src/workflow/blob/types.d.ts.map +1 -1
- package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts +11 -0
- package/esm/src/workflow/blob/veryfront-cloud-storage.d.ts.map +1 -1
- package/esm/src/workflow/blob/veryfront-cloud-storage.js +36 -0
- package/package.json +9 -1
- package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts +0 -20
- package/esm/src/react/components/chat/chat/components/uploads-panel.d.ts.map +0 -1
- package/esm/src/react/components/chat/chat/components/uploads-panel.js +0 -49
- package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts +0 -28
- package/esm/src/react/components/chat/chat/contexts/thread-list-context.d.ts.map +0 -1
- package/esm/src/react/components/chat/chat/contexts/thread-list-context.js +0 -27
- package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts +0 -28
- package/esm/src/react/components/chat/chat/hooks/use-threads.d.ts.map +0 -1
- package/esm/src/react/components/chat/chat/hooks/use-threads.js +0 -151
- package/esm/src/react/components/chat/chat-with-sidebar.d.ts +0 -110
- package/esm/src/react/components/chat/chat-with-sidebar.d.ts.map +0 -1
- package/esm/src/react/components/chat/chat-with-sidebar.js +0 -167
- package/esm/src/react/components/chat/message.d.ts +0 -42
- package/esm/src/react/components/chat/message.d.ts.map +0 -1
- package/esm/src/react/components/chat/message.js +0 -69
|
@@ -1,30 +1,104 @@
|
|
|
1
1
|
import * as React from "../../../../../../react/react.js";
|
|
2
2
|
import { cn } from "../../theme.js";
|
|
3
3
|
import { Markdown } from "../../markdown.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ChevronDownIcon } from "../../icons/index.js";
|
|
5
|
+
import { COMPONENT_ERROR } from "../../../../../errors/error-registry.js";
|
|
5
6
|
import { Shimmer } from "./animations.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const ReasoningContext = React.createContext(null);
|
|
8
|
+
/** Read the enclosing `Reasoning` state. Throws when used outside a `Reasoning`. */
|
|
9
|
+
export function useReasoning() {
|
|
10
|
+
const ctx = React.useContext(ReasoningContext);
|
|
11
|
+
if (!ctx) {
|
|
12
|
+
throw COMPONENT_ERROR.create({
|
|
13
|
+
detail: "useReasoning must be used within a Reasoning",
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return ctx;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* `Reasoning.Root` — context provider + wrapper. No children renders the
|
|
20
|
+
* default anatomy (`Trigger` + `Content`); pass children to recompose.
|
|
21
|
+
*/
|
|
22
|
+
const ReasoningRoot = React.forwardRef(function Reasoning({ text, isStreaming = false, className, icon, labels, open, defaultOpen, onOpenChange, children, }, ref) {
|
|
23
|
+
const isControlled = open !== undefined;
|
|
24
|
+
// Uncontrolled default: open only if we mount mid-stream. A completed /
|
|
25
|
+
// reloaded card (isStreaming === false) starts collapsed, so it never
|
|
26
|
+
// plays the open-then-collapse animation.
|
|
27
|
+
const [uncontrolledOpen, setUncontrolledOpen] = React.useState(defaultOpen ?? isStreaming);
|
|
28
|
+
const isOpen = isControlled ? open : uncontrolledOpen;
|
|
9
29
|
const userToggledRef = React.useRef(false);
|
|
30
|
+
// Tracks whether this card has ever streamed during its lifetime. We only
|
|
31
|
+
// auto-collapse once streaming actually ends — a card that was never
|
|
32
|
+
// streaming (history reload) has nothing to animate away from.
|
|
33
|
+
const hasStreamedRef = React.useRef(isStreaming);
|
|
10
34
|
React.useEffect(() => {
|
|
11
|
-
|
|
35
|
+
// Parent owns state when controlled, and a manual toggle opts out of the
|
|
36
|
+
// stream-driven open/collapse entirely.
|
|
37
|
+
if (isControlled || userToggledRef.current)
|
|
12
38
|
return;
|
|
13
|
-
|
|
39
|
+
if (isStreaming) {
|
|
40
|
+
hasStreamedRef.current = true;
|
|
41
|
+
if (!isOpen) {
|
|
42
|
+
setUncontrolledOpen(true);
|
|
43
|
+
onOpenChange?.(true);
|
|
44
|
+
}
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
// Streaming just finished in this session — collapse after a beat. If we
|
|
48
|
+
// never streamed (reloaded chat), leave the card exactly as it mounted.
|
|
49
|
+
if (!hasStreamedRef.current || !isOpen)
|
|
50
|
+
return;
|
|
51
|
+
const timer = globalThis.setTimeout(() => {
|
|
52
|
+
setUncontrolledOpen(false);
|
|
53
|
+
onOpenChange?.(false);
|
|
54
|
+
}, 1000);
|
|
14
55
|
return () => clearTimeout(timer);
|
|
15
|
-
}, [isStreaming, isOpen]);
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
56
|
+
}, [isControlled, isStreaming, isOpen, onOpenChange]);
|
|
57
|
+
const toggle = React.useCallback(() => {
|
|
58
|
+
userToggledRef.current = true;
|
|
59
|
+
const next = !isOpen;
|
|
60
|
+
if (!isControlled)
|
|
61
|
+
setUncontrolledOpen(next);
|
|
62
|
+
onOpenChange?.(next);
|
|
63
|
+
}, [isControlled, isOpen, onOpenChange]);
|
|
64
|
+
const context = { text, isStreaming, isOpen, toggle };
|
|
65
|
+
return (React.createElement(ReasoningContext.Provider, { value: context },
|
|
66
|
+
React.createElement("div", { ref: ref, className: cn("not-prose mb-3", className) }, children ?? (React.createElement(React.Fragment, null,
|
|
67
|
+
React.createElement(ReasoningTrigger, { icon: icon, labels: labels }),
|
|
68
|
+
React.createElement(ReasoningContent, null))))));
|
|
69
|
+
});
|
|
70
|
+
ReasoningRoot.displayName = "Reasoning.Root";
|
|
71
|
+
/** The header row: a "Thinking…" / "Thought process" label + expand chevron. */
|
|
72
|
+
function ReasoningTrigger({ icon, labels, className }) {
|
|
73
|
+
const { isStreaming, isOpen, toggle } = useReasoning();
|
|
74
|
+
const thinkingLabel = labels?.thinking ?? "Thinking...";
|
|
75
|
+
const thoughtLabel = labels?.thought ?? "Thought process";
|
|
76
|
+
const label = isStreaming ? React.createElement(Shimmer, null, thinkingLabel) : React.createElement("span", null, thoughtLabel);
|
|
77
|
+
return (React.createElement("button", { type: "button", onClick: toggle, className: cn("flex w-full items-center gap-2 rounded-sm text-sm text-[var(--foreground)] outline-none transition-colors focus-visible:ring-2 focus-visible:ring-[var(--edge-medium)] focus-visible:ring-offset-0", className) },
|
|
78
|
+
label,
|
|
79
|
+
React.createElement("span", { className: cn("flex size-3.5 shrink-0 items-center justify-center transition-transform duration-200", !isOpen && "-rotate-90") }, icon ?? React.createElement(ChevronDownIcon, { className: "size-3.5 shrink-0" }))));
|
|
80
|
+
}
|
|
81
|
+
ReasoningTrigger.displayName = "Reasoning.Trigger";
|
|
82
|
+
/** The reasoning body. Renders when open; pass children to replace the markdown. */
|
|
83
|
+
function ReasoningContent({ className, children }) {
|
|
84
|
+
const { text, isOpen } = useReasoning();
|
|
85
|
+
if (!isOpen)
|
|
86
|
+
return null;
|
|
87
|
+
return (React.createElement("div", { className: cn("mt-2 text-sm text-[var(--foreground)]", className) }, children ?? (
|
|
88
|
+
// `text-sm!` overrides Markdown's base `text-base` (cn does not tw-merge)
|
|
89
|
+
// so reasoning renders at 14px like Studio's compact variant.
|
|
90
|
+
React.createElement(Markdown, { className: "mb-0 space-y-2.5 text-sm!" }, text))));
|
|
91
|
+
}
|
|
92
|
+
ReasoningContent.displayName = "Reasoning.Content";
|
|
93
|
+
/**
|
|
94
|
+
* Reasoning — render `<Reasoning text={…} />` for the default disclosure, or
|
|
95
|
+
* compose `Reasoning.Trigger` + `Reasoning.Content` for a custom layout.
|
|
96
|
+
* Mirrors the `Message` / `ToolCall` compounds: render it, or compose it.
|
|
97
|
+
*/
|
|
98
|
+
export const Reasoning = Object.assign(ReasoningRoot, {
|
|
99
|
+
Root: ReasoningRoot,
|
|
100
|
+
Trigger: ReasoningTrigger,
|
|
101
|
+
Content: ReasoningContent,
|
|
29
102
|
});
|
|
30
|
-
|
|
103
|
+
/** Back-compat alias — `message.tsx` and `agent-card.tsx` import `ReasoningCard`. */
|
|
104
|
+
export const ReasoningCard = ReasoningRoot;
|
|
@@ -1,16 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ChatSidebar — a conversation rail, available as a one-shot preset or as a
|
|
3
|
+
* composable compound (mirroring `Chat` / `Message`).
|
|
4
|
+
*
|
|
5
|
+
* Conversation-native: it lists {@link ConversationSummary} rows and, inside a
|
|
6
|
+
* {@link ConversationsProvider}, needs **no props at all** — it reads the list,
|
|
7
|
+
* the active id, and select/new/delete/rename straight from context. Pass props
|
|
8
|
+
* to override any of them (controlled), or drop to the compound parts for a
|
|
9
|
+
* custom layout.
|
|
10
|
+
*
|
|
11
|
+
* @example Zero-config inside a provider
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <ConversationsProvider store={store}>
|
|
14
|
+
* <ChatSidebar /> // conversations + actions come from context
|
|
15
|
+
* </ConversationsProvider>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @example Preset — the whole rail from props
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <ChatSidebar
|
|
21
|
+
* conversations={conversations}
|
|
22
|
+
* activeId={activeId}
|
|
23
|
+
* onSelect={select}
|
|
24
|
+
* onDelete={remove}
|
|
25
|
+
* onRename={rename}
|
|
26
|
+
* onNew={create}
|
|
27
|
+
* />
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @example Composition — drive the layout yourself
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <ChatSidebar.Root>
|
|
33
|
+
* <ChatSidebar.NewButton>New chat</ChatSidebar.NewButton>
|
|
34
|
+
* <ChatSidebar.List />
|
|
35
|
+
* </ChatSidebar.Root>
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* `<ChatSidebar.List />` with no children auto-groups the conversations by recency.
|
|
39
|
+
*
|
|
40
|
+
* @module react/components/chat/chat/components/sidebar
|
|
41
|
+
*/
|
|
1
42
|
import * as React from "../../../../../../react/react.js";
|
|
2
|
-
import type {
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
43
|
+
import type { ConversationSummary } from "../persistence/conversation-store.js";
|
|
44
|
+
/**
|
|
45
|
+
* Icon overrides for {@link ChatSidebar}. Each defaults to the built-in glyph
|
|
46
|
+
* (or, for `newConversation`, to no icon at all).
|
|
47
|
+
*/
|
|
48
|
+
export interface ChatSidebarIcons {
|
|
49
|
+
newConversation?: React.ReactNode;
|
|
50
|
+
rename?: React.ReactNode;
|
|
51
|
+
delete?: React.ReactNode;
|
|
52
|
+
more?: React.ReactNode;
|
|
53
|
+
}
|
|
54
|
+
/** Per-row handlers/state handed to a custom {@link ChatSidebarRootProps.renderItem}. */
|
|
55
|
+
export interface ChatSidebarItemRenderOptions {
|
|
56
|
+
isActive: boolean;
|
|
57
|
+
onSelect: () => void;
|
|
58
|
+
onDelete?: () => void;
|
|
59
|
+
onRename?: (title: string) => void;
|
|
60
|
+
}
|
|
61
|
+
/** Data + action props shared by the preset and {@link ChatSidebarRoot}. */
|
|
62
|
+
interface ChatSidebarControlProps {
|
|
63
|
+
/** Conversations to list, newest first. Defaults to the provider's list. */
|
|
64
|
+
conversations?: ConversationSummary[];
|
|
65
|
+
/** The currently selected conversation, or `null`. Defaults from context. */
|
|
66
|
+
activeId?: string | null;
|
|
67
|
+
/** Called when a conversation is chosen. Defaults to the provider's `select`. */
|
|
68
|
+
onSelect?: (id: string) => void;
|
|
69
|
+
/** Called when a conversation is deleted. Defaults to the provider's `remove`. */
|
|
70
|
+
onDelete?: (id: string) => void;
|
|
71
|
+
/** Called when a title is edited. Defaults to the provider's `rename`. */
|
|
72
|
+
onRename?: (id: string, title: string) => void;
|
|
73
|
+
/** Called to start a new conversation. Defaults to the provider's `create`. */
|
|
74
|
+
onNew?: () => void;
|
|
75
|
+
/** Render each row yourself instead of the built-in row (auto {@link ChatSidebarList}). */
|
|
76
|
+
renderItem?: (conversation: ConversationSummary, opts: ChatSidebarItemRenderOptions) => React.ReactNode;
|
|
77
|
+
}
|
|
78
|
+
/** Props accepted by {@link ChatSidebarRoot}. */
|
|
79
|
+
export interface ChatSidebarRootProps extends ChatSidebarControlProps {
|
|
80
|
+
/** Override any of the sidebar icons. */
|
|
81
|
+
icons?: ChatSidebarIcons;
|
|
82
|
+
/**
|
|
83
|
+
* Show the loading skeleton instead of the list — e.g. while conversations
|
|
84
|
+
* are being fetched. When omitted, the auto {@link ChatSidebarList} shows a
|
|
85
|
+
* skeleton on its own until the client mounts.
|
|
86
|
+
*/
|
|
87
|
+
loading?: boolean;
|
|
88
|
+
/** When `false`, the rail renders nothing. Default `true`. */
|
|
12
89
|
isOpen?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Fill the parent instead of owning a fixed width + mobile overlay chrome.
|
|
92
|
+
* Set when embedding inside a layout container (e.g. `AppShell.Sidebar`) that
|
|
93
|
+
* already provides width and the off-canvas overlay. Default `false`.
|
|
94
|
+
*/
|
|
95
|
+
fill?: boolean;
|
|
96
|
+
className?: string;
|
|
97
|
+
children: React.ReactNode;
|
|
98
|
+
}
|
|
99
|
+
/** Context provider + outer rail container for the compound sidebar. */
|
|
100
|
+
export declare function ChatSidebarRoot(props: ChatSidebarRootProps): React.ReactElement | null;
|
|
101
|
+
export declare namespace ChatSidebarRoot {
|
|
102
|
+
var displayName: string;
|
|
103
|
+
}
|
|
104
|
+
/** Props accepted by {@link ChatSidebarNewButton}. */
|
|
105
|
+
export interface ChatSidebarNewButtonProps {
|
|
106
|
+
/** Button label. Defaults to "New chat". */
|
|
107
|
+
children?: React.ReactNode;
|
|
108
|
+
className?: string;
|
|
109
|
+
}
|
|
110
|
+
/** The primary "new conversation" action. Wires `onNew` from context. */
|
|
111
|
+
export declare function ChatSidebarNewButton({ children, className, }: ChatSidebarNewButtonProps): React.ReactElement;
|
|
112
|
+
export declare namespace ChatSidebarNewButton {
|
|
113
|
+
var displayName: string;
|
|
114
|
+
}
|
|
115
|
+
/** Props accepted by {@link ChatSidebarItem}. */
|
|
116
|
+
export interface ChatSidebarItemProps {
|
|
117
|
+
conversation: ConversationSummary;
|
|
118
|
+
className?: string;
|
|
119
|
+
}
|
|
120
|
+
/** A single conversation row — select on click, rename/delete via a "…" menu. */
|
|
121
|
+
export declare function ChatSidebarItem({ conversation, className, }: ChatSidebarItemProps): React.ReactElement;
|
|
122
|
+
export declare namespace ChatSidebarItem {
|
|
123
|
+
var displayName: string;
|
|
124
|
+
}
|
|
125
|
+
/** Props accepted by {@link ChatSidebarGroup}. */
|
|
126
|
+
export interface ChatSidebarGroupProps {
|
|
127
|
+
/** Section heading (e.g. a recency bucket). Omit for an unlabeled group. */
|
|
128
|
+
label?: React.ReactNode;
|
|
129
|
+
children: React.ReactNode;
|
|
130
|
+
className?: string;
|
|
131
|
+
}
|
|
132
|
+
/** A labeled cluster of conversation rows. */
|
|
133
|
+
export declare function ChatSidebarGroup({ label, children, className, }: ChatSidebarGroupProps): React.ReactElement;
|
|
134
|
+
export declare namespace ChatSidebarGroup {
|
|
135
|
+
var displayName: string;
|
|
136
|
+
}
|
|
137
|
+
/** Props accepted by {@link ChatSidebarEmpty}. */
|
|
138
|
+
export interface ChatSidebarEmptyProps {
|
|
139
|
+
children?: React.ReactNode;
|
|
140
|
+
className?: string;
|
|
141
|
+
}
|
|
142
|
+
/** Placeholder shown when there are no conversations to list. */
|
|
143
|
+
export declare function ChatSidebarEmpty({ children, className, }: ChatSidebarEmptyProps): React.ReactElement;
|
|
144
|
+
export declare namespace ChatSidebarEmpty {
|
|
145
|
+
var displayName: string;
|
|
146
|
+
}
|
|
147
|
+
/** Props accepted by {@link ChatSidebarList}. */
|
|
148
|
+
export interface ChatSidebarListProps {
|
|
149
|
+
/**
|
|
150
|
+
* Provide your own groups/rows. When omitted, the list auto-groups the
|
|
151
|
+
* context conversations by recency and renders {@link ChatSidebarEmpty} when
|
|
152
|
+
* empty.
|
|
153
|
+
*/
|
|
154
|
+
children?: React.ReactNode;
|
|
155
|
+
className?: string;
|
|
156
|
+
}
|
|
157
|
+
/** Scrollable region. Auto-groups by recency unless given `children`. */
|
|
158
|
+
export declare function ChatSidebarList({ children, className, }: ChatSidebarListProps): React.ReactElement;
|
|
159
|
+
export declare namespace ChatSidebarList {
|
|
160
|
+
var displayName: string;
|
|
161
|
+
}
|
|
162
|
+
/** Props accepted by the {@link ChatSidebar} preset. */
|
|
163
|
+
export interface ChatSidebarProps extends Omit<ChatSidebarRootProps, "children"> {
|
|
164
|
+
}
|
|
165
|
+
/** The one-shot preset — composes Root + NewButton + auto List. */
|
|
166
|
+
declare function ChatSidebarBase(props: ChatSidebarProps): React.ReactElement | null;
|
|
167
|
+
declare namespace ChatSidebarBase {
|
|
168
|
+
var displayName: string;
|
|
13
169
|
}
|
|
14
|
-
/**
|
|
15
|
-
export
|
|
170
|
+
/** Compound type — the preset plus its namespaced sub-components. */
|
|
171
|
+
export type ChatSidebarComponent = typeof ChatSidebarBase & {
|
|
172
|
+
Root: typeof ChatSidebarRoot;
|
|
173
|
+
NewButton: typeof ChatSidebarNewButton;
|
|
174
|
+
List: typeof ChatSidebarList;
|
|
175
|
+
Group: typeof ChatSidebarGroup;
|
|
176
|
+
Item: typeof ChatSidebarItem;
|
|
177
|
+
Empty: typeof ChatSidebarEmpty;
|
|
178
|
+
};
|
|
179
|
+
/** Render a chat sidebar — usable as `<ChatSidebar />` or `<ChatSidebar.Root>…`. */
|
|
180
|
+
export declare const ChatSidebar: ChatSidebarComponent;
|
|
181
|
+
export {};
|
|
16
182
|
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/react/components/chat/chat/components/sidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAc1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAmBhF;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,yFAAyF;AACzF,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAA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