cyberdesk 2.2.24 → 2.2.26

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.
@@ -732,7 +732,7 @@ export type RunBulkCreate = {
732
732
  */
733
733
  count: number;
734
734
  /**
735
- * Sensitive input values (supports nested objects) to store in the secure vault per run. Not persisted in our database.
735
+ * Sensitive input values (supports nested objects) to store in the secure vault per run. Not persisted in our database. In workflow input_schema, sensitive root keys are validated under a '$' prefixed key.
736
736
  */
737
737
  sensitive_input_values?: {
738
738
  [key: string]: unknown;
@@ -799,7 +799,7 @@ export type RunCreate = {
799
799
  */
800
800
  file_inputs?: Array<FileInput> | null;
801
801
  /**
802
- * Sensitive input values (supports nested objects). These are not stored and will be written to a secure vault and referenced by alias only.
802
+ * Sensitive input values (supports nested objects). These are not stored and will be written to a secure vault and referenced by alias only. In workflow input_schema, sensitive root keys are validated under a '$' prefixed key (for example input key 'api_key' is '$api_key').
803
803
  */
804
804
  sensitive_input_values?: {
805
805
  [key: string]: unknown;
@@ -1152,6 +1152,10 @@ export type WorkflowChainResponse = {
1152
1152
  export type WorkflowCreate = {
1153
1153
  name?: string | null;
1154
1154
  main_prompt: string;
1155
+ /**
1156
+ * JSON schema for validating merged run inputs. Sensitive root keys are exposed with a '$' prefix in schema validation (for example sensitive_input_values.api_key -> '$api_key').
1157
+ */
1158
+ input_schema?: string | null;
1155
1159
  /**
1156
1160
  * JSON schema for output data transformation
1157
1161
  */
@@ -1275,6 +1279,10 @@ export type WorkflowPromptImageSignedUrlResponse = {
1275
1279
  export type WorkflowResponse = {
1276
1280
  name?: string | null;
1277
1281
  main_prompt: string;
1282
+ /**
1283
+ * JSON schema for validating merged run inputs. Sensitive root keys are exposed with a '$' prefix in schema validation (for example sensitive_input_values.api_key -> '$api_key').
1284
+ */
1285
+ input_schema?: string | null;
1278
1286
  /**
1279
1287
  * JSON schema for output data transformation
1280
1288
  */
@@ -1400,6 +1408,10 @@ export type WorkflowTagUpdate = {
1400
1408
  export type WorkflowUpdate = {
1401
1409
  name?: string | null;
1402
1410
  main_prompt?: string | null;
1411
+ /**
1412
+ * JSON schema for validating merged run inputs. Sensitive root keys are exposed with a '$' prefix in schema validation (for example sensitive_input_values.api_key -> '$api_key').
1413
+ */
1414
+ input_schema?: string | null;
1403
1415
  /**
1404
1416
  * JSON schema for output data transformation
1405
1417
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberdesk",
3
- "version": "2.2.24",
3
+ "version": "2.2.26",
4
4
  "description": "The official TypeScript SDK for Cyberdesk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",