@oomol-lab/open-flow 0.1.0-beta.64 → 0.1.0-beta.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{createResourceDialog-BAJXbzNH.js → createResourceDialog-C-Si_cYs.js} +2 -2
- package/dist/browser/flow-authoring-node.d.ts +12 -3
- package/dist/browser/flow-authoring.js +135 -21
- package/dist/browser/flow-change-schema.d.ts +3 -1
- package/dist/browser/flow-change.d.ts +15 -3
- package/dist/browser/flow-change.js +111 -16
- package/dist/browser/{flowChanges-BAMkSaKF.js → flowChanges-T4_R5p1f.js} +3031 -2124
- package/dist/browser/{flowRunInputEditorStore-B2Rw4VsT.js → flowRunInputEditorStore-DJqmR6Qh.js} +3 -2
- package/dist/browser/{flowWorkspace-DxLc1Ybv.js → flowWorkspace-C0J5C0oM.js} +754 -163
- package/dist/browser/{icons-Db2Jb2iX.js → icons-BD3m0RQq.js} +4484 -4370
- package/dist/browser/preview.css +160 -64
- package/dist/browser/preview.js +6487 -5232
- package/dist/browser/ui.css +93 -3
- package/dist/browser/ui.js +8 -5
- package/dist/browser/workbench.css +160 -64
- package/dist/browser/workbench.js +175 -59
- package/dist/browser/{workbenchSelect-C-jf6NIM.js → workbenchSelect-B-PFpF_Q.js} +1 -1
- package/dist/command/index.js +49 -49
- package/dist/common/authoring.d.ts +7 -5
- package/dist/common/authoringExamples.d.ts +3 -3
- package/dist/common/authoringFields.d.ts +20 -0
- package/dist/common/authoringSchema.d.ts +404 -15
- package/dist/common/connectorDecoders.d.ts +2 -1
- package/dist/common/control-api-conformance.js +403 -137
- package/dist/common/control-api.d.ts +70 -7
- package/dist/common/control-api.js +3587 -3428
- package/dist/common/control-requests.d.ts +10 -3
- package/dist/common/control-requests.js +463 -48
- package/dist/common/decision.js +28 -3
- package/dist/common/flow-encoding.d.ts +4 -2
- package/dist/common/flow-encoding.js +144 -10
- package/dist/common/flow-graph.d.ts +1 -1
- package/dist/common/flow-semantics.d.ts +12 -2
- package/dist/common/flow-semantics.js +152 -33
- package/dist/common/integration-trigger.js +28 -3
- package/dist/common/liveDetails.d.ts +26 -11
- package/dist/common/mcp.d.ts +6 -3
- package/dist/common/mcp.js +3541 -3403
- package/dist/common/openapi.js +28 -3
- package/dist/common/poll-trigger.js +28 -3
- package/dist/common/run-events.d.ts +2 -0
- package/dist/common/run-events.js +9 -3
- package/dist/common/scheduler.d.ts +11 -1
- package/dist/common/scheduler.js +216 -48
- package/dist/common/trigger-contract.d.ts +2 -0
- package/dist/common/webhook-trigger.js +28 -3
- package/dist/common/workflow.d.ts +93 -0
- package/dist/common/workflow.js +10491 -0
- package/package.json +5 -1
- package/skills/open-flow/references/flow-authoring.md +26 -16
package/dist/browser/ui.css
CHANGED
|
@@ -1359,6 +1359,10 @@
|
|
|
1359
1359
|
height: 650px;
|
|
1360
1360
|
}
|
|
1361
1361
|
|
|
1362
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .h-\[700px\] {
|
|
1363
|
+
height: 700px;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1362
1366
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .h-\[calc\(100\%-1px\)\] {
|
|
1363
1367
|
height: calc(100% - 1px);
|
|
1364
1368
|
}
|
|
@@ -1435,6 +1439,10 @@
|
|
|
1435
1439
|
max-height: min(40vh, 280px);
|
|
1436
1440
|
}
|
|
1437
1441
|
|
|
1442
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-h-\[min\(50vh\,360px\,calc\(var\(--available-height\)-0\.5rem\)\)\] {
|
|
1443
|
+
max-height: min(50vh, 360px, calc(var(--available-height) - .5rem));
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1438
1446
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .max-h-\[min\(60dvh\,480px\)\] {
|
|
1439
1447
|
max-height: min(60dvh, 480px);
|
|
1440
1448
|
}
|
|
@@ -1579,6 +1587,10 @@
|
|
|
1579
1587
|
width: 344px;
|
|
1580
1588
|
}
|
|
1581
1589
|
|
|
1590
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .w-\[420px\] {
|
|
1591
|
+
width: 420px;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1582
1594
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .w-\[440px\] {
|
|
1583
1595
|
width: 440px;
|
|
1584
1596
|
}
|
|
@@ -1875,6 +1887,10 @@
|
|
|
1875
1887
|
grid-template-columns: minmax(0, 1fr);
|
|
1876
1888
|
}
|
|
1877
1889
|
|
|
1890
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .grid-cols-\[minmax\(0\,1fr\)_380px\] {
|
|
1891
|
+
grid-template-columns: minmax(0, 1fr) 380px;
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1878
1894
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .grid-cols-\[minmax\(0\,1fr\)_auto\] {
|
|
1879
1895
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
1880
1896
|
}
|
|
@@ -2419,7 +2435,17 @@
|
|
|
2419
2435
|
}
|
|
2420
2436
|
}
|
|
2421
2437
|
|
|
2422
|
-
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .bg-foreground, :where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .bg-foreground\/
|
|
2438
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .bg-foreground, :where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .bg-foreground\/3 {
|
|
2439
|
+
background-color: var(--ui-foreground);
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2443
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .bg-foreground\/3 {
|
|
2444
|
+
background-color: color-mix(in oklab, var(--ui-foreground) 3%, transparent);
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
|
|
2448
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .bg-foreground\/5 {
|
|
2423
2449
|
background-color: var(--ui-foreground);
|
|
2424
2450
|
}
|
|
2425
2451
|
|
|
@@ -2709,6 +2735,10 @@
|
|
|
2709
2735
|
padding-left: calc(var(--spacing) * 4);
|
|
2710
2736
|
}
|
|
2711
2737
|
|
|
2738
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .pl-6 {
|
|
2739
|
+
padding-left: calc(var(--spacing) * 6);
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2712
2742
|
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .pl-8 {
|
|
2713
2743
|
padding-left: calc(var(--spacing) * 8);
|
|
2714
2744
|
}
|
|
@@ -3718,7 +3748,17 @@
|
|
|
3718
3748
|
}
|
|
3719
3749
|
}
|
|
3720
3750
|
|
|
3721
|
-
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .hover\:bg-foreground:hover, :where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .hover\:bg-foreground\/
|
|
3751
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .hover\:bg-foreground:hover, :where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .hover\:bg-foreground\/7:hover {
|
|
3752
|
+
background-color: var(--ui-foreground);
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3756
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .hover\:bg-foreground\/7:hover {
|
|
3757
|
+
background-color: color-mix(in oklab, var(--ui-foreground) 7%, transparent);
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .hover\:bg-foreground\/10:hover {
|
|
3722
3762
|
background-color: var(--ui-foreground);
|
|
3723
3763
|
}
|
|
3724
3764
|
|
|
@@ -4805,6 +4845,33 @@
|
|
|
4805
4845
|
outline-offset: calc(-1 * var(--ui-danger-border-width, 1px));
|
|
4806
4846
|
}
|
|
4807
4847
|
|
|
4848
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .data-\[slot\=select-trigger\]\:focus-visible\:text-field-focus[data-slot="select-trigger"]:focus-visible {
|
|
4849
|
+
outline: 2px solid var(--ui-ring);
|
|
4850
|
+
outline-offset: -1px;
|
|
4851
|
+
box-shadow: none;
|
|
4852
|
+
transition-property: color, background-color;
|
|
4853
|
+
}
|
|
4854
|
+
|
|
4855
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .data-\[slot\=select-trigger\]\:focus-visible\:text-field-focus[data-slot="select-trigger"]:focus-visible[readonly] {
|
|
4856
|
+
outline: var(--ui-readonly-focus-outline, 2px solid var(--ui-ring));
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4859
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .data-\[slot\=select-trigger\]\:focus-visible\:aria-invalid\:invalid-text-field-focus[data-slot="select-trigger"]:focus-visible[aria-invalid="true"] {
|
|
4860
|
+
outline: 2px solid var(--ui-ring);
|
|
4861
|
+
outline-offset: -1px;
|
|
4862
|
+
box-shadow: none;
|
|
4863
|
+
transition-property: color, background-color;
|
|
4864
|
+
}
|
|
4865
|
+
|
|
4866
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .data-\[slot\=select-trigger\]\:focus-visible\:aria-invalid\:invalid-text-field-focus[data-slot="select-trigger"]:focus-visible[aria-invalid="true"][readonly] {
|
|
4867
|
+
outline: var(--ui-readonly-focus-outline, 2px solid var(--ui-ring));
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .data-\[slot\=select-trigger\]\:focus-visible\:aria-invalid\:invalid-text-field-focus[data-slot="select-trigger"]:focus-visible[aria-invalid="true"] {
|
|
4871
|
+
outline-color: var(--ui-destructive);
|
|
4872
|
+
outline-offset: calc(-1 * var(--ui-danger-border-width, 1px));
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4808
4875
|
:is(:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .\*\:data-\[slot\=select-value\]\:line-clamp-1 > *)[data-slot="select-value"] {
|
|
4809
4876
|
-webkit-line-clamp: 1;
|
|
4810
4877
|
-webkit-box-orient: vertical;
|
|
@@ -5176,7 +5243,17 @@
|
|
|
5176
5243
|
}
|
|
5177
5244
|
}
|
|
5178
5245
|
|
|
5179
|
-
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .dark\:hover\:bg-foreground:where([data-theme="dark"], [data-theme="dark"] *):hover, :where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .dark\:hover\:bg-foreground\/
|
|
5246
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .dark\:hover\:bg-foreground:where([data-theme="dark"], [data-theme="dark"] *):hover, :where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .dark\:hover\:bg-foreground\/7:where([data-theme="dark"], [data-theme="dark"] *):hover {
|
|
5247
|
+
background-color: var(--ui-foreground);
|
|
5248
|
+
}
|
|
5249
|
+
|
|
5250
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5251
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .dark\:hover\:bg-foreground\/7:where([data-theme="dark"], [data-theme="dark"] *):hover {
|
|
5252
|
+
background-color: color-mix(in oklab, var(--ui-foreground) 7%, transparent);
|
|
5253
|
+
}
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
:where(.open-flow-theme, .open-flow-workbench, .open-flow-canvas-root) .dark\:hover\:bg-foreground\/10:where([data-theme="dark"], [data-theme="dark"] *):hover {
|
|
5180
5257
|
background-color: var(--ui-foreground);
|
|
5181
5258
|
}
|
|
5182
5259
|
|
|
@@ -5746,6 +5823,19 @@
|
|
|
5746
5823
|
font-family: inherit;
|
|
5747
5824
|
}
|
|
5748
5825
|
|
|
5826
|
+
@supports (position-anchor: --open-flow-canvas) {
|
|
5827
|
+
[data-sonner-toaster].open-flow-notifications[data-sonner-theme][data-x-position="center"] {
|
|
5828
|
+
position-anchor: --open-flow-canvas;
|
|
5829
|
+
left: anchor(center, 50%);
|
|
5830
|
+
max-width: calc(anchor-size(width, 100%) - 24px);
|
|
5831
|
+
transform: translateX(-50%);
|
|
5832
|
+
}
|
|
5833
|
+
|
|
5834
|
+
[data-sonner-toaster].open-flow-notifications[data-sonner-theme][data-x-position="center"][data-y-position="top"] {
|
|
5835
|
+
top: calc(anchor(top, calc(var(--offset-top) - 16px)) + 16px);
|
|
5836
|
+
}
|
|
5837
|
+
}
|
|
5838
|
+
|
|
5749
5839
|
[data-sonner-toaster].open-flow-notifications[data-sonner-theme] [data-sonner-toast] {
|
|
5750
5840
|
transition-duration: .3s;
|
|
5751
5841
|
}
|
package/dist/browser/ui.js
CHANGED
|
@@ -19617,12 +19617,13 @@ var themeIcons = {
|
|
|
19617
19617
|
dark: "i-lucide-light:moon",
|
|
19618
19618
|
auto: "i-lucide-light:sun-moon"
|
|
19619
19619
|
};
|
|
19620
|
+
var actionClassName = "rounded-full bg-foreground/3 text-foreground hover:bg-foreground/7 dark:hover:bg-foreground/7";
|
|
19620
19621
|
/** Shared host navigation; each host owns preference storage and localized labels. */
|
|
19621
19622
|
function HostNavigationActions({ className, language, onLanguageChange, theme, onThemeChange, labels }) {
|
|
19622
19623
|
const themeId = useId();
|
|
19623
19624
|
const languageId = useId();
|
|
19624
19625
|
return /* @__PURE__ */ jsxs("div", {
|
|
19625
|
-
className,
|
|
19626
|
+
className: cn("flex items-center gap-2", className),
|
|
19626
19627
|
children: [
|
|
19627
19628
|
/* @__PURE__ */ jsx(HostTooltip, {
|
|
19628
19629
|
label: "GitHub",
|
|
@@ -19633,8 +19634,8 @@ function HostNavigationActions({ className, language, onLanguageChange, theme, o
|
|
|
19633
19634
|
rel: "noopener noreferrer",
|
|
19634
19635
|
className: buttonVariants({
|
|
19635
19636
|
variant: "ghost",
|
|
19636
|
-
size: "icon
|
|
19637
|
-
className:
|
|
19637
|
+
size: "icon",
|
|
19638
|
+
className: actionClassName
|
|
19638
19639
|
}),
|
|
19639
19640
|
"aria-label": "GitHub",
|
|
19640
19641
|
children: /* @__PURE__ */ jsx("i", {
|
|
@@ -19647,8 +19648,9 @@ function HostNavigationActions({ className, language, onLanguageChange, theme, o
|
|
|
19647
19648
|
label: labels.theme,
|
|
19648
19649
|
side: "bottom",
|
|
19649
19650
|
children: /* @__PURE__ */ jsx(Button$1, {
|
|
19651
|
+
className: actionClassName,
|
|
19650
19652
|
variant: "ghost",
|
|
19651
|
-
size: "icon
|
|
19653
|
+
size: "icon",
|
|
19652
19654
|
type: "button",
|
|
19653
19655
|
"aria-label": labels.theme,
|
|
19654
19656
|
popovertarget: themeId,
|
|
@@ -19662,8 +19664,9 @@ function HostNavigationActions({ className, language, onLanguageChange, theme, o
|
|
|
19662
19664
|
label: labels.language,
|
|
19663
19665
|
side: "bottom",
|
|
19664
19666
|
children: /* @__PURE__ */ jsx(Button$1, {
|
|
19667
|
+
className: actionClassName,
|
|
19665
19668
|
variant: "ghost",
|
|
19666
|
-
size: "icon
|
|
19669
|
+
size: "icon",
|
|
19667
19670
|
type: "button",
|
|
19668
19671
|
popovertarget: languageId,
|
|
19669
19672
|
"aria-label": labels.language,
|