@output.ai/core 0.1.18-dev.pr31-foo → 0.1.18

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 (23) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +33 -2
  3. package/src/index.js +1 -1
  4. package/src/tracing/index.d.ts +11 -10
  5. package/src/tracing/processors/local/temp/traces/1767713888257_continue_as_new-19b2e908-d403-438f-af77-080d43823bea.trace +0 -4
  6. package/src/tracing/processors/local/temp/traces/1767713888294_continue_as_new-19b2e908-d403-438f-af77-080d43823bea.trace +0 -6
  7. package/src/tracing/processors/local/temp/traces/1767728879418_continue_as_new-20b3caf3-bdfe-4083-9840-95b8cb669c7c.trace +0 -3
  8. package/src/tracing/processors/local/temp/traces/1767728961526_continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40.trace +0 -4
  9. package/src/tracing/processors/local/temp/traces/1767728961568_continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40.trace +0 -4
  10. package/src/tracing/processors/local/temp/traces/1767729551367_continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8.trace +0 -4
  11. package/src/tracing/processors/local/temp/traces/1767729551409_continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8.trace +0 -4
  12. package/src/tracing/processors/local/temp/traces/1767729584838_continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf.trace +0 -4
  13. package/src/tracing/processors/local/temp/traces/1767729584880_continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf.trace +0 -4
  14. package/src/tracing/processors/local/temp/traces/1767730300476_continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7.trace +0 -4
  15. package/src/tracing/processors/local/temp/traces/1767801228317_continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7.trace +0 -4
  16. package/src/tracing/processors/local/temp/traces/1767801231585_continue_as_new-717fd020-1b29-411a-9a8c-974539c362af.trace +0 -4
  17. package/src/tracing/processors/local/temp/traces/1767801231616_continue_as_new-717fd020-1b29-411a-9a8c-974539c362af.trace +0 -4
  18. package/src/tracing/processors/local/temp/traces/1767801234199_continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426.trace +0 -4
  19. package/src/tracing/processors/local/temp/traces/1767801234233_continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426.trace +0 -4
  20. package/src/tracing/processors/local/temp/traces/1767891175397_continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee.trace +0 -4
  21. package/src/tracing/processors/local/temp/traces/1767891175445_continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee.trace +0 -4
  22. package/src/worker/temp/__activity_options.js +0 -12
  23. package/src/worker/temp/__workflows_entrypoint.js +0 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@output.ai/core",
3
- "version": "0.1.18-dev.pr31-foo",
3
+ "version": "0.1.18",
4
4
  "description": "The core module of the output framework",
5
5
  "type": "module",
