@workflow/web 5.0.0-beta.36 → 5.0.0-beta.38

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 (33) hide show
  1. package/build/client/assets/app-_i85JgUF.css +1 -0
  2. package/build/client/assets/{arrow-up-right-Dv3gGqIf.js → arrow-up-right-BRTGGI7c.js} +1 -1
  3. package/build/client/assets/{entry.client-Q4eUIqMI.js → entry.client-LwI3HNYl.js} +1 -1
  4. package/build/client/assets/{highlighted-body-B3W2YXNL-C5gyMelW.js → highlighted-body-B3W2YXNL-DwhUiBi7.js} +2 -2
  5. package/build/client/assets/{home-0OfTSXd1.js → home-DBrnNvHF.js} +7 -7
  6. package/build/client/assets/{index-Q81MFBxC.js → index-PFjW8YjQ.js} +20 -20
  7. package/build/client/assets/loader-circle-WvWWlrvM.js +12 -0
  8. package/build/client/assets/manifest-70ec0eba.js +1 -0
  9. package/build/client/assets/{mermaid-3ZIDBTTL-C_EWPx9a.js → mermaid-3ZIDBTTL-xYKZZytQ.js} +1063 -288
  10. package/build/client/assets/root-CINgYZFD.css +1 -0
  11. package/build/client/assets/{root-BPK1T9Ck.js → root-Cimnh7R3.js} +15 -30
  12. package/build/client/assets/{run-detail-CrqNzQ_y.js → run-detail-Dr7nmBuO.js} +74 -168
  13. package/build/client/assets/{workflow-graph-viewer-DrfqsDRu.js → workflow-graph-viewer-tTf4FHzV.js} +65 -87
  14. package/build/client/assets/{zstd-browser-decoder-Ds2MNSdp.js → zstd-browser-decoder-B15ptsR4.js} +2 -2
  15. package/build/server/assets/{server-build-4Pq8AwvA.js → app-BUMjG2-y.js} +129788 -119883
  16. package/build/server/assets/{highlighted-body-B3W2YXNL-C7tx66m_.js → highlighted-body-B3W2YXNL-Bkx5Bh9I.js} +3 -4
  17. package/build/server/assets/{index-Cnj8rNtV.js → index-DVvcuTAp.js} +50 -52
  18. package/build/server/assets/{mermaid-3ZIDBTTL-DStR4R-M.js → mermaid-3ZIDBTTL-CSJYRI2g.js} +4 -5
  19. package/build/server/assets/{token-CYc8-6E0.js → token-BXRDO8X7.js} +1 -2
  20. package/build/server/assets/{token-util-D94FNaX0.js → token-util-2RA-Rh-5.js} +1 -2
  21. package/build/server/assets/{zstd-browser-decoder-DXnLXD-w.js → zstd-browser-decoder-Cqnyq-Ly.js} +4 -5
  22. package/build/server/index.js +41 -2
  23. package/handler.d.ts +22 -0
  24. package/handler.js +186 -0
  25. package/package.json +20 -8
  26. package/registry.d.ts +29 -0
  27. package/registry.js +89 -0
  28. package/build/client/assets/encryption-CLVP4klT.js +0 -51
  29. package/build/client/assets/index-STTN0-2V.js +0 -306
  30. package/build/client/assets/manifest-485c4078.js +0 -1
  31. package/build/client/assets/root-15oK726f.css +0 -1
  32. package/build/client/assets/server-build-DblSGQ6A.css +0 -1
  33. package/build/server/assets/app-BSsmG188.js +0 -9217
