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

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 (45) hide show
  1. package/README.md +1 -0
  2. package/build/client/assets/app-BkGXg64e.css +1 -0
  3. package/build/client/assets/arrow-up-right-Br49goey.js +15 -0
  4. package/build/client/assets/{entry.client-BWsSsWQm.js → entry.client-LwI3HNYl.js} +25 -25
  5. package/build/client/assets/{highlighted-body-B3W2YXNL-B7T9pqeb.js → highlighted-body-B3W2YXNL-B5pbFkUr.js} +2 -2
  6. package/build/client/assets/{home-BIQJMe_Q.js → home-DrXIdsG5.js} +1762 -290
  7. package/build/client/assets/index-HqNj_XIX.js +200 -0
  8. package/build/client/assets/{index-DQa-BExo.js → index-PFjW8YjQ.js} +24 -24
  9. package/build/client/assets/loader-circle-3PJSFf84.js +12 -0
  10. package/build/client/assets/manifest-0c933230.js +1 -0
  11. package/build/client/assets/mermaid-3ZIDBTTL-D8CjRQta.css +1 -0
  12. package/build/client/assets/{mermaid-3ZIDBTTL-w46Kr90n.js → mermaid-3ZIDBTTL-qqUSEahK.js} +6160 -4616
  13. package/build/client/assets/root-ZRjqDhEN.css +1 -0
  14. package/build/client/assets/{root-sXuXrryl.js → root-n7Zz0dTX.js} +17 -42
  15. package/build/client/assets/run-detail-CWoGxu_0.css +1 -0
  16. package/build/client/assets/{run-detail-7Pj2mQLs.js → run-detail-DHeMEsdg.js} +1970 -1587
  17. package/build/client/assets/{workflow-graph-viewer-De9JQkZc.js → workflow-graph-viewer-DWdsfF3d.js} +5109 -5110
  18. package/build/client/assets/zstd-B5R2yJjB.wasm +0 -0
  19. package/build/client/assets/zstd-browser-decoder-DemK2pIP.js +27 -0
  20. package/build/server/assets/{server-build-DT0Hg0Yf.js → app-BJXoDV4n.js} +75323 -54239
  21. package/build/server/assets/{highlighted-body-B3W2YXNL-uaucauLI.js → highlighted-body-B3W2YXNL-Kki0lKyo.js} +12 -8
  22. package/build/server/assets/index-7-uV1dU1.js +1262 -0
  23. package/build/server/assets/index-BfLBLRRi.js +204 -0
  24. package/build/server/assets/index-CETb4fkq.js +1164 -0
  25. package/build/server/assets/index-XksKPyou.js +143 -0
  26. package/build/server/assets/{mermaid-3ZIDBTTL-DrZ5V6uv.js → mermaid-3ZIDBTTL-Bh_zbSQ-.js} +13 -9
  27. package/build/server/assets/{token-D7_Lld85.js → token-D8pb4TJ8.js} +5 -2
  28. package/build/server/assets/{token-util-CfY4anoc.js → token-util-DPJj3x0B.js} +5 -2
  29. package/build/server/assets/wrapper-CsxTXsPR.js +3708 -0
  30. package/build/server/assets/zstd-browser-decoder-CWJVPmcb.js +69 -0
  31. package/build/server/index.js +47 -2
  32. package/handler.d.ts +22 -0
  33. package/handler.js +186 -0
  34. package/package.json +27 -12
  35. package/registry.d.ts +29 -0
  36. package/registry.js +89 -0
  37. package/build/client/assets/encryption-80GMP4r0.js +0 -26
  38. package/build/client/assets/manifest-77894282.js +0 -1
  39. package/build/client/assets/mermaid-3ZIDBTTL-DKxHcEOp.css +0 -1
  40. package/build/client/assets/root-C0Tu5TVN.css +0 -1
  41. package/build/client/assets/server-build-DqaxIrF0.css +0 -1
  42. package/build/client/assets/worker-CqHKTA7D.js +0 -115
  43. package/build/server/assets/app-CtOg8_v5.js +0 -9213
  44. package/build/server/assets/index-D02biwxV.js +0 -82
  45. package/build/server/assets/index-meg9qk8y.js +0 -1282