6
6
  "exports": {
package/src/index.d.ts CHANGED
@@ -6,6 +6,37 @@ import type { ActivityOptions } from '@temporalio/workflow';
6
6
  */
7
7
  export { z } from 'zod';
8
8
 
9
+ /**
10
+ * Pause workflow execution for a specified duration.
11
+ *
12
+ * Use this for delay-based throttling when calling external APIs.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * import { sleep } from '@output.ai/core';
17
+ *
18
+ * for ( const url of urls ) {
19
+ * await fetchUrl( url );
20
+ * await sleep( 100 ); // 100ms delay between calls
21
+ * }
22
+ * ```
23
+ *
24
+ * @param ms - Duration to sleep in milliseconds (or a string like '1s', '100ms')
25
+ * @returns A promise that resolves after the specified duration
26
+ *
27
+ */
28
+ export function sleep( ms: number | string ): Promise<void>;
29
+
30
+ /**
31
+ * Continue the workflow as a new execution with fresh history.
32
+ *
33
+ * Re-exported from Temporal for advanced use cases. Prefer using
34
+ * `context.control.continueAsNew()` within workflows for type-safe usage.
35
+ *
36
+ * @see {@link https://docs.temporal.io/develop/typescript/continue-as-new}
37
+ */
38
+ export { continueAsNew } from '@temporalio/workflow';
39
+
9
40
  /*
10
41
  ╭─────────────────────────╮
11
42
  │ C O M M O N T Y P E S │╮
@@ -573,7 +604,7 @@ export declare function createWebhook( params: { url: string; payload?: object }
573
604
  *
574
605
  * Throw this error to end the workflow execution altogether without retries.
575
606
  */
576
- export class FatalError extends Error {}
607
+ export class FatalError extends Error { }
577
608
 
578
609
  /**
579
610
  * Error indicating invalid input or schema validation issues.
@@ -582,4 +613,4 @@ export class FatalError extends Error {}
582
613
  *
583
614
  * It will end the workflow execution without retries.
584
615
  */
585
- export class ValidationError extends Error {}
616
+ export class ValidationError extends Error { }
package/src/index.js CHANGED
@@ -3,7 +3,7 @@ import { step } from './interface/step.js';
3
3
  import { workflow } from './interface/workflow.js';
4
4
  import { createWebhook } from './interface/webhook.js';
5
5
  import { FatalError, ValidationError } from './errors.js';
6
- export { continueAsNew } from '@temporalio/workflow';
6
+ export { continueAsNew, sleep } from '@temporalio/workflow';
7
7
  import { z } from 'zod';
8
8
 
9
9
  export {
@@ -15,10 +15,11 @@ export declare const Tracing: {
15
15
  /**
16
16
  * Adds the start phase of a new event at the default trace for the current workflow.
17
17
  *
18
- * @param id - A unique id for the Event, must be the same across all phases: start, end, error.
19
- * @param kind - The kind of Event, like HTTP, DiskWrite, DBOp, etc.
20
- * @param name - The human friendly name of the Event: query, request, create.
21
- * @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
18
+ * @param {string} id - A unique id for the Event, must be the same across all phases: start, end, error.
19
+ * @param {string} kind - The kind of Event, like HTTP, DiskWrite, DBOp, etc.
20
+ * @param {string} name - The human friendly name of the Event: query, request, create.
21
+ * @param {any} details - All details attached to this Event Phase. DB queried records, HTTP response body.
22
+ * @returns {void}
22
23
  */
23
24
  addEventStart( args: { id: string; kind: string; name: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
24
25
 
@@ -27,9 +28,9 @@ export declare const Tracing: {
27
28
  *
28
29
  * It needs to use the same id of the start phase.
29
30
  *
30
- * @param id - A unique id for the Event, must be the same across all phases: start, end, error.
31
- * @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
32
- * @returns
31
+ * @param {string} id - A unique id for the Event, must be the same across all phases: start, end, error.
32
+ * @param {any} details - All details attached to this Event Phase. DB queried records, HTTP response body.
33
+ * @returns {void}
33
34
  */
34
35
  addEventEnd( args: { id: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
35
36
 
@@ -38,9 +39,9 @@ export declare const Tracing: {
38
39
  *
39
40
  * It needs to use the same id of the start phase.
40
41
  *
41
- * @param id - A unique id for the Event, must be the same across all phases: start, end, error.
42
- * @param details - All details attached to this Event Phase. DB queried records, HTTP response body.
43
- * @returns
42
+ * @param {string} id - A unique id for the Event, must be the same across all phases: start, end, error.
43
+ * @param {any} details - All details attached to this Event Phase. DB queried records, HTTP response body.
44
+ * @returns {void}
44
45
  */
45
46
  addEventError( args: { id: string; details: any } ): void; // eslint-disable-line @typescript-eslint/no-explicit-any
46
47
  };
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713888277,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713888285,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713888285,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713888293,"details":"<continued_as_new>"}
@@ -1,6 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713889325,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713889333,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713889334,"details":3}
4
- {"kind":"internal_step","phase":"start","name":"__internal#getTraceDestinations","id":"2","parentId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713889345,"details":{"startTime":"2026-01-06T15:38:08.294Z","workflowId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","workflowName":"continue_as_new"}}
5
- {"kind":"internal_step","phase":"end","name":"__internal#getTraceDestinations","id":"2","parentId":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713889345,"details":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-06-15-38-08-294Z_continue_as_new-19b2e908-d403-438f-af77-080d43823bea.json","remote":null}}
6
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-19b2e908-d403-438f-af77-080d43823bea","timestamp":1767713889351,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-06-15-38-08-294Z_continue_as_new-19b2e908-d403-438f-af77-080d43823bea.json","remote":null}}}}
@@ -1,3 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-20b3caf3-bdfe-4083-9840-95b8cb669c7c","timestamp":1767728879442,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-20b3caf3-bdfe-4083-9840-95b8cb669c7c","timestamp":1767728879450,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-20b3caf3-bdfe-4083-9840-95b8cb669c7c","timestamp":1767728879451,"details":2}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728961548,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728961556,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728961557,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728961567,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728962590,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728962598,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728962599,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40","timestamp":1767728962614,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-06-19-49-21-568Z_continue_as_new-5e315608-6e29-42c5-b79a-05f82b437b40.json","remote":null}}}}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729551389,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729551398,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729551399,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729551408,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729552441,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729552450,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729552451,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8","timestamp":1767729552466,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-06-19-59-11-409Z_continue_as_new-33a8b9ac-2c3d-4afe-bfa3-9f07d444dfe8.json","remote":null}}}}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729584859,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729584869,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729584869,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729584879,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729585911,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729585922,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729585922,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf","timestamp":1767729585938,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-06-19-59-44-880Z_continue_as_new-d18f20bb-f97a-4bfa-bfc1-48dd72b9fedf.json","remote":null}}}}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767730300497,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767730300506,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767730300506,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767801228316,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767801228333,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767801228340,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767801228341,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7","timestamp":1767801228353,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-07-15-53-48-317Z_continue_as_new-7887230c-c45f-4393-b26c-eae7b9f095a7.json","remote":null}}}}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801231603,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801231609,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801231610,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801231615,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801232633,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801232642,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801232642,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-717fd020-1b29-411a-9a8c-974539c362af","timestamp":1767801232655,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-07-15-53-51-616Z_continue_as_new-717fd020-1b29-411a-9a8c-974539c362af.json","remote":null}}}}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801234219,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801234226,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801234227,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801234232,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801235252,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801235258,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801235259,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426","timestamp":1767801235272,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-07-15-53-54-233Z_continue_as_new-3c43d860-c2e0-4a04-808b-2676bf896426.json","remote":null}}}}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891175423,"details":{"value":1}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891175433,"details":1}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891175433,"details":2}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891175443,"details":"<continued_as_new>"}
@@ -1,4 +0,0 @@
1
- {"kind":"workflow","phase":"start","name":"continue_as_new","id":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891176473,"details":{"value":2}}
2
- {"kind":"step","phase":"start","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891176480,"details":2}
3
- {"kind":"step","phase":"end","name":"/app/test_workflows/dist/continue_as_new#increment","id":"1","parentId":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891176481,"details":3}
4
- {"kind":"workflow","phase":"end","name":"continue_as_new","id":"continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee","timestamp":1767891176499,"details":{"output":{"result":3},"trace":{"destinations":{"local":"/Users/sz/Dev/output/test_workflows/logs/runs/continue_as_new/2026-01-08-16-52-55-445Z_continue_as_new-ee44babc-7690-4488-a24d-3ff258591bee.json","remote":null}}}}
@@ -1,12 +0,0 @@
1
- export default {
2
- "/app/test_workflows/dist/helper_fn#sumValues": {
3
- "retry": {
4
- "initialInterval": "5s"
5
- }
6
- },
7
- "/app/test_workflows/dist/simple#sumValues": {
8
- "retry": {
9
- "initialInterval": "5s"
10
- }
11
- }
12
- };
@@ -1,21 +0,0 @@
1
- export { default as continue_as_new } from '/app/test_workflows/dist/continue_as_new/workflow.js';
2
- export { default as test_error } from '/app/test_workflows/dist/error/workflow.js';
3
- export { default as evaluation } from '/app/test_workflows/dist/evaluation/workflow.js';
4
- export { default as helper_fn } from '/app/test_workflows/dist/helper_fn/workflow.js';
5
- export { default as http } from '/app/test_workflows/dist/http/workflow.js';
6
- export { default as nested } from '/app/test_workflows/dist/nested/workflow.js';
7
- export { default as prompt } from '/app/test_workflows/dist/prompt/workflow.js';
8
- export { default as shared } from '/app/test_workflows/dist/shared/workflow.js';
9
- export { default as simple } from '/app/test_workflows/dist/simple/workflow.js';
10
- export { default as slow } from '/app/test_workflows/dist/slow/workflow.js';
11
- export { default as simpleLinear } from '/app/test_workflows/dist/viz_examples/01_simple_linear/workflow.js';
12
- export { default as conditionalBranching } from '/app/test_workflows/dist/viz_examples/02_conditional_branching/workflow.js';
13
- export { default as loopWhile } from '/app/test_workflows/dist/viz_examples/03_loop_while/workflow.js';
14
- export { default as nestedConditions } from '/app/test_workflows/dist/viz_examples/04_nested_conditions/workflow.js';
15
- export { default as switchStatement } from '/app/test_workflows/dist/viz_examples/05_switch_statement/workflow.js';
16
- export { default as forLoop } from '/app/test_workflows/dist/viz_examples/07_for_loop/workflow.js';
17
- export { default as earlyReturn } from '/app/test_workflows/dist/viz_examples/08_early_return/workflow.js';
18
- export { default as complexWorkflow } from '/app/test_workflows/dist/viz_examples/10_complex_workflow/workflow.js';
19
- export { default as nestedLoops } from '/app/test_workflows/dist/viz_examples/11_nested_loops/workflow.js';
20
- export { default as webhook } from '/app/test_workflows/dist/webhook/workflow.js';
21
- export { default as $catalog } from '/app/sdk/core/src/worker/catalog_workflow/workflow.js';