@parhelia/core 0.1.12554 → 0.1.12556
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 +4 -6
- package/dist/agents-view/AgentCard.js +24 -143
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentsInbox.d.ts +1 -1
- package/dist/agents-view/AgentsInbox.js +92 -7
- package/dist/agents-view/AgentsInbox.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.js +2 -3
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.d.ts +7 -6
- package/dist/agents-view/AgentsView.js +98 -187
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.d.ts +6 -2
- package/dist/agents-view/AgentsWorkspaceView.js +113 -266
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/agents-view/ProfileAgentsGroup.d.ts +1 -2
- package/dist/agents-view/ProfileAgentsGroup.js +3 -4
- 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 +4 -2
- 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 +10 -6
- 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 +1 -4
- 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 +4 -12
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.d.ts +1 -2
- 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 +126 -21
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/input.d.ts +1 -1
- package/dist/components/ui/input.js +3 -5
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/paste-button.d.ts +1 -2
- 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 +9 -1
- 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 +11 -4
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/config/config.d.ts +2 -4
- package/dist/config/config.js +70 -250
- package/dist/config/config.js.map +1 -1
- package/dist/config/types/workspace.d.ts +0 -6
- package/dist/config/types.d.ts +12 -63
- package/dist/config/types.js.map +1 -1
- package/dist/editor/ComponentInfo.d.ts +4 -0
- package/dist/editor/ComponentInfo.js +41 -0
- package/dist/editor/ComponentInfo.js.map +1 -0
- package/dist/editor/ConfirmationDialog.js +4 -20
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +1 -2
- package/dist/editor/ContentTree.js +32 -93
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/Editor.js +22 -87
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/FieldHistory.js +36 -84
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldListField.js +9 -21
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/FieldListFieldWithFallbacks.js +2 -23
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
- package/dist/editor/GlobalMenuBar.js +2 -29
- package/dist/editor/GlobalMenuBar.js.map +1 -1
- package/dist/editor/ImageEditor.js +2 -5
- package/dist/editor/ImageEditor.js.map +1 -1
- package/dist/editor/ItemInfo.js +1 -36
- package/dist/editor/ItemInfo.js.map +1 -1
- package/dist/editor/LinkEditorDialog.js +0 -3
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.d.ts +2 -0
- package/dist/editor/MainLayout.js +8 -65
- package/dist/editor/MainLayout.js.map +1 -1
- package/dist/editor/MigrationsView.js +5 -29
- package/dist/editor/MigrationsView.js.map +1 -1
- package/dist/editor/MobileLayout.js +12 -37
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/PictureCropper.js +45 -54
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.js +15 -17
- 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 +12 -52
- package/dist/editor/SetupWizard.js.map +1 -1
- package/dist/editor/Titlebar.js +2 -7
- package/dist/editor/Titlebar.js.map +1 -1
- package/dist/editor/ai/AgentCostDisplay.d.ts +0 -1
- package/dist/editor/ai/AgentCostDisplay.js +1 -1
- package/dist/editor/ai/AgentCostDisplay.js.map +1 -1
- package/dist/editor/ai/AgentDocumentList.js +14 -32
- package/dist/editor/ai/AgentDocumentList.js.map +1 -1
- package/dist/editor/ai/AgentGreeting.js +2 -3
- package/dist/editor/ai/AgentGreeting.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.js +1 -2
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.d.ts +5 -0
- package/dist/editor/ai/AgentStatusBadge.js +65 -67
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.d.ts +2 -14
- package/dist/editor/ai/AgentTerminal.js +483 -2377
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/ai/AgentTerminalStatusBar.d.ts +3 -8
- package/dist/editor/ai/AgentTerminalStatusBar.js +56 -460
- package/dist/editor/ai/AgentTerminalStatusBar.js.map +1 -1
- package/dist/editor/ai/Agents.js +113 -150
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/AiResponseMessage.d.ts +1 -10
- package/dist/editor/ai/AiResponseMessage.js +23 -238
- package/dist/editor/ai/AiResponseMessage.js.map +1 -1
- package/dist/editor/ai/ContextInfoBar.d.ts +3 -2
- package/dist/editor/ai/ContextInfoBar.js +7 -64
- package/dist/editor/ai/ContextInfoBar.js.map +1 -1
- package/dist/editor/ai/GuidanceOverlay.js +11 -17
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/HelpTerminal.d.ts +5 -0
- package/dist/editor/ai/HelpTerminal.js +166 -0
- package/dist/editor/ai/HelpTerminal.js.map +1 -0
- package/dist/editor/ai/InlineAiDialog.d.ts +1 -1
- package/dist/editor/ai/InlineAiDialog.js +192 -514
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTrigger.js +12 -115
- package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
- package/dist/editor/ai/MediaImage.js +8 -40
- package/dist/editor/ai/MediaImage.js.map +1 -1
- package/dist/editor/ai/SpawnedAgentsPanel.js +12 -10
- package/dist/editor/ai/SpawnedAgentsPanel.js.map +1 -1
- package/dist/editor/ai/ToolCallDisplay.d.ts +2 -22
- package/dist/editor/ai/ToolCallDisplay.js +147 -518
- package/dist/editor/ai/ToolCallDisplay.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.d.ts +8 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +42 -379
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.d.ts +1 -5
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +60 -628
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/agentDialogTypes.d.ts +0 -115
- package/dist/editor/ai/dialogs/agentDialogTypes.js +0 -2
- package/dist/editor/ai/dialogs/agentDialogTypes.js.map +1 -1
- package/dist/editor/ai/types.d.ts +1 -3
- package/dist/editor/ai/useAgentStatus.d.ts +1 -2
- package/dist/editor/ai/useAgentStatus.js +99 -86
- package/dist/editor/ai/useAgentStatus.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.js +5 -45
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/client/AboutDialog.js +2 -4
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.d.ts +1 -4
- package/dist/editor/client/EditorShell.js +230 -730
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/editContext.d.ts +19 -33
- package/dist/editor/client/editContext.js.map +1 -1
- package/dist/editor/client/helpers.js +0 -6
- package/dist/editor/client/helpers.js.map +1 -1
- package/dist/editor/client/hooks/useEditorUrlSync.js +2 -1
- package/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -1
- package/dist/editor/client/hooks/useEditorWebSocket.d.ts +0 -10
- package/dist/editor/client/hooks/useEditorWebSocket.js +14 -209
- package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
- package/dist/editor/client/hooks/useQuota.d.ts +0 -8
- package/dist/editor/client/hooks/useQuota.js.map +1 -1
- package/dist/editor/client/hooks/useSocketMessageHandler.js +7 -68
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/itemsRepository.js +6 -10
- package/dist/editor/client/itemsRepository.js.map +1 -1
- package/dist/editor/client/operations.d.ts +3 -6
- package/dist/editor/client/operations.js +30 -208
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.js +31 -4
- 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 +6 -0
- package/dist/editor/client/ui/EditorChrome.js +72 -55
- package/dist/editor/client/ui/EditorChrome.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.js +3 -5
- package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
- package/dist/editor/commands/commands.d.ts +1 -11
- package/dist/editor/commands/commands.js +1 -12
- package/dist/editor/commands/commands.js.map +1 -1
- package/dist/editor/commands/componentCommands.js +55 -109
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/customCommandConverter.d.ts +1 -8
- package/dist/editor/commands/customCommandConverter.js +5 -35
- package/dist/editor/commands/customCommandConverter.js.map +1 -1
- package/dist/editor/commands/handlers/agentHandler.js +1 -2
- package/dist/editor/commands/handlers/agentHandler.js.map +1 -1
- package/dist/editor/commands/itemCommands.d.ts +0 -3
- package/dist/editor/commands/itemCommands.js +10 -93
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/undo.d.ts +15 -9
- package/dist/editor/commands/undo.js +0 -24
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/context-menu/InsertMenu.js +39 -83
- 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/ReactQuill.d.ts +125 -0
- package/dist/editor/field-types/ReactQuill.js +385 -0
- package/dist/editor/field-types/ReactQuill.js.map +1 -0
- package/dist/editor/field-types/RichTextEditor.js +5 -13
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +3 -37
- 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 +2 -3
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ReactSlate.css +5 -23
- package/dist/editor/field-types/richtext/components/ReactSlate.d.ts +0 -2
- package/dist/editor/field-types/richtext/components/ReactSlate.js +4 -28
- package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ToolbarButton.js +2 -4
- package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/contextMenuFactory.d.ts +0 -13
- package/dist/editor/field-types/richtext/contextMenuFactory.js +24 -181
- package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/types.d.ts +0 -2
- package/dist/editor/field-types/richtext/types.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/plugins.js +0 -4
- package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js +2 -3
- package/dist/editor/field-types/textContextMenuFactory.js.map +1 -1
- package/dist/editor/media-selector/AiImageSearchPrompt.js +2 -4
- 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 +1 -7
- package/dist/editor/media-selector/MediaSelector.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +35 -40
- 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 +2 -4
- 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 +147 -26
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/Separator.js +1 -1
- package/dist/editor/menubar/VersionSelector.js +4 -2
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +12 -39
- package/dist/editor/menubar/WorkflowButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js +38 -16
- 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 +0 -1
- package/dist/editor/menubar/toolbar-sections/HelpButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.d.ts +10 -6
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +220 -597
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js +2 -13
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +1 -42
- 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 +48 -97
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +17 -38
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +11 -17
- 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 +11 -69
- package/dist/editor/page-viewer/EditorForm.js.map +1 -1
- package/dist/editor/page-viewer/MiniMap.d.ts +4 -2
- package/dist/editor/page-viewer/MiniMap.js +28 -91
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/PageViewer.d.ts +1 -3
- package/dist/editor/page-viewer/PageViewer.js +19 -92
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +1 -2
- package/dist/editor/page-viewer/PageViewerFrame.js +115 -348
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +49 -114
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -1
- package/dist/editor/page-viewer/pageViewContext.d.ts +0 -1
- package/dist/editor/page-viewer/pageViewContext.js +14 -51
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/pageModel.d.ts +1 -14
- package/dist/editor/reviews/Comment.js +12 -26
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +5 -7
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.js +4 -19
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.js +72 -89
- package/dist/editor/reviews/Comments.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js +177 -281
- package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
- package/dist/editor/reviews/DecisionsMatrix.js +25 -96
- package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
- package/dist/editor/reviews/DiffView.js +14 -7
- package/dist/editor/reviews/DiffView.js.map +1 -1
- package/dist/editor/reviews/EditReviewSettingsDialog.js +4 -6
- package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
- package/dist/editor/reviews/MultiReviewManager.js +3 -25
- package/dist/editor/reviews/MultiReviewManager.js.map +1 -1
- package/dist/editor/reviews/PagesPanel.js +15 -31
- package/dist/editor/reviews/PagesPanel.js.map +1 -1
- package/dist/editor/reviews/PreviewInfo.js +4 -1
- package/dist/editor/reviews/PreviewInfo.js.map +1 -1
- package/dist/editor/reviews/ReviewCard.js +7 -13
- package/dist/editor/reviews/ReviewCard.js.map +1 -1
- package/dist/editor/reviews/ReviewDetail.js +2 -3
- package/dist/editor/reviews/ReviewDetail.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +3 -7
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.js +3 -34
- package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
- package/dist/editor/reviews/SuggestionDisplayPopover.js +5 -31
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js +6 -25
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/reviewCommands.js +1 -4
- 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 +30 -12
- package/dist/editor/reviews/useReviews.js.map +1 -1
- package/dist/editor/services/agentService.d.ts +5 -229
- package/dist/editor/services/agentService.js +39 -292
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/services/aiService.d.ts +1 -57
- package/dist/editor/services/aiService.js +6 -79
- package/dist/editor/services/aiService.js.map +1 -1
- package/dist/editor/services/contentService.d.ts +3 -6
- package/dist/editor/services/contentService.js +12 -13
- package/dist/editor/services/contentService.js.map +1 -1
- package/dist/editor/services/editService.d.ts +1 -52
- package/dist/editor/services/editService.js +2 -94
- 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 +6 -3
- package/dist/editor/services/reviewsService.js +11 -2
- package/dist/editor/services/reviewsService.js.map +1 -1
- package/dist/editor/services/serviceHelper.d.ts +1 -2
- package/dist/editor/services/serviceHelper.js +20 -112
- package/dist/editor/services/serviceHelper.js.map +1 -1
- package/dist/editor/services/systemService.d.ts +1 -2
- package/dist/editor/services/systemService.js +0 -3
- package/dist/editor/services/systemService.js.map +1 -1
- package/dist/editor/services-server/api.d.ts +2 -1
- package/dist/editor/services-server/api.js +6 -11
- package/dist/editor/services-server/api.js.map +1 -1
- package/dist/editor/services-server/graphQL.d.ts +29 -0
- package/dist/editor/services-server/graphQL.js +53 -0
- package/dist/editor/services-server/graphQL.js.map +1 -0
- package/dist/editor/settings/About.js +3 -317
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/AllAgentsPanel.d.ts +5 -0
- package/dist/editor/settings/AllAgentsPanel.js +139 -0
- package/dist/editor/settings/AllAgentsPanel.js.map +1 -0
- package/dist/editor/settings/LatestFeedback.d.ts +1 -0
- package/dist/editor/settings/LatestFeedback.js +136 -0
- package/dist/editor/settings/LatestFeedback.js.map +1 -0
- package/dist/editor/settings/QuotaInfo.js +4 -210
- package/dist/editor/settings/QuotaInfo.js.map +1 -1
- package/dist/editor/settings/SettingsView.js +23 -25
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/Setup.d.ts +1 -0
- package/dist/editor/settings/Setup.js +211 -0
- package/dist/editor/settings/Setup.js.map +1 -0
- package/dist/editor/settings/Status.js +6 -7
- package/dist/editor/settings/Status.js.map +1 -1
- package/dist/editor/settings/index/useIndexStatus.js +22 -20
- package/dist/editor/settings/index/useIndexStatus.js.map +1 -1
- package/dist/editor/settings/panels/AgentsPanel.d.ts +4 -0
- package/dist/editor/settings/panels/AgentsPanel.js +121 -95
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/DatabasePanel.d.ts +6 -0
- package/dist/editor/settings/panels/DatabasePanel.js +50 -0
- package/dist/editor/settings/panels/DatabasePanel.js.map +1 -0
- package/dist/editor/settings/panels/ModelsPanel.js +108 -329
- 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 +59 -86
- 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 +2 -3
- package/dist/editor/settings/panels/index.js +2 -3
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/setup-steps/AiSetupStep/EmbeddingsModelSection.d.ts +2 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/EmbeddingsModelSection.js +195 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/EmbeddingsModelSection.js.map +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/index.d.ts +2 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/index.js +21 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/index.js.map +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/provider/ProviderSection.d.ts +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/provider/ProviderSection.js +233 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/provider/ProviderSection.js.map +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersList.d.ts +15 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js +14 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js.map +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.d.ts +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js +94 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js.map +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/types.d.ts +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/types.js +2 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/types.js.map +1 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/utils.d.ts +5 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/utils.js +44 -0
- package/dist/editor/settings/setup-steps/AiSetupStep/utils.js.map +1 -0
- package/dist/editor/settings/setup-steps/IndexSetupStep.d.ts +2 -0
- package/dist/editor/settings/setup-steps/IndexSetupStep.js +36 -0
- package/dist/editor/settings/setup-steps/IndexSetupStep.js.map +1 -0
- package/dist/editor/settings/setup-steps/SettingsSetupStep.d.ts +2 -0
- package/dist/editor/settings/setup-steps/SettingsSetupStep.js +111 -0
- package/dist/editor/settings/setup-steps/SettingsSetupStep.js.map +1 -0
- package/dist/editor/settings/setup-steps/SetupOverview.d.ts +14 -0
- package/dist/editor/settings/setup-steps/SetupOverview.js +38 -0
- package/dist/editor/settings/setup-steps/SetupOverview.js.map +1 -0
- package/dist/editor/settings/status/coreStatusChecks.js +19 -124
- package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
- package/dist/editor/settings/status/useStartupChecks.d.ts +1 -3
- package/dist/editor/settings/status/useStartupChecks.js +5 -9
- package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.d.ts +1 -2
- package/dist/editor/setup-wizard/steps/CompleteStep.js +1 -2
- package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +1 -2
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.d.ts +1 -8
- package/dist/editor/sidebar/ComponentTree.js +69 -216
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/Debug.d.ts +1 -0
- package/dist/editor/sidebar/Debug.js +70 -0
- package/dist/editor/sidebar/Debug.js.map +1 -0
- package/dist/editor/sidebar/EditHistory.js +46 -22
- package/dist/editor/sidebar/EditHistory.js.map +1 -1
- package/dist/editor/sidebar/Favorites.js +8 -4
- package/dist/editor/sidebar/Favorites.js.map +1 -1
- package/dist/editor/sidebar/GraphQL.d.ts +2 -0
- package/dist/editor/sidebar/GraphQL.js +234 -0
- package/dist/editor/sidebar/GraphQL.js.map +1 -0
- package/dist/editor/sidebar/LeftToolbar.d.ts +1 -0
- package/dist/editor/sidebar/LeftToolbar.js +12 -0
- package/dist/editor/sidebar/LeftToolbar.js.map +1 -0
- package/dist/editor/sidebar/MainContentTree.js +3 -4
- package/dist/editor/sidebar/MainContentTree.js.map +1 -1
- package/dist/editor/sidebar/NavigationSidebar.d.ts +4 -0
- package/dist/editor/sidebar/NavigationSidebar.js +254 -0
- package/dist/editor/sidebar/NavigationSidebar.js.map +1 -0
- package/dist/editor/sidebar/OperationItem.js +7 -21
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/SidebarPanel.d.ts +1 -3
- package/dist/editor/sidebar/SidebarPanel.js +12 -44
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarStack.d.ts +1 -2
- package/dist/editor/sidebar/SidebarStack.js +3 -4
- package/dist/editor/sidebar/SidebarStack.js.map +1 -1
- package/dist/editor/sidebar/Validation.js +12 -22
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +3 -53
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.d.ts +1 -0
- package/dist/editor/sidebar/WorkspaceRail.js +167 -56
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.d.ts +1 -3
- package/dist/editor/tree-indicators/GutterColumns.js +5 -26
- package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
- package/dist/editor/tree-indicators/GutterContext.d.ts +0 -4
- package/dist/editor/tree-indicators/GutterContext.js +0 -23
- package/dist/editor/tree-indicators/GutterContext.js.map +1 -1
- package/dist/editor/tree-indicators/GutterSelector.d.ts +5 -0
- package/dist/editor/tree-indicators/GutterSelector.js +91 -0
- package/dist/editor/tree-indicators/GutterSelector.js.map +1 -0
- package/dist/editor/tree-indicators/index.d.ts +1 -0
- package/dist/editor/tree-indicators/index.js +1 -0
- package/dist/editor/tree-indicators/index.js.map +1 -1
- package/dist/editor/tree-indicators/types.d.ts +1 -12
- 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 +0 -2
- package/dist/editor/ui/ItemNameDialogNew.js +17 -33
- package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
- package/dist/editor/ui/ItemSearch.js +11 -7
- 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 +0 -1
- package/dist/editor/ui/SimpleTabs.js +25 -45
- package/dist/editor/ui/SimpleTabs.js.map +1 -1
- package/dist/editor/ui/Splitter.d.ts +0 -1
- package/dist/editor/ui/Splitter.js +86 -102
- 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 +1 -6
- package/dist/editor/ui/TreeListSelector.js +2 -2
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/utils/keyboardNavigation.d.ts +20 -6
- package/dist/editor/utils/keyboardNavigation.js +140 -48
- package/dist/editor/utils/keyboardNavigation.js.map +1 -1
- package/dist/editor/utils.js +9 -19
- package/dist/editor/utils.js.map +1 -1
- package/dist/editor/views/CompareView.d.ts +1 -3
- package/dist/editor/views/CompareView.js +5 -7
- 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 +34 -27
- package/dist/editor/views/EditorSlot.js.map +1 -1
- package/dist/editor/views/ItemEditor.js +3 -7
- 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 +6 -5
- package/dist/editor/views/ParheliaView.js.map +1 -1
- package/dist/editor/views/SingleEditView.d.ts +1 -2
- package/dist/editor/views/SingleEditView.js +8 -10
- package/dist/editor/views/SingleEditView.js.map +1 -1
- package/dist/editor/views/editorSlotContext.js +6 -35
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/index.d.ts +2 -16
- package/dist/index.js +0 -11
- 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 +13 -40
- package/dist/setup/services/setupWizardService.js +17 -32
- package/dist/setup/services/setupWizardService.js.map +1 -1
- package/dist/setup/wizard/steps/AddModelDialog.js +3 -12
- package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
- package/dist/setup/wizard/steps/ImportModelDialog.js +22 -39
- package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
- package/dist/splash-screen/ModernSplashScreen.js +32 -112
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +50 -33
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +6 -2
- package/dist/splash-screen/OpenPage.js.map +1 -1
- package/dist/splash-screen/ParheliaAssistantChat.js +29 -12
- package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
- package/dist/splash-screen/ParheliaLogo.js +37 -87
- 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 +1 -2
- package/dist/tour/Tour.js +75 -256
- package/dist/tour/Tour.js.map +1 -1
- package/dist/tour/default-tour.js +96 -222
- package/dist/tour/default-tour.js.map +1 -1
- package/dist/types.d.ts +29 -63
- package/package.json +15 -19
- package/styles.css +10 -14
package/dist/config/config.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { coreNotificationRoutes } from "./notificationRoutes";
|
|
3
2
|
import { RichTextEditor } from "../editor/field-types/RichTextEditor";
|
|
4
3
|
import { createRichTextContextMenu } from "../editor/field-types/richtext/contextMenuFactory";
|
|
5
4
|
import { createTextContextMenu } from "../editor/field-types/textContextMenuFactory";
|
|
@@ -25,25 +24,20 @@ import { Favorites } from "../editor/sidebar/Favorites";
|
|
|
25
24
|
import { Sessions } from "../editor/sidebar/Sessions";
|
|
26
25
|
import { Workbox } from "../editor/sidebar/Workbox";
|
|
27
26
|
import { DictionaryEditor } from "../editor/sidebar/DictionaryEditor";
|
|
28
|
-
import { SecretAgentIcon } from "../editor/ui/Icons";
|
|
27
|
+
import { GraphQLIcon, JsonIcon, SecretAgentIcon, } from "../editor/ui/Icons";
|
|
28
|
+
import { Debug } from "../editor/sidebar/Debug";
|
|
29
|
+
import { GraphQL } from "../editor/sidebar/GraphQL";
|
|
29
30
|
import { ModernSplashScreen } from "../splash-screen/ModernSplashScreen";
|
|
30
31
|
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";
|
|
42
38
|
import { createEditToolbar } from "../editor/menubar/ToolbarFactory";
|
|
43
|
-
import { LicenseFeatures, hasFeature } from "../licensing";
|
|
44
39
|
import { Validation } from "../editor/sidebar/Validation";
|
|
45
|
-
import { deleteItemCommand, insertItemCommand, moveItemsCommand, copyItemsCommand, renameItemCommand, duplicateItemCommand, exportItemsCommand, importItemsCommand, addStandardValuesCommand,
|
|
46
|
-
import { createTemplateItemCommand } from "../editor/commands/templateBuilderCommands";
|
|
40
|
+
import { deleteItemCommand, insertItemCommand, moveItemsCommand, copyItemsCommand, renameItemCommand, duplicateItemCommand, exportItemsCommand, importItemsCommand, addStandardValuesCommand, } from "../editor/commands/itemCommands";
|
|
47
41
|
import { loadInsertOptions } from "../editor/services/editService";
|
|
48
42
|
import { getDefaultTourSteps } from "../tour/default-tour";
|
|
49
43
|
import { EditView } from "../editor/views/EditView";
|
|
@@ -52,96 +46,49 @@ import { SettingsView } from "../editor/settings/SettingsView";
|
|
|
52
46
|
import { IndexOverview } from "../editor/settings/IndexOverview";
|
|
53
47
|
import { QuotaInfo } from "../editor/settings/QuotaInfo";
|
|
54
48
|
import { About } from "../editor/settings/About";
|
|
55
|
-
import {
|
|
49
|
+
import { LatestFeedback } from "../editor/settings/LatestFeedback";
|
|
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";
|
|
56
54
|
import { coreStatusChecks } from "../editor/settings/status/index";
|
|
57
55
|
import { MainContentTree } from "../editor/sidebar/MainContentTree";
|
|
58
56
|
import { AttachmentEditor } from "../editor/field-types/AttachmentEditor";
|
|
57
|
+
import { Comments } from "../editor/reviews/Comments";
|
|
59
58
|
import { Reviews } from "../editor/reviews/Reviews";
|
|
60
59
|
import { rejectReviewCommand } from "../editor/reviews/reviewCommands";
|
|
61
60
|
import { approveReviewCommand } from "../editor/reviews/reviewCommands";
|
|
62
61
|
import { agentCommandHandler } from "../editor/commands/handlers/agentHandler";
|
|
63
|
-
import { openDialogCommandHandler, openStatusPanelCommandHandler, openUrlCommandHandler, startTourCommandHandler, switchWorkspaceCommandHandler, } from "../editor/commands/handlers/uiActionHandlers";
|
|
64
62
|
import { getPreviewTourSteps } from "../tour/preview-tour";
|
|
65
63
|
import { ImageFieldEditor } from "../editor/field-types/ImageFieldEditor";
|
|
66
64
|
import { ReviewCommands } from "../editor/menubar/toolbar-sections/ReviewCommands";
|
|
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,
|
|
65
|
+
import { Activity, BookA, History, FolderTreeIcon, InboxIcon, Layers, MessageCircleMore, Settings, Star, Users, Bug, WandSparkles, ClipboardCheck, ShieldCheck, Info as InfoIcon, BarChart3, Search, Home, File, ExternalLink, Image as ImageIcon, Video, X, Expand, Download, Server, Sparkles, Wrench, SquarePen, } from "lucide-react";
|
|
68
66
|
import { Completions } from "../editor/sidebar/Completions";
|
|
69
67
|
import { GenericToolbar } from "../editor/menubar/GenericToolbar";
|
|
70
68
|
import { EditControls, UtilityControls, } from "../editor/menubar/toolbar-sections";
|
|
71
69
|
import { Agents } from "../editor/ai/Agents";
|
|
72
70
|
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";
|
|
76
71
|
export const contentItemId = "0DE95AE4-41AB-4D01-9EB0-67441B7C2450";
|
|
77
72
|
export const templatesRootItemId = "3c1715fe-6a13-4fcf-845f-de308ba9741d";
|
|
78
73
|
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
|
-
};
|
|
89
74
|
const openTargetActionButton = {
|
|
90
75
|
label: "Open target item",
|
|
91
76
|
icon: (_jsx(ExternalLink, { strokeWidth: 1, size: 16 })),
|
|
92
|
-
isDisabled: ({ field }) => {
|
|
93
|
-
const fieldValue = field.value;
|
|
94
|
-
return !fieldValue?.targetItemId;
|
|
95
|
-
},
|
|
96
77
|
clientAction: ({ field, editContext, event }) => {
|
|
97
78
|
const fieldValue = field.value;
|
|
98
|
-
if (
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
79
|
+
if (fieldValue?.targetItemId) {
|
|
80
|
+
const openInNewSlot = !!event?.altKey;
|
|
81
|
+
editContext.loadItem({
|
|
82
|
+
id: fieldValue.targetItemId,
|
|
83
|
+
language: field.descriptor.item.language,
|
|
84
|
+
version: 0,
|
|
85
|
+
}, { openInNewSlot });
|
|
86
|
+
}
|
|
106
87
|
},
|
|
107
88
|
isGenerator: false,
|
|
108
89
|
id: "open-target-in-content-editor",
|
|
109
90
|
description: "Opens the target item in the content/page editor",
|
|
110
91
|
};
|
|
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
|
-
};
|
|
145
92
|
// Picture variant buttons - these will be exported for external packages
|
|
146
93
|
const selectImageButton = {
|
|
147
94
|
label: "Select",
|
|
@@ -361,30 +308,6 @@ const downloadAttachmentButton = {
|
|
|
361
308
|
// Workspaces are fundamentally different UI experiences
|
|
362
309
|
// ============================================================================
|
|
363
310
|
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
|
-
];
|
|
388
311
|
/**
|
|
389
312
|
* Core workspace definitions.
|
|
390
313
|
* These are the main application modes: Home, Editor, Settings, Agents
|
|
@@ -406,7 +329,6 @@ export const coreWorkspaces = [
|
|
|
406
329
|
toolbarFactory: createEditToolbar,
|
|
407
330
|
titlebar: _jsx(Titlebar, {}),
|
|
408
331
|
supportsSidebars: true,
|
|
409
|
-
keyboardCommandIds: editorKeyboardCommandIds,
|
|
410
332
|
defaultSidebars: ["content-tree"],
|
|
411
333
|
sortOrder: 10,
|
|
412
334
|
},
|
|
@@ -419,15 +341,6 @@ export const coreWorkspaces = [
|
|
|
419
341
|
supportsSidebars: false,
|
|
420
342
|
sortOrder: 20,
|
|
421
343
|
},
|
|
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
|
-
},
|
|
431
344
|
{
|
|
432
345
|
id: "settings",
|
|
433
346
|
title: "Settings",
|
|
@@ -445,7 +358,7 @@ export const coreWorkspaces = [
|
|
|
445
358
|
/**
|
|
446
359
|
* Core sidebar definitions for the Editor workspace.
|
|
447
360
|
*/
|
|
448
|
-
export const coreSidebars =
|
|
361
|
+
export const coreSidebars = [
|
|
449
362
|
// Left sidebars
|
|
450
363
|
{
|
|
451
364
|
id: "content-tree",
|
|
@@ -514,7 +427,21 @@ export const coreSidebars = (isMobile) => [
|
|
|
514
427
|
icon: _jsx(MessageCircleMore, { strokeWidth: 1 }),
|
|
515
428
|
position: "left",
|
|
516
429
|
sortOrder: 30,
|
|
517
|
-
panels:
|
|
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
|
+
],
|
|
518
445
|
},
|
|
519
446
|
{
|
|
520
447
|
id: "reviews",
|
|
@@ -595,34 +522,25 @@ export const coreSidebars = (isMobile) => [
|
|
|
595
522
|
],
|
|
596
523
|
},
|
|
597
524
|
{
|
|
598
|
-
id: "
|
|
599
|
-
title: "
|
|
600
|
-
icon: _jsx(
|
|
525
|
+
id: "debug",
|
|
526
|
+
title: "Debug",
|
|
527
|
+
icon: _jsx(Bug, { strokeWidth: 1 }),
|
|
601
528
|
position: "left",
|
|
602
|
-
sortOrder:
|
|
603
|
-
defaultWidth: 320,
|
|
529
|
+
sortOrder: 100,
|
|
604
530
|
panels: [
|
|
605
531
|
{
|
|
606
|
-
name: "
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
532
|
+
name: "debug",
|
|
533
|
+
icon: _jsx(JsonIcon, {}),
|
|
534
|
+
title: "Layout JSON",
|
|
535
|
+
content: _jsx(Debug, {}),
|
|
536
|
+
initialSize: 50,
|
|
610
537
|
},
|
|
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: [
|
|
621
538
|
{
|
|
622
|
-
name: "
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
539
|
+
name: "graphql",
|
|
540
|
+
icon: _jsx(GraphQLIcon, {}),
|
|
541
|
+
title: "GraphQL",
|
|
542
|
+
content: _jsx(GraphQL, {}),
|
|
543
|
+
initialSize: 50,
|
|
626
544
|
},
|
|
627
545
|
],
|
|
628
546
|
},
|
|
@@ -680,7 +598,7 @@ const guidListPaste = {
|
|
|
680
598
|
hideIfInvalidClipboard: true,
|
|
681
599
|
target: "rawValue",
|
|
682
600
|
};
|
|
683
|
-
export const getConfiguration = (
|
|
601
|
+
export const getConfiguration = () => {
|
|
684
602
|
const defaultPictureVariantButtons = [
|
|
685
603
|
selectImageButton,
|
|
686
604
|
selectVideoButton,
|
|
@@ -694,6 +612,17 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
694
612
|
// but should NOT set forceFullscreen - users should still be able to exit.
|
|
695
613
|
return {
|
|
696
614
|
extensions: {},
|
|
615
|
+
setup: {
|
|
616
|
+
steps: [
|
|
617
|
+
DatabasePanel,
|
|
618
|
+
ProvidersPanel,
|
|
619
|
+
ModelsPanel,
|
|
620
|
+
AgentsPanel,
|
|
621
|
+
SearchConfigPanel,
|
|
622
|
+
AiSetupStep,
|
|
623
|
+
IndexSetupStep,
|
|
624
|
+
],
|
|
625
|
+
},
|
|
697
626
|
statusChecks: coreStatusChecks,
|
|
698
627
|
forceFullscreen: false,
|
|
699
628
|
tours: {
|
|
@@ -717,10 +646,8 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
717
646
|
renameItem: renameItemCommand,
|
|
718
647
|
deleteItem: deleteItemCommand,
|
|
719
648
|
insertItem: insertItemCommand,
|
|
720
|
-
createTemplateItem: createTemplateItemCommand,
|
|
721
649
|
moveItems: moveItemsCommand,
|
|
722
650
|
copyItems: copyItemsCommand,
|
|
723
|
-
keyboardCommands: coreKeyboardCommands,
|
|
724
651
|
allItemCommands: [
|
|
725
652
|
renameItemCommand,
|
|
726
653
|
deleteItemCommand,
|
|
@@ -730,24 +657,11 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
730
657
|
exportItemsCommand,
|
|
731
658
|
importItemsCommand,
|
|
732
659
|
addStandardValuesCommand,
|
|
733
|
-
publishItemCommand,
|
|
734
|
-
publishRestrictionsCommand,
|
|
735
|
-
reviewItemsCommand,
|
|
736
660
|
],
|
|
737
661
|
reviewcommands: [approveReviewCommand, rejectReviewCommand],
|
|
738
662
|
},
|
|
739
|
-
commandTemplates: {
|
|
740
|
-
byTypeId: commandTemplatesByTypeId,
|
|
741
|
-
},
|
|
742
663
|
customCommands: {
|
|
743
|
-
handlers: [
|
|
744
|
-
agentCommandHandler,
|
|
745
|
-
openDialogCommandHandler,
|
|
746
|
-
switchWorkspaceCommandHandler,
|
|
747
|
-
openUrlCommandHandler,
|
|
748
|
-
startTourCommandHandler,
|
|
749
|
-
openStatusPanelCommandHandler,
|
|
750
|
-
],
|
|
664
|
+
handlers: [agentCommandHandler],
|
|
751
665
|
},
|
|
752
666
|
events: {},
|
|
753
667
|
services: {
|
|
@@ -804,9 +718,6 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
804
718
|
droplist: {
|
|
805
719
|
editor: DropListEditor,
|
|
806
720
|
},
|
|
807
|
-
"enhanced droplist": {
|
|
808
|
-
editor: DropListEditor,
|
|
809
|
-
},
|
|
810
721
|
treelistex: {
|
|
811
722
|
editor: TreeListEditor,
|
|
812
723
|
paste: guidListPaste,
|
|
@@ -831,10 +742,6 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
831
742
|
editor: TreeListEditor,
|
|
832
743
|
paste: guidListPaste,
|
|
833
744
|
},
|
|
834
|
-
"multiroot treelist": {
|
|
835
|
-
editor: TreeListEditor,
|
|
836
|
-
paste: guidListPaste,
|
|
837
|
-
},
|
|
838
745
|
checkbox: {
|
|
839
746
|
editor: CheckboxEditor,
|
|
840
747
|
},
|
|
@@ -901,31 +808,17 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
901
808
|
{
|
|
902
809
|
id: "ai-providers",
|
|
903
810
|
title: "Providers",
|
|
904
|
-
subtitle: "Configure AI providers (
|
|
811
|
+
subtitle: "Configure AI providers (OpenAI, Azure OpenAI, OpenRouter)",
|
|
905
812
|
icon: _jsx(Server, { strokeWidth: 1 }),
|
|
906
813
|
content: _jsx(ProvidersPanel, {}),
|
|
907
814
|
},
|
|
908
815
|
{
|
|
909
816
|
id: "ai-models",
|
|
910
817
|
title: "Models",
|
|
911
|
-
subtitle: "Install and configure AI models",
|
|
818
|
+
subtitle: "Install and configure AI models for chat and other tasks",
|
|
912
819
|
icon: _jsx(Sparkles, { strokeWidth: 1 }),
|
|
913
820
|
content: _jsx(ModelsPanel, {}),
|
|
914
821
|
},
|
|
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
|
-
},
|
|
929
822
|
{
|
|
930
823
|
id: "mcp-tools",
|
|
931
824
|
title: "MCP Tools",
|
|
@@ -941,18 +834,11 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
941
834
|
content: _jsx(QuotaInfo, {}),
|
|
942
835
|
},
|
|
943
836
|
{
|
|
944
|
-
id: "
|
|
945
|
-
title: "
|
|
946
|
-
subtitle: "
|
|
947
|
-
icon: _jsx(
|
|
948
|
-
content: _jsx(
|
|
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, {}),
|
|
837
|
+
id: "all-agents",
|
|
838
|
+
title: "All Agents",
|
|
839
|
+
subtitle: "View and manage all AI agents",
|
|
840
|
+
icon: _jsx(Users, { strokeWidth: 1 }),
|
|
841
|
+
content: _jsx(AllAgentsPanel, {}),
|
|
956
842
|
},
|
|
957
843
|
],
|
|
958
844
|
},
|
|
@@ -1007,10 +893,9 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
1007
893
|
},
|
|
1008
894
|
// New workspace/sidebar architecture
|
|
1009
895
|
workspaces: coreWorkspaces,
|
|
1010
|
-
sidebars: coreSidebars
|
|
896
|
+
sidebars: coreSidebars,
|
|
1011
897
|
defaultWorkspace: "home",
|
|
1012
898
|
defaultOpenSidebars: ["content-tree"],
|
|
1013
|
-
manualActions: coreManualActions,
|
|
1014
899
|
// Agent dialog function components
|
|
1015
900
|
agentDialogs: [
|
|
1016
901
|
{
|
|
@@ -1022,7 +907,6 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
1022
907
|
component: QuestionnaireInline,
|
|
1023
908
|
},
|
|
1024
909
|
],
|
|
1025
|
-
notificationRoutes: coreNotificationRoutes,
|
|
1026
910
|
itemActionsMenu: {
|
|
1027
911
|
itemsFactory: (editContext) => {
|
|
1028
912
|
const groups = [];
|
|
@@ -1112,36 +996,6 @@ export const getConfiguration = (isMobile = false) => {
|
|
|
1112
996
|
},
|
|
1113
997
|
},
|
|
1114
998
|
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
|
-
},
|
|
1145
999
|
contextMenu: {
|
|
1146
1000
|
factory: async (props) => {
|
|
1147
1001
|
const editContext = props.editContext;
|
|
@@ -1288,40 +1142,6 @@ export function configureForUser(configuration, user) {
|
|
|
1288
1142
|
}
|
|
1289
1143
|
return configuration;
|
|
1290
1144
|
}
|
|
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
|
-
}
|
|
1325
1145
|
export function configureTour(configuration, tourConfig) {
|
|
1326
1146
|
if (configuration.tours?.default) {
|
|
1327
1147
|
return {
|