@workflow/world-testing 5.0.0-beta.47 → 5.0.0-beta.49

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.
@@ -3,39 +3,42 @@
3
3
  "steps": {
4
4
  "core/dist/runtime/run.js": {
5
5
  "Run#cancel": {
6
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#cancel"
6
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#cancel"
7
7
  },
8
8
  "Run#completedAt": {
9
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#completedAt"
9
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#completedAt"
10
10
  },
11
11
  "Run#createdAt": {
12
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#createdAt"
12
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#createdAt"
13
13
  },
14
14
  "Run#exists": {
15
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#exists"
15
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#exists"
16
16
  },
17
17
  "Run#getReadable": {
18
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#getReadable"
18
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#getReadable"
19
+ },
20
+ "Run#getWritable": {
21
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#getWritable"
19
22
  },
20
23
  "Run#returnValue": {
21
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#returnValue"
24
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#returnValue"
22
25
  },
23
26
  "Run#startedAt": {
24
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#startedAt"
27
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#startedAt"
25
28
  },
26
29
  "Run#status": {
27
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#status"
30
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#status"
28
31
  },
29
32
  "Run#wakeUp": {
30
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#wakeUp"
33
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#wakeUp"
31
34
  },
32
35
  "Run#workflowName": {
33
- "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.47//Run#workflowName"
36
+ "stepId": "step//@workflow/core/runtime/run@5.0.0-beta.49//Run#workflowName"
34
37
  }
35
38
  },
36
39
  "core/dist/runtime/start.js": {
37
40
  "start": {
38
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.47//start"
41
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.49//start"
39
42
  }
40
43
  },
41
44
  "workflow/dist/internal/builtins.js": {
@@ -1295,7 +1298,7 @@
1295
1298
  "data": {
1296
1299
  "label": "start",
1297
1300
  "nodeKind": "step",
1298
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.47//start"
1301
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.49//start"
1299
1302
  }
1300
1303
  },
1301
1304
  {
@@ -1402,7 +1405,7 @@
1402
1405
  "data": {
1403
1406
  "label": "start",
1404
1407
  "nodeKind": "step",
1405
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.47//start"
1408
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.49//start"
1406
1409
  }
1407
1410
  },
1408
1411
  {
@@ -1463,7 +1466,7 @@
1463
1466
  "data": {
1464
1467
  "label": "start",
1465
1468
  "nodeKind": "step",
1466
- "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.47//start"
1469
+ "stepId": "step//@workflow/core/runtime/start@5.0.0-beta.49//start"
1467
1470
  }
1468
1471
  },
1469
1472
  {
@@ -1764,7 +1767,7 @@
1764
1767
  "classes": {
1765
1768
  "core/dist/runtime/run.js": {
1766
1769
  "Run": {
1767
- "classId": "class//@workflow/core/runtime/run@5.0.0-beta.47//Run"
1770
+ "classId": "class//@workflow/core/runtime/run@5.0.0-beta.49//Run"
1768
1771
  }
1769
1772
  }
1770
1773
  }
@@ -81,7 +81,6 @@ export declare function createFetcher(control: Control): {
81
81
  createdAt: Date;
82
82
  updatedAt: Date;
83
83
  status: "completed";
84
- output: unknown;
85
84
  completedAt: Date;
86
85
  specVersion?: number | undefined;
87
86
  executionContext?: Record<string, any> | undefined;
@@ -90,6 +89,7 @@ export declare function createFetcher(control: Control): {
90
89
  encryptionPublicKey?: string | undefined;
91
90
  expiredAt?: Date | undefined;
92
91
  startedAt?: Date | undefined;
92
+ output?: unknown;
93
93
  error?: undefined;
94
94
  } | {
95
95
  runId: string;
@@ -99,7 +99,6 @@ export declare function createFetcher(control: Control): {
99
99
  createdAt: Date;
100
100
  updatedAt: Date;
101
101
  status: "failed";
102
- error: unknown;
103
102
  completedAt: Date;
104
103
  specVersion?: number | undefined;
105
104
  executionContext?: Record<string, any> | undefined;
@@ -109,6 +108,7 @@ export declare function createFetcher(control: Control): {
109
108
  expiredAt?: Date | undefined;
110
109
  startedAt?: Date | undefined;
111
110
  output?: undefined;
111
+ error?: unknown;
112
112
  }>;
113
113
  getReadable(id: string): Promise<ReadableStream<Uint8Array>>;
114
114
  resumeHook<T extends TypedHook<any, any>>(token: string, payload: Omit<NoInfer<TypedHook.Input<T>>, "metadata">): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow/world-testing",
3
- "version": "5.0.0-beta.47",
3
+ "version": "5.0.0-beta.49",
4
4
  "description": "Testing utilities and World implementation for Workflow SDK",
5
5
  "main": "dist/src/index.mjs",
6
6
  "files": [
@@ -17,21 +17,21 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@hono/node-server": "1.19.13",
20
+ "@workflow/cli": "5.0.0-beta.49",
21
+ "@workflow/core": "5.0.0-beta.49",
22
+ "@workflow/world": "5.0.0-beta.34",
20
23
  "chalk": "5.6.2",
21
24
  "hono": "4.12.25",
22
25
  "jsonlines": "0.1.1",
23
- "zod": "~4.3.6",
24
- "@workflow/core": "5.0.0-beta.47",
25
- "@workflow/cli": "5.0.0-beta.47",
26
- "@workflow/world": "5.0.0-beta.32",
27
- "workflow": "5.0.0-beta.47"
26
+ "workflow": "5.0.0-beta.49",
27
+ "zod": "~4.3.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/jsonlines": "0.1.5",
31
31
  "@types/node": "22.19.0",
32
+ "@workflow/tsconfig": "5.0.0-beta.0",
32
33
  "typescript": "^6.0.3",
33
- "vitest": "^4.1.10",
34
- "@workflow/tsconfig": "5.0.0-beta.0"
34
+ "vitest": "^4.1.10"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "vitest": "^4.1.10"