@workflow/web 4.1.30 → 4.1.31
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.
- package/build/server/assets/{app-juehGONX.js → app-BEfIuX74.js} +1 -1
- package/build/server/assets/{highlighted-body-B3W2YXNL-DgD9LFQJ.js → highlighted-body-B3W2YXNL-Dakg1QnL.js} +2 -2
- package/build/server/assets/{index-C1by_z-e.js → index-8fa2fX9b.js} +3 -3
- package/build/server/assets/{mermaid-3ZIDBTTL-DBfS-ZH8.js → mermaid-3ZIDBTTL-DeEkExYT.js} +2 -2
- package/build/server/assets/{server-build-CgjoLYPd.js → server-build-C5Cjji9M.js} +32 -24
- package/build/server/assets/{token-CP9u68ZL.js → token-YZJZTBbU.js} +2 -2
- package/build/server/assets/{token-util-BrBJCxub.js → token-util-CpJwMWso.js} +2 -2
- package/build/server/index.js +1 -1
- package/package.json +5 -5
|
@@ -9457,7 +9457,7 @@ const app = express();
|
|
|
9457
9457
|
app.all(
|
|
9458
9458
|
"/{*splat}",
|
|
9459
9459
|
createRequestHandler({
|
|
9460
|
-
build: () => import("./server-build-
|
|
9460
|
+
build: () => import("./server-build-C5Cjji9M.js").then((n) => n.a7)
|
|
9461
9461
|
})
|
|
9462
9462
|
);
|
|
9463
9463
|
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-
|
|
6
|
-
import { r as reactExports } from "./app-
|
|
5
|
+
import { a1 as R, a2 as Ks, a3 as jsxRuntimeExports, a4 as Qe } from "./server-build-C5Cjji9M.js";
|
|
6
|
+
import { r as reactExports } from "./app-BEfIuX74.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-
|
|
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-
|
|
7
|
-
import "./app-
|
|
5
|
+
import { H as HookSchema } from "./server-build-C5Cjji9M.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-C5Cjji9M.js";
|
|
7
|
+
import "./app-BEfIuX74.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-
|
|
6
|
-
import "./app-
|
|
5
|
+
import { N as Nt } from "./server-build-C5Cjji9M.js";
|
|
6
|
+
import "./app-BEfIuX74.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, d as commonjsGlobal, w as withComponentProps, e as withErrorBoundaryProps, M as Meta, L as Links, f as ScrollRestoration, h as Scripts, O as Outlet, u as useNavigate, i as useSearchParams, j as Link$1, k as useRouteError, l as isRouteErrorResponse, m as useLocation, n as useParams } from "./app-
|
|
21
|
+
import { a as requireReact, S as ServerRouter, c as createReadableStreamFromReadable, r as reactExports, g as getDefaultExportFromCjs, R as React, b as ReactExports, d as commonjsGlobal, w as withComponentProps, e as withErrorBoundaryProps, M as Meta, L as Links, f as ScrollRestoration, h as Scripts, O as Outlet, u as useNavigate, i as useSearchParams, j as Link$1, k as useRouteError, l as isRouteErrorResponse, m as useLocation, n as useParams } from "./app-BEfIuX74.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";
|
|
@@ -81975,7 +81975,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
|
|
|
81975
81975
|
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 });
|
|
81976
81976
|
var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
|
|
81977
81977
|
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 }) });
|
|
81978
|
-
var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-
|
|
81978
|
+
var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-Dakg1QnL.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
|
|
81979
81979
|
let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
|
|
81980
81980
|
`).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
|
|
81981
81981
|
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 }) })] }) });
|
|
@@ -82297,7 +82297,7 @@ var Dt = ({ children: e, className: t, onDownload: o, onError: n }) => {
|
|
|
82297
82297
|
}, []), 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] });
|
|
82298
82298
|
};
|
|
82299
82299
|
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 }) })] });
|
|
82300
|
-
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-
|
|
82300
|
+
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-DeEkExYT.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
|
|
82301
82301
|
function ke(e, t) {
|
|
82302
82302
|
if (!(e != null && e.position || t != null && t.position)) return true;
|
|
82303
82303
|
if (!(e != null && e.position && (t != null && t.position))) return false;
|
|
@@ -92206,7 +92206,7 @@ createLogger("build", {
|
|
|
92206
92206
|
debugNamespace: "workflow:build"
|
|
92207
92207
|
});
|
|
92208
92208
|
const MAX_QUEUE_DELIVERIES = 48;
|
|
92209
|
-
const version$1 = "4.8.
|
|
92209
|
+
const version$1 = "4.8.15";
|
|
92210
92210
|
const execFileAsync = promisify(execFile);
|
|
92211
92211
|
function parsePort$1(value, radix = 10) {
|
|
92212
92212
|
const port = parseInt(value, radix);
|
|
@@ -123610,7 +123610,7 @@ function createLocalWorld(args) {
|
|
|
123610
123610
|
const basedir = mergedConfig.dataDir;
|
|
123611
123611
|
const hooksDir = path$3.join(basedir, "hooks");
|
|
123612
123612
|
const taggedHookFiles = await listTaggedFiles(hooksDir, tag);
|
|
123613
|
-
const { HookSchema: HookSchema2 } = await import("./index-
|
|
123613
|
+
const { HookSchema: HookSchema2 } = await import("./index-8fa2fX9b.js");
|
|
123614
123614
|
await Promise.all(taggedHookFiles.map(async (hookFile) => {
|
|
123615
123615
|
const hook = await readJSON(path$3.join(hooksDir, hookFile), HookSchema2);
|
|
123616
123616
|
if (hook == null ? void 0 : hook.token) {
|
|
@@ -124137,8 +124137,8 @@ function requireGetVercelOidcToken() {
|
|
|
124137
124137
|
}
|
|
124138
124138
|
try {
|
|
124139
124139
|
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
|
|
124140
|
-
await import("./token-util-
|
|
124141
|
-
await import("./token-
|
|
124140
|
+
await import("./token-util-CpJwMWso.js").then((n) => n.t),
|
|
124141
|
+
await import("./token-YZJZTBbU.js").then((n) => n.t)
|
|
124142
124142
|
]);
|
|
124143
124143
|
if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
|
|
124144
124144
|
await refreshToken(options);
|
|
@@ -136834,7 +136834,7 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
136834
136834
|
getSpanKind$2("CONSUMER")
|
|
136835
136835
|
]);
|
|
136836
136836
|
return trace$2(`STEP ${stepName}`, { kind: spanKind, links: spanLinks }, async (span) => {
|
|
136837
|
-
var _a3, _b2, _c, _d, _e2, _f;
|
|
136837
|
+
var _a3, _b2, _c, _d, _e2, _f, _g;
|
|
136838
136838
|
span == null ? void 0 : span.setAttributes({
|
|
136839
136839
|
...StepName(stepName),
|
|
136840
136840
|
...StepAttempt(metadata.attempt),
|
|
@@ -136954,9 +136954,9 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
136954
136954
|
stepName,
|
|
136955
136955
|
message: stepFailErr.message
|
|
136956
136956
|
});
|
|
136957
|
-
|
|
136957
|
+
} else {
|
|
136958
|
+
throw stepFailErr;
|
|
136958
136959
|
}
|
|
136959
|
-
throw stepFailErr;
|
|
136960
136960
|
}
|
|
136961
136961
|
span == null ? void 0 : span.setAttributes({
|
|
136962
136962
|
...StepStatus("failed"),
|
|
@@ -137001,9 +137001,9 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
137001
137001
|
stepName,
|
|
137002
137002
|
message: err.message
|
|
137003
137003
|
});
|
|
137004
|
-
|
|
137004
|
+
} else {
|
|
137005
|
+
throw err;
|
|
137005
137006
|
}
|
|
137006
|
-
throw err;
|
|
137007
137007
|
}
|
|
137008
137008
|
span == null ? void 0 : span.setAttributes({
|
|
137009
137009
|
...StepStatus("failed"),
|
|
@@ -137036,10 +137036,9 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
137036
137036
|
}
|
|
137037
137037
|
}, { requestId });
|
|
137038
137038
|
} catch (failErr) {
|
|
137039
|
-
if (EntityConflictError.is(failErr)) {
|
|
137040
|
-
|
|
137039
|
+
if (!EntityConflictError.is(failErr)) {
|
|
137040
|
+
throw failErr;
|
|
137041
137041
|
}
|
|
137042
|
-
throw failErr;
|
|
137043
137042
|
}
|
|
137044
137043
|
await queueMessage(world, getWorkflowQueueName(workflowName, stepNamespace), {
|
|
137045
137044
|
runId: workflowRunId,
|
|
@@ -137156,9 +137155,9 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
137156
137155
|
stepName,
|
|
137157
137156
|
message: stepFailErr.message
|
|
137158
137157
|
});
|
|
137159
|
-
|
|
137158
|
+
} else {
|
|
137159
|
+
throw stepFailErr;
|
|
137160
137160
|
}
|
|
137161
|
-
throw stepFailErr;
|
|
137162
137161
|
}
|
|
137163
137162
|
span == null ? void 0 : span.setAttributes({
|
|
137164
137163
|
...StepStatus("failed"),
|
|
@@ -137200,9 +137199,9 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
137200
137199
|
stepName,
|
|
137201
137200
|
message: stepFailErr.message
|
|
137202
137201
|
});
|
|
137203
|
-
|
|
137202
|
+
} else {
|
|
137203
|
+
throw stepFailErr;
|
|
137204
137204
|
}
|
|
137205
|
-
throw stepFailErr;
|
|
137206
137205
|
}
|
|
137207
137206
|
span == null ? void 0 : span.setAttributes({
|
|
137208
137207
|
...StepStatus("failed"),
|
|
@@ -137316,12 +137315,21 @@ createQueueHandler(stepPrefix, async (message_, metadata) => {
|
|
|
137316
137315
|
serializeTraceCarrier()
|
|
137317
137316
|
]);
|
|
137318
137317
|
if (stepCompleted409) {
|
|
137319
|
-
|
|
137318
|
+
span == null ? void 0 : span.setAttributes({
|
|
137319
|
+
...StepSkipped(true),
|
|
137320
|
+
...StepSkipReason("completed")
|
|
137321
|
+
});
|
|
137322
|
+
(_g = span == null ? void 0 : span.addEvent) == null ? void 0 : _g.call(span, "step.skipped", {
|
|
137323
|
+
"skip.reason": "terminal_state",
|
|
137324
|
+
"step.name": stepName,
|
|
137325
|
+
"step.id": stepId
|
|
137326
|
+
});
|
|
137327
|
+
} else {
|
|
137328
|
+
span == null ? void 0 : span.setAttributes({
|
|
137329
|
+
...StepStatus("completed"),
|
|
137330
|
+
...StepResultType(typeof result)
|
|
137331
|
+
});
|
|
137320
137332
|
}
|
|
137321
|
-
span == null ? void 0 : span.setAttributes({
|
|
137322
|
-
...StepStatus("completed"),
|
|
137323
|
-
...StepResultType(typeof result)
|
|
137324
|
-
});
|
|
137325
137333
|
await queueMessage(world, getWorkflowQueueName(workflowName, stepNamespace), {
|
|
137326
137334
|
runId: workflowRunId,
|
|
137327
137335
|
traceCarrier,
|
|
@@ -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-
|
|
6
|
-
import { a6 as requireTokenError, a5 as requireTokenUtil } from "./server-build-
|
|
5
|
+
import { g as getDefaultExportFromCjs } from "./app-BEfIuX74.js";
|
|
6
|
+
import { a6 as requireTokenError, a5 as requireTokenUtil } from "./server-build-C5Cjji9M.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-
|
|
6
|
-
import { a5 as requireTokenUtil } from "./server-build-
|
|
5
|
+
import { g as getDefaultExportFromCjs } from "./app-BEfIuX74.js";
|
|
6
|
+
import { a5 as requireTokenUtil } from "./server-build-C5Cjji9M.js";
|
|
7
7
|
function _mergeNamespaces(n, m) {
|
|
8
8
|
for (var i = 0; i < m.length; i++) {
|
|
9
9
|
const e = m[i];
|
package/build/server/index.js
CHANGED
|
@@ -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 { o } from "./assets/app-
|
|
5
|
+
import { o } from "./assets/app-BEfIuX74.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.
|
|
4
|
+
"version": "4.1.31",
|
|
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.
|
|
74
|
+
"@workflow/core": "4.8.15",
|
|
75
75
|
"@workflow/errors": "4.2.2",
|
|
76
|
+
"@workflow/web-shared": "4.1.31",
|
|
77
|
+
"@workflow/world-vercel": "4.7.8",
|
|
76
78
|
"@workflow/utils": "4.1.4",
|
|
77
|
-
"@workflow/
|
|
78
|
-
"@workflow/world": "4.5.1",
|
|
79
|
-
"@workflow/world-vercel": "4.7.8"
|
|
79
|
+
"@workflow/world": "4.5.1"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
82
|
"dev": "react-router dev",
|