@oomol-lab/open-flow 0.1.0-beta.75 → 0.1.0-beta.76

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 (125) hide show
  1. package/README.md +2 -1
  2. package/dist/browser/{ContentIcon-FCpKiwjp.js → ContentIcon-Cm1hbVzW.js} +2 -2
  3. package/dist/browser/{FlowCanvas-dzRBnlUT.js → FlowCanvas-NzKtla_c.js} +62 -62
  4. package/dist/browser/{createResourceDialog-BeYDdUl-.js → createResourceDialog-BgdedQqu.js} +3 -3
  5. package/dist/browser/{dialog-ZtpsFbl4.js → dialog-aSElFFw2.js} +49 -24
  6. package/dist/browser/{exportSvg-DqXw1yf-.js → exportSvg-Dcz4HTo_.js} +2 -2
  7. package/dist/browser/{flowChanges-b_5UobFj.js → flowChanges-NZyS7HSp.js} +207 -396
  8. package/dist/browser/{flowWorkspace-ItojZbO4.js → flowWorkspace-Bl0SDehy.js} +90 -13
  9. package/dist/browser/preview.css +515 -649
  10. package/dist/browser/preview.js +454 -545
  11. package/dist/browser/theme.css +114 -262
  12. package/dist/browser/{tooltip-wZJRB9oP.js → tooltip-3XMK9jkr.js} +1 -1
  13. package/dist/browser/{typeScriptSession-CSRwWmZm.js → typeScriptSession-C9sBGOKZ.js} +1 -1
  14. package/dist/browser/ui.css +354 -460
  15. package/dist/browser/ui.js +1 -1
  16. package/dist/browser/workbench.css +515 -649
  17. package/dist/browser/workbench.js +7 -7
  18. package/dist/browser/{workbenchSelect-M441Lz0d.js → workbenchSelect-DBGP7Y4Z.js} +2 -2
  19. package/dist/command/index.js +33 -35
  20. package/dist/common/authoring.d.ts +3 -3
  21. package/dist/common/authoringSchema.d.ts +3 -0
  22. package/dist/common/connector-proxy.d.ts +1 -1
  23. package/dist/common/control-api-conformance.js +197 -136
  24. package/dist/common/control-api.d.ts +3 -2
  25. package/dist/common/control-api.js +192 -131
  26. package/dist/common/control-requests.js +126 -24
  27. package/dist/common/cron-trigger.d.ts +2 -1
  28. package/dist/common/decision.d.ts +4 -4
  29. package/dist/common/decision.js +5 -2
  30. package/dist/common/engine-contract.d.ts +5 -1
  31. package/dist/common/event-source-definition.d.ts +1 -1
  32. package/dist/common/event-source-view.d.ts +22 -0
  33. package/dist/common/event-source.d.ts +1 -1
  34. package/dist/common/event-source.js +24 -65
  35. package/dist/common/event-sources.d.ts +0 -21
  36. package/dist/common/flow-authoring.js +40 -18
  37. package/dist/common/flow-change-schema.d.ts +9 -1
  38. package/dist/common/flow-change.d.ts +7 -201
  39. package/dist/common/flow-change.js +46 -22
  40. package/dist/common/flow-encoding.js +40 -20
  41. package/dist/common/flow-input-value.d.ts +1 -1
  42. package/dist/common/flow-model.d.ts +121 -0
  43. package/dist/common/flow-notifications.d.ts +1 -1
  44. package/dist/common/flow-retry.d.ts +2 -4
  45. package/dist/common/flow-semantics.js +83 -86
  46. package/dist/common/flow-workflowReferences.d.ts +8 -0
  47. package/dist/common/flowInspection.d.ts +1 -1
  48. package/dist/common/http-hosts.d.ts +6 -0
  49. package/dist/common/http-request.d.ts +13 -5
  50. package/dist/common/http-request.js +23 -5
  51. package/dist/common/integration-trigger.d.ts +2 -1
  52. package/dist/common/mcp.js +195 -134
  53. package/dist/common/openapi.d.ts +4 -4
  54. package/dist/common/openapi.js +4 -1
  55. package/dist/common/poll-trigger.d.ts +2 -1
  56. package/dist/common/runtime-contract.d.ts +23 -1
  57. package/dist/common/runtime-contract.js +604 -72
  58. package/dist/common/runtime-nodejs-compat.d.ts +44 -0
  59. package/dist/common/runtime-nodejs-compat.js +5870 -0
  60. package/dist/common/scheduler-checkpoint.d.ts +1 -1
  61. package/dist/common/scheduler-node-execution.d.ts +1 -1
  62. package/dist/common/scheduler.d.ts +1 -1
  63. package/dist/common/scheduler.js +25 -4
  64. package/dist/common/trigger-catalog.d.ts +1 -7
  65. package/dist/common/trigger-config-options.d.ts +1 -1
  66. package/dist/common/trigger-config.d.ts +1 -1
  67. package/dist/common/trigger-contract.d.ts +2 -1
  68. package/dist/common/trigger-localization.d.ts +8 -2
  69. package/dist/common/trigger-model.d.ts +101 -0
  70. package/dist/common/webhook-response.d.ts +1 -1
  71. package/dist/common/webhook-trigger.d.ts +3 -1
  72. package/dist/common/workflow.d.ts +3 -12
  73. package/dist/common/workflow.js +25 -23
  74. package/dist/index.d.ts +41 -14
  75. package/package.json +5 -1
  76. package/src/base/common/json.ts +1 -1
  77. package/src/connector/common/proxy.ts +1 -1
  78. package/src/control/common/api.ts +6 -5
  79. package/src/control/common/authoringSchema.ts +9 -2
  80. package/src/control/common/authoringTools.ts +1 -1
  81. package/src/control/common/conformance.ts +1 -1
  82. package/src/control/common/connectorDecoders.ts +1 -1
  83. package/src/control/common/eventSources.ts +2 -29
  84. package/src/control/common/triggerCatalog.ts +1 -8
  85. package/src/decision/common/decision.ts +15 -7
  86. package/src/event-source/common/definition.ts +1 -1
  87. package/src/event-source/common/index.ts +1 -1
  88. package/src/event-source/common/view.ts +20 -0
  89. package/src/execution/common/checkpoint.ts +1 -1
  90. package/src/execution/common/node-execution.ts +1 -1
  91. package/src/execution/common/scheduler.ts +1 -1
  92. package/src/flow/common/change.ts +58 -192
  93. package/src/flow/common/changeSchema.ts +29 -4
  94. package/src/flow/common/connectionUsage.ts +1 -1
  95. package/src/flow/common/inputValue.ts +1 -1
  96. package/src/flow/common/model.ts +130 -0
  97. package/src/flow/common/modules.ts +1 -1
  98. package/src/flow/common/portChanges.ts +1 -1
  99. package/src/flow/common/retry.ts +2 -4
  100. package/src/flow/common/semantics.ts +11 -4
  101. package/src/flow/common/webhookResponse.ts +1 -1
  102. package/src/flow/common/workflowReferences.ts +31 -0
  103. package/src/http/common/authBindings.ts +6 -9
  104. package/src/http/common/hosts.ts +13 -0
  105. package/src/http/common/httpRequest.ts +30 -15
  106. package/src/openapi/common/openapi.ts +9 -5
  107. package/src/{execution → runtime}/common/engineContract.ts +20 -15
  108. package/src/runtime/common/nodejsCompat.ts +275 -0
  109. package/src/runtime/common/nodejsGuest.generated.json +47 -0
  110. package/src/runtime/common/runtime.ts +1138 -0
  111. package/src/trigger/common/config.ts +1 -1
  112. package/src/trigger/common/configOptions.ts +1 -1
  113. package/src/trigger/common/contract.ts +2 -1
  114. package/src/trigger/common/cron.ts +2 -1
  115. package/src/trigger/common/integration.ts +2 -1
  116. package/src/trigger/common/model.ts +87 -0
  117. package/src/trigger/common/poll.ts +2 -1
  118. package/src/trigger/common/webhook.ts +3 -1
  119. package/src/trigger/providers/fieldDescriptions.ts +1 -1
  120. package/src/trigger/providers/localization.ts +9 -2
  121. package/src/trigger/providers/remote.ts +1 -1
  122. package/src/types/index.ts +44 -15
  123. package/src/workflow/common/workflow.ts +3 -44
  124. package/src/execution/common/runtime.ts +0 -563
  125. /package/src/{control → connector}/common/providerIconSprite.ts +0 -0
