@workflow/web 5.0.0-beta.40 → 5.0.0-beta.42

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 (28) hide show
  1. package/build/client/assets/app-9JVnf-IU.css +1 -0
  2. package/build/client/assets/{arrow-up-right-Br49goey.js → arrow-up-right-D39pnGsD.js} +1 -1
  3. package/build/client/assets/{highlighted-body-B3W2YXNL-B5pbFkUr.js → highlighted-body-B3W2YXNL-Dc1dLaUr.js} +1 -1
  4. package/build/client/assets/{home-DrXIdsG5.js → home-C6CuMqQu.js} +3 -3
  5. package/build/client/assets/{loader-circle-3PJSFf84.js → loader-circle-BOxaTUjK.js} +1 -1
  6. package/build/client/assets/{manifest-0c933230.js → manifest-cf88886b.js} +1 -1
  7. package/build/client/assets/{mermaid-3ZIDBTTL-qqUSEahK.js → mermaid-3ZIDBTTL-gEw-Ch1C.js} +319 -285
  8. package/build/client/assets/{root-n7Zz0dTX.js → root-BfhMCbkz.js} +3 -3
  9. package/build/client/assets/root-Bl5xphvU.css +1 -0
  10. package/build/client/assets/{run-detail-DHeMEsdg.js → run-detail-DKz7lp2q.js} +221 -105
  11. package/build/client/assets/{workflow-graph-viewer-DWdsfF3d.js → workflow-graph-viewer-CxrWityD.js} +3 -145
  12. package/build/client/assets/{zstd-browser-decoder-DemK2pIP.js → zstd-browser-decoder-CAEVa0bm.js} +1 -1
  13. package/build/server/assets/{app-BJXoDV4n.js → app-SrggQnfh.js} +1802 -1095
  14. package/build/server/assets/{highlighted-body-B3W2YXNL-Kki0lKyo.js → highlighted-body-B3W2YXNL-DMhwZQgG.js} +2 -1
  15. package/build/server/assets/{index-7-uV1dU1.js → index-ByPjQpgH.js} +1 -1
  16. package/build/server/assets/index-DsnQrgwB.js +156 -0
  17. package/build/server/assets/{mermaid-3ZIDBTTL-Bh_zbSQ-.js → mermaid-3ZIDBTTL-CK9fLYE8.js} +2 -1
  18. package/build/server/assets/{token-D8pb4TJ8.js → token-sFDUVNm0.js} +1 -1
  19. package/build/server/assets/{token-util-DPJj3x0B.js → token-util-CighjZkT.js} +1 -1
  20. package/build/server/assets/{wrapper-CsxTXsPR.js → websocket-server-BADWB2u5.js} +14 -53
  21. package/build/server/assets/wrapper-Bwi-W3ol.js +67 -0
  22. package/build/server/assets/ws-transport-DaZsgQ2B.js +531 -0
  23. package/build/server/assets/{zstd-browser-decoder-CWJVPmcb.js → zstd-browser-decoder-dRi0VqoM.js} +2 -1
  24. package/build/server/index.js +4 -3
  25. package/package.json +7 -7
  26. package/build/client/assets/app-BkGXg64e.css +0 -1
  27. package/build/client/assets/root-ZRjqDhEN.css +0 -1
  28. package/build/server/assets/index-XksKPyou.js +0 -143
@@ -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 { aE as reactExports, aF as R, aG as Ks, aH as jsxRuntimeExports, aI as Qe } from "./app-BJXoDV4n.js";
5
+ import { aQ as reactExports, aR as R, aS as Ks, aT as jsxRuntimeExports, aU as Qe } from "./app-SrggQnfh.js";
6
6
  import "node:stream";
7
7
  import "stream";
8
8
  import "util";
@@ -44,6 +44,7 @@ import "constants";
44
44
  import "assert";
45
45
  import "os";
46
46
  import "net";
47
+ import "node:assert/strict";
47
48
  import "express";
