@huanban/rulego-editor-core 1.4.2 → 2.0.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.
Files changed (157) hide show
  1. package/README.md +20 -8
  2. package/dist/ai/ai-chat-options.d.ts +12 -0
  3. package/dist/api/AIAssistantAPI.d.ts +29 -0
  4. package/dist/api/AIManager.d.ts +7 -1
  5. package/dist/api/ApiProvider.d.ts +17 -4
  6. package/dist/api/DebugSocketClient.d.ts +2 -0
  7. package/dist/api/GlobalConfigAPI.d.ts +35 -0
  8. package/dist/api/IoTPointTemplateAPI.d.ts +32 -0
  9. package/dist/api/MarketplaceAPI.d.ts +39 -0
  10. package/dist/api/RuleChainAPI.d.ts +23 -4
  11. package/dist/api/RuleChainVersionsAPI.d.ts +28 -0
  12. package/dist/api/SkillsAPI.d.ts +31 -0
  13. package/dist/api/UserAPI.d.ts +39 -0
  14. package/dist/api/extended-api-shared.d.ts +25 -0
  15. package/dist/api/index.d.ts +19 -2
  16. package/dist/api/public-api.test-d.d.ts +87 -0
  17. package/dist/api/response-utils.d.ts +1 -0
  18. package/dist/api/types.d.ts +86 -14
  19. package/dist/chunks/editor-core-api-BQiYFuIO.js +1157 -0
  20. package/dist/chunks/editor-core-canvas-nodes-BE9eN51s.js +6921 -0
  21. package/dist/chunks/editor-core-code-editor-DFm5Owtv.js +660 -0
  22. package/dist/chunks/{editor-core-default-components-BjF65lar.js → editor-core-default-components-BsNP8ma1.js} +98 -98
  23. package/dist/chunks/editor-core-dialogs-D9YHvzys.js +12009 -0
  24. package/dist/chunks/{editor-core-locales-i6o28vm2.js → editor-core-locales-CsqTh7Wh.js} +1723 -11
  25. package/dist/chunks/{editor-core-node-patches-BJTT3TuX.js → editor-core-node-patches-Dbi8XYxu.js} +633 -184
  26. package/dist/chunks/{editor-core-node-views-BOaPVdmN.js → editor-core-node-views-C8FQYC3E.js} +39 -29
  27. package/dist/chunks/editor-core-property-drawers-Bqmp9B_J.js +9562 -0
  28. package/dist/chunks/editor-core-settings-DcGCJSc7.js +4161 -0
  29. package/dist/chunks/editor-core-standalone-C7pzm8ZB.js +10013 -0
  30. package/dist/chunks/{editor-core-styles-DFhXz0vB.js → editor-core-styles-CwjFPfAo.js} +967 -510
  31. package/dist/chunks/vendor-highlight-acC2fLd8.js +5868 -0
  32. package/dist/chunks/vendor-logicflow-core-runtime-DpsWXOGl.js +4 -0
  33. package/dist/chunks/vendor-logicflow-shared-C_kIdBKO.js +4 -0
  34. package/dist/core/ActionRegistry.d.ts +4 -2
  35. package/dist/core/DataAdapter.d.ts +17 -1
  36. package/dist/core/DialogProvider.d.ts +33 -0
  37. package/dist/core/EditorCore.d.ts +16 -3
  38. package/dist/core/FieldCapabilityRegistry.d.ts +4 -1
  39. package/dist/core/FieldChangeRegistry.d.ts +3 -1
  40. package/dist/core/I18nManager.d.ts +1 -1
  41. package/dist/core/IdentityProvider.d.ts +32 -0
  42. package/dist/core/OptionSourceRegistry.d.ts +4 -1
  43. package/dist/core/PropertyControlRegistry.d.ts +29 -0
  44. package/dist/core/ThemeManager.d.ts +7 -0
  45. package/dist/core/anchored-popover.d.ts +16 -0
  46. package/dist/core/assistant-dsl.d.ts +18 -0
  47. package/dist/core/business-log-config.d.ts +18 -0
  48. package/dist/core/clean-snapshot.d.ts +14 -0
  49. package/dist/core/component-localization.d.ts +17 -0
  50. package/dist/core/component-palette.d.ts +3 -0
  51. package/dist/core/connection-status.d.ts +11 -0
  52. package/dist/core/dialog-styles.d.ts +1 -0
  53. package/dist/core/editor-capabilities.d.ts +82 -1
  54. package/dist/core/editor-edge-anchors.d.ts +16 -0
  55. package/dist/core/endpoint-protocol.d.ts +15 -0
  56. package/dist/core/expression-preview.d.ts +6 -0
  57. package/dist/core/field-protocol.d.ts +19 -4
  58. package/dist/core/global-config.d.ts +47 -0
  59. package/dist/core/global-search.d.ts +31 -0
  60. package/dist/core/group-protocol.d.ts +56 -0
  61. package/dist/core/identity-provider-default.d.ts +32 -0
  62. package/dist/core/index.d.ts +31 -5
  63. package/dist/core/keymap.d.ts +10 -0
  64. package/dist/core/payload-kv.d.ts +7 -0
  65. package/dist/core/rule-chain-versions.d.ts +143 -0
  66. package/dist/core/run-analysis.d.ts +126 -0
  67. package/dist/core/runtime-field-dictionary.d.ts +3 -0
  68. package/dist/core/save-conflict.d.ts +1 -0
  69. package/dist/core/server-status.d.ts +1 -0
  70. package/dist/core/toolbar-icons.d.ts +1 -1
  71. package/dist/core/variable-completion.d.ts +13 -0
  72. package/dist/core/websocket-auth.d.ts +2 -0
  73. package/dist/defaults/analysis-locales.d.ts +241 -0
  74. package/dist/defaults/component-locale-categories.d.ts +14 -0
  75. package/dist/defaults/component-locale-data.d.ts +4 -0
  76. package/dist/defaults/component-locale-en-US.d.ts +10 -0
  77. package/dist/defaults/component-locale-summaries.d.ts +15 -0
  78. package/dist/defaults/component-locale-zh-CN.d.ts +10 -0
  79. package/dist/defaults/editor-shell-locales.d.ts +290 -0
  80. package/dist/defaults/example-chain.d.ts +2 -0
  81. package/dist/defaults/field-interaction-locales.d.ts +19 -0
  82. package/dist/defaults/global-config-locales.d.ts +166 -0
  83. package/dist/defaults/official-component-fallbacks.d.ts +2 -1
  84. package/dist/defaults/point-template-locales.d.ts +64 -0
  85. package/dist/index.cjs +2856 -2086
  86. package/dist/index.d.ts +33 -10
  87. package/dist/index.esm.js +1182 -810
  88. package/dist/index.umd.js +2850 -2080
  89. package/dist/nodes/UnknownNodeModel.d.ts +12 -1
  90. package/dist/standalone/HuanbanRulegoEditor.d.ts +145 -13
  91. package/dist/standalone/auth-fetch.d.ts +1 -0
  92. package/dist/standalone/auth-ui-defaults.d.ts +15 -0
  93. package/dist/standalone/code-editor.d.ts +7 -5
  94. package/dist/standalone/connection-status-binding.d.ts +3 -2
  95. package/dist/standalone/custom-nodes.d.ts +13 -0
  96. package/dist/standalone/drawer-locale.d.ts +12 -0
  97. package/dist/standalone/drawer-unsaved-guard.d.ts +6 -1
  98. package/dist/standalone/dynamic-field-browse.d.ts +25 -0
  99. package/dist/standalone/edge-label-quick-editor.d.ts +2 -1
  100. package/dist/standalone/editor-actions.d.ts +1 -0
  101. package/dist/standalone/editor-canvas-anchors.d.ts +19 -0
  102. package/dist/standalone/editor-canvas-shortcuts.d.ts +1 -0
  103. package/dist/standalone/editor-chain-info.d.ts +1 -0
  104. package/dist/standalone/editor-debug-data.d.ts +18 -0
  105. package/dist/standalone/editor-debug-ws.d.ts +2 -0
  106. package/dist/standalone/editor-delete.d.ts +5 -3
  107. package/dist/standalone/editor-dialog-provider.d.ts +3 -0
  108. package/dist/standalone/editor-dialogs.d.ts +25 -2
  109. package/dist/standalone/editor-global-config.d.ts +44 -0
  110. package/dist/standalone/editor-group-interactions.d.ts +1 -0
  111. package/dist/standalone/editor-host-region-styles.d.ts +1 -0
  112. package/dist/standalone/editor-host-regions.d.ts +53 -0
  113. package/dist/standalone/editor-login.d.ts +15 -0
  114. package/dist/standalone/editor-overlays.d.ts +5 -0
  115. package/dist/standalone/editor-property-drawers.d.ts +3 -1
  116. package/dist/standalone/editor-run-analysis.d.ts +81 -0
  117. package/dist/standalone/editor-run-compare.d.ts +20 -0
  118. package/dist/standalone/editor-run-waterfall.d.ts +11 -0
  119. package/dist/standalone/editor-toast.d.ts +1 -1
  120. package/dist/standalone/editor-toolbar-presentation.d.ts +12 -0
  121. package/dist/standalone/editor-toolbar.d.ts +5 -1
  122. package/dist/standalone/editor-ui-configuration.d.ts +55 -0
  123. package/dist/standalone/editor-ui-settings.d.ts +26 -0
  124. package/dist/standalone/editor-user-menu.d.ts +8 -0
  125. package/dist/standalone/editor-version-history.d.ts +82 -0
  126. package/dist/standalone/editor-workspace-shell.d.ts +47 -0
  127. package/dist/standalone/editor-workspace-styles.d.ts +1 -0
  128. package/dist/standalone/field-expression-preview.d.ts +12 -0
  129. package/dist/standalone/group-node.d.ts +19 -3
  130. package/dist/standalone/icon-utils.d.ts +7 -0
  131. package/dist/standalone/index.d.ts +17 -5
  132. package/dist/standalone/keyboard-events.d.ts +3 -0
  133. package/dist/standalone/multi-select-popover.d.ts +16 -0
  134. package/dist/standalone/node-copy.d.ts +1 -0
  135. package/dist/standalone/node-definitions.d.ts +4 -0
  136. package/dist/standalone/node-renderer-utils.d.ts +21 -0
  137. package/dist/standalone/node-theme.d.ts +1 -1
  138. package/dist/standalone/point-template-actions.d.ts +43 -0
  139. package/dist/standalone/property-field-draft.d.ts +5 -0
  140. package/dist/standalone/question-list-editor.d.ts +35 -0
  141. package/dist/standalone/shared-node-manager.d.ts +14 -0
  142. package/dist/standalone/single-select-popover.d.ts +6 -0
  143. package/dist/standalone/theme-scope.d.ts +15 -0
  144. package/dist/standalone/themes.d.ts +4 -0
  145. package/dist/standalone/variable-completion-dropdown.d.ts +18 -0
  146. package/dist/types/component.d.ts +22 -1
  147. package/dist/types/editor.d.ts +41 -0
  148. package/dist/utils/relation-utils.d.ts +19 -1
  149. package/dist/version.d.ts +2 -2
  150. package/package.json +3 -3
  151. package/vite-chunks.mjs +66 -0
  152. package/dist/chunks/editor-core-code-editor-CRki2wA_.js +0 -512
  153. package/dist/chunks/editor-core-dialogs-BMWb0WRN.js +0 -17228
  154. package/dist/chunks/editor-core-property-drawers-BPh-jj1b.js +0 -7998
  155. package/dist/chunks/editor-core-standalone-Cls7lcgT.js +0 -11302
  156. package/dist/chunks/vendor-logicflow-core-runtime-Cp6IBEjB.js +0 -217
  157. package/dist/chunks/vendor-logicflow-shared-C7YynLDn.js +0 -4
