@workflow/web 4.1.17 → 4.1.19

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-DCX1ZwZU.js").then((n) => n.a2)
9183
+ build: () => import("./server-build-CewQdZNd.js").then((n) => n.a2)
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 { Y as R, Z as Ks, _ as jsxRuntimeExports, $ as Qe } from "./server-build-DCX1ZwZU.js";
6
- import { r as reactExports } from "./app-Pzk6cskY.js";
5
+ import { Y as R, Z as Ks, _ as jsxRuntimeExports, $ as Qe } from "./server-build-CewQdZNd.js";
6
+ import { r as reactExports } from "./app-aFdZLlgg.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-DCX1ZwZU.js";
6
- import { B, D, a, E, b, c, d, e, L, M, P, Q, f, R, S, g, h, i, j, k, l, m, n, T, o, p, q, r, s, V, W, t, u, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X } from "./server-build-DCX1ZwZU.js";
7
- import "./app-Pzk6cskY.js";
5
+ import { H as HookSchema } from "./server-build-CewQdZNd.js";
6
+ import { B, D, a, E, b, c, d, e, L, M, P, Q, f, R, S, g, h, i, j, k, l, m, n, T, o, p, q, r, s, V, W, t, u, v, w, x, y, z, A, C, F, G, I, J, K, O, U, X } from "./server-build-CewQdZNd.js";
7
+ import "./app-aFdZLlgg.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-DCX1ZwZU.js";
6
- import "./app-Pzk6cskY.js";
5
+ import { N as Nt } from "./server-build-CewQdZNd.js";
6
+ import "./app-aFdZLlgg.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-Pzk6cskY.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-aFdZLlgg.js";
22
22
  import require$$0$5, { PassThrough } from "node:stream";
23
23
  import require$$0 from "util";
24
24
  import require$$1 from "crypto";
@@ -81832,7 +81832,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
81832
81832
  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 });
81833
81833
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
81834
81834
  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 }) });
81835
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-DdYG7JBx.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
81835
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL--Q6LYe80.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
81836
81836
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
81837
81837
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
81838
81838
  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 }) })] }) });
@@ -82154,7 +82154,7 @@ var Dt = ({ children: e, className: t, onDownload: o, onError: n }) => {
82154
82154
  }, []), 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] });
82155
82155
  };
82156
82156
  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 }) })] });
82157
- var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-Dys2uWXl.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
82157
+ var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-DrVDu1xg.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
82158
82158
  function ke(e, t) {
82159
82159
  if (!(e != null && e.position || t != null && t.position)) return true;
82160
82160
  if (!(e != null && e.position && (t != null && t.position))) return false;
@@ -92046,7 +92046,7 @@ createLogger("build", {
92046
92046
  debugNamespace: "workflow:build"
92047
92047
  });
92048
92048
  const MAX_QUEUE_DELIVERIES = 48;
92049
- const version$1 = "4.8.1";
92049
+ const version$1 = "4.8.3";
92050
92050
  const execFileAsync = promisify(execFile);
92051
92051
  function parsePort$1(value, radix = 10) {
92052
92052
  const port = parseInt(value, radix);
@@ -120316,7 +120316,7 @@ function createLocalWorld(args) {
120316
120316
  const basedir = mergedConfig.dataDir;
120317
120317
  const hooksDir = path$3.join(basedir, "hooks");
120318
120318
  const taggedHookFiles = await listTaggedFiles(hooksDir, tag);
120319
- const { HookSchema: HookSchema2 } = await import("./index-BS2bBoaA.js");
120319
+ const { HookSchema: HookSchema2 } = await import("./index-Bq9UALYe.js");
120320
120320
  await Promise.all(taggedHookFiles.map(async (hookFile) => {
120321
120321
  const hook = await readJSON(path$3.join(hooksDir, hookFile), HookSchema2);
120322
120322
  if (hook == null ? void 0 : hook.token) {
@@ -120717,8 +120717,8 @@ function requireGetVercelOidcToken() {
120717
120717
  }
120718
120718
  try {
120719
120719
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
120720
- await import("./token-util-CjU-0VfE.js").then((n) => n.t),
120721
- await import("./token--5hm9Tcb.js").then((n) => n.t)
120720
+ await import("./token-util-CEKv99vM.js").then((n) => n.t),
120721
+ await import("./token-BSJJ1ZPx.js").then((n) => n.t)
120722
120722
  ]);
120723
120723
  if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
120724
120724
  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-Pzk6cskY.js";
6
- import { a1 as requireTokenError, a0 as requireTokenUtil } from "./server-build-DCX1ZwZU.js";
5
+ import { g as getDefaultExportFromCjs } from "./app-aFdZLlgg.js";
6
+ import { a1 as requireTokenError, a0 as requireTokenUtil } from "./server-build-CewQdZNd.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-Pzk6cskY.js";
6
- import { a0 as requireTokenUtil } from "./server-build-DCX1ZwZU.js";
5
+ import { g as getDefaultExportFromCjs } from "./app-aFdZLlgg.js";
6
+ import { a0 as requireTokenUtil } from "./server-build-CewQdZNd.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-Pzk6cskY.js";
5
+ import { n } from "./assets/app-aFdZLlgg.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.17",
4
+ "version": "4.1.19",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [
@@ -71,12 +71,12 @@
71
71
  "vite": "^6",
72
72
  "vitest": "^3",
73
73
  "jsdom": "^26",
74
+ "@workflow/core": "4.8.3",
74
75
  "@workflow/errors": "4.2.1",
75
- "@workflow/core": "4.8.1",
76
76
  "@workflow/utils": "4.1.4",
77
- "@workflow/web-shared": "4.1.17",
78
- "@workflow/world-vercel": "4.6.2",
79
- "@workflow/world": "4.3.1"
77
+ "@workflow/web-shared": "4.1.19",
78
+ "@workflow/world": "4.3.1",
79
+ "@workflow/world-vercel": "4.6.2"
80
80
  },
81
81
  "scripts": {
82
82
  "dev": "react-router dev",