package/README.md CHANGED
@@ -69,7 +69,8 @@ Source paths are not public import APIs. Source maps and declaration maps are no
69
69
  | `@oomol-lab/open-flow/flow-semantics` | [src/flow/common/semantics.ts](src/flow/common/semantics.ts) |
70
70
  | `@oomol-lab/open-flow/run-lifecycle` | [src/execution/common/runLifecycle.ts](src/execution/common/runLifecycle.ts) |
71
71
  | `@oomol-lab/open-flow/run-events` | [src/execution/common/events.ts](src/execution/common/events.ts) |
72
- | `@oomol-lab/open-flow/runtime-contract` | [src/execution/common/runtime.ts](src/execution/common/runtime.ts) |
72
+ | `@oomol-lab/open-flow/runtime-contract` | [src/runtime/common/runtime.ts](src/runtime/common/runtime.ts) |
73
+ | `@oomol-lab/open-flow/runtime-nodejs-compat` | [src/runtime/common/nodejsCompat.ts](src/runtime/common/nodejsCompat.ts) |
73
74
  | `@oomol-lab/open-flow/workflow` | [src/workflow/common/workflow.ts](src/workflow/common/workflow.ts) |
74
75
  | `@oomol-lab/open-flow/scheduler` | [src/execution/common/scheduler.ts](src/execution/common/scheduler.ts) |
75
76
  | `@oomol-lab/open-flow/webhook-trigger` | [src/trigger/common/webhook.ts](src/trigger/common/webhook.ts) |
@@ -1,5 +1,5 @@
1
1
  import { a as derive, l as val, r as combine } from "./dist-bO8nvHFH.js";
2
- import { $ as useAnchoredPopupScrollLock, An as ownerDocument, At as useTriggerDataForwarding, Bn as useValueChanged, Bt as useFloatingTree, Cr as useRenderElement, Ct as useSyncedFloatingRootContext, Dr as warn, Dt as PopupTriggerMap, Er as NOOP, Et as popupStoreSelectors, Fn as useAnimationsFinished, Fr as SafeReact, Ft as FloatingFocusManager, Gn as closePress, Gt as POPUP_COLLISION_AVOIDANCE, Hr as isLastTraversableNode, Ht as FloatingPortal, I as useCompositeListItem, Ir as useStableCallback, It as FloatingNode, Jn as imperativeAction, Jt as ReactStore, Kt as FocusGuard, Ln as transitionStatusMapping, Lr as useRefWithInit, Lt as FloatingTree, Mn as createLucideIcon, Mr as formatErrorMessage, Nn as useTransitionStatus, Nr as mergeProps, Nt as useDismiss, On as isMac, Or as useMergedRefs, Ot as useImplicitActiveTrigger, P as Separator, Pn as useOpenChangeComplete, Pr as useIsoLayoutEffect, Pt as useClick, Q as useToolbarRootContext, Qn as itemPress, Qt as fastComponentRef, Rr as getParentNode, Rt as useFloatingNodeId, Sr as clsx, St as useFocus, Tr as EMPTY_OBJECT, Tt as createInitialPopupStoreState, U as COMPOSITE_KEYS, Un as cancelOpen, Ut as CLICK_TRIGGER_IDENTIFIER, Vn as createChangeEventDetails, Vr as isHTMLElement$1, Vt as FloatingTreeStore, Wt as DROPDOWN_COLLISION_AVOIDANCE, Zt as fastComponent, _r as useControlled, _t as useRole, an as useTimeout, at as adaptiveOrigin, br as cn, bt as useHoverReferenceInteraction, cn as getTabbableBeforeElement, cr as useFormContext, ct as inertValue, dr as useBaseUiId, dt as popupStateMapping, er as none, fr as useId$1, ft as pressableTriggerOpenStateMapping, gr as visuallyHiddenInput, gt as useTypeahead, hr as visuallyHidden, ht as safePolygon, in as Timeout, ir as triggerHover, it as useAnchorPositioning, jn as Check, jr as useCompositeRootContext, jt as useTriggerRegistration, kr as useButton, kt as useOpenStateTransitions, ln as isOutsideEvent, lr as useRegisterFieldControl, lt as getPseudoElementBounds, mr as fieldValidityMapping, mt as useOpenInteractionType, nr as siblingOpen, nt as getDisabledMountTransitionStyles, on as getNextTabbable, ot as useDirection, pt as triggerOpenStateMapping, qn as focusOut, rn as useOnFirstRender, rt as InternalBackdrop, sn as getTabbableAfterElement, sr as useLabelableContext, st as CompositeList, tn as createSelector, tt as usePositioner, ur as useFieldRootContext, vr as Button, vt as useListNavigation, wn as contains, wr as EMPTY_ARRAY, xt as useHoverFloatingInteraction, yt as useInteractions, zn as useOnMount, zt as useFloatingParentNodeId } from "./tooltip-wZJRB9oP.js";
2
+ import { $ as useAnchoredPopupScrollLock, An as ownerDocument, At as useTriggerDataForwarding, Bn as useValueChanged, Bt as useFloatingTree, Cr as useRenderElement, Ct as useSyncedFloatingRootContext, Dr as warn, Dt as PopupTriggerMap, Er as NOOP, Et as popupStoreSelectors, Fn as useAnimationsFinished, Fr as SafeReact, Ft as FloatingFocusManager, Gn as closePress, Gt as POPUP_COLLISION_AVOIDANCE, Hr as isLastTraversableNode, Ht as FloatingPortal, I as useCompositeListItem, Ir as useStableCallback, It as FloatingNode, Jn as imperativeAction, Jt as ReactStore, Kt as FocusGuard, Ln as transitionStatusMapping, Lr as useRefWithInit, Lt as FloatingTree, Mn as createLucideIcon, Mr as formatErrorMessage, Nn as useTransitionStatus, Nr as mergeProps, Nt as useDismiss, On as isMac, Or as useMergedRefs, Ot as useImplicitActiveTrigger, P as Separator, Pn as useOpenChangeComplete, Pr as useIsoLayoutEffect, Pt as useClick, Q as useToolbarRootContext, Qn as itemPress, Qt as fastComponentRef, Rr as getParentNode, Rt as useFloatingNodeId, Sr as clsx, St as useFocus, Tr as EMPTY_OBJECT, Tt as createInitialPopupStoreState, U as COMPOSITE_KEYS, Un as cancelOpen, Ut as CLICK_TRIGGER_IDENTIFIER, Vn as createChangeEventDetails, Vr as isHTMLElement$1, Vt as FloatingTreeStore, Wt as DROPDOWN_COLLISION_AVOIDANCE, Zt as fastComponent, _r as useControlled, _t as useRole, an as useTimeout, at as adaptiveOrigin, br as cn, bt as useHoverReferenceInteraction, cn as getTabbableBeforeElement, cr as useFormContext, ct as inertValue, dr as useBaseUiId, dt as popupStateMapping, er as none, fr as useId$1, ft as pressableTriggerOpenStateMapping, gr as visuallyHiddenInput, gt as useTypeahead, hr as visuallyHidden, ht as safePolygon, in as Timeout, ir as triggerHover, it as useAnchorPositioning, jn as Check, jr as useCompositeRootContext, jt as useTriggerRegistration, kr as useButton, kt as useOpenStateTransitions, ln as isOutsideEvent, lr as useRegisterFieldControl, lt as getPseudoElementBounds, mr as fieldValidityMapping, mt as useOpenInteractionType, nr as siblingOpen, nt as getDisabledMountTransitionStyles, on as getNextTabbable, ot as useDirection, pt as triggerOpenStateMapping, qn as focusOut, rn as useOnFirstRender, rt as InternalBackdrop, sn as getTabbableAfterElement, sr as useLabelableContext, st as CompositeList, tn as createSelector, tt as usePositioner, ur as useFieldRootContext, vr as Button, vt as useListNavigation, wn as contains, wr as EMPTY_ARRAY, xt as useHoverFloatingInteraction, yt as useInteractions, zn as useOnMount, zt as useFloatingParentNodeId } from "./tooltip-3XMK9jkr.js";
3
3
  import * as React from "react";
