@workflow/web 5.0.0-beta.10 → 5.0.0-beta.11

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 (24) hide show
  1. package/build/client/assets/{encryption-B7z5c3Mu.js → encryption-g14N5vQl.js} +2 -2
  2. package/build/client/assets/{entry.client-DtOpLtMQ.js → entry.client-DOJDY_4b.js} +1 -1
  3. package/build/client/assets/{highlighted-body-B3W2YXNL-khW-t_B-.js → highlighted-body-B3W2YXNL-ByAVJfTI.js} +2 -2
  4. package/build/client/assets/{home-DKDz-tU-.js → home-D68s49Hb.js} +4 -14
  5. package/build/client/assets/{index-CIZByfnL.js → index-B6-SzLmT.js} +1 -1
  6. package/build/client/assets/{index-BsV8i_Jn.js → index-BXZSIDEp.js} +2 -2
  7. package/build/client/assets/{manifest-a33ce94a.js → manifest-f3e412ee.js} +1 -1
  8. package/build/client/assets/{mermaid-3ZIDBTTL-DPZjJwuX.js → mermaid-3ZIDBTTL-Cg06pRM9.js} +216 -114
  9. package/build/client/assets/{root-DJKbeamD.js → root-CtIBMIdD.js} +2 -2
  10. package/build/client/assets/root-D_G0HW97.css +1 -0
  11. package/build/client/assets/{run-detail-ekQSEj_z.js → run-detail-B1sCKjMc.js} +112 -50
  12. package/build/client/assets/server-build-DyZioyz3.css +1 -0
  13. package/build/client/assets/{workflow-graph-viewer-DjlqbXVx.js → workflow-graph-viewer-D4OsX_TE.js} +3 -3
  14. package/build/server/assets/{app-Cgrcb-fS.js → app-C26OkrrR.js} +1 -1
  15. package/build/server/assets/{highlighted-body-B3W2YXNL-BCA9A7WB.js → highlighted-body-B3W2YXNL-2D25w_37.js} +2 -2
  16. package/build/server/assets/{index-VP-TIWDS.js → index-C6jZ_bJo.js} +3 -3
  17. package/build/server/assets/{mermaid-3ZIDBTTL-CbLetKvR.js → mermaid-3ZIDBTTL-BDYN9XOo.js} +2 -2
  18. package/build/server/assets/{server-build-ClDPbfo3.js → server-build-D82EKMvZ.js} +346 -149
  19. package/build/server/assets/{token-BxPrGSQ5.js → token-Bjcyh98U.js} +2 -2
  20. package/build/server/assets/{token-util-Bmrakd6M.js → token-util-CdvUIKt6.js} +2 -2
  21. package/build/server/index.js +1 -1
  22. package/package.json +5 -5
  23. package/build/client/assets/root-BYtlAgHl.css +0 -1
  24. package/build/client/assets/server-build-ByHD2s6b.css +0 -1
@@ -1,5 +1,5 @@
1
- import { W as WorkflowRuntimeError, R as RuntimeDecryptionError } from "./index-CIZByfnL.js";
2
- import "./index-BsV8i_Jn.js";
1
+ import { W as WorkflowRuntimeError, R as RuntimeDecryptionError } from "./index-B6-SzLmT.js";
2
+ import "./index-BXZSIDEp.js";
3
3
  const NONCE_LENGTH = 12;
4
4
  const TAG_LENGTH = 128;
5
5
  const KEY_LENGTH = 32;
@@ -1,4 +1,4 @@
1
- import { a as requireReact, b as requireReactDom, m as matchRoutes, s as shouldHydrateRouteLoader, E as ErrorResponseImpl, N as NO_BODY_STATUS_CODES, R as ReactExports, i as isRouteErrorResponse, r as reactExports, c as invariant, u as useFogOFWarDiscovery, F as FrameworkContext, d as RemixErrorBoundary, e as RouterProvider, f as reactDomExports, h as decodeViaTurboStream, k as createClientRoutes, l as createRouter, n as getPatchRoutesOnNavigationFunction, o as getTurboStreamSingleFetchDataStrategy, p as createBrowserHistory, q as createClientRoutesWithHMRRevalidationOptOut, t as mapRouteProperties, v as hydrationRouteProperties, j as jsxRuntimeExports } from "./index-BsV8i_Jn.js";
1
+ import { a as requireReact, b as requireReactDom, m as matchRoutes, s as shouldHydrateRouteLoader, E as ErrorResponseImpl, N as NO_BODY_STATUS_CODES, R as ReactExports, i as isRouteErrorResponse, r as reactExports, c as invariant, u as useFogOFWarDiscovery, F as FrameworkContext, d as RemixErrorBoundary, e as RouterProvider, f as reactDomExports, h as decodeViaTurboStream, k as createClientRoutes, l as createRouter, n as getPatchRoutesOnNavigationFunction, o as getTurboStreamSingleFetchDataStrategy, p as createBrowserHistory, q as createClientRoutesWithHMRRevalidationOptOut, t as mapRouteProperties, v as hydrationRouteProperties, j as jsxRuntimeExports } from "./index-BXZSIDEp.js";
2
2
  var client = { exports: {} };
3
3
  var reactDomClient_production = {};
4
4
  var scheduler = { exports: {} };
