cyberdesk 2.2.29 → 2.2.30

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.
@@ -1178,6 +1178,23 @@ export type WorkflowCreate = {
1178
1178
  */
1179
1179
  model_metadata?: WorkflowModelMetadata | null;
1180
1180
  };
1181
+ /**
1182
+ * Backend workflow metadata exposed read-only for internal observability.
1183
+ */
1184
+ export type WorkflowInternalMetadata = {
1185
+ /**
1186
+ * True when at least one run has failed and remains unaddressed.
1187
+ */
1188
+ has_unaddressed_error?: boolean | null;
1189
+ /**
1190
+ * Start timestamp of the most recent errored/task_failed run.
1191
+ */
1192
+ last_errored_run_start?: string | null;
1193
+ /**
1194
+ * Run UUID of the most recent errored/task_failed run.
1195
+ */
1196
+ last_errored_run_uuid?: string | null;
1197
+ };
1181
1198
  /**
1182
1199
  * Schema for merging workflows
1183
1200
  */
@@ -1308,6 +1325,10 @@ export type WorkflowResponse = {
1308
1325
  user_id?: string | null;
1309
1326
  organization_id?: string | null;
1310
1327
  includes_input_variables?: boolean;
1328
+ /**
1329
+ * Internal workflow metadata used for run/error tracking.
1330
+ */
1331
+ workflow_metadata?: WorkflowInternalMetadata | null;
1311
1332
  old_versions?: Array<{
1312
1333
  [key: string]: unknown;
1313
1334
  }> | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberdesk",
3
- "version": "2.2.29",
3
+ "version": "2.2.30",
4
4
  "description": "The official TypeScript SDK for Cyberdesk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",