4
4
  import reactExports, { createContext, forwardRef, memo, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -436,7 +436,7 @@ function Checkbox({ className, indeterminate, ...props }) {
436
436
  });
437
437
  }
438
438
  //#endregion
439
- //#region src/control/common/providerIconSprite.ts
439
+ //#region src/connector/common/providerIconSprite.ts
440
440
  /** Optional artwork must never make an otherwise usable catalog unavailable. */
441
441
  function providerIconAppearance(metadata, position) {
442
442
  if (!metadata || typeof metadata != "object" || !position || typeof position != "object") return {};
@@ -1,8 +1,8 @@
1
1
  import { o as __toESM, t as __commonJSMin } from "./rolldown-runtime-CEgmsyvS.js";
2
- import { $ as ko_default, B as MenuPopup, C as DropdownMenuContent, D as DropdownMenuRadioGroup, E as DropdownMenuLabel, F as findRootOwnerId, G as MenuRootContext, H as MenuGroup, J as waitBranchDescription, K as useMenuRootContext, L as MenuRoot, N as DropdownMenuTrigger, O as DropdownMenuRadioItem, Q as ru_default, R as MenuPositioner, S as DropdownMenuCheckboxItem, T as DropdownMenuItem, U as ContextMenuRootContext, V as MenuItem, W as useContextMenuRootContext, X as zh_TW_default, Z as zh_CN_default, _ as NativeScrollArea, at as Checkbox, d as PopoverContent, et as ja_default, g as PopoverTrigger, h as PopoverTitle, k as DropdownMenuSeparator, l as wrapLayout, nt as en_default, q as uiLocales, rt as I18n, st as IconThemeContext, t as ContentIcon, tt as fr_default, u as Popover, v as ScrollArea, w as DropdownMenuGroup, x as DropdownMenu, z as MenuPortal } from "./ContentIcon-FCpKiwjp.js";
2
+ import { $ as ko_default, B as MenuPopup, C as DropdownMenuContent, D as DropdownMenuRadioGroup, E as DropdownMenuLabel, F as findRootOwnerId, G as MenuRootContext, H as MenuGroup, J as waitBranchDescription, K as useMenuRootContext, L as MenuRoot, N as DropdownMenuTrigger, O as DropdownMenuRadioItem, Q as ru_default, R as MenuPositioner, S as DropdownMenuCheckboxItem, T as DropdownMenuItem, U as ContextMenuRootContext, V as MenuItem, W as useContextMenuRootContext, X as zh_TW_default, Z as zh_CN_default, _ as NativeScrollArea, at as Checkbox, d as PopoverContent, et as ja_default, g as PopoverTrigger, h as PopoverTitle, k as DropdownMenuSeparator, l as wrapLayout, nt as en_default, q as uiLocales, rt as I18n, st as IconThemeContext, t as ContentIcon, tt as fr_default, u as Popover, v as ScrollArea, w as DropdownMenuGroup, x as DropdownMenu, z as MenuPortal } from "./ContentIcon-Cm1hbVzW.js";
3
3
  import { a as derive, c as strictEqual, i as compute, l as val, n as attachSetter, r as combine, s as readonlyVal } from "./dist-bO8nvHFH.js";
4
4
  import { c as useLang, i as isString, l as useTranslate, n as isBoolean, o as I18nProvider, r as isPlainObject, t as isArray$1, u as useVal } from "./dist-BFmpkX4P.js";
5
- import { $t as require_with_selector, A as string, An as ownerDocument, C as literal, Cr as useRenderElement, Mn as createLucideIcon, Sr as clsx, T as number, Tn as getTarget, Un as cancelOpen, Vn as createChangeEventDetails, an as useTimeout, ar as triggerPress, bn as stopEvent$1, br as cn$1, fr as useId$1, ft as pressableTriggerOpenStateMapping, i as TooltipTrigger, k as strictObject, n as TooltipContent, p as timeZoneOffsetMinutes, qt as addEventListener, r as TooltipProvider, t as Tooltip, vr as Button, wn as contains, y as discriminatedUnion } from "./tooltip-wZJRB9oP.js";
5
+ import { $t as require_with_selector, A as string, An as ownerDocument, C as literal, Cr as useRenderElement, Mn as createLucideIcon, Sr as clsx, T as number, Tn as getTarget, Un as cancelOpen, Vn as createChangeEventDetails, an as useTimeout, ar as triggerPress, bn as stopEvent$1, br as cn$1, fr as useId$1, ft as pressableTriggerOpenStateMapping, i as TooltipTrigger, k as strictObject, n as TooltipContent, p as timeZoneOffsetMinutes, qt as addEventListener, r as TooltipProvider, t as Tooltip, vr as Button, wn as contains, y as discriminatedUnion } from "./tooltip-3XMK9jkr.js";
6
6
  import { r as resolveUiLanguage } from "./languages-gYzoQqCi.js";
7
7
  import * as React from "react";
8
8
  import reactExports, { Children, Suspense, createContext, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
@@ -18636,33 +18636,33 @@ function IconStack({ icons, count, limit = 3, size = "default", countClassName }
18636
18636
  });
18637
18637
  }
