@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.
Files changed (23) hide show
  1. package/build/client/assets/{arrow-up-right-UOc2WcaC.js → arrow-up-right-C52N96YH.js} +1 -1
  2. package/build/client/assets/{highlighted-body-B3W2YXNL-D78gcP7S.js → highlighted-body-B3W2YXNL-BzCKp954.js} +1 -1
  3. package/build/client/assets/{home-DYB1uz9w.js → home-CXFjRmpa.js} +3 -3
  4. package/build/client/assets/{loader-circle-oscnpy3L.js → loader-circle-BQzzSKVU.js} +1 -1
  5. package/build/client/assets/{manifest-a701502a.js → manifest-9ff1658d.js} +1 -1
  6. package/build/client/assets/{mermaid-3ZIDBTTL-BKGEyEYb.js → mermaid-3ZIDBTTL-BrUzeGHN.js} +212 -120
  7. package/build/client/assets/{root-Zvnb602n.js → root-DBp4o4Ap.js} +3 -3
  8. package/build/client/assets/{run-detail-CedyZW9h.js → run-detail-7tPGLWpY.js} +58 -37
  9. package/build/client/assets/{workflow-graph-viewer-Du0ztkb8.js → workflow-graph-viewer-BI72rVK-.js} +1 -1
  10. package/build/client/assets/{zstd-browser-decoder-DafWVuEG.js → zstd-browser-decoder-C5OUdy0l.js} +1 -1
  11. package/build/server/assets/{app-BpmEMaiu.js → app-z0qVD1ZU.js} +681 -371
  12. package/build/server/assets/{highlighted-body-B3W2YXNL-C6ES2Pzm.js → highlighted-body-B3W2YXNL-BRzynHFv.js} +1 -1
  13. package/build/server/assets/{index-BtQfiVUN.js → index-DDMGTwh_.js} +70 -67
  14. package/build/server/assets/{index-QOlZC9D-.js → index-jQkBA81b.js} +1 -1
  15. package/build/server/assets/{mermaid-3ZIDBTTL-X6IEJ8gj.js → mermaid-3ZIDBTTL-CNWRBcN0.js} +1 -1
  16. package/build/server/assets/{token-CrxXUTBD.js → token-BSEhy2T4.js} +1 -1
  17. package/build/server/assets/{token-util-DuToe55u.js → token-util-D_gzpVW2.js} +1 -1
  18. package/build/server/assets/{websocket-server-CTnzV_B7.js → websocket-server-CDTVQU5X.js} +1 -1
  19. package/build/server/assets/{wrapper-Bjff6YRz.js → wrapper-BxieYZVg.js} +3 -3
  20. package/build/server/assets/{ws-transport-ByYax88V.js → ws-transport-DbDOLT7f.js} +5 -5
  21. package/build/server/assets/{zstd-browser-decoder-Bfk1d5vU.js → zstd-browser-decoder-CtzWlfs5.js} +1 -1
  22. package/build/server/index.js +3 -3
  23. 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 { aW as reactExports, aX as R, aY as Ks, aZ as jsxRuntimeExports, a_ as Qe } from "./app-BpmEMaiu.js";
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-BpmEMaiu.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 } from "./app-BpmEMaiu.js";
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 RunInputSchema,
99
- W as SEALED_LOG_ENV_VAR,
100
- X as SPEC_VERSION_CURRENT,
101
- Y as SPEC_VERSION_LEGACY,
102
- Z as SPEC_VERSION_MAX_SUPPORTED,
103
- _ as SPEC_VERSION_SUPPORTS_ATTRIBUTES,
104
- $ as SPEC_VERSION_SUPPORTS_CBOR_QUEUE_TRANSPORT,
105
- a0 as SPEC_VERSION_SUPPORTS_COMPRESSION,
106
- a1 as SPEC_VERSION_SUPPORTS_SEALED_LOG,
107
- a2 as SPEC_VERSION_SUPPORTS_SLOT_IDENTITY,
108
- a3 as STEP_EVENT_TYPES,
109
- a4 as SerializedDataSchema,
110
- a5 as StepSchema,
111
- a6 as StepStatusSchema,
112
- a7 as StructuredErrorSchema,
113
- a8 as TERMINAL_RUN_EVENT_TYPES,
114
- a9 as TERMINAL_STEP_EVENT_TYPES,
115
- aa as TERMINAL_STEP_STATUSES,
116
- ab as TERMINAL_WORKFLOW_RUN_STATUSES,
117
- ac as TerminalRunEventTypeSchema,
118
- ad as TerminalStepStatusSchema,
119
- ae as TerminalWorkflowRunStatusSchema,
120
- af as ValidQueueName,
121
- ag as WAIT_EVENT_TYPES,
122
- ah as WaitSchema,
123
- ai as WaitStatusSchema,
124
- aj as WorkflowInvokePayloadSchema,
125
- ak as WorkflowRunBaseSchema,
126
- al as WorkflowRunSchema,
127
- am as WorkflowRunStatusSchema,
128
- an as applyAttributeChanges,
129
- ao as entityEventClass,
130
- ap as envFlag,
131
- aq as envNumber,
132
- ar as eventIdToSlot,
133
- as as getEventDataPayloadField,
134
- at as getEventDataRefFields,
135
- au as getMaxEventsPerRun,
136
- av as getQueueTopicPrefix,
137
- aw as isChildEntityCreationEvent,
138
- ax as isChildEntityCreationEventType,
139
- ay as isHookEventRequiringExistence,
140
- az as isHookLifecycleEventType,
141
- aA as isLegacySpecVersion,
142
- aB as isNodeHttpEnabled,
143
- aC as isSealedNoopEvent,
144
- aD as isSlotBody,
145
- aE as isSlotEventId,
146
- aF as isStepEventType,
147
- aG as isTerminalRunEventType,
148
- aH as isTerminalStepEventType,
149
- aI as isTerminalStepStatus,
150
- aJ as isTerminalWorkflowRunStatus,
151
- aK as isWaitEventType,
152
- aL as mintedSpecVersion,
153
- aM as parseQueueName,
154
- aN as reenqueueActiveRuns,
155
- aO as requiresNewerWorld,
156
- aP as resolveQueueNamespace,
157
- aQ as slotToEventId,
158
- aR as stripEventDataRefs,
159
- aS as ulidToDate,
160
- aT as validateAttributeChanges,
161
- aU as validateUlidTimestamp,
162
- aV as workflowRunIdSchema
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-Bjff6YRz.js");
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-BpmEMaiu.js";
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 { bh as requireTokenError, bg as requireTokenUtil, bf as getDefaultExportFromCjs } from "./app-BpmEMaiu.js";
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 { bf as getDefaultExportFromCjs, bg as requireTokenUtil } from "./app-BpmEMaiu.js";
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 { bi as getAugmentedNamespace, bf as getDefaultExportFromCjs } from "./app-BpmEMaiu.js";
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-CTnzV_B7.js";
6
- import { p, r, s, w, a, e, b } from "./websocket-server-CTnzV_B7.js";
7
- import "./app-BpmEMaiu.js";
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 { b0 as isWsEventsTransportEnabled, b1 as getHttpUrl, b2 as globalSingleton, b3 as version, b4 as getHttpConfig, b5 as headersToRecord, b6 as getRequestTimeoutMs, b7 as injectTraceContextIntoHeaders, b8 as withHttpClientSpan, b9 as ErrorType, ba as WorkflowWsReconnectAttempt, bb as NetworkProtocolName, bc as WorkflowEventsTransport, bd as distExports, be as decodeFrames } from "./app-BpmEMaiu.js";
9
- import { W as WebSocket } from "./websocket-server-CTnzV_B7.js";
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
- console.log(`world-vercel: ws events transport received a drain notice (reason: ${reason}, graceMs: ${decoded.meta.graceMs ?? "unspecified"}); connection will close soon.`);
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
- console.log(`world-vercel: using ws events transport (${resolved}).`);
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
- console.warn(`world-vercel: ws events transport requested but a World with projectConfig (api-workflow proxy, resolved baseUrl: ${baseUrl}) is active — falling back.`);
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
  }
@@ -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 { a$ as registerZstdDecoder } from "./app-BpmEMaiu.js";
5
+ import { b2 as registerZstdDecoder } 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 { bj, bk } from "./assets/app-BpmEMaiu.js";
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
- bj as app,
52
- bk as createFetchHandler
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.46",
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.40"
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.46",
90
- "@workflow/errors": "5.0.0-beta.18",
91
- "@workflow/web-shared": "5.0.0-beta.46",
92
- "@workflow/utils": "5.0.0-beta.9",
93
- "@workflow/world": "5.0.0-beta.31",
94
- "@workflow/world-vercel": "5.0.0-beta.42"
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",