@workflow/web 5.3.2 → 5.4.0

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 (37) hide show
  1. package/build/client/assets/app-Czi_mceE.css +1 -0
  2. package/build/client/assets/arrow-up-right-74VYxbbA.js +9 -0
  3. package/build/client/assets/{entry.client-xzxVCL3o.js → entry.client-BqbaswKw.js} +13 -35
  4. package/build/client/assets/{highlighted-body-JLMTFACH-1yzOVKg0.js → highlighted-body-JLMTFACH-D51eQJbG.js} +2 -2
  5. package/build/client/assets/{home--wf0CrF6.js → home-DLo3pUJ2.js} +104 -167
  6. package/build/client/assets/{index-wl5l5E8H.js → index-BUQuaV5X.js} +78 -149
  7. package/build/client/assets/{manifest-7b81d8d4.js → manifest-67b853ed.js} +1 -1
  8. package/build/client/assets/mermaid-WFAXDIZX-Bd_l_owX.css +1 -0
  9. package/build/client/assets/{mermaid-WFAXDIZX-CB__BxYb.js → mermaid-WFAXDIZX-CCgeQ0jh.js} +2044 -2169
  10. package/build/client/assets/{root-C1XwTNUK.js → root-D8difEo9.js} +8 -33
  11. package/build/client/assets/root-d42YLYYg.css +1 -0
  12. package/build/client/assets/{rpc-client-SbyXJdFV.js → rpc-client-DL_nSX36.js} +3 -4
  13. package/build/client/assets/{run-detail-2CnpdXm1.js → run-detail-DcpR_rST.js} +234 -445
  14. package/build/client/assets/run-detail-DmVxTs86.css +1 -0
  15. package/build/client/assets/{run-usage-C3aywyqa.js → run-usage-0JrO5fG2.js} +5 -5
  16. package/build/client/assets/{run-usage-DRV6lopZ.js → run-usage-CK_ia-7k.js} +36 -53
  17. package/build/client/assets/{skeleton-DMLgjvZZ.js → skeleton-B2Cf2UXN.js} +3 -21
  18. package/build/client/assets/{url-state-JAVaNZ_m.js → url-state-n9DuWtVx.js} +521 -779
  19. package/build/client/assets/{zstd-browser-decoder-Z5736ep5.js → zstd-browser-decoder-CqZHDp17.js} +2 -2
  20. package/build/server/assets/{app-C4Vf0mu1.js → app-DLSid73Q.js} +13263 -14020
  21. package/build/server/assets/{esm-CETb4fkq.js → esm-BzrGWk7J.js} +2 -2
  22. package/build/server/assets/{highlighted-body-JLMTFACH-CF_5tt3-.js → highlighted-body-JLMTFACH-CtQ_zvjG.js} +1 -1
  23. package/build/server/assets/{index-BrYeW--s.js → index-BI8sdTIq.js} +398 -490
  24. package/build/server/assets/{mermaid-WFAXDIZX-BHZz_uL6.js → mermaid-WFAXDIZX-BlWV_MqD.js} +1 -1
  25. package/build/server/assets/{token-k0na1G9v.js → token-BE7-D9Dt.js} +6 -6
  26. package/build/server/assets/{token-B94O3LuJ.js → token-DOXFZxpM.js} +5 -5
  27. package/build/server/assets/{token-util-DFlzY9Hw.js → token-util-DjnKfD7P.js} +2 -2
  28. package/build/server/assets/{token-util-DgTmPzWb.js → token-util-V29s95lj.js} +1 -1
  29. package/build/server/assets/{wrapper-BEqyNEir.js → wrapper-DBwRVVUb.js} +2 -2
  30. package/build/server/assets/{zstd-browser-decoder-LnaKiDUZ.js → zstd-browser-decoder-Crq3t_fM.js} +1 -1
  31. package/build/server/index.js +1 -1
  32. package/package.json +8 -8
  33. package/build/client/assets/app-BHCSMHev.css +0 -1
  34. package/build/client/assets/arrow-up-right-DyaB_ak4.js +0 -15
  35. package/build/client/assets/mermaid-WFAXDIZX-D8CjRQta.css +0 -1
  36. package/build/client/assets/root-C3ED6Dwc.css +0 -1
  37. package/build/client/assets/run-detail-CWoGxu_0.css +0 -1
