@workflow/world-testing 5.0.0-beta.25 → 5.0.0-beta.26

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.
@@ -1,33 +1,9 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "steps": {
4
- "workflows/hooks.ts": {
5
- "writeEvent": {
6
- "stepId": "step//./workflows/hooks//writeEvent"
7
- }
8
- },
9
- "workflows/noop.ts": {
10
- "noop": {
11
- "stepId": "step//./workflows/noop//noop"
12
- }
13
- },
14
- "workflows/null-byte.ts": {
15
- "nullByteStep": {
16
- "stepId": "step//./workflows/null-byte//nullByteStep"
17
- }
18
- },
19
- "workflow/dist/internal/builtins.js": {
20
- "__builtin_response_array_buffer": {
21
- "stepId": "__builtin_response_array_buffer"
22
- },
23
- "__builtin_response_json": {
24
- "stepId": "__builtin_response_json"
25
- },
26
- "__builtin_response_text": {
27
- "stepId": "__builtin_response_text"
28
- },
29
- "__builtin_set_attributes": {
30
- "stepId": "__builtin_set_attributes"
4
+ "workflows/addition.ts": {
5
+ "add": {
6
+ "stepId": "step//./workflows/addition//add"
31
7
  }
32
8
  },
33
9
  "workflows/inline-execution.ts": {
@@ -41,11 +17,6 @@
41
17
  "stepId": "step//./workflows/inline-execution//writeToStream"
42
18
  }
43
19
  },
44
- "core/dist/runtime/start.js": {
45
- "start": {
46
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.25//start"
47
- }
48
- },
49
20
  "workflows/retriable-and-fatal.ts": {
50
21
  "stepThatFails": {
51
22
  "stepId": "step//./workflows/retriable-and-fatal//stepThatFails"
@@ -54,9 +25,19 @@
54
25
  "stepId": "step//./workflows/retriable-and-fatal//stepThatThrowsRetryableError"
55
26
  }
56
27
  },
57
- "workflows/addition.ts": {
58
- "add": {
59
- "stepId": "step//./workflows/addition//add"
28
+ "workflows/noop.ts": {
29
+ "noop": {
30
+ "stepId": "step//./workflows/noop//noop"
31
+ }
32
+ },
33
+ "workflows/null-byte.ts": {
34
+ "nullByteStep": {
35
+ "stepId": "step//./workflows/null-byte//nullByteStep"
36
+ }
37
+ },
38
+ "workflows/hooks.ts": {
39
+ "writeEvent": {
40
+ "stepId": "step//./workflows/hooks//writeEvent"
60
41
  }
61
42
  },
62
43
  "workflow/dist/stdlib.js": {
@@ -64,83 +45,69 @@
64
45
  "stepId": "step//./workflow/dist/stdlib//fetch"
65
46
  }
66
47
  },
48
+ "workflow/dist/internal/builtins.js": {
49
+ "__builtin_response_array_buffer": {
50
+ "stepId": "__builtin_response_array_buffer"
51
+ },
52
+ "__builtin_response_json": {
53
+ "stepId": "__builtin_response_json"
54
+ },
55
+ "__builtin_response_text": {
56
+ "stepId": "__builtin_response_text"
57
+ },
58
+ "__builtin_set_attributes": {
59
+ "stepId": "__builtin_set_attributes"
60
+ }
61
+ },
67
62
  "core/dist/runtime/run.js": {
68
63
  "Run#cancel": {
69
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#cancel"
64
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#cancel"
70
65
  },
71
66
  "Run#completedAt": {
72
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#completedAt"
67
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#completedAt"
73
68
  },
74
69
  "Run#createdAt": {
75
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#createdAt"
70
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#createdAt"
76
71
  },
77
72
  "Run#exists": {
78
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#exists"
73
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#exists"
79
74
  },
80
75
  "Run#getReadable": {
81
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#getReadable"
76
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#getReadable"
82
77
  },
83
78
  "Run#returnValue": {
84
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#returnValue"
79
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#returnValue"
85
80
  },
86
81
  "Run#startedAt": {
87
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#startedAt"
82
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#startedAt"
88
83
  },
89
84
  "Run#status": {
90
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#status"
85
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#status"
91
86
  },
92
87
  "Run#wakeUp": {
93
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#wakeUp"
88
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#wakeUp"
94
89
  },
95
90
  "Run#workflowName": {
96
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#workflowName"
91
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#workflowName"
92
+ }
93
+ },
94
+ "core/dist/runtime/start.js": {
95
+ "start": {
96
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.26//start"
97
97
  }
98
98
  }
99
99
  },
100
100
  "workflows": {
101
- "workflows/hooks.ts": {
102
- "collectWithHook": {
103
- "workflowId": "workflow//./workflows/hooks//collectWithHook",
104
- "graph": {
105
- "nodes": [
106
- {
107
- "id": "start",
108
- "type": "workflowStart",
109
- "data": {
110
- "label": "Start: collectWithHook",
111
- "nodeKind": "workflow_start"
112
- }
113
- },
114
- {
115
- "id": "end",
116
- "type": "workflowEnd",
117
- "data": {
118
- "label": "Return",
119
- "nodeKind": "workflow_end"
120
- }
121
- }
122
- ],
123
- "edges": [
124
- {
125
- "id": "e_start_end",
126
- "source": "start",
127
- "target": "end",
128
- "type": "default"
129
- }
130
- ]
131
- }
132
- }
133
- },
134
- "workflows/noop.ts": {
135
- "brokenWf": {
136
- "workflowId": "workflow//./workflows/noop//brokenWf",
101
+ "workflows/addition.ts": {
102
+ "addTenWorkflow": {
103
+ "workflowId": "workflow//./workflows/addition//addTenWorkflow",
137
104
  "graph": {
138
105
  "nodes": [
139
106
  {
140
107
  "id": "start",
141
108
  "type": "workflowStart",
142
109
  "data": {
143
- "label": "Start: brokenWf",
110
+ "label": "Start: addTenWorkflow",
144
111
  "nodeKind": "workflow_start"
145
112
  }
146
113
  },
@@ -162,18 +129,16 @@
162
129
  }
163
130
  ]
164
131
  }
165
- }
166
- },
167
- "workflows/null-byte.ts": {
168
- "nullByteWorkflow": {
169
- "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
132
+ },
133
+ "addition": {
134
+ "workflowId": "workflow//./workflows/addition//addition",
170
135
  "graph": {
171
136
  "nodes": [
172
137
  {
173
138
  "id": "start",
174
139
  "type": "workflowStart",
175
140
  "data": {
176
- "label": "Start: nullByteWorkflow",
141
+ "label": "Start: addition",
177
142
  "nodeKind": "workflow_start"
178
143
  }
179
144
  },
@@ -432,16 +397,16 @@
432
397
  }
433
398
  }
434
399
  },
435
- "workflows/addition.ts": {
436
- "addTenWorkflow": {
437
- "workflowId": "workflow//./workflows/addition//addTenWorkflow",
400
+ "workflows/noop.ts": {
401
+ "brokenWf": {
402
+ "workflowId": "workflow//./workflows/noop//brokenWf",
438
403
  "graph": {
439
404
  "nodes": [
440
405
  {
441
406
  "id": "start",
442
407
  "type": "workflowStart",
443
408
  "data": {
444
- "label": "Start: addTenWorkflow",
409
+ "label": "Start: brokenWf",
445
410
  "nodeKind": "workflow_start"
446
411
  }
447
412
  },
@@ -463,16 +428,51 @@
463
428
  }
464
429
  ]
465
430
  }
466
- },
467
- "addition": {
468
- "workflowId": "workflow//./workflows/addition//addition",
431
+ }
432
+ },
433
+ "workflows/null-byte.ts": {
434
+ "nullByteWorkflow": {
435
+ "workflowId": "workflow//./workflows/null-byte//nullByteWorkflow",
469
436
  "graph": {
470
437
  "nodes": [
471
438
  {
472
439
  "id": "start",
473
440
  "type": "workflowStart",
474
441
  "data": {
475
- "label": "Start: addition",
442
+ "label": "Start: nullByteWorkflow",
443
+ "nodeKind": "workflow_start"
444
+ }
445
+ },
446
+ {
447
+ "id": "end",
448
+ "type": "workflowEnd",
449
+ "data": {
450
+ "label": "Return",
451
+ "nodeKind": "workflow_end"
452
+ }
453
+ }
454
+ ],
455
+ "edges": [
456
+ {
457
+ "id": "e_start_end",
458
+ "source": "start",
459
+ "target": "end",
460
+ "type": "default"
461
+ }
462
+ ]
463
+ }
464
+ }
465
+ },
466
+ "workflows/hooks.ts": {
467
+ "collectWithHook": {
468
+ "workflowId": "workflow//./workflows/hooks//collectWithHook",
469
+ "graph": {
470
+ "nodes": [
471
+ {
472
+ "id": "start",
473
+ "type": "workflowStart",
474
+ "data": {
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.25//Run"
503
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.26//Run"
504
504
  }
505
505
  }
506
506
  }
@@ -333,9 +333,26 @@ var init_dist = __esm({
333
333
  });
334
334
 
335
335
  // ../errors/dist/error-codes.js
336
+ var RUN_ERROR_CODES;
336
337
  var init_error_codes = __esm({
337
338
  "../errors/dist/error-codes.js"() {
338
339
  "use strict";
340
+ RUN_ERROR_CODES = {
341
+ /** Error thrown in user workflow or step code */
342
+ USER_ERROR: "USER_ERROR",
343
+ /** Internal runtime error (missing timestamps, runtime invariant failures) */
344
+ RUNTIME_ERROR: "RUNTIME_ERROR",
345
+ /** Event log contains orphaned or mismatched events and cannot be replayed */
346
+ CORRUPTED_EVENT_LOG: "CORRUPTED_EVENT_LOG",
347
+ /** One replay could not consume the event log deterministically; retryable */
348
+ REPLAY_DIVERGENCE: "REPLAY_DIVERGENCE",
349
+ /** Run exceeded the maximum number of queue deliveries */
350
+ MAX_DELIVERIES_EXCEEDED: "MAX_DELIVERIES_EXCEEDED",
351
+ /** Workflow replay exceeded the maximum allowed duration */
352
+ REPLAY_TIMEOUT: "REPLAY_TIMEOUT",
353
+ /** World response violated the SDK contract and cannot be retried safely */
354
+ WORLD_CONTRACT_ERROR: "WORLD_CONTRACT_ERROR"
355
+ };
339
356
  }
340
357
  });
341
358
 
@@ -369,7 +386,7 @@ function buildFramedDetails(hint2, slug) {
369
386
  });
370
387
  return out;
371
388
  }
372
- var BASE_URL, ERROR_SLUGS, WorkflowError, WorkflowWorldError, WorkflowRunFailedError, WorkflowRunNotCompletedError, WorkflowRuntimeError, RuntimeDecryptionError, SerializationError, WorkflowRunNotFoundError, HookConflictError, HookNotFoundError, EntityConflictError, ThrottleError, WorkflowRunCancelledError, FatalError, RetryableError, FATAL_ERROR_KEY, RETRYABLE_ERROR_KEY, HOOK_CONFLICT_ERROR_KEY, RUNTIME_DECRYPTION_ERROR_KEY;
389
+ var BASE_URL, ERROR_SLUGS, WorkflowError, WorkflowWorldError, WorkflowRunFailedError, WorkflowRunNotCompletedError, WorkflowRuntimeError, RuntimeDecryptionError, SerializationError, StepNotRegisteredError, WorkflowNotRegisteredError, WorkflowRunNotFoundError, HookConflictError, HookNotFoundError, EntityConflictError, ThrottleError, WorkflowRunCancelledError, FatalError, RetryableError, FATAL_ERROR_KEY, RETRYABLE_ERROR_KEY, HOOK_CONFLICT_ERROR_KEY, RUNTIME_DECRYPTION_ERROR_KEY;
373
390
  var init_dist2 = __esm({
374
391
  "../errors/dist/index.js"() {
375
392
  "use strict";
@@ -540,6 +557,38 @@ Caused by: ${options.cause.stack}`;
540
557
  return isError(value) && value.name === "SerializationError";
541
558
  }
542
559
  };
560
+ StepNotRegisteredError = class extends WorkflowRuntimeError {
561
+ static {
562
+ __name(this, "StepNotRegisteredError");
563
+ }
564
+ stepName;
565
+ constructor(stepName) {
566
+ super(`Step "${stepName}" is not registered in the current deployment. This usually indicates a build or bundling issue that caused the step to not be included in the deployment.`, {
567
+ slug: ERROR_SLUGS.STEP_NOT_REGISTERED
568
+ });
569
+ this.name = "StepNotRegisteredError";
570
+ this.stepName = stepName;
571
+ }
572
+ static is(value) {
573
+ return isError(value) && value.name === "StepNotRegisteredError";
574
+ }
575
+ };
576
+ WorkflowNotRegisteredError = class extends WorkflowRuntimeError {
577
+ static {
578
+ __name(this, "WorkflowNotRegisteredError");
579
+ }
580
+ workflowName;
581
+ constructor(workflowName) {
582
+ super(`Workflow "${workflowName}" is not registered in the current deployment. This usually means a run was started against a deployment that does not have this workflow, or there was a build/bundling issue.`, {
583
+ slug: ERROR_SLUGS.WORKFLOW_NOT_REGISTERED
584
+ });
585
+ this.name = "WorkflowNotRegisteredError";
586
+ this.workflowName = workflowName;
587
+ }
588
+ static is(value) {
589
+ return isError(value) && value.name === "WorkflowNotRegisteredError";
590
+ }
591
+ };
543
592
  WorkflowRunNotFoundError = class extends WorkflowError {
544
593
  static {
545
594
  __name(this, "WorkflowRunNotFoundError");
@@ -24007,7 +24056,7 @@ var version2;
24007
24056
  var init_version = __esm({
24008
24057
  "../core/dist/version.js"() {
24009
24058
  "use strict";
24010
- version2 = "5.0.0-beta.25";
24059
+ version2 = "5.0.0-beta.26";
24011
24060
  }
24012
24061
  });
24013
24062
 
@@ -27015,6 +27064,43 @@ __name(normalizeAttributeChanges, "normalizeAttributeChanges");
27015
27064
 
27016
27065
  // ../core/dist/runtime/start.js
27017
27066
  init_capabilities();
27067
+
27068
+ // ../core/dist/classify-error.js
27069
+ init_dist2();
27070
+ var WORLD_CONTRACT_ERROR_CODES = /* @__PURE__ */ new Set([
27071
+ "PARSE_ERROR",
27072
+ "SCHEMA_VALIDATION",
27073
+ RUN_ERROR_CODES.WORLD_CONTRACT_ERROR
27074
+ ]);
27075
+ var RETRYABLE_WORLD_ERROR_CODES = /* @__PURE__ */ new Set([
27076
+ "TRANSPORT",
27077
+ "TIMEOUT"
27078
+ ]);
27079
+ var RUNTIME_ERROR_CHECKS = [
27080
+ WorkflowRuntimeError.is,
27081
+ StepNotRegisteredError.is,
27082
+ WorkflowNotRegisteredError.is,
27083
+ // SDK-level encryption failures (most notably AES-GCM auth-tag
27084
+ // mismatches surfacing as a native `OperationError` from
27085
+ // `AESCipherJob.onDone`) are wrapped in `RuntimeDecryptionError` at
27086
+ // the encryption module boundary.
27087
+ RuntimeDecryptionError.is
27088
+ ];
27089
+ function isRetryableWorldError(err) {
27090
+ if (ThrottleError.is(err)) {
27091
+ return true;
27092
+ }
27093
+ if (!WorkflowWorldError.is(err)) {
27094
+ return false;
27095
+ }
27096
+ if (err.status !== void 0 && err.status >= 500) {
27097
+ return true;
27098
+ }
27099
+ return err.code !== void 0 && RETRYABLE_WORLD_ERROR_CODES.has(err.code);
27100
+ }
27101
+ __name(isRetryableWorldError, "isRetryableWorldError");
27102
+
27103
+ // ../core/dist/runtime/start.js
27018
27104
  init_encryption();
27019
27105
  init_logger();
27020
27106
  init_serialization2();
@@ -27167,7 +27253,7 @@ async function start(workflow, argsOrOptions, options) {
27167
27253
  if (runCreatedResult.status === "rejected") {
27168
27254
  const err = runCreatedResult.reason;
27169
27255
  if (EntityConflictError.is(err)) {
27170
- } else if (isRetryableStartError(err)) {
27256
+ } else if (isRetryableWorldError(err)) {
27171
27257
  resilientStart = true;
27172
27258
  runtimeLogger.warn("Run creation event failed, but the run was accepted via the queue. The run_created event will be re-tried async by the runtime.", {
27173
27259
  workflowRunId: runId,
@@ -27211,13 +27297,7 @@ __name(start, "start");
27211
27297
  value: "start",
27212
27298
  configurable: true
27213
27299
  });
27214
- })(start, "step//@workflow/core/runtime/start@5.0.0-beta.25//start");
27215
- function isRetryableStartError(err) {
27216
- if (ThrottleError.is(err)) return true;
27217
- if (WorkflowWorldError.is(err) && err.status && err.status >= 500) return true;
27218
- return false;
27219
- }
27220
- __name(isRetryableStartError, "isRetryableStartError");
27300
+ })(start, "step//@workflow/core/runtime/start@5.0.0-beta.26//start");
27221
27301
 
27222
27302
  // ../core/dist/runtime/runs.js
27223
27303
  async function wakeUpRun(world, runId, options) {
@@ -27544,7 +27624,7 @@ var Run = class _Run {
27544
27624
  value: "wakeUp",
27545
27625
  configurable: true
27546
27626
  });
27547
- })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#wakeUp");
27627
+ })(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#wakeUp");
27548
27628
  (function(__wf_fn, __wf_id) {
27549
27629
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27550
27630
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27553,7 +27633,7 @@ var Run = class _Run {
27553
27633
  value: "cancel",
27554
27634
  configurable: true
27555
27635
  });
27556
- })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#cancel");
27636
+ })(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#cancel");
27557
27637
  (function(__wf_fn, __wf_id) {
27558
27638
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27559
27639
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27562,7 +27642,7 @@ var Run = class _Run {
27562
27642
  value: "getReadable",
27563
27643
  configurable: true
27564
27644
  });
27565
- })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#getReadable");
27645
+ })(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#getReadable");
27566
27646
  (function(__wf_fn, __wf_id) {
27567
27647
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27568
27648
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27571,7 +27651,7 @@ var Run = class _Run {
27571
27651
  value: "exists",
27572
27652
  configurable: true
27573
27653
  });
27574
- })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#exists");
27654
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#exists");
27575
27655
  (function(__wf_fn, __wf_id) {
27576
27656
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27577
27657
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27580,7 +27660,7 @@ var Run = class _Run {
27580
27660
  value: "status",
27581
27661
  configurable: true
27582
27662
  });
27583
- })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#status");
27663
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#status");
27584
27664
  (function(__wf_fn, __wf_id) {
27585
27665
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27586
27666
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27589,7 +27669,7 @@ var Run = class _Run {
27589
27669
  value: "returnValue",
27590
27670
  configurable: true
27591
27671
  });
27592
- })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#returnValue");
27672
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#returnValue");
27593
27673
  (function(__wf_fn, __wf_id) {
27594
27674
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27595
27675
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27598,7 +27678,7 @@ var Run = class _Run {
27598
27678
  value: "workflowName",
27599
27679
  configurable: true
27600
27680
  });
27601
- })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#workflowName");
27681
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#workflowName");
27602
27682
  (function(__wf_fn, __wf_id) {
27603
27683
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27604
27684
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27607,7 +27687,7 @@ var Run = class _Run {
27607
27687
  value: "createdAt",
27608
27688
  configurable: true
27609
27689
  });
27610
- })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#createdAt");
27690
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#createdAt");
27611
27691
  (function(__wf_fn, __wf_id) {
27612
27692
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27613
27693
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27616,7 +27696,7 @@ var Run = class _Run {
27616
27696
  value: "startedAt",
27617
27697
  configurable: true
27618
27698
  });
27619
- })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#startedAt");
27699
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#startedAt");
27620
27700
  (function(__wf_fn, __wf_id) {
27621
27701
  var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27622
27702
  __wf_reg.set(__wf_id, __wf_fn);
@@ -27625,7 +27705,7 @@ var Run = class _Run {
27625
27705
  value: "completedAt",
27626
27706
  configurable: true
27627
27707
  });
27628
- })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.25//Run#completedAt");
27708
+ })(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.26//Run#completedAt");
27629
27709
  (function(__wf_cls, __wf_id) {
27630
27710
  var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
27631
27711
  __wf_reg.set(__wf_id, __wf_cls);
@@ -27635,7 +27715,7 @@ var Run = class _Run {
27635
27715
  enumerable: false,
27636
27716
  configurable: false
27637
27717
  });
27638
- })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.25//Run");
27718
+ })(Run, "class//@workflow/core/runtime/run@5.0.0-beta.26//Run");
27639
27719
 
27640
27720
  // ../workflow/dist/stdlib.js
27641
27721
  async function fetch2(...args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow/world-testing",
3
- "version": "5.0.0-beta.25",
3
+ "version": "5.0.0-beta.26",
4
4
  "description": "Testing utilities and World implementation for Workflow SDK",
5
5
  "main": "dist/src/index.mjs",
6
6
  "files": [
@@ -21,10 +21,10 @@
21
21
  "hono": "4.12.25",
22
22
  "jsonlines": "0.1.1",
23
23
  "zod": "~4.3.6",
24
- "@workflow/cli": "5.0.0-beta.25",
25
- "@workflow/core": "5.0.0-beta.25",
24
+ "@workflow/cli": "5.0.0-beta.26",
25
+ "@workflow/core": "5.0.0-beta.26",
26
26
  "@workflow/world": "5.0.0-beta.14",
27
- "workflow": "5.0.0-beta.25"
27
+ "workflow": "5.0.0-beta.26"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/jsonlines": "0.1.5",