package/dist/index.d.ts CHANGED
@@ -1,12 +1,14 @@
1
1
  export { HUANBAN_RULEGO_EDITOR_VERSION, EDITOR_VERSION, } from './version';
2
- export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, i18nText, RuleChainValidator, ActionRegistry, FieldCapabilityRegistry, FieldChangeHandlerNotFoundError, FieldChangeRegistry, OptionSourceRegistry, buildOptionSourceRequestKey, getFieldChangeHandlerName, DiagnosticService, ComponentDocService, RuntimeFieldDictionary, DEFAULT_RUNTIME_FIELD_MAX_DEPTH, DEFAULT_RUNTIME_FIELD_MAX_PATHS, DEFAULT_RUNTIME_FIELD_SAMPLE_LENGTH, extractRuntimeFieldPaths, mergeRuntimeFieldCompletions, ExplorerTreeStore, buildExplorerTree, expandedExplorerKeys, explorerAncestorKeys, findExplorerNode, normalizeExplorerExpandedKeys, EXPLORER_SECTION_ROOT, EXPLORER_SECTION_SUB, SIMPLE_ARRAY_DELIMITER, mergeSimpleArrayValues, normalizeSimpleArrayValues, parseSimpleArrayInput, buildFieldAttachments, buildDefaultConfiguration, cloneConfiguration, evaluateFieldDependency, formatMapEntryValue, getFieldAttachmentTarget, getFieldPathValue, getMapValueMode, getVisibleComponentFields, isFieldDependencySatisfied, parseUnknownConfiguration, parseMapEntryValue, resolveComponentFields, sanitizeConfigurationByFields, validateComponentFields, validateFieldValue, alignGraphNodes, cloneGraphSelection, insertGraphNodeOnEdge, reserveUniqueGraphElementId, distributeGraphNodes, selectConnectedNodeIds, snapGraphNodesToGrid, groupDiagnosticsByElement, validateTopology, buildComponentPalette, DEFAULT_COMPONENT_CATEGORY_ORDER, normalizeComponentCategory, calculateVirtualWindow, DEFAULT_VIRTUAL_WINDOW_ITEM_HEIGHT, DEFAULT_VIRTUAL_WINDOW_VIEWPORT_HEIGHT, DEFAULT_VIRTUAL_WINDOW_OVERSCAN, DEFAULT_VIRTUAL_WINDOW_THRESHOLD, createEmptyTableRow, coerceTableCellValue, decodeTableRowsForEditing, encodeTableRowsForStorage, findDuplicateRowValues, generatePointRows, getPointTableImportDecision, getTableColumns, getTableDetailFields, isPointTableFields, normalizeTableRows, paginateTableRows, parseCsvTable, serializeCsvTable, parseExcelTable, serializeExcelTable, cronPresetToRuleGoCron, nextRuleGoCronRuns, normalizeRuleGoCron, ruleGoCronToPreset, validateRuleGoCron, getEditorWorkspaceTabActions, getWorkspaceTabLifecycleState, isWorkspaceTabDisabled, isWorkspaceTabPinned, createDebugPanelRequestSnapshot, isDebugPanelRequestCurrent, getRuleChainErrorTexts, isRuleChainNotDeployedError, resolveRuleChainDeployState, createRuleChainSaveFingerprint, hasRuleChainSaveConflict, normalizeRuleChainSaveSnapshot, extractRunMessageFields, extractRunMessageTypes, inferRunInput, extractMsgFields, extractMsgTypes, isEditorNodeRunTarget, clampContextMenuPosition, resolveContextSubmenuPosition, getEditorToolbarIconSvg, isEditorToolbarIconName, } from './core';
2
+ export { EditorCore, StateStore, EventBus, DataAdapter, ComponentRegistry, HistoryManager, BatchCommand, ValidationEngine, ThemeManager, THEME_LIGHT, THEME_DARK, THEME_BLUE, I18nManager, i18nText, normalizeLocale, localizeComponentDefinition, localizeComponentFields, localizeComponentGroups, normalizeComponentLocaleMessages, applyComponentLocaleMetadata, extractAssistantRuleChain, extractRuleChainFromToolCalls, hasDestructiveRuleChainChanges, RuleChainValidator, ActionRegistry, FieldCapabilityRegistry, FieldChangeHandlerNotFoundError, FieldChangeRegistry, OptionSourceRegistry, buildOptionSourceRequestKey, getFieldChangeHandlerName, DiagnosticService, ComponentDocService, createDefaultDialogProvider, cleanSnapshot, cleanSnapshotString, sameCleanSnapshot, getVolatileKeys, createDirtySuppression, createVariableCompletionSource, createDefaultIdentityProvider, DefaultIdentityProvider, DEFAULT_KEYMAP, mergeKeymap, findKeyBinding, formatKeyBinding, createLocalGlobalSearch, parsePayloadToKvRows, serializeKvRowsToJson, isValidPayloadJson, RuntimeFieldDictionary, DEFAULT_RUNTIME_FIELD_MAX_DEPTH, DEFAULT_RUNTIME_FIELD_MAX_PATHS, DEFAULT_RUNTIME_FIELD_SAMPLE_LENGTH, extractRuntimeFieldPaths, mergeRuntimeFieldCompletions, previewTemplate, ExplorerTreeStore, buildExplorerTree, expandedExplorerKeys, explorerAncestorKeys, findExplorerNode, normalizeExplorerExpandedKeys, EXPLORER_SECTION_ROOT, EXPLORER_SECTION_SUB, SIMPLE_ARRAY_DELIMITER, mergeSimpleArrayValues, normalizeSimpleArrayValues, parseSimpleArrayInput, buildFieldAttachments, buildDefaultConfiguration, cloneConfiguration, evaluateFieldDependency, formatMapEntryValue, getFieldAttachmentTarget, getFieldPathValue, getMapValueMode, getVisibleComponentFields, isFieldDependencySatisfied, parseUnknownConfiguration, parseMapEntryValue, resolveComponentFields, sanitizeConfigurationByFields, validateComponentFields, validateFieldValue, alignGraphNodes, cloneGraphSelection, insertGraphNodeOnEdge, reserveUniqueGraphElementId, distributeGraphNodes, selectConnectedNodeIds, snapGraphNodesToGrid, groupDiagnosticsByElement, validateTopology, buildComponentPalette, DEFAULT_COMPONENT_CATEGORY_ORDER, hasDeclaredSubgroups, SUBGROUPED_COMPONENT_CATEGORIES, normalizeComponentCategory, calculateVirtualWindow, DEFAULT_VIRTUAL_WINDOW_ITEM_HEIGHT, DEFAULT_VIRTUAL_WINDOW_VIEWPORT_HEIGHT, DEFAULT_VIRTUAL_WINDOW_OVERSCAN, DEFAULT_VIRTUAL_WINDOW_THRESHOLD, createEmptyTableRow, coerceTableCellValue, decodeTableRowsForEditing, encodeTableRowsForStorage, findDuplicateRowValues, generatePointRows, getPointTableImportDecision, getTableColumns, getTableDetailFields, isPointTableFields, normalizeTableRows, paginateTableRows, parseCsvTable, serializeCsvTable, parseExcelTable, serializeExcelTable, cronPresetToRuleGoCron, nextRuleGoCronRuns, normalizeRuleGoCron, ruleGoCronToPreset, validateRuleGoCron, getEditorWorkspaceTabActions, getWorkspaceTabLifecycleState, isWorkspaceTabDisabled, isWorkspaceTabPinned, createDebugPanelRequestSnapshot, isDebugPanelRequestCurrent, getRuleChainErrorTexts, isRuleChainNotDeployedError, resolveRuleChainDeployState, createRuleChainSaveFingerprint, hasRuleChainSaveConflict, normalizeRuleChainSaveSnapshot, extractRunMessageFields, extractRunMessageTypes, inferRunInput, extractMsgFields, extractMsgTypes, isEditorNodeRunTarget, clampContextMenuPosition, resolveContextSubmenuPosition, getEditorToolbarIconSvg, isEditorToolbarIconName, } from './core';
3
3
  export type { EditorToolbarIconName } from './core';