@@ -1,9 +1,8 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { c as createLucideIcon, H as ChevronDown, W as cn, e as cn$1, M as cva, b7 as composeRefs, I as useComposedRefs, b8 as useFloating, b9 as offset, ba as shift, bb as limitShift, bc as flip, bd as size, be as arrow, bf as hide, bg as autoUpdate, C as ChevronRight, bh as cancelRun$1, bi as reenqueueRun$1, bj as wakeUpRun$1, bk as resumeHook$1, bl as fetchHookToken$1, bm as recreateRun$1, T as Tooltip, a as TooltipTrigger, b as TooltipContent, x as createContextScope$1, n as useComposedRefs$1, y as createSlot, aa as formatDuration, B as Button, t as toast, s as useId$1, P as Primitive$1, o as composeEventHandlers$1, E as useControllableState$1, m as useCallbackRef$2, N as Presence$1 } from "./mermaid-3ZIDBTTL-C_EWPx9a.js";
5
- import { r as reactExports, j as jsxRuntimeExports, p as reactDomExports, R as ReactExports, I as React, G as ReactDOM, f as requireReact, g as getDefaultExportFromCjs } from "./index-Q81MFBxC.js";
6
- import { V as VERCEL_403_ERROR_MESSAGE } from "./index-STTN0-2V.js";
4
+ import { c as createLucideIcon, J as ChevronDown, X as cn, e as cn$1, N as cva, be as composeRefs, L as useComposedRefs, bf as useFloating, bg as offset, bh as shift, bi as limitShift, bj as flip, bk as size, bl as arrow, bm as hide, bn as autoUpdate, m as ChevronRight, C as Check, bo as VERCEL_403_ERROR_MESSAGE, bp as cancelRun$1, bq as reenqueueRun$1, br as wakeUpRun$1, bs as resumeHook$1, bt as fetchHookToken$1, bu as recreateRun$1, T as Tooltip, a as TooltipTrigger, l as Copy, b as TooltipContent, z as createContextScope$1, p as useComposedRefs$1, E as createSlot, aa as formatDuration, B as Button, t as toast, w as useId$1, P as Primitive$1, q as composeEventHandlers$1, G as useControllableState$1, o as useCallbackRef$2, O as Presence$1 } from "./mermaid-3ZIDBTTL-xYKZZytQ.js";
5
+ import { r as reactExports, j as jsxRuntimeExports, o as reactDomExports, R as ReactExports, H as React, D as ReactDOM, f as requireReact, I as getDefaultExportFromCjs } from "./index-PFjW8YjQ.js";
7
6
  function parseName(tag, name) {
8
7
  if (typeof name !== "string") {
9
8
  return null;
@@ -42,7 +41,7 @@ function parseStepName(name) {
42
41
  * This source code is licensed under the ISC license.
43
42
  * See the LICENSE file in the root directory of this source tree.
44
43
  */
45
- const __iconNode$f = [
44
+ const __iconNode$d = [
46
45
  ["path", { d: "M6.87 6.87a8 8 0 1 0 11.26 11.26", key: "3on8tj" }],
47
46
  ["path", { d: "M19.9 14.25a8 8 0 0 0-9.15-9.15", key: "15ghsc" }],
48
47
  ["path", { d: "m22 6-3-3", key: "1opdir" }],
@@ -50,42 +49,34 @@ const __iconNode$f = [
50
49
  ["path", { d: "m2 2 20 20", key: "1ooewy" }],
51
50
  ["path", { d: "M4 4 2 6", key: "1ycko6" }]
52
51
  ];
53
- const AlarmClockOff = createLucideIcon("alarm-clock-off", __iconNode$f);
52
+ const AlarmClockOff = createLucideIcon("alarm-clock-off", __iconNode$d);
54
53
  /**
55
54
  * @license lucide-react v0.575.0 - ISC
56
55
  *
57
56
  * This source code is licensed under the ISC license.
58
57
  * See the LICENSE file in the root directory of this source tree.
59
58
  */
60
- const __iconNode$e = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
61
- const Check = createLucideIcon("check", __iconNode$e);
59
+ const __iconNode$c = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
60
+ const ChevronUp = createLucideIcon("chevron-up", __iconNode$c);
62
61
  /**
63
62
  * @license lucide-react v0.575.0 - ISC
64
63
  *
65
64
  * This source code is licensed under the ISC license.
66
65
  * See the LICENSE file in the root directory of this source tree.
67
66
  */
68
- const __iconNode$d = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
69
- const ChevronUp = createLucideIcon("chevron-up", __iconNode$d);
70
- /**
71
- * @license lucide-react v0.575.0 - ISC
72
- *
73
- * This source code is licensed under the ISC license.
74
- * See the LICENSE file in the root directory of this source tree.
75
- */
76
- const __iconNode$c = [
67
+ const __iconNode$b = [
77
68
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
78
69
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
79
70
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
80
71
  ];
81
- const CircleAlert = createLucideIcon("circle-alert", __iconNode$c);
72
+ const CircleAlert = createLucideIcon("circle-alert", __iconNode$b);
82
73
  /**
83
74
  * @license lucide-react v0.575.0 - ISC
84
75
  *
85
76
  * This source code is licensed under the ISC license.
86
77
  * See the LICENSE file in the root directory of this source tree.
87
78
  */
88
- const __iconNode$b = [
79
+ const __iconNode$a = [
89
80
  [
90
81
  "path",
91
82
  {
@@ -95,60 +86,49 @@ const __iconNode$b = [
95
86
  ],
96
87
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
97
88
  ];
98
- const CirclePlay = createLucideIcon("circle-play", __iconNode$b);
89
+ const CirclePlay = createLucideIcon("circle-play", __iconNode$a);
99
90
  /**
100
91
  * @license lucide-react v0.575.0 - ISC
101
92
  *
102
93
  * This source code is licensed under the ISC license.
103
94
  * See the LICENSE file in the root directory of this source tree.
104
95
  */
105
- const __iconNode$a = [
96
+ const __iconNode$9 = [
106
97
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
107
98
  ["rect", { x: "9", y: "9", width: "6", height: "6", rx: "1", key: "1ssd4o" }]
108
99
  ];
109
- const CircleStop = createLucideIcon("circle-stop", __iconNode$a);
100
+ const CircleStop = createLucideIcon("circle-stop", __iconNode$9);
110
101
  /**
111
102
  * @license lucide-react v0.575.0 - ISC
112
103
  *
113
104
  * This source code is licensed under the ISC license.
114
105
  * See the LICENSE file in the root directory of this source tree.
115
106
  */
116
- const __iconNode$9 = [
107
+ const __iconNode$8 = [
117
108
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
118
109
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
119
110
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
120
111
  ];
121
- const CircleX = createLucideIcon("circle-x", __iconNode$9);
112
+ const CircleX = createLucideIcon("circle-x", __iconNode$8);
122
113
  /**
123
114
  * @license lucide-react v0.575.0 - ISC
124
115
  *
125
116
  * This source code is licensed under the ISC license.
126
117
  * See the LICENSE file in the root directory of this source tree.
127
118
  */
128
- const __iconNode$8 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
129
- const Circle = createLucideIcon("circle", __iconNode$8);
119
+ const __iconNode$7 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
120
+ const Circle = createLucideIcon("circle", __iconNode$7);
130
121
  /**
131
122
  * @license lucide-react v0.575.0 - ISC
132
123
  *
133
124
  * This source code is licensed under the ISC license.
134
125
  * See the LICENSE file in the root directory of this source tree.
135
126
  */
136
- const __iconNode$7 = [
127
+ const __iconNode$6 = [
137
128
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
138
129
  ["path", { d: "M12 6v6l4 2", key: "mmk7yg" }]
139
130
  ];
140
- const Clock = createLucideIcon("clock", __iconNode$7);
141
- /**
142
- * @license lucide-react v0.575.0 - ISC
143
- *
144
- * This source code is licensed under the ISC license.
145
- * See the LICENSE file in the root directory of this source tree.
146
- */
147
- const __iconNode$6 = [
148
- ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
149
- ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
150
- ];
151
- const Copy = createLucideIcon("copy", __iconNode$6);
131
+ const Clock = createLucideIcon("clock", __iconNode$6);
152
132
  /**
153
133
  * @license lucide-react v0.575.0 - ISC
154
134
  *
@@ -16117,67 +16097,65 @@ function WorkflowGraphViewer({ workflow }) {
16117
16097
  ) });
16118
16098
  }
16119
16099
  export {
16120
- useEscapeKeydown as $,
16100
+ useLayoutEffect2 as $,
16121
16101
  Alert as A,
16122
- cancelRun as B,
16123
- Check as C,
16102
+ parseWorkflowName as B,
16103
+ CircleAlert as C,
16124
16104
  DropdownMenu as D,
16125
16105
  Ellipsis as E,
16126
- reenqueueRun as F,
16127
- parseWorkflowName as G,
16128
- StatusBadge as H,
16129
- CircleX as I,
16130
- RunActionsDropdownItems as J,
16131
- unwrapServerActionResult as K,
16132
- WorkflowGraphViewer as L,
16133
- TabsList as M,
16134
- TabsTrigger as N,
16135
- TabsContent as O,
16106
+ StatusBadge as F,
16107
+ CircleX as G,
16108
+ RunActionsDropdownItems as H,
16109
+ unwrapServerActionResult as I,
16110
+ WorkflowGraphViewer as J,
16111
+ TabsList as K,
16112
+ TabsTrigger as L,
16113
+ TabsContent as M,
16114
+ ErrorBoundary as N,
16115
+ parseStepName as O,
16136
16116
  Primitive as P,
16137
- ErrorBoundary as Q,
16117
+ ErrorCard as Q,
16138
16118
  ResolveHookModal as R,
16139
16119
  Send as S,
16140
16120
  Tabs as T,
16141
- parseStepName as U,
16142
- ErrorCard as V,
16121
+ format as U,
16122
+ Circle as V,
16143
16123
  WorkflowWebAPIError as W,
16144
16124
  X,
16145
- format as Y,
16125
+ useEscapeKeydown as Y,
16146
16126
  Zap as Z,
16147
- Circle as _,
16148
- Copy as a,
16149
- useCallbackRef$1 as a0,
16150
- useLayoutEffect2 as a1,
16151
- useId as a2,
16152
- createContext2 as a3,
16153
- useFocusGuards as a4,
16154
- LAYOUT as a5,
16155
- wakeUpRun as a6,
16156
- RunActionsButtons as a7,
16157
- recreateRun as a8,
16158
- Skeleton as b,
16159
- RelativeTime as c,
16160
- CircleAlert as d,
16161
- AlertTitle as e,
16127
+ useCallbackRef$1 as _,
16128
+ Skeleton as a,
16129
+ useId as a0,
16130
+ createContext2 as a1,
16131
+ useFocusGuards as a2,
16132
+ LAYOUT as a3,
16133
+ wakeUpRun as a4,
16134
+ RunActionsButtons as a5,
16135
+ recreateRun as a6,
16136
+ RelativeTime as b,
16137
+ AlertTitle as c,
16138
+ AlertDescription as d,
16139
+ getErrorMessage as e,
16162
16140
  fetchHookToken as f,
16163
16141
  getErrorTitle as g,
16164
- AlertDescription as h,
16165
- getErrorMessage as i,
16166
- CopyableText as j,
16167
- DropdownMenuTrigger as k,
16168
- DropdownMenuContent as l,
16169
- DropdownMenuItem as m,
16170
- resumeHook as n,
16171
- createCollection as o,
16172
- hideOthers as p,
16173
- ReactRemoveScroll as q,
16142
+ CopyableText as h,
16143
+ DropdownMenuTrigger as i,
16144
+ DropdownMenuContent as j,
16145
+ DropdownMenuItem as k,
16146
+ resumeHook as l,
16147
+ createCollection as m,
16148
+ hideOthers as n,
16149
+ ReactRemoveScroll as o,
16150
+ useDirection as p,
16151
+ ChevronUp as q,
16174
16152
  requireShim as r,
16175
- useDirection as s,
16176
- ChevronUp as t,
16153
+ useControllableState as s,
16154
+ composeEventHandlers as t,
16177
16155
  unwrapOrThrow as u,
16178
- useControllableState as v,
16179
- composeEventHandlers as w,
16180
- Presence as x,
16181
- useSize as y,
16182
- createContextScope as z
16156
+ Presence as v,
16157
+ useSize as w,
16158
+ createContextScope as x,
16159
+ cancelRun as y,
16160
+ reenqueueRun as z
16183
16161
  };
@@ -1,5 +1,5 @@
1
- import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-C_EWPx9a.js";
2
- import "./index-Q81MFBxC.js";
1
+ import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-xYKZZytQ.js";
2
+ import "./index-PFjW8YjQ.js";
3
3
  let registered = false;
4
4
  let modulePromise;
5
5
  function loadWasmModule() {