@flowdrop/flowdrop 2.11.0 → 2.13.0
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/CHANGELOG.md +233 -0
- package/dist/adapters/agentspec/autoLayout.d.ts +18 -36
- package/dist/adapters/agentspec/autoLayout.js +75 -93
- package/dist/chat/activity.d.ts +49 -0
- package/dist/chat/activity.js +65 -0
- package/dist/chat/commandClassifier.js +2 -1
- package/dist/commands/executor.js +186 -27
- package/dist/commands/index.d.ts +2 -1
- package/dist/commands/index.js +2 -0
- package/dist/commands/parser.js +43 -3
- package/dist/commands/session.d.ts +60 -0
- package/dist/commands/session.js +332 -0
- package/dist/commands/storeIntegration.svelte.js +18 -1
- package/dist/commands/types.d.ts +77 -4
- package/dist/components/App.svelte +976 -226
- package/dist/components/App.svelte.d.ts +34 -2
- package/dist/components/BindablePortListbox.svelte +68 -369
- package/dist/components/Button.svelte +17 -14
- package/dist/components/Button.svelte.d.ts +2 -2
- package/dist/components/CanvasContextMenu.svelte +31 -10
- package/dist/components/CanvasController.svelte +146 -3
- package/dist/components/CanvasController.svelte.d.ts +25 -33
- package/dist/components/CanvasIconButton.svelte +6 -6
- package/dist/components/CanvasToolbar.svelte +103 -0
- package/dist/components/CanvasToolbar.svelte.d.ts +23 -0
- package/dist/components/CanvasZoomControls.svelte +122 -0
- package/dist/components/CanvasZoomControls.svelte.d.ts +15 -0
- package/dist/components/ConfigForm.svelte +159 -121
- package/dist/components/ConfigModal.svelte +11 -54
- package/dist/components/ConfigPanel.svelte +98 -228
- package/dist/components/ConfigPanel.svelte.d.ts +2 -2
- package/dist/components/ConnectPortPicker.svelte +153 -0
- package/dist/components/ConnectPortPicker.svelte.d.ts +22 -0
- package/dist/components/DoctorMenu.svelte +422 -0
- package/dist/components/DoctorMenu.svelte.d.ts +7 -0
- package/dist/components/ExternalLinkRow.svelte +82 -0
- package/dist/components/ExternalLinkRow.svelte.d.ts +14 -0
- package/dist/components/FlowDropEdge.svelte +52 -2
- package/dist/components/FlowDropEdge.svelte.d.ts +5 -1
- package/dist/components/InterfaceNameInput.svelte +103 -0
- package/dist/components/InterfaceNameInput.svelte.d.ts +13 -0
- package/dist/components/InterfaceTag.svelte +215 -0
- package/dist/components/InterfaceTag.svelte.d.ts +20 -0
- package/dist/components/InterfaceTagAnchor.svelte +103 -0
- package/dist/components/InterfaceTagAnchor.svelte.d.ts +12 -0
- package/dist/components/InterfaceTagLayer.svelte +314 -0
- package/dist/components/InterfaceTagLayer.svelte.d.ts +28 -0
- package/dist/components/LogsSidebar.svelte +43 -43
- package/dist/components/LoopbackLanes.svelte +54 -0
- package/dist/components/LoopbackLanes.svelte.d.ts +8 -0
- package/dist/components/Navbar.svelte +539 -169
- package/dist/components/Navbar.svelte.d.ts +20 -1
- package/dist/components/NodeInspector.svelte +153 -0
- package/dist/components/NodeInspector.svelte.d.ts +19 -0
- package/dist/components/NodeLastRun.svelte +212 -0
- package/dist/components/NodeLastRun.svelte.d.ts +13 -0
- package/dist/components/NodeSidebar.svelte +279 -23
- package/dist/components/NodeSidebar.svelte.d.ts +11 -0
- package/dist/components/NodeStatusOverlay.svelte +144 -353
- package/dist/components/NodeStatusOverlay.svelte.d.ts +4 -1
- package/dist/components/PortMappingRow.svelte +28 -44
- package/dist/components/PortPickerListbox.svelte +475 -0
- package/dist/components/PortPickerListbox.svelte.d.ts +73 -0
- package/dist/components/ReadOnlyDetails.svelte +52 -89
- package/dist/components/RunBar.svelte +222 -0
- package/dist/components/RunBar.svelte.d.ts +20 -0
- package/dist/components/RunsMenu.svelte +649 -0
- package/dist/components/RunsMenu.svelte.d.ts +14 -0
- package/dist/components/SettingsModal.svelte +27 -59
- package/dist/components/SettingsPanel.svelte +515 -241
- package/dist/components/StraightGuides.svelte +46 -0
- package/dist/components/StraightGuides.svelte.d.ts +7 -0
- package/dist/components/ThemeToggle.svelte +14 -4
- package/dist/components/UniversalNode.svelte +152 -51
- package/dist/components/WebMCPBridgeMenu.svelte +336 -0
- package/dist/components/WebMCPBridgeMenu.svelte.d.ts +3 -0
- package/dist/components/WorkflowEditor.svelte +789 -136
- package/dist/components/WorkflowEditor.svelte.d.ts +43 -1
- package/dist/components/WorkflowInterfaceEditor.svelte +63 -92
- package/dist/components/WorkflowInterfaceEntryCard.svelte +478 -549
- package/dist/components/WorkflowInterfaceEntryComposer.svelte +23 -67
- package/dist/components/WorkflowPlaygroundSettings.svelte +48 -85
- package/dist/components/WorkflowSettingsPanel.svelte +311 -0
- package/dist/components/WorkflowSettingsPanel.svelte.d.ts +20 -0
- package/dist/components/ZoomTier.svelte +56 -0
- package/dist/components/ZoomTier.svelte.d.ts +4 -0
- package/dist/components/chat/AIChatPanel.svelte +463 -312
- package/dist/components/chat/ActivityList.svelte +130 -0
- package/dist/components/chat/ActivityList.svelte.d.ts +11 -0
- package/dist/components/chat/ActivityRow.svelte +179 -0
- package/dist/components/chat/ActivityRow.svelte.d.ts +16 -0
- package/dist/components/chat/CommandPreview.svelte +42 -64
- package/dist/components/console/CommandConsole.svelte +106 -41
- package/dist/components/console/CommandConsole.svelte.d.ts +2 -0
- package/dist/components/console/ConsoleAutocomplete.svelte +14 -13
- package/dist/components/console/ConsoleInput.svelte +60 -27
- package/dist/components/console/ConsoleOutput.svelte +86 -24
- package/dist/components/console/ConsoleStrip.svelte +80 -0
- package/dist/components/console/ConsoleStrip.svelte.d.ts +13 -0
- package/dist/components/form/FieldFactory.svelte +30 -4
- package/dist/components/form/FormArray.svelte +306 -339
- package/dist/components/form/FormArray.svelte.d.ts +10 -0
- package/dist/components/form/FormArrayRows.svelte +443 -0
- package/dist/components/form/FormArrayRows.svelte.d.ts +18 -0
- package/dist/components/form/FormAutocomplete.svelte +2 -2
- package/dist/components/form/FormCheckboxGroup.svelte +10 -85
- package/dist/components/form/FormCodeEditor.svelte +3 -3
- package/dist/components/form/FormFieldWrapper.svelte +98 -18
- package/dist/components/form/FormFieldWrapper.svelte.d.ts +10 -0
- package/dist/components/form/FormFieldset.svelte +44 -28
- package/dist/components/form/FormMarkdownEditor.svelte +6 -6
- package/dist/components/form/FormPorts.svelte +437 -141
- package/dist/components/form/FormSelect.svelte +1 -1
- package/dist/components/form/FormTemplateEditor.svelte +22 -26
- package/dist/components/form/FormToggle.svelte +15 -106
- package/dist/components/form/FormToggle.svelte.d.ts +3 -2
- package/dist/components/form/FormUISchemaRenderer.svelte +38 -3
- package/dist/components/form/humanizeKey.d.ts +7 -0
- package/dist/components/form/humanizeKey.js +21 -0
- package/dist/components/form/types.d.ts +6 -0
- package/dist/components/icons/MenuOpenIcon.svelte +8 -1
- package/dist/components/interrupt/ChoicePrompt.svelte +51 -152
- package/dist/components/interrupt/ChoicePrompt.svelte.d.ts +0 -2
- package/dist/components/interrupt/ConfirmationPrompt.svelte +18 -201
- package/dist/components/interrupt/ConfirmationPrompt.svelte.d.ts +0 -4
- package/dist/components/interrupt/FormPrompt.svelte +22 -147
- package/dist/components/interrupt/FormPrompt.svelte.d.ts +0 -4
- package/dist/components/interrupt/InterruptBubble.svelte +198 -355
- package/dist/components/interrupt/InterruptBubble.svelte.d.ts +0 -2
- package/dist/components/interrupt/ReviewPrompt.svelte +0 -10
- package/dist/components/interrupt/TextInputPrompt.svelte +23 -120
- package/dist/components/interrupt/TextInputPrompt.svelte.d.ts +0 -2
- package/dist/components/layouts/MainLayout.svelte +110 -75
- package/dist/components/layouts/MainLayout.svelte.d.ts +17 -0
- package/dist/components/nodes/CaptionNode.svelte +7 -0
- package/dist/components/nodes/GatewayNode.svelte +66 -431
- package/dist/components/nodes/IdeaNode.svelte +6 -5
- package/dist/components/nodes/NodeCard.svelte +1051 -0
- package/dist/components/nodes/NodeCard.svelte.d.ts +30 -0
- package/dist/components/nodes/NodeConfigButton.svelte +28 -9
- package/dist/components/nodes/NodeProblemMark.svelte +113 -0
- package/dist/components/nodes/NodeProblemMark.svelte.d.ts +8 -0
- package/dist/components/nodes/NodeTip.svelte +104 -0
- package/dist/components/nodes/NodeTip.svelte.d.ts +15 -0
- package/dist/components/nodes/NotesNode.svelte +183 -150
- package/dist/components/nodes/SimpleNode.svelte +176 -44
- package/dist/components/nodes/SquareNode.svelte +127 -34
- package/dist/components/nodes/TerminalNode.svelte +232 -88
- package/dist/components/nodes/ToolNode.svelte +49 -381
- package/dist/components/nodes/WorkflowNode.svelte +40 -399
- package/dist/components/playground/ChatBubble.svelte +248 -62
- package/dist/components/playground/ChatInput.svelte +134 -297
- package/dist/components/playground/ChatInput.svelte.d.ts +17 -0
- package/dist/components/playground/ControlPanel.svelte +290 -190
- package/dist/components/playground/ControlPanel.svelte.d.ts +10 -2
- package/dist/components/playground/DockedPlayground.svelte +82 -0
- package/dist/components/playground/DockedPlayground.svelte.d.ts +30 -0
- package/dist/components/playground/ExecutionConsole.svelte +54 -36
- package/dist/components/playground/ExecutionConsole.svelte.d.ts +12 -0
- package/dist/components/playground/ExecutionLogs.svelte +4 -0
- package/dist/components/playground/HeaderMenu.svelte +170 -0
- package/dist/components/playground/HeaderMenu.svelte.d.ts +22 -0
- package/dist/components/playground/InputCollector.svelte +8 -32
- package/dist/components/playground/InputFields.svelte +246 -0
- package/dist/components/playground/InputFields.svelte.d.ts +16 -0
- package/dist/components/playground/InterfaceInputForm.svelte +285 -30
- package/dist/components/playground/InterfaceInputForm.svelte.d.ts +20 -0
- package/dist/components/playground/InterfaceJsonInput.svelte +92 -0
- package/dist/components/playground/InterfaceJsonInput.svelte.d.ts +10 -0
- package/dist/components/playground/LogRow.svelte +12 -12
- package/dist/components/playground/MessageMarkdown.svelte +11 -11
- package/dist/components/playground/MessageStream.svelte +154 -182
- package/dist/components/playground/Playground.svelte +17 -1139
- package/dist/components/playground/PlaygroundApp.svelte +12 -2
- package/dist/components/playground/PlaygroundApp.svelte.d.ts +2 -1
- package/dist/components/playground/PlaygroundHeader.svelte +309 -0
- package/dist/components/playground/PlaygroundHeader.svelte.d.ts +22 -0
- package/dist/components/playground/PlaygroundModal.svelte +6 -0
- package/dist/components/playground/PlaygroundStudio.svelte +30 -32
- package/dist/components/playground/PlaygroundSurface.svelte +648 -0
- package/dist/components/playground/PlaygroundSurface.svelte.d.ts +79 -0
- package/dist/components/playground/StepsSummary.svelte +312 -0
- package/dist/components/playground/StepsSummary.svelte.d.ts +11 -0
- package/dist/components/playground/messageDisplay.d.ts +9 -0
- package/dist/components/playground/messageDisplay.js +24 -2
- package/dist/components/playground/stepSummary.d.ts +71 -0
- package/dist/components/playground/stepSummary.js +152 -0
- package/dist/components/ports/PortTypeBadge.svelte +13 -1
- package/dist/components/primitives/Button.svelte +226 -0
- package/dist/components/primitives/Button.svelte.d.ts +31 -0
- package/dist/components/primitives/Card.svelte +110 -0
- package/dist/components/primitives/Card.svelte.d.ts +20 -0
- package/dist/components/primitives/Checkbox.svelte +126 -0
- package/dist/components/primitives/Checkbox.svelte.d.ts +15 -0
- package/dist/components/primitives/Chip.svelte +143 -0
- package/dist/components/primitives/Chip.svelte.d.ts +22 -0
- package/dist/components/primitives/Combobox.svelte +444 -0
- package/dist/components/primitives/Combobox.svelte.d.ts +22 -0
- package/dist/components/primitives/Composer.svelte +293 -0
- package/dist/components/primitives/Composer.svelte.d.ts +47 -0
- package/dist/components/primitives/EmptyState.svelte +113 -0
- package/dist/components/primitives/EmptyState.svelte.d.ts +18 -0
- package/dist/components/primitives/Field.svelte +178 -0
- package/dist/components/primitives/Field.svelte.d.ts +30 -0
- package/dist/components/primitives/IconButton.svelte +156 -0
- package/dist/components/primitives/IconButton.svelte.d.ts +27 -0
- package/dist/components/primitives/Menu.svelte +435 -0
- package/dist/components/primitives/Menu.svelte.d.ts +61 -0
- package/dist/components/primitives/Notice.svelte +161 -0
- package/dist/components/primitives/Notice.svelte.d.ts +22 -0
- package/dist/components/primitives/PanelHeader.svelte +134 -0
- package/dist/components/primitives/PanelHeader.svelte.d.ts +23 -0
- package/dist/components/primitives/Segmented.svelte +198 -0
- package/dist/components/primitives/Segmented.svelte.d.ts +32 -0
- package/dist/components/primitives/Select.svelte +130 -0
- package/dist/components/primitives/Select.svelte.d.ts +26 -0
- package/dist/components/primitives/StatusPill.svelte +218 -0
- package/dist/components/primitives/StatusPill.svelte.d.ts +24 -0
- package/dist/components/primitives/Switch.svelte +113 -0
- package/dist/components/primitives/Switch.svelte.d.ts +14 -0
- package/dist/components/primitives/Tabs.svelte +209 -0
- package/dist/components/primitives/Tabs.svelte.d.ts +32 -0
- package/dist/components/primitives/Toolbar.svelte +94 -0
- package/dist/components/primitives/Toolbar.svelte.d.ts +14 -0
- package/dist/components/primitives/ToolbarSeparator.svelte +40 -0
- package/dist/components/primitives/ToolbarSeparator.svelte.d.ts +7 -0
- package/dist/components/surfaces/SurfaceOverlay.svelte +10 -40
- package/dist/components/surfaces/TabbedSurface.svelte +49 -39
- package/dist/components/surfaces/TabbedSurface.svelte.d.ts +8 -0
- package/dist/components/toast/DismissibleToast.svelte +94 -32
- package/dist/components/toast/DismissibleToast.svelte.d.ts +17 -7
- package/dist/config/endpoints.d.ts +43 -1
- package/dist/config/endpoints.js +21 -3
- package/dist/core/index.d.ts +8 -5
- package/dist/core/index.js +1 -1
- package/dist/editor/connectCandidates.d.ts +56 -0
- package/dist/editor/connectCandidates.js +131 -0
- package/dist/editor/contextMenu.d.ts +31 -2
- package/dist/editor/contextMenu.js +96 -9
- package/dist/editor/index.d.ts +4 -1
- package/dist/editor/index.js +1 -0
- package/dist/editor/interfaceMenu.d.ts +35 -0
- package/dist/editor/interfaceMenu.js +47 -0
- package/dist/editor/portMenu.d.ts +23 -0
- package/dist/editor/portMenu.js +34 -0
- package/dist/editor/tidy.d.ts +30 -0
- package/dist/editor/tidy.js +66 -0
- package/dist/helpers/workflowEditorHelper.d.ts +3 -0
- package/dist/helpers/workflowEditorHelper.js +8 -3
- package/dist/layout/fromWorkflow.d.ts +42 -0
- package/dist/layout/fromWorkflow.js +135 -0
- package/dist/layout/geometry.d.ts +102 -0
- package/dist/layout/geometry.js +317 -0
- package/dist/layout/index.d.ts +21 -0
- package/dist/layout/index.js +14 -0
- package/dist/layout/inspect.d.ts +18 -0
- package/dist/layout/inspect.js +81 -0
- package/dist/layout/lanePath.d.ts +23 -0
- package/dist/layout/lanePath.js +47 -0
- package/dist/layout/measure.d.ts +141 -0
- package/dist/layout/measure.js +477 -0
- package/dist/layout/primitives.d.ts +124 -0
- package/dist/layout/primitives.js +461 -0
- package/dist/layout/sweep.d.ts +59 -0
- package/dist/layout/sweep.js +257 -0
- package/dist/layout/toWorkflow.d.ts +43 -0
- package/dist/layout/toWorkflow.js +131 -0
- package/dist/layout/types.d.ts +93 -0
- package/dist/layout/types.js +35 -0
- package/dist/messages/defaults.d.ts +641 -26
- package/dist/messages/defaults.js +578 -25
- package/dist/messages/types.d.ts +21 -1
- package/dist/openapi/v1/openapi.yaml +109 -0
- package/dist/playground/index.d.ts +28 -1
- package/dist/playground/index.js +29 -0
- package/dist/playground/mount.d.ts +28 -2
- package/dist/playground/mount.js +41 -15
- package/dist/playground/runAction.d.ts +29 -0
- package/dist/playground/runAction.js +38 -0
- package/dist/services/doctorService.d.ts +52 -0
- package/dist/services/doctorService.js +113 -0
- package/dist/services/globalSave.js +12 -29
- package/dist/services/nodeExecutionService.d.ts +12 -1
- package/dist/services/nodeExecutionService.js +58 -58
- package/dist/services/playgroundService.d.ts +17 -2
- package/dist/services/playgroundService.js +48 -5
- package/dist/services/runsService.d.ts +42 -0
- package/dist/services/runsService.js +87 -0
- package/dist/services/toastQueue.d.ts +33 -0
- package/dist/services/toastQueue.js +38 -0
- package/dist/services/toastService.d.ts +30 -9
- package/dist/services/toastService.js +81 -46
- package/dist/settings/index.d.ts +1 -0
- package/dist/skins/graphite.d.ts +26 -0
- package/dist/skins/graphite.js +473 -0
- package/dist/skins/index.d.ts +2 -1
- package/dist/skins/index.js +4 -2
- package/dist/skins/slate.js +4 -4
- package/dist/stores/attachedRunStore.svelte.d.ts +35 -0
- package/dist/stores/attachedRunStore.svelte.js +47 -0
- package/dist/stores/connectDragStore.svelte.d.ts +39 -0
- package/dist/stores/connectDragStore.svelte.js +42 -0
- package/dist/stores/doctorStore.svelte.d.ts +79 -0
- package/dist/stores/doctorStore.svelte.js +244 -0
- package/dist/stores/editedNodesStore.svelte.d.ts +42 -0
- package/dist/stores/editedNodesStore.svelte.js +84 -0
- package/dist/stores/editorModeStore.svelte.d.ts +34 -0
- package/dist/stores/editorModeStore.svelte.js +55 -0
- package/dist/stores/instanceContainer.svelte.d.ts +53 -0
- package/dist/stores/instanceContainer.svelte.js +38 -1
- package/dist/stores/loopbackLanesStore.svelte.d.ts +18 -0
- package/dist/stores/loopbackLanesStore.svelte.js +25 -0
- package/dist/stores/nodeHighlightStore.svelte.d.ts +34 -0
- package/dist/stores/nodeHighlightStore.svelte.js +56 -0
- package/dist/stores/playgroundStore.svelte.d.ts +66 -2
- package/dist/stores/playgroundStore.svelte.js +164 -2
- package/dist/stores/runController.svelte.d.ts +382 -0
- package/dist/stores/runController.svelte.js +1217 -0
- package/dist/stores/settingsStore.svelte.d.ts +80 -18
- package/dist/stores/settingsStore.svelte.js +180 -62
- package/dist/stores/workflowStore.svelte.d.ts +14 -0
- package/dist/stores/workflowStore.svelte.js +22 -1
- package/dist/styles/base.css +286 -25
- package/dist/styles/fonts/Inter-LICENSE.txt +93 -0
- package/dist/styles/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/inter.css +19 -0
- package/dist/styles/toast.css +100 -20
- package/dist/styles/tokenAliases.js +118 -1
- package/dist/styles/tokens.css +586 -14
- package/dist/svelte-app.d.ts +47 -5
- package/dist/svelte-app.js +15 -3
- package/dist/themes/graphite.d.ts +2 -0
- package/dist/themes/graphite.js +15 -0
- package/dist/themes/index.d.ts +2 -1
- package/dist/themes/index.js +22 -3
- package/dist/themes/minimal.js +10 -0
- package/dist/themes/scopedSkinCss.d.ts +22 -5
- package/dist/themes/scopedSkinCss.js +136 -11
- package/dist/types/chat.d.ts +6 -0
- package/dist/types/doctor.d.ts +82 -0
- package/dist/types/doctor.js +11 -0
- package/dist/types/events.d.ts +35 -0
- package/dist/types/events.js +4 -1
- package/dist/types/index.d.ts +17 -2
- package/dist/types/navbar.d.ts +36 -0
- package/dist/types/playground.d.ts +75 -0
- package/dist/types/settings.d.ts +120 -7
- package/dist/types/settings.js +35 -3
- package/dist/types/skin.d.ts +21 -8
- package/dist/types/theme.d.ts +40 -2
- package/dist/utils/appearance.d.ts +19 -0
- package/dist/utils/appearance.js +13 -0
- package/dist/utils/canvasFit.d.ts +41 -0
- package/dist/utils/canvasFit.js +44 -0
- package/dist/utils/chipTitles.d.ts +9 -0
- package/dist/utils/chipTitles.js +19 -0
- package/dist/utils/connections.js +8 -0
- package/dist/utils/consoleHighlight.d.ts +28 -0
- package/dist/utils/consoleHighlight.js +269 -0
- package/dist/utils/deprecation.d.ts +17 -0
- package/dist/utils/deprecation.js +29 -0
- package/dist/utils/doctorOperations.d.ts +40 -0
- package/dist/utils/doctorOperations.js +237 -0
- package/dist/utils/duration.d.ts +13 -0
- package/dist/utils/duration.js +40 -0
- package/dist/utils/inspectorContext.d.ts +19 -0
- package/dist/utils/inspectorContext.js +12 -0
- package/dist/utils/inspectorSections.d.ts +20 -0
- package/dist/utils/inspectorSections.js +44 -0
- package/dist/utils/inspectorSurface.d.ts +46 -0
- package/dist/utils/inspectorSurface.js +51 -0
- package/dist/utils/interfaceTags.d.ts +102 -0
- package/dist/utils/interfaceTags.js +211 -0
- package/dist/utils/itemRef.d.ts +86 -0
- package/dist/utils/itemRef.js +106 -0
- package/dist/utils/lastRun.d.ts +35 -0
- package/dist/utils/lastRun.js +73 -0
- package/dist/utils/messageNodeLink.d.ts +17 -0
- package/dist/utils/messageNodeLink.js +16 -0
- package/dist/utils/minimapVisibility.d.ts +28 -0
- package/dist/utils/minimapVisibility.js +34 -0
- package/dist/utils/nodeAriaLabel.d.ts +12 -0
- package/dist/utils/nodeAriaLabel.js +17 -0
- package/dist/utils/nodeFingerprint.d.ts +27 -0
- package/dist/utils/nodeFingerprint.js +66 -0
- package/dist/utils/nodeFormSchema.d.ts +10 -0
- package/dist/utils/nodeFormSchema.js +2 -2
- package/dist/utils/nodeGeometry.d.ts +168 -0
- package/dist/utils/nodeGeometry.js +204 -0
- package/dist/utils/nodeProblem.d.ts +19 -0
- package/dist/utils/nodeProblem.js +9 -0
- package/dist/utils/nodeStatus.d.ts +38 -3
- package/dist/utils/nodeStatus.js +67 -39
- package/dist/utils/nodeSwap.js +9 -1
- package/dist/utils/nodeWrapper.d.ts +1 -0
- package/dist/utils/playgroundHistory.d.ts +48 -0
- package/dist/utils/playgroundHistory.js +38 -0
- package/dist/utils/playgroundInputRuns.d.ts +26 -0
- package/dist/utils/playgroundInputRuns.js +50 -0
- package/dist/utils/portExposure.d.ts +49 -0
- package/dist/utils/portExposure.js +122 -0
- package/dist/utils/portUtils.d.ts +16 -0
- package/dist/utils/portUtils.js +37 -0
- package/dist/utils/portal.d.ts +0 -19
- package/dist/utils/portal.js +8 -1
- package/dist/utils/reservedPorts.d.ts +59 -0
- package/dist/utils/reservedPorts.js +60 -0
- package/dist/utils/runEdges.d.ts +24 -0
- package/dist/utils/runEdges.js +35 -0
- package/dist/utils/runsList.d.ts +69 -0
- package/dist/utils/runsList.js +134 -0
- package/dist/utils/selectOptions.d.ts +62 -0
- package/dist/utils/selectOptions.js +137 -0
- package/dist/utils/sessionRuns.d.ts +62 -0
- package/dist/utils/sessionRuns.js +123 -0
- package/dist/utils/sheetWidths.d.ts +29 -0
- package/dist/utils/sheetWidths.js +41 -0
- package/dist/utils/sidebarWidths.d.ts +34 -0
- package/dist/utils/sidebarWidths.js +47 -0
- package/dist/utils/straightWires.d.ts +73 -0
- package/dist/utils/straightWires.js +99 -0
- package/dist/utils/themeScope.svelte.d.ts +10 -0
- package/dist/utils/themeScope.svelte.js +80 -0
- package/dist/utils/wiredHandles.d.ts +10 -0
- package/dist/utils/wiredHandles.js +14 -0
- package/dist/utils/workflowDraft.d.ts +9 -0
- package/dist/utils/workflowDraft.js +39 -0
- package/dist/utils/workflowInterface.d.ts +40 -7
- package/dist/utils/workflowInterface.js +66 -16
- package/dist/utils/zoomTier.d.ts +43 -0
- package/dist/utils/zoomTier.js +107 -0
- package/dist/utils/zoomTierRows.d.ts +41 -0
- package/dist/utils/zoomTierRows.js +103 -0
- package/dist/webmcp/WebMCPConfirm.svelte +1 -1
- package/dist/webmcp/bridge.d.ts +5 -0
- package/dist/webmcp/bridge.js +8 -0
- package/dist/webmcp/bridgeController.svelte.d.ts +84 -0
- package/dist/webmcp/bridgeController.svelte.js +224 -0
- package/dist/webmcp/descriptors.d.ts +1 -1
- package/dist/webmcp/descriptors.js +66 -5
- package/dist/webmcp/fakeWidget.d.ts +34 -0
- package/dist/webmcp/fakeWidget.js +75 -0
- package/dist/webmcp/gate.js +4 -0
- package/dist/webmcp/index.d.ts +2 -0
- package/dist/webmcp/index.js +1 -0
- package/dist/webmcp/runtime.js +4 -1
- package/dist/webmcp/types.d.ts +2 -0
- package/dist/webmcp/validate.js +5 -1
- package/package.json +8 -2
- package/dist/components/Select.svelte +0 -53
- package/dist/components/Select.svelte.d.ts +0 -15
- package/dist/components/icons/CommandLineIcon.svelte +0 -15
- package/dist/components/icons/CommandLineIcon.svelte.d.ts +0 -26
- package/dist/components/toast/WarningIcon.svelte +0 -28
- package/dist/components/toast/WarningIcon.svelte.d.ts +0 -26
|
@@ -38,7 +38,16 @@ export const defaultMessages = {
|
|
|
38
38
|
deleteItem: ({ n }) => `Delete item ${n}`,
|
|
39
39
|
moveUp: 'Move up',
|
|
40
40
|
moveDown: 'Move down',
|
|
41
|
+
// Live announcement after an Alt+Arrow reorder (array rows and interface ports).
|
|
42
|
+
movedTo: ({ name, n, total }) => `${name} moved to position ${n} of ${total}`,
|
|
41
43
|
delete: 'Delete item',
|
|
44
|
+
rowActions: ({ n }) => `Actions for item ${n}`,
|
|
45
|
+
// An array a sibling field names an item of (`x-item-ref`), e.g. a default branch.
|
|
46
|
+
makeDefault: 'Make default',
|
|
47
|
+
defaultBadge: 'default',
|
|
48
|
+
noDefault: 'No default: the node fails when nothing matches',
|
|
49
|
+
defaultFromInput: 'Default: set by input',
|
|
50
|
+
defaultDangling: ({ name }) => `The default "${name}" matches no item. Make one of the items the default.`,
|
|
42
51
|
// Boolean rendering inside array items.
|
|
43
52
|
yes: 'Yes',
|
|
44
53
|
no: 'No',
|
|
@@ -177,6 +186,15 @@ export const defaultMessages = {
|
|
|
177
186
|
default: 'Response Submitted'
|
|
178
187
|
},
|
|
179
188
|
cancelled: 'Cancelled',
|
|
189
|
+
// The one line an answered prompt folds to.
|
|
190
|
+
resolved: {
|
|
191
|
+
confirmed: ({ value }) => `Confirmed · ${value}`,
|
|
192
|
+
declined: ({ value }) => `Declined · ${value}`,
|
|
193
|
+
chose: ({ value }) => `Chose · ${value}`,
|
|
194
|
+
submitted: 'Submitted',
|
|
195
|
+
submittedValue: ({ value }) => `Submitted · ${value}`,
|
|
196
|
+
by: ({ name }) => `by ${name}`
|
|
197
|
+
},
|
|
180
198
|
errorRetry: 'Error - Click to Retry',
|
|
181
199
|
retry: 'Retry',
|
|
182
200
|
cancel: 'Cancel',
|
|
@@ -185,23 +203,45 @@ export const defaultMessages = {
|
|
|
185
203
|
}
|
|
186
204
|
},
|
|
187
205
|
navigation: {
|
|
188
|
-
//
|
|
206
|
+
// Product name: the navbar logo's accessible name and title, the fallback alt
|
|
207
|
+
// text of a branded logo, and the page <title>.
|
|
189
208
|
appName: 'FlowDrop',
|
|
190
209
|
tagline: 'Visual Workflow Manager',
|
|
191
210
|
breadcrumbAriaLabel: 'Breadcrumb',
|
|
192
211
|
connected: 'Connected',
|
|
193
212
|
settingsTitle: 'Settings',
|
|
194
213
|
settingsAriaLabel: 'Open settings',
|
|
214
|
+
// The gear menu: an Appearance switch, then the full settings dialog.
|
|
215
|
+
appearance: {
|
|
216
|
+
label: 'Appearance',
|
|
217
|
+
light: 'Light',
|
|
218
|
+
dark: 'Dark',
|
|
219
|
+
// Follow the operating system (no host colour scheme given).
|
|
220
|
+
system: 'System',
|
|
221
|
+
// Hint under the switch when the host's scheme is offered: its name comes
|
|
222
|
+
// from the host (`colorScheme.host.label`), `scheme` is Light or Dark.
|
|
223
|
+
hostHint: ({ label, scheme }) => `${label} · currently ${scheme}`,
|
|
224
|
+
systemHint: ({ scheme }) => `Following your system · currently ${scheme}`,
|
|
225
|
+
allSettings: 'All settings…'
|
|
226
|
+
},
|
|
195
227
|
// Default primary action labels rendered when no `navbarActions` prop is supplied.
|
|
196
228
|
save: 'Save',
|
|
197
229
|
export: 'Export',
|
|
198
230
|
import: 'Import',
|
|
199
231
|
workflowSettings: 'Workflow Settings',
|
|
232
|
+
// The ghost button in the navbar that opens the workflow-settings panel.
|
|
233
|
+
workflowButton: 'Workflow',
|
|
234
|
+
workflowButtonTitle: 'Workflow settings',
|
|
235
|
+
// Accessible name of the chevron that opens the Save menu.
|
|
236
|
+
moreActions: 'More actions',
|
|
200
237
|
// Right-sidebar workflow settings panel (distinct from the navbar action label above).
|
|
201
238
|
workflowSettingsPanelTitle: 'Workflow Settings',
|
|
202
239
|
workflowSettingsPanelSubtitle: 'Settings',
|
|
240
|
+
workflowSettingsGeneralTab: 'General',
|
|
203
241
|
workflowSettingsInterfaceTab: 'Interface',
|
|
204
242
|
workflowSettingsPlaygroundTab: 'Playground',
|
|
243
|
+
// The one muted line under the tabs: "6 nodes · 6 connections".
|
|
244
|
+
workflowCounts: ({ nodes, connections }) => `${nodes} ${nodes === 1 ? 'node' : 'nodes'} · ${connections} ${connections === 1 ? 'connection' : 'connections'}`,
|
|
205
245
|
nodeConfigDescription: 'Node configuration',
|
|
206
246
|
closeSettings: 'Close settings',
|
|
207
247
|
closeConfigModal: 'Close configuration modal',
|
|
@@ -210,8 +250,60 @@ export const defaultMessages = {
|
|
|
210
250
|
bottomPanel: {
|
|
211
251
|
console: 'Console',
|
|
212
252
|
chat: 'AI Assistant'
|
|
253
|
+
},
|
|
254
|
+
// The Edit | Test switch in the canvas toolbar.
|
|
255
|
+
editorMode: {
|
|
256
|
+
label: 'Editor mode',
|
|
257
|
+
edit: 'Edit',
|
|
258
|
+
test: 'Test',
|
|
259
|
+
// Tooltips: the shortcut toggles the mode.
|
|
260
|
+
editTitle: 'Edit the workflow (T)',
|
|
261
|
+
testTitle: 'Test the workflow (T)',
|
|
262
|
+
// Accessible name of the canvas toolbar that holds the switch.
|
|
263
|
+
toolbarLabel: 'Canvas',
|
|
264
|
+
// Title of the dot on Test while a run is going or waiting. Unused since
|
|
265
|
+
// the run pill replaced the dot; kept so existing overrides still type-check.
|
|
266
|
+
runActive: 'A test run is going or waiting'
|
|
213
267
|
}
|
|
214
268
|
},
|
|
269
|
+
// The node count (and cycle warning) beside the canvas zoom controls.
|
|
270
|
+
canvasStatus: {
|
|
271
|
+
nodeCount: ({ n }) => `${n} node${n !== 1 ? 's' : ''}`,
|
|
272
|
+
// Title / accessible name of the count: the full tally.
|
|
273
|
+
summary: ({ nodes, edges }) => `${nodes} node${nodes !== 1 ? 's' : ''} · ${edges} connection${edges !== 1 ? 's' : ''}`,
|
|
274
|
+
cycles: 'Cycles detected',
|
|
275
|
+
cyclesTitle: 'The workflow contains a cycle'
|
|
276
|
+
},
|
|
277
|
+
// "Tidy up": the layout sweep from the canvas button, the canvas menu and the node menu.
|
|
278
|
+
tidy: {
|
|
279
|
+
// The canvas button's accessible name, tooltip and the canvas menu entry.
|
|
280
|
+
button: 'Tidy up',
|
|
281
|
+
// Toast after a tidy that changed something. The body lists what improved, joined with " · ".
|
|
282
|
+
done: 'Tidied up',
|
|
283
|
+
straightened: ({ n }) => `${n} wire${n !== 1 ? 's' : ''} straightened`,
|
|
284
|
+
uncrossed: ({ n }) => `${n} crossing${n !== 1 ? 's' : ''} removed`,
|
|
285
|
+
unbackward: ({ n }) => `${n} wire${n !== 1 ? 's' : ''} turned to flow left to right`,
|
|
286
|
+
// `left` is what is still overlapping or too close afterwards (0 or absent: nothing).
|
|
287
|
+
unoverlapped: ({ n, left }) => `${n} overlap${n !== 1 ? 's' : ''} fixed${left ? `, ${left} left` : ''}`,
|
|
288
|
+
spaced: ({ n, left }) => `${n} pair${n !== 1 ? 's' : ''} of cards spaced out${left ? `, ${left} still too close` : ''}`,
|
|
289
|
+
// When something got worse: what it cost, one phrase each, joined with ", " into `tradeOff`.
|
|
290
|
+
moreOverlaps: ({ n }) => `${n} more overlap${n !== 1 ? 's' : ''}`,
|
|
291
|
+
moreSpacing: ({ n }) => `${n} more pair${n !== 1 ? 's' : ''} too close`,
|
|
292
|
+
morePassed: ({ n }) => `${n} more wire${n !== 1 ? 's' : ''} through a port`,
|
|
293
|
+
fewerStraight: ({ n }) => `${n} fewer straight wire${n !== 1 ? 's' : ''}`,
|
|
294
|
+
moreBackward: ({ n }) => `${n} more wire${n !== 1 ? 's' : ''} running right to left`,
|
|
295
|
+
moreCrossings: ({ n }) => `${n} more crossing${n !== 1 ? 's' : ''}`,
|
|
296
|
+
tradeOff: ({ what }) => `but ${what}`,
|
|
297
|
+
// Toast title when Tidy up refuses the graph (too many nodes).
|
|
298
|
+
tooLarge: 'Too many nodes to tidy at once',
|
|
299
|
+
unpassed: ({ n }) => `${n} wire${n !== 1 ? 's' : ''} no longer run${n !== 1 ? '' : 's'} through a port`,
|
|
300
|
+
undo: 'Undo',
|
|
301
|
+
// Toast when nothing would improve: nothing moved.
|
|
302
|
+
alreadyTidy: 'Layout is already tidy',
|
|
303
|
+
alreadyTidyBody: 'Nothing would improve, so nothing moved.',
|
|
304
|
+
nodeAlreadyTidy: 'Node is already tidy',
|
|
305
|
+
nodesAlreadyTidy: 'Nodes are already tidy'
|
|
306
|
+
},
|
|
215
307
|
contextMenu: {
|
|
216
308
|
// aria-label of the canvas context menu.
|
|
217
309
|
menuLabel: 'Canvas actions',
|
|
@@ -220,30 +312,219 @@ export const defaultMessages = {
|
|
|
220
312
|
deleteNodes: ({ n }) => `Delete ${n} node${n !== 1 ? 's' : ''}`,
|
|
221
313
|
addCaption: 'Add caption',
|
|
222
314
|
editText: 'Edit text',
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
315
|
+
duplicate: 'Duplicate',
|
|
316
|
+
swap: 'Swap node',
|
|
317
|
+
// Tidies the node(s): column, port order, straight wires, free space (`layout node beautify`).
|
|
318
|
+
tidyNode: 'Tidy node',
|
|
319
|
+
tidyNodes: ({ n }) => `Tidy ${n} nodes`,
|
|
320
|
+
// The pane menu's "Tidy up" (the whole graph).
|
|
321
|
+
tidyLayout: 'Tidy up',
|
|
322
|
+
// Hide / show ports of the node(s). These change which ports are exposed (as the Ports
|
|
323
|
+
// form's eye does), they do not just fold the card. The counted form is used when n > 0.
|
|
324
|
+
hideUnconnectedPorts: 'Hide unconnected ports',
|
|
325
|
+
hideUnconnectedPortsCount: ({ n }) => `Hide unconnected ports (${n})`,
|
|
326
|
+
showHiddenPorts: 'Show hidden ports',
|
|
327
|
+
showHiddenPortsCount: ({ n }) => `Show hidden ports (${n})`,
|
|
328
|
+
// A port's menu: wire it to a port on another node, from a picker.
|
|
329
|
+
connectTo: 'Connect to…',
|
|
330
|
+
// A port's menu: publish it in the workflow interface, rename or unpublish it.
|
|
331
|
+
exposeInput: 'Expose as workflow input…',
|
|
332
|
+
exposeOutput: 'Expose as workflow output…',
|
|
333
|
+
renameInterfaceEntry: 'Rename…',
|
|
334
|
+
removeInterfaceEntry: 'Remove from interface',
|
|
335
|
+
// Key hints shown beside an entry, as key glyphs.
|
|
336
|
+
shortcutEnter: '↵',
|
|
337
|
+
shortcutDelete: '⌫',
|
|
338
|
+
shortcutTidyNode: '⇧S',
|
|
339
|
+
shortcutTidyLayout: '⇧⌥T'
|
|
340
|
+
},
|
|
341
|
+
// The "Connect to…" picker opened from a port's menu.
|
|
342
|
+
connectTo: {
|
|
343
|
+
title: ({ port }) => `Connect ${port} to…`,
|
|
344
|
+
searchLabel: 'Search ports',
|
|
345
|
+
searchPlaceholder: 'Search by node, port or type…',
|
|
346
|
+
listLabelInput: 'Input ports to connect to',
|
|
347
|
+
listLabelOutput: 'Output ports to connect from',
|
|
348
|
+
groupCompatible: 'Compatible',
|
|
349
|
+
groupOther: 'Other types',
|
|
350
|
+
// A pair that already has a wire between exactly these two ports.
|
|
351
|
+
connected: 'Connected',
|
|
352
|
+
// An input that already receives a wire; connecting adds another.
|
|
353
|
+
wired: 'Wired',
|
|
354
|
+
noPorts: 'No other node has a port to connect to.',
|
|
355
|
+
noMatches: 'No ports match your search.',
|
|
356
|
+
popoverLabel: 'Connect to a port',
|
|
357
|
+
// Screen-reader text for rows that are only marked visually.
|
|
358
|
+
optionCurrent: 'current',
|
|
359
|
+
optionTaken: 'already taken'
|
|
360
|
+
},
|
|
361
|
+
// The run bar on the Edit canvas: shown only while a run exists.
|
|
362
|
+
runBar: {
|
|
363
|
+
label: 'Run',
|
|
364
|
+
running: 'Running',
|
|
365
|
+
waiting: 'Waiting',
|
|
366
|
+
failed: 'Failed',
|
|
367
|
+
done: 'Done',
|
|
368
|
+
stopped: 'Stopped',
|
|
369
|
+
stop: 'Stop',
|
|
370
|
+
stopLabel: 'Stop the run',
|
|
371
|
+
open: 'Open',
|
|
372
|
+
openLabel: 'Open the run in Test mode',
|
|
373
|
+
askAssistant: 'Ask the Assistant',
|
|
374
|
+
askAssistantLabel: 'Ask the Assistant about this run',
|
|
375
|
+
// Read out politely when the status changes.
|
|
376
|
+
announce: {
|
|
377
|
+
running: 'Run started.',
|
|
378
|
+
waiting: 'Run is waiting for you.',
|
|
379
|
+
failed: 'Run failed.',
|
|
380
|
+
done: 'Run finished.',
|
|
381
|
+
stopped: 'Run stopped.'
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
// The Doctor: the Problems indicator in the navbar, its popover and the badges on nodes.
|
|
385
|
+
doctor: {
|
|
386
|
+
trigger: ({ count }) => (count === 1 ? '1 problem' : `${count} problems`),
|
|
387
|
+
triggerTitle: 'Problems found in this workflow',
|
|
388
|
+
title: 'Problems',
|
|
389
|
+
listLabel: 'Problems in this workflow',
|
|
390
|
+
severity: { error: 'Error', warning: 'Warning', info: 'Note' },
|
|
391
|
+
// A node name in a problem row: it selects the node on the canvas.
|
|
392
|
+
selectNode: ({ name }) => `Select ${name} on the canvas`,
|
|
393
|
+
// The node badge's hover text and accessible name.
|
|
394
|
+
badge: ({ severity, count }) => count === 1 ? `${severity}: 1 problem` : `${severity}: ${count} problems`,
|
|
395
|
+
port: ({ port }) => `port ${port}`,
|
|
396
|
+
workflowWide: 'Whole workflow',
|
|
397
|
+
chooseLabel: 'Choose',
|
|
398
|
+
choosePlaceholder: 'Choose\u2026',
|
|
399
|
+
applying: 'Applying\u2026',
|
|
400
|
+
// Destructive remedies ask first, inline.
|
|
401
|
+
confirm: 'This removes something. Apply it?',
|
|
402
|
+
confirmApply: 'Apply',
|
|
403
|
+
confirmCancel: 'Cancel',
|
|
404
|
+
applyLabel: ({ remedy, problem }) => `${remedy}: ${problem}`,
|
|
405
|
+
notice: {
|
|
406
|
+
gone: 'That problem is already gone.',
|
|
407
|
+
changed: 'The workflow changed in the meantime. It was checked again.',
|
|
408
|
+
empty: 'That fix would change nothing.',
|
|
409
|
+
failed: ({ message }) => `The fix could not be applied. ${message}`
|
|
410
|
+
},
|
|
411
|
+
dismissNotice: 'Dismiss'
|
|
412
|
+
},
|
|
413
|
+
// The Runs list in Test mode: a popover from the canvas toolbar.
|
|
414
|
+
runsList: {
|
|
415
|
+
trigger: 'Runs',
|
|
416
|
+
triggerTitle: 'Past runs of this workflow',
|
|
417
|
+
// The trigger while a past run is shown: "Run · Failed · Yesterday 15:54".
|
|
418
|
+
shown: ({ status, time }) => `Run · ${status}${time ? ` · ${time}` : ''}`,
|
|
419
|
+
shownTitle: 'Run shown on the canvas',
|
|
420
|
+
clearShown: 'Stop showing this run',
|
|
421
|
+
title: 'Runs',
|
|
422
|
+
listLabel: 'Runs of this workflow',
|
|
423
|
+
loading: 'Loading runs…',
|
|
424
|
+
loadError: 'Could not load the runs.',
|
|
425
|
+
retry: 'Try again',
|
|
426
|
+
empty: 'No runs yet',
|
|
427
|
+
emptyHint: 'Runs of this workflow show up here.',
|
|
428
|
+
today: 'Today',
|
|
429
|
+
yesterday: 'Yesterday',
|
|
430
|
+
loadMore: 'Load more',
|
|
431
|
+
loadingMore: 'Loading…',
|
|
432
|
+
openAdmin: 'Open in admin',
|
|
433
|
+
openAdminRun: 'Open this run in admin',
|
|
434
|
+
// A row is a button: its name says what it opens.
|
|
435
|
+
openRun: ({ id, status, time }) => `Show run ${id} (${status}${time ? `, ${time}` : ''}) on the canvas`,
|
|
436
|
+
rerun: 'Re-run',
|
|
437
|
+
rerunLabel: ({ id }) => `Re-run run ${id}`,
|
|
438
|
+
cancel: 'Cancel',
|
|
439
|
+
cancelLabel: ({ id }) => `Cancel run ${id}`,
|
|
440
|
+
actionFailed: 'The action failed.',
|
|
441
|
+
status: {
|
|
442
|
+
pending: 'Queued',
|
|
443
|
+
running: 'Running',
|
|
444
|
+
paused: 'Paused',
|
|
445
|
+
interrupted: 'Waiting',
|
|
446
|
+
completed: 'Done',
|
|
447
|
+
failed: 'Failed',
|
|
448
|
+
cancelled: 'Cancelled'
|
|
449
|
+
},
|
|
450
|
+
jobsFailed: ({ n }) => `${n} failed`
|
|
451
|
+
},
|
|
452
|
+
// The inspector tabs of a node in Test mode, and the Last run tab.
|
|
453
|
+
nodeInspector: {
|
|
454
|
+
tabsLabel: 'Node tabs',
|
|
455
|
+
config: 'Config',
|
|
456
|
+
ports: 'Ports',
|
|
457
|
+
execution: 'Execution',
|
|
458
|
+
lastRun: 'Last run',
|
|
459
|
+
notRun: 'This node has not run in the run you are viewing.',
|
|
460
|
+
running: 'Running now…',
|
|
461
|
+
waiting: 'Waiting for a decision in the conversation.',
|
|
462
|
+
noRunShown: 'No run to show yet. Send a message or run the workflow.',
|
|
463
|
+
status: 'Status',
|
|
464
|
+
duration: 'Duration',
|
|
465
|
+
started: 'Started',
|
|
466
|
+
finished: 'Finished',
|
|
467
|
+
tokens: 'Tokens',
|
|
468
|
+
input: 'Input',
|
|
469
|
+
output: 'Output',
|
|
470
|
+
error: 'Error',
|
|
471
|
+
executions: ({ n }) => `Ran ${n} times in this run. Showing the last.`,
|
|
472
|
+
expand: 'Show all',
|
|
473
|
+
collapse: 'Show less',
|
|
474
|
+
askAssistant: 'Ask the Assistant about this run',
|
|
475
|
+
statuses: {
|
|
476
|
+
idle: 'Idle',
|
|
477
|
+
pending: 'Pending',
|
|
478
|
+
running: 'Running',
|
|
479
|
+
completed: 'Completed',
|
|
480
|
+
failed: 'Failed',
|
|
481
|
+
cancelled: 'Cancelled',
|
|
482
|
+
skipped: 'Skipped',
|
|
483
|
+
paused: 'Paused',
|
|
484
|
+
interrupted: 'Waiting'
|
|
485
|
+
}
|
|
226
486
|
},
|
|
227
487
|
layout: {
|
|
228
488
|
// Sidebar/main-region landmarks.
|
|
229
489
|
componentsSidebar: 'Components sidebar',
|
|
490
|
+
// Edit mode's left slot: Nodes | Assistant.
|
|
491
|
+
nodesTab: 'Nodes',
|
|
230
492
|
workflowCanvas: 'Workflow canvas',
|
|
231
493
|
executionLogs: 'Execution logs sidebar',
|
|
232
494
|
settingsCategories: 'Settings categories',
|
|
495
|
+
zoomLevelsTitle: 'Zoom levels',
|
|
496
|
+
zoomLevelsHelp: 'Draw simpler nodes as you zoom out. The full node shows above the first level that is on.',
|
|
233
497
|
searchComponents: 'Search components',
|
|
234
498
|
commandConsole: 'Command Console (`)',
|
|
499
|
+
// The slim strip along the canvas's bottom edge that opens the Console.
|
|
500
|
+
consoleStrip: 'Console',
|
|
501
|
+
consoleStripHint: 'Press ` to toggle the Console',
|
|
502
|
+
consoleExamplesLabel: 'Try',
|
|
235
503
|
backToConfiguration: 'Back to configuration',
|
|
236
504
|
// Resize handle labels — keyboard users tab to these.
|
|
237
505
|
resizeLeftSidebar: 'Resize left sidebar',
|
|
238
506
|
resizeRightSidebar: 'Resize right sidebar',
|
|
507
|
+
resizeWorkflowSheet: 'Resize workflow settings',
|
|
239
508
|
resizeBottomPanel: 'Resize bottom panel',
|
|
240
509
|
expandSidebar: 'Expand sidebar',
|
|
241
510
|
collapseSidebar: 'Collapse sidebar',
|
|
511
|
+
// Test mode on a narrow screen: the Playground is a drawer over the canvas.
|
|
512
|
+
showPlayground: 'Show Playground',
|
|
513
|
+
hidePlayground: 'Hide Playground',
|
|
514
|
+
// Test mode: the node library as a popover (N).
|
|
515
|
+
nodeLibrary: 'Node library',
|
|
242
516
|
closePlaygroundModal: 'Close playground modal',
|
|
243
517
|
closeLogsSidebar: 'Close logs sidebar',
|
|
244
518
|
closeConfigPanel: 'Close panel',
|
|
245
519
|
closeConsole: 'Close console',
|
|
246
520
|
swapNode: 'Swap node',
|
|
521
|
+
swapNodeTitle: 'Swap node type',
|
|
522
|
+
popOutConfig: 'Pop out configuration',
|
|
523
|
+
popOutConfigTitle: 'Pop out to a larger window',
|
|
524
|
+
dockConfig: 'Dock configuration back to sidebar',
|
|
525
|
+
dockConfigTitle: 'Dock back to sidebar',
|
|
526
|
+
dockConfigButton: 'Dock back to sidebar',
|
|
527
|
+
configPoppedOut: 'Configuration is open in a larger window.',
|
|
247
528
|
backToNodeSelection: 'Back to node selection',
|
|
248
529
|
loadSession: ({ name }) => `Load session: ${name}`
|
|
249
530
|
},
|
|
@@ -253,21 +534,105 @@ export const defaultMessages = {
|
|
|
253
534
|
requiresBackend: 'AI Assistant requires backend configuration',
|
|
254
535
|
loadWorkflow: 'Load a workflow to start chatting',
|
|
255
536
|
helpBuild: 'Ask the AI to help build your workflow',
|
|
256
|
-
|
|
537
|
+
// Empty-state shortcuts: the chip label is also the prompt sent.
|
|
538
|
+
suggestionsLabel: 'Suggestions',
|
|
539
|
+
suggestions: ['Explain this workflow', 'Add error handling', 'Summarise what this does'],
|
|
540
|
+
placeholder: 'Describe a change…',
|
|
257
541
|
send: 'Send message',
|
|
542
|
+
// The run attached to the Assistant, above the composer.
|
|
543
|
+
attach: {
|
|
544
|
+
add: 'Attach a run',
|
|
545
|
+
chipLabel: 'Attached run',
|
|
546
|
+
detach: 'Remove the attached run',
|
|
547
|
+
listLabel: 'Runs of this test session',
|
|
548
|
+
empty: 'No runs yet. Run the workflow in Test mode first.',
|
|
549
|
+
unavailable: 'This server does not list runs.',
|
|
550
|
+
run: ({ id }) => `Run #${id}`,
|
|
551
|
+
failed: 'failed',
|
|
552
|
+
stale: 'older version',
|
|
553
|
+
staleTitle: 'The workflow has changed since this run.',
|
|
554
|
+
statuses: {
|
|
555
|
+
pending: 'running',
|
|
556
|
+
running: 'running',
|
|
557
|
+
waiting: 'waiting',
|
|
558
|
+
interrupted: 'waiting',
|
|
559
|
+
done: 'done',
|
|
560
|
+
completed: 'done',
|
|
561
|
+
failed: 'failed',
|
|
562
|
+
stopped: 'stopped',
|
|
563
|
+
cancelled: 'stopped',
|
|
564
|
+
unknown: 'unknown'
|
|
565
|
+
}
|
|
566
|
+
},
|
|
258
567
|
autoRetry: ({ attempt, max }) => `Auto-retrying (attempt ${attempt}/${max})…`,
|
|
259
568
|
// Tool-calling turns (tools mode).
|
|
260
569
|
tools: {
|
|
261
|
-
/**
|
|
570
|
+
/** A tool's label while it runs and once it is done, by tool id. */
|
|
571
|
+
verbs: {
|
|
572
|
+
list_nodes: { running: 'Reading workflow', done: 'Read workflow' },
|
|
573
|
+
list_edges: { running: 'Reading connections', done: 'Read connections' },
|
|
574
|
+
list_types: { running: 'Listing node types', done: 'Listed node types' },
|
|
575
|
+
describe_type: { running: 'Reading node type', done: 'Read node type' },
|
|
576
|
+
search_types: { running: 'Searching node types', done: 'Searched node types' },
|
|
577
|
+
get_config: { running: 'Reading config', done: 'Read config' },
|
|
578
|
+
info: { running: 'Reading workflow info', done: 'Read workflow info' },
|
|
579
|
+
view: { running: 'Viewing', done: 'Viewed' },
|
|
580
|
+
add_node: { running: 'Adding node', done: 'Added node' },
|
|
581
|
+
delete_node: { running: 'Deleting node', done: 'Deleted node' },
|
|
582
|
+
rename_node: { running: 'Renaming node', done: 'Renamed node' },
|
|
583
|
+
move_node: { running: 'Moving node', done: 'Moved node' },
|
|
584
|
+
swap_node: { running: 'Swapping node', done: 'Swapped node' },
|
|
585
|
+
set_config: { running: 'Setting config', done: 'Set config' },
|
|
586
|
+
connect: { running: 'Connecting', done: 'Connected' },
|
|
587
|
+
disconnect_ports: { running: 'Disconnecting', done: 'Disconnected' },
|
|
588
|
+
disconnect_node: { running: 'Disconnecting', done: 'Disconnected' },
|
|
589
|
+
undo: { running: 'Undoing', done: 'Undid' },
|
|
590
|
+
redo: { running: 'Redoing', done: 'Redid' },
|
|
591
|
+
auto_layout: { running: 'Arranging layout', done: 'Arranged layout' },
|
|
592
|
+
beautify_layout: { running: 'Tidying layout', done: 'Tidied layout' },
|
|
593
|
+
inspect_node_layout: { running: 'Inspecting layout', done: 'Inspected layout' },
|
|
594
|
+
beautify_node: { running: 'Tidying node', done: 'Tidied node' },
|
|
595
|
+
batch: { running: 'Applying changes', done: 'Applied changes' },
|
|
596
|
+
save: { running: 'Saving', done: 'Saved' },
|
|
597
|
+
run: { running: 'Starting run', done: 'Started run' },
|
|
598
|
+
run_status: { running: 'Checking run', done: 'Checked run' }
|
|
599
|
+
},
|
|
600
|
+
/** A tool with no label of its own. */
|
|
601
|
+
verbFallback: ({ tool, phase }) => phase === 'running' ? `Running ${tool}` : `Ran ${tool}`,
|
|
602
|
+
/**
|
|
603
|
+
* @deprecated Not used since the step rows (`verbs`, `used`); kept so 2.11.0 overrides
|
|
604
|
+
* keep type-checking. Removed in 3.0.
|
|
605
|
+
*/
|
|
262
606
|
reading: ({ tool, detail }) => detail ? `Reading: ${tool} ${detail}` : `Reading: ${tool}`,
|
|
263
|
-
|
|
264
|
-
/** Title of the approval dialog when the assistant, not a browser agent, asks. */
|
|
265
|
-
confirmTitle: ({ name }) => `The assistant wants to change “${name}”`,
|
|
266
|
-
/** A read that completed: `Read: describe_type http_request`. */
|
|
607
|
+
/** @deprecated Not used (see `reading`). Removed in 3.0. */
|
|
267
608
|
read: ({ tool, detail }) => detail ? `Read: ${tool} ${detail}` : `Read: ${tool}`,
|
|
609
|
+
/** @deprecated Not used (see `reading`). Removed in 3.0. */
|
|
268
610
|
applied: ({ tool, detail }) => detail ? `Applied: ${detail}` : `Done: ${tool}`,
|
|
269
|
-
|
|
270
|
-
|
|
611
|
+
/** The row while the reply is still coming. */
|
|
612
|
+
thinking: 'Thinking…',
|
|
613
|
+
/**
|
|
614
|
+
* The row of a call that waits on the person; the call's own label follows it.
|
|
615
|
+
* A 2.11.0 override written as `({ tool }) => string` is still honoured (deprecated; 3.0
|
|
616
|
+
* takes strings only).
|
|
617
|
+
*/
|
|
618
|
+
awaitingApproval: 'Waiting for your approval',
|
|
619
|
+
/** Title of the approval dialog when the assistant, not a browser agent, asks. */
|
|
620
|
+
confirmTitle: ({ name }) => `The assistant wants to change “${name}”`,
|
|
621
|
+
/**
|
|
622
|
+
* A call the person turned down; its action follows. A 2.11.0 override written as
|
|
623
|
+
* `({ tool }) => string` is still honoured (deprecated; 3.0 takes strings only).
|
|
624
|
+
*/
|
|
625
|
+
rejected: 'Rejected',
|
|
626
|
+
/** A call that failed: `Adding node failed`, the error follows. */
|
|
627
|
+
failed: ({ action }) => `${action} failed`,
|
|
628
|
+
/** The fold of a finished turn: `Used 4 tools · 1.6 s`, `Used 4 tools · 1 failed · 1.6 s`. */
|
|
629
|
+
used: ({ count, problems, duration }) => [
|
|
630
|
+
`Used ${count} ${count === 1 ? 'tool' : 'tools'}`,
|
|
631
|
+
problems > 0 ? `${problems} failed` : '',
|
|
632
|
+
duration
|
|
633
|
+
]
|
|
634
|
+
.filter(Boolean)
|
|
635
|
+
.join(' · '),
|
|
271
636
|
rounds: ({ count }) => `${count} ${count === 1 ? 'tool round' : 'tool rounds'}`,
|
|
272
637
|
legacyFallback: 'This backend does not support tool-calling turns; using the text mode for this session.',
|
|
273
638
|
aborted: ({ reason }) => `Stopped: ${reason}`,
|
|
@@ -301,8 +666,19 @@ export const defaultMessages = {
|
|
|
301
666
|
// The form a workflow's interface inputs render as (inputs without a chat
|
|
302
667
|
// turn; the session fills the others).
|
|
303
668
|
inputForm: {
|
|
304
|
-
title: '
|
|
305
|
-
|
|
669
|
+
title: 'Inputs',
|
|
670
|
+
fillFromLast: 'Fill from last run',
|
|
671
|
+
fillFromLastTitle: 'Fill the inputs with what the last run was started with',
|
|
672
|
+
runsTitle: 'Earlier runs',
|
|
673
|
+
runsLabel: 'Earlier runs of this session',
|
|
674
|
+
useRun: ({ summary }) => `Fill the inputs with: ${summary}`,
|
|
675
|
+
folded: 'Inputs',
|
|
676
|
+
foldedCount: ({ filled, total }) => `${filled} of ${total} filled`,
|
|
677
|
+
foldedShow: 'Show the inputs',
|
|
678
|
+
foldedHide: 'Hide the inputs',
|
|
679
|
+
jsonHint: 'JSON',
|
|
680
|
+
missingRequired: ({ names }) => `Fill in the required inputs: ${names}`,
|
|
681
|
+
invalidJson: ({ names }) => `Not valid JSON for its type: ${names}`
|
|
306
682
|
},
|
|
307
683
|
states: {
|
|
308
684
|
newSessionTitle: 'New session',
|
|
@@ -373,8 +749,24 @@ export const defaultMessages = {
|
|
|
373
749
|
send: 'Send',
|
|
374
750
|
runTitle: 'Run workflow',
|
|
375
751
|
runWaitingTitle: 'Waiting for workflow to be ready...',
|
|
376
|
-
run: 'Run'
|
|
752
|
+
run: 'Run',
|
|
753
|
+
// The editor's Playground while the workflow has unsaved edits: the
|
|
754
|
+
// action saves first, then goes.
|
|
755
|
+
saveAndSend: 'Save & send',
|
|
756
|
+
saveAndSendTitle: 'Save the workflow, then send the message',
|
|
757
|
+
// Under the composer while the workflow has unsaved edits.
|
|
758
|
+
saveFirstHint: 'Unsaved edits: sending saves the workflow first.',
|
|
759
|
+
saveAndRun: 'Save & run',
|
|
760
|
+
saveAndRunTitle: 'Save the workflow, then run it',
|
|
761
|
+
saving: 'Saving…'
|
|
377
762
|
},
|
|
763
|
+
// Shown in the conversation where the workflow was saved (a new version).
|
|
764
|
+
versionDivider: 'Saved — new version',
|
|
765
|
+
// Save & send, when the save did not happen: nothing is sent.
|
|
766
|
+
saveFailed: ({ message }) => `Not sent: the workflow was not saved. ${message}`,
|
|
767
|
+
saveNotDone: 'Not sent: the workflow was not saved.',
|
|
768
|
+
// A run or test session needs a saved workflow and there is none yet.
|
|
769
|
+
saveFirst: 'Save the workflow first: a test session needs a saved workflow.',
|
|
378
770
|
// Message author labels.
|
|
379
771
|
roles: {
|
|
380
772
|
you: 'You',
|
|
@@ -393,13 +785,42 @@ export const defaultMessages = {
|
|
|
393
785
|
interrupt: 'Interrupt',
|
|
394
786
|
postedBy: ({ origin }) => `Posted by: ${origin}`
|
|
395
787
|
},
|
|
396
|
-
|
|
788
|
+
/** @deprecated Unused since the steps row; log lines fold into `steps`. */
|
|
397
789
|
logGroup: {
|
|
398
790
|
summary: ({ count }) => `${count} log lines`
|
|
399
791
|
},
|
|
792
|
+
// One row per turn that folds the node steps: "4 steps · 46 ms · 1 waiting".
|
|
793
|
+
steps: {
|
|
794
|
+
summary: ({ count }) => `${count} ${count === 1 ? 'step' : 'steps'}`,
|
|
795
|
+
waiting: ({ count }) => `${count} waiting`,
|
|
796
|
+
failed: ({ count }) => `${count} failed`,
|
|
797
|
+
tableLabel: 'Steps of this turn',
|
|
798
|
+
columnNode: 'Node',
|
|
799
|
+
columnStatus: 'Status',
|
|
800
|
+
columnCount: 'Runs',
|
|
801
|
+
columnDuration: 'Time',
|
|
802
|
+
repeated: ({ count }) => `Ran ${count} times`,
|
|
803
|
+
pendingNode: 'Waiting for input',
|
|
804
|
+
// Short names for the table's status column (the pill's own are long).
|
|
805
|
+
status: {
|
|
806
|
+
running: 'Running',
|
|
807
|
+
completed: 'Done',
|
|
808
|
+
waiting: 'Waiting',
|
|
809
|
+
failed: 'Failed',
|
|
810
|
+
skipped: 'Skipped'
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
// A turn the person started without typing (Run on a form or run-only
|
|
814
|
+
// workflow): what its otherwise empty bubble says instead.
|
|
815
|
+
emptyTurn: {
|
|
816
|
+
run: 'Started a run',
|
|
817
|
+
withInputs: ({ names }) => `Ran with ${names}`
|
|
818
|
+
},
|
|
400
819
|
messageTooltips: {
|
|
401
820
|
nodeId: ({ id }) => `Node ID: ${id}`,
|
|
402
|
-
executionDuration: 'Execution duration'
|
|
821
|
+
executionDuration: 'Execution duration',
|
|
822
|
+
// The node link above a reply: jumps to the node on request.
|
|
823
|
+
showNodeLastRun: ({ label }) => `Show ${label} and its last run`
|
|
403
824
|
},
|
|
404
825
|
// ARIA labels for message annotations. The hierarchy trail names the
|
|
405
826
|
// actual path so AT users hear "From: ForEach Loop / Greeter" rather
|
|
@@ -421,13 +842,47 @@ export const defaultMessages = {
|
|
|
421
842
|
daysAgo: ({ n }) => `${n}d ago`
|
|
422
843
|
},
|
|
423
844
|
executionConsole: {
|
|
845
|
+
/** @deprecated The console no longer draws a header row. */
|
|
424
846
|
header: 'Execution',
|
|
425
847
|
noExecutionTitle: 'No execution yet',
|
|
426
848
|
noExecutionText: 'Create or select a session below, then run your workflow to see execution output here.',
|
|
849
|
+
/** @deprecated The "Ready to run" state is gone; an empty session shows nothing. */
|
|
427
850
|
readyTitle: 'Ready to run',
|
|
851
|
+
/** @deprecated See `readyTitle`. */
|
|
428
852
|
readyText: 'Use the controls below to start the workflow. Output and interactive prompts will appear here.',
|
|
429
853
|
newSession: 'New session'
|
|
430
854
|
},
|
|
855
|
+
// The docked Playground's header (Test mode): the history chip and the
|
|
856
|
+
// overflow menu. One line under each action says when it is needed.
|
|
857
|
+
header: {
|
|
858
|
+
history: 'Conversation and run history',
|
|
859
|
+
noConversation: 'New conversation',
|
|
860
|
+
conversations: 'Conversations',
|
|
861
|
+
runs: 'Runs',
|
|
862
|
+
newConversation: 'New conversation',
|
|
863
|
+
newConversationHint: 'The current one stays on the sessions page',
|
|
864
|
+
noRuns: 'No runs yet',
|
|
865
|
+
noRunsHint: 'Send a message or press Run to make one',
|
|
866
|
+
run: ({ number }) => `Run ${number}`,
|
|
867
|
+
staleRun: 'older version',
|
|
868
|
+
currentRun: 'shown',
|
|
869
|
+
moreActions: 'More actions',
|
|
870
|
+
showSteps: 'Expand steps by default',
|
|
871
|
+
showStepsHint: 'Each turn shows its steps open instead of one folded row',
|
|
872
|
+
jsonView: 'JSON view',
|
|
873
|
+
jsonViewHint: 'Edit the inputs as JSON',
|
|
874
|
+
refresh: 'Refresh',
|
|
875
|
+
refreshHint: 'If a run looks stuck. It also refreshes on focus.',
|
|
876
|
+
reset: 'Reset stuck session',
|
|
877
|
+
resetHint: "Clears the session's state when a run cannot continue",
|
|
878
|
+
playgroundSettings: 'Playground settings',
|
|
879
|
+
playgroundSettingsHint: 'What the chat fills and what it prints'
|
|
880
|
+
},
|
|
881
|
+
jsonInput: {
|
|
882
|
+
label: 'Inputs as JSON',
|
|
883
|
+
invalid: 'Not valid JSON: the form keeps its last good values.',
|
|
884
|
+
notObject: 'The inputs must be a JSON object.'
|
|
885
|
+
},
|
|
431
886
|
controlPanel: {
|
|
432
887
|
sessionsLabel: 'Session',
|
|
433
888
|
noSession: 'No session',
|
|
@@ -438,6 +893,8 @@ export const defaultMessages = {
|
|
|
438
893
|
hidePipeline: 'Hide pipeline',
|
|
439
894
|
refresh: 'Refresh',
|
|
440
895
|
refreshTitle: 'Refresh status',
|
|
896
|
+
// No longer shown (the docked header's menu has `header.playgroundSettings`); kept so host overrides still type-check.
|
|
897
|
+
openPlaygroundSettings: 'Playground settings',
|
|
441
898
|
logs: 'Logs',
|
|
442
899
|
showLogs: 'Show log messages',
|
|
443
900
|
hideLogs: 'Hide log messages',
|
|
@@ -446,6 +903,10 @@ export const defaultMessages = {
|
|
|
446
903
|
}
|
|
447
904
|
},
|
|
448
905
|
nodes: {
|
|
906
|
+
// Tooltip and accessible name of the gear on a node card.
|
|
907
|
+
configure: 'Configure node',
|
|
908
|
+
configureTool: 'Configure tool',
|
|
909
|
+
configureIdea: 'Configure idea',
|
|
449
910
|
notes: {
|
|
450
911
|
placeholder: 'Add your notes here...',
|
|
451
912
|
types: {
|
|
@@ -474,7 +935,13 @@ export const defaultMessages = {
|
|
|
474
935
|
ideaNode: ({ title }) => `Idea node: ${title}`,
|
|
475
936
|
connectInputPort: ({ name }) => `Connect to ${name} input port`,
|
|
476
937
|
connectOutputPort: ({ name }) => `Connect from ${name} output port`,
|
|
477
|
-
connectBranch: ({ name }) => `Connect from ${name} branch
|
|
938
|
+
connectBranch: ({ name }) => `Connect from ${name} branch`,
|
|
939
|
+
// Node card tooltips: the title popover and the port tooltips.
|
|
940
|
+
portRequired: 'Required',
|
|
941
|
+
execIn: 'Runs when the previous node completes',
|
|
942
|
+
execOut: 'Fires when this node completes',
|
|
943
|
+
configureHint: 'Double-click to configure',
|
|
944
|
+
publishedAs: ({ name }) => `Published as: ${name}`
|
|
478
945
|
}
|
|
479
946
|
},
|
|
480
947
|
status: {
|
|
@@ -493,20 +960,45 @@ export const defaultMessages = {
|
|
|
493
960
|
// resolved status label (typically from `getStatusLabel()` so it stays
|
|
494
961
|
// consistent with status icons elsewhere); the wrapper text is localized.
|
|
495
962
|
overlay: {
|
|
496
|
-
tooltip: ({ status
|
|
963
|
+
tooltip: ({ status }) => status,
|
|
497
964
|
ariaLabel: ({ status }) => `Node execution status: ${status}`,
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
errorLabel: 'Error:',
|
|
503
|
-
historyLabel: 'Runs:'
|
|
965
|
+
// Hover detail on the status pill: how many runs sit behind it.
|
|
966
|
+
runs: ({ count }) => `${count} runs`,
|
|
967
|
+
edited: 'edited',
|
|
968
|
+
editedTooltip: 'Changed since this run started. The result may be out of date.'
|
|
504
969
|
}
|
|
505
970
|
},
|
|
506
971
|
// WorkflowInterfaceEditor — the canonical panel for authoring a workflow's
|
|
507
972
|
// public contract (`Workflow.interface`). See `.claude/plans/workflow-interface.md`.
|
|
508
973
|
workflowInterface: {
|
|
974
|
+
// The tag drawn beside a published port, on the canvas and in the Ports tab.
|
|
975
|
+
tagAria: ({ id, type, direction }) => `Workflow ${direction} ${id}, ${type}`,
|
|
976
|
+
tagTitle: ({ id, type }) => `${id} · ${type}`,
|
|
977
|
+
// The popover on a hovered tag: what the name means and where it goes.
|
|
978
|
+
tagTipInput: 'Workflow input',
|
|
979
|
+
tagTipOutput: 'Workflow output',
|
|
980
|
+
tagTipReserved: 'Trigger event',
|
|
981
|
+
tagTipInputBody: ({ port, node }) => `Whoever runs this workflow (the API, a Run workflow node, an agent or the Playground) passes a value under this name. It fills ${port} on ${node}.`,
|
|
982
|
+
tagTipOutputBody: ({ port, node }) => `Whoever runs this workflow gets ${port} from ${node} back under this name.`,
|
|
983
|
+
tagTipReservedBody: 'Holds what happened when this trigger fires: the event fills this input and the run starts here. Callers cannot see or supply it.',
|
|
984
|
+
tagTipRequired: 'Required',
|
|
985
|
+
tagTipMismatch: ({ declared, port }) => `Declared ${declared}, but the port is ${port}`,
|
|
986
|
+
tagTipEditHint: 'Double-click to rename · right-click for more',
|
|
987
|
+
tagTipReservedHint: 'Derived from the trigger node · read-only',
|
|
988
|
+
// The read-only tag beside a trigger's event input (derived, MAN-26).
|
|
989
|
+
reservedTagAria: ({ id, type }) => `Trigger event input ${id}, ${type}, read-only`,
|
|
990
|
+
tagNameLabel: 'Interface name',
|
|
991
|
+
tagNameHint: 'Enter saves · Esc cancels',
|
|
992
|
+
tagIdEmpty: 'Give it a name.',
|
|
993
|
+
tagIdDuplicate: ({ id, direction }) => `A workflow ${direction} named "${id}" already exists.`,
|
|
994
|
+
exposeInputPort: ({ port }) => `Expose ${port} as workflow input…`,
|
|
995
|
+
exposeOutputPort: ({ port }) => `Expose ${port} as workflow output…`,
|
|
996
|
+
renameTag: ({ id }) => `Rename interface entry "${id}"`,
|
|
997
|
+
removeTag: ({ id }) => `Remove "${id}" from the interface`,
|
|
998
|
+
portActions: ({ port }) => `Interface actions for ${port}`,
|
|
509
999
|
inputsHeading: 'Inputs',
|
|
1000
|
+
reservedInputsHeading: 'Trigger events',
|
|
1001
|
+
reservedInputsHint: 'Each trigger fills its own event input when it fires. Derived from the trigger nodes; callers cannot supply them.',
|
|
510
1002
|
outputsHeading: 'Outputs',
|
|
511
1003
|
addInput: 'Add input',
|
|
512
1004
|
addOutput: 'Add output',
|
|
@@ -535,6 +1027,11 @@ export const defaultMessages = {
|
|
|
535
1027
|
pullFromPort: 'Pull from port',
|
|
536
1028
|
pullFromPortTitle: "Fill name, data type, description, required and default from the bound port's own declaration",
|
|
537
1029
|
removeEntry: ({ id }) => `Remove interface entry "${id}"`,
|
|
1030
|
+
// The row's overflow menu: its accessible name and the short item labels.
|
|
1031
|
+
entryActions: ({ id }) => `Actions for "${id}"`,
|
|
1032
|
+
menuMoveUp: 'Move up',
|
|
1033
|
+
menuMoveDown: 'Move down',
|
|
1034
|
+
menuRemove: 'Remove',
|
|
538
1035
|
moveUp: ({ id }) => `Move "${id}" up`,
|
|
539
1036
|
moveDown: ({ id }) => `Move "${id}" down`,
|
|
540
1037
|
metaDisclosure: 'Server metadata (read-only)',
|
|
@@ -624,6 +1121,27 @@ export const defaultMessages = {
|
|
|
624
1121
|
},
|
|
625
1122
|
// The confirm dialog the WebMCP adapter shows before a browser agent's change runs.
|
|
626
1123
|
webmcp: {
|
|
1124
|
+
// The desktop bridge: a button beside the canvas zoom controls and its popover, for a
|
|
1125
|
+
// browser without WebMCP of its own. Offered only when the site turned the bridge on.
|
|
1126
|
+
bridge: {
|
|
1127
|
+
trigger: 'Desktop bridge',
|
|
1128
|
+
// Hover text of the button: the name and where the connection stands.
|
|
1129
|
+
triggerTitle: ({ status }) => `Desktop bridge: ${status}`,
|
|
1130
|
+
title: 'Desktop bridge',
|
|
1131
|
+
explainer: 'Lets an AI app on this computer see and edit this workflow.',
|
|
1132
|
+
status: {
|
|
1133
|
+
disconnected: 'Not connected',
|
|
1134
|
+
connecting: 'Connecting\u2026',
|
|
1135
|
+
connected: 'Connected',
|
|
1136
|
+
error: 'Connection failed'
|
|
1137
|
+
},
|
|
1138
|
+
tokenLabel: 'Connection token',
|
|
1139
|
+
tokenPlaceholder: 'Paste the token from the bridge',
|
|
1140
|
+
connect: 'Connect',
|
|
1141
|
+
disconnect: 'Disconnect',
|
|
1142
|
+
toolsOffered: ({ count }) => count === 1 ? '1 tool offered' : `${count} tools offered`,
|
|
1143
|
+
toolsLabel: 'Tools offered to the connected app'
|
|
1144
|
+
},
|
|
627
1145
|
confirmTitle: ({ name }) => `A browser agent wants to change “${name}”`,
|
|
628
1146
|
confirmCount: ({ count }) => `${count === 1 ? '1 change' : `${count} changes`} — applied together, undone together.`,
|
|
629
1147
|
reject: 'Reject',
|
|
@@ -642,5 +1160,40 @@ export const defaultMessages = {
|
|
|
642
1160
|
/** `{count} changes — adds 2 nodes, connects 1 edge. Applied together, undone together.` */
|
|
643
1161
|
batchSummary: ({ count, parts }) => `${count} changes — ${parts}. Applied together, undone together.`,
|
|
644
1162
|
rememberEdits: 'Apply further edits from any agent on this page without asking, until this page is closed'
|
|
1163
|
+
},
|
|
1164
|
+
// Design-system primitives (components/primitives). Defaults only; every
|
|
1165
|
+
// primitive also accepts the visible text as a prop.
|
|
1166
|
+
statusPill: {
|
|
1167
|
+
running: 'Running',
|
|
1168
|
+
completed: 'Completed',
|
|
1169
|
+
waiting: 'Waiting for you',
|
|
1170
|
+
failed: 'Failed',
|
|
1171
|
+
skipped: 'Skipped'
|
|
1172
|
+
},
|
|
1173
|
+
composer: {
|
|
1174
|
+
placeholder: 'Type a message',
|
|
1175
|
+
send: 'Send',
|
|
1176
|
+
stop: 'Stop',
|
|
1177
|
+
attach: 'Attach'
|
|
1178
|
+
},
|
|
1179
|
+
notice: {
|
|
1180
|
+
dismiss: 'Dismiss'
|
|
1181
|
+
},
|
|
1182
|
+
field: {
|
|
1183
|
+
required: 'required',
|
|
1184
|
+
examples: 'Examples'
|
|
1185
|
+
},
|
|
1186
|
+
menu: {
|
|
1187
|
+
moreActions: 'More actions'
|
|
1188
|
+
},
|
|
1189
|
+
// The searchable rendering of the Select primitive (long or grouped lists).
|
|
1190
|
+
select: {
|
|
1191
|
+
searchPlaceholder: 'Search…',
|
|
1192
|
+
noMatches: 'No matches',
|
|
1193
|
+
// "3 of 42" — what the filter leaves, out of everything listed.
|
|
1194
|
+
count: ({ shown, total }) => `${shown} of ${total}`,
|
|
1195
|
+
hintMove: 'move',
|
|
1196
|
+
hintChoose: 'choose',
|
|
1197
|
+
hintClose: 'close'
|
|
645
1198
|
}
|
|
646
1199
|
};
|