@parhelia/core 0.1.12556 → 0.1.12560
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 +6 -4
- package/dist/agents-view/AgentCard.js +143 -24
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentsInbox.d.ts +1 -1
- package/dist/agents-view/AgentsInbox.js +7 -92
- package/dist/agents-view/AgentsInbox.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.js +3 -2
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.d.ts +6 -7
- package/dist/agents-view/AgentsView.js +187 -98
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.d.ts +2 -6
- package/dist/agents-view/AgentsWorkspaceView.js +266 -113
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/agents-view/ProfileAgentsGroup.d.ts +2 -1
- package/dist/agents-view/ProfileAgentsGroup.js +4 -3
- package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
- package/dist/components/ActionButton.d.ts +1 -1
- package/dist/components/ActionButton.js.map +1 -1
- package/dist/components/FilterInput.d.ts +1 -1
- package/dist/components/FilterInput.js +1 -1
- package/dist/components/FilterInput.js.map +1 -1
- package/dist/components/ui/LanguageSelector.js +2 -4
- package/dist/components/ui/LanguageSelector.js.map +1 -1
- package/dist/components/ui/PlaceholderInput.js +3 -3
- package/dist/components/ui/PlaceholderInput.js.map +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.js +6 -10
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/button.d.ts +4 -4
- package/dist/components/ui/button.js +4 -1
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +1 -1
- package/dist/components/ui/context-menu.js +12 -4
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.d.ts +2 -1
- package/dist/components/ui/copy-button.js +2 -2
- package/dist/components/ui/copy-button.js.map +1 -1
- package/dist/components/ui/dialog.d.ts +1 -1
- package/dist/components/ui/dialog.js +21 -126
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/input.d.ts +1 -1
- package/dist/components/ui/input.js +5 -3
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/paste-button.d.ts +2 -1
- 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 +1 -9
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/styled-dialog-title.js +1 -1
- package/dist/components/ui/styled-dialog-title.js.map +1 -1
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/components/ui/tabs.js +4 -11
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/config/config.d.ts +4 -2
- package/dist/config/config.js +250 -70
- package/dist/config/config.js.map +1 -1
- package/dist/config/notificationRoutes.js +14 -0
- package/dist/config/notificationRoutes.js.map +1 -1
- package/dist/config/types/workspace.d.ts +6 -0
- package/dist/config/types.d.ts +63 -12
- package/dist/config/types.js.map +1 -1
- package/dist/editor/ConfirmationDialog.js +20 -4
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +2 -1
- package/dist/editor/ContentTree.js +93 -32
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/Editor.js +87 -22
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/FieldHistory.js +84 -36
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldListField.js +21 -9
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/FieldListFieldWithFallbacks.js +23 -2
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
- package/dist/editor/GlobalMenuBar.js +29 -2
- package/dist/editor/GlobalMenuBar.js.map +1 -1
- package/dist/editor/ImageEditor.js +5 -2
- package/dist/editor/ImageEditor.js.map +1 -1
- package/dist/editor/ItemInfo.js +36 -1
- package/dist/editor/ItemInfo.js.map +1 -1
- package/dist/editor/LinkEditorDialog.js +3 -0
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.d.ts +0 -2
- package/dist/editor/MainLayout.js +65 -8
- package/dist/editor/MainLayout.js.map +1 -1
- package/dist/editor/MigrationsView.js +29 -5
- package/dist/editor/MigrationsView.js.map +1 -1
- package/dist/editor/MobileLayout.js +37 -12
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/PictureCropper.js +54 -45
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.js +17 -15
- package/dist/editor/PictureEditor.js.map +1 -1
- package/dist/editor/QuickItemSwitcher.js +21 -21
- package/dist/editor/QuickItemSwitcher.js.map +1 -1
- package/dist/editor/SetupWizard.js +52 -12
- package/dist/editor/SetupWizard.js.map +1 -1
- package/dist/editor/Titlebar.js +7 -2
- package/dist/editor/Titlebar.js.map +1 -1
- package/dist/editor/ai/AgentCostDisplay.d.ts +1 -0
- package/dist/editor/ai/AgentCostDisplay.js +1 -1
- package/dist/editor/ai/AgentCostDisplay.js.map +1 -1
- package/dist/editor/ai/AgentDocumentList.js +32 -14
- package/dist/editor/ai/AgentDocumentList.js.map +1 -1
- package/dist/editor/ai/AgentGreeting.js +3 -2
- package/dist/editor/ai/AgentGreeting.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.js +2 -1
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.d.ts +0 -5
- package/dist/editor/ai/AgentStatusBadge.js +67 -65
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.d.ts +14 -2
- package/dist/editor/ai/AgentTerminal.js +2377 -483
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/ai/AgentTerminalStatusBar.d.ts +8 -3
- package/dist/editor/ai/AgentTerminalStatusBar.js +460 -56
- package/dist/editor/ai/AgentTerminalStatusBar.js.map +1 -1
- package/dist/editor/ai/Agents.js +150 -113
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/AiResponseMessage.d.ts +10 -1
- package/dist/editor/ai/AiResponseMessage.js +238 -23
- package/dist/editor/ai/AiResponseMessage.js.map +1 -1
- package/dist/editor/ai/ContextInfoBar.d.ts +2 -3
- package/dist/editor/ai/ContextInfoBar.js +64 -7
- package/dist/editor/ai/ContextInfoBar.js.map +1 -1
- package/dist/editor/ai/GuidanceOverlay.js +17 -11
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/InlineAiDialog.d.ts +1 -1
- package/dist/editor/ai/InlineAiDialog.js +514 -192
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTrigger.js +115 -12
- package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
- package/dist/editor/ai/MediaImage.js +40 -8
- package/dist/editor/ai/MediaImage.js.map +1 -1
- package/dist/editor/ai/SpawnedAgentsPanel.js +10 -12
- package/dist/editor/ai/SpawnedAgentsPanel.js.map +1 -1
- package/dist/editor/ai/ToolCallDisplay.d.ts +22 -2
- package/dist/editor/ai/ToolCallDisplay.js +518 -147
- package/dist/editor/ai/ToolCallDisplay.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.d.ts +1 -8
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +379 -42
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.d.ts +5 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +628 -60
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/agentDialogTypes.d.ts +115 -0
- package/dist/editor/ai/dialogs/agentDialogTypes.js +2 -0
- package/dist/editor/ai/dialogs/agentDialogTypes.js.map +1 -1
- package/dist/editor/ai/types.d.ts +3 -1
- package/dist/editor/ai/useAgentStatus.d.ts +2 -1
- package/dist/editor/ai/useAgentStatus.js +86 -99
- package/dist/editor/ai/useAgentStatus.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.js +45 -5
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/client/AboutDialog.js +4 -2
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.d.ts +4 -1
- package/dist/editor/client/EditorShell.js +770 -237
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/editContext.d.ts +33 -19
- package/dist/editor/client/editContext.js.map +1 -1
- package/dist/editor/client/helpers.js +6 -0
- package/dist/editor/client/helpers.js.map +1 -1
- package/dist/editor/client/hooks/useEditorUrlSync.js +1 -2
- package/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -1
- package/dist/editor/client/hooks/useEditorWebSocket.d.ts +10 -0
- package/dist/editor/client/hooks/useEditorWebSocket.js +209 -14
- package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
- package/dist/editor/client/hooks/useQuota.d.ts +8 -0
- package/dist/editor/client/hooks/useQuota.js.map +1 -1
- package/dist/editor/client/hooks/useSocketMessageHandler.js +68 -7
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/itemsRepository.js +10 -6
- package/dist/editor/client/itemsRepository.js.map +1 -1
- package/dist/editor/client/navigation.js +35 -3
- package/dist/editor/client/navigation.js.map +1 -1
- package/dist/editor/client/operations.d.ts +6 -3
- package/dist/editor/client/operations.js +208 -30
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.js +4 -31
- package/dist/editor/client/pageModelBuilder.js.map +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js +2 -2
- package/dist/editor/client/ui/DevModeIndicator.js.map +1 -1
- package/dist/editor/client/ui/EditorChrome.d.ts +0 -6
- package/dist/editor/client/ui/EditorChrome.js +55 -72
- package/dist/editor/client/ui/EditorChrome.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.js +5 -3
- package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
- package/dist/editor/commands/commands.d.ts +11 -1
- package/dist/editor/commands/commands.js +12 -1
- package/dist/editor/commands/commands.js.map +1 -1
- package/dist/editor/commands/componentCommands.js +109 -55
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/customCommandConverter.d.ts +8 -1
- package/dist/editor/commands/customCommandConverter.js +35 -5
- package/dist/editor/commands/customCommandConverter.js.map +1 -1
- package/dist/editor/commands/handlers/agentHandler.js +2 -1
- package/dist/editor/commands/handlers/agentHandler.js.map +1 -1
- package/dist/editor/commands/itemCommands.d.ts +3 -0
- package/dist/editor/commands/itemCommands.js +93 -10
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/undo.d.ts +9 -15
- package/dist/editor/commands/undo.js +24 -0
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/context-menu/InsertMenu.js +83 -39
- package/dist/editor/context-menu/InsertMenu.js.map +1 -1
- package/dist/editor/field-types/MultiLineText.js +1 -1
- package/dist/editor/field-types/MultiLineText.js.map +1 -1
- package/dist/editor/field-types/RawEditor.js +1 -1
- package/dist/editor/field-types/RichTextEditor.js +13 -5
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +37 -3
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
- package/dist/editor/field-types/SingleLineText.js +1 -1
- package/dist/editor/field-types/TreeListEditor.js +3 -2
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ReactSlate.css +23 -5
- package/dist/editor/field-types/richtext/components/ReactSlate.d.ts +2 -0
- package/dist/editor/field-types/richtext/components/ReactSlate.js +28 -4
- package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ToolbarButton.js +4 -2
- package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/contextMenuFactory.d.ts +13 -0
- package/dist/editor/field-types/richtext/contextMenuFactory.js +181 -24
- package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
- 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/plugins.js +4 -0
- package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js +3 -2
- package/dist/editor/field-types/textContextMenuFactory.js.map +1 -1
- package/dist/editor/media-selector/AiImageSearchPrompt.js +4 -2
- package/dist/editor/media-selector/AiImageSearchPrompt.js.map +1 -1
- package/dist/editor/media-selector/MediaFolderBrowser.js +1 -1
- package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
- package/dist/editor/media-selector/MediaSelector.js +7 -1
- package/dist/editor/media-selector/MediaSelector.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +40 -35
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/menubar/ActiveUsers.js +1 -1
- package/dist/editor/menubar/ActiveUsers.js.map +1 -1
- package/dist/editor/menubar/GenericToolbar.js +4 -2
- package/dist/editor/menubar/GenericToolbar.js.map +1 -1
- package/dist/editor/menubar/ItemLanguageVersion.js +2 -2
- package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -1
- package/dist/editor/menubar/PageSelector.js +26 -147
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/Separator.js +1 -1
- package/dist/editor/menubar/VersionSelector.js +2 -4
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +39 -12
- package/dist/editor/menubar/WorkflowButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js +16 -38
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/EditControls.js +3 -3
- package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/HelpButton.js +1 -0
- package/dist/editor/menubar/toolbar-sections/HelpButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.d.ts +6 -10
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +597 -220
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js +13 -2
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +42 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenu.js +1 -1
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/InlineEditor.js +97 -48
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +38 -17
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +17 -11
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js +301 -301
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +1 -1
- package/dist/editor/page-viewer/DeviceToolbar.js +1 -1
- package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -1
- package/dist/editor/page-viewer/EditorForm.js +69 -11
- package/dist/editor/page-viewer/EditorForm.js.map +1 -1
- package/dist/editor/page-viewer/MiniMap.d.ts +2 -4
- package/dist/editor/page-viewer/MiniMap.js +91 -28
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/PageViewer.d.ts +3 -1
- package/dist/editor/page-viewer/PageViewer.js +92 -19
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +2 -1
- package/dist/editor/page-viewer/PageViewerFrame.js +348 -115
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +114 -49
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -1
- package/dist/editor/page-viewer/pageViewContext.d.ts +1 -0
- package/dist/editor/page-viewer/pageViewContext.js +51 -14
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/pageModel.d.ts +14 -1
- package/dist/editor/reviews/Comment.js +26 -12
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +7 -5
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.js +19 -4
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.js +89 -72
- package/dist/editor/reviews/Comments.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js +281 -177
- package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
- package/dist/editor/reviews/DecisionsMatrix.js +96 -25
- package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
- package/dist/editor/reviews/DiffView.js +7 -14
- package/dist/editor/reviews/DiffView.js.map +1 -1
- package/dist/editor/reviews/EditReviewSettingsDialog.js +6 -4
- package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
- package/dist/editor/reviews/MultiReviewManager.js +25 -3
- package/dist/editor/reviews/MultiReviewManager.js.map +1 -1
- package/dist/editor/reviews/PagesPanel.js +31 -15
- package/dist/editor/reviews/PagesPanel.js.map +1 -1
- package/dist/editor/reviews/PreviewInfo.js +1 -4
- package/dist/editor/reviews/PreviewInfo.js.map +1 -1
- package/dist/editor/reviews/ReviewCard.js +13 -7
- package/dist/editor/reviews/ReviewCard.js.map +1 -1
- package/dist/editor/reviews/ReviewDetail.js +3 -2
- package/dist/editor/reviews/ReviewDetail.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +7 -3
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.js +34 -3
- package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
- package/dist/editor/reviews/SuggestionDisplayPopover.js +31 -5
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js +25 -6
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/reviewCommands.js +4 -1
- package/dist/editor/reviews/reviewCommands.js.map +1 -1
- package/dist/editor/reviews/useMultiReview.js +2 -2
- package/dist/editor/reviews/useMultiReview.js.map +1 -1
- package/dist/editor/reviews/useReviews.d.ts +2 -2
- package/dist/editor/reviews/useReviews.js +12 -30
- package/dist/editor/reviews/useReviews.js.map +1 -1
- package/dist/editor/services/agentService.d.ts +229 -5
- package/dist/editor/services/agentService.js +292 -39
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/services/aiService.d.ts +57 -1
- package/dist/editor/services/aiService.js +79 -6
- package/dist/editor/services/aiService.js.map +1 -1
- package/dist/editor/services/contentService.d.ts +6 -3
- package/dist/editor/services/contentService.js +13 -12
- package/dist/editor/services/contentService.js.map +1 -1
- package/dist/editor/services/editService.d.ts +52 -1
- package/dist/editor/services/editService.js +94 -2
- package/dist/editor/services/editService.js.map +1 -1
- package/dist/editor/services/indexService.js +1 -1
- package/dist/editor/services/indexService.js.map +1 -1
- package/dist/editor/services/reviewsService.d.ts +3 -6
- package/dist/editor/services/reviewsService.js +2 -11
- package/dist/editor/services/reviewsService.js.map +1 -1
- package/dist/editor/services/serviceHelper.d.ts +2 -1
- package/dist/editor/services/serviceHelper.js +112 -20
- package/dist/editor/services/serviceHelper.js.map +1 -1
- package/dist/editor/services/systemService.d.ts +2 -1
- package/dist/editor/services/systemService.js +3 -0
- package/dist/editor/services/systemService.js.map +1 -1
- package/dist/editor/services-server/api.d.ts +1 -2
- package/dist/editor/services-server/api.js +11 -6
- package/dist/editor/services-server/api.js.map +1 -1
- package/dist/editor/settings/About.js +317 -3
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/QuotaInfo.js +210 -4
- package/dist/editor/settings/QuotaInfo.js.map +1 -1
- package/dist/editor/settings/SettingsView.js +25 -23
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/Status.js +7 -6
- package/dist/editor/settings/Status.js.map +1 -1
- package/dist/editor/settings/index/useIndexStatus.js +20 -22
- package/dist/editor/settings/index/useIndexStatus.js.map +1 -1
- package/dist/editor/settings/panels/AgentsPanel.d.ts +0 -4
- package/dist/editor/settings/panels/AgentsPanel.js +95 -121
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelsPanel.js +329 -108
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.d.ts +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js +86 -59
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/panels/SearchConfigPanel.js +4 -4
- package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/index.d.ts +3 -2
- package/dist/editor/settings/panels/index.js +3 -2
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/status/coreStatusChecks.js +124 -19
- package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
- package/dist/editor/settings/status/useStartupChecks.d.ts +3 -1
- package/dist/editor/settings/status/useStartupChecks.js +9 -5
- package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.d.ts +2 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.js +2 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +2 -1
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.d.ts +8 -1
- package/dist/editor/sidebar/ComponentTree.js +216 -69
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/EditHistory.js +22 -46
- package/dist/editor/sidebar/EditHistory.js.map +1 -1
- package/dist/editor/sidebar/Favorites.js +4 -8
- package/dist/editor/sidebar/Favorites.js.map +1 -1
- package/dist/editor/sidebar/MainContentTree.js +4 -3
- package/dist/editor/sidebar/MainContentTree.js.map +1 -1
- package/dist/editor/sidebar/OperationItem.js +21 -7
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/SidebarPanel.d.ts +3 -1
- package/dist/editor/sidebar/SidebarPanel.js +44 -12
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarStack.d.ts +2 -1
- package/dist/editor/sidebar/SidebarStack.js +4 -3
- package/dist/editor/sidebar/SidebarStack.js.map +1 -1
- package/dist/editor/sidebar/Validation.js +22 -12
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +53 -3
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.d.ts +0 -1
- package/dist/editor/sidebar/WorkspaceRail.js +56 -167
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.d.ts +3 -1
- package/dist/editor/tree-indicators/GutterColumns.js +26 -5
- package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
- package/dist/editor/tree-indicators/GutterContext.d.ts +4 -0
- package/dist/editor/tree-indicators/GutterContext.js +23 -0
- package/dist/editor/tree-indicators/GutterContext.js.map +1 -1
- package/dist/editor/tree-indicators/index.d.ts +0 -1
- package/dist/editor/tree-indicators/index.js +0 -1
- package/dist/editor/tree-indicators/index.js.map +1 -1
- package/dist/editor/tree-indicators/types.d.ts +12 -1
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js +1 -1
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Icons.js +1 -1
- package/dist/editor/ui/Icons.js.map +1 -1
- package/dist/editor/ui/ItemNameDialogNew.d.ts +2 -0
- package/dist/editor/ui/ItemNameDialogNew.js +33 -17
- package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
- package/dist/editor/ui/ItemSearch.js +7 -11
- package/dist/editor/ui/ItemSearch.js.map +1 -1
- package/dist/editor/ui/SimpleIconButton.js +1 -1
- package/dist/editor/ui/SimpleIconButton.js.map +1 -1
- package/dist/editor/ui/SimpleTabs.d.ts +1 -0
- package/dist/editor/ui/SimpleTabs.js +45 -25
- package/dist/editor/ui/SimpleTabs.js.map +1 -1
- package/dist/editor/ui/Splitter.d.ts +1 -0
- package/dist/editor/ui/Splitter.js +102 -86
- package/dist/editor/ui/Splitter.js.map +1 -1
- package/dist/editor/ui/TemplateSelectorDialog.js +4 -4
- package/dist/editor/ui/TemplateSelectorDialog.js.map +1 -1
- package/dist/editor/ui/TreeListSelector.d.ts +6 -1
- package/dist/editor/ui/TreeListSelector.js +2 -2
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/utils/keyboardNavigation.d.ts +6 -20
- package/dist/editor/utils/keyboardNavigation.js +48 -140
- package/dist/editor/utils/keyboardNavigation.js.map +1 -1
- package/dist/editor/utils.js +19 -9
- package/dist/editor/utils.js.map +1 -1
- package/dist/editor/views/CompareView.d.ts +3 -1
- package/dist/editor/views/CompareView.js +7 -5
- 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 +27 -34
- package/dist/editor/views/EditorSlot.js.map +1 -1
- package/dist/editor/views/ItemEditor.js +7 -3
- package/dist/editor/views/ItemEditor.js.map +1 -1
- package/dist/editor/views/MediaFolderEditView.js +1 -1
- package/dist/editor/views/MediaFolderEditView.js.map +1 -1
- package/dist/editor/views/ParheliaView.js +5 -6
- package/dist/editor/views/ParheliaView.js.map +1 -1
- package/dist/editor/views/SingleEditView.d.ts +2 -1
- package/dist/editor/views/SingleEditView.js +10 -8
- package/dist/editor/views/SingleEditView.js.map +1 -1
- package/dist/editor/views/editorSlotContext.js +35 -6
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/index.d.ts +16 -2
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/setup/services/setupWizardService.d.ts +40 -13
- package/dist/setup/services/setupWizardService.js +32 -17
- package/dist/setup/services/setupWizardService.js.map +1 -1
- package/dist/setup/wizard/steps/AddModelDialog.js +12 -3
- package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
- package/dist/setup/wizard/steps/ImportModelDialog.js +39 -22
- package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
- package/dist/splash-screen/ModernSplashScreen.js +112 -32
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +33 -50
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +2 -6
- package/dist/splash-screen/OpenPage.js.map +1 -1
- package/dist/splash-screen/ParheliaAssistantChat.js +12 -29
- package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
- package/dist/splash-screen/ParheliaLogo.js +87 -37
- package/dist/splash-screen/ParheliaLogo.js.map +1 -1
- package/dist/splash-screen/RecentPages.js +3 -3
- package/dist/splash-screen/RecentPages.js.map +1 -1
- package/dist/tour/Tour.d.ts +2 -1
- package/dist/tour/Tour.js +256 -75
- package/dist/tour/Tour.js.map +1 -1
- package/dist/tour/default-tour.js +222 -96
- package/dist/tour/default-tour.js.map +1 -1
- package/dist/types.d.ts +63 -29
- package/package.json +19 -15
- package/styles.css +14 -10
- package/dist/editor/ComponentInfo.d.ts +0 -4
- package/dist/editor/ComponentInfo.js +0 -41
- package/dist/editor/ComponentInfo.js.map +0 -1
- package/dist/editor/ai/HelpTerminal.d.ts +0 -5
- package/dist/editor/ai/HelpTerminal.js +0 -166
- package/dist/editor/ai/HelpTerminal.js.map +0 -1
- package/dist/editor/field-types/ReactQuill.d.ts +0 -125
- package/dist/editor/field-types/ReactQuill.js +0 -385
- package/dist/editor/field-types/ReactQuill.js.map +0 -1
- package/dist/editor/services-server/graphQL.d.ts +0 -29
- package/dist/editor/services-server/graphQL.js +0 -53
- package/dist/editor/services-server/graphQL.js.map +0 -1
- package/dist/editor/settings/AllAgentsPanel.d.ts +0 -5
- package/dist/editor/settings/AllAgentsPanel.js +0 -139
- package/dist/editor/settings/AllAgentsPanel.js.map +0 -1
- package/dist/editor/settings/LatestFeedback.d.ts +0 -1
- package/dist/editor/settings/LatestFeedback.js +0 -136
- package/dist/editor/settings/LatestFeedback.js.map +0 -1
- package/dist/editor/settings/Setup.d.ts +0 -1
- package/dist/editor/settings/Setup.js +0 -211
- package/dist/editor/settings/Setup.js.map +0 -1
- package/dist/editor/settings/panels/DatabasePanel.d.ts +0 -6
- package/dist/editor/settings/panels/DatabasePanel.js +0 -50
- package/dist/editor/settings/panels/DatabasePanel.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/EmbeddingsModelSection.d.ts +0 -2
- package/dist/editor/settings/setup-steps/AiSetupStep/EmbeddingsModelSection.js +0 -195
- package/dist/editor/settings/setup-steps/AiSetupStep/EmbeddingsModelSection.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/index.d.ts +0 -2
- package/dist/editor/settings/setup-steps/AiSetupStep/index.js +0 -21
- package/dist/editor/settings/setup-steps/AiSetupStep/index.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/provider/ProviderSection.d.ts +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/provider/ProviderSection.js +0 -233
- package/dist/editor/settings/setup-steps/AiSetupStep/provider/ProviderSection.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersList.d.ts +0 -15
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js +0 -14
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.d.ts +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js +0 -94
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/types.d.ts +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/types.js +0 -2
- package/dist/editor/settings/setup-steps/AiSetupStep/types.js.map +0 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/utils.d.ts +0 -5
- package/dist/editor/settings/setup-steps/AiSetupStep/utils.js +0 -44
- package/dist/editor/settings/setup-steps/AiSetupStep/utils.js.map +0 -1
- package/dist/editor/settings/setup-steps/IndexSetupStep.d.ts +0 -2
- package/dist/editor/settings/setup-steps/IndexSetupStep.js +0 -36
- package/dist/editor/settings/setup-steps/IndexSetupStep.js.map +0 -1
- package/dist/editor/settings/setup-steps/SettingsSetupStep.d.ts +0 -2
- package/dist/editor/settings/setup-steps/SettingsSetupStep.js +0 -111
- package/dist/editor/settings/setup-steps/SettingsSetupStep.js.map +0 -1
- package/dist/editor/settings/setup-steps/SetupOverview.d.ts +0 -14
- package/dist/editor/settings/setup-steps/SetupOverview.js +0 -38
- package/dist/editor/settings/setup-steps/SetupOverview.js.map +0 -1
- package/dist/editor/sidebar/Debug.d.ts +0 -1
- package/dist/editor/sidebar/Debug.js +0 -70
- package/dist/editor/sidebar/Debug.js.map +0 -1
- package/dist/editor/sidebar/GraphQL.d.ts +0 -2
- package/dist/editor/sidebar/GraphQL.js +0 -234
- package/dist/editor/sidebar/GraphQL.js.map +0 -1
- package/dist/editor/sidebar/LeftToolbar.d.ts +0 -1
- package/dist/editor/sidebar/LeftToolbar.js +0 -12
- package/dist/editor/sidebar/LeftToolbar.js.map +0 -1
- package/dist/editor/sidebar/NavigationSidebar.d.ts +0 -4
- package/dist/editor/sidebar/NavigationSidebar.js +0 -254
- package/dist/editor/sidebar/NavigationSidebar.js.map +0 -1
- package/dist/editor/tree-indicators/GutterSelector.d.ts +0 -5
- package/dist/editor/tree-indicators/GutterSelector.js +0 -91
- package/dist/editor/tree-indicators/GutterSelector.js.map +0 -1
package/dist/config/config.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { coreNotificationRoutes } from "./notificationRoutes";
|
|
2
3
|
import { RichTextEditor } from "../editor/field-types/RichTextEditor";
|
|
3
4
|
import { createRichTextContextMenu } from "../editor/field-types/richtext/contextMenuFactory";
|
|
4
5
|
import { createTextContextMenu } from "../editor/field-types/textContextMenuFactory";
|
|
@@ -24,20 +25,25 @@ import { Favorites } from "../editor/sidebar/Favorites";
|
|
|
24
25
|
import { Sessions } from "../editor/sidebar/Sessions";
|
|
25
26
|
import { Workbox } from "../editor/sidebar/Workbox";
|
|
26
27
|
import { DictionaryEditor } from "../editor/sidebar/DictionaryEditor";
|
|
27
|
-
import {
|
|
28
|
-
import { Debug } from "../editor/sidebar/Debug";
|
|
29
|
-
import { GraphQL } from "../editor/sidebar/GraphQL";
|
|
28
|
+
import { SecretAgentIcon } from "../editor/ui/Icons";
|
|
30
29
|
import { ModernSplashScreen } from "../splash-screen/ModernSplashScreen";
|
|
31
30
|
import { NewPageDialog } from "../splash-screen/DialogWrappers";
|
|
31
|
+
import { dispatchManualFieldActionVisibility, getFieldIdsForManualTarget, } from "../editor/manualActionEvents";
|
|
32
32
|
import { Titlebar } from "../editor/Titlebar";
|
|
33
33
|
import { NoWriteLanguageAccess } from "../editor/editor-warnings/NoLanguageWriteAccess";
|
|
34
34
|
import { NoWorkflowWriteAccess } from "../editor/editor-warnings/NoWorkflowWriteAccess";
|
|
35
35
|
import { FinalWorkflowStateReadOnly } from "../editor/editor-warnings/FinalWorkflowStateReadOnly";
|
|
36
36
|
import { AgentsWorkspaceView } from "../agents-view/AgentsWorkspaceView";
|
|
37
37
|
import { AgentsTitlebar } from "../agents-view/AgentsTitlebar";
|
|
38
|
+
import { TaskBoardWorkspace } from "../task-board/TaskBoardWorkspace";
|
|
39
|
+
import { TaskBoardTitlebar } from "../task-board/components/TaskBoardTitlebar";
|
|
40
|
+
import { TaskBoardProjectListSidebar } from "../task-board/components/TaskBoardProjectListSidebar";
|
|
41
|
+
import { TaskBoardMyTasksSidebar } from "../task-board/components/TaskBoardMyTasksSidebar";
|
|
38
42
|
import { createEditToolbar } from "../editor/menubar/ToolbarFactory";
|
|
43
|
+
import { LicenseFeatures, hasFeature } from "../licensing";
|
|
39
44
|
import { Validation } from "../editor/sidebar/Validation";
|
|
40
|
-
import { deleteItemCommand, insertItemCommand, moveItemsCommand, copyItemsCommand, renameItemCommand, duplicateItemCommand, exportItemsCommand, importItemsCommand, addStandardValuesCommand, } from "../editor/commands/itemCommands";
|
|
45
|
+
import { deleteItemCommand, insertItemCommand, moveItemsCommand, copyItemsCommand, renameItemCommand, duplicateItemCommand, exportItemsCommand, importItemsCommand, addStandardValuesCommand, publishItemCommand, publishRestrictionsCommand, reviewItemsCommand, } from "../editor/commands/itemCommands";
|
|
46
|
+
import { createTemplateItemCommand } from "../editor/commands/templateBuilderCommands";
|
|
41
47
|
import { loadInsertOptions } from "../editor/services/editService";
|
|
42
48
|
import { getDefaultTourSteps } from "../tour/default-tour";
|
|
43
49
|
import { EditView } from "../editor/views/EditView";
|
|
@@ -46,49 +52,96 @@ import { SettingsView } from "../editor/settings/SettingsView";
|
|
|
46
52
|
import { IndexOverview } from "../editor/settings/IndexOverview";
|
|
47
53
|
import { QuotaInfo } from "../editor/settings/QuotaInfo";
|
|
48
54
|
import { About } from "../editor/settings/About";
|
|
49
|
-
import {
|
|
50
|
-
import { AllAgentsPanel } from "../editor/settings/AllAgentsPanel";
|
|
51
|
-
import { AiSetupStep } from "../editor/settings/setup-steps/AiSetupStep";
|
|
52
|
-
import { IndexSetupStep } from "../editor/settings/setup-steps/IndexSetupStep";
|
|
53
|
-
import { ProvidersPanel, McpToolsPanel, ModelsPanel, AgentsPanel, SearchConfigPanel, DatabasePanel, StatusPanel, } from "../editor/settings/panels";
|
|
55
|
+
import { AgentsPanel, JavaScriptToolsPanel, ProjectTemplatesPanel, PersistentLogsPanel, ProvidersPanel, McpToolsPanel, ModelsPanel, SearchConfigPanel, StatusPanel, } from "../editor/settings/panels";
|
|
54
56
|
import { coreStatusChecks } from "../editor/settings/status/index";
|
|
55
57
|
import { MainContentTree } from "../editor/sidebar/MainContentTree";
|
|
56
58
|
import { AttachmentEditor } from "../editor/field-types/AttachmentEditor";
|
|
57
|
-
import { Comments } from "../editor/reviews/Comments";
|
|
58
59
|
import { Reviews } from "../editor/reviews/Reviews";
|
|
59
60
|
import { rejectReviewCommand } from "../editor/reviews/reviewCommands";
|
|
60
61
|
import { approveReviewCommand } from "../editor/reviews/reviewCommands";
|
|
61
62
|
import { agentCommandHandler } from "../editor/commands/handlers/agentHandler";
|
|
63
|
+
import { openDialogCommandHandler, openStatusPanelCommandHandler, openUrlCommandHandler, startTourCommandHandler, switchWorkspaceCommandHandler, } from "../editor/commands/handlers/uiActionHandlers";
|
|
62
64
|
import { getPreviewTourSteps } from "../tour/preview-tour";
|
|
63
65
|
import { ImageFieldEditor } from "../editor/field-types/ImageFieldEditor";
|
|
64
66
|
import { ReviewCommands } from "../editor/menubar/toolbar-sections/ReviewCommands";
|
|
65
|
-
import { Activity, BookA, History, FolderTreeIcon, InboxIcon, Layers, MessageCircleMore, Settings, Star, Users,
|
|
67
|
+
import { Activity, BookA, History, FolderTreeIcon, InboxIcon, Layers, MessageCircleMore, Settings, Star, Users, WandSparkles, ClipboardCheck, ShieldCheck, Info as InfoIcon, BarChart3, Search, Home, File, ExternalLink, Image as ImageIcon, Video, X, Expand, Download, Server, Sparkles, Bug, FileCode2, Wrench, ListTodo, GitBranch, SquarePen, } from "lucide-react";
|
|
66
68
|
import { Completions } from "../editor/sidebar/Completions";
|
|
67
69
|
import { GenericToolbar } from "../editor/menubar/GenericToolbar";
|
|
68
70
|
import { EditControls, UtilityControls, } from "../editor/menubar/toolbar-sections";
|
|
69
71
|
import { Agents } from "../editor/ai/Agents";
|
|
70
72
|
import { ComponentTypeSelectorInline, QuestionnaireInline, } from "../editor/ai/dialogs";
|
|
73
|
+
import { getFeedbackPanels } from "../editor/reviews/CommentsAndFeedback";
|
|
74
|
+
import { getRedoCommand, getUndoCommand } from "../editor/commands/undo";
|
|
75
|
+
import { favoriteHistoryBackCommand, favoriteHistoryForwardCommand, historyBackCommand, historyForwardCommand, toggleInsertModeCommand, } from "../editor/commands/keyboardCommands";
|
|
71
76
|
export const contentItemId = "0DE95AE4-41AB-4D01-9EB0-67441B7C2450";
|
|
72
77
|
export const templatesRootItemId = "3c1715fe-6a13-4fcf-845f-de308ba9741d";
|
|
73
78
|
export const rootItemId = "11111111-1111-1111-1111-111111111111";
|
|
79
|
+
const newTemplateInsertOptionTypeId = "78cf88ba-6957-4366-8368-12f3ced0184f";
|
|
80
|
+
const commandTemplatesByTypeId = {
|
|
81
|
+
// The generic masters processor emits the insert option master's item ID as
|
|
82
|
+
// typeId, so "New Template" must be matched by that insert option typeId.
|
|
83
|
+
[newTemplateInsertOptionTypeId]: {
|
|
84
|
+
commandId: "createTemplateItem",
|
|
85
|
+
optionName: "New Template",
|
|
86
|
+
parentPathPrefix: "/sitecore/templates",
|
|
87
|
+
},
|
|
88
|
+
};
|
|
74
89
|
const openTargetActionButton = {
|
|
75
90
|
label: "Open target item",
|
|
76
91
|
icon: (_jsx(ExternalLink, { strokeWidth: 1, size: 16 })),
|
|
92
|
+
isDisabled: ({ field }) => {
|
|
93
|
+
const fieldValue = field.value;
|
|
94
|
+
return !fieldValue?.targetItemId;
|
|
95
|
+
},
|
|
77
96
|
clientAction: ({ field, editContext, event }) => {
|
|
78
97
|
const fieldValue = field.value;
|
|
79
|
-
if (fieldValue?.targetItemId)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
98
|
+
if (!fieldValue?.targetItemId)
|
|
99
|
+
return;
|
|
100
|
+
const openInNewSlot = !!event?.altKey;
|
|
101
|
+
editContext.loadItem({
|
|
102
|
+
id: fieldValue.targetItemId,
|
|
103
|
+
language: field.descriptor.item.language,
|
|
104
|
+
version: 0,
|
|
105
|
+
}, { openInNewSlot });
|
|
87
106
|
},
|
|
88
107
|
isGenerator: false,
|
|
89
108
|
id: "open-target-in-content-editor",
|
|
90
109
|
description: "Opens the target item in the content/page editor",
|
|
91
110
|
};
|
|
111
|
+
const toggleFieldActionsVisibility = (mode) => ({ runId, elements }) => {
|
|
112
|
+
const fieldIds = getFieldIdsForManualTarget(elements);
|
|
113
|
+
if (fieldIds.length === 0)
|
|
114
|
+
return;
|
|
115
|
+
dispatchManualFieldActionVisibility({
|
|
116
|
+
mode,
|
|
117
|
+
runId,
|
|
118
|
+
fieldIds,
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
const openMoreSidebarsPanel = async ({ selectorDef, resolveElements, }) => {
|
|
122
|
+
const targetSelector = selectorDef.availabilitySelector || selectorDef.selector;
|
|
123
|
+
if (targetSelector && resolveElements(targetSelector).length > 0) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
const trigger = document.querySelector('[data-testid="more-sidebars-button"]');
|
|
127
|
+
if (!trigger)
|
|
128
|
+
return;
|
|
129
|
+
trigger.click();
|
|
130
|
+
for (let attempt = 0; attempt < 10; attempt += 1) {
|
|
131
|
+
await new Promise((resolve) => window.setTimeout(resolve, 50));
|
|
132
|
+
if (targetSelector && resolveElements(targetSelector).length > 0) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (resolveElements('@more-sidebars-panel').length > 0) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
const coreManualActions = {
|
|
141
|
+
"show-field-actions": toggleFieldActionsVisibility("show"),
|
|
142
|
+
"hide-field-actions": toggleFieldActionsVisibility("hide"),
|
|
143
|
+
"open-more-sidebars": openMoreSidebarsPanel,
|
|
144
|
+
};
|
|
92
145
|
// Picture variant buttons - these will be exported for external packages
|
|
93
146
|
const selectImageButton = {
|
|
94
147
|
label: "Select",
|
|
@@ -308,6 +361,30 @@ const downloadAttachmentButton = {
|
|
|
308
361
|
// Workspaces are fundamentally different UI experiences
|
|
309
362
|
// ============================================================================
|
|
310
363
|
const editView = _jsx(EditView, {});
|
|
364
|
+
const editorKeyboardCommandIds = [
|
|
365
|
+
"renameItem",
|
|
366
|
+
"deleteItem",
|
|
367
|
+
"toggleInsertMode",
|
|
368
|
+
"undo",
|
|
369
|
+
"redo",
|
|
370
|
+
"historyBack",
|
|
371
|
+
"historyForward",
|
|
372
|
+
"favoriteHistoryBack",
|
|
373
|
+
"favoriteHistoryForward",
|
|
374
|
+
];
|
|
375
|
+
const undoCommand = getUndoCommand();
|
|
376
|
+
const redoCommand = getRedoCommand();
|
|
377
|
+
const coreKeyboardCommands = [
|
|
378
|
+
renameItemCommand,
|
|
379
|
+
deleteItemCommand,
|
|
380
|
+
toggleInsertModeCommand,
|
|
381
|
+
undoCommand,
|
|
382
|
+
redoCommand,
|
|
383
|
+
historyBackCommand,
|
|
384
|
+
historyForwardCommand,
|
|
385
|
+
favoriteHistoryBackCommand,
|
|
386
|
+
favoriteHistoryForwardCommand,
|
|
387
|
+
];
|
|
311
388
|
/**
|
|
312
389
|
* Core workspace definitions.
|
|
313
390
|
* These are the main application modes: Home, Editor, Settings, Agents
|
|
@@ -329,6 +406,7 @@ export const coreWorkspaces = [
|
|
|
329
406
|
toolbarFactory: createEditToolbar,
|
|
330
407
|
titlebar: _jsx(Titlebar, {}),
|
|
331
408
|
supportsSidebars: true,
|
|
409
|
+
keyboardCommandIds: editorKeyboardCommandIds,
|
|
332
410
|
defaultSidebars: ["content-tree"],
|
|
333
411
|
sortOrder: 10,
|
|
334
412
|
},
|
|
@@ -341,6 +419,15 @@ export const coreWorkspaces = [
|
|
|
341
419
|
supportsSidebars: false,
|
|
342
420
|
sortOrder: 20,
|
|
343
421
|
},
|
|
422
|
+
{
|
|
423
|
+
id: "taskboard",
|
|
424
|
+
title: "Tasks",
|
|
425
|
+
icon: _jsx(ListTodo, { strokeWidth: 1 }),
|
|
426
|
+
component: _jsx(TaskBoardWorkspace, {}),
|
|
427
|
+
titlebar: _jsx(TaskBoardTitlebar, {}),
|
|
428
|
+
supportsSidebars: true,
|
|
429
|
+
sortOrder: 30,
|
|
430
|
+
},
|
|
344
431
|
{
|
|
345
432
|
id: "settings",
|
|
346
433
|
title: "Settings",
|
|
@@ -358,7 +445,7 @@ export const coreWorkspaces = [
|
|
|
358
445
|
/**
|
|
359
446
|
* Core sidebar definitions for the Editor workspace.
|
|
360
447
|
*/
|
|
361
|
-
export const coreSidebars = [
|
|
448
|
+
export const coreSidebars = (isMobile) => [
|
|
362
449
|
// Left sidebars
|
|
363
450
|
{
|
|
364
451
|
id: "content-tree",
|
|
@@ -427,21 +514,7 @@ export const coreSidebars = [
|
|
|
427
514
|
icon: _jsx(MessageCircleMore, { strokeWidth: 1 }),
|
|
428
515
|
position: "left",
|
|
429
516
|
sortOrder: 30,
|
|
430
|
-
panels:
|
|
431
|
-
{
|
|
432
|
-
name: "comments",
|
|
433
|
-
title: "Comments & Suggestions",
|
|
434
|
-
content: _jsx(Comments, {}),
|
|
435
|
-
initialSize: 65,
|
|
436
|
-
noOverflow: true,
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
name: "latest-feedback",
|
|
440
|
-
title: "Latest Feedback",
|
|
441
|
-
content: _jsx(LatestFeedback, {}),
|
|
442
|
-
initialSize: 35,
|
|
443
|
-
},
|
|
444
|
-
],
|
|
517
|
+
panels: getFeedbackPanels(isMobile),
|
|
445
518
|
},
|
|
446
519
|
{
|
|
447
520
|
id: "reviews",
|
|
@@ -522,25 +595,34 @@ export const coreSidebars = [
|
|
|
522
595
|
],
|
|
523
596
|
},
|
|
524
597
|
{
|
|
525
|
-
id: "
|
|
526
|
-
title: "
|
|
527
|
-
icon: _jsx(
|
|
598
|
+
id: "taskboard-project-list",
|
|
599
|
+
title: "Project List",
|
|
600
|
+
icon: _jsx(Layers, { strokeWidth: 1 }),
|
|
528
601
|
position: "left",
|
|
529
|
-
sortOrder:
|
|
602
|
+
sortOrder: 110,
|
|
603
|
+
defaultWidth: 320,
|
|
530
604
|
panels: [
|
|
531
605
|
{
|
|
532
|
-
name: "
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
initialSize: 50,
|
|
606
|
+
name: "taskboard-project-list",
|
|
607
|
+
title: "Project List",
|
|
608
|
+
content: _jsx(TaskBoardProjectListSidebar, {}),
|
|
609
|
+
initialSize: 100,
|
|
537
610
|
},
|
|
611
|
+
],
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
id: "taskboard-my-tasks",
|
|
615
|
+
title: "My Tasks",
|
|
616
|
+
icon: _jsx(ListTodo, { strokeWidth: 1 }),
|
|
617
|
+
position: "left",
|
|
618
|
+
sortOrder: 111,
|
|
619
|
+
defaultWidth: 320,
|
|
620
|
+
panels: [
|
|
538
621
|
{
|
|
539
|
-
name: "
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
initialSize: 50,
|
|
622
|
+
name: "taskboard-my-tasks",
|
|
623
|
+
title: "My Tasks",
|
|
624
|
+
content: _jsx(TaskBoardMyTasksSidebar, {}),
|
|
625
|
+
initialSize: 100,
|
|
544
626
|
},
|
|
545
627
|
],
|
|
546
628
|
},
|
|
@@ -598,7 +680,7 @@ const guidListPaste = {
|
|
|
598
680
|
hideIfInvalidClipboard: true,
|
|
599
681
|
target: "rawValue",
|
|
600
682
|
};
|
|
601
|
-
export const getConfiguration = () => {
|
|
683
|
+
export const getConfiguration = (isMobile = false) => {
|
|
602
684
|
const defaultPictureVariantButtons = [
|
|
603
685
|
selectImageButton,
|
|
604
686
|
selectVideoButton,
|
|
@@ -612,17 +694,6 @@ export const getConfiguration = () => {
|
|
|
612
694
|
// but should NOT set forceFullscreen - users should still be able to exit.
|
|
613
695
|
return {
|
|
614
696
|
extensions: {},
|
|
615
|
-
setup: {
|
|
616
|
-
steps: [
|
|
617
|
-
DatabasePanel,
|
|
618
|
-
ProvidersPanel,
|
|
619
|
-
ModelsPanel,
|
|
620
|
-
AgentsPanel,
|
|
621
|
-
SearchConfigPanel,
|
|
622
|
-
AiSetupStep,
|
|
623
|
-
IndexSetupStep,
|
|
624
|
-
],
|
|
625
|
-
},
|
|
626
697
|
statusChecks: coreStatusChecks,
|
|
627
698
|
forceFullscreen: false,
|
|
628
699
|
tours: {
|
|
@@ -646,8 +717,10 @@ export const getConfiguration = () => {
|
|
|
646
717
|
renameItem: renameItemCommand,
|
|
647
718
|
deleteItem: deleteItemCommand,
|
|
648
719
|
insertItem: insertItemCommand,
|
|
720
|
+
createTemplateItem: createTemplateItemCommand,
|
|
649
721
|
moveItems: moveItemsCommand,
|
|
650
722
|
copyItems: copyItemsCommand,
|
|
723
|
+
keyboardCommands: coreKeyboardCommands,
|
|
651
724
|
allItemCommands: [
|
|
652
725
|
renameItemCommand,
|
|
653
726
|
deleteItemCommand,
|
|
@@ -657,11 +730,24 @@ export const getConfiguration = () => {
|
|
|
657
730
|
exportItemsCommand,
|
|
658
731
|
importItemsCommand,
|
|
659
732
|
addStandardValuesCommand,
|
|
733
|
+
publishItemCommand,
|
|
734
|
+
publishRestrictionsCommand,
|
|
735
|
+
reviewItemsCommand,
|
|
660
736
|
],
|
|
661
737
|
reviewcommands: [approveReviewCommand, rejectReviewCommand],
|
|
662
738
|
},
|
|
739
|
+
commandTemplates: {
|
|
740
|
+
byTypeId: commandTemplatesByTypeId,
|
|
741
|
+
},
|
|
663
742
|
customCommands: {
|
|
664
|
-
handlers: [
|
|
743
|
+
handlers: [
|
|
744
|
+
agentCommandHandler,
|
|
745
|
+
openDialogCommandHandler,
|
|
746
|
+
switchWorkspaceCommandHandler,
|
|
747
|
+
openUrlCommandHandler,
|
|
748
|
+
startTourCommandHandler,
|
|
749
|
+
openStatusPanelCommandHandler,
|
|
750
|
+
],
|
|
665
751
|
},
|
|
666
752
|
events: {},
|
|
667
753
|
services: {
|
|
@@ -718,6 +804,9 @@ export const getConfiguration = () => {
|
|
|
718
804
|
droplist: {
|
|
719
805
|
editor: DropListEditor,
|
|
720
806
|
},
|
|
807
|
+
"enhanced droplist": {
|
|
808
|
+
editor: DropListEditor,
|
|
809
|
+
},
|
|
721
810
|
treelistex: {
|
|
722
811
|
editor: TreeListEditor,
|
|
723
812
|
paste: guidListPaste,
|
|
@@ -742,6 +831,10 @@ export const getConfiguration = () => {
|
|
|
742
831
|
editor: TreeListEditor,
|
|
743
832
|
paste: guidListPaste,
|
|
744
833
|
},
|
|
834
|
+
"multiroot treelist": {
|
|
835
|
+
editor: TreeListEditor,
|
|
836
|
+
paste: guidListPaste,
|
|
837
|
+
},
|
|
745
838
|
checkbox: {
|
|
746
839
|
editor: CheckboxEditor,
|
|
747
840
|
},
|
|
@@ -808,17 +901,31 @@ export const getConfiguration = () => {
|
|
|
808
901
|
{
|
|
809
902
|
id: "ai-providers",
|
|
810
903
|
title: "Providers",
|
|
811
|
-
subtitle: "Configure AI providers (
|
|
904
|
+
subtitle: "Configure AI providers (Anthropic, OpenAI, OpenRouter, Google Vertex AI)",
|
|
812
905
|
icon: _jsx(Server, { strokeWidth: 1 }),
|
|
813
906
|
content: _jsx(ProvidersPanel, {}),
|
|
814
907
|
},
|
|
815
908
|
{
|
|
816
909
|
id: "ai-models",
|
|
817
910
|
title: "Models",
|
|
818
|
-
subtitle: "Install and configure AI models
|
|
911
|
+
subtitle: "Install and configure AI models",
|
|
819
912
|
icon: _jsx(Sparkles, { strokeWidth: 1 }),
|
|
820
913
|
content: _jsx(ModelsPanel, {}),
|
|
821
914
|
},
|
|
915
|
+
{
|
|
916
|
+
id: "ai-agents",
|
|
917
|
+
title: "Agent Profiles",
|
|
918
|
+
subtitle: "Browse installed agent profiles and edit their core settings",
|
|
919
|
+
icon: _jsx(SecretAgentIcon, { size: 16, strokeWidth: 1 }),
|
|
920
|
+
content: _jsx(AgentsPanel, {}),
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
id: "javascript-tools",
|
|
924
|
+
title: "JavaScript Tools",
|
|
925
|
+
subtitle: "Create and maintain custom JavaScript-backed tools and their dedicated assistant",
|
|
926
|
+
icon: _jsx(FileCode2, { strokeWidth: 1 }),
|
|
927
|
+
content: _jsx(JavaScriptToolsPanel, {}),
|
|
928
|
+
},
|
|
822
929
|
{
|
|
823
930
|
id: "mcp-tools",
|
|
824
931
|
title: "MCP Tools",
|
|
@@ -834,11 +941,18 @@ export const getConfiguration = () => {
|
|
|
834
941
|
content: _jsx(QuotaInfo, {}),
|
|
835
942
|
},
|
|
836
943
|
{
|
|
837
|
-
id: "
|
|
838
|
-
title: "
|
|
839
|
-
subtitle: "
|
|
840
|
-
icon: _jsx(
|
|
841
|
-
content: _jsx(
|
|
944
|
+
id: "project-templates",
|
|
945
|
+
title: "Project Templates",
|
|
946
|
+
subtitle: "Create and maintain reusable project templates and task flows",
|
|
947
|
+
icon: _jsx(GitBranch, { strokeWidth: 1 }),
|
|
948
|
+
content: _jsx(ProjectTemplatesPanel, {}),
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
id: "agent-taskboard-logs",
|
|
952
|
+
title: "Agent and Taskboard Logs",
|
|
953
|
+
subtitle: "Filter and purge stored agent and taskboard execution logs",
|
|
954
|
+
icon: _jsx(Bug, { strokeWidth: 1 }),
|
|
955
|
+
content: _jsx(PersistentLogsPanel, {}),
|
|
842
956
|
},
|
|
843
957
|
],
|
|
844
958
|
},
|
|
@@ -893,9 +1007,10 @@ export const getConfiguration = () => {
|
|
|
893
1007
|
},
|
|
894
1008
|
// New workspace/sidebar architecture
|
|
895
1009
|
workspaces: coreWorkspaces,
|
|
896
|
-
sidebars: coreSidebars,
|
|
1010
|
+
sidebars: coreSidebars(isMobile),
|
|
897
1011
|
defaultWorkspace: "home",
|
|
898
1012
|
defaultOpenSidebars: ["content-tree"],
|
|
1013
|
+
manualActions: coreManualActions,
|
|
899
1014
|
// Agent dialog function components
|
|
900
1015
|
agentDialogs: [
|
|
901
1016
|
{
|
|
@@ -907,6 +1022,7 @@ export const getConfiguration = () => {
|
|
|
907
1022
|
component: QuestionnaireInline,
|
|
908
1023
|
},
|
|
909
1024
|
],
|
|
1025
|
+
notificationRoutes: coreNotificationRoutes,
|
|
910
1026
|
itemActionsMenu: {
|
|
911
1027
|
itemsFactory: (editContext) => {
|
|
912
1028
|
const groups = [];
|
|
@@ -996,6 +1112,36 @@ export const getConfiguration = () => {
|
|
|
996
1112
|
},
|
|
997
1113
|
},
|
|
998
1114
|
contentTree: {
|
|
1115
|
+
indicatorActions: {
|
|
1116
|
+
validation: {
|
|
1117
|
+
onClick: async (editContext, context) => {
|
|
1118
|
+
const loaded = await editContext.loadItem({
|
|
1119
|
+
id: context.itemId,
|
|
1120
|
+
language: context.itemLanguage,
|
|
1121
|
+
version: 0,
|
|
1122
|
+
});
|
|
1123
|
+
if (!loaded)
|
|
1124
|
+
return;
|
|
1125
|
+
editContext.openSidebar("validation", {
|
|
1126
|
+
preserveOpenSidebars: true,
|
|
1127
|
+
});
|
|
1128
|
+
},
|
|
1129
|
+
},
|
|
1130
|
+
feedback: {
|
|
1131
|
+
onClick: async (editContext, context) => {
|
|
1132
|
+
const loaded = await editContext.loadItem({
|
|
1133
|
+
id: context.itemId,
|
|
1134
|
+
language: context.itemLanguage,
|
|
1135
|
+
version: 0,
|
|
1136
|
+
});
|
|
1137
|
+
if (!loaded)
|
|
1138
|
+
return;
|
|
1139
|
+
editContext.openSidebar("feedback", {
|
|
1140
|
+
preserveOpenSidebars: true,
|
|
1141
|
+
});
|
|
1142
|
+
},
|
|
1143
|
+
},
|
|
1144
|
+
},
|
|
999
1145
|
contextMenu: {
|
|
1000
1146
|
factory: async (props) => {
|
|
1001
1147
|
const editContext = props.editContext;
|
|
@@ -1142,6 +1288,40 @@ export function configureForUser(configuration, user) {
|
|
|
1142
1288
|
}
|
|
1143
1289
|
return configuration;
|
|
1144
1290
|
}
|
|
1291
|
+
export function configureForLicense(configuration, licenseStatus) {
|
|
1292
|
+
if (licenseStatus && hasFeature(licenseStatus.features, LicenseFeatures.AI)) {
|
|
1293
|
+
return { ...configuration, hasAiLicense: true };
|
|
1294
|
+
}
|
|
1295
|
+
const filteredSettings = {
|
|
1296
|
+
groups: configuration.settings.groups.filter((group) => group.title !== "AI" && group.title !== "Search"),
|
|
1297
|
+
};
|
|
1298
|
+
const filteredWorkspaces = (configuration.editor.workspaces ?? []).filter((workspace) => workspace.id !== "agents" && workspace.id !== "taskboard");
|
|
1299
|
+
const filteredSidebars = (configuration.editor.sidebars ?? []).filter((sidebar) => sidebar.id !== "agents-panel" &&
|
|
1300
|
+
sidebar.id !== "completions" &&
|
|
1301
|
+
sidebar.id !== "taskboard-project-list" &&
|
|
1302
|
+
sidebar.id !== "taskboard-my-tasks");
|
|
1303
|
+
const filteredDefaultOpenSidebars = (configuration.editor.defaultOpenSidebars ?? []).filter((sidebarId) => sidebarId !== "agents-panel" &&
|
|
1304
|
+
sidebarId !== "completions" &&
|
|
1305
|
+
sidebarId !== "taskboard-project-list" &&
|
|
1306
|
+
sidebarId !== "taskboard-my-tasks");
|
|
1307
|
+
const filteredCustomCommandHandlers = configuration.customCommands?.handlers?.filter((handler) => handler.type !== agentCommandHandler.type) ?? [];
|
|
1308
|
+
return {
|
|
1309
|
+
...configuration,
|
|
1310
|
+
hasAiLicense: false,
|
|
1311
|
+
settings: filteredSettings,
|
|
1312
|
+
customCommands: {
|
|
1313
|
+
...configuration.customCommands,
|
|
1314
|
+
handlers: filteredCustomCommandHandlers,
|
|
1315
|
+
},
|
|
1316
|
+
editor: {
|
|
1317
|
+
...configuration.editor,
|
|
1318
|
+
workspaces: filteredWorkspaces,
|
|
1319
|
+
sidebars: filteredSidebars,
|
|
1320
|
+
defaultOpenSidebars: filteredDefaultOpenSidebars,
|
|
1321
|
+
agentDialogs: [],
|
|
1322
|
+
},
|
|
1323
|
+
};
|
|
1324
|
+
}
|
|
1145
1325
|
export function configureTour(configuration, tourConfig) {
|
|
1146
1326
|
if (configuration.tours?.default) {
|
|
1147
1327
|
return {
|