@@ -0,0 +1,143 @@
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-BJXoDV4n.js";
6
+ import { A, a, b, c, d, e, f, g, h, i, j, k, B, l, m, n, o, C, D, p, E, q, r, s, t, u, v, w, x, y, z, L, M, P, F, Q, G, R, I, J, S, K, O, 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 } from "./app-BJXoDV4n.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 "express";
49
+ export {
50
+ A as ATTRIBUTE_KEY_MAX_LENGTH,
51
+ a as ATTRIBUTE_MAX_PER_RUN,
52
+ b as ATTRIBUTE_VALUE_MAX_BYTES,
53
+ c as AnalyticsAttributeKeySchema,
54
+ d as AnalyticsEventSchema,
55
+ e as AnalyticsHookSchema,
56
+ f as AnalyticsRunSchema,
57
+ g as AnalyticsStepSchema,
58
+ h as AnalyticsWaitSchema,
59
+ i as AttributeChangeSchema,
60
+ j as AttributeChangesSchema,
61
+ k as AttributeValidationError,
62
+ B as BULK_CANCEL_MAX_RUN_IDS,
63
+ l as BaseEventSchema,
64
+ m as BulkCancelWorkflowRunResultSchema,
65
+ n as BulkCancelWorkflowRunsRequestSchema,
66
+ o as BulkCancelWorkflowRunsResultSchema,
67
+ C as CHILD_ENTITY_CREATION_EVENT_TYPES,
68
+ D as DEFAULT_TIMESTAMP_THRESHOLD_FUTURE_MS,
69
+ p as DEFAULT_TIMESTAMP_THRESHOLD_PAST_MS,
70
+ E as EVENT_DATA_PAYLOAD_FIELD_BY_EVENT_TYPE,
71
+ q as EVENT_DATA_REF_FIELDS,
72
+ r as EventSchema,
73
+ s as EventTypeSchema,
74
+ t as HOOK_EVENTS_REQUIRING_EXISTENCE,
75
+ u as HOOK_LIFECYCLE_EVENT_TYPES,
76
+ v as HOOK_RESUME_DEDUP_VERSION,
77
+ w as HOOK_RESUME_INPUT_VERSION,
78
+ x as HealthCheckPayloadSchema,
79
+ y as HookCreatedEventSchema,
80
+ z as HookResumeCapabilitiesSchema,
81
+ HookSchema,
82
+ L as LegacySerializedDataSchemaV1,
83
+ M as MessageId,
84
+ P as PARENT_RUN_ID_ATTRIBUTE,
85
+ F as PaginatedResponseSchema,
86
+ Q as QueuePayloadSchema,
87
+ G as QueuePrefix,
88
+ R as RESERVED_ATTRIBUTE_KEY_PREFIX,
89
+ I as ROOT_RUN_ID_ATTRIBUTE,
90
+ J as RunInputSchema,
91
+ S as SPEC_VERSION_CURRENT,
92
+ K as SPEC_VERSION_LEGACY,
93
+ O as SPEC_VERSION_SUPPORTS_ATTRIBUTES,
94
+ T as SPEC_VERSION_SUPPORTS_CBOR_QUEUE_TRANSPORT,
95
+ U as SPEC_VERSION_SUPPORTS_COMPRESSION,
96
+ V as STEP_EVENT_TYPES,
97
+ W as SerializedDataSchema,
98
+ X as StepSchema,
99
+ Y as StepStatusSchema,
100
+ Z as StructuredErrorSchema,
101
+ _ as TERMINAL_RUN_EVENT_TYPES,
102
+ $ as TERMINAL_STEP_EVENT_TYPES,
103
+ a0 as TERMINAL_STEP_STATUSES,
104
+ a1 as TERMINAL_WORKFLOW_RUN_STATUSES,
105
+ a2 as TerminalRunEventTypeSchema,
106
+ a3 as TerminalStepStatusSchema,
107
+ a4 as TerminalWorkflowRunStatusSchema,
108
+ a5 as ValidQueueName,
109
+ a6 as WAIT_EVENT_TYPES,
110
+ a7 as WaitSchema,
111
+ a8 as WaitStatusSchema,
112
+ a9 as WorkflowInvokePayloadSchema,
113
+ aa as WorkflowRunBaseSchema,
114
+ ab as WorkflowRunSchema,
115
+ ac as WorkflowRunStatusSchema,
116
+ ad as applyAttributeChanges,
117
+ ae as envNumber,
118
+ af as getEventDataPayloadField,
119
+ ag as getEventDataRefFields,
120
+ ah as getQueueTopicPrefix,
121
+ ai as isChildEntityCreationEvent,
122
+ aj as isChildEntityCreationEventType,
123
+ ak as isHookEventRequiringExistence,
124
+ al as isHookLifecycleEventType,
125
+ am as isLegacySpecVersion,
126
+ an as isStepEventType,
127
+ ao as isTerminalRunEventType,
128
+ ap as isTerminalStepEventType,
129
+ aq as isTerminalStepStatus,
130
+ ar as isTerminalWorkflowRunStatus,
131
+ as as isWaitEventType,
132
+ at as parseQueueName,
133
+ au as reenqueueActiveRuns,
134
+ av as requiresNewerWorld,
135
+ aw as resolveQueueNamespace,
136
+ ax as stripEventDataRefs,
137
+ ay as ulidToDate,
138
+ az as validateAttributeChanges,
139
+ aA as validateAttributeKey,
140
+ aB as validateAttributeValue,
141
+ aC as validateUlidTimestamp,
142
+ aD as workflowRunIdSchema
143
+ };
@@ -1,8 +1,10 @@
1
- import { N as Nt } from "./server-build-DT0Hg0Yf.js";
2
- import "./app-CtOg8_v5.js";
3
- import "stream";
4
- import "express";
1
+ import { createRequire as __wkfCreateRequire } from "node:module";
2
+ if (typeof require === "undefined") {
3
+ globalThis.require = __wkfCreateRequire(import.meta.url);
4
+ }
5
+ import { N as Nt } from "./app-BJXoDV4n.js";
5
6
  import "node:stream";
