@parhelia/core 0.1.12907 → 0.1.12909
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/dist/agents-view/AgentCard.d.ts +8 -4
- package/dist/agents-view/AgentCard.js +80 -175
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentGalleryCard.d.ts +12 -0
- package/dist/agents-view/AgentGalleryCard.js +12 -0
- package/dist/agents-view/AgentGalleryCard.js.map +1 -0
- package/dist/agents-view/AgentGalleryView.d.ts +18 -0
- package/dist/agents-view/AgentGalleryView.js +88 -0
- package/dist/agents-view/AgentGalleryView.js.map +1 -0
- package/dist/agents-view/AgentProfileIcon.d.ts +9 -0
- package/dist/agents-view/AgentProfileIcon.js +32 -0
- package/dist/agents-view/AgentProfileIcon.js.map +1 -0
- package/dist/agents-view/AgentsSidebar.d.ts +4 -11
- package/dist/agents-view/AgentsSidebar.js +10 -14
- package/dist/agents-view/AgentsSidebar.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.d.ts +2 -3
- package/dist/agents-view/AgentsTitlebar.js +6 -7
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.d.ts +27 -7
- package/dist/agents-view/AgentsView.js +126 -294
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.d.ts +1 -1
- package/dist/agents-view/AgentsWorkspaceView.js +150 -106
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/agents-view/CreateAgentView.d.ts +1 -1
- package/dist/agents-view/CreateAgentView.js +2 -2
- package/dist/agents-view/CreateAgentView.js.map +1 -1
- package/dist/agents-view/DateAgentsGroup.d.ts +17 -0
- package/dist/agents-view/DateAgentsGroup.js +19 -0
- package/dist/agents-view/DateAgentsGroup.js.map +1 -0
- package/dist/agents-view/ProfileAgentsGroup.d.ts +4 -4
- package/dist/agents-view/ProfileAgentsGroup.js +22 -10
- package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
- package/dist/agents-view/RenameAgentDialog.d.ts +12 -0
- package/dist/agents-view/RenameAgentDialog.js +40 -0
- package/dist/agents-view/RenameAgentDialog.js.map +1 -0
- package/dist/agents-view/agentsNavStore.d.ts +8 -0
- package/dist/agents-view/agentsNavStore.js +24 -0
- package/dist/agents-view/agentsNavStore.js.map +1 -0
- package/dist/components/MarkdownDisplay.js +29 -16
- package/dist/components/MarkdownDisplay.js.map +1 -1
- package/dist/components/PageHeader.d.ts +5 -1
- package/dist/components/PageHeader.js +3 -3
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/SearchInput.d.ts +28 -0
- package/dist/components/SearchInput.js +38 -0
- package/dist/components/SearchInput.js.map +1 -0
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/ui/LanguageSelectionGrid.d.ts +27 -0
- package/dist/components/ui/LanguageSelectionGrid.js +41 -0
- package/dist/components/ui/LanguageSelectionGrid.js.map +1 -0
- package/dist/components/ui/LanguageSelector.d.ts +6 -1
- package/dist/components/ui/LanguageSelector.js +10 -6
- package/dist/components/ui/LanguageSelector.js.map +1 -1
- package/dist/components/ui/PlaceholderInput.d.ts +0 -8
- package/dist/components/ui/PlaceholderInput.js +2 -43
- package/dist/components/ui/PlaceholderInput.js.map +1 -1
- package/dist/components/ui/PlaceholderInputParser.d.ts +9 -0
- package/dist/components/ui/PlaceholderInputParser.js +98 -0
- package/dist/components/ui/PlaceholderInputParser.js.map +1 -0
- package/dist/components/ui/PlaceholderInputTypes.d.ts +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js.map +1 -1
- package/dist/components/ui/PlaceholderItemSelector.js +3 -3
- package/dist/components/ui/PlaceholderItemSelector.js.map +1 -1
- package/dist/components/ui/UserPicker.d.ts +34 -0
- package/dist/components/ui/UserPicker.js +73 -0
- package/dist/components/ui/UserPicker.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/accordion.js +17 -0
- package/dist/components/ui/accordion.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.js +8 -8
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/alert.d.ts +3 -2
- package/dist/components/ui/alert.js +9 -4
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/avatar.d.ts +30 -0
- package/dist/components/ui/avatar.js +46 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +8 -3
- package/dist/components/ui/badge.js +18 -8
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +1 -1
- package/dist/components/ui/breadcrumb.js +5 -5
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/button.d.ts +9 -4
- package/dist/components/ui/button.js +20 -14
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.d.ts +4 -1
- package/dist/components/ui/card.js +4 -4
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/close-button.d.ts +13 -0
- package/dist/components/ui/close-button.js +29 -0
- package/dist/components/ui/close-button.js.map +1 -0
- package/dist/components/ui/close-icon.d.ts +7 -0
- package/dist/components/ui/close-icon.js +14 -0
- package/dist/components/ui/close-icon.js.map +1 -0
- package/dist/components/ui/command.d.ts +2 -1
- package/dist/components/ui/command.js +8 -4
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +17 -3
- package/dist/components/ui/context-menu.js +132 -68
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.js +4 -3
- package/dist/components/ui/copy-button.js.map +1 -1
- package/dist/components/ui/delete-button.d.ts +13 -0
- package/dist/components/ui/delete-button.js +36 -0
- package/dist/components/ui/delete-button.js.map +1 -0
- package/dist/components/ui/delete-icon.d.ts +7 -0
- package/dist/components/ui/delete-icon.js +14 -0
- package/dist/components/ui/delete-icon.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +3 -3
- package/dist/components/ui/dialog.js +30 -7
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +5 -5
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/input.js +2 -2
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/mention-textarea.d.ts +10 -0
- package/dist/components/ui/mention-textarea.js +180 -0
- package/dist/components/ui/mention-textarea.js.map +1 -0
- package/dist/components/ui/multi-switch-button.d.ts +22 -0
- package/dist/components/ui/multi-switch-button.js +12 -0
- package/dist/components/ui/multi-switch-button.js.map +1 -0
- package/dist/components/ui/paste-button.js +2 -2
- package/dist/components/ui/paste-button.js.map +1 -1
- package/dist/components/ui/popover.js +22 -4
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/progress.js +2 -2
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/select.js +3 -4
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/sonner.js +28 -2
- package/dist/components/ui/sonner.js.map +1 -1
- package/dist/components/ui/styled-dialog-title.js +2 -2
- package/dist/components/ui/styled-dialog-title.js.map +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/tabs.js +3 -3
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/config/config.js +314 -70
- package/dist/config/config.js.map +1 -1
- package/dist/config/notificationRoutes.js +111 -10
- package/dist/config/notificationRoutes.js.map +1 -1
- package/dist/config/types/sidebar.d.ts +4 -0
- package/dist/config/types/workspace.d.ts +13 -2
- package/dist/config/types.d.ts +17 -3
- package/dist/config/types.js.map +1 -1
- package/dist/editor/AdminRequiredView.js +4 -2
- package/dist/editor/AdminRequiredView.js.map +1 -1
- package/dist/editor/AspectRatioSelector.js +28 -25
- package/dist/editor/AspectRatioSelector.js.map +1 -1
- package/dist/editor/ConcurrentUserLimitDialog.js +11 -4
- package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
- package/dist/editor/ConfirmationDialog.js +6 -2
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +19 -1
- package/dist/editor/ContentTree.js +99 -30
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/ContextMenu.d.ts +1 -0
- package/dist/editor/ContextMenu.js +9 -11
- package/dist/editor/ContextMenu.js.map +1 -1
- package/dist/editor/DeleteItemsWarning.js +2 -2
- package/dist/editor/DeleteItemsWarning.js.map +1 -1
- package/dist/editor/Editor.d.ts +1 -1
- package/dist/editor/Editor.js +29 -9
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/EditorLoadingOverlay.d.ts +1 -0
- package/dist/editor/EditorLoadingOverlay.js +7 -0
- package/dist/editor/EditorLoadingOverlay.js.map +1 -0
- package/dist/editor/EditorWarning.js +4 -4
- package/dist/editor/EditorWarning.js.map +1 -1
- package/dist/editor/FieldActionsOverlay.d.ts +0 -1
- package/dist/editor/FieldActionsOverlay.js +8 -25
- package/dist/editor/FieldActionsOverlay.js.map +1 -1
- package/dist/editor/FieldEditorPopup.js +2 -2
- package/dist/editor/FieldEditorPopup.js.map +1 -1
- package/dist/editor/FieldHistory.d.ts +2 -1
- package/dist/editor/FieldHistory.js +23 -15
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldList.js +2 -2
- package/dist/editor/FieldList.js.map +1 -1
- package/dist/editor/FieldListField.d.ts +1 -1
- package/dist/editor/FieldListField.js +69 -60
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/FieldListFieldWithFallbacks.js +4 -3
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
- package/dist/editor/GlobalMenuBar.js +28 -19
- package/dist/editor/GlobalMenuBar.js.map +1 -1
- package/dist/editor/ImageEditButton.js +3 -3
- package/dist/editor/ImageEditButton.js.map +1 -1
- package/dist/editor/ImageEditor.d.ts +6 -1
- package/dist/editor/ImageEditor.js +21 -4
- package/dist/editor/ImageEditor.js.map +1 -1
- package/dist/editor/ItemInfo.js +10 -7
- package/dist/editor/ItemInfo.js.map +1 -1
- package/dist/editor/LinkEditorDialog.d.ts +9 -2
- package/dist/editor/LinkEditorDialog.js +183 -60
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.js +121 -16
- package/dist/editor/MainLayout.js.map +1 -1
- package/dist/editor/MigrationsView.js +16 -35
- package/dist/editor/MigrationsView.js.map +1 -1
- package/dist/editor/MobileLayout.js +35 -3
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/PictureCropper.js +116 -58
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.d.ts +2 -1
- package/dist/editor/PictureEditor.js +17 -19
- package/dist/editor/PictureEditor.js.map +1 -1
- package/dist/editor/QuickItemSwitcher.js +9 -9
- package/dist/editor/QuickItemSwitcher.js.map +1 -1
- package/dist/editor/SetupWizard.js +17 -13
- package/dist/editor/SetupWizard.js.map +1 -1
- package/dist/editor/Titlebar.d.ts +1 -1
- package/dist/editor/Titlebar.js +2 -2
- package/dist/editor/Titlebar.js.map +1 -1
- package/dist/editor/WorkspaceTitleSwitcher.d.ts +5 -0
- package/dist/editor/WorkspaceTitleSwitcher.js +67 -0
- package/dist/editor/WorkspaceTitleSwitcher.js.map +1 -0
- package/dist/editor/ai/AgentInlineDialogContent.js +2 -2
- package/dist/editor/ai/AgentInlineDialogContent.js.map +1 -1
- package/dist/editor/ai/AgentPanesGrid.js +8 -7
- package/dist/editor/ai/AgentPanesGrid.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.d.ts +1 -0
- package/dist/editor/ai/AgentProfileSelector.js +11 -9
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentSharingSection.js +22 -9
- package/dist/editor/ai/AgentSharingSection.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.js +13 -21
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.d.ts +2 -38
- package/dist/editor/ai/AgentTerminal.js +6 -6503
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/ai/Agents.js +278 -397
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/ContentInspectorPopover.js +24 -19
- package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
- package/dist/editor/ai/GuidanceOverlay.js +12 -19
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.d.ts +2 -2
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +55 -31
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js.map +1 -1
- package/dist/editor/ai/InlineAiDialog.d.ts +6 -0
- package/dist/editor/ai/InlineAiDialog.js +411 -277
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTextEditTooltip.d.ts +8 -0
- package/dist/editor/ai/InlineAiTextEditTooltip.js +10 -0
- package/dist/editor/ai/InlineAiTextEditTooltip.js.map +1 -0
- package/dist/editor/ai/InlineAiTrigger.js +236 -37
- package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
- package/dist/editor/ai/MediaImage.js +5 -5
- package/dist/editor/ai/MediaImage.js.map +1 -1
- package/dist/editor/ai/TimeWithTooltip.js +2 -4
- package/dist/editor/ai/TimeWithTooltip.js.map +1 -1
- package/dist/editor/ai/agentActivitySummary.d.ts +108 -0
- package/dist/editor/ai/agentActivitySummary.js +390 -0
- package/dist/editor/ai/agentActivitySummary.js.map +1 -0
- package/dist/editor/ai/agentDiagnostics.d.ts +26 -0
- package/dist/editor/ai/agentDiagnostics.js +41 -1
- package/dist/editor/ai/agentDiagnostics.js.map +1 -1
- package/dist/editor/ai/agentDialogRegistry.js.map +1 -1
- package/dist/editor/ai/agentMessageHelpers.js.map +1 -1
- package/dist/editor/ai/agentMessageMarkdown.js +10 -10
- package/dist/editor/ai/agentMessageMarkdown.js.map +1 -1
- package/dist/editor/ai/agentTodoExtraction.d.ts +7 -1
- package/dist/editor/ai/agentTodoExtraction.js +33 -0
- package/dist/editor/ai/agentTodoExtraction.js.map +1 -1
- package/dist/editor/ai/agentWatchdogStatusRegistry.d.ts +1 -0
- package/dist/editor/ai/agentWatchdogStatusRegistry.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +99 -13
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js +13 -12
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +58 -84
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/agentDialogTypes.d.ts +18 -0
- package/dist/editor/ai/dialogs/agentDialogTypes.js +5 -0
- package/dist/editor/ai/dialogs/agentDialogTypes.js.map +1 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.d.ts +6 -9
- package/dist/editor/ai/dialogs/browserBoundCapture.js +18 -27
- package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageDom.js +50 -35
- package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.d.ts +27 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +270 -159
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/dialogs/captureShared.d.ts +10 -0
- package/dist/editor/ai/dialogs/captureShared.js +39 -0
- package/dist/editor/ai/dialogs/captureShared.js.map +1 -0
- package/dist/editor/ai/dialogs/offscreenPageCapture.d.ts +44 -0
- package/dist/editor/ai/dialogs/offscreenPageCapture.js +300 -0
- package/dist/editor/ai/dialogs/offscreenPageCapture.js.map +1 -0
- package/dist/editor/ai/inlineAiTextEditLabels.d.ts +2 -0
- package/dist/editor/ai/inlineAiTextEditLabels.js +8 -0
- package/dist/editor/ai/inlineAiTextEditLabels.js.map +1 -0
- package/dist/editor/ai/prepareInlineAiTextSelection.d.ts +5 -0
- package/dist/editor/ai/prepareInlineAiTextSelection.js +86 -0
- package/dist/editor/ai/prepareInlineAiTextSelection.js.map +1 -0
- package/dist/editor/ai/terminal/agentContextMerge.d.ts +14 -0
- package/dist/editor/ai/terminal/agentContextMerge.js +111 -0
- package/dist/editor/ai/terminal/agentContextMerge.js.map +1 -0
- package/dist/editor/ai/terminal/agentOptimisticMessage.d.ts +1 -0
- package/dist/editor/ai/terminal/agentOptimisticMessage.js +4 -0
- package/dist/editor/ai/terminal/agentOptimisticMessage.js.map +1 -0
- package/dist/editor/ai/terminal/agentPromptPlaceholders.d.ts +5 -0
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js +8 -0
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js.map +1 -0
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.d.ts +82 -0
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js +277 -0
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js.map +1 -0
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.d.ts +13 -0
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js +87 -0
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionCostLimit.d.ts +7 -0
- package/dist/editor/ai/terminal/agentSessionCostLimit.js +27 -0
- package/dist/editor/ai/terminal/agentSessionCostLimit.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionLiveTotals.d.ts +11 -0
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js +127 -0
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionMetadata.d.ts +2 -0
- package/dist/editor/ai/terminal/agentSessionMetadata.js +24 -0
- package/dist/editor/ai/terminal/agentSessionMetadata.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionSelectors.d.ts +65 -0
- package/dist/editor/ai/terminal/agentSessionSelectors.js +232 -0
- package/dist/editor/ai/terminal/agentSessionSelectors.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionSnapshot.d.ts +16 -0
- package/dist/editor/ai/terminal/agentSessionSnapshot.js +77 -0
- package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionState.d.ts +162 -0
- package/dist/editor/ai/terminal/agentSessionState.js +830 -0
- package/dist/editor/ai/terminal/agentSessionState.js.map +1 -0
- package/dist/editor/ai/terminal/agentStartRequest.d.ts +15 -0
- package/dist/editor/ai/terminal/agentStartRequest.js +25 -0
- package/dist/editor/ai/terminal/agentStartRequest.js.map +1 -0
- package/dist/editor/ai/terminal/agentSubmitErrors.d.ts +1 -0
- package/dist/editor/ai/terminal/agentSubmitErrors.js +9 -0
- package/dist/editor/ai/terminal/agentSubmitErrors.js.map +1 -0
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.d.ts +21 -0
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js +133 -0
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.d.ts +7 -0
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js +145 -0
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentBanners.js +16 -0
- package/dist/editor/ai/terminal/components/AgentBanners.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.d.ts +11 -0
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.js +81 -0
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js +116 -0
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentDocumentList.d.ts +32 -0
- package/dist/editor/ai/terminal/components/AgentDocumentList.js +404 -0
- package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js +12 -0
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.d.ts +39 -0
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +42 -0
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentGreeting.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentGreeting.js +14 -0
- package/dist/editor/ai/terminal/components/AgentGreeting.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentLoadingContent.d.ts +1 -0
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js +6 -0
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.d.ts +7 -0
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js +8 -0
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentModeSelector.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentModeSelector.js +90 -0
- package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentParentLink.d.ts +6 -0
- package/dist/editor/ai/terminal/components/AgentParentLink.js +9 -0
- package/dist/editor/ai/terminal/components/AgentParentLink.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js +10 -0
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.d.ts +16 -0
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js +15 -0
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentProjectProgress.d.ts +12 -0
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js +207 -0
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.d.ts +14 -0
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js +17 -0
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptComposer.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js +10 -0
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.d.ts +39 -0
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +27 -0
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.d.ts +18 -0
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +106 -0
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +7 -0
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js +32 -0
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSettingsContent.d.ts +53 -0
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js +9 -0
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.d.ts +7 -0
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js +14 -0
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSettingsSections.d.ts +43 -0
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js +33 -0
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.d.ts +21 -0
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +48 -0
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.d.ts +16 -0
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js +41 -0
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.d.ts +26 -0
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js +10 -0
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.d.ts +6 -0
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js +10 -0
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.d.ts +10 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js +13 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.d.ts +12 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js +21 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.d.ts +24 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js +13 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.d.ts +23 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +66 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.d.ts +13 -0
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js +10 -0
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.d.ts +24 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +24 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js +7 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.d.ts +62 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js +98 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.d.ts +18 -0
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js +44 -0
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.d.ts +81 -0
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +910 -0
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.d.ts +42 -0
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +18 -0
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalView.d.ts +18 -0
- package/dist/editor/ai/terminal/components/AgentTerminalView.js +42 -0
- package/dist/editor/ai/terminal/components/AgentTerminalView.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentThinkingDots.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js +9 -0
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js.map +1 -0
- package/dist/editor/ai/terminal/components/AiResponseMessage.d.ts +25 -0
- package/dist/editor/ai/terminal/components/AiResponseMessage.js +1557 -0
- package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +1 -0
- package/dist/editor/ai/terminal/components/ContextInfoBar.d.ts +17 -0
- package/dist/editor/ai/terminal/components/ContextInfoBar.js +588 -0
- package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +1 -0
- package/dist/editor/ai/terminal/components/EditOperationsPanel.d.ts +9 -0
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js +102 -0
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/HeartbeatMessage.d.ts +4 -0
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js +7 -0
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js.map +1 -0
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.d.ts +1 -0
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js +5 -0
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js.map +1 -0
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.d.ts +9 -0
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js +56 -0
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js.map +1 -0
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.d.ts +8 -0
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js +49 -0
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.d.ts +7 -0
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js +105 -0
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/TodoListPanel.d.ts +6 -0
- package/dist/editor/ai/terminal/components/TodoListPanel.js +117 -0
- package/dist/editor/ai/terminal/components/TodoListPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/ToolCallDisplay.d.ts +83 -0
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js +784 -0
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +1 -0
- package/dist/editor/ai/terminal/components/UserMessage.d.ts +6 -0
- package/dist/editor/ai/terminal/components/UserMessage.js +243 -0
- package/dist/editor/ai/terminal/components/UserMessage.js.map +1 -0
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.d.ts +21 -0
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.js +32 -0
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.js.map +1 -0
- package/dist/editor/ai/terminal/contextBreakdown.d.ts +17 -0
- package/dist/editor/ai/terminal/contextBreakdown.js +58 -0
- package/dist/editor/ai/terminal/contextBreakdown.js.map +1 -0
- package/dist/editor/ai/terminal/types.d.ts +136 -0
- package/dist/editor/ai/terminal/types.js +2 -0
- package/dist/editor/ai/terminal/types.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentActiveStreaming.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js +9 -0
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js +19 -0
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.d.ts +29 -0
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js +68 -0
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js +96 -0
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.d.ts +9 -0
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js +98 -0
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js +29 -0
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentCostLimitActions.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js +41 -0
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js +58 -0
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentDraftInitializer.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js +121 -0
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentEditorContext.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentEditorContext.js +166 -0
- package/dist/editor/ai/terminal/useAgentEditorContext.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js +16 -0
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js +10 -0
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js +55 -0
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js +55 -0
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js +18 -0
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInitialPrompt.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js +51 -0
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.d.ts +23 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js +196 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.d.ts +23 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js +28 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogState.d.ts +22 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js +78 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js +26 -0
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js +21 -0
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.d.ts +40 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js +75 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.d.ts +13 -0
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js +31 -0
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoader.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentLoader.js +80 -0
- package/dist/editor/ai/terminal/useAgentLoader.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js +23 -0
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentModeState.d.ts +13 -0
- package/dist/editor/ai/terminal/useAgentModeState.js +52 -0
- package/dist/editor/ai/terminal/useAgentModeState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.d.ts +8 -0
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js +26 -0
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js +19 -0
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPendingApprovals.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js +35 -0
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.d.ts +18 -0
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js +140 -0
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js +60 -0
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentProfileSelection.d.ts +17 -0
- package/dist/editor/ai/terminal/useAgentProfileSelection.js +61 -0
- package/dist/editor/ai/terminal/useAgentProfileSelection.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.d.ts +37 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js +206 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.d.ts +26 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js +51 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js +29 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptDraft.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentPromptDraft.js +39 -0
- package/dist/editor/ai/terminal/useAgentPromptDraft.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js +22 -0
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js +61 -0
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js +10 -0
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentQuickActions.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentQuickActions.js +109 -0
- package/dist/editor/ai/terminal/useAgentQuickActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.d.ts +22 -0
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js +67 -0
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.d.ts +18 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js +53 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.d.ts +24 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js +66 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.d.ts +22 -0
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js +70 -0
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.d.ts +42 -0
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js +39 -0
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunRefs.d.ts +17 -0
- package/dist/editor/ai/terminal/useAgentRunRefs.js +44 -0
- package/dist/editor/ai/terminal/useAgentRunRefs.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js +118 -0
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js +22 -0
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js +74 -0
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.d.ts +36 -0
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +360 -0
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js +9 -0
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentServerReconciler.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentServerReconciler.js +22 -0
- package/dist/editor/ai/terminal/useAgentServerReconciler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSession.d.ts +50 -0
- package/dist/editor/ai/terminal/useAgentSession.js +181 -0
- package/dist/editor/ai/terminal/useAgentSession.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.d.ts +13 -0
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js +26 -0
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.d.ts +10 -0
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js +14 -0
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionFacade.d.ts +49 -0
- package/dist/editor/ai/terminal/useAgentSessionFacade.js +127 -0
- package/dist/editor/ai/terminal/useAgentSessionFacade.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.d.ts +8 -0
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js +17 -0
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionSync.d.ts +102 -0
- package/dist/editor/ai/terminal/useAgentSessionSync.js +179 -0
- package/dist/editor/ai/terminal/useAgentSessionSync.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsCommands.d.ts +49 -0
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js +210 -0
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.d.ts +46 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.js +380 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.d.ts +10 -0
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js +33 -0
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsPanel.d.ts +87 -0
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js +92 -0
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +45 -0
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.d.ts +35 -0
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js +51 -0
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSkillActions.d.ts +33 -0
- package/dist/editor/ai/terminal/useAgentSkillActions.js +210 -0
- package/dist/editor/ai/terminal/useAgentSkillActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js +57 -0
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStatusBarContent.d.ts +36 -0
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js +70 -0
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStopCommand.d.ts +28 -0
- package/dist/editor/ai/terminal/useAgentStopCommand.js +55 -0
- package/dist/editor/ai/terminal/useAgentStopCommand.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStopGuardState.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentStopGuardState.js +40 -0
- package/dist/editor/ai/terminal/useAgentStopGuardState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js +31 -0
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamPipeline.d.ts +66 -0
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js +169 -0
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamSubscription.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js +70 -0
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.d.ts +38 -0
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js +228 -0
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js +85 -0
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +57 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +402 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.d.ts +31 -0
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js +45 -0
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.d.ts +20 -0
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js +57 -0
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js +35 -0
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js +32 -0
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalActions.d.ts +23 -0
- package/dist/editor/ai/terminal/useAgentTerminalActions.js +54 -0
- package/dist/editor/ai/terminal/useAgentTerminalActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js +16 -0
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalChrome.d.ts +30 -0
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js +12 -0
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalController.d.ts +2 -0
- package/dist/editor/ai/terminal/useAgentTerminalController.js +900 -0
- package/dist/editor/ai/terminal/useAgentTerminalController.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalControls.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentTerminalControls.js +21 -0
- package/dist/editor/ai/terminal/useAgentTerminalControls.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js +17 -0
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalNotices.d.ts +10 -0
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js +11 -0
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js +29 -0
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalScroll.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js +63 -0
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalUiState.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js +43 -0
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js +22 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewState.d.ts +32 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js +44 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js +187 -0
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js +65 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.d.ts +8 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js +53 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolCallHandler.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js +84 -0
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolResultHandler.d.ts +18 -0
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js +127 -0
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolUiEvents.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js +24 -0
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.d.ts +9 -0
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js +44 -0
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentVoiceInput.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentVoiceInput.js +231 -0
- package/dist/editor/ai/terminal/useAgentVoiceInput.js.map +1 -0
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.d.ts +6 -0
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js +57 -0
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js.map +1 -0
- package/dist/editor/ai/types.d.ts +1 -1
- package/dist/editor/ai/useActiveAgentConversation.d.ts +5 -0
- package/dist/editor/ai/useActiveAgentConversation.js +52 -0
- package/dist/editor/ai/useActiveAgentConversation.js.map +1 -0
- package/dist/editor/ai/useAgentPanes.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.js +33 -5
- package/dist/editor/ai/useAgentPanes.js.map +1 -1
- package/dist/editor/ai/useAgentStatus.js +3 -1
- package/dist/editor/ai/useAgentStatus.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.d.ts +10 -2
- package/dist/editor/ai/useInlineAiPosition.js +69 -86
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js +137 -26
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js +32 -64
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
- package/dist/editor/bridge/BridgeClient.d.ts +73 -0
- package/dist/editor/bridge/BridgeClient.js +415 -0
- package/dist/editor/bridge/BridgeClient.js.map +1 -0
- package/dist/editor/bridge/protocol.d.ts +564 -0
- package/dist/editor/bridge/protocol.js +200 -0
- package/dist/editor/bridge/protocol.js.map +1 -0
- package/dist/editor/client/AboutDialog.js +18 -6
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.d.ts +2 -5
- package/dist/editor/client/EditorShell.js +736 -253
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/OperationDialogContent.js +3 -3
- package/dist/editor/client/OperationDialogContent.js.map +1 -1
- package/dist/editor/client/SessionExpiredOverlay.d.ts +1 -0
- package/dist/editor/client/SessionExpiredOverlay.js +25 -0
- package/dist/editor/client/SessionExpiredOverlay.js.map +1 -0
- package/dist/editor/client/editContext.d.ts +127 -13
- package/dist/editor/client/editContext.js +3 -7
- package/dist/editor/client/editContext.js.map +1 -1
- package/dist/editor/client/fieldModificationStore.d.ts +6 -2
- package/dist/editor/client/fieldModificationStore.js +38 -23
- package/dist/editor/client/fieldModificationStore.js.map +1 -1
- package/dist/editor/client/helpers.js +3 -3
- package/dist/editor/client/helpers.js.map +1 -1
- package/dist/editor/client/hooks/feedbackSocketState.d.ts +6 -0
- package/dist/editor/client/hooks/feedbackSocketState.js +16 -0
- package/dist/editor/client/hooks/feedbackSocketState.js.map +1 -0
- package/dist/editor/client/hooks/useEditorUrlSync.js +14 -1
- package/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -1
- package/dist/editor/client/hooks/useEditorWebSocket.d.ts +3 -0
- package/dist/editor/client/hooks/useEditorWebSocket.js +224 -18
- package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
- package/dist/editor/client/hooks/useMediaSelector.js.map +1 -1
- package/dist/editor/client/hooks/useReducedMotion.d.ts +8 -0
- package/dist/editor/client/hooks/useReducedMotion.js +12 -0
- package/dist/editor/client/hooks/useReducedMotion.js.map +1 -0
- package/dist/editor/client/hooks/useSocketMessageHandler.d.ts +4 -0
- package/dist/editor/client/hooks/useSocketMessageHandler.js +127 -86
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/hooks/useWorkbox.d.ts +2 -0
- package/dist/editor/client/hooks/useWorkbox.js +76 -33
- package/dist/editor/client/hooks/useWorkbox.js.map +1 -1
- package/dist/editor/client/hooks/workboxDescriptors.d.ts +6 -0
- package/dist/editor/client/hooks/workboxDescriptors.js +49 -0
- package/dist/editor/client/hooks/workboxDescriptors.js.map +1 -0
- package/dist/editor/client/itemsRepository.d.ts +10 -5
- package/dist/editor/client/itemsRepository.js +48 -46
- package/dist/editor/client/itemsRepository.js.map +1 -1
- package/dist/editor/client/manualShowMeFocus.d.ts +17 -0
- package/dist/editor/client/manualShowMeFocus.js +32 -0
- package/dist/editor/client/manualShowMeFocus.js.map +1 -0
- package/dist/editor/client/operationToasts.d.ts +2 -0
- package/dist/editor/client/operationToasts.js +35 -0
- package/dist/editor/client/operationToasts.js.map +1 -0
- package/dist/editor/client/operations.d.ts +20 -5
- package/dist/editor/client/operations.js +407 -136
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.d.ts +2 -0
- package/dist/editor/client/pageModelBuilder.js +89 -20
- package/dist/editor/client/pageModelBuilder.js.map +1 -1
- package/dist/editor/client/realtime/realtimeTransport.d.ts +56 -0
- package/dist/editor/client/realtime/realtimeTransport.js +197 -0
- package/dist/editor/client/realtime/realtimeTransport.js.map +1 -0
- package/dist/editor/client/ui/DevModeIndicator.js +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js.map +1 -1
- package/dist/editor/client/ui/EditorChrome.js +11 -4
- package/dist/editor/client/ui/EditorChrome.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.js +5 -5
- package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
- package/dist/editor/client/waitForEditOperationTerminal.d.ts +1 -0
- package/dist/editor/client/waitForEditOperationTerminal.js +1 -1
- package/dist/editor/client/waitForEditOperationTerminal.js.map +1 -1
- package/dist/editor/commands/agentCommands.js +1 -1
- package/dist/editor/commands/agentCommands.js.map +1 -1
- package/dist/editor/commands/commands.js.map +1 -1
- package/dist/editor/commands/componentCommands.d.ts +13 -3
- package/dist/editor/commands/componentCommands.js +77 -7
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/createVersionCommand.js +6 -2
- package/dist/editor/commands/createVersionCommand.js.map +1 -1
- package/dist/editor/commands/customCommandConverter.js +10 -8
- package/dist/editor/commands/customCommandConverter.js.map +1 -1
- package/dist/editor/commands/handlers/agentHandler.js.map +1 -1
- package/dist/editor/commands/handlers/uiActionHandlers.d.ts +1 -0
- package/dist/editor/commands/handlers/uiActionHandlers.js +30 -3
- package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
- package/dist/editor/commands/itemCommands.js +24 -27
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/keyboardCommands.d.ts +6 -0
- package/dist/editor/commands/keyboardCommands.js +78 -2
- package/dist/editor/commands/keyboardCommands.js.map +1 -1
- package/dist/editor/commands/placeholderCommands.d.ts +17 -0
- package/dist/editor/commands/placeholderCommands.js +37 -0
- package/dist/editor/commands/placeholderCommands.js.map +1 -0
- package/dist/editor/commands/reorderComponent.d.ts +20 -0
- package/dist/editor/commands/reorderComponent.js +40 -0
- package/dist/editor/commands/reorderComponent.js.map +1 -0
- package/dist/editor/commands/templateBuilderCommands.js.map +1 -1
- package/dist/editor/commands/undo.js +10 -6
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/componentFrameColors.d.ts +11 -0
- package/dist/editor/componentFrameColors.js +47 -0
- package/dist/editor/componentFrameColors.js.map +1 -0
- package/dist/editor/content-tree/IndicatorSettings.js +5 -4
- package/dist/editor/content-tree/IndicatorSettings.js.map +1 -1
- package/dist/editor/content-tree/TreeOptions.js +1 -1
- package/dist/editor/content-tree/TreeSettingsMenu.js +7 -3
- package/dist/editor/content-tree/TreeSettingsMenu.js.map +1 -1
- package/dist/editor/context-menu/InsertMenu.js +9 -9
- package/dist/editor/context-menu/InsertMenu.js.map +1 -1
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js +5 -0
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js.map +1 -1
- package/dist/editor/editor-warnings/ItemLocked.js +6 -3
- package/dist/editor/editor-warnings/ItemLocked.js.map +1 -1
- package/dist/editor/field-types/AttachmentEditor.js +42 -4
- package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
- package/dist/editor/field-types/CheckboxEditor.js +3 -1
- package/dist/editor/field-types/CheckboxEditor.js.map +1 -1
- package/dist/editor/field-types/DateFieldEditor.js +1 -1
- package/dist/editor/field-types/DateFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DropLinkEditor.js +31 -16
- package/dist/editor/field-types/DropLinkEditor.js.map +1 -1
- package/dist/editor/field-types/DropListEditor.js +1 -1
- package/dist/editor/field-types/DropListEditor.js.map +1 -1
- package/dist/editor/field-types/ImageFieldEditor.js +1 -1
- package/dist/editor/field-types/ImageFieldEditor.js.map +1 -1
- package/dist/editor/field-types/InternalLinkFieldEditor.js +18 -9
- package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/LinkFieldEditor.js +15 -3
- package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/MultiLineText.js +35 -9
- package/dist/editor/field-types/MultiLineText.js.map +1 -1
- package/dist/editor/field-types/NameValueListEditor.js +7 -3
- package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
- package/dist/editor/field-types/PictureFieldEditor.js +19 -13
- package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
- package/dist/editor/field-types/RawEditor.js +9 -2
- package/dist/editor/field-types/RawEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditor.js +31 -10
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +194 -81
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
- package/dist/editor/field-types/SingleLineText.js +31 -5
- package/dist/editor/field-types/SingleLineText.js.map +1 -1
- package/dist/editor/field-types/TreeListEditor.js +72 -9
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.d.ts +21 -0
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js +96 -0
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js.map +1 -0
- package/dist/editor/field-types/richtext/components/EditorDropdown.css +7 -6
- package/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +5 -5
- package/dist/editor/field-types/richtext/components/EditorDropdown.js +21 -20
- package/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ReactSlate.css +108 -31
- package/dist/editor/field-types/richtext/components/ReactSlate.js +240 -50
- package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js +11 -6
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +32 -16
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +26 -2
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js +5 -4
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +4 -2
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ToolbarButton.js +3 -3
- package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.d.ts +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.js +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/contextMenuFactory.d.ts +2 -14
- package/dist/editor/field-types/richtext/contextMenuFactory.js +4 -379
- package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js +19 -19
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +5 -2
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +41 -13
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -1
- package/dist/editor/field-types/richtext/richTextToolbarIcons.d.ts +7 -0
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js +49 -0
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js.map +1 -0
- package/dist/editor/field-types/richtext/types.d.ts +2 -0
- package/dist/editor/field-types/richtext/types.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/conversion.d.ts +2 -2
- package/dist/editor/field-types/richtext/utils/conversion.js +298 -214
- package/dist/editor/field-types/richtext/utils/conversion.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/plugins.js +96 -69
- package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/profileMapper.d.ts +1 -1
- package/dist/editor/field-types/richtext/utils/profileMapper.js +186 -171
- package/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js.map +1 -1
- package/dist/editor/field-types/useFormFieldCaretPresence.d.ts +13 -0
- package/dist/editor/field-types/useFormFieldCaretPresence.js +92 -0
- package/dist/editor/field-types/useFormFieldCaretPresence.js.map +1 -0
- package/dist/editor/field-types/useTextCompletion.d.ts +20 -0
- package/dist/editor/field-types/useTextCompletion.js +166 -0
- package/dist/editor/field-types/useTextCompletion.js.map +1 -0
- package/dist/editor/fieldTypes.d.ts +2 -0
- package/dist/editor/hooks/useNavigationPanelLogic.d.ts +3 -3
- package/dist/editor/hooks/useNavigationPanelLogic.js +5 -5
- package/dist/editor/hooks/useNavigationPanelLogic.js.map +1 -1
- package/dist/editor/hooks/useParheliaSettings.js +8 -7
- package/dist/editor/hooks/useParheliaSettings.js.map +1 -1
- package/dist/editor/insertMenuItems.d.ts +11 -0
- package/dist/editor/insertMenuItems.js +10 -1
- package/dist/editor/insertMenuItems.js.map +1 -1
- package/dist/editor/manualActionEvents.js +3 -1
- package/dist/editor/manualActionEvents.js.map +1 -1
- package/dist/editor/media-selector/AiImageSearchPrompt.js +3 -3
- package/dist/editor/media-selector/MediaFolderBrowser.d.ts +2 -1
- package/dist/editor/media-selector/MediaFolderBrowser.js +318 -49
- package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
- package/dist/editor/media-selector/MediaSelector.js +4 -2
- package/dist/editor/media-selector/MediaSelector.js.map +1 -1
- package/dist/editor/media-selector/Preview.d.ts +2 -1
- package/dist/editor/media-selector/Preview.js +53 -6
- package/dist/editor/media-selector/Preview.js.map +1 -1
- package/dist/editor/media-selector/Thumbnails.d.ts +5 -1
- package/dist/editor/media-selector/Thumbnails.js +72 -11
- package/dist/editor/media-selector/Thumbnails.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +155 -41
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/media-selector/UploadZone.d.ts +3 -1
- package/dist/editor/media-selector/UploadZone.js +27 -23
- package/dist/editor/media-selector/UploadZone.js.map +1 -1
- package/dist/editor/media-selector/mediaFileType.d.ts +12 -0
- package/dist/editor/media-selector/mediaFileType.js +95 -0
- package/dist/editor/media-selector/mediaFileType.js.map +1 -0
- package/dist/editor/media-selector/mediaSelectionPath.d.ts +5 -0
- package/dist/editor/media-selector/mediaSelectionPath.js +21 -0
- package/dist/editor/media-selector/mediaSelectionPath.js.map +1 -0
- package/dist/editor/media-selector/mediaUpload.d.ts +30 -0
- package/dist/editor/media-selector/mediaUpload.js +155 -0
- package/dist/editor/media-selector/mediaUpload.js.map +1 -0
- package/dist/editor/menubar/ActiveUsers.js +32 -36
- package/dist/editor/menubar/ActiveUsers.js.map +1 -1
- package/dist/editor/menubar/FavoritesControls.js +51 -30
- package/dist/editor/menubar/FavoritesControls.js.map +1 -1
- package/dist/editor/menubar/GenericToolbar.js +2 -1
- package/dist/editor/menubar/GenericToolbar.js.map +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js.map +1 -1
- package/dist/editor/menubar/ItemLanguageVersion.d.ts +4 -1
- package/dist/editor/menubar/ItemLanguageVersion.js +17 -18
- package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -1
- package/dist/editor/menubar/OpenInNewTabButton.d.ts +15 -0
- package/dist/editor/menubar/OpenInNewTabButton.js +42 -0
- package/dist/editor/menubar/OpenInNewTabButton.js.map +1 -0
- package/dist/editor/menubar/OperationsIndicator.d.ts +7 -0
- package/dist/editor/menubar/OperationsIndicator.js +87 -0
- package/dist/editor/menubar/OperationsIndicator.js.map +1 -0
- package/dist/editor/menubar/PageSelector.js +11 -5
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/PreviewDatePicker.js +40 -21
- package/dist/editor/menubar/PreviewDatePicker.js.map +1 -1
- package/dist/editor/menubar/Separator.d.ts +2 -1
- package/dist/editor/menubar/Separator.js +2 -2
- package/dist/editor/menubar/Separator.js.map +1 -1
- package/dist/editor/menubar/ToolbarFactory.js +30 -19
- package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
- package/dist/editor/menubar/User.js +2 -7
- package/dist/editor/menubar/User.js.map +1 -1
- package/dist/editor/menubar/VersionPreviewCard.js +11 -231
- package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
- package/dist/editor/menubar/VersionSelector.d.ts +4 -2
- package/dist/editor/menubar/VersionSelector.js +70 -24
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +23 -28
- package/dist/editor/menubar/WorkflowButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CompareControls.js +3 -1
- package/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.d.ts +1 -0
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js +13 -0
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js.map +1 -0
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.d.ts +7 -0
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +132 -0
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +1 -0
- package/dist/editor/menubar/toolbar-sections/EditControls.d.ts +4 -2
- package/dist/editor/menubar/toolbar-sections/EditControls.js +82 -11
- package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.d.ts +1 -0
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js +15 -0
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js.map +1 -0
- package/dist/editor/menubar/toolbar-sections/InsertControls.js +1 -1
- package/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.d.ts +22 -0
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +935 -161
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js +2 -1
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +58 -31
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +3 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js +14 -4
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +1 -0
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js +100 -38
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/index.d.ts +4 -2
- package/dist/editor/menubar/toolbar-sections/index.js +4 -2
- package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
- package/dist/editor/notifications/NotificationCenter.d.ts +4 -1
- package/dist/editor/notifications/NotificationCenter.js +41 -30
- package/dist/editor/notifications/NotificationCenter.js.map +1 -1
- package/dist/editor/notifications/NotificationItem.js +100 -15
- package/dist/editor/notifications/NotificationItem.js.map +1 -1
- package/dist/editor/notifications/WatchButton.d.ts +5 -4
- package/dist/editor/notifications/WatchButton.js +105 -61
- package/dist/editor/notifications/WatchButton.js.map +1 -1
- package/dist/editor/notifications/notificationListState.js +4 -1
- package/dist/editor/notifications/notificationListState.js.map +1 -1
- package/dist/editor/notifications/notificationRoutes.js.map +1 -1
- package/dist/editor/notifications/useNotificationSubscriptions.d.ts +8 -0
- package/dist/editor/notifications/useNotificationSubscriptions.js +25 -1
- package/dist/editor/notifications/useNotificationSubscriptions.js.map +1 -1
- package/dist/editor/notifications/useNotifications.js +58 -22
- package/dist/editor/notifications/useNotifications.js.map +1 -1
- package/dist/editor/notifications/watchEventOptions.d.ts +13 -0
- package/dist/editor/notifications/watchEventOptions.js +113 -0
- package/dist/editor/notifications/watchEventOptions.js.map +1 -0
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.d.ts +8 -0
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +526 -0
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +1 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +6 -4
- package/dist/editor/page-editor-chrome/CommentHighlightings.js +497 -11
- package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.d.ts +8 -0
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.js +8 -0
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.js.map +1 -0
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +36 -0
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +1067 -0
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +1 -0
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.d.ts +22 -0
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js +40 -0
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js.map +1 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js +30 -68
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +1 -3
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +38 -101
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +1 -3
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js +2 -2
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenu.d.ts +7 -4
- package/dist/editor/page-editor-chrome/FrameMenu.js +264 -223
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.d.ts +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.js +72 -18
- package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
- package/dist/editor/page-editor-chrome/InsertComponentMenu.d.ts +26 -0
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js +35 -0
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js.map +1 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +3 -2
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +191 -20
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/NoLayout.js +1 -1
- package/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +6 -2
- package/dist/editor/page-editor-chrome/PageEditorChrome.js +141 -48
- package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +167 -147
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +34 -3
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +175 -65
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +13 -5
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +120 -305
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +6 -4
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +304 -12
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +1 -3
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +160 -123
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.d.ts +24 -0
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js +90 -0
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js.map +1 -0
- package/dist/editor/page-editor-chrome/componentDragObject.d.ts +10 -0
- package/dist/editor/page-editor-chrome/componentDragObject.js +22 -0
- package/dist/editor/page-editor-chrome/componentDragObject.js.map +1 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.d.ts +6 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.js +21 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +62 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +306 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.d.ts +44 -0
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js +160 -0
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +83 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.js +349 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.d.ts +67 -0
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +279 -0
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.d.ts +10 -0
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js +28 -0
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js.map +1 -0
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.d.ts +29 -0
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js +334 -0
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js.map +1 -0
- package/dist/editor/page-editor-chrome/useComponentDragHandle.d.ts +23 -0
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js +41 -0
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +1 -0
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.d.ts +23 -0
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js +207 -0
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js.map +1 -0
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.d.ts +2 -0
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js +18 -0
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js.map +1 -0
- package/dist/editor/page-viewer/DeviceToolbar.js +2 -2
- package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -1
- package/dist/editor/page-viewer/EditorForm.js +55 -24
- package/dist/editor/page-viewer/EditorForm.js.map +1 -1
- package/dist/editor/page-viewer/EditorFormHintPopover.d.ts +2 -2
- package/dist/editor/page-viewer/EditorFormHintPopover.js +4 -4
- package/dist/editor/page-viewer/EditorFormHintPopover.js.map +1 -1
- package/dist/editor/page-viewer/MiniMap.d.ts +29 -2
- package/dist/editor/page-viewer/MiniMap.js +375 -340
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/MinimapDropTargets.d.ts +13 -0
- package/dist/editor/page-viewer/MinimapDropTargets.js +140 -0
- package/dist/editor/page-viewer/MinimapDropTargets.js.map +1 -0
- package/dist/editor/page-viewer/PageViewer.d.ts +4 -2
- package/dist/editor/page-viewer/PageViewer.js +202 -21
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +4 -7
- package/dist/editor/page-viewer/PageViewerFrame.js +2220 -1270
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/RenderingParametersSection.js +13 -7
- package/dist/editor/page-viewer/RenderingParametersSection.js.map +1 -1
- package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +19 -0
- package/dist/editor/page-viewer/bridgeFieldPatch.js +33 -0
- package/dist/editor/page-viewer/bridgeFieldPatch.js.map +1 -0
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.d.ts +3 -0
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js +36 -0
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js.map +1 -0
- package/dist/editor/page-viewer/pageViewContext.d.ts +35 -0
- package/dist/editor/page-viewer/pageViewContext.js +40 -3
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/page-viewer/renderUrl.d.ts +14 -0
- package/dist/editor/page-viewer/renderUrl.js +83 -0
- package/dist/editor/page-viewer/renderUrl.js.map +1 -0
- package/dist/editor/pageModel.d.ts +4 -0
- package/dist/editor/pageModel.js +12 -1
- package/dist/editor/pageModel.js.map +1 -1
- package/dist/editor/personalization/ActionList.js +2 -2
- package/dist/editor/personalization/ActionList.js.map +1 -1
- package/dist/editor/personalization/ConditionTreeEditor.js +9 -9
- package/dist/editor/personalization/ConditionTreeEditor.js.map +1 -1
- package/dist/editor/personalization/PersonalizationPanel.d.ts +3 -1
- package/dist/editor/personalization/PersonalizationPanel.js +39 -18
- package/dist/editor/personalization/PersonalizationPanel.js.map +1 -1
- package/dist/editor/personalization/RuleElementPicker.js +5 -4
- package/dist/editor/personalization/RuleElementPicker.js.map +1 -1
- package/dist/editor/personalization/RuleList.js +13 -10
- package/dist/editor/personalization/RuleList.js.map +1 -1
- package/dist/editor/personalization/RuleParameterInput.js +10 -7
- package/dist/editor/personalization/RuleParameterInput.js.map +1 -1
- package/dist/editor/personalization/TreeItemPicker.js +4 -6
- package/dist/editor/personalization/TreeItemPicker.js.map +1 -1
- package/dist/editor/personalization/utils.js.map +1 -1
- package/dist/editor/reviews/Comment.d.ts +6 -1
- package/dist/editor/reviews/Comment.js +64 -103
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +244 -78
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentEditor.d.ts +7 -2
- package/dist/editor/reviews/CommentEditor.js +45 -8
- package/dist/editor/reviews/CommentEditor.js.map +1 -1
- package/dist/editor/reviews/CommentPopover.d.ts +4 -0
- package/dist/editor/reviews/CommentPopover.js +92 -15
- package/dist/editor/reviews/CommentPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.d.ts +4 -1
- package/dist/editor/reviews/CommentView.js +60 -38
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.d.ts +0 -2
- package/dist/editor/reviews/Comments.js +269 -51
- package/dist/editor/reviews/Comments.js.map +1 -1
- package/dist/editor/reviews/CommentsAndFeedback.d.ts +2 -8
- package/dist/editor/reviews/CommentsAndFeedback.js +10 -43
- package/dist/editor/reviews/CommentsAndFeedback.js.map +1 -1
- package/dist/editor/reviews/CreateReviewConfirmStep.js +2 -2
- package/dist/editor/reviews/CreateReviewConfirmStep.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDetailsStep.js +9 -9
- package/dist/editor/reviews/CreateReviewDetailsStep.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
- package/dist/editor/reviews/CreateReviewSuccessStep.js +2 -2
- package/dist/editor/reviews/CreateReviewSuccessStep.js.map +1 -1
- package/dist/editor/reviews/DecisionsMatrix.js +34 -26
- package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
- package/dist/editor/reviews/DiffView.js +6 -6
- package/dist/editor/reviews/DiffView.js.map +1 -1
- package/dist/editor/reviews/EditReviewSettingsDialog.js +68 -54
- package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
- package/dist/editor/reviews/FeedbackCard.d.ts +23 -0
- package/dist/editor/reviews/FeedbackCard.js +32 -0
- package/dist/editor/reviews/FeedbackCard.js.map +1 -0
- package/dist/editor/reviews/FeedbackModeIntro.d.ts +15 -0
- package/dist/editor/reviews/FeedbackModeIntro.js +22 -0
- package/dist/editor/reviews/FeedbackModeIntro.js.map +1 -0
- package/dist/editor/reviews/ItemTreeSelector.js +1 -1
- package/dist/editor/reviews/ItemTreeSelector.js.map +1 -1
- package/dist/editor/reviews/LatestFeedback.js +26 -49
- package/dist/editor/reviews/LatestFeedback.js.map +1 -1
- package/dist/editor/reviews/MentionText.d.ts +3 -0
- package/dist/editor/reviews/MentionText.js +139 -0
- package/dist/editor/reviews/MentionText.js.map +1 -0
- package/dist/editor/reviews/PreconfiguredReviewerSelector.js +1 -1
- package/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +1 -1
- package/dist/editor/reviews/ReviewCard.js +12 -11
- package/dist/editor/reviews/ReviewCard.js.map +1 -1
- package/dist/editor/reviews/ReviewDetail.js +5 -5
- package/dist/editor/reviews/ReviewDetail.js.map +1 -1
- package/dist/editor/reviews/ReviewersPanel.js +33 -19
- package/dist/editor/reviews/ReviewersPanel.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +4 -3
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.d.ts +4 -1
- package/dist/editor/reviews/SuggestedEdit.js +101 -61
- package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
- package/dist/editor/reviews/SuggestionCommentThread.d.ts +14 -0
- package/dist/editor/reviews/SuggestionCommentThread.js +151 -0
- package/dist/editor/reviews/SuggestionCommentThread.js.map +1 -0
- package/dist/editor/reviews/SuggestionDisplayPopover.js +45 -47
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js +96 -27
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/commentTransientSelection.d.ts +23 -0
- package/dist/editor/reviews/commentTransientSelection.js +7 -0
- package/dist/editor/reviews/commentTransientSelection.js.map +1 -0
- package/dist/editor/reviews/feedbackAvatar.d.ts +14 -0
- package/dist/editor/reviews/feedbackAvatar.js +86 -0
- package/dist/editor/reviews/feedbackAvatar.js.map +1 -0
- package/dist/editor/reviews/feedbackCommentRules.d.ts +3 -0
- package/dist/editor/reviews/feedbackCommentRules.js +15 -0
- package/dist/editor/reviews/feedbackCommentRules.js.map +1 -0
- package/dist/editor/reviews/feedbackOrdering.d.ts +5 -0
- package/dist/editor/reviews/feedbackOrdering.js +27 -0
- package/dist/editor/reviews/feedbackOrdering.js.map +1 -0
- package/dist/editor/reviews/feedbackScrollTarget.d.ts +19 -0
- package/dist/editor/reviews/feedbackScrollTarget.js +171 -0
- package/dist/editor/reviews/feedbackScrollTarget.js.map +1 -0
- package/dist/editor/reviews/feedbackSelection.d.ts +3 -0
- package/dist/editor/reviews/feedbackSelection.js +65 -0
- package/dist/editor/reviews/feedbackSelection.js.map +1 -0
- package/dist/editor/reviews/feedbackSidebarText.d.ts +2 -0
- package/dist/editor/reviews/feedbackSidebarText.js +3 -0
- package/dist/editor/reviews/feedbackSidebarText.js.map +1 -0
- package/dist/editor/reviews/latestFeedbackData.d.ts +11 -0
- package/dist/editor/reviews/latestFeedbackData.js +40 -0
- package/dist/editor/reviews/latestFeedbackData.js.map +1 -0
- package/dist/editor/reviews/openCommentsFeedback.d.ts +35 -0
- package/dist/editor/reviews/openCommentsFeedback.js +89 -0
- package/dist/editor/reviews/openCommentsFeedback.js.map +1 -0
- package/dist/editor/reviews/reviewCommands.js +2 -2
- package/dist/editor/reviews/reviewCommands.js.map +1 -1
- package/dist/editor/reviews/suggestedEditState.d.ts +14 -0
- package/dist/editor/reviews/suggestedEditState.js +110 -0
- package/dist/editor/reviews/suggestedEditState.js.map +1 -0
- package/dist/editor/reviews/suggestionContentChange.d.ts +2 -0
- package/dist/editor/reviews/suggestionContentChange.js +29 -0
- package/dist/editor/reviews/suggestionContentChange.js.map +1 -0
- package/dist/editor/reviews/suggestionDisplayValue.d.ts +43 -0
- package/dist/editor/reviews/suggestionDisplayValue.js +93 -0
- package/dist/editor/reviews/suggestionDisplayValue.js.map +1 -0
- package/dist/editor/reviews/useMultiReview.js +5 -4
- package/dist/editor/reviews/useMultiReview.js.map +1 -1
- package/dist/editor/services/agentService.d.ts +75 -27
- package/dist/editor/services/agentService.js +105 -33
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/services/agentStatus.js +1 -1
- package/dist/editor/services/agentStatus.js.map +1 -1
- package/dist/editor/services/agentSubscriptionRegistry.js +12 -13
- package/dist/editor/services/agentSubscriptionRegistry.js.map +1 -1
- package/dist/editor/services/aiService.d.ts +8 -38
- package/dist/editor/services/aiService.js +7 -64
- package/dist/editor/services/aiService.js.map +1 -1
- package/dist/editor/services/contentService.d.ts +11 -1
- package/dist/editor/services/contentService.js +7 -20
- package/dist/editor/services/contentService.js.map +1 -1
- package/dist/editor/services/contextService.js.map +1 -1
- package/dist/editor/services/customCommandsService.js.map +1 -1
- package/dist/editor/services/editService.d.ts +16 -0
- package/dist/editor/services/editService.js +8 -3
- package/dist/editor/services/editService.js.map +1 -1
- package/dist/editor/services/indexService.js.map +1 -1
- package/dist/editor/services/indicatorService.js.map +1 -1
- package/dist/editor/services/localStorageService.js +3 -3
- package/dist/editor/services/localStorageService.js.map +1 -1
- package/dist/editor/services/manualService.d.ts +31 -0
- package/dist/editor/services/manualService.js +77 -0
- package/dist/editor/services/manualService.js.map +1 -0
- package/dist/editor/services/notificationService.d.ts +4 -0
- package/dist/editor/services/notificationService.js +5 -1
- package/dist/editor/services/notificationService.js.map +1 -1
- package/dist/editor/services/personalizationService.js.map +1 -1
- package/dist/editor/services/reviewsService.d.ts +6 -3
- package/dist/editor/services/reviewsService.js +10 -2
- package/dist/editor/services/reviewsService.js.map +1 -1
- package/dist/editor/services/serviceHelper.d.ts +8 -0
- package/dist/editor/services/serviceHelper.js +59 -0
- package/dist/editor/services/serviceHelper.js.map +1 -1
- package/dist/editor/services/suggestedEditsService.js.map +1 -1
- package/dist/editor/services/systemService.d.ts +49 -0
- package/dist/editor/services/systemService.js +32 -0
- package/dist/editor/services/systemService.js.map +1 -1
- package/dist/editor/services/templateBuilderService.js +5 -6
- package/dist/editor/services/templateBuilderService.js.map +1 -1
- package/dist/editor/services/userResolution.d.ts +18 -0
- package/dist/editor/services/userResolution.js +86 -0
- package/dist/editor/services/userResolution.js.map +1 -0
- package/dist/editor/services/userService.d.ts +14 -0
- package/dist/editor/services/userService.js +39 -0
- package/dist/editor/services/userService.js.map +1 -0
- package/dist/editor/settings/About.js +219 -32
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/IndexOverview.js +10 -9
- package/dist/editor/settings/IndexOverview.js.map +1 -1
- package/dist/editor/settings/QuotaInfo.js +90 -69
- package/dist/editor/settings/QuotaInfo.js.map +1 -1
- package/dist/editor/settings/QuotaUserPicker.js +15 -55
- package/dist/editor/settings/QuotaUserPicker.js.map +1 -1
- package/dist/editor/settings/SettingsBreadcrumb.d.ts +3 -6
- package/dist/editor/settings/SettingsBreadcrumb.js +18 -2
- package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
- package/dist/editor/settings/SettingsCard.d.ts +4 -0
- package/dist/editor/settings/SettingsCard.js +7 -0
- package/dist/editor/settings/SettingsCard.js.map +1 -0
- package/dist/editor/settings/SettingsHeaderActionsContext.d.ts +9 -3
- package/dist/editor/settings/SettingsHeaderActionsContext.js +6 -6
- package/dist/editor/settings/SettingsHeaderActionsContext.js.map +1 -1
- package/dist/editor/settings/SettingsPanelLayout.d.ts +28 -0
- package/dist/editor/settings/SettingsPanelLayout.js +24 -0
- package/dist/editor/settings/SettingsPanelLayout.js.map +1 -0
- package/dist/editor/settings/SettingsView.js +25 -28
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/StatusSummary.js +17 -27
- package/dist/editor/settings/StatusSummary.js.map +1 -1
- package/dist/editor/settings/index/AdvancedSettings.d.ts +1 -1
- package/dist/editor/settings/index/AdvancedSettings.js +13 -11
- package/dist/editor/settings/index/AdvancedSettings.js.map +1 -1
- package/dist/editor/settings/index/CollectionWarningsDisplay.js +1 -1
- package/dist/editor/settings/index/CollectionWarningsDisplay.js.map +1 -1
- package/dist/editor/settings/index/EmbeddingProviderInfo.js +7 -5
- package/dist/editor/settings/index/EmbeddingProviderInfo.js.map +1 -1
- package/dist/editor/settings/index/IndexStatusCards.js +3 -2
- package/dist/editor/settings/index/IndexStatusCards.js.map +1 -1
- package/dist/editor/settings/index/LatestEmbeddingsList.js +3 -1
- package/dist/editor/settings/index/LatestEmbeddingsList.js.map +1 -1
- package/dist/editor/settings/index/QueueErrorsDisplay.js +1 -1
- package/dist/editor/settings/index/QueueErrorsDisplay.js.map +1 -1
- package/dist/editor/settings/index/RebuildIndexSection.js +24 -22
- package/dist/editor/settings/index/RebuildIndexSection.js.map +1 -1
- package/dist/editor/settings/index/RecentBatchesList.js +20 -18
- package/dist/editor/settings/index/RecentBatchesList.js.map +1 -1
- package/dist/editor/settings/index/types.d.ts +0 -2
- package/dist/editor/settings/index/useIndexStatus.js +10 -2
- package/dist/editor/settings/index/useIndexStatus.js.map +1 -1
- package/dist/editor/settings/index/utils.js +16 -16
- package/dist/editor/settings/index/utils.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.d.ts +2 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js +7 -3
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.d.ts +1 -0
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentToolsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/AgentToolsPanel.js +178 -0
- package/dist/editor/settings/panels/AgentToolsPanel.js.map +1 -0
- package/dist/editor/settings/panels/AgentsPanel.js +30 -8
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ClusterInstancesPanel.js +49 -54
- package/dist/editor/settings/panels/ClusterInstancesPanel.js.map +1 -1
- package/dist/editor/settings/panels/CreateAgentProfileDialog.js +2 -2
- package/dist/editor/settings/panels/CreateAgentProfileDialog.js.map +1 -1
- package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js +3 -3
- package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js.map +1 -1
- package/dist/editor/settings/panels/CreateMcpServerDialog.d.ts +7 -0
- package/dist/editor/settings/panels/CreateMcpServerDialog.js +79 -0
- package/dist/editor/settings/panels/CreateMcpServerDialog.js.map +1 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.d.ts +2 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +52 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +1 -0
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js +7 -5
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ItemConfigPanel.js +4 -3
- package/dist/editor/settings/panels/ItemConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +4 -2
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js +1 -1
- package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js +27 -13
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/McpToolsPanel.js +36 -16
- package/dist/editor/settings/panels/McpToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelConfigPanel.js +1 -1
- package/dist/editor/settings/panels/ModelConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelsPanel.js +178 -41
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js +156 -0
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js.map +1 -0
- package/dist/editor/settings/panels/PersistentLogsPanel.js +25 -14
- package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.d.ts +2 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +6 -3
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelector.js +10 -43
- package/dist/editor/settings/panels/ProjectTemplateSelector.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.d.ts +13 -0
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js +43 -0
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +1 -0
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js +119 -90
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProviderIcon.js +8 -8
- package/dist/editor/settings/panels/ProviderIcon.js.map +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js +55 -35
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/panels/SearchConfigPanel.js +13 -11
- package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/SettingsPanel.js +3 -2
- package/dist/editor/settings/panels/SettingsPanel.js.map +1 -1
- package/dist/editor/settings/panels/StatusPanel.js +39 -14
- package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
- package/dist/editor/settings/panels/SystemSettingsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/SystemSettingsPanel.js +69 -0
- package/dist/editor/settings/panels/SystemSettingsPanel.js.map +1 -0
- package/dist/editor/settings/panels/UserPreferencesPanel.d.ts +2 -0
- package/dist/editor/settings/panels/UserPreferencesPanel.js +66 -0
- package/dist/editor/settings/panels/UserPreferencesPanel.js.map +1 -0
- package/dist/editor/settings/panels/index.d.ts +5 -0
- package/dist/editor/settings/panels/index.js +5 -0
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/status/coreStatusChecks.js +118 -7
- package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
- package/dist/editor/settings/status/useStartupChecks.js +1 -1
- package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
- package/dist/editor/setup-wizard/SetupStepError.d.ts +8 -0
- package/dist/editor/setup-wizard/SetupStepError.js +7 -0
- package/dist/editor/setup-wizard/SetupStepError.js.map +1 -0
- package/dist/editor/setup-wizard/SetupStepHeader.d.ts +15 -0
- package/dist/editor/setup-wizard/SetupStepHeader.js +6 -0
- package/dist/editor/setup-wizard/SetupStepHeader.js.map +1 -0
- package/dist/editor/setup-wizard/SetupStepLayout.d.ts +33 -0
- package/dist/editor/setup-wizard/SetupStepLayout.js +16 -0
- package/dist/editor/setup-wizard/SetupStepLayout.js.map +1 -0
- package/dist/editor/setup-wizard/steps/CompleteStep.js +12 -7
- package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js +5 -3
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +102 -31
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.d.ts +2 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +13 -5
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +64 -59
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +84 -30
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js +2 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js.map +1 -1
- package/dist/editor/sidebar/Completions.js +1 -1
- package/dist/editor/sidebar/Completions.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.d.ts +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +61 -26
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.js +208 -40
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/ContentTreePanel.d.ts +3 -0
- package/dist/editor/sidebar/ContentTreePanel.js +14 -0
- package/dist/editor/sidebar/ContentTreePanel.js.map +1 -0
- package/dist/editor/sidebar/DictionaryEditor.js +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
- package/dist/editor/sidebar/EditHistory.js +17 -4
- package/dist/editor/sidebar/EditHistory.js.map +1 -1
- package/dist/editor/sidebar/Favorites.d.ts +5 -1
- package/dist/editor/sidebar/Favorites.js +41 -57
- package/dist/editor/sidebar/Favorites.js.map +1 -1
- package/dist/editor/sidebar/Insert.js +1 -1
- package/dist/editor/sidebar/MainContentTree.js +5 -2
- package/dist/editor/sidebar/MainContentTree.js.map +1 -1
- package/dist/editor/sidebar/MobileWorkspacePopover.d.ts +2 -2
- package/dist/editor/sidebar/MobileWorkspacePopover.js +3 -3
- package/dist/editor/sidebar/MobileWorkspacePopover.js.map +1 -1
- package/dist/editor/sidebar/MorePanelsButton.js +2 -2
- package/dist/editor/sidebar/MorePanelsButton.js.map +1 -1
- package/dist/editor/sidebar/NavigationPanelItem.js +6 -5
- package/dist/editor/sidebar/NavigationPanelItem.js.map +1 -1
- package/dist/editor/sidebar/NavigationPanelMenuItem.js +2 -2
- package/dist/editor/sidebar/NavigationPanelMenuItem.js.map +1 -1
- package/dist/editor/sidebar/OperationItem.js +111 -25
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/SidebarPanel.js +21 -15
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarStack.js +2 -0
- package/dist/editor/sidebar/SidebarStack.js.map +1 -1
- package/dist/editor/sidebar/TimelineView.js +3 -3
- package/dist/editor/sidebar/TimelineView.js.map +1 -1
- package/dist/editor/sidebar/Validation.js +6 -3
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +36 -77
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceButton.d.ts +3 -1
- package/dist/editor/sidebar/WorkspaceButton.js +16 -8
- package/dist/editor/sidebar/WorkspaceButton.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.js +30 -25
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.js +5 -14
- package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
- package/dist/editor/sidebar/contentTreeConstants.d.ts +2 -0
- package/dist/editor/sidebar/contentTreeConstants.js +3 -0
- package/dist/editor/sidebar/contentTreeConstants.js.map +1 -0
- package/dist/editor/template-wizard/TemplateBuilderDialog.js +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js.map +1 -1
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js +164 -97
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.js +13 -22
- package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
- package/dist/editor/tree-indicators/GutterContext.js +5 -1
- package/dist/editor/tree-indicators/GutterContext.js.map +1 -1
- package/dist/editor/ui/CenteredMessage.js +1 -1
- package/dist/editor/ui/CenteredMessage.js.map +1 -1
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js +3 -3
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -1
- package/dist/editor/ui/DialogButtons.d.ts +3 -1
- package/dist/editor/ui/DialogButtons.js +3 -2
- package/dist/editor/ui/DialogButtons.js.map +1 -1
- package/dist/editor/ui/DragPreview.d.ts +7 -0
- package/dist/editor/ui/DragPreview.js +107 -10
- package/dist/editor/ui/DragPreview.js.map +1 -1
- package/dist/editor/ui/ExportItemsDialog.js +1 -1
- package/dist/editor/ui/ExportItemsDialog.js.map +1 -1
- package/dist/editor/ui/HomeButton.js +1 -1
- package/dist/editor/ui/HomeButton.js.map +1 -1
- package/dist/editor/ui/HomeListRow.d.ts +11 -0
- package/dist/editor/ui/HomeListRow.js +11 -0
- package/dist/editor/ui/HomeListRow.js.map +1 -0
- package/dist/editor/ui/IconSelectorDialog.js +8 -8
- package/dist/editor/ui/IconSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Icons.d.ts +1 -1
- package/dist/editor/ui/Icons.js +10 -10
- package/dist/editor/ui/Icons.js.map +1 -1
- package/dist/editor/ui/ImportItemsDialog.js +1 -1
- package/dist/editor/ui/ImportItemsDialog.js.map +1 -1
- package/dist/editor/ui/ItemCollectionEditor.d.ts +27 -3
- package/dist/editor/ui/ItemCollectionEditor.js +54 -10
- package/dist/editor/ui/ItemCollectionEditor.js.map +1 -1
- package/dist/editor/ui/ItemList.js +1 -1
- package/dist/editor/ui/ItemList.js.map +1 -1
- package/dist/editor/ui/ItemNameDialogNew.js +1 -1
- package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
- package/dist/editor/ui/ItemSearch.d.ts +1 -0
- package/dist/editor/ui/ItemSearch.js +4 -4
- package/dist/editor/ui/ItemSearch.js.map +1 -1
- package/dist/editor/ui/LoadingState.d.ts +11 -0
- package/dist/editor/ui/LoadingState.js +27 -0
- package/dist/editor/ui/LoadingState.js.map +1 -0
- package/dist/editor/ui/PerfectTree.d.ts +24 -1
- package/dist/editor/ui/PerfectTree.js +39 -19
- package/dist/editor/ui/PerfectTree.js.map +1 -1
- package/dist/editor/ui/PublishDialog.d.ts +11 -0
- package/dist/editor/ui/PublishDialog.js +101 -0
- package/dist/editor/ui/PublishDialog.js.map +1 -0
- package/dist/editor/ui/PublishItemDialog.d.ts +1 -1
- package/dist/editor/ui/PublishItemDialog.js +40 -75
- package/dist/editor/ui/PublishItemDialog.js.map +1 -1
- package/dist/editor/ui/PublishRestrictionsDialog.js +70 -64
- package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
- package/dist/editor/ui/Section.js +5 -5
- package/dist/editor/ui/Section.js.map +1 -1
- package/dist/editor/ui/SharedFolderSelectorDialog.js +1 -1
- package/dist/editor/ui/SharedFolderSelectorDialog.js.map +1 -1
- package/dist/editor/ui/SimpleIconButton.d.ts +9 -2
- package/dist/editor/ui/SimpleIconButton.js +20 -5
- package/dist/editor/ui/SimpleIconButton.js.map +1 -1
- package/dist/editor/ui/SimpleMenu.js +7 -6
- package/dist/editor/ui/SimpleMenu.js.map +1 -1
- package/dist/editor/ui/SimpleTable.js +1 -1
- package/dist/editor/ui/SimpleTable.js.map +1 -1
- package/dist/editor/ui/SimpleTabs.d.ts +6 -2
- package/dist/editor/ui/SimpleTabs.js +54 -19
- package/dist/editor/ui/SimpleTabs.js.map +1 -1
- package/dist/editor/ui/SimpleToolbar.js +1 -1
- package/dist/editor/ui/SimpleToolbar.js.map +1 -1
- package/dist/editor/ui/Spinner.d.ts +14 -1
- package/dist/editor/ui/Spinner.js.map +1 -1
- package/dist/editor/ui/Splitter.d.ts +2 -0
- package/dist/editor/ui/Splitter.js +160 -21
- package/dist/editor/ui/Splitter.js.map +1 -1
- package/dist/editor/ui/TemplateSelectorDialog.js +5 -5
- package/dist/editor/ui/TemplateSelectorDialog.js.map +1 -1
- package/dist/editor/ui/TreeListSelector.js +1 -1
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/ui/WorkboxItemsTable.d.ts +15 -0
- package/dist/editor/ui/WorkboxItemsTable.js +142 -0
- package/dist/editor/ui/WorkboxItemsTable.js.map +1 -0
- package/dist/editor/ui/animationSettle.d.ts +32 -0
- package/dist/editor/ui/animationSettle.js +85 -0
- package/dist/editor/ui/animationSettle.js.map +1 -0
- package/dist/editor/ui/splitterResizeEvent.d.ts +9 -0
- package/dist/editor/ui/splitterResizeEvent.js +13 -0
- package/dist/editor/ui/splitterResizeEvent.js.map +1 -0
- package/dist/editor/utils/dedupeInflight.d.ts +1 -0
- package/dist/editor/utils/dedupeInflight.js +13 -0
- package/dist/editor/utils/dedupeInflight.js.map +1 -0
- package/dist/editor/utils/expandSelectionAtCaret.d.ts +15 -0
- package/dist/editor/utils/expandSelectionAtCaret.js +183 -0
- package/dist/editor/utils/expandSelectionAtCaret.js.map +1 -0
- package/dist/editor/utils/jsonCleaner.js +10 -10
- package/dist/editor/utils/jsonCleaner.js.map +1 -1
- package/dist/editor/utils/keyboardNavigation.js +2 -1
- package/dist/editor/utils/keyboardNavigation.js.map +1 -1
- package/dist/editor/utils/selectionContext.js.map +1 -1
- package/dist/editor/utils/versionAtDate.js.map +1 -1
- package/dist/editor/utils.d.ts +7 -17
- package/dist/editor/utils.js +35 -145
- package/dist/editor/utils.js.map +1 -1
- package/dist/editor/version-diff/versionDiffHighlightStyles.d.ts +6 -6
- package/dist/editor/version-diff/versionDiffHighlightStyles.js +6 -6
- package/dist/editor/version-diff/versionDiffHighlightStyles.js.map +1 -1
- package/dist/editor/version-diff/versionDiffTargets.d.ts +3 -8
- package/dist/editor/version-diff/versionDiffTargets.js +38 -96
- package/dist/editor/version-diff/versionDiffTargets.js.map +1 -1
- package/dist/editor/views/CompareView.js +3 -3
- package/dist/editor/views/CompareView.js.map +1 -1
- package/dist/editor/views/EditView.js +1 -1
- package/dist/editor/views/EditView.js.map +1 -1
- package/dist/editor/views/EditorSlot.js +7 -6
- package/dist/editor/views/EditorSlot.js.map +1 -1
- package/dist/editor/views/ItemEditor.js +2 -2
- package/dist/editor/views/ItemEditor.js.map +1 -1
- package/dist/editor/views/ItemEditorPane.d.ts +11 -0
- package/dist/editor/views/ItemEditorPane.js +19 -0
- package/dist/editor/views/ItemEditorPane.js.map +1 -0
- package/dist/editor/views/MediaFolderEditView.js +2 -2
- package/dist/editor/views/MediaFolderEditView.js.map +1 -1
- package/dist/editor/views/SingleEditView.js +15 -6
- package/dist/editor/views/SingleEditView.js.map +1 -1
- package/dist/editor/views/editorSlotContext.d.ts +2 -0
- package/dist/editor/views/editorSlotContext.js +10 -1
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/editor/workflowFields.d.ts +1 -0
- package/dist/editor/workflowFields.js +16 -0
- package/dist/editor/workflowFields.js.map +1 -0
- package/dist/index.d.ts +39 -6
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/pointerDrag.d.ts +20 -0
- package/dist/lib/pointerDrag.js +57 -0
- package/dist/lib/pointerDrag.js.map +1 -0
- package/dist/lib/safelist.js +1 -1
- package/dist/lib/safelist.js.map +1 -1
- package/dist/lib/sanitize.js +79 -11
- package/dist/lib/sanitize.js.map +1 -1
- package/dist/lib/viewTransition.js +7 -1
- package/dist/lib/viewTransition.js.map +1 -1
- package/dist/licensing/EmailEntry.js +2 -1
- package/dist/licensing/EmailEntry.js.map +1 -1
- package/dist/licensing/FeatureGate.js +6 -6
- package/dist/licensing/FeatureGate.js.map +1 -1
- package/dist/licensing/LicenseActivationForm.js +2 -1
- package/dist/licensing/LicenseActivationForm.js.map +1 -1
- package/dist/licensing/LicenseCodeEntry.js +7 -3
- package/dist/licensing/LicenseCodeEntry.js.map +1 -1
- package/dist/licensing/LicenseContext.js +3 -4
- package/dist/licensing/LicenseContext.js.map +1 -1
- package/dist/licensing/LicenseOverlay.js +3 -1
- package/dist/licensing/LicenseOverlay.js.map +1 -1
- package/dist/licensing/licenseService.js +4 -3
- package/dist/licensing/licenseService.js.map +1 -1
- package/dist/licensing/types.d.ts +1 -1
- package/dist/licensing/types.js +3 -1
- package/dist/licensing/types.js.map +1 -1
- package/dist/logging/consolePrefix.d.ts +2 -0
- package/dist/logging/consolePrefix.js +62 -0
- package/dist/logging/consolePrefix.js.map +1 -0
- package/dist/logging/index.d.ts +1 -0
- package/dist/logging/index.js +2 -0
- package/dist/logging/index.js.map +1 -0
- package/dist/logging/install-browser-console.js +3 -0
- package/dist/logging/install-browser-console.js.map +1 -0
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/setup/services/setupWizardService.d.ts +12 -0
- package/dist/setup/services/setupWizardService.js +47 -13
- package/dist/setup/services/setupWizardService.js.map +1 -1
- package/dist/setup/wizard/steps/AddModelDialog.js +8 -8
- package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
- package/dist/setup/wizard/steps/ImportModelDialog.js +38 -87
- package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
- package/dist/splash-screen/DialogWrappers.js +2 -2
- package/dist/splash-screen/DialogWrappers.js.map +1 -1
- package/dist/splash-screen/ModernSplashScreen.d.ts +7 -0
- package/dist/splash-screen/ModernSplashScreen.js +582 -62
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +41 -17
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +17 -21
- package/dist/splash-screen/OpenPage.js.map +1 -1
- package/dist/splash-screen/ParheliaAssistantChat.js +13 -12
- package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
- package/dist/splash-screen/RecentPages.d.ts +4 -1
- package/dist/splash-screen/RecentPages.js +29 -26
- package/dist/splash-screen/RecentPages.js.map +1 -1
- package/dist/task-board/TaskBoardWorkspace.js +465 -196
- package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
- package/dist/task-board/components/AddDependencyDialog.js +5 -2
- package/dist/task-board/components/AddDependencyDialog.js.map +1 -1
- package/dist/task-board/components/CommentsList.js +22 -9
- package/dist/task-board/components/CommentsList.js.map +1 -1
- package/dist/task-board/components/CreateProjectDialog.js +10 -10
- package/dist/task-board/components/CreateProjectDialog.js.map +1 -1
- package/dist/task-board/components/CreateTaskDialog.js +13 -8
- package/dist/task-board/components/CreateTaskDialog.js.map +1 -1
- package/dist/task-board/components/FinishedProjectCard.d.ts +5 -0
- package/dist/task-board/components/FinishedProjectCard.js +8 -0
- package/dist/task-board/components/FinishedProjectCard.js.map +1 -0
- package/dist/task-board/components/ItemCollectionEditorDialog.js +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionPicker.js +3 -3
- package/dist/task-board/components/ItemCollectionPicker.js.map +1 -1
- package/dist/task-board/components/ProjectBudgetBanner.d.ts +13 -0
- package/dist/task-board/components/ProjectBudgetBanner.js +13 -0
- package/dist/task-board/components/ProjectBudgetBanner.js.map +1 -0
- package/dist/task-board/components/ProjectDashboard.d.ts +21 -21
- package/dist/task-board/components/ProjectDashboard.js +217 -127
- package/dist/task-board/components/ProjectDashboard.js.map +1 -1
- package/dist/task-board/components/ProjectExecutionUserPicker.js +15 -61
- package/dist/task-board/components/ProjectExecutionUserPicker.js.map +1 -1
- package/dist/task-board/components/ProjectListContent.d.ts +1 -0
- package/dist/task-board/components/ProjectListContent.js +12 -10
- package/dist/task-board/components/ProjectListContent.js.map +1 -1
- package/dist/task-board/components/ProjectOverviewContent.js +15 -84
- package/dist/task-board/components/ProjectOverviewContent.js.map +1 -1
- package/dist/task-board/components/ProjectPropertiesPanel.d.ts +2 -0
- package/dist/task-board/components/ProjectPropertiesPanel.js +17 -13
- package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
- package/dist/task-board/components/ProjectSettingsDialog.d.ts +18 -0
- package/dist/task-board/components/ProjectSettingsDialog.js +66 -48
- package/dist/task-board/components/ProjectSettingsDialog.js.map +1 -1
- package/dist/task-board/components/TaskAgentPanel.d.ts +4 -0
- package/dist/task-board/components/TaskAgentPanel.js +23 -8
- package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
- package/dist/task-board/components/TaskAssigneeBadge.d.ts +16 -0
- package/dist/task-board/components/TaskAssigneeBadge.js +21 -0
- package/dist/task-board/components/TaskAssigneeBadge.js.map +1 -0
- package/dist/task-board/components/TaskAssigneePicker.js +18 -7
- package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentDropZone.d.ts +11 -0
- package/dist/task-board/components/TaskAttachmentDropZone.js +100 -0
- package/dist/task-board/components/TaskAttachmentDropZone.js.map +1 -0
- package/dist/task-board/components/TaskAttachmentsSection.d.ts +1 -0
- package/dist/task-board/components/TaskAttachmentsSection.js +19 -41
- package/dist/task-board/components/TaskAttachmentsSection.js.map +1 -1
- package/dist/task-board/components/TaskBoardBreadcrumb.d.ts +17 -0
- package/dist/task-board/components/TaskBoardBreadcrumb.js +14 -0
- package/dist/task-board/components/TaskBoardBreadcrumb.js.map +1 -0
- package/dist/task-board/components/TaskBoardFilterBox.d.ts +4 -0
- package/dist/task-board/components/TaskBoardFilterBox.js +7 -0
- package/dist/task-board/components/TaskBoardFilterBox.js.map +1 -0
- package/dist/task-board/components/TaskBoardHomeView.d.ts +7 -0
- package/dist/task-board/components/TaskBoardHomeView.js +21 -0
- package/dist/task-board/components/TaskBoardHomeView.js.map +1 -0
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js +26 -29
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectListSidebar.js +70 -14
- package/dist/task-board/components/TaskBoardProjectListSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectSelector.d.ts +8 -0
- package/dist/task-board/components/TaskBoardProjectSelector.js +20 -0
- package/dist/task-board/components/TaskBoardProjectSelector.js.map +1 -0
- package/dist/task-board/components/TaskBoardTitlebar.js +8 -13
- package/dist/task-board/components/TaskBoardTitlebar.js.map +1 -1
- package/dist/task-board/components/TaskCard.js +29 -10
- package/dist/task-board/components/TaskCard.js.map +1 -1
- package/dist/task-board/components/TaskDetailPanel.d.ts +1 -0
- package/dist/task-board/components/TaskDetailPanel.js +45 -32
- package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
- package/dist/task-board/components/TaskReviewActions.d.ts +1 -0
- package/dist/task-board/components/TaskReviewActions.js +7 -4
- package/dist/task-board/components/TaskReviewActions.js.map +1 -1
- package/dist/task-board/components/TaskRow.js +17 -18
- package/dist/task-board/components/TaskRow.js.map +1 -1
- package/dist/task-board/components/TaskboardPersistentLogPanel.js +17 -10
- package/dist/task-board/components/TaskboardPersistentLogPanel.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCards.js +7 -5
- package/dist/task-board/components/WizardCommunicationCards.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCenter.d.ts +7 -1
- package/dist/task-board/components/WizardCommunicationCenter.js +14 -7
- package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationShared.js +22 -22
- package/dist/task-board/components/WizardCommunicationShared.js.map +1 -1
- package/dist/task-board/components/WizardTask.d.ts +5 -1
- package/dist/task-board/components/WizardTask.js +14 -31
- package/dist/task-board/components/WizardTask.js.map +1 -1
- package/dist/task-board/components/WizardTaskDetailsPanel.d.ts +10 -2
- package/dist/task-board/components/WizardTaskDetailsPanel.js +57 -11
- package/dist/task-board/components/WizardTaskDetailsPanel.js.map +1 -1
- package/dist/task-board/persistentLogCopy.js +3 -1
- package/dist/task-board/persistentLogCopy.js.map +1 -1
- package/dist/task-board/persistentLogLabels.js.map +1 -1
- package/dist/task-board/services/taskService.d.ts +7 -0
- package/dist/task-board/services/taskService.js +8 -2
- package/dist/task-board/services/taskService.js.map +1 -1
- package/dist/task-board/taskAgentConfig.js +6 -2
- package/dist/task-board/taskAgentConfig.js.map +1 -1
- package/dist/task-board/taskAgentLink.js +1 -3
- package/dist/task-board/taskAgentLink.js.map +1 -1
- package/dist/task-board/taskBoardNavStore.d.ts +4 -2
- package/dist/task-board/taskBoardNavStore.js +45 -2
- package/dist/task-board/taskBoardNavStore.js.map +1 -1
- package/dist/task-board/taskExecutionRecords.js.map +1 -1
- package/dist/task-board/taskExecutionStatus.js +14 -19
- package/dist/task-board/taskExecutionStatus.js.map +1 -1
- package/dist/task-board/taskPriority.d.ts +4 -0
- package/dist/task-board/taskPriority.js +19 -0
- package/dist/task-board/taskPriority.js.map +1 -0
- package/dist/task-board/taskStatus.js +2 -2
- package/dist/task-board/taskStatus.js.map +1 -1
- package/dist/task-board/useTaskBoardAgentPanelState.js +1 -3
- package/dist/task-board/useTaskBoardAgentPanelState.js.map +1 -1
- package/dist/task-board/utils/projectHierarchy.js.map +1 -1
- package/dist/task-board/utils/taskDependencyOrdering.js +2 -1
- package/dist/task-board/utils/taskDependencyOrdering.js.map +1 -1
- package/dist/task-board/views/DependencyGraphView.d.ts +42 -1
- package/dist/task-board/views/DependencyGraphView.js +239 -74
- package/dist/task-board/views/DependencyGraphView.js.map +1 -1
- package/dist/task-board/views/KanbanView.js +312 -49
- package/dist/task-board/views/KanbanView.js.map +1 -1
- package/dist/task-board/views/ListView.js +6 -5
- package/dist/task-board/views/ListView.js.map +1 -1
- package/dist/task-board/views/WizardView.d.ts +2 -0
- package/dist/task-board/views/WizardView.js +36 -29
- package/dist/task-board/views/WizardView.js.map +1 -1
- package/dist/tour/Tour.js +7 -7
- package/dist/tour/Tour.js.map +1 -1
- package/dist/tour/default-tour.js +169 -17
- package/dist/tour/default-tour.js.map +1 -1
- package/dist/tour/preview-tour.js +1 -1
- package/dist/tour/preview-tour.js.map +1 -1
- package/dist/types.d.ts +16 -1
- package/images/Parhelia-Onboarding-BG.jpg +0 -0
- package/package.json +13 -1
- package/styles.css +320 -843
- package/dist/agents-view/AgentsInbox.d.ts +0 -26
- package/dist/agents-view/AgentsInbox.js +0 -31
- package/dist/agents-view/AgentsInbox.js.map +0 -1
- package/dist/components/Error.d.ts +0 -9
- package/dist/components/Error.js +0 -24
- package/dist/components/Error.js.map +0 -1
- package/dist/components/FilterInput.d.ts +0 -22
- package/dist/components/FilterInput.js +0 -29
- package/dist/components/FilterInput.js.map +0 -1
- package/dist/components/ui/menubar.d.ts +0 -26
- package/dist/components/ui/menubar.js +0 -55
- package/dist/components/ui/menubar.js.map +0 -1
- package/dist/config/types/index.d.ts +0 -2
- package/dist/config/types/index.js +0 -4
- package/dist/config/types/index.js.map +0 -1
- package/dist/editor/FloatingToolbar.d.ts +0 -7
- package/dist/editor/FloatingToolbar.js +0 -91
- package/dist/editor/FloatingToolbar.js.map +0 -1
- package/dist/editor/NewEditorClient.d.ts +0 -5
- package/dist/editor/NewEditorClient.js +0 -7
- package/dist/editor/NewEditorClient.js.map +0 -1
- package/dist/editor/PictureEditorDialog.d.ts +0 -8
- package/dist/editor/PictureEditorDialog.js +0 -198
- package/dist/editor/PictureEditorDialog.js.map +0 -1
- package/dist/editor/SetupLoadingScreen.d.ts +0 -5
- package/dist/editor/SetupLoadingScreen.js +0 -11
- package/dist/editor/SetupLoadingScreen.js.map +0 -1
- package/dist/editor/ai/AgentBanners.js +0 -16
- package/dist/editor/ai/AgentBanners.js.map +0 -1
- package/dist/editor/ai/AgentCostDisplay.js +0 -116
- package/dist/editor/ai/AgentCostDisplay.js.map +0 -1
- package/dist/editor/ai/AgentDocumentList.d.ts +0 -12
- package/dist/editor/ai/AgentDocumentList.js +0 -335
- package/dist/editor/ai/AgentDocumentList.js.map +0 -1
- package/dist/editor/ai/AgentGreeting.d.ts +0 -8
- package/dist/editor/ai/AgentGreeting.js +0 -14
- package/dist/editor/ai/AgentGreeting.js.map +0 -1
- package/dist/editor/ai/AgentTerminalStatusBar.d.ts +0 -72
- package/dist/editor/ai/AgentTerminalStatusBar.js +0 -888
- package/dist/editor/ai/AgentTerminalStatusBar.js.map +0 -1
- package/dist/editor/ai/AiResponseMessage.d.ts +0 -33
- package/dist/editor/ai/AiResponseMessage.js +0 -1239
- package/dist/editor/ai/AiResponseMessage.js.map +0 -1
- package/dist/editor/ai/ContextInfoBar.d.ts +0 -14
- package/dist/editor/ai/ContextInfoBar.js +0 -653
- package/dist/editor/ai/ContextInfoBar.js.map +0 -1
- package/dist/editor/ai/DancingDots.d.ts +0 -1
- package/dist/editor/ai/DancingDots.js +0 -6
- package/dist/editor/ai/DancingDots.js.map +0 -1
- package/dist/editor/ai/EditOperationsPanel.d.ts +0 -7
- package/dist/editor/ai/EditOperationsPanel.js +0 -91
- package/dist/editor/ai/EditOperationsPanel.js.map +0 -1
- package/dist/editor/ai/HeartbeatMessage.d.ts +0 -4
- package/dist/editor/ai/HeartbeatMessage.js +0 -7
- package/dist/editor/ai/HeartbeatMessage.js.map +0 -1
- package/dist/editor/ai/InitialThinkingSplash.d.ts +0 -3
- package/dist/editor/ai/InitialThinkingSplash.js +0 -9
- package/dist/editor/ai/InitialThinkingSplash.js.map +0 -1
- package/dist/editor/ai/QueuedPromptsPanel.d.ts +0 -4
- package/dist/editor/ai/QueuedPromptsPanel.js +0 -37
- package/dist/editor/ai/QueuedPromptsPanel.js.map +0 -1
- package/dist/editor/ai/SpawnedAgentsPanel.d.ts +0 -6
- package/dist/editor/ai/SpawnedAgentsPanel.js +0 -101
- package/dist/editor/ai/SpawnedAgentsPanel.js.map +0 -1
- package/dist/editor/ai/TodoListPanel.d.ts +0 -5
- package/dist/editor/ai/TodoListPanel.js +0 -113
- package/dist/editor/ai/TodoListPanel.js.map +0 -1
- package/dist/editor/ai/ToolCallDisplay.d.ts +0 -80
- package/dist/editor/ai/ToolCallDisplay.js +0 -865
- package/dist/editor/ai/ToolCallDisplay.js.map +0 -1
- package/dist/editor/ai/UserMessage.d.ts +0 -4
- package/dist/editor/ai/UserMessage.js +0 -42
- package/dist/editor/ai/UserMessage.js.map +0 -1
- package/dist/editor/ai/agentDiagnostics.test.js +0 -181
- package/dist/editor/ai/agentDiagnostics.test.js.map +0 -1
- package/dist/editor/ai/useAgentPanes.test.d.ts +0 -1
- package/dist/editor/ai/useAgentPanes.test.js +0 -198
- package/dist/editor/ai/useAgentPanes.test.js.map +0 -1
- package/dist/editor/client/GenericDialog.d.ts +0 -10
- package/dist/editor/client/GenericDialog.js +0 -25
- package/dist/editor/client/GenericDialog.js.map +0 -1
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +0 -8
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js +0 -91
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +0 -1
- package/dist/editor/content-tree/index.d.ts +0 -3
- package/dist/editor/content-tree/index.js +0 -4
- package/dist/editor/content-tree/index.js.map +0 -1
- package/dist/editor/context-menu/CopyMoveMenu.d.ts +0 -7
- package/dist/editor/context-menu/CopyMoveMenu.js +0 -58
- package/dist/editor/context-menu/CopyMoveMenu.js.map +0 -1
- package/dist/editor/menubar/ApproveAndPublish.d.ts +0 -1
- package/dist/editor/menubar/ApproveAndPublish.js +0 -13
- package/dist/editor/menubar/ApproveAndPublish.js.map +0 -1
- package/dist/editor/menubar/ItemToolbar.d.ts +0 -1
- package/dist/editor/menubar/ItemToolbar.js +0 -12
- package/dist/editor/menubar/ItemToolbar.js.map +0 -1
- package/dist/editor/menubar/NavButtons.d.ts +0 -1
- package/dist/editor/menubar/NavButtons.js +0 -40
- package/dist/editor/menubar/NavButtons.js.map +0 -1
- package/dist/editor/menubar/SiteInfo.d.ts +0 -1
- package/dist/editor/menubar/SiteInfo.js +0 -27
- package/dist/editor/menubar/SiteInfo.js.map +0 -1
- package/dist/editor/menubar/UserMenu.d.ts +0 -5
- package/dist/editor/menubar/UserMenu.js +0 -33
- package/dist/editor/menubar/UserMenu.js.map +0 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +0 -6
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +0 -316
- package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +0 -1
- package/dist/editor/page-editor-chrome/InlineEditor.d.ts +0 -5
- package/dist/editor/page-editor-chrome/InlineEditor.js +0 -832
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +0 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +0 -6
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js +0 -224
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +0 -1
- package/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +0 -7
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js +0 -728
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +0 -1
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +0 -3
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +0 -423
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +0 -1
- package/dist/editor/picture-shared.d.ts +0 -16
- package/dist/editor/picture-shared.js +0 -25
- package/dist/editor/picture-shared.js.map +0 -1
- package/dist/editor/registry/SidebarRegistry.d.ts +0 -96
- package/dist/editor/registry/SidebarRegistry.js +0 -166
- package/dist/editor/registry/SidebarRegistry.js.map +0 -1
- package/dist/editor/registry/WorkspaceRegistry.d.ts +0 -71
- package/dist/editor/registry/WorkspaceRegistry.js +0 -112
- package/dist/editor/registry/WorkspaceRegistry.js.map +0 -1
- package/dist/editor/registry/index.d.ts +0 -2
- package/dist/editor/registry/index.js +0 -4
- package/dist/editor/registry/index.js.map +0 -1
- package/dist/editor/reviews/PagesPanel.d.ts +0 -21
- package/dist/editor/reviews/PagesPanel.js +0 -140
- package/dist/editor/reviews/PagesPanel.js.map +0 -1
- package/dist/editor/reviews/PreviewInfo.d.ts +0 -1
- package/dist/editor/reviews/PreviewInfo.js +0 -9
- package/dist/editor/reviews/PreviewInfo.js.map +0 -1
- package/dist/editor/services/agentDialogService.test.d.ts +0 -1
- package/dist/editor/services/agentDialogService.test.js +0 -56
- package/dist/editor/services/agentDialogService.test.js.map +0 -1
- package/dist/editor/services/agentSubscriptionRegistry.test.d.ts +0 -1
- package/dist/editor/services/agentSubscriptionRegistry.test.js +0 -104
- package/dist/editor/services/agentSubscriptionRegistry.test.js.map +0 -1
- package/dist/editor/services-server/api.d.ts +0 -18
- package/dist/editor/services-server/api.js +0 -116
- package/dist/editor/services-server/api.js.map +0 -1
- package/dist/editor/settings/Info.d.ts +0 -1
- package/dist/editor/settings/Info.js +0 -11
- package/dist/editor/settings/Info.js.map +0 -1
- package/dist/editor/settings/Status.d.ts +0 -1
- package/dist/editor/settings/Status.js +0 -89
- package/dist/editor/settings/Status.js.map +0 -1
- package/dist/editor/settings/WebSocketMessages.d.ts +0 -1
- package/dist/editor/settings/WebSocketMessages.js +0 -74
- package/dist/editor/settings/WebSocketMessages.js.map +0 -1
- package/dist/editor/settings/panels/useSidebarEditor.d.ts +0 -15
- package/dist/editor/settings/panels/useSidebarEditor.js +0 -24
- package/dist/editor/settings/panels/useSidebarEditor.js.map +0 -1
- package/dist/editor/sidebar/Divider.d.ts +0 -6
- package/dist/editor/sidebar/Divider.js +0 -6
- package/dist/editor/sidebar/Divider.js.map +0 -1
- package/dist/editor/sidebar/LabelButton.d.ts +0 -5
- package/dist/editor/sidebar/LabelButton.js +0 -12
- package/dist/editor/sidebar/LabelButton.js.map +0 -1
- package/dist/editor/sidebar/Performance.d.ts +0 -1
- package/dist/editor/sidebar/Performance.js +0 -32
- package/dist/editor/sidebar/Performance.js.map +0 -1
- package/dist/editor/sidebar/SEOInfo.d.ts +0 -1
- package/dist/editor/sidebar/SEOInfo.js +0 -158
- package/dist/editor/sidebar/SEOInfo.js.map +0 -1
- package/dist/editor/sidebar/Sidebar.d.ts +0 -1
- package/dist/editor/sidebar/Sidebar.js +0 -11
- package/dist/editor/sidebar/Sidebar.js.map +0 -1
- package/dist/editor/ui/Toolbar.d.ts +0 -3
- package/dist/editor/ui/Toolbar.js +0 -5
- package/dist/editor/ui/Toolbar.js.map +0 -1
- package/dist/editor/utils/useMemoDebug.d.ts +0 -1
- package/dist/editor/utils/useMemoDebug.js +0 -18
- package/dist/editor/utils/useMemoDebug.js.map +0 -1
- package/dist/editor/views/ParheliaView.d.ts +0 -5
- package/dist/editor/views/ParheliaView.js +0 -181
- package/dist/editor/views/ParheliaView.js.map +0 -1
- package/dist/setup/utils/modelPricing.d.ts +0 -7
- package/dist/setup/utils/modelPricing.js +0 -106
- package/dist/setup/utils/modelPricing.js.map +0 -1
- package/dist/splash-screen/ParheliaLogo.d.ts +0 -4
- package/dist/splash-screen/ParheliaLogo.js +0 -134
- package/dist/splash-screen/ParheliaLogo.js.map +0 -1
- package/dist/splash-screen/SectionHeadline.d.ts +0 -4
- package/dist/splash-screen/SectionHeadline.js +0 -7
- package/dist/splash-screen/SectionHeadline.js.map +0 -1
- package/dist/task-board/components/ProjectAgentsPanel.d.ts +0 -4
- package/dist/task-board/components/ProjectAgentsPanel.js +0 -156
- package/dist/task-board/components/ProjectAgentsPanel.js.map +0 -1
- package/dist/task-board/components/ProjectSelector.d.ts +0 -20
- package/dist/task-board/components/ProjectSelector.js +0 -10
- package/dist/task-board/components/ProjectSelector.js.map +0 -1
- package/dist/task-board/components/TaskDetailDialog.d.ts +0 -12
- package/dist/task-board/components/TaskDetailDialog.js +0 -8
- package/dist/task-board/components/TaskDetailDialog.js.map +0 -1
- package/dist/task-board/index.d.ts +0 -15
- package/dist/task-board/index.js +0 -18
- package/dist/task-board/index.js.map +0 -1
- package/dist/task-board/views/PlanningView.d.ts +0 -7
- package/dist/task-board/views/PlanningView.js +0 -112
- package/dist/task-board/views/PlanningView.js.map +0 -1
- package/dist/test/setup.d.ts +0 -0
- package/dist/test/setup.js +0 -37
- package/dist/test/setup.js.map +0 -1
- package/images/bg-shape-black.webp +0 -0
- package/images/parhelia-logo-1.jpg +0 -0
- package/images/phlogo.png +0 -0
- package/images/wizard-bg.png +0 -0
- /package/dist/editor/ai/{AgentBanners.d.ts → terminal/components/AgentBanners.d.ts} +0 -0
- /package/dist/editor/ai/{AgentCostDisplay.d.ts → terminal/components/AgentCostDisplay.d.ts} +0 -0
- /package/dist/{editor/ai/agentDiagnostics.test.d.ts → logging/install-browser-console.d.ts} +0 -0
|
@@ -0,0 +1,1557 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useEffect, useMemo, useRef, useLayoutEffect, useCallback, } from "react";
|
|
3
|
+
import { TimeWithTooltip } from "../../TimeWithTooltip";
|
|
4
|
+
import { useEditContext } from "../../../client/editContext";
|
|
5
|
+
import { ToolCallDisplay, InlineToolResultPreview, extractInlineToolResultImage, } from "./ToolCallDisplay";
|
|
6
|
+
import { QuestionnaireRecap } from "./QuestionnaireRecap";
|
|
7
|
+
import { parseQuestionnaireRecap } from "../agentQuestionnaireRecap";
|
|
8
|
+
import { parseToolResultValue } from "../../agentMessageConversion";
|
|
9
|
+
import { MediaImage } from "../../MediaImage";
|
|
10
|
+
import { X, Brain, ChevronDown, ChevronRight, Loader2, Undo2, Check, } from "lucide-react";
|
|
11
|
+
import { Button } from "../../../../components/ui/button";
|
|
12
|
+
import { Checkbox } from "../../../../components/ui/checkbox";
|
|
13
|
+
import { Tooltip, TooltipTrigger, TooltipContent, } from "../../../../components/ui/tooltip";
|
|
14
|
+
import { CopyButton } from "../../../../components/ui/copy-button";
|
|
15
|
+
import { PlaceholderInput } from "../../../../components/ui/PlaceholderInput";
|
|
16
|
+
import { sanitizeHtml } from "../../../../lib/sanitize";
|
|
17
|
+
import { cn } from "../../../../lib/utils";
|
|
18
|
+
import { hasPromptPlaceholders } from "../agentPromptPlaceholders";
|
|
19
|
+
// Helper to extract partial quick actions from potentially incomplete JSON during streaming
|
|
20
|
+
const extractPartialQuickActions = (jsonText) => {
|
|
21
|
+
const actions = [];
|
|
22
|
+
let headline;
|
|
23
|
+
// First try to parse complete JSON
|
|
24
|
+
try {
|
|
25
|
+
const parsed = JSON.parse(jsonText);
|
|
26
|
+
headline =
|
|
27
|
+
!Array.isArray(parsed) && typeof parsed?.headline === "string"
|
|
28
|
+
? parsed.headline.trim() || undefined
|
|
29
|
+
: undefined;
|
|
30
|
+
const rawActions = Array.isArray(parsed)
|
|
31
|
+
? parsed
|
|
32
|
+
: parsed?.actions || parsed?.buttons || parsed?.choices || [];
|
|
33
|
+
if (Array.isArray(rawActions)) {
|
|
34
|
+
rawActions.forEach((a) => {
|
|
35
|
+
if (!a)
|
|
36
|
+
return;
|
|
37
|
+
const label = a.label || a.text || String(a.value || a.prompt || "");
|
|
38
|
+
if (label) {
|
|
39
|
+
actions.push({
|
|
40
|
+
id: a.id,
|
|
41
|
+
label,
|
|
42
|
+
prompt: a.prompt,
|
|
43
|
+
value: a.value,
|
|
44
|
+
manualSectionId: a.manualSectionId,
|
|
45
|
+
manualSectionTitle: a.manualSectionTitle,
|
|
46
|
+
style: a.style,
|
|
47
|
+
behavior: a.behavior &&
|
|
48
|
+
(a.behavior === "compose" || a.behavior === "submit")
|
|
49
|
+
? a.behavior
|
|
50
|
+
: a.submit === false ||
|
|
51
|
+
a.compose === true ||
|
|
52
|
+
a.draft === true ||
|
|
53
|
+
a.mode === "compose"
|
|
54
|
+
? "compose"
|
|
55
|
+
: undefined,
|
|
56
|
+
placeholder: a.placeholder,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
return { headline, actions };
|
|
62
|
+
}
|
|
63
|
+
catch (e) {
|
|
64
|
+
// JSON is incomplete, try to extract whatever complete action objects we can find
|
|
65
|
+
}
|
|
66
|
+
const headlineMatch = jsonText.match(/"(?:headline|title)"\s*:\s*"([^"\\]*(\\.[^"\\]*)*)"/);
|
|
67
|
+
if (headlineMatch?.[1]) {
|
|
68
|
+
try {
|
|
69
|
+
headline = JSON.parse(`"${headlineMatch[1]}"`).trim() || undefined;
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
headline = headlineMatch[1].trim() || undefined;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
// Look for individual action objects in the partial JSON
|
|
76
|
+
// Match patterns like: { "label": "...", ... }
|
|
77
|
+
const labelPattern = /"(?:label|text)"\s*:\s*"([^"\\]*(\\.[^"\\]*)*)"/g;
|
|
78
|
+
const labelMatches = [];
|
|
79
|
+
let labelMatch;
|
|
80
|
+
while ((labelMatch = labelPattern.exec(jsonText)) !== null) {
|
|
81
|
+
if (labelMatch[1]) {
|
|
82
|
+
labelMatches.push({
|
|
83
|
+
label: labelMatch[1],
|
|
84
|
+
startIdx: labelMatch.index,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
// For each label field found, try to find and parse the enclosing object
|
|
89
|
+
for (const { label, startIdx } of labelMatches) {
|
|
90
|
+
// Find the opening brace before this label field
|
|
91
|
+
let openBrace = -1;
|
|
92
|
+
for (let i = startIdx - 1; i >= 0; i--) {
|
|
93
|
+
if (jsonText[i] === "{") {
|
|
94
|
+
openBrace = i;
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
if (jsonText[i] === "}")
|
|
98
|
+
break; // Hit another object's end
|
|
99
|
+
}
|
|
100
|
+
if (openBrace === -1)
|
|
101
|
+
continue;
|
|
102
|
+
// Find the closing brace after this label field
|
|
103
|
+
let closeBrace = -1;
|
|
104
|
+
let depth = 0;
|
|
105
|
+
for (let i = openBrace; i < jsonText.length; i++) {
|
|
106
|
+
if (jsonText[i] === "{")
|
|
107
|
+
depth++;
|
|
108
|
+
if (jsonText[i] === "}") {
|
|
109
|
+
depth--;
|
|
110
|
+
if (depth === 0) {
|
|
111
|
+
closeBrace = i;
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
// Extract the object and try to parse it
|
|
117
|
+
const objStr = closeBrace !== -1
|
|
118
|
+
? jsonText.substring(openBrace, closeBrace + 1)
|
|
119
|
+
: jsonText.substring(openBrace) + "}"; // Try to close incomplete object
|
|
120
|
+
try {
|
|
121
|
+
const obj = JSON.parse(objStr);
|
|
122
|
+
const actionLabel = obj.label || obj.text || String(obj.value || obj.prompt || "");
|
|
123
|
+
if (actionLabel) {
|
|
124
|
+
actions.push({
|
|
125
|
+
id: obj.id,
|
|
126
|
+
label: actionLabel,
|
|
127
|
+
prompt: obj.prompt,
|
|
128
|
+
value: obj.value,
|
|
129
|
+
manualSectionId: obj.manualSectionId,
|
|
130
|
+
manualSectionTitle: obj.manualSectionTitle,
|
|
131
|
+
style: obj.style,
|
|
132
|
+
behavior: obj.behavior &&
|
|
133
|
+
(obj.behavior === "compose" || obj.behavior === "submit")
|
|
134
|
+
? obj.behavior
|
|
135
|
+
: obj.submit === false ||
|
|
136
|
+
obj.compose === true ||
|
|
137
|
+
obj.draft === true ||
|
|
138
|
+
obj.mode === "compose"
|
|
139
|
+
? "compose"
|
|
140
|
+
: undefined,
|
|
141
|
+
placeholder: obj.placeholder,
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
catch (e) {
|
|
146
|
+
// Skip malformed objects
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return { headline, actions };
|
|
150
|
+
};
|
|
151
|
+
function parseContentSegments(content, hideIncomplete) {
|
|
152
|
+
if (!content)
|
|
153
|
+
return [];
|
|
154
|
+
const segments = [];
|
|
155
|
+
const fencedQuickToken = "```quick_action_buttons";
|
|
156
|
+
const plainQuickToken = "quick_action_buttons";
|
|
157
|
+
const fencedTodoToken = "```todo_list";
|
|
158
|
+
const plainTodoToken = "todo_list";
|
|
159
|
+
const fencedMediaToken = "```media_item";
|
|
160
|
+
const fencedJsonToken = "```json";
|
|
161
|
+
// Helper: find next valid plain token occurrence (at line start or after newline)
|
|
162
|
+
const findNextPlainHeader = (token, fromIndex) => {
|
|
163
|
+
let idx = content.indexOf(token, fromIndex);
|
|
164
|
+
while (idx !== -1) {
|
|
165
|
+
const before = idx > 0 ? content[idx - 1] : "\n";
|
|
166
|
+
const after = content[idx + token.length] || "\n";
|
|
167
|
+
const isBoundaryBefore = before === "\n" || before === "\r";
|
|
168
|
+
const isBoundaryAfter = after === "\n" || after === "\r" || after === ":" || /\s/.test(after);
|
|
169
|
+
// Ensure it's not the fenced token which would have ``` right before
|
|
170
|
+
const isFencedPrefix = content.slice(Math.max(0, idx - 3), idx) === "```";
|
|
171
|
+
if (isBoundaryBefore && isBoundaryAfter && !isFencedPrefix)
|
|
172
|
+
return idx;
|
|
173
|
+
idx = content.indexOf(token, idx + 1);
|
|
174
|
+
}
|
|
175
|
+
return -1;
|
|
176
|
+
};
|
|
177
|
+
// Helper: match JSON object braces starting at first '{'
|
|
178
|
+
const findMatchingBraceEnd = (startPos) => {
|
|
179
|
+
let i = startPos;
|
|
180
|
+
let depth = 0;
|
|
181
|
+
let inString = false;
|
|
182
|
+
let stringQuote = null;
|
|
183
|
+
let escaped = false;
|
|
184
|
+
for (; i < content.length; i++) {
|
|
185
|
+
const ch = content[i];
|
|
186
|
+
if (inString) {
|
|
187
|
+
if (escaped) {
|
|
188
|
+
escaped = false;
|
|
189
|
+
}
|
|
190
|
+
else if (ch === "\\") {
|
|
191
|
+
escaped = true;
|
|
192
|
+
}
|
|
193
|
+
else if (ch === stringQuote) {
|
|
194
|
+
inString = false;
|
|
195
|
+
stringQuote = null;
|
|
196
|
+
}
|
|
197
|
+
continue;
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
if (ch === '"' || ch === "'") {
|
|
201
|
+
inString = true;
|
|
202
|
+
stringQuote = ch;
|
|
203
|
+
continue;
|
|
204
|
+
}
|
|
205
|
+
if (ch === "{")
|
|
206
|
+
depth++;
|
|
207
|
+
if (ch === "}") {
|
|
208
|
+
depth--;
|
|
209
|
+
if (depth === 0)
|
|
210
|
+
return i;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
return -1;
|
|
215
|
+
};
|
|
216
|
+
let cursor = 0;
|
|
217
|
+
while (cursor < content.length) {
|
|
218
|
+
const nextFencedQuick = content.indexOf(fencedQuickToken, cursor);
|
|
219
|
+
const nextPlainQuick = findNextPlainHeader(plainQuickToken, cursor);
|
|
220
|
+
const nextFencedTodo = content.indexOf(fencedTodoToken, cursor);
|
|
221
|
+
const nextPlainTodo = findNextPlainHeader(plainTodoToken, cursor);
|
|
222
|
+
const nextFencedMedia = content.indexOf(fencedMediaToken, cursor);
|
|
223
|
+
const nextFencedJson = content.indexOf(fencedJsonToken, cursor);
|
|
224
|
+
const candidates = [];
|
|
225
|
+
if (nextFencedQuick !== -1)
|
|
226
|
+
candidates.push({
|
|
227
|
+
start: nextFencedQuick,
|
|
228
|
+
kind: "fenced",
|
|
229
|
+
type: "quick",
|
|
230
|
+
});
|
|
231
|
+
if (nextPlainQuick !== -1)
|
|
232
|
+
candidates.push({ start: nextPlainQuick, kind: "plain", type: "quick" });
|
|
233
|
+
if (nextFencedTodo !== -1)
|
|
234
|
+
candidates.push({ start: nextFencedTodo, kind: "fenced", type: "todo" });
|
|
235
|
+
if (nextPlainTodo !== -1)
|
|
236
|
+
candidates.push({ start: nextPlainTodo, kind: "plain", type: "todo" });
|
|
237
|
+
if (nextFencedMedia !== -1)
|
|
238
|
+
candidates.push({
|
|
239
|
+
start: nextFencedMedia,
|
|
240
|
+
kind: "fenced",
|
|
241
|
+
type: "media",
|
|
242
|
+
});
|
|
243
|
+
if (nextFencedJson !== -1)
|
|
244
|
+
candidates.push({ start: nextFencedJson, kind: "fenced", type: "json" });
|
|
245
|
+
let pick = null;
|
|
246
|
+
if (candidates.length > 0) {
|
|
247
|
+
pick = candidates.reduce((min, cur) => cur.start < min.start ? cur : min);
|
|
248
|
+
}
|
|
249
|
+
if (pick === null) {
|
|
250
|
+
const tail = content.slice(cursor);
|
|
251
|
+
if (tail)
|
|
252
|
+
segments.push({ kind: "text", text: tail });
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
// Push any text before the token
|
|
256
|
+
const textBefore = content.slice(cursor, pick.start);
|
|
257
|
+
if (textBefore)
|
|
258
|
+
segments.push({ kind: "text", text: textBefore });
|
|
259
|
+
if (pick.kind === "fenced") {
|
|
260
|
+
const openTokenLength = pick.type === "quick"
|
|
261
|
+
? fencedQuickToken.length
|
|
262
|
+
: pick.type === "todo"
|
|
263
|
+
? fencedTodoToken.length
|
|
264
|
+
: pick.type === "json"
|
|
265
|
+
? fencedJsonToken.length
|
|
266
|
+
: fencedMediaToken.length;
|
|
267
|
+
const afterOpenLineStart = pick.start + openTokenLength;
|
|
268
|
+
const openLineMatch = content
|
|
269
|
+
.slice(afterOpenLineStart)
|
|
270
|
+
.match(/^[^\n\r]*\r?\n?/);
|
|
271
|
+
const openLineLength = openLineMatch ? openLineMatch[0].length : 0;
|
|
272
|
+
const jsonStart = afterOpenLineStart + openLineLength;
|
|
273
|
+
const close = content.indexOf("```", jsonStart);
|
|
274
|
+
const jsonText = (close === -1
|
|
275
|
+
? content.slice(jsonStart)
|
|
276
|
+
: content.slice(jsonStart, close)).trim();
|
|
277
|
+
if (close === -1) {
|
|
278
|
+
// Incomplete fenced block during streaming
|
|
279
|
+
if (hideIncomplete && pick.type === "quick") {
|
|
280
|
+
// Try to parse partial quick actions and show what we have so far
|
|
281
|
+
const partialActionGroup = extractPartialQuickActions(jsonText);
|
|
282
|
+
if (partialActionGroup.actions.length > 0) {
|
|
283
|
+
segments.push({ kind: "actions", ...partialActionGroup });
|
|
284
|
+
}
|
|
285
|
+
break;
|
|
286
|
+
}
|
|
287
|
+
else if (hideIncomplete && pick.type === "json") {
|
|
288
|
+
// Try to show partial JSON during streaming
|
|
289
|
+
if (jsonText.trim()) {
|
|
290
|
+
try {
|
|
291
|
+
// Try to parse complete JSON
|
|
292
|
+
const parsed = JSON.parse(jsonText);
|
|
293
|
+
segments.push({ kind: "json", data: parsed, raw: jsonText });
|
|
294
|
+
}
|
|
295
|
+
catch {
|
|
296
|
+
// Show raw partial JSON during streaming
|
|
297
|
+
segments.push({
|
|
298
|
+
kind: "json",
|
|
299
|
+
data: null,
|
|
300
|
+
raw: jsonText + "...",
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
else if (hideIncomplete) {
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
segments.push({ kind: "text", text: content.slice(pick.start) });
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
// Handle media_item blocks separately (pipe-delimited format, not JSON)
|
|
315
|
+
if (pick.type === "media") {
|
|
316
|
+
const items = [];
|
|
317
|
+
// Parse pipe-delimited format: {GUID}|Label or just {GUID}
|
|
318
|
+
const lines = jsonText
|
|
319
|
+
.split(/\r?\n/)
|
|
320
|
+
.map((l) => l.trim())
|
|
321
|
+
.filter((l) => l);
|
|
322
|
+
for (const line of lines) {
|
|
323
|
+
// Only parse complete lines (must have closing brace)
|
|
324
|
+
if (line.includes("}")) {
|
|
325
|
+
const pipeIndex = line.indexOf("|");
|
|
326
|
+
if (pipeIndex !== -1) {
|
|
327
|
+
// Has label
|
|
328
|
+
const itemId = line.substring(0, pipeIndex).trim();
|
|
329
|
+
const label = line.substring(pipeIndex + 1).trim();
|
|
330
|
+
if (itemId && /\{[0-9a-fA-F-]+\}/.test(itemId)) {
|
|
331
|
+
items.push({ itemId, label: label || undefined });
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
// No label
|
|
336
|
+
const itemId = line.trim();
|
|
337
|
+
if (itemId && /\{[0-9a-fA-F-]+\}/.test(itemId)) {
|
|
338
|
+
items.push({ itemId });
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
if (items.length > 0) {
|
|
344
|
+
segments.push({
|
|
345
|
+
kind: "media",
|
|
346
|
+
items: items,
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
cursor = close + 3;
|
|
350
|
+
continue;
|
|
351
|
+
}
|
|
352
|
+
// Handle json blocks - display as formatted JSON
|
|
353
|
+
if (pick.type === "json") {
|
|
354
|
+
try {
|
|
355
|
+
const parsed = JSON.parse(jsonText);
|
|
356
|
+
segments.push({
|
|
357
|
+
kind: "json",
|
|
358
|
+
data: parsed,
|
|
359
|
+
raw: jsonText,
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
catch {
|
|
363
|
+
// If JSON is invalid, show as raw text
|
|
364
|
+
segments.push({
|
|
365
|
+
kind: "json",
|
|
366
|
+
data: null,
|
|
367
|
+
raw: jsonText,
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
cursor = close + 3;
|
|
371
|
+
continue;
|
|
372
|
+
}
|
|
373
|
+
try {
|
|
374
|
+
const parsed = JSON.parse(jsonText);
|
|
375
|
+
if (pick.type === "quick") {
|
|
376
|
+
const rawActions = Array.isArray(parsed)
|
|
377
|
+
? parsed
|
|
378
|
+
: parsed?.actions || parsed?.buttons || parsed?.choices || [];
|
|
379
|
+
const actions = [];
|
|
380
|
+
if (Array.isArray(rawActions)) {
|
|
381
|
+
rawActions.forEach((a) => {
|
|
382
|
+
if (!a)
|
|
383
|
+
return;
|
|
384
|
+
const action = {
|
|
385
|
+
id: a.id,
|
|
386
|
+
label: a.label || a.text || String(a.value || a.prompt || ""),
|
|
387
|
+
prompt: a.prompt,
|
|
388
|
+
value: a.value,
|
|
389
|
+
manualSectionId: a.manualSectionId,
|
|
390
|
+
manualSectionTitle: a.manualSectionTitle,
|
|
391
|
+
style: a.style,
|
|
392
|
+
behavior: a.behavior &&
|
|
393
|
+
(a.behavior === "compose" || a.behavior === "submit")
|
|
394
|
+
? a.behavior
|
|
395
|
+
: a.submit === false ||
|
|
396
|
+
a.compose === true ||
|
|
397
|
+
a.draft === true ||
|
|
398
|
+
a.mode === "compose"
|
|
399
|
+
? "compose"
|
|
400
|
+
: undefined,
|
|
401
|
+
placeholder: a.placeholder,
|
|
402
|
+
};
|
|
403
|
+
if (action.label)
|
|
404
|
+
actions.push(action);
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
if (actions.length > 0) {
|
|
408
|
+
const headline = typeof parsed?.headline === "string"
|
|
409
|
+
? parsed.headline.trim() || undefined
|
|
410
|
+
: undefined;
|
|
411
|
+
segments.push({ kind: "actions", headline, actions });
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
else if (pick.type === "todo") {
|
|
415
|
+
// todo_list
|
|
416
|
+
const todoItems = Array.isArray(parsed)
|
|
417
|
+
? parsed
|
|
418
|
+
: parsed?.items || [];
|
|
419
|
+
const title = Array.isArray(parsed) ? undefined : parsed?.title;
|
|
420
|
+
const cleaned = (Array.isArray(todoItems) ? todoItems : [])
|
|
421
|
+
.map((i) => {
|
|
422
|
+
if (!i)
|
|
423
|
+
return null;
|
|
424
|
+
const text = i.text || i.label || String(i.task || i.title || "");
|
|
425
|
+
if (!text)
|
|
426
|
+
return null;
|
|
427
|
+
return {
|
|
428
|
+
id: i.id,
|
|
429
|
+
title: text,
|
|
430
|
+
status: i.status || "pending",
|
|
431
|
+
instructions: i.note || i.description,
|
|
432
|
+
};
|
|
433
|
+
})
|
|
434
|
+
.filter(Boolean);
|
|
435
|
+
if (cleaned.length > 0) {
|
|
436
|
+
segments.push({ kind: "todo", title, items: cleaned });
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
catch {
|
|
441
|
+
if (!hideIncomplete) {
|
|
442
|
+
segments.push({
|
|
443
|
+
kind: "text",
|
|
444
|
+
text: content.slice(pick.start, close + 3),
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
cursor = close + 3;
|
|
449
|
+
continue;
|
|
450
|
+
}
|
|
451
|
+
// Plain header without backticks
|
|
452
|
+
const headerTokenLength = pick.type === "quick" ? plainQuickToken.length : plainTodoToken.length;
|
|
453
|
+
const afterHeaderStart = pick.start + headerTokenLength;
|
|
454
|
+
const headerRestMatch = content
|
|
455
|
+
.slice(afterHeaderStart)
|
|
456
|
+
.match(/^[^\n\r]*\r?\n?/);
|
|
457
|
+
const headerRestLen = headerRestMatch ? headerRestMatch[0].length : 0;
|
|
458
|
+
const afterHeader = afterHeaderStart + headerRestLen;
|
|
459
|
+
// Find first '{' after header (could be same line or following lines)
|
|
460
|
+
const braceStart = content.indexOf("{", afterHeader);
|
|
461
|
+
if (braceStart === -1) {
|
|
462
|
+
if (hideIncomplete) {
|
|
463
|
+
break;
|
|
464
|
+
}
|
|
465
|
+
else {
|
|
466
|
+
// Treat as plain text if no JSON object is present
|
|
467
|
+
cursor = afterHeader;
|
|
468
|
+
continue;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
const braceEnd = findMatchingBraceEnd(braceStart);
|
|
472
|
+
const jsonText = (braceEnd === -1
|
|
473
|
+
? content.slice(braceStart)
|
|
474
|
+
: content.slice(braceStart, braceEnd + 1)).trim();
|
|
475
|
+
if (braceEnd === -1) {
|
|
476
|
+
// Incomplete plain JSON block during streaming
|
|
477
|
+
if (hideIncomplete && pick.type === "quick") {
|
|
478
|
+
// Try to parse partial quick actions and show what we have so far
|
|
479
|
+
const partialActionGroup = extractPartialQuickActions(jsonText);
|
|
480
|
+
if (partialActionGroup.actions.length > 0) {
|
|
481
|
+
segments.push({ kind: "actions", ...partialActionGroup });
|
|
482
|
+
}
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
else if (hideIncomplete) {
|
|
486
|
+
break;
|
|
487
|
+
}
|
|
488
|
+
else {
|
|
489
|
+
// Incomplete JSON; include the rest as text
|
|
490
|
+
const remaining = content.slice(pick.start);
|
|
491
|
+
if (remaining)
|
|
492
|
+
segments.push({ kind: "text", text: remaining });
|
|
493
|
+
break;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
try {
|
|
497
|
+
const parsed = JSON.parse(jsonText);
|
|
498
|
+
if (pick.type === "quick") {
|
|
499
|
+
const rawActions = Array.isArray(parsed)
|
|
500
|
+
? parsed
|
|
501
|
+
: parsed?.actions || parsed?.buttons || parsed?.choices || [];
|
|
502
|
+
const actions = [];
|
|
503
|
+
if (Array.isArray(rawActions)) {
|
|
504
|
+
rawActions.forEach((a) => {
|
|
505
|
+
if (!a)
|
|
506
|
+
return;
|
|
507
|
+
const action = {
|
|
508
|
+
id: a.id,
|
|
509
|
+
label: a.label || a.text || String(a.value || a.prompt || ""),
|
|
510
|
+
prompt: a.prompt,
|
|
511
|
+
value: a.value,
|
|
512
|
+
manualSectionId: a.manualSectionId,
|
|
513
|
+
manualSectionTitle: a.manualSectionTitle,
|
|
514
|
+
style: a.style,
|
|
515
|
+
behavior: a.behavior &&
|
|
516
|
+
(a.behavior === "compose" || a.behavior === "submit")
|
|
517
|
+
? a.behavior
|
|
518
|
+
: a.submit === false ||
|
|
519
|
+
a.compose === true ||
|
|
520
|
+
a.draft === true ||
|
|
521
|
+
a.mode === "compose"
|
|
522
|
+
? "compose"
|
|
523
|
+
: undefined,
|
|
524
|
+
placeholder: a.placeholder,
|
|
525
|
+
};
|
|
526
|
+
if (action.label)
|
|
527
|
+
actions.push(action);
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
if (actions.length > 0) {
|
|
531
|
+
const headline = typeof parsed?.headline === "string"
|
|
532
|
+
? parsed.headline.trim() || undefined
|
|
533
|
+
: undefined;
|
|
534
|
+
segments.push({ kind: "actions", headline, actions });
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
else {
|
|
538
|
+
const todoItems = Array.isArray(parsed) ? parsed : parsed?.items || [];
|
|
539
|
+
const title = Array.isArray(parsed) ? undefined : parsed?.title;
|
|
540
|
+
const cleaned = (Array.isArray(todoItems) ? todoItems : [])
|
|
541
|
+
.map((i) => {
|
|
542
|
+
if (!i)
|
|
543
|
+
return null;
|
|
544
|
+
const text = i.text || i.label || String(i.task || i.title || "");
|
|
545
|
+
if (!text)
|
|
546
|
+
return null;
|
|
547
|
+
return {
|
|
548
|
+
id: i.id,
|
|
549
|
+
title: text,
|
|
550
|
+
status: i.status || "pending",
|
|
551
|
+
instructions: i.note || i.description,
|
|
552
|
+
};
|
|
553
|
+
})
|
|
554
|
+
.filter(Boolean);
|
|
555
|
+
if (cleaned.length > 0) {
|
|
556
|
+
segments.push({ kind: "todo", title, items: cleaned });
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
catch {
|
|
561
|
+
// On parse failure, keep original as text (excluding already-pushed prefix)
|
|
562
|
+
const fallbackText = content.slice(pick.start, braceEnd + 1);
|
|
563
|
+
if (!hideIncomplete && fallbackText) {
|
|
564
|
+
segments.push({ kind: "text", text: fallbackText });
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
cursor = braceEnd + 1;
|
|
568
|
+
}
|
|
569
|
+
return segments;
|
|
570
|
+
}
|
|
571
|
+
// Helper to extract command links from markdown
|
|
572
|
+
function extractCommandLinks(text) {
|
|
573
|
+
const links = [];
|
|
574
|
+
const commandLinkPattern = /\[([^\]]+)\]\(command:([^)]+)\)/g;
|
|
575
|
+
let match;
|
|
576
|
+
while ((match = commandLinkPattern.exec(text)) !== null) {
|
|
577
|
+
if (match[1] && match[2]) {
|
|
578
|
+
links.push({
|
|
579
|
+
label: match[1],
|
|
580
|
+
command: match[2],
|
|
581
|
+
index: match.index,
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
return { text, links };
|
|
586
|
+
}
|
|
587
|
+
// JSON Block Display Component
|
|
588
|
+
function JsonBlockDisplay({ data, raw, className, defaultCollapsed = false, }) {
|
|
589
|
+
const [isExpanded, setIsExpanded] = useState(!defaultCollapsed);
|
|
590
|
+
const [isCopied, setIsCopied] = useState(false);
|
|
591
|
+
const handleCopy = async () => {
|
|
592
|
+
try {
|
|
593
|
+
const textToCopy = data ? JSON.stringify(data, null, 2) : raw;
|
|
594
|
+
await navigator.clipboard.writeText(textToCopy);
|
|
595
|
+
setIsCopied(true);
|
|
596
|
+
setTimeout(() => setIsCopied(false), 2000);
|
|
597
|
+
}
|
|
598
|
+
catch (err) {
|
|
599
|
+
console.error("Failed to copy:", err);
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
// Try to extract a meaningful title from the JSON data
|
|
603
|
+
const getTitle = () => {
|
|
604
|
+
if (!data)
|
|
605
|
+
return "JSON";
|
|
606
|
+
if (data.__typename)
|
|
607
|
+
return data.__typename;
|
|
608
|
+
if (data.name)
|
|
609
|
+
return data.name;
|
|
610
|
+
if (data.type)
|
|
611
|
+
return data.type;
|
|
612
|
+
if (data.title)
|
|
613
|
+
return data.title;
|
|
614
|
+
if (Array.isArray(data))
|
|
615
|
+
return `Array (${data.length} items)`;
|
|
616
|
+
return "JSON";
|
|
617
|
+
};
|
|
618
|
+
// Render JSON with syntax highlighting
|
|
619
|
+
const renderJsonValue = (value, indent = 0) => {
|
|
620
|
+
const indentStr = " ".repeat(indent);
|
|
621
|
+
const nextIndent = indent + 1;
|
|
622
|
+
if (value === null) {
|
|
623
|
+
return _jsx("span", { className: "text-neutral-grey-50", children: "null" });
|
|
624
|
+
}
|
|
625
|
+
if (typeof value === "boolean") {
|
|
626
|
+
return _jsx("span", { className: "text-highlight-100", children: value.toString() });
|
|
627
|
+
}
|
|
628
|
+
if (typeof value === "number") {
|
|
629
|
+
return _jsx("span", { className: "text-feedback-blue", children: value });
|
|
630
|
+
}
|
|
631
|
+
if (typeof value === "string") {
|
|
632
|
+
// Check if it looks like a GUID
|
|
633
|
+
const isGuid = /^\{?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}?$/.test(value);
|
|
634
|
+
return (_jsxs("span", { className: isGuid ? "text-feedback-orange" : "text-feedback-green", children: ["\"", value, "\""] }));
|
|
635
|
+
}
|
|
636
|
+
if (Array.isArray(value)) {
|
|
637
|
+
if (value.length === 0) {
|
|
638
|
+
return _jsx("span", { className: "text-neutral-grey-50", children: "[]" });
|
|
639
|
+
}
|
|
640
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { className: "text-neutral-grey-50", children: "[" }), value.map((item, idx) => (_jsxs("div", { className: "pl-4", children: [renderJsonValue(item, nextIndent), idx < value.length - 1 && (_jsx("span", { className: "text-neutral-grey-50", children: "," }))] }, idx))), _jsx("span", { className: "text-neutral-grey-50", children: "]" })] }));
|
|
641
|
+
}
|
|
642
|
+
if (typeof value === "object") {
|
|
643
|
+
const entries = Object.entries(value);
|
|
644
|
+
if (entries.length === 0) {
|
|
645
|
+
return _jsx("span", { className: "text-neutral-grey-50", children: "{}" });
|
|
646
|
+
}
|
|
647
|
+
return (_jsxs(_Fragment, { children: [_jsx("span", { className: "text-neutral-grey-50", children: "{" }), entries.map(([key, val], idx) => (_jsxs("div", { className: "pl-4", children: [_jsxs("span", { className: "text-feedback-red", children: ["\"", key, "\""] }), _jsx("span", { className: "text-neutral-grey-50", children: ": " }), renderJsonValue(val, nextIndent), idx < entries.length - 1 && (_jsx("span", { className: "text-neutral-grey-50", children: "," }))] }, key))), _jsx("span", { className: "text-neutral-grey-50", children: "}" })] }));
|
|
648
|
+
}
|
|
649
|
+
return _jsx("span", { children: String(value) });
|
|
650
|
+
};
|
|
651
|
+
return (_jsxs("div", { className: `border-border-default bg-neutral-grey-5 my-2 overflow-hidden rounded-lg border ${className || ""}`, children: [_jsxs("div", { className: "border-border-default bg-neutral-grey-5 flex items-center justify-between border-b px-3 py-2", children: [_jsxs("button", { onClick: () => setIsExpanded(!isExpanded), className: "text-neutral-grey-100 hover:text-neutral-grey-100 flex items-center gap-2 text-xs font-medium", children: [isExpanded ? _jsx(ChevronDown, { size: 14 }) : _jsx(ChevronRight, { size: 14 }), _jsx("span", { children: getTitle() })] }), _jsx("button", { onClick: handleCopy, className: "badge-pad text-neutral-grey-50 hover:bg-neutral-grey-10 hover:text-neutral-grey-100 rounded text-xs transition-colors", children: isCopied ? "Copied!" : "Copy" })] }), isExpanded && (_jsx("div", { className: "overflow-x-auto p-3", children: data ? (_jsx("pre", { className: "font-mono text-[11px] leading-relaxed", children: renderJsonValue(data) })) : (_jsx("pre", { className: "text-neutral-grey-50 font-mono text-[11px] leading-relaxed whitespace-pre-wrap", children: raw })) }))] }));
|
|
652
|
+
}
|
|
653
|
+
function simpleFormatToHtml(text) {
|
|
654
|
+
const stripLegacyFontTags = (value) => value
|
|
655
|
+
.replace(/<\/?font\b[^>]*>/gi, "")
|
|
656
|
+
.replace(/<\/?font\b(?:(?!>)[\s\S])*?>/gi, "");
|
|
657
|
+
const normalizedText = stripLegacyFontTags(text);
|
|
658
|
+
//Inline formatting
|
|
659
|
+
const format = (s) => s
|
|
660
|
+
.replace(/\[([^\]]+)\]\(([^)]+)\)/g, (_, text, url) => `<a href="${url}" target="_blank" rel="noopener noreferrer">${text.replace(/\*\*(.*?)\*\*/g, "<strong>$1</strong>")}</a>`)
|
|
661
|
+
.replace(/^######\s+(.+)$/, "<h6>$1</h6>")
|
|
662
|
+
.replace(/^#####\s+(.+)$/, "<h5>$1</h5>")
|
|
663
|
+
.replace(/^####\s+(.+)$/, "<h4>$1</h4>")
|
|
664
|
+
.replace(/^###\s+(.+)$/, "<h3>$1</h3>")
|
|
665
|
+
.replace(/^##\s+(.+)$/, "<h2>$1</h2>")
|
|
666
|
+
.replace(/^#\s+(.+)$/, "<h1>$1</h1>")
|
|
667
|
+
.replace(/\*\*(.*?)\*\*/g, "<strong>$1</strong>");
|
|
668
|
+
const lines = normalizedText.split(/\r?\n/);
|
|
669
|
+
const blocks = [];
|
|
670
|
+
let i = 0;
|
|
671
|
+
while (i < lines.length) {
|
|
672
|
+
const line = lines[i];
|
|
673
|
+
if (!line) {
|
|
674
|
+
i++;
|
|
675
|
+
continue;
|
|
676
|
+
}
|
|
677
|
+
const t = line.trim();
|
|
678
|
+
// Sepperator Lines
|
|
679
|
+
if (/^[\-\*\_]{3,}$/.test(t)) {
|
|
680
|
+
blocks.push("<hr />");
|
|
681
|
+
i++;
|
|
682
|
+
continue;
|
|
683
|
+
}
|
|
684
|
+
// Table
|
|
685
|
+
if (t.startsWith("|") && t.endsWith("|") && t.split("|").length >= 3) {
|
|
686
|
+
const rows = [];
|
|
687
|
+
let j = i;
|
|
688
|
+
while (j < lines.length) {
|
|
689
|
+
const l = lines[j];
|
|
690
|
+
if (!l)
|
|
691
|
+
break;
|
|
692
|
+
const lt = l.trim();
|
|
693
|
+
if (lt.startsWith("|") && lt.endsWith("|")) {
|
|
694
|
+
if (/^[\|\s:\-]+$/.test(lt)) {
|
|
695
|
+
j++; // Skip separator
|
|
696
|
+
continue;
|
|
697
|
+
}
|
|
698
|
+
rows.push(lt
|
|
699
|
+
.split("|")
|
|
700
|
+
.slice(1, -1)
|
|
701
|
+
.map((c) => c.trim()));
|
|
702
|
+
j++;
|
|
703
|
+
}
|
|
704
|
+
else
|
|
705
|
+
break;
|
|
706
|
+
}
|
|
707
|
+
if (rows.length > 0 && rows[0]) {
|
|
708
|
+
let html = "<table><thead><tr>";
|
|
709
|
+
rows[0].forEach((c) => (html += `<th>${format(c)}</th>`));
|
|
710
|
+
html += "</tr></thead>";
|
|
711
|
+
if (rows.length > 1) {
|
|
712
|
+
html += "<tbody>";
|
|
713
|
+
for (let k = 1; k < rows.length; k++) {
|
|
714
|
+
html += "<tr>";
|
|
715
|
+
rows[k]?.forEach((c) => (html += `<td>${format(c)}</td>`));
|
|
716
|
+
html += "</tr>";
|
|
717
|
+
}
|
|
718
|
+
html += "</tbody>";
|
|
719
|
+
}
|
|
720
|
+
blocks.push(html + "</table>");
|
|
721
|
+
i = j;
|
|
722
|
+
continue;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
// List (supports nested mixed ul/ol without recursion)
|
|
726
|
+
const listLineMatch = line.match(/^(\s*)([\-\*]|\d+\.)\s+(.+)$/);
|
|
727
|
+
if (listLineMatch && listLineMatch[2] && listLineMatch[3]) {
|
|
728
|
+
const listLines = [];
|
|
729
|
+
let j = i;
|
|
730
|
+
while (j < lines.length) {
|
|
731
|
+
const currentLine = lines[j];
|
|
732
|
+
if (!currentLine)
|
|
733
|
+
break;
|
|
734
|
+
const m = currentLine.match(/^(\s*)([\-\*]|\d+\.)\s+(.+)$/);
|
|
735
|
+
if (!m || !m[2] || !m[3])
|
|
736
|
+
break;
|
|
737
|
+
listLines.push({
|
|
738
|
+
indent: m[1]?.length || 0,
|
|
739
|
+
marker: m[2],
|
|
740
|
+
content: m[3],
|
|
741
|
+
});
|
|
742
|
+
j++;
|
|
743
|
+
}
|
|
744
|
+
if (listLines.length > 0) {
|
|
745
|
+
const indentStack = [];
|
|
746
|
+
const tagStack = [];
|
|
747
|
+
let html = "";
|
|
748
|
+
let itemOpen = false;
|
|
749
|
+
const openList = (tag, indent) => {
|
|
750
|
+
html += `<${tag}>`;
|
|
751
|
+
tagStack.push(tag);
|
|
752
|
+
indentStack.push(indent);
|
|
753
|
+
};
|
|
754
|
+
const closeItem = () => {
|
|
755
|
+
if (!itemOpen)
|
|
756
|
+
return;
|
|
757
|
+
html += "</li>";
|
|
758
|
+
itemOpen = false;
|
|
759
|
+
};
|
|
760
|
+
const closeList = () => {
|
|
761
|
+
closeItem();
|
|
762
|
+
const tag = tagStack.pop();
|
|
763
|
+
indentStack.pop();
|
|
764
|
+
if (tag)
|
|
765
|
+
html += `</${tag}>`;
|
|
766
|
+
};
|
|
767
|
+
for (const entry of listLines) {
|
|
768
|
+
const tag = /\d/.test(entry.marker) ? "ol" : "ul";
|
|
769
|
+
if (tagStack.length === 0) {
|
|
770
|
+
openList(tag, entry.indent);
|
|
771
|
+
}
|
|
772
|
+
else {
|
|
773
|
+
let currentIndent = indentStack[indentStack.length - 1];
|
|
774
|
+
while (tagStack.length > 0 &&
|
|
775
|
+
currentIndent !== undefined &&
|
|
776
|
+
entry.indent < currentIndent) {
|
|
777
|
+
closeList();
|
|
778
|
+
currentIndent = indentStack[indentStack.length - 1];
|
|
779
|
+
}
|
|
780
|
+
if (currentIndent === undefined ||
|
|
781
|
+
(entry.indent !== currentIndent && entry.indent > currentIndent)) {
|
|
782
|
+
if (!itemOpen) {
|
|
783
|
+
html += "<li>";
|
|
784
|
+
itemOpen = true;
|
|
785
|
+
}
|
|
786
|
+
openList(tag, entry.indent);
|
|
787
|
+
}
|
|
788
|
+
else if (entry.indent === currentIndent) {
|
|
789
|
+
const currentTag = tagStack[tagStack.length - 1];
|
|
790
|
+
if (currentTag && currentTag !== tag) {
|
|
791
|
+
closeList();
|
|
792
|
+
openList(tag, entry.indent);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
else if (currentIndent === undefined) {
|
|
796
|
+
openList(tag, entry.indent);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
closeItem();
|
|
800
|
+
html += `<li>${format(entry.content)}`;
|
|
801
|
+
itemOpen = true;
|
|
802
|
+
}
|
|
803
|
+
while (tagStack.length > 0)
|
|
804
|
+
closeList();
|
|
805
|
+
if (html) {
|
|
806
|
+
blocks.push(html);
|
|
807
|
+
i = j;
|
|
808
|
+
continue;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
// Regular text
|
|
813
|
+
blocks.push(format(line));
|
|
814
|
+
i++;
|
|
815
|
+
}
|
|
816
|
+
// Join blocks with <br/> between text, but not between block elements
|
|
817
|
+
let result = "";
|
|
818
|
+
for (let k = 0; k < blocks.length; k++) {
|
|
819
|
+
const block = blocks[k];
|
|
820
|
+
if (!block)
|
|
821
|
+
continue;
|
|
822
|
+
result += block;
|
|
823
|
+
if (k < blocks.length - 1) {
|
|
824
|
+
const next = blocks[k + 1];
|
|
825
|
+
if (!next)
|
|
826
|
+
continue;
|
|
827
|
+
const isBlock = /^<(table|ul|ol|hr|h[1-6])/i.test(block);
|
|
828
|
+
const nextIsBlock = /^<(table|ul|ol|hr|h[1-6])/i.test(next);
|
|
829
|
+
if (!isBlock && !nextIsBlock)
|
|
830
|
+
result += "<br/>";
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
return sanitizeHtml(result.replace(/<\/(h[1-6])><br\/>/g, "</$1>"));
|
|
834
|
+
}
|
|
835
|
+
const assistantMessageTextClassName = [
|
|
836
|
+
"max-w-none text-xs leading-5 text-neutral-grey-100 select-text",
|
|
837
|
+
"[&_a]:text-neutral-grey-100 [&_a]:underline [&_a]:underline-offset-2",
|
|
838
|
+
"[&_strong]:font-medium [&_strong]:text-neutral-grey-100",
|
|
839
|
+
"[&_h1]:mt-0 [&_h1]:mb-3 [&_h1]:text-[16px] [&_h1]:leading-6 [&_h1]:font-medium [&_h1]:text-neutral-grey-100",
|
|
840
|
+
"[&_h2]:mt-3 [&_h2]:mb-1.5 [&_h2]:text-[15px] [&_h2]:leading-5 [&_h2]:font-medium [&_h2]:text-neutral-grey-100",
|
|
841
|
+
"[&_h3]:mt-2.5 [&_h3]:mb-1 [&_h3]:text-[13px] [&_h3]:leading-5 [&_h3]:font-medium [&_h3]:text-neutral-grey-100",
|
|
842
|
+
"[&_h4]:mt-2 [&_h4]:mb-1 [&_h4]:text-[12px] [&_h4]:leading-5 [&_h4]:font-medium [&_h4]:text-neutral-grey-100",
|
|
843
|
+
"[&_h5]:mt-2 [&_h5]:mb-1 [&_h5]:text-[12px] [&_h5]:leading-5 [&_h5]:font-medium [&_h5]:text-neutral-grey-100",
|
|
844
|
+
"[&_h6]:mt-2 [&_h6]:mb-1 [&_h6]:text-[12px] [&_h6]:leading-5 [&_h6]:font-medium [&_h6]:text-neutral-grey-100",
|
|
845
|
+
"[&_ul]:my-1.5 [&_ul]:list-disc [&_ul]:pl-5",
|
|
846
|
+
"[&_ol]:my-1.5 [&_ol]:list-decimal [&_ol]:pl-5",
|
|
847
|
+
"[&_li]:my-0.5 [&_li]:pl-1 [&_li]:leading-5 [&_li]:text-neutral-grey-100",
|
|
848
|
+
"[&_li::marker]:text-neutral-grey-100",
|
|
849
|
+
"[&_table]:my-2 [&_table]:overflow-hidden [&_table]:rounded-[4px] [&_table]:border [&_table]:border-separate [&_table]:border-spacing-0 [&_table]:border-neutral-grey-10 [&_table]:text-[12px] [&_table]:text-neutral-grey-100",
|
|
850
|
+
"[&_thead]:bg-neutral-grey-5",
|
|
851
|
+
"[&_th]:border-r [&_th]:border-b [&_th]:border-neutral-grey-10 [&_th]:bg-neutral-grey-5 [&_th]:px-3 [&_th]:py-2 [&_th]:text-[12px] [&_th]:font-medium [&_th]:text-neutral-grey-100 [&_th:last-child]:border-r-0",
|
|
852
|
+
"[&_td]:border-r [&_td]:border-b [&_td]:border-neutral-grey-10 [&_td]:px-3 [&_td]:py-2 [&_td]:text-[12px] [&_td]:text-neutral-grey-100 [&_td:last-child]:border-r-0",
|
|
853
|
+
"[&_tbody_tr:last-child_td]:border-b-0",
|
|
854
|
+
].join(" ");
|
|
855
|
+
const cleanToolFunctionName = (name) => {
|
|
856
|
+
return (name || "")
|
|
857
|
+
.replace(" (approved)", "")
|
|
858
|
+
.replace(" (rejected)", "")
|
|
859
|
+
.replace(" (pending approval)", "")
|
|
860
|
+
.trim();
|
|
861
|
+
};
|
|
862
|
+
const getToolFunctionName = (toolCall) => {
|
|
863
|
+
return cleanToolFunctionName(toolCall.function?.name || toolCall.displayName || "");
|
|
864
|
+
};
|
|
865
|
+
// Must agree with what QuestionnaireRecap actually renders — emitting a recap
|
|
866
|
+
// item for an unrenderable payload would split the activity group around an
|
|
867
|
+
// invisible hole.
|
|
868
|
+
const isQuestionnaireRecapToolCall = (toolCall) => {
|
|
869
|
+
if (getToolFunctionName(toolCall).toLowerCase() !== "ask-questionnaire") {
|
|
870
|
+
return false;
|
|
871
|
+
}
|
|
872
|
+
if (!toolCall.function?.result) {
|
|
873
|
+
return false;
|
|
874
|
+
}
|
|
875
|
+
return (parseQuestionnaireRecap({
|
|
876
|
+
functionName: toolCall.function.name,
|
|
877
|
+
functionArguments: toolCall.function.arguments,
|
|
878
|
+
functionResult: toolCall.function.result,
|
|
879
|
+
functionError: toolCall.function.error,
|
|
880
|
+
}) !== null);
|
|
881
|
+
};
|
|
882
|
+
const isScreenshotCaptureToolCall = (toolCall) => {
|
|
883
|
+
const name = getToolFunctionName(toolCall).toLowerCase();
|
|
884
|
+
return (name === "capture-page-screenshot" ||
|
|
885
|
+
name === "capture-parhelia-ui-screenshot");
|
|
886
|
+
};
|
|
887
|
+
const getScreenshotToolResultPreview = (toolCall) => {
|
|
888
|
+
if (!isScreenshotCaptureToolCall(toolCall)) {
|
|
889
|
+
return null;
|
|
890
|
+
}
|
|
891
|
+
if (!toolCall.isCompleted || toolCall.function?.error) {
|
|
892
|
+
return null;
|
|
893
|
+
}
|
|
894
|
+
const result = toolCall.function?.result;
|
|
895
|
+
if (!result) {
|
|
896
|
+
return null;
|
|
897
|
+
}
|
|
898
|
+
const parsedResult = parseToolResultValue(result);
|
|
899
|
+
return extractInlineToolResultImage(parsedResult ?? result);
|
|
900
|
+
};
|
|
901
|
+
const isActivityItem = (item) => {
|
|
902
|
+
if (item.type === "toolcalls") {
|
|
903
|
+
return item.toolCalls.length > 0;
|
|
904
|
+
}
|
|
905
|
+
if (item.type !== "segment") {
|
|
906
|
+
return false;
|
|
907
|
+
}
|
|
908
|
+
return (item.segment.kind === "reasoning" && item.segment.text.trim().length > 0);
|
|
909
|
+
};
|
|
910
|
+
const isVisibleUserDirectedItem = (item) => {
|
|
911
|
+
if (item.type === "questionnaire-recap") {
|
|
912
|
+
return true;
|
|
913
|
+
}
|
|
914
|
+
if (item.type === "screenshot-preview") {
|
|
915
|
+
return true;
|
|
916
|
+
}
|
|
917
|
+
if (item.type !== "segment" || item.segment.kind === "reasoning") {
|
|
918
|
+
return false;
|
|
919
|
+
}
|
|
920
|
+
const segment = item.segment;
|
|
921
|
+
if (segment.kind === "text") {
|
|
922
|
+
return segment.text.trim().length > 0;
|
|
923
|
+
}
|
|
924
|
+
if (segment.kind === "actions") {
|
|
925
|
+
return segment.actions.length > 0;
|
|
926
|
+
}
|
|
927
|
+
if (segment.kind === "todo") {
|
|
928
|
+
return segment.items.length > 0 || !!segment.title?.trim();
|
|
929
|
+
}
|
|
930
|
+
if (segment.kind === "media") {
|
|
931
|
+
return segment.items.length > 0;
|
|
932
|
+
}
|
|
933
|
+
if (segment.kind === "json") {
|
|
934
|
+
return (!!segment.raw.trim() ||
|
|
935
|
+
(segment.data !== null && segment.data !== undefined));
|
|
936
|
+
}
|
|
937
|
+
return false;
|
|
938
|
+
};
|
|
939
|
+
const groupActivityItems = (flatItems) => {
|
|
940
|
+
const displayItems = [];
|
|
941
|
+
let activityEntries = [];
|
|
942
|
+
const flushActivityEntries = () => {
|
|
943
|
+
const entries = activityEntries;
|
|
944
|
+
if (entries.length === 0) {
|
|
945
|
+
return;
|
|
946
|
+
}
|
|
947
|
+
const first = entries[0];
|
|
948
|
+
if (entries.length === 1) {
|
|
949
|
+
displayItems.push({
|
|
950
|
+
type: "single",
|
|
951
|
+
entry: first,
|
|
952
|
+
key: `item-${first.index}`,
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
else {
|
|
956
|
+
const last = entries[entries.length - 1];
|
|
957
|
+
displayItems.push({
|
|
958
|
+
type: "activity-group",
|
|
959
|
+
entries,
|
|
960
|
+
key: `activity-${first.index}-${last.index}`,
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
activityEntries = [];
|
|
964
|
+
};
|
|
965
|
+
flatItems.forEach((item, index) => {
|
|
966
|
+
if (isActivityItem(item)) {
|
|
967
|
+
activityEntries.push({ item, index });
|
|
968
|
+
return;
|
|
969
|
+
}
|
|
970
|
+
if (isVisibleUserDirectedItem(item)) {
|
|
971
|
+
flushActivityEntries();
|
|
972
|
+
displayItems.push({
|
|
973
|
+
type: "single",
|
|
974
|
+
entry: { item, index },
|
|
975
|
+
key: `item-${index}`,
|
|
976
|
+
});
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
flushActivityEntries();
|
|
980
|
+
return displayItems;
|
|
981
|
+
};
|
|
982
|
+
function ActivityBlockGroup({ entries, isLive, renderEntry, }) {
|
|
983
|
+
const toolCalls = entries.flatMap((entry) => entry.item.type === "toolcalls" ? entry.item.toolCalls : []);
|
|
984
|
+
const thinkingCount = entries.filter((entry) => entry.item.type === "segment" && entry.item.segment.kind === "reasoning").length;
|
|
985
|
+
const toolCallCount = toolCalls.length;
|
|
986
|
+
const toolNames = [
|
|
987
|
+
...new Set(toolCalls.map(getToolFunctionName).filter(Boolean)),
|
|
988
|
+
];
|
|
989
|
+
const errorCount = toolCalls.filter((toolCall) => {
|
|
990
|
+
const rawName = toolCall.function?.name || toolCall.displayName || "";
|
|
991
|
+
const isRejected = rawName.toLowerCase().includes("(rejected)");
|
|
992
|
+
return !!toolCall.function?.error || isRejected;
|
|
993
|
+
}).length;
|
|
994
|
+
const hasPendingApproval = toolCalls.some((toolCall) => {
|
|
995
|
+
const rawName = toolCall.function?.name || toolCall.displayName || "";
|
|
996
|
+
return (!!toolCall.requiresApproval &&
|
|
997
|
+
!rawName.includes("(approved)") &&
|
|
998
|
+
!rawName.includes("(rejected)"));
|
|
999
|
+
});
|
|
1000
|
+
const hasIncompleteToolCall = toolCalls.some((toolCall) => {
|
|
1001
|
+
return (!toolCall.isCompleted &&
|
|
1002
|
+
!toolCall.function?.result &&
|
|
1003
|
+
!toolCall.function?.error);
|
|
1004
|
+
});
|
|
1005
|
+
const [isExpanded, setIsExpanded] = useState(hasPendingApproval);
|
|
1006
|
+
const summaryParts = [
|
|
1007
|
+
toolCallCount > 0
|
|
1008
|
+
? `${toolCallCount} tool call${toolCallCount !== 1 ? "s" : ""}`
|
|
1009
|
+
: null,
|
|
1010
|
+
thinkingCount > 0
|
|
1011
|
+
? `${thinkingCount} thinking block${thinkingCount !== 1 ? "s" : ""}`
|
|
1012
|
+
: null,
|
|
1013
|
+
].filter(Boolean);
|
|
1014
|
+
const detailsText = toolNames.length <= 3
|
|
1015
|
+
? toolNames.join(", ")
|
|
1016
|
+
: `${toolNames.slice(0, 2).join(", ")} +${toolNames.length - 2} more`;
|
|
1017
|
+
const isActive = !errorCount && (isLive || hasIncompleteToolCall);
|
|
1018
|
+
useEffect(() => {
|
|
1019
|
+
if (hasPendingApproval) {
|
|
1020
|
+
setIsExpanded(true);
|
|
1021
|
+
}
|
|
1022
|
+
}, [hasPendingApproval]);
|
|
1023
|
+
return (_jsxs("div", { className: "my-2 overflow-hidden rounded-lg", "data-testid": "agent-activity-group", children: [_jsxs("button", { type: "button", className: "group text-neutral-grey-50 hover:bg-neutral-grey-5/60 hover:text-neutral-grey-100 flex w-full cursor-pointer items-center gap-1.5 px-2 py-1.5 text-left text-xs transition-all", onClick: () => {
|
|
1024
|
+
setIsExpanded(!isExpanded);
|
|
1025
|
+
}, "aria-expanded": isExpanded, "data-testid": "agent-activity-group-toggle", children: [_jsx("div", { className: "flex h-4 w-4 shrink-0 items-center justify-center transition-transform group-hover:scale-110", children: isExpanded ? (_jsx(ChevronDown, { size: 14, strokeWidth: 1.5, className: "text-neutral-grey-50" })) : (_jsx(ChevronRight, { size: 14, strokeWidth: 1.5, className: "text-neutral-grey-50" })) }), _jsx("span", { className: `shrink-0 leading-4 font-medium ${isActive ? "animate-text-shimmer" : ""}`, children: summaryParts.join(", ") }), detailsText && (_jsx("span", { className: "text-neutral-grey-50 min-w-0 flex-1 truncate text-[10px] leading-4", children: detailsText })), errorCount > 0 && (_jsxs("span", { className: "text-feedback-red shrink-0 text-[10px] leading-4", children: ["(", errorCount, " error", errorCount !== 1 ? "s" : "", ")"] })), _jsx("div", { className: "ml-auto flex h-4 w-4 shrink-0 items-center justify-center", children: errorCount > 0 ? (_jsx(XCircleLike, {})) : isActive ? (_jsx(Loader2, { className: "text-neutral-grey-50 h-3.5 w-3.5 animate-spin", strokeWidth: 1.5 })) : (_jsx(Check, { className: "text-feedback-green h-3.5 w-3.5", strokeWidth: 2 })) })] }), _jsx("div", { className: "grid transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none", style: {
|
|
1026
|
+
gridTemplateRows: isExpanded ? "1fr" : "0fr",
|
|
1027
|
+
}, "aria-hidden": !isExpanded, "data-testid": "agent-activity-group-content", children: _jsx("div", { className: "min-h-0 overflow-hidden", children: _jsx("div", { className: "border-border-default/60 border-t px-2 py-1", children: entries.map((entry) => renderEntry(entry)) }) }) })] }));
|
|
1028
|
+
}
|
|
1029
|
+
function XCircleLike() {
|
|
1030
|
+
return (_jsx("span", { className: "border-feedback-red text-feedback-red flex h-3.5 w-3.5 items-center justify-center rounded-full border", children: _jsx(X, { className: "h-2.5 w-2.5", strokeWidth: 2 }) }));
|
|
1031
|
+
}
|
|
1032
|
+
// Thinking block component with auto-scroll
|
|
1033
|
+
function ThinkingBlock({ text, isStreaming, isCollapsed, thinkingKey, onToggleCollapse, }) {
|
|
1034
|
+
const contentRef = useRef(null);
|
|
1035
|
+
// Auto-scroll to bottom when content changes during streaming
|
|
1036
|
+
useLayoutEffect(() => {
|
|
1037
|
+
if (isStreaming && !isCollapsed && contentRef.current) {
|
|
1038
|
+
contentRef.current.scrollTop = contentRef.current.scrollHeight;
|
|
1039
|
+
}
|
|
1040
|
+
}, [text, isStreaming, isCollapsed]);
|
|
1041
|
+
return (_jsxs("div", { className: `my-2 flex flex-col gap-1 text-[11px] transition-colors duration-200 ${isStreaming ? "text-neutral-grey-100" : "text-neutral-grey-50"}`, children: [_jsxs("div", { className: "text-neutral-grey-50 hover:text-neutral-grey-100 flex cursor-pointer items-center gap-1.5 p-2 text-[10px] font-medium tracking-wider transition-colors", onClick: onToggleCollapse, children: [isCollapsed ? _jsx(ChevronRight, { size: 12 }) : _jsx(ChevronDown, { size: 12 }), _jsx(Brain, { size: 12, className: isStreaming ? "animate-pulse" : "" }), _jsx("span", { children: "Thinking" }), isStreaming && (_jsx(Loader2, { className: "text-neutral-grey-50 ml-1 h-3 w-3 animate-spin", strokeWidth: 1.5 }))] }), !isCollapsed && (_jsxs("div", { ref: contentRef, className: `prose-sm max-h-[6rem] overflow-y-auto px-2 pb-2 leading-relaxed whitespace-pre-wrap italic ${isStreaming ? "text-neutral-grey-50" : ""}`, children: [text, isStreaming && (_jsx("span", { className: "bg-neutral-grey-50 ml-0.5 inline-block h-3 w-0.5 animate-pulse" }))] }))] }));
|
|
1042
|
+
}
|
|
1043
|
+
const getQuickActionLabel = (action) => action.manualSectionTitle?.trim() || action.label;
|
|
1044
|
+
const getQuickActionSubmittableText = (action) => (action.prompt || action.value || getQuickActionLabel(action) || "").trim();
|
|
1045
|
+
// Renders a "Recommended actions" card. Actions whose prompt carries
|
|
1046
|
+
// {{placeholder}} / <<placeholder>> tokens expand an inline template editor
|
|
1047
|
+
// directly beneath the button (animated open/close) instead of routing the
|
|
1048
|
+
// template down to the bottom composer.
|
|
1049
|
+
function QuickActionsCard({ headline, actions, message, className, onQuickAction, }) {
|
|
1050
|
+
const [expandedIndex, setExpandedIndex] = useState(null);
|
|
1051
|
+
// Lags behind expandedIndex on close so the template stays mounted through
|
|
1052
|
+
// the collapse transition (matching the open animation).
|
|
1053
|
+
const [renderedIndex, setRenderedIndex] = useState(null);
|
|
1054
|
+
useEffect(() => {
|
|
1055
|
+
if (expandedIndex !== null) {
|
|
1056
|
+
setRenderedIndex(expandedIndex);
|
|
1057
|
+
}
|
|
1058
|
+
}, [expandedIndex]);
|
|
1059
|
+
const renderedAction = renderedIndex !== null ? actions[renderedIndex] : undefined;
|
|
1060
|
+
const isOpen = expandedIndex !== null;
|
|
1061
|
+
return (_jsxs("div", { className: cn("border-neutral-grey-10 my-3 rounded-xl border bg-white px-3 py-2.5", className), children: [headline && (_jsx("div", { className: "text-neutral-grey-100 mb-2.5 text-[13px] leading-4 font-medium", children: headline })), _jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((a, aIdx) => {
|
|
1062
|
+
const buttonLabel = getQuickActionLabel(a);
|
|
1063
|
+
const variant = a.style === "destructive"
|
|
1064
|
+
? "destructive"
|
|
1065
|
+
: a.style === "outline"
|
|
1066
|
+
? "outline"
|
|
1067
|
+
: a.style === "secondary"
|
|
1068
|
+
? "secondary"
|
|
1069
|
+
: "default"; // primary
|
|
1070
|
+
const buttonClassName = variant === "outline"
|
|
1071
|
+
? "h-7 rounded-full border-neutral-grey-10 bg-white px-3 text-xs font-medium text-neutral-grey-100 shadow-none hover:bg-neutral-grey-5"
|
|
1072
|
+
: "h-7 rounded-full border border-transparent bg-neutral-grey-10 px-3 text-xs font-medium text-neutral-grey-100 shadow-none hover:bg-neutral-grey-5";
|
|
1073
|
+
const submittedText = getQuickActionSubmittableText(a);
|
|
1074
|
+
const hasTemplate = hasPromptPlaceholders(submittedText);
|
|
1075
|
+
const isExpanded = expandedIndex === aIdx;
|
|
1076
|
+
return (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Button, { size: "xs", variant: variant, className: cn(buttonClassName, isExpanded &&
|
|
1077
|
+
"bg-feedback-blue-light/60 ring-feedback-blue/40 ring-1"), "aria-expanded": hasTemplate ? isExpanded : undefined, onClick: () => {
|
|
1078
|
+
// Templated actions reveal the inline editor; only when a
|
|
1079
|
+
// handler exists to receive the filled result.
|
|
1080
|
+
if (hasTemplate && onQuickAction) {
|
|
1081
|
+
setExpandedIndex((current) => current === aIdx ? null : aIdx);
|
|
1082
|
+
return;
|
|
1083
|
+
}
|
|
1084
|
+
onQuickAction?.({
|
|
1085
|
+
label: buttonLabel,
|
|
1086
|
+
prompt: a.prompt,
|
|
1087
|
+
value: a.value,
|
|
1088
|
+
manualSectionId: a.manualSectionId,
|
|
1089
|
+
manualSectionTitle: a.manualSectionTitle,
|
|
1090
|
+
behavior: a.behavior,
|
|
1091
|
+
placeholder: a.placeholder,
|
|
1092
|
+
}, message);
|
|
1093
|
+
}, children: buttonLabel }) }), submittedText && !hasTemplate && (_jsx(TooltipContent, { children: _jsx("p", { className: "max-w-xs break-words", children: submittedText }) }))] }, (a.id || buttonLabel || "btn") + "-" + aIdx));
|
|
1094
|
+
}) }), _jsx("div", { className: "grid transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none", style: { gridTemplateRows: isOpen ? "1fr" : "0fr" }, "aria-hidden": !isOpen, onTransitionEnd: (event) => {
|
|
1095
|
+
if (event.propertyName === "grid-template-rows" &&
|
|
1096
|
+
expandedIndex === null) {
|
|
1097
|
+
setRenderedIndex(null);
|
|
1098
|
+
}
|
|
1099
|
+
}, "data-testid": "agent-quick-action-template", children: _jsx("div", { className: "min-h-0 overflow-hidden", children: renderedAction && (_jsx("div", { className: "pt-2.5", children: _jsx(PlaceholderInput, { text: getQuickActionSubmittableText(renderedAction), showButtons: true, onComplete: (filledText) => {
|
|
1100
|
+
// Submitting the filled template sends the prompt directly,
|
|
1101
|
+
// regardless of the action's original behavior.
|
|
1102
|
+
onQuickAction?.({
|
|
1103
|
+
label: getQuickActionLabel(renderedAction),
|
|
1104
|
+
prompt: filledText,
|
|
1105
|
+
behavior: "submit",
|
|
1106
|
+
}, message);
|
|
1107
|
+
setExpandedIndex(null);
|
|
1108
|
+
}, onCancel: () => setExpandedIndex(null) }, renderedIndex ?? "template") })) }) })] }));
|
|
1109
|
+
}
|
|
1110
|
+
export function AiResponseMessage({ messages, finished, editOperations, error, onQuickAction, defaultCollapseJson = false, agentId, agentName, allPendingApprovals, onSwitchToAutonomous, readOnly = false, followsUserMessage = false, }) {
|
|
1111
|
+
const editContext = useEditContext();
|
|
1112
|
+
// const [showFunctions, setShowFunctions] = useState(false);
|
|
1113
|
+
const [changesRejected, setChangesRejected] = useState(undefined);
|
|
1114
|
+
const [confirmingUndo, setConfirmingUndo] = useState(false);
|
|
1115
|
+
// Store tool calls to preserve them during streaming
|
|
1116
|
+
const [preservedToolCalls, setPreservedToolCalls] = useState({});
|
|
1117
|
+
// Track popover open state for each tool call
|
|
1118
|
+
const [openPopovers, setOpenPopovers] = useState({});
|
|
1119
|
+
// Track collapsed state for thinking sections (default to collapsed)
|
|
1120
|
+
const [collapsedThinking, setCollapsedThinking] = useState({});
|
|
1121
|
+
const normalizeToolArguments = useCallback((value) => {
|
|
1122
|
+
if (value === undefined || value === null)
|
|
1123
|
+
return "";
|
|
1124
|
+
if (typeof value === "string")
|
|
1125
|
+
return value;
|
|
1126
|
+
try {
|
|
1127
|
+
return JSON.stringify(value);
|
|
1128
|
+
}
|
|
1129
|
+
catch {
|
|
1130
|
+
return String(value);
|
|
1131
|
+
}
|
|
1132
|
+
}, []);
|
|
1133
|
+
const getToolArgumentsScore = useCallback((value) => {
|
|
1134
|
+
const normalized = normalizeToolArguments(value).trim();
|
|
1135
|
+
if (!normalized)
|
|
1136
|
+
return 0;
|
|
1137
|
+
// Treat placeholders as low-value argument payloads.
|
|
1138
|
+
if (normalized === "{}" || normalized === "[]" || normalized === "null") {
|
|
1139
|
+
return 1;
|
|
1140
|
+
}
|
|
1141
|
+
// Prefer richer JSON payloads over placeholders.
|
|
1142
|
+
try {
|
|
1143
|
+
const parsed = JSON.parse(normalized);
|
|
1144
|
+
if (Array.isArray(parsed)) {
|
|
1145
|
+
return parsed.length > 0 ? 1000 + normalized.length : 1;
|
|
1146
|
+
}
|
|
1147
|
+
if (parsed && typeof parsed === "object") {
|
|
1148
|
+
return Object.keys(parsed).length > 0 ? 1000 + normalized.length : 1;
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
catch {
|
|
1152
|
+
// Non-JSON string payload; compare by length.
|
|
1153
|
+
}
|
|
1154
|
+
return normalized.length;
|
|
1155
|
+
}, [normalizeToolArguments]);
|
|
1156
|
+
// Helper to avoid unnecessary updates when tool calls are unchanged
|
|
1157
|
+
const areToolCallsEqual = (a, b) => {
|
|
1158
|
+
if (a === b)
|
|
1159
|
+
return true;
|
|
1160
|
+
if (!a || !b)
|
|
1161
|
+
return false;
|
|
1162
|
+
if (a.length !== b.length)
|
|
1163
|
+
return false;
|
|
1164
|
+
for (let i = 0; i < a.length; i++) {
|
|
1165
|
+
const ai = a[i];
|
|
1166
|
+
const bi = b[i];
|
|
1167
|
+
if (ai?.id !== bi?.id ||
|
|
1168
|
+
ai?.displayName !== bi?.displayName ||
|
|
1169
|
+
ai?.function?.name !== bi?.function?.name ||
|
|
1170
|
+
ai?.function?.result !== bi?.function?.result ||
|
|
1171
|
+
ai?.function?.error !== bi?.function?.error ||
|
|
1172
|
+
ai?.isCompleted !== bi?.isCompleted ||
|
|
1173
|
+
ai?.responseTimeMs !== bi?.responseTimeMs ||
|
|
1174
|
+
ai?.createdDate !== bi?.createdDate ||
|
|
1175
|
+
normalizeToolArguments(ai?.function?.arguments) !==
|
|
1176
|
+
normalizeToolArguments(bi?.function?.arguments)) {
|
|
1177
|
+
return false;
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
return true;
|
|
1181
|
+
};
|
|
1182
|
+
// Update preserved tool calls when messages change, but only if values actually change
|
|
1183
|
+
useEffect(() => {
|
|
1184
|
+
setPreservedToolCalls((prev) => {
|
|
1185
|
+
let changed = false;
|
|
1186
|
+
const next = { ...prev };
|
|
1187
|
+
for (const message of messages) {
|
|
1188
|
+
const hasToolCalls = !!(message.tool_calls && message.tool_calls.length > 0);
|
|
1189
|
+
if (!hasToolCalls)
|
|
1190
|
+
continue;
|
|
1191
|
+
if (!areToolCallsEqual(next[message.id], message.tool_calls)) {
|
|
1192
|
+
next[message.id] = message.tool_calls;
|
|
1193
|
+
changed = true;
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
return changed ? next : prev;
|
|
1197
|
+
});
|
|
1198
|
+
}, [messages]);
|
|
1199
|
+
// Filter out operations that are already undone
|
|
1200
|
+
const undoableOperations = editOperations.filter((op) => !op.undone);
|
|
1201
|
+
// Check if all operations have been undone (for persistent "undone" state after reload)
|
|
1202
|
+
const allOperationsUndone = editOperations.length > 0 && undoableOperations.length === 0;
|
|
1203
|
+
// Show undo button if there are any operations that aren't undone
|
|
1204
|
+
const canUndo = undoableOperations.length > 0;
|
|
1205
|
+
// Calculate if we're currently streaming (for loading indicator)
|
|
1206
|
+
const isStreaming = !finished && messages.length > 0;
|
|
1207
|
+
// Get the last message for timestamp
|
|
1208
|
+
const lastMessage = messages[messages.length - 1];
|
|
1209
|
+
// Memoize filtered messages and their parsed content segments to avoid hooks inside loops
|
|
1210
|
+
const nonToolAssistantMessages = useMemo(() => messages.filter((x) => x.role !== "tool" && x.role !== "user"), [messages]);
|
|
1211
|
+
// Create a flat structure of content items: text, tool calls, text, tool calls, etc.
|
|
1212
|
+
const flatItems = useMemo(() => {
|
|
1213
|
+
const items = [];
|
|
1214
|
+
// preservedToolCalls only bridges transient gaps while the run is still
|
|
1215
|
+
// streaming. Once finished, the merged transcript is authoritative —
|
|
1216
|
+
// falling back here would resurrect stale stream-time copies (whose ids
|
|
1217
|
+
// may differ from the persisted ones) next to the merged-in calls and
|
|
1218
|
+
// render the same batch twice.
|
|
1219
|
+
const getEffectiveToolCalls = (message) => {
|
|
1220
|
+
if (message.tool_calls && message.tool_calls.length > 0) {
|
|
1221
|
+
return message.tool_calls;
|
|
1222
|
+
}
|
|
1223
|
+
if (!finished) {
|
|
1224
|
+
return preservedToolCalls[message.id] || [];
|
|
1225
|
+
}
|
|
1226
|
+
return [];
|
|
1227
|
+
};
|
|
1228
|
+
// Collect all unique tool call IDs and their latest versions across all messages in this group
|
|
1229
|
+
const latestToolCalls = new Map();
|
|
1230
|
+
nonToolAssistantMessages.forEach((message) => {
|
|
1231
|
+
const tcs = getEffectiveToolCalls(message);
|
|
1232
|
+
tcs.forEach((tc) => {
|
|
1233
|
+
if (tc.id) {
|
|
1234
|
+
// If we already have this tool call, only update if the new one is more "complete"
|
|
1235
|
+
const existing = latestToolCalls.get(tc.id);
|
|
1236
|
+
const newArgScore = getToolArgumentsScore(tc.function?.arguments);
|
|
1237
|
+
const existingArgScore = getToolArgumentsScore(existing?.function?.arguments);
|
|
1238
|
+
const isNewer = !existing ||
|
|
1239
|
+
(!existing.function?.result && tc.function?.result) ||
|
|
1240
|
+
(!existing.function?.error && tc.function?.error) ||
|
|
1241
|
+
(!existing.requiresApproval &&
|
|
1242
|
+
tc.requiresApproval) ||
|
|
1243
|
+
newArgScore > existingArgScore;
|
|
1244
|
+
if (isNewer) {
|
|
1245
|
+
latestToolCalls.set(tc.id, tc);
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
});
|
|
1249
|
+
});
|
|
1250
|
+
const emittedToolCallIds = new Set();
|
|
1251
|
+
nonToolAssistantMessages.forEach((message, msgIndex) => {
|
|
1252
|
+
const isLastMessage = msgIndex === nonToolAssistantMessages.length - 1;
|
|
1253
|
+
// Add reasoning segment if present
|
|
1254
|
+
if (message.reasoning) {
|
|
1255
|
+
items.push({
|
|
1256
|
+
type: "segment",
|
|
1257
|
+
segment: { kind: "reasoning", text: message.reasoning },
|
|
1258
|
+
messageId: message.id,
|
|
1259
|
+
message,
|
|
1260
|
+
isLastMessage,
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
const contentString = (message.content ||
|
|
1264
|
+
message.formattedContent ||
|
|
1265
|
+
"");
|
|
1266
|
+
const segments = parseContentSegments(contentString, isStreaming);
|
|
1267
|
+
// Add content segments
|
|
1268
|
+
segments.forEach((segment) => {
|
|
1269
|
+
items.push({
|
|
1270
|
+
type: "segment",
|
|
1271
|
+
segment,
|
|
1272
|
+
messageId: message.id,
|
|
1273
|
+
message,
|
|
1274
|
+
isLastMessage,
|
|
1275
|
+
});
|
|
1276
|
+
});
|
|
1277
|
+
// Add tool calls if present, but only if they haven't been emitted yet
|
|
1278
|
+
const tcs = getEffectiveToolCalls(message);
|
|
1279
|
+
if (tcs.length > 0) {
|
|
1280
|
+
const uniqueToolCallsInThisMessage = [];
|
|
1281
|
+
tcs.forEach((tc) => {
|
|
1282
|
+
if (!tc.id || !emittedToolCallIds.has(tc.id)) {
|
|
1283
|
+
if (tc.id) {
|
|
1284
|
+
emittedToolCallIds.add(tc.id);
|
|
1285
|
+
// Use the latest version we found earlier
|
|
1286
|
+
const latestToolCall = latestToolCalls.get(tc.id) || tc;
|
|
1287
|
+
uniqueToolCallsInThisMessage.push(latestToolCall.messageId
|
|
1288
|
+
? latestToolCall
|
|
1289
|
+
: {
|
|
1290
|
+
...latestToolCall,
|
|
1291
|
+
messageId: message.id,
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
else {
|
|
1295
|
+
uniqueToolCallsInThisMessage.push(tc.messageId
|
|
1296
|
+
? tc
|
|
1297
|
+
: {
|
|
1298
|
+
...tc,
|
|
1299
|
+
messageId: message.id,
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
});
|
|
1304
|
+
if (uniqueToolCallsInThisMessage.length > 0) {
|
|
1305
|
+
items.push({
|
|
1306
|
+
type: "toolcalls",
|
|
1307
|
+
toolCalls: uniqueToolCallsInThisMessage,
|
|
1308
|
+
messageId: message.id,
|
|
1309
|
+
message,
|
|
1310
|
+
isLastMessage,
|
|
1311
|
+
});
|
|
1312
|
+
// Some completed tool calls get a visible recap right after their
|
|
1313
|
+
// raw tool-call batch so useful UI is not hidden in collapsed output.
|
|
1314
|
+
uniqueToolCallsInThisMessage.forEach((toolCall) => {
|
|
1315
|
+
if (isQuestionnaireRecapToolCall(toolCall)) {
|
|
1316
|
+
items.push({
|
|
1317
|
+
type: "questionnaire-recap",
|
|
1318
|
+
toolCall,
|
|
1319
|
+
messageId: message.id,
|
|
1320
|
+
message,
|
|
1321
|
+
isLastMessage,
|
|
1322
|
+
});
|
|
1323
|
+
}
|
|
1324
|
+
const screenshotPreview = getScreenshotToolResultPreview(toolCall);
|
|
1325
|
+
if (screenshotPreview) {
|
|
1326
|
+
items.push({
|
|
1327
|
+
type: "screenshot-preview",
|
|
1328
|
+
toolCall,
|
|
1329
|
+
preview: screenshotPreview,
|
|
1330
|
+
messageId: message.id,
|
|
1331
|
+
message,
|
|
1332
|
+
isLastMessage,
|
|
1333
|
+
});
|
|
1334
|
+
}
|
|
1335
|
+
});
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
});
|
|
1339
|
+
const mergedItems = [];
|
|
1340
|
+
items.forEach((item) => {
|
|
1341
|
+
const previousItem = mergedItems[mergedItems.length - 1];
|
|
1342
|
+
if (item.type === "toolcalls" && previousItem?.type === "toolcalls") {
|
|
1343
|
+
mergedItems[mergedItems.length - 1] = {
|
|
1344
|
+
...previousItem,
|
|
1345
|
+
toolCalls: [...previousItem.toolCalls, ...item.toolCalls],
|
|
1346
|
+
messageId: `${previousItem.messageId}__${item.messageId}`,
|
|
1347
|
+
message: item.message,
|
|
1348
|
+
isLastMessage: item.isLastMessage,
|
|
1349
|
+
};
|
|
1350
|
+
return;
|
|
1351
|
+
}
|
|
1352
|
+
mergedItems.push(item);
|
|
1353
|
+
});
|
|
1354
|
+
return mergedItems;
|
|
1355
|
+
}, [
|
|
1356
|
+
nonToolAssistantMessages,
|
|
1357
|
+
isStreaming,
|
|
1358
|
+
finished,
|
|
1359
|
+
preservedToolCalls,
|
|
1360
|
+
getToolArgumentsScore,
|
|
1361
|
+
]);
|
|
1362
|
+
const displayItems = useMemo(() => groupActivityItems(flatItems), [flatItems]);
|
|
1363
|
+
// Check if any reasoning block is currently showing a spinner
|
|
1364
|
+
const isAnyReasoningStreaming = useMemo(() => {
|
|
1365
|
+
if (!isStreaming || allPendingApprovals?.length)
|
|
1366
|
+
return false;
|
|
1367
|
+
// Check if the last item is a reasoning segment that hasn't started output yet
|
|
1368
|
+
const lastItem = flatItems[flatItems.length - 1];
|
|
1369
|
+
if (lastItem?.type === "segment" &&
|
|
1370
|
+
lastItem.segment.kind === "reasoning" &&
|
|
1371
|
+
lastItem.isLastMessage) {
|
|
1372
|
+
const message = lastItem.message;
|
|
1373
|
+
const contentString = (message.content ||
|
|
1374
|
+
message.formattedContent ||
|
|
1375
|
+
"");
|
|
1376
|
+
const hasToolCalls = (message.tool_calls && message.tool_calls.length > 0) ||
|
|
1377
|
+
(preservedToolCalls[message.id] &&
|
|
1378
|
+
preservedToolCalls[message.id].length > 0);
|
|
1379
|
+
const hasStartedOutput = contentString.trim().length > 0 || hasToolCalls;
|
|
1380
|
+
return !hasStartedOutput;
|
|
1381
|
+
}
|
|
1382
|
+
return false;
|
|
1383
|
+
}, [isStreaming, flatItems, allPendingApprovals?.length, preservedToolCalls]);
|
|
1384
|
+
// Extract copyable text content from all text and reasoning segments
|
|
1385
|
+
const copyableText = useMemo(() => {
|
|
1386
|
+
const textParts = [];
|
|
1387
|
+
flatItems.forEach((item) => {
|
|
1388
|
+
if (item.type === "segment") {
|
|
1389
|
+
const segment = item.segment;
|
|
1390
|
+
if (segment.kind === "text") {
|
|
1391
|
+
// Extract plain text from HTML if needed, or use raw text
|
|
1392
|
+
const text = segment.text.trim();
|
|
1393
|
+
if (text) {
|
|
1394
|
+
textParts.push(text);
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
else if (segment.kind === "reasoning") {
|
|
1398
|
+
const text = segment.text.trim();
|
|
1399
|
+
if (text) {
|
|
1400
|
+
textParts.push(text);
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
});
|
|
1405
|
+
return textParts.join("\n\n");
|
|
1406
|
+
}, [flatItems]);
|
|
1407
|
+
const renderFlatItem = (item, itemIndex) => {
|
|
1408
|
+
const prevItem = itemIndex > 0 ? flatItems[itemIndex - 1] : null;
|
|
1409
|
+
const isLastItem = itemIndex === flatItems.length - 1;
|
|
1410
|
+
const shouldAddSpacing = prevItem?.type === "toolcalls" && item.type === "segment";
|
|
1411
|
+
if (item.type === "questionnaire-recap") {
|
|
1412
|
+
return (_jsx(QuestionnaireRecap, { toolCall: item.toolCall }, `item-${itemIndex}`));
|
|
1413
|
+
}
|
|
1414
|
+
if (item.type === "screenshot-preview") {
|
|
1415
|
+
return (_jsx("div", { className: "my-2", "data-testid": "screenshot-tool-result-preview", children: _jsx(InlineToolResultPreview, { preview: item.preview, testId: "screenshot-tool-result-image", className: "border-border-default hover:border-border-default block overflow-hidden rounded border bg-white transition-colors", imageClassName: "bg-neutral-grey-5 max-h-80 w-auto max-w-full object-contain" }) }, `item-${itemIndex}`));
|
|
1416
|
+
}
|
|
1417
|
+
if (item.type === "segment") {
|
|
1418
|
+
const segment = item.segment;
|
|
1419
|
+
const message = item.message;
|
|
1420
|
+
if (segment.kind === "reasoning") {
|
|
1421
|
+
const thinkingKey = `thinking-${message.id}-${itemIndex}`;
|
|
1422
|
+
// Only show the "Thinking" spinner while we're still in the pre-output phase.
|
|
1423
|
+
// Once any actual response content starts appearing, thinking has effectively finished,
|
|
1424
|
+
// even if the overall response is still streaming.
|
|
1425
|
+
const contentString = (message.content ||
|
|
1426
|
+
message.formattedContent ||
|
|
1427
|
+
"");
|
|
1428
|
+
const hasToolCalls = (message.tool_calls && message.tool_calls.length > 0) ||
|
|
1429
|
+
(preservedToolCalls[message.id] &&
|
|
1430
|
+
preservedToolCalls[message.id].length > 0);
|
|
1431
|
+
const hasStartedOutput = contentString.trim().length > 0 || hasToolCalls;
|
|
1432
|
+
// Check if this reasoning block is still actively streaming
|
|
1433
|
+
const isReasoningStreaming = !!(isStreaming &&
|
|
1434
|
+
item.isLastMessage &&
|
|
1435
|
+
!hasStartedOutput &&
|
|
1436
|
+
!allPendingApprovals?.length);
|
|
1437
|
+
// During streaming, default to expanded; after streaming, default to collapsed
|
|
1438
|
+
const isCollapsed = collapsedThinking[thinkingKey] !== undefined
|
|
1439
|
+
? collapsedThinking[thinkingKey]
|
|
1440
|
+
: !isReasoningStreaming; // Expanded during streaming, collapsed after
|
|
1441
|
+
return (_jsx(ThinkingBlock, { text: segment.text, isStreaming: isReasoningStreaming, isCollapsed: isCollapsed, thinkingKey: thinkingKey, onToggleCollapse: () => {
|
|
1442
|
+
setCollapsedThinking((prev) => ({
|
|
1443
|
+
...prev,
|
|
1444
|
+
[thinkingKey]: !isCollapsed,
|
|
1445
|
+
}));
|
|
1446
|
+
} }, `item-${itemIndex}`));
|
|
1447
|
+
}
|
|
1448
|
+
if (segment.kind === "text") {
|
|
1449
|
+
const trimmedText = segment.text.trim();
|
|
1450
|
+
if (!trimmedText)
|
|
1451
|
+
return null;
|
|
1452
|
+
// Check for command links in the text
|
|
1453
|
+
const { text, links } = extractCommandLinks(trimmedText);
|
|
1454
|
+
if (links.length > 0) {
|
|
1455
|
+
// Split text around command links and render buttons
|
|
1456
|
+
const parts = [];
|
|
1457
|
+
let lastIndex = 0;
|
|
1458
|
+
links.forEach((link, linkIdx) => {
|
|
1459
|
+
// Add text before the link
|
|
1460
|
+
if (link.index > lastIndex) {
|
|
1461
|
+
const textBefore = text.substring(lastIndex, link.index);
|
|
1462
|
+
const html = simpleFormatToHtml(textBefore);
|
|
1463
|
+
if (html) {
|
|
1464
|
+
parts.push(_jsx("span", { dangerouslySetInnerHTML: { __html: html } }, `text-${itemIndex}-${linkIdx}`));
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
// Add the button
|
|
1468
|
+
// Calculate the actual text that will be submitted (same logic as in AgentTerminal.tsx)
|
|
1469
|
+
// For command links: prompt=command, value=command, so submitted text is link.command
|
|
1470
|
+
const submittedText = (link.command || link.label || "").trim();
|
|
1471
|
+
parts.push(_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Button, { size: "sm", variant: "outline", className: "mx-1 inline-flex", onClick: () => onQuickAction?.({
|
|
1472
|
+
label: link.label,
|
|
1473
|
+
value: link.command,
|
|
1474
|
+
prompt: link.command,
|
|
1475
|
+
}, message), children: link.label }) }), submittedText && (_jsx(TooltipContent, { children: _jsx("p", { className: "max-w-xs break-words", children: submittedText }) }))] }, `btn-${itemIndex}-${linkIdx}`));
|
|
1476
|
+
// Find the end of this match in the original text
|
|
1477
|
+
const matchEnd = link.index + `[${link.label}](command:${link.command})`.length;
|
|
1478
|
+
lastIndex = matchEnd;
|
|
1479
|
+
});
|
|
1480
|
+
// Add any remaining text after the last link
|
|
1481
|
+
if (lastIndex < text.length) {
|
|
1482
|
+
const textAfter = text.substring(lastIndex);
|
|
1483
|
+
const html = simpleFormatToHtml(textAfter);
|
|
1484
|
+
if (html) {
|
|
1485
|
+
parts.push(_jsx("span", { dangerouslySetInnerHTML: { __html: html } }, `text-${itemIndex}-end`));
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
return (_jsxs("div", { className: `${assistantMessageTextClassName} ${shouldAddSpacing ? "mt-2" : ""}`, children: [parts, isStreaming && isLastItem && (_jsx("span", { className: "bg-neutral-grey-50 ml-0.5 inline-block h-3 w-0.5 animate-pulse" }))] }, `item-${itemIndex}`));
|
|
1489
|
+
}
|
|
1490
|
+
const html = simpleFormatToHtml(trimmedText);
|
|
1491
|
+
if (!html)
|
|
1492
|
+
return null;
|
|
1493
|
+
return (_jsxs("div", { className: `${assistantMessageTextClassName} ${shouldAddSpacing ? "mt-2" : ""}`, children: [_jsx("span", { dangerouslySetInnerHTML: { __html: html } }), isStreaming && isLastItem && (_jsx("span", { className: "bg-neutral-grey-50 ml-0.5 inline-block h-3 w-0.5 animate-pulse" }))] }, `item-${itemIndex}`));
|
|
1494
|
+
}
|
|
1495
|
+
if (segment.kind === "todo") {
|
|
1496
|
+
const todo = segment;
|
|
1497
|
+
return (_jsxs("div", { className: `my-1 ${shouldAddSpacing ? "mt-2" : ""}`, children: [todo.title && (_jsx("div", { className: "text-neutral-grey-100 mb-1 text-xs font-medium", children: todo.title })), _jsx("div", { className: "flex flex-col gap-1", children: todo.items.map((todoItem, iIdx) => (_jsxs("label", { className: "text-neutral-grey-100 flex items-start gap-2 text-xs", children: [_jsx(Checkbox, { checked: todoItem.status === "completed", onCheckedChange: () => { }, "aria-readonly": true, className: "mt-0.5" }), _jsxs("div", { children: [_jsx("div", { className: todoItem.status === "completed" ||
|
|
1498
|
+
todoItem.status === "cancelled"
|
|
1499
|
+
? "line-through opacity-70"
|
|
1500
|
+
: todoItem.status === "in_progress"
|
|
1501
|
+
? "text-feedback-blue font-medium"
|
|
1502
|
+
: "", children: todoItem.title }), todoItem.instructions && (_jsx("div", { className: "text-neutral-grey-100 text-xs", children: todoItem.instructions }))] })] }, (todoItem.id || todoItem.title || "todo") + "-" + iIdx))) })] }, `item-${itemIndex}`));
|
|
1503
|
+
}
|
|
1504
|
+
if (segment.kind === "media") {
|
|
1505
|
+
const media = segment;
|
|
1506
|
+
return (_jsx("div", { className: `my-2 flex flex-col gap-3 ${shouldAddSpacing ? "mt-2" : ""}`, children: media.items.map((mediaItem, mIdx) => (_jsx(MediaImage, { itemId: mediaItem.itemId, label: mediaItem.label }, mediaItem.itemId || `media-${itemIndex}-${mIdx}`))) }, `item-${itemIndex}`));
|
|
1507
|
+
}
|
|
1508
|
+
if (segment.kind === "json") {
|
|
1509
|
+
return (_jsx(JsonBlockDisplay, { data: segment.data, raw: segment.raw, defaultCollapsed: defaultCollapseJson, className: shouldAddSpacing ? "mt-2" : "" }, `item-${itemIndex}`));
|
|
1510
|
+
}
|
|
1511
|
+
// segment.kind === "actions"
|
|
1512
|
+
const headline = segment.headline?.trim() || "Recommended actions:";
|
|
1513
|
+
return (_jsx(QuickActionsCard, { headline: headline, actions: segment.actions, message: message, className: shouldAddSpacing ? "mt-2" : undefined, onQuickAction: onQuickAction }, `item-${itemIndex}`));
|
|
1514
|
+
}
|
|
1515
|
+
// item.type === "toolcalls"
|
|
1516
|
+
return (_jsx("div", { className: shouldAddSpacing ? "mt-2" : "", children: _jsx(ToolCallDisplay, { toolCalls: item.toolCalls, finished: finished, openPopovers: openPopovers, setOpenPopovers: setOpenPopovers, messageId: item.messageId, agentId: agentId, allPendingApprovals: allPendingApprovals, onSwitchToAutonomous: onSwitchToAutonomous, readOnly: readOnly }) }, `item-${itemIndex}`));
|
|
1517
|
+
};
|
|
1518
|
+
return (_jsx("div", { className: `px-4 pb-3 ${followsUserMessage ? "pt-6" : "pt-3"}`, "data-testid": "agent-message", children: _jsxs("div", { className: "min-w-0 flex-1 select-text", children: [_jsxs("div", { className: "mb-1 flex items-center gap-2", children: [_jsx("span", { className: "text-neutral-grey-100 text-xs font-medium", children: agentName || "Agent" }), lastMessage && lastMessage.createdDate && (_jsx(TimeWithTooltip, { date: new Date(lastMessage.createdDate), className: "text-neutral-grey-50 text-xs", testId: "agent-message-timestamp", timestampAttr: lastMessage.createdDate }))] }), error && (_jsx("div", { className: "border-feedback-red bg-feedback-red-light mb-2 rounded-lg border-l-4 p-2.5", "data-testid": "agent-error", children: _jsxs("div", { className: "flex items-start", children: [_jsx("div", { className: "flex-shrink-0", children: _jsx(X, { className: "text-feedback-red h-5 w-5", strokeWidth: 1 }) }), _jsxs("div", { className: "ml-3", children: [_jsx("p", { className: "text-feedback-red text-sm font-medium", children: "Agent Error" }), _jsx("p", { className: "text-feedback-red mt-1 text-sm", children: error })] })] }) })), displayItems.map((displayItem) => {
|
|
1519
|
+
if (displayItem.type === "activity-group") {
|
|
1520
|
+
const isLive = !finished &&
|
|
1521
|
+
displayItem.entries.some((entry) => entry.item.isLastMessage);
|
|
1522
|
+
return (_jsx(ActivityBlockGroup, { entries: displayItem.entries, isLive: isLive, renderEntry: (entry) => renderFlatItem(entry.item, entry.index) }, displayItem.key));
|
|
1523
|
+
}
|
|
1524
|
+
return renderFlatItem(displayItem.entry.item, displayItem.entry.index);
|
|
1525
|
+
}), isStreaming &&
|
|
1526
|
+
!error &&
|
|
1527
|
+
!allPendingApprovals?.length &&
|
|
1528
|
+
!isAnyReasoningStreaming && (_jsxs("div", { className: "flex items-center gap-1 pt-2", "data-testid": "agent-streaming-dots", children: [_jsx("div", { className: "bg-neutral-grey-50 h-1 w-1 animate-bounce rounded-full [animation-delay:-0.3s]" }), _jsx("div", { className: "bg-neutral-grey-50 h-1 w-1 animate-bounce rounded-full [animation-delay:-0.15s]" }), _jsx("div", { className: "bg-neutral-grey-50 h-1 w-1 animate-bounce rounded-full" })] })), (copyableText || (finished && editOperations.length > 0)) && (_jsxs("div", { className: "mt-3 flex items-center justify-end gap-2", children: [copyableText && (_jsx(CopyButton, { textToCopy: copyableText, iconOnly: false, className: "text-neutral-grey-50 hover:text-neutral-grey-50 flex cursor-pointer items-center gap-1 p-0 text-xs" })), finished && editOperations.length > 0 && (_jsxs(_Fragment, { children: [canUndo && !changesRejected && !confirmingUndo && (_jsxs("button", { type: "button", title: `Undo ${editOperations.length} change${editOperations.length !== 1 ? "s" : ""}`, className: "tour-ai-response-message-changes text-neutral-grey-50 hover:text-neutral-grey-50 flex cursor-pointer items-center gap-1 text-xs", onClick: (e) => {
|
|
1529
|
+
e.stopPropagation();
|
|
1530
|
+
setConfirmingUndo(true);
|
|
1531
|
+
}, children: [_jsx(Undo2, { strokeWidth: 1.5, size: 12 }), " Undo"] })), canUndo && !changesRejected && confirmingUndo && (_jsxs("div", { className: "flex items-center gap-2 text-xs", children: [_jsxs("span", { className: "text-neutral-grey-50", children: ["Undo ", editOperations.length, " change", editOperations.length !== 1 ? "s" : "", "?"] }), _jsx("button", { type: "button", className: "text-feedback-red hover:text-feedback-red cursor-pointer", onClick: async (e) => {
|
|
1532
|
+
e.stopPropagation();
|
|
1533
|
+
const operationIds = undoableOperations.map((op) => op.id);
|
|
1534
|
+
if (!editContext?.operations?.undoOperations) {
|
|
1535
|
+
setConfirmingUndo(false);
|
|
1536
|
+
return;
|
|
1537
|
+
}
|
|
1538
|
+
if (operationIds.length === 0) {
|
|
1539
|
+
setConfirmingUndo(false);
|
|
1540
|
+
return;
|
|
1541
|
+
}
|
|
1542
|
+
try {
|
|
1543
|
+
const success = await editContext.operations.undoOperations(operationIds);
|
|
1544
|
+
if (success) {
|
|
1545
|
+
setChangesRejected(true);
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
catch (error) {
|
|
1549
|
+
// Undo operation failed
|
|
1550
|
+
}
|
|
1551
|
+
setConfirmingUndo(false);
|
|
1552
|
+
}, children: "Yes" }), _jsx("button", { type: "button", className: "text-neutral-grey-50 hover:text-neutral-grey-50 cursor-pointer", onClick: (e) => {
|
|
1553
|
+
e.stopPropagation();
|
|
1554
|
+
setConfirmingUndo(false);
|
|
1555
|
+
}, children: "No" })] })), (changesRejected || allOperationsUndone) && (_jsxs("span", { className: "text-neutral-grey-50 inline-flex items-center gap-1 text-xs", children: [_jsx(Check, { strokeWidth: 2, size: 12 }), " Undone"] }))] }))] }))] }) }));
|
|
1556
|
+
}
|
|
1557
|
+
//# sourceMappingURL=AiResponseMessage.js.map
|