4
4
  export { RUNTIME_LIMITS, RuntimeLimitError, assertGraphWithinLimits, assertComponentsWithinLimits, assertTextWithinBytes, truncateText, assertObjectDepth, } from './core/runtime-limits';
5
5
  export { streamOpenAiChatCompletion, filterCopilotSuccessfulTurns, mergeCopilotToolCallDelta, settleCopilotToolCalls, } from './ai/copilot-transport';
6
+ export { resolveAIChatEndpoint, resolveAIChatTransportOptions } from './ai/ai-chat-options';
7
+ export type { AIChatConnectionOptions, AIChatUrlValue } from './ai/ai-chat-options';
6
8
  export { bindCopilotCodeInteractions, getCopilotCodeBlockCode, renderCopilotCodeHtml, renderCopilotMarkdown, resolveCopilotCodeBlockAction, setCopilotCodeBlockPanel, } from './ai/copilot-markdown';
7
9
  export type { CopilotCodeBlockAction, CopilotCodeBlockPanel, CopilotCodeInteractionOptions, CopilotMarkdownOptions, } from './ai/copilot-markdown';
8
10
  export type { CopilotChatRole, CopilotChatMessage, CopilotConversationMessage, CopilotChatToolCallStatus, CopilotChatToolCallDelta, CopilotChatToolCall, CopilotChatTransportOptions, } from './ai/copilot-transport';
