@workflow/web 5.0.3 → 5.0.5

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 (21) hide show
  1. package/build/client/assets/{arrow-up-right-ychoyK1y.js → arrow-up-right-BjmInfWj.js} +1 -1
  2. package/build/client/assets/{highlighted-body-B3W2YXNL-C53ps5L5.js → highlighted-body-B3W2YXNL-Fxz5Vhrs.js} +1 -1
  3. package/build/client/assets/{home-C3xDSPLC.js → home-Cj8BA1xg.js} +3 -3
  4. package/build/client/assets/{loader-circle-BaPqCMKN.js → loader-circle-BHf0PB8D.js} +1 -1
  5. package/build/client/assets/{manifest-4e8be598.js → manifest-9875bf74.js} +1 -1
  6. package/build/client/assets/{mermaid-3ZIDBTTL-COEB4Hc6.js → mermaid-3ZIDBTTL-C-jkx8xu.js} +73 -42
  7. package/build/client/assets/{root-DixDz_si.js → root-D1LRhSwl.js} +3 -3
  8. package/build/client/assets/{run-detail-CEQc0q3W.js → run-detail-L1jBcQcp.js} +3 -3
  9. package/build/client/assets/{workflow-graph-viewer-B9ovZj-2.js → workflow-graph-viewer-BRI-aUt7.js} +1 -1
  10. package/build/client/assets/{zstd-browser-decoder-D9w7uXpQ.js → zstd-browser-decoder-HGSvkFdF.js} +1 -1
  11. package/build/server/assets/{app-C8tzXy8V.js → app-C7EyOacb.js} +1123 -635
  12. package/build/server/assets/{highlighted-body-B3W2YXNL-B7OeHZjS.js → highlighted-body-B3W2YXNL-99nXCMDQ.js} +1 -1
  13. package/build/server/assets/{index-oHATtR_7.js → index-CI1MEtXX.js} +1 -1
  14. package/build/server/assets/{index-DB6rD0OI.js → index-TQ324kzl.js} +94 -90
  15. package/build/server/assets/{mermaid-3ZIDBTTL-h6E4ztpF.js → mermaid-3ZIDBTTL-Csd1n701.js} +1 -1
  16. package/build/server/assets/{token-zIvY_X5M.js → token-C7Y4VFl0.js} +1 -1
  17. package/build/server/assets/{token-util-BIJWXlXW.js → token-util-DCNDhnc8.js} +1 -1
  18. package/build/server/assets/{wrapper-DiM8LB2q.js → wrapper-CA2LUUpa.js} +9 -9
  19. package/build/server/assets/{zstd-browser-decoder-B2bHyQlS.js → zstd-browser-decoder-BJ5qrMmm.js} +1 -1
  20. package/build/server/index.js +2 -2
  21. package/package.json +8 -8