@@ -0,0 +1 @@
1
+ ._hint_1dmsq_3{animation:_trace-shortcut-hint-fade_1dmsq_1 .15s ease-in-out}@keyframes _trace-shortcut-hint-fade_1dmsq_1{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){._hint_1dmsq_3{animation:none}}@keyframes _span-flash_bcyo3_1{0%,44%,to{background-color:var(--ds-gray-100)}12%,28%,58%,74%{background-color:var(--ds-amber-200)}}@media(prefers-reduced-motion:no-preference){._landing_bcyo3_16 [role=treeitem][aria-selected=true]{animation:_span-flash_bcyo3_1 .6s ease-in-out .15s backwards}}
@@ -1,9 +1,9 @@
1
- import { w as withComponentProps, u as useOutletContext, j as jsxRuntimeExports } from "./index-wl5l5E8H.js";
2
- import { R as RunUsagePage } from "./run-usage-DRV6lopZ.js";
1
+ import { w as withComponentProps, u as useOutletContext, j as jsxRuntimeExports } from "./index-BUQuaV5X.js";
2
+ import { R as RunUsagePage } from "./run-usage-CK_ia-7k.js";
3
3
  import { D as DEFAULT_TITLE, a as DEFAULT_META_DESCRIPTION } from "./meta-9cjJ0pVb.js";