9
- export type { LFNodeData, LFEdgeData, LFGraphData, LFPoint, Command, ValidationError, ValidationResult, ValidationRule, ValidationContext, ThemeVariables, ThemeDefinition, LocaleMessages, TranslationSource, ValidationIssue, RuleChainValidationResult, IssueSeverity, DebugPanelRequestSnapshot, ResolveRuleChainDeployStateOptions, RuleChainDeployState, RuntimeFieldCompletionItem, RuntimeFieldConnection, RuntimeFieldDictionaryListener, RuntimeFieldDictionaryOptions, RuntimeFieldEvent, RuntimeFieldMessage, RuntimeFieldPath, RuntimeFieldSlot, RuntimeNodeFieldEntry, EditorAction, EditorActionContext, EditorActionRuntime, EditorActionSource, EditorSelectionSnapshot, EditorShortcut, FieldCapabilityContext, FieldCapabilityHandler, FieldChangeContext, FieldChangeExecutionResult, FieldChangeExecutionStatus, FieldChangeHandler, FieldChangeResolveContext, FieldChangeResult, OptionSourceContext, OptionSourceResolveContext, OptionSourceResolver, FieldAttachmentEntry, FieldValidationError, ResolveComponentFieldsContext, AlignMode, CloneGraphSelectionOptions, ClonedGraphSelection, DistributeMode, InsertGraphNodeOnEdgeOptions, InsertGraphNodeOnEdgeResult, DiagnosticItem, TopologyContext, ComponentPaletteBuildOptions, ComponentPaletteGroup, ComponentPaletteSubgroup, ComponentDoc, ComponentDocMeta, ComponentDocProvider, VirtualWindow, VirtualWindowOptions, PointGenerationOptions, TablePage, TableRow, RuleGoCronBuildResult, RuleGoCronError, RuleGoCronErrorCode, RuleGoCronNextRunsOptions, RuleGoCronNextRunsResult, RuleGoCronPreset, RuleGoCronPresetParseResult, RuleGoCronValidationResult, EditorWorkspaceTabAction, EditorWorkspaceTabActionDescriptor, EditorWorkspaceTabLifecycleState, RunInputInference, ContextMenuPosition, ContextMenuRect, ContextMenuSize, ContextMenuViewport, } from './core';
11
+ export type { LFNodeData, LFEdgeData, LFGraphData, LFPoint, Command, ValidationError, ValidationResult, ValidationRule, ValidationContext, ThemeVariables, ThemeDefinition, LocaleMessages, TranslationSource, ValidationIssue, RuleChainValidationResult, IssueSeverity, DebugPanelRequestSnapshot, ResolveRuleChainDeployStateOptions, RuleChainDeployState, RuntimeFieldCompletionItem, RuntimeFieldConnection, RuntimeFieldDictionaryListener, ExpressionPreviewResult, RuntimeFieldDictionaryOptions, RuntimeFieldEvent, RuntimeFieldMessage, RuntimeFieldPath, RuntimeFieldSlot, RuntimeNodeFieldEntry, EditorAction, EditorActionContext, EditorActionRuntime, EditorActionSource, EditorSelectionSnapshot, EditorShortcut, FieldCapabilityContext, FieldCapabilityHandler, FieldChangeContext, FieldChangeExecutionResult, FieldChangeExecutionStatus, FieldChangeHandler, FieldChangeResolveContext, FieldChangeResult, OptionSourceContext, OptionSourceResolveContext, OptionSourceResolver, FieldAttachmentEntry, FieldValidationError, FieldValidationTranslator, ResolveComponentFieldsContext, AlignMode, CloneGraphSelectionOptions, ClonedGraphSelection, DistributeMode, InsertGraphNodeOnEdgeOptions, InsertGraphNodeOnEdgeResult, DiagnosticItem, TopologyContext, ComponentPaletteBuildOptions, ComponentPaletteGroup, ComponentPaletteSubgroup, ComponentDoc, ComponentDocMeta, ComponentDocProvider, DialogProvider, ConfirmOptions, PromptOptions, AlertOptions, DefaultDialogProviderOptions, DirtySuppressionOptions, DirtySuppression, VariableCompletionItem, VariableCompletionSource, ToolCallResult, NodeLogTemplate, ChainLogConfig, BusinessLogAPI, IdentityProvider, UserIdentity, LoginCredentials, AuthErrorDetails, AuthChangeCallback, DefaultIdentityProviderOptions, KeyBinding, GlobalSearchResult, GlobalSearchProvider, PayloadKvRow, VirtualWindow, VirtualWindowOptions, PointGenerationOptions, TablePage, TableRow, RuleGoCronBuildResult, RuleGoCronError, RuleGoCronErrorCode, RuleGoCronNextRunsOptions, RuleGoCronNextRunsResult, RuleGoCronPreset, RuleGoCronPresetParseResult, RuleGoCronValidationResult, EditorWorkspaceTabAction, EditorWorkspaceTabActionDescriptor, EditorWorkspaceTabLifecycleState, RunInputInference, ContextMenuPosition, ContextMenuRect, ContextMenuSize, ContextMenuViewport, } from './core';
10
12
  export type { RuleChainConfig, RuleNodeConfig, RuleConnectionConfig, RuleEndpointConfig, RuleChainData, RuleChainMetadata, AdditionalInfo, LayoutInfo, ComponentDefinition, ComponentField, ComponentGroup, FieldValidation, FieldDependencyOperator, FieldDependency, FieldAttachment, FieldOptionsSource, AiProviderCapability, ComponentFieldControl, ComponentFieldOption, ComponentFieldControlOption, ComponentFieldGroup, DynamicFieldReference, DynamicFieldsDefinition, ComponentCategory, RawComponentData, ComponentRegistryOptions, EditorOptions, EditorState, EditorInternalData, EditorPlugin, ApiEndpoints, RequestConfig, ToolbarConfig, GridConfig, AiProviderOption, PanelType, EditorRuntimeOptionsPatch, EditorEventMap, EditorEventName, EventListener, NodeEventPayload, EdgeEventPayload, SaveEventPayload, HistoryChangePayload, ValidationPayload, } from './types';
