@workflow/web 5.0.0-beta.20 → 5.0.0-beta.21
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-1_2pZk38.js → app-BKhDtt1l.js} +1 -1
- package/build/server/assets/{highlighted-body-B3W2YXNL-D2HzMi-f.js → highlighted-body-B3W2YXNL-Bbohhhvu.js} +2 -2
- package/build/server/assets/{index-CVx-QxTu.js → index-CCVnYBh5.js} +3 -3
- package/build/server/assets/{mermaid-3ZIDBTTL-BhD6Cf7K.js → mermaid-3ZIDBTTL-GUOonG4P.js} +2 -2
- package/build/server/assets/{server-build-BSWGuT66.js → server-build-Bho0V9At.js} +11 -10
- package/build/server/assets/{token-C-jXTIrz.js → token-DWlFlsmX.js} +2 -2
- package/build/server/assets/{token-util-B-DxVT99.js → token-util-YVFsN8wA.js} +2 -2
- package/build/server/assets/{zstd-browser-decoder-DPcDXhvm.js → zstd-browser-decoder-Bmj-2oQU.js} +2 -2
- package/build/server/index.js +1 -1
- package/package.json +3 -3
|
@@ -9176,7 +9176,7 @@ const app = express();
|
|
|
9176
9176
|
app.all(
|
|
9177
9177
|
"/{*splat}",
|
|
9178
9178
|
createRequestHandler({
|
|
9179
|
-
build: () => import("./server-build-
|
|
9179
|
+
build: () => import("./server-build-Bho0V9At.js").then((n) => n.a5)
|
|
9180
9180
|
})
|
|
9181
9181
|
);
|
|
9182
9182
|
app.use(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as R, $ as Ks, a0 as jsxRuntimeExports, a1 as Qe } from "./server-build-
|
|
2
|
-
import { r as reactExports } from "./app-
|
|
1
|
+
import { _ as R, $ as Ks, a0 as jsxRuntimeExports, a1 as Qe } from "./server-build-Bho0V9At.js";
|
|
2
|
+
import { r as reactExports } from "./app-BKhDtt1l.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-
|
|
2
|
-
import { A, a, b, c, d, e, B, D, f, E, g, h, i, L, M, P, Q, j, R, k, S, l, m, n, o, p, q, r, s, t, V, W, u, v, w, x, y, z, C, F, G, I, J, K, O, T, U, X, Y, Z } from "./server-build-
|
|
3
|
-
import "./app-
|
|
1
|
+
import { H as HookSchema } from "./server-build-Bho0V9At.js";
|
|
2
|
+
import { A, a, b, c, d, e, B, D, f, E, g, h, i, L, M, P, Q, j, R, k, S, l, m, n, o, p, q, r, s, t, V, W, u, v, w, x, y, z, C, F, G, I, J, K, O, T, U, X, Y, Z } from "./server-build-Bho0V9At.js";
|
|
3
|
+
import "./app-BKhDtt1l.js";
|
|
4
4
|
import "stream";
|
|
5
5
|
import "express";
|
|
6
6
|
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, _c, _d, _listeners, _onabort, _reader, _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, _worldPromise, _Run_instances, lazyWorldPromise_get, _encryptionKeyPromise, _resilientStart, getEncryptionKey_fn, getEncryptionKeyLazily_fn, pollReturnValue_fn;
|
|
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-
|
|
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-BKhDtt1l.js";
|
|
18
18
|
import require$$0$4, { PassThrough } from "node:stream";
|
|
19
19
|
import require$$0 from "util";
|
|
20
20
|
import require$$1 from "crypto";
|
|
@@ -49883,7 +49883,7 @@ function replaceEncryptedAndExpiredWithMarkers(resource) {
|
|
|
49883
49883
|
async function hydrateResourceIOWithKey(resource, key) {
|
|
49884
49884
|
const { hydrateDataWithKey: hydrateDataWithKey2 } = await Promise.resolve().then(() => serializationFormat);
|
|
49885
49885
|
const { importKey: importKey2 } = await Promise.resolve().then(() => encryption);
|
|
49886
|
-
const { ensureZstdDecoderRegistered } = await import("./zstd-browser-decoder-
|
|
49886
|
+
const { ensureZstdDecoderRegistered } = await import("./zstd-browser-decoder-Bmj-2oQU.js");
|
|
49887
49887
|
ensureZstdDecoderRegistered();
|
|
49888
49888
|
const cryptoKey = await importKey2(key);
|
|
49889
49889
|
const revivers = getRevivers();
|
|
@@ -83236,7 +83236,7 @@ var tn = f("block", "before:content-[counter(line)]", "before:inline-block", "be
|
|
|
83236
83236
|
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 });
|
|
83237
83237
|
var Se = reactExports.createContext({ code: "" }), de = () => reactExports.useContext(Se);
|
|
83238
83238
|
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 }) });
|
|
83239
|
-
var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-
|
|
83239
|
+
var cn$1 = /\n+$/, dn = reactExports.lazy(() => import("./highlighted-body-B3W2YXNL-Bbohhhvu.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), rt = ({ code: e, language: t, className: o, children: n, isIncomplete: s2 = false, ...r2 }) => {
|
|
83240
83240
|
let i = reactExports.useMemo(() => e.replace(cn$1, ""), [e]), c = reactExports.useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: i.split(`
|
|
83241
83241
|
`).map((a2) => [{ content: a2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [i]);
|
|
83242
83242
|
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 }) })] }) });
|
|
@@ -83558,7 +83558,7 @@ var Dt = ({ children: e, className: t, onDownload: o, onError: n }) => {
|
|
|
83558
83558
|
}, []), 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] });
|
|
83559
83559
|
};
|
|
83560
83560
|
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 }) })] });
|
|
83561
|
-
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-
|
|
83561
|
+
var Jn = reactExports.lazy(() => import("./mermaid-3ZIDBTTL-GUOonG4P.js").then((e) => ({ default: e.Mermaid }))), Kn = /language-([^\s]+)/;
|
|
83562
83562
|
function ke(e, t) {
|
|
83563
83563
|
if (!(e != null && e.position || t != null && t.position)) return true;
|
|
83564
83564
|
if (!(e != null && e.position && (t != null && t.position))) return false;
|
|
@@ -91519,7 +91519,7 @@ const encryption = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
91519
91519
|
encrypt: encrypt$1,
|
|
91520
91520
|
importKey
|
|
91521
91521
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91522
|
-
const version$1 = "5.0.0-beta.
|
|
91522
|
+
const version$1 = "5.0.0-beta.21";
|
|
91523
91523
|
const WorldCacheKey = Symbol.for("@workflow/world//cache");
|
|
91524
91524
|
const WorldCachePromiseKey = Symbol.for("@workflow/world//cachePromise");
|
|
91525
91525
|
const GetWorldFnKey$1 = Symbol.for("@workflow/world//getWorldFn");
|
|
@@ -93595,7 +93595,7 @@ function reviveAbortController(value, ops, runId) {
|
|
|
93595
93595
|
}
|
|
93596
93596
|
})());
|
|
93597
93597
|
if (value.hookToken) {
|
|
93598
|
-
|
|
93598
|
+
const hookResume = (async () => {
|
|
93599
93599
|
try {
|
|
93600
93600
|
const { resumeHook: resumeHookFn } = await Promise.resolve().then(() => resumeHook$3);
|
|
93601
93601
|
await resumeHookFn(value.hookToken, {
|
|
@@ -93604,7 +93604,8 @@ function reviveAbortController(value, ops, runId) {
|
|
|
93604
93604
|
});
|
|
93605
93605
|
} catch {
|
|
93606
93606
|
}
|
|
93607
|
-
})()
|
|
93607
|
+
})();
|
|
93608
|
+
ctx.preCompletionOps.push(hookResume);
|
|
93608
93609
|
}
|
|
93609
93610
|
}
|
|
93610
93611
|
};
|
|
@@ -122453,7 +122454,7 @@ function createLocalWorld(args) {
|
|
|
122453
122454
|
const basedir = mergedConfig.dataDir;
|
|
122454
122455
|
const hooksDir = path$3.join(basedir, "hooks");
|
|
122455
122456
|
const taggedHookFiles = await listTaggedFiles(hooksDir, tag);
|
|
122456
|
-
const { HookSchema: HookSchema2 } = await import("./index-
|
|
122457
|
+
const { HookSchema: HookSchema2 } = await import("./index-CCVnYBh5.js");
|
|
122457
122458
|
await Promise.all(taggedHookFiles.map(async (hookFile) => {
|
|
122458
122459
|
const hook = await readJSON(path$3.join(hooksDir, hookFile), HookSchema2);
|
|
122459
122460
|
if (hook == null ? void 0 : hook.token) {
|
|
@@ -122606,8 +122607,8 @@ function requireGetVercelOidcToken() {
|
|
|
122606
122607
|
}
|
|
122607
122608
|
try {
|
|
122608
122609
|
const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
|
|
122609
|
-
await import("./token-util-
|
|
122610
|
-
await import("./token-
|
|
122610
|
+
await import("./token-util-YVFsN8wA.js").then((n) => n.t),
|
|
122611
|
+
await import("./token-DWlFlsmX.js").then((n) => n.t)
|
|
122611
122612
|
]);
|
|
122612
122613
|
if (!token || isExpired(getTokenPayload(token), options == null ? void 0 : options.expirationBufferMs)) {
|
|
122613
122614
|
await refreshToken(options);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./app-
|
|
2
|
-
import { a4 as requireTokenError, a3 as requireTokenUtil } from "./server-build-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./app-BKhDtt1l.js";
|
|
2
|
+
import { a4 as requireTokenError, a3 as requireTokenUtil } from "./server-build-Bho0V9At.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-
|
|
2
|
-
import { a3 as requireTokenUtil } from "./server-build-
|
|
1
|
+
import { g as getDefaultExportFromCjs } from "./app-BKhDtt1l.js";
|
|
2
|
+
import { a3 as requireTokenUtil } from "./server-build-Bho0V9At.js";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
package/build/server/assets/{zstd-browser-decoder-DPcDXhvm.js → zstd-browser-decoder-Bmj-2oQU.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a2 as registerZstdDecoder } from "./server-build-
|
|
2
|
-
import "./app-
|
|
1
|
+
import { a2 as registerZstdDecoder } from "./server-build-Bho0V9At.js";
|
|
2
|
+
import "./app-BKhDtt1l.js";
|
|
3
3
|
import "stream";
|
|
4
4
|
import "express";
|
|
5
5
|
import "node:stream";
|
package/build/server/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow/web",
|
|
3
3
|
"description": "Workflow Observability UI",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.21",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"files": [
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"typescript": "^5.9.3",
|
|
73
73
|
"vite": "^6",
|
|
74
74
|
"vitest": "^3",
|
|
75
|
-
"@workflow/core": "5.0.0-beta.
|
|
75
|
+
"@workflow/core": "5.0.0-beta.21",
|
|
76
76
|
"@workflow/errors": "5.0.0-beta.8",
|
|
77
77
|
"@workflow/utils": "5.0.0-beta.4",
|
|
78
|
-
"@workflow/web-shared": "5.0.0-beta.
|
|
78
|
+
"@workflow/web-shared": "5.0.0-beta.21",
|
|
79
79
|
"@workflow/world": "5.0.0-beta.12",
|
|
80
80
|
"@workflow/world-vercel": "5.0.0-beta.19"
|
|
81
81
|
},
|