18638
18638
  var CanvasCard_module_default = {
18639
- card: "CanvasCard_card_56d5c",
18640
- value: "CanvasCard_value_56d5c",
18641
- preview: "CanvasCard_preview_56d5c",
18642
- comment: "CanvasCard_comment_56d5c",
18643
- selected: "CanvasCard_selected_56d5c",
18644
- problem: "CanvasCard_problem_56d5c",
18645
- runningBeam: "CanvasCard_runningBeam_56d5c",
18646
- "running-beam": "CanvasCard_running-beam_56d5c",
18647
- header: "CanvasCard_header_56d5c",
18648
- icon: "CanvasCard_icon_56d5c",
18649
- identity: "CanvasCard_identity_56d5c",
18650
- indicator: "CanvasCard_indicator_56d5c",
18651
- warning: "CanvasCard_warning_56d5c",
18652
- danger: "CanvasCard_danger_56d5c",
18653
- content: "CanvasCard_content_56d5c",
18654
- footer: "CanvasCard_footer_56d5c",
18655
- afterPreview: "CanvasCard_afterPreview_56d5c",
18656
- branches: "CanvasCard_branches_56d5c",
18657
- collapse: "CanvasCard_collapse_56d5c",
18658
- collapseInner: "CanvasCard_collapseInner_56d5c",
18659
- compactIdentity: "CanvasCard_compactIdentity_56d5c",
18660
- compact: "CanvasCard_compact_56d5c",
18661
- withBody: "CanvasCard_withBody_56d5c",
18662
- compactContent: "CanvasCard_compactContent_56d5c",
18663
- singleContent: "CanvasCard_singleContent_56d5c",
18664
- subtitle: "CanvasCard_subtitle_56d5c",
18665
- fill: "CanvasCard_fill_56d5c"
18639
+ card: "CanvasCard_card_77a06",
18640
+ value: "CanvasCard_value_77a06",
18641
+ preview: "CanvasCard_preview_77a06",
18642
+ comment: "CanvasCard_comment_77a06",
18643
+ selected: "CanvasCard_selected_77a06",
18644
+ problem: "CanvasCard_problem_77a06",
18645
+ runningBeam: "CanvasCard_runningBeam_77a06",
18646
+ "running-beam": "CanvasCard_running-beam_77a06",
18647
+ header: "CanvasCard_header_77a06",
18648
+ icon: "CanvasCard_icon_77a06",
18649
+ identity: "CanvasCard_identity_77a06",
18650
+ indicator: "CanvasCard_indicator_77a06",
18651
+ warning: "CanvasCard_warning_77a06",
18652
+ danger: "CanvasCard_danger_77a06",
18653
+ content: "CanvasCard_content_77a06",
18654
+ footer: "CanvasCard_footer_77a06",
18655
+ afterPreview: "CanvasCard_afterPreview_77a06",
18656
+ branches: "CanvasCard_branches_77a06",
18657
+ collapse: "CanvasCard_collapse_77a06",
18658
+ collapseInner: "CanvasCard_collapseInner_77a06",
18659
+ compactIdentity: "CanvasCard_compactIdentity_77a06",
18660
+ compact: "CanvasCard_compact_77a06",
18661
+ withBody: "CanvasCard_withBody_77a06",
18662
+ compactContent: "CanvasCard_compactContent_77a06",
18663
+ singleContent: "CanvasCard_singleContent_77a06",
18664
+ subtitle: "CanvasCard_subtitle_77a06",
18665
+ fill: "CanvasCard_fill_77a06"
18666
18666
  };
18667
18667
  //#endregion
18668
18668
  //#region src/ui/browser/hooks.ts
@@ -20230,18 +20230,18 @@ function CommentResizeButton({ store }) {
20230
20230
  });
20231
20231
  }
20232
20232
  var NodeHead_module_default = {
20233
- container: "NodeHead_container_56ebb",
20234
- title: "NodeHead_title_56ebb",
20235
- connection: "NodeHead_connection_56ebb",
20236
- menu: "NodeHead_menu_56ebb",
20237
- menuButton: "NodeHead_menuButton_56ebb",
20238
- commentIcon: "NodeHead_commentIcon_56ebb",
20239
- errorIcon: "NodeHead_errorIcon_56ebb",
20240
- blockSettings: "NodeHead_blockSettings_56ebb",
20241
- floatBar: "NodeHead_floatBar_56ebb",
20242
- floatBarButton: "NodeHead_floatBarButton_56ebb",
20243
- nodeIcon: "NodeHead_nodeIcon_56ebb",
20244
- action: "NodeHead_action_56ebb"
20233
+ container: "NodeHead_container_e9871",
20234
+ title: "NodeHead_title_e9871",
20235
+ connection: "NodeHead_connection_e9871",
20236
+ menu: "NodeHead_menu_e9871",
20237
+ menuButton: "NodeHead_menuButton_e9871",
20238
+ commentIcon: "NodeHead_commentIcon_e9871",
20239
+ errorIcon: "NodeHead_errorIcon_e9871",
20240
+ blockSettings: "NodeHead_blockSettings_e9871",
20241
+ floatBar: "NodeHead_floatBar_e9871",
20242
+ floatBarButton: "NodeHead_floatBarButton_e9871",
20243
+ nodeIcon: "NodeHead_nodeIcon_e9871",
20244
+ action: "NodeHead_action_e9871"
20245
20245
  };