7
+ import "stream";
6
8
  import "util";
7
9
  import "crypto";
8
10
  import "async_hooks";
@@ -12,12 +14,12 @@ import "node:path";
12
14
  import "node:url";
13
15
  import "module";
14
16
  import "node:fs/promises";
15
- import "tty";
16
- import "os";
17
17
  import "node:module";
18
+ import "node:util";
19
+ import "node:async_hooks";
18
20
  import "node:fs";
21
+ import "node:os";
19
22
  import "node:child_process";
20
- import "node:util";
21
23
  import "node:timers/promises";
22
24
  import "events";
23
25
  import "node:assert";
@@ -33,14 +35,16 @@ import "node:perf_hooks";
33
35
  import "node:util/types";
34
36
  import "node:sqlite";
35
37
  import "node:worker_threads";
36
- import "node:async_hooks";
37
38
  import "node:console";
38
39
  import "node:timers";
39
40
  import "node:dns";
40
41
  import "path";
41
42
  import "fs";
42
- import "node:os";
43
+ import "constants";
44
+ import "assert";
45
+ import "os";
43
46
  import "net";
47
+ import "express";
44
48
  export {
45
49
  Nt as Mermaid
46
50
  };
@@ -1,5 +1,8 @@
1
- import { g as getDefaultExportFromCjs } from "./app-CtOg8_v5.js";
2
- import { F as requireTokenError, C as requireTokenUtil } from "./server-build-DT0Hg0Yf.js";
1
+ import { createRequire as __wkfCreateRequire } from "node:module";
2
+ if (typeof require === "undefined") {
3
+ globalThis.require = __wkfCreateRequire(import.meta.url);
4
+ }
5
+ import { aM as requireTokenError, aL as requireTokenUtil, aK as getDefaultExportFromCjs } from "./app-BJXoDV4n.js";
3
6
  function _mergeNamespaces(n, m) {
4
7
  for (var i = 0; i < m.length; i++) {
5
8
  const e = m[i];
@@ -1,5 +1,8 @@
1
- import { g as getDefaultExportFromCjs } from "./app-CtOg8_v5.js";
2
- import { C as requireTokenUtil } from "./server-build-DT0Hg0Yf.js";
1
+ import { createRequire as __wkfCreateRequire } from "node:module";
2
+ if (typeof require === "undefined") {
3
+ globalThis.require = __wkfCreateRequire(import.meta.url);
4
+ }
5
+ import { aK as getDefaultExportFromCjs, aL as requireTokenUtil } from "./app-BJXoDV4n.js";
3
6
  function _mergeNamespaces(n, m) {
4
7
  for (var i = 0; i < m.length; i++) {
5
8
  const e = m[i];