@workflow/world-testing 5.0.0-beta.53 → 5.0.0-beta.55

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.
@@ -24557,6 +24557,12 @@ var init_zod = __esm({
24557
24557
  });
24558
24558
 
24559
24559
  // ../world/dist/attributes-validation.js
24560
+ function validateAttributeEventDataSize(eventData) {
24561
+ const bytes = textEncoder.encode(JSON.stringify(eventData)).length;
24562
+ if (bytes > ATTRIBUTE_EVENT_DATA_MAX_BYTES) {
24563
+ throw new AttributeValidationError(`Attribute eventData exceeds limit ${ATTRIBUTE_EVENT_DATA_MAX_BYTES} UTF-8 JSON bytes (received ${bytes} bytes). Split the changes into smaller setAttributes() calls.`);
24564
+ }
24565
+ }
24560
24566
  function assertValidAttributeKey(key, allowReservedAttributes) {
24561
24567
  if (typeof key !== "string") {
24562
24568
  throw new AttributeValidationError(`Attribute key must be a string, got ${typeof key}`);
@@ -24607,7 +24613,7 @@ function validateAttributeChanges(changes, context = {}) {
24607
24613
  }
24608
24614
  validateAttributeBatchConstraints(changes, context);
24609
24615
  }
24610
- var RESERVED_ATTRIBUTE_KEY_PREFIX, ROOT_RUN_ID_ATTRIBUTE, PARENT_RUN_ID_ATTRIBUTE, RETENTION_ATTRIBUTE, ATTRIBUTE_KEY_MAX_LENGTH, ATTRIBUTE_VALUE_MAX_BYTES, ATTRIBUTE_MAX_PER_RUN, textEncoder, AttributeValidationError;
24616
+ var RESERVED_ATTRIBUTE_KEY_PREFIX, ROOT_RUN_ID_ATTRIBUTE, PARENT_RUN_ID_ATTRIBUTE, RETENTION_ATTRIBUTE, ATTRIBUTE_KEY_MAX_LENGTH, ATTRIBUTE_VALUE_MAX_BYTES, ATTRIBUTE_MAX_PER_RUN, ATTRIBUTE_EVENT_DATA_MAX_BYTES, textEncoder, AttributeValidationError;
24611
24617
  var init_attributes_validation = __esm({
24612
24618
  "../world/dist/attributes-validation.js"() {
24613
24619
  "use strict";
@@ -24618,6 +24624,7 @@ var init_attributes_validation = __esm({
24618
24624
  ATTRIBUTE_KEY_MAX_LENGTH = 256;
24619
24625
  ATTRIBUTE_VALUE_MAX_BYTES = 256;
24620
24626
  ATTRIBUTE_MAX_PER_RUN = 64;
24627
+ ATTRIBUTE_EVENT_DATA_MAX_BYTES = 8192;
24621
24628
  textEncoder = new TextEncoder();
24622
24629
  AttributeValidationError = class extends Error {
24623
24630
  static {
@@ -24628,6 +24635,7 @@ var init_attributes_validation = __esm({
24628
24635
  this.name = "AttributeValidationError";
24629
24636
  }
24630
24637
  };
24638
+ __name(validateAttributeEventDataSize, "validateAttributeEventDataSize");
24631
24639
  __name(assertValidAttributeKey, "assertValidAttributeKey");
24632
24640
  __name(assertValidAttributeValue, "assertValidAttributeValue");
24633
24641
  __name(attributeCountDelta, "attributeCountDelta");
@@ -25651,6 +25659,11 @@ var init_queue = __esm({
25651
25659
  }));
25652
25660
  WorkflowInvokePayloadSchema = external_exports.compile(external_exports.object({
25653
25661
  runId: external_exports.string(),
25662
+ /** Process this input and return the handler's result as response data. */
25663
+ invoke: external_exports.literal(true).optional(),
25664
+ /** Identifies one input across retries, separately from the queue delivery ID. */
25665
+ requestId: external_exports.string().optional(),
25666
+ input: external_exports.unknown().optional(),
25654
25667
  traceCarrier: TraceCarrierSchema.optional(),
25655
25668
  requestedAt: external_exports.coerce.date().optional(),
25656
25669
  /**
@@ -32169,7 +32182,7 @@ var version2;
32169
32182
  var init_version = __esm({
32170
32183
  "../core/dist/version.js"() {
32171
32184
  "use strict";
32172
- version2 = "5.0.0-beta.53";
32185
+ version2 = "5.0.0-beta.55";
32173
32186
  }
32174
32187
  });
32175
32188
 
@@ -32348,6 +32361,38 @@ var init_helpers = __esm({
32348
32361
  }
32349
32362
  });
32350
32363
 
32364
+ // ../core/dist/runtime/invocations.js
32365
+ var HookInvocationSchema, HookInvocationResultSchema;
32366
+ var init_invocations = __esm({
32367
+ "../core/dist/runtime/invocations.js"() {
32368
+ "use strict";
32369
+ init_dist2();
32370
+ init_dist4();
32371
+ init_zod();
32372
+ init_semantic_conventions();
32373
+ init_telemetry();
32374
+ HookInvocationSchema = external_exports.object({
32375
+ type: external_exports.literal("hook_resume"),
32376
+ version: external_exports.literal(1),
32377
+ hookId: external_exports.string(),
32378
+ token: external_exports.string(),
32379
+ payload: external_exports.instanceof(Uint8Array)
32380
+ });
32381
+ HookInvocationResultSchema = external_exports.discriminatedUnion("status", [
32382
+ external_exports.object({
32383
+ status: external_exports.literal("accepted")
32384
+ }),
32385
+ external_exports.object({
32386
+ status: external_exports.literal("rejected"),
32387
+ code: external_exports.enum([
32388
+ "HOOK_NOT_FOUND",
32389
+ "INVALID_INPUT"
32390
+ ])
32391
+ })
32392
+ ]);
32393
+ }
32394
+ });
32395
+
32351
32396
  // ../../node_modules/.pnpm/@vercel+functions@3.8.0_@aws-sdk+credential-provider-web-identity@3.972.49_ws@8.20.0/node_modules/@vercel/functions/headers.js
32352
32397
  var require_headers = __commonJS({
32353
32398
  "../../node_modules/.pnpm/@vercel+functions@3.8.0_@aws-sdk+credential-provider-web-identity@3.972.49_ws@8.20.0/node_modules/@vercel/functions/headers.js"(exports, module) {
@@ -37482,6 +37527,29 @@ async function resumeHookImpl(tokenOrHook, payload, encryptionKeyOverride, hookF
37482
37527
  if (originLink) {
37483
37528
  span?.addLink?.(originLink);
37484
37529
  }
37530
+ if (world.capabilities?.invoke === true && !v1Compat && dehydratedPayload instanceof Uint8Array) {
37531
+ if (!world.invoke) {
37532
+ throw new WorkflowRuntimeError("World advertises invoke without implementing it");
37533
+ }
37534
+ span?.setAttributes({
37535
+ "workflow.hook.resume_strategy": "invoke"
37536
+ });
37537
+ const result = HookInvocationResultSchema.parse(await world.invoke(hook.runId, {
37538
+ type: "hook_resume",
37539
+ version: 1,
37540
+ hookId: hook.hookId,
37541
+ token: hook.token,
37542
+ payload: dehydratedPayload
37543
+ }, {
37544
+ idempotencyKey: generateResumeId()
37545
+ }));
37546
+ if (result.status === "rejected") {
37547
+ if (result.code === "HOOK_NOT_FOUND") throw new HookNotFoundError(hook.token);
37548
+ throw new WorkflowRuntimeError("Executor rejected the hook invocation input");
37549
+ }
37550
+ span?.setAttributes(HookResumeCommitted(true));
37551
+ return asLazyMetadataHook(hook);
37552
+ }
37485
37553
  const queueName = getWorkflowQueueName(resumeContext.workflowName);
37486
37554
  const queueOptions = {
37487
37555
  deploymentId: resumeContext.deploymentId,
@@ -37619,6 +37687,7 @@ var init_resume_hook = __esm({
37619
37687
  init_telemetry();
37620
37688
  init_get_world_lazy();
37621
37689
  init_helpers();
37690
+ init_invocations();
37622
37691
  init_wait_until();
37623
37692
  generateResumeId = monotonicFactory();
37624
37693
  __name(computeResumePayloadDigest, "computeResumePayloadDigest");
@@ -38655,6 +38724,14 @@ function createForwardedWritable({ global: global2, ops, runId, name, key, deplo
38655
38724
  return serialize3.writable;
38656
38725
  }
38657
38726
  function getRunReadableStream(global2, ops, runId, name, startIndex, cryptoKey) {
38727
+ return getLazyReadableStream((onReadableState) => getExternalRevivers(global2, ops, runId, cryptoKey, {
38728
+ onReadableState
38729
+ }).ReadableStream({
38730
+ name,
38731
+ startIndex
38732
+ }));
38733
+ }
38734
+ function getLazyReadableStream(reviveReadable, onReadableState) {
38658
38735
  let reader;
38659
38736
  let lockState;
38660
38737
  let lockPollingStarted = false;
@@ -38664,18 +38741,14 @@ function getRunReadableStream(global2, ops, runId, name, startIndex, cryptoKey)
38664
38741
  async pull(controller) {
38665
38742
  try {
38666
38743
  if (!reader) {
38667
- const stream = getExternalRevivers(global2, ops, runId, cryptoKey, {
38668
- onReadableState: /* @__PURE__ */ __name((state) => {
38669
- lockState = state;
38670
- }, "onReadableState")
38671
- }).ReadableStream({
38672
- name,
38673
- startIndex
38744
+ const stream = reviveReadable((state) => {
38745
+ lockState = state;
38674
38746
  });
38675
38747
  reader = stream.getReader();
38676
38748
  if (lockState && !lockPollingStarted) {
38677
38749
  lockPollingStarted = true;
38678
- pollReadableLock(userReadable, lockState);
38750
+ if (onReadableState) onReadableState(lockState);
38751
+ else pollReadableLock(userReadable, lockState);
38679
38752
  }
38680
38753
  }
38681
38754
  const result = await reader.read();
@@ -38699,6 +38772,43 @@ function getRunReadableStream(global2, ops, runId, name, startIndex, cryptoKey)
38699
38772
  return userReadable;
38700
38773
  }
38701
38774
  function getExternalRevivers(global2 = globalThis, ops, runId, cryptoKey, options) {
38775
+ function reviveReadableStream(value, onReadableState = options?.onReadableState) {
38776
+ if (value.type === "bytes") {
38777
+ const readable2 = new WorkflowServerReadableStream(runId, value.name, value.startIndex);
38778
+ const state2 = createFlushableState();
38779
+ ops.push(state2.promise);
38780
+ const { readable: userReadable, writable } = value.framing === "framed-v1" ? getByteUnframingStream() : new global2.TransformStream();
38781
+ flushablePipe(readable2, writable, state2).catch(() => {
38782
+ });
38783
+ if (onReadableState) onReadableState(state2);
38784
+ else pollReadableLock(userReadable, state2);
38785
+ return userReadable;
38786
+ }
38787
+ let keyPromise;
38788
+ const resolveKey = /* @__PURE__ */ __name(() => {
38789
+ keyPromise ??= resolveEncryptionKey(cryptoKey);
38790
+ return keyPromise;
38791
+ }, "resolveKey");
38792
+ const readable = createReconnectingFramedStream(runId, value.name, value.startIndex, resolveKey);
38793
+ const transform2 = getDeserializeStream(getExternalRevivers(global2, ops, runId, resolveKey, {
38794
+ lazyStreams: options?.lazyStreams,
38795
+ liveAbortSignals: options?.liveAbortSignals
38796
+ }), resolveKey);
38797
+ const state = createFlushableState();
38798
+ ops.push(state.promise);
38799
+ flushablePipe(readable, transform2.writable, state).catch(() => {
38800
+ });
38801
+ if (onReadableState) onReadableState(state);
38802
+ else pollReadableLock(transform2.readable, state);
38803
+ return transform2.readable;
38804
+ }
38805
+ __name(reviveReadableStream, "reviveReadableStream");
38806
+ function reviveAbortSnapshot(value) {
38807
+ const controller = new AbortController();
38808
+ if (value.aborted) controller.abort(value.reason);
38809
+ return controller;
38810
+ }
38811
+ __name(reviveAbortSnapshot, "reviveAbortSnapshot");
38702
38812
  return {
38703
38813
  ...getCommonRevivers2(global2),
38704
38814
  // StepFunction should not be returned from workflows to clients
@@ -38739,32 +38849,7 @@ function getExternalRevivers(global2 = globalThis, ops, runId, cryptoKey, option
38739
38849
  const response = new global2.Response(bodyInit);
38740
38850
  return response.body;
38741
38851
  }
38742
- if (value.type === "bytes") {
38743
- const readable = new WorkflowServerReadableStream(runId, value.name, value.startIndex);
38744
- const state = createFlushableState();
38745
- ops.push(state.promise);
38746
- const { readable: userReadable, writable } = value.framing === "framed-v1" ? getByteUnframingStream() : new global2.TransformStream();
38747
- flushablePipe(readable, writable, state).catch(() => {
38748
- });
38749
- if (options?.onReadableState) options.onReadableState(state);
38750
- else pollReadableLock(userReadable, state);
38751
- return userReadable;
38752
- } else {
38753
- let keyPromise;
38754
- const resolveKey = /* @__PURE__ */ __name(() => {
38755
- keyPromise ??= resolveEncryptionKey(cryptoKey);
38756
- return keyPromise;
38757
- }, "resolveKey");
38758
- const readable = createReconnectingFramedStream(runId, value.name, value.startIndex, resolveKey);
38759
- const transform2 = getDeserializeStream(getExternalRevivers(global2, ops, runId, resolveKey), resolveKey);
38760
- const state = createFlushableState();
38761
- ops.push(state.promise);
38762
- flushablePipe(readable, transform2.writable, state).catch(() => {
38763
- });
38764
- if (options?.onReadableState) options.onReadableState(state);
38765
- else pollReadableLock(transform2.readable, state);
38766
- return transform2.readable;
38767
- }
38852
+ return options?.lazyStreams ? getLazyReadableStream((onReadableState) => reviveReadableStream(value, onReadableState), options.onReadableState) : reviveReadableStream(value);
38768
38853
  }, "ReadableStream"),
38769
38854
  WritableStream: /* @__PURE__ */ __name((value) => {
38770
38855
  const targetRunId = typeof value.runId === "string" ? value.runId : runId;
@@ -38779,8 +38864,8 @@ function getExternalRevivers(global2 = globalThis, ops, runId, cryptoKey, option
38779
38864
  encryptionPublicKey: value.encryptionPublicKey
38780
38865
  });
38781
38866
  }, "WritableStream"),
38782
- AbortController: /* @__PURE__ */ __name((value) => reviveAbortController(value, ops, runId), "AbortController"),
38783
- AbortSignal: /* @__PURE__ */ __name((value) => reviveAbortSignal(value, ops, runId), "AbortSignal")
38867
+ AbortController: /* @__PURE__ */ __name((value) => options?.liveAbortSignals === false ? reviveAbortSnapshot(value) : reviveAbortController(value, ops, runId), "AbortController"),
38868
+ AbortSignal: /* @__PURE__ */ __name((value) => options?.liveAbortSignals === false ? reviveAbortSnapshot(value).signal : reviveAbortSignal(value, ops, runId), "AbortSignal")
38784
38869
  };
38785
38870
  }
38786
38871
  function getStepRevivers(global2 = globalThis, ops, runId, cryptoKey, deploymentId, streamStates) {
@@ -39480,6 +39565,7 @@ var init_serialization2 = __esm({
39480
39565
  __name(tagForwardedWritableTarget, "tagForwardedWritableTarget");
39481
39566
  __name(createForwardedWritable, "createForwardedWritable");
39482
39567
  __name(getRunReadableStream, "getRunReadableStream");
39568
+ __name(getLazyReadableStream, "getLazyReadableStream");
39483
39569
  __name(getExternalRevivers, "getExternalRevivers");
39484
39570
  __name(getStepRevivers, "getStepRevivers");
39485
39571
  __name(dehydrateWorkflowArguments, "dehydrateWorkflowArguments");
@@ -39622,7 +39708,7 @@ init_node();
39622
39708
  // ../core/dist/attribute-changes.js
39623
39709
  init_dist2();
39624
39710
  init_attributes_validation();
39625
- function normalizeAttributeChanges(attrs, options = {}) {
39711
+ function normalizeAttributeChanges(attrs, options = {}, writer) {
39626
39712
  if (attrs === null || typeof attrs !== "object" || Array.isArray(attrs)) {
39627
39713
  throw new FatalError(`setAttributes requires a plain object, got ${attrs === null ? "null" : Array.isArray(attrs) ? "array" : typeof attrs}`);
39628
39714
  }
@@ -39636,6 +39722,15 @@ function normalizeAttributeChanges(attrs, options = {}) {
39636
39722
  validateAttributeChanges(changes, {
39637
39723
  allowReservedAttributes
39638
39724
  });
39725
+ if (writer) {
39726
+ validateAttributeEventDataSize({
39727
+ changes,
39728
+ writer,
39729
+ ...allowReservedAttributes ? {
39730
+ allowReservedAttributes: true
39731
+ } : {}
39732
+ });
39733
+ }
39639
39734
  } catch (err) {
39640
39735
  if (err instanceof AttributeValidationError) {
39641
39736
  throw new FatalError(err.message);
@@ -39991,7 +40086,7 @@ __name(start, "start");
39991
40086
  value: "start",
39992
40087
  configurable: true
39993
40088
  });
39994
- })(start, "step//@workflow/core/runtime/start@5.0.0-beta.53//start");
40089
+ })(start, "step//@workflow/core/runtime/start@5.0.0-beta.55//start");
39995
40090
 
39996
40091
  // ../core/dist/runtime/runs.js
39997
40092
  async function wakeUpRun(world, runId, options) {
@@ -40249,27 +40344,35 @@ var Run = class _Run {
40249
40344
  * The name of the workflow.
40250
40345
  */
40251
40346
  get workflowName() {
40252
- return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId).then((run2) => run2.workflowName));
40347
+ return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId, {
40348
+ resolveData: "none"
40349
+ }).then((run2) => run2.workflowName));
40253
40350
  }
40254
40351
  /**
40255
40352
  * The timestamp when the workflow run was created.
40256
40353
  */
40257
40354
  get createdAt() {
40258
- return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId).then((run2) => run2.createdAt));
40355
+ return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId, {
40356
+ resolveData: "none"
40357
+ }).then((run2) => run2.createdAt));
40259
40358
  }
