@outputai/cli 0.7.0 → 0.7.1-next.5a29fff.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.
@@ -226,6 +226,39 @@ export declare const WorkflowResultResponseStatus: {
226
226
  readonly timed_out: "timed_out";
227
227
  readonly continued: "continued";
228
228
  };
229
+ /**
230
+ * Structured failure details if the workflow failed, null otherwise
231
+ * @nullable
232
+ */
233
+ export type WorkflowResultResponseErrorDetails = {
234
+ /**
235
+ * Friendly failure message (from the underlying application error)
236
+ * @nullable
237
+ */
238
+ message?: string | null;
239
+ /**
240
+ * Error name/type (the original error's class)
241
+ * @nullable
242
+ */
243
+ name?: string | null;
244
+ /**
245
+ * Whether Temporal flagged the failure retryable; null if unknown
246
+ * @nullable
247
+ */
248
+ retryable?: boolean | null;
249
+ /**
250
+ * Failing activity key ("workflow#step"); null if no activity failed
251
+ * @nullable
252
+ */
253
+ activityId?: string | null;
254
+ /**
255
+ * Sanitized error cause chain (name/message per level, no stack)
256
+ * @nullable
257
+ */
258
+ cause?: {
259
+ [key: string]: unknown;
260
+ } | null;
261
+ } | null | null;
229
262
  export interface WorkflowResultResponse {
230
263
  /** The workflow execution id */
231
264
  workflowId?: string;
@@ -248,6 +281,11 @@ export interface WorkflowResultResponse {
248
281
  * @nullable
249
282
  */
250
283
  error?: string | null;
284
+ /**
285
+ * Structured failure details if the workflow failed, null otherwise
286
+ * @nullable
287
+ */
288
+ errorDetails?: WorkflowResultResponseErrorDetails;
251
289
  }
252
290
  export interface StopWorkflowResponse {
253
291
  workflowId?: string;
@@ -80,7 +80,7 @@ services:
80
80
  condition: service_healthy
81
81
  worker:
82
82
  condition: service_healthy
83
- image: outputai/api:${OUTPUT_API_VERSION:-0.7.0}
83
+ image: outputai/api:${OUTPUT_API_VERSION:-0.7.1-next.5a29fff.0}
84
84
  init: true
85
85
  networks:
86
86
  - main
@@ -1,3 +1,3 @@
1
1
  {
2
- "framework": "0.7.0"
2
+ "framework": "0.7.1-next.5a29fff.0"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outputai/cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.1-next.5a29fff.0",
4
4
  "description": "CLI for Output.ai workflow generation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,9 +36,9 @@
36
36
  "semver": "7.7.4",
37
37
  "undici": "8.1.0",
38
38
  "yaml": "^2.8.3",
39
- "@outputai/credentials": "0.7.0",
40
- "@outputai/evals": "0.7.0",
41
- "@outputai/llm": "0.7.0"
39
+ "@outputai/credentials": "0.7.1-next.5a29fff.0",
40
+ "@outputai/evals": "0.7.1-next.5a29fff.0",
41
+ "@outputai/llm": "0.7.1-next.5a29fff.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/cli-progress": "3.11.6",