@vertesia/ui 1.2.0 → 1.4.0-dev.20260615.042549Z
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -0
- package/lib/core/components/Avatar.d.ts +16 -0
- package/lib/core/components/Avatar.d.ts.map +1 -0
- package/lib/core/components/Avatar.js +38 -0
- package/lib/core/components/Avatar.js.map +1 -0
- package/lib/core/components/Center.d.ts +8 -0
- package/lib/core/components/Center.d.ts.map +1 -0
- package/lib/core/components/Center.js +6 -0
- package/lib/core/components/Center.js.map +1 -0
- package/lib/core/components/ComboBox.d.ts +134 -0
- package/lib/core/components/ComboBox.d.ts.map +1 -0
- package/lib/core/components/ComboBox.js +385 -0
- package/lib/core/components/ComboBox.js.map +1 -0
- package/lib/core/components/Divider.d.ts +6 -0
- package/lib/core/components/Divider.d.ts.map +1 -0
- package/lib/core/components/Divider.js +6 -0
- package/lib/core/components/Divider.js.map +1 -0
- package/lib/core/components/EmptyCollection.d.ts +9 -0
- package/lib/core/components/EmptyCollection.d.ts.map +1 -0
- package/lib/core/components/EmptyCollection.js +7 -0
- package/lib/core/components/EmptyCollection.js.map +1 -0
- package/lib/core/components/FileUpload.d.ts +29 -0
- package/lib/core/components/FileUpload.d.ts.map +1 -0
- package/lib/core/components/FileUpload.js +131 -0
- package/lib/core/components/FileUpload.js.map +1 -0
- package/lib/core/components/FormItem.d.ts +30 -0
- package/lib/core/components/FormItem.d.ts.map +1 -0
- package/lib/core/components/FormItem.js +64 -0
- package/lib/core/components/FormItem.js.map +1 -0
- package/lib/core/components/InputList.d.ts +14 -0
- package/lib/core/components/InputList.d.ts.map +1 -0
- package/lib/core/components/InputList.js +75 -0
- package/lib/core/components/InputList.js.map +1 -0
- package/lib/core/components/Link.d.ts +7 -0
- package/lib/core/components/Link.d.ts.map +1 -0
- package/lib/core/components/Link.js +13 -0
- package/lib/core/components/Link.js.map +1 -0
- package/lib/core/components/MenuList.d.ts +14 -0
- package/lib/core/components/MenuList.d.ts.map +1 -0
- package/lib/core/components/MenuList.js +20 -0
- package/lib/core/components/MenuList.js.map +1 -0
- package/lib/core/components/NumberInput.d.ts +16 -0
- package/lib/core/components/NumberInput.d.ts.map +1 -0
- package/lib/core/components/NumberInput.js +48 -0
- package/lib/core/components/NumberInput.js.map +1 -0
- package/lib/core/components/Overlay.d.ts +25 -0
- package/lib/core/components/Overlay.d.ts.map +1 -0
- package/lib/core/components/Overlay.js +67 -0
- package/lib/core/components/Overlay.js.map +1 -0
- package/lib/core/components/Portal.d.ts +6 -0
- package/lib/core/components/Portal.d.ts.map +1 -0
- package/lib/core/components/Portal.js +29 -0
- package/lib/core/components/Portal.js.map +1 -0
- package/lib/core/components/SelectList.d.ts +19 -0
- package/lib/core/components/SelectList.d.ts.map +1 -0
- package/lib/core/components/SelectList.js +54 -0
- package/lib/core/components/SelectList.js.map +1 -0
- package/lib/core/components/SidePanel.d.ts +16 -0
- package/lib/core/components/SidePanel.d.ts.map +1 -0
- package/lib/core/components/SidePanel.js +48 -0
- package/lib/core/components/SidePanel.js.map +1 -0
- package/lib/core/components/Spinner.d.ts +7 -0
- package/lib/core/components/Spinner.d.ts.map +1 -0
- package/lib/core/components/Spinner.js +25 -0
- package/lib/core/components/Spinner.js.map +1 -0
- package/lib/core/components/TagsInput.d.ts +16 -0
- package/lib/core/components/TagsInput.d.ts.map +1 -0
- package/lib/core/components/TagsInput.js +199 -0
- package/lib/core/components/TagsInput.js.map +1 -0
- package/lib/core/components/index.d.ts +27 -0
- package/lib/core/components/index.d.ts.map +1 -0
- package/lib/core/components/index.js +23 -0
- package/lib/core/components/index.js.map +1 -0
- package/lib/core/components/libs/utils.d.ts +3 -0
- package/lib/core/components/libs/utils.d.ts.map +1 -0
- package/lib/core/components/libs/utils.js +6 -0
- package/lib/core/components/libs/utils.js.map +1 -0
- package/lib/core/components/libs/visuallyHidden.d.ts +7 -0
- package/lib/core/components/libs/visuallyHidden.d.ts.map +1 -0
- package/lib/core/components/libs/visuallyHidden.js +16 -0
- package/lib/core/components/libs/visuallyHidden.js.map +1 -0
- package/lib/core/components/popup/Popup.d.ts +26 -0
- package/lib/core/components/popup/Popup.d.ts.map +1 -0
- package/lib/core/components/popup/Popup.js +70 -0
- package/lib/core/components/popup/Popup.js.map +1 -0
- package/lib/core/components/popup/PopupController.d.ts +41 -0
- package/lib/core/components/popup/PopupController.d.ts.map +1 -0
- package/lib/core/components/popup/PopupController.js +153 -0
- package/lib/core/components/popup/PopupController.js.map +1 -0
- package/lib/core/components/popup/index.d.ts +4 -0
- package/lib/core/components/popup/index.d.ts.map +1 -0
- package/lib/core/components/popup/index.js +4 -0
- package/lib/core/components/popup/index.js.map +1 -0
- package/lib/core/components/popup/position.d.ts.map +1 -0
- package/lib/core/components/popup/position.js +240 -0
- package/lib/core/components/popup/position.js.map +1 -0
- package/lib/core/components/popup/utils.d.ts.map +1 -0
- package/lib/core/components/popup/utils.js +75 -0
- package/lib/core/components/popup/utils.js.map +1 -0
- package/lib/core/components/shadcn/LanguageSwitcher.d.ts +8 -0
- package/lib/core/components/shadcn/LanguageSwitcher.d.ts.map +1 -0
- package/lib/core/components/shadcn/LanguageSwitcher.js +36 -0
- package/lib/core/components/shadcn/LanguageSwitcher.js.map +1 -0
- package/lib/core/components/shadcn/MessageBox.d.ts +38 -0
- package/lib/core/components/shadcn/MessageBox.d.ts.map +1 -0
- package/lib/core/components/shadcn/MessageBox.js +67 -0
- package/lib/core/components/shadcn/MessageBox.js.map +1 -0
- package/lib/core/components/shadcn/Panel.d.ts +17 -0
- package/lib/core/components/shadcn/Panel.d.ts.map +1 -0
- package/lib/core/components/shadcn/Panel.js +21 -0
- package/lib/core/components/shadcn/Panel.js.map +1 -0
- package/lib/core/components/shadcn/badge.d.ts +21 -0
- package/lib/core/components/shadcn/badge.d.ts.map +1 -0
- package/lib/core/components/shadcn/badge.js +64 -0
- package/lib/core/components/shadcn/badge.js.map +1 -0
- package/lib/core/components/shadcn/breadcrumb.d.ts +15 -0
- package/lib/core/components/shadcn/breadcrumb.d.ts.map +1 -0
- package/lib/core/components/shadcn/breadcrumb.js +52 -0
- package/lib/core/components/shadcn/breadcrumb.js.map +1 -0
- package/lib/core/components/shadcn/button.d.ts +38 -0
- package/lib/core/components/shadcn/button.d.ts.map +1 -0
- package/lib/core/components/shadcn/button.js +106 -0
- package/lib/core/components/shadcn/button.js.map +1 -0
- package/lib/core/components/shadcn/calendar.d.ts +11 -0
- package/lib/core/components/shadcn/calendar.d.ts.map +1 -0
- package/lib/core/components/shadcn/calendar.js +13 -0
- package/lib/core/components/shadcn/calendar.js.map +1 -0
- package/lib/core/components/shadcn/card.d.ts +9 -0
- package/lib/core/components/shadcn/card.d.ts.map +1 -0
- package/lib/core/components/shadcn/card.js +17 -0
- package/lib/core/components/shadcn/card.js.map +1 -0
- package/lib/core/components/shadcn/checkbox.d.ts +5 -0
- package/lib/core/components/shadcn/checkbox.d.ts.map +1 -0
- package/lib/core/components/shadcn/checkbox.js +9 -0
- package/lib/core/components/shadcn/checkbox.js.map +1 -0
- package/lib/core/components/shadcn/collaspible.d.ts +6 -0
- package/lib/core/components/shadcn/collaspible.d.ts.map +1 -0
- package/lib/core/components/shadcn/collaspible.js +13 -0
- package/lib/core/components/shadcn/collaspible.js.map +1 -0
- package/lib/core/components/shadcn/command.d.ts +17 -0
- package/lib/core/components/shadcn/command.d.ts.map +1 -0
- package/lib/core/components/shadcn/command.js +29 -0
- package/lib/core/components/shadcn/command.js.map +1 -0
- package/lib/core/components/shadcn/dropdown.d.ts +52 -0
- package/lib/core/components/shadcn/dropdown.d.ts.map +1 -0
- package/lib/core/components/shadcn/dropdown.js +92 -0
- package/lib/core/components/shadcn/dropdown.js.map +1 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.d.ts +9 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.js +38 -0
- package/lib/core/components/shadcn/filters/DynamicLabel.js.map +1 -0
- package/lib/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/animateChangeInHeight.js +23 -0
- package/lib/core/components/shadcn/filters/animateChangeInHeight.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +6 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.js +130 -0
- package/lib/core/components/shadcn/filters/comboBox/DateCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +10 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.js +53 -0
- package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +6 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.js +27 -0
- package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +6 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.js +28 -0
- package/lib/core/components/shadcn/filters/comboBox/TextCombobox.js.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.d.ts +5 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.js +5 -0
- package/lib/core/components/shadcn/filters/comboBox/comboBox.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.d.ts +12 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.js +102 -0
- package/lib/core/components/shadcn/filters/filter/SelectFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.d.ts +11 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.js +24 -0
- package/lib/core/components/shadcn/filters/filter/StringListFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.d.ts +13 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.js +21 -0
- package/lib/core/components/shadcn/filters/filter/TextFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.d.ts +14 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.js +163 -0
- package/lib/core/components/shadcn/filters/filter/dateFilter.js.map +1 -0
- package/lib/core/components/shadcn/filters/filter-styles.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filter-styles.js.map +1 -0
- package/lib/core/components/shadcn/filters/filterBar.d.ts +21 -0
- package/lib/core/components/shadcn/filters/filterBar.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filterBar.js +259 -0
- package/lib/core/components/shadcn/filters/filterBar.js.map +1 -0
- package/lib/core/components/shadcn/filters/filters.d.ts +10 -0
- package/lib/core/components/shadcn/filters/filters.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/filters.js +63 -0
- package/lib/core/components/shadcn/filters/filters.js.map +1 -0
- package/lib/core/components/shadcn/filters/index.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/index.js.map +1 -0
- package/lib/core/components/shadcn/filters/types.d.ts +35 -0
- package/lib/core/components/shadcn/filters/types.d.ts.map +1 -0
- package/lib/core/components/shadcn/filters/types.js.map +1 -0
- package/lib/core/components/shadcn/heading.d.ts +6 -0
- package/lib/core/components/shadcn/heading.d.ts.map +1 -0
- package/lib/core/components/shadcn/heading.js +17 -0
- package/lib/core/components/shadcn/heading.js.map +1 -0
- package/lib/core/components/shadcn/index.d.ts +31 -0
- package/lib/core/components/shadcn/index.d.ts.map +1 -0
- package/lib/core/components/shadcn/index.js +31 -0
- package/lib/core/components/shadcn/index.js.map +1 -0
- package/lib/core/components/shadcn/input.d.ts +23 -0
- package/lib/core/components/shadcn/input.d.ts.map +1 -0
- package/lib/core/components/shadcn/input.js +43 -0
- package/lib/core/components/shadcn/input.js.map +1 -0
- package/lib/core/components/shadcn/label.d.ts +10 -0
- package/lib/core/components/shadcn/label.d.ts.map +1 -0
- package/lib/core/components/shadcn/label.js +10 -0
- package/lib/core/components/shadcn/label.js.map +1 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.d.ts +12 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.js +12 -0
- package/lib/core/components/shadcn/modal/ConfirmModal.js.map +1 -0
- package/lib/core/components/shadcn/modal/DeleteModal.d.ts +11 -0
- package/lib/core/components/shadcn/modal/DeleteModal.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/DeleteModal.js +34 -0
- package/lib/core/components/shadcn/modal/DeleteModal.js.map +1 -0
- package/lib/core/components/shadcn/modal/dialog.d.ts +41 -0
- package/lib/core/components/shadcn/modal/dialog.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/dialog.js +82 -0
- package/lib/core/components/shadcn/modal/dialog.js.map +1 -0
- package/lib/core/components/shadcn/modal/index.d.ts +4 -0
- package/lib/core/components/shadcn/modal/index.d.ts.map +1 -0
- package/lib/core/components/shadcn/modal/index.js +4 -0
- package/lib/core/components/shadcn/modal/index.js.map +1 -0
- package/lib/core/components/shadcn/popover.d.ts +32 -0
- package/lib/core/components/shadcn/popover.d.ts.map +1 -0
- package/lib/core/components/shadcn/popover.js +56 -0
- package/lib/core/components/shadcn/popover.js.map +1 -0
- package/lib/core/components/shadcn/radioGroup.d.ts +24 -0
- package/lib/core/components/shadcn/radioGroup.d.ts.map +1 -0
- package/lib/core/components/shadcn/radioGroup.js +30 -0
- package/lib/core/components/shadcn/radioGroup.js.map +1 -0
- package/lib/core/components/shadcn/resizeable.d.ts +13 -0
- package/lib/core/components/shadcn/resizeable.d.ts.map +1 -0
- package/lib/core/components/shadcn/resizeable.js +18 -0
- package/lib/core/components/shadcn/resizeable.js.map +1 -0
- package/lib/core/components/shadcn/selectBox.d.ts +51 -0
- package/lib/core/components/shadcn/selectBox.d.ts.map +1 -0
- package/lib/core/components/shadcn/selectBox.js +182 -0
- package/lib/core/components/shadcn/selectBox.js.map +1 -0
- package/lib/core/components/shadcn/separator.d.ts +6 -0
- package/lib/core/components/shadcn/separator.d.ts.map +1 -0
- package/lib/core/components/shadcn/separator.js +8 -0
- package/lib/core/components/shadcn/separator.js.map +1 -0
- package/lib/core/components/shadcn/slider.d.ts +10 -0
- package/lib/core/components/shadcn/slider.d.ts.map +1 -0
- package/lib/core/components/shadcn/slider.js +13 -0
- package/lib/core/components/shadcn/slider.js.map +1 -0
- package/lib/core/components/shadcn/switch.d.ts +13 -0
- package/lib/core/components/shadcn/switch.d.ts.map +1 -0
- package/lib/core/components/shadcn/switch.js +20 -0
- package/lib/core/components/shadcn/switch.js.map +1 -0
- package/lib/core/components/shadcn/tabs.d.ts +49 -0
- package/lib/core/components/shadcn/tabs.d.ts.map +1 -0
- package/lib/core/components/shadcn/tabs.js +140 -0
- package/lib/core/components/shadcn/tabs.js.map +1 -0
- package/lib/core/components/shadcn/text.d.ts +11 -0
- package/lib/core/components/shadcn/text.d.ts.map +1 -0
- package/lib/core/components/shadcn/text.js +30 -0
- package/lib/core/components/shadcn/text.js.map +1 -0
- package/lib/core/components/shadcn/textarea.d.ts +8 -0
- package/lib/core/components/shadcn/textarea.d.ts.map +1 -0
- package/lib/core/components/shadcn/textarea.js +35 -0
- package/lib/core/components/shadcn/textarea.js.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.d.ts +15 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.d.ts.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.js +36 -0
- package/lib/core/components/shadcn/theme/ThemeProvider.js.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.d.ts +16 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +1 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.js +15 -0
- package/lib/core/components/shadcn/theme/ThemeSwitcher.js.map +1 -0
- package/lib/core/components/shadcn/tooltip.d.ts +21 -0
- package/lib/core/components/shadcn/tooltip.d.ts.map +1 -0
- package/lib/core/components/shadcn/tooltip.js +38 -0
- package/lib/core/components/shadcn/tooltip.js.map +1 -0
- package/lib/core/components/styles.d.ts.map +1 -0
- package/lib/core/components/styles.js +10 -0
- package/lib/core/components/styles.js.map +1 -0
- package/lib/core/components/table/index.d.ts +43 -0
- package/lib/core/components/table/index.d.ts.map +1 -0
- package/lib/core/components/table/index.js +43 -0
- package/lib/core/components/table/index.js.map +1 -0
- package/lib/core/components/toast/NotificationPanel.d.ts +8 -0
- package/lib/core/components/toast/NotificationPanel.d.ts.map +1 -0
- package/lib/core/components/toast/NotificationPanel.js +41 -0
- package/lib/core/components/toast/NotificationPanel.js.map +1 -0
- package/lib/core/components/toast/ToastContext.d.ts +6 -0
- package/lib/core/components/toast/ToastContext.d.ts.map +1 -0
- package/lib/core/components/toast/ToastContext.js +7 -0
- package/lib/core/components/toast/ToastContext.js.map +1 -0
- package/lib/core/components/toast/ToastProps.d.ts.map +1 -0
- package/lib/core/components/toast/ToastProps.js.map +1 -0
- package/lib/core/components/toast/ToastProvider.d.ts +6 -0
- package/lib/core/components/toast/ToastProvider.d.ts.map +1 -0
- package/lib/core/components/toast/ToastProvider.js +19 -0
- package/lib/core/components/toast/ToastProvider.js.map +1 -0
- package/lib/core/components/toast/index.d.ts +3 -0
- package/lib/core/components/toast/index.d.ts.map +1 -0
- package/lib/core/components/toast/index.js +3 -0
- package/lib/core/components/toast/index.js.map +1 -0
- package/lib/core/hooks/CompositeState.d.ts +137 -0
- package/lib/core/hooks/CompositeState.d.ts.map +1 -0
- package/lib/core/hooks/CompositeState.js +256 -0
- package/lib/core/hooks/CompositeState.js.map +1 -0
- package/lib/core/hooks/PortalContainerProvider.d.ts +8 -0
- package/lib/core/hooks/PortalContainerProvider.d.ts.map +1 -0
- package/lib/core/hooks/PortalContainerProvider.js +50 -0
- package/lib/core/hooks/PortalContainerProvider.js.map +1 -0
- package/lib/core/hooks/SharedState.d.ts +10 -0
- package/lib/core/hooks/SharedState.d.ts.map +1 -0
- package/lib/core/hooks/SharedState.js +64 -0
- package/lib/core/hooks/SharedState.js.map +1 -0
- package/lib/core/hooks/index.d.ts +16 -0
- package/lib/core/hooks/index.d.ts.map +1 -0
- package/lib/core/hooks/index.js +16 -0
- package/lib/core/hooks/index.js.map +1 -0
- package/lib/core/hooks/useClickOutside.d.ts.map +1 -0
- package/lib/core/hooks/useClickOutside.js +30 -0
- package/lib/core/hooks/useClickOutside.js.map +1 -0
- package/lib/core/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/lib/core/hooks/useCopyToClipboard.js.map +1 -0
- package/lib/core/hooks/useDarkMode.d.ts.map +1 -0
- package/lib/core/hooks/useDarkMode.js +11 -0
- package/lib/core/hooks/useDarkMode.js.map +1 -0
- package/lib/core/hooks/useDebounce.d.ts.map +1 -0
- package/lib/core/hooks/useDebounce.js +14 -0
- package/lib/core/hooks/useDebounce.js.map +1 -0
- package/lib/core/hooks/useEventSource.d.ts +11 -0
- package/lib/core/hooks/useEventSource.d.ts.map +1 -0
- package/lib/core/hooks/useEventSource.js +56 -0
- package/lib/core/hooks/useEventSource.js.map +1 -0
- package/lib/core/hooks/useFetch.d.ts +24 -0
- package/lib/core/hooks/useFetch.d.ts.map +1 -0
- package/lib/core/hooks/useFetch.js +54 -0
- package/lib/core/hooks/useFetch.js.map +1 -0
- package/lib/core/hooks/useFlag.d.ts.map +1 -0
- package/lib/core/hooks/useFlag.js +13 -0
- package/lib/core/hooks/useFlag.js.map +1 -0
- package/lib/core/hooks/useIntersectionObserver.d.ts +14 -0
- package/lib/core/hooks/useIntersectionObserver.d.ts.map +1 -0
- package/lib/core/hooks/useIntersectionObserver.js +40 -0
- package/lib/core/hooks/useIntersectionObserver.js.map +1 -0
- package/lib/core/hooks/useIsFistRendering.d.ts.map +1 -0
- package/lib/core/hooks/useIsFistRendering.js +16 -0
- package/lib/core/hooks/useIsFistRendering.js.map +1 -0
- package/lib/core/hooks/useSafeLayoutEffect.d.ts +4 -0
- package/lib/core/hooks/useSafeLayoutEffect.d.ts.map +1 -0
- package/lib/core/hooks/useSafeLayoutEffect.js +4 -0
- package/lib/core/hooks/useSafeLayoutEffect.js.map +1 -0
- package/lib/core/hooks/useScrollableSearch.d.ts +82 -0
- package/lib/core/hooks/useScrollableSearch.d.ts.map +1 -0
- package/lib/core/hooks/useScrollableSearch.js +95 -0
- package/lib/core/hooks/useScrollableSearch.js.map +1 -0
- package/lib/core/hooks/useSharedValue.d.ts +12 -0
- package/lib/core/hooks/useSharedValue.d.ts.map +1 -0
- package/lib/core/hooks/useSharedValue.js +21 -0
- package/lib/core/hooks/useSharedValue.js.map +1 -0
- package/lib/core/index.d.ts +4 -0
- package/lib/core/index.d.ts.map +1 -0
- package/lib/core/index.js +4 -0
- package/lib/core/index.js.map +1 -0
- package/lib/core/utils/a11y.d.ts +16 -0
- package/lib/core/utils/a11y.d.ts.map +1 -0
- package/lib/core/utils/a11y.js +22 -0
- package/lib/core/utils/a11y.js.map +1 -0
- package/lib/core/utils/cn.d.ts +3 -0
- package/lib/core/utils/cn.d.ts.map +1 -0
- package/lib/core/utils/cn.js +6 -0
- package/lib/core/utils/cn.js.map +1 -0
- package/lib/core/utils/errorMessage.d.ts +2 -0
- package/lib/core/utils/errorMessage.d.ts.map +1 -0
- package/lib/core/utils/errorMessage.js +16 -0
- package/lib/core/utils/errorMessage.js.map +1 -0
- package/lib/core/utils/index.d.ts +5 -0
- package/lib/core/utils/index.d.ts.map +1 -0
- package/lib/core/utils/index.js +5 -0
- package/lib/core/utils/index.js.map +1 -0
- package/lib/core/utils/textarea.d.ts +7 -0
- package/lib/core/utils/textarea.d.ts.map +1 -0
- package/lib/core/utils/textarea.js +16 -0
- package/lib/core/utils/textarea.js.map +1 -0
- package/lib/env/index.d.ts +106 -0
- package/lib/env/index.d.ts.map +1 -0
- package/lib/env/index.js +91 -0
- package/lib/env/index.js.map +1 -0
- package/lib/features/activity-doc/ActivityDoc.d.ts +14 -0
- package/lib/features/activity-doc/ActivityDoc.d.ts.map +1 -0
- package/lib/features/activity-doc/ActivityDoc.js +68 -0
- package/lib/features/activity-doc/ActivityDoc.js.map +1 -0
- package/lib/features/activity-doc/index.d.ts +2 -0
- package/lib/features/activity-doc/index.d.ts.map +1 -0
- package/lib/features/activity-doc/index.js +2 -0
- package/lib/features/activity-doc/index.js.map +1 -0
- package/lib/features/agent/PayloadBuilder.d.ts +119 -0
- package/lib/features/agent/PayloadBuilder.d.ts.map +1 -0
- package/lib/features/agent/PayloadBuilder.js +457 -0
- package/lib/features/agent/PayloadBuilder.js.map +1 -0
- package/lib/features/agent/chat/AgentChart.d.ts +34 -0
- package/lib/features/agent/chat/AgentChart.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentChart.js +26 -0
- package/lib/features/agent/chat/AgentChart.js.map +1 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.d.ts +34 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.js +125 -0
- package/lib/features/agent/chat/AgentChatFixtureReplay.js.map +1 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.d.ts +10 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.js +87 -0
- package/lib/features/agent/chat/AgentChatPlaybackControls.js.map +1 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.d.ts +10 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.js +18 -0
- package/lib/features/agent/chat/AgentRequestInputOverlay.js.map +1 -0
- package/lib/features/agent/chat/AgentRightPanel.d.ts +45 -0
- package/lib/features/agent/chat/AgentRightPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/AgentRightPanel.js +224 -0
- package/lib/features/agent/chat/AgentRightPanel.js.map +1 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.d.ts +38 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.d.ts.map +1 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.js +242 -0
- package/lib/features/agent/chat/AnimatedThinkingDots.js.map +1 -0
- package/lib/features/agent/chat/ArtifactsTab.d.ts +9 -0
- package/lib/features/agent/chat/ArtifactsTab.d.ts.map +1 -0
- package/lib/features/agent/chat/ArtifactsTab.js +159 -0
- package/lib/features/agent/chat/ArtifactsTab.js.map +1 -0
- package/lib/features/agent/chat/AskUserWidget.d.ts +88 -0
- package/lib/features/agent/chat/AskUserWidget.d.ts.map +1 -0
- package/lib/features/agent/chat/AskUserWidget.js +133 -0
- package/lib/features/agent/chat/AskUserWidget.js.map +1 -0
- package/lib/features/agent/chat/BrowserUseWidget.d.ts +24 -0
- package/lib/features/agent/chat/BrowserUseWidget.d.ts.map +1 -0
- package/lib/features/agent/chat/BrowserUseWidget.js +122 -0
- package/lib/features/agent/chat/BrowserUseWidget.js.map +1 -0
- package/lib/features/agent/chat/DocumentPanel.d.ts +16 -0
- package/lib/features/agent/chat/DocumentPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/DocumentPanel.js +53 -0
- package/lib/features/agent/chat/DocumentPanel.js.map +1 -0
- package/lib/features/agent/chat/DocumentTabBar.d.ts +9 -0
- package/lib/features/agent/chat/DocumentTabBar.d.ts.map +1 -0
- package/lib/features/agent/chat/DocumentTabBar.js +9 -0
- package/lib/features/agent/chat/DocumentTabBar.js.map +1 -0
- package/lib/features/agent/chat/ImageLightbox.d.ts +18 -0
- package/lib/features/agent/chat/ImageLightbox.d.ts.map +1 -0
- package/lib/features/agent/chat/ImageLightbox.js +37 -0
- package/lib/features/agent/chat/ImageLightbox.js.map +1 -0
- package/lib/features/agent/chat/JumpingDots.d.ts +7 -0
- package/lib/features/agent/chat/JumpingDots.d.ts.map +1 -0
- package/lib/features/agent/chat/JumpingDots.js +6 -0
- package/lib/features/agent/chat/JumpingDots.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentConversation.d.ts +169 -0
- package/lib/features/agent/chat/ModernAgentConversation.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentConversation.js +1147 -0
- package/lib/features/agent/chat/ModernAgentConversation.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +86 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +1574 -0
- package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.d.ts +38 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.js +201 -0
- package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +26 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +88 -0
- package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.d.ts +45 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.js +103 -0
- package/lib/features/agent/chat/ModernAgentOutput/Header.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +11 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +30 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +18 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +80 -0
- package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +70 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.js +296 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageInput.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +60 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.js +383 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessageItem.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +15 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.js +21 -0
- package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +9 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.js +66 -0
- package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +11 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.js +24 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +9 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.js +52 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +10 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +85 -0
- package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +9 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.js +13 -0
- package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +38 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.js +203 -0
- package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts +24 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js +332 -0
- package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +34 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +643 -0
- package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +22 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +95 -0
- package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.d.ts +3 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.js +123 -0
- package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.d.ts +13 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.js +69 -0
- package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.js.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.d.ts +147 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.d.ts.map +1 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.js +634 -0
- package/lib/features/agent/chat/ModernAgentOutput/utils.js.map +1 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.d.ts +9 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.d.ts.map +1 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.js +55 -0
- package/lib/features/agent/chat/ProposalCodeBlockHandler.js.map +1 -0
- package/lib/features/agent/chat/SkillWidgetProvider.d.ts +11 -0
- package/lib/features/agent/chat/SkillWidgetProvider.d.ts.map +1 -0
- package/lib/features/agent/chat/SkillWidgetProvider.js +156 -0
- package/lib/features/agent/chat/SkillWidgetProvider.js.map +1 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.d.ts +18 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.d.ts.map +1 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.js +269 -0
- package/lib/features/agent/chat/SlidingThinkingIndicator.js.map +1 -0
- package/lib/features/agent/chat/VegaLiteChart.d.ts +52 -0
- package/lib/features/agent/chat/VegaLiteChart.d.ts.map +1 -0
- package/lib/features/agent/chat/VegaLiteChart.js +813 -0
- package/lib/features/agent/chat/VegaLiteChart.js.map +1 -0
- package/lib/features/agent/chat/WaitingMessages.d.ts.map +1 -0
- package/lib/features/agent/chat/WaitingMessages.js +60 -0
- package/lib/features/agent/chat/WaitingMessages.js.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.d.ts +22 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.js +139 -0
- package/lib/features/agent/chat/hooks/useAgentPlans.js.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentStream.d.ts +50 -0
- package/lib/features/agent/chat/hooks/useAgentStream.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useAgentStream.js +289 -0
- package/lib/features/agent/chat/hooks/useAgentStream.js.map +1 -0
- package/lib/features/agent/chat/hooks/useArtifacts.d.ts +25 -0
- package/lib/features/agent/chat/hooks/useArtifacts.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useArtifacts.js +122 -0
- package/lib/features/agent/chat/hooks/useArtifacts.js.map +1 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.d.ts +23 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.js +155 -0
- package/lib/features/agent/chat/hooks/useDocumentPanel.js.map +1 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.d.ts +28 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.d.ts.map +1 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.js +177 -0
- package/lib/features/agent/chat/hooks/useFileProcessing.js.map +1 -0
- package/lib/features/agent/chat/index.d.ts +24 -0
- package/lib/features/agent/chat/index.d.ts.map +1 -0
- package/lib/features/agent/chat/index.js +21 -0
- package/lib/features/agent/chat/index.js.map +1 -0
- package/lib/features/agent/chat/playback.d.ts +21 -0
- package/lib/features/agent/chat/playback.d.ts.map +1 -0
- package/lib/features/agent/chat/playback.js +72 -0
- package/lib/features/agent/chat/playback.js.map +1 -0
- package/lib/features/agent/chat/types/document.d.ts.map +1 -0
- package/lib/features/agent/chat/types/document.js.map +1 -0
- package/lib/features/agent/chat/useArtifactUrlCache.d.ts +34 -0
- package/lib/features/agent/chat/useArtifactUrlCache.d.ts.map +1 -0
- package/lib/features/agent/chat/useArtifactUrlCache.js +72 -0
- package/lib/features/agent/chat/useArtifactUrlCache.js.map +1 -0
- package/lib/features/agent/chat/workstreams.d.ts +30 -0
- package/lib/features/agent/chat/workstreams.d.ts.map +1 -0
- package/lib/features/agent/chat/workstreams.js +136 -0
- package/lib/features/agent/chat/workstreams.js.map +1 -0
- package/lib/features/agent/index.d.ts +3 -0
- package/lib/features/agent/index.d.ts.map +1 -0
- package/lib/features/agent/index.js +3 -0
- package/lib/features/agent/index.js.map +1 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.d.ts +73 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.d.ts.map +1 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.js +415 -0
- package/lib/features/document-viewer/UniversalDocumentViewer.js.map +1 -0
- package/lib/features/document-viewer/index.d.ts +2 -0
- package/lib/features/document-viewer/index.d.ts.map +1 -0
- package/lib/features/document-viewer/index.js +2 -0
- package/lib/features/document-viewer/index.js.map +1 -0
- package/lib/features/errors/PanelErrorBoundary.d.ts +5 -0
- package/lib/features/errors/PanelErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/PanelErrorBoundary.js +13 -0
- package/lib/features/errors/PanelErrorBoundary.js.map +1 -0
- package/lib/features/errors/RowErrorBoundary.d.ts +8 -0
- package/lib/features/errors/RowErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/RowErrorBoundary.js +10 -0
- package/lib/features/errors/RowErrorBoundary.js.map +1 -0
- package/lib/features/errors/VertesiaErrorBoundary.d.ts +12 -0
- package/lib/features/errors/VertesiaErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/VertesiaErrorBoundary.js +16 -0
- package/lib/features/errors/VertesiaErrorBoundary.js.map +1 -0
- package/lib/features/errors/WidgetErrorBoundary.d.ts +5 -0
- package/lib/features/errors/WidgetErrorBoundary.d.ts.map +1 -0
- package/lib/features/errors/WidgetErrorBoundary.js +11 -0
- package/lib/features/errors/WidgetErrorBoundary.js.map +1 -0
- package/lib/features/errors/index.d.ts +5 -0
- package/lib/features/errors/index.d.ts.map +1 -0
- package/lib/features/errors/index.js +5 -0
- package/lib/features/errors/index.js.map +1 -0
- package/lib/features/facets/AgentRunnerFacetsNav.d.ts +19 -0
- package/lib/features/facets/AgentRunnerFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/AgentRunnerFacetsNav.js +85 -0
- package/lib/features/facets/AgentRunnerFacetsNav.js.map +1 -0
- package/lib/features/facets/CollectionsFacetsNav.d.ts +15 -0
- package/lib/features/facets/CollectionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/CollectionsFacetsNav.js +74 -0
- package/lib/features/facets/CollectionsFacetsNav.js.map +1 -0
- package/lib/features/facets/DocumentsFacetsNav.d.ts +12 -0
- package/lib/features/facets/DocumentsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/DocumentsFacetsNav.js +137 -0
- package/lib/features/facets/DocumentsFacetsNav.js.map +1 -0
- package/lib/features/facets/EnvironmentFacet.d.ts +11 -0
- package/lib/features/facets/EnvironmentFacet.d.ts.map +1 -0
- package/lib/features/facets/EnvironmentFacet.js +42 -0
- package/lib/features/facets/EnvironmentFacet.js.map +1 -0
- package/lib/features/facets/InteractionsFacetsNav.d.ts +13 -0
- package/lib/features/facets/InteractionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/InteractionsFacetsNav.js +73 -0
- package/lib/features/facets/InteractionsFacetsNav.js.map +1 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.d.ts +19 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.js +21 -0
- package/lib/features/facets/ProcessDefinitionsFacetsNav.js.map +1 -0
- package/lib/features/facets/ProcessRunsFacetsNav.d.ts +22 -0
- package/lib/features/facets/ProcessRunsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/ProcessRunsFacetsNav.js +25 -0
- package/lib/features/facets/ProcessRunsFacetsNav.js.map +1 -0
- package/lib/features/facets/PromptsFacetsNav.d.ts +16 -0
- package/lib/features/facets/PromptsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/PromptsFacetsNav.js +65 -0
- package/lib/features/facets/PromptsFacetsNav.js.map +1 -0
- package/lib/features/facets/RunsFacetsNav.d.ts +24 -0
- package/lib/features/facets/RunsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/RunsFacetsNav.js +147 -0
- package/lib/features/facets/RunsFacetsNav.js.map +1 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.d.ts +20 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.js +21 -0
- package/lib/features/facets/WorkflowDefinitionsFacetsNav.js.map +1 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.d.ts +15 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.js +103 -0
- package/lib/features/facets/WorkflowExecutionsFacetsNav.js.map +1 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.d.ts +20 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.d.ts.map +1 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.js +19 -0
- package/lib/features/facets/WorkflowRulesFacetsNav.js.map +1 -0
- package/lib/features/facets/index.d.ts +21 -0
- package/lib/features/facets/index.d.ts.map +1 -0
- package/lib/features/facets/index.js +21 -0
- package/lib/features/facets/index.js.map +1 -0
- package/lib/features/facets/utils/SearchInterface.d.ts +20 -0
- package/lib/features/facets/utils/SearchInterface.d.ts.map +1 -0
- package/lib/features/facets/utils/SearchInterface.js +20 -0
- package/lib/features/facets/utils/SearchInterface.js.map +1 -0
- package/lib/features/facets/utils/StringFacet.d.ts +12 -0
- package/lib/features/facets/utils/StringFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/StringFacet.js +12 -0
- package/lib/features/facets/utils/StringFacet.js.map +1 -0
- package/lib/features/facets/utils/StringListFacet.d.ts +12 -0
- package/lib/features/facets/utils/StringListFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/StringListFacet.js +11 -0
- package/lib/features/facets/utils/StringListFacet.js.map +1 -0
- package/lib/features/facets/utils/TypeFacet.d.ts +17 -0
- package/lib/features/facets/utils/TypeFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/TypeFacet.js +42 -0
- package/lib/features/facets/utils/TypeFacet.js.map +1 -0
- package/lib/features/facets/utils/VEnvironmentFacet.d.ts +12 -0
- package/lib/features/facets/utils/VEnvironmentFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VEnvironmentFacet.js +25 -0
- package/lib/features/facets/utils/VEnvironmentFacet.js.map +1 -0
- package/lib/features/facets/utils/VInteractionFacet.d.ts +15 -0
- package/lib/features/facets/utils/VInteractionFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VInteractionFacet.js +45 -0
- package/lib/features/facets/utils/VInteractionFacet.js.map +1 -0
- package/lib/features/facets/utils/VStringFacet.d.ts +20 -0
- package/lib/features/facets/utils/VStringFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VStringFacet.js +20 -0
- package/lib/features/facets/utils/VStringFacet.js.map +1 -0
- package/lib/features/facets/utils/VTypeFacet.d.ts +12 -0
- package/lib/features/facets/utils/VTypeFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VTypeFacet.js +61 -0
- package/lib/features/facets/utils/VTypeFacet.js.map +1 -0
- package/lib/features/facets/utils/VUserFacet.d.ts +11 -0
- package/lib/features/facets/utils/VUserFacet.d.ts.map +1 -0
- package/lib/features/facets/utils/VUserFacet.js +31 -0
- package/lib/features/facets/utils/VUserFacet.js.map +1 -0
- package/lib/features/facets/utils/utils.d.ts +4 -0
- package/lib/features/facets/utils/utils.d.ts.map +1 -0
- package/lib/features/facets/utils/utils.js.map +1 -0
- package/lib/features/index.d.ts +15 -0
- package/lib/features/index.d.ts.map +1 -0
- package/lib/features/index.js +15 -0
- package/lib/features/index.js.map +1 -0
- package/lib/features/layout/GenericPageNavHeader.d.ts +19 -0
- package/lib/features/layout/GenericPageNavHeader.d.ts.map +1 -0
- package/lib/features/layout/GenericPageNavHeader.js +89 -0
- package/lib/features/layout/GenericPageNavHeader.js.map +1 -0
- package/lib/features/layout/NotFoundView.d.ts +2 -0
- package/lib/features/layout/NotFoundView.d.ts.map +1 -0
- package/lib/features/layout/NotFoundView.js +7 -0
- package/lib/features/layout/NotFoundView.js.map +1 -0
- package/lib/features/layout/index.d.ts +3 -0
- package/lib/features/layout/index.d.ts.map +1 -0
- package/lib/features/layout/index.js +3 -0
- package/lib/features/layout/index.js.map +1 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.d.ts +13 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.d.ts.map +1 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.js +277 -0
- package/lib/features/magic-pdf/AnnotatedImageSlider.js.map +1 -0
- package/lib/features/magic-pdf/DownloadPopover.d.ts +7 -0
- package/lib/features/magic-pdf/DownloadPopover.d.ts.map +1 -0
- package/lib/features/magic-pdf/DownloadPopover.js +29 -0
- package/lib/features/magic-pdf/DownloadPopover.js.map +1 -0
- package/lib/features/magic-pdf/ExtractedContentView.d.ts +8 -0
- package/lib/features/magic-pdf/ExtractedContentView.d.ts.map +1 -0
- package/lib/features/magic-pdf/ExtractedContentView.js +79 -0
- package/lib/features/magic-pdf/ExtractedContentView.js.map +1 -0
- package/lib/features/magic-pdf/MagicPdfProvider.d.ts +58 -0
- package/lib/features/magic-pdf/MagicPdfProvider.d.ts.map +1 -0
- package/lib/features/magic-pdf/MagicPdfProvider.js +241 -0
- package/lib/features/magic-pdf/MagicPdfProvider.js.map +1 -0
- package/lib/features/magic-pdf/MagicPdfView.d.ts +7 -0
- package/lib/features/magic-pdf/MagicPdfView.d.ts.map +1 -0
- package/lib/features/magic-pdf/MagicPdfView.js +64 -0
- package/lib/features/magic-pdf/MagicPdfView.js.map +1 -0
- package/lib/features/magic-pdf/index.d.ts +2 -0
- package/lib/features/magic-pdf/index.d.ts.map +1 -0
- package/lib/features/magic-pdf/index.js +2 -0
- package/lib/features/magic-pdf/index.js.map +1 -0
- package/lib/features/magic-pdf/types.d.ts +2 -0
- package/lib/features/magic-pdf/types.d.ts.map +1 -0
- package/lib/features/magic-pdf/types.js.map +1 -0
- package/lib/features/media-viewer/AudioPanel.d.ts +18 -0
- package/lib/features/media-viewer/AudioPanel.d.ts.map +1 -0
- package/lib/features/media-viewer/AudioPanel.js +77 -0
- package/lib/features/media-viewer/AudioPanel.js.map +1 -0
- package/lib/features/media-viewer/ImagePanel.d.ts +18 -0
- package/lib/features/media-viewer/ImagePanel.d.ts.map +1 -0
- package/lib/features/media-viewer/ImagePanel.js +74 -0
- package/lib/features/media-viewer/ImagePanel.js.map +1 -0
- package/lib/features/media-viewer/VideoPanel.d.ts +18 -0
- package/lib/features/media-viewer/VideoPanel.d.ts.map +1 -0
- package/lib/features/media-viewer/VideoPanel.js +89 -0
- package/lib/features/media-viewer/VideoPanel.js.map +1 -0
- package/lib/features/media-viewer/formats.d.ts +11 -0
- package/lib/features/media-viewer/formats.d.ts.map +1 -0
- package/lib/features/media-viewer/formats.js +34 -0
- package/lib/features/media-viewer/formats.js.map +1 -0
- package/lib/features/media-viewer/index.d.ts +5 -0
- package/lib/features/media-viewer/index.d.ts.map +1 -0
- package/lib/features/media-viewer/index.js +5 -0
- package/lib/features/media-viewer/index.js.map +1 -0
- package/lib/features/oauth/OAuthProviderConnectButton.d.ts +11 -0
- package/lib/features/oauth/OAuthProviderConnectButton.d.ts.map +1 -0
- package/lib/features/oauth/OAuthProviderConnectButton.js +85 -0
- package/lib/features/oauth/OAuthProviderConnectButton.js.map +1 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.d.ts +25 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.d.ts.map +1 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.js +119 -0
- package/lib/features/oauth/RemoteMcpConnectionButton.js.map +1 -0
- package/lib/features/oauth/index.d.ts.map +1 -0
- package/lib/features/oauth/index.js.map +1 -0
- package/lib/features/oauth/useOAuthPopup.d.ts.map +1 -0
- package/lib/features/oauth/useOAuthPopup.js.map +1 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.d.ts +83 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.d.ts.map +1 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.js +259 -0
- package/lib/features/pdf-viewer/PdfPageRenderer.js.map +1 -0
- package/lib/features/pdf-viewer/PdfPageSlider.d.ts +29 -0
- package/lib/features/pdf-viewer/PdfPageSlider.d.ts.map +1 -0
- package/lib/features/pdf-viewer/PdfPageSlider.js +274 -0
- package/lib/features/pdf-viewer/PdfPageSlider.js.map +1 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.d.ts +19 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.d.ts.map +1 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.js +74 -0
- package/lib/features/pdf-viewer/SimplePdfViewer.js.map +1 -0
- package/lib/features/pdf-viewer/index.d.ts.map +1 -0
- package/lib/features/pdf-viewer/index.js.map +1 -0
- package/lib/features/permissions/SecureButton.d.ts +8 -0
- package/lib/features/permissions/SecureButton.d.ts.map +1 -0
- package/lib/features/permissions/SecureButton.js +12 -0
- package/lib/features/permissions/SecureButton.js.map +1 -0
- package/lib/features/permissions/SecureSidebarItem.d.ts +8 -0
- package/lib/features/permissions/SecureSidebarItem.d.ts.map +1 -0
- package/lib/features/permissions/SecureSidebarItem.js +14 -0
- package/lib/features/permissions/SecureSidebarItem.js.map +1 -0
- package/lib/features/permissions/UserPermissionsProvider.d.ts +20 -0
- package/lib/features/permissions/UserPermissionsProvider.d.ts.map +1 -0
- package/lib/features/permissions/UserPermissionsProvider.js +98 -0
- package/lib/features/permissions/UserPermissionsProvider.js.map +1 -0
- package/lib/features/permissions/helpers.d.ts +5 -0
- package/lib/features/permissions/helpers.d.ts.map +1 -0
- package/lib/features/permissions/helpers.js.map +1 -0
- package/lib/features/permissions/index.d.ts +5 -0
- package/lib/features/permissions/index.d.ts.map +1 -0
- package/lib/features/permissions/index.js +5 -0
- package/lib/features/permissions/index.js.map +1 -0
- package/lib/features/store/collections/BrowseCollectionView.d.ts +7 -0
- package/lib/features/store/collections/BrowseCollectionView.d.ts.map +1 -0
- package/lib/features/store/collections/BrowseCollectionView.js +48 -0
- package/lib/features/store/collections/BrowseCollectionView.js.map +1 -0
- package/lib/features/store/collections/CollectionsTable.d.ts +5 -0
- package/lib/features/store/collections/CollectionsTable.d.ts.map +1 -0
- package/lib/features/store/collections/CollectionsTable.js +65 -0
- package/lib/features/store/collections/CollectionsTable.js.map +1 -0
- package/lib/features/store/collections/CreateCollection.d.ts +13 -0
- package/lib/features/store/collections/CreateCollection.d.ts.map +1 -0
- package/lib/features/store/collections/CreateCollection.js +89 -0
- package/lib/features/store/collections/CreateCollection.js.map +1 -0
- package/lib/features/store/collections/EditCollectionView.d.ts +8 -0
- package/lib/features/store/collections/EditCollectionView.d.ts.map +1 -0
- package/lib/features/store/collections/EditCollectionView.js +228 -0
- package/lib/features/store/collections/EditCollectionView.js.map +1 -0
- package/lib/features/store/collections/SelectCollection.d.ts +20 -0
- package/lib/features/store/collections/SelectCollection.d.ts.map +1 -0
- package/lib/features/store/collections/SelectCollection.js +134 -0
- package/lib/features/store/collections/SelectCollection.js.map +1 -0
- package/lib/features/store/collections/SharedPropsEditor.d.ts +7 -0
- package/lib/features/store/collections/SharedPropsEditor.d.ts.map +1 -0
- package/lib/features/store/collections/SharedPropsEditor.js +44 -0
- package/lib/features/store/collections/SharedPropsEditor.js.map +1 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.d.ts +7 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.d.ts.map +1 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.js +41 -0
- package/lib/features/store/collections/SyncMemberHeadsToggle.js.map +1 -0
- package/lib/features/store/collections/index.d.ts +8 -0
- package/lib/features/store/collections/index.d.ts.map +1 -0
- package/lib/features/store/collections/index.js +8 -0
- package/lib/features/store/collections/index.js.map +1 -0
- package/lib/features/store/index.d.ts +4 -0
- package/lib/features/store/index.d.ts.map +1 -0
- package/lib/features/store/index.js +4 -0
- package/lib/features/store/index.js.map +1 -0
- package/lib/features/store/objects/DocumentPreviewPanel.d.ts +8 -0
- package/lib/features/store/objects/DocumentPreviewPanel.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentPreviewPanel.js +146 -0
- package/lib/features/store/objects/DocumentPreviewPanel.js.map +1 -0
- package/lib/features/store/objects/DocumentSearchResults.d.ts +20 -0
- package/lib/features/store/objects/DocumentSearchResults.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentSearchResults.js +251 -0
- package/lib/features/store/objects/DocumentSearchResults.js.map +1 -0
- package/lib/features/store/objects/DocumentSelectionProvider.d.ts +33 -0
- package/lib/features/store/objects/DocumentSelectionProvider.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentSelectionProvider.js +81 -0
- package/lib/features/store/objects/DocumentSelectionProvider.js.map +1 -0
- package/lib/features/store/objects/DocumentTable.d.ts +25 -0
- package/lib/features/store/objects/DocumentTable.d.ts.map +1 -0
- package/lib/features/store/objects/DocumentTable.js +281 -0
- package/lib/features/store/objects/DocumentTable.js.map +1 -0
- package/lib/features/store/objects/ExportPropertiesModal.d.ts +12 -0
- package/lib/features/store/objects/ExportPropertiesModal.d.ts.map +1 -0
- package/lib/features/store/objects/ExportPropertiesModal.js +31 -0
- package/lib/features/store/objects/ExportPropertiesModal.js.map +1 -0
- package/lib/features/store/objects/components/ContentDispositionButton.d.ts +9 -0
- package/lib/features/store/objects/components/ContentDispositionButton.d.ts.map +1 -0
- package/lib/features/store/objects/components/ContentDispositionButton.js +31 -0
- package/lib/features/store/objects/components/ContentDispositionButton.js.map +1 -0
- package/lib/features/store/objects/components/ContentOverview.d.ts +10 -0
- package/lib/features/store/objects/components/ContentOverview.d.ts.map +1 -0
- package/lib/features/store/objects/components/ContentOverview.js +433 -0
- package/lib/features/store/objects/components/ContentOverview.js.map +1 -0
- package/lib/features/store/objects/components/DocumentIcon.d.ts +19 -0
- package/lib/features/store/objects/components/DocumentIcon.d.ts.map +1 -0
- package/lib/features/store/objects/components/DocumentIcon.js +37 -0
- package/lib/features/store/objects/components/DocumentIcon.js.map +1 -0
- package/lib/features/store/objects/components/DocumentInput.d.ts +8 -0
- package/lib/features/store/objects/components/DocumentInput.d.ts.map +1 -0
- package/lib/features/store/objects/components/DocumentInput.js +52 -0
- package/lib/features/store/objects/components/DocumentInput.js.map +1 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.d.ts +9 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.d.ts.map +1 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.js +161 -0
- package/lib/features/store/objects/components/PropertiesEditorModal.js.map +1 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.d.ts +9 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +1 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.js +58 -0
- package/lib/features/store/objects/components/SaveVersionConfirmModal.js.map +1 -0
- package/lib/features/store/objects/components/SelectDocument.d.ts +11 -0
- package/lib/features/store/objects/components/SelectDocument.d.ts.map +1 -0
- package/lib/features/store/objects/components/SelectDocument.js +55 -0
- package/lib/features/store/objects/components/SelectDocument.js.map +1 -0
- package/lib/features/store/objects/components/SelectDocumentModal.d.ts +9 -0
- package/lib/features/store/objects/components/SelectDocumentModal.d.ts.map +1 -0
- package/lib/features/store/objects/components/SelectDocumentModal.js +7 -0
- package/lib/features/store/objects/components/SelectDocumentModal.js.map +1 -0
- package/lib/features/store/objects/components/TextEditorPanel.d.ts +10 -0
- package/lib/features/store/objects/components/TextEditorPanel.d.ts.map +1 -0
- package/lib/features/store/objects/components/TextEditorPanel.js +99 -0
- package/lib/features/store/objects/components/TextEditorPanel.js.map +1 -0
- package/lib/features/store/objects/components/VectorSearchWidget.d.ts +12 -0
- package/lib/features/store/objects/components/VectorSearchWidget.d.ts.map +1 -0
- package/lib/features/store/objects/components/VectorSearchWidget.js +101 -0
- package/lib/features/store/objects/components/VectorSearchWidget.js.map +1 -0
- package/lib/features/store/objects/components/index.d.ts +10 -0
- package/lib/features/store/objects/components/index.d.ts.map +1 -0
- package/lib/features/store/objects/components/index.js +10 -0
- package/lib/features/store/objects/components/index.js.map +1 -0
- package/lib/features/store/objects/components/useContentPanelHooks.d.ts +30 -0
- package/lib/features/store/objects/components/useContentPanelHooks.d.ts.map +1 -0
- package/lib/features/store/objects/components/useContentPanelHooks.js +193 -0
- package/lib/features/store/objects/components/useContentPanelHooks.js.map +1 -0
- package/lib/features/store/objects/components/useDownloadFile.d.ts +39 -0
- package/lib/features/store/objects/components/useDownloadFile.d.ts.map +1 -0
- package/lib/features/store/objects/components/useDownloadFile.js +196 -0
- package/lib/features/store/objects/components/useDownloadFile.js.map +1 -0
- package/lib/features/store/objects/index.d.ts +11 -0
- package/lib/features/store/objects/index.d.ts.map +1 -0
- package/lib/features/store/objects/index.js +11 -0
- package/lib/features/store/objects/index.js.map +1 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.d.ts +18 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.d.ts.map +1 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.js +95 -0
- package/lib/features/store/objects/layout/DocumentTableColumn.js.map +1 -0
- package/lib/features/store/objects/layout/documentLayout.d.ts +21 -0
- package/lib/features/store/objects/layout/documentLayout.d.ts.map +1 -0
- package/lib/features/store/objects/layout/documentLayout.js +18 -0
- package/lib/features/store/objects/layout/documentLayout.js.map +1 -0
- package/lib/features/store/objects/layout/index.d.ts +3 -0
- package/lib/features/store/objects/layout/index.d.ts.map +1 -0
- package/lib/features/store/objects/layout/index.js +3 -0
- package/lib/features/store/objects/layout/index.js.map +1 -0
- package/lib/features/store/objects/layout/renderers.d.ts +3 -0
- package/lib/features/store/objects/layout/renderers.d.ts.map +1 -0
- package/lib/features/store/objects/layout/renderers.js +198 -0
- package/lib/features/store/objects/layout/renderers.js.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchContext.d.ts +53 -0
- package/lib/features/store/objects/search/DocumentSearchContext.d.ts.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchContext.js +190 -0
- package/lib/features/store/objects/search/DocumentSearchContext.js.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.d.ts +14 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.d.ts.map +1 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.js +42 -0
- package/lib/features/store/objects/search/DocumentSearchProvider.js.map +1 -0
- package/lib/features/store/objects/search/index.d.ts +3 -0
- package/lib/features/store/objects/search/index.d.ts.map +1 -0
- package/lib/features/store/objects/search/index.js +3 -0
- package/lib/features/store/objects/search/index.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.d.ts +9 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.js +70 -0
- package/lib/features/store/objects/selection/ObjectsActionContext.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.d.ts +16 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.js +50 -0
- package/lib/features/store/objects/selection/ObjectsActionContextClass.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.d.ts +7 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.js +27 -0
- package/lib/features/store/objects/selection/ObjectsActionHooks.js.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionSpec.d.ts +32 -0
- package/lib/features/store/objects/selection/ObjectsActionSpec.d.ts.map +1 -0
- package/lib/features/store/objects/selection/ObjectsActionSpec.js.map +1 -0
- package/lib/features/store/objects/selection/SelectionActions.d.ts +14 -0
- package/lib/features/store/objects/selection/SelectionActions.d.ts.map +1 -0
- package/lib/features/store/objects/selection/SelectionActions.js +96 -0
- package/lib/features/store/objects/selection/SelectionActions.js.map +1 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.js +88 -0
- package/lib/features/store/objects/selection/actions/AddToCollectionAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.js +59 -0
- package/lib/features/store/objects/selection/actions/ChangeTypeAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.d.ts +16 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.js +32 -0
- package/lib/features/store/objects/selection/actions/ConfirmAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +5 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.js +99 -0
- package/lib/features/store/objects/selection/actions/DeleteObjectsAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.js +115 -0
- package/lib/features/store/objects/selection/actions/ExportPropertiesAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.js +79 -0
- package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +1 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +4 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.js +77 -0
- package/lib/features/store/objects/selection/actions/StartWorkflowComponent.js.map +1 -0
- package/lib/features/store/objects/selection/actions/index.d.ts +8 -0
- package/lib/features/store/objects/selection/actions/index.d.ts.map +1 -0
- package/lib/features/store/objects/selection/actions/index.js +8 -0
- package/lib/features/store/objects/selection/actions/index.js.map +1 -0
- package/lib/features/store/objects/selection/index.d.ts +5 -0
- package/lib/features/store/objects/selection/index.d.ts.map +1 -0
- package/lib/features/store/objects/selection/index.js +5 -0
- package/lib/features/store/objects/selection/index.js.map +1 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.d.ts +39 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.d.ts.map +1 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.js +525 -0
- package/lib/features/store/objects/upload/DocumentUploadModal.js.map +1 -0
- package/lib/features/store/objects/upload/index.d.ts +4 -0
- package/lib/features/store/objects/upload/index.d.ts.map +1 -0
- package/lib/features/store/objects/upload/index.js +4 -0
- package/lib/features/store/objects/upload/index.js.map +1 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +30 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +1 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.js +207 -0
- package/lib/features/store/objects/upload/useSmartFileUploadProcessing.js.map +1 -0
- package/lib/features/store/objects/upload/useUploadHandler.d.ts +50 -0
- package/lib/features/store/objects/upload/useUploadHandler.d.ts.map +1 -0
- package/lib/features/store/objects/upload/useUploadHandler.js +232 -0
- package/lib/features/store/objects/upload/useUploadHandler.js.map +1 -0
- package/lib/features/store/types/ContentObjectTypesSearch.d.ts +6 -0
- package/lib/features/store/types/ContentObjectTypesSearch.d.ts.map +1 -0
- package/lib/features/store/types/ContentObjectTypesSearch.js +83 -0
- package/lib/features/store/types/ContentObjectTypesSearch.js.map +1 -0
- package/lib/features/store/types/ContentObjectTypesTable.d.ts +8 -0
- package/lib/features/store/types/ContentObjectTypesTable.d.ts.map +1 -0
- package/lib/features/store/types/ContentObjectTypesTable.js +13 -0
- package/lib/features/store/types/ContentObjectTypesTable.js.map +1 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.d.ts +16 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.d.ts.map +1 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.js +25 -0
- package/lib/features/store/types/CreateOrUpdateTypeModal.js.map +1 -0
- package/lib/features/store/types/ObjectSchemaEditor.d.ts +9 -0
- package/lib/features/store/types/ObjectSchemaEditor.d.ts.map +1 -0
- package/lib/features/store/types/ObjectSchemaEditor.js +106 -0
- package/lib/features/store/types/ObjectSchemaEditor.js.map +1 -0
- package/lib/features/store/types/SelectContentType.d.ts +11 -0
- package/lib/features/store/types/SelectContentType.d.ts.map +1 -0
- package/lib/features/store/types/SelectContentType.js +45 -0
- package/lib/features/store/types/SelectContentType.js.map +1 -0
- package/lib/features/store/types/SelectContentTypeModal.d.ts +33 -0
- package/lib/features/store/types/SelectContentTypeModal.d.ts.map +1 -0
- package/lib/features/store/types/SelectContentTypeModal.js +32 -0
- package/lib/features/store/types/SelectContentTypeModal.js.map +1 -0
- package/lib/features/store/types/TableLayoutEditor.d.ts +10 -0
- package/lib/features/store/types/TableLayoutEditor.d.ts.map +1 -0
- package/lib/features/store/types/TableLayoutEditor.js +82 -0
- package/lib/features/store/types/TableLayoutEditor.js.map +1 -0
- package/lib/features/store/types/TypeRegistry.d.ts +10 -0
- package/lib/features/store/types/TypeRegistry.d.ts.map +1 -0
- package/lib/features/store/types/TypeRegistry.js.map +1 -0
- package/lib/features/store/types/TypeRegistryProvider.d.ts +15 -0
- package/lib/features/store/types/TypeRegistryProvider.d.ts.map +1 -0
- package/lib/features/store/types/TypeRegistryProvider.js +57 -0
- package/lib/features/store/types/TypeRegistryProvider.js.map +1 -0
- package/lib/features/store/types/index.d.ts +11 -0
- package/lib/features/store/types/index.d.ts.map +1 -0
- package/lib/features/store/types/index.js +11 -0
- package/lib/features/store/types/index.js.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.d.ts +36 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.d.ts.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.js +102 -0
- package/lib/features/store/types/search/ObjectTypeSearchContext.js.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.d.ts +11 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +1 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.js +15 -0
- package/lib/features/store/types/search/ObjectTypeSearchProvider.js.map +1 -0
- package/lib/features/store/types/search/index.d.ts +3 -0
- package/lib/features/store/types/search/index.d.ts.map +1 -0
- package/lib/features/store/types/search/index.js +3 -0
- package/lib/features/store/types/search/index.js.map +1 -0
- package/lib/features/user/UserAvatar.d.ts +9 -0
- package/lib/features/user/UserAvatar.d.ts.map +1 -0
- package/lib/features/user/UserAvatar.js +21 -0
- package/lib/features/user/UserAvatar.js.map +1 -0
- package/lib/features/user/UserInfo.d.ts +60 -0
- package/lib/features/user/UserInfo.d.ts.map +1 -0
- package/lib/features/user/UserInfo.js +229 -0
- package/lib/features/user/UserInfo.js.map +1 -0
- package/lib/features/user/index.d.ts +3 -0
- package/lib/features/user/index.d.ts.map +1 -0
- package/lib/features/user/index.js +3 -0
- package/lib/features/user/index.js.map +1 -0
- package/lib/features/utils/index.d.ts +6 -0
- package/lib/features/utils/index.d.ts.map +1 -0
- package/lib/features/utils/index.js +6 -0
- package/lib/features/utils/index.js.map +1 -0
- package/lib/features/utils/mimeType.d.ts.map +1 -0
- package/lib/features/utils/mimeType.js.map +1 -0
- package/lib/features/utils/print.d.ts.map +1 -0
- package/lib/features/utils/print.js +182 -0
- package/lib/features/utils/print.js.map +1 -0
- package/lib/features/utils/rendition.d.ts +4 -0
- package/lib/features/utils/rendition.d.ts.map +1 -0
- package/lib/features/utils/rendition.js +65 -0
- package/lib/features/utils/rendition.js.map +1 -0
- package/lib/features/utils/text.d.ts.map +1 -0
- package/lib/features/utils/text.js +10 -0
- package/lib/features/utils/text.js.map +1 -0
- package/lib/features/utils/workflowStatus.d.ts +10 -0
- package/lib/features/utils/workflowStatus.d.ts.map +1 -0
- package/lib/features/utils/workflowStatus.js +43 -0
- package/lib/features/utils/workflowStatus.js.map +1 -0
- package/lib/i18n/LanguageProvider.d.ts +16 -0
- package/lib/i18n/LanguageProvider.d.ts.map +1 -0
- package/lib/i18n/LanguageProvider.js +48 -0
- package/lib/i18n/LanguageProvider.js.map +1 -0
- package/lib/i18n/index.d.ts +28 -0
- package/lib/i18n/index.d.ts.map +1 -0
- package/lib/i18n/index.js +46 -0
- package/lib/i18n/index.js.map +1 -0
- package/lib/i18n/instance.d.ts.map +1 -0
- package/lib/i18n/instance.js.map +1 -0
- package/lib/i18n/locales/ar.json +733 -0
- package/lib/i18n/locales/de.json +689 -0
- package/lib/i18n/locales/en.json +704 -0
- package/lib/i18n/locales/es.json +700 -0
- package/lib/i18n/locales/fr.json +700 -0
- package/lib/i18n/locales/it.json +700 -0
- package/lib/i18n/locales/ja.json +689 -0
- package/lib/i18n/locales/ko.json +689 -0
- package/lib/i18n/locales/pt.json +700 -0
- package/lib/i18n/locales/ru.json +711 -0
- package/lib/i18n/locales/tr.json +689 -0
- package/lib/i18n/locales/zh-TW.json +689 -0
- package/lib/i18n/locales/zh.json +689 -0
- package/lib/i18n/rtl.d.ts +27 -0
- package/lib/i18n/rtl.d.ts.map +1 -0
- package/lib/i18n/rtl.js +54 -0
- package/lib/i18n/rtl.js.map +1 -0
- package/lib/i18n/useLocaleFormat.d.ts +29 -0
- package/lib/i18n/useLocaleFormat.d.ts.map +1 -0
- package/lib/i18n/useLocaleFormat.js +79 -0
- package/lib/i18n/useLocaleFormat.js.map +1 -0
- package/lib/layout/AppLayout.d.ts +13 -0
- package/lib/layout/AppLayout.d.ts.map +1 -0
- package/lib/layout/AppLayout.js +47 -0
- package/lib/layout/AppLayout.js.map +1 -0
- package/lib/layout/ErrorPage.d.ts +9 -0
- package/lib/layout/ErrorPage.d.ts.map +1 -0
- package/lib/layout/ErrorPage.js +6 -0
- package/lib/layout/ErrorPage.js.map +1 -0
- package/lib/layout/FullHeightLayout.d.ts +27 -0
- package/lib/layout/FullHeightLayout.d.ts.map +1 -0
- package/lib/layout/FullHeightLayout.js +24 -0
- package/lib/layout/FullHeightLayout.js.map +1 -0
- package/lib/layout/Navbar.d.ts +33 -0
- package/lib/layout/Navbar.d.ts.map +1 -0
- package/lib/layout/Navbar.js +42 -0
- package/lib/layout/Navbar.js.map +1 -0
- package/lib/layout/RegionTag.d.ts +4 -0
- package/lib/layout/RegionTag.d.ts.map +1 -0
- package/lib/layout/RegionTag.js.map +1 -0
- package/lib/layout/Sidebar.d.ts +35 -0
- package/lib/layout/Sidebar.d.ts.map +1 -0
- package/lib/layout/Sidebar.js +47 -0
- package/lib/layout/Sidebar.js.map +1 -0
- package/lib/layout/SidebarContext.d.ts.map +1 -0
- package/lib/layout/SidebarContext.js +10 -0
- package/lib/layout/SidebarContext.js.map +1 -0
- package/lib/layout/TitleBar.d.ts +6 -0
- package/lib/layout/TitleBar.d.ts.map +1 -0
- package/lib/layout/TitleBar.js +5 -0
- package/lib/layout/TitleBar.js.map +1 -0
- package/lib/layout/index.d.ts +9 -0
- package/lib/layout/index.d.ts.map +1 -0
- package/lib/layout/index.js +9 -0
- package/lib/layout/index.js.map +1 -0
- package/lib/router/FixLinks.d.ts +7 -0
- package/lib/router/FixLinks.d.ts.map +1 -0
- package/lib/router/FixLinks.js +23 -0
- package/lib/router/FixLinks.js.map +1 -0
- package/lib/router/HistoryNavigator.d.ts +68 -0
- package/lib/router/HistoryNavigator.d.ts.map +1 -0
- package/lib/router/HistoryNavigator.js +220 -0
- package/lib/router/HistoryNavigator.js.map +1 -0
- package/lib/router/Nav.d.ts +43 -0
- package/lib/router/Nav.d.ts.map +1 -0
- package/lib/router/Nav.js +37 -0
- package/lib/router/Nav.js.map +1 -0
- package/lib/router/NestedNavigationContext.d.ts +9 -0
- package/lib/router/NestedNavigationContext.d.ts.map +1 -0
- package/lib/router/NestedNavigationContext.js +23 -0
- package/lib/router/NestedNavigationContext.js.map +1 -0
- package/lib/router/NestedRouterProvider.d.ts +14 -0
- package/lib/router/NestedRouterProvider.d.ts.map +1 -0
- package/lib/router/NestedRouterProvider.js +52 -0
- package/lib/router/NestedRouterProvider.js.map +1 -0
- package/lib/router/PathMatcher.d.ts +36 -0
- package/lib/router/PathMatcher.d.ts.map +1 -0
- package/lib/router/PathMatcher.js +158 -0
- package/lib/router/PathMatcher.js.map +1 -0
- package/lib/router/PathWithParams.d.ts.map +1 -0
- package/lib/router/PathWithParams.js +34 -0
- package/lib/router/PathWithParams.js.map +1 -0
- package/lib/router/Route404.d.ts +4 -0
- package/lib/router/Route404.d.ts.map +1 -0
- package/lib/router/Route404.js +18 -0
- package/lib/router/Route404.js.map +1 -0
- package/lib/router/RouteComponent.d.ts +6 -0
- package/lib/router/RouteComponent.d.ts.map +1 -0
- package/lib/router/RouteComponent.js +32 -0
- package/lib/router/RouteComponent.js.map +1 -0
- package/lib/router/Router.d.ts +81 -0
- package/lib/router/Router.d.ts.map +1 -0
- package/lib/router/Router.js +183 -0
- package/lib/router/Router.js.map +1 -0
- package/lib/router/RouterProvider.d.ts +15 -0
- package/lib/router/RouterProvider.d.ts.map +1 -0
- package/lib/router/RouterProvider.js +40 -0
- package/lib/router/RouterProvider.js.map +1 -0
- package/lib/router/index.d.ts +11 -0
- package/lib/router/index.d.ts.map +1 -0
- package/lib/router/index.js +11 -0
- package/lib/router/index.js.map +1 -0
- package/lib/router/path.d.ts.map +1 -0
- package/lib/router/path.js +140 -0
- package/lib/router/path.js.map +1 -0
- package/lib/session/UserSession.d.ts +46 -0
- package/lib/session/UserSession.d.ts.map +1 -0
- package/lib/session/UserSession.js +248 -0
- package/lib/session/UserSession.js.map +1 -0
- package/lib/session/UserSessionProvider.d.ts +8 -0
- package/lib/session/UserSessionProvider.d.ts.map +1 -0
- package/lib/session/UserSessionProvider.js +252 -0
- package/lib/session/UserSessionProvider.js.map +1 -0
- package/lib/session/auth/composable.d.ts +38 -0
- package/lib/session/auth/composable.d.ts.map +1 -0
- package/lib/session/auth/composable.js +325 -0
- package/lib/session/auth/composable.js.map +1 -0
- package/lib/session/auth/domainRouting.d.ts.map +1 -0
- package/lib/session/auth/domainRouting.js.map +1 -0
- package/lib/session/auth/firebase.d.ts +10 -0
- package/lib/session/auth/firebase.d.ts.map +1 -0
- package/lib/session/auth/firebase.js +160 -0
- package/lib/session/auth/firebase.js.map +1 -0
- package/lib/session/auth/useAuthState.d.ts.map +1 -0
- package/lib/session/auth/useAuthState.js +46 -0
- package/lib/session/auth/useAuthState.js.map +1 -0
- package/lib/session/auth/useCurrentTenant.d.ts.map +1 -0
- package/lib/session/auth/useCurrentTenant.js +64 -0
- package/lib/session/auth/useCurrentTenant.js.map +1 -0
- package/lib/session/constants.d.ts.map +1 -0
- package/lib/session/constants.js.map +1 -0
- package/lib/session/index.d.ts +8 -0
- package/lib/session/index.d.ts.map +1 -0
- package/lib/session/index.js +8 -0
- package/lib/session/index.js.map +1 -0
- package/lib/session/useUXTracking.d.ts +6 -0
- package/lib/session/useUXTracking.d.ts.map +1 -0
- package/lib/session/useUXTracking.js +29 -0
- package/lib/session/useUXTracking.js.map +1 -0
- package/lib/shell/SplashScreen.d.ts +7 -0
- package/lib/shell/SplashScreen.d.ts.map +1 -0
- package/lib/shell/SplashScreen.js +28 -0
- package/lib/shell/SplashScreen.js.map +1 -0
- package/lib/shell/VertesiaShell.d.ts +16 -0
- package/lib/shell/VertesiaShell.d.ts.map +1 -0
- package/lib/shell/VertesiaShell.js +11 -0
- package/lib/shell/VertesiaShell.js.map +1 -0
- package/lib/shell/apps/AppInstallationProvider.d.ts +12 -0
- package/lib/shell/apps/AppInstallationProvider.d.ts.map +1 -0
- package/lib/shell/apps/AppInstallationProvider.js +13 -0
- package/lib/shell/apps/AppInstallationProvider.js.map +1 -0
- package/lib/shell/apps/AppProjectSelector.d.ts +12 -0
- package/lib/shell/apps/AppProjectSelector.d.ts.map +1 -0
- package/lib/shell/apps/AppProjectSelector.js +36 -0
- package/lib/shell/apps/AppProjectSelector.js.map +1 -0
- package/lib/shell/apps/StandaloneApp.d.ts +23 -0
- package/lib/shell/apps/StandaloneApp.d.ts.map +1 -0
- package/lib/shell/apps/StandaloneApp.js +90 -0
- package/lib/shell/apps/StandaloneApp.js.map +1 -0
- package/lib/shell/apps/index.d.ts +4 -0
- package/lib/shell/apps/index.d.ts.map +1 -0
- package/lib/shell/apps/index.js +4 -0
- package/lib/shell/apps/index.js.map +1 -0
- package/lib/shell/index.d.ts +8 -0
- package/lib/shell/index.d.ts.map +1 -0
- package/lib/shell/index.js +8 -0
- package/lib/shell/index.js.map +1 -0
- package/lib/shell/login/InviteAcceptModal.d.ts +2 -0
- package/lib/shell/login/InviteAcceptModal.d.ts.map +1 -0
- package/lib/shell/login/InviteAcceptModal.js +69 -0
- package/lib/shell/login/InviteAcceptModal.js.map +1 -0
- package/lib/shell/login/PreviewIcon.d.ts +6 -0
- package/lib/shell/login/PreviewIcon.d.ts.map +1 -0
- package/lib/shell/login/PreviewIcon.js +23 -0
- package/lib/shell/login/PreviewIcon.js.map +1 -0
- package/lib/shell/login/SignInAuthPending.d.ts +8 -0
- package/lib/shell/login/SignInAuthPending.d.ts.map +1 -0
- package/lib/shell/login/SignInAuthPending.js +14 -0
- package/lib/shell/login/SignInAuthPending.js.map +1 -0
- package/lib/shell/login/SignInEmailStep.d.ts +9 -0
- package/lib/shell/login/SignInEmailStep.d.ts.map +1 -0
- package/lib/shell/login/SignInEmailStep.js +46 -0
- package/lib/shell/login/SignInEmailStep.js.map +1 -0
- package/lib/shell/login/SignInIcons.d.ts +14 -0
- package/lib/shell/login/SignInIcons.d.ts.map +1 -0
- package/lib/shell/login/SignInIcons.js +26 -0
- package/lib/shell/login/SignInIcons.js.map +1 -0
- package/lib/shell/login/SignInModal.d.ts +7 -0
- package/lib/shell/login/SignInModal.d.ts.map +1 -0
- package/lib/shell/login/SignInModal.js +7 -0
- package/lib/shell/login/SignInModal.js.map +1 -0
- package/lib/shell/login/SignInPrimitives.d.ts +140 -0
- package/lib/shell/login/SignInPrimitives.d.ts.map +1 -0
- package/lib/shell/login/SignInPrimitives.js +119 -0
- package/lib/shell/login/SignInPrimitives.js.map +1 -0
- package/lib/shell/login/SignInProvidersStep.d.ts +10 -0
- package/lib/shell/login/SignInProvidersStep.d.ts.map +1 -0
- package/lib/shell/login/SignInProvidersStep.js +14 -0
- package/lib/shell/login/SignInProvidersStep.js.map +1 -0
- package/lib/shell/login/SignInReturningStep.d.ts +10 -0
- package/lib/shell/login/SignInReturningStep.d.ts.map +1 -0
- package/lib/shell/login/SignInReturningStep.js +21 -0
- package/lib/shell/login/SignInReturningStep.js.map +1 -0
- package/lib/shell/login/SignInTenantBlockedStep.d.ts +9 -0
- package/lib/shell/login/SignInTenantBlockedStep.d.ts.map +1 -0
- package/lib/shell/login/SignInTenantBlockedStep.js +17 -0
- package/lib/shell/login/SignInTenantBlockedStep.js.map +1 -0
- package/lib/shell/login/SignInTenantStep.d.ts +11 -0
- package/lib/shell/login/SignInTenantStep.d.ts.map +1 -0
- package/lib/shell/login/SignInTenantStep.js +24 -0
- package/lib/shell/login/SignInTenantStep.js.map +1 -0
- package/lib/shell/login/SignInWithProviderButton.d.ts +13 -0
- package/lib/shell/login/SignInWithProviderButton.d.ts.map +1 -0
- package/lib/shell/login/SignInWithProviderButton.js +23 -0
- package/lib/shell/login/SignInWithProviderButton.js.map +1 -0
- package/lib/shell/login/SigninScreen.d.ts +11 -0
- package/lib/shell/login/SigninScreen.d.ts.map +1 -0
- package/lib/shell/login/SigninScreen.js +155 -0
- package/lib/shell/login/SigninScreen.js.map +1 -0
- package/lib/shell/login/SignupForm.d.ts +8 -0
- package/lib/shell/login/SignupForm.d.ts.map +1 -0
- package/lib/shell/login/SignupForm.js +91 -0
- package/lib/shell/login/SignupForm.js.map +1 -0
- package/lib/shell/login/TerminalLogin.d.ts +2 -0
- package/lib/shell/login/TerminalLogin.d.ts.map +1 -0
- package/lib/shell/login/TerminalLogin.js +216 -0
- package/lib/shell/login/TerminalLogin.js.map +1 -0
- package/lib/shell/login/UserInfo.d.ts +6 -0
- package/lib/shell/login/UserInfo.d.ts.map +1 -0
- package/lib/shell/login/UserInfo.js +44 -0
- package/lib/shell/login/UserInfo.js.map +1 -0
- package/lib/shell/login/UserSessionMenu.d.ts +9 -0
- package/lib/shell/login/UserSessionMenu.d.ts.map +1 -0
- package/lib/shell/login/UserSessionMenu.js +36 -0
- package/lib/shell/login/UserSessionMenu.js.map +1 -0
- package/lib/shell/login/signInUtils.d.ts +45 -0
- package/lib/shell/login/signInUtils.d.ts.map +1 -0
- package/lib/shell/login/signInUtils.js +205 -0
- package/lib/shell/login/signInUtils.js.map +1 -0
- package/lib/shell/utils.d.ts.map +1 -0
- package/lib/shell/utils.js +8 -0
- package/lib/shell/utils.js.map +1 -0
- package/lib/vertesia-ui-core.js +1 -1
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-env.js +1 -1
- package/lib/vertesia-ui-env.js.map +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-i18n.js +1 -1
- package/lib/vertesia-ui-i18n.js.map +1 -1
- package/lib/vertesia-ui-layout.js +1 -1
- package/lib/vertesia-ui-layout.js.map +1 -1
- package/lib/vertesia-ui-router.js +1 -1
- package/lib/vertesia-ui-router.js.map +1 -1
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/lib/vertesia-ui-shell.js +1 -1
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/lib/vertesia-ui-widgets.js +1 -1
- package/lib/vertesia-ui-widgets.js.map +1 -1
- package/lib/widgets/Progress.d.ts +6 -0
- package/lib/widgets/Progress.d.ts.map +1 -0
- package/lib/widgets/Progress.js.map +1 -0
- package/lib/widgets/SvgIcon.d.ts +7 -0
- package/lib/widgets/SvgIcon.d.ts.map +1 -0
- package/lib/widgets/SvgIcon.js +36 -0
- package/lib/widgets/SvgIcon.js.map +1 -0
- package/lib/widgets/form/Form.d.ts +22 -0
- package/lib/widgets/form/Form.d.ts.map +1 -0
- package/lib/widgets/form/Form.js +105 -0
- package/lib/widgets/form/Form.js.map +1 -0
- package/lib/widgets/form/FormContext.d.ts +21 -0
- package/lib/widgets/form/FormContext.d.ts.map +1 -0
- package/lib/widgets/form/FormContext.js +31 -0
- package/lib/widgets/form/FormContext.js.map +1 -0
- package/lib/widgets/form/ManagedObject.d.ts +81 -0
- package/lib/widgets/form/ManagedObject.d.ts.map +1 -0
- package/lib/widgets/form/ManagedObject.js +284 -0
- package/lib/widgets/form/ManagedObject.js.map +1 -0
- package/lib/widgets/form/fields.d.ts +16 -0
- package/lib/widgets/form/fields.d.ts.map +1 -0
- package/lib/widgets/form/fields.js +12 -0
- package/lib/widgets/form/fields.js.map +1 -0
- package/lib/widgets/form/index.d.ts +7 -0
- package/lib/widgets/form/index.d.ts.map +1 -0
- package/lib/widgets/form/index.js +7 -0
- package/lib/widgets/form/index.js.map +1 -0
- package/lib/widgets/form/inputs.d.ts +8 -0
- package/lib/widgets/form/inputs.d.ts.map +1 -0
- package/lib/widgets/form/inputs.js +38 -0
- package/lib/widgets/form/inputs.js.map +1 -0
- package/lib/widgets/form/schema.d.ts +47 -0
- package/lib/widgets/form/schema.d.ts.map +1 -0
- package/lib/widgets/form/schema.js +204 -0
- package/lib/widgets/form/schema.js.map +1 -0
- package/lib/widgets/index.d.ts +11 -0
- package/lib/widgets/index.d.ts.map +1 -0
- package/lib/widgets/index.js +11 -0
- package/lib/widgets/index.js.map +1 -0
- package/lib/widgets/json-view/JSONCode.d.ts +7 -0
- package/lib/widgets/json-view/JSONCode.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONCode.js +53 -0
- package/lib/widgets/json-view/JSONCode.js.map +1 -0
- package/lib/widgets/json-view/JSONDisplay.d.ts +7 -0
- package/lib/widgets/json-view/JSONDisplay.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONDisplay.js +27 -0
- package/lib/widgets/json-view/JSONDisplay.js.map +1 -0
- package/lib/widgets/json-view/JSONEditor.d.ts +28 -0
- package/lib/widgets/json-view/JSONEditor.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONEditor.js +53 -0
- package/lib/widgets/json-view/JSONEditor.js.map +1 -0
- package/lib/widgets/json-view/JSONSwitcher.d.ts +6 -0
- package/lib/widgets/json-view/JSONSwitcher.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONSwitcher.js +6 -0
- package/lib/widgets/json-view/JSONSwitcher.js.map +1 -0
- package/lib/widgets/json-view/JSONTable.d.ts +8 -0
- package/lib/widgets/json-view/JSONTable.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONTable.js +36 -0
- package/lib/widgets/json-view/JSONTable.js.map +1 -0
- package/lib/widgets/json-view/JSONView.d.ts +7 -0
- package/lib/widgets/json-view/JSONView.d.ts.map +1 -0
- package/lib/widgets/json-view/JSONView.js +117 -0
- package/lib/widgets/json-view/JSONView.js.map +1 -0
- package/lib/widgets/json-view/index.d.ts +8 -0
- package/lib/widgets/json-view/index.d.ts.map +1 -0
- package/lib/widgets/json-view/index.js +7 -0
- package/lib/widgets/json-view/index.js.map +1 -0
- package/lib/widgets/json-view/types.d.ts.map +1 -0
- package/lib/widgets/json-view/types.js.map +1 -0
- package/lib/widgets/markdown/ArtifactContentRenderer.d.ts.map +1 -0
- package/lib/widgets/markdown/ArtifactContentRenderer.js +230 -0
- package/lib/widgets/markdown/ArtifactContentRenderer.js.map +1 -0
- package/lib/widgets/markdown/CodeBlockContext.d.ts +21 -0
- package/lib/widgets/markdown/CodeBlockContext.d.ts.map +1 -0
- package/lib/widgets/markdown/CodeBlockContext.js.map +1 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.d.ts +42 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.d.ts.map +1 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.js +57 -0
- package/lib/widgets/markdown/CodeBlockPlaceholder.js.map +1 -0
- package/lib/widgets/markdown/CodeBlockRendering.d.ts +23 -0
- package/lib/widgets/markdown/CodeBlockRendering.d.ts.map +1 -0
- package/lib/widgets/markdown/CodeBlockRendering.js +38 -0
- package/lib/widgets/markdown/CodeBlockRendering.js.map +1 -0
- package/lib/widgets/markdown/MarkdownFigure.d.ts +15 -0
- package/lib/widgets/markdown/MarkdownFigure.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownFigure.js +40 -0
- package/lib/widgets/markdown/MarkdownFigure.js.map +1 -0
- package/lib/widgets/markdown/MarkdownImage.d.ts +16 -0
- package/lib/widgets/markdown/MarkdownImage.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownImage.js +41 -0
- package/lib/widgets/markdown/MarkdownImage.js.map +1 -0
- package/lib/widgets/markdown/MarkdownLink.d.ts +17 -0
- package/lib/widgets/markdown/MarkdownLink.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownLink.js +46 -0
- package/lib/widgets/markdown/MarkdownLink.js.map +1 -0
- package/lib/widgets/markdown/MarkdownRenderer.d.ts +30 -0
- package/lib/widgets/markdown/MarkdownRenderer.d.ts.map +1 -0
- package/lib/widgets/markdown/MarkdownRenderer.js +162 -0
- package/lib/widgets/markdown/MarkdownRenderer.js.map +1 -0
- package/lib/widgets/markdown/MermaidDiagram.d.ts +28 -0
- package/lib/widgets/markdown/MermaidDiagram.d.ts.map +1 -0
- package/lib/widgets/markdown/MermaidDiagram.js +150 -0
- package/lib/widgets/markdown/MermaidDiagram.js.map +1 -0
- package/lib/widgets/markdown/codeBlockHandlers.d.ts +58 -0
- package/lib/widgets/markdown/codeBlockHandlers.d.ts.map +1 -0
- package/lib/widgets/markdown/codeBlockHandlers.js +285 -0
- package/lib/widgets/markdown/codeBlockHandlers.js.map +1 -0
- package/lib/widgets/markdown/index.d.ts +13 -0
- package/lib/widgets/markdown/index.d.ts.map +1 -0
- package/lib/widgets/markdown/index.js +13 -0
- package/lib/widgets/markdown/index.js.map +1 -0
- package/lib/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +1 -0
- package/lib/widgets/markdown/normalizeCustomSchemeLinks.js +70 -0
- package/lib/widgets/markdown/normalizeCustomSchemeLinks.js.map +1 -0
- package/lib/widgets/markdown/normalizeDirectives.d.ts.map +1 -0
- package/lib/widgets/markdown/normalizeDirectives.js +58 -0
- package/lib/widgets/markdown/normalizeDirectives.js.map +1 -0
- package/lib/widgets/markdown/preprocessMathDelimiters.d.ts.map +1 -0
- package/lib/widgets/markdown/preprocessMathDelimiters.js +222 -0
- package/lib/widgets/markdown/preprocessMathDelimiters.js.map +1 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.d.ts +15 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.d.ts.map +1 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.js +96 -0
- package/lib/widgets/markdown/remarkDirectiveHandler.js.map +1 -0
- package/lib/widgets/markdown/useArtifactContent.d.ts.map +1 -0
- package/lib/widgets/markdown/useArtifactContent.js +173 -0
- package/lib/widgets/markdown/useArtifactContent.js.map +1 -0
- package/lib/widgets/markdown/useResolvedUrl.d.ts.map +1 -0
- package/lib/widgets/markdown/useResolvedUrl.js +181 -0
- package/lib/widgets/markdown/useResolvedUrl.js.map +1 -0
- package/lib/widgets/monacoEditor/MonacoEditor.d.ts +41 -0
- package/lib/widgets/monacoEditor/MonacoEditor.d.ts.map +1 -0
- package/lib/widgets/monacoEditor/MonacoEditor.js +168 -0
- package/lib/widgets/monacoEditor/MonacoEditor.js.map +1 -0
- package/lib/widgets/monacoEditor/foldingProviders.d.ts.map +1 -0
- package/lib/widgets/monacoEditor/foldingProviders.js +138 -0
- package/lib/widgets/monacoEditor/foldingProviders.js.map +1 -0
- package/lib/widgets/monacoEditor/index.d.ts +3 -0
- package/lib/widgets/monacoEditor/index.d.ts.map +1 -0
- package/lib/widgets/monacoEditor/index.js +2 -0
- package/lib/widgets/monacoEditor/index.js.map +1 -0
- package/lib/widgets/properties/PropertiesView.d.ts +11 -0
- package/lib/widgets/properties/PropertiesView.d.ts.map +1 -0
- package/lib/widgets/properties/PropertiesView.js +7 -0
- package/lib/widgets/properties/PropertiesView.js.map +1 -0
- package/lib/widgets/properties/index.d.ts +2 -0
- package/lib/widgets/properties/index.d.ts.map +1 -0
- package/lib/widgets/properties/index.js +2 -0
- package/lib/widgets/properties/index.js.map +1 -0
- package/lib/widgets/schema-editor/ManagedSchema.d.ts +75 -0
- package/lib/widgets/schema-editor/ManagedSchema.d.ts.map +1 -0
- package/lib/widgets/schema-editor/ManagedSchema.js +303 -0
- package/lib/widgets/schema-editor/ManagedSchema.js.map +1 -0
- package/lib/widgets/schema-editor/editor/Editable.d.ts +40 -0
- package/lib/widgets/schema-editor/editor/Editable.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/Editable.js +109 -0
- package/lib/widgets/schema-editor/editor/Editable.js.map +1 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +8 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.js +8 -0
- package/lib/widgets/schema-editor/editor/EditableSchemaProperty.js.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.d.ts +6 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.js +85 -0
- package/lib/widgets/schema-editor/editor/PropertyEditor.js.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.d.ts +4 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.js +7 -0
- package/lib/widgets/schema-editor/editor/PropertyViewer.js.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.d.ts +4 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.js +9 -0
- package/lib/widgets/schema-editor/editor/SchemaContext.js.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.d.ts +9 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.d.ts.map +1 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.js +81 -0
- package/lib/widgets/schema-editor/editor/SchemaEditor.js.map +1 -0
- package/lib/widgets/schema-editor/index.d.ts +7 -0
- package/lib/widgets/schema-editor/index.d.ts.map +1 -0
- package/lib/widgets/schema-editor/index.js +7 -0
- package/lib/widgets/schema-editor/index.js.map +1 -0
- package/lib/widgets/schema-editor/json-schema4-utils.d.ts +16 -0
- package/lib/widgets/schema-editor/json-schema4-utils.d.ts.map +1 -0
- package/lib/widgets/schema-editor/json-schema4-utils.js +188 -0
- package/lib/widgets/schema-editor/json-schema4-utils.js.map +1 -0
- package/lib/widgets/schema-editor/type-signature.d.ts.map +1 -0
- package/lib/widgets/schema-editor/type-signature.js.map +1 -0
- package/lib/widgets/upload/DropZone.d.ts +41 -0
- package/lib/widgets/upload/DropZone.d.ts.map +1 -0
- package/lib/widgets/upload/DropZone.js +181 -0
- package/lib/widgets/upload/DropZone.js.map +1 -0
- package/lib/widgets/upload/UploadResultCategory.d.ts +26 -0
- package/lib/widgets/upload/UploadResultCategory.d.ts.map +1 -0
- package/lib/widgets/upload/UploadResultCategory.js +22 -0
- package/lib/widgets/upload/UploadResultCategory.js.map +1 -0
- package/lib/widgets/upload/UploadSummary.d.ts +38 -0
- package/lib/widgets/upload/UploadSummary.d.ts.map +1 -0
- package/lib/widgets/upload/UploadSummary.js +32 -0
- package/lib/widgets/upload/UploadSummary.js.map +1 -0
- package/lib/widgets/upload/index.d.ts.map +1 -0
- package/lib/widgets/upload/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/Attributes/index.d.ts +6 -0
- package/lib/widgets/xml-viewer/components/Attributes/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/Attributes/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/CDataTag/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/CDataTag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/CDataTag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/CollapseIcon/index.js +11 -0
- package/lib/widgets/xml-viewer/components/CollapseIcon/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/CommentTag/index.d.ts +9 -0
- package/lib/widgets/xml-viewer/components/CommentTag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/CommentTag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/DeclarationTag/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/DeclarationTag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/Elements/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/Elements/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/Elements/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/InvalidXml/index.d.ts +2 -0
- package/lib/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/InvalidXml/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/Tag/index.d.ts +13 -0
- package/lib/widgets/xml-viewer/components/Tag/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/Tag/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/TextElement/index.d.ts +8 -0
- package/lib/widgets/xml-viewer/components/TextElement/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/TextElement/index.js.map +1 -0
- package/lib/widgets/xml-viewer/components/XMLViewer.d.ts +3 -0
- package/lib/widgets/xml-viewer/components/XMLViewer.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/XMLViewer.js.map +1 -0
- package/lib/widgets/xml-viewer/components/types.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/components/types.js.map +1 -0
- package/lib/widgets/xml-viewer/constants/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/constants/index.js.map +1 -0
- package/lib/widgets/xml-viewer/context/xml-viewer-context.d.ts +4 -0
- package/lib/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/context/xml-viewer-context.js.map +1 -0
- package/lib/widgets/xml-viewer/helpers/index.d.ts +13 -0
- package/lib/widgets/xml-viewer/helpers/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/helpers/index.js +38 -0
- package/lib/widgets/xml-viewer/helpers/index.js.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useCollapsible.js.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/hooks/useXMLViewer.js +33 -0
- package/lib/widgets/xml-viewer/hooks/useXMLViewer.js.map +1 -0
- package/lib/widgets/xml-viewer/index.d.ts +3 -0
- package/lib/widgets/xml-viewer/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/index.js +3 -0
- package/lib/widgets/xml-viewer/index.js.map +1 -0
- package/lib/widgets/xml-viewer/types/index.d.ts +16 -0
- package/lib/widgets/xml-viewer/types/index.d.ts.map +1 -0
- package/lib/widgets/xml-viewer/types/index.js.map +1 -0
- package/llms.txt +387 -484
- package/package.json +96 -126
- package/src/__tests__/a11y.test.tsx +398 -0
- package/src/__tests__/axe-helper.ts +23 -0
- package/src/__tests__/contrast.test.ts +165 -0
- package/src/__tests__/setup.ts +74 -0
- package/src/__tests__/test-modules.d.ts +13 -0
- package/src/__tests__/test-utils.tsx +15 -0
- package/src/__tests__/tsconfig.json +19 -0
- package/src/__tests__/vitest-axe.d.ts +20 -0
- package/src/core/components/Avatar.tsx +38 -29
- package/src/core/components/Center.tsx +5 -7
- package/src/core/components/ComboBox.tsx +167 -83
- package/src/core/components/Divider.tsx +2 -5
- package/src/core/components/EmptyCollection.tsx +5 -6
- package/src/core/components/FileUpload.tsx +54 -21
- package/src/core/components/FormItem.tsx +125 -16
- package/src/core/components/InputList.tsx +63 -36
- package/src/core/components/Link.tsx +8 -5
- package/src/core/components/MenuList.tsx +29 -24
- package/src/core/components/NumberInput.tsx +52 -41
- package/src/core/components/Overlay.tsx +86 -77
- package/src/core/components/Portal.tsx +7 -7
- package/src/core/components/SelectList.tsx +44 -26
- package/src/core/components/SidePanel.tsx +45 -20
- package/src/core/components/Spinner.tsx +34 -21
- package/src/core/components/TagsInput.tsx +54 -48
- package/src/core/components/index.ts +28 -27
- package/src/core/components/libs/utils.tsx +4 -4
- package/src/core/components/libs/visuallyHidden.tsx +12 -12
- package/src/core/components/popup/Popup.tsx +60 -29
- package/src/core/components/popup/PopupController.ts +36 -37
- package/src/core/components/popup/index.ts +3 -3
- package/src/core/components/popup/position.ts +56 -34
- package/src/core/components/popup/utils.ts +5 -3
- package/src/core/components/shadcn/LanguageSwitcher.tsx +61 -0
- package/src/core/components/shadcn/MessageBox.tsx +119 -57
- package/src/core/components/shadcn/Panel.tsx +89 -40
- package/src/core/components/shadcn/badge.tsx +74 -92
- package/src/core/components/shadcn/breadcrumb.tsx +158 -180
- package/src/core/components/shadcn/button.tsx +188 -143
- package/src/core/components/shadcn/calendar.tsx +13 -23
- package/src/core/components/shadcn/card.tsx +41 -76
- package/src/core/components/shadcn/checkbox.tsx +20 -22
- package/src/core/components/shadcn/collaspible.tsx +8 -24
- package/src/core/components/shadcn/command.tsx +124 -157
- package/src/core/components/shadcn/dropdown.tsx +283 -290
- package/src/core/components/shadcn/filters/DynamicLabel.tsx +36 -35
- package/src/core/components/shadcn/filters/animateChangeInHeight.tsx +5 -8
- package/src/core/components/shadcn/filters/comboBox/DateCombobox.tsx +28 -36
- package/src/core/components/shadcn/filters/comboBox/SelectCombobox.tsx +41 -37
- package/src/core/components/shadcn/filters/comboBox/StringListCombobox.tsx +13 -22
- package/src/core/components/shadcn/filters/comboBox/TextCombobox.tsx +12 -14
- package/src/core/components/shadcn/filters/comboBox/comboBox.tsx +2 -2
- package/src/core/components/shadcn/filters/filter/SelectFilter.tsx +143 -139
- package/src/core/components/shadcn/filters/filter/StringListFilter.tsx +48 -48
- package/src/core/components/shadcn/filters/filter/TextFilter.tsx +56 -60
- package/src/core/components/shadcn/filters/filter/dateFilter.tsx +235 -228
- package/src/core/components/shadcn/filters/filter-styles.ts +1 -1
- package/src/core/components/shadcn/filters/filterBar.tsx +347 -329
- package/src/core/components/shadcn/filters/filters.tsx +62 -63
- package/src/core/components/shadcn/filters/types.ts +25 -25
- package/src/core/components/shadcn/heading.tsx +15 -15
- package/src/core/components/shadcn/index.ts +23 -22
- package/src/core/components/shadcn/input.tsx +80 -76
- package/src/core/components/shadcn/label.tsx +20 -25
- package/src/core/components/shadcn/modal/ConfirmModal.tsx +21 -30
- package/src/core/components/shadcn/modal/DeleteModal.tsx +16 -12
- package/src/core/components/shadcn/modal/dialog.tsx +73 -97
- package/src/core/components/shadcn/modal/index.ts +3 -3
- package/src/core/components/shadcn/popover.tsx +96 -93
- package/src/core/components/shadcn/radioGroup.tsx +80 -81
- package/src/core/components/shadcn/resizeable.tsx +46 -44
- package/src/core/components/shadcn/selectBox.tsx +216 -121
- package/src/core/components/shadcn/separator.tsx +15 -19
- package/src/core/components/shadcn/slider.test.tsx +14 -0
- package/src/core/components/shadcn/slider.tsx +78 -0
- package/src/core/components/shadcn/switch.tsx +55 -48
- package/src/core/components/shadcn/tabs.tsx +316 -292
- package/src/core/components/shadcn/text.tsx +24 -24
- package/src/core/components/shadcn/textarea.tsx +55 -55
- package/src/core/components/shadcn/theme/ThemeProvider.tsx +52 -58
- package/src/core/components/shadcn/theme/ThemeSwitcher.tsx +45 -31
- package/src/core/components/shadcn/tooltip.tsx +85 -69
- package/src/core/components/styles.ts +7 -6
- package/src/core/components/table/index.tsx +90 -31
- package/src/core/components/toast/NotificationPanel.tsx +31 -31
- package/src/core/components/toast/ToastContext.ts +3 -3
- package/src/core/components/toast/ToastProps.ts +1 -1
- package/src/core/components/toast/ToastProvider.tsx +20 -13
- package/src/core/components/toast/index.ts +2 -2
- package/src/core/hooks/CompositeState.tsx +28 -33
- package/src/core/hooks/PortalContainerProvider.tsx +8 -14
- package/src/core/hooks/SharedState.tsx +9 -9
- package/src/core/hooks/index.ts +15 -15
- package/src/core/hooks/useClickOutside.tsx +11 -7
- package/src/core/hooks/useCopyToClipboard.tsx +21 -21
- package/src/core/hooks/useDarkMode.ts +2 -2
- package/src/core/hooks/useDebounce.tsx +1 -1
- package/src/core/hooks/useEventSource.ts +40 -14
- package/src/core/hooks/useFetch.ts +41 -27
- package/src/core/hooks/useFlag.tsx +4 -4
- package/src/core/hooks/useIntersectionObserver.tsx +22 -13
- package/src/core/hooks/useIsFistRendering.ts +5 -4
- package/src/core/hooks/useSafeLayoutEffect.ts +3 -3
- package/src/core/hooks/useScrollableSearch.tsx +64 -47
- package/src/core/hooks/useSharedValue.ts +3 -5
- package/src/core/index.ts +3 -3
- package/src/core/utils/a11y.ts +23 -0
- package/src/core/utils/cn.ts +4 -4
- package/src/core/utils/errorMessage.ts +20 -0
- package/src/core/utils/index.ts +4 -1
- package/src/core/utils/textarea.ts +15 -0
- package/src/css/base.css +24 -24
- package/src/css/color.css +129 -131
- package/src/css/custom-tooltips.css +54 -47
- package/src/css/theme.css +82 -84
- package/src/css/typography.css +8 -7
- package/src/css/utilities.css +137 -67
- package/src/env/index.ts +65 -42
- package/src/features/activity-doc/ActivityDoc.tsx +77 -71
- package/src/features/activity-doc/index.ts +1 -1
- package/src/features/agent/PayloadBuilder.tsx +98 -55
- package/src/features/agent/chat/AgentChart.tsx +50 -42
- package/src/features/agent/chat/AgentChatFixtureReplay.test.tsx +124 -0
- package/src/features/agent/chat/AgentChatFixtureReplay.tsx +248 -0
- package/src/features/agent/chat/AgentChatPlaybackControls.test.tsx +96 -0
- package/src/features/agent/chat/AgentChatPlaybackControls.tsx +215 -0
- package/src/features/agent/chat/AgentRequestInputOverlay.tsx +59 -0
- package/src/features/agent/chat/AgentRightPanel.tsx +409 -185
- package/src/features/agent/chat/AnimatedThinkingDots.tsx +91 -82
- package/src/features/agent/chat/ArtifactsTab.tsx +347 -110
- package/src/features/agent/chat/AskUserWidget.tsx +221 -51
- package/src/features/agent/chat/BrowserUseWidget.tsx +255 -0
- package/src/features/agent/chat/DocumentPanel.tsx +35 -41
- package/src/features/agent/chat/DocumentTabBar.tsx +7 -4
- package/src/features/agent/chat/ImageLightbox.tsx +30 -14
- package/src/features/agent/chat/JumpingDots.tsx +15 -6
- package/src/features/agent/chat/ModernAgentConversation.test.tsx +679 -0
- package/src/features/agent/chat/ModernAgentConversation.tsx +1239 -722
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.test.tsx +946 -0
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +2244 -343
- package/src/features/agent/chat/ModernAgentOutput/AttachmentPreview.tsx +437 -0
- package/src/features/agent/chat/ModernAgentOutput/BatchProgressPanel.tsx +67 -65
- package/src/features/agent/chat/ModernAgentOutput/Header.tsx +239 -134
- package/src/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.tsx +18 -14
- package/src/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.tsx +197 -242
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.test.tsx +211 -0
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +394 -268
- package/src/features/agent/chat/ModernAgentOutput/MessageItem.tsx +435 -291
- package/src/features/agent/chat/ModernAgentOutput/MessagesContainer.tsx +12 -13
- package/src/features/agent/chat/ModernAgentOutput/PlanPanel.tsx +27 -23
- package/src/features/agent/chat/ModernAgentOutput/SlideInPanel.tsx +24 -22
- package/src/features/agent/chat/ModernAgentOutput/SlidingMessages.tsx +18 -21
- package/src/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.tsx +53 -49
- package/src/features/agent/chat/ModernAgentOutput/StackedMessages.tsx +9 -9
- package/src/features/agent/chat/ModernAgentOutput/StreamingMessage.tsx +42 -38
- package/src/features/agent/chat/ModernAgentOutput/SummaryConversation.ts +421 -0
- package/src/features/agent/chat/ModernAgentOutput/ToolCallGroup.tsx +518 -271
- package/src/features/agent/chat/ModernAgentOutput/WorkstreamTabs.tsx +124 -146
- package/src/features/agent/chat/ModernAgentOutput/processContentForMarkdown.test.ts +48 -0
- package/src/features/agent/chat/ModernAgentOutput/processContentForMarkdown.ts +158 -0
- package/src/features/agent/chat/ModernAgentOutput/requestInputMessages.ts +81 -0
- package/src/features/agent/chat/ModernAgentOutput/utils.test.ts +1232 -88
- package/src/features/agent/chat/ModernAgentOutput/utils.ts +190 -154
- package/src/features/agent/chat/ModernAgentOutput/with-types.d.ts +7 -7
- package/src/features/agent/chat/ProposalCodeBlockHandler.tsx +89 -0
- package/src/features/agent/chat/SkillWidgetProvider.tsx +72 -58
- package/src/features/agent/chat/SlidingThinkingIndicator.tsx +173 -165
- package/src/features/agent/chat/VegaLiteChart.tsx +631 -557
- package/src/features/agent/chat/WaitingMessages.ts +50 -50
- package/src/features/agent/chat/applyParameterValues.test.ts +67 -69
- package/src/features/agent/chat/hooks/useAgentPlans.ts +22 -27
- package/src/features/agent/chat/hooks/useAgentStream.test.tsx +250 -0
- package/src/features/agent/chat/hooks/useAgentStream.ts +185 -125
- package/src/features/agent/chat/hooks/useArtifacts.ts +41 -16
- package/src/features/agent/chat/hooks/useDocumentPanel.ts +11 -13
- package/src/features/agent/chat/hooks/useFileProcessing.test.tsx +121 -0
- package/src/features/agent/chat/hooks/useFileProcessing.ts +173 -72
- package/src/features/agent/chat/index.ts +58 -27
- package/src/features/agent/chat/playback.test.ts +70 -0
- package/src/features/agent/chat/playback.ts +93 -0
- package/src/features/agent/chat/useArtifactUrlCache.tsx +25 -27
- package/src/features/agent/chat/workstreams.ts +182 -0
- package/src/features/agent/index.ts +2 -2
- package/src/features/document-viewer/UniversalDocumentViewer.test.tsx +123 -0
- package/src/features/document-viewer/UniversalDocumentViewer.tsx +746 -0
- package/src/features/document-viewer/index.ts +1 -0
- package/src/features/errors/PanelErrorBoundary.tsx +13 -19
- package/src/features/errors/RowErrorBoundary.tsx +8 -12
- package/src/features/errors/VertesiaErrorBoundary.tsx +8 -7
- package/src/features/errors/WidgetErrorBoundary.tsx +8 -16
- package/src/features/errors/index.ts +4 -4
- package/src/features/facets/AgentRunnerFacetsNav.tsx +56 -59
- package/src/features/facets/CollectionsFacetsNav.tsx +24 -35
- package/src/features/facets/DocumentsFacetsNav.tsx +36 -44
- package/src/features/facets/EnvironmentFacet.tsx +38 -20
- package/src/features/facets/InteractionsFacetsNav.tsx +18 -31
- package/src/features/facets/ProcessDefinitionsFacetsNav.tsx +51 -0
- package/src/features/facets/ProcessRunsFacetsNav.tsx +64 -0
- package/src/features/facets/PromptsFacetsNav.tsx +22 -33
- package/src/features/facets/RunsFacetsNav.tsx +52 -60
- package/src/features/facets/WorkflowDefinitionsFacetsNav.tsx +51 -0
- package/src/features/facets/WorkflowExecutionsFacetsNav.tsx +28 -42
- package/src/features/facets/WorkflowRulesFacetsNav.tsx +49 -0
- package/src/features/facets/index.ts +32 -18
- package/src/features/facets/utils/SearchInterface.tsx +32 -3
- package/src/features/facets/utils/StringFacet.tsx +16 -5
- package/src/features/facets/utils/StringListFacet.tsx +5 -6
- package/src/features/facets/utils/TypeFacet.tsx +30 -19
- package/src/features/facets/utils/VEnvironmentFacet.tsx +9 -9
- package/src/features/facets/utils/VInteractionFacet.tsx +18 -17
- package/src/features/facets/utils/VStringFacet.tsx +19 -8
- package/src/features/facets/utils/VTypeFacet.tsx +15 -15
- package/src/features/facets/utils/VUserFacet.tsx +6 -6
- package/src/features/facets/utils/utils.tsx +2 -2
- package/src/features/index.ts +14 -12
- package/src/features/layout/GenericPageNavHeader.tsx +73 -53
- package/src/features/layout/NotFoundView.tsx +4 -7
- package/src/features/layout/index.ts +2 -2
- package/src/features/magic-pdf/AnnotatedImageSlider.tsx +59 -44
- package/src/features/magic-pdf/DownloadPopover.tsx +29 -34
- package/src/features/magic-pdf/ExtractedContentView.tsx +14 -21
- package/src/features/magic-pdf/MagicPdfProvider.tsx +30 -45
- package/src/features/magic-pdf/MagicPdfView.tsx +42 -55
- package/src/features/magic-pdf/index.ts +1 -1
- package/src/features/magic-pdf/types.ts +1 -1
- package/src/features/media-viewer/AudioPanel.tsx +118 -0
- package/src/features/media-viewer/ImagePanel.tsx +96 -0
- package/src/features/media-viewer/VideoPanel.tsx +131 -0
- package/src/features/media-viewer/formats.ts +38 -0
- package/src/features/media-viewer/index.ts +4 -0
- package/src/features/oauth/OAuthProviderConnectButton.tsx +6 -16
- package/src/features/oauth/RemoteMcpConnectionButton.tsx +14 -23
- package/src/features/oauth/useOAuthPopup.ts +1 -1
- package/src/features/pdf-viewer/PdfPageRenderer.tsx +50 -72
- package/src/features/pdf-viewer/PdfPageSlider.tsx +78 -80
- package/src/features/pdf-viewer/SimplePdfViewer.tsx +22 -18
- package/src/features/permissions/SecureButton.tsx +9 -8
- package/src/features/permissions/SecureSidebarItem.tsx +4 -7
- package/src/features/permissions/UserPermissionsProvider.tsx +70 -51
- package/src/features/permissions/helpers.ts +8 -5
- package/src/features/permissions/index.ts +4 -4
- package/src/features/store/collections/BrowseCollectionView.tsx +25 -23
- package/src/features/store/collections/CollectionsTable.tsx +50 -41
- package/src/features/store/collections/CreateCollection.tsx +61 -31
- package/src/features/store/collections/EditCollectionView.tsx +202 -80
- package/src/features/store/collections/SelectCollection.tsx +120 -116
- package/src/features/store/collections/SharedPropsEditor.tsx +38 -29
- package/src/features/store/collections/SyncMemberHeadsToggle.tsx +28 -26
- package/src/features/store/collections/index.ts +7 -7
- package/src/features/store/index.ts +3 -3
- package/src/features/store/objects/DocumentPreviewPanel.tsx +348 -376
- package/src/features/store/objects/DocumentSearchResults.tsx +194 -117
- package/src/features/store/objects/DocumentSelectionProvider.tsx +15 -10
- package/src/features/store/objects/DocumentTable.tsx +51 -45
- package/src/features/store/objects/ExportPropertiesModal.tsx +24 -26
- package/src/features/store/objects/components/ContentDispositionButton.tsx +22 -27
- package/src/features/store/objects/components/ContentOverview.tsx +411 -592
- package/src/features/store/objects/components/DocumentIcon.tsx +95 -91
- package/src/features/store/objects/components/DocumentInput.tsx +33 -26
- package/src/features/store/objects/components/PropertiesEditorModal.tsx +58 -60
- package/src/features/store/objects/components/SaveVersionConfirmModal.tsx +49 -37
- package/src/features/store/objects/components/SelectDocument.test.tsx +87 -0
- package/src/features/store/objects/components/SelectDocument.tsx +50 -54
- package/src/features/store/objects/components/SelectDocumentModal.tsx +7 -7
- package/src/features/store/objects/components/TextEditorPanel.tsx +26 -22
- package/src/features/store/objects/components/VectorSearchWidget.test.tsx +41 -0
- package/src/features/store/objects/components/VectorSearchWidget.tsx +94 -37
- package/src/features/store/objects/components/index.ts +9 -9
- package/src/features/store/objects/components/useContentPanelHooks.ts +24 -19
- package/src/features/store/objects/components/useDownloadFile.ts +141 -126
- package/src/features/store/objects/index.ts +10 -10
- package/src/features/store/objects/layout/DocumentTableColumn.tsx +28 -12
- package/src/features/store/objects/layout/documentLayout.tsx +86 -43
- package/src/features/store/objects/layout/index.ts +2 -2
- package/src/features/store/objects/layout/renderers.tsx +107 -73
- package/src/features/store/objects/search/DocumentSearchContext.test.ts +49 -0
- package/src/features/store/objects/search/DocumentSearchContext.ts +63 -46
- package/src/features/store/objects/search/DocumentSearchProvider.tsx +23 -16
- package/src/features/store/objects/search/index.ts +2 -2
- package/src/features/store/objects/selection/ObjectsActionContext.tsx +28 -21
- package/src/features/store/objects/selection/ObjectsActionContextClass.ts +9 -11
- package/src/features/store/objects/selection/ObjectsActionHooks.ts +5 -5
- package/src/features/store/objects/selection/ObjectsActionSpec.ts +16 -16
- package/src/features/store/objects/selection/SelectionActions.tsx +111 -51
- package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +68 -43
- package/src/features/store/objects/selection/actions/ChangeTypeAction.tsx +36 -32
- package/src/features/store/objects/selection/actions/ConfirmAction.tsx +27 -20
- package/src/features/store/objects/selection/actions/DeleteObjectsAction.tsx +57 -46
- package/src/features/store/objects/selection/actions/ExportPropertiesAction.tsx +60 -65
- package/src/features/store/objects/selection/actions/RemoveFromCollectionAction.tsx +42 -33
- package/src/features/store/objects/selection/actions/StartWorkflowComponent.tsx +9 -10
- package/src/features/store/objects/selection/actions/index.ts +7 -7
- package/src/features/store/objects/selection/index.ts +4 -4
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +189 -183
- package/src/features/store/objects/upload/index.ts +3 -3
- package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +139 -132
- package/src/features/store/objects/upload/useUploadHandler.ts +41 -41
- package/src/features/store/types/ContentObjectTypesSearch.tsx +89 -65
- package/src/features/store/types/ContentObjectTypesTable.tsx +19 -18
- package/src/features/store/types/CreateOrUpdateTypeModal.tsx +26 -16
- package/src/features/store/types/ObjectSchemaEditor.tsx +72 -62
- package/src/features/store/types/SelectContentType.tsx +22 -16
- package/src/features/store/types/SelectContentTypeModal.tsx +23 -33
- package/src/features/store/types/TableLayoutEditor.tsx +54 -41
- package/src/features/store/types/TypeRegistry.ts +2 -3
- package/src/features/store/types/TypeRegistryProvider.tsx +76 -73
- package/src/features/store/types/index.ts +10 -10
- package/src/features/store/types/search/ObjectTypeSearchContext.tsx +39 -33
- package/src/features/store/types/search/ObjectTypeSearchProvider.tsx +7 -8
- package/src/features/store/types/search/index.ts +2 -2
- package/src/features/user/UserAvatar.tsx +21 -17
- package/src/features/user/UserInfo.test.tsx +88 -0
- package/src/features/user/UserInfo.tsx +196 -110
- package/src/features/user/index.ts +2 -2
- package/src/features/utils/index.ts +5 -5
- package/src/features/utils/mimeType.ts +10 -10
- package/src/features/utils/print.ts +14 -12
- package/src/features/utils/rendition.ts +68 -81
- package/src/features/utils/text.ts +4 -4
- package/src/features/utils/workflowStatus.ts +14 -14
- package/src/i18n/LanguageProvider.test.tsx +172 -0
- package/src/i18n/LanguageProvider.tsx +77 -0
- package/src/i18n/index.tsx +30 -7
- package/src/i18n/locales/ar.json +77 -21
- package/src/i18n/locales/de.json +77 -21
- package/src/i18n/locales/en.json +95 -24
- package/src/i18n/locales/es.json +79 -23
- package/src/i18n/locales/fr.json +77 -21
- package/src/i18n/locales/it.json +79 -23
- package/src/i18n/locales/ja.json +77 -21
- package/src/i18n/locales/ko.json +77 -21
- package/src/i18n/locales/pt.json +79 -23
- package/src/i18n/locales/ru.json +77 -21
- package/src/i18n/locales/tr.json +77 -21
- package/src/i18n/locales/zh-TW.json +77 -21
- package/src/i18n/locales/zh.json +77 -21
- package/src/i18n/rtl.test.ts +74 -0
- package/src/i18n/rtl.ts +55 -0
- package/src/i18n/useLocaleFormat.test.tsx +176 -0
- package/src/i18n/useLocaleFormat.ts +106 -0
- package/src/layout/AppLayout.tsx +80 -70
- package/src/layout/ErrorPage.tsx +32 -0
- package/src/layout/FullHeightLayout.tsx +16 -70
- package/src/layout/Navbar.tsx +48 -50
- package/src/layout/RegionTag.tsx +1 -5
- package/src/layout/Sidebar.tsx +79 -67
- package/src/layout/SidebarContext.ts +1 -1
- package/src/layout/TitleBar.tsx +1 -2
- package/src/layout/index.ts +8 -7
- package/src/router/FixLinks.tsx +11 -9
- package/src/router/HistoryNavigator.ts +55 -32
- package/src/router/Nav.tsx +36 -10
- package/src/router/NestedNavigationContext.tsx +23 -22
- package/src/router/NestedRouterProvider.tsx +52 -46
- package/src/router/PathMatcher.ts +42 -36
- package/src/router/PathWithParams.ts +1 -2
- package/src/router/Route404.tsx +6 -6
- package/src/router/RouteComponent.tsx +7 -9
- package/src/router/Router.tsx +32 -22
- package/src/router/RouterProvider.tsx +24 -22
- package/src/router/index.ts +10 -10
- package/src/router/path.ts +4 -3
- package/src/session/UserSession.ts +96 -64
- package/src/session/UserSessionProvider.tsx +173 -87
- package/src/session/auth/composable.test.ts +79 -0
- package/src/session/auth/composable.ts +108 -33
- package/src/session/auth/domainRouting.test.ts +8 -8
- package/src/session/auth/firebase.ts +25 -24
- package/src/session/auth/useAuthState.ts +5 -8
- package/src/session/auth/useCurrentTenant.ts +10 -11
- package/src/session/constants.ts +1 -1
- package/src/session/index.ts +7 -7
- package/src/session/useUXTracking.tsx +11 -15
- package/src/shell/SplashScreen.tsx +22 -13
- package/src/shell/VertesiaShell.tsx +38 -16
- package/src/shell/apps/AppInstallationProvider.tsx +10 -11
- package/src/shell/apps/AppProjectSelector.tsx +34 -20
- package/src/shell/apps/StandaloneApp.tsx +40 -37
- package/src/shell/apps/index.ts +3 -3
- package/src/shell/index.tsx +5 -5
- package/src/shell/login/InviteAcceptModal.tsx +65 -56
- package/src/shell/login/PreviewIcon.tsx +3 -6
- package/src/shell/login/SignInAuthPending.tsx +43 -0
- package/src/shell/login/SignInEmailStep.tsx +83 -0
- package/src/shell/login/SignInIcons.tsx +66 -0
- package/src/shell/login/SignInModal.tsx +10 -14
- package/src/shell/login/SignInPrimitives.tsx +414 -0
- package/src/shell/login/SignInProvidersStep.tsx +50 -0
- package/src/shell/login/SignInReturningStep.tsx +90 -0
- package/src/shell/login/SignInTenantBlockedStep.tsx +41 -0
- package/src/shell/login/SignInTenantStep.tsx +78 -0
- package/src/shell/login/SignInWithProviderButton.tsx +40 -0
- package/src/shell/login/SigninScreen.tsx +231 -134
- package/src/shell/login/SignupForm.tsx +28 -33
- package/src/shell/login/TerminalLogin.tsx +188 -156
- package/src/shell/login/UserInfo.tsx +41 -26
- package/src/shell/login/UserSessionMenu.tsx +50 -35
- package/src/shell/login/signInUtils.test.ts +41 -0
- package/src/shell/login/signInUtils.ts +241 -0
- package/src/shell/utils.tsx +5 -5
- package/src/widgets/Progress.tsx +2 -2
- package/src/widgets/SvgIcon.tsx +4 -4
- package/src/widgets/form/Form.tsx +71 -59
- package/src/widgets/form/FormContext.ts +9 -7
- package/src/widgets/form/ManagedObject.ts +50 -40
- package/src/widgets/form/fields.tsx +3 -11
- package/src/widgets/form/index.ts +6 -6
- package/src/widgets/form/inputs.tsx +55 -35
- package/src/widgets/form/schema.ts +22 -15
- package/src/widgets/index.ts +10 -10
- package/src/widgets/json-view/JSONCode.test.tsx +52 -0
- package/src/widgets/json-view/JSONCode.tsx +64 -19
- package/src/widgets/json-view/JSONDisplay.tsx +30 -14
- package/src/widgets/json-view/JSONEditor.tsx +89 -0
- package/src/widgets/json-view/JSONSwitcher.tsx +13 -5
- package/src/widgets/json-view/JSONTable.tsx +80 -0
- package/src/widgets/json-view/JSONView.tsx +122 -82
- package/src/widgets/json-view/index.ts +7 -5
- package/src/widgets/markdown/ArtifactContentRenderer.tsx +20 -36
- package/src/widgets/markdown/CodeBlockContext.tsx +1 -1
- package/src/widgets/markdown/CodeBlockPlaceholder.test.tsx +2 -2
- package/src/widgets/markdown/CodeBlockPlaceholder.tsx +21 -19
- package/src/widgets/markdown/CodeBlockRendering.tsx +3 -8
- package/src/widgets/markdown/MarkdownFigure.tsx +5 -21
- package/src/widgets/markdown/MarkdownImage.tsx +7 -29
- package/src/widgets/markdown/MarkdownLink.tsx +7 -30
- package/src/widgets/markdown/MarkdownRenderer.tsx +45 -42
- package/src/widgets/markdown/MermaidDiagram.test.ts +40 -0
- package/src/widgets/markdown/MermaidDiagram.tsx +9 -8
- package/src/widgets/markdown/codeBlockHandlers.test.tsx +12 -15
- package/src/widgets/markdown/codeBlockHandlers.tsx +40 -155
- package/src/widgets/markdown/index.ts +23 -14
- package/src/widgets/markdown/normalizeCustomSchemeLinks.test.ts +21 -6
- package/src/widgets/markdown/normalizeCustomSchemeLinks.ts +9 -16
- package/src/widgets/markdown/normalizeDirectives.test.ts +57 -0
- package/src/widgets/markdown/normalizeDirectives.ts +24 -14
- package/src/widgets/markdown/preprocessMathDelimiters.test.ts +59 -54
- package/src/widgets/markdown/preprocessMathDelimiters.ts +36 -32
- package/src/widgets/markdown/remarkDirectiveHandler.ts +10 -12
- package/src/widgets/markdown/useArtifactContent.ts +9 -22
- package/src/widgets/markdown/useResolvedUrl.test.ts +25 -2
- package/src/widgets/markdown/useResolvedUrl.ts +25 -24
- package/src/widgets/monacoEditor/MonacoEditor.tsx +93 -81
- package/src/widgets/monacoEditor/foldingProviders.ts +33 -7
- package/src/widgets/monacoEditor/index.ts +2 -3
- package/src/widgets/properties/PropertiesView.tsx +19 -25
- package/src/widgets/properties/index.ts +1 -1
- package/src/widgets/schema-editor/ManagedSchema.ts +47 -39
- package/src/widgets/schema-editor/editor/Editable.tsx +94 -74
- package/src/widgets/schema-editor/editor/EditableSchemaProperty.tsx +4 -4
- package/src/widgets/schema-editor/editor/PropertyEditor.tsx +49 -34
- package/src/widgets/schema-editor/editor/PropertyViewer.tsx +6 -9
- package/src/widgets/schema-editor/editor/SchemaContext.tsx +9 -6
- package/src/widgets/schema-editor/editor/SchemaEditor.test.ts +5 -5
- package/src/widgets/schema-editor/editor/SchemaEditor.tsx +56 -50
- package/src/widgets/schema-editor/index.ts +6 -6
- package/src/widgets/schema-editor/json-schema4-utils.ts +36 -34
- package/src/widgets/schema-editor/type-signature.ts +16 -18
- package/src/widgets/upload/DropZone.tsx +68 -47
- package/src/widgets/upload/UploadResultCategory.tsx +24 -20
- package/src/widgets/upload/UploadSummary.tsx +24 -24
- package/src/widgets/upload/index.ts +1 -1
- package/src/widgets/xml-viewer/components/Attributes/index.tsx +17 -17
- package/src/widgets/xml-viewer/components/CDataTag/index.tsx +13 -13
- package/src/widgets/xml-viewer/components/CollapseIcon/index.tsx +20 -22
- package/src/widgets/xml-viewer/components/CommentTag/index.tsx +20 -20
- package/src/widgets/xml-viewer/components/DeclarationTag/index.tsx +14 -14
- package/src/widgets/xml-viewer/components/Elements/index.tsx +67 -67
- package/src/widgets/xml-viewer/components/InvalidXml/index.tsx +1 -1
- package/src/widgets/xml-viewer/components/Tag/index.tsx +36 -35
- package/src/widgets/xml-viewer/components/TextElement/index.tsx +20 -19
- package/src/widgets/xml-viewer/components/XMLViewer.tsx +50 -50
- package/src/widgets/xml-viewer/components/types.ts +99 -99
- package/src/widgets/xml-viewer/constants/index.ts +16 -16
- package/src/widgets/xml-viewer/context/xml-viewer-context.ts +4 -4
- package/src/widgets/xml-viewer/helpers/index.ts +32 -34
- package/src/widgets/xml-viewer/hooks/useCollapsible.ts +18 -20
- package/src/widgets/xml-viewer/hooks/useXMLViewer.ts +25 -23
- package/src/widgets/xml-viewer/index.ts +1 -1
- package/src/widgets/xml-viewer/types/index.ts +6 -6
- package/tsconfig.dist.json +3 -2
- package/lib/esm/core/components/Avatar.js +0 -31
- package/lib/esm/core/components/Avatar.js.map +0 -1
- package/lib/esm/core/components/Center.js +0 -6
- package/lib/esm/core/components/Center.js.map +0 -1
- package/lib/esm/core/components/ComboBox.js +0 -355
- package/lib/esm/core/components/ComboBox.js.map +0 -1
- package/lib/esm/core/components/Divider.js +0 -6
- package/lib/esm/core/components/Divider.js.map +0 -1
- package/lib/esm/core/components/EmptyCollection.js +0 -7
- package/lib/esm/core/components/EmptyCollection.js.map +0 -1
- package/lib/esm/core/components/FileUpload.js +0 -119
- package/lib/esm/core/components/FileUpload.js.map +0 -1
- package/lib/esm/core/components/FormItem.js +0 -9
- package/lib/esm/core/components/FormItem.js.map +0 -1
- package/lib/esm/core/components/InputList.js +0 -61
- package/lib/esm/core/components/InputList.js.map +0 -1
- package/lib/esm/core/components/Link.js +0 -13
- package/lib/esm/core/components/Link.js.map +0 -1
- package/lib/esm/core/components/MenuList.js +0 -20
- package/lib/esm/core/components/MenuList.js.map +0 -1
- package/lib/esm/core/components/NumberInput.js +0 -43
- package/lib/esm/core/components/NumberInput.js.map +0 -1
- package/lib/esm/core/components/Overlay.js +0 -57
- package/lib/esm/core/components/Overlay.js.map +0 -1
- package/lib/esm/core/components/Portal.js +0 -28
- package/lib/esm/core/components/Portal.js.map +0 -1
- package/lib/esm/core/components/SelectList.js +0 -54
- package/lib/esm/core/components/SelectList.js.map +0 -1
- package/lib/esm/core/components/SidePanel.js +0 -39
- package/lib/esm/core/components/SidePanel.js.map +0 -1
- package/lib/esm/core/components/Spinner.js +0 -18
- package/lib/esm/core/components/Spinner.js.map +0 -1
- package/lib/esm/core/components/TagsInput.js +0 -194
- package/lib/esm/core/components/TagsInput.js.map +0 -1
- package/lib/esm/core/components/index.js +0 -23
- package/lib/esm/core/components/index.js.map +0 -1
- package/lib/esm/core/components/libs/utils.js +0 -6
- package/lib/esm/core/components/libs/utils.js.map +0 -1
- package/lib/esm/core/components/libs/visuallyHidden.js +0 -16
- package/lib/esm/core/components/libs/visuallyHidden.js.map +0 -1
- package/lib/esm/core/components/popup/Popup.js +0 -60
- package/lib/esm/core/components/popup/Popup.js.map +0 -1
- package/lib/esm/core/components/popup/PopupController.js +0 -149
- package/lib/esm/core/components/popup/PopupController.js.map +0 -1
- package/lib/esm/core/components/popup/index.js +0 -4
- package/lib/esm/core/components/popup/index.js.map +0 -1
- package/lib/esm/core/components/popup/position.js +0 -221
- package/lib/esm/core/components/popup/position.js.map +0 -1
- package/lib/esm/core/components/popup/utils.js +0 -74
- package/lib/esm/core/components/popup/utils.js.map +0 -1
- package/lib/esm/core/components/shadcn/MessageBox.js +0 -66
- package/lib/esm/core/components/shadcn/MessageBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/Panel.js +0 -13
- package/lib/esm/core/components/shadcn/Panel.js.map +0 -1
- package/lib/esm/core/components/shadcn/badge.js +0 -62
- package/lib/esm/core/components/shadcn/badge.js.map +0 -1
- package/lib/esm/core/components/shadcn/breadcrumb.js +0 -55
- package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
- package/lib/esm/core/components/shadcn/button.js +0 -78
- package/lib/esm/core/components/shadcn/button.js.map +0 -1
- package/lib/esm/core/components/shadcn/calendar.js +0 -13
- package/lib/esm/core/components/shadcn/calendar.js.map +0 -1
- package/lib/esm/core/components/shadcn/card.js +0 -17
- package/lib/esm/core/components/shadcn/card.js.map +0 -1
- package/lib/esm/core/components/shadcn/checkbox.js +0 -9
- package/lib/esm/core/components/shadcn/checkbox.js.map +0 -1
- package/lib/esm/core/components/shadcn/collaspible.js +0 -13
- package/lib/esm/core/components/shadcn/collaspible.js.map +0 -1
- package/lib/esm/core/components/shadcn/command.js +0 -29
- package/lib/esm/core/components/shadcn/command.js.map +0 -1
- package/lib/esm/core/components/shadcn/dropdown.js +0 -86
- package/lib/esm/core/components/shadcn/dropdown.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js +0 -38
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js +0 -23
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js +0 -131
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js +0 -49
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js +0 -23
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js +0 -28
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js +0 -5
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js +0 -98
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js +0 -24
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js +0 -21
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js +0 -163
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter-styles.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filterBar.js +0 -237
- package/lib/esm/core/components/shadcn/filters/filterBar.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filters.js +0 -57
- package/lib/esm/core/components/shadcn/filters/filters.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/types.js.map +0 -1
- package/lib/esm/core/components/shadcn/heading.js +0 -17
- package/lib/esm/core/components/shadcn/heading.js.map +0 -1
- package/lib/esm/core/components/shadcn/index.js +0 -29
- package/lib/esm/core/components/shadcn/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/input.js +0 -41
- package/lib/esm/core/components/shadcn/input.js.map +0 -1
- package/lib/esm/core/components/shadcn/label.js +0 -10
- package/lib/esm/core/components/shadcn/label.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/ConfirmModal.js +0 -12
- package/lib/esm/core/components/shadcn/modal/ConfirmModal.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/DeleteModal.js +0 -30
- package/lib/esm/core/components/shadcn/modal/DeleteModal.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/dialog.js +0 -78
- package/lib/esm/core/components/shadcn/modal/dialog.js.map +0 -1
- package/lib/esm/core/components/shadcn/modal/index.js +0 -4
- package/lib/esm/core/components/shadcn/modal/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/popover.js +0 -56
- package/lib/esm/core/components/shadcn/popover.js.map +0 -1
- package/lib/esm/core/components/shadcn/radioGroup.js +0 -28
- package/lib/esm/core/components/shadcn/radioGroup.js.map +0 -1
- package/lib/esm/core/components/shadcn/resizeable.js +0 -15
- package/lib/esm/core/components/shadcn/resizeable.js.map +0 -1
- package/lib/esm/core/components/shadcn/selectBox.js +0 -156
- package/lib/esm/core/components/shadcn/selectBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/separator.js +0 -8
- package/lib/esm/core/components/shadcn/separator.js.map +0 -1
- package/lib/esm/core/components/shadcn/switch.js +0 -18
- package/lib/esm/core/components/shadcn/switch.js.map +0 -1
- package/lib/esm/core/components/shadcn/tabs.js +0 -134
- package/lib/esm/core/components/shadcn/tabs.js.map +0 -1
- package/lib/esm/core/components/shadcn/text.js +0 -30
- package/lib/esm/core/components/shadcn/text.js.map +0 -1
- package/lib/esm/core/components/shadcn/textarea.js +0 -35
- package/lib/esm/core/components/shadcn/textarea.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js +0 -39
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js +0 -15
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js.map +0 -1
- package/lib/esm/core/components/shadcn/tooltip.js +0 -34
- package/lib/esm/core/components/shadcn/tooltip.js.map +0 -1
- package/lib/esm/core/components/styles.js +0 -10
- package/lib/esm/core/components/styles.js.map +0 -1
- package/lib/esm/core/components/table/index.js +0 -24
- package/lib/esm/core/components/table/index.js.map +0 -1
- package/lib/esm/core/components/toast/NotificationPanel.js +0 -43
- package/lib/esm/core/components/toast/NotificationPanel.js.map +0 -1
- package/lib/esm/core/components/toast/ToastContext.js +0 -7
- package/lib/esm/core/components/toast/ToastContext.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProps.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProvider.js +0 -13
- package/lib/esm/core/components/toast/ToastProvider.js.map +0 -1
- package/lib/esm/core/components/toast/index.js +0 -3
- package/lib/esm/core/components/toast/index.js.map +0 -1
- package/lib/esm/core/hooks/CompositeState.js +0 -256
- package/lib/esm/core/hooks/CompositeState.js.map +0 -1
- package/lib/esm/core/hooks/PortalContainerProvider.js +0 -50
- package/lib/esm/core/hooks/PortalContainerProvider.js.map +0 -1
- package/lib/esm/core/hooks/SharedState.js +0 -64
- package/lib/esm/core/hooks/SharedState.js.map +0 -1
- package/lib/esm/core/hooks/index.js +0 -16
- package/lib/esm/core/hooks/index.js.map +0 -1
- package/lib/esm/core/hooks/useClickOutside.js +0 -29
- package/lib/esm/core/hooks/useClickOutside.js.map +0 -1
- package/lib/esm/core/hooks/useCopyToClipboard.js.map +0 -1
- package/lib/esm/core/hooks/useDarkMode.js +0 -11
- package/lib/esm/core/hooks/useDarkMode.js.map +0 -1
- package/lib/esm/core/hooks/useDebounce.js +0 -14
- package/lib/esm/core/hooks/useDebounce.js.map +0 -1
- package/lib/esm/core/hooks/useEventSource.js +0 -31
- package/lib/esm/core/hooks/useEventSource.js.map +0 -1
- package/lib/esm/core/hooks/useFetch.js +0 -40
- package/lib/esm/core/hooks/useFetch.js.map +0 -1
- package/lib/esm/core/hooks/useFlag.js +0 -13
- package/lib/esm/core/hooks/useFlag.js.map +0 -1
- package/lib/esm/core/hooks/useIntersectionObserver.js +0 -34
- package/lib/esm/core/hooks/useIntersectionObserver.js.map +0 -1
- package/lib/esm/core/hooks/useIsFistRendering.js +0 -14
- package/lib/esm/core/hooks/useIsFistRendering.js.map +0 -1
- package/lib/esm/core/hooks/useSafeLayoutEffect.js +0 -4
- package/lib/esm/core/hooks/useSafeLayoutEffect.js.map +0 -1
- package/lib/esm/core/hooks/useScrollableSearch.js +0 -92
- package/lib/esm/core/hooks/useScrollableSearch.js.map +0 -1
- package/lib/esm/core/hooks/useSharedValue.js +0 -21
- package/lib/esm/core/hooks/useSharedValue.js.map +0 -1
- package/lib/esm/core/index.js +0 -4
- package/lib/esm/core/index.js.map +0 -1
- package/lib/esm/core/utils/cn.js +0 -6
- package/lib/esm/core/utils/cn.js.map +0 -1
- package/lib/esm/core/utils/index.js +0 -2
- package/lib/esm/core/utils/index.js.map +0 -1
- package/lib/esm/env/index.js +0 -85
- package/lib/esm/env/index.js.map +0 -1
- package/lib/esm/features/activity-doc/ActivityDoc.js +0 -71
- package/lib/esm/features/activity-doc/ActivityDoc.js.map +0 -1
- package/lib/esm/features/activity-doc/index.js +0 -2
- package/lib/esm/features/activity-doc/index.js.map +0 -1
- package/lib/esm/features/agent/PayloadBuilder.js +0 -421
- package/lib/esm/features/agent/PayloadBuilder.js.map +0 -1
- package/lib/esm/features/agent/chat/AgentChart.js +0 -26
- package/lib/esm/features/agent/chat/AgentChart.js.map +0 -1
- package/lib/esm/features/agent/chat/AgentRightPanel.js +0 -169
- package/lib/esm/features/agent/chat/AgentRightPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js +0 -243
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/ArtifactsTab.js +0 -69
- package/lib/esm/features/agent/chat/ArtifactsTab.js.map +0 -1
- package/lib/esm/features/agent/chat/AskUserWidget.js +0 -116
- package/lib/esm/features/agent/chat/AskUserWidget.js.map +0 -1
- package/lib/esm/features/agent/chat/DocumentPanel.js +0 -52
- package/lib/esm/features/agent/chat/DocumentPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/DocumentTabBar.js +0 -9
- package/lib/esm/features/agent/chat/DocumentTabBar.js.map +0 -1
- package/lib/esm/features/agent/chat/ImageLightbox.js +0 -35
- package/lib/esm/features/agent/chat/ImageLightbox.js.map +0 -1
- package/lib/esm/features/agent/chat/JumpingDots.js +0 -6
- package/lib/esm/features/agent/chat/JumpingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentConversation.js +0 -878
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -488
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +0 -90
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +0 -114
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +0 -29
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +0 -94
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -202
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -322
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js +0 -20
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +0 -65
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js +0 -23
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js +0 -52
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +0 -84
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js +0 -13
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js +0 -203
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +0 -556
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +0 -108
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +0 -614
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +0 -1
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js +0 -145
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js.map +0 -1
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js +0 -262
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js.map +0 -1
- package/lib/esm/features/agent/chat/VegaLiteChart.js +0 -793
- package/lib/esm/features/agent/chat/VegaLiteChart.js.map +0 -1
- package/lib/esm/features/agent/chat/WaitingMessages.js +0 -60
- package/lib/esm/features/agent/chat/WaitingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useAgentPlans.js +0 -141
- package/lib/esm/features/agent/chat/hooks/useAgentPlans.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useAgentStream.js +0 -243
- package/lib/esm/features/agent/chat/hooks/useAgentStream.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useArtifacts.js +0 -108
- package/lib/esm/features/agent/chat/hooks/useArtifacts.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js +0 -155
- package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/hooks/useFileProcessing.js +0 -92
- package/lib/esm/features/agent/chat/hooks/useFileProcessing.js.map +0 -1
- package/lib/esm/features/agent/chat/index.js +0 -18
- package/lib/esm/features/agent/chat/index.js.map +0 -1
- package/lib/esm/features/agent/chat/types/document.js.map +0 -1
- package/lib/esm/features/agent/chat/useArtifactUrlCache.js +0 -62
- package/lib/esm/features/agent/chat/useArtifactUrlCache.js.map +0 -1
- package/lib/esm/features/agent/index.js +0 -3
- package/lib/esm/features/agent/index.js.map +0 -1
- package/lib/esm/features/errors/PanelErrorBoundary.js +0 -13
- package/lib/esm/features/errors/PanelErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/RowErrorBoundary.js +0 -9
- package/lib/esm/features/errors/RowErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/VertesiaErrorBoundary.js +0 -15
- package/lib/esm/features/errors/VertesiaErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/WidgetErrorBoundary.js +0 -11
- package/lib/esm/features/errors/WidgetErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/index.js +0 -5
- package/lib/esm/features/errors/index.js.map +0 -1
- package/lib/esm/features/facets/AgentRunnerFacetsNav.js +0 -98
- package/lib/esm/features/facets/AgentRunnerFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/CollectionsFacetsNav.js +0 -89
- package/lib/esm/features/facets/CollectionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/DocumentsFacetsNav.js +0 -151
- package/lib/esm/features/facets/DocumentsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/EnvironmentFacet.js +0 -39
- package/lib/esm/features/facets/EnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/InteractionsFacetsNav.js +0 -88
- package/lib/esm/features/facets/InteractionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/PromptsFacetsNav.js +0 -80
- package/lib/esm/features/facets/PromptsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/RunsFacetsNav.js +0 -164
- package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -119
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/index.js +0 -17
- package/lib/esm/features/facets/index.js.map +0 -1
- package/lib/esm/features/facets/utils/SearchInterface.js +0 -2
- package/lib/esm/features/facets/utils/SearchInterface.js.map +0 -1
- package/lib/esm/features/facets/utils/StringFacet.js +0 -12
- package/lib/esm/features/facets/utils/StringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/StringListFacet.js +0 -11
- package/lib/esm/features/facets/utils/StringListFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/TypeFacet.js +0 -42
- package/lib/esm/features/facets/utils/TypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js +0 -25
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VInteractionFacet.js +0 -45
- package/lib/esm/features/facets/utils/VInteractionFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VStringFacet.js +0 -20
- package/lib/esm/features/facets/utils/VStringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VTypeFacet.js +0 -61
- package/lib/esm/features/facets/utils/VTypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VUserFacet.js +0 -31
- package/lib/esm/features/facets/utils/VUserFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/utils.js.map +0 -1
- package/lib/esm/features/index.js +0 -13
- package/lib/esm/features/index.js.map +0 -1
- package/lib/esm/features/layout/GenericPageNavHeader.js +0 -86
- package/lib/esm/features/layout/GenericPageNavHeader.js.map +0 -1
- package/lib/esm/features/layout/NotFoundView.js +0 -7
- package/lib/esm/features/layout/NotFoundView.js.map +0 -1
- package/lib/esm/features/layout/index.js +0 -3
- package/lib/esm/features/layout/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js +0 -272
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js.map +0 -1
- package/lib/esm/features/magic-pdf/DownloadPopover.js +0 -29
- package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
- package/lib/esm/features/magic-pdf/ExtractedContentView.js +0 -77
- package/lib/esm/features/magic-pdf/ExtractedContentView.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js +0 -242
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -64
- package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
- package/lib/esm/features/magic-pdf/index.js +0 -2
- package/lib/esm/features/magic-pdf/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/types.js.map +0 -1
- package/lib/esm/features/oauth/OAuthProviderConnectButton.js +0 -85
- package/lib/esm/features/oauth/OAuthProviderConnectButton.js.map +0 -1
- package/lib/esm/features/oauth/RemoteMcpConnectionButton.js +0 -119
- package/lib/esm/features/oauth/RemoteMcpConnectionButton.js.map +0 -1
- package/lib/esm/features/oauth/index.js.map +0 -1
- package/lib/esm/features/oauth/useOAuthPopup.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js +0 -261
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js +0 -280
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js.map +0 -1
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js +0 -73
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/index.js.map +0 -1
- package/lib/esm/features/permissions/SecureButton.js +0 -13
- package/lib/esm/features/permissions/SecureButton.js.map +0 -1
- package/lib/esm/features/permissions/SecureSidebarItem.js +0 -14
- package/lib/esm/features/permissions/SecureSidebarItem.js.map +0 -1
- package/lib/esm/features/permissions/UserPermissionsProvider.js +0 -89
- package/lib/esm/features/permissions/UserPermissionsProvider.js.map +0 -1
- package/lib/esm/features/permissions/helpers.js.map +0 -1
- package/lib/esm/features/permissions/index.js +0 -5
- package/lib/esm/features/permissions/index.js.map +0 -1
- package/lib/esm/features/store/collections/BrowseCollectionView.js +0 -48
- package/lib/esm/features/store/collections/BrowseCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/CollectionsTable.js +0 -71
- package/lib/esm/features/store/collections/CollectionsTable.js.map +0 -1
- package/lib/esm/features/store/collections/CreateCollection.js +0 -90
- package/lib/esm/features/store/collections/CreateCollection.js.map +0 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +0 -192
- package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/SelectCollection.js +0 -134
- package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
- package/lib/esm/features/store/collections/SharedPropsEditor.js +0 -41
- package/lib/esm/features/store/collections/SharedPropsEditor.js.map +0 -1
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +0 -37
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +0 -1
- package/lib/esm/features/store/collections/index.js +0 -8
- package/lib/esm/features/store/collections/index.js.map +0 -1
- package/lib/esm/features/store/index.js +0 -4
- package/lib/esm/features/store/index.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js +0 -149
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSearchResults.js +0 -216
- package/lib/esm/features/store/objects/DocumentSearchResults.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js +0 -81
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentTable.js +0 -281
- package/lib/esm/features/store/objects/DocumentTable.js.map +0 -1
- package/lib/esm/features/store/objects/ExportPropertiesModal.js +0 -34
- package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js +0 -33
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +0 -555
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -34
- package/lib/esm/features/store/objects/components/DocumentIcon.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentInput.js +0 -51
- package/lib/esm/features/store/objects/components/DocumentInput.js.map +0 -1
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +0 -159
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +0 -50
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocument.js +0 -58
- package/lib/esm/features/store/objects/components/SelectDocument.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js +0 -7
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/TextEditorPanel.js +0 -97
- package/lib/esm/features/store/objects/components/TextEditorPanel.js.map +0 -1
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js +0 -92
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +0 -1
- package/lib/esm/features/store/objects/components/index.js +0 -10
- package/lib/esm/features/store/objects/components/index.js.map +0 -1
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js +0 -191
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js.map +0 -1
- package/lib/esm/features/store/objects/components/useDownloadFile.js +0 -194
- package/lib/esm/features/store/objects/components/useDownloadFile.js.map +0 -1
- package/lib/esm/features/store/objects/index.js +0 -11
- package/lib/esm/features/store/objects/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +0 -86
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
- package/lib/esm/features/store/objects/layout/documentLayout.js +0 -19
- package/lib/esm/features/store/objects/layout/documentLayout.js.map +0 -1
- package/lib/esm/features/store/objects/layout/index.js +0 -3
- package/lib/esm/features/store/objects/layout/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/renderers.js +0 -166
- package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -181
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +0 -42
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +0 -1
- package/lib/esm/features/store/objects/search/index.js +0 -3
- package/lib/esm/features/store/objects/search/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +0 -63
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContextClass.js +0 -50
- package/lib/esm/features/store/objects/selection/ObjectsActionContextClass.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionHooks.js +0 -27
- package/lib/esm/features/store/objects/selection/ObjectsActionHooks.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js.map +0 -1
- package/lib/esm/features/store/objects/selection/SelectionActions.js +0 -71
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -86
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +0 -57
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js +0 -32
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +0 -85
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +0 -119
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js +0 -68
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +0 -78
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/index.js +0 -8
- package/lib/esm/features/store/objects/selection/actions/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/index.js +0 -5
- package/lib/esm/features/store/objects/selection/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +0 -520
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +0 -1
- package/lib/esm/features/store/objects/upload/index.js +0 -4
- package/lib/esm/features/store/objects/upload/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +0 -204
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useUploadHandler.js +0 -232
- package/lib/esm/features/store/objects/upload/useUploadHandler.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js +0 -84
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesTable.js +0 -13
- package/lib/esm/features/store/types/ContentObjectTypesTable.js.map +0 -1
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +0 -25
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js +0 -104
- package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentType.js +0 -45
- package/lib/esm/features/store/types/SelectContentType.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentTypeModal.js +0 -32
- package/lib/esm/features/store/types/SelectContentTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/TableLayoutEditor.js +0 -78
- package/lib/esm/features/store/types/TableLayoutEditor.js.map +0 -1
- package/lib/esm/features/store/types/TypeRegistry.js.map +0 -1
- package/lib/esm/features/store/types/TypeRegistryProvider.js +0 -53
- package/lib/esm/features/store/types/TypeRegistryProvider.js.map +0 -1
- package/lib/esm/features/store/types/index.js +0 -11
- package/lib/esm/features/store/types/index.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js +0 -98
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js +0 -15
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js.map +0 -1
- package/lib/esm/features/store/types/search/index.js +0 -3
- package/lib/esm/features/store/types/search/index.js.map +0 -1
- package/lib/esm/features/user/UserAvatar.js +0 -18
- package/lib/esm/features/user/UserAvatar.js.map +0 -1
- package/lib/esm/features/user/UserInfo.js +0 -198
- package/lib/esm/features/user/UserInfo.js.map +0 -1
- package/lib/esm/features/user/index.js +0 -3
- package/lib/esm/features/user/index.js.map +0 -1
- package/lib/esm/features/utils/index.js +0 -6
- package/lib/esm/features/utils/index.js.map +0 -1
- package/lib/esm/features/utils/mimeType.js.map +0 -1
- package/lib/esm/features/utils/print.js +0 -180
- package/lib/esm/features/utils/print.js.map +0 -1
- package/lib/esm/features/utils/rendition.js +0 -67
- package/lib/esm/features/utils/rendition.js.map +0 -1
- package/lib/esm/features/utils/text.js +0 -10
- package/lib/esm/features/utils/text.js.map +0 -1
- package/lib/esm/features/utils/workflowStatus.js +0 -43
- package/lib/esm/features/utils/workflowStatus.js.map +0 -1
- package/lib/esm/i18n/index.js +0 -31
- package/lib/esm/i18n/index.js.map +0 -1
- package/lib/esm/i18n/instance.js.map +0 -1
- package/lib/esm/i18n/locales/ar.json +0 -677
- package/lib/esm/i18n/locales/de.json +0 -633
- package/lib/esm/i18n/locales/en.json +0 -633
- package/lib/esm/i18n/locales/es.json +0 -644
- package/lib/esm/i18n/locales/fr.json +0 -644
- package/lib/esm/i18n/locales/it.json +0 -644
- package/lib/esm/i18n/locales/ja.json +0 -633
- package/lib/esm/i18n/locales/ko.json +0 -633
- package/lib/esm/i18n/locales/pt.json +0 -644
- package/lib/esm/i18n/locales/ru.json +0 -655
- package/lib/esm/i18n/locales/tr.json +0 -633
- package/lib/esm/i18n/locales/zh-TW.json +0 -633
- package/lib/esm/i18n/locales/zh.json +0 -633
- package/lib/esm/layout/AppLayout.js +0 -45
- package/lib/esm/layout/AppLayout.js.map +0 -1
- package/lib/esm/layout/FullHeightLayout.js +0 -24
- package/lib/esm/layout/FullHeightLayout.js.map +0 -1
- package/lib/esm/layout/Navbar.js +0 -42
- package/lib/esm/layout/Navbar.js.map +0 -1
- package/lib/esm/layout/RegionTag.js.map +0 -1
- package/lib/esm/layout/Sidebar.js +0 -45
- package/lib/esm/layout/Sidebar.js.map +0 -1
- package/lib/esm/layout/SidebarContext.js +0 -10
- package/lib/esm/layout/SidebarContext.js.map +0 -1
- package/lib/esm/layout/TitleBar.js +0 -5
- package/lib/esm/layout/TitleBar.js.map +0 -1
- package/lib/esm/layout/index.js +0 -8
- package/lib/esm/layout/index.js.map +0 -1
- package/lib/esm/router/FixLinks.js +0 -23
- package/lib/esm/router/FixLinks.js.map +0 -1
- package/lib/esm/router/HistoryNavigator.js +0 -198
- package/lib/esm/router/HistoryNavigator.js.map +0 -1
- package/lib/esm/router/Nav.js +0 -28
- package/lib/esm/router/Nav.js.map +0 -1
- package/lib/esm/router/NestedNavigationContext.js +0 -23
- package/lib/esm/router/NestedNavigationContext.js.map +0 -1
- package/lib/esm/router/NestedRouterProvider.js +0 -46
- package/lib/esm/router/NestedRouterProvider.js.map +0 -1
- package/lib/esm/router/PathMatcher.js +0 -159
- package/lib/esm/router/PathMatcher.js.map +0 -1
- package/lib/esm/router/PathWithParams.js +0 -34
- package/lib/esm/router/PathWithParams.js.map +0 -1
- package/lib/esm/router/Route404.js +0 -18
- package/lib/esm/router/Route404.js.map +0 -1
- package/lib/esm/router/RouteComponent.js +0 -32
- package/lib/esm/router/RouteComponent.js.map +0 -1
- package/lib/esm/router/Router.js +0 -176
- package/lib/esm/router/Router.js.map +0 -1
- package/lib/esm/router/RouterProvider.js +0 -41
- package/lib/esm/router/RouterProvider.js.map +0 -1
- package/lib/esm/router/index.js +0 -11
- package/lib/esm/router/index.js.map +0 -1
- package/lib/esm/router/path.js +0 -140
- package/lib/esm/router/path.js.map +0 -1
- package/lib/esm/session/UserSession.js +0 -221
- package/lib/esm/session/UserSession.js.map +0 -1
- package/lib/esm/session/UserSessionProvider.js +0 -189
- package/lib/esm/session/UserSessionProvider.js.map +0 -1
- package/lib/esm/session/auth/composable.js +0 -273
- package/lib/esm/session/auth/composable.js.map +0 -1
- package/lib/esm/session/auth/domainRouting.js.map +0 -1
- package/lib/esm/session/auth/firebase.js +0 -158
- package/lib/esm/session/auth/firebase.js.map +0 -1
- package/lib/esm/session/auth/useAuthState.js +0 -46
- package/lib/esm/session/auth/useAuthState.js.map +0 -1
- package/lib/esm/session/auth/useCurrentTenant.js +0 -65
- package/lib/esm/session/auth/useCurrentTenant.js.map +0 -1
- package/lib/esm/session/constants.js.map +0 -1
- package/lib/esm/session/index.js +0 -8
- package/lib/esm/session/index.js.map +0 -1
- package/lib/esm/session/useUXTracking.js +0 -29
- package/lib/esm/session/useUXTracking.js.map +0 -1
- package/lib/esm/shell/SplashScreen.js +0 -22
- package/lib/esm/shell/SplashScreen.js.map +0 -1
- package/lib/esm/shell/VertesiaShell.js +0 -10
- package/lib/esm/shell/VertesiaShell.js.map +0 -1
- package/lib/esm/shell/apps/AppInstallationProvider.js +0 -13
- package/lib/esm/shell/apps/AppInstallationProvider.js.map +0 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +0 -36
- package/lib/esm/shell/apps/AppProjectSelector.js.map +0 -1
- package/lib/esm/shell/apps/StandaloneApp.js +0 -90
- package/lib/esm/shell/apps/StandaloneApp.js.map +0 -1
- package/lib/esm/shell/apps/index.js +0 -4
- package/lib/esm/shell/apps/index.js.map +0 -1
- package/lib/esm/shell/index.js +0 -8
- package/lib/esm/shell/index.js.map +0 -1
- package/lib/esm/shell/login/EnterpriseSigninButton.js +0 -86
- package/lib/esm/shell/login/EnterpriseSigninButton.js.map +0 -1
- package/lib/esm/shell/login/GitHubSignInButton.js +0 -20
- package/lib/esm/shell/login/GitHubSignInButton.js.map +0 -1
- package/lib/esm/shell/login/GoogleSignInButton.js +0 -27
- package/lib/esm/shell/login/GoogleSignInButton.js.map +0 -1
- package/lib/esm/shell/login/InviteAcceptModal.js +0 -66
- package/lib/esm/shell/login/InviteAcceptModal.js.map +0 -1
- package/lib/esm/shell/login/MicrosoftSigninButton.js +0 -17
- package/lib/esm/shell/login/MicrosoftSigninButton.js.map +0 -1
- package/lib/esm/shell/login/PreviewIcon.js +0 -23
- package/lib/esm/shell/login/PreviewIcon.js.map +0 -1
- package/lib/esm/shell/login/SignInModal.js +0 -9
- package/lib/esm/shell/login/SignInModal.js.map +0 -1
- package/lib/esm/shell/login/SigninScreen.js +0 -68
- package/lib/esm/shell/login/SigninScreen.js.map +0 -1
- package/lib/esm/shell/login/SignupForm.js +0 -93
- package/lib/esm/shell/login/SignupForm.js.map +0 -1
- package/lib/esm/shell/login/TerminalLogin.js +0 -215
- package/lib/esm/shell/login/TerminalLogin.js.map +0 -1
- package/lib/esm/shell/login/UserInfo.js +0 -43
- package/lib/esm/shell/login/UserInfo.js.map +0 -1
- package/lib/esm/shell/login/UserSessionMenu.js +0 -36
- package/lib/esm/shell/login/UserSessionMenu.js.map +0 -1
- package/lib/esm/shell/utils.js +0 -6
- package/lib/esm/shell/utils.js.map +0 -1
- package/lib/esm/widgets/Progress.js.map +0 -1
- package/lib/esm/widgets/SvgIcon.js +0 -36
- package/lib/esm/widgets/SvgIcon.js.map +0 -1
- package/lib/esm/widgets/form/Form.js +0 -100
- package/lib/esm/widgets/form/Form.js.map +0 -1
- package/lib/esm/widgets/form/FormContext.js +0 -31
- package/lib/esm/widgets/form/FormContext.js.map +0 -1
- package/lib/esm/widgets/form/ManagedObject.js +0 -287
- package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
- package/lib/esm/widgets/form/fields.js +0 -12
- package/lib/esm/widgets/form/fields.js.map +0 -1
- package/lib/esm/widgets/form/index.js +0 -7
- package/lib/esm/widgets/form/index.js.map +0 -1
- package/lib/esm/widgets/form/inputs.js +0 -38
- package/lib/esm/widgets/form/inputs.js.map +0 -1
- package/lib/esm/widgets/form/schema.js +0 -199
- package/lib/esm/widgets/form/schema.js.map +0 -1
- package/lib/esm/widgets/index.js +0 -11
- package/lib/esm/widgets/index.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONCode.js +0 -22
- package/lib/esm/widgets/json-view/JSONCode.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONDisplay.js +0 -14
- package/lib/esm/widgets/json-view/JSONDisplay.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONSwitcher.js +0 -6
- package/lib/esm/widgets/json-view/JSONSwitcher.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONView.js +0 -106
- package/lib/esm/widgets/json-view/JSONView.js.map +0 -1
- package/lib/esm/widgets/json-view/index.js +0 -5
- package/lib/esm/widgets/json-view/index.js.map +0 -1
- package/lib/esm/widgets/json-view/types.js.map +0 -1
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js +0 -229
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockContext.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js +0 -56
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js +0 -50
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockRendering.js +0 -38
- package/lib/esm/widgets/markdown/CodeBlockRendering.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownFigure.js +0 -40
- package/lib/esm/widgets/markdown/MarkdownFigure.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownImage.js +0 -41
- package/lib/esm/widgets/markdown/MarkdownImage.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownLink.js +0 -46
- package/lib/esm/widgets/markdown/MarkdownLink.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownRenderer.js +0 -163
- package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/MermaidDiagram.js +0 -148
- package/lib/esm/widgets/markdown/MermaidDiagram.js.map +0 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.js +0 -329
- package/lib/esm/widgets/markdown/codeBlockHandlers.js.map +0 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js +0 -179
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js.map +0 -1
- package/lib/esm/widgets/markdown/index.js +0 -13
- package/lib/esm/widgets/markdown/index.js.map +0 -1
- package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js +0 -77
- package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js.map +0 -1
- package/lib/esm/widgets/markdown/normalizeDirectives.js +0 -45
- package/lib/esm/widgets/markdown/normalizeDirectives.js.map +0 -1
- package/lib/esm/widgets/markdown/preprocessMathDelimiters.js +0 -226
- package/lib/esm/widgets/markdown/preprocessMathDelimiters.js.map +0 -1
- package/lib/esm/widgets/markdown/remarkDirectiveHandler.js +0 -95
- package/lib/esm/widgets/markdown/remarkDirectiveHandler.js.map +0 -1
- package/lib/esm/widgets/markdown/useArtifactContent.js +0 -174
- package/lib/esm/widgets/markdown/useArtifactContent.js.map +0 -1
- package/lib/esm/widgets/markdown/useResolvedUrl.js +0 -175
- package/lib/esm/widgets/markdown/useResolvedUrl.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js +0 -169
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/foldingProviders.js +0 -132
- package/lib/esm/widgets/monacoEditor/foldingProviders.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/index.js +0 -2
- package/lib/esm/widgets/monacoEditor/index.js.map +0 -1
- package/lib/esm/widgets/properties/PropertiesView.js +0 -8
- package/lib/esm/widgets/properties/PropertiesView.js.map +0 -1
- package/lib/esm/widgets/properties/index.js +0 -2
- package/lib/esm/widgets/properties/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -301
- package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/Editable.js +0 -110
- package/lib/esm/widgets/schema-editor/editor/Editable.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js +0 -8
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +0 -85
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js +0 -7
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js +0 -9
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js +0 -86
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/index.js +0 -7
- package/lib/esm/widgets/schema-editor/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js +0 -188
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +0 -1
- package/lib/esm/widgets/schema-editor/type-signature.js.map +0 -1
- package/lib/esm/widgets/upload/DropZone.js +0 -173
- package/lib/esm/widgets/upload/DropZone.js.map +0 -1
- package/lib/esm/widgets/upload/UploadResultCategory.js +0 -21
- package/lib/esm/widgets/upload/UploadResultCategory.js.map +0 -1
- package/lib/esm/widgets/upload/UploadSummary.js +0 -32
- package/lib/esm/widgets/upload/UploadSummary.js.map +0 -1
- package/lib/esm/widgets/upload/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Attributes/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Elements/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Tag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/TextElement/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/XMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/types.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/constants/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/helpers/index.js +0 -40
- package/lib/esm/widgets/xml-viewer/helpers/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js +0 -31
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/index.js +0 -3
- package/lib/esm/widgets/xml-viewer/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/types/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/core/components/Avatar.d.ts +0 -16
- package/lib/types/core/components/Avatar.d.ts.map +0 -1
- package/lib/types/core/components/Center.d.ts +0 -8
- package/lib/types/core/components/Center.d.ts.map +0 -1
- package/lib/types/core/components/ComboBox.d.ts +0 -134
- package/lib/types/core/components/ComboBox.d.ts.map +0 -1
- package/lib/types/core/components/Divider.d.ts +0 -6
- package/lib/types/core/components/Divider.d.ts.map +0 -1
- package/lib/types/core/components/EmptyCollection.d.ts +0 -9
- package/lib/types/core/components/EmptyCollection.d.ts.map +0 -1
- package/lib/types/core/components/FileUpload.d.ts +0 -29
- package/lib/types/core/components/FileUpload.d.ts.map +0 -1
- package/lib/types/core/components/FormItem.d.ts +0 -16
- package/lib/types/core/components/FormItem.d.ts.map +0 -1
- package/lib/types/core/components/InputList.d.ts +0 -12
- package/lib/types/core/components/InputList.d.ts.map +0 -1
- package/lib/types/core/components/Link.d.ts +0 -7
- package/lib/types/core/components/Link.d.ts.map +0 -1
- package/lib/types/core/components/MenuList.d.ts +0 -14
- package/lib/types/core/components/MenuList.d.ts.map +0 -1
- package/lib/types/core/components/NumberInput.d.ts +0 -16
- package/lib/types/core/components/NumberInput.d.ts.map +0 -1
- package/lib/types/core/components/Overlay.d.ts +0 -25
- package/lib/types/core/components/Overlay.d.ts.map +0 -1
- package/lib/types/core/components/Portal.d.ts +0 -6
- package/lib/types/core/components/Portal.d.ts.map +0 -1
- package/lib/types/core/components/SelectList.d.ts +0 -19
- package/lib/types/core/components/SelectList.d.ts.map +0 -1
- package/lib/types/core/components/SidePanel.d.ts +0 -16
- package/lib/types/core/components/SidePanel.d.ts.map +0 -1
- package/lib/types/core/components/Spinner.d.ts +0 -7
- package/lib/types/core/components/Spinner.d.ts.map +0 -1
- package/lib/types/core/components/TagsInput.d.ts +0 -16
- package/lib/types/core/components/TagsInput.d.ts.map +0 -1
- package/lib/types/core/components/index.d.ts +0 -27
- package/lib/types/core/components/index.d.ts.map +0 -1
- package/lib/types/core/components/libs/utils.d.ts +0 -3
- package/lib/types/core/components/libs/utils.d.ts.map +0 -1
- package/lib/types/core/components/libs/visuallyHidden.d.ts +0 -7
- package/lib/types/core/components/libs/visuallyHidden.d.ts.map +0 -1
- package/lib/types/core/components/popup/Popup.d.ts +0 -26
- package/lib/types/core/components/popup/Popup.d.ts.map +0 -1
- package/lib/types/core/components/popup/PopupController.d.ts +0 -41
- package/lib/types/core/components/popup/PopupController.d.ts.map +0 -1
- package/lib/types/core/components/popup/index.d.ts +0 -4
- package/lib/types/core/components/popup/index.d.ts.map +0 -1
- package/lib/types/core/components/popup/position.d.ts.map +0 -1
- package/lib/types/core/components/popup/utils.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/MessageBox.d.ts +0 -36
- package/lib/types/core/components/shadcn/MessageBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/Panel.d.ts +0 -13
- package/lib/types/core/components/shadcn/Panel.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/badge.d.ts +0 -21
- package/lib/types/core/components/shadcn/badge.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/breadcrumb.d.ts +0 -15
- package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/button.d.ts +0 -27
- package/lib/types/core/components/shadcn/button.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/calendar.d.ts +0 -11
- package/lib/types/core/components/shadcn/calendar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/card.d.ts +0 -9
- package/lib/types/core/components/shadcn/card.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/checkbox.d.ts +0 -5
- package/lib/types/core/components/shadcn/checkbox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/collaspible.d.ts +0 -6
- package/lib/types/core/components/shadcn/collaspible.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/command.d.ts +0 -17
- package/lib/types/core/components/shadcn/command.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/dropdown.d.ts +0 -52
- package/lib/types/core/components/shadcn/dropdown.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts +0 -9
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +0 -10
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts +0 -5
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts +0 -12
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts +0 -11
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts +0 -13
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts +0 -14
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter-styles.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts +0 -21
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filters.d.ts +0 -10
- package/lib/types/core/components/shadcn/filters/filters.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/types.d.ts +0 -35
- package/lib/types/core/components/shadcn/filters/types.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/heading.d.ts +0 -6
- package/lib/types/core/components/shadcn/heading.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/index.d.ts +0 -29
- package/lib/types/core/components/shadcn/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/input.d.ts +0 -17
- package/lib/types/core/components/shadcn/input.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/label.d.ts +0 -10
- package/lib/types/core/components/shadcn/label.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts +0 -12
- package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts +0 -11
- package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/dialog.d.ts +0 -41
- package/lib/types/core/components/shadcn/modal/dialog.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/modal/index.d.ts +0 -4
- package/lib/types/core/components/shadcn/modal/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/popover.d.ts +0 -32
- package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/radioGroup.d.ts +0 -26
- package/lib/types/core/components/shadcn/radioGroup.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/resizeable.d.ts +0 -9
- package/lib/types/core/components/shadcn/resizeable.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/selectBox.d.ts +0 -40
- package/lib/types/core/components/shadcn/selectBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/separator.d.ts +0 -6
- package/lib/types/core/components/shadcn/separator.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/switch.d.ts +0 -12
- package/lib/types/core/components/shadcn/switch.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tabs.d.ts +0 -49
- package/lib/types/core/components/shadcn/tabs.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/text.d.ts +0 -11
- package/lib/types/core/components/shadcn/text.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/textarea.d.ts +0 -8
- package/lib/types/core/components/shadcn/textarea.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts +0 -15
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts +0 -16
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tooltip.d.ts +0 -21
- package/lib/types/core/components/shadcn/tooltip.d.ts.map +0 -1
- package/lib/types/core/components/styles.d.ts.map +0 -1
- package/lib/types/core/components/table/index.d.ts +0 -19
- package/lib/types/core/components/table/index.d.ts.map +0 -1
- package/lib/types/core/components/toast/NotificationPanel.d.ts +0 -8
- package/lib/types/core/components/toast/NotificationPanel.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastContext.d.ts +0 -6
- package/lib/types/core/components/toast/ToastContext.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProps.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProvider.d.ts +0 -6
- package/lib/types/core/components/toast/ToastProvider.d.ts.map +0 -1
- package/lib/types/core/components/toast/index.d.ts +0 -3
- package/lib/types/core/components/toast/index.d.ts.map +0 -1
- package/lib/types/core/hooks/CompositeState.d.ts +0 -137
- package/lib/types/core/hooks/CompositeState.d.ts.map +0 -1
- package/lib/types/core/hooks/PortalContainerProvider.d.ts +0 -8
- package/lib/types/core/hooks/PortalContainerProvider.d.ts.map +0 -1
- package/lib/types/core/hooks/SharedState.d.ts +0 -10
- package/lib/types/core/hooks/SharedState.d.ts.map +0 -1
- package/lib/types/core/hooks/index.d.ts +0 -16
- package/lib/types/core/hooks/index.d.ts.map +0 -1
- package/lib/types/core/hooks/useClickOutside.d.ts.map +0 -1
- package/lib/types/core/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/lib/types/core/hooks/useDarkMode.d.ts.map +0 -1
- package/lib/types/core/hooks/useDebounce.d.ts.map +0 -1
- package/lib/types/core/hooks/useEventSource.d.ts +0 -2
- package/lib/types/core/hooks/useEventSource.d.ts.map +0 -1
- package/lib/types/core/hooks/useFetch.d.ts +0 -24
- package/lib/types/core/hooks/useFetch.d.ts.map +0 -1
- package/lib/types/core/hooks/useFlag.d.ts.map +0 -1
- package/lib/types/core/hooks/useIntersectionObserver.d.ts +0 -14
- package/lib/types/core/hooks/useIntersectionObserver.d.ts.map +0 -1
- package/lib/types/core/hooks/useIsFistRendering.d.ts.map +0 -1
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts +0 -4
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts.map +0 -1
- package/lib/types/core/hooks/useScrollableSearch.d.ts +0 -82
- package/lib/types/core/hooks/useScrollableSearch.d.ts.map +0 -1
- package/lib/types/core/hooks/useSharedValue.d.ts +0 -12
- package/lib/types/core/hooks/useSharedValue.d.ts.map +0 -1
- package/lib/types/core/index.d.ts +0 -4
- package/lib/types/core/index.d.ts.map +0 -1
- package/lib/types/core/utils/cn.d.ts +0 -3
- package/lib/types/core/utils/cn.d.ts.map +0 -1
- package/lib/types/core/utils/index.d.ts +0 -2
- package/lib/types/core/utils/index.d.ts.map +0 -1
- package/lib/types/env/index.d.ts +0 -85
- package/lib/types/env/index.d.ts.map +0 -1
- package/lib/types/features/activity-doc/ActivityDoc.d.ts +0 -14
- package/lib/types/features/activity-doc/ActivityDoc.d.ts.map +0 -1
- package/lib/types/features/activity-doc/index.d.ts +0 -2
- package/lib/types/features/activity-doc/index.d.ts.map +0 -1
- package/lib/types/features/agent/PayloadBuilder.d.ts +0 -120
- package/lib/types/features/agent/PayloadBuilder.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AgentChart.d.ts +0 -34
- package/lib/types/features/agent/chat/AgentChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AgentRightPanel.d.ts +0 -55
- package/lib/types/features/agent/chat/AgentRightPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts +0 -38
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ArtifactsTab.d.ts +0 -9
- package/lib/types/features/agent/chat/ArtifactsTab.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AskUserWidget.d.ts +0 -84
- package/lib/types/features/agent/chat/AskUserWidget.d.ts.map +0 -1
- package/lib/types/features/agent/chat/DocumentPanel.d.ts +0 -16
- package/lib/types/features/agent/chat/DocumentPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/DocumentTabBar.d.ts +0 -9
- package/lib/types/features/agent/chat/DocumentTabBar.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ImageLightbox.d.ts +0 -18
- package/lib/types/features/agent/chat/ImageLightbox.d.ts.map +0 -1
- package/lib/types/features/agent/chat/JumpingDots.d.ts +0 -7
- package/lib/types/features/agent/chat/JumpingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +0 -147
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +0 -68
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +0 -26
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -33
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +0 -18
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -62
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +0 -58
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +0 -15
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +0 -9
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +0 -10
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +0 -38
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +0 -34
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +0 -22
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +0 -139
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts +0 -11
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts +0 -18
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts.map +0 -1
- package/lib/types/features/agent/chat/VegaLiteChart.d.ts +0 -18
- package/lib/types/features/agent/chat/VegaLiteChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/WaitingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts +0 -22
- package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts +0 -44
- package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useArtifacts.d.ts +0 -18
- package/lib/types/features/agent/chat/hooks/useArtifacts.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts +0 -23
- package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts +0 -27
- package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts.map +0 -1
- package/lib/types/features/agent/chat/index.d.ts +0 -21
- package/lib/types/features/agent/chat/index.d.ts.map +0 -1
- package/lib/types/features/agent/chat/types/document.d.ts.map +0 -1
- package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts +0 -28
- package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts.map +0 -1
- package/lib/types/features/agent/index.d.ts +0 -3
- package/lib/types/features/agent/index.d.ts.map +0 -1
- package/lib/types/features/errors/PanelErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/PanelErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/RowErrorBoundary.d.ts +0 -8
- package/lib/types/features/errors/RowErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts +0 -12
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/index.d.ts +0 -5
- package/lib/types/features/errors/index.d.ts.map +0 -1
- package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts +0 -17
- package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts +0 -12
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/EnvironmentFacet.d.ts +0 -10
- package/lib/types/features/facets/EnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts +0 -13
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/PromptsFacetsNav.d.ts +0 -15
- package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/RunsFacetsNav.d.ts +0 -22
- package/lib/types/features/facets/RunsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/index.d.ts +0 -17
- package/lib/types/features/facets/index.d.ts.map +0 -1
- package/lib/types/features/facets/utils/SearchInterface.d.ts +0 -16
- package/lib/types/features/facets/utils/SearchInterface.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringListFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringListFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/TypeFacet.d.ts +0 -16
- package/lib/types/features/facets/utils/TypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts +0 -15
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VStringFacet.d.ts +0 -21
- package/lib/types/features/facets/utils/VStringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VTypeFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VUserFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/VUserFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/utils.d.ts +0 -4
- package/lib/types/features/facets/utils/utils.d.ts.map +0 -1
- package/lib/types/features/index.d.ts +0 -13
- package/lib/types/features/index.d.ts.map +0 -1
- package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -14
- package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +0 -1
- package/lib/types/features/layout/NotFoundView.d.ts +0 -5
- package/lib/types/features/layout/NotFoundView.d.ts.map +0 -1
- package/lib/types/features/layout/index.d.ts +0 -3
- package/lib/types/features/layout/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts +0 -13
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts +0 -7
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts +0 -8
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts +0 -58
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts +0 -7
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/index.d.ts +0 -2
- package/lib/types/features/magic-pdf/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/types.d.ts +0 -2
- package/lib/types/features/magic-pdf/types.d.ts.map +0 -1
- package/lib/types/features/oauth/OAuthProviderConnectButton.d.ts +0 -11
- package/lib/types/features/oauth/OAuthProviderConnectButton.d.ts.map +0 -1
- package/lib/types/features/oauth/RemoteMcpConnectionButton.d.ts +0 -25
- package/lib/types/features/oauth/RemoteMcpConnectionButton.d.ts.map +0 -1
- package/lib/types/features/oauth/index.d.ts.map +0 -1
- package/lib/types/features/oauth/useOAuthPopup.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts +0 -83
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts +0 -29
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts +0 -19
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/index.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureButton.d.ts +0 -8
- package/lib/types/features/permissions/SecureButton.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureSidebarItem.d.ts +0 -8
- package/lib/types/features/permissions/SecureSidebarItem.d.ts.map +0 -1
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts +0 -21
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts.map +0 -1
- package/lib/types/features/permissions/helpers.d.ts +0 -5
- package/lib/types/features/permissions/helpers.d.ts.map +0 -1
- package/lib/types/features/permissions/index.d.ts +0 -5
- package/lib/types/features/permissions/index.d.ts.map +0 -1
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts +0 -7
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/CollectionsTable.d.ts +0 -10
- package/lib/types/features/store/collections/CollectionsTable.d.ts.map +0 -1
- package/lib/types/features/store/collections/CreateCollection.d.ts +0 -13
- package/lib/types/features/store/collections/CreateCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts +0 -8
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +0 -20
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts +0 -7
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +0 -1
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +0 -7
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +0 -1
- package/lib/types/features/store/collections/index.d.ts +0 -8
- package/lib/types/features/store/collections/index.d.ts.map +0 -1
- package/lib/types/features/store/index.d.ts +0 -4
- package/lib/types/features/store/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts +0 -8
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts +0 -20
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts +0 -33
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentTable.d.ts +0 -25
- package/lib/types/features/store/objects/DocumentTable.d.ts.map +0 -1
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts +0 -12
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentOverview.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts +0 -19
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentInput.d.ts +0 -8
- package/lib/types/features/store/objects/components/DocumentInput.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocument.d.ts +0 -11
- package/lib/types/features/store/objects/components/SelectDocument.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/TextEditorPanel.d.ts +0 -10
- package/lib/types/features/store/objects/components/TextEditorPanel.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts +0 -12
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/index.d.ts +0 -10
- package/lib/types/features/store/objects/components/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts +0 -30
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useDownloadFile.d.ts +0 -35
- package/lib/types/features/store/objects/components/useDownloadFile.d.ts.map +0 -1
- package/lib/types/features/store/objects/index.d.ts +0 -11
- package/lib/types/features/store/objects/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +0 -18
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -21
- package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/index.d.ts +0 -3
- package/lib/types/features/store/objects/layout/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/renderers.d.ts +0 -3
- package/lib/types/features/store/objects/layout/renderers.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +0 -52
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts +0 -14
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/index.d.ts +0 -3
- package/lib/types/features/store/objects/search/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts +0 -9
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContextClass.d.ts +0 -16
- package/lib/types/features/store/objects/selection/ObjectsActionContextClass.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionHooks.d.ts +0 -7
- package/lib/types/features/store/objects/selection/ObjectsActionHooks.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts +0 -32
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts +0 -11
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts +0 -16
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +0 -5
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/index.d.ts +0 -8
- package/lib/types/features/store/objects/selection/actions/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/index.d.ts +0 -5
- package/lib/types/features/store/objects/selection/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts +0 -39
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/index.d.ts +0 -4
- package/lib/types/features/store/objects/upload/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +0 -30
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts +0 -50
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts +0 -6
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts +0 -8
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts.map +0 -1
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts +0 -16
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +0 -9
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentType.d.ts +0 -11
- package/lib/types/features/store/types/SelectContentType.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts +0 -33
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/TableLayoutEditor.d.ts +0 -10
- package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/TypeRegistry.d.ts +0 -10
- package/lib/types/features/store/types/TypeRegistry.d.ts.map +0 -1
- package/lib/types/features/store/types/TypeRegistryProvider.d.ts +0 -15
- package/lib/types/features/store/types/TypeRegistryProvider.d.ts.map +0 -1
- package/lib/types/features/store/types/index.d.ts +0 -11
- package/lib/types/features/store/types/index.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts +0 -36
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts +0 -11
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/types/search/index.d.ts +0 -3
- package/lib/types/features/store/types/search/index.d.ts.map +0 -1
- package/lib/types/features/user/UserAvatar.d.ts +0 -9
- package/lib/types/features/user/UserAvatar.d.ts.map +0 -1
- package/lib/types/features/user/UserInfo.d.ts +0 -60
- package/lib/types/features/user/UserInfo.d.ts.map +0 -1
- package/lib/types/features/user/index.d.ts +0 -3
- package/lib/types/features/user/index.d.ts.map +0 -1
- package/lib/types/features/utils/index.d.ts +0 -6
- package/lib/types/features/utils/index.d.ts.map +0 -1
- package/lib/types/features/utils/mimeType.d.ts.map +0 -1
- package/lib/types/features/utils/print.d.ts.map +0 -1
- package/lib/types/features/utils/rendition.d.ts +0 -4
- package/lib/types/features/utils/rendition.d.ts.map +0 -1
- package/lib/types/features/utils/text.d.ts.map +0 -1
- package/lib/types/features/utils/workflowStatus.d.ts +0 -10
- package/lib/types/features/utils/workflowStatus.d.ts.map +0 -1
- package/lib/types/i18n/index.d.ts +0 -14
- package/lib/types/i18n/index.d.ts.map +0 -1
- package/lib/types/i18n/instance.d.ts.map +0 -1
- package/lib/types/layout/AppLayout.d.ts +0 -13
- package/lib/types/layout/AppLayout.d.ts.map +0 -1
- package/lib/types/layout/FullHeightLayout.d.ts +0 -31
- package/lib/types/layout/FullHeightLayout.d.ts.map +0 -1
- package/lib/types/layout/Navbar.d.ts +0 -33
- package/lib/types/layout/Navbar.d.ts.map +0 -1
- package/lib/types/layout/RegionTag.d.ts +0 -4
- package/lib/types/layout/RegionTag.d.ts.map +0 -1
- package/lib/types/layout/Sidebar.d.ts +0 -34
- package/lib/types/layout/Sidebar.d.ts.map +0 -1
- package/lib/types/layout/SidebarContext.d.ts.map +0 -1
- package/lib/types/layout/TitleBar.d.ts +0 -6
- package/lib/types/layout/TitleBar.d.ts.map +0 -1
- package/lib/types/layout/index.d.ts +0 -8
- package/lib/types/layout/index.d.ts.map +0 -1
- package/lib/types/router/FixLinks.d.ts +0 -7
- package/lib/types/router/FixLinks.d.ts.map +0 -1
- package/lib/types/router/HistoryNavigator.d.ts +0 -59
- package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
- package/lib/types/router/Nav.d.ts +0 -39
- package/lib/types/router/Nav.d.ts.map +0 -1
- package/lib/types/router/NestedNavigationContext.d.ts +0 -9
- package/lib/types/router/NestedNavigationContext.d.ts.map +0 -1
- package/lib/types/router/NestedRouterProvider.d.ts +0 -14
- package/lib/types/router/NestedRouterProvider.d.ts.map +0 -1
- package/lib/types/router/PathMatcher.d.ts +0 -36
- package/lib/types/router/PathMatcher.d.ts.map +0 -1
- package/lib/types/router/PathWithParams.d.ts.map +0 -1
- package/lib/types/router/Route404.d.ts +0 -4
- package/lib/types/router/Route404.d.ts.map +0 -1
- package/lib/types/router/RouteComponent.d.ts +0 -6
- package/lib/types/router/RouteComponent.d.ts.map +0 -1
- package/lib/types/router/Router.d.ts +0 -76
- package/lib/types/router/Router.d.ts.map +0 -1
- package/lib/types/router/RouterProvider.d.ts +0 -15
- package/lib/types/router/RouterProvider.d.ts.map +0 -1
- package/lib/types/router/index.d.ts +0 -11
- package/lib/types/router/index.d.ts.map +0 -1
- package/lib/types/router/path.d.ts.map +0 -1
- package/lib/types/session/UserSession.d.ts +0 -37
- package/lib/types/session/UserSession.d.ts.map +0 -1
- package/lib/types/session/UserSessionProvider.d.ts +0 -7
- package/lib/types/session/UserSessionProvider.d.ts.map +0 -1
- package/lib/types/session/auth/composable.d.ts +0 -30
- package/lib/types/session/auth/composable.d.ts.map +0 -1
- package/lib/types/session/auth/domainRouting.d.ts.map +0 -1
- package/lib/types/session/auth/firebase.d.ts +0 -10
- package/lib/types/session/auth/firebase.d.ts.map +0 -1
- package/lib/types/session/auth/useAuthState.d.ts.map +0 -1
- package/lib/types/session/auth/useCurrentTenant.d.ts.map +0 -1
- package/lib/types/session/constants.d.ts.map +0 -1
- package/lib/types/session/index.d.ts +0 -8
- package/lib/types/session/index.d.ts.map +0 -1
- package/lib/types/session/useUXTracking.d.ts +0 -6
- package/lib/types/session/useUXTracking.d.ts.map +0 -1
- package/lib/types/shell/SplashScreen.d.ts +0 -7
- package/lib/types/shell/SplashScreen.d.ts.map +0 -1
- package/lib/types/shell/VertesiaShell.d.ts +0 -10
- package/lib/types/shell/VertesiaShell.d.ts.map +0 -1
- package/lib/types/shell/apps/AppInstallationProvider.d.ts +0 -12
- package/lib/types/shell/apps/AppInstallationProvider.d.ts.map +0 -1
- package/lib/types/shell/apps/AppProjectSelector.d.ts +0 -12
- package/lib/types/shell/apps/AppProjectSelector.d.ts.map +0 -1
- package/lib/types/shell/apps/StandaloneApp.d.ts +0 -23
- package/lib/types/shell/apps/StandaloneApp.d.ts.map +0 -1
- package/lib/types/shell/apps/index.d.ts +0 -4
- package/lib/types/shell/apps/index.d.ts.map +0 -1
- package/lib/types/shell/index.d.ts +0 -8
- package/lib/types/shell/index.d.ts.map +0 -1
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts +0 -6
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/GitHubSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GitHubSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/GoogleSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GoogleSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/InviteAcceptModal.d.ts +0 -2
- package/lib/types/shell/login/InviteAcceptModal.d.ts.map +0 -1
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts +0 -6
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/PreviewIcon.d.ts +0 -6
- package/lib/types/shell/login/PreviewIcon.d.ts.map +0 -1
- package/lib/types/shell/login/SignInModal.d.ts +0 -7
- package/lib/types/shell/login/SignInModal.d.ts.map +0 -1
- package/lib/types/shell/login/SigninScreen.d.ts +0 -9
- package/lib/types/shell/login/SigninScreen.d.ts.map +0 -1
- package/lib/types/shell/login/SignupForm.d.ts +0 -8
- package/lib/types/shell/login/SignupForm.d.ts.map +0 -1
- package/lib/types/shell/login/TerminalLogin.d.ts +0 -2
- package/lib/types/shell/login/TerminalLogin.d.ts.map +0 -1
- package/lib/types/shell/login/UserInfo.d.ts +0 -6
- package/lib/types/shell/login/UserInfo.d.ts.map +0 -1
- package/lib/types/shell/login/UserSessionMenu.d.ts +0 -9
- package/lib/types/shell/login/UserSessionMenu.d.ts.map +0 -1
- package/lib/types/shell/utils.d.ts.map +0 -1
- package/lib/types/widgets/Progress.d.ts +0 -6
- package/lib/types/widgets/Progress.d.ts.map +0 -1
- package/lib/types/widgets/SvgIcon.d.ts +0 -7
- package/lib/types/widgets/SvgIcon.d.ts.map +0 -1
- package/lib/types/widgets/form/Form.d.ts +0 -22
- package/lib/types/widgets/form/Form.d.ts.map +0 -1
- package/lib/types/widgets/form/FormContext.d.ts +0 -20
- package/lib/types/widgets/form/FormContext.d.ts.map +0 -1
- package/lib/types/widgets/form/ManagedObject.d.ts +0 -82
- package/lib/types/widgets/form/ManagedObject.d.ts.map +0 -1
- package/lib/types/widgets/form/fields.d.ts +0 -16
- package/lib/types/widgets/form/fields.d.ts.map +0 -1
- package/lib/types/widgets/form/index.d.ts +0 -7
- package/lib/types/widgets/form/index.d.ts.map +0 -1
- package/lib/types/widgets/form/inputs.d.ts +0 -8
- package/lib/types/widgets/form/inputs.d.ts.map +0 -1
- package/lib/types/widgets/form/schema.d.ts +0 -47
- package/lib/types/widgets/form/schema.d.ts.map +0 -1
- package/lib/types/widgets/index.d.ts +0 -11
- package/lib/types/widgets/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONCode.d.ts +0 -5
- package/lib/types/widgets/json-view/JSONCode.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONDisplay.d.ts +0 -8
- package/lib/types/widgets/json-view/JSONDisplay.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONSwitcher.d.ts +0 -6
- package/lib/types/widgets/json-view/JSONSwitcher.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONView.d.ts +0 -7
- package/lib/types/widgets/json-view/JSONView.d.ts.map +0 -1
- package/lib/types/widgets/json-view/index.d.ts +0 -6
- package/lib/types/widgets/json-view/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/types.d.ts.map +0 -1
- package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockContext.d.ts +0 -21
- package/lib/types/widgets/markdown/CodeBlockContext.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts +0 -42
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts +0 -2
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockRendering.d.ts +0 -23
- package/lib/types/widgets/markdown/CodeBlockRendering.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownFigure.d.ts +0 -15
- package/lib/types/widgets/markdown/MarkdownFigure.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownImage.d.ts +0 -16
- package/lib/types/widgets/markdown/MarkdownImage.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownLink.d.ts +0 -17
- package/lib/types/widgets/markdown/MarkdownLink.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts +0 -26
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts +0 -23
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts.map +0 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts +0 -57
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts.map +0 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts +0 -2
- package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts.map +0 -1
- package/lib/types/widgets/markdown/index.d.ts +0 -13
- package/lib/types/widgets/markdown/index.d.ts.map +0 -1
- package/lib/types/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +0 -1
- package/lib/types/widgets/markdown/normalizeDirectives.d.ts.map +0 -1
- package/lib/types/widgets/markdown/preprocessMathDelimiters.d.ts.map +0 -1
- package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts +0 -2
- package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts.map +0 -1
- package/lib/types/widgets/markdown/useArtifactContent.d.ts.map +0 -1
- package/lib/types/widgets/markdown/useResolvedUrl.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts +0 -40
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/foldingProviders.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/index.d.ts +0 -3
- package/lib/types/widgets/monacoEditor/index.d.ts.map +0 -1
- package/lib/types/widgets/properties/PropertiesView.d.ts +0 -11
- package/lib/types/widgets/properties/PropertiesView.d.ts.map +0 -1
- package/lib/types/widgets/properties/index.d.ts +0 -2
- package/lib/types/widgets/properties/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +0 -75
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts +0 -40
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +0 -8
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts +0 -5
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts +0 -4
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts +0 -3
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts +0 -9
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/index.d.ts +0 -7
- package/lib/types/widgets/schema-editor/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts +0 -16
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/type-signature.d.ts.map +0 -1
- package/lib/types/widgets/upload/DropZone.d.ts +0 -41
- package/lib/types/widgets/upload/DropZone.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadResultCategory.d.ts +0 -26
- package/lib/types/widgets/upload/UploadResultCategory.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadSummary.d.ts +0 -38
- package/lib/types/widgets/upload/UploadSummary.d.ts.map +0 -1
- package/lib/types/widgets/upload/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts +0 -6
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts +0 -9
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts +0 -2
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/types.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/constants/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts +0 -4
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/index.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/types/index.d.ts +0 -16
- package/lib/types/widgets/xml-viewer/types/index.d.ts.map +0 -1
- package/src/shell/login/EnterpriseSigninButton.tsx +0 -111
- package/src/shell/login/GitHubSignInButton.tsx +0 -36
- package/src/shell/login/GoogleSignInButton.tsx +0 -38
- package/src/shell/login/MicrosoftSigninButton.tsx +0 -28
- /package/lib/{types/core → core}/components/popup/position.d.ts +0 -0
- /package/lib/{types/core → core}/components/popup/utils.d.ts +0 -0
- /package/lib/{types/core → core}/components/shadcn/filters/animateChangeInHeight.d.ts +0 -0
- /package/lib/{types/core → core}/components/shadcn/filters/filter-styles.d.ts +0 -0
- /package/lib/{esm/core → core}/components/shadcn/filters/filter-styles.js +0 -0
- /package/lib/{types/core → core}/components/shadcn/filters/index.d.ts +0 -0
- /package/lib/{esm/core → core}/components/shadcn/filters/index.js +0 -0
- /package/lib/{esm/core → core}/components/shadcn/filters/types.js +0 -0
- /package/lib/{types/core → core}/components/styles.d.ts +0 -0
- /package/lib/{types/core → core}/components/toast/ToastProps.d.ts +0 -0
- /package/lib/{esm/core → core}/components/toast/ToastProps.js +0 -0
- /package/lib/{types/core → core}/hooks/useClickOutside.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useCopyToClipboard.d.ts +0 -0
- /package/lib/{esm/core → core}/hooks/useCopyToClipboard.js +0 -0
- /package/lib/{types/core → core}/hooks/useDarkMode.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useDebounce.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useFlag.d.ts +0 -0
- /package/lib/{types/core → core}/hooks/useIsFistRendering.d.ts +0 -0
- /package/lib/{types/features → features}/agent/chat/WaitingMessages.d.ts +0 -0
- /package/lib/{types/features → features}/agent/chat/types/document.d.ts +0 -0
- /package/lib/{esm/features → features}/agent/chat/types/document.js +0 -0
- /package/lib/{esm/features → features}/facets/utils/utils.js +0 -0
- /package/lib/{esm/features → features}/magic-pdf/types.js +0 -0
- /package/lib/{types/features → features}/oauth/index.d.ts +0 -0
- /package/lib/{esm/features → features}/oauth/index.js +0 -0
- /package/lib/{types/features → features}/oauth/useOAuthPopup.d.ts +0 -0
- /package/lib/{esm/features → features}/oauth/useOAuthPopup.js +0 -0
- /package/lib/{types/features → features}/pdf-viewer/index.d.ts +0 -0
- /package/lib/{esm/features → features}/pdf-viewer/index.js +0 -0
- /package/lib/{esm/features → features}/permissions/helpers.js +0 -0
- /package/lib/{esm/features → features}/store/objects/selection/ObjectsActionSpec.js +0 -0
- /package/lib/{esm/features → features}/store/types/TypeRegistry.js +0 -0
- /package/lib/{types/features → features}/utils/mimeType.d.ts +0 -0
- /package/lib/{esm/features → features}/utils/mimeType.js +0 -0
- /package/lib/{types/features → features}/utils/print.d.ts +0 -0
- /package/lib/{types/features → features}/utils/text.d.ts +0 -0
- /package/lib/{types/i18n → i18n}/instance.d.ts +0 -0
- /package/lib/{esm/i18n → i18n}/instance.js +0 -0
- /package/lib/{esm/layout → layout}/RegionTag.js +0 -0
- /package/lib/{types/layout → layout}/SidebarContext.d.ts +0 -0
- /package/lib/{types/router → router}/PathWithParams.d.ts +0 -0
- /package/lib/{types/router → router}/path.d.ts +0 -0
- /package/lib/{types/session → session}/auth/domainRouting.d.ts +0 -0
- /package/lib/{esm/session → session}/auth/domainRouting.js +0 -0
- /package/lib/{types/session → session}/auth/useAuthState.d.ts +0 -0
- /package/lib/{types/session → session}/auth/useCurrentTenant.d.ts +0 -0
- /package/lib/{types/session → session}/constants.d.ts +0 -0
- /package/lib/{esm/session → session}/constants.js +0 -0
- /package/lib/{types/shell → shell}/utils.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/Progress.js +0 -0
- /package/lib/{types/widgets → widgets}/json-view/types.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/json-view/types.js +0 -0
- /package/lib/{types/widgets → widgets}/markdown/ArtifactContentRenderer.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/markdown/CodeBlockContext.js +0 -0
- /package/lib/{types/widgets → widgets}/markdown/normalizeCustomSchemeLinks.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/normalizeDirectives.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/preprocessMathDelimiters.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/useArtifactContent.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/markdown/useResolvedUrl.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/monacoEditor/foldingProviders.d.ts +0 -0
- /package/lib/{types/widgets → widgets}/schema-editor/type-signature.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/schema-editor/type-signature.js +0 -0
- /package/lib/{types/widgets → widgets}/upload/index.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/upload/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/Attributes/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/CDataTag/index.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/components/CollapseIcon/index.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/CommentTag/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/DeclarationTag/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/Elements/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/InvalidXml/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/Tag/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/TextElement/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/XMLViewer.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/components/types.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/components/types.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/constants/index.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/constants/index.js +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/context/xml-viewer-context.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/hooks/useCollapsible.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/hooks/useCollapsible.js +0 -0
- /package/lib/{types/widgets → widgets}/xml-viewer/hooks/useXMLViewer.d.ts +0 -0
- /package/lib/{esm/widgets → widgets}/xml-viewer/types/index.js +0 -0
|
@@ -1,96 +1,1666 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import {
|
|
2
|
+
type AgentMessage,
|
|
3
|
+
AgentMessageType,
|
|
4
|
+
type AskUserMessageDetails,
|
|
5
|
+
type BatchProgressDetails,
|
|
6
|
+
type JSONSchema,
|
|
7
|
+
type Plan,
|
|
8
|
+
} from '@vertesia/common';
|
|
9
|
+
import { cn } from '@vertesia/ui/core';
|
|
10
|
+
import { i18nInstance, NAMESPACE, useUITranslation } from '@vertesia/ui/i18n';
|
|
11
|
+
import { NavLink } from '@vertesia/ui/router';
|
|
12
|
+
import { MarkdownRenderer, type MarkdownRendererProps } from '@vertesia/ui/widgets';
|
|
13
|
+
import type { Element } from 'hast';
|
|
14
|
+
import {
|
|
15
|
+
AlertTriangle,
|
|
16
|
+
Bot,
|
|
17
|
+
Brain,
|
|
18
|
+
CheckCircle,
|
|
19
|
+
ChevronDown,
|
|
20
|
+
ChevronRight,
|
|
21
|
+
CopyIcon,
|
|
22
|
+
FileText,
|
|
23
|
+
Pencil,
|
|
24
|
+
Search,
|
|
25
|
+
Terminal,
|
|
26
|
+
Wrench,
|
|
27
|
+
} from 'lucide-react';
|
|
28
|
+
import React, { Component, type ReactNode, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
29
|
+
import { AnimatedThinkingDots, PulsatingCircle } from '../AnimatedThinkingDots';
|
|
30
|
+
import { AskUserWidget } from '../AskUserWidget';
|
|
31
|
+
import { ThinkingMessages } from '../WaitingMessages';
|
|
32
|
+
import {
|
|
33
|
+
formatWorkstreamName,
|
|
34
|
+
getWorkstreamDisplayName,
|
|
35
|
+
getWorkstreamLaunchDetails,
|
|
36
|
+
type WorkstreamLaunchDetails,
|
|
37
|
+
} from '../workstreams.js';
|
|
38
|
+
import { AttachmentPreviewList, parseUserMessageAttachments } from './AttachmentPreview';
|
|
39
|
+
import BatchProgressPanel, { type BatchProgressPanelClassNames } from './BatchProgressPanel';
|
|
40
|
+
import MessageItem, { type MessageItemClassNames, type MessageItemProps } from './MessageItem';
|
|
41
|
+
import {
|
|
42
|
+
getAnsweredRequestInputKeys,
|
|
43
|
+
getPendingRequestInputMessage,
|
|
44
|
+
getRequestInputMessageKey,
|
|
45
|
+
isRequestInputAnswered,
|
|
46
|
+
} from './requestInputMessages';
|
|
47
|
+
import StreamingMessage, { type StreamingMessageClassNames } from './StreamingMessage';
|
|
48
|
+
import {
|
|
49
|
+
buildSummaryConversationItems,
|
|
50
|
+
buildSummaryDisplayMessages,
|
|
51
|
+
getSummaryActivityAnchorTimestamp,
|
|
52
|
+
isInitialSummaryActivityFallback,
|
|
53
|
+
isTransientThinkingMessage,
|
|
54
|
+
isTransientWorkStatusMessage,
|
|
55
|
+
shouldShowSummaryActivityFallback,
|
|
56
|
+
} from './SummaryConversation';
|
|
57
|
+
import ToolCallGroup, { type ToolCallGroupClassNames } from './ToolCallGroup';
|
|
58
|
+
import {
|
|
59
|
+
DONE_STATES,
|
|
60
|
+
getWorkstreamId,
|
|
61
|
+
groupMessagesWithStreaming,
|
|
62
|
+
isInProgress,
|
|
63
|
+
isToolPreambleMessage,
|
|
64
|
+
mergeConsecutiveToolGroups,
|
|
65
|
+
type RenderableGroup,
|
|
66
|
+
type StreamingData,
|
|
67
|
+
shouldCollapseAdjacentRenderedMessage,
|
|
68
|
+
type ToolExecutionStatus,
|
|
69
|
+
} from './utils';
|
|
70
|
+
import WorkstreamTabs, { extractWorkstreams, filterMessagesByWorkstream } from './WorkstreamTabs';
|
|
71
|
+
|
|
72
|
+
export type AgentConversationViewMode = 'stacked' | 'sliding';
|
|
73
|
+
|
|
74
|
+
export interface AgentInitialRequestTemplateContext {
|
|
75
|
+
data: unknown;
|
|
76
|
+
schema?: JSONSchema | null;
|
|
77
|
+
title?: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type AgentInitialRequestTemplate = (context: AgentInitialRequestTemplateContext) => React.ReactNode;
|
|
81
|
+
|
|
82
|
+
// Check if message is a batch progress message
|
|
83
|
+
const isBatchProgressMessage = (message: AgentMessage): message is AgentMessage & { details: BatchProgressDetails } => {
|
|
84
|
+
return message.type === AgentMessageType.BATCH_PROGRESS && !!message.details?.batch_id;
|
|
22
85
|
};
|
|
23
86
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
87
|
+
function getTimestampMs(timestamp: number | string | undefined): number {
|
|
88
|
+
if (timestamp === undefined || timestamp === null || timestamp === '') return Date.now();
|
|
89
|
+
const value = typeof timestamp === 'number' ? timestamp : new Date(timestamp).getTime();
|
|
90
|
+
return Number.isFinite(value) ? value : Date.now();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function getElapsedSeconds(timestamp: number | string | undefined): number {
|
|
94
|
+
const elapsed = Date.now() - getTimestampMs(timestamp);
|
|
95
|
+
return Math.max(0, Math.round(elapsed / 1000));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function getDurationSeconds(start: number | string | undefined, end: number | string | undefined): number {
|
|
99
|
+
const elapsed = getTimestampMs(end) - getTimestampMs(start);
|
|
100
|
+
return Math.max(0, Math.round(elapsed / 1000));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function formatDuration(seconds: number): string {
|
|
104
|
+
if (seconds < 60) return `${seconds}s`;
|
|
105
|
+
|
|
106
|
+
const minutes = Math.floor(seconds / 60);
|
|
107
|
+
const remainingSeconds = seconds % 60;
|
|
108
|
+
return remainingSeconds > 0 ? `${minutes}m ${remainingSeconds}s` : `${minutes}m`;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function getReadableToolLabel(message: AgentMessage): string {
|
|
112
|
+
const details = message.details as
|
|
113
|
+
| {
|
|
114
|
+
display_role?: string;
|
|
115
|
+
tool?: string;
|
|
116
|
+
tools?: Array<string | { name?: string; tool?: string }>;
|
|
117
|
+
}
|
|
118
|
+
| undefined;
|
|
119
|
+
const rawTool = details?.tool || '';
|
|
120
|
+
const relatedTools = Array.isArray(details?.tools)
|
|
121
|
+
? details.tools.map((tool) => (typeof tool === 'string' ? tool : tool.name || tool.tool || '')).filter(Boolean)
|
|
122
|
+
: [];
|
|
123
|
+
const toolNames = [rawTool, ...relatedTools].join(' ').toLowerCase();
|
|
124
|
+
const tool = rawTool.toLowerCase();
|
|
125
|
+
const text = typeof message.message === 'string' ? message.message.trim() : '';
|
|
126
|
+
|
|
127
|
+
if (details?.display_role === 'tool_preamble') {
|
|
128
|
+
if (toolNames.includes('search') || toolNames.includes('web') || toolNames.includes('fetch')) {
|
|
129
|
+
return 'Preparing search';
|
|
130
|
+
}
|
|
131
|
+
return relatedTools.length > 0 ? 'Preparing tools' : 'Thinking';
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (tool.includes('search')) return 'Searching';
|
|
135
|
+
if (tool.includes('fetch') || tool.includes('web')) return 'Searching the web';
|
|
136
|
+
if (tool.includes('read') || tool.includes('document')) return 'Reading';
|
|
137
|
+
if (tool.includes('edit') || tool.includes('write') || tool.includes('create')) return 'Editing';
|
|
138
|
+
if (tool.includes('bash') || tool.includes('shell') || tool.includes('command')) return 'Running command';
|
|
139
|
+
if (text) return text;
|
|
140
|
+
return 'Using tool';
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function getSummaryWorkLabel(status: ToolExecutionStatus, isActive: boolean): string {
|
|
144
|
+
if (status === 'error') return 'Work needs attention';
|
|
145
|
+
if (status === 'warning') return 'Work had warnings';
|
|
146
|
+
return isActive ? 'Working' : 'Worked';
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function isTransientThinkingWork(messages: AgentMessage[]): boolean {
|
|
150
|
+
return messages.length > 0 && messages.every(isTransientWorkStatusMessage);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function getSummaryActivityLabel(status: ToolExecutionStatus, isActive: boolean): string {
|
|
154
|
+
return getSummaryWorkLabel(status, isActive);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function hasOpenUserTurn(messages: AgentMessage[]): boolean {
|
|
158
|
+
const mainMessages = messages.filter((message) => getWorkstreamId(message) === 'main');
|
|
159
|
+
const latestMessage = mainMessages[mainMessages.length - 1] ?? messages[messages.length - 1];
|
|
160
|
+
return latestMessage?.type === AgentMessageType.QUESTION;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function getMessageText(message: AgentMessage): string {
|
|
164
|
+
if (!message.message) return '';
|
|
165
|
+
if (typeof message.message === 'object') return JSON.stringify(message.message, null, 2);
|
|
166
|
+
return String(message.message).trim();
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
interface SummaryMessageProps {
|
|
170
|
+
message: AgentMessage;
|
|
171
|
+
onSendMessage?: (message: string) => void;
|
|
172
|
+
requestInputAnswered?: boolean;
|
|
173
|
+
StoreLinkComponent?: React.ComponentType<{ href: string; documentId: string; children: React.ReactNode }>;
|
|
174
|
+
CollectionLinkComponent?: React.ComponentType<{ href: string; collectionId: string; children: React.ReactNode }>;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
function SummaryWorkstreamLaunchMessage({
|
|
178
|
+
message,
|
|
179
|
+
details,
|
|
180
|
+
}: {
|
|
181
|
+
message: AgentMessage;
|
|
182
|
+
details: WorkstreamLaunchDetails;
|
|
183
|
+
}) {
|
|
184
|
+
const { t } = useUITranslation();
|
|
185
|
+
const workstreamName = getWorkstreamDisplayName(details.workstreamId, details.interaction);
|
|
186
|
+
const interactionName = details.interaction ? formatWorkstreamName(details.interaction) : '';
|
|
187
|
+
const secondaryName = interactionName && interactionName !== workstreamName ? interactionName : undefined;
|
|
188
|
+
|
|
189
|
+
return (
|
|
190
|
+
<div className="mx-auto w-full max-w-3xl px-1" data-workstream-id={details.workstreamId}>
|
|
191
|
+
<div className="flex items-start gap-3 border-b border-border/70 py-2 text-sm text-muted">
|
|
192
|
+
<Bot className="mt-0.5 size-4 shrink-0 text-muted" aria-hidden="true" />
|
|
193
|
+
<div className="min-w-0 flex-1">
|
|
194
|
+
<div className="flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1">
|
|
195
|
+
<span className="font-medium text-muted">{t('agent.workstreams')}</span>
|
|
196
|
+
<span className="min-w-0 truncate text-foreground/85">{workstreamName}</span>
|
|
197
|
+
</div>
|
|
198
|
+
{secondaryName && <div className="mt-0.5 truncate text-xs text-muted/75">{secondaryName}</div>}
|
|
199
|
+
<span className="sr-only">{getMessageText(message)}</span>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
</div>
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
const SUMMARY_PROSE_CLASS = [
|
|
207
|
+
'agent-markdown vprose prose max-w-none break-words text-sm leading-6 text-foreground/80',
|
|
208
|
+
'prose-p:my-2 prose-p:leading-6 prose-li:my-0.5 prose-pre:my-3 prose-headings:tracking-normal',
|
|
209
|
+
'prose-headings:text-foreground prose-strong:text-foreground prose-code:text-foreground',
|
|
210
|
+
'prose-a:text-foreground prose-a:underline prose-a:decoration-muted prose-a:underline-offset-4',
|
|
211
|
+
'[&_p]:text-foreground/80 [&_li]:text-foreground/80 [&_li::marker]:text-muted',
|
|
212
|
+
].join(' ');
|
|
213
|
+
|
|
214
|
+
const USER_BUBBLE_COLLAPSE_THRESHOLD = 520;
|
|
215
|
+
const STORE_LINK_MARKDOWN_RE =
|
|
216
|
+
/\[[^\]]+\]\((?:\/store\/(?:objects|collections)\/|store:|document:|document:\/\/|collection:)[^)]+\)/;
|
|
217
|
+
const DEFAULT_AGENT_MARKDOWN_COMPONENTS: MarkdownRendererProps['components'] = {
|
|
218
|
+
table: AgentMarkdownTable,
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
type HastTextNode = {
|
|
222
|
+
value?: unknown;
|
|
223
|
+
children?: unknown[];
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
function getHastText(node: unknown): string {
|
|
227
|
+
if (!node || typeof node !== 'object') return '';
|
|
228
|
+
const typedNode = node as HastTextNode;
|
|
229
|
+
if (typeof typedNode.value === 'string') return typedNode.value;
|
|
230
|
+
if (!Array.isArray(typedNode.children)) return '';
|
|
231
|
+
return typedNode.children.map(getHastText).join('');
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function getElementChildren(node: unknown, tagName?: string): Element[] {
|
|
235
|
+
if (!node || typeof node !== 'object') return [];
|
|
236
|
+
const children = (node as { children?: unknown[] }).children;
|
|
237
|
+
if (!Array.isArray(children)) return [];
|
|
238
|
+
return children.filter((child): child is Element => {
|
|
239
|
+
if (!child || typeof child !== 'object') return false;
|
|
240
|
+
const childElement = child as Element;
|
|
241
|
+
return tagName ? childElement.tagName === tagName : typeof childElement.tagName === 'string';
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function getTableRows(node?: Element): string[][] {
|
|
246
|
+
const sections = getElementChildren(node).filter((child) => child.tagName === 'thead' || child.tagName === 'tbody');
|
|
247
|
+
return sections.flatMap((section) =>
|
|
248
|
+
getElementChildren(section, 'tr').map((row) =>
|
|
249
|
+
getElementChildren(row)
|
|
250
|
+
.filter((cell) => cell.tagName === 'th' || cell.tagName === 'td')
|
|
251
|
+
.map((cell) => getHastText(cell).replace(/\s+/g, ' ').trim()),
|
|
252
|
+
),
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function getTableBodyRows(node?: Element): string[][] {
|
|
257
|
+
return getElementChildren(node, 'tbody').flatMap((section) =>
|
|
258
|
+
getElementChildren(section, 'tr').map((row) =>
|
|
259
|
+
getElementChildren(row, 'td').map((cell) => getHastText(cell).replace(/\s+/g, ' ').trim()),
|
|
260
|
+
),
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
function getCompactTableColumns(node?: Element): Set<number> {
|
|
265
|
+
const rows = getTableRows(node);
|
|
266
|
+
const bodyRows = getTableBodyRows(node);
|
|
267
|
+
const columnCount = Math.max(0, ...rows.map((row) => row.length));
|
|
268
|
+
if (columnCount <= 1) return new Set();
|
|
269
|
+
|
|
270
|
+
const compactColumns = new Set<number>();
|
|
271
|
+
for (let columnIndex = 0; columnIndex < columnCount; columnIndex += 1) {
|
|
272
|
+
const bodyValues = bodyRows
|
|
273
|
+
.map((row) => row[columnIndex] || '')
|
|
274
|
+
.map((value) => value.trim())
|
|
275
|
+
.filter(Boolean);
|
|
276
|
+
if (bodyValues.length === 0) continue;
|
|
277
|
+
|
|
278
|
+
const lengths = bodyValues.map((value) => value.length);
|
|
279
|
+
const maxLength = Math.max(...lengths);
|
|
280
|
+
const avgLength = lengths.reduce((sum, length) => sum + length, 0) / lengths.length;
|
|
281
|
+
const hasLongToken = bodyValues.some((value) => /\S{12,}/.test(value));
|
|
282
|
+
|
|
283
|
+
if (maxLength <= 16 && avgLength <= 10 && !hasLongToken) {
|
|
284
|
+
compactColumns.add(columnIndex);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
if (compactColumns.size >= columnCount) {
|
|
289
|
+
return new Set();
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
return compactColumns;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
function clampNumber(value: number, min: number, max: number): number {
|
|
296
|
+
return Math.min(max, Math.max(min, value));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
function getLongestTokenLength(values: string[]): number {
|
|
300
|
+
return values.reduce((longest, value) => {
|
|
301
|
+
const tokens = value.match(/\S+/g) || [];
|
|
302
|
+
return Math.max(longest, ...tokens.map((token) => token.length));
|
|
303
|
+
}, 0);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
interface AgentMarkdownTableColumnLayout {
|
|
307
|
+
key: string;
|
|
308
|
+
compact: boolean;
|
|
309
|
+
width: string;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
function getTableColumnLayouts(node?: Element): AgentMarkdownTableColumnLayout[] {
|
|
313
|
+
const rows = getTableRows(node);
|
|
314
|
+
const columnCount = Math.max(0, ...rows.map((row) => row.length));
|
|
315
|
+
if (columnCount <= 1) return [];
|
|
316
|
+
|
|
317
|
+
const compactColumns = getCompactTableColumns(node);
|
|
318
|
+
const weights = Array.from({ length: columnCount }, (_value, columnIndex) => {
|
|
319
|
+
if (compactColumns.has(columnIndex)) {
|
|
320
|
+
return 8;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
const values = rows
|
|
324
|
+
.map((row) => row[columnIndex] || '')
|
|
325
|
+
.map((value) => value.trim())
|
|
326
|
+
.filter(Boolean);
|
|
327
|
+
if (values.length === 0) return 18;
|
|
328
|
+
|
|
329
|
+
const lengths = values.map((value) => value.length);
|
|
330
|
+
const maxLength = Math.max(...lengths);
|
|
331
|
+
const avgLength = lengths.reduce((sum, length) => sum + length, 0) / lengths.length;
|
|
332
|
+
const longestTokenLength = getLongestTokenLength(values);
|
|
333
|
+
|
|
334
|
+
return clampNumber(avgLength * 0.7 + maxLength * 0.25 + longestTokenLength * 0.45, 18, 90);
|
|
335
|
+
});
|
|
336
|
+
|
|
337
|
+
const totalWeight = weights.reduce((sum, weight) => sum + weight, 0);
|
|
338
|
+
if (totalWeight <= 0) return [];
|
|
339
|
+
|
|
340
|
+
return weights.map((weight, columnIndex) => {
|
|
341
|
+
const width = `${((weight / totalWeight) * 100).toFixed(3)}%`;
|
|
342
|
+
return {
|
|
343
|
+
key: `agent-markdown-table-column-${columnIndex}`,
|
|
344
|
+
compact: compactColumns.has(columnIndex),
|
|
345
|
+
width,
|
|
346
|
+
};
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
function AgentMarkdownTable({
|
|
351
|
+
node,
|
|
352
|
+
className,
|
|
353
|
+
children,
|
|
354
|
+
...props
|
|
355
|
+
}: React.TableHTMLAttributes<HTMLTableElement> & {
|
|
356
|
+
node?: Element;
|
|
357
|
+
children?: React.ReactNode;
|
|
358
|
+
}) {
|
|
359
|
+
const columnLayouts = getTableColumnLayouts(node);
|
|
360
|
+
|
|
361
|
+
return (
|
|
362
|
+
<table {...props} className={className}>
|
|
363
|
+
{columnLayouts.length > 0 ? (
|
|
364
|
+
<colgroup>
|
|
365
|
+
{columnLayouts.map((columnLayout) => (
|
|
366
|
+
<col
|
|
367
|
+
key={columnLayout.key}
|
|
368
|
+
className={columnLayout.compact ? 'agent-markdown-table-compact-col' : undefined}
|
|
369
|
+
style={
|
|
370
|
+
{
|
|
371
|
+
'--agent-markdown-table-column-width': columnLayout.width,
|
|
372
|
+
} as React.CSSProperties
|
|
373
|
+
}
|
|
374
|
+
/>
|
|
375
|
+
))}
|
|
376
|
+
</colgroup>
|
|
377
|
+
) : null}
|
|
378
|
+
{children}
|
|
379
|
+
</table>
|
|
380
|
+
);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function getReactNodeTextLength(node: React.ReactNode): number {
|
|
384
|
+
if (node === null || node === undefined || typeof node === 'boolean') return 0;
|
|
385
|
+
if (typeof node === 'string' || typeof node === 'number') return String(node).length;
|
|
386
|
+
if (Array.isArray(node)) {
|
|
387
|
+
return node.reduce((total, child) => total + getReactNodeTextLength(child), 0);
|
|
388
|
+
}
|
|
389
|
+
if (React.isValidElement(node)) {
|
|
390
|
+
const props = node.props as { children?: React.ReactNode };
|
|
391
|
+
return getReactNodeTextLength(props.children);
|
|
392
|
+
}
|
|
393
|
+
return 0;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
function useLiveElapsedSeconds(timestamp?: number | string, enabled?: boolean): number {
|
|
397
|
+
const [elapsed, setElapsed] = useState(() => getElapsedSeconds(timestamp));
|
|
398
|
+
|
|
399
|
+
useEffect(() => {
|
|
400
|
+
if (!enabled) {
|
|
401
|
+
setElapsed(getElapsedSeconds(timestamp));
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
const updateElapsed = () => setElapsed(getElapsedSeconds(timestamp));
|
|
406
|
+
updateElapsed();
|
|
407
|
+
const intervalId = window.setInterval(updateElapsed, 1000);
|
|
408
|
+
return () => window.clearInterval(intervalId);
|
|
409
|
+
}, [enabled, timestamp]);
|
|
410
|
+
|
|
411
|
+
return elapsed;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
function useRotatingThinkingMessageIndex(enabled = true): number {
|
|
415
|
+
const [thinkingMessageIndex, setThinkingMessageIndex] = useState(0);
|
|
416
|
+
|
|
417
|
+
useEffect(() => {
|
|
418
|
+
if (!enabled) return;
|
|
419
|
+
|
|
420
|
+
const intervalId = window.setInterval(() => {
|
|
421
|
+
setThinkingMessageIndex(() => Math.floor(Math.random() * ThinkingMessages.length));
|
|
422
|
+
}, 4000);
|
|
423
|
+
return () => window.clearInterval(intervalId);
|
|
424
|
+
}, [enabled]);
|
|
425
|
+
|
|
426
|
+
return thinkingMessageIndex;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
function SummaryUserBubble({
|
|
430
|
+
children,
|
|
431
|
+
workstreamId,
|
|
432
|
+
className,
|
|
433
|
+
artifactRunId,
|
|
434
|
+
markdownComponents,
|
|
435
|
+
}: {
|
|
436
|
+
children: React.ReactNode;
|
|
437
|
+
workstreamId?: string;
|
|
438
|
+
className?: string;
|
|
439
|
+
artifactRunId?: string;
|
|
440
|
+
markdownComponents?: MarkdownRendererProps['components'];
|
|
441
|
+
}) {
|
|
442
|
+
const { t } = useUITranslation();
|
|
443
|
+
const [isExpanded, setIsExpanded] = useState(false);
|
|
444
|
+
const contentLength = useMemo(() => getReactNodeTextLength(children), [children]);
|
|
445
|
+
const shouldCollapse = contentLength > USER_BUBBLE_COLLAPSE_THRESHOLD;
|
|
446
|
+
const isPlainText = typeof children === 'string' || typeof children === 'number';
|
|
447
|
+
const textContent = isPlainText ? String(children) : '';
|
|
448
|
+
const shouldRenderMarkdown = typeof children === 'string' && STORE_LINK_MARKDOWN_RE.test(children);
|
|
449
|
+
|
|
450
|
+
useEffect(() => {
|
|
451
|
+
if (!shouldCollapse && isExpanded) {
|
|
452
|
+
setIsExpanded(false);
|
|
453
|
+
}
|
|
454
|
+
}, [isExpanded, shouldCollapse]);
|
|
455
|
+
|
|
456
|
+
return (
|
|
457
|
+
<div className="mx-auto flex w-full max-w-3xl justify-end px-1">
|
|
458
|
+
<div
|
|
459
|
+
className={cn(
|
|
460
|
+
'max-w-[min(44rem,82%)] rounded-[1.35rem] bg-mixer-muted/35 px-4 py-2.5',
|
|
461
|
+
'text-sm font-normal leading-6 text-foreground/90 shadow-sm shadow-black/5 dark:bg-mixer-muted/15 dark:text-foreground/88 dark:shadow-none',
|
|
462
|
+
'break-words [overflow-wrap:anywhere]',
|
|
463
|
+
className,
|
|
464
|
+
)}
|
|
465
|
+
data-workstream-id={workstreamId}
|
|
466
|
+
>
|
|
467
|
+
<div
|
|
468
|
+
className={cn(
|
|
469
|
+
isPlainText && !shouldRenderMarkdown && 'whitespace-pre-wrap',
|
|
470
|
+
shouldCollapse &&
|
|
471
|
+
!isExpanded &&
|
|
472
|
+
'max-h-72 overflow-hidden [mask-image:linear-gradient(to_bottom,black_76%,transparent_100%)]',
|
|
473
|
+
)}
|
|
474
|
+
>
|
|
475
|
+
{shouldRenderMarkdown ? (
|
|
476
|
+
<MarkdownRenderer
|
|
477
|
+
artifactRunId={artifactRunId}
|
|
478
|
+
components={markdownComponents}
|
|
479
|
+
className={cn(
|
|
480
|
+
'agent-markdown vprose prose max-w-none break-words text-sm leading-6 text-foreground/90',
|
|
481
|
+
'prose-p:my-0 prose-p:leading-6 prose-a:text-foreground prose-a:underline prose-a:decoration-muted prose-a:underline-offset-4',
|
|
482
|
+
'[&_p+_p]:mt-2',
|
|
483
|
+
)}
|
|
484
|
+
>
|
|
485
|
+
{textContent}
|
|
486
|
+
</MarkdownRenderer>
|
|
487
|
+
) : (
|
|
488
|
+
children
|
|
489
|
+
)}
|
|
490
|
+
</div>
|
|
491
|
+
{shouldCollapse && (
|
|
492
|
+
<button
|
|
493
|
+
type="button"
|
|
494
|
+
aria-expanded={isExpanded}
|
|
495
|
+
className="mt-2 inline-flex items-center gap-1 text-sm font-medium text-muted transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
496
|
+
onClick={() => setIsExpanded((current) => !current)}
|
|
497
|
+
>
|
|
498
|
+
{isExpanded ? t('agent.showLess') : t('agent.showMore')}
|
|
499
|
+
<ChevronDown
|
|
500
|
+
className={cn('size-4 transition-transform', isExpanded && 'rotate-180')}
|
|
501
|
+
aria-hidden="true"
|
|
502
|
+
/>
|
|
503
|
+
</button>
|
|
504
|
+
)}
|
|
505
|
+
</div>
|
|
506
|
+
</div>
|
|
507
|
+
);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
function SummaryMessage({
|
|
511
|
+
message,
|
|
512
|
+
onSendMessage,
|
|
513
|
+
requestInputAnswered = false,
|
|
514
|
+
StoreLinkComponent,
|
|
515
|
+
CollectionLinkComponent,
|
|
516
|
+
}: SummaryMessageProps) {
|
|
517
|
+
const content = getMessageText(message);
|
|
518
|
+
const workstreamLaunchDetails = getWorkstreamLaunchDetails(message);
|
|
519
|
+
const workstreamId = getWorkstreamId(message);
|
|
520
|
+
const runId = (message as { workflow_run_id?: string }).workflow_run_id;
|
|
521
|
+
const parsedQuestion = useMemo(
|
|
522
|
+
() => (message.type === AgentMessageType.QUESTION ? parseUserMessageAttachments(content) : null),
|
|
523
|
+
[content, message.type],
|
|
524
|
+
);
|
|
525
|
+
|
|
526
|
+
const markdownComponents = useMemo(
|
|
527
|
+
() => ({
|
|
528
|
+
...DEFAULT_AGENT_MARKDOWN_COMPONENTS,
|
|
529
|
+
a: ({
|
|
530
|
+
node: _node,
|
|
531
|
+
ref: _ref,
|
|
532
|
+
...props
|
|
533
|
+
}: {
|
|
534
|
+
node?: unknown;
|
|
535
|
+
ref?: unknown;
|
|
536
|
+
href?: string;
|
|
537
|
+
children?: React.ReactNode;
|
|
538
|
+
}) => {
|
|
539
|
+
const href = props.href || '';
|
|
540
|
+
if (href.includes('/store/objects')) {
|
|
541
|
+
const documentId = href.split('/store/objects/')[1] || '';
|
|
542
|
+
if (StoreLinkComponent) {
|
|
543
|
+
return (
|
|
544
|
+
<StoreLinkComponent href={href} documentId={documentId}>
|
|
545
|
+
{props.children}
|
|
546
|
+
</StoreLinkComponent>
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
return (
|
|
550
|
+
<NavLink href={href} topLevelNav>
|
|
551
|
+
{props.children}
|
|
552
|
+
</NavLink>
|
|
553
|
+
);
|
|
554
|
+
}
|
|
555
|
+
if (href.includes('/store/collections')) {
|
|
556
|
+
const collectionId = href.split('/store/collections/')[1] || '';
|
|
557
|
+
if (CollectionLinkComponent) {
|
|
558
|
+
return (
|
|
559
|
+
<CollectionLinkComponent href={href} collectionId={collectionId}>
|
|
560
|
+
{props.children}
|
|
561
|
+
</CollectionLinkComponent>
|
|
562
|
+
);
|
|
563
|
+
}
|
|
564
|
+
return (
|
|
565
|
+
<NavLink href={href} topLevelNav>
|
|
566
|
+
{props.children}
|
|
567
|
+
</NavLink>
|
|
568
|
+
);
|
|
569
|
+
}
|
|
570
|
+
return <a {...props} target="_blank" rel="noopener noreferrer" />;
|
|
571
|
+
},
|
|
572
|
+
}),
|
|
573
|
+
[StoreLinkComponent, CollectionLinkComponent],
|
|
574
|
+
);
|
|
575
|
+
|
|
576
|
+
if (workstreamLaunchDetails) {
|
|
577
|
+
return <SummaryWorkstreamLaunchMessage message={message} details={workstreamLaunchDetails} />;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
if (message.type === AgentMessageType.QUESTION) {
|
|
581
|
+
const questionBody = parsedQuestion?.body ?? content;
|
|
582
|
+
const attachments = parsedQuestion?.attachments ?? [];
|
|
583
|
+
|
|
584
|
+
return (
|
|
585
|
+
<>
|
|
586
|
+
{attachments.length > 0 && (
|
|
587
|
+
<div className="mx-auto flex w-full max-w-3xl justify-end px-1">
|
|
588
|
+
<AttachmentPreviewList
|
|
589
|
+
items={attachments}
|
|
590
|
+
artifactRunId={runId}
|
|
591
|
+
align="end"
|
|
592
|
+
variant="message"
|
|
593
|
+
StoreLinkComponent={StoreLinkComponent}
|
|
594
|
+
CollectionLinkComponent={CollectionLinkComponent}
|
|
595
|
+
/>
|
|
596
|
+
</div>
|
|
597
|
+
)}
|
|
598
|
+
{questionBody && (
|
|
599
|
+
<SummaryUserBubble
|
|
600
|
+
workstreamId={workstreamId}
|
|
601
|
+
artifactRunId={runId}
|
|
602
|
+
markdownComponents={markdownComponents}
|
|
603
|
+
>
|
|
604
|
+
{questionBody}
|
|
605
|
+
</SummaryUserBubble>
|
|
606
|
+
)}
|
|
607
|
+
</>
|
|
608
|
+
);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
const requestInputDetails = message.details as AskUserMessageDetails | undefined;
|
|
612
|
+
if (message.type === AgentMessageType.REQUEST_INPUT && requestInputDetails?.ux) {
|
|
613
|
+
const uxConfig = requestInputDetails.ux;
|
|
614
|
+
return (
|
|
615
|
+
<div className="mx-auto w-full max-w-3xl px-1">
|
|
616
|
+
<AskUserWidget
|
|
617
|
+
question={content}
|
|
618
|
+
options={uxConfig.options}
|
|
619
|
+
variant={uxConfig.variant}
|
|
620
|
+
multiSelect={uxConfig.multiSelect}
|
|
621
|
+
onSelect={(optionId) => onSendMessage?.(optionId)}
|
|
622
|
+
onMultiSelect={(optionIds) => onSendMessage?.(optionIds.join(', '))}
|
|
623
|
+
hideBorder
|
|
624
|
+
compact
|
|
625
|
+
answered={requestInputAnswered}
|
|
626
|
+
/>
|
|
627
|
+
</div>
|
|
628
|
+
);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
const isError = message.type === AgentMessageType.ERROR || message.type === AgentMessageType.WARNING;
|
|
632
|
+
|
|
633
|
+
return (
|
|
634
|
+
<div className="mx-auto w-full max-w-3xl px-1" data-workstream-id={workstreamId}>
|
|
635
|
+
{isError && (
|
|
636
|
+
<div className="mb-2 text-xs font-medium text-destructive">
|
|
637
|
+
{message.type === AgentMessageType.WARNING ? 'Warning' : 'Error'}
|
|
638
|
+
</div>
|
|
639
|
+
)}
|
|
640
|
+
{content && (
|
|
641
|
+
<div
|
|
642
|
+
className={cn(
|
|
643
|
+
SUMMARY_PROSE_CLASS,
|
|
644
|
+
isError && 'rounded-lg border border-destructive/20 bg-destructive/5 px-3 py-2',
|
|
645
|
+
)}
|
|
646
|
+
style={{ overflowWrap: 'anywhere' }}
|
|
647
|
+
>
|
|
648
|
+
<MarkdownRenderer
|
|
649
|
+
artifactRunId={runId}
|
|
650
|
+
onProposalSelect={(optionId) => onSendMessage?.(optionId)}
|
|
651
|
+
onProposalSubmit={(text) => onSendMessage?.(text)}
|
|
652
|
+
components={markdownComponents}
|
|
653
|
+
>
|
|
654
|
+
{content}
|
|
655
|
+
</MarkdownRenderer>
|
|
656
|
+
</div>
|
|
657
|
+
)}
|
|
658
|
+
</div>
|
|
659
|
+
);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
function isRecordValue(value: unknown): value is Record<string, unknown> {
|
|
663
|
+
return !!value && typeof value === 'object' && !Array.isArray(value);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
function hasInitialRequestValue(value: unknown): boolean {
|
|
667
|
+
if (value === null || value === undefined) return false;
|
|
668
|
+
if (typeof value === 'string') return value.trim().length > 0;
|
|
669
|
+
if (Array.isArray(value)) return value.length > 0;
|
|
670
|
+
if (typeof value === 'object') return Object.keys(value as Record<string, unknown>).length > 0;
|
|
671
|
+
return true;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
function isRenderableNode(node: React.ReactNode): boolean {
|
|
675
|
+
if (node === null || node === undefined || node === false) return false;
|
|
676
|
+
if (typeof node === 'string') return node.trim().length > 0;
|
|
677
|
+
return true;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
function getSchemaProperties(schema: JSONSchema | null | undefined): Record<string, JSONSchema> {
|
|
681
|
+
if (!schema || !isRecordValue(schema)) return {};
|
|
682
|
+
const properties = (schema as Record<string, unknown>).properties;
|
|
683
|
+
if (!isRecordValue(properties)) return {};
|
|
684
|
+
return properties as Record<string, JSONSchema>;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
function getSchemaLabel(schema: JSONSchema | undefined, fallback: string): string {
|
|
688
|
+
const title = schema && isRecordValue(schema) ? schema.title : undefined;
|
|
689
|
+
if (typeof title === 'string' && title.trim()) return title;
|
|
690
|
+
|
|
691
|
+
return fallback
|
|
692
|
+
.replace(/[_-]+/g, ' ')
|
|
693
|
+
.replace(/([a-z0-9])([A-Z])/g, '$1 $2')
|
|
694
|
+
.replace(/\b\w/g, (letter) => letter.toUpperCase());
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
function stringifyRequestValue(value: unknown): string {
|
|
698
|
+
if (typeof value === 'string') return value;
|
|
699
|
+
if (typeof value === 'number' || typeof value === 'boolean') return String(value);
|
|
700
|
+
try {
|
|
701
|
+
return JSON.stringify(value, null, 2);
|
|
702
|
+
} catch {
|
|
703
|
+
return String(value);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
function renderRequestValue(value: unknown): React.ReactNode {
|
|
708
|
+
if (value === null || value === undefined || value === '') {
|
|
709
|
+
return <span className="text-muted">Not provided</span>;
|
|
710
|
+
}
|
|
711
|
+
if (typeof value === 'boolean') return value ? 'Yes' : 'No';
|
|
712
|
+
if (typeof value === 'number') return String(value);
|
|
713
|
+
if (typeof value === 'string') return <span className="whitespace-pre-wrap">{value}</span>;
|
|
714
|
+
if (Array.isArray(value) && value.every((item) => typeof item !== 'object' || item === null)) {
|
|
715
|
+
return value.map((item) => stringifyRequestValue(item)).join(', ');
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
return (
|
|
719
|
+
<pre className="max-h-40 overflow-auto whitespace-pre-wrap rounded-md bg-background/55 px-2 py-1.5 font-mono text-[12px] leading-relaxed text-foreground/80">
|
|
720
|
+
{stringifyRequestValue(value)}
|
|
721
|
+
</pre>
|
|
722
|
+
);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
function renderDefaultInitialRequest(
|
|
726
|
+
data: unknown,
|
|
727
|
+
schema: JSONSchema | null | undefined,
|
|
728
|
+
title: string | undefined,
|
|
729
|
+
): React.ReactNode {
|
|
730
|
+
if (!hasInitialRequestValue(data)) return null;
|
|
731
|
+
if (!isRecordValue(data)) return renderRequestValue(data);
|
|
732
|
+
|
|
733
|
+
const properties = getSchemaProperties(schema);
|
|
734
|
+
const fieldKeys = [...Object.keys(properties), ...Object.keys(data).filter((key) => !(key in properties))];
|
|
735
|
+
const fields = fieldKeys
|
|
736
|
+
.map((key) => ({
|
|
737
|
+
key,
|
|
738
|
+
label: getSchemaLabel(properties[key], key),
|
|
739
|
+
value: data[key],
|
|
740
|
+
}))
|
|
741
|
+
.filter((field) => hasInitialRequestValue(field.value));
|
|
742
|
+
|
|
743
|
+
if (fields.length === 0) return null;
|
|
744
|
+
|
|
745
|
+
return (
|
|
746
|
+
<div className="space-y-2 text-start">
|
|
747
|
+
{title ? <div className="text-xs font-medium uppercase tracking-normal text-muted">{title}</div> : null}
|
|
748
|
+
<dl className="space-y-2">
|
|
749
|
+
{fields.map((field) => (
|
|
750
|
+
<div key={field.key} className="grid gap-1 sm:grid-cols-[minmax(7rem,32%)_1fr] sm:gap-3">
|
|
751
|
+
<dt className="text-xs font-medium text-muted">{field.label}</dt>
|
|
752
|
+
<dd className="min-w-0 break-words text-sm text-foreground">
|
|
753
|
+
{renderRequestValue(field.value)}
|
|
754
|
+
</dd>
|
|
755
|
+
</div>
|
|
756
|
+
))}
|
|
757
|
+
</dl>
|
|
758
|
+
</div>
|
|
759
|
+
);
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
interface InitialRequestMessageProps {
|
|
763
|
+
data?: unknown;
|
|
764
|
+
schema?: JSONSchema | null;
|
|
765
|
+
title?: string;
|
|
766
|
+
template?: AgentInitialRequestTemplate;
|
|
767
|
+
prependFriendlyMessage?: string;
|
|
768
|
+
timestamp?: number | string;
|
|
769
|
+
isSummaryView: boolean;
|
|
770
|
+
messageItemClassNames?: MessageItemClassNames;
|
|
771
|
+
messageStyleOverrides?: MessageItemProps['messageStyleOverrides'];
|
|
772
|
+
StoreLinkComponent?: React.ComponentType<{ href: string; documentId: string; children: React.ReactNode }>;
|
|
773
|
+
CollectionLinkComponent?: React.ComponentType<{ href: string; collectionId: string; children: React.ReactNode }>;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
function InitialRequestMessage({
|
|
777
|
+
data,
|
|
778
|
+
schema,
|
|
779
|
+
title,
|
|
780
|
+
template,
|
|
781
|
+
prependFriendlyMessage,
|
|
782
|
+
timestamp,
|
|
783
|
+
isSummaryView,
|
|
784
|
+
messageItemClassNames,
|
|
785
|
+
messageStyleOverrides,
|
|
786
|
+
StoreLinkComponent,
|
|
787
|
+
CollectionLinkComponent,
|
|
788
|
+
}: InitialRequestMessageProps) {
|
|
789
|
+
const plainText = prependFriendlyMessage?.trim() || (typeof data === 'string' ? data.trim() : '');
|
|
790
|
+
const templateContent = template?.({
|
|
791
|
+
data: data ?? prependFriendlyMessage,
|
|
792
|
+
schema,
|
|
793
|
+
title,
|
|
794
|
+
});
|
|
795
|
+
|
|
796
|
+
if (!isRenderableNode(templateContent) && plainText) {
|
|
797
|
+
const message = {
|
|
798
|
+
type: AgentMessageType.QUESTION,
|
|
799
|
+
message: plainText,
|
|
800
|
+
timestamp: getTimestampMs(timestamp),
|
|
801
|
+
workflow_run_id: '',
|
|
802
|
+
workstream_id: 'main',
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
return isSummaryView ? (
|
|
806
|
+
<SummaryMessage
|
|
807
|
+
message={message}
|
|
808
|
+
StoreLinkComponent={StoreLinkComponent}
|
|
809
|
+
CollectionLinkComponent={CollectionLinkComponent}
|
|
810
|
+
/>
|
|
811
|
+
) : (
|
|
812
|
+
<MessageItem {...messageItemClassNames} messageStyleOverrides={messageStyleOverrides} message={message} />
|
|
813
|
+
);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
const content = isRenderableNode(templateContent)
|
|
817
|
+
? templateContent
|
|
818
|
+
: renderDefaultInitialRequest(data, schema, title);
|
|
819
|
+
if (!isRenderableNode(content)) return null;
|
|
820
|
+
|
|
821
|
+
return <SummaryUserBubble className="py-3">{content}</SummaryUserBubble>;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
function InitialRequestWaitingCard({
|
|
825
|
+
label,
|
|
826
|
+
timestamp,
|
|
827
|
+
className,
|
|
828
|
+
}: {
|
|
829
|
+
label: string;
|
|
830
|
+
timestamp?: number | string;
|
|
831
|
+
className?: string;
|
|
832
|
+
}) {
|
|
833
|
+
const thinkingMessageIndex = useRotatingThinkingMessageIndex();
|
|
834
|
+
const elapsed = useLiveElapsedSeconds(timestamp, true);
|
|
835
|
+
|
|
836
|
+
return (
|
|
837
|
+
<div className={cn('mx-auto w-full max-w-3xl px-1', className)}>
|
|
838
|
+
<div className="border-b border-border/70 pb-4 text-sm text-muted">
|
|
839
|
+
<div className="flex items-center gap-3">
|
|
840
|
+
<PulsatingCircle size="sm" color="blue" />
|
|
841
|
+
<div className="min-w-0">
|
|
842
|
+
<div>
|
|
843
|
+
<span className="font-medium">{label}</span>
|
|
844
|
+
<span className="ms-2 text-muted/75">for {formatDuration(elapsed)}</span>
|
|
845
|
+
</div>
|
|
846
|
+
<div className="mt-1 truncate text-muted/80">{ThinkingMessages[thinkingMessageIndex]}</div>
|
|
847
|
+
</div>
|
|
848
|
+
</div>
|
|
849
|
+
<div className="mt-3 ps-6">
|
|
850
|
+
<AnimatedThinkingDots color="blue" />
|
|
851
|
+
</div>
|
|
852
|
+
</div>
|
|
853
|
+
</div>
|
|
854
|
+
);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
type SummaryToolDetailKind = 'search' | 'read' | 'edit' | 'command' | 'skill' | 'discover' | 'think' | 'tool';
|
|
858
|
+
|
|
859
|
+
interface SummaryToolDetailSection {
|
|
860
|
+
key: string;
|
|
861
|
+
label: string;
|
|
862
|
+
value: unknown;
|
|
863
|
+
tone?: 'default' | 'error';
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
interface SummaryToolDetailItem {
|
|
867
|
+
key: string;
|
|
868
|
+
kind: SummaryToolDetailKind;
|
|
869
|
+
label: string;
|
|
870
|
+
title: string;
|
|
871
|
+
command?: string;
|
|
872
|
+
text?: string;
|
|
873
|
+
status?: ToolExecutionStatus;
|
|
874
|
+
sections: SummaryToolDetailSection[];
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
const TOOL_DETAIL_SYSTEM_KEYS = new Set([
|
|
878
|
+
'account_id',
|
|
879
|
+
'activity_group_id',
|
|
880
|
+
'activity_id',
|
|
881
|
+
'channel_id',
|
|
882
|
+
'collection_id',
|
|
883
|
+
'document_id',
|
|
884
|
+
'display_role',
|
|
885
|
+
'event_class',
|
|
886
|
+
'id',
|
|
887
|
+
'object_id',
|
|
888
|
+
'project_id',
|
|
889
|
+
'run_id',
|
|
890
|
+
'streamed',
|
|
891
|
+
'tenant_id',
|
|
892
|
+
'thread_id',
|
|
893
|
+
'tool',
|
|
894
|
+
'tool_event',
|
|
895
|
+
'tool_iteration',
|
|
896
|
+
'tool_run_id',
|
|
897
|
+
'tool_use_id',
|
|
898
|
+
'tool_status',
|
|
899
|
+
'tools',
|
|
900
|
+
'message_to_human',
|
|
901
|
+
'progress_messages',
|
|
902
|
+
'workflow_run_id',
|
|
903
|
+
]);
|
|
904
|
+
|
|
905
|
+
function getDetailsRecord(message: AgentMessage): Record<string, unknown> {
|
|
906
|
+
return isRecordValue(message.details) ? message.details : {};
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
function humanizeIdentifier(value: string): string {
|
|
910
|
+
return value
|
|
911
|
+
.replace(/[_-]+/g, ' ')
|
|
912
|
+
.replace(/\s+/g, ' ')
|
|
913
|
+
.trim()
|
|
914
|
+
.replace(/\b\w/g, (letter) => letter.toUpperCase());
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
function getToolNames(details: Record<string, unknown>): string[] {
|
|
918
|
+
const names: string[] = [];
|
|
919
|
+
if (typeof details.tool === 'string' && details.tool.trim()) names.push(details.tool.trim());
|
|
920
|
+
if (Array.isArray(details.tools)) {
|
|
921
|
+
for (const tool of details.tools) {
|
|
922
|
+
if (typeof tool === 'string' && tool.trim()) {
|
|
923
|
+
names.push(tool.trim());
|
|
924
|
+
} else if (isRecordValue(tool)) {
|
|
925
|
+
const name = typeof tool.name === 'string' ? tool.name : tool.tool;
|
|
926
|
+
if (typeof name === 'string' && name.trim()) names.push(name.trim());
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
return names;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
const TOOL_TARGET_KEYS = [
|
|
934
|
+
'query',
|
|
935
|
+
'path',
|
|
936
|
+
'file',
|
|
937
|
+
'file_name',
|
|
938
|
+
'fileName',
|
|
939
|
+
'filename',
|
|
940
|
+
'name',
|
|
941
|
+
'title',
|
|
942
|
+
'artifact',
|
|
943
|
+
'artifact_path',
|
|
944
|
+
'url',
|
|
945
|
+
'command',
|
|
946
|
+
];
|
|
947
|
+
|
|
948
|
+
function getToolTargetEntry(details: Record<string, unknown>): { key: string; value: string } | undefined {
|
|
949
|
+
for (const key of TOOL_TARGET_KEYS) {
|
|
950
|
+
const value = details[key];
|
|
951
|
+
if (typeof value === 'string' && value.trim()) return { key, value: value.trim() };
|
|
952
|
+
if (typeof value === 'number' || typeof value === 'boolean') return { key, value: String(value) };
|
|
953
|
+
}
|
|
954
|
+
return undefined;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
function getToolDetailKind(message: AgentMessage): SummaryToolDetailKind {
|
|
958
|
+
const details = getDetailsRecord(message);
|
|
959
|
+
const toolNames = getToolNames(details).join(' ').toLowerCase();
|
|
960
|
+
const concreteTool = typeof details.tool === 'string' ? details.tool.toLowerCase() : '';
|
|
961
|
+
const text = getMessageText(message).toLowerCase();
|
|
962
|
+
const haystack = `${toolNames} ${text}`;
|
|
963
|
+
|
|
964
|
+
if (isToolPreambleMessage(message)) return 'think';
|
|
965
|
+
if (concreteTool.startsWith('learn_') || haystack.includes('learn_') || /\bskill\b/.test(text)) return 'skill';
|
|
966
|
+
if (concreteTool === 'discover_tools') return 'discover';
|
|
967
|
+
if (message.type === AgentMessageType.THOUGHT && !concreteTool) return 'think';
|
|
968
|
+
|
|
969
|
+
const classifierText = concreteTool || haystack;
|
|
970
|
+
if (classifierText.includes('search') || classifierText.includes('web') || classifierText.includes('fetch'))
|
|
971
|
+
return 'search';
|
|
972
|
+
if (classifierText.includes('read') || classifierText.includes('document') || classifierText.includes('file'))
|
|
973
|
+
return 'read';
|
|
974
|
+
if (
|
|
975
|
+
classifierText.includes('edit') ||
|
|
976
|
+
classifierText.includes('write') ||
|
|
977
|
+
classifierText.includes('patch') ||
|
|
978
|
+
classifierText.includes('create')
|
|
979
|
+
)
|
|
980
|
+
return 'edit';
|
|
981
|
+
if (
|
|
982
|
+
classifierText.includes('bash') ||
|
|
983
|
+
classifierText.includes('shell') ||
|
|
984
|
+
classifierText.includes('command') ||
|
|
985
|
+
classifierText.includes('terminal')
|
|
986
|
+
)
|
|
987
|
+
return 'command';
|
|
988
|
+
if (message.type === AgentMessageType.THOUGHT && toolNames.length === 0) return 'think';
|
|
989
|
+
return 'tool';
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
function getToolDetailLabel(kind: SummaryToolDetailKind): string {
|
|
993
|
+
switch (kind) {
|
|
994
|
+
case 'search':
|
|
995
|
+
return 'Search';
|
|
996
|
+
case 'read':
|
|
997
|
+
return 'Read';
|
|
998
|
+
case 'edit':
|
|
999
|
+
return 'Edit';
|
|
1000
|
+
case 'command':
|
|
1001
|
+
return 'Bash';
|
|
1002
|
+
case 'skill':
|
|
1003
|
+
return 'Skill';
|
|
1004
|
+
case 'discover':
|
|
1005
|
+
return 'Tool';
|
|
1006
|
+
case 'think':
|
|
1007
|
+
return 'Thought';
|
|
1008
|
+
default:
|
|
1009
|
+
return 'Tool';
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
function getToolTarget(details: Record<string, unknown>): string | undefined {
|
|
1014
|
+
const directTarget = getToolTargetEntry(details);
|
|
1015
|
+
if (directTarget) return directTarget.value;
|
|
1016
|
+
|
|
1017
|
+
const files = details.files ?? details.outputFiles;
|
|
1018
|
+
if (Array.isArray(files) && files.length > 0) {
|
|
1019
|
+
return files.map((file) => stringifyRequestValue(file)).join(', ');
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
return undefined;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
function compactInlineText(value: string, maxLength = 160): string {
|
|
1026
|
+
const normalized = value.replace(/\s+/g, ' ').trim();
|
|
1027
|
+
return normalized.length > maxLength ? `${normalized.slice(0, maxLength - 1)}...` : normalized;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
const MESSAGE_RENDER_ID_DETAIL_KEYS = [
|
|
1031
|
+
'batch_id',
|
|
1032
|
+
'activity_group_id',
|
|
1033
|
+
'activity_id',
|
|
1034
|
+
'tool_run_id',
|
|
1035
|
+
'tool_use_id',
|
|
1036
|
+
'streaming_id',
|
|
1037
|
+
'chunk_index',
|
|
1038
|
+
'tool_iteration',
|
|
1039
|
+
'tool_event',
|
|
1040
|
+
];
|
|
1041
|
+
|
|
1042
|
+
function getStableDetailIdentity(details: Record<string, unknown>): string | undefined {
|
|
1043
|
+
for (const key of MESSAGE_RENDER_ID_DETAIL_KEYS) {
|
|
1044
|
+
const value = details[key];
|
|
1045
|
+
if (typeof value === 'string' && value.trim()) return `${key}:${value.trim()}`;
|
|
1046
|
+
if (typeof value === 'number' || typeof value === 'boolean') return `${key}:${value}`;
|
|
1047
|
+
}
|
|
1048
|
+
return undefined;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
function getAgentMessageRenderKey(message: AgentMessage, prefix = 'message'): string {
|
|
1052
|
+
const details = getDetailsRecord(message);
|
|
1053
|
+
const detailIdentity = getStableDetailIdentity(details);
|
|
1054
|
+
const contentIdentity = compactInlineText(getMessageText(message), 96);
|
|
1055
|
+
|
|
1056
|
+
return [
|
|
1057
|
+
prefix,
|
|
1058
|
+
message.workstream_id || 'main',
|
|
1059
|
+
message.workflow_run_id,
|
|
1060
|
+
message.timestamp,
|
|
1061
|
+
message.type,
|
|
1062
|
+
detailIdentity ?? contentIdentity,
|
|
1063
|
+
]
|
|
1064
|
+
.filter(Boolean)
|
|
1065
|
+
.join(':');
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
function getRenderableGroupKey(group: RenderableGroup): string {
|
|
1069
|
+
if (group.type === 'single') {
|
|
1070
|
+
return getAgentMessageRenderKey(group.message);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
if (group.type === 'streaming') {
|
|
1074
|
+
return `streaming:${group.streamingId}:${group.startTimestamp}:${group.workstreamId || 'main'}`;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
const firstMessage = group.messages[0];
|
|
1078
|
+
const lastMessage = group.messages[group.messages.length - 1];
|
|
1079
|
+
const firstKey = firstMessage ? getAgentMessageRenderKey(firstMessage, 'first') : group.firstTimestamp;
|
|
1080
|
+
const lastKey = lastMessage ? getAgentMessageRenderKey(lastMessage, 'last') : group.firstTimestamp;
|
|
1081
|
+
|
|
1082
|
+
return ['group', group.toolRunId, group.firstTimestamp, firstKey, lastKey].filter(Boolean).join(':');
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
function formatToolSectionValue(value: unknown): string {
|
|
1086
|
+
const text = stringifyRequestValue(value).trim();
|
|
1087
|
+
return text.length > 2400 ? `${text.slice(0, 2400)}\n...` : text;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
function createToolSection(
|
|
1091
|
+
key: string,
|
|
1092
|
+
label: string,
|
|
1093
|
+
value: unknown,
|
|
1094
|
+
tone?: SummaryToolDetailSection['tone'],
|
|
1095
|
+
): SummaryToolDetailSection | undefined {
|
|
1096
|
+
if (value === null || value === undefined || value === '') return undefined;
|
|
1097
|
+
if (Array.isArray(value) && value.length === 0) return undefined;
|
|
1098
|
+
if (isRecordValue(value) && Object.keys(value).length === 0) return undefined;
|
|
1099
|
+
return { key, label, value, tone };
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
function getRemainingDetailFields(
|
|
1103
|
+
details: Record<string, unknown>,
|
|
1104
|
+
consumedKeys: Set<string>,
|
|
1105
|
+
): Record<string, unknown> | undefined {
|
|
1106
|
+
const remaining = Object.entries(details).reduce<Record<string, unknown>>((acc, [key, value]) => {
|
|
1107
|
+
if (TOOL_DETAIL_SYSTEM_KEYS.has(key) || consumedKeys.has(key)) return acc;
|
|
1108
|
+
if (value === null || value === undefined || value === '') return acc;
|
|
1109
|
+
acc[key] = value;
|
|
1110
|
+
return acc;
|
|
1111
|
+
}, {});
|
|
1112
|
+
|
|
1113
|
+
return Object.keys(remaining).length > 0 ? remaining : undefined;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
function getToolDetailSections(message: AgentMessage): SummaryToolDetailSection[] {
|
|
1117
|
+
const details = getDetailsRecord(message);
|
|
1118
|
+
const consumedKeys = new Set<string>();
|
|
1119
|
+
const sections: SummaryToolDetailSection[] = [];
|
|
1120
|
+
const targetEntry = getToolTargetEntry(details);
|
|
1121
|
+
|
|
1122
|
+
const addSection = (label: string, keys: string[], tone?: SummaryToolDetailSection['tone']) => {
|
|
1123
|
+
for (const key of keys) {
|
|
1124
|
+
const section = createToolSection(key, label, details[key], tone);
|
|
1125
|
+
if (section) {
|
|
1126
|
+
consumedKeys.add(key);
|
|
1127
|
+
sections.push(section);
|
|
1128
|
+
return;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
addSection('Query', ['query']);
|
|
1134
|
+
addSection('Input', ['input', 'params', 'arguments', 'args']);
|
|
1135
|
+
addSection('Output', [
|
|
1136
|
+
'output',
|
|
1137
|
+
'stdout',
|
|
1138
|
+
'result',
|
|
1139
|
+
'results',
|
|
1140
|
+
'content',
|
|
1141
|
+
'result_summary',
|
|
1142
|
+
'observation',
|
|
1143
|
+
'display_message',
|
|
1144
|
+
]);
|
|
1145
|
+
addSection('Files', ['files', 'outputFiles']);
|
|
1146
|
+
addSection('Error', ['error', 'stderr'], 'error');
|
|
1147
|
+
if (targetEntry) consumedKeys.add(targetEntry.key);
|
|
1148
|
+
|
|
1149
|
+
const remainingDetails = getRemainingDetailFields(details, consumedKeys);
|
|
1150
|
+
if (sections.length === 0 && remainingDetails) {
|
|
1151
|
+
sections.push({ key: 'details', label: 'Details', value: remainingDetails });
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
return sections;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
function buildSummaryToolDetailItem(message: AgentMessage, index: number): SummaryToolDetailItem | undefined {
|
|
1158
|
+
const text = getMessageText(message);
|
|
1159
|
+
const details = getDetailsRecord(message);
|
|
1160
|
+
const kind = getToolDetailKind(message);
|
|
1161
|
+
const toolNames = getToolNames(details);
|
|
1162
|
+
const target = getToolTarget(details);
|
|
1163
|
+
const command = typeof details.command === 'string' && details.command.trim() ? details.command.trim() : undefined;
|
|
1164
|
+
const fallbackTitle = toolNames[0] ? humanizeIdentifier(toolNames[0]) : getReadableToolLabel(message);
|
|
1165
|
+
const title =
|
|
1166
|
+
kind === 'think'
|
|
1167
|
+
? text || fallbackTitle
|
|
1168
|
+
: kind === 'command'
|
|
1169
|
+
? compactInlineText(text || command || fallbackTitle)
|
|
1170
|
+
: compactInlineText(target || text || fallbackTitle);
|
|
1171
|
+
const normalizedText = text ? (kind === 'think' ? text : compactInlineText(text, 420)) : undefined;
|
|
1172
|
+
const shouldShowText = normalizedText && normalizedText !== title;
|
|
1173
|
+
|
|
1174
|
+
if (!title && !shouldShowText) return undefined;
|
|
1175
|
+
|
|
1176
|
+
return {
|
|
1177
|
+
key: `${message.timestamp}-${details.activity_id || details.tool_run_id || index}`,
|
|
1178
|
+
kind,
|
|
1179
|
+
label: getToolDetailLabel(kind),
|
|
1180
|
+
title,
|
|
1181
|
+
command,
|
|
1182
|
+
text: shouldShowText ? normalizedText : undefined,
|
|
1183
|
+
status: details.tool_status as ToolExecutionStatus | undefined,
|
|
1184
|
+
sections: getToolDetailSections(message),
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
function mergeSummaryToolMessages(messages: AgentMessage[]): AgentMessage[] {
|
|
1189
|
+
const byGroupId = new Map<string, { index: number; messages: AgentMessage[] }>();
|
|
1190
|
+
const ungrouped: Array<{ index: number; message: AgentMessage }> = [];
|
|
1191
|
+
|
|
1192
|
+
messages.forEach((message, index) => {
|
|
1193
|
+
const details = getDetailsRecord(message);
|
|
1194
|
+
if (isToolPreambleMessage(message)) {
|
|
1195
|
+
ungrouped.push({ index, message });
|
|
1196
|
+
return;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
const activityGroupId =
|
|
1200
|
+
typeof details.activity_group_id === 'string' && details.activity_group_id.trim()
|
|
1201
|
+
? details.activity_group_id
|
|
1202
|
+
: undefined;
|
|
1203
|
+
const runId =
|
|
1204
|
+
typeof details.tool_run_id === 'string' && details.tool_run_id.trim() ? details.tool_run_id : undefined;
|
|
1205
|
+
const groupId = activityGroupId ? `activity:${activityGroupId}` : runId ? `run:${runId}` : undefined;
|
|
1206
|
+
if (!groupId) {
|
|
1207
|
+
ungrouped.push({ index, message });
|
|
1208
|
+
return;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
const group = byGroupId.get(groupId);
|
|
1212
|
+
if (group) {
|
|
1213
|
+
group.messages.push(message);
|
|
1214
|
+
} else {
|
|
1215
|
+
byGroupId.set(groupId, { index, messages: [message] });
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
const grouped = Array.from(byGroupId.values()).map(({ index, messages: runMessages }) => {
|
|
1220
|
+
const sortedMessages = [...runMessages].sort(
|
|
1221
|
+
(a, b) => getTimestampMs(a.timestamp) - getTimestampMs(b.timestamp),
|
|
1222
|
+
);
|
|
1223
|
+
const baseMessage = sortedMessages[sortedMessages.length - 1];
|
|
1224
|
+
const startMessage = sortedMessages.find((message) => getDetailsRecord(message).tool_event === 'started');
|
|
1225
|
+
const firstTextMessage = sortedMessages.find((message) => getMessageText(message));
|
|
1226
|
+
const commandTextMessage = sortedMessages.findLast((message) => getMessageText(message).startsWith('$ '));
|
|
1227
|
+
const latestStatusMessage = sortedMessages.findLast(
|
|
1228
|
+
(message) =>
|
|
1229
|
+
(message.type === AgentMessageType.ERROR || message.type === AgentMessageType.WARNING) &&
|
|
1230
|
+
getMessageText(message),
|
|
1231
|
+
);
|
|
1232
|
+
const mergedDetails: Record<string, unknown> = {};
|
|
1233
|
+
for (const message of sortedMessages) {
|
|
1234
|
+
Object.assign(mergedDetails, getDetailsRecord(message));
|
|
1235
|
+
}
|
|
1236
|
+
if (latestStatusMessage && mergedDetails.error === undefined && mergedDetails.stderr === undefined) {
|
|
1237
|
+
mergedDetails.error = getMessageText(latestStatusMessage);
|
|
1238
|
+
}
|
|
1239
|
+
if (commandTextMessage && mergedDetails.command === undefined) {
|
|
1240
|
+
mergedDetails.command = getMessageText(commandTextMessage);
|
|
1241
|
+
}
|
|
1242
|
+
const messageToHuman =
|
|
1243
|
+
typeof startMessage?.details?.message_to_human === 'string' ? startMessage.details.message_to_human : '';
|
|
1244
|
+
|
|
1245
|
+
return {
|
|
1246
|
+
index,
|
|
1247
|
+
message: {
|
|
1248
|
+
...baseMessage,
|
|
1249
|
+
message: messageToHuman || (firstTextMessage ? firstTextMessage.message : baseMessage.message),
|
|
1250
|
+
details: mergedDetails,
|
|
1251
|
+
},
|
|
1252
|
+
};
|
|
1253
|
+
});
|
|
34
1254
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
// Skip messages that are tool activity themselves (already part of tool groups)
|
|
58
|
-
const isToolActivity = msg.details?.tool || msg.details?.tools;
|
|
59
|
-
if (isToolActivity) continue;
|
|
60
|
-
|
|
61
|
-
// Skip terminal/interactive message types that should always render independently
|
|
62
|
-
if (NON_PREAMBLE_TYPES.has(msg.type)) continue;
|
|
63
|
-
|
|
64
|
-
// Attach as preamble
|
|
65
|
-
current.preambleText = text;
|
|
66
|
-
current.preambleMessage = msg;
|
|
67
|
-
prev._consumed = true;
|
|
1255
|
+
return [...ungrouped, ...grouped].sort((a, b) => a.index - b.index).map(({ message }) => message);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
function buildSummaryToolDetailItems(messages: AgentMessage[]): SummaryToolDetailItem[] {
|
|
1259
|
+
const seen = new Set<string>();
|
|
1260
|
+
const items: SummaryToolDetailItem[] = [];
|
|
1261
|
+
|
|
1262
|
+
mergeSummaryToolMessages(messages).forEach((message, index) => {
|
|
1263
|
+
const item = buildSummaryToolDetailItem(message, index);
|
|
1264
|
+
if (!item) return;
|
|
1265
|
+
const signature = `${item.kind}:${item.label}:${item.title}:${item.text ?? ''}`;
|
|
1266
|
+
if (seen.has(signature)) return;
|
|
1267
|
+
seen.add(signature);
|
|
1268
|
+
items.push(item);
|
|
1269
|
+
});
|
|
1270
|
+
|
|
1271
|
+
return items;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
function ToolDetailIcon({ kind, status }: { kind: SummaryToolDetailKind; status?: ToolExecutionStatus }) {
|
|
1275
|
+
if (status === 'error' || status === 'warning') {
|
|
1276
|
+
return <AlertTriangle className="size-3.5" />;
|
|
68
1277
|
}
|
|
69
1278
|
|
|
70
|
-
|
|
71
|
-
|
|
1279
|
+
switch (kind) {
|
|
1280
|
+
case 'search':
|
|
1281
|
+
return <Search className="size-3.5" />;
|
|
1282
|
+
case 'read':
|
|
1283
|
+
return <FileText className="size-3.5" />;
|
|
1284
|
+
case 'edit':
|
|
1285
|
+
return <Pencil className="size-3.5" />;
|
|
1286
|
+
case 'command':
|
|
1287
|
+
return <Terminal className="size-3.5" />;
|
|
1288
|
+
case 'skill':
|
|
1289
|
+
return <Brain className="size-3.5" />;
|
|
1290
|
+
case 'discover':
|
|
1291
|
+
return <Wrench className="size-3.5" />;
|
|
1292
|
+
case 'think':
|
|
1293
|
+
return <Brain className="size-3.5" />;
|
|
1294
|
+
default:
|
|
1295
|
+
return <Wrench className="size-3.5" />;
|
|
1296
|
+
}
|
|
72
1297
|
}
|
|
73
1298
|
|
|
74
|
-
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
1299
|
+
function ToolDetailSection({ section }: { section: SummaryToolDetailSection }) {
|
|
1300
|
+
const value = section.value;
|
|
1301
|
+
const isPrimitive = typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean';
|
|
1302
|
+
const isFileList = section.label === 'Files' && Array.isArray(value);
|
|
1303
|
+
const hideLabel = section.label === 'Output';
|
|
1304
|
+
|
|
1305
|
+
if (isFileList) {
|
|
1306
|
+
const fileLabels = Array.from(new Set(value.map((file) => stringifyRequestValue(file))));
|
|
1307
|
+
|
|
1308
|
+
return (
|
|
1309
|
+
<div className="mt-2 flex flex-wrap items-center gap-1.5">
|
|
1310
|
+
{fileLabels.map((fileLabel) => (
|
|
1311
|
+
<span
|
|
1312
|
+
key={fileLabel}
|
|
1313
|
+
className="rounded-md bg-mixer-muted/15 px-1.5 py-0.5 font-mono text-[11px] text-muted"
|
|
1314
|
+
>
|
|
1315
|
+
{compactInlineText(fileLabel, 64)}
|
|
1316
|
+
</span>
|
|
1317
|
+
))}
|
|
1318
|
+
</div>
|
|
1319
|
+
);
|
|
78
1320
|
}
|
|
79
|
-
return text;
|
|
80
|
-
};
|
|
81
1321
|
|
|
82
|
-
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
1322
|
+
const labelClassName = cn('text-xs font-medium', section.tone === 'error' ? 'text-destructive' : 'text-muted');
|
|
1323
|
+
const content =
|
|
1324
|
+
isPrimitive && !String(value).includes('\n') && String(value).length < 180 ? (
|
|
1325
|
+
<div
|
|
1326
|
+
className={cn(
|
|
1327
|
+
'break-words text-xs',
|
|
1328
|
+
section.tone === 'error' ? 'text-destructive' : 'text-foreground/75',
|
|
1329
|
+
)}
|
|
1330
|
+
>
|
|
1331
|
+
{String(value)}
|
|
1332
|
+
</div>
|
|
1333
|
+
) : (
|
|
1334
|
+
<pre
|
|
1335
|
+
className={cn(
|
|
1336
|
+
'max-h-52 overflow-auto whitespace-pre-wrap rounded-lg px-3 py-2 font-mono text-[11px] leading-relaxed',
|
|
1337
|
+
section.tone === 'error'
|
|
1338
|
+
? 'bg-destructive/5 text-destructive'
|
|
1339
|
+
: 'bg-mixer-muted/10 text-foreground/75',
|
|
1340
|
+
)}
|
|
1341
|
+
>
|
|
1342
|
+
{formatToolSectionValue(value)}
|
|
1343
|
+
</pre>
|
|
1344
|
+
);
|
|
1345
|
+
|
|
1346
|
+
return (
|
|
1347
|
+
<div className="mt-2">
|
|
1348
|
+
{!hideLabel ? <div className={cn('mb-1', labelClassName)}>{section.label}</div> : null}
|
|
1349
|
+
{content}
|
|
1350
|
+
</div>
|
|
1351
|
+
);
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
function getToolPanelTitle(item: SummaryToolDetailItem): string {
|
|
1355
|
+
return item.kind === 'command' ? 'Shell' : item.label;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
function formatToolPrimaryText(item: SummaryToolDetailItem): string {
|
|
1359
|
+
if (item.kind !== 'command') return item.title;
|
|
1360
|
+
const command = item.command || item.title;
|
|
1361
|
+
return command.trim().startsWith('$') ? command : `$ ${command}`;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
function formatToolDetailCopyText(item: SummaryToolDetailItem): string {
|
|
1365
|
+
const parts = [getToolPanelTitle(item), formatToolPrimaryText(item)];
|
|
1366
|
+
if (item.text) parts.push(item.text);
|
|
1367
|
+
|
|
1368
|
+
for (const section of item.sections) {
|
|
1369
|
+
parts.push(`${section.label}\n${formatToolSectionValue(section.value)}`);
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
return parts.filter(Boolean).join('\n\n');
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
async function copyTextToClipboard(text: string): Promise<boolean> {
|
|
1376
|
+
try {
|
|
1377
|
+
if (navigator.clipboard?.writeText) {
|
|
1378
|
+
await navigator.clipboard.writeText(text);
|
|
1379
|
+
return true;
|
|
1380
|
+
}
|
|
1381
|
+
} catch {
|
|
1382
|
+
// Fall back to the older textarea path below.
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
if (typeof document === 'undefined') return false;
|
|
1386
|
+
|
|
1387
|
+
const textarea = document.createElement('textarea');
|
|
1388
|
+
textarea.value = text;
|
|
1389
|
+
textarea.setAttribute('readonly', '');
|
|
1390
|
+
textarea.style.position = 'fixed';
|
|
1391
|
+
textarea.style.insetInlineStart = '-9999px';
|
|
1392
|
+
textarea.style.top = '0';
|
|
1393
|
+
document.body.appendChild(textarea);
|
|
1394
|
+
|
|
1395
|
+
try {
|
|
1396
|
+
textarea.focus();
|
|
1397
|
+
textarea.select();
|
|
1398
|
+
return document.execCommand('copy');
|
|
1399
|
+
} catch {
|
|
1400
|
+
return false;
|
|
1401
|
+
} finally {
|
|
1402
|
+
textarea.remove();
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
function SummaryToolDetailPanel({ item }: { item: SummaryToolDetailItem }) {
|
|
1407
|
+
const copyText = formatToolDetailCopyText(item);
|
|
1408
|
+
const commandText = item.kind === 'command' && item.command ? formatToolPrimaryText(item) : undefined;
|
|
1409
|
+
const fallbackText = !commandText && item.sections.length === 0 ? item.text : undefined;
|
|
1410
|
+
const [copyState, setCopyState] = useState<'idle' | 'copied' | 'failed'>('idle');
|
|
1411
|
+
const copyResetRef = useRef<number | undefined>(undefined);
|
|
1412
|
+
|
|
1413
|
+
useEffect(() => {
|
|
1414
|
+
return () => {
|
|
1415
|
+
if (copyResetRef.current !== undefined) window.clearTimeout(copyResetRef.current);
|
|
1416
|
+
};
|
|
1417
|
+
}, []);
|
|
1418
|
+
|
|
1419
|
+
const copyDetails = () => {
|
|
1420
|
+
void copyTextToClipboard(copyText).then((success) => {
|
|
1421
|
+
setCopyState(success ? 'copied' : 'failed');
|
|
1422
|
+
if (copyResetRef.current !== undefined) window.clearTimeout(copyResetRef.current);
|
|
1423
|
+
copyResetRef.current = window.setTimeout(() => setCopyState('idle'), 2000);
|
|
1424
|
+
});
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
return (
|
|
1428
|
+
<div className="relative mt-2 rounded-lg border border-border/70 bg-mixer-muted/10 p-3 shadow-sm">
|
|
1429
|
+
<div className="absolute end-2 top-2">
|
|
1430
|
+
<button
|
|
1431
|
+
type="button"
|
|
1432
|
+
className={cn(
|
|
1433
|
+
'inline-flex size-7 shrink-0 items-center justify-center rounded-md text-muted opacity-70 transition',
|
|
1434
|
+
'hover:bg-mixer-muted/20 hover:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',
|
|
1435
|
+
copyState === 'copied' && 'text-success opacity-100',
|
|
1436
|
+
copyState === 'failed' && 'text-destructive opacity-100',
|
|
1437
|
+
)}
|
|
1438
|
+
onClick={copyDetails}
|
|
1439
|
+
aria-label="Copy tool details"
|
|
1440
|
+
title="Copy tool details"
|
|
1441
|
+
>
|
|
1442
|
+
{copyState === 'copied' ? <CheckCircle className="size-4" /> : <CopyIcon className="size-4" />}
|
|
1443
|
+
</button>
|
|
1444
|
+
</div>
|
|
1445
|
+
<div className="pe-7">
|
|
1446
|
+
{commandText ? (
|
|
1447
|
+
<pre className="mb-3 whitespace-pre-wrap break-words font-mono text-sm leading-6 text-foreground/85">
|
|
1448
|
+
{commandText}
|
|
1449
|
+
</pre>
|
|
1450
|
+
) : null}
|
|
1451
|
+
{fallbackText ? (
|
|
1452
|
+
<div className="mb-3 break-words text-sm leading-6 text-foreground/75">{fallbackText}</div>
|
|
1453
|
+
) : null}
|
|
1454
|
+
{item.sections.length > 0 ? (
|
|
1455
|
+
<div className="space-y-3">
|
|
1456
|
+
{item.sections.map((section) => (
|
|
1457
|
+
<ToolDetailSection key={section.key} section={section} />
|
|
1458
|
+
))}
|
|
1459
|
+
</div>
|
|
1460
|
+
) : null}
|
|
1461
|
+
</div>
|
|
1462
|
+
{copyState === 'failed' ? <div className="mt-3 text-xs text-destructive">Copy failed</div> : null}
|
|
1463
|
+
</div>
|
|
1464
|
+
);
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
function SummaryToolTimelineItem({ item }: { item: SummaryToolDetailItem }) {
|
|
1468
|
+
const isAttention = item.status === 'error' || item.status === 'warning';
|
|
1469
|
+
const hasDetails = Boolean(item.command || item.text || item.sections.length);
|
|
1470
|
+
const [isExpanded, setIsExpanded] = useState(false);
|
|
1471
|
+
|
|
1472
|
+
return (
|
|
1473
|
+
<div className="min-w-0">
|
|
1474
|
+
<button
|
|
1475
|
+
type="button"
|
|
1476
|
+
className={cn(
|
|
1477
|
+
'grid w-full grid-cols-[1.5rem_1fr_auto] gap-2 text-start outline-none transition-colors',
|
|
1478
|
+
'focus-visible:text-foreground focus-visible:underline focus-visible:underline-offset-4',
|
|
1479
|
+
hasDetails ? 'cursor-pointer hover:text-foreground' : 'cursor-default',
|
|
1480
|
+
)}
|
|
1481
|
+
onClick={() => hasDetails && setIsExpanded((current) => !current)}
|
|
1482
|
+
aria-expanded={hasDetails ? isExpanded : undefined}
|
|
1483
|
+
disabled={!hasDetails}
|
|
1484
|
+
>
|
|
1485
|
+
<span
|
|
1486
|
+
className={cn(
|
|
1487
|
+
'flex size-5 items-center justify-center pt-0.5',
|
|
1488
|
+
isAttention ? 'text-attention' : 'text-muted',
|
|
1489
|
+
)}
|
|
1490
|
+
>
|
|
1491
|
+
<ToolDetailIcon kind={item.kind} status={item.status} />
|
|
1492
|
+
</span>
|
|
1493
|
+
<span className="flex min-w-0 flex-wrap items-baseline gap-x-2 gap-y-0.5">
|
|
1494
|
+
<span className="text-sm font-medium text-muted">{item.label}</span>
|
|
1495
|
+
<span className="min-w-0 break-words text-sm text-muted">{item.title}</span>
|
|
1496
|
+
</span>
|
|
1497
|
+
{hasDetails ? (
|
|
1498
|
+
<ChevronDown
|
|
1499
|
+
className={cn(
|
|
1500
|
+
'mt-0.5 size-4 shrink-0 text-muted opacity-50 transition-transform',
|
|
1501
|
+
!isExpanded && '-rotate-90',
|
|
1502
|
+
)}
|
|
1503
|
+
aria-hidden="true"
|
|
1504
|
+
/>
|
|
1505
|
+
) : null}
|
|
1506
|
+
</button>
|
|
1507
|
+
{hasDetails && isExpanded ? (
|
|
1508
|
+
<div className="mt-1">
|
|
1509
|
+
<SummaryToolDetailPanel item={item} />
|
|
1510
|
+
</div>
|
|
1511
|
+
) : null}
|
|
1512
|
+
</div>
|
|
1513
|
+
);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
function SummaryThoughtTimelineItem({ item, artifactRunId }: { item: SummaryToolDetailItem; artifactRunId?: string }) {
|
|
1517
|
+
const text = item.text ?? item.title;
|
|
1518
|
+
|
|
1519
|
+
return (
|
|
1520
|
+
<div className="min-w-0 py-1 text-sm leading-6 text-foreground/85">
|
|
1521
|
+
<div className={SUMMARY_PROSE_CLASS} style={{ overflowWrap: 'anywhere' }}>
|
|
1522
|
+
<MarkdownRenderer artifactRunId={artifactRunId} components={DEFAULT_AGENT_MARKDOWN_COMPONENTS}>
|
|
1523
|
+
{text}
|
|
1524
|
+
</MarkdownRenderer>
|
|
1525
|
+
</div>
|
|
1526
|
+
</div>
|
|
1527
|
+
);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
function SummaryToolTimeline({ items, artifactRunId }: { items: SummaryToolDetailItem[]; artifactRunId?: string }) {
|
|
1531
|
+
return (
|
|
1532
|
+
<div className="mt-3">
|
|
1533
|
+
<div className="space-y-3">
|
|
1534
|
+
{items.map((item) =>
|
|
1535
|
+
item.kind === 'think' ? (
|
|
1536
|
+
<SummaryThoughtTimelineItem key={item.key} item={item} artifactRunId={artifactRunId} />
|
|
1537
|
+
) : (
|
|
1538
|
+
<SummaryToolTimelineItem key={item.key} item={item} />
|
|
1539
|
+
),
|
|
1540
|
+
)}
|
|
1541
|
+
</div>
|
|
1542
|
+
</div>
|
|
1543
|
+
);
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
function SummaryStreamingMessage({
|
|
1547
|
+
text,
|
|
1548
|
+
artifactRunId,
|
|
1549
|
+
workstreamId,
|
|
1550
|
+
}: {
|
|
1551
|
+
text: string;
|
|
1552
|
+
artifactRunId?: string;
|
|
1553
|
+
workstreamId?: string;
|
|
1554
|
+
}) {
|
|
1555
|
+
return (
|
|
1556
|
+
<div className="mx-auto w-full max-w-3xl px-1" data-workstream-id={workstreamId}>
|
|
1557
|
+
<div className={SUMMARY_PROSE_CLASS} style={{ overflowWrap: 'anywhere' }}>
|
|
1558
|
+
<MarkdownRenderer artifactRunId={artifactRunId} components={DEFAULT_AGENT_MARKDOWN_COMPONENTS}>
|
|
1559
|
+
{text}
|
|
1560
|
+
</MarkdownRenderer>
|
|
1561
|
+
</div>
|
|
1562
|
+
</div>
|
|
1563
|
+
);
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
function SummaryActivityRow({
|
|
1567
|
+
label,
|
|
1568
|
+
status,
|
|
1569
|
+
timestamp,
|
|
1570
|
+
durationSeconds,
|
|
1571
|
+
showElapsed,
|
|
1572
|
+
details,
|
|
1573
|
+
emptyDetailsLabel,
|
|
1574
|
+
defaultExpanded = false,
|
|
1575
|
+
className,
|
|
1576
|
+
artifactRunId,
|
|
1577
|
+
}: {
|
|
1578
|
+
label: string;
|
|
1579
|
+
status?: ToolExecutionStatus;
|
|
1580
|
+
timestamp?: number | string;
|
|
1581
|
+
durationSeconds?: number;
|
|
1582
|
+
showElapsed?: boolean;
|
|
1583
|
+
details?: AgentMessage[];
|
|
1584
|
+
emptyDetailsLabel?: string;
|
|
1585
|
+
defaultExpanded?: boolean;
|
|
1586
|
+
className?: string;
|
|
1587
|
+
artifactRunId?: string;
|
|
1588
|
+
}) {
|
|
1589
|
+
const [isExpanded, setIsExpanded] = useState(defaultExpanded);
|
|
1590
|
+
const isLiveElapsed = showElapsed && durationSeconds === undefined;
|
|
1591
|
+
const liveElapsed = useLiveElapsedSeconds(timestamp, isLiveElapsed);
|
|
1592
|
+
const elapsed = durationSeconds ?? liveElapsed;
|
|
1593
|
+
const shouldShowElapsed = showElapsed && timestamp !== undefined;
|
|
1594
|
+
const isAttention = status === 'error' || status === 'warning';
|
|
1595
|
+
const detailItems = useMemo(() => buildSummaryToolDetailItems(details ?? []), [details]);
|
|
1596
|
+
const canExpand = detailItems.length > 0 || Boolean(emptyDetailsLabel);
|
|
1597
|
+
|
|
1598
|
+
return (
|
|
1599
|
+
<div className={cn('mx-auto w-full max-w-3xl px-1', className)}>
|
|
1600
|
+
<div
|
|
1601
|
+
className={cn('border-b border-border/70 pb-3 text-sm', isAttention ? 'text-attention' : 'text-muted')}
|
|
1602
|
+
>
|
|
1603
|
+
<button
|
|
1604
|
+
type="button"
|
|
1605
|
+
className={cn(
|
|
1606
|
+
'inline-flex max-w-full items-center gap-2 text-start outline-none',
|
|
1607
|
+
'focus-visible:text-foreground focus-visible:underline focus-visible:underline-offset-4',
|
|
1608
|
+
canExpand ? 'cursor-pointer hover:text-foreground' : 'cursor-default',
|
|
1609
|
+
)}
|
|
1610
|
+
onClick={() => canExpand && setIsExpanded((current) => !current)}
|
|
1611
|
+
aria-expanded={canExpand ? isExpanded : undefined}
|
|
1612
|
+
disabled={!canExpand}
|
|
1613
|
+
>
|
|
1614
|
+
<span className="min-w-0 truncate font-medium">{label}</span>
|
|
1615
|
+
{shouldShowElapsed ? (
|
|
1616
|
+
<span className="shrink-0 text-muted/75">for {formatDuration(elapsed)}</span>
|
|
1617
|
+
) : null}
|
|
1618
|
+
{canExpand ? (
|
|
1619
|
+
isExpanded ? (
|
|
1620
|
+
<ChevronDown className="size-4 shrink-0 opacity-50" />
|
|
1621
|
+
) : (
|
|
1622
|
+
<ChevronRight className="size-4 shrink-0 opacity-50" />
|
|
1623
|
+
)
|
|
1624
|
+
) : null}
|
|
1625
|
+
</button>
|
|
1626
|
+
{canExpand && isExpanded ? (
|
|
1627
|
+
detailItems.length > 0 ? (
|
|
1628
|
+
<SummaryToolTimeline items={detailItems} artifactRunId={artifactRunId} />
|
|
1629
|
+
) : (
|
|
1630
|
+
<div className="mt-3 flex items-center gap-2 text-sm text-muted">
|
|
1631
|
+
<Terminal className="size-4 opacity-70" aria-hidden="true" />
|
|
1632
|
+
<span>{emptyDetailsLabel}</span>
|
|
1633
|
+
</div>
|
|
1634
|
+
)
|
|
1635
|
+
) : null}
|
|
1636
|
+
</div>
|
|
1637
|
+
</div>
|
|
1638
|
+
);
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
function TimelineEntry({ children, status }: { children: React.ReactNode; status?: ToolExecutionStatus | 'message' }) {
|
|
1642
|
+
const dotClass =
|
|
1643
|
+
status === 'error'
|
|
1644
|
+
? 'bg-destructive'
|
|
1645
|
+
: status === 'warning'
|
|
1646
|
+
? 'bg-attention'
|
|
1647
|
+
: status === 'completed'
|
|
1648
|
+
? 'bg-success'
|
|
1649
|
+
: 'bg-muted';
|
|
1650
|
+
|
|
1651
|
+
return (
|
|
1652
|
+
<div className="relative ps-7">
|
|
1653
|
+
<div className="absolute start-2 top-0 bottom-0 w-px bg-border" />
|
|
1654
|
+
<div className={cn('absolute start-[5px] top-4 size-2.5 rounded-full ring-4 ring-background', dotClass)} />
|
|
1655
|
+
{children}
|
|
1656
|
+
</div>
|
|
1657
|
+
);
|
|
1658
|
+
}
|
|
86
1659
|
|
|
87
1660
|
// Error boundary to catch and isolate errors in individual message components
|
|
88
1661
|
// Note: Markdown parsing errors are handled internally by MarkdownRenderer,
|
|
89
1662
|
// so this mainly catches other component errors (e.g., artifact loading, charts)
|
|
90
|
-
class MessageErrorBoundary extends Component<
|
|
91
|
-
{ children: ReactNode },
|
|
92
|
-
{ hasError: boolean; error?: Error }
|
|
93
|
-
> {
|
|
1663
|
+
class MessageErrorBoundary extends Component<{ children: ReactNode }, { hasError: boolean; error?: Error }> {
|
|
94
1664
|
constructor(props: { children: ReactNode }) {
|
|
95
1665
|
super(props);
|
|
96
1666
|
this.state = { hasError: false };
|
|
@@ -112,11 +1682,11 @@ class MessageErrorBoundary extends Component<
|
|
|
112
1682
|
render() {
|
|
113
1683
|
if (this.state.hasError) {
|
|
114
1684
|
return (
|
|
115
|
-
<div className="border-
|
|
116
|
-
<p className="text-sm text-destructive font-medium">
|
|
117
|
-
|
|
118
|
-
{this.state.error?.message || 'Unknown error'}
|
|
1685
|
+
<div className="border-s-4 border-s-destructive bg-destructive/10 px-4 py-2 my-2 rounded-e">
|
|
1686
|
+
<p className="text-sm text-destructive font-medium">
|
|
1687
|
+
{i18nInstance.getFixedT(null, NAMESPACE)('agent.failedToRenderMessage')}
|
|
119
1688
|
</p>
|
|
1689
|
+
<p className="text-xs text-muted mt-1 truncate">{this.state.error?.message || 'Unknown error'}</p>
|
|
120
1690
|
</div>
|
|
121
1691
|
);
|
|
122
1692
|
}
|
|
@@ -133,7 +1703,7 @@ interface AllMessagesMixedProps {
|
|
|
133
1703
|
workstreamStatus?: Map<string, 'pending' | 'in_progress' | 'completed'>;
|
|
134
1704
|
showPlanPanel?: boolean;
|
|
135
1705
|
onTogglePlanPanel?: () => void;
|
|
136
|
-
plans?: Array<{ plan: Plan
|
|
1706
|
+
plans?: Array<{ plan: Plan; timestamp: number }>;
|
|
137
1707
|
activePlanIndex?: number;
|
|
138
1708
|
onChangePlan?: (index: number) => void;
|
|
139
1709
|
taskLabels?: Map<string, string>; // Maps task IDs to more descriptive labels
|
|
@@ -166,8 +1736,20 @@ interface AllMessagesMixedProps {
|
|
|
166
1736
|
/** Optional message to display as the first user message in the conversation.
|
|
167
1737
|
* Purely visual/UI — not sent to temporal. Renders as a QUESTION MessageItem before real messages. */
|
|
168
1738
|
prependFriendlyMessage?: string;
|
|
1739
|
+
/** Optional structured request data to render as the first user entry in Summary/Details. */
|
|
1740
|
+
initialRequestData?: unknown;
|
|
1741
|
+
/** Optional schema used to turn structured request data into a readable first entry. */
|
|
1742
|
+
initialRequestSchema?: JSONSchema | null;
|
|
1743
|
+
/** Optional title for the structured request renderer. */
|
|
1744
|
+
initialRequestTitle?: string;
|
|
1745
|
+
/** Optional caller-provided renderer for agent-specific request shapes. */
|
|
1746
|
+
initialRequestTemplate?: AgentInitialRequestTemplate;
|
|
169
1747
|
/** Message types to exclude from the conversation view */
|
|
170
1748
|
hiddenMessageTypes?: AgentMessageType[];
|
|
1749
|
+
/** Test/playback mode: keep the current scroll position while the rendered message slice changes. */
|
|
1750
|
+
disableAutoScroll?: boolean;
|
|
1751
|
+
/** Whether REQUEST_INPUT messages render their active controls in the transcript. */
|
|
1752
|
+
renderRequestInputControls?: boolean;
|
|
171
1753
|
}
|
|
172
1754
|
|
|
173
1755
|
// PERFORMANCE: Throttle interval for auto-scroll (ms)
|
|
@@ -180,7 +1762,6 @@ function AllMessagesMixedComponent({
|
|
|
180
1762
|
isCompleted = false,
|
|
181
1763
|
streamingMessages = new Map(),
|
|
182
1764
|
onSendMessage,
|
|
183
|
-
thinkingMessageIndex = 0,
|
|
184
1765
|
messageItemClassNames,
|
|
185
1766
|
messageStyleOverrides,
|
|
186
1767
|
toolCallGroupClassNames,
|
|
@@ -194,7 +1775,13 @@ function AllMessagesMixedComponent({
|
|
|
194
1775
|
StoreLinkComponent,
|
|
195
1776
|
CollectionLinkComponent,
|
|
196
1777
|
prependFriendlyMessage,
|
|
1778
|
+
initialRequestData,
|
|
1779
|
+
initialRequestSchema,
|
|
1780
|
+
initialRequestTitle,
|
|
1781
|
+
initialRequestTemplate,
|
|
197
1782
|
hiddenMessageTypes,
|
|
1783
|
+
disableAutoScroll = false,
|
|
1784
|
+
renderRequestInputControls = true,
|
|
198
1785
|
}: AllMessagesMixedProps) {
|
|
199
1786
|
if (!artifactRunId) {
|
|
200
1787
|
console.warn('[AllMessagesMixed] artifactRunId prop is missing!');
|
|
@@ -202,7 +1789,7 @@ function AllMessagesMixedComponent({
|
|
|
202
1789
|
|
|
203
1790
|
const { t } = useUITranslation();
|
|
204
1791
|
const containerRef = useRef<HTMLDivElement | null>(null);
|
|
205
|
-
const [activeWorkstream, setActiveWorkstream] = useState<string>(
|
|
1792
|
+
const [activeWorkstream, setActiveWorkstream] = useState<string>('all');
|
|
206
1793
|
|
|
207
1794
|
// PERFORMANCE: Throttle auto-scroll to prevent layout thrashing
|
|
208
1795
|
// During streaming, scrollIntoView was being called 30+ times/sec
|
|
@@ -215,6 +1802,7 @@ function AllMessagesMixedComponent({
|
|
|
215
1802
|
const programmaticScrollRef = useRef<boolean>(false);
|
|
216
1803
|
|
|
217
1804
|
const isStreaming = streamingMessages.size > 0;
|
|
1805
|
+
const isSummaryView = viewMode === 'sliding';
|
|
218
1806
|
|
|
219
1807
|
// Detect user scroll: if they scroll away from the bottom, stop auto-scrolling.
|
|
220
1808
|
// Re-enable auto-scroll when they scroll back near the bottom.
|
|
@@ -251,7 +1839,7 @@ function AllMessagesMixedComponent({
|
|
|
251
1839
|
const performScroll = useCallback(() => {
|
|
252
1840
|
if (bottomRef.current) {
|
|
253
1841
|
programmaticScrollRef.current = true;
|
|
254
|
-
bottomRef.current.scrollIntoView({ behavior: isStreaming ?
|
|
1842
|
+
bottomRef.current.scrollIntoView({ behavior: isStreaming ? 'instant' : 'smooth' });
|
|
255
1843
|
lastScrollTimeRef.current = Date.now();
|
|
256
1844
|
// Reset the programmatic flag after the browser processes the scroll
|
|
257
1845
|
requestAnimationFrame(() => {
|
|
@@ -265,6 +1853,10 @@ function AllMessagesMixedComponent({
|
|
|
265
1853
|
// Throttled to max 10 scrolls/sec to prevent layout thrashing
|
|
266
1854
|
// Skipped when the user has manually scrolled up to read earlier content
|
|
267
1855
|
useEffect(() => {
|
|
1856
|
+
void messages.length;
|
|
1857
|
+
void streamingMessages.size;
|
|
1858
|
+
void streamingContentBucket;
|
|
1859
|
+
if (disableAutoScroll) return;
|
|
268
1860
|
// Respect user's scroll position — don't yank them back to the bottom
|
|
269
1861
|
if (userScrolledUpRef.current) return;
|
|
270
1862
|
|
|
@@ -287,38 +1879,35 @@ function AllMessagesMixedComponent({
|
|
|
287
1879
|
scrollScheduledRef.current = null;
|
|
288
1880
|
}
|
|
289
1881
|
};
|
|
290
|
-
}, [messages.length, streamingMessages.size, streamingContentBucket, performScroll]);
|
|
1882
|
+
}, [messages.length, streamingMessages.size, streamingContentBucket, performScroll, disableAutoScroll]);
|
|
291
1883
|
|
|
292
1884
|
// Sort all messages chronologically and dedupe adjacent identical messages
|
|
293
1885
|
// Low-signal messages are suppressed at the source (server-side) via shouldSuppressLowSignalMessage
|
|
294
|
-
const sortedMessages = React.useMemo(
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
});
|
|
1886
|
+
const sortedMessages = React.useMemo(() => {
|
|
1887
|
+
const filtered = hiddenMessageTypes?.length
|
|
1888
|
+
? messages.filter((m) => !hiddenMessageTypes.includes(m.type))
|
|
1889
|
+
: messages;
|
|
1890
|
+
|
|
1891
|
+
const sorted = [...filtered].sort((a, b) => {
|
|
1892
|
+
const timeA = typeof a.timestamp === 'number' ? a.timestamp : new Date(a.timestamp).getTime();
|
|
1893
|
+
const timeB = typeof b.timestamp === 'number' ? b.timestamp : new Date(b.timestamp).getTime();
|
|
1894
|
+
return timeA - timeB;
|
|
1895
|
+
});
|
|
305
1896
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
1897
|
+
const deduped: AgentMessage[] = [];
|
|
1898
|
+
for (const msg of sorted) {
|
|
1899
|
+
const previous = deduped[deduped.length - 1];
|
|
1900
|
+
if (previous && shouldCollapseAdjacentRenderedMessage(previous, msg)) {
|
|
1901
|
+
continue;
|
|
1902
|
+
}
|
|
312
1903
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
deduped.push(msg);
|
|
1904
|
+
if (previous && shouldDedupeAdjacentCompletedToolMessage(previous, msg)) {
|
|
1905
|
+
continue;
|
|
317
1906
|
}
|
|
318
|
-
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
);
|
|
1907
|
+
deduped.push(msg);
|
|
1908
|
+
}
|
|
1909
|
+
return deduped;
|
|
1910
|
+
}, [messages, hiddenMessageTypes]);
|
|
322
1911
|
|
|
323
1912
|
// Get workstreams from messages - only from message.workstream_id
|
|
324
1913
|
const workstreams = React.useMemo(() => {
|
|
@@ -334,16 +1923,16 @@ function AllMessagesMixedComponent({
|
|
|
334
1923
|
// Count messages per workstream
|
|
335
1924
|
const workstreamCounts = React.useMemo(() => {
|
|
336
1925
|
const counts = new Map<string, number>();
|
|
337
|
-
counts.set(
|
|
1926
|
+
counts.set('all', sortedMessages.length);
|
|
338
1927
|
|
|
339
1928
|
// Count main messages
|
|
340
|
-
const mainMessages = filterMessagesByWorkstream(sortedMessages,
|
|
341
|
-
counts.set(
|
|
1929
|
+
const mainMessages = filterMessagesByWorkstream(sortedMessages, 'main');
|
|
1930
|
+
counts.set('main', mainMessages.length);
|
|
342
1931
|
|
|
343
1932
|
// Count other workstreams
|
|
344
1933
|
sortedMessages.forEach((msg) => {
|
|
345
1934
|
const workstreamId = getWorkstreamId(msg);
|
|
346
|
-
if (workstreamId !==
|
|
1935
|
+
if (workstreamId !== 'main') {
|
|
347
1936
|
counts.set(workstreamId, (counts.get(workstreamId) || 0) + 1);
|
|
348
1937
|
}
|
|
349
1938
|
});
|
|
@@ -353,17 +1942,54 @@ function AllMessagesMixedComponent({
|
|
|
353
1942
|
|
|
354
1943
|
// Filter messages based on active workstream
|
|
355
1944
|
const displayMessages = React.useMemo(() => {
|
|
356
|
-
if (activeWorkstream ===
|
|
1945
|
+
if (activeWorkstream === 'all') {
|
|
357
1946
|
return sortedMessages;
|
|
358
1947
|
}
|
|
359
1948
|
return filterMessagesByWorkstream(sortedMessages, activeWorkstream);
|
|
360
1949
|
}, [sortedMessages, activeWorkstream]);
|
|
361
1950
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
1951
|
+
const answeredRequestInputKeys = React.useMemo(
|
|
1952
|
+
() => getAnsweredRequestInputKeys(displayMessages),
|
|
1953
|
+
[displayMessages],
|
|
1954
|
+
);
|
|
1955
|
+
const externallyRenderedRequestInputKey = React.useMemo(() => {
|
|
1956
|
+
if (renderRequestInputControls) return undefined;
|
|
1957
|
+
const pendingRequestInput = getPendingRequestInputMessage(displayMessages);
|
|
1958
|
+
return pendingRequestInput ? getRequestInputMessageKey(pendingRequestInput) : undefined;
|
|
1959
|
+
}, [displayMessages, renderRequestInputControls]);
|
|
1960
|
+
const shouldHideRequestInputMessage = React.useCallback(
|
|
1961
|
+
(message: AgentMessage) =>
|
|
1962
|
+
message.type === AgentMessageType.REQUEST_INPUT &&
|
|
1963
|
+
externallyRenderedRequestInputKey === getRequestInputMessageKey(message),
|
|
1964
|
+
[externallyRenderedRequestInputKey],
|
|
1965
|
+
);
|
|
1966
|
+
|
|
1967
|
+
const fallbackWorkingStartedAtRef = useRef(Date.now());
|
|
1968
|
+
const hasInitialRequest =
|
|
1969
|
+
Boolean(prependFriendlyMessage?.trim()) ||
|
|
1970
|
+
hasInitialRequestValue(initialRequestData) ||
|
|
1971
|
+
initialRequestTemplate !== undefined;
|
|
1972
|
+
const hasPersistedUserQuestion = useMemo(
|
|
1973
|
+
() => displayMessages.some((message) => message.type === AgentMessageType.QUESTION),
|
|
1974
|
+
[displayMessages],
|
|
366
1975
|
);
|
|
1976
|
+
const shouldRenderInitialRequest = hasInitialRequest && !hasPersistedUserQuestion;
|
|
1977
|
+
|
|
1978
|
+
const latestDisplayMessageTimestamp = useMemo(() => {
|
|
1979
|
+
return displayMessages.reduce((latest, msg) => Math.max(latest, getTimestampMs(msg.timestamp)), -Infinity);
|
|
1980
|
+
}, [displayMessages]);
|
|
1981
|
+
|
|
1982
|
+
const latestNonTransientDisplayMessageTimestamp = useMemo(() => {
|
|
1983
|
+
return displayMessages.reduce((latest, msg) => {
|
|
1984
|
+
if (isTransientThinkingMessage(msg)) return latest;
|
|
1985
|
+
return Math.max(latest, getTimestampMs(msg.timestamp));
|
|
1986
|
+
}, -Infinity);
|
|
1987
|
+
}, [displayMessages]);
|
|
1988
|
+
|
|
1989
|
+
const isDisplayCompleted = useMemo(() => {
|
|
1990
|
+
if (hasOpenUserTurn(displayMessages)) return false;
|
|
1991
|
+
return isCompleted || !isInProgress(displayMessages);
|
|
1992
|
+
}, [displayMessages, isCompleted]);
|
|
367
1993
|
|
|
368
1994
|
// Split streaming messages:
|
|
369
1995
|
// - complete (or stale incomplete) ones are interleaved chronologically
|
|
@@ -373,22 +1999,16 @@ function AllMessagesMixedComponent({
|
|
|
373
1999
|
const { completeStreaming, incompleteStreaming } = React.useMemo(() => {
|
|
374
2000
|
const complete = new Map<string, StreamingData>();
|
|
375
2001
|
const incomplete: Array<{ id: string; data: StreamingData }> = [];
|
|
376
|
-
const newestMessageTimestamp = displayMessages.length > 0
|
|
377
|
-
? Math.max(...displayMessages.map(msg =>
|
|
378
|
-
typeof msg.timestamp === "number" ? msg.timestamp : new Date(msg.timestamp).getTime()
|
|
379
|
-
))
|
|
380
|
-
: -Infinity;
|
|
381
|
-
|
|
382
2002
|
streamingMessages.forEach((data, id) => {
|
|
383
2003
|
// Filter by workstream if specified
|
|
384
|
-
if (activeWorkstream && activeWorkstream !==
|
|
385
|
-
const streamWorkstream = data.workstreamId ||
|
|
2004
|
+
if (activeWorkstream && activeWorkstream !== 'all') {
|
|
2005
|
+
const streamWorkstream = data.workstreamId || 'main';
|
|
386
2006
|
if (activeWorkstream !== streamWorkstream) return;
|
|
387
2007
|
}
|
|
388
2008
|
|
|
389
2009
|
// If a newer persisted message exists, this stream is stale and should be
|
|
390
2010
|
// treated as complete for ordering purposes.
|
|
391
|
-
const isStale = data.startTimestamp <=
|
|
2011
|
+
const isStale = data.startTimestamp <= latestNonTransientDisplayMessageTimestamp;
|
|
392
2012
|
if (isStale) {
|
|
393
2013
|
// Only interleave chronologically when a newer persisted message
|
|
394
2014
|
// already exists — the streaming message is truly historical.
|
|
@@ -401,32 +2021,81 @@ function AllMessagesMixedComponent({
|
|
|
401
2021
|
});
|
|
402
2022
|
|
|
403
2023
|
return { completeStreaming: complete, incompleteStreaming: incomplete };
|
|
404
|
-
}, [streamingMessages, activeWorkstream,
|
|
2024
|
+
}, [streamingMessages, activeWorkstream, latestNonTransientDisplayMessageTimestamp]);
|
|
405
2025
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
2026
|
+
const summaryDisplayMessages = React.useMemo(
|
|
2027
|
+
() => buildSummaryDisplayMessages(displayMessages, completeStreaming),
|
|
2028
|
+
[displayMessages, completeStreaming],
|
|
2029
|
+
);
|
|
2030
|
+
|
|
2031
|
+
const latestSummaryObservedTimestamp = useMemo(() => {
|
|
2032
|
+
const hasVisibleLiveStream = incompleteStreaming.some(({ data }) => data.text.trim().length > 0);
|
|
2033
|
+
if (hasVisibleLiveStream) return Number.POSITIVE_INFINITY;
|
|
2034
|
+
|
|
2035
|
+
const latestStreamingTimestamp = incompleteStreaming.reduce(
|
|
2036
|
+
(latest, { data }) => Math.max(latest, data.startTimestamp),
|
|
2037
|
+
-Infinity,
|
|
2038
|
+
);
|
|
2039
|
+
return Math.max(latestDisplayMessageTimestamp, latestStreamingTimestamp);
|
|
2040
|
+
}, [incompleteStreaming, latestDisplayMessageTimestamp]);
|
|
2041
|
+
|
|
2042
|
+
const summaryConversationItems = React.useMemo(
|
|
2043
|
+
() => buildSummaryConversationItems(summaryDisplayMessages, isDisplayCompleted, latestSummaryObservedTimestamp),
|
|
2044
|
+
[summaryDisplayMessages, isDisplayCompleted, latestSummaryObservedTimestamp],
|
|
412
2045
|
);
|
|
413
2046
|
|
|
414
|
-
// Group
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
2047
|
+
// Group messages with ONLY complete streaming interleaved for stacked view.
|
|
2048
|
+
// Incomplete streaming is rendered separately at the end (avoids re-grouping on every chunk).
|
|
2049
|
+
// Assistant prose stays as its own timeline item so thoughts remain visible between tool calls.
|
|
2050
|
+
const groupedMessages = React.useMemo(
|
|
2051
|
+
() =>
|
|
2052
|
+
mergeConsecutiveToolGroups(
|
|
2053
|
+
groupMessagesWithStreaming(displayMessages, completeStreaming, activeWorkstream),
|
|
2054
|
+
),
|
|
2055
|
+
[displayMessages, completeStreaming, activeWorkstream],
|
|
418
2056
|
);
|
|
419
2057
|
|
|
420
|
-
// Show
|
|
2058
|
+
// Show an activity indicator when the latest visible conversation state is not terminal.
|
|
2059
|
+
// Older idle/complete messages from previous turns must not suppress the new turn.
|
|
421
2060
|
const isAgentWorking = useMemo(() => {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
2061
|
+
return !isDisplayCompleted;
|
|
2062
|
+
}, [isDisplayCompleted]);
|
|
2063
|
+
|
|
2064
|
+
const showActivityFallback = shouldShowSummaryActivityFallback(
|
|
2065
|
+
summaryConversationItems,
|
|
2066
|
+
isAgentWorking,
|
|
2067
|
+
incompleteStreaming.length > 0,
|
|
2068
|
+
);
|
|
2069
|
+
const summaryActivityFallbackLabel = isInitialSummaryActivityFallback(summaryConversationItems)
|
|
2070
|
+
? t('agent.preparing')
|
|
2071
|
+
: t('agent.working');
|
|
2072
|
+
const showInitialRequestWaitingCard =
|
|
2073
|
+
displayMessages.length === 0 && hasInitialRequest && isAgentWorking && incompleteStreaming.length === 0;
|
|
2074
|
+
const activityAnchorCandidate = useMemo(
|
|
2075
|
+
() =>
|
|
2076
|
+
getSummaryActivityAnchorTimestamp(
|
|
2077
|
+
summaryConversationItems,
|
|
2078
|
+
summaryDisplayMessages,
|
|
2079
|
+
fallbackWorkingStartedAtRef.current,
|
|
2080
|
+
),
|
|
2081
|
+
[summaryConversationItems, summaryDisplayMessages],
|
|
2082
|
+
);
|
|
2083
|
+
const activityStartedTimestampRef = useRef<number | string>(activityAnchorCandidate);
|
|
2084
|
+
const wasActivityFallbackVisibleRef = useRef(false);
|
|
2085
|
+
const activityStartedTimestamp = useMemo(() => {
|
|
2086
|
+
if (!showActivityFallback) return activityAnchorCandidate;
|
|
2087
|
+
const candidateMs = getTimestampMs(activityAnchorCandidate);
|
|
2088
|
+
const currentMs = getTimestampMs(activityStartedTimestampRef.current);
|
|
2089
|
+
if (!wasActivityFallbackVisibleRef.current || candidateMs < currentMs) {
|
|
2090
|
+
return activityAnchorCandidate;
|
|
2091
|
+
}
|
|
2092
|
+
return activityStartedTimestampRef.current;
|
|
2093
|
+
}, [activityAnchorCandidate, showActivityFallback]);
|
|
2094
|
+
|
|
2095
|
+
useEffect(() => {
|
|
2096
|
+
activityStartedTimestampRef.current = activityStartedTimestamp;
|
|
2097
|
+
wasActivityFallbackVisibleRef.current = showActivityFallback;
|
|
2098
|
+
}, [activityStartedTimestamp, showActivityFallback]);
|
|
430
2099
|
|
|
431
2100
|
// Determine completion status for each workstream
|
|
432
2101
|
const workstreamCompletionStatus = useMemo(() => {
|
|
@@ -435,7 +2104,7 @@ function AllMessagesMixedComponent({
|
|
|
435
2104
|
// Group messages by workstream
|
|
436
2105
|
const workstreamMessages = new Map<string, AgentMessage[]>();
|
|
437
2106
|
|
|
438
|
-
sortedMessages.forEach(message => {
|
|
2107
|
+
sortedMessages.forEach((message) => {
|
|
439
2108
|
const workstreamId = getWorkstreamId(message);
|
|
440
2109
|
if (!workstreamMessages.has(workstreamId)) {
|
|
441
2110
|
workstreamMessages.set(workstreamId, []);
|
|
@@ -446,14 +2115,23 @@ function AllMessagesMixedComponent({
|
|
|
446
2115
|
// Check if each workstream is completed
|
|
447
2116
|
for (const [workstreamId, msgs] of workstreamMessages.entries()) {
|
|
448
2117
|
if (msgs.length > 0) {
|
|
449
|
-
const isCompleted = msgs.some(m => {
|
|
450
|
-
if (
|
|
2118
|
+
const isCompleted = msgs.some((m) => {
|
|
2119
|
+
if (
|
|
2120
|
+
[
|
|
2121
|
+
AgentMessageType.COMPLETE,
|
|
2122
|
+
AgentMessageType.IDLE,
|
|
2123
|
+
AgentMessageType.REQUEST_INPUT,
|
|
2124
|
+
AgentMessageType.TERMINATED,
|
|
2125
|
+
].includes(m.type)
|
|
2126
|
+
) {
|
|
451
2127
|
return true;
|
|
452
2128
|
}
|
|
453
2129
|
// Workstream completion is sent as UPDATE with workstream_event: 'completed' or status: 'completed'/'canceled'
|
|
454
2130
|
if (m.type === AgentMessageType.UPDATE && m.details) {
|
|
455
2131
|
const d = m.details as Record<string, unknown>;
|
|
456
|
-
return
|
|
2132
|
+
return (
|
|
2133
|
+
d.workstream_event === 'completed' || d.status === 'completed' || d.status === 'canceled'
|
|
2134
|
+
);
|
|
457
2135
|
}
|
|
458
2136
|
return false;
|
|
459
2137
|
});
|
|
@@ -467,9 +2145,13 @@ function AllMessagesMixedComponent({
|
|
|
467
2145
|
return (
|
|
468
2146
|
<div
|
|
469
2147
|
ref={containerRef}
|
|
2148
|
+
// biome-ignore lint/a11y/noNoninteractiveTabindex: scrollable message log needs to accept keyboard focus for arrow-key navigation
|
|
470
2149
|
tabIndex={0}
|
|
471
2150
|
className="flex-1 min-h-0 h-full w-full max-w-full overflow-y-auto overflow-x-hidden px-1.5 sm:px-2.5 lg:px-3 flex flex-col relative focus:outline-none"
|
|
472
2151
|
data-testid="all-messages-mixed"
|
|
2152
|
+
data-message-count={messages.length}
|
|
2153
|
+
data-streaming-count={streamingMessages.size}
|
|
2154
|
+
data-view-mode={viewMode}
|
|
473
2155
|
>
|
|
474
2156
|
{/* Global styles for vprose markdown content */}
|
|
475
2157
|
<style>{`
|
|
@@ -482,41 +2164,44 @@ function AllMessagesMixedComponent({
|
|
|
482
2164
|
.vprose > h3 + * {
|
|
483
2165
|
margin-top: 0.375rem;
|
|
484
2166
|
}
|
|
485
|
-
/* Tables
|
|
2167
|
+
/* Tables should read like part of the conversation, not a separate app grid. */
|
|
486
2168
|
.vprose table {
|
|
487
2169
|
margin-top: 0.875rem;
|
|
488
2170
|
margin-bottom: 0.875rem;
|
|
489
2171
|
border-collapse: collapse;
|
|
490
2172
|
width: 100%;
|
|
2173
|
+
background: transparent;
|
|
491
2174
|
}
|
|
492
2175
|
.vprose th,
|
|
493
2176
|
.vprose td {
|
|
494
2177
|
padding: 0.5rem 0.625rem;
|
|
495
|
-
border:
|
|
2178
|
+
border: 0;
|
|
2179
|
+
border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
|
|
2180
|
+
background: transparent;
|
|
496
2181
|
text-align: left;
|
|
497
2182
|
}
|
|
498
2183
|
.vprose thead th {
|
|
499
|
-
background
|
|
2184
|
+
background: transparent;
|
|
500
2185
|
font-weight: 600;
|
|
501
|
-
color: var(--
|
|
2186
|
+
color: var(--muted);
|
|
502
2187
|
font-size: 0.75rem;
|
|
503
|
-
text-transform:
|
|
504
|
-
letter-spacing: 0
|
|
2188
|
+
text-transform: none;
|
|
2189
|
+
letter-spacing: 0;
|
|
505
2190
|
}
|
|
506
2191
|
.vprose tbody tr:hover {
|
|
507
|
-
background
|
|
2192
|
+
background: transparent;
|
|
508
2193
|
}
|
|
509
2194
|
/* Dark mode table styles */
|
|
510
2195
|
.dark .vprose th,
|
|
511
2196
|
.dark .vprose td {
|
|
512
|
-
border-color: var(--
|
|
2197
|
+
border-color: color-mix(in oklch, var(--border) 70%, transparent);
|
|
513
2198
|
}
|
|
514
2199
|
.dark .vprose thead th {
|
|
515
|
-
background
|
|
516
|
-
color: var(--
|
|
2200
|
+
background: transparent;
|
|
2201
|
+
color: var(--muted);
|
|
517
2202
|
}
|
|
518
2203
|
.dark .vprose tbody tr:hover {
|
|
519
|
-
background
|
|
2204
|
+
background: transparent;
|
|
520
2205
|
}
|
|
521
2206
|
/* Horizontal rules as section dividers */
|
|
522
2207
|
.vprose hr {
|
|
@@ -549,42 +2234,244 @@ function AllMessagesMixedComponent({
|
|
|
549
2234
|
.dark .vprose pre {
|
|
550
2235
|
color: var(--color-foreground, #f9fafb);
|
|
551
2236
|
}
|
|
2237
|
+
|
|
2238
|
+
/* Summary chat markdown: keep structure, but match the app's quieter conversation surface. */
|
|
2239
|
+
.agent-markdown {
|
|
2240
|
+
color: color-mix(in oklch, var(--foreground) 78%, transparent);
|
|
2241
|
+
font-size: 0.875rem;
|
|
2242
|
+
line-height: 1.625;
|
|
2243
|
+
overflow-x: auto;
|
|
2244
|
+
}
|
|
2245
|
+
.agent-markdown > * + * {
|
|
2246
|
+
margin-top: 0.65rem;
|
|
2247
|
+
}
|
|
2248
|
+
.agent-markdown p {
|
|
2249
|
+
margin-top: 0.5rem;
|
|
2250
|
+
margin-bottom: 0.5rem;
|
|
2251
|
+
}
|
|
2252
|
+
.agent-markdown h1,
|
|
2253
|
+
.agent-markdown h2,
|
|
2254
|
+
.agent-markdown h3,
|
|
2255
|
+
.agent-markdown h4 {
|
|
2256
|
+
margin-top: 1.2rem;
|
|
2257
|
+
margin-bottom: 0.45rem;
|
|
2258
|
+
color: var(--foreground);
|
|
2259
|
+
font-weight: 650;
|
|
2260
|
+
letter-spacing: 0;
|
|
2261
|
+
line-height: 1.3;
|
|
2262
|
+
}
|
|
2263
|
+
.agent-markdown h1 {
|
|
2264
|
+
font-size: 1.2rem;
|
|
2265
|
+
}
|
|
2266
|
+
.agent-markdown h2 {
|
|
2267
|
+
font-size: 1.05rem;
|
|
2268
|
+
}
|
|
2269
|
+
.agent-markdown h3,
|
|
2270
|
+
.agent-markdown h4 {
|
|
2271
|
+
font-size: 0.95rem;
|
|
2272
|
+
}
|
|
2273
|
+
.agent-markdown h1:first-child,
|
|
2274
|
+
.agent-markdown h2:first-child,
|
|
2275
|
+
.agent-markdown h3:first-child,
|
|
2276
|
+
.agent-markdown h4:first-child {
|
|
2277
|
+
margin-top: 0;
|
|
2278
|
+
}
|
|
2279
|
+
.agent-markdown hr {
|
|
2280
|
+
margin: 1.15rem 0;
|
|
2281
|
+
border: 0;
|
|
2282
|
+
border-top: 1px solid var(--border);
|
|
2283
|
+
opacity: 0.65;
|
|
2284
|
+
}
|
|
2285
|
+
.agent-markdown ul,
|
|
2286
|
+
.agent-markdown ol {
|
|
2287
|
+
margin-top: 0.55rem;
|
|
2288
|
+
margin-bottom: 0.55rem;
|
|
2289
|
+
padding-left: 1.25rem;
|
|
2290
|
+
}
|
|
2291
|
+
.agent-markdown li {
|
|
2292
|
+
margin-top: 0.2rem;
|
|
2293
|
+
margin-bottom: 0.2rem;
|
|
2294
|
+
padding-left: 0.1rem;
|
|
2295
|
+
color: inherit;
|
|
2296
|
+
}
|
|
2297
|
+
.agent-markdown li::marker {
|
|
2298
|
+
color: var(--muted);
|
|
2299
|
+
}
|
|
2300
|
+
.agent-markdown strong {
|
|
2301
|
+
color: var(--foreground);
|
|
2302
|
+
font-weight: 600;
|
|
2303
|
+
}
|
|
2304
|
+
.agent-markdown em {
|
|
2305
|
+
color: color-mix(in oklch, var(--foreground) 72%, transparent);
|
|
2306
|
+
}
|
|
2307
|
+
.agent-markdown a {
|
|
2308
|
+
color: var(--foreground);
|
|
2309
|
+
text-decoration-color: var(--muted);
|
|
2310
|
+
text-underline-offset: 3px;
|
|
2311
|
+
}
|
|
2312
|
+
.agent-markdown blockquote {
|
|
2313
|
+
margin-top: 0.85rem;
|
|
2314
|
+
margin-bottom: 0.85rem;
|
|
2315
|
+
padding-left: 0.875rem;
|
|
2316
|
+
border-left: 2px solid var(--border);
|
|
2317
|
+
color: var(--muted);
|
|
2318
|
+
font-style: normal;
|
|
2319
|
+
}
|
|
2320
|
+
.agent-markdown :not(pre) > code {
|
|
2321
|
+
border: 1px solid var(--border);
|
|
2322
|
+
border-radius: 0.375rem;
|
|
2323
|
+
background: var(--muted-background);
|
|
2324
|
+
color: var(--foreground);
|
|
2325
|
+
padding: 0.1rem 0.35rem;
|
|
2326
|
+
font-size: 0.8125em;
|
|
2327
|
+
font-weight: 500;
|
|
2328
|
+
}
|
|
2329
|
+
.agent-markdown pre {
|
|
2330
|
+
margin-top: 0.85rem;
|
|
2331
|
+
margin-bottom: 0.85rem;
|
|
2332
|
+
max-height: 32rem;
|
|
2333
|
+
overflow: auto;
|
|
2334
|
+
border: 1px solid var(--border);
|
|
2335
|
+
border-radius: 0.75rem;
|
|
2336
|
+
background: var(--muted-background);
|
|
2337
|
+
color: var(--foreground);
|
|
2338
|
+
padding: 0.875rem;
|
|
2339
|
+
font-size: 0.8125rem;
|
|
2340
|
+
line-height: 1.55;
|
|
2341
|
+
}
|
|
2342
|
+
.agent-markdown pre code {
|
|
2343
|
+
border: 0;
|
|
2344
|
+
background: transparent;
|
|
2345
|
+
color: inherit;
|
|
2346
|
+
padding: 0;
|
|
2347
|
+
font-size: inherit;
|
|
2348
|
+
}
|
|
2349
|
+
.agent-markdown table {
|
|
2350
|
+
display: table;
|
|
2351
|
+
width: 100%;
|
|
2352
|
+
max-width: 100%;
|
|
2353
|
+
margin: 0.9rem 0 1rem;
|
|
2354
|
+
border: 0;
|
|
2355
|
+
border-collapse: collapse;
|
|
2356
|
+
border-spacing: 0;
|
|
2357
|
+
font-size: 0.8125rem;
|
|
2358
|
+
table-layout: fixed;
|
|
2359
|
+
background: transparent;
|
|
2360
|
+
}
|
|
2361
|
+
.agent-markdown thead {
|
|
2362
|
+
background: transparent;
|
|
2363
|
+
}
|
|
2364
|
+
.agent-markdown th,
|
|
2365
|
+
.agent-markdown td {
|
|
2366
|
+
border: 0;
|
|
2367
|
+
border-bottom: 1px solid color-mix(in oklch, var(--border) 70%, transparent);
|
|
2368
|
+
background: transparent;
|
|
2369
|
+
padding: 0.55rem 0.75rem;
|
|
2370
|
+
text-align: left;
|
|
2371
|
+
vertical-align: top;
|
|
2372
|
+
overflow-wrap: anywhere;
|
|
2373
|
+
word-break: normal;
|
|
2374
|
+
white-space: normal;
|
|
2375
|
+
}
|
|
2376
|
+
.agent-markdown th {
|
|
2377
|
+
color: var(--muted);
|
|
2378
|
+
font-size: 0.75rem;
|
|
2379
|
+
font-weight: 600;
|
|
2380
|
+
letter-spacing: 0;
|
|
2381
|
+
text-transform: none;
|
|
2382
|
+
white-space: nowrap;
|
|
2383
|
+
}
|
|
2384
|
+
.agent-markdown td {
|
|
2385
|
+
color: inherit;
|
|
2386
|
+
}
|
|
2387
|
+
.agent-markdown th + th,
|
|
2388
|
+
.agent-markdown td + td {
|
|
2389
|
+
padding-inline-start: 1.75rem;
|
|
2390
|
+
}
|
|
2391
|
+
.agent-markdown th:first-child,
|
|
2392
|
+
.agent-markdown td:first-child {
|
|
2393
|
+
min-width: 0;
|
|
2394
|
+
width: auto;
|
|
2395
|
+
white-space: normal;
|
|
2396
|
+
}
|
|
2397
|
+
.agent-markdown col {
|
|
2398
|
+
width: var(--agent-markdown-table-column-width);
|
|
2399
|
+
}
|
|
2400
|
+
.agent-markdown .agent-markdown-table-compact-col {
|
|
2401
|
+
width: clamp(4.75rem, var(--agent-markdown-table-column-width), 7rem);
|
|
2402
|
+
}
|
|
2403
|
+
.agent-markdown tr:last-child td {
|
|
2404
|
+
border-bottom: 0;
|
|
2405
|
+
}
|
|
2406
|
+
.agent-markdown tbody tr:nth-child(even) {
|
|
2407
|
+
background: transparent;
|
|
2408
|
+
}
|
|
2409
|
+
.agent-markdown tbody tr:hover {
|
|
2410
|
+
background: transparent;
|
|
2411
|
+
}
|
|
552
2412
|
`}</style>
|
|
553
2413
|
|
|
554
|
-
{/* Workstream tabs
|
|
555
|
-
|
|
556
|
-
<
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
2414
|
+
{/* Workstream tabs are a debug affordance; Summary keeps the conversation surface quiet. */}
|
|
2415
|
+
{viewMode === 'stacked' && (
|
|
2416
|
+
<div className={cn('sticky top-0 z-10', hideWorkstreamTabs && 'hidden')}>
|
|
2417
|
+
<WorkstreamTabs
|
|
2418
|
+
workstreams={workstreams}
|
|
2419
|
+
activeWorkstream={activeWorkstream}
|
|
2420
|
+
onSelectWorkstream={setActiveWorkstream}
|
|
2421
|
+
count={workstreamCounts}
|
|
2422
|
+
completionStatus={workstreamCompletionStatus}
|
|
2423
|
+
/>
|
|
2424
|
+
</div>
|
|
2425
|
+
)}
|
|
564
2426
|
|
|
565
|
-
{displayMessages.length === 0 ? (
|
|
566
|
-
|
|
567
|
-
<div className="flex
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
2427
|
+
{displayMessages.length === 0 && !hasInitialRequest && !(isSummaryView && showActivityFallback) ? (
|
|
2428
|
+
activeWorkstream === 'all' && isAgentWorking && incompleteStreaming.length === 0 ? (
|
|
2429
|
+
<div className="flex-1 px-2 py-6 sm:px-4">
|
|
2430
|
+
<InitialRequestWaitingCard
|
|
2431
|
+
label={t('agent.preparing')}
|
|
2432
|
+
timestamp={fallbackWorkingStartedAtRef.current}
|
|
2433
|
+
className={workingIndicatorClassName}
|
|
2434
|
+
/>
|
|
571
2435
|
</div>
|
|
572
|
-
|
|
2436
|
+
) : (
|
|
2437
|
+
<div className="flex items-center justify-center h-full text-center py-8">
|
|
2438
|
+
<div className="flex items-center px-3 py-2 text-sm text-muted">
|
|
2439
|
+
{activeWorkstream === 'all'
|
|
2440
|
+
? t('agent.waitingForAgentResponse')
|
|
2441
|
+
: t('agent.noMessagesInWorkstream')}
|
|
2442
|
+
</div>
|
|
2443
|
+
</div>
|
|
2444
|
+
)
|
|
573
2445
|
) : (
|
|
574
|
-
<div
|
|
2446
|
+
<div
|
|
2447
|
+
className={cn(
|
|
2448
|
+
'flex-1 flex flex-col justify-start w-full max-w-full',
|
|
2449
|
+
isSummaryView ? 'gap-6 px-2 py-6 sm:px-4' : 'gap-3 pb-4',
|
|
2450
|
+
messageListClassName,
|
|
2451
|
+
)}
|
|
2452
|
+
>
|
|
575
2453
|
{/* Friendly message — rendered outside the messages array to avoid memo issues/triggering autoscroll */}
|
|
576
|
-
{
|
|
577
|
-
<
|
|
578
|
-
key=
|
|
579
|
-
{
|
|
2454
|
+
{shouldRenderInitialRequest && (
|
|
2455
|
+
<InitialRequestMessage
|
|
2456
|
+
key="initial-request"
|
|
2457
|
+
data={initialRequestData}
|
|
2458
|
+
schema={initialRequestSchema}
|
|
2459
|
+
title={initialRequestTitle}
|
|
2460
|
+
template={initialRequestTemplate}
|
|
2461
|
+
prependFriendlyMessage={prependFriendlyMessage}
|
|
2462
|
+
timestamp={displayMessages[0]?.timestamp ?? Date.now()}
|
|
2463
|
+
isSummaryView={isSummaryView}
|
|
2464
|
+
messageItemClassNames={messageItemClassNames}
|
|
580
2465
|
messageStyleOverrides={messageStyleOverrides}
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
}
|
|
2466
|
+
StoreLinkComponent={StoreLinkComponent}
|
|
2467
|
+
CollectionLinkComponent={CollectionLinkComponent}
|
|
2468
|
+
/>
|
|
2469
|
+
)}
|
|
2470
|
+
{showInitialRequestWaitingCard && (
|
|
2471
|
+
<InitialRequestWaitingCard
|
|
2472
|
+
label={summaryActivityFallbackLabel}
|
|
2473
|
+
timestamp={activityStartedTimestamp}
|
|
2474
|
+
className={workingIndicatorClassName}
|
|
588
2475
|
/>
|
|
589
2476
|
)}
|
|
590
2477
|
{/* Show either all messages or just sliding view depending on viewMode */}
|
|
@@ -598,52 +2485,74 @@ function AllMessagesMixedComponent({
|
|
|
598
2485
|
// Render grouped tool calls
|
|
599
2486
|
const lastMessage = group.messages[group.messages.length - 1];
|
|
600
2487
|
const isTerminalToolStatus =
|
|
601
|
-
group.toolStatus ===
|
|
602
|
-
group.toolStatus ===
|
|
603
|
-
group.toolStatus ===
|
|
604
|
-
const isLatest =
|
|
2488
|
+
group.toolStatus === 'completed' ||
|
|
2489
|
+
group.toolStatus === 'error' ||
|
|
2490
|
+
group.toolStatus === 'warning';
|
|
2491
|
+
const isLatest =
|
|
2492
|
+
!isCompleted &&
|
|
605
2493
|
isLastGroup &&
|
|
606
2494
|
!DONE_STATES.includes(lastMessage.type) &&
|
|
607
2495
|
!isTerminalToolStatus;
|
|
608
2496
|
|
|
609
2497
|
if (hideToolCallsInViewMode?.includes(viewMode)) return null;
|
|
610
2498
|
return (
|
|
611
|
-
<
|
|
612
|
-
<
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
2499
|
+
<TimelineEntry key={getRenderableGroupKey(group)} status={group.toolStatus}>
|
|
2500
|
+
<MessageErrorBoundary>
|
|
2501
|
+
<ToolCallGroup
|
|
2502
|
+
{...toolCallGroupClassNames}
|
|
2503
|
+
messages={group.messages}
|
|
2504
|
+
showPulsatingCircle={isLatest}
|
|
2505
|
+
toolRunId={group.toolRunId}
|
|
2506
|
+
toolStatus={group.toolStatus}
|
|
2507
|
+
preambleText={group.preambleText}
|
|
2508
|
+
preambleMessage={group.preambleMessage}
|
|
2509
|
+
rootClassName={cn(
|
|
2510
|
+
'rounded-lg border border-border bg-background/60 shadow-none',
|
|
2511
|
+
toolCallGroupClassNames?.rootClassName,
|
|
2512
|
+
)}
|
|
2513
|
+
headerClassName={cn(
|
|
2514
|
+
'px-3 py-2',
|
|
2515
|
+
toolCallGroupClassNames?.headerClassName,
|
|
2516
|
+
)}
|
|
2517
|
+
itemHeaderClassName={cn(
|
|
2518
|
+
'hover:bg-mixer-muted/20',
|
|
2519
|
+
toolCallGroupClassNames?.itemHeaderClassName,
|
|
2520
|
+
)}
|
|
2521
|
+
/>
|
|
2522
|
+
</MessageErrorBoundary>
|
|
2523
|
+
</TimelineEntry>
|
|
622
2524
|
);
|
|
623
2525
|
} else if (group.type === 'streaming') {
|
|
624
2526
|
// Render streaming message - no error boundary to avoid interrupting streaming
|
|
625
2527
|
return (
|
|
626
|
-
<
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
2528
|
+
<TimelineEntry key={getRenderableGroupKey(group)}>
|
|
2529
|
+
<StreamingMessage
|
|
2530
|
+
{...streamingMessageClassNames}
|
|
2531
|
+
text={group.text}
|
|
2532
|
+
workstreamId={group.workstreamId}
|
|
2533
|
+
isComplete={group.isComplete}
|
|
2534
|
+
timestamp={group.startTimestamp}
|
|
2535
|
+
artifactRunId={artifactRunId}
|
|
2536
|
+
cardClassName={cn(
|
|
2537
|
+
'rounded-lg border border-border bg-background/60 shadow-none',
|
|
2538
|
+
streamingMessageClassNames?.cardClassName,
|
|
2539
|
+
)}
|
|
2540
|
+
/>
|
|
2541
|
+
</TimelineEntry>
|
|
635
2542
|
);
|
|
636
2543
|
} else {
|
|
637
2544
|
// Render single message
|
|
638
2545
|
const message = group.message;
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
!DONE_STATES.includes(message.type);
|
|
2546
|
+
if (shouldHideRequestInputMessage(message)) return null;
|
|
2547
|
+
const isLatestMessage =
|
|
2548
|
+
!isCompleted && isLastGroup && !DONE_STATES.includes(message.type);
|
|
642
2549
|
|
|
643
2550
|
// Special handling for batch progress messages
|
|
644
2551
|
if (isBatchProgressMessage(message)) {
|
|
645
2552
|
return (
|
|
646
|
-
<MessageErrorBoundary
|
|
2553
|
+
<MessageErrorBoundary
|
|
2554
|
+
key={`batch-${message.details.batch_id}-${message.timestamp}`}
|
|
2555
|
+
>
|
|
647
2556
|
<BatchProgressPanel
|
|
648
2557
|
message={message}
|
|
649
2558
|
batchData={message.details}
|
|
@@ -655,153 +2564,145 @@ function AllMessagesMixedComponent({
|
|
|
655
2564
|
}
|
|
656
2565
|
|
|
657
2566
|
return (
|
|
658
|
-
<
|
|
659
|
-
<
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
2567
|
+
<TimelineEntry key={getAgentMessageRenderKey(message)} status="message">
|
|
2568
|
+
<MessageErrorBoundary>
|
|
2569
|
+
<MessageItem
|
|
2570
|
+
{...messageItemClassNames}
|
|
2571
|
+
message={message}
|
|
2572
|
+
showPulsatingCircle={isLatestMessage}
|
|
2573
|
+
onSendMessage={onSendMessage}
|
|
2574
|
+
requestInputAnswered={isRequestInputAnswered(
|
|
2575
|
+
message,
|
|
2576
|
+
answeredRequestInputKeys,
|
|
2577
|
+
)}
|
|
2578
|
+
cardClassName={cn(
|
|
2579
|
+
'rounded-lg border border-border bg-background/60 shadow-none',
|
|
2580
|
+
messageItemClassNames?.cardClassName,
|
|
2581
|
+
)}
|
|
2582
|
+
headerClassName={cn(
|
|
2583
|
+
'px-3 py-2',
|
|
2584
|
+
messageItemClassNames?.headerClassName,
|
|
2585
|
+
)}
|
|
2586
|
+
contentClassName={cn(
|
|
2587
|
+
'bg-transparent',
|
|
2588
|
+
messageItemClassNames?.contentClassName,
|
|
2589
|
+
)}
|
|
2590
|
+
messageStyleOverrides={messageStyleOverrides}
|
|
2591
|
+
StoreLinkComponent={StoreLinkComponent}
|
|
2592
|
+
CollectionLinkComponent={CollectionLinkComponent}
|
|
2593
|
+
/>
|
|
2594
|
+
</MessageErrorBoundary>
|
|
2595
|
+
</TimelineEntry>
|
|
669
2596
|
);
|
|
670
2597
|
}
|
|
671
2598
|
})}
|
|
672
2599
|
{/* Incomplete streaming - no error boundary to avoid interrupting streaming */}
|
|
673
2600
|
{incompleteStreaming.map(({ id, data }) => (
|
|
674
|
-
<
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
2601
|
+
<TimelineEntry key={`streaming-incomplete-${id}`}>
|
|
2602
|
+
<StreamingMessage
|
|
2603
|
+
{...streamingMessageClassNames}
|
|
2604
|
+
text={data.text}
|
|
2605
|
+
workstreamId={data.workstreamId}
|
|
2606
|
+
isComplete={data.isComplete}
|
|
2607
|
+
timestamp={data.startTimestamp}
|
|
2608
|
+
artifactRunId={artifactRunId}
|
|
2609
|
+
cardClassName={cn(
|
|
2610
|
+
'rounded-lg border border-border bg-background/60 shadow-none',
|
|
2611
|
+
streamingMessageClassNames?.cardClassName,
|
|
2612
|
+
)}
|
|
2613
|
+
/>
|
|
2614
|
+
</TimelineEntry>
|
|
683
2615
|
))}
|
|
684
2616
|
{/* Working indicator - shows agent is actively processing */}
|
|
685
|
-
{isAgentWorking && incompleteStreaming.length === 0 && (
|
|
686
|
-
<
|
|
687
|
-
<
|
|
688
|
-
|
|
689
|
-
|
|
2617
|
+
{isAgentWorking && incompleteStreaming.length === 0 && !showInitialRequestWaitingCard && (
|
|
2618
|
+
<TimelineEntry>
|
|
2619
|
+
<div
|
|
2620
|
+
className={cn(
|
|
2621
|
+
'flex items-center gap-2 py-2 text-sm text-muted',
|
|
2622
|
+
workingIndicatorClassName,
|
|
2623
|
+
)}
|
|
2624
|
+
>
|
|
2625
|
+
<PulsatingCircle size="sm" color="blue" />
|
|
2626
|
+
<span>{t('agent.working')}</span>
|
|
2627
|
+
</div>
|
|
2628
|
+
</TimelineEntry>
|
|
690
2629
|
)}
|
|
691
2630
|
</>
|
|
692
2631
|
) : (
|
|
693
|
-
//
|
|
2632
|
+
// Summary view - conversation turns with per-turn work disclosure
|
|
694
2633
|
<>
|
|
695
|
-
{
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
if (group.type === 'tool_group') {
|
|
699
|
-
// Render grouped tool calls
|
|
700
|
-
const lastMessage = group.messages[group.messages.length - 1];
|
|
701
|
-
const isTerminalToolStatus =
|
|
702
|
-
group.toolStatus === "completed" ||
|
|
703
|
-
group.toolStatus === "error" ||
|
|
704
|
-
group.toolStatus === "warning";
|
|
705
|
-
const isLatest = !isCompleted &&
|
|
706
|
-
recentThinking.length === 0 &&
|
|
707
|
-
isLastGroup &&
|
|
708
|
-
!DONE_STATES.includes(lastMessage.type) &&
|
|
709
|
-
!isTerminalToolStatus;
|
|
710
|
-
|
|
2634
|
+
{summaryConversationItems.map((item) => {
|
|
2635
|
+
if (item.type === 'work') {
|
|
711
2636
|
if (hideToolCallsInViewMode?.includes(viewMode)) return null;
|
|
2637
|
+
const isThinkingOnlyWork = isTransientThinkingWork(item.messages);
|
|
2638
|
+
|
|
712
2639
|
return (
|
|
713
|
-
<
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
return (
|
|
728
|
-
<StreamingMessage
|
|
729
|
-
key={`streaming-${group.streamingId}-${groupIndex}`}
|
|
730
|
-
text={group.text}
|
|
731
|
-
workstreamId={group.workstreamId}
|
|
732
|
-
isComplete={group.isComplete}
|
|
733
|
-
timestamp={group.startTimestamp}
|
|
734
|
-
artifactRunId={artifactRunId}
|
|
735
|
-
{...streamingMessageClassNames}
|
|
2640
|
+
<SummaryActivityRow
|
|
2641
|
+
key={`work-${item.id}-${item.isActive ? 'active' : 'done'}-${item.status}`}
|
|
2642
|
+
label={getSummaryActivityLabel(item.status, item.isActive)}
|
|
2643
|
+
status={item.status}
|
|
2644
|
+
timestamp={item.startTimestamp}
|
|
2645
|
+
durationSeconds={
|
|
2646
|
+
item.isActive
|
|
2647
|
+
? undefined
|
|
2648
|
+
: getDurationSeconds(item.startTimestamp, item.endTimestamp)
|
|
2649
|
+
}
|
|
2650
|
+
showElapsed
|
|
2651
|
+
details={isThinkingOnlyWork ? undefined : item.messages}
|
|
2652
|
+
defaultExpanded={item.isActive && !isThinkingOnlyWork}
|
|
2653
|
+
className={workingIndicatorClassName}
|
|
736
2654
|
/>
|
|
737
2655
|
);
|
|
738
|
-
}
|
|
739
|
-
// Render single message
|
|
740
|
-
const message = group.message;
|
|
741
|
-
const isLatestMessage = !isCompleted &&
|
|
742
|
-
recentThinking.length === 0 &&
|
|
743
|
-
isLastGroup &&
|
|
744
|
-
!DONE_STATES.includes(message.type);
|
|
745
|
-
|
|
746
|
-
// Special handling for batch progress messages
|
|
747
|
-
if (isBatchProgressMessage(message)) {
|
|
748
|
-
return (
|
|
749
|
-
<MessageErrorBoundary key={`batch-${message.details.batch_id}-${message.timestamp}-${groupIndex}`}>
|
|
750
|
-
<BatchProgressPanel
|
|
751
|
-
message={message}
|
|
752
|
-
batchData={message.details}
|
|
753
|
-
isRunning={!message.details.completed_at}
|
|
754
|
-
{...batchProgressPanelClassNames}
|
|
755
|
-
/>
|
|
756
|
-
</MessageErrorBoundary>
|
|
757
|
-
);
|
|
758
|
-
}
|
|
2656
|
+
}
|
|
759
2657
|
|
|
2658
|
+
const message = item.message;
|
|
2659
|
+
if (shouldHideRequestInputMessage(message)) return null;
|
|
2660
|
+
if (isBatchProgressMessage(message)) {
|
|
760
2661
|
return (
|
|
761
|
-
<MessageErrorBoundary key={
|
|
762
|
-
<
|
|
2662
|
+
<MessageErrorBoundary key={getAgentMessageRenderKey(message, 'batch')}>
|
|
2663
|
+
<BatchProgressPanel
|
|
763
2664
|
message={message}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
{...
|
|
767
|
-
messageStyleOverrides={messageStyleOverrides}
|
|
768
|
-
StoreLinkComponent={StoreLinkComponent}
|
|
769
|
-
CollectionLinkComponent={CollectionLinkComponent}
|
|
2665
|
+
batchData={message.details}
|
|
2666
|
+
isRunning={!message.details.completed_at}
|
|
2667
|
+
{...batchProgressPanelClassNames}
|
|
770
2668
|
/>
|
|
771
2669
|
</MessageErrorBoundary>
|
|
772
2670
|
);
|
|
773
2671
|
}
|
|
2672
|
+
|
|
2673
|
+
return (
|
|
2674
|
+
<MessageErrorBoundary key={getAgentMessageRenderKey(message, 'summary')}>
|
|
2675
|
+
<SummaryMessage
|
|
2676
|
+
message={message}
|
|
2677
|
+
onSendMessage={onSendMessage}
|
|
2678
|
+
requestInputAnswered={isRequestInputAnswered(
|
|
2679
|
+
message,
|
|
2680
|
+
answeredRequestInputKeys,
|
|
2681
|
+
)}
|
|
2682
|
+
StoreLinkComponent={StoreLinkComponent}
|
|
2683
|
+
CollectionLinkComponent={CollectionLinkComponent}
|
|
2684
|
+
/>
|
|
2685
|
+
</MessageErrorBoundary>
|
|
2686
|
+
);
|
|
774
2687
|
})}
|
|
775
|
-
{/* Recent thinking messages - displayed with streaming reveal */}
|
|
776
|
-
{recentThinking.map((thinking, idx) => (
|
|
777
|
-
<StreamingMessage
|
|
778
|
-
key={`thinking-${thinking.timestamp}-${idx}`}
|
|
779
|
-
text={processThinkingPlaceholder(thinking.message || '', thinkingMessageIndex)}
|
|
780
|
-
workstreamId={getWorkstreamId(thinking)}
|
|
781
|
-
isComplete={idx < recentThinking.length - 1} // Only latest is still "streaming"
|
|
782
|
-
timestamp={thinking.timestamp}
|
|
783
|
-
artifactRunId={artifactRunId}
|
|
784
|
-
{...streamingMessageClassNames}
|
|
785
|
-
/>
|
|
786
|
-
))}
|
|
787
2688
|
{/* Incomplete streaming - no error boundary to avoid interrupting streaming */}
|
|
788
2689
|
{incompleteStreaming.map(({ id, data }) => (
|
|
789
|
-
<
|
|
2690
|
+
<SummaryStreamingMessage
|
|
790
2691
|
key={`streaming-incomplete-${id}`}
|
|
791
2692
|
text={data.text}
|
|
792
2693
|
workstreamId={data.workstreamId}
|
|
793
|
-
isComplete={data.isComplete}
|
|
794
|
-
timestamp={data.startTimestamp}
|
|
795
2694
|
artifactRunId={artifactRunId}
|
|
796
|
-
{...streamingMessageClassNames}
|
|
797
2695
|
/>
|
|
798
2696
|
))}
|
|
799
|
-
{/*
|
|
800
|
-
{
|
|
801
|
-
<
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
2697
|
+
{/* Activity fallback - shown before any tool/thought message has arrived */}
|
|
2698
|
+
{showActivityFallback && !showInitialRequestWaitingCard && (
|
|
2699
|
+
<SummaryActivityRow
|
|
2700
|
+
label={summaryActivityFallbackLabel}
|
|
2701
|
+
status="running"
|
|
2702
|
+
timestamp={activityStartedTimestamp}
|
|
2703
|
+
showElapsed
|
|
2704
|
+
className={workingIndicatorClassName}
|
|
2705
|
+
/>
|
|
805
2706
|
)}
|
|
806
2707
|
</>
|
|
807
2708
|
)}
|
|
@@ -818,10 +2719,10 @@ const shouldDedupeAdjacentCompletedToolMessage = (previous: AgentMessage, curren
|
|
|
818
2719
|
|
|
819
2720
|
const prevDetails = previous.details as { tool_status?: string } | undefined;
|
|
820
2721
|
const currDetails = current.details as { tool_status?: string } | undefined;
|
|
821
|
-
if (prevDetails?.tool_status !==
|
|
2722
|
+
if (prevDetails?.tool_status !== 'completed' || currDetails?.tool_status !== 'completed') return false;
|
|
822
2723
|
|
|
823
|
-
const prevTs = typeof previous.timestamp ===
|
|
824
|
-
const currTs = typeof current.timestamp ===
|
|
2724
|
+
const prevTs = typeof previous.timestamp === 'number' ? previous.timestamp : new Date(previous.timestamp).getTime();
|
|
2725
|
+
const currTs = typeof current.timestamp === 'number' ? current.timestamp : new Date(current.timestamp).getTime();
|
|
825
2726
|
return currTs - prevTs < 2000;
|
|
826
2727
|
};
|
|
827
2728
|
|