@workflow/web 5.0.0-beta.46 → 5.0.0-beta.47
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/client/assets/{arrow-up-right-UOc2WcaC.js → arrow-up-right-C52N96YH.js} +1 -1
- package/build/client/assets/{highlighted-body-B3W2YXNL-D78gcP7S.js → highlighted-body-B3W2YXNL-BzCKp954.js} +1 -1
- package/build/client/assets/{home-DYB1uz9w.js → home-CXFjRmpa.js} +3 -3
- package/build/client/assets/{loader-circle-oscnpy3L.js → loader-circle-BQzzSKVU.js} +1 -1
- package/build/client/assets/{manifest-a701502a.js → manifest-9ff1658d.js} +1 -1
- package/build/client/assets/{mermaid-3ZIDBTTL-BKGEyEYb.js → mermaid-3ZIDBTTL-BrUzeGHN.js} +212 -120
- package/build/client/assets/{root-Zvnb602n.js → root-DBp4o4Ap.js} +3 -3
- package/build/client/assets/{run-detail-CedyZW9h.js → run-detail-7tPGLWpY.js} +58 -37
- package/build/client/assets/{workflow-graph-viewer-Du0ztkb8.js → workflow-graph-viewer-BI72rVK-.js} +1 -1
- package/build/client/assets/{zstd-browser-decoder-DafWVuEG.js → zstd-browser-decoder-C5OUdy0l.js} +1 -1
- package/build/server/assets/{app-BpmEMaiu.js → app-z0qVD1ZU.js} +681 -371
- package/build/server/assets/{highlighted-body-B3W2YXNL-C6ES2Pzm.js → highlighted-body-B3W2YXNL-BRzynHFv.js} +1 -1
- package/build/server/assets/{index-BtQfiVUN.js → index-DDMGTwh_.js} +70 -67
- package/build/server/assets/{index-QOlZC9D-.js → index-jQkBA81b.js} +1 -1
- package/build/server/assets/{mermaid-3ZIDBTTL-X6IEJ8gj.js → mermaid-3ZIDBTTL-CNWRBcN0.js} +1 -1
- package/build/server/assets/{token-CrxXUTBD.js → token-BSEhy2T4.js} +1 -1
- package/build/server/assets/{token-util-DuToe55u.js → token-util-D_gzpVW2.js} +1 -1
- package/build/server/assets/{websocket-server-CTnzV_B7.js → websocket-server-CDTVQU5X.js} +1 -1
- package/build/server/assets/{wrapper-Bjff6YRz.js → wrapper-BxieYZVg.js} +3 -3
- package/build/server/assets/{ws-transport-ByYax88V.js → ws-transport-DbDOLT7f.js} +5 -5
- package/build/server/assets/{zstd-browser-decoder-Bfk1d5vU.js → zstd-browser-decoder-CtzWlfs5.js} +1 -1
- package/build/server/index.js +3 -3
- package/package.json +8 -8
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
5
|
+
import { aZ as reactExports, a_ as R, a$ as Ks, b0 as jsxRuntimeExports, b1 as Qe } from "./app-z0qVD1ZU.js";
|
|
6
6
|
import "node:stream";
|
|
7
7
|
import "stream";
|
|
8
8
|
import "util";
|
|
@@ -2,8 +2,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import { H as HookSchema } from "./app-
|
|
6
|
-
import { A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, B, o, p, q, r, C, D, s, E, t, u, v, F, w, x, y, z, G, I, J, L, M, K, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV } from "./app-
|
|
5
|
+
import { H as HookSchema } from "./app-z0qVD1ZU.js";
|
|
6
|
+
import { A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, B, o, p, q, r, C, D, s, E, t, u, v, F, w, x, y, z, G, I, J, L, M, K, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY } from "./app-z0qVD1ZU.js";
|
|
7
7
|
import "node:stream";
|
|
8
8
|
import "stream";
|
|
9
9
|
import "util";
|
|
@@ -95,69 +95,72 @@ export {
|
|
|
95
95
|
S as QueuePrefix,
|
|
96
96
|
T as RESERVED_ATTRIBUTE_KEY_PREFIX,
|
|
97
97
|
U as ROOT_RUN_ID_ATTRIBUTE,
|
|
98
|
-
V as
|
|
99
|
-
W as
|
|
100
|
-
X as
|
|
101
|
-
Y as
|
|
102
|
-
Z as
|
|
103
|
-
_ as
|
|
104
|
-
$ as
|
|
105
|
-
a0 as
|
|
106
|
-
a1 as
|
|
107
|
-
a2 as
|
|
108
|
-
a3 as
|
|
109
|
-
a4 as
|
|
110
|
-
a5 as
|
|
111
|
-
a6 as
|
|
112
|
-
a7 as
|
|
113
|
-
a8 as
|
|
114
|
-
a9 as
|
|
115
|
-
aa as
|
|
116
|
-
ab as
|
|
117
|
-
ac as
|
|
118
|
-
ad as
|
|
119
|
-
ae as
|
|
120
|
-
af as
|
|
121
|
-
ag as
|
|
122
|
-
ah as
|
|
123
|
-
ai as
|
|
124
|
-
aj as
|
|
125
|
-
ak as
|
|
126
|
-
al as
|
|
127
|
-
am as
|
|
128
|
-
an as
|
|
129
|
-
ao as
|
|
130
|
-
ap as
|
|
131
|
-
aq as
|
|
132
|
-
ar as
|
|
133
|
-
as as
|
|
134
|
-
at as
|
|
135
|
-
au as
|
|
136
|
-
av as
|
|
137
|
-
aw as
|
|
138
|
-
ax as
|
|
139
|
-
ay as
|
|
140
|
-
az as
|
|
141
|
-
aA as
|
|
142
|
-
aB as
|
|
143
|
-
aC as
|
|
144
|
-
aD as
|
|
145
|
-
aE as
|
|
146
|
-
aF as
|
|
147
|
-
aG as
|
|
148
|
-
aH as
|
|
149
|
-
aI as
|
|
150
|
-
aJ as
|
|
151
|
-
aK as
|
|
152
|
-
aL as
|
|
153
|
-
aM as
|
|
154
|
-
aN as
|
|
155
|
-
aO as
|
|
156
|
-
aP as
|
|
157
|
-
aQ as
|
|
158
|
-
aR as
|
|
159
|
-
aS as
|
|
160
|
-
aT as
|
|
161
|
-
aU as
|
|
162
|
-
aV as
|
|
98
|
+
V as RUN_ENTITY_KEY,
|
|
99
|
+
W as RunInputSchema,
|
|
100
|
+
X as SEALED_LOG_ENV_VAR,
|
|
101
|
+
Y as SPEC_VERSION_CURRENT,
|
|
102
|
+
Z as SPEC_VERSION_LEGACY,
|
|
103
|
+
_ as SPEC_VERSION_MAX_SUPPORTED,
|
|
104
|
+
$ as SPEC_VERSION_SUPPORTS_ATTRIBUTES,
|
|
105
|
+
a0 as SPEC_VERSION_SUPPORTS_CBOR_QUEUE_TRANSPORT,
|
|
106
|
+
a1 as SPEC_VERSION_SUPPORTS_COMPRESSION,
|
|
107
|
+
a2 as SPEC_VERSION_SUPPORTS_SEALED_LOG,
|
|
108
|
+
a3 as SPEC_VERSION_SUPPORTS_SLOT_IDENTITY,
|
|
109
|
+
a4 as STEP_EVENT_TYPES,
|
|
110
|
+
a5 as SerializedDataSchema,
|
|
111
|
+
a6 as StepSchema,
|
|
112
|
+
a7 as StepStatusSchema,
|
|
113
|
+
a8 as StructuredErrorSchema,
|
|
114
|
+
a9 as TERMINAL_EVENT_CLASSES,
|
|
115
|
+
aa as TERMINAL_RUN_EVENT_TYPES,
|
|
116
|
+
ab as TERMINAL_STEP_EVENT_TYPES,
|
|
117
|
+
ac as TERMINAL_STEP_STATUSES,
|
|
118
|
+
ad as TERMINAL_WORKFLOW_RUN_STATUSES,
|
|
119
|
+
ae as TerminalRunEventTypeSchema,
|
|
120
|
+
af as TerminalStepStatusSchema,
|
|
121
|
+
ag as TerminalWorkflowRunStatusSchema,
|
|
122
|
+
ah as ValidQueueName,
|
|
123
|
+
ai as WAIT_EVENT_TYPES,
|
|
124
|
+
aj as WaitSchema,
|
|
125
|
+
ak as WaitStatusSchema,
|
|
126
|
+
al as WorkflowInvokePayloadSchema,
|
|
127
|
+
am as WorkflowRunBaseSchema,
|
|
128
|
+
an as WorkflowRunSchema,
|
|
129
|
+
ao as WorkflowRunStatusSchema,
|
|
130
|
+
ap as applyAttributeChanges,
|
|
131
|
+
aq as classifyEntityEvent,
|
|
132
|
+
ar as entityEventClass,
|
|
133
|
+
as as envFlag,
|
|
134
|
+
at as envNumber,
|
|
135
|
+
au as eventIdToSlot,
|
|
136
|
+
av as getEventDataPayloadField,
|
|
137
|
+
aw as getEventDataRefFields,
|
|
138
|
+
ax as getMaxEventsPerRun,
|
|
139
|
+
ay as getQueueTopicPrefix,
|
|
140
|
+
az as isChildEntityCreationEvent,
|
|
141
|
+
aA as isChildEntityCreationEventType,
|
|
142
|
+
aB as isHookEventRequiringExistence,
|
|
143
|
+
aC as isHookLifecycleEventType,
|
|
144
|
+
aD as isLegacySpecVersion,
|
|
145
|
+
aE as isNodeHttpEnabled,
|
|
146
|
+
aF as isSealedNoopEvent,
|
|
147
|
+
aG as isSlotBody,
|
|
148
|
+
aH as isSlotEventId,
|
|
149
|
+
aI as isStepEventType,
|
|
150
|
+
aJ as isTerminalRunEventType,
|
|
151
|
+
aK as isTerminalStepEventType,
|
|
152
|
+
aL as isTerminalStepStatus,
|
|
153
|
+
aM as isTerminalWorkflowRunStatus,
|
|
154
|
+
aN as isWaitEventType,
|
|
155
|
+
aO as mintedSpecVersion,
|
|
156
|
+
aP as parseQueueName,
|
|
157
|
+
aQ as reenqueueActiveRuns,
|
|
158
|
+
aR as requiresNewerWorld,
|
|
159
|
+
aS as resolveQueueNamespace,
|
|
160
|
+
aT as slotToEventId,
|
|
161
|
+
aU as stripEventDataRefs,
|
|
162
|
+
aV as ulidToDate,
|
|
163
|
+
aW as validateAttributeChanges,
|
|
164
|
+
aX as validateUlidTimestamp,
|
|
165
|
+
aY as workflowRunIdSchema
|
|
163
166
|
};
|
|
@@ -1137,7 +1137,7 @@ function requireWebsocket() {
|
|
|
1137
1137
|
const DEFAULT_MAX_PAYLOAD = 256 * 1024;
|
|
1138
1138
|
async function loadWebSocketServer() {
|
|
1139
1139
|
try {
|
|
1140
|
-
const ws = await import("./wrapper-
|
|
1140
|
+
const ws = await import("./wrapper-BxieYZVg.js");
|
|
1141
1141
|
return ws.WebSocketServer;
|
|
1142
1142
|
} catch {
|
|
1143
1143
|
throw new Error(
|
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import { N as Nt } from "./app-
|
|
5
|
+
import { N as Nt } from "./app-z0qVD1ZU.js";
|
|
6
6
|
import "node:stream";
|
|
7
7
|
import "stream";
|
|
8
8
|
import "util";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
5
|
+
import { bl as requireTokenError, bk as requireTokenUtil, bj as getDefaultExportFromCjs } from "./app-z0qVD1ZU.js";
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
for (var i = 0; i < m.length; i++) {
|
|
8
8
|
const e = m[i];
|
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
5
|
+
import { bj as getDefaultExportFromCjs, bk as requireTokenUtil } from "./app-z0qVD1ZU.js";
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
for (var i = 0; i < m.length; i++) {
|
|
8
8
|
const e = m[i];
|
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
5
|
+
import { bm as getAugmentedNamespace, bj as getDefaultExportFromCjs } from "./app-z0qVD1ZU.js";
|
|
6
6
|
import require$$0$2 from "stream";
|
|
7
7
|
import require$$0$3 from "events";
|
|
8
8
|
import require$$2$1 from "http";
|
|
@@ -2,9 +2,9 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import { W as WebSocket } from "./websocket-server-
|
|
6
|
-
import { p, r, s, w, a, e, b } from "./websocket-server-
|
|
7
|
-
import "./app-
|
|
5
|
+
import { W as WebSocket } from "./websocket-server-CDTVQU5X.js";
|
|
6
|
+
import { p, r, s, w, a, e, b } from "./websocket-server-CDTVQU5X.js";
|
|
7
|
+
import "./app-z0qVD1ZU.js";
|
|
8
8
|
import "node:stream";
|
|
9
9
|
import "stream";
|
|
10
10
|
import "util";
|
|
@@ -5,8 +5,8 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
5
5
|
if (typeof require === "undefined") {
|
|
6
6
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
7
7
|
}
|
|
8
|
-
import {
|
|
9
|
-
import { W as WebSocket } from "./websocket-server-
|
|
8
|
+
import { b3 as isWsEventsTransportEnabled, b4 as debugLog, b5 as getHttpUrl, b6 as globalSingleton, b7 as version, b8 as getHttpConfig, b9 as headersToRecord, ba as getRequestTimeoutMs, bb as injectTraceContextIntoHeaders, bc as withHttpClientSpan, bd as ErrorType, be as WorkflowWsReconnectAttempt, bf as NetworkProtocolName, bg as WorkflowEventsTransport, bh as distExports, bi as decodeFrames } from "./app-z0qVD1ZU.js";
|
|
9
|
+
import { W as WebSocket } from "./websocket-server-CDTVQU5X.js";
|
|
10
10
|
import "node:stream";
|
|
11
11
|
import "stream";
|
|
12
12
|
import "util";
|
|
@@ -407,7 +407,7 @@ class WsEventsTransport {
|
|
|
407
407
|
if (decoded.meta.type === "drain") {
|
|
408
408
|
const reason = decoded.meta.reason === "auth_expiry" ? "auth_expiry" : "max_duration";
|
|
409
409
|
this.lastDrainReason = reason;
|
|
410
|
-
|
|
410
|
+
debugLog(`world-vercel: ws events transport received a drain notice (reason: ${reason}, graceMs: ${decoded.meta.graceMs ?? "unspecified"}); connection will close soon.`);
|
|
411
411
|
return;
|
|
412
412
|
}
|
|
413
413
|
const reqId = decoded.meta.reqId;
|
|
@@ -496,7 +496,7 @@ function openWsChannel(runId, config) {
|
|
|
496
496
|
return void 0;
|
|
497
497
|
if (!wsState.loggedWsInUse) {
|
|
498
498
|
wsState.loggedWsInUse = true;
|
|
499
|
-
|
|
499
|
+
debugLog(`world-vercel: using ws events transport (${resolved}).`);
|
|
500
500
|
}
|
|
501
501
|
const transport = getWsEventsTransport(resolved, async ({ forceRefresh }) => {
|
|
502
502
|
if (forceRefresh)
|
|
@@ -527,7 +527,7 @@ function resolveChannelUrl(runId, config) {
|
|
|
527
527
|
if (usingProxy) {
|
|
528
528
|
if (!wsState.loggedWsProxyFallback) {
|
|
529
529
|
wsState.loggedWsProxyFallback = true;
|
|
530
|
-
|
|
530
|
+
debugLog(`world-vercel: ws events transport unavailable for a World with projectConfig (api-workflow proxy, resolved baseUrl: ${baseUrl}) — falling back to HTTP.`);
|
|
531
531
|
}
|
|
532
532
|
return null;
|
|
533
533
|
}
|
package/build/server/assets/{zstd-browser-decoder-Bfk1d5vU.js → zstd-browser-decoder-CtzWlfs5.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
5
|
+
import { b2 as registerZstdDecoder } from "./app-z0qVD1ZU.js";
|
|
6
6
|
import "node:stream";
|
|
7
7
|
import "stream";
|
|
8
8
|
import "util";
|
package/build/server/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createRequire as __wkfCreateRequire } from "node:module";
|
|
|
2
2
|
if (typeof require === "undefined") {
|
|
3
3
|
globalThis.require = __wkfCreateRequire(import.meta.url);
|
|
4
4
|
}
|
|
5
|
-
import {
|
|
5
|
+
import { bn, bo } from "./assets/app-z0qVD1ZU.js";
|
|
6
6
|
import "express";
|
|
7
7
|
import "node:stream";
|
|
8
8
|
import "stream";
|
|
@@ -48,6 +48,6 @@ import "os";
|
|
|
48
48
|
import "net";
|
|
49
49
|
import "node:assert/strict";
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
bn as app,
|
|
52
|
+
bo as createFetchHandler
|
|
53
53
|
};
|
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.47",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"express": "^5.2.1",
|
|
43
43
|
"swr": "^2.3.6",
|
|
44
|
-
"@workflow/world-local": "5.0.0-beta.
|
|
44
|
+
"@workflow/world-local": "5.0.0-beta.41"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@biomejs/biome": "^2.4.4",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"typescript": "^6.0.3",
|
|
87
87
|
"vite": "^6",
|
|
88
88
|
"vitest": "^3.2.7",
|
|
89
|
-
"@workflow/core": "5.0.0-beta.
|
|
90
|
-
"@workflow/errors": "5.0.0-beta.
|
|
91
|
-
"@workflow/
|
|
92
|
-
"@workflow/
|
|
93
|
-
"@workflow/world": "5.0.0-beta.
|
|
94
|
-
"@workflow/world-vercel": "5.0.0-beta.
|
|
89
|
+
"@workflow/core": "5.0.0-beta.47",
|
|
90
|
+
"@workflow/errors": "5.0.0-beta.19",
|
|
91
|
+
"@workflow/utils": "5.0.0-beta.10",
|
|
92
|
+
"@workflow/web-shared": "5.0.0-beta.47",
|
|
93
|
+
"@workflow/world": "5.0.0-beta.32",
|
|
94
|
+
"@workflow/world-vercel": "5.0.0-beta.43"
|
|
95
95
|
},
|
|
96
96
|
"scripts": {
|
|
97
97
|
"dev": "react-router dev",
|