4
- import "./mermaid-WFAXDIZX-CB__BxYb.js";
5
- import "./skeleton-DMLgjvZZ.js";
6
- import "./arrow-up-right-DyaB_ak4.js";
4
+ import "./mermaid-WFAXDIZX-CCgeQ0jh.js";
5
+ import "./skeleton-B2Cf2UXN.js";
6
+ import "./arrow-up-right-74VYxbbA.js";
7
7
  function meta({
8
8
  params
9
9
  }) {
@@ -1,13 +1,7 @@
1
- import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./index-wl5l5E8H.js";
2
- import { c as createLucideIcon, a as cn, u as useRowWindow, i as isSpanDimmedBySearch, b as ROW_HEIGHT_PX, T as Tooltip, d as TooltipTrigger, e as TooltipContent, g as getSpanDurationMs, f as isSpanErrored, h as isSpanCancelled, j as formatDurationPrecise, B as Button, C as ChevronRight } from "./mermaid-WFAXDIZX-CB__BxYb.js";
3
- import { f as formatStepName, p as parseStepName, a as parseWorkflowName, C as Circle, b as CircleAlert, R as RotateCw, S as Skeleton } from "./skeleton-DMLgjvZZ.js";
4
- import { A as ArrowUpRight } from "./arrow-up-right-DyaB_ak4.js";
5
- /**
6
- * @license lucide-react v0.575.0 - ISC
7
- *
8
- * This source code is licensed under the ISC license.
9
- * See the LICENSE file in the root directory of this source tree.
10
- */
1
+ import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./index-BUQuaV5X.js";
2
+ import { c as createLucideIcon, a as cn, u as useRowWindow, i as isSpanDimmedBySearch, b as ROW_HEIGHT_PX, g as getSpanColors, T as Tooltip, d as TOOLTIP_DELAY_MS, e as TooltipTrigger, f as TooltipContent, h as getSpanDurationMs, j as isSpanErrored, k as isSpanCancelled, l as formatDurationPrecise, B as Button, C as ChevronRight } from "./mermaid-WFAXDIZX-CCgeQ0jh.js";
3
+ import { f as formatStepName, p as parseStepName, a as parseWorkflowName, C as Circle, b as CircleAlert, R as RotateCw, S as Skeleton } from "./skeleton-B2Cf2UXN.js";
4
+ import { A as ArrowUpRight } from "./arrow-up-right-74VYxbbA.js";
11
5
  const __iconNode = [
12
6
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
13
7
  ["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
@@ -33,12 +27,11 @@ function plural(count, one, many) {
33
27
  return `${count.toLocaleString("en-US")} ${count === 1 ? one : many}`;
34
28
  }
35
29
  function usageSpanLabel(span) {
36
- var _a, _b;
37
30
  if (span.kind === "step") {
38
- return ((_a = parseStepName(span.name)) == null ? void 0 : _a.shortName) || span.name;
31
+ return parseStepName(span.name)?.shortName || span.name;
39
32
  }
40
33
  if (span.kind === "run") {
41
- return ((_b = parseWorkflowName(span.name)) == null ? void 0 : _b.shortName) || span.name;
34
+ return parseWorkflowName(span.name)?.shortName || span.name;
42
35
  }
43
36
  return span.name;
44
37
  }
@@ -337,7 +330,7 @@ function flushMeasurements() {
337
330
  pendingMeasurements.clear();
338
331
  const measures = reads.map((read) => read());
339
332
  for (const measure of measures) {
340
- measure == null ? void 0 : measure();
333
+ measure?.();
341
334
  }
342
335
  }
343
336
  function scheduleMeasurement(key, { read, measure }) {
@@ -416,7 +409,7 @@ function useMiddleTruncate(value) {
416
409
  if (!measureEl)
417
410
  return;
418
411
  const lastMeasurement = lastMeasurementRef.current;
419
- if ((lastMeasurement == null ? void 0 : lastMeasurement.availableWidth) === availableWidth && lastMeasurement.typography === typography && lastMeasurement.value === value) {
412
+ if (lastMeasurement?.availableWidth === availableWidth && lastMeasurement.typography === typography && lastMeasurement.value === value) {
420
413
  return;
421
414
  }
422
415
  lastMeasurementRef.current = {
@@ -466,7 +459,6 @@ function useMiddleTruncate(value) {
466
459
  }
467
460
  }, [readMeasurement, recalculate]);
468
461
  reactExports.useEffect(() => {
469
- var _a;
470
462
  const el = ref.current;
471
463
  if (!el)
472
464
  return;
@@ -478,7 +470,7 @@ function useMiddleTruncate(value) {
478
470
  });
479
471
  };
480
472
  const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(scheduleRecalculation) : null;
481
- ro == null ? void 0 : ro.observe(el);
473
+ ro?.observe(el);
482
474
  if (!ro) {
483
475
  window.addEventListener("resize", scheduleRecalculation);
484
476
  }
@@ -488,15 +480,14 @@ function useMiddleTruncate(value) {
488
480
  scheduleRecalculation();
489
481
  };
490
482
  const fontSet = "fonts" in document ? document.fonts : null;
491
- (_a = fontSet == null ? void 0 : fontSet.addEventListener) == null ? void 0 : _a.call(fontSet, "loadingdone", onFontsLoaded);
483
+ fontSet?.addEventListener?.("loadingdone", onFontsLoaded);
492
484
  return () => {
493
- var _a2;
494
- ro == null ? void 0 : ro.disconnect();
485
+ ro?.disconnect();
495
486
  if (!ro) {
496
487
  window.removeEventListener("resize", scheduleRecalculation);
497
488
  }
498
489
  cancelMeasurement(measurementKey);
499
- (_a2 = fontSet == null ? void 0 : fontSet.removeEventListener) == null ? void 0 : _a2.call(fontSet, "loadingdone", onFontsLoaded);
490
+ fontSet?.removeEventListener?.("loadingdone", onFontsLoaded);
500
491
  };
501
492
  }, [readMeasurement, recalculate]);
502
493
  return {
@@ -535,7 +526,7 @@ function MiddleTruncate({ value, className, onCopy: onCopyProp, ...props }) {
535
526
  const { ref, measureRef, displayText, isTruncated, prefixText, suffixText } = useMiddleTruncate(value);
536
527
  const visibleRef = reactExports.useRef(null);
537
528
  const handleCopy = reactExports.useCallback((e) => {
538
- onCopyProp == null ? void 0 : onCopyProp(e);
529
+ onCopyProp?.(e);
539
530
  if (e.defaultPrevented || !isTruncated)
540
531
  return;
541
532
  const selection = window.getSelection();
@@ -559,18 +550,18 @@ function MiddleTruncate({ value, className, onCopy: onCopyProp, ...props }) {
559
550
  });
560
551
  }
561
552
  }
562
- copyText ?? (copyText = getMiddleTruncateCopyTextFromSelectionText({
553
+ copyText ??= getMiddleTruncateCopyTextFromSelectionText({
563
554
  prefixText,
564
555
  selectionText,
565
556
  suffixText,
566
557
  value
567
- }));
558
+ });
568
559
  if (copyText === null)
569
560
  return;
570
561
  e.preventDefault();
571
562
  e.clipboardData.setData("text/plain", copyText);
572
563
  }, [onCopyProp, isTruncated, prefixText, suffixText, value]);
573
- return jsxRuntimeExports.jsxs("span", { title: isTruncated ? value : void 0, ...props, ref, className: cn("relative inline-grid min-w-0 max-w-full overflow-hidden whitespace-nowrap", className), onCopy: handleCopy, children: [isTruncated && jsxRuntimeExports.jsx("span", { className: "sr-only select-none", children: value }), jsxRuntimeExports.jsx("span", { "aria-hidden": "true", className: "pointer-events-none col-start-1 row-start-1 invisible select-none whitespace-nowrap", children: value }), jsxRuntimeExports.jsx("span", { "aria-hidden": isTruncated || void 0, className: "col-start-1 row-start-1 min-w-0 overflow-hidden", ref: visibleRef, children: isTruncated ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("span", { children: prefixText }), jsxRuntimeExports.jsx("span", { children: ELLIPSIS }), jsxRuntimeExports.jsx("span", { children: suffixText })] }) : displayText }), jsxRuntimeExports.jsx("span", { "aria-hidden": "true", className: "pointer-events-none absolute left-0 top-0 inline-block invisible select-none whitespace-nowrap", ref: measureRef })] });
564
+ return jsxRuntimeExports.jsxs("span", { ...props, ref, className: cn("relative inline-grid min-w-0 max-w-full overflow-hidden whitespace-nowrap", className), onCopy: handleCopy, children: [isTruncated && jsxRuntimeExports.jsx("span", { className: "sr-only select-none", children: value }), jsxRuntimeExports.jsx("span", { "aria-hidden": "true", className: "pointer-events-none col-start-1 row-start-1 invisible select-none whitespace-nowrap", children: value }), jsxRuntimeExports.jsx("span", { "aria-hidden": isTruncated || void 0, className: "col-start-1 row-start-1 min-w-0 overflow-hidden", ref: visibleRef, children: isTruncated ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx("span", { children: prefixText }), jsxRuntimeExports.jsx("span", { children: ELLIPSIS }), jsxRuntimeExports.jsx("span", { children: suffixText })] }) : displayText }), jsxRuntimeExports.jsx("span", { "aria-hidden": "true", className: "pointer-events-none absolute left-0 top-0 inline-block invisible select-none whitespace-nowrap", ref: measureRef })] });
574
565
  }
