cyberdesk 1.5.0 → 1.7.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.
@@ -182,6 +182,12 @@ export type RunCreate = {
182
182
  * Machine ID. If not provided, an available machine will be automatically selected.
183
183
  */
184
184
  machine_id?: string | null;
185
+ /**
186
+ * Input values for workflow variables
187
+ */
188
+ input_values?: {
189
+ [key: string]: unknown;
190
+ } | null;
185
191
  };
186
192
  /**
187
193
  * Run response schema
@@ -200,6 +206,9 @@ export type RunResponse = {
200
206
  run_message_history: Array<{
201
207
  [key: string]: unknown;
202
208
  }> | null;
209
+ input_values: {
210
+ [key: string]: unknown;
211
+ } | null;
203
212
  created_at: string;
204
213
  };
205
214
  export type RunStatus = 'scheduling' | 'running' | 'success' | 'cancelled' | 'error';
@@ -216,6 +225,9 @@ export type RunUpdate = {
216
225
  run_message_history?: Array<{
217
226
  [key: string]: unknown;
218
227
  }> | null;
228
+ input_values?: {
229
+ [key: string]: unknown;
230
+ } | null;
219
231
  };
220
232
  /**
221
233
  * Schema for creating a trajectory
@@ -270,6 +282,10 @@ export type ValidationError = {
270
282
  export type WorkflowCreate = {
271
283
  name?: string | null;
272
284
  main_prompt: string;
285
+ /**
286
+ * JSON schema for output data transformation
287
+ */
288
+ output_schema?: string | null;
273
289
  };
274
290
  /**
275
291
  * Workflow response schema
@@ -277,8 +293,13 @@ export type WorkflowCreate = {
277
293
  export type WorkflowResponse = {
278
294
  name?: string | null;
279
295
  main_prompt: string;
296
+ /**
297
+ * JSON schema for output data transformation
298
+ */
299
+ output_schema?: string | null;
280
300
  id: string;
281
301
  user_id: string;
302
+ includes_input_variables?: boolean;
282
303
  old_versions?: Array<{
283
304
  [key: string]: unknown;
284
305
  }> | null;
@@ -291,6 +312,10 @@ export type WorkflowResponse = {
291
312
  export type WorkflowUpdate = {
292
313
  name?: string | null;
293
314
  main_prompt?: string | null;
315
+ /**
316
+ * JSON schema for output data transformation
317
+ */
318
+ output_schema?: string | null;
294
319
  };
295
320
  export type HealthCheckV1HealthGetData = {
296
321
  body?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberdesk",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "description": "The official TypeScript SDK for Cyberdesk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",