11
13
  export { isComponentFieldOption } from './types';
12
14
  export { getNodeByID, getEdgeBySourceNodeIdAndTargetNodeId, getNodeSeq, getBytesLength, generateUUID, adapterComponents, toComponentMap, defaultIdGenerator, } from './utils';
@@ -14,25 +16,46 @@ export { defaultComponents, localeZhCN, localeEnUS, } from './defaults';
14
16
  export { DEFAULT_AI_PROVIDERS, getAiProviders, getAiEmbeddingProviders, } from './standalone/ai-providers';
15
17
  export { TOOL_SCHEMA_ITEM_TYPES, TOOL_SCHEMA_TYPES, cloneSchemaRows, emptySchemaEditorRow, extractBuiltinToolOptionsFromPayload, generateToolSchemaFromRows, getBuiltinToolOptionsFromSources, getSkillPathFromSources, normalizeBuiltinToolOption, normalizeToolRows, parseJsonObjectText, parseToolSchemaRows, renumberSchemaRowOrders, resolveSchemaRowsByParent, stringifyToolJson, updateSchemaRowsAtParent, } from './tools/tool-editor';
16
18
  export type { BuiltinToolOption, SchemaEditorRow, ToolEditorMode, ToolEditorType, ToolRow, } from './tools/tool-editor';