575
566
  const WorkflowIcon = () => {
576
567
  return jsxRuntimeExports.jsx("svg", { "aria-hidden": "true", "data-testid": "geist-icon", height: "16", strokeLinejoin: "round", viewBox: "0 0 16 16", width: "16", children: jsxRuntimeExports.jsx("path", { d: "M5.75 7L6.4209 7.33594L4.85254 10.4717C5.38789 10.771 5.75 11.3431 5.75 12V14C5.75 14.9665 4.96648 15.75 4 15.75H2C1.03352 15.75 0.25 14.9665 0.25 14V12C0.25 11.0335 1.03352 10.25 2 10.25H3.28711L5.0791 6.66504L5.75 7ZM14 10.25C14.9665 10.25 15.75 11.0335 15.75 12V14C15.75 14.9665 14.9665 15.75 14 15.75H12C11.1185 15.75 10.3909 15.098 10.2695 14.25H7V12.75H10.25V12C10.25 11.0335 11.0335 10.25 12 10.25H14ZM2 11.75C1.86192 11.75 1.75 11.8619 1.75 12V14C1.75 14.1381 1.86192 14.25 2 14.25H4C4.13808 14.25 4.25 14.1381 4.25 14V12C4.25 11.8619 4.13808 11.75 4 11.75H2ZM12 11.75C11.8619 11.75 11.75 11.8619 11.75 12V14C11.75 14.1381 11.8619 14.25 12 14.25H14C14.1381 14.25 14.25 14.1381 14.25 14V12C14.25 11.8619 14.1381 11.75 14 11.75H12ZM9 0.25C9.96649 0.25 10.75 1.03351 10.75 2V4C10.75 4.44642 10.5808 4.85197 10.3057 5.16113L12.2041 8.6416L10.8877 9.36035L8.91895 5.75H7C6.03351 5.75 5.25 4.96649 5.25 4V2C5.25 1.03351 6.03351 0.25 7 0.25H9ZM7 1.75C6.86193 1.75 6.75 1.86193 6.75 2V4C6.75 4.13807 6.86193 4.25 7 4.25H9C9.13807 4.25 9.25 4.13807 9.25 4V2C9.25 1.86193 9.13807 1.75 9 1.75H7Z", fill: "currentColor" }) });
@@ -584,29 +575,18 @@ const SleepIcon = () => {
584
575
  const StepForwardIcon = () => {
585
576
  return jsxRuntimeExports.jsx("svg", { "aria-hidden": "true", "data-testid": "geist-icon", height: "16", strokeLinejoin: "round", viewBox: "0 0 16 16", width: "16", children: jsxRuntimeExports.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.21969 12.5303L4.75002 13.0607L5.81068 12L5.28035 11.4697L1.81068 7.99999L5.28035 4.53032L5.81068 3.99999L4.75002 2.93933L4.21969 3.46966L0.39647 7.29289C0.00594562 7.68341 0.00594562 8.31658 0.39647 8.7071L4.21969 12.5303ZM11.7804 12.5303L11.25 13.0607L10.1894 12L10.7197 11.4697L14.1894 7.99999L10.7197 4.53032L10.1894 3.99999L11.25 2.93933L11.7804 3.46966L15.6036 7.29289C15.9941 7.68341 15.9941 8.31658 15.6036 8.7071L11.7804 12.5303Z", fill: "currentColor" }) });
586
577
  };
587
- const eventStyles = {
588
- run: { icon: WorkflowIcon, className: "text-blue-900", label: "Workflow" },
589
- step: { icon: StepForwardIcon, className: "text-green-900", label: "Step" },
590
- hook: { icon: WebhookIcon, className: "text-gray-900", label: "Hook" },
591
- sleep: { icon: SleepIcon, className: "text-gray-900", label: "Sleep" }
592
- };
593
- const defaultStyle = {
594
- icon: Circle,
595
- className: "text-gray-900",
596
- label: "Event"
578
+ const RESOURCE_ICONS = {
579
+ run: { icon: WorkflowIcon, label: "Workflow" },
580
+ step: { icon: StepForwardIcon, label: "Step" },
581
+ hook: { icon: WebhookIcon, label: "Hook" },
582
+ sleep: { icon: SleepIcon, label: "Sleep" }
597
583
  };
584
+ const DEFAULT_ICON = { icon: Circle, label: "Event" };
598
585
  const ROW_HEIGHT_CLASS = "h-10";
599
- function getEventStyle(resource, isErrored, isCancelled) {
600
- const style = eventStyles[resource] ?? defaultStyle;
601
- return {
602
- icon: style.icon,
603
- className: cn(isErrored ? "text-red-900" : isCancelled ? "text-gray-900" : style.className),
604
- label: style.label
605
- };
606
- }
607
586
  function ResourceIcon({ resource, isErrored = false, isCancelled = false }) {
608
- const { icon: Icon, className, label } = getEventStyle(resource, isErrored, isCancelled);
609
- return jsxRuntimeExports.jsxs(Tooltip, { delayDuration: 500, children: [jsxRuntimeExports.jsx(TooltipTrigger, { asChild: true, children: jsxRuntimeExports.jsx("span", { className: cn("shrink-0", className), children: jsxRuntimeExports.jsx(Icon, { className: "w-4 h-4" }) }) }), jsxRuntimeExports.jsx(TooltipContent, { side: "top", children: label })] });
587
+ const { icon: Icon, label } = RESOURCE_ICONS[resource] ?? DEFAULT_ICON;
588
+ const { icon } = getSpanColors(resource, isErrored ? "failed" : isCancelled ? "cancelled" : void 0);
589
+ return jsxRuntimeExports.jsxs(Tooltip, { delayDuration: TOOLTIP_DELAY_MS, children: [jsxRuntimeExports.jsx(TooltipTrigger, { asChild: true, children: jsxRuntimeExports.jsx("span", { className: cn("shrink-0", icon), children: jsxRuntimeExports.jsx(Icon, { className: "w-4 h-4" }) }) }), jsxRuntimeExports.jsx(TooltipContent, { side: "top", children: label })] });
610
590
  }
611
591
  const EventRow = ({ span, isSelected, isDimmed, onSelectSpan }) => {
612
592
  const durationMs = getSpanDurationMs(span);
@@ -749,24 +729,28 @@ function HeaderFigure({
749
729
  to,
750
730
  onUsagePage,
751
731
  label,
752
- title,
732
+ tooltip,
753
733
  testId,
754
734
  children
755
735
  }) {
756
736
  if (onUsagePage) {
757
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs", "data-testid": testId, title, children });
737
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "text-xs", "data-testid": testId, children });
758
738
  }
759
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
739
+ const link = /* @__PURE__ */ jsxRuntimeExports.jsx(
760
740
  Link,
761
741
  {
762
742
  to,
763
743
  className: "-my-1 inline-block min-w-6 rounded-sm py-1 text-left text-xs underline decoration-dotted underline-offset-2 text-gray-1000 hover:text-blue-900 focus-visible:outline-none focus-visible:shadow-[var(--ds-focus-ring)]",
764
744
  "aria-label": label,
765
- title,
766
745
  "data-testid": testId,
767
746
  children
768
747
  }
769
748
  );
749
+ if (!tooltip) return link;
750
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Tooltip, { children: [
751
+ /* @__PURE__ */ jsxRuntimeExports.jsx(TooltipTrigger, { asChild: true, children: link }),
752
+ /* @__PURE__ */ jsxRuntimeExports.jsx(TooltipContent, { children: tooltip })
753
+ ] });
770
754
  }
771
755
  function RunUsageHeaderStats({
772
756
  runId,
@@ -776,7 +760,7 @@ function RunUsageHeaderStats({
776
760
  onUsagePage = false
777
761
  }) {
778
762
  const failed = !usage && error !== null;
779
- const failedTitle = failed ? failedMessage(error) : void 0;
763
+ const failedTooltip = failed ? failedMessage(error) : void 0;
780
764
  const localNote = usage ? formatLocalDataWrittenNote(usage) : null;
781
765
  const to = runUsagePath(runId);
782
766
  const label = dataWrittenLabel(usage, isLocalBackend);
@@ -791,7 +775,7 @@ function RunUsageHeaderStats({
791
775
  to,
792
776
  onUsagePage,
793
777
  label: usage ? `${formatCount(usage.events, "event", "events")}, open usage` : "Events unavailable, open usage",
794
- title: failedTitle,
778
+ tooltip: failedTooltip,
795
779
  testId: "run-usage-events",
796
780
  children: events
797
781
  }
@@ -827,7 +811,7 @@ function RunUsageHeaderStats({
827
811
  to,
828
812
  onUsagePage,
829
813
  label: usage ? `${bytes} ${label.toLowerCase()}, open usage` : `${label} unavailable, open usage`,
830
- title: failedTitle,
814
+ tooltip: failedTooltip,
831
815
  testId: "run-usage-data-written",
832
816
  children: bytes
833
817
  }
@@ -1002,7 +986,6 @@ function UsageGroup({
1002
986
  "span",
1003
987
  {
1004
988
  className: "min-w-0 font-mono text-gray-1000",
1005
- title: child.label,
1006
989
  "data-testid": "run-usage-child-label",
1007
990
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(BreakableLabel, { label: child.label })
1008
991
  }
@@ -1,5 +1,5 @@
1
- import { c as createLucideIcon, a as cn } from "./mermaid-WFAXDIZX-CB__BxYb.js";
2
- import { j as jsxRuntimeExports } from "./index-wl5l5E8H.js";
1
+ import { c as createLucideIcon, a as cn } from "./mermaid-WFAXDIZX-CCgeQ0jh.js";
2
+ import { j as jsxRuntimeExports } from "./index-BUQuaV5X.js";
3
3
  function parseName(tag, name) {
4
4
  if (typeof name !== "string") {
5
5
  return null;
@@ -15,7 +15,7 @@ function parseName(tag, name) {
15
15
  moduleShortName = moduleSpecifier.split("/").at(-1) ?? "";
16
16
  } else {
17
17
  const withoutVersion = moduleSpecifier.split("@").slice(0, -1).join("@") || moduleSpecifier.split("@")[0];
18
- moduleShortName = (withoutVersion == null ? void 0 : withoutVersion.split("/").at(-1)) ?? "";
18
+ moduleShortName = withoutVersion?.split("/").at(-1) ?? "";
19
19
  }
20
20
  if (["default", "__default"].includes(shortName) && moduleShortName) {
21
21
  shortName = moduleShortName;
@@ -40,32 +40,14 @@ function formatParsedName(parsed, fallback) {
40
40
  return fallback;
41
41
  return `${parsed.shortName} (${parsed.moduleSpecifier})`;
42
42
  }
43
- /**
44
- * @license lucide-react v0.575.0 - ISC
45
- *
46
- * This source code is licensed under the ISC license.
47
- * See the LICENSE file in the root directory of this source tree.
48
- */
49
43
  const __iconNode$2 = [
50
44
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
51
45
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
52
46
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
53
47
  ];
54
48
  const CircleAlert = createLucideIcon("circle-alert", __iconNode$2);
55
- /**
56
- * @license lucide-react v0.575.0 - ISC
57
- *
58
- * This source code is licensed under the ISC license.
59
- * See the LICENSE file in the root directory of this source tree.
60
- */
61
49
  const __iconNode$1 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
62
50
  const Circle = createLucideIcon("circle", __iconNode$1);
63
- /**
64
- * @license lucide-react v0.575.0 - ISC
65
- *
66
- * This source code is licensed under the ISC license.
67
- * See the LICENSE file in the root directory of this source tree.
68
- */
69
51
  const __iconNode = [
70
52
  ["path", { d: "M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8", key: "1p45f6" }],
71
53
  ["path", { d: "M21 3v5h-5", key: "1q7to0" }]