48
49
  var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => {
49
50
  let { shikiTheme: l } = reactExports.useContext(R), o = Ks(), [m, i] = reactExports.useState(e);
@@ -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-CsxTXsPR.js");
1140
+ const ws = await import("./wrapper-Bwi-W3ol.js");
1141
1141
  return ws.WebSocketServer;
1142
1142
  } catch {
1143
1143
  throw new Error(
@@ -0,0 +1,156 @@
1
+ import { createRequire as __wkfCreateRequire } from "node:module";
2
+ if (typeof require === "undefined") {
3
+ globalThis.require = __wkfCreateRequire(import.meta.url);
4
+ }
5
+ import { H as HookSchema } from "./app-SrggQnfh.js";
6
+ import { A, a, b, c, d, e, f, g, h, i, j, k, l, B, m, n, o, p, C, D, q, E, r, s, t, u, v, F, w, x, y, z, G, I, J, L, M, P, K, Q, O, 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 } from "./app-SrggQnfh.js";
7
+ import "node:stream";
8
+ import "stream";
9
+ import "util";
10
+ import "crypto";
11
+ import "async_hooks";
12
+ import "node:crypto";
13
+ import "node:process";
14
+ import "node:path";
15
+ import "node:url";
16
+ import "module";
17
+ import "node:fs/promises";
18
+ import "node:module";
19
+ import "node:util";
20
+ import "node:async_hooks";
21
+ import "node:fs";
22
+ import "node:os";
23
+ import "node:child_process";
24
+ import "node:timers/promises";
25
+ import "events";
26
+ import "node:assert";
27
+ import "node:net";
28
+ import "node:http";
29
+ import "node:querystring";
30
+ import "node:events";
31
+ import "node:diagnostics_channel";
32
+ import "node:tls";
33
+ import "node:buffer";
34
+ import "node:zlib";
35
+ import "node:perf_hooks";
36
+ import "node:util/types";
37
+ import "node:sqlite";
38
+ import "node:worker_threads";
39
+ import "node:console";
40
+ import "node:timers";
41
+ import "node:dns";
42
+ import "path";
43
+ import "fs";
44
+ import "constants";
45
+ import "assert";
46
+ import "os";
47
+ import "net";
48
+ import "node:assert/strict";
49
+ import "express";
50
+ export {
51
+ A as ANALYTICS_EVENTS_GET_MANY_LIMIT,
52
+ a as ATTRIBUTE_KEY_MAX_LENGTH,
53
+ b as ATTRIBUTE_MAX_PER_RUN,
54
+ c as ATTRIBUTE_VALUE_MAX_BYTES,
55
+ d as AnalyticsAttributeKeySchema,
56
+ e as AnalyticsEventSchema,
57
+ f as AnalyticsHookSchema,
58
+ g as AnalyticsRunSchema,
59
+ h as AnalyticsStepSchema,
60
+ i as AnalyticsWaitSchema,
61
+ j as AttributeChangeSchema,
62
+ k as AttributeChangesSchema,
63
+ l as AttributeValidationError,
64
+ B as BULK_CANCEL_MAX_RUN_IDS,
65
+ m as BaseEventSchema,
66
+ n as BulkCancelWorkflowRunResultSchema,
67
+ o as BulkCancelWorkflowRunsRequestSchema,
68
+ p as BulkCancelWorkflowRunsResultSchema,
69
+ C as CHILD_ENTITY_CREATION_EVENT_TYPES,
70
+ D as DEFAULT_TIMESTAMP_THRESHOLD_FUTURE_MS,
71
+ q as DEFAULT_TIMESTAMP_THRESHOLD_PAST_MS,
72
+ E as EVENT_DATA_PAYLOAD_FIELD_BY_EVENT_TYPE,
73
+ r as EVENT_DATA_REF_FIELDS,
74
+ s as EVENT_ID_BODY_LENGTH,
75
+ t as EVENT_ID_PREFIX,
76
+ u as EventSchema,
77
+ v as EventTypeSchema,
78
+ F as FIRST_EVENT_SLOT,
79
+ w as HOOK_EVENTS_REQUIRING_EXISTENCE,
80
+ x as HOOK_LIFECYCLE_EVENT_TYPES,
81
+ y as HOOK_RESUME_DEDUP_VERSION,
82
+ z as HOOK_RESUME_INPUT_VERSION,
83
+ G as HealthCheckPayloadSchema,
84
+ I as HookCreatedEventSchema,
85
+ J as HookResumeCapabilitiesSchema,
86
+ HookSchema,
87
+ L as LegacySerializedDataSchemaV1,
88
+ M as MessageId,
89
+ P as PARENT_RUN_ID_ATTRIBUTE,
90
+ K as PaginatedResponseSchema,
91
+ Q as QueuePayloadSchema,
92
+ O as QueuePrefix,
93
+ R as RESERVED_ATTRIBUTE_KEY_PREFIX,
94
+ S as ROOT_RUN_ID_ATTRIBUTE,
95
+ T as RunInputSchema,
96
+ U as SPEC_VERSION_CURRENT,
97
+ V as SPEC_VERSION_LEGACY,
98
+ W as SPEC_VERSION_MAX_SUPPORTED,
99
+ X as SPEC_VERSION_SUPPORTS_ATTRIBUTES,
100
+ Y as SPEC_VERSION_SUPPORTS_CBOR_QUEUE_TRANSPORT,
101
+ Z as SPEC_VERSION_SUPPORTS_COMPRESSION,
102
+ _ as SPEC_VERSION_SUPPORTS_SLOT_IDENTITY,
103
+ $ as STEP_EVENT_TYPES,
104
+ a0 as SerializedDataSchema,
105
+ a1 as StepSchema,
106
+ a2 as StepStatusSchema,
107
+ a3 as StructuredErrorSchema,
108
+ a4 as TERMINAL_RUN_EVENT_TYPES,
109
+ a5 as TERMINAL_STEP_EVENT_TYPES,
110
+ a6 as TERMINAL_STEP_STATUSES,
111
+ a7 as TERMINAL_WORKFLOW_RUN_STATUSES,
112
+ a8 as TerminalRunEventTypeSchema,
113
+ a9 as TerminalStepStatusSchema,
114
+ aa as TerminalWorkflowRunStatusSchema,
115
+ ab as ValidQueueName,
116
+ ac as WAIT_EVENT_TYPES,
117
+ ad as WaitSchema,
118
+ ae as WaitStatusSchema,
119
+ af as WorkflowInvokePayloadSchema,
120
+ ag as WorkflowRunBaseSchema,
121
+ ah as WorkflowRunSchema,
122
+ ai as WorkflowRunStatusSchema,
123
+ aj as applyAttributeChanges,
124
+ ak as entityEventClass,
125
+ al as envNumber,
126
+ am as eventIdToSlot,
127
+ an as getEventDataPayloadField,
128
+ ao as getEventDataRefFields,
129
+ ap as getMaxEventsPerRun,
130
+ aq as getQueueTopicPrefix,
131
+ ar as isChildEntityCreationEvent,
132
+ as as isChildEntityCreationEventType,
133
+ at as isHookEventRequiringExistence,
134
+ au as isHookLifecycleEventType,
135
+ av as isLegacySpecVersion,
136
+ aw as isSlotBody,
137
+ ax as isSlotEventId,
138
+ ay as isStepEventType,
139
+ az as isTerminalRunEventType,
140
+ aA as isTerminalStepEventType,
141
+ aB as isTerminalStepStatus,
142
+ aC as isTerminalWorkflowRunStatus,
143
+ aD as isWaitEventType,
144
+ aE as parseQueueName,
145
+ aF as reenqueueActiveRuns,
146
+ aG as requiresNewerWorld,
147
+ aH as resolveQueueNamespace,
148
+ aI as slotToEventId,
149
+ aJ as stripEventDataRefs,
150
+ aK as ulidToDate,
151
+ aL as validateAttributeChanges,
152
+ aM as validateAttributeKey,
153
+ aN as validateAttributeValue,
154
+ aO as validateUlidTimestamp,
155
+ aP as workflowRunIdSchema
156
+ };
@@ -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-BJXoDV4n.js";
5
+ import { N as Nt } from "./app-SrggQnfh.js";
6
6
  import "node:stream";
7
7
  import "stream";
8
8
  import "util";
@@ -44,6 +44,7 @@ import "constants";
44
44
  import "assert";
45
45
  import "os";
46
46
  import "net";
47
+ import "node:assert/strict";
47
48
  import "express";
48
49
  export {
49
50
  Nt as Mermaid
@@ -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 { aM as requireTokenError, aL as requireTokenUtil, aK as getDefaultExportFromCjs } from "./app-BJXoDV4n.js";
5
+ import { b9 as requireTokenError, b8 as requireTokenUtil, b7 as getDefaultExportFromCjs } from "./app-SrggQnfh.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 { aK as getDefaultExportFromCjs, aL as requireTokenUtil } from "./app-BJXoDV4n.js";
5
+ import { b7 as getDefaultExportFromCjs, b8 as requireTokenUtil } from "./app-SrggQnfh.js";
6
6
  function _mergeNamespaces(n, m) {
7
7
  for (var i = 0; i < m.length; i++) {
8
8
  const e = m[i];
@@ -2,55 +2,17 @@ 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 { aN as getAugmentedNamespace, aK as getDefaultExportFromCjs } from "./app-BJXoDV4n.js";
5
+ import { ba as getAugmentedNamespace, b7 as getDefaultExportFromCjs } from "./app-SrggQnfh.js";
6
+ import require$$0$2 from "stream";
6
7
  import require$$0$3 from "events";
7
- import require$$1$2 from "https";
8
8
  import require$$2$1 from "http";
9
+ import require$$1$1 from "crypto";
10
+ import require$$0$1 from "buffer";
11
+ import require$$0 from "zlib";
12
+ import require$$1$2 from "https";
9
13
  import net__default from "net";
10
14
  import require$$4 from "tls";
11
- import require$$1$1 from "crypto";
12
- import require$$0$2 from "stream";
13
15
  import require$$7 from "url";
14
- import require$$0 from "zlib";
15
- import require$$0$1 from "buffer";
16
- import "node:stream";
17
- import "util";
18
- import "async_hooks";
19
- import "node:crypto";
20
- import "node:process";
21
- import "node:path";
22
- import "node:url";
23
- import "module";
24
- import "node:fs/promises";
25
- import "node:module";
26
- import "node:util";
27
- import "node:async_hooks";
28
- import "node:fs";
29
- import "node:os";
30
- import "node:child_process";
31
- import "node:timers/promises";
32
- import "node:assert";
33
- import "node:net";
34
- import "node:http";
35
- import "node:querystring";
36
- import "node:events";
37
- import "node:diagnostics_channel";
38
- import "node:tls";
39
- import "node:buffer";
40
- import "node:zlib";
41
- import "node:perf_hooks";
42
- import "node:util/types";
43
- import "node:sqlite";
44
- import "node:worker_threads";
45
- import "node:console";
46
- import "node:timers";
47
- import "node:dns";
48
- import "path";
49
- import "fs";
50
- import "constants";
51
- import "assert";
52
- import "os";
53
- import "express";
54
16
  var bufferUtil = { exports: {} };
55
17
  var constants;
56
18
  var hasRequiredConstants;
@@ -3696,13 +3658,12 @@ function requireWebsocketServer() {
3696
3658
  var websocketServerExports = requireWebsocketServer();
3697
3659
  const websocketServer = /* @__PURE__ */ getDefaultExportFromCjs(websocketServerExports);
3698
3660
  export {
3699
- permessageDeflate as PerMessageDeflate,
3700
- receiver as Receiver,
3701
- sender as Sender,
3702
- WebSocket,
3703
- websocketServer as WebSocketServer,
3704
- stream as createWebSocketStream,
3705
- WebSocket as default,
3706
- extension,
3707
- subprotocol
3661
+ WebSocket as W,
3662
+ stream as a,
3663
+ subprotocol as b,
3664
+ extension as e,
3665
+ permessageDeflate as p,
3666
+ receiver as r,
3667
+ sender as s,
3668
+ websocketServer as w
3708
3669
  };
@@ -0,0 +1,67 @@
1
+ import { createRequire as __wkfCreateRequire } from "node:module";
2
+ if (typeof require === "undefined") {
3
+ globalThis.require = __wkfCreateRequire(import.meta.url);
4
+ }
5
+ import { W as WebSocket } from "./websocket-server-BADWB2u5.js";
6
+ import { p, r, s, w, a, e, b } from "./websocket-server-BADWB2u5.js";
7
+ import "./app-SrggQnfh.js";
8
+ import "node:stream";
9
+ import "stream";
10
+ import "util";
11
+ import "crypto";
12
+ import "async_hooks";
13
+ import "node:crypto";
14
+ import "node:process";
15
+ import "node:path";
16
+ import "node:url";
17
+ import "module";
18
+ import "node:fs/promises";
19
+ import "node:module";
20
+ import "node:util";
21
+ import "node:async_hooks";
22
+ import "node:fs";
23
+ import "node:os";
24
+ import "node:child_process";
25
+ import "node:timers/promises";
26
+ import "events";
27
+ import "node:assert";
28
+ import "node:net";
29
+ import "node:http";
30
+ import "node:querystring";
31
+ import "node:events";
32
+ import "node:diagnostics_channel";
33
+ import "node:tls";
34
+ import "node:buffer";
35
+ import "node:zlib";
36
+ import "node:perf_hooks";
37
+ import "node:util/types";
38
+ import "node:sqlite";
39
+ import "node:worker_threads";
40
+ import "node:console";
41
+ import "node:timers";
42
+ import "node:dns";
43
+ import "path";
44
+ import "fs";
45
+ import "constants";
46
+ import "assert";
47
+ import "os";
48
+ import "net";
49
+ import "node:assert/strict";
50
+ import "express";
51
+ import "http";
52
+ import "buffer";
53
+ import "zlib";
54
+ import "https";
55
+ import "tls";
56
+ import "url";
57
+ export {
58
+ p as PerMessageDeflate,
59
+ r as Receiver,
60
+ s as Sender,
61
+ WebSocket,
62
+ w as WebSocketServer,
63
+ a as createWebSocketStream,
64
+ WebSocket as default,
65
+ e as extension,
66
+ b as subprotocol
67
+ };