@workflow/web 4.1.27 → 4.1.28

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.
@@ -9180,7 +9180,7 @@ const app = express();
9180
9180
  app.all(
9181
9181
  "/{*splat}",
9182
9182
  createRequestHandler({
9183
- build: () => import("./server-build-tMGygzbW.js").then((n) => n.a7)
9183
+ build: () => import("./server-build-D38evYCr.js").then((n) => n.a7)
9184
9184
  })
9185
9185
  );
9186
9186
  app.use(
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof globalThis.require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { a1 as R, a2 as Ks, a3 as jsxRuntimeExports, a4 as Qe } from "./server-build-tMGygzbW.js";
6
- import { r as reactExports } from "./app-uVbY_-qI.js";
5
+ import { a1 as R, a2 as Ks, a3 as jsxRuntimeExports, a4 as Qe } from "./server-build-D38evYCr.js";
6
+ import { r as reactExports } from "./app-BAmhYum_.js";
7
7
  import "node:stream";
8
8
  import "util";
9
9
  import "crypto";
@@ -2,9 +2,9 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof globalThis.require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { H as HookSchema } from "./server-build-tMGygzbW.js";
6
- import { B, D, a, E, b, c, d, e, L, M, f, g, P, Q, h, R, S, i, j, k, l, m, n, o, p, T, q, r, s, t, u, V, W, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X, Y, Z, _, $, a0 } from "./server-build-tMGygzbW.js";
7
- import "./app-uVbY_-qI.js";
5
+ import { H as HookSchema } from "./server-build-D38evYCr.js";
6
+ import { B, D, a, E, b, c, d, e, L, M, f, g, P, Q, h, R, S, i, j, k, l, m, n, o, p, T, q, r, s, t, u, V, W, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X, Y, Z, _, $, a0 } from "./server-build-D38evYCr.js";
7
+ import "./app-BAmhYum_.js";
8
8
  import "stream";
9
9
  import "express";
10
10
  import "node:stream";
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof globalThis.require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { N as Nt } from "./server-build-tMGygzbW.js";
6
- import "./app-uVbY_-qI.js";
5
+ import { N as Nt } from "./server-build-D38evYCr.js";
6
+ import "./app-BAmhYum_.js";
7
7
  import "stream";
8
8
  import "express";
9
9
  import "node:stream";
@@ -18,7 +18,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
18
18
  if (typeof globalThis.require === "undefined") {
19
19
  globalThis.require = __wkfCreateRequire(import.meta.url);
20
20
  }
21
- import { a as requireReact, S as ServerRouter, c as createReadableStreamFromReadable, r as reactExports, g as getDefaultExportFromCjs, R as React, b as ReactExports, w as withComponentProps, d as withErrorBoundaryProps, M as Meta, L as Links, e as ScrollRestoration, f as Scripts, O as Outlet, u as useNavigate, h as useSearchParams, i as Link$1, j as useRouteError, k as isRouteErrorResponse, l as useLocation, m as useParams } from "./app-uVbY_-qI.js";
21
+ import { a as requireReact, S as ServerRouter, c as createReadableStreamFromReadable, r as reactExports, g as getDefaultExportFromCjs, R as React, b as ReactExports, w as withComponentProps, d as withErrorBoundaryProps, M as Meta, L as Links, e as ScrollRestoration, f as Scripts, O as Outlet, u as useNavigate, h as useSearchParams, i as Link$1, j as useRouteError, k as isRouteErrorResponse, l as useLocation, m as useParams } from "./app-BAmhYum_.js";
22
22
  import require$$0$5, { PassThrough, Transform as Transform$1 } from "node:stream";
23
23
  import require$$0 from "util";
24
24
  import require$$1 from "crypto";
@@ -81973,7 +81973,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
81973
81973
  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 });
81974
81974
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
81975
81975
  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 }) });
81976
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-BAlPxI2y.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
81976
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-D2bE_zLh.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
81977
81977
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
81978
81978
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
81979
81979
  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 }) })] }) });
@@ -82295,7 +82295,7 @@ var Dt = ({ children: e, className: t, onDownload: o, onError: n }) => {
82295
82295
  }, []), jsxRuntimeExports.jsxs("div", { className: "relative", ref: i, children: [jsxRuntimeExports.jsx("button", { className: f("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50", t), disabled: c, onClick: () => r2(!s2), title: "Download table", type: "button", children: e != null ? e : jsxRuntimeExports.jsx(Z, { size: 14 }) }), s2 ? jsxRuntimeExports.jsxs("div", { className: "absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg", children: [jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("csv"), title: "Download table as CSV", type: "button", children: "CSV" }), jsxRuntimeExports.jsx("button", { className: "w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40", onClick: () => a2("markdown"), title: "Download table as Markdown", type: "button", children: "Markdown" })] }) : null] });
82296
82296
  };
