@workflow/world-testing 5.0.0-beta.18 → 5.0.0-beta.19

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.
@@ -19185,7 +19185,7 @@ var version4;
19185
19185
  var init_version3 = __esm({
19186
19186
  "../core/dist/version.js"() {
19187
19187
  "use strict";
19188
- version4 = "5.0.0-beta.18";
19188
+ version4 = "5.0.0-beta.19";
19189
19189
  }
19190
19190
  });
19191
19191
 
@@ -79342,7 +79342,7 @@ var version2;
79342
79342
  var init_version = __esm2({
79343
79343
  "../core/dist/version.js"() {
79344
79344
  "use strict";
79345
- version2 = "5.0.0-beta.18";
79345
+ version2 = "5.0.0-beta.19";
79346
79346
  }
79347
79347
  });
79348
79348
  function getWorkflowQueueName(workflowName, namespace) {
@@ -82572,7 +82572,7 @@ __name2(start, "start");
82572
82572
  value: "start",
82573
82573
  configurable: true
82574
82574
  });
82575
- })(start, "step//@workflow/core/runtime/start@5.0.0-beta.18//start");
82575
+ })(start, "step//@workflow/core/runtime/start@5.0.0-beta.19//start");
82576
82576
  function isRetryableStartError(err) {
82577
82577
  if (ThrottleError.is(err)) return true;
82578
82578
  if (WorkflowWorldError.is(err) && err.status && err.status >= 500) return true;
@@ -82906,7 +82906,7 @@ var Run = class _Run {
82906
82906
  value: "wakeUp",
82907
82907
  configurable: true
82908
82908
  });
82909
- })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#wakeUp");
82909
+ })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#wakeUp");
82910
82910
  (function(__wf_fn, __wf_id) {
82911
82911
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82912
82912
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82915,7 +82915,7 @@ var Run = class _Run {
82915
82915
  value: "cancel",
82916
82916
  configurable: true
82917
82917
  });
82918
- })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#cancel");
82918
+ })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#cancel");
82919
82919
  (function(__wf_fn, __wf_id) {
82920
82920
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82921
82921
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82924,7 +82924,7 @@ var Run = class _Run {
82924
82924
  value: "getReadable",
82925
82925
  configurable: true
82926
82926
  });
82927
- })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#getReadable");
82927
+ })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#getReadable");
82928
82928
  (function(__wf_fn, __wf_id) {
82929
82929
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82930
82930
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82933,7 +82933,7 @@ var Run = class _Run {
82933
82933
  value: "exists",
82934
82934
  configurable: true
82935
82935
  });
82936
- })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#exists");
82936
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#exists");
82937
82937
  (function(__wf_fn, __wf_id) {
82938
82938
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82939
82939
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82942,7 +82942,7 @@ var Run = class _Run {
82942
82942
  value: "status",
82943
82943
  configurable: true
82944
82944
  });
82945
- })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#status");
82945
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#status");
82946
82946
  (function(__wf_fn, __wf_id) {
82947
82947
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82948
82948
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82951,7 +82951,7 @@ var Run = class _Run {
82951
82951
  value: "returnValue",
82952
82952
  configurable: true
82953
82953
  });
82954
- })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#returnValue");
82954
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#returnValue");
82955
82955
  (function(__wf_fn, __wf_id) {
82956
82956
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82957
82957
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82960,7 +82960,7 @@ var Run = class _Run {
82960
82960
  value: "workflowName",
82961
82961
  configurable: true
82962
82962
  });
82963
- })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#workflowName");
82963
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#workflowName");
82964
82964
  (function(__wf_fn, __wf_id) {
82965
82965
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82966
82966
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82969,7 +82969,7 @@ var Run = class _Run {
82969
82969
  value: "createdAt",
82970
82970
  configurable: true
82971
82971
  });
82972
- })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#createdAt");
82972
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#createdAt");
82973
82973
  (function(__wf_fn, __wf_id) {
82974
82974
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82975
82975
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82978,7 +82978,7 @@ var Run = class _Run {
82978
82978
  value: "startedAt",
82979
82979
  configurable: true
82980
82980
  });
82981
- })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#startedAt");
82981
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#startedAt");
82982
82982
  (function(__wf_fn, __wf_id) {
82983
82983
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82984
82984
  __wf_reg.set(__wf_id, __wf_fn);
@@ -82987,7 +82987,7 @@ var Run = class _Run {
82987
82987
  value: "completedAt",
82988
82988
  configurable: true
82989
82989
  });
82990
- })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#completedAt");
82990
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#completedAt");
82991
82991
  (function(__wf_cls, __wf_id) {
82992
82992
  var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
82993
82993
  __wf_reg.set(__wf_id, __wf_cls);
@@ -82997,7 +82997,7 @@ var Run = class _Run {
82997
82997
  enumerable: false,
82998
82998
  configurable: false
82999
82999
  });
83000
- })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.18//Run");
83000
+ })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.19//Run");
83001
83001
  async function fetch2(...args) {
83002
83002
  return globalThis.fetch(...args);
83003
83003
  }