@@ -1,4 +1,4 @@
1
- import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
1
+ import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
2
2
  /**
3
3
  * @license lucide-react v0.575.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
1
+ import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
2
2
  import { r as reactExports, j as jsxRuntimeExports } from "./index-CRmVVsbP.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,7 +1,7 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, z as Link, R as ReactExports, f as reactDomExports, B as useSearchParams, A as useNavigate, C as useLocation, w as withComponentProps } from "./index-CRmVVsbP.js";
2
- import { R as ResolveHookModal, S as Send, r as requireShim, u as unwrapOrThrow, W as WorkflowWebAPIError, f as fetchHookToken, a as Skeleton, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, h as CopyableText, D as DropdownMenu, i as DropdownMenuTrigger, E as Ellipsis, j as DropdownMenuContent, k as DropdownMenuItem, l as resumeHook, m as createCollection, n as hideOthers, o as ReactRemoveScroll, p as useDirection, q as ChevronUp, 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 bulkCancelRuns, 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-B9ovZj-2.js";
3
- import { c as createLucideIcon, h as useToast, e as cn, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, C as Check, l as Copy, b as TooltipContent, D as DEFAULT_PAGE_SIZE, B as Button, m as ChevronRight, n as fetchEvents, o as useCallbackRef, p as useComposedRefs, P as Primitive, A as Anchor, q as composeEventHandlers, s as useLayoutEffect2, v as Portal$2, w as useId, x as createPopperScope, y as DismissableLayer, z as createContextScope, E as createSlot, F as Content$1, G as useControllableState, H as Root2$1, V as VISUALLY_HIDDEN_STYLES, I as Arrow, J as ChevronDown, L as useComposedRefs$1, u as useServerConfig, M as BULK_CANCEL_MAX_RUN_IDS, t as toast, N as fetchRun, O as cva, U as Presence$1, W as createContext2, X as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
4
- import { L as LoaderCircle } from "./loader-circle-BaPqCMKN.js";
2
+ import { R as ResolveHookModal, S as Send, r as requireShim, u as unwrapOrThrow, W as WorkflowWebAPIError, f as fetchHookToken, a as Skeleton, b as RelativeTime, A as Alert, C as CircleAlert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, h as CopyableText, D as DropdownMenu, i as DropdownMenuTrigger, E as Ellipsis, j as DropdownMenuContent, k as DropdownMenuItem, l as resumeHook, m as createCollection, n as hideOthers, o as ReactRemoveScroll, p as useDirection, q as ChevronUp, 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 bulkCancelRuns, 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-BRI-aUt7.js";
3
+ import { c as createLucideIcon, h as useToast, e as cn, i as fetchRuns, j as fetchHooks, k as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, C as Check, l as Copy, b as TooltipContent, D as DEFAULT_PAGE_SIZE, B as Button, m as ChevronRight, n as fetchEvents, o as useCallbackRef, p as useComposedRefs, P as Primitive, A as Anchor, q as composeEventHandlers, s as useLayoutEffect2, v as Portal$2, w as useId, x as createPopperScope, y as DismissableLayer, z as createContextScope, E as createSlot, F as Content$1, G as useControllableState, H as Root2$1, V as VISUALLY_HIDDEN_STYLES, I as Arrow, J as ChevronDown, L as useComposedRefs$1, u as useServerConfig, M as BULK_CANCEL_MAX_RUN_IDS, t as toast, N as fetchRun, O as cva, U as Presence$1, W as createContext2, X as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
4
+ import { L as LoaderCircle } from "./loader-circle-BHf0PB8D.js";
5
5
  /**
6
6
  * @license lucide-react v0.575.0 - ISC
7
7
  *
@@ -1,4 +1,4 @@
1
- import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
1
+ import { c as createLucideIcon } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
2
2
  /**
3
3
  * @license lucide-react v0.575.0 - ISC
4
4
  *
@@ -1 +1 @@
1
- window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-GbcnkvKL.js","imports":["/assets/index-CRmVVsbP.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-DixDz_si.js","imports":["/assets/index-CRmVVsbP.js","/assets/mermaid-3ZIDBTTL-COEB4Hc6.js","/assets/loader-circle-BaPqCMKN.js","/assets/arrow-up-right-ychoyK1y.js"],"css":["/assets/root-D51qsCcK.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.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-C3xDSPLC.js","imports":["/assets/index-CRmVVsbP.js","/assets/workflow-graph-viewer-B9ovZj-2.js","/assets/mermaid-3ZIDBTTL-COEB4Hc6.js","/assets/loader-circle-BaPqCMKN.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.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-CEQc0q3W.js","imports":["/assets/index-CRmVVsbP.js","/assets/workflow-graph-viewer-B9ovZj-2.js","/assets/mermaid-3ZIDBTTL-COEB4Hc6.js","/assets/arrow-up-right-ychoyK1y.js"],"css":["/assets/run-detail-CWoGxu_0.css","/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.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-4e8be598.js","version":"4e8be598"};
1
+ window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-GbcnkvKL.js","imports":["/assets/index-CRmVVsbP.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-D1LRhSwl.js","imports":["/assets/index-CRmVVsbP.js","/assets/mermaid-3ZIDBTTL-C-jkx8xu.js","/assets/loader-circle-BHf0PB8D.js","/assets/arrow-up-right-BjmInfWj.js"],"css":["/assets/root-D51qsCcK.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.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-Cj8BA1xg.js","imports":["/assets/index-CRmVVsbP.js","/assets/workflow-graph-viewer-BRI-aUt7.js","/assets/mermaid-3ZIDBTTL-C-jkx8xu.js","/assets/loader-circle-BHf0PB8D.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.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-L1jBcQcp.js","imports":["/assets/index-CRmVVsbP.js","/assets/workflow-graph-viewer-BRI-aUt7.js","/assets/mermaid-3ZIDBTTL-C-jkx8xu.js","/assets/arrow-up-right-BjmInfWj.js"],"css":["/assets/run-detail-CWoGxu_0.css","/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-D8CjRQta.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-9875bf74.js","version":"9875bf74"};
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zstd-browser-decoder-D9w7uXpQ.js","assets/index-CRmVVsbP.js","assets/highlighted-body-B3W2YXNL-C53ps5L5.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/zstd-browser-decoder-HGSvkFdF.js","assets/index-CRmVVsbP.js","assets/highlighted-body-B3W2YXNL-Fxz5Vhrs.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);
5
- var _a2, _b;
5
+ var _a2, _b, _c, _d;
6
6
  import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, G as React, D as ReactDOM, R as ReactExports, H as getDefaultExportFromCjs } from "./index-CRmVVsbP.js";
7
7
  function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
8
8
  return function handleEvent(event) {
@@ -2443,7 +2443,7 @@ var CONTENT_NAME$1 = "PopperContent";
2443
2443
  var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME$1);
2444
2444
  var PopperContent = reactExports.forwardRef(
2445
2445
  (props, forwardedRef) => {
2446
- var _a3, _b2, _c, _d, _e2, _f;
2446
+ var _a3, _b2, _c2, _d2, _e2, _f;
2447
2447
  const {
2448
2448
  __scopePopper,
2449
2449
  side = "bottom",
@@ -2524,7 +2524,7 @@ var PopperContent = reactExports.forwardRef(
2524
2524
  }, [isPositioned, handlePlaced]);
2525
2525
  const arrowX = (_a3 = middlewareData.arrow) == null ? void 0 : _a3.x;
2526
2526
  const arrowY = (_b2 = middlewareData.arrow) == null ? void 0 : _b2.y;
2527
- const cannotCenterArrow = ((_c = middlewareData.arrow) == null ? void 0 : _c.centerOffset) !== 0;
2527
+ const cannotCenterArrow = ((_c2 = middlewareData.arrow) == null ? void 0 : _c2.centerOffset) !== 0;
2528
2528
  const [contentZIndex, setContentZIndex] = reactExports.useState();
2529
2529
  useLayoutEffect2(() => {
2530
2530
  if (content2) setContentZIndex(window.getComputedStyle(content2).zIndex);
@@ -2541,7 +2541,7 @@ var PopperContent = reactExports.forwardRef(
2541
2541
  minWidth: "max-content",
2542
2542
  zIndex: contentZIndex,
2543
2543
  ["--radix-popper-transform-origin"]: [
2544
- (_d = middlewareData.transformOrigin) == null ? void 0 : _d.x,
2544
+ (_d2 = middlewareData.transformOrigin) == null ? void 0 : _d2.x,
2545
2545
  (_e2 = middlewareData.transformOrigin) == null ? void 0 : _e2.y
2546
2546
  ].join(" "),
2547
2547
  // hide the content if using the hide middleware and should be hidden
@@ -2646,7 +2646,7 @@ var transformOrigin = (options) => ({
2646
2646
  name: "transformOrigin",
2647
2647
  options,
2648
2648
  fn(data) {
2649
- var _a3, _b2, _c;
2649
+ var _a3, _b2, _c2;
2650
2650
  const { placement, rects, middlewareData } = data;
2651
2651
  const cannotCenterArrow = ((_a3 = middlewareData.arrow) == null ? void 0 : _a3.centerOffset) !== 0;
2652
2652
  const isArrowHidden = cannotCenterArrow;
@@ -2655,7 +2655,7 @@ var transformOrigin = (options) => ({
2655
2655
  const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
2656
2656
  const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
2657
2657
  const arrowXCenter = (((_b2 = middlewareData.arrow) == null ? void 0 : _b2.x) ?? 0) + arrowWidth / 2;
2658
- const arrowYCenter = (((_c = middlewareData.arrow) == null ? void 0 : _c.y) ?? 0) + arrowHeight / 2;
2658
+ const arrowYCenter = (((_c2 = middlewareData.arrow) == null ? void 0 : _c2.y) ?? 0) + arrowHeight / 2;
2659
2659
  let x2 = "";
2660
2660
  let y2 = "";
2661
2661
  if (placedSide === "bottom") {
@@ -7283,7 +7283,7 @@ function attachSchema(issues, start, inst) {
7283
7283
  }
7284
7284
  }
7285
7285
  function finalizeIssue(iss, ctx, config2) {
7286
- var _a4, _b2, _c, _d, _e2, _f, _g, _h, _i, _j;
7286
+ var _a4, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j;
7287
7287
  var _a3;
7288
7288
  const traits = (_b2 = (_a4 = iss.inst) == null ? void 0 : _a4._zod) == null ? void 0 : _b2.traits;
7289
7289
  if (traits == null ? void 0 : traits.has("$ZodType")) {
@@ -7292,7 +7292,7 @@ function finalizeIssue(iss, ctx, config2) {
7292
7292
  else
7293
7293
  iss.schema = iss.inst;
7294
7294
  }
7295
- const schemaError = iss.schema !== iss.inst ? (_d = (_c = iss.schema) == null ? void 0 : _c._zod.def) == null ? void 0 : _d.error : void 0;
7295
+ const schemaError = iss.schema !== iss.inst ? (_d2 = (_c2 = iss.schema) == null ? void 0 : _c2._zod.def) == null ? void 0 : _d2.error : void 0;
7296
7296
  const message = iss.message ? iss.message : unwrapMessage((_g = (_f = (_e2 = iss.inst) == null ? void 0 : _e2._zod.def) == null ? void 0 : _f.error) == null ? void 0 : _g.call(_f, iss)) ?? unwrapMessage(schemaError == null ? void 0 : schemaError(iss)) ?? unwrapMessage((_h = ctx == null ? void 0 : ctx.error) == null ? void 0 : _h.call(ctx, iss)) ?? unwrapMessage((_i = config2.customError) == null ? void 0 : _i.call(config2, iss)) ?? unwrapMessage((_j = config2.localeError) == null ? void 0 : _j.call(config2, iss)) ?? "Invalid input";
7297
7297
  const { inst: _inst, schema: _schema, continue: _continue, input: _input, ...rest } = iss;
7298
7298
  rest.path ?? (rest.path = []);
@@ -8973,13 +8973,13 @@ function handlePropertyResult(result, final, key, input, optin, optout) {
8973
8973
  }
8974
8974
  const NO_SYMBOL_KEYS = [];
8975
8975
  function normalizeDef(def) {
8976
- var _a3, _b2, _c, _d;
8976
+ var _a3, _b2, _c2, _d2;
8977
8977
  const keys2 = Object.keys(def.shape);
8978
8978
  const ownSymbols = Object.getOwnPropertySymbols(def.shape);
8979
8979
  const symbolKeys = ownSymbols.length ? ownSymbols : NO_SYMBOL_KEYS;
8980
8980
  const allKeys = symbolKeys.length ? [...keys2, ...symbolKeys] : keys2;
8981
8981
  for (const k2 of allKeys) {
8982
- if (!((_d = (_c = (_b2 = (_a3 = def.shape) == null ? void 0 : _a3[k2]) == null ? void 0 : _b2._zod) == null ? void 0 : _c.traits) == null ? void 0 : _d.has("$ZodType"))) {
8982
+ if (!((_d2 = (_c2 = (_b2 = (_a3 = def.shape) == null ? void 0 : _a3[k2]) == null ? void 0 : _b2._zod) == null ? void 0 : _c2.traits) == null ? void 0 : _d2.has("$ZodType"))) {
8983
8983
  throw new Error(`Invalid element at key "${String(k2)}": expected a Zod schema`);
8984
8984
  }
8985
8985
  }
@@ -12631,7 +12631,7 @@ function encodeJSONPointerSegment(segment) {
12631
12631
  return segment.replace(/~/g, "~0").replace(/\//g, "~1");
12632
12632
  }
12633
12633
  function extractDefs(ctx, schema) {
12634
- var _a3, _b2, _c, _d;
12634
+ var _a3, _b2, _c2, _d2;
12635
12635
  const root2 = ctx.seen.get(schema);
12636
12636
  if (!root2)
12637
12637
  throw new Error("Unprocessed schema. This is a bug in Zod.");
@@ -12701,13 +12701,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
12701
12701
  continue;
12702
12702
  }
12703
12703
  if (ctx.external) {
12704
- const ext = (_c = ctx.external.registry.get(entry[0])) == null ? void 0 : _c.id;
12704
+ const ext = (_c2 = ctx.external.registry.get(entry[0])) == null ? void 0 : _c2.id;
12705
12705
  if (schema !== entry[0] && ext) {
12706
12706
  extractToDef(entry);
12707
12707
  continue;
12708
12708
  }
12709
12709
  }
12710
- const id = (_d = ctx.metadataRegistry.get(entry[0])) == null ? void 0 : _d.id;
12710
+ const id = (_d2 = ctx.metadataRegistry.get(entry[0])) == null ? void 0 : _d2.id;
12711
12711
  if (id) {
12712
12712
  extractToDef(entry);
12713
12713
  continue;
@@ -12836,7 +12836,7 @@ function foldIntersection(json) {
12836
12836
  assignProps(json, folded);
12837
12837
  }
12838
12838
  function finalize(ctx, schema) {
12839
- var _a3, _b2, _c, _d;
12839
+ var _a3, _b2, _c2, _d2;
12840
12840
  const root2 = ctx.seen.get(schema);
12841
12841
  if (!root2)
12842
12842
  throw new Error("Unprocessed schema. This is a bug in Zod.");
@@ -12949,10 +12949,10 @@ function finalize(ctx, schema) {
12949
12949
  result.$id = ctx.external.uri(id);
12950
12950
  }
12951
12951
  assignProps(result, root2.defId ? root2.schema : root2.def ?? root2.schema);
12952
- const rootMetaId = (_c = ctx.metadataRegistry.get(schema)) == null ? void 0 : _c.id;
12952
+ const rootMetaId = (_c2 = ctx.metadataRegistry.get(schema)) == null ? void 0 : _c2.id;
12953
12953
  if (rootMetaId !== void 0 && result.id === rootMetaId)
12954
12954
  delete result.id;
12955
- const defs = ((_d = ctx.external) == null ? void 0 : _d.defs) ?? {};
12955
+ const defs = ((_d2 = ctx.external) == null ? void 0 : _d2.defs) ?? {};
12956
12956
  if (!ctx.external || ctx.sharedEmitDoneFor !== ctx.external) {
12957
12957
  for (const entry of ctx.seen.entries()) {
12958
12958
  const seen2 = entry[1];
@@ -19403,6 +19403,11 @@ const decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy
19403
19403
  function merge_operations(defaults, overrides) {
19404
19404
  return defaults;
19405
19405
  }
19406
+ const array_buffer_byte_length = (
19407
+ /** @type {() => number} */
19408
+ (_b = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength")) == null ? void 0 : _b.get
19409
+ );
19410
+ const shared_array_buffer_byte_length = typeof SharedArrayBuffer === "undefined" ? void 0 : (_c = Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength")) == null ? void 0 : _c.get;
19406
19411
  const parse_operations = {
19407
19412
  fromPrimitive: (primitive) => primitive,
19408
19413
  fromISOString: (iso) => new Date(iso),
@@ -19414,6 +19419,12 @@ const parse_operations = {
19414
19419
  fromArrayBuffer: (buffer2) => buffer2,
19415
19420
  fromRegExpInfo: (source, flags) => new RegExp(source, flags),
19416
19421
  fromViewInfo: (tag, buffer2, byteOffset, length) => {
19422
+ try {
19423
+ array_buffer_byte_length.call(buffer2);
19424
+ } catch (error2) {
19425
+ if (!shared_array_buffer_byte_length) throw error2;
19426
+ shared_array_buffer_byte_length.call(buffer2);
19427
+ }
19417
19428
  const Constructor = (
19418
19429
  /** @type {any} */
19419
19430
  globalThis[tag]
@@ -19443,7 +19454,10 @@ const parse_operations = {
19443
19454
  map2.set(key, value);
19444
19455
  }
19445
19456
  };
19446
- const default_parse_operations = Object.freeze(parse_operations);
19457
+ const default_parse_operations = /* @__PURE__ */ Object.freeze(parse_operations);
19458
+ function invalid() {
19459
+ throw new Error("Invalid input");
19460
+ }
19447
19461
  function parse$3(serialized, revivers, options) {
19448
19462
  return unflatten(JSON.parse(serialized), revivers);
19449
19463
  }
@@ -19451,7 +19465,7 @@ function unflatten(parsed, revivers, options) {
19451
19465
  const ops = merge_operations(default_parse_operations);
19452
19466
  if (typeof parsed === "number") return hydrate(parsed, true);
19453
19467
  if (!Array.isArray(parsed) || parsed.length === 0) {
19454
- throw new Error("Invalid input");
19468
+ invalid();
19455
19469
  }
19456
19470
  const values = (
19457
19471
  /** @type {any[]} */
@@ -19459,6 +19473,12 @@ function unflatten(parsed, revivers, options) {
19459
19473
  );
19460
19474
  const hydrated = Array(values.length);
19461
19475
  let hydrating = null;
19476
+ function get_raw(index2) {
19477
+ if (!is_valid_array_index(index2) || index2 >= values.length) {
19478
+ invalid();
19479
+ }
19480
+ return values[index2];
19481
+ }
19462
19482
  function hydrate(index2, standalone = false) {
19463
19483
  if (index2 === UNDEFINED) return ops.fromPrimitive(void 0);
19464
19484
  if (index2 === NAN) return ops.fromPrimitive(NaN);
@@ -19466,11 +19486,11 @@ function unflatten(parsed, revivers, options) {
19466
19486
  if (index2 === NEGATIVE_INFINITY) return ops.fromPrimitive(-Infinity);
19467
19487
  if (index2 === NEGATIVE_ZERO) return ops.fromPrimitive(-0);
19468
19488
  if (standalone || typeof index2 !== "number") {
19469
- throw new Error(`Invalid input`);
19489
+ invalid();
19470
19490
  }
19471
19491
  if (index2 in hydrated) return hydrated[index2];
19472
19492
  if (index2 >= values.length) {
19473
- throw new Error(`Invalid input`);
19493
+ invalid();
19474
19494
  }
19475
19495
  const value = values[index2];
19476
19496
  if (!value || typeof value !== "object") {
@@ -19519,8 +19539,13 @@ function unflatten(parsed, revivers, options) {
19519
19539
  break;
19520
19540
  case "Object": {
19521
19541
  const wrapped_index = value[1];
19522
- if (typeof values[wrapped_index] === "object" && values[wrapped_index][0] !== "BigInt") {
19523
- throw new Error("Invalid input");
19542
+ const is_boxable_sentinel = wrapped_index === NAN || wrapped_index === POSITIVE_INFINITY || wrapped_index === NEGATIVE_INFINITY || wrapped_index === NEGATIVE_ZERO;
19543
+ if (!is_boxable_sentinel) {
19544
+ const wrapped = get_raw(wrapped_index);
19545
+ const is_bigint = Array.isArray(wrapped) && wrapped[0] === "BigInt";
19546
+ if ((wrapped === void 0 || typeof wrapped === "object") && !is_bigint) {
19547
+ invalid();
19548
+ }
19524
19549
  }
19525
19550
  hydrated[index2] = ops.box(hydrate(wrapped_index));
19526
19551
  break;
@@ -19532,10 +19557,14 @@ function unflatten(parsed, revivers, options) {
19532
19557
  const obj = ops.createNullPrototypeObject();
19533
19558
  hydrated[index2] = obj;
19534
19559
  for (let i = 1; i < value.length; i += 2) {
19535
- if (value[i] === "__proto__") {
19560
+ const key = value[i];
19561
+ if (typeof key !== "string") {
19562
+ throw new Error("Cannot parse an object with a non-string key");
19563
+ }
19564
+ if (key === "__proto__") {
19536
19565
  throw new Error("Cannot parse an object with a `__proto__` property");
19537
19566
  }
19538
- ops.set(obj, value[i], hydrate(value[i + 1]));
19567
+ ops.set(obj, key, hydrate(value[i + 1]));
19539
19568
  }
19540
19569
  break;
19541
19570
  case "Int8Array":
@@ -19551,10 +19580,12 @@ function unflatten(parsed, revivers, options) {
19551
19580
  case "BigInt64Array":
19552
19581
  case "BigUint64Array":
19553
19582
  case "DataView": {
19554
- if (values[value[1]][0] !== "ArrayBuffer") {
19555
- throw new Error("Invalid data");
19583
+ const buffer_index = value[1];
19584
+ const raw2 = get_raw(buffer_index);
19585
+ if (!Array.isArray(raw2) || raw2[0] !== "ArrayBuffer") {
19586
+ invalid();
19556
19587
  }
19557
- const buffer2 = hydrate(value[1]);
19588
+ const buffer2 = hydrate(buffer_index);
19558
19589
  hydrated[index2] = ops.fromViewInfo(type, buffer2, value[2], value[3]);
19559
19590
  break;
19560
19591
  }
@@ -19585,14 +19616,14 @@ function unflatten(parsed, revivers, options) {
19585
19616
  } else if (value[0] === SPARSE) {
19586
19617
  const len = value[1];
19587
19618
  if (!is_valid_array_len(len)) {
19588
- throw new Error("Invalid input");
19619
+ invalid();
19589
19620
  }
19590
19621
  const array2 = ops.createSparseArray(len);
19591
19622
  hydrated[index2] = array2;
19592
19623
  for (let i = 2; i < value.length; i += 2) {
19593
19624
  const idx = value[i];
19594
19625
  if (!is_valid_array_index(idx) || idx >= len) {
19595
- throw new Error("Invalid input");
19626
+ invalid();
19596
19627
  }
19597
19628
  ops.set(array2, idx, hydrate(value[i + 1]));
19598
19629
  }
@@ -20949,7 +20980,7 @@ async function hydrateResourceIOAsync(resource, key) {
20949
20980
  return { hydrateDataWithKey: hydrateDataWithKey3, deriveRunPayloadKeys: deriveRunPayloadKeys3 };
20950
20981
  }, true ? void 0 : void 0);
20951
20982
  const { ensureZstdDecoderRegistered } = await __vitePreload(async () => {
20952
- const { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 } = await import("./zstd-browser-decoder-D9w7uXpQ.js");
20983
+ const { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 } = await import("./zstd-browser-decoder-HGSvkFdF.js");
20953
20984
  return { ensureZstdDecoderRegistered: ensureZstdDecoderRegistered2 };
20954
20985
  }, true ? __vite__mapDeps([0,1]) : void 0);
20955
20986
  ensureZstdDecoderRegistered();
@@ -23032,8 +23063,8 @@ function isObjectLike(value) {
23032
23063
  return typeof value === "object" && value !== null;
23033
23064
  }
23034
23065
  function isSameBytesDisplay(a2, b2) {
23035
- var _a3, _b2, _c, _d, _e2, _f;
23036
- return a2.text === b2.text && ((_a3 = a2.decodedFrom) == null ? void 0 : _a3.type) === ((_b2 = b2.decodedFrom) == null ? void 0 : _b2.type) && ((_c = a2.decodedFrom) == null ? void 0 : _c.encoding) === ((_d = b2.decodedFrom) == null ? void 0 : _d.encoding) && ((_e2 = a2.decodedFrom) == null ? void 0 : _e2.rawSummary) === ((_f = b2.decodedFrom) == null ? void 0 : _f.rawSummary);
23066
+ var _a3, _b2, _c2, _d2, _e2, _f;
23067
+ return a2.text === b2.text && ((_a3 = a2.decodedFrom) == null ? void 0 : _a3.type) === ((_b2 = b2.decodedFrom) == null ? void 0 : _b2.type) && ((_c2 = a2.decodedFrom) == null ? void 0 : _c2.encoding) === ((_d2 = b2.decodedFrom) == null ? void 0 : _d2.encoding) && ((_e2 = a2.decodedFrom) == null ? void 0 : _e2.rawSummary) === ((_f = b2.decodedFrom) == null ? void 0 : _f.rawSummary);
23037
23068
  }
23038
23069
  function haveSameIterableValues(a2, b2, seen2) {
23039
23070
  const aIterator = a2[Symbol.iterator]();
@@ -47856,7 +47887,7 @@ var x = class u2 {
47856
47887
  return this.inlineQueue = [], this.tokens;
47857
47888
  }
47858
47889
  blockTokens(e, t = [], n = false) {
47859
- var _a3, _b2, _c;
47890
+ var _a3, _b2, _c2;
47860
47891
  for (this.options.pedantic && (e = e.replace(m.tabCharGlobal, " ").replace(m.spaceLine, "")); e; ) {
47861
47892
  let r2;
47862
47893
  if ((_b2 = (_a3 = this.options.extensions) == null ? void 0 : _a3.block) == null ? void 0 : _b2.some((s2) => (r2 = s2.call({ lexer: this }, e, t)) ? (e = e.substring(r2.raw.length), t.push(r2), true) : false)) continue;
@@ -47918,7 +47949,7 @@ var x = class u2 {
47918
47949
  continue;
47919
47950
  }
47920
47951
  let i = e;
47921
- if ((_c = this.options.extensions) == null ? void 0 : _c.startBlock) {
47952
+ if ((_c2 = this.options.extensions) == null ? void 0 : _c2.startBlock) {
47922
47953
  let s2 = 1 / 0, a2 = e.slice(1), o;
47923
47954
  this.options.extensions.startBlock.forEach((l) => {
47924
47955
  o = l.call({ lexer: this }, a2), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
@@ -47955,7 +47986,7 @@ var x = class u2 {
47955
47986
  return this.inlineQueue.push({ src: e, tokens: t }), t;
47956
47987
  }
47957
47988
  inlineTokens(e, t = []) {
47958
- var _a3, _b2, _c, _d, _e2;
47989
+ var _a3, _b2, _c2, _d2, _e2;
47959
47990
  let n = e, r2 = null;
47960
47991
  if (this.tokens.links) {
47961
47992
  let o = Object.keys(this.tokens.links);
@@ -47969,7 +48000,7 @@ var x = class u2 {
47969
48000
  for (; e; ) {
47970
48001
  s2 || (a2 = ""), s2 = false;
47971
48002
  let o;
47972
- if ((_d = (_c = this.options.extensions) == null ? void 0 : _c.inline) == null ? void 0 : _d.some((p2) => (o = p2.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), true) : false)) continue;
48003
+ if ((_d2 = (_c2 = this.options.extensions) == null ? void 0 : _c2.inline) == null ? void 0 : _d2.some((p2) => (o = p2.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), true) : false)) continue;
47973
48004
  if (o = this.tokenizer.escape(e)) {
47974
48005
  e = e.substring(o.raw.length), t.push(o);
47975
48006
  continue;
@@ -48339,7 +48370,7 @@ var b = class u3 {
48339
48370
  return n;
48340
48371
  }
48341
48372
  };
48342
- var P = (_b = class {
48373
+ var P = (_d = class {
48343
48374
  constructor(e) {
48344
48375
  __publicField(this, "options");
48345
48376
  __publicField(this, "block");
@@ -48363,7 +48394,7 @@ var P = (_b = class {
48363
48394
  provideParser() {
48364
48395
  return this.block ? b.parse : b.parseInline;
48365
48396
  }
48366
- }, __publicField(_b, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField(_b, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _b);
48397
+ }, __publicField(_d, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField(_d, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _d);
48367
48398
  var B = class {
48368
48399
  constructor(...e) {
48369
48400
  __publicField(this, "defaults", M());
@@ -48659,7 +48690,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
48659
48690
  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 });
48660
48691
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
48661
48692
  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 }) });
48662
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-C53ps5L5.js"), true ? __vite__mapDeps([2,1]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
48693
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-Fxz5Vhrs.js"), true ? __vite__mapDeps([2,1]) : void 0).then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
48663
48694
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
48664
48695
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
48665
48696
  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 }) })] }) });
@@ -49537,7 +49568,7 @@ const useActiveSpan = () => {
49537
49568
  };
49538
49569
  const ATTR_FILTER_REGEX = /(?:^|\s)(?<pair>(?<key>[\w.]+):(?<value>\S*))/g;
49539
49570
  function parseSpanSearchQuery(rawQuery) {
49540
- var _a3, _b2, _c;
49571
+ var _a3, _b2, _c2;
49541
49572
  const attributes = [];
49542
49573
  for (const match of rawQuery.matchAll(ATTR_FILTER_REGEX)) {
49543
49574
  const key = (_b2 = (_a3 = match.groups) == null ? void 0 : _a3.key) == null ? void 0 : _b2.trim();
@@ -49545,7 +49576,7 @@ function parseSpanSearchQuery(rawQuery) {
49545
49576
  continue;
49546
49577
  attributes.push({
49547
49578
  key,
49548
- value: (((_c = match.groups) == null ? void 0 : _c.value) ?? "").toLocaleLowerCase()
49579
+ value: (((_c2 = match.groups) == null ? void 0 : _c2.value) ?? "").toLocaleLowerCase()
49549
49580
  });
49550
49581
  }
49551
49582
  const text2 = rawQuery.replace(ATTR_FILTER_REGEX, " ").replace(/\s{2,}/g, " ").trim().toLocaleLowerCase();
@@ -1,7 +1,7 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, w as withComponentProps, v as withErrorBoundaryProps, M as Meta, L as Links, S as ScrollRestoration, x as Scripts, O as Outlet, y as useRouteError, i as isRouteErrorResponse, z as Link, A as useNavigate, B as useSearchParams } from "./index-CRmVVsbP.js";
2
- import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, d as runHealthCheck, t as toast, B as Button, e as cn, f as Toaster$1, S as ServerConfigProvider, g as TooltipProvider } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
3
- import { L as LoaderCircle } from "./loader-circle-BaPqCMKN.js";
4
- import { A as ArrowUpRight } from "./arrow-up-right-ychoyK1y.js";
2
+ import { c as createLucideIcon, u as useServerConfig, T as Tooltip, a as TooltipTrigger, b as TooltipContent, d as runHealthCheck, t as toast, B as Button, e as cn, f as Toaster$1, S as ServerConfigProvider, g as TooltipProvider } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
3
+ import { L as LoaderCircle } from "./loader-circle-BHf0PB8D.js";
4
+ import { A as ArrowUpRight } from "./arrow-up-right-BjmInfWj.js";
5
5
  var M = (e, i, s, u, m, a, l, h) => {
6
6
  let d = document.documentElement, w = ["light", "dark"];
7
7
  function p(n) {
@@ -1,7 +1,7 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, D as ReactDOM, A as useNavigate, B as useSearchParams, z as Link, w as withComponentProps, E as useParams } from "./index-CRmVVsbP.js";
2
- import { C as CircleAlert, O as parseStepName, B as parseWorkflowName, Q as ErrorCard, U as format, Z as Zap, S as Send, R as ResolveHookModal, q as ChevronUp, X, N as ErrorBoundary, V as Circle, u as unwrapOrThrow, W as WorkflowWebAPIError, I as unwrapServerActionResult, Y as useEscapeKeydown, t as composeEventHandlers, _ as useCallbackRef, $ as useLayoutEffect2, s as useControllableState, a0 as useId, a1 as createContext2, v as Presence, x as createContextScope, n as hideOthers, o as ReactRemoveScroll, a2 as useFocusGuards, a3 as LAYOUT, a4 as wakeUpRun, l as resumeHook, A as Alert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, a as Skeleton$1, a5 as RunActionsButtons, F as StatusBadge, h as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, a6 as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-B9ovZj-2.js";
3
- import { c as createLucideIcon, Y as classifyEntityEvent, Z as TERMINAL_EVENT_CLASSES, $ as isSealedNoopEvent$1, a0 as cn, a1 as CopyableDataBlock, a2 as CollapsibleRoot, a3 as CollapsibleTrigger, a4 as CollapsibleContent, a5 as CopyButton, O as cva, a6 as RESERVED_ATTRIBUTE_KEY_PREFIX, a7 as Spinner, a8 as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent, a9 as ContextCardProvider, h as useToast, aa as Skeleton, ab as DecryptClickContext, ac as Yr, ad as isEncryptedMarker, ae as getEventDataRefFields, m as ChevronRight, af as TimestampTooltip, ag as formatDuration, C as Check, l as Copy, ah as DataInspector, ai as _r, aj as isHookLifecycleEventType, ak as isTerminalStepEventType, al as isWaitEventType, am as isStepEventType, an as RunClickContext, ao as StreamClickContext, ap as Collapsible, aq as isExpiredMarker, ar as isDoStreamStep, as as extractConversation, at as EncryptedDataBlock, au as hasEncryptedFields, av as useSidebarDataOptional, aw as isTerminalWorkflowRunStatus, ax as clsx, ay as useActiveSpan, az as useSidebarData, aA as IconButton, J as ChevronDown, aB as useRowWindow, aC as isSpanDimmedBySearch, aD as ROW_HEIGHT_PX, aE as getSpanDurationMs, aF as isSpanErrored, aG as isSpanCancelled, aH as formatDurationPrecise, aI as ActiveSpanProvider, aJ as useReducedMotion, aK as searchSpans, aL as computeRootBounds, aM as computeTimeMarkers, aN as clampViewportToRoot, aO as getHighResInMs, aP as scrollRowIntoView, aQ as TIMELINE_PADDING_PX, aR as Minimap, aS as Timeline, aT as TimelineHeader, aU as wheelZoomScaleFactor, aV as wheelDeltaToPixels, aW as SidebarDataProvider, aX as fetchHook, n as fetchEvents, aY as hydrateResourceIOAsync, N as fetchRun, aZ as fetchStep, a_ as hydrateResourceIO, a$ as fetchStreams, b0 as apiBase, b1 as Slot, L as useComposedRefs, b2 as Slottable, e as cn$1, b3 as buttonVariants, b4 as fetchEvent, b5 as fetchEventsByCorrelationId, b6 as isEncryptedData, b7 as hydrateData, b8 as decrypt, b9 as deriveRunPayloadKeys, ba as getWebRevivers, bb as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, bc as getEncryptionKeyForRun, t as toast, bd as StreamViewerSkeleton, be as Lock, bf as StreamViewer } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
4
- import { A as ArrowUpRight } from "./arrow-up-right-ychoyK1y.js";
2
+ import { C as CircleAlert, O as parseStepName, B as parseWorkflowName, Q as ErrorCard, U as format, Z as Zap, S as Send, R as ResolveHookModal, q as ChevronUp, X, N as ErrorBoundary, V as Circle, u as unwrapOrThrow, W as WorkflowWebAPIError, I as unwrapServerActionResult, Y as useEscapeKeydown, t as composeEventHandlers, _ as useCallbackRef, $ as useLayoutEffect2, s as useControllableState, a0 as useId, a1 as createContext2, v as Presence, x as createContextScope, n as hideOthers, o as ReactRemoveScroll, a2 as useFocusGuards, a3 as LAYOUT, a4 as wakeUpRun, l as resumeHook, A as Alert, c as AlertTitle, g as getErrorTitle, d as AlertDescription, e as getErrorMessage, a as Skeleton$1, a5 as RunActionsButtons, F as StatusBadge, h as CopyableText, b as RelativeTime, T as Tabs, K as TabsList, L as TabsTrigger, M as TabsContent, a6 as cancelRun, a7 as recreateRun } from "./workflow-graph-viewer-BRI-aUt7.js";
3
+ import { c as createLucideIcon, Y as classifyEntityEvent, Z as TERMINAL_EVENT_CLASSES, $ as isSealedNoopEvent$1, a0 as cn, a1 as CopyableDataBlock, a2 as CollapsibleRoot, a3 as CollapsibleTrigger, a4 as CollapsibleContent, a5 as CopyButton, O as cva, a6 as RESERVED_ATTRIBUTE_KEY_PREFIX, a7 as Spinner, a8 as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent, a9 as ContextCardProvider, h as useToast, aa as Skeleton, ab as DecryptClickContext, ac as Yr, ad as isEncryptedMarker, ae as getEventDataRefFields, m as ChevronRight, af as TimestampTooltip, ag as formatDuration, C as Check, l as Copy, ah as DataInspector, ai as _r, aj as isHookLifecycleEventType, ak as isTerminalStepEventType, al as isWaitEventType, am as isStepEventType, an as RunClickContext, ao as StreamClickContext, ap as Collapsible, aq as isExpiredMarker, ar as isDoStreamStep, as as extractConversation, at as EncryptedDataBlock, au as hasEncryptedFields, av as useSidebarDataOptional, aw as isTerminalWorkflowRunStatus, ax as clsx, ay as useActiveSpan, az as useSidebarData, aA as IconButton, J as ChevronDown, aB as useRowWindow, aC as isSpanDimmedBySearch, aD as ROW_HEIGHT_PX, aE as getSpanDurationMs, aF as isSpanErrored, aG as isSpanCancelled, aH as formatDurationPrecise, aI as ActiveSpanProvider, aJ as useReducedMotion, aK as searchSpans, aL as computeRootBounds, aM as computeTimeMarkers, aN as clampViewportToRoot, aO as getHighResInMs, aP as scrollRowIntoView, aQ as TIMELINE_PADDING_PX, aR as Minimap, aS as Timeline, aT as TimelineHeader, aU as wheelZoomScaleFactor, aV as wheelDeltaToPixels, aW as SidebarDataProvider, aX as fetchHook, n as fetchEvents, aY as hydrateResourceIOAsync, N as fetchRun, aZ as fetchStep, a_ as hydrateResourceIO, a$ as fetchStreams, b0 as apiBase, b1 as Slot, L as useComposedRefs, b2 as Slottable, e as cn$1, b3 as buttonVariants, b4 as fetchEvent, b5 as fetchEventsByCorrelationId, b6 as isEncryptedData, b7 as hydrateData, b8 as decrypt, b9 as deriveRunPayloadKeys, ba as getWebRevivers, bb as LIVE_UPDATE_INTERVAL_MS$1, u as useServerConfig, bc as getEncryptionKeyForRun, t as toast, bd as StreamViewerSkeleton, be as Lock, bf as StreamViewer } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
4
+ import { A as ArrowUpRight } from "./arrow-up-right-BjmInfWj.js";
5
5
  /**
6
6
  * @license lucide-react v0.575.0 - ISC
7
7
  *
@@ -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, J as ChevronDown, a0 as cn, e as cn$1, O as cva, bg as composeRefs, L as useComposedRefs, bh as useFloating, bi as offset, bj as shift, bk as limitShift, bl as flip, bm as size, bn as arrow, bo as hide, bp as autoUpdate, m as ChevronRight, C as Check, bq as VERCEL_403_ERROR_MESSAGE, br as bulkCancelRuns$1, bs as reenqueueRun$1, bt as wakeUpRun$1, bu as resumeHook$1, bv as fetchHookToken$1, bw as cancelRun$1, bx 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, ag 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, U as Presence$1 } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
4
+ import { c as createLucideIcon, J as ChevronDown, a0 as cn, e as cn$1, O as cva, bg as composeRefs, L as useComposedRefs, bh as useFloating, bi as offset, bj as shift, bk as limitShift, bl as flip, bm as size, bn as arrow, bo as hide, bp as autoUpdate, m as ChevronRight, C as Check, bq as VERCEL_403_ERROR_MESSAGE, br as bulkCancelRuns$1, bs as reenqueueRun$1, bt as wakeUpRun$1, bu as resumeHook$1, bv as fetchHookToken$1, bw as cancelRun$1, bx 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, ag 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, U as Presence$1 } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
5
5
  import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, G as React, D as ReactDOM, a as requireReact, H as getDefaultExportFromCjs } from "./index-CRmVVsbP.js";
6
6
  function parseName(tag, name) {
7
7
  if (typeof name !== "string") {
@@ -1,4 +1,4 @@
1
- import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-COEB4Hc6.js";
1
+ import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-C-jkx8xu.js";
2
2
  import "./index-CRmVVsbP.js";
3
3
  let registered = false;
4
4
  let modulePromise;