40260
40359
  /**
40261
40360
  * The timestamp when the workflow run started execution.
40262
40361
  * Returns undefined if the workflow has not started yet.
40263
40362
  */
40264
40363
  get startedAt() {
40265
- return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId).then((run2) => run2.startedAt));
40364
+ return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId, {
40365
+ resolveData: "none"
40366
+ }).then((run2) => run2.startedAt));
40266
40367
  }
40267
40368
  /**
40268
40369
  * The timestamp when the workflow run completed.
40269
40370
  * Returns undefined if the workflow has not completed yet.
40270
40371
  */
40271
40372
  get completedAt() {
40272
- return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId).then((run2) => run2.completedAt));
40373
+ return this.#lazyWorldPromise.then((world) => world.runs.get(this.runId, {
40374
+ resolveData: "none"
40375
+ }).then((run2) => run2.completedAt));
40273
40376
  }
40274
40377
  /**
40275
40378
  * The readable stream of the workflow run.
@@ -40454,7 +40557,7 @@ var Run = class _Run {
40454
40557
  value: "wakeUp",
40455
40558
  configurable: true
40456
40559
  });
40457
- })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#wakeUp");
40560
+ })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#wakeUp");
40458
40561
  (function(__wf_fn, __wf_id) {
40459
40562
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40460
40563
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40463,7 +40566,7 @@ var Run = class _Run {
40463
40566
  value: "cancel",
40464
40567
  configurable: true
40465
40568
  });
40466
- })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#cancel");
40569
+ })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#cancel");
40467
40570
  (function(__wf_fn, __wf_id) {
40468
40571
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40469
40572
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40472,7 +40575,7 @@ var Run = class _Run {
40472
40575
  value: "getReadable",
40473
40576
  configurable: true
40474
40577
  });
40475
- })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#getReadable");
40578
+ })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#getReadable");
40476
40579
  (function(__wf_fn, __wf_id) {
40477
40580
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40478
40581
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40481,7 +40584,7 @@ var Run = class _Run {
40481
40584
  value: "getWritable",
40482
40585
  configurable: true
40483
40586
  });
40484
- })(Run.prototype["getWritable"], "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#getWritable");
40587
+ })(Run.prototype["getWritable"], "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#getWritable");
40485
40588
  (function(__wf_fn, __wf_id) {
40486
40589
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40487
40590
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40490,7 +40593,7 @@ var Run = class _Run {
40490
40593
  value: "exists",
40491
40594
  configurable: true
40492
40595
  });
40493
- })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#exists");
40596
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#exists");
40494
40597
  (function(__wf_fn, __wf_id) {
40495
40598
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40496
40599
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40499,7 +40602,7 @@ var Run = class _Run {
40499
40602
  value: "status",
40500
40603
  configurable: true
40501
40604
  });
40502
- })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#status");
40605
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#status");
40503
40606
  (function(__wf_fn, __wf_id) {
40504
40607
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40505
40608
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40508,7 +40611,7 @@ var Run = class _Run {
40508
40611
  value: "returnValue",
40509
40612
  configurable: true
40510
40613
  });
40511
- })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#returnValue");
40614
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#returnValue");
40512
40615
  (function(__wf_fn, __wf_id) {
40513
40616
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40514
40617
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40517,7 +40620,7 @@ var Run = class _Run {
40517
40620
  value: "workflowName",
40518
40621
  configurable: true
40519
40622
  });
40520
- })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#workflowName");
40623
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#workflowName");
40521
40624
  (function(__wf_fn, __wf_id) {
40522
40625
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40523
40626
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40526,7 +40629,7 @@ var Run = class _Run {
40526
40629
  value: "createdAt",
40527
40630
  configurable: true
40528
40631
  });
40529
- })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#createdAt");
40632
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#createdAt");
40530
40633
  (function(__wf_fn, __wf_id) {
40531
40634
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40532
40635
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40535,7 +40638,7 @@ var Run = class _Run {
40535
40638
  value: "startedAt",
40536
40639
  configurable: true
40537
40640
  });
40538
- })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#startedAt");
40641
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#startedAt");
40539
40642
  (function(__wf_fn, __wf_id) {
40540
40643
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40541
40644
  __wf_reg.set(__wf_id, __wf_fn);
@@ -40544,7 +40647,7 @@ var Run = class _Run {
40544
40647
  value: "completedAt",
40545
40648
  configurable: true
40546
40649
  });
40547
- })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.53//Run#completedAt");
40650
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.55//Run#completedAt");
40548
40651
  (function(__wf_cls, __wf_id) {
40549
40652
  var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
40550
40653
  __wf_reg.set(__wf_id, __wf_cls);
@@ -40554,7 +40657,7 @@ var Run = class _Run {
40554
40657
  enumerable: false,
40555
40658
  configurable: false
40556
40659
  });
40557
- })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.53//Run");
40660
+ })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.55//Run");
40558
40661
 
40559
40662
  // ../workflow/dist/stdlib.js
40560
40663
  async function fetch2(...args) {