@@ -93823,7 +93823,7 @@ import os from "node:os";
93823
93823
  import { inspect } from "node:util";
93824
93824
 
93825
93825
  // ../world-vercel/dist/version.js
93826
- var version5 = "5.0.0-beta.17";
93826
+ var version5 = "5.0.0-beta.18";
93827
93827
 
93828
93828
  // ../world-vercel/dist/utils.js
93829
93829
  var HTTP_DEBUG_ENABLED = typeof process !== "undefined" && typeof process.env.DEBUG === "string" && (process.env.DEBUG.includes("workflow:") || process.env.DEBUG === "*");
@@ -94609,11 +94609,14 @@ async function consumeListFrameStream(url3, headers, config4, opName) {
94609
94609
  const chunks = response.body;
94610
94610
  const events = [];
94611
94611
  let next2;
94612
+ let hasMore;
94612
94613
  let sawEndSentinel = false;
94613
94614
  for await (const frame3 of decodeFrames(chunks)) {
94614
94615
  if (frame3.meta._end === 1) {
94615
94616
  if (typeof frame3.meta.next === "string")
94616
94617
  next2 = frame3.meta.next;
94618
+ if (typeof frame3.meta.hasMore === "boolean")
94619
+ hasMore = frame3.meta.hasMore;
94617
94620
  sawEndSentinel = true;
94618
94621
  break;
94619
94622
  }
@@ -94625,7 +94628,11 @@ async function consumeListFrameStream(url3, headers, config4, opName) {
94625
94628
  if (!sawEndSentinel) {
94626
94629
  throw new Error(`v4 ${opName}: frame stream ended without the end-of-stream sentinel (${events.length} events read) \u2014 truncated response?`);
94627
94630
  }
94628
- return { events, ...next2 ? { next: next2 } : {} };
94631
+ return {
94632
+ events,
94633
+ ...next2 ? { next: next2 } : {},
94634
+ ...hasMore !== void 0 ? { hasMore } : {}
94635
+ };
94629
94636
  }
94630
94637
  __name(consumeListFrameStream, "consumeListFrameStream");
94631
94638
  function appendListParams(sp, params) {
@@ -95050,8 +95057,12 @@ async function getWorkflowRunEvents(params, config4) {
95050
95057
  const events = result.events.map((listed) => buildEventFromV4(listed.event, listed.body, resolveData));
95051
95058
  return {
95052
95059
  data: events,
95060
+ // `next` is present even on the final page (it's the incremental-load
95061
+ // resume cursor), so prefer the server's explicit `hasMore`. The
95062
+ // `Boolean(next)` fallback covers older servers that don't emit it —
95063
+ // at the cost of one extra empty-page request per load.
95053
95064
  cursor: result.next ?? null,
95054
- hasMore: Boolean(result.next)
95065
+ hasMore: typeof result.hasMore === "boolean" ? result.hasMore : Boolean(result.next)
95055
95066
  };
95056
95067
  }
95057
95068
  __name(getWorkflowRunEvents, "getWorkflowRunEvents");
@@ -116014,10 +116025,10 @@ var Run = class _Run {
116014
116025
  return this.getReadable();
116015
116026
  }
116016
116027
  };
116017
- Run.prototype["wakeUp"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#wakeUp");
116018
- Run.prototype["cancel"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#cancel");
116019
- Run.prototype["getReadable"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#getReadable");
116020
- var __step_Run$exists = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#exists");
116028
+ Run.prototype["wakeUp"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#wakeUp");
116029
+ Run.prototype["cancel"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#cancel");
116030
+ Run.prototype["getReadable"] = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#getReadable");
116031
+ var __step_Run$exists = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#exists");
116021
116032
  Object.defineProperty(Run.prototype, "exists", {
116022
116033
  get() {
116023
116034
  return __step_Run$exists.call(this);
@@ -116025,7 +116036,7 @@ Object.defineProperty(Run.prototype, "exists", {
116025
116036
  configurable: true,
116026
116037
  enumerable: false
116027
116038
  });
116028
- var __step_Run$status = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#status");
116039
+ var __step_Run$status = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#status");
116029
116040
  Object.defineProperty(Run.prototype, "status", {
116030
116041
  get() {
116031
116042
  return __step_Run$status.call(this);
@@ -116033,7 +116044,7 @@ Object.defineProperty(Run.prototype, "status", {
116033
116044
  configurable: true,
116034
116045
  enumerable: false
116035
116046
  });
116036
- var __step_Run$returnValue = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#returnValue");
116047
+ var __step_Run$returnValue = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#returnValue");
116037
116048
  Object.defineProperty(Run.prototype, "returnValue", {
116038
116049
  get() {
116039
116050
  return __step_Run$returnValue.call(this);
@@ -116041,7 +116052,7 @@ Object.defineProperty(Run.prototype, "returnValue", {
116041
116052
  configurable: true,
116042
116053
  enumerable: false
116043
116054
  });
116044
- var __step_Run$workflowName = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#workflowName");
116055
+ var __step_Run$workflowName = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#workflowName");
116045
116056
  Object.defineProperty(Run.prototype, "workflowName", {
116046
116057
  get() {
116047
116058
  return __step_Run$workflowName.call(this);
@@ -116049,7 +116060,7 @@ Object.defineProperty(Run.prototype, "workflowName", {
116049
116060
  configurable: true,
116050
116061
  enumerable: false
116051
116062
  });
116052
- var __step_Run$createdAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#createdAt");
116063
+ var __step_Run$createdAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#createdAt");
116053
116064
  Object.defineProperty(Run.prototype, "createdAt", {
116054
116065
  get() {
116055
116066
  return __step_Run$createdAt.call(this);
@@ -116057,7 +116068,7 @@ Object.defineProperty(Run.prototype, "createdAt", {
116057
116068
  configurable: true,
116058
116069
  enumerable: false
116059
116070
  });
116060
- var __step_Run$startedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#startedAt");
116071
+ var __step_Run$startedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#startedAt");
116061
116072
  Object.defineProperty(Run.prototype, "startedAt", {
116062
116073
  get() {
116063
116074
  return __step_Run$startedAt.call(this);
@@ -116065,7 +116076,7 @@ Object.defineProperty(Run.prototype, "startedAt", {
116065
116076
  configurable: true,
116066
116077
  enumerable: false
116067
116078
  });
116068
- var __step_Run$completedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.18//Run#completedAt");
116079
+ var __step_Run$completedAt = globalThis[/* @__PURE__ */ Symbol.for("WORKFLOW_USE_STEP")]("step//@workflow/core/runtime/run@5.0.0-beta.19//Run#completedAt");
116069
116080
  Object.defineProperty(Run.prototype, "completedAt", {
116070
116081
  get() {
116071
116082
  return __step_Run$completedAt.call(this);
@@ -116082,7 +116093,7 @@ Object.defineProperty(Run.prototype, "completedAt", {
116082
116093
  enumerable: false,
116083
116094
  configurable: false
116084
116095
  });
116085
- })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.18//Run");
116096
+ })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.19//Run");
116086
116097
 
116087
116098
  // ../core/dist/workflow/create-hook.js
116088
116099
  aliasSerializationClass(RUN_CLASS_ID, Run);
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
+ "workflows/addition.ts": {
5
+ "add": {
6
+ "stepId": "step//./workflows/addition//add"
7
+ }
8
+ },
4
9
  "workflows/retriable-and-fatal.ts": {
5
10
  "stepThatFails": {
6
11
  "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
@@ -9,14 +14,9 @@
9
14
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
10
15
  }
11
16
  },
12
- "workflows/hooks.ts": {
13
- "writeEvent": {
14
- "stepId": "step//./workflows/hooks//writeEvent"
15
- }
16
- },
17
- "workflows/addition.ts": {
18
- "add": {
19
- "stepId": "step//./workflows/addition//add"
17
+ "workflows/noop.ts": {
18
+ "noop": {
19
+ "stepId": "step//./workflows/noop//noop"
20
20
  }
21
21
  },
22
22
  "workflows/inline-execution.ts": {
@@ -30,84 +30,84 @@
30
30
  "stepId": "step//./workflows/inline-execution//writeToStream"
31
31
  }
32
32
  },
33
- "workflows/noop.ts": {
34
- "noop": {
35
- "stepId": "step//./workflows/noop//noop"
36
- }
37
- },
38
33
  "workflows/null-byte.ts": {
39
34
  "nullByteStep": {
40
35
  "stepId": "step//./workflows/null-byte//nullByteStep"
41
36
  }
42
37
  },
43
- "workflow/dist/internal/builtins.js": {
44
- "__builtin_response_array_buffer": {
45
- "stepId": "__builtin_response_array_buffer"
46
- },
47
- "__builtin_response_json": {
48
- "stepId": "__builtin_response_json"
49
- },
50
- "__builtin_response_text": {
51
- "stepId": "__builtin_response_text"
52
- },
53
- "__builtin_set_attributes": {
54
- "stepId": "__builtin_set_attributes"
55
- }
56
- },
57
38
  "workflow/dist/stdlib.js": {
58
39
  "fetch": {
59
40
  "stepId": "step//./workflow/dist/stdlib//fetch"
60
41
  }
61
42
  },
43
+ "workflows/hooks.ts": {
44
+ "writeEvent": {
45
+ "stepId": "step//./workflows/hooks//writeEvent"
46
+ }
47
+ },
62
48
  "core/dist/runtime/run.js": {
63
49
  "Run#cancel": {
64
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#cancel"
50
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#cancel"
65
51
  },
66
52
  "Run#completedAt": {
67
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#completedAt"
53
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#completedAt"
68
54
  },
69
55
  "Run#createdAt": {
70
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#createdAt"
56
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#createdAt"
71
57
  },
72
58
  "Run#exists": {
73
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#exists"
59
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#exists"
74
60
  },
75
61
  "Run#getReadable": {
76
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#getReadable"
62
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#getReadable"
77
63
  },
78
64
  "Run#returnValue": {
79
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#returnValue"
65
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#returnValue"
80
66
  },
81
67
  "Run#startedAt": {
82
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#startedAt"
68
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#startedAt"
83
69
  },
84
70
  "Run#status": {
85
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#status"
71
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#status"
86
72
  },
87
73
  "Run#wakeUp": {
88
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#wakeUp"
74
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#wakeUp"
89
75
  },
90
76
  "Run#workflowName": {
91
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.18//Run#workflowName"
77
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.19//Run#workflowName"
78
+ }
79
+ },
80
+ "workflow/dist/internal/builtins.js": {
81
+ "__builtin_response_array_buffer": {
82
+ "stepId": "__builtin_response_array_buffer"
83
+ },
84
+ "__builtin_response_json": {
85
+ "stepId": "__builtin_response_json"
86
+ },
87
+ "__builtin_response_text": {
88
+ "stepId": "__builtin_response_text"
89
+ },
90
+ "__builtin_set_attributes": {
91
+ "stepId": "__builtin_set_attributes"
92
92
  }
93
93
  },
94
94
  "core/dist/runtime/start.js": {
95
95
  "start": {
96
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.18//start"
96
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.19//start"
97
97
  }
98
98
  }
99
99
  },
100
100
  "workflows": {
101
- "workflows/retriable-and-fatal.ts": {
102
- "retryableAndFatalErrorWorkflow": {
103
- "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
101
+ "workflows/addition.ts": {
102
+ "addTenWorkflow": {
103
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
104
104
  "graph": {
105
105
  "nodes": [
106
106
  {
107
107
  "id": "start",
108
108
  "type": "workflowStart",
109
109
  "data": {
110
- "label": "Start: retryableAndFatalErrorWorkflow",
110
+ "label": "Start: addTenWorkflow",
111
111
  "nodeKind": "workflow_start"
112
112
  }
113
113
  },
@@ -129,18 +129,16 @@
129
129
  }
130
130
  ]
131
131
  }
132
- }
133
- },
134
- "workflows/hooks.ts": {
135
- "collectWithHook": {
136
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
132
+ },
133
+ "addition": {
134
+ "workflowId": "workflow//./workflows/addition//addition",
137
135
  "graph": {
138
136
  "nodes": [
139
137
  {
140
138
  "id": "start",
141
139
  "type": "workflowStart",
142
140
  "data": {
143
- "label": "Start: collectWithHook",
141
+ "label": "Start: addition",
144
142
  "nodeKind": "workflow_start"
145
143
  }
146
144
  },
@@ -164,16 +162,16 @@
164
162
  }
165
163
  }
166
164
  },
167
- "workflows/addition.ts": {
168
- "addTenWorkflow": {
169
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
165
+ "workflows/retriable-and-fatal.ts": {
166
+ "retryableAndFatalErrorWorkflow": {
167
+ "workflowId": "workflow//./workflows/retriable-and-fatal//retryableAndFatalErrorWorkflow",
170
168
  "graph": {
171
169
  "nodes": [
172
170
  {
173
171
  "id": "start",
174
172
  "type": "workflowStart",
175
173
  "data": {
176
- "label": "Start: addTenWorkflow",
174
+ "label": "Start: retryableAndFatalErrorWorkflow",
177
175
  "nodeKind": "workflow_start"
178
176
  }
179
177
  },
@@ -195,16 +193,18 @@
195
193
  }
196
194
  ]
197
195
  }
198
- },
199
- "addition": {
200
- "workflowId": "workflow//./workflows/addition//addition",
196
+ }
197
+ },
198
+ "workflows/noop.ts": {
199
+ "brokenWf": {
200
+ "workflowId": "workflow//./workflows/noop//brokenWf",
201
201
  "graph": {
202
202
  "nodes": [
203
203
  {
204
204
  "id": "start",
205
205
  "type": "workflowStart",
206
206
  "data": {
207
- "label": "Start: addition",
207
+ "label": "Start: brokenWf",
208
208
  "nodeKind": "workflow_start"
209
209
  }
210
210
  },
@@ -430,16 +430,16 @@
430
430
  }
431
431
  }
432
432
  },
433
- "workflows/noop.ts": {
434
- "brokenWf": {
435
- "workflowId": "workflow//./workflows/noop//brokenWf",
433
+ "workflows/null-byte.ts": {
434
+ "nullByteWorkflow": {
435
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
436
436
  "graph": {
437
437
  "nodes": [
438
438
  {
439
439
  "id": "start",
440
440
  "type": "workflowStart",
441
441
  "data": {
442
- "label": "Start: brokenWf",
442
+ "label": "Start: nullByteWorkflow",
443
443
  "nodeKind": "workflow_start"
444
444
  }
445
445
  },
@@ -463,16 +463,16 @@
463
463
  }
464
464
  }
465
465
  },
466
- "workflows/null-byte.ts": {
467
- "nullByteWorkflow": {
468
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
466
+ "workflows/hooks.ts": {
467
+ "collectWithHook": {
468
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
469
469
  "graph": {
470
470
  "nodes": [
471
471
  {
472
472
  "id": "start",
473
473
  "type": "workflowStart",
474
474
  "data": {
475
- "label": "Start: nullByteWorkflow",
475
+ "label": "Start: collectWithHook",
476
476
  "nodeKind": "workflow_start"
477
477
  }
478
478
  },
@@ -500,7 +500,7 @@
500
500
  "classes": {
501
501
  "core/dist/runtime/run.js": {
502
502
  "Run": {
503
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.18//Run"
503
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.19//Run"
504
504
  }
505
505
  }
506
506
  }