17
- export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, DEFAULT_ICON_URL, HUANBAN_FAVICON_DATA_URI, HUANBAN_FAVICON_SVG, HUANBAN_FAVICON_SVG_PATH, HUANBAN_LOGO_DATA_URI, HUANBAN_LOGO_SVG, HUANBAN_LOGO_SVG_PATH, normalizeIconTheme, getCoreThemeDefinition, getCoreThemeVariables, getThemeList, getThemeRuntimeVariables, normalizeEditorTheme, THEME_PRESETS, resolveIconUrl, adapterComponentsLocal, adapterRuntimeComponent, closeEditorTour, isEditorTourDone, parseJsonBounded, startEditorTour, confirmDrawerUnsavedClose, } from './standalone';
18
- export type { RuntimeComponentAdapterOptions } from './standalone';
19
+ export { HuanbanRulegoEditor, applyComponentsRuntimePayloadOptions, debugLog, setDebug, isDebug, escapeHtml, escapeAttr, setSafeText, safeUrl, safeImageUrl, safeCssColor, sanitizeRichHtml, sanitizeDescription, redactSensitive, formatJsonBounded, normalizeComponentsPayload, normalizeComponentsRawPayload, DEFAULT_ICON_URL, HUANBAN_FAVICON_DATA_URI, HUANBAN_FAVICON_SVG, HUANBAN_FAVICON_SVG_PATH, HUANBAN_LOGO_DATA_URI, HUANBAN_LOGO_SVG, HUANBAN_LOGO_SVG_PATH, normalizeIconTheme, getCoreThemeDefinition, getCoreThemeVariables, getThemeList, getThemeRuntimeVariables, normalizeEditorTheme, THEME_PRESETS, resolveIconUrl, resolveComponentIconPath, resolveComponentIconUrl, adapterComponentsLocal, adapterRuntimeComponent, closeEditorTour, isEditorTourDone, parseJsonBounded, startEditorTour, confirmDrawerUnsavedClose, } from './standalone';
20
+ export type { ComponentIconSource, RuntimeComponentAdapterOptions } from './standalone';
21
+ export { createSharedNodeManager } from './standalone';
22
+ export type { SharedNodeManager, SharedNodeManagerContext } from './standalone';
23
+ export { PropertyControlRegistry } from './core';
24
+ export type { PropertyControlRenderer, PropertyControlInstance, PropertyControlMountContext } from './core';
19
25
  export { cloneNodePropertiesForCopy, } from './standalone/node-copy';
20
26
  export { isLogicFlowVisualNodeType, normalizeEditableNodeModel, resolveRuleGoNodeType, } from './standalone/node-identity';
21
27
  export type { CloneNodePropertiesOptions, } from './standalone/node-copy';
22
28
  export type { NormalizeEditableNodeModelOptions, } from './standalone/node-identity';