@@ -1,5 +1,5 @@
1
- import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-DPZjJwuX.js";
2
- import { r as reactExports, j as jsxRuntimeExports } from "./index-BsV8i_Jn.js";
1
+ import { R, K as Ks, Q as Qe } from "./mermaid-3ZIDBTTL-Cg06pRM9.js";
2
+ import { r as reactExports, j as jsxRuntimeExports } from "./index-BXZSIDEp.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);
5
5
  return reactExports.useEffect(() => {
@@ -1,17 +1,7 @@
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-DjlqbXVx.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-DPZjJwuX.js";
4
- import "./index-CIZByfnL.js";
5
- var PORTAL_NAME$2 = "Portal";
6
- var Portal$2 = reactExports.forwardRef((props, forwardedRef) => {
7
- var _a;
8
- const { container: containerProp, ...portalProps } = props;
9
- const [mounted, setMounted] = reactExports.useState(false);
10
- useLayoutEffect2(() => setMounted(true), []);
11
- const container = containerProp || mounted && ((_a = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : _a.body);
12
- return container ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntimeExports.jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
13
- });
14
- Portal$2.displayName = PORTAL_NAME$2;
1
+ import { r as reactExports, j as jsxRuntimeExports, A as Link, f as reactDomExports, C as useSearchParams, B as useNavigate, D as useLocation, w as withComponentProps } from "./index-BXZSIDEp.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-D4OsX_TE.js";
3
+ import { c as createLucideIcon, g as useToast, d as cn, D as DEFAULT_PAGE_SIZE, h as fetchRuns, i as fetchHooks, j as getPaginationDisplay, T as Tooltip, a as TooltipTrigger, B as Button, b as TooltipContent, k as fetchEvents, l as useCallbackRef, m as useComposedRefs, P as Primitive, A as Anchor, n as composeEventHandlers, o as useLayoutEffect2, p as Portal$2, q as useId, s as createPopperScope, v as DismissableLayer, w as createContextScope, x as createSlot, C as Content$1, y as useControllableState, z as Root2$1, V as VISUALLY_HIDDEN_STYLES, E as Arrow, F as useComposedRefs$1, u as useServerConfig, t as toast, L as LoaderCircle, G as fetchRun, H as cva, I as Presence$1, J as createContext2, M as fetchWorkflowsManifest } from "./mermaid-3ZIDBTTL-Cg06pRM9.js";
4
+ import "./index-B6-SzLmT.js";
15
5
  /**
16
6
  * @license lucide-react v0.575.0 - ISC
17
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 { g as getDefaultExportFromCjs } from "./index-BsV8i_Jn.js";
4
+ import { g as getDefaultExportFromCjs } from "./index-BXZSIDEp.js";
5
5
  var ms$1;
6
6
  var hasRequiredMs;
7
7
  function requireMs() {
@@ -9391,10 +9391,10 @@ export {
9391
9391
  Link as A,
9392
9392
  useNavigate as B,
9393
9393
  useSearchParams as C,
9394
- ReactDOM as D,
9394
+ useLocation as D,
9395
9395
  ErrorResponseImpl as E,
9396
9396
  FrameworkContext as F,
9397
- useLocation as G,
9397
+ ReactDOM as G,
9398
9398
  useParams as H,
9399
9399
  React as I,
9400
9400
  Links as L,
@@ -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-DJKbeamD.js","imports":["/assets/index-BsV8i_Jn.js","/assets/mermaid-3ZIDBTTL-DPZjJwuX.js"],"css":["/assets/root-BYtlAgHl.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.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-DKDz-tU-.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-DjlqbXVx.js","/assets/mermaid-3ZIDBTTL-DPZjJwuX.js","/assets/index-CIZByfnL.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.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-ekQSEj_z.js","imports":["/assets/index-BsV8i_Jn.js","/assets/workflow-graph-viewer-DjlqbXVx.js","/assets/mermaid-3ZIDBTTL-DPZjJwuX.js","/assets/encryption-B7z5c3Mu.js","/assets/index-CIZByfnL.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.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-a33ce94a.js","version":"a33ce94a"};
1
+ window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-DOJDY_4b.js","imports":["/assets/index-BXZSIDEp.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":true,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasDefaultExport":true,"hasErrorBoundary":true,"module":"/assets/root-CtIBMIdD.js","imports":["/assets/index-BXZSIDEp.js","/assets/mermaid-3ZIDBTTL-Cg06pRM9.js"],"css":["/assets/root-D_G0HW97.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.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-D68s49Hb.js","imports":["/assets/index-BXZSIDEp.js","/assets/workflow-graph-viewer-D4OsX_TE.js","/assets/mermaid-3ZIDBTTL-Cg06pRM9.js","/assets/index-B6-SzLmT.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.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-B1sCKjMc.js","imports":["/assets/index-BXZSIDEp.js","/assets/workflow-graph-viewer-D4OsX_TE.js","/assets/mermaid-3ZIDBTTL-Cg06pRM9.js","/assets/encryption-g14N5vQl.js","/assets/index-B6-SzLmT.js"],"css":["/assets/workflow-graph-viewer-DnlNuQQH.css","/assets/mermaid-3ZIDBTTL-DKxHcEOp.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-f3e412ee.js","version":"f3e412ee"};
@@ -1,9 +1,9 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/encryption-B7z5c3Mu.js","assets/index-CIZByfnL.js","assets/index-BsV8i_Jn.js","assets/highlighted-body-B3W2YXNL-khW-t_B-.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/encryption-g14N5vQl.js","assets/index-B6-SzLmT.js","assets/index-BXZSIDEp.js","assets/highlighted-body-B3W2YXNL-ByAVJfTI.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
5
  var _a2;
6
- import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, I as React, R as ReactExports, D as ReactDOM, g as getDefaultExportFromCjs } from "./index-BsV8i_Jn.js";
6
+ import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, I as React, G as ReactDOM, R as ReactExports, g as getDefaultExportFromCjs } from "./index-BXZSIDEp.js";
7
7
  function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
8
8
  return function handleEvent(event) {
9
9
  originalEventHandler == null ? void 0 : originalEventHandler(event);
@@ -48,19 +48,19 @@ function useComposedRefs$1(...refs) {
48
48
  }
49
49
  function createContext2(rootComponentName, defaultContext) {
50
50
  const Context = reactExports.createContext(defaultContext);
51
- const Provider = (props) => {
51
+ const Provider2 = (props) => {
52
52
  const { children: children2, ...context } = props;
53
53
  const value = reactExports.useMemo(() => context, Object.values(context));
54
54
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Context.Provider, { value, children: children2 });
55
55
  };
56
- Provider.displayName = rootComponentName + "Provider";
56
+ Provider2.displayName = rootComponentName + "Provider";
57
57
  function useContext2(consumerName) {
58
58
  const context = reactExports.useContext(Context);
59
59
  if (context) return context;
60
60
  if (defaultContext !== void 0) return defaultContext;
61
61
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
62
62
  }
63
- return [Provider, useContext2];
63
+ return [Provider2, useContext2];
64
64
  }
65
65
  function createContextScope(scopeName, createContextScopeDeps = []) {
66
66
  let defaultContexts = [];
@@ -68,14 +68,14 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
68
68
  const BaseContext = reactExports.createContext(defaultContext);
69
69
  const index2 = defaultContexts.length;
70
70
  defaultContexts = [...defaultContexts, defaultContext];
71
- const Provider = (props) => {
71
+ const Provider2 = (props) => {
72
72
  var _a3;
73
73
  const { scope, children: children2, ...context } = props;
74
74
  const Context = ((_a3 = scope == null ? void 0 : scope[scopeName]) == null ? void 0 : _a3[index2]) || BaseContext;
75
75
  const value = reactExports.useMemo(() => context, Object.values(context));
76
76
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Context.Provider, { value, children: children2 });
77
77
  };
78
- Provider.displayName = rootComponentName + "Provider";
78
+ Provider2.displayName = rootComponentName + "Provider";
79
79
  function useContext2(consumerName, scope) {
80
80
  var _a3;
81
81
  const Context = ((_a3 = scope == null ? void 0 : scope[scopeName]) == null ? void 0 : _a3[index2]) || BaseContext;
@@ -84,7 +84,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
84
84
  if (defaultContext !== void 0) return defaultContext;
85
85
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
86
86
  }
87
- return [Provider, useContext2];
87
+ return [Provider2, useContext2];
88
88
  }
89
89
  const createScope = () => {
90
90
  const scopeContexts = defaultContexts.map((defaultContext) => {
@@ -2682,6 +2682,16 @@ var Root2 = Popper;
2682
2682
  var Anchor = PopperAnchor;
2683
2683
  var Content = PopperContent;
2684
2684
  var Arrow$1 = PopperArrow;
2685
+ var PORTAL_NAME$1 = "Portal";
2686
+ var Portal$1 = reactExports.forwardRef((props, forwardedRef) => {
2687
+ var _a3;
2688
+ const { container: containerProp, ...portalProps } = props;
2689
+ const [mounted, setMounted] = reactExports.useState(false);
2690
+ useLayoutEffect2(() => setMounted(true), []);
2691
+ const container = containerProp || mounted && ((_a3 = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : _a3.body);
2692
+ return container ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntimeExports.jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
2693
+ });
2694
+ Portal$1.displayName = PORTAL_NAME$1;
2685
2695
  function useStateMachine(initialState2, machine) {
2686
2696
  return reactExports.useReducer((state, event) => {
2687
2697
  const nextState = machine[state][event];
@@ -2907,7 +2917,7 @@ var PROVIDER_NAME = "TooltipProvider";
2907
2917
  var DEFAULT_DELAY_DURATION = 700;
2908
2918
  var TOOLTIP_OPEN = "tooltip.open";
2909
2919
  var [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);
2910
- var TooltipProvider = (props) => {
2920
+ var TooltipProvider$1 = (props) => {
2911
2921
  const {
2912
2922
  __scopeTooltip,
2913
2923
  delayDuration = DEFAULT_DELAY_DURATION,
@@ -2948,10 +2958,10 @@ var TooltipProvider = (props) => {
2948
2958
  }
2949
2959
  );
2950
2960
  };
2951
- TooltipProvider.displayName = PROVIDER_NAME;
2961
+ TooltipProvider$1.displayName = PROVIDER_NAME;
2952
2962
  var TOOLTIP_NAME = "Tooltip";
2953
2963
  var [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME);
2954
- var Tooltip$1 = (props) => {
2964
+ var Tooltip$2 = (props) => {
2955
2965
  const {
2956
2966
  __scopeTooltip,
2957
2967
  children: children2,
@@ -3041,9 +3051,9 @@ var Tooltip$1 = (props) => {
3041
3051
  }
3042
3052
  ) });
3043
3053
  };
3044
- Tooltip$1.displayName = TOOLTIP_NAME;
3054
+ Tooltip$2.displayName = TOOLTIP_NAME;
3045
3055
  var TRIGGER_NAME = "TooltipTrigger";
3046
- var TooltipTrigger$1 = reactExports.forwardRef(
3056
+ var TooltipTrigger$2 = reactExports.forwardRef(
3047
3057
  (props, forwardedRef) => {
3048
3058
  const { __scopeTooltip, ...triggerProps } = props;
3049
3059
  const context = useTooltipContext(TRIGGER_NAME, __scopeTooltip);
@@ -3091,13 +3101,19 @@ var TooltipTrigger$1 = reactExports.forwardRef(
3091
3101
  ) });
3092
3102
  }
3093
3103
  );
3094
- TooltipTrigger$1.displayName = TRIGGER_NAME;
3104
+ TooltipTrigger$2.displayName = TRIGGER_NAME;
3095
3105
  var PORTAL_NAME = "TooltipPortal";
3096
3106
  var [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, {
3097
3107
  forceMount: void 0
3098
3108
  });
3109
+ var TooltipPortal = (props) => {
3110
+ const { __scopeTooltip, forceMount, children: children2, container } = props;
3111
+ const context = useTooltipContext(PORTAL_NAME, __scopeTooltip);
3112
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(PortalProvider, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Portal$1, { asChild: true, container, children: children2 }) }) });
3113
+ };
3114
+ TooltipPortal.displayName = PORTAL_NAME;
3099
3115
  var CONTENT_NAME = "TooltipContent";
3100
- var TooltipContent$1 = reactExports.forwardRef(
3116
+ var TooltipContent$2 = reactExports.forwardRef(
3101
3117
  (props, forwardedRef) => {
3102
3118
  const portalContext = usePortalContext(CONTENT_NAME, props.__scopeTooltip);
3103
3119
  const { forceMount = portalContext.forceMount, side = "top", ...contentProps } = props;
@@ -3232,7 +3248,7 @@ var TooltipContentImpl = reactExports.forwardRef(
3232
3248
  );
3233
3249
  }
3234
3250
  );
3235
- TooltipContent$1.displayName = CONTENT_NAME;
3251
+ TooltipContent$2.displayName = CONTENT_NAME;
3236
3252
  var ARROW_NAME = "TooltipArrow";
3237
3253
  var TooltipArrow = reactExports.forwardRef(
3238
3254
  (props, forwardedRef) => {
@@ -3361,9 +3377,12 @@ function getHullPresorted(points) {
3361
3377
  return upperHull.concat(lowerHull);
3362
3378
  }
3363
3379
  }
3364
- var Root3 = Tooltip$1;
3365
- var Trigger = TooltipTrigger$1;
3366
- var Content2 = TooltipContent$1;
3380
+ var Provider = TooltipProvider$1;
3381
+ var Root3 = Tooltip$2;
3382
+ var Trigger = TooltipTrigger$2;
3383
+ var Portal = TooltipPortal;
3384
+ var Content2 = TooltipContent$2;
3385
+ var Arrow2 = TooltipArrow;
3367
3386
  function r(e) {
3368
3387
  var t, f2, n = "";
3369
3388
  if ("string" == typeof e || "number" == typeof e) n += e;
@@ -10359,7 +10378,7 @@ function hydrateData(value, revivers) {
10359
10378
  async function hydrateDataWithKey(value, revivers, key) {
10360
10379
  if (value instanceof Uint8Array && isEncryptedData(value) && key) {
10361
10380
  const { decrypt } = await __vitePreload(async () => {
10362
- const { decrypt: decrypt2 } = await import("./encryption-B7z5c3Mu.js");
10381
+ const { decrypt: decrypt2 } = await import("./encryption-g14N5vQl.js");
10363
10382
  return { decrypt: decrypt2 };
10364
10383
  }, true ? __vite__mapDeps([0,1,2]) : void 0);
10365
10384
  const { payload } = decodeFormatPrefix(value);
@@ -16048,7 +16067,7 @@ async function hydrateResourceIOWithKey(resource, key) {
16048
16067
  return { hydrateDataWithKey: hydrateDataWithKey3 };
16049
16068
  }, true ? void 0 : void 0);
16050
16069
  const { importKey } = await __vitePreload(async () => {
16051
- const { importKey: importKey2 } = await import("./encryption-B7z5c3Mu.js");
16070
+ const { importKey: importKey2 } = await import("./encryption-g14N5vQl.js");
16052
16071
  return { importKey: importKey2 };
16053
16072
  }, true ? __vite__mapDeps([0,1,2]) : void 0);
16054
16073
  const cryptoKey = await importKey(key);
@@ -43255,7 +43274,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
43255
43274
  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 });
43256
43275
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
43257
43276
  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 }) });
43258
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-khW-t_B-.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 }) => {
43277
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => __vitePreload(() => import("./highlighted-body-B3W2YXNL-ByAVJfTI.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 }) => {
43259
43278
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
43260
43279
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
43261
43280
  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 }) })] }) });
@@ -45291,6 +45310,29 @@ function StreamViewer({ streamId: _streamId, chunks, isLive, error, isLoading, o
45291
45310
  color: "var(--ds-gray-600)"
45292
45311
  }, children: isLive ? "Waiting for stream data..." : "Stream is empty" }) : jsxRuntimeExports.jsx(Yr, { ref: virtuosoRef, totalCount: chunks.length, overscan: 10, endReached: () => onScrollEnd == null ? void 0 : onScrollEnd(), itemContent: (index2) => jsxRuntimeExports.jsx("div", { style: { paddingBottom: 8 }, children: jsxRuntimeExports.jsx(ChunkRow, { chunk: chunks[index2], index: index2 }) }), style: { flex: 1, minHeight: 0 } }) })] });
45293
45312
  }
45313
+ const iconButtonVariants = cva([
45314
+ "m-0 inline-flex shrink-0 appearance-none items-center justify-center border-0 bg-transparent p-0 align-baseline font-inherit no-underline [background:none] [-webkit-appearance:none] [-webkit-tap-highlight-color:transparent]",
45315
+ "transition-colors duration-150 ease-in-out",
45316
+ "enabled:cursor-pointer disabled:cursor-not-allowed disabled:opacity-40",
45317
+ "focus-visible:outline focus-visible:outline-2 focus-visible:outline-[var(--ds-focus-color)] focus-visible:outline-offset-2"
45318
+ ], {
45319
+ variants: {
45320
+ variant: {
45321
+ tertiary: "text-gray-900 enabled:hover:bg-gray-alpha-200 enabled:hover:text-gray-1000 enabled:active:bg-gray-alpha-200 focus-visible:text-gray-1000",
45322
+ muted: "text-gray-900 enabled:hover:bg-gray-alpha-200 enabled:hover:text-gray-1000 enabled:active:bg-gray-alpha-200 focus-visible:text-gray-1000"
45323
+ },
45324
+ size: {
45325
+ tiny: "h-6 w-6 rounded-[4px] [&_svg]:h-4 [&_svg]:w-4",
45326
+ small: "h-8 w-8 rounded-md [&_svg]:h-4 [&_svg]:w-4"
45327
+ }
45328
+ },
45329
+ defaultVariants: {
45330
+ variant: "tertiary",
45331
+ size: "tiny"
45332
+ }
45333
+ });
45334
+ const IconButton = reactExports.forwardRef(({ className, variant, size: size2, type = "button", ...props }, ref) => jsxRuntimeExports.jsx("button", { ref, type, className: cn$4(iconButtonVariants({ variant, size: size2, className })), ...props }));
45335
+ IconButton.displayName = "IconButton";
45294
45336
  const ATTR_FILTER_REGEX = /(?:^|\s)(?<pair>(?<key>[\w.]+):(?<value>\S*))/g;
45295
45337
  function parseSpanSearchQuery(rawQuery) {
45296
45338
  var _a3, _b, _c;
@@ -45736,6 +45778,54 @@ function computeSpanSegments(span) {
45736
45778
  return [];
45737
45779
  }
45738
45780
  }
45781
+ const INITIAL_VISIBLE_ROWS = 60;
45782
+ function getScrollParent(el) {
45783
+ let node2 = (el == null ? void 0 : el.parentElement) ?? null;
45784
+ while (node2) {
45785
+ const overflowY = getComputedStyle(node2).overflowY;
45786
+ if (overflowY === "auto" || overflowY === "scroll")
45787
+ return node2;
45788
+ node2 = node2.parentElement;
45789
+ }
45790
+ return null;
45791
+ }
45792
+ function useRowWindow(ref, rowCount, rowHeight, overscan = 12) {
45793
+ const [range, setRange] = reactExports.useState(() => ({
45794
+ start: 0,
45795
+ end: Math.min(rowCount, INITIAL_VISIBLE_ROWS)
45796
+ }));
45797
+ reactExports.useEffect(() => {
45798
+ const self2 = ref.current;
45799
+ const el = getScrollParent(self2);
45800
+ if (!self2 || !el)
45801
+ return;
45802
+ let raf = 0;
45803
+ const measure = () => {
45804
+ raf = 0;
45805
+ const offset2 = self2.getBoundingClientRect().top - el.getBoundingClientRect().top + el.scrollTop;
45806
+ const top = el.scrollTop - offset2;
45807
+ const start = Math.max(0, Math.floor(top / rowHeight) - overscan);
45808
+ const end = Math.min(rowCount, Math.ceil((top + el.clientHeight) / rowHeight) + overscan);
45809
+ setRange((prev) => prev.start === start && prev.end === end ? prev : { start, end });
45810
+ };
45811
+ const onScroll = () => {
45812
+ if (!raf)
45813
+ raf = requestAnimationFrame(measure);
45814
+ };
45815
+ measure();
45816
+ el.addEventListener("scroll", onScroll, { passive: true });
45817
+ const ro2 = new ResizeObserver(measure);
45818
+ ro2.observe(el);
45819
+ return () => {
45820
+ el.removeEventListener("scroll", onScroll);
45821
+ ro2.disconnect();
45822
+ if (raf)
45823
+ cancelAnimationFrame(raf);
45824
+ };
45825
+ }, [ref, rowCount, rowHeight, overscan]);
45826
+ return range;
45827
+ }
45828
+ const ROW_HEIGHT_PX = 40;
45739
45829
  const TINY_BAR_BOX_SIZE_PX = 24;
45740
45830
  const TINY_BAR_WIDTH_PX = 4;
45741
45831
  const TIMELINE_PADDING_PX = 16;
@@ -45862,11 +45952,10 @@ const TimelineBar = reactExports.memo(function TimelineBar2({ span, viewStart, v
45862
45952
  }, [onSelect, span.spanId]);
45863
45953
  return jsxRuntimeExports.jsx("div", { role: "treeitem", "aria-selected": isSelected, "aria-expanded": isSelected, "aria-level": 1, className: cn$4("group/timeline-row h-10 relative flex items-center hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:hover:bg-gray-200 transition-opacity", isDimmed && "opacity-35"), onClick: handleClick, children: jsxRuntimeExports.jsx("div", { className: "absolute inset-y-0", style: TIMELINE_INSET_STYLE, children: jsxRuntimeExports.jsx("div", { className: "absolute top-1/2 h-6 -translate-y-1/2 rounded-[0.25rem]", style: getBarPositionStyle(geometry), children: geometry.mode.kind === "arrow" ? jsxRuntimeExports.jsx(BoundaryArrow, { direction: geometry.mode.direction }) : geometry.mode.kind === "tiny" ? jsxRuntimeExports.jsx("div", { className: "h-6 rounded-[0.25rem] border", style: { background: fallbackBg, borderColor: fallbackBorder } }) : segments.length > 0 ? jsxRuntimeExports.jsx(SegmentBar, { segments }) : jsxRuntimeExports.jsx(PlainBar, { bg: fallbackBg, border: fallbackBorder, label: showTotalLabel ? totalLabel : null }) }) }) });
45864
45954
  });
45865
- const DELTA_ROW_HEIGHT_PX = 40;
45866
45955
  const DELTA_CAP_HEIGHT_PX = 8;
45867
45956
  const DELTA_ROW_OFFSET_PX = 8;
45868
45957
  const DeltaIndicator = reactExports.memo(function DeltaIndicator2({ leftFrac, rightFrac, label, rowIndex }) {
45869
- const centerY = DELTA_ROW_OFFSET_PX + (rowIndex + 1) * DELTA_ROW_HEIGHT_PX;
45958
+ const centerY = DELTA_ROW_OFFSET_PX + (rowIndex + 1) * ROW_HEIGHT_PX;
45870
45959
  return jsxRuntimeExports.jsxs("div", { className: "absolute pointer-events-none", style: {
45871
45960
  left: `${leftFrac * 100}%`,
45872
45961
  width: `${(rightFrac - leftFrac) * 100}%`,
@@ -45882,6 +45971,7 @@ function Timeline({ spans, viewStart, viewEnd, markers: markers2, selectedId, se
45882
45971
  const [containerWidth, setContainerWidth] = reactExports.useState(0);
45883
45972
  const viewDuration = viewEnd - viewStart;
45884
45973
  const timelineWidth = Math.max(0, containerWidth - TIMELINE_PADDING_PX * 2);
45974
+ const { start, end } = useRowWindow(containerRef, spans.length, ROW_HEIGHT_PX);
45885
45975
  reactExports.useEffect(() => {
45886
45976
  const el = containerRef.current;
45887
45977
  if (!el)
@@ -45893,16 +45983,20 @@ function Timeline({ spans, viewStart, viewEnd, markers: markers2, selectedId, se
45893
45983
  return () => ro2.disconnect();
45894
45984
  }, []);
45895
45985
  const gaps = reactExports.useMemo(() => computeSpanGaps(spans, viewStart, viewEnd), [spans, viewStart, viewEnd]);
45896
- return jsxRuntimeExports.jsxs("div", { ref: containerRef, className: "relative h-full overflow-hidden", children: [jsxRuntimeExports.jsx("div", { "aria-hidden": true, className: "absolute inset-y-0 pointer-events-none", style: TIMELINE_INSET_STYLE, children: markers2.map((marker2) => (
45986
+ return jsxRuntimeExports.jsxs("div", { ref: containerRef, className: "relative h-full overflow-hidden", style: { minHeight: spans.length * ROW_HEIGHT_PX }, children: [jsxRuntimeExports.jsx("div", { "aria-hidden": true, className: "absolute inset-y-0 pointer-events-none", style: TIMELINE_INSET_STYLE, children: markers2.map((marker2) => (
45897
45987
  // Skip the "0s" origin marker since the left edge already implies it.
45898
45988
  Math.abs(marker2.value) > 1e-6 ? jsxRuntimeExports.jsx("div", { className: "absolute top-0 bottom-0 w-px bg-gray-alpha-300", style: { left: `${marker2.position * 100}%` } }, `${marker2.position}-${marker2.label}`) : null
45899
- )) }), hoverFraction != null && jsxRuntimeExports.jsx("div", { className: "absolute inset-y-0 pointer-events-none z-10", style: TIMELINE_INSET_STYLE, children: jsxRuntimeExports.jsx("div", { className: "absolute top-0 bottom-0 w-px bg-gray-alpha-500", style: { left: `${hoverFraction * 100}%` } }) }), spans.map((span) => jsxRuntimeExports.jsx(TimelineBar, { span, viewStart, viewDuration, containerWidth: timelineWidth, isSelected: selectedId === span.spanId, isDimmed: isSpanDimmedBySearch(span.spanId, searchResult), onSelect }, span.spanId)), altHeld && jsxRuntimeExports.jsx("div", { "aria-hidden": true, className: "absolute inset-y-0 pointer-events-none", style: TIMELINE_INSET_STYLE, children: gaps.map((gap) => jsxRuntimeExports.jsx(DeltaIndicator, { leftFrac: gap.leftFrac, rightFrac: gap.rightFrac, label: formatDuration(gap.gapMs, true), rowIndex: gap.rowIndex }, gap.rowIndex)) })] });
45989
+ )) }), hoverFraction != null && jsxRuntimeExports.jsx("div", { className: "absolute inset-y-0 pointer-events-none z-10", style: TIMELINE_INSET_STYLE, children: jsxRuntimeExports.jsx("div", { className: "absolute top-0 bottom-0 w-px bg-gray-alpha-500", style: { left: `${hoverFraction * 100}%` } }) }), jsxRuntimeExports.jsx("div", { style: { transform: `translateY(${start * ROW_HEIGHT_PX}px)` }, children: spans.slice(start, end).map((span) => jsxRuntimeExports.jsx(TimelineBar, { span, viewStart, viewDuration, containerWidth: timelineWidth, isSelected: selectedId === span.spanId, isDimmed: isSpanDimmedBySearch(span.spanId, searchResult), onSelect }, span.spanId)) }), altHeld && jsxRuntimeExports.jsx("div", { "aria-hidden": true, className: "absolute inset-y-0 pointer-events-none", style: TIMELINE_INSET_STYLE, children: gaps.map((gap) => jsxRuntimeExports.jsx(DeltaIndicator, { leftFrac: gap.leftFrac, rightFrac: gap.rightFrac, label: formatDuration(gap.gapMs, true), rowIndex: gap.rowIndex }, gap.rowIndex)) })] });
45900
45990
  }
45991
+ const TooltipProvider = Provider;
45992
+ const Tooltip$1 = Root3;
45993
+ const TooltipTrigger$1 = Trigger;
45994
+ const TooltipContent$1 = reactExports.forwardRef(({ className, sideOffset = 8, showArrow = true, children: children2, ...props }, ref) => jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsxs(Content2, { ref, sideOffset, className: cn$4("z-[99999] flex items-center gap-1 rounded-[10px] bg-gray-1000 px-2 py-1.5 !text-label-13 text-background-100 shadow-md select-none", className), ...props, children: [children2, showArrow ? jsxRuntimeExports.jsx(Arrow2, { width: 11, height: 5, className: "fill-gray-1000" }) : null] }) }));
45995
+ TooltipContent$1.displayName = Content2.displayName;
45901
45996
  const ActiveSpanContext = reactExports.createContext(null);
45902
45997
  ActiveSpanContext.displayName = "ActiveSpanContext";
45903
45998
  function ActiveSpanProvider({ spans, children: children2 }) {
45904
- var _a3;
45905
- const [activeSpanId, setActiveSpanId] = reactExports.useState(((_a3 = spans[0]) == null ? void 0 : _a3.spanId) ?? null);
45999
+ const [activeSpanId, setActiveSpanId] = reactExports.useState(null);
45906
46000
  reactExports.useEffect(() => {
45907
46001
  setActiveSpanId((currentSpanId) => {
45908
46002
  if (!currentSpanId) {
@@ -48450,111 +48544,119 @@ const mermaid3ZIDBTTL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
48450
48544
  Mermaid: Nt
48451
48545
  }, Symbol.toStringTag, { value: "Module" }));
48452
48546
  export {
48453
- Button$1 as $,
48547
+ _r as $,
48454
48548
  Anchor as A,
48455
48549
  Button as B,
48456
48550
  Content as C,
48457
48551
  DEFAULT_PAGE_SIZE as D,
48458
- useComposedRefs as E,
48459
- fetchRun as F,
48460
- cva as G,
48461
- Presence as H,
48462
- createContext2 as I,
48463
- fetchWorkflowsManifest as J,
48552
+ Arrow$1 as E,
48553
+ useComposedRefs as F,
48554
+ fetchRun as G,
48555
+ cva as H,
48556
+ Presence as I,
48557
+ createContext2 as J,
48464
48558
  Ks as K,
48465
48559
  LoaderCircle as L,
48466
- Spinner as M,
48467
- cn$4 as N,
48468
- Skeleton$1 as O,
48560
+ fetchWorkflowsManifest as M,
48561
+ Spinner as N,
48562
+ cn$4 as O,
48469
48563
  Primitive as P,
48470
48564
  Qe as Q,
48471
48565
  R,
48472
48566
  ServerConfigProvider as S,
48473
48567
  Tooltip as T,
48474
- DecryptClickContext as U,
48568
+ Skeleton$1 as U,
48475
48569
  VISUALLY_HIDDEN_STYLES as V,
48476
- isEncryptedMarker as W,
48477
- formatDuration as X,
48570
+ DecryptClickContext as W,
48571
+ isEncryptedMarker as X,
48478
48572
  Yr as Y,
48479
- DataInspector as Z,
48480
- _r as _,
48573
+ formatDuration as Z,
48574
+ DataInspector as _,
48481
48575
  TooltipTrigger as a,
48482
- Lock as a0,
48483
- RunClickContext as a1,
48484
- StreamClickContext as a2,
48485
- isExpiredMarker as a3,
48486
- isDoStreamStep as a4,
48487
- extractConversation as a5,
48488
- hasEncryptedFields as a6,
48489
- EVENT_DATA_REF_FIELDS as a7,
48490
- useSidebarDataOptional as a8,
48491
- clsx as a9,
48492
- getEncryptionKeyForRun as aA,
48493
- StreamViewer as aB,
48494
- composeRefs as aC,
48495
- useFloating as aD,
48496
- offset as aE,
48497
- shift as aF,
48498
- limitShift as aG,
48499
- flip as aH,
48500
- size as aI,
48501
- arrow as aJ,
48502
- hide as aK,
48503
- autoUpdate as aL,
48504
- cancelRun as aM,
48505
- reenqueueRun as aN,
48506
- wakeUpRun as aO,
48507
- resumeHook as aP,
48508
- recreateRun as aQ,
48509
- isSpanDimmedBySearch as aa,
48510
- getSpanDurationMs as ab,
48511
- getHighResInMs as ac,
48512
- ActiveSpanProvider as ad,
48513
- useActiveSpan as ae,
48514
- searchSpans as af,
48515
- computeRootBounds as ag,
48516
- computeTimeMarkers as ah,
48517
- TIMELINE_PADDING_PX as ai,
48518
- Timeline as aj,
48519
- TimelineHeader as ak,
48520
- SidebarDataProvider as al,
48521
- hydrateResourceIOWithKey as am,
48522
- hydrateResourceIO as an,
48523
- fetchHook as ao,
48524
- fetchStep as ap,
48525
- fetchStreams as aq,
48526
- Slot as ar,
48527
- Slottable as as,
48528
- buttonVariants as at,
48529
- fetchEvent as au,
48530
- fetchEventsByCorrelationId as av,
48531
- isEncryptedData as aw,
48532
- hydrateData as ax,
48533
- getWebRevivers as ay,
48534
- LIVE_UPDATE_INTERVAL_MS as az,
48576
+ Button$1 as a0,
48577
+ Lock as a1,
48578
+ RunClickContext as a2,
48579
+ StreamClickContext as a3,
48580
+ isExpiredMarker as a4,
48581
+ isDoStreamStep as a5,
48582
+ extractConversation as a6,
48583
+ hasEncryptedFields as a7,
48584
+ EVENT_DATA_REF_FIELDS as a8,
48585
+ useSidebarDataOptional as a9,
48586
+ Slottable as aA,
48587
+ buttonVariants as aB,
48588
+ fetchEvent as aC,
48589
+ fetchEventsByCorrelationId as aD,
48590
+ isEncryptedData as aE,
48591
+ hydrateData as aF,
48592
+ getWebRevivers as aG,
48593
+ LIVE_UPDATE_INTERVAL_MS as aH,
48594
+ getEncryptionKeyForRun as aI,
48595
+ StreamViewer as aJ,
48596
+ composeRefs as aK,
48597
+ useFloating as aL,
48598
+ offset as aM,
48599
+ shift as aN,
48600
+ limitShift as aO,
48601
+ flip as aP,
48602
+ size as aQ,
48603
+ arrow as aR,
48604
+ hide as aS,
48605
+ autoUpdate as aT,
48606
+ cancelRun as aU,
48607
+ reenqueueRun as aV,
48608
+ wakeUpRun as aW,
48609
+ resumeHook as aX,
48610
+ recreateRun as aY,
48611
+ clsx as aa,
48612
+ useRowWindow as ab,
48613
+ isSpanDimmedBySearch as ac,
48614
+ ROW_HEIGHT_PX as ad,
48615
+ getSpanDurationMs as ae,
48616
+ getHighResInMs as af,
48617
+ IconButton as ag,
48618
+ TooltipProvider as ah,
48619
+ ActiveSpanProvider as ai,
48620
+ useActiveSpan as aj,
48621
+ searchSpans as ak,
48622
+ computeRootBounds as al,
48623
+ computeTimeMarkers as am,
48624
+ TIMELINE_PADDING_PX as an,
48625
+ Timeline as ao,
48626
+ TimelineHeader as ap,
48627
+ Tooltip$1 as aq,
48628
+ TooltipTrigger$1 as ar,
48629
+ TooltipContent$1 as as,
48630
+ SidebarDataProvider as at,
48631
+ hydrateResourceIOWithKey as au,
48632
+ hydrateResourceIO as av,
48633
+ fetchHook as aw,
48634
+ fetchStep as ax,
48635
+ fetchStreams as ay,
48636
+ Slot as az,
48535
48637
  TooltipContent as b,
48536
48638
  createLucideIcon as c,
48537
48639
  cn as d,
48538
48640
  Toaster as e,
48539
- TooltipProvider as f,
48540
- useLayoutEffect2 as g,
48541
- useToast as h,
48542
- fetchRuns as i,
48543
- fetchHooks as j,
48544
- getPaginationDisplay as k,
48545
- fetchEvents as l,
48546
- useCallbackRef as m,
48547
- useComposedRefs$1 as n,
48548
- composeEventHandlers as o,
48549
- useId as p,
48550
- createPopperScope as q,
48641
+ TooltipProvider$1 as f,
48642
+ useToast as g,
48643
+ fetchRuns as h,
48644
+ fetchHooks as i,
48645
+ getPaginationDisplay as j,
48646
+ fetchEvents as k,
48647
+ useCallbackRef as l,
48648
+ useComposedRefs$1 as m,
48649
+ composeEventHandlers as n,
48650
+ useLayoutEffect2 as o,
48651
+ Portal$1 as p,
48652
+ useId as q,
48551
48653
  runHealthCheck as r,
48552
- DismissableLayer as s,
48654
+ createPopperScope as s,
48553
48655
  toast as t,
48554
48656
  useServerConfig as u,
48555
- createContextScope as v,
48556
- createSlot as w,
48557
- useControllableState as x,
48558
- Root2 as y,
48559
- Arrow$1 as z
48657
+ DismissableLayer as v,
48658
+ createContextScope as w,
48659
+ createSlot as x,
48660
+ useControllableState as y,
48661
+ Root2 as z
48560
48662
  };
@@ -1,5 +1,5 @@
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-DPZjJwuX.js";
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-BXZSIDEp.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-Cg06pRM9.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) {