@outputai/core 0.7.1-next.2a4105c.0 → 0.7.1-next.306c136.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outputai/core",
3
- "version": "0.7.1-next.2a4105c.0",
3
+ "version": "0.7.1-next.306c136.0",
4
4
  "description": "The core module of the output framework",
5
5
  "type": "module",
6
6
  "exports": {
@@ -85,6 +85,8 @@ export interface WorkflowDetails {
85
85
  export interface ErrorHookPayload {
86
86
  /** UUID v4 stamped per emit. Stable per-emit idempotency key. */
87
87
  eventId: string;
88
+ /** Timestamp of the event */
89
+ eventDate: number;
88
90
  /** Origin of the error: workflow execution, activity execution, or runtime. */
89
91
  source: 'workflow' | 'activity' | 'runtime';
90
92
  /** Information about the current workflow execution */
@@ -103,6 +105,8 @@ export interface ErrorHookPayload {
103
105
  export interface WorkflowStartHookPayload {
104
106
  /** UUID v4 stamped per emit. Stable per-emit idempotency key. */
105
107
  eventId: string;
108
+ /** Timestamp of the event */
109
+ eventDate: number;
106
110
  /** Information about the current workflow execution */
107
111
  workflowDetails: WorkflowDetails;
108
112
  }
@@ -113,6 +117,8 @@ export interface WorkflowStartHookPayload {
113
117
  export interface WorkflowEndHookPayload {
114
118
  /** UUID v4 stamped per emit. Stable per-emit idempotency key. */
115
119
  eventId: string;
120
+ /** Timestamp of the event */
121
+ eventDate: number;
116
122
  /** Information about the current workflow execution */
117
123
  workflowDetails: WorkflowDetails;
118
124
  }
@@ -123,6 +129,8 @@ export interface WorkflowEndHookPayload {
123
129
  export interface WorkflowErrorHookPayload {
124
130
  /** UUID v4 stamped per emit. Stable per-emit idempotency key. */
125
131
  eventId: string;
132
+ /** Timestamp of the event */
133
+ eventDate: number;
126
134
  /** Information about the current workflow execution */
127
135
  workflowDetails: WorkflowDetails;
128
136
  /** The error thrown. */
@@ -177,6 +185,8 @@ export declare function onWorkflowError( handler: ( payload: WorkflowErrorHookPa
177
185
  export interface OnHookEnvelope {
178
186
  /** UUID v4 stamped per emit. Stable per-emit idempotency key. */
179
187
  eventId: string;
188
+ /** Timestamp of the event */
189
+ eventDate: number;
180
190
  /** Information about the current workflow execution */
181
191
  workflowDetails: WorkflowDetails;
182
192
  /** Temporal's activityInfo(). */