23
- export type { AIAssistantOpenOptions, HuanbanRulegoEditorLoadOptions, HuanbanRulegoEditorOptions, EditorSaveHandler, EditorSaveHandlerResult, EditorSaveConflictContext, EditorSaveMode, EditorSaveResult, EditorOptionsUpdateResult, ExternalDataUpdatePolicy, EditorShellPersistenceOptions, EditorRecentComponentsOptions, EditorRunTestCasesOptions, RichHtmlPolicy, RedactOptions, FormatJsonBoundedOptions, IconThemeName, ParseJsonBoundedOptions, ResolveIconUrlOptions, ThemeVars, NodePickerOpenOptions, ComponentManageDialogTab, SettingsDialogTab, DrawerCloseDecision, DrawerGuardI18nContext, EditorTourHandle, DebugWsCallbacks, DebugWsStatusDetails, DebugWsStatusReason, DebugWebSocketOptions, WsStatus, } from './standalone';
24
- export { RuleChainAPI, RuleChainApiError, DEFAULT_ROUTES, ApiProvider, apiProvider, normalizeApiProviderBaseUrl, normalizeApiV1BaseUrl, ComponentCatalogCache, componentCatalogCache, normalizePagedResponse, unwrapApiEnvelope, AIManager, aiManager, DebugSocketClient, } from './api';
25
- export type { DebugSocketClientOptions, ComponentCatalogCacheOptions, ComponentCatalogLoadOptions, } from './api';
26
- export { EditorWorkspace, EditorDockStore, DEFAULT_EDITOR_DOCK_STATE, buildEditorPersistenceKey, buildEditorChatHistoryKey, readEditorChatHistory, writeEditorChatHistory, clearEditorChatHistory, EditorPanelRegistry, DEFAULT_EDITOR_PANELS, DEFAULT_EDITOR_OPEN_PANEL_IDS, DEFAULT_NODE_CONFIG_DOCK_WIDTH, ServerStatusStore, deriveWsUrl, ConnectionStatusController, ConnectionStatusStore, normalizeConnectionStatusMap, resolveConnectionStatusView, resolveEditorCapabilities, resolveCapabilities, CAPABILITY_BASE, CAPABILITY_PROFILES, EDITOR_OVERLAY_LAYERS, EDITOR_OVERLAY_LAYER_CSS_VARIABLES, EDITOR_OVERLAY_LAYER_CSS_TEXT, } from './core';
29
+ export type { AIAssistantOpenOptions, HuanbanRulegoEditorLoadOptions, HuanbanRulegoEditorOptions, EditorSaveHandler, EditorSaveHandlerResult, EditorSaveConflictContext, EditorSaveMode, EditorSaveOptions, EditorSaveResult, EditorOptionsUpdateResult, ExternalDataUpdatePolicy, EditorShellPersistenceOptions, EditorRecentComponentsOptions, EditorRunTestCasesOptions, RichHtmlPolicy, RedactOptions, FormatJsonBoundedOptions, IconThemeName, ParseJsonBoundedOptions, ResolveIconUrlOptions, ThemeVars, NodePickerOpenOptions, ComponentManageDialogTab, SettingsDialogTab, EditorSettingsPane, EditorUiConfiguration, EditorUiSettingsOptions, EditorUiSettingsChange, EditorSettingsOptions, EditorBuiltinSettingsTab, EditorSettingControlOptions, DrawerCloseDecision, DrawerGuardI18nContext, EditorTourHandle, DebugWsCallbacks, DebugWsStatusDetails, DebugWsStatusReason, DebugWebSocketOptions, WsStatus, } from './standalone';
30
+ export { RuleChainAPI, RuleChainApiError, DEFAULT_ROUTES, ApiProvider, apiProvider, normalizeApiProviderBaseUrl, normalizeApiPrefix, normalizeApiV1BaseUrl, ComponentCatalogCache, componentCatalogCache, normalizePagedResponse, unwrapApiEnvelope, AIManager, aiManager, DebugSocketClient, ExtendedApiBase, ExtendedApiError, MarketplaceAPI, AIAssistantAPI, AI_ASSISTANT_DEFAULT_AGENT_ID, SkillsAPI, IoTPointTemplateAPI, UserAPI, getToken, clearToken, } from './api';
31
+ export type { AIManagerOptions, DebugSocketClientOptions, ComponentCatalogCacheOptions, ComponentCatalogLoadOptions, } from './api';
32
+ export { EditorWorkspace, EditorDockStore, DEFAULT_EDITOR_DOCK_STATE, buildEditorPersistenceKey, buildEditorChatHistoryKey, readEditorChatHistory, writeEditorChatHistory, clearEditorChatHistory, EditorPanelRegistry, DEFAULT_EDITOR_PANELS, DEFAULT_EDITOR_OPEN_PANEL_IDS, DEFAULT_NODE_CONFIG_DOCK_WIDTH, ServerStatusStore, deriveWsUrl, ConnectionStatusController, ConnectionStatusStore, normalizeConnectionStatusMap, resolveConnectionStatusView, resolveEditorCapabilities, resolveCapabilities, mergeEditorCapabilities, mergeEditorToolbarOptions, CAPABILITY_BASE, CAPABILITY_PROFILES, EDITOR_OVERLAY_LAYERS, EDITOR_OVERLAY_LAYER_CSS_VARIABLES, EDITOR_OVERLAY_LAYER_CSS_TEXT, } from './core';
27
33
  export type { ConnectionStatusControllerOptions, ConnectionStatusMap, ConnectionStatusPhase, ConnectionStatusProvider, ConnectionStatusSemanticKind, ConnectionStatusState, ConnectionStatusTranslator, ConnectionStatusView, NodeConnectionState, NodeConnectionStatus, EditorOverlayLayerName, } from './core';
28
34
  export { normalizeKeyValueSelection, removeKeyValueEntriesAtIndexes, } from './core';
29
35
  export type { KeyValueEditorEntry } from './core';
30
- export type { EditorMode, EditorUiCapabilities, EditorCapabilities, EditorCapabilitiesOverride, EditorCapabilityInput, } from './core';
36
+ export type { EditorMode, EditorUiCapabilities, EditorCapabilities, EditorCapabilitiesOverride, EditorCapabilityInput, EditorToolbarOptions, EditorToolbarRegion, EditorToolbarRegionOptions, EditorToolbarEntry, EditorToolbarButtonPresentation, } from './core';
37
+ export { bindAnchoredPopover } from './core/anchored-popover';
38
+ export type { AnchoredPopoverOptions, AnchoredPopoverBinding } from './core/anchored-popover';
39
+ export { EDITOR_REGION_IDS } from './standalone/editor-host-regions';
40
+ export type { EditorHeaderOptions, EditorHeaderBadge, EditorRegionId, EditorRegionContext, EditorRegionMount, EditorRegionRenderer, EditorRegionRenderers, EditorPanelRenderers, EditorHostPanelDefinition, } from './types/editor';
31
41
  export { EditorTestCasesStore } from './core';
