@workflow/web 4.1.12 → 4.1.13

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.
@@ -16,7 +16,7 @@ var hasRequiredScheduler_production;
16
16
  function requireScheduler_production() {
17
17
  if (hasRequiredScheduler_production) return scheduler_production;
18
18
  hasRequiredScheduler_production = 1;
19
- (function(exports$1) {
19
+ (function(exports) {
20
20
  function push(heap, node) {
21
21
  var index = heap.length;
22
22
  heap.push(node);
@@ -50,15 +50,15 @@ function requireScheduler_production() {
50
50
  var diff = a.sortIndex - b.sortIndex;
51
51
  return 0 !== diff ? diff : a.id - b.id;
52
52
  }
53
- exports$1.unstable_now = void 0;
53
+ exports.unstable_now = void 0;
54
54
  if ("object" === typeof performance && "function" === typeof performance.now) {
55
55
  var localPerformance = performance;
56
- exports$1.unstable_now = function() {
56
+ exports.unstable_now = function() {
57
57
  return localPerformance.now();
58
58
  };
59
59
  } else {
60
60
  var localDate = Date, initialTime = localDate.now();
61
- exports$1.unstable_now = function() {
61
+ exports.unstable_now = function() {
62
62
  return localDate.now() - initialTime;
63
63
  };
64
64
  }
@@ -85,12 +85,12 @@ function requireScheduler_production() {
85
85
  }
86
86
  var isMessageLoopRunning = false, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
87
87
  function shouldYieldToHost() {
88
- return needsPaint ? true : exports$1.unstable_now() - startTime < frameInterval ? false : true;
88
+ return needsPaint ? true : exports.unstable_now() - startTime < frameInterval ? false : true;
89
89
  }
90
90
  function performWorkUntilDeadline() {
91
91
  needsPaint = false;
92
92
  if (isMessageLoopRunning) {
93
- var currentTime = exports$1.unstable_now();
93
+ var currentTime = exports.unstable_now();
94
94
  startTime = currentTime;
95
95
  var hasMoreWork = true;
96
96
  try {
@@ -110,7 +110,7 @@ function requireScheduler_production() {
110
110
  var continuationCallback = callback(
111
111
  currentTask.expirationTime <= currentTime
112
112
  );
113
- currentTime = exports$1.unstable_now();
113
+ currentTime = exports.unstable_now();
114
114
  if ("function" === typeof continuationCallback) {
115
115
  currentTask.callback = continuationCallback;
116
116
  advanceTimers(currentTime);
@@ -160,27 +160,27 @@ function requireScheduler_production() {
160
160
  };
161
161
  function requestHostTimeout(callback, ms) {
162
162
  taskTimeoutID = localSetTimeout(function() {
163
- callback(exports$1.unstable_now());
163
+ callback(exports.unstable_now());
164
164
  }, ms);
165
165
  }
166
- exports$1.unstable_IdlePriority = 5;
167
- exports$1.unstable_ImmediatePriority = 1;
168
- exports$1.unstable_LowPriority = 4;
169
- exports$1.unstable_NormalPriority = 3;
170
- exports$1.unstable_Profiling = null;
171
- exports$1.unstable_UserBlockingPriority = 2;
172
- exports$1.unstable_cancelCallback = function(task) {
166
+ exports.unstable_IdlePriority = 5;
167
+ exports.unstable_ImmediatePriority = 1;
168
+ exports.unstable_LowPriority = 4;
169
+ exports.unstable_NormalPriority = 3;
170
+ exports.unstable_Profiling = null;
171
+ exports.unstable_UserBlockingPriority = 2;
172
+ exports.unstable_cancelCallback = function(task) {
173
173
  task.callback = null;
174
174
  };
175
- exports$1.unstable_forceFrameRate = function(fps) {
175
+ exports.unstable_forceFrameRate = function(fps) {
176
176
  0 > fps || 125 < fps ? console.error(
177
177
  "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
178
178
  ) : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5;
179
179
  };
180
- exports$1.unstable_getCurrentPriorityLevel = function() {
180
+ exports.unstable_getCurrentPriorityLevel = function() {
181
181
  return currentPriorityLevel;
182
182
  };
183
- exports$1.unstable_next = function(eventHandler) {
183
+ exports.unstable_next = function(eventHandler) {
184
184
  switch (currentPriorityLevel) {
185
185
  case 1:
186
186
  case 2:
@@ -198,10 +198,10 @@ function requireScheduler_production() {
198
198
  currentPriorityLevel = previousPriorityLevel;
199
199
  }
200
200
  };
201
- exports$1.unstable_requestPaint = function() {
201
+ exports.unstable_requestPaint = function() {
202
202
  needsPaint = true;
203
203
  };
204
- exports$1.unstable_runWithPriority = function(priorityLevel, eventHandler) {
204
+ exports.unstable_runWithPriority = function(priorityLevel, eventHandler) {
205
205
  switch (priorityLevel) {
206
206
  case 1:
207
207
  case 2:
@@ -220,8 +220,8 @@ function requireScheduler_production() {
220
220
  currentPriorityLevel = previousPriorityLevel;
221
221
  }
222
222
  };
223
- exports$1.unstable_scheduleCallback = function(priorityLevel, callback, options) {
224
- var currentTime = exports$1.unstable_now();
223
+ exports.unstable_scheduleCallback = function(priorityLevel, callback, options) {
224
+ var currentTime = exports.unstable_now();
225
225
  "object" === typeof options && null !== options ? (options = options.delay, options = "number" === typeof options && 0 < options ? currentTime + options : currentTime) : options = currentTime;
226
226
  switch (priorityLevel) {
227
227
  case 1:
@@ -251,8 +251,8 @@ function requireScheduler_production() {
251
251
  options > currentTime ? (priorityLevel.sortIndex = options, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = true, requestHostTimeout(handleTimeout, options - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = true, isMessageLoopRunning || (isMessageLoopRunning = true, schedulePerformWorkUntilDeadline())));
252
252
  return priorityLevel;
253
253
  };
254
- exports$1.unstable_shouldYield = shouldYieldToHost;
255
- exports$1.unstable_wrapCallback = function(callback) {
254
+ exports.unstable_shouldYield = shouldYieldToHost;
255
+ exports.unstable_wrapCallback = function(callback) {
256
256
  var parentPriorityLevel = currentPriorityLevel;
257
257
  return function() {
258
258
  var previousPriorityLevel = currentPriorityLevel;
@@ -1,4 +1,4 @@
1
- import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-B6kYjVMX.js";
1
+ import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-Bp6ZST9_.js";
2
2
  import { r as reactExports, j as jsxRuntimeExports } from "./index-BsV8i_Jn.js";
3
3
  var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => {
4
4
  let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e);
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, D as ReactDOM, j as jsxRuntimeExports, A as Link, f as reactDomExports, C as useSearchParams, B as useNavigate, G as useLocation, w as withComponentProps } from "./index-BsV8i_Jn.js";
2
- import { R as ResolveHookModal, S as Send, a as Skeleton, u as unwrapOrThrow, W as WorkflowWebAPIError, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, d as AlertDescription, g as getErrorMessage, e as CopyableText, D as DropdownMenu, f as DropdownMenuTrigger, E as Ellipsis, h as DropdownMenuContent, i as DropdownMenuItem, j as ChevronRight, r as resumeHook, k as createCollection, l as hideOthers, m as ReactRemoveScroll, n as useDirection, o as ChevronDown, p as ChevronUp, q as Check, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as cancelRun, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-D_Ulka_4.js";
3
- import { g as useLayoutEffect2, P as Primitive, c as createLucideIcon, h as useToast, d as cn, D as DEFAULT_PAGE_SIZE, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, l as fetchEvents, m as useCallbackRef, n as useComposedRefs, A as Anchor, o as composeEventHandlers, p as useId, q as createPopperScope, s as DismissableLayer, v as createContextScope, w as createSlot, C as Content$1, x as useControllableState, y as Root2$1, V as VISUALLY_HIDDEN_STYLES, z as Arrow, E as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, F as fetchRun, G as cva, H as Presence$1, I as createContext2, J as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-B6kYjVMX.js";
2
+ import { R as ResolveHookModal, S as Send, a as Skeleton, u as unwrapOrThrow, W as WorkflowWebAPIError, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, d as AlertDescription, g as getErrorMessage, e as CopyableText, D as DropdownMenu, f as DropdownMenuTrigger, E as Ellipsis, h as DropdownMenuContent, i as DropdownMenuItem, j as ChevronRight, r as resumeHook, k as createCollection, l as hideOthers, m as ReactRemoveScroll, n as useDirection, o as ChevronDown, p as ChevronUp, q as Check, X, s as useControllableState$1, P as Primitive$1, t as composeEventHandlers$1, v as Presence, w as useSize, x as createContextScope$1, y as cancelRun, z as reenqueueRun, B as parseWorkflowName, F as StatusBadge, Z as Zap, G as CircleX, H as RunActionsDropdownItems, I as unwrapServerActionResult, J as WorkflowGraphViewer, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, N as ErrorBoundary } from "./workflow-graph-viewer-C6PWoIIU.js";
3
+ import { g as useLayoutEffect2, P as Primitive, c as createLucideIcon, h as useToast, d as cn, D as DEFAULT_PAGE_SIZE, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, l as fetchEvents, m as useCallbackRef, n as useComposedRefs, A as Anchor, o as composeEventHandlers, p as useId, q as createPopperScope, s as DismissableLayer, v as createContextScope, w as createSlot, C as Content$1, x as useControllableState, y as Root2$1, V as VISUALLY_HIDDEN_STYLES, z as Arrow, E as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, F as fetchRun, G as cva, H as Presence$1, I as createContext2, J as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-Bp6ZST9_.js";
4
4
  import "./index-DZSXezpI.js";
5
5
  var PORTAL_NAME$2 = "Portal";
6
6
  var Portal$2 = reactExports.forwardRef((props, forwardedRef) => {
@@ -1 +1 @@
1
- window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DtOpLtMQ.js","imports":["/assets/index-BsV8i_Jn.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-wB6lxnL8.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-B6kYjVMX.js"],"css":["/assets/root-BOS11TzD.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-Dfsfdnb8.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-D_Ulka_4.js","/assets/mermaid-3ZIDBTTL-B6kYjVMX.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-hWiDiLfl.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-D_Ulka_4.js","/assets/mermaid-3ZIDBTTL-B6kYjVMX.js","/assets/encryption-BRhjWsZh.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-512e97b8.js","version":"512e97b8"};
1
+ window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-C_C46bD6.js","imports":["/assets/index-BsV8i_Jn.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-BxnaECGo.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js"],"css":["/assets/root-BOS11TzD.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/home":{"id":"routes/home","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/home-Blj6TeEE.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C6PWoIIU.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/run-detail":{"id":"routes/run-detail","parentId":"root","path":"run/:runId","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":false,"module":"/assets/run-detail-Cbuf5qtv.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-C6PWoIIU.js","/assets/mermaid-3ZIDBTTL-Bp6ZST9_.js","/assets/encryption-BRhjWsZh.js","/assets/index-DZSXezpI.js"],"css":["/assets/workflow-graph-viewer-yls6qlc0.css","/assets/mermaid-3ZIDBTTL-yyHEMZs4.css"]},"routes/api.rpc":{"id":"routes/api.rpc","parentId":"root","path":"api/rpc","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.rpc-l0sNRNKZ.js","imports":[],"css":[]},"routes/api.stream.$streamId":{"id":"routes/api.stream.$streamId","parentId":"root","path":"api/stream/:streamId","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":false,"hasErrorBoundary":false,"module":"/assets/api.stream._streamId-l0sNRNKZ.js","imports":[],"css":[]}},"url":"/assets/manifest-0285e96f.js","version":"0285e96f"};
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/encryption-BRhjWsZh.js","assets/index-DZSXezpI.js","assets/index-BsV8i_Jn.js","assets/highlighted-body-B3W2YXNL-BAYKR78e.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/encryption-BRhjWsZh.js","assets/index-DZSXezpI.js","assets/index-BsV8i_Jn.js","assets/highlighted-body-B3W2YXNL-Bt3a5JLE.js"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -17866,14 +17866,14 @@ var __toESM = (mod, isNodeMode, target2) => (target2 = mod != null ? __create(__
17866
17866
  mod
17867
17867
  ));
17868
17868
  var require_is_object = __commonJS({
17869
- "node_modules/is-object/index.js"(exports$1, module) {
17869
+ "node_modules/is-object/index.js"(exports, module) {
17870
17870
  module.exports = function isObject2(x2) {
17871
17871
  return typeof x2 === "object" && x2 !== null;
17872
17872
  };
17873
17873
  }
17874
17874
  });
17875
17875
  var require_is_window = __commonJS({
17876
- "node_modules/is-window/index.js"(exports$1, module) {
17876
+ "node_modules/is-window/index.js"(exports, module) {
17877
17877
  module.exports = function(obj) {
17878
17878
  if (obj == null) {
17879
17879
  return false;
@@ -17884,7 +17884,7 @@ var require_is_window = __commonJS({
17884
17884
  }
17885
17885
  });
17886
17886
  var require_is_dom = __commonJS({
17887
- "node_modules/is-dom/index.js"(exports$1, module) {
17887
+ "node_modules/is-dom/index.js"(exports, module) {
17888
17888
  var isObject2 = require_is_object();
17889
17889
  var isWindow = require_is_window();
17890
17890
  function isNode2(val) {
@@ -40113,9 +40113,8 @@ function hardBreak(state, node2) {
40113
40113
  function code(state, node2) {
40114
40114
  const value = node2.value ? node2.value + "\n" : "";
40115
40115
  const properties2 = {};
40116
- const language = node2.lang ? node2.lang.split(/\s+/) : [];
40117
- if (language.length > 0) {
40118
- properties2.className = ["language-" + language[0]];
40116
+ if (node2.lang) {
40117
+ properties2.className = ["language-" + node2.lang];
40119
40118
  }
40120
40119
  let result = {
40121
40120
  type: "element",
@@ -43653,7 +43652,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
43653
43652
  var et = ({ className: e, language: t, style: o, isIncomplete: n, ...s2 }) => jsxRuntimeExports.jsx("div", { className: f("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2", e), "data-incomplete": n || void 0, "data-language": t, "data-streamdown": "code-block", style: { contentVisibility: "auto", containIntrinsicSize: "auto 200px", ...o }, ...s2 });
43654
43653
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
43655
43654
  var ot = ({ language: e }) => jsxRuntimeExports.jsx("div", { className: "flex h-8 items-center text-muted-foreground text-xs", "data-language": e, "data-streamdown": "code-block-header", children: jsxRuntimeExports.jsx("span", { className: "ml-1 font-mono lowercase", children: e }) });
43656
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-BAYKR78e.js"), true ? __vite__mapDeps([3,2]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
43655
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-Bt3a5JLE.js"), true ? __vite__mapDeps([3,2]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
43657
43656
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
43658
43657
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
43659
43658
  return jsxRuntimeExports.jsx(Se.Provider, { value: { code: e }, children: jsxRuntimeExports.jsxs(et, { isIncomplete: s2, language: t, children: [jsxRuntimeExports.jsx(ot, { language: t }), n ? jsxRuntimeExports.jsx("div", { className: "pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end", children: jsxRuntimeExports.jsx("div", { className: "pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur", "data-streamdown": "code-block-actions", children: n }) }) : null, jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(Qe, { className: o, language: t, result: c, ...r2 }), children: jsxRuntimeExports.jsx(dn, { className: o, code: i, language: t, raw: c, ...r2 }) })] }) });
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, w as withComponentProps, x as withErrorBoundaryProps, M as Meta, L as Links, S as ScrollRestoration, y as Scripts, O as Outlet, z as useRouteError, i as isRouteErrorResponse, A as Link, B as useNavigate, C as useSearchParams } from "./index-BsV8i_Jn.js";
2
- import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, r as runHealthCheck, t as toast, B as Button, L as LoaderCircle, d as cn, e as Toaster$1, S as ServerConfigProvider, f as TooltipProvider } from "./mermaid-3ZIDBTTL-B6kYjVMX.js";
2
+ import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, r as runHealthCheck, t as toast, B as Button, L as LoaderCircle, d as cn, e as Toaster$1, S as ServerConfigProvider, f as TooltipProvider } from "./mermaid-3ZIDBTTL-Bp6ZST9_.js";
3
3
  var M = (e, i, s, u, m, a, l, h) => {
4
4
  let d = document.documentElement, w = ["light", "dark"];
5
5
  function p(n) {
@@ -1,6 +1,6 @@
1
1
  import { j as jsxRuntimeExports, r as reactExports, f as reactDomExports, D as ReactDOM, B as useNavigate, C as useSearchParams, A as Link, w as withComponentProps, H as useParams } from "./index-BsV8i_Jn.js";
2
- import { O as Copy, C as CircleAlert, Q as parseStepName, B as parseWorkflowName, j as ChevronRight, q as Check, U as ErrorCard, V as format, Z as Zap, S as Send, R as ResolveHookModal, p as ChevronUp, o as ChevronDown, X, N as ErrorBoundary, Y as Clock, G as CircleX, I as unwrapServerActionResult, u as unwrapOrThrow, W as WorkflowWebAPIError, _ as useEscapeKeydown, t as composeEventHandlers, $ as useCallbackRef, a0 as useLayoutEffect2, s as useControllableState, a1 as useId, a2 as createContext2, v as Presence, x as createContextScope, l as hideOthers, m as ReactRemoveScroll, a3 as useFocusGuards, a4 as LAYOUT, a5 as wakeUpRun, r as resumeHook, A as Alert, c as AlertTitle, d as AlertDescription, a as Skeleton$1, a6 as RunActionsButtons, F as StatusBadge, e as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, y as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-D_Ulka_4.js";
3
- import { c as createLucideIcon, M as Spinner, h as useToast, N as useHasContextCardProvider, O as ContextCardProvider, U as ContextCardTrigger, W as Skeleton, X as DecryptClickContext, Y as Yr, Z as isEncryptedMarker, _ as formatDuration, $ as DataInspector, a0 as _r, a1 as StreamClickContext, a2 as isExpiredMarker, a3 as isDoStreamStep, a4 as extractConversation, a5 as Lock, a6 as EVENT_DATA_REF_FIELDS, a7 as clsx, a8 as useTraceViewer, a9 as styles, aa as formatDurationForTimeline, ab as formatWallClockTime, ac as useImmediateStyle, ad as TIMELINE_PADDING, ae as formatTimeSelection, af as MARKER_HEIGHT, ag as ROW_HEIGHT, ah as ROW_PADDING, ai as SEARCH_HEIGHT, aj as getHighResInMs, ak as getMsInHighRes, al as MARKER_NOTCH_HEIGHT, am as MAP_HEIGHT, an as SEARCH_GAP, ao as MiniMap, ap as SpanNodes, aq as SpanDetailPanel, ar as TraceViewerContextProvider, as as hydrateResourceIOWithKey, at as hydrateResourceIO, au as fetchHook, l as fetchEvents, F as fetchRun, av as fetchStep, aw as hasEncryptedFields, ax as fetchStreams, ay as Slot, E as useComposedRefs, az as Slottable, d as cn, aA as buttonVariants, aB as isEncryptedData, aC as hydrateData, aD as getWebRevivers, aE as fetchEvent, aF as fetchEventsByCorrelationId, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aG as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, aH as getEncryptionKeyForRun, t as toast, L as LoaderCircle, aI as StreamViewer } from "./mermaid-3ZIDBTTL-B6kYjVMX.js";
2
+ import { O as Copy, C as CircleAlert, Q as parseStepName, B as parseWorkflowName, j as ChevronRight, q as Check, U as ErrorCard, V as format, Z as Zap, S as Send, R as ResolveHookModal, p as ChevronUp, o as ChevronDown, X, N as ErrorBoundary, Y as Clock, G as CircleX, I as unwrapServerActionResult, u as unwrapOrThrow, W as WorkflowWebAPIError, _ as useEscapeKeydown, t as composeEventHandlers, $ as useCallbackRef, a0 as useLayoutEffect2, s as useControllableState, a1 as useId, a2 as createContext2, v as Presence, x as createContextScope, l as hideOthers, m as ReactRemoveScroll, a3 as useFocusGuards, a4 as LAYOUT, a5 as wakeUpRun, r as resumeHook, A as Alert, c as AlertTitle, d as AlertDescription, a as Skeleton$1, a6 as RunActionsButtons, F as StatusBadge, e as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, y as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-C6PWoIIU.js";
3
+ import { c as createLucideIcon, M as Spinner, h as useToast, N as useHasContextCardProvider, O as ContextCardProvider, U as ContextCardTrigger, W as Skeleton, X as DecryptClickContext, Y as Yr, Z as isEncryptedMarker, _ as formatDuration, $ as DataInspector, a0 as _r, a1 as StreamClickContext, a2 as isExpiredMarker, a3 as isDoStreamStep, a4 as extractConversation, a5 as Lock, a6 as EVENT_DATA_REF_FIELDS, a7 as clsx, a8 as useTraceViewer, a9 as styles, aa as formatDurationForTimeline, ab as formatWallClockTime, ac as useImmediateStyle, ad as TIMELINE_PADDING, ae as formatTimeSelection, af as MARKER_HEIGHT, ag as ROW_HEIGHT, ah as ROW_PADDING, ai as SEARCH_HEIGHT, aj as getHighResInMs, ak as getMsInHighRes, al as MARKER_NOTCH_HEIGHT, am as MAP_HEIGHT, an as SEARCH_GAP, ao as MiniMap, ap as SpanNodes, aq as SpanDetailPanel, ar as TraceViewerContextProvider, as as hydrateResourceIOWithKey, at as hydrateResourceIO, au as fetchHook, l as fetchEvents, F as fetchRun, av as fetchStep, aw as hasEncryptedFields, ax as fetchStreams, ay as Slot, E as useComposedRefs, az as Slottable, d as cn, aA as buttonVariants, aB as isEncryptedData, aC as hydrateData, aD as getWebRevivers, aE as fetchEvent, aF as fetchEventsByCorrelationId, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aG as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, aH as getEncryptionKeyForRun, t as toast, L as LoaderCircle, aI as StreamViewer } from "./mermaid-3ZIDBTTL-Bp6ZST9_.js";
4
4
  import { decrypt, importKey } from "./encryption-BRhjWsZh.js";
5
5
  import "./index-DZSXezpI.js";
6
6
  /**
@@ -1,7 +1,7 @@
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, aJ as cn, d as cn$1, G as cva, aK as composeRefs, E as useComposedRefs, aL as useFloating, aM as offset, aN as shift, aO as limitShift, aP as flip, aQ as size, aR as arrow, aS as hide, aT as autoUpdate, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aU as cancelRun$1, aV as reenqueueRun$1, aW as wakeUpRun$1, aX as resumeHook$1, aY as recreateRun$1, v as createContextScope$1, n as useComposedRefs$1, w as createSlot, _ as formatDuration, B as Button, t as toast, p as useId$1, P as Primitive$1, o as composeEventHandlers$1, x as useControllableState$1, m as useCallbackRef$2, H as Presence$1 } from "./mermaid-3ZIDBTTL-B6kYjVMX.js";
4
+ import { c as createLucideIcon, aJ as cn, d as cn$1, G as cva, aK as composeRefs, E as useComposedRefs, aL as useFloating, aM as offset, aN as shift, aO as limitShift, aP as flip, aQ as size, aR as arrow, aS as hide, aT as autoUpdate, T as Tooltip, a as TooltipTrigger, b as TooltipContent, aU as cancelRun$1, aV as reenqueueRun$1, aW as wakeUpRun$1, aX as resumeHook$1, aY as recreateRun$1, v as createContextScope$1, n as useComposedRefs$1, w as createSlot, _ as formatDuration, B as Button, t as toast, p as useId$1, P as Primitive$1, o as composeEventHandlers$1, x as useControllableState$1, m as useCallbackRef$2, H as Presence$1 } from "./mermaid-3ZIDBTTL-Bp6ZST9_.js";
5
5
  import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, I as React, D as ReactDOM, a as requireReact, g as getDefaultExportFromCjs } from "./index-BsV8i_Jn.js";
6
6
  import { V as VERCEL_403_ERROR_MESSAGE } from "./index-DZSXezpI.js";
7
7
  function parseName(tag, name) {
@@ -481,7 +481,7 @@ var hasRequiredReact_development;
481
481
  function requireReact_development() {
482
482
  if (hasRequiredReact_development) return react_development.exports;
483
483
  hasRequiredReact_development = 1;
484
- (function(module, exports$1) {
484
+ (function(module, exports) {
485
485
  "production" !== process.env.NODE_ENV && (function() {
486
486
  function defineDeprecationWarning(methodName, info) {
487
487
  Object.defineProperty(Component.prototype, methodName, {
@@ -1021,7 +1021,7 @@ function requireReact_development() {
1021
1021
  return resolveDispatcher().useMemoCache(size);
1022
1022
  }
1023
1023
  });
1024
- exports$1.Children = {
1024
+ exports.Children = {
1025
1025
  map: mapChildren,
1026
1026
  forEach: function(children, forEachFunc, forEachContext) {
1027
1027
  mapChildren(
@@ -1052,15 +1052,15 @@ function requireReact_development() {
1052
1052
  return children;
1053
1053
  }
1054
1054
  };
1055
- exports$1.Component = Component;
1056
- exports$1.Fragment = REACT_FRAGMENT_TYPE;
1057
- exports$1.Profiler = REACT_PROFILER_TYPE;
1058
- exports$1.PureComponent = PureComponent;
1059
- exports$1.StrictMode = REACT_STRICT_MODE_TYPE;
1060
- exports$1.Suspense = REACT_SUSPENSE_TYPE;
1061
- exports$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1062
- exports$1.__COMPILER_RUNTIME = deprecatedAPIs;
1063
- exports$1.act = function(callback) {
1055
+ exports.Component = Component;
1056
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1057
+ exports.Profiler = REACT_PROFILER_TYPE;
1058
+ exports.PureComponent = PureComponent;
1059
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
1060
+ exports.Suspense = REACT_SUSPENSE_TYPE;
1061
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
1062
+ exports.__COMPILER_RUNTIME = deprecatedAPIs;
1063
+ exports.act = function(callback) {
1064
1064
  var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
1065
1065
  actScopeDepth++;
1066
1066
  var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
@@ -1137,16 +1137,16 @@ function requireReact_development() {
1137
1137
  }
1138
1138
  };
1139
1139
  };
1140
- exports$1.cache = function(fn) {
1140
+ exports.cache = function(fn) {
1141
1141
  return function() {
1142
1142
  return fn.apply(null, arguments);
1143
1143
  };
1144
1144
  };
1145
- exports$1.captureOwnerStack = function() {
1145
+ exports.captureOwnerStack = function() {
1146
1146
  var getCurrentStack = ReactSharedInternals.getCurrentStack;
1147
1147
  return null === getCurrentStack ? null : getCurrentStack();
1148
1148
  };
1149
- exports$1.cloneElement = function(element, config, children) {
1149
+ exports.cloneElement = function(element, config, children) {
1150
1150
  if (null === element || void 0 === element)
1151
1151
  throw Error(
1152
1152
  "The argument must be a React element, but you passed " + element + "."
@@ -1191,7 +1191,7 @@ function requireReact_development() {
1191
1191
  owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
1192
1192
  return props;
1193
1193
  };
1194
- exports$1.createContext = function(defaultValue) {
1194
+ exports.createContext = function(defaultValue) {
1195
1195
  defaultValue = {
1196
1196
  $$typeof: REACT_CONTEXT_TYPE,
1197
1197
  _currentValue: defaultValue,
@@ -1209,7 +1209,7 @@ function requireReact_development() {
1209
1209
  defaultValue._currentRenderer2 = null;
1210
1210
  return defaultValue;
1211
1211
  };
1212
- exports$1.createElement = function(type, config, children) {
1212
+ exports.createElement = function(type, config, children) {
1213
1213
  for (var i = 2; i < arguments.length; i++) {
1214
1214
  var node = arguments[i];
1215
1215
  isValidElement(node) && node._store && (node._store.validated = 1);
@@ -1248,12 +1248,12 @@ function requireReact_development() {
1248
1248
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1249
1249
  );
1250
1250
  };
1251
- exports$1.createRef = function() {
1251
+ exports.createRef = function() {
1252
1252
  var refObject = { current: null };
1253
1253
  Object.seal(refObject);
1254
1254
  return refObject;
1255
1255
  };
1256
- exports$1.forwardRef = function(render) {
1256
+ exports.forwardRef = function(render) {
1257
1257
  null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
1258
1258
  "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1259
1259
  ) : "function" !== typeof render ? console.error(
@@ -1280,15 +1280,15 @@ function requireReact_development() {
1280
1280
  });
1281
1281
  return elementType;
1282
1282
  };
1283
- exports$1.isValidElement = isValidElement;
1284
- exports$1.lazy = function(ctor) {
1283
+ exports.isValidElement = isValidElement;
1284
+ exports.lazy = function(ctor) {
1285
1285
  return {
1286
1286
  $$typeof: REACT_LAZY_TYPE,
1287
1287
  _payload: { _status: -1, _result: ctor },
1288
1288
  _init: lazyInitializer
1289
1289
  };
1290
1290
  };
1291
- exports$1.memo = function(type, compare) {
1291
+ exports.memo = function(type, compare) {
1292
1292
  null == type && console.error(
1293
1293
  "memo: The first argument must be a component. Instead received: %s",
1294
1294
  null === type ? "null" : typeof type
@@ -1312,7 +1312,7 @@ function requireReact_development() {
1312
1312
  });
1313
1313
  return compare;
1314
1314
  };
1315
- exports$1.startTransition = function(scope) {
1315
+ exports.startTransition = function(scope) {
1316
1316
  var prevTransition = ReactSharedInternals.T, currentTransition = {};
1317
1317
  ReactSharedInternals.T = currentTransition;
1318
1318
  currentTransition._updatedFibers = /* @__PURE__ */ new Set();
@@ -1328,36 +1328,36 @@ function requireReact_development() {
1328
1328
  )), ReactSharedInternals.T = prevTransition;
1329
1329
  }
1330
1330
  };
1331
- exports$1.unstable_useCacheRefresh = function() {
1331
+ exports.unstable_useCacheRefresh = function() {
1332
1332
  return resolveDispatcher().useCacheRefresh();
1333
1333
  };
1334
- exports$1.use = function(usable) {
1334
+ exports.use = function(usable) {
1335
1335
  return resolveDispatcher().use(usable);
1336
1336
  };
1337
- exports$1.useActionState = function(action, initialState, permalink) {
1337
+ exports.useActionState = function(action, initialState, permalink) {
1338
1338
  return resolveDispatcher().useActionState(
1339
1339
  action,
1340
1340
  initialState,
1341
1341
  permalink
1342
1342
  );
1343
1343
  };
1344
- exports$1.useCallback = function(callback, deps) {
1344
+ exports.useCallback = function(callback, deps) {
1345
1345
  return resolveDispatcher().useCallback(callback, deps);
1346
1346
  };
1347
- exports$1.useContext = function(Context) {
1347
+ exports.useContext = function(Context) {
1348
1348
  var dispatcher = resolveDispatcher();
1349
1349
  Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
1350
1350
  "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1351
1351
  );
1352
1352
  return dispatcher.useContext(Context);
1353
1353
  };
1354
- exports$1.useDebugValue = function(value, formatterFn) {
1354
+ exports.useDebugValue = function(value, formatterFn) {
1355
1355
  return resolveDispatcher().useDebugValue(value, formatterFn);
1356
1356
  };
1357
- exports$1.useDeferredValue = function(value, initialValue) {
1357
+ exports.useDeferredValue = function(value, initialValue) {
1358
1358
  return resolveDispatcher().useDeferredValue(value, initialValue);
1359
1359
  };
1360
- exports$1.useEffect = function(create, createDeps, update) {
1360
+ exports.useEffect = function(create, createDeps, update) {
1361
1361
  null == create && console.warn(
1362
1362
  "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1363
1363
  );
@@ -1368,50 +1368,50 @@ function requireReact_development() {
1368
1368
  );
1369
1369
  return dispatcher.useEffect(create, createDeps);
1370
1370
  };
1371
- exports$1.useId = function() {
1371
+ exports.useId = function() {
1372
1372
  return resolveDispatcher().useId();
1373
1373
  };
1374
- exports$1.useImperativeHandle = function(ref, create, deps) {
1374
+ exports.useImperativeHandle = function(ref, create, deps) {
1375
1375
  return resolveDispatcher().useImperativeHandle(ref, create, deps);
1376
1376
  };
1377
- exports$1.useInsertionEffect = function(create, deps) {
1377
+ exports.useInsertionEffect = function(create, deps) {
1378
1378
  null == create && console.warn(
1379
1379
  "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1380
1380
  );
1381
1381
  return resolveDispatcher().useInsertionEffect(create, deps);
1382
1382
  };
1383
- exports$1.useLayoutEffect = function(create, deps) {
1383
+ exports.useLayoutEffect = function(create, deps) {
1384
1384
  null == create && console.warn(
1385
1385
  "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1386
1386
  );
1387
1387
  return resolveDispatcher().useLayoutEffect(create, deps);
1388
1388
  };
1389
- exports$1.useMemo = function(create, deps) {
1389
+ exports.useMemo = function(create, deps) {
1390
1390
  return resolveDispatcher().useMemo(create, deps);
1391
1391
  };
1392
- exports$1.useOptimistic = function(passthrough, reducer) {
1392
+ exports.useOptimistic = function(passthrough, reducer) {
1393
1393
  return resolveDispatcher().useOptimistic(passthrough, reducer);
1394
1394
  };
1395
- exports$1.useReducer = function(reducer, initialArg, init) {
1395
+ exports.useReducer = function(reducer, initialArg, init) {
1396
1396
  return resolveDispatcher().useReducer(reducer, initialArg, init);
1397
1397
  };
1398
- exports$1.useRef = function(initialValue) {
1398
+ exports.useRef = function(initialValue) {
1399
1399
  return resolveDispatcher().useRef(initialValue);
1400
1400
  };
1401
- exports$1.useState = function(initialState) {
1401
+ exports.useState = function(initialState) {
1402
1402
  return resolveDispatcher().useState(initialState);
1403
1403
  };
1404
- exports$1.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
1404
+ exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
1405
1405
  return resolveDispatcher().useSyncExternalStore(
1406
1406
  subscribe,
1407
1407
  getSnapshot,
1408
1408
  getServerSnapshot
1409
1409
  );
1410
1410
  };
1411
- exports$1.useTransition = function() {
1411
+ exports.useTransition = function() {
1412
1412
  return resolveDispatcher().useTransition();
1413
1413
  };
1414
- exports$1.version = "19.1.0";
1414
+ exports.version = "19.1.0";
1415
1415
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1416
1416
  })();
1417
1417
  })(react_development, react_development.exports);
@@ -9176,7 +9176,7 @@ const app = express();
9176
9176
  app.all(
9177
9177
  "/{*splat}",
9178
9178
  createRequestHandler({
9179
- build: () => import("./server-build-X-sv9tml.js").then((n) => n.a2)
9179
+ build: () => import("./server-build-HnD5F5wE.js").then((n) => n.a2)
9180
9180
  })
9181
9181
  );
9182
9182
  app.use(
@@ -1,5 +1,5 @@
1
- import { Y as R, Z as Ks, _ as jsxRuntimeExports, $ as Qe } from "./server-build-X-sv9tml.js";
2
- import { r as reactExports } from "./app-nwg8-luA.js";
1
+ import { Y as R, Z as Ks, _ as jsxRuntimeExports, $ as Qe } from "./server-build-HnD5F5wE.js";
2
+ import { r as reactExports } from "./app-tYx-sZr-.js";
3
3
  import "node:stream";
4
4
  import "util";
5
5
  import "crypto";
@@ -1,6 +1,6 @@
1
- import { H as HookSchema } from "./server-build-X-sv9tml.js";
2
- import { B, D, a, E, b, c, d, e, L, M, P, Q, f, R, S, g, h, i, j, k, l, m, n, T, o, p, q, r, s, V, W, t, u, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X } from "./server-build-X-sv9tml.js";
3
- import "./app-nwg8-luA.js";
1
+ import { H as HookSchema } from "./server-build-HnD5F5wE.js";
2
+ import { B, D, a, E, b, c, d, e, L, M, P, Q, f, R, S, g, h, i, j, k, l, m, n, T, o, p, q, r, s, V, W, t, u, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X } from "./server-build-HnD5F5wE.js";
3
+ import "./app-tYx-sZr-.js";
4
4
  import "stream";
5
5
  import "express";
6
6
  import "node:stream";
@@ -1,5 +1,5 @@
1
- import { N as Nt } from "./server-build-X-sv9tml.js";
2
- import "./app-nwg8-luA.js";
1
+ import { N as Nt } from "./server-build-HnD5F5wE.js";
2
+ import "./app-tYx-sZr-.js";
3
3
  import "stream";
4
4
  import "express";
5
5
  import "node:stream";