@parhelia/core 0.1.12911 → 0.1.12917
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/AgentGalleryCard.js +1 -1
- package/dist/agents-view/AgentGalleryCard.js.map +1 -1
- package/dist/agents-view/AgentGalleryView.d.ts +1 -1
- package/dist/agents-view/AgentGalleryView.js +3 -2
- package/dist/agents-view/AgentGalleryView.js.map +1 -1
- package/dist/agents-view/AgentsView.js +1 -1
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.js +15 -2
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/components/MarkdownViewerPopover.d.ts +73 -0
- package/dist/components/MarkdownViewerPopover.js +109 -0
- package/dist/components/MarkdownViewerPopover.js.map +1 -0
- package/dist/components/PageHeader.d.ts +11 -2
- package/dist/components/PageHeader.js +8 -3
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/ui/UserPicker.d.ts +5 -1
- package/dist/components/ui/UserPicker.js +17 -3
- package/dist/components/ui/UserPicker.js.map +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/command.js +1 -1
- package/dist/components/ui/delete-button.d.ts +1 -1
- package/dist/components/ui/delete-button.js +2 -2
- package/dist/components/ui/delete-button.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +3 -3
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/select.d.ts +2 -0
- package/dist/components/ui/select.js +8 -6
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/textarea.js +1 -3
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/config/config.js +22 -2
- package/dist/config/config.js.map +1 -1
- package/dist/config/types/workspace.d.ts +6 -2
- package/dist/editor/ConfirmationDialog.d.ts +3 -0
- package/dist/editor/ConfirmationDialog.js +5 -1
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +9 -2
- package/dist/editor/ContentTree.js +16 -4
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/ContextMenu.js +6 -2
- package/dist/editor/ContextMenu.js.map +1 -1
- package/dist/editor/EditorWarning.js +1 -1
- package/dist/editor/EditorWarning.js.map +1 -1
- package/dist/editor/FieldHistory.js +8 -5
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldListField.js +4 -3
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/GlobalMenuBar.js +5 -2
- package/dist/editor/GlobalMenuBar.js.map +1 -1
- package/dist/editor/MobileLayout.js +4 -1
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/ScrollingContentTree.d.ts +2 -1
- package/dist/editor/ScrollingContentTree.js +2 -2
- package/dist/editor/ScrollingContentTree.js.map +1 -1
- package/dist/editor/Titlebar.d.ts +2 -1
- package/dist/editor/Titlebar.js +4 -9
- package/dist/editor/Titlebar.js.map +1 -1
- package/dist/editor/WorkspaceTitleSwitcher.d.ts +2 -1
- package/dist/editor/WorkspaceTitleSwitcher.js +4 -3
- package/dist/editor/WorkspaceTitleSwitcher.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.js +3 -3
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/Agents.js +15 -4
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/ContentInspectorPopover.js +2 -1
- package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
- package/dist/editor/ai/InlineAiTrigger.js +5 -1
- package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
- package/dist/editor/ai/agentActivitySummary.js +17 -9
- package/dist/editor/ai/agentActivitySummary.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.d.ts +18 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +60 -13
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentDocumentList.js +6 -3
- package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.d.ts +2 -1
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +9 -6
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentModeSelector.js +8 -7
- package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +4 -1
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.d.ts +2 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js +7 -2
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.d.ts +2 -1
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +2 -2
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +1 -1
- package/dist/editor/ai/terminal/components/ContextInfoBar.js +35 -8
- package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +1 -1
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js +3 -3
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +1 -1
- package/dist/editor/ai/terminal/components/UserMessage.js +4 -4
- package/dist/editor/ai/terminal/components/UserMessage.js.map +1 -1
- package/dist/editor/ai/terminal/projectTemplateContext.d.ts +11 -0
- package/dist/editor/ai/terminal/projectTemplateContext.js +64 -0
- package/dist/editor/ai/terminal/projectTemplateContext.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js +1 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentLoader.d.ts +1 -0
- package/dist/editor/ai/terminal/useAgentLoader.js +14 -2
- package/dist/editor/ai/terminal/useAgentLoader.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSettingsData.js +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +19 -1
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalController.js +4 -1
- package/dist/editor/ai/terminal/useAgentTerminalController.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.d.ts +2 -1
- package/dist/editor/ai/useInlineAiPosition.js +10 -3
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/bridge/protocol.d.ts +35 -1
- package/dist/editor/bridge/protocol.js +4 -1
- package/dist/editor/bridge/protocol.js.map +1 -1
- package/dist/editor/client/EditorShell.js +47 -33
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/editContext.d.ts +3 -4
- package/dist/editor/client/errorToast.d.ts +12 -0
- package/dist/editor/client/errorToast.js +67 -0
- package/dist/editor/client/errorToast.js.map +1 -0
- package/dist/editor/client/helpers.d.ts +2 -4
- package/dist/editor/client/helpers.js +3 -2
- package/dist/editor/client/helpers.js.map +1 -1
- package/dist/editor/client/hooks/useSocketMessageHandler.js +5 -3
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/operations.d.ts +2 -4
- package/dist/editor/client/operations.js +11 -2
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.d.ts +1 -0
- package/dist/editor/client/pageModelBuilder.js +9 -2
- package/dist/editor/client/pageModelBuilder.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.d.ts +0 -1
- package/dist/editor/client/ui/FullscreenControls.js +4 -17
- package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
- package/dist/editor/commands/componentCommands.d.ts +1 -0
- package/dist/editor/commands/componentCommands.js +139 -2
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/content-tree/TreeSettingsMenu.js +1 -1
- package/dist/editor/content-tree/TreeSettingsMenu.js.map +1 -1
- package/dist/editor/field-types/DateFieldEditor.js +1 -1
- package/dist/editor/field-types/DateFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -1
- package/dist/editor/field-types/useTextCompletion.js +12 -43
- package/dist/editor/field-types/useTextCompletion.js.map +1 -1
- package/dist/editor/fieldTypeConfiguration.d.ts +2 -0
- package/dist/editor/fieldTypeConfiguration.js +7 -0
- package/dist/editor/fieldTypeConfiguration.js.map +1 -0
- package/dist/editor/menubar/PageSelector.js +8 -1
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.d.ts +7 -1
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +22 -14
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +1 -1
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +7 -1
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +53 -19
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenu.js +11 -3
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js +1 -1
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +4 -3
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.d.ts +2 -1
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js +2 -0
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js.map +1 -1
- package/dist/editor/page-editor-chrome/insertTargetLabel.d.ts +1 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.js +14 -1
- package/dist/editor/page-editor-chrome/insertTargetLabel.js.map +1 -1
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +13 -3
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js +11 -5
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +1 -1
- package/dist/editor/page-viewer/PageViewer.js +5 -4
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.js +342 -5
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/RenderingParametersSection.js +1 -1
- package/dist/editor/page-viewer/RenderingParametersSection.js.map +1 -1
- package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +3 -1
- package/dist/editor/page-viewer/bridgeFieldPatch.js +26 -2
- package/dist/editor/page-viewer/bridgeFieldPatch.js.map +1 -1
- package/dist/editor/page-viewer/pageViewContext.d.ts +4 -1
- package/dist/editor/page-viewer/pageViewContext.js +4 -1
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/page-viewer/parentBridgeInjection.d.ts +23 -0
- package/dist/editor/page-viewer/parentBridgeInjection.js +251 -0
- package/dist/editor/page-viewer/parentBridgeInjection.js.map +1 -0
- package/dist/editor/page-viewer/renderUrl.js +4 -2
- package/dist/editor/page-viewer/renderUrl.js.map +1 -1
- package/dist/editor/pageModel.d.ts +1 -0
- package/dist/editor/reviews/DecisionsMatrix.js +1 -1
- package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
- package/dist/editor/reviews/MultiReviewManager.js +3 -22
- package/dist/editor/reviews/MultiReviewManager.js.map +1 -1
- package/dist/editor/reviews/openCommentsFeedback.js +2 -0
- package/dist/editor/reviews/openCommentsFeedback.js.map +1 -1
- package/dist/editor/services/agentService.js +6 -2
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/services/editService.d.ts +15 -0
- package/dist/editor/services/editService.js +3 -0
- package/dist/editor/services/editService.js.map +1 -1
- package/dist/editor/services/textCompletionService.d.ts +14 -0
- package/dist/editor/services/textCompletionService.js +45 -0
- package/dist/editor/services/textCompletionService.js.map +1 -0
- package/dist/editor/settings/About.js +40 -263
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/SettingsBreadcrumb.js +8 -1
- package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
- package/dist/editor/settings/SettingsHeaderActionsContext.d.ts +4 -0
- package/dist/editor/settings/SettingsHeaderActionsContext.js.map +1 -1
- package/dist/editor/settings/SettingsTitlebar.d.ts +1 -0
- package/dist/editor/settings/SettingsTitlebar.js +18 -0
- package/dist/editor/settings/SettingsTitlebar.js.map +1 -0
- package/dist/editor/settings/SettingsView.js +64 -18
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/panels/AgentToolsPanel.js +3 -7
- package/dist/editor/settings/panels/AgentToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentsPanel.js +2 -3
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ClusterInstancesPanel.js +2 -3
- package/dist/editor/settings/panels/ClusterInstancesPanel.js.map +1 -1
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +2 -4
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js +2 -3
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/McpToolsPanel.js +3 -4
- package/dist/editor/settings/panels/McpToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelsPanel.js +4 -3
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.d.ts +8 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +75 -9
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js +516 -52
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/settingsNavigationStore.d.ts +12 -0
- package/dist/editor/settings/settingsNavigationStore.js +32 -0
- package/dist/editor/settings/settingsNavigationStore.js.map +1 -0
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.d.ts +3 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +9 -5
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.d.ts +2 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +6 -3
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +6 -2
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +10 -4
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.js +12 -12
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/ContentTreePanel.js +1 -1
- package/dist/editor/sidebar/ContentTreePanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarPanel.js +1 -1
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.d.ts +0 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.js +4 -16
- package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
- package/dist/editor/ui/ComponentThumbnailDialog.d.ts +14 -0
- package/dist/editor/ui/ComponentThumbnailDialog.js +75 -0
- package/dist/editor/ui/ComponentThumbnailDialog.js.map +1 -0
- package/dist/editor/ui/ItemCollectionEditor.d.ts +6 -2
- package/dist/editor/ui/ItemCollectionEditor.js +163 -84
- package/dist/editor/ui/ItemCollectionEditor.js.map +1 -1
- package/dist/editor/ui/PerfectTree.d.ts +5 -1
- package/dist/editor/ui/PerfectTree.js +10 -6
- package/dist/editor/ui/PerfectTree.js.map +1 -1
- package/dist/editor/ui/PublishRestrictionsDialog.js +77 -9
- package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
- package/dist/editor/ui/SimpleIconButton.js +1 -1
- package/dist/editor/ui/Splitter.d.ts +3 -0
- package/dist/editor/ui/Splitter.js +30 -16
- package/dist/editor/ui/Splitter.js.map +1 -1
- package/dist/editor/ui/TreeListSelector.d.ts +6 -2
- package/dist/editor/ui/TreeListSelector.js +2 -2
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/utils/itemutils.js +2 -0
- package/dist/editor/utils/itemutils.js.map +1 -1
- package/dist/editor/views/ItemEditorPane.js +1 -1
- package/dist/editor/views/ItemEditorPane.js.map +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/task-board/TaskBoardWorkspace.js +73 -5
- package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
- package/dist/task-board/components/CreateProjectDialog.d.ts +0 -1
- package/dist/task-board/components/CreateProjectDialog.js +1 -4
- package/dist/task-board/components/CreateProjectDialog.js.map +1 -1
- package/dist/task-board/components/GoalDialog.d.ts +9 -0
- package/dist/task-board/components/GoalDialog.js +149 -0
- package/dist/task-board/components/GoalDialog.js.map +1 -0
- package/dist/task-board/components/ProjectDashboard.d.ts +10 -0
- package/dist/task-board/components/ProjectDashboard.js +5 -4
- package/dist/task-board/components/ProjectDashboard.js.map +1 -1
- package/dist/task-board/components/ProjectGoalsPanel.d.ts +16 -0
- package/dist/task-board/components/ProjectGoalsPanel.js +310 -0
- package/dist/task-board/components/ProjectGoalsPanel.js.map +1 -0
- package/dist/task-board/components/ProjectPropertiesPanel.js +6 -4
- package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
- package/dist/task-board/components/TaskAssigneeBadge.d.ts +1 -1
- package/dist/task-board/components/TaskAssigneeBadge.js +1 -1
- package/dist/task-board/components/TaskAssigneeBadge.js.map +1 -1
- package/dist/task-board/components/TaskAssigneePicker.js +1 -1
- package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentDropZone.d.ts +1 -0
- package/dist/task-board/components/TaskAttachmentDropZone.js +5 -3
- package/dist/task-board/components/TaskAttachmentDropZone.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentsSection.js +8 -1
- package/dist/task-board/components/TaskAttachmentsSection.js.map +1 -1
- package/dist/task-board/components/TaskRow.js +1 -1
- package/dist/task-board/components/TaskRow.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCenter.js +1 -10
- package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
- package/dist/task-board/services/goalService.d.ts +65 -0
- package/dist/task-board/services/goalService.js +37 -0
- package/dist/task-board/services/goalService.js.map +1 -0
- package/dist/task-board/types.d.ts +68 -3
- package/dist/task-board/views/DependencyGraphView.js +121 -31
- package/dist/task-board/views/DependencyGraphView.js.map +1 -1
- package/package.json +2 -2
- package/dist/editor/sidebar/MobileWorkspacePopover.d.ts +0 -16
- package/dist/editor/sidebar/MobileWorkspacePopover.js +0 -35
- package/dist/editor/sidebar/MobileWorkspacePopover.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/editor/bridge/protocol.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GACzC,yBAAkC,CAAC;AAsBrC,MAAM,CAAC,MAAM,+BAA+B,GAAkB;IAC5D,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACT,CAAC;AAuCF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,iEAAiE;IACjE,mEAAmE;IACnE,WAAW,EAAE,aAAa;IAC1B,8EAA8E;IAC9E,iEAAiE;IACjE,WAAW,EAAE,aAAa;CAClB,CAAC;
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/editor/bridge/protocol.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GACzC,yBAAkC,CAAC;AAsBrC,MAAM,CAAC,MAAM,+BAA+B,GAAkB;IAC5D,KAAK,EAAE,CAAC;IACR,KAAK,EAAE,CAAC;CACT,CAAC;AAuCF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,iEAAiE;IACjE,mEAAmE;IACnE,WAAW,EAAE,aAAa;IAC1B,8EAA8E;IAC9E,iEAAiE;IACjE,WAAW,EAAE,aAAa;CAClB,CAAC;AA+kBX,MAAM,YAAY,GAAG,IAAI,GAAG,CAAS;IACnC,OAAO;IACP,MAA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YAAY,GAAG,UAAU,CAAC,MAAM,CAAC;IACvC,IAAI,YAAY,EAAE,UAAU,EAAE,CAAC;QAC7B,OAAO,YAAY,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;IAED,OAAO,UAAU,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE;SACtD,QAAQ,CAAC,EAAE,CAAC;SACZ,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAChB,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC"}
|
|
@@ -9,6 +9,7 @@ import { useRouter, useSearchParams, usePathname } from "./navigation";
|
|
|
9
9
|
import { findComponent, getComponentById } from "../componentTreeHelper";
|
|
10
10
|
import { getOperationsContext } from "./operations";
|
|
11
11
|
import { handleErrorResult } from "./helpers";
|
|
12
|
+
import { showExpandableErrorToast, } from "./errorToast";
|
|
12
13
|
import { isManualShowMeFocusTransfer, isManualShowMeTarget, } from "./manualShowMeFocus";
|
|
13
14
|
import { executeFieldAction as executeFieldServerAction, connectSocket, getEditHistory, getRunningOperations, reconnectSession, releaseFieldLocks, validateItems, } from "../services/editService";
|
|
14
15
|
import { emitAgentDocumentsChanged } from "../services/agentService";
|
|
@@ -715,6 +716,35 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
|
|
|
715
716
|
void changeMode("edit", { reason: "feedback-sidebar-close" });
|
|
716
717
|
}
|
|
717
718
|
}, [changeMode]);
|
|
719
|
+
const feedbackSidebarOpenRef = useRef(openSidebars.includes("feedback"));
|
|
720
|
+
const feedbackSidebarSuggestionsLoadedRef = useRef(false);
|
|
721
|
+
useEffect(() => {
|
|
722
|
+
const feedbackSidebarOpen = openSidebars.includes("feedback");
|
|
723
|
+
const wasFeedbackSidebarOpen = feedbackSidebarOpenRef.current;
|
|
724
|
+
feedbackSidebarOpenRef.current = feedbackSidebarOpen;
|
|
725
|
+
if (!feedbackSidebarOpen) {
|
|
726
|
+
feedbackSidebarSuggestionsLoadedRef.current = false;
|
|
727
|
+
if (wasFeedbackSidebarOpen) {
|
|
728
|
+
closeFeedbackSuggestionsMode();
|
|
729
|
+
}
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
if (!showComments) {
|
|
733
|
+
setShowComments(true);
|
|
734
|
+
}
|
|
735
|
+
if (!showSuggestedEdits) {
|
|
736
|
+
setShowSuggestedEdits(true);
|
|
737
|
+
}
|
|
738
|
+
if (!feedbackSidebarSuggestionsLoadedRef.current) {
|
|
739
|
+
feedbackSidebarSuggestionsLoadedRef.current = true;
|
|
740
|
+
void loadSuggestedEditsRef.current();
|
|
741
|
+
}
|
|
742
|
+
}, [
|
|
743
|
+
closeFeedbackSuggestionsMode,
|
|
744
|
+
openSidebars,
|
|
745
|
+
showComments,
|
|
746
|
+
showSuggestedEdits,
|
|
747
|
+
]);
|
|
718
748
|
const activateCommentsModeForWriting = useCallback(async (reason) => {
|
|
719
749
|
setShowComments(true);
|
|
720
750
|
setShowSuggestedEdits(false);
|
|
@@ -3097,17 +3127,7 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
|
|
|
3097
3127
|
}
|
|
3098
3128
|
}, [currentItemDescriptorRef.current, setItemVersions, setItemLanguages]);
|
|
3099
3129
|
const showErrorToast = useCallback((error) => {
|
|
3100
|
-
|
|
3101
|
-
if (error &&
|
|
3102
|
-
typeof error === "object" &&
|
|
3103
|
-
("summary" in error || "details" in error)) {
|
|
3104
|
-
const { summary, details } = error;
|
|
3105
|
-
toast.error(details || summary || "An error occurred");
|
|
3106
|
-
}
|
|
3107
|
-
else {
|
|
3108
|
-
console.warn("showErrorToast called with unexpected value:", error);
|
|
3109
|
-
toast.error("An error occurred");
|
|
3110
|
-
}
|
|
3130
|
+
showExpandableErrorToast(error);
|
|
3111
3131
|
}, []);
|
|
3112
3132
|
const showInfoToast = useCallback(({ summary, details }) => {
|
|
3113
3133
|
toast.info(details || summary || "Information");
|
|
@@ -3696,33 +3716,27 @@ export function EditorShell({ configuration, className, item: loadItemDescriptor
|
|
|
3696
3716
|
// Get resolved sidebar (with panels materialized)
|
|
3697
3717
|
// Note: This is defined as a function that will be called later when editContext is available
|
|
3698
3718
|
const sidebars = configuration.editor.sidebars ?? [];
|
|
3699
|
-
const taskboardSidebarIds = new Set([
|
|
3700
|
-
"taskboard-project-list",
|
|
3701
|
-
"taskboard-my-tasks",
|
|
3702
|
-
]);
|
|
3703
3719
|
const getSidebarsForWorkspace = useCallback((targetWorkspaceId) => {
|
|
3704
|
-
const
|
|
3705
|
-
const
|
|
3706
|
-
|
|
3720
|
+
const hasBackendWorkspaceSettings = (userInfo.workspaces?.length ?? 0) > 0;
|
|
3721
|
+
const workspaceSettings = userInfo.workspaces?.find((w) => w.id === targetWorkspaceId);
|
|
3722
|
+
const workspaceAllowedSidebarIds = workspaceSettings?.sidebars ?? [];
|
|
3723
|
+
const workspaceDefaultSidebarIds = configuration.editor.workspaces?.find((w) => w.id === targetWorkspaceId)
|
|
3724
|
+
?.defaultSidebars ?? [];
|
|
3725
|
+
const allowedSidebarIds = workspaceAllowedSidebarIds.length > 0
|
|
3726
|
+
? workspaceAllowedSidebarIds
|
|
3727
|
+
: workspaceDefaultSidebarIds;
|
|
3707
3728
|
return sidebars.filter((s) => {
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
if (!isTaskboardWorkspace && isTaskboardSidebar)
|
|
3712
|
-
return false;
|
|
3713
|
-
// Keep agents-panel broadly available, except in dedicated workspaces
|
|
3714
|
-
// that own their full surface.
|
|
3715
|
-
if (s.id === "agents-panel") {
|
|
3716
|
-
return targetWorkspaceId !== "translation-management";
|
|
3717
|
-
}
|
|
3718
|
-
// If no workspace settings or no sidebars defined for current workspace, show all.
|
|
3719
|
-
if (workspaceAllowedSidebarIds.length === 0) {
|
|
3729
|
+
// If the backend does not provide workspace settings, fall back to the
|
|
3730
|
+
// globally registered sidebar list for local/static configurations.
|
|
3731
|
+
if (!hasBackendWorkspaceSettings) {
|
|
3720
3732
|
return true;
|
|
3721
3733
|
}
|
|
3722
|
-
|
|
3723
|
-
|
|
3734
|
+
if (!workspaceSettings) {
|
|
3735
|
+
return false;
|
|
3736
|
+
}
|
|
3737
|
+
return allowedSidebarIds.includes(s.id);
|
|
3724
3738
|
});
|
|
3725
|
-
}, [sidebars, userInfo.workspaces]);
|
|
3739
|
+
}, [configuration.editor.workspaces, sidebars, userInfo.workspaces]);
|
|
3726
3740
|
const getResolvedSidebar = useCallback((sidebarId) => {
|
|
3727
3741
|
const sidebar = getSidebarsForWorkspace(workspaceId).find((s) => s.id === sidebarId);
|
|
3728
3742
|
if (!sidebar)
|