42
+ export * from './core/rule-chain-versions';
43
+ export * from './core/run-analysis';
44
+ export * from './core/global-config';
45
+ export { RuleChainVersionsAPI } from './api/RuleChainVersionsAPI';
46
+ export type { RuleChainVersionsAPIOptions, RuleChainVersionRoutes } from './api/RuleChainVersionsAPI';
47
+ export { GlobalConfigAPI, GlobalConfigApiError } from './api/GlobalConfigAPI';
48
+ export type { GlobalConfigTransportContext } from './api/GlobalConfigAPI';
49
+ export { createVersionHistory, showVersionHistory } from './standalone/editor-version-history';
50
+ export type { VersionHistoryViewOptions, VersionHistoryOptions, VersionHistoryHandle } from './standalone/editor-version-history';
51
+ export { createRunWaterfall, createRunComparePanel, createRunAnalysis, showRunAnalysis } from './standalone/editor-run-analysis';
52
+ export type { RunWaterfallViewOptions, RunComparePanelOptions, RunAnalysisSelectionOptions, RunAnalysisDialogOptions } from './standalone/editor-run-analysis';
53
+ export { mountGlobalConfigPanel, showGlobalConfigDialog, showNodeLogDialog, showChainLogDialog } from './standalone/editor-global-config';
54
+ export type { GlobalConfigPanel, GlobalConfigPanelOptions, GlobalConfigDialogOptions } from './standalone/editor-global-config';
32
55
  export type { EditorTestCasePayload, EditorTestCaseEntry, EditorTestCasesPersistenceOptions, EditorTestCasesOptions, EditorTestCasesResult, } from './core';
33
56
  export type { EditorWorkspaceTab, EditorWorkspaceState, OpenWorkspaceTabInput, WorkspaceCloseDecision, WorkspaceCloseResultReason, WorkspaceSaveResponse, WorkspaceSaveOutcome, WorkspaceSaveHandlerResult, WorkspaceSaveHandler, CloseWorkspaceTabOptions, CloseWorkspaceTabDecisionOptions, CloseWorkspaceTabResult, WorkspaceConflictResolution, WorkspaceConflictResult, WorkspaceListener, EditorDockId, EditorWidthDockId, EditorWidthDockState, EditorHeightDockState, EditorDockState, EditorDockBounds, EditorDockPersistenceState, EditorDockOptions, EditorPersistenceScope, EditorPersistenceAdapter, EditorPersistenceNamespace, EditorPersistenceMigrationContext, EditorStatePersistenceOptions, EditorChatHistoryMode, EditorChatHistoryPersistenceOptions, EditorPanelId, EditorPanelDefinition, EditorPanelState, EditorPanelPersistenceState, EditorPanelRegistryOptions, ServerStatus, ServerApiStatus, ServerWsStatus, ServerWsEventStatus, ServerStatusState, ServerStatusOptions, } from './core';
34
57
  export type { EditorHoverToolPosition, EditorHoverToolTarget, EditorNodeRunTarget, EditorNodeHoverAction, EditorEdgeHoverAction, } from './core';
35
- export type { WorkflowItem, PagedResponse, ListAllResult, ApiResult, SharedNode, SharedNodeFetcher, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, RuleMaintenanceSeverity, RuleMaintenanceCategory, RuleMaintenanceIssue, RuleMaintenanceRuntimeInfo, RuleValidateUpstreamRequest, RuleValidateUpstreamResponse, RuleSchemaDiffResponse, RuleRepairPlanResponse, JSONPatchOperation, RulePatchPreviewResponse, ApiAuthRequiredDetails, ApiAuthRequiredHandler, ApiCacheKey, EditorApiConfig, } from './api';
58
+ export type { WorkflowItem, PagedResponse, ListAllResult, ApiResult, SharedNode, SharedNodeFetcher, WorkflowFetcher, RuleChainAPIOptions, RuleChainRoutes, WorkflowListIcons, WorkflowInfoIcons, WorkflowTheme, RuleMaintenanceSeverity, RuleMaintenanceCategory, RuleMaintenanceIssue, RuleMaintenanceRuntimeInfo, RuleValidateUpstreamRequest, RuleValidateUpstreamResponse, RuleSchemaDiffResponse, RuleRepairPlanResponse, JSONPatchOperation, RulePatchPreviewResponse, ApiAuthRequiredDetails, ApiAuthRequiredHandler, ApiRequestHeaders, ApiCustomFetch, ApiCacheKey, EditorApiConfig, RuleMessageBody, RuleMessageMetadata, RunsListOptions, RunRecord, ComponentDSL, RuleListOptions, ExtendedApiOptions, MarketplaceComponent, MarketplaceChain, MarketplaceSearchParams, MarketplaceChainSearchParams, MarketplaceRoutes, AIAssistantSettings, AIAssistantModelConfig, AIAssistantRoutes, SkillItem, SkillsRoutes, PointTemplate, PointTemplateListParams, IoTPointTemplateRoutes, UserInfo, LoginResult, RuleCategory, UserRoutes, } from './api';
36
59
  export type { ExplorerTreeNode, ExplorerTreeNodeKind, ExplorerTreeLabels, ExplorerTreeOptions, ExplorerTreePersistenceState, ExplorerTreeStoreOptions, ExplorerTreeState, } from './core';
37
60
  export * from './models';
38
61
  export * from './nodes/AgentOrchestrationNode';