@workflow/web 4.1.13 → 4.1.14

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.
@@ -9176,7 +9176,7 @@ const app = express();
9176
9176
  app.all(
9177
9177
  "/{*splat}",
9178
9178
  createRequestHandler({
9179
- build: () => import("./server-build-HnD5F5wE.js").then((n) => n.a2)
9179
+ build: () => import("./server-build-CAufQfpc.js").then((n) => n.a2)
9180
9180
  })
9181
9181
  );
9182
9182
  app.use(
@@ -1,5 +1,5 @@
1
- import { Y as R, Z as Ks, _ as jsxRuntimeExports, $ as Qe } from "./server-build-HnD5F5wE.js";
2
- import { r as reactExports } from "./app-tYx-sZr-.js";
1
+ import { Y as R, Z as Ks, _ as jsxRuntimeExports, $ as Qe } from "./server-build-CAufQfpc.js";
2
+ import { r as reactExports } from "./app-B2hObQJu.js";
3
3
  import "node:stream";
4
4
  import "util";
5
5
  import "crypto";
@@ -1,6 +1,6 @@
1
- import { H as HookSchema } from "./server-build-HnD5F5wE.js";
2
- 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-HnD5F5wE.js";
3
- import "./app-tYx-sZr-.js";
1
+ import { H as HookSchema } from "./server-build-CAufQfpc.js";
2
+ 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-CAufQfpc.js";
3
+ import "./app-B2hObQJu.js";
4
4
  import "stream";
5
5
  import "express";
6
6
  import "node:stream";
@@ -1,5 +1,5 @@
1
- import { N as Nt } from "./server-build-HnD5F5wE.js";
2
- import "./app-tYx-sZr-.js";
1
+ import { N as Nt } from "./server-build-CAufQfpc.js";
2
+ import "./app-B2hObQJu.js";
3
3
  import "stream";
4
4
  import "express";
5
5
  import "node:stream";
@@ -14,7 +14,7 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
14
14
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
15
15
  var __superGet = (cls, obj, key) => __reflectGet(__getProtoOf(cls), key, obj);
16
16
  var _a2, _b, _root, _hasMagic, _uflag, _parts, _parent, _parentIndex, _negs, _filledNegs, _options, _toString, _emptyExt, _AST_instances, fillNegs_fn, _AST_static, parseAST_fn, canAdoptWithSpace_fn, canAdopt_fn, canAdoptType_fn, adoptWithSpace_fn, adopt_fn, canUsurpType_fn, canUsurp_fn, usurp_fn, flatten_fn, partsToRegExp_fn, parseGlob_fn, _Minimatch_instances, matchGlobstar_fn, matchGlobStarBodySections_fn, matchOne_fn, _reader;
17
- 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-tYx-sZr-.js";
17
+ 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-B2hObQJu.js";
18
18
  import require$$0$5, { PassThrough } from "node:stream";
19
19
  import require$$0 from "util";
20
20
  import require$$1 from "crypto";
@@ -81828,7 +81828,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
81828
81828
  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 });
81829
81829
  var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
81830
81830
  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 }) });
81831
- var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-Dwr4WviH.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
81831
+ var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-c3Vtq09H.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
81832
81832
  let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
81833
81833
  `).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
81834
81834
  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 }) })] }) });
@@ -82150,7 +82150,7 @@ var Dt = ({ children: e, className: t, onDownload: o, onError: n }) => {
82150
82150
  }, []), 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] });
82151
82151
  };
82152
82152
  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 }) })] });
82153
- var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-UulyNxeP.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
82153
+ var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-D9FphmOZ.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
82154
82154
  function ke(e, t) {
82155
82155
  if (!(e != null && e.position || t != null && t.position)) return true;
82156
82156
  if (!(e != null && e.position && (t != null && t.position))) return false;
@@ -92033,7 +92033,7 @@ createLogger("build", {
92033
92033
  debugNamespace: "workflow:build"
92034
92034
  });
92035
92035
  const MAX_QUEUE_DELIVERIES = 48;
92036
- const version$1 = "4.6.1";
92036
+ const version$1 = "4.6.2";
92037
92037
  const execFileAsync = promisify(execFile);
92038
92038
  function parsePort$1(value, radix = 10) {
92039
92039
  const port = parseInt(value, radix);
@@ -120294,7 +120294,7 @@ function createLocalWorld(args) {
120294
120294
  const basedir = mergedConfig.dataDir;
120295
120295
  const hooksDir = path$3.join(basedir, "hooks");
120296
120296
  const taggedHookFiles = await listTaggedFiles(hooksDir, tag);
120297
- const { HookSchema: HookSchema2 } = await import("./index-C8PX4J1H.js");
120297
+ const { HookSchema: HookSchema2 } = await import("./index-ulh-Ko1q.js");
120298
120298
  await Promise.all(taggedHookFiles.map(async (hookFile) => {
120299
120299
  const hook = await readJSON(path$3.join(hooksDir, hookFile), HookSchema2);
120300
120300
  if (hook == null ? void 0 : hook.token) {
@@ -120447,8 +120447,8 @@ function requireGetVercelOidcToken() {
120447
120447
  }
120448
120448
  try {
120449
120449
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
120450
- await import("./token-util-pIL02oaT.js").then((n) => n.t),
120451
- await import("./token-CRSY7lEJ.js").then((n) => n.t)
120450
+ await import("./token-util-TwMjSZSF.js").then((n) => n.t),
120451
+ await import("./token-COKbCOS0.js").then((n) => n.t)
120452
120452
  ]);
120453
120453
  if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
120454
120454
  await refreshToken(options);
@@ -1,5 +1,5 @@
1
- import { g as getDefaultExportFromCjs } from "./app-tYx-sZr-.js";
2
- import { a1 as requireTokenError, a0 as requireTokenUtil } from "./server-build-HnD5F5wE.js";
1
+ import { g as getDefaultExportFromCjs } from "./app-B2hObQJu.js";
2
+ import { a1 as requireTokenError, a0 as requireTokenUtil } from "./server-build-CAufQfpc.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,5 +1,5 @@
1
- import { g as getDefaultExportFromCjs } from "./app-tYx-sZr-.js";
2
- import { a0 as requireTokenUtil } from "./server-build-HnD5F5wE.js";
1
+ import { g as getDefaultExportFromCjs } from "./app-B2hObQJu.js";
2
+ import { a0 as requireTokenUtil } from "./server-build-CAufQfpc.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  for (var i = 0; i < m.length; i++) {
5
5
  const e = m[i];
@@ -1,4 +1,4 @@
1
- import { n } from "./assets/app-tYx-sZr-.js";
1
+ import { n } from "./assets/app-B2hObQJu.js";
2
2
  import "express";
3
3
  import "stream";
4
4
  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.13",
4
+ "version": "4.1.14",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [
@@ -71,11 +71,11 @@
71
71
  "vite": "^6",
72
72
  "vitest": "^3",
73
73
  "jsdom": "^26",
74
+ "@workflow/core": "4.6.2",
74
75
  "@workflow/errors": "4.1.5",
75
- "@workflow/web-shared": "4.1.13",
76
76
  "@workflow/utils": "4.1.4",
77
+ "@workflow/web-shared": "4.1.14",
77
78
  "@workflow/world": "4.2.1",
78
- "@workflow/core": "4.6.1",
79
79
  "@workflow/world-vercel": "4.5.1"
80
80
  },
81
81
  "scripts": {