20246
20246
  var input_module_default = {
20247
20247
  input: "input_input_b8701",
@@ -21227,27 +21227,27 @@ var fitViewOptions = {
21227
21227
  maxZoom: 1
21228
21228
  };
21229
21229
  var ReactFlowContainer_module_default = {
21230
- container: "ReactFlowContainer_container_ebe22",
21231
- flow: "ReactFlowContainer_flow_ebe22",
21232
- contextMenu: "ReactFlowContainer_contextMenu_ebe22",
21233
- movingLayout: "ReactFlowContainer_movingLayout_ebe22",
21234
- layoutPending: "ReactFlowContainer_layoutPending_ebe22",
21235
- dock: "ReactFlowContainer_dock_ebe22",
21236
- viewDock: "ReactFlowContainer_viewDock_ebe22",
21237
- expandedViewControls: "ReactFlowContainer_expandedViewControls_ebe22",
21238
- viewOptionButtons: "ReactFlowContainer_viewOptionButtons_ebe22",
21239
- compactViewControls: "ReactFlowContainer_compactViewControls_ebe22",
21240
- createDock: "ReactFlowContainer_createDock_ebe22",
21241
- zoomValue: "ReactFlowContainer_zoomValue_ebe22",
21242
- interactiveModeTrigger: "ReactFlowContainer_interactiveModeTrigger_ebe22",
21243
- interactiveModePanel: "ReactFlowContainer_interactiveModePanel_ebe22",
21244
- interactiveModeChoices: "ReactFlowContainer_interactiveModeChoices_ebe22",
21245
- interactiveModeChoice: "ReactFlowContainer_interactiveModeChoice_ebe22",
21246
- dockActions: "ReactFlowContainer_dockActions_ebe22",
21247
- miniMap: "ReactFlowContainer_miniMap_ebe22",
21248
- viewOptions: "ReactFlowContainer_viewOptions_ebe22",
21249
- viewOptionsClip: "ReactFlowContainer_viewOptionsClip_ebe22",
21250
- viewSeparator: "ReactFlowContainer_viewSeparator_ebe22"
21230
+ container: "ReactFlowContainer_container_b3d0e",
21231
+ flow: "ReactFlowContainer_flow_b3d0e",
21232
+ contextMenu: "ReactFlowContainer_contextMenu_b3d0e",
21233
+ movingLayout: "ReactFlowContainer_movingLayout_b3d0e",
21234
+ layoutPending: "ReactFlowContainer_layoutPending_b3d0e",
21235
+ dock: "ReactFlowContainer_dock_b3d0e",
21236
+ viewDock: "ReactFlowContainer_viewDock_b3d0e",
21237
+ expandedViewControls: "ReactFlowContainer_expandedViewControls_b3d0e",
21238
+ viewOptionButtons: "ReactFlowContainer_viewOptionButtons_b3d0e",
21239
+ compactViewControls: "ReactFlowContainer_compactViewControls_b3d0e",
21240
+ createDock: "ReactFlowContainer_createDock_b3d0e",
21241
+ zoomValue: "ReactFlowContainer_zoomValue_b3d0e",
21242
+ interactiveModeTrigger: "ReactFlowContainer_interactiveModeTrigger_b3d0e",
21243
+ interactiveModePanel: "ReactFlowContainer_interactiveModePanel_b3d0e",
21244
+ interactiveModeChoices: "ReactFlowContainer_interactiveModeChoices_b3d0e",
21245
+ interactiveModeChoice: "ReactFlowContainer_interactiveModeChoice_b3d0e",
21246
+ dockActions: "ReactFlowContainer_dockActions_b3d0e",
21247
+ miniMap: "ReactFlowContainer_miniMap_b3d0e",
21248
+ viewOptions: "ReactFlowContainer_viewOptions_b3d0e",
21249
+ viewOptionsClip: "ReactFlowContainer_viewOptionsClip_b3d0e",
21250
+ viewSeparator: "ReactFlowContainer_viewSeparator_b3d0e"
21251
21251
  };
21252
21252
  //#endregion
21253
21253
  //#region src/canvas/browser/addItemDrag.ts
@@ -1,7 +1,7 @@
1
1
  import { l as useTranslate } from "./dist-BFmpkX4P.js";
2
- import { vr as Button } from "./tooltip-wZJRB9oP.js";
3
- import { Qt as Input, a as DialogFooter, d as Field, f as FieldDescription, h as FieldLabel, i as DialogDescription, l as Icon, m as FieldGroup, n as DialogClose, o as DialogHeader, p as FieldError, r as DialogContent, s as DialogTitle, t as Dialog, u as Spinner } from "./dialog-ZtpsFbl4.js";
4
- import { t as WorkbenchSelect } from "./workbenchSelect-M441Lz0d.js";
2
+ import { vr as Button } from "./tooltip-3XMK9jkr.js";
3
+ import { $t as Input, a as DialogFooter, d as Field, f as FieldDescription, h as FieldLabel, i as DialogDescription, l as Icon, m as FieldGroup, n as DialogClose, o as DialogHeader, p as FieldError, r as DialogContent, s as DialogTitle, t as Dialog, u as Spinner } from "./dialog-aSElFFw2.js";
4
+ import { t as WorkbenchSelect } from "./workbenchSelect-DBGP7Y4Z.js";
5
5
  import { useEffect, useRef, useState } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/workbench/browser/runtime/shell/createResourceDialog.tsx
@@ -1,5 +1,5 @@
1
1
  import { a as toPlainObject, i as isString } from "./dist-BFmpkX4P.js";
2
- import { $ as useAnchoredPopupScrollLock, A as string, An as ownerDocument, At as useTriggerDataForwarding, Bn as useValueChanged, Br as isElement, C as literal, Cn as activeElement, Cr as useRenderElement, Ct as useSyncedFloatingRootContext, D as preprocess, Dt as PopupTriggerMap, E as object, Er as NOOP, Et as popupStoreSelectors, F as IndexGuessBehavior, Ft as FloatingFocusManager, Gn as closePress, Ht as FloatingPortal, I as useCompositeListItem, Ir as useStableCallback, Jn as imperativeAction, Jt as ReactStore, Ln as transitionStatusMapping, Lr as useRefWithInit, M as unknown, Mn as createLucideIcon, Mr as formatErrorMessage, Mt as platform, N as _isoDateTime, Nn as useTransitionStatus, Nr as mergeProps, Nt as useDismiss, O as record$1, Or as useMergedRefs, Ot as useImplicitActiveTrigger, P as Separator, Pn as useOpenChangeComplete, Pr as useIsoLayoutEffect, Pt as useClick, Q as useToolbarRootContext, Qn as itemPress, Rn as useAnimationFrame, T as number, Tn as getTarget, Tr as EMPTY_OBJECT, Tt as createInitialPopupStoreState, U as COMPOSITE_KEYS, Un as cancelOpen, Ut as CLICK_TRIGGER_IDENTIFIER, Vn as createChangeEventDetails, Wt as DROPDOWN_COLLISION_AVOIDANCE, Xt as useStore, Yt as Store, _ as array, _r as useControlled, _t as useRole, an as useTimeout, br as cn, cr as useFormContext, ct as inertValue, dr as useBaseUiId, dt as popupStateMapping, er as none, et as useScrollLock, f as isTimeZone, ft as pressableTriggerOpenStateMapping, g as _enum, gr as visuallyHiddenInput, gt as useTypeahead, h as ZodType, hr as visuallyHidden, i as TooltipTrigger, it as useAnchorPositioning, j as union, jn as Check, k as strictObject, kn as isWebKit, kr as useButton, kt as useOpenStateTransitions, lr as useRegisterFieldControl, lt as getPseudoElementBounds, m as ZodISODateTime, mr as fieldValidityMapping, mt as useOpenInteractionType, n as TooltipContent, nn as useValueAsRef, nt as getDisabledMountTransitionStyles, or as windowResize, ot as useDirection, pt as triggerOpenStateMapping, qt as addEventListener, rn as useOnFirstRender, rt as InternalBackdrop, sr as useLabelableContext, st as CompositeList, t as Tooltip, tn as createSelector, tt as usePositioner, ur as useFieldRootContext, ut as CommonPopupDataAttributes, v as boolean, vr as Button, vt as useListNavigation, w as never, wn as contains, wr as EMPTY_ARRAY, wt as useFloatingRootContext, x as json$1, xn as getFloatingFocusElement, xr as cva, y as discriminatedUnion, yn as rectToClientRect, yr as buttonVariants, yt as useInteractions, zr as getWindow } from "./tooltip-wZJRB9oP.js";
2
+ import { $ as useAnchoredPopupScrollLock, A as string, An as ownerDocument, At as useTriggerDataForwarding, Bn as useValueChanged, Br as isElement, C as literal, Cn as activeElement, Cr as useRenderElement, Ct as useSyncedFloatingRootContext, D as preprocess, Dt as PopupTriggerMap, E as object, Er as NOOP, Et as popupStoreSelectors, F as IndexGuessBehavior, Ft as FloatingFocusManager, Gn as closePress, Ht as FloatingPortal, I as useCompositeListItem, Ir as useStableCallback, Jn as imperativeAction, Jt as ReactStore, Ln as transitionStatusMapping, Lr as useRefWithInit, M as unknown, Mn as createLucideIcon, Mr as formatErrorMessage, Mt as platform, N as _isoDateTime, Nn as useTransitionStatus, Nr as mergeProps, Nt as useDismiss, O as record$1, Or as useMergedRefs, Ot as useImplicitActiveTrigger, P as Separator, Pn as useOpenChangeComplete, Pr as useIsoLayoutEffect, Pt as useClick, Q as useToolbarRootContext, Qn as itemPress, Rn as useAnimationFrame, T as number, Tn as getTarget, Tr as EMPTY_OBJECT, Tt as createInitialPopupStoreState, U as COMPOSITE_KEYS, Un as cancelOpen, Ut as CLICK_TRIGGER_IDENTIFIER, Vn as createChangeEventDetails, Wt as DROPDOWN_COLLISION_AVOIDANCE, Xt as useStore, Yt as Store, _ as array, _r as useControlled, _t as useRole, an as useTimeout, br as cn, cr as useFormContext, ct as inertValue, dr as useBaseUiId, dt as popupStateMapping, er as none, et as useScrollLock, f as isTimeZone, ft as pressableTriggerOpenStateMapping, g as _enum, gr as visuallyHiddenInput, gt as useTypeahead, h as ZodType, hr as visuallyHidden, i as TooltipTrigger, it as useAnchorPositioning, j as union, jn as Check, k as strictObject, kn as isWebKit, kr as useButton, kt as useOpenStateTransitions, lr as useRegisterFieldControl, lt as getPseudoElementBounds, m as ZodISODateTime, mr as fieldValidityMapping, mt as useOpenInteractionType, n as TooltipContent, nn as useValueAsRef, nt as getDisabledMountTransitionStyles, or as windowResize, ot as useDirection, pt as triggerOpenStateMapping, qt as addEventListener, rn as useOnFirstRender, rt as InternalBackdrop, sr as useLabelableContext, st as CompositeList, t as Tooltip, tn as createSelector, tt as usePositioner, ur as useFieldRootContext, ut as CommonPopupDataAttributes, v as boolean, vr as Button, vt as useListNavigation, w as never, wn as contains, wr as EMPTY_ARRAY, wt as useFloatingRootContext, x as json$1, xn as getFloatingFocusElement, xr as cva, y as discriminatedUnion, yn as rectToClientRect, yr as buttonVariants, yt as useInteractions, zr as getWindow } from "./tooltip-3XMK9jkr.js";
3
3
  import * as React from "react";
4
4
  import { useMemo } from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -6290,6 +6290,9 @@ function webhookSupportsBody(method) {
6290
6290
  }
6291
6291
  //#endregion
6292
6292
  //#region src/decision/common/decision.ts
6293
+ function isDecisionExecutor(executor) {
6294
+ return executor.kind === "decision";
6295
+ }
6293
6296
  var decisionModel = "typesafe/jev";
6294
6297
  var decisionLimits = {
6295
6298
  choice: 255,
@@ -6313,7 +6316,7 @@ function limitDecisionQuestions(questions) {
6313
6316
  }
6314
6317
  /** Loading an oversized task also updates its previously generated output schemas. */
6315
6318
  function limitDecisionTask(task) {
6316
- if (task.executor.kind !== "decision") return task;
6319
+ if (!isDecisionExecutor(task.executor)) return task;
6317
6320
  const original = task.executor.questions;
6318
6321
  const questions = limitDecisionQuestions(original);
6319
6322
  if (questions === original) return task;
@@ -6438,12 +6441,17 @@ function decisionTask(questions = [defaultDecisionQuestion()], name = "AI Decisi
6438
6441
  }
6439
6442
  //#endregion
6440
6443
  //#region src/http/common/authBindings.ts
6441
- /** Never allow credentials to enter a Revision as literal node inputs. */
6442
- function assertHttpAuthBindings(document) {
6443
- for (const node of Object.values(document.graph.nodes)) {
6444
- if (node.kind != "task" || !("executor" in node.task) || !["openapi", "http-request"].includes(node.task.executor.kind)) continue;
6445
- for (const [handle, mapping] of Object.entries(node.inputs)) if (handle.startsWith("auth.") && mapping.kind == "value") throw new TypeError("HTTP authentication accepts deployment variables and upstream outputs only.");
6446
- }
6444
+ /** Never allow credentials to enter a Revision as literal inputs of an OpenAPI or HTTP request node. */
6445
+ function assertHttpAuthBindings(inputs) {
6446
+ for (const [handle, mapping] of Object.entries(inputs)) if (handle.startsWith("auth.") && mapping.kind == "value") throw new TypeError("HTTP authentication accepts deployment variables and upstream outputs only.");
6447
+ }
6448
+ //#endregion
6449
+ //#region src/http/common/hosts.ts
6450
+ /** Hosts of a Code `http` Capability: lowercase DNS names or IPv4 addresses; `*.example.com` matches subdomains only. */
6451
+ var httpHostPattern = /^(?:\*\.)?(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/;
6452
+ /** Wildcards must name a registrable suffix, so `*.com` is rejected. */
6453
+ function isHttpHost(value) {
6454
+ return httpHostPattern.test(value) && (!value.startsWith("*.") || value.slice(2).includes("."));
6447
6455
  }
6448
6456
  //#endregion
6449
6457
  //#region src/flow/common/portChanges.ts
@@ -6673,10 +6681,14 @@ function httpRequestInputs(mappings, previous, next) {
6673
6681
  const rename = candidate != null && ["query.", "header."].some((prefix) => candidate.every((name) => name.startsWith(prefix))) ? candidate : void 0;
6674
6682
  return remapInputMappings(mappings, next.inputs, rename);
6675
6683
  }
6684
+ function httpRequestExecutor(node) {
6685
+ const executor = node.task.executor;
6686
+ return executor?.kind === "http-request" ? executor : void 0;
6687
+ }
6676
6688
  /** The object editor assembles named inputs without changing unrelated request settings. */
6677
6689
  function withHttpParameterFields(node, group, values) {
6678
- if (!("executor" in node.task) || node.task.executor.kind !== "http-request") return node;
6679
- const config = node.task.executor;
6690
+ const config = httpRequestExecutor(node);
6691
+ if (config == null) return node;
6680
6692
  const task = httpRequestTask({
6681
6693
  ...config,
6682
6694
  [group]: {
@@ -6701,9 +6713,10 @@ function withHttpParameterFields(node, group, values) {
6701
6713
  };
6702
6714
  }
6703
6715
  function withHttpParameterSource(node, group, mapping) {
6704
- if (!("executor" in node.task) || node.task.executor.kind !== "http-request") return node;
6716
+ const config = httpRequestExecutor(node);
6717
+ if (config == null) return node;
6705
6718
  const task = httpRequestTask({
6706
- ...node.task.executor,
6719
+ ...config,
6707
6720
  [group]: {
6708
6721
  mode: "object",
6709
6722
  names: []
@@ -6928,7 +6941,15 @@ var workflowCapabilitySchema = strictObject({
6928
6941
  inputs: array(port),
6929
6942
  outputs: array(port).nullable()
6930
6943
  });
6931
- var capability = union([connectorCapabilitySchema, workflowCapabilitySchema]);
6944
+ var httpCapabilitySchema = strictObject({
6945
+ kind: literal("http"),
6946
+ hosts: array(text.refine(isHttpHost, "Use a lowercase host name or IPv4 address, optionally prefixed by \"*.\" for subdomains.")).min(1).max(20).describe("Hosts Code may call with context.fetch. \"*.example.com\" matches subdomains only.")
6947
+ });
6948
+ var capability = union([
6949
+ connectorCapabilitySchema,
6950
+ workflowCapabilitySchema,
6951
+ httpCapabilitySchema
6952
+ ]);
6932
6953
  var inline = object({
6933
6954
  ...ports,
6934
6955
  name: text,
@@ -7308,7 +7329,8 @@ var revision = object({
7308
7329
  literal(8),
7309
7330
  literal(9),
7310
7331
  literal(10),
7311
- literal(11)
7332
+ literal(11),
7333
+ literal(12)
7312
7334
  ]),
7313
7335
  document,
7314
7336
  modules: record$1(text, module)
@@ -7339,7 +7361,7 @@ function decodeRevisionContent(value) {
7339
7361
  checkJsonDepth(value);
7340
7362
  const content = revision.parse(value);
7341
7363
  checkModelVersion(content);
7342
- assertHttpAuthBindings(content.document);
7364
+ assertDocumentHttpAuthBindings(content.document);
7343
7365
  return content;
7344
7366
  }
7345
7367
  var shapes = {
@@ -7510,6 +7532,7 @@ var variants = new Map(Object.entries(shapes).map(([kind, shape]) => [kind, shap
7510
7532
  })]));
7511
7533
  array(union([...variants.values()])).min(1);
7512
7534
  function checkModelVersion(content) {
7535
+ if (content.modelVersion < 12 && Object.values(content.document.graph.nodes).some((candidateNode) => candidateNode.kind == "task" && "moduleId" in candidateNode.task && candidateNode.task.capabilities?.some((item) => item.kind == "http"))) throw new TypeError("Code HTTP access requires Flow model version 12.");
7513
7536
  if (content.modelVersion < 11 && Object.values(content.document.graph.nodes).some((candidateNode) => candidateNode.kind == "task" && "executor" in candidateNode.task && candidateNode.task.executor.kind == "http-request")) throw new TypeError("HTTP Request requires Flow model version 11.");
7514
7537
  if (content.modelVersion < 11 && Object.values(content.document.graph.nodes).some((candidateNode) => candidateNode.kind == "task" && ("moduleId" in candidateNode.task ? candidateNode.task.capabilities?.some((item) => item.kind == "workflow") : candidateNode.task.executor.kind == "agent" && candidateNode.task.executor.tools.some((item) => item.kind == "workflow")))) throw new TypeError("Workflow tools require Flow model version 11.");
7515
7538
  if (content.modelVersion < 10 && Object.values(content.document.graph.nodes).some((candidateNode) => candidateNode.kind == "webhook" && (candidateNode.options?.responseBody != null || candidateNode.options?.responseStatusCodeOutput != null || candidateNode.options?.responseHeadersSource != null || candidateNode.options?.responseHeaderOutputs != null))) throw new TypeError("Dynamic Webhook responses require Flow model version 10.");
@@ -7525,6 +7548,9 @@ function checkModelVersion(content) {
7525
7548
  if (content.modelVersion < 6 && Object.values(content.document.graph.nodes).some((candidateNode) => candidateNode.kind == "task" && "executor" in candidateNode.task)) throw new TypeError("Node-owned managed Tasks require Flow model version 6.");
7526
7549
  if (content.modelVersion < 5 && Object.values(content.document.graph.nodes).some((itemNode) => itemNode.kind == "error")) throw new TypeError("Error workflows require Flow model version 5.");
7527
7550
  }
7551
+ function assertDocumentHttpAuthBindings(content) {
7552
+ for (const graphNode of Object.values(content.graph.nodes)) if (graphNode.kind == "task" && "executor" in graphNode.task && ["openapi", "http-request"].includes(graphNode.task.executor.kind)) assertHttpAuthBindings(graphNode.inputs);
7553
+ }
7528
7554
  //#endregion
7529
7555
  //#region src/flow/common/condition.ts
7530
7556
  var otherwiseOutput = "otherwise";
@@ -7763,9 +7789,6 @@ function resourceNameIssue(value) {
7763
7789
  }
7764
7790
  if (!/^[\p{L}\p{N}](?:[\p{L}\p{N} _-]*[\p{L}\p{N}])?$/u.test(name)) return "specialCharacter";
7765
7791
  }
7766
- function portsByHandle(ports) {
7767
- return Object.fromEntries(ports.flatMap((port) => "handle" in port ? [[port.handle, port]] : []));
7768
- }
7769
7792
  var workflowToolNamePattern = /^[A-Za-z][A-Za-z0-9_-]{0,63}$/;
7770
7793
  function workflowToolNameIssue(name, otherNames = []) {
7771
7794
  if (!workflowToolNamePattern.test(name)) return "invalid";
@@ -7781,6 +7804,8 @@ function decodeTaskCapabilities(value) {
7781
7804
  if (workflowToolNameIssue(item.name, names)) throw new TypeError("Workflow tool names must be unique provider-compatible names.");
7782
7805
  names.add(item.name);
7783
7806
  }
7807
+ const http = parsed.filter((item) => item.kind == "http");
7808
+ if (http.length > 1 || http.some((item) => new Set(item.hosts).size != item.hosts.length)) throw new TypeError("Code declares HTTP hosts once, without duplicates.");
7784
7809
  let connectorIndex = 0;
7785
7810
  return parsed.map((item) => item.kind == "connector" ? connectors[connectorIndex++] : item);
7786
7811
  }
@@ -7916,10 +7941,10 @@ function upgradeRevisionContent(content) {
7916
7941
  function upgradeDecodedRevisionContent(content) {
7917
7942
  const graph = content.document.graph;
7918
7943
  const hasManual = Object.values(graph.nodes).some((node) => node.kind == "manual");
7919
- if (!hasManual && content.modelVersion == 11) return content;
7944
+ if (!hasManual && content.modelVersion == 12) return content;
7920
7945
  return {
7921
7946
  ...content,
7922
- modelVersion: 11,
7947
+ modelVersion: 12,
7923
7948
  document: {
7924
7949
  ...content.document,
7925
7950
  graph: hasManual ? {
@@ -7966,7 +7991,7 @@ function invalid(message) {
7966
7991
  throw new FlowChangeError(message);
7967
7992
  }
7968
7993
  function applyFlowChanges(content, operations) {
7969
- const source = content.modelVersion != 11 || Object.values(content.document.graph.nodes).some((node) => node.kind == "manual") ? decodeRevisionContent(content) : content;
7994
+ const source = content.modelVersion != 12 || Object.values(content.document.graph.nodes).some((node) => node.kind == "manual") ? decodeRevisionContent(content) : content;
7970
7995
  const document = { ...source.document };
7971
7996
  const modules = { ...source.modules };
7972
7997
  for (const operation of operations) switch (operation.kind) {
@@ -8411,10 +8436,10 @@ function applyFlowChanges(content, operations) {
8411
8436
  break;
8412
8437
  }
8413
8438
  }
8414
- assertHttpAuthBindings(document);
8439
+ assertDocumentHttpAuthBindings(document);
8415
8440
  return upgradeDecodedRevisionContent({
8416
8441
  document,
8417
- modelVersion: 11,
8442
+ modelVersion: 12,
8418
8443
  modules
8419
8444
  });
8420
8445
  }
@@ -9315,4 +9340,4 @@ function DialogDescription({ className, ...props }) {
9315
9340
  });
9316
9341
  }
9317
9342
  //#endregion
9318
- export { waitAutoContinueSchema as $, useLabelableId as $t, clearConditionBindings as A, isSchemaKeyword as At, agentToolFields as B, SelectValue as Bt, resourceNameIssue as C, webhookMethods as Ct, nodeErrorSchema as D, portsAssignable as Dt, workflowToolNameIssue as E, matchesSchema as Et, operandHandle as F, SelectContent as Ft, workflowAgentToolSchema as G, stringifyAsValue as Gt, connectorAgentToolSchema as H, hasNullItemLabel as Ht, operatorsForType as I, SelectGroup as It, webhookResponseAllowsBody as J, findItemIndex as Jt, webhookHeaderValuePort as K, compareItemEquality as Kt, otherwiseOutput as L, SelectItem as Lt, conditionInputPorts as M, dequal as Mt, mapConditionSources as N, Select as Nt, nodeSystemOutputPorts as O, schemaObject as Ot, nodeInputMappings as P, SelectChevron as Pt, workflowOutputsPort as Q, Input as Qt, unaryOperator as R, SelectSeparator as Rt, portsByHandle as S, limitDecisionQuestions as St, upgradeRevisionContent as T, comparePorts as Tt, connectorCapabilitySchema as U, isGroupedItems as Ut, authoringDefinitionSchemas as V, resolveAriaLabelledBy as Vt, decodeRevisionContent as W, stringifyAsLabel as Wt, webhookResponseTimeout as X, selectedValueIncludes as Xt, webhookResponseInputs as Y, removeItem as Yt, webhookStatusCodePort as Z, Label as Zt, applyFlowChanges as _, decisionLimits as _t, DialogFooter as a, httpHeaderSchema as at, nodeNameIssue as b, decisionTask as bt, DialogTrigger as c, httpRequestInputs as ct, Field as d, withHttpParameterFields as dt, ChevronDown as en, defaultNodeRetry as et, FieldDescription as f, withHttpParameterSource as ft, FlowChangeError as g, renamedPort as gt, FieldLabel as h, renameOutputMapping as ht, DialogDescription as i, checkJsonDepth as it, comparisonIssue as j, format as jt, supportsNodeErrorHandling as k, variableInputCompatible as kt, Icon as l, httpRequestIssues as lt, FieldGroup as m, remapInputMappings as mt, DialogClose as n, retryConfigurationSchema as nt, DialogHeader as o, httpQuerySchema as ot, FieldError as p, httpHeaderNameIssue as pt, webhookHeadersPort as q, defaultItemEquality as qt, DialogContent as r, supportsNodeRetry as rt, DialogTitle as s, httpRequestConfigSchema as st, Dialog as t, nodeRetryLimits as tt, Spinner as u, httpRequestTask as ut, isTriggerNode as v, decisionModel as vt, upgradeManualTrigger as w, webhookSupportsBody as wt, normalizeNodeName as x, defaultDecisionQuestion as xt, nextNodeName as y, decisionQuestionIssues as yt, valueType as z, SelectTrigger as zt };
9343
+ export { waitAutoContinueSchema as $, Input as $t, comparisonIssue as A, variableInputCompatible as At, authoringDefinitionSchemas as B, SelectTrigger as Bt, upgradeManualTrigger as C, limitDecisionQuestions as Ct, nodeSystemOutputPorts as D, matchesSchema as Dt, nodeErrorSchema as E, comparePorts as Et, operatorsForType as F, SelectChevron as Ft, workflowAgentToolSchema as G, stringifyAsLabel as Gt, connectorCapabilitySchema as H, resolveAriaLabelledBy as Ht, otherwiseOutput as I, SelectContent as It, webhookResponseAllowsBody as J, defaultItemEquality as Jt, webhookHeaderValuePort as K, stringifyAsValue as Kt, unaryOperator as L, SelectGroup as Lt, mapConditionSources as M, format as Mt, nodeInputMappings as N, dequal as Nt, supportsNodeErrorHandling as O, portsAssignable as Ot, operandHandle as P, Select as Pt, workflowOutputsPort as Q, Label as Qt, valueType as R, SelectItem as Rt, resourceNameIssue as S, defaultDecisionQuestion as St, workflowToolNameIssue as T, webhookSupportsBody as Tt, decodeRevisionContent as U, hasNullItemLabel as Ut, connectorAgentToolSchema as V, SelectValue as Vt, httpCapabilitySchema as W, isGroupedItems as Wt, webhookResponseTimeout as X, removeItem as Xt, webhookResponseInputs as Y, findItemIndex as Yt, webhookStatusCodePort as Z, selectedValueIncludes as Zt, applyFlowChanges as _, isHttpHost as _t, DialogFooter as a, httpHeaderSchema as at, nodeNameIssue as b, decisionQuestionIssues as bt, DialogTrigger as c, httpRequestInputs as ct, Field as d, withHttpParameterFields as dt, useLabelableId as en, defaultNodeRetry as et, FieldDescription as f, withHttpParameterSource as ft, FlowChangeError as g, renamedPort as gt, FieldLabel as h, renameOutputMapping as ht, DialogDescription as i, checkJsonDepth as it, conditionInputPorts as j, isSchemaKeyword as jt, clearConditionBindings as k, schemaObject as kt, Icon as l, httpRequestIssues as lt, FieldGroup as m, remapInputMappings as mt, DialogClose as n, retryConfigurationSchema as nt, DialogHeader as o, httpQuerySchema as ot, FieldError as p, httpHeaderNameIssue as pt, webhookHeadersPort as q, compareItemEquality as qt, DialogContent as r, supportsNodeRetry as rt, DialogTitle as s, httpRequestConfigSchema as st, Dialog as t, ChevronDown as tn, nodeRetryLimits as tt, Spinner as u, httpRequestTask as ut, isTriggerNode as v, decisionLimits as vt, upgradeRevisionContent as w, webhookMethods as wt, normalizeNodeName as x, decisionTask as xt, nextNodeName as y, decisionModel as yt, agentToolFields as z, SelectSeparator as zt };
@@ -1,5 +1,5 @@
1
- import { n as IconImageCrossOriginContext, o as IconifyProvider } from "./ContentIcon-FCpKiwjp.js";
2
- import { t as FlowCanvas, v as CanvasStore } from "./FlowCanvas-dzRBnlUT.js";
1
+ import { n as IconImageCrossOriginContext, o as IconifyProvider } from "./ContentIcon-Cm1hbVzW.js";
2
+ import { t as FlowCanvas, v as CanvasStore } from "./FlowCanvas-NzKtla_c.js";
3
3
  import { createElement } from "react";
4
4
  import { createRoot } from "react-dom/client";
5
5
  //#region ../../node_modules/.bun/html-to-image@1.11.11/node_modules/html-to-image/es/util.js