82297
82297
  var Vt = ({ children: e, className: t, showControls: o, ...n }) => jsxRuntimeExports.jsxs("div", { className: "my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2", "data-streamdown": "table-wrapper", children: [o ? jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-end gap-1", children: [jsxRuntimeExports.jsx(Ht, {}), jsxRuntimeExports.jsx(Dt, {})] }) : null, jsxRuntimeExports.jsx("div", { className: "border-collapse overflow-x-auto overscroll-y-auto rounded-md border border-border bg-background", children: jsxRuntimeExports.jsx("table", { className: f("w-full divide-y divide-border", t), "data-streamdown": "table", ...n, children: e }) })] });
82298
- var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-Ccs470KM.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
82298
+ var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-Dn3iLq1N.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
82299
82299
  function ke(e, t) {
82300
82300
  if (!(e != null && e.position || t != null && t.position)) return true;
82301
82301
  if (!(e != null && e.position && (t != null && t.position))) return false;
@@ -92204,7 +92204,7 @@ createLogger("build", {
92204
92204
  debugNamespace: "workflow:build"
92205
92205
  });
92206
92206
  const MAX_QUEUE_DELIVERIES = 48;
92207
- const version$1 = "4.8.11";
92207
+ const version$1 = "4.8.12";
92208
92208
  const execFileAsync = promisify(execFile);
92209
92209
  function parsePort$1(value, radix = 10) {
92210
92210
  const port = parseInt(value, radix);
@@ -121961,7 +121961,7 @@ function createLocalWorld(args) {
121961
121961
  const basedir = mergedConfig.dataDir;
121962
121962
  const hooksDir = path$3.join(basedir, "hooks");
121963
121963
  const taggedHookFiles = await listTaggedFiles(hooksDir, tag);
121964
- const { HookSchema: HookSchema2 } = await import("./index-ClImPOu-.js");
121964
+ const { HookSchema: HookSchema2 } = await import("./index-Tv6_4f6I.js");
121965
121965
  await Promise.all(taggedHookFiles.map(async (hookFile) => {
121966
121966
  const hook = await readJSON(path$3.join(hooksDir, hookFile), HookSchema2);
121967
121967
  if (hook == null ? void 0 : hook.token) {
@@ -122487,8 +122487,8 @@ function requireGetVercelOidcToken() {
122487
122487
  }
122488
122488
  try {
122489
122489
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
122490
- await import("./token-util-CXI_HnNu.js").then((n) => n.t),
122491
- await import("./token-NxX4H9ze.js").then((n) => n.t)
122490
+ await import("./token-util-BzAlruRH.js").then((n) => n.t),
122491
+ await import("./token-lgwgo3i8.js").then((n) => n.t)
122492
122492
  ]);
122493
122493
  if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
122494
122494
  await refreshToken(options);
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof globalThis.require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { g as getDefaultExportFromCjs } from "./app-uVbY_-qI.js";
6
- import { a6 as requireTokenError, a5 as requireTokenUtil } from "./server-build-tMGygzbW.js";
5
+ import { g as getDefaultExportFromCjs } from "./app-BAmhYum_.js";
6
+ import { a6 as requireTokenError, a5 as requireTokenUtil } from "./server-build-D38evYCr.js";
7
7
  function _mergeNamespaces(n, m) {
8
8
  for (var i = 0; i < m.length; i++) {
9
9
  const e = m[i];
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof globalThis.require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { g as getDefaultExportFromCjs } from "./app-uVbY_-qI.js";
6
- import { a5 as requireTokenUtil } from "./server-build-tMGygzbW.js";
5
+ import { g as getDefaultExportFromCjs } from "./app-BAmhYum_.js";
6
+ import { a5 as requireTokenUtil } from "./server-build-D38evYCr.js";
7
7
  function _mergeNamespaces(n, m) {
8
8
  for (var i = 0; i < m.length; i++) {
9
9
  const e = m[i];
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
2
2
  if (typeof globalThis.require === "undefined") {
3
3
  globalThis.require = __wkfCreateRequire(import.meta.url);
4
4
  }
5
- import { n } from "./assets/app-uVbY_-qI.js";
5
+ import { n } from "./assets/app-BAmhYum_.js";
6
6
  import "express";
7
7
  import "stream";
8
8
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workflow/web",
3
3
  "description": "Workflow Observability UI",
4
- "version": "4.1.27",
4
+ "version": "4.1.28",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [
@@ -71,10 +71,10 @@
71
71
  "vite": "^6",
72
72
  "vitest": "^3",
73
73
  "jsdom": "^26",
74
- "@workflow/core": "4.8.11",
74
+ "@workflow/core": "4.8.12",
75
75
  "@workflow/errors": "4.2.2",
76
76
  "@workflow/utils": "4.1.4",
77
- "@workflow/web-shared": "4.1.27",
77
+ "@workflow/web-shared": "4.1.28",
78
78
  "@workflow/world": "4.5.0",
79
79
  "@workflow/world-vercel": "4.7.6"
80
80
  },