@zocomputer/system-api 0.1.0 → 0.1.2

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.
@@ -267,7 +267,7 @@
267
267
  "name": "zo.agent.create",
268
268
  "version": 1,
269
269
  "publisher": "zo",
270
- "description": "Create an Agent in a workspace. A zo.native Agent requires the workspace to be on Metronome billing.",
270
+ "description": "Create an Agent in a workspace. A zo.native Agent requires the workspace to be on Metronome billing. Describe what this Agent is for in the user's terms.",
271
271
  "input_schema": {
272
272
  "additionalProperties": false,
273
273
  "properties": {
@@ -283,6 +283,13 @@
283
283
  "title": "Display Name",
284
284
  "type": "string"
285
285
  },
286
+ "description": {
287
+ "default": "",
288
+ "description": "Describe what this Agent is for in the user's terms.",
289
+ "maxLength": 2000,
290
+ "title": "Description",
291
+ "type": "string"
292
+ },
286
293
  "visibility": {
287
294
  "default": "workspace",
288
295
  "enum": [
@@ -405,6 +412,10 @@
405
412
  "title": "Display Name",
406
413
  "type": "string"
407
414
  },
415
+ "description": {
416
+ "title": "Description",
417
+ "type": "string"
418
+ },
408
419
  "revision": {
409
420
  "exclusiveMinimum": 0,
410
421
  "maximum": 9007199254740991,
@@ -460,6 +471,7 @@
460
471
  "type",
461
472
  "type_version",
462
473
  "display_name",
474
+ "description",
463
475
  "revision",
464
476
  "implementation",
465
477
  "configuration",
@@ -607,7 +619,7 @@
607
619
  "conflict",
608
620
  "invalid_definition"
609
621
  ],
610
- "digest": "sha256:c593aa0a48ee1f9515eafb9087ab587f251f39f32e0b04d767ea1eb1d6d43674"
622
+ "digest": "sha256:4fbc9ab5aa876ca0ca2c3ee8c7a82eeda3166ea8eb9427110f2c496327ff5a44"
611
623
  },
612
624
  {
613
625
  "name": "zo.agent.delete",
@@ -728,6 +740,10 @@
728
740
  "title": "Display Name",
729
741
  "type": "string"
730
742
  },
743
+ "description": {
744
+ "title": "Description",
745
+ "type": "string"
746
+ },
731
747
  "revision": {
732
748
  "exclusiveMinimum": 0,
733
749
  "maximum": 9007199254740991,
@@ -783,6 +799,7 @@
783
799
  "type",
784
800
  "type_version",
785
801
  "display_name",
802
+ "description",
786
803
  "revision",
787
804
  "implementation",
788
805
  "configuration",
@@ -929,7 +946,7 @@
929
946
  "implementation_unavailable",
930
947
  "resource_not_found"
931
948
  ],
932
- "digest": "sha256:3a65d4c7e0de2c543834c3b7c7c960ecc4ca8953051afcb828b8c7cb35b33a3a"
949
+ "digest": "sha256:1560dba5acc73165eff2d8fd59db25b74a6f0b84d78d45bd111a2a9d9fa30616"
933
950
  },
934
951
  {
935
952
  "name": "zo.agent.list",
@@ -1015,6 +1032,10 @@
1015
1032
  "title": "Display Name",
1016
1033
  "type": "string"
1017
1034
  },
1035
+ "description": {
1036
+ "title": "Description",
1037
+ "type": "string"
1038
+ },
1018
1039
  "revision": {
1019
1040
  "exclusiveMinimum": 0,
1020
1041
  "maximum": 9007199254740991,
@@ -1070,6 +1091,7 @@
1070
1091
  "type",
1071
1092
  "type_version",
1072
1093
  "display_name",
1094
+ "description",
1073
1095
  "revision",
1074
1096
  "implementation",
1075
1097
  "configuration",
@@ -1215,7 +1237,7 @@
1215
1237
  "error_codes": [
1216
1238
  "implementation_unavailable"
1217
1239
  ],
1218
- "digest": "sha256:3c76302e49c7d7fec9c4d73ef8bff1c81bf0ee0e99c263b57ffbd431c8151bad"
1240
+ "digest": "sha256:d4a96db2bedb15c6bc484d5a1142bca8b9e386f5e277a57615274aa7e44d910b"
1219
1241
  },
1220
1242
  {
1221
1243
  "name": "zo.agent.list_messages",
@@ -2035,6 +2057,20 @@
2035
2057
  "default": null,
2036
2058
  "title": "Display Name"
2037
2059
  },
2060
+ "description": {
2061
+ "anyOf": [
2062
+ {
2063
+ "maxLength": 2000,
2064
+ "type": "string"
2065
+ },
2066
+ {
2067
+ "type": "null"
2068
+ }
2069
+ ],
2070
+ "default": null,
2071
+ "description": "Describe what this Agent is for in the user's terms.",
2072
+ "title": "Description"
2073
+ },
2038
2074
  "configuration": {
2039
2075
  "anyOf": [
2040
2076
  {
@@ -2149,6 +2185,10 @@
2149
2185
  "title": "Display Name",
2150
2186
  "type": "string"
2151
2187
  },
2188
+ "description": {
2189
+ "title": "Description",
2190
+ "type": "string"
2191
+ },
2152
2192
  "revision": {
2153
2193
  "exclusiveMinimum": 0,
2154
2194
  "maximum": 9007199254740991,
@@ -2204,6 +2244,7 @@
2204
2244
  "type",
2205
2245
  "type_version",
2206
2246
  "display_name",
2247
+ "description",
2207
2248
  "revision",
2208
2249
  "implementation",
2209
2250
  "configuration",
@@ -2352,7 +2393,7 @@
2352
2393
  "invalid_definition",
2353
2394
  "resource_not_found"
2354
2395
  ],
2355
- "digest": "sha256:7d5e23eae129a899a6df255bf6c0d217c527979b2339f19329b0b770b825e37c"
2396
+ "digest": "sha256:9e1fe6ba87805ca19b754c33d82884eda4ab90a822321d23a1011333d721acb4"
2356
2397
  },
2357
2398
  {
2358
2399
  "name": "zo.agent_session.get",
@@ -3025,7 +3066,7 @@
3025
3066
  "name": "zo.connection.create",
3026
3067
  "version": 1,
3027
3068
  "publisher": "zo",
3028
- "description": "Create a connection from a published definition. A protected connection is reachable only by its owner and the principals they grant.",
3069
+ "description": "Create a connection from a published definition, or from named values on a private definition Zo publishes for it. A protected connection is reachable only by its owner and the principals they grant. Describe what this connection is for in the user's terms.",
3029
3070
  "input_schema": {
3030
3071
  "additionalProperties": false,
3031
3072
  "properties": {
@@ -3036,16 +3077,34 @@
3036
3077
  "type": "string"
3037
3078
  },
3038
3079
  "definition_id": {
3039
- "maxLength": 200,
3040
- "minLength": 1,
3041
- "title": "Definition Id",
3042
- "type": "string"
3080
+ "anyOf": [
3081
+ {
3082
+ "maxLength": 200,
3083
+ "minLength": 1,
3084
+ "type": "string"
3085
+ },
3086
+ {
3087
+ "type": "null"
3088
+ }
3089
+ ],
3090
+ "default": null,
3091
+ "description": "The published definition to connect to. Give it, or `values`, not both.",
3092
+ "title": "Definition Id"
3043
3093
  },
3044
3094
  "definition_version": {
3045
- "exclusiveMinimum": 0,
3046
- "maximum": 2147483647,
3047
- "title": "Definition Version",
3048
- "type": "integer"
3095
+ "anyOf": [
3096
+ {
3097
+ "exclusiveMinimum": 0,
3098
+ "maximum": 2147483647,
3099
+ "type": "integer"
3100
+ },
3101
+ {
3102
+ "type": "null"
3103
+ }
3104
+ ],
3105
+ "default": null,
3106
+ "description": "The version of `definition_id` to connect to; required with it.",
3107
+ "title": "Definition Version"
3049
3108
  },
3050
3109
  "display_name": {
3051
3110
  "maxLength": 256,
@@ -3053,59 +3112,31 @@
3053
3112
  "title": "Display Name",
3054
3113
  "type": "string"
3055
3114
  },
3056
- "configuration": {
3057
- "additionalProperties": {
3058
- "x-zo-json-value": true
3059
- },
3060
- "title": "Configuration",
3061
- "type": "object"
3062
- },
3063
- "visibility": {
3064
- "default": "workspace",
3065
- "enum": [
3066
- "workspace",
3067
- "protected"
3068
- ],
3069
- "title": "Visibility",
3070
- "type": "string"
3071
- }
3072
- },
3073
- "required": [
3074
- "workspace_id",
3075
- "definition_id",
3076
- "definition_version",
3077
- "display_name",
3078
- "configuration"
3079
- ],
3080
- "title": "ConnectionCreateInput",
3081
- "type": "object"
3082
- },
3083
- "output_schema": {
3084
- "additionalProperties": false,
3085
- "properties": {
3086
- "id": {
3087
- "title": "Id",
3088
- "type": "string"
3089
- },
3090
- "workspace_id": {
3091
- "title": "Workspace Id",
3092
- "type": "string"
3093
- },
3094
- "display_name": {
3095
- "title": "Display Name",
3096
- "type": "string"
3097
- },
3098
- "definition_id": {
3099
- "title": "Definition Id",
3115
+ "description": {
3116
+ "default": "",
3117
+ "description": "Describe what this connection is for in the user's terms.",
3118
+ "maxLength": 2000,
3119
+ "title": "Description",
3100
3120
  "type": "string"
3101
3121
  },
3102
- "definition_version": {
3103
- "exclusiveMinimum": 0,
3104
- "maximum": 2147483647,
3105
- "title": "Definition Version",
3106
- "type": "integer"
3122
+ "configuration": {
3123
+ "anyOf": [
3124
+ {
3125
+ "additionalProperties": {
3126
+ "x-zo-json-value": true
3127
+ },
3128
+ "type": "object"
3129
+ },
3130
+ {
3131
+ "type": "null"
3132
+ }
3133
+ ],
3134
+ "default": null,
3135
+ "description": "The connection's configuration; required with `definition_id`.",
3136
+ "title": "Configuration"
3107
3137
  },
3108
3138
  "visibility": {
3139
+ "default": "workspace",
3109
3140
  "enum": [
3110
3141
  "workspace",
3111
3142
  "protected"
@@ -3113,151 +3144,44 @@
3113
3144
  "title": "Visibility",
3114
3145
  "type": "string"
3115
3146
  },
3116
- "owner_user_id": {
3147
+ "values": {
3117
3148
  "anyOf": [
3118
3149
  {
3119
- "type": "string"
3150
+ "additionalProperties": {
3151
+ "description": "Secret: the value. Stored sealed and never returned.",
3152
+ "maxLength": 16384,
3153
+ "minLength": 1,
3154
+ "type": "string"
3155
+ },
3156
+ "maxProperties": 100,
3157
+ "minProperties": 1,
3158
+ "type": "object"
3120
3159
  },
3121
3160
  {
3122
3161
  "type": "null"
3123
3162
  }
3124
3163
  ],
3125
- "title": "Owner User Id"
3126
- },
3127
- "status": {
3128
- "enum": [
3129
- "configuring",
3130
- "ready",
3131
- "reauthorization_required",
3132
- "disabled",
3133
- "deleted"
3134
- ],
3135
- "title": "Status",
3136
- "type": "string"
3164
+ "default": null,
3165
+ "description": "Named values to store, in place of a definition: Zo publishes a private definition named after `display_name`, with one required key credential per name delivered as the environment variable of that name, creates the connection and stores every value. A definition name already taken in the workspace returns `conflict`. A name Zo refuses as an environment variable returns `invalid_input` with the `invalid_environment` violation.",
3166
+ "title": "Values"
3137
3167
  },
3138
- "revision": {
3139
- "exclusiveMinimum": 0,
3140
- "maximum": 9007199254740991,
3141
- "title": "Revision",
3142
- "type": "integer"
3168
+ "environment": {
3169
+ "additionalProperties": {
3170
+ "maxLength": 4096,
3171
+ "type": "string"
3172
+ },
3173
+ "default": {},
3174
+ "description": "Environment variables delivered, exactly as written, to machines that list this connection, beside its credential and the variables its definition sets. Plain strings, not secrets: put a secret in the vault. Names are upper-case letters, digits and underscores; at most 64 variables of at most 4096 characters each.",
3175
+ "maxProperties": 64,
3176
+ "title": "Environment",
3177
+ "type": "object"
3143
3178
  }
3144
3179
  },
3145
3180
  "required": [
3146
- "id",
3147
3181
  "workspace_id",
3148
- "display_name",
3149
- "definition_id",
3150
- "definition_version",
3151
- "visibility",
3152
- "owner_user_id",
3153
- "status",
3154
- "revision"
3155
- ],
3156
- "title": "ConnectionResource",
3157
- "type": "object"
3158
- },
3159
- "target": {
3160
- "type": "workspace",
3161
- "input_pointer": "/workspace_id"
3162
- },
3163
- "additional_checks": [],
3164
- "effect": "create",
3165
- "result_kind": "inline",
3166
- "error_codes": [
3167
- "invalid_input",
3168
- "resource_not_found"
3169
- ],
3170
- "digest": "sha256:996764cac5f7ef40d6ca7e45c15728d59c41c8df9d50897f7fadb9cc8a88aad0"
3171
- },
3172
- {
3173
- "name": "zo.connection.delete",
3174
- "version": 1,
3175
- "publisher": "zo",
3176
- "description": "Delete a connection and its stored credentials.",
3177
- "input_schema": {
3178
- "additionalProperties": false,
3179
- "properties": {
3180
- "connection_id": {
3181
- "maxLength": 200,
3182
- "minLength": 1,
3183
- "title": "Connection Id",
3184
- "type": "string"
3185
- },
3186
- "expected_revision": {
3187
- "exclusiveMinimum": 0,
3188
- "maximum": 9007199254740991,
3189
- "title": "Expected Revision",
3190
- "type": "integer"
3191
- }
3192
- },
3193
- "required": [
3194
- "connection_id",
3195
- "expected_revision"
3196
- ],
3197
- "title": "ConnectionTargetInput",
3198
- "type": "object"
3199
- },
3200
- "output_schema": {
3201
- "additionalProperties": false,
3202
- "properties": {
3203
- "state": {
3204
- "const": "deleted",
3205
- "title": "State",
3206
- "type": "string"
3207
- },
3208
- "revision": {
3209
- "exclusiveMinimum": 0,
3210
- "maximum": 9007199254740991,
3211
- "title": "Revision",
3212
- "type": "integer"
3213
- }
3214
- },
3215
- "required": [
3216
- "state",
3217
- "revision"
3218
- ],
3219
- "title": "ConnectionDeleteResult",
3220
- "type": "object"
3221
- },
3222
- "target": {
3223
- "type": "connection",
3224
- "input_pointer": "/connection_id"
3225
- },
3226
- "additional_checks": [],
3227
- "effect": "manage",
3228
- "result_kind": "inline",
3229
- "error_codes": [
3230
- "conflict",
3231
- "resource_not_found"
3232
- ],
3233
- "digest": "sha256:00245af5b9cc95f1ecbcc35dff5b7d1ebdff0c2fd40afbe818fb306bf72aaa5c"
3234
- },
3235
- {
3236
- "name": "zo.connection.disconnect",
3237
- "version": 1,
3238
- "publisher": "zo",
3239
- "description": "Remove the connection's stored credentials; the provider grant is revoked afterwards.",
3240
- "input_schema": {
3241
- "additionalProperties": false,
3242
- "properties": {
3243
- "connection_id": {
3244
- "maxLength": 200,
3245
- "minLength": 1,
3246
- "title": "Connection Id",
3247
- "type": "string"
3248
- },
3249
- "expected_revision": {
3250
- "exclusiveMinimum": 0,
3251
- "maximum": 9007199254740991,
3252
- "title": "Expected Revision",
3253
- "type": "integer"
3254
- }
3255
- },
3256
- "required": [
3257
- "connection_id",
3258
- "expected_revision"
3182
+ "display_name"
3259
3183
  ],
3260
- "title": "ConnectionTargetInput",
3184
+ "title": "ConnectionCreateInput",
3261
3185
  "type": "object"
3262
3186
  },
3263
3187
  "output_schema": {
@@ -3275,6 +3199,10 @@
3275
3199
  "title": "Display Name",
3276
3200
  "type": "string"
3277
3201
  },
3202
+ "description": {
3203
+ "title": "Description",
3204
+ "type": "string"
3205
+ },
3278
3206
  "definition_id": {
3279
3207
  "title": "Definition Id",
3280
3208
  "type": "string"
@@ -3326,6 +3254,7 @@
3326
3254
  "id",
3327
3255
  "workspace_id",
3328
3256
  "display_name",
3257
+ "description",
3329
3258
  "definition_id",
3330
3259
  "definition_version",
3331
3260
  "visibility",
@@ -3336,6 +3265,70 @@
3336
3265
  "title": "ConnectionResource",
3337
3266
  "type": "object"
3338
3267
  },
3268
+ "target": {
3269
+ "type": "workspace",
3270
+ "input_pointer": "/workspace_id"
3271
+ },
3272
+ "additional_checks": [],
3273
+ "effect": "create",
3274
+ "result_kind": "inline",
3275
+ "error_codes": [
3276
+ "invalid_input",
3277
+ "conflict",
3278
+ "resource_not_found"
3279
+ ],
3280
+ "digest": "sha256:e4d646f09a95067bc7d5617fe6407fa17dd20b12dfa124fbbc641d531a77757e"
3281
+ },
3282
+ {
3283
+ "name": "zo.connection.delete",
3284
+ "version": 1,
3285
+ "publisher": "zo",
3286
+ "description": "Delete a connection and its stored credentials.",
3287
+ "input_schema": {
3288
+ "additionalProperties": false,
3289
+ "properties": {
3290
+ "connection_id": {
3291
+ "maxLength": 200,
3292
+ "minLength": 1,
3293
+ "title": "Connection Id",
3294
+ "type": "string"
3295
+ },
3296
+ "expected_revision": {
3297
+ "exclusiveMinimum": 0,
3298
+ "maximum": 9007199254740991,
3299
+ "title": "Expected Revision",
3300
+ "type": "integer"
3301
+ }
3302
+ },
3303
+ "required": [
3304
+ "connection_id",
3305
+ "expected_revision"
3306
+ ],
3307
+ "title": "ConnectionTargetInput",
3308
+ "type": "object"
3309
+ },
3310
+ "output_schema": {
3311
+ "additionalProperties": false,
3312
+ "properties": {
3313
+ "state": {
3314
+ "const": "deleted",
3315
+ "title": "State",
3316
+ "type": "string"
3317
+ },
3318
+ "revision": {
3319
+ "exclusiveMinimum": 0,
3320
+ "maximum": 9007199254740991,
3321
+ "title": "Revision",
3322
+ "type": "integer"
3323
+ }
3324
+ },
3325
+ "required": [
3326
+ "state",
3327
+ "revision"
3328
+ ],
3329
+ "title": "ConnectionDeleteResult",
3330
+ "type": "object"
3331
+ },
3339
3332
  "target": {
3340
3333
  "type": "connection",
3341
3334
  "input_pointer": "/connection_id"
@@ -3347,7 +3340,129 @@
3347
3340
  "conflict",
3348
3341
  "resource_not_found"
3349
3342
  ],
3350
- "digest": "sha256:2c4dc31f348d30503d1acaec0182d729d9d65b8ab8de18f7cdd422dd7655b0ea"
3343
+ "digest": "sha256:00245af5b9cc95f1ecbcc35dff5b7d1ebdff0c2fd40afbe818fb306bf72aaa5c"
3344
+ },
3345
+ {
3346
+ "name": "zo.connection.disconnect",
3347
+ "version": 1,
3348
+ "publisher": "zo",
3349
+ "description": "Remove the connection's stored credentials; the provider grant is revoked afterwards.",
3350
+ "input_schema": {
3351
+ "additionalProperties": false,
3352
+ "properties": {
3353
+ "connection_id": {
3354
+ "maxLength": 200,
3355
+ "minLength": 1,
3356
+ "title": "Connection Id",
3357
+ "type": "string"
3358
+ },
3359
+ "expected_revision": {
3360
+ "exclusiveMinimum": 0,
3361
+ "maximum": 9007199254740991,
3362
+ "title": "Expected Revision",
3363
+ "type": "integer"
3364
+ }
3365
+ },
3366
+ "required": [
3367
+ "connection_id",
3368
+ "expected_revision"
3369
+ ],
3370
+ "title": "ConnectionTargetInput",
3371
+ "type": "object"
3372
+ },
3373
+ "output_schema": {
3374
+ "additionalProperties": false,
3375
+ "properties": {
3376
+ "id": {
3377
+ "title": "Id",
3378
+ "type": "string"
3379
+ },
3380
+ "workspace_id": {
3381
+ "title": "Workspace Id",
3382
+ "type": "string"
3383
+ },
3384
+ "display_name": {
3385
+ "title": "Display Name",
3386
+ "type": "string"
3387
+ },
3388
+ "description": {
3389
+ "title": "Description",
3390
+ "type": "string"
3391
+ },
3392
+ "definition_id": {
3393
+ "title": "Definition Id",
3394
+ "type": "string"
3395
+ },
3396
+ "definition_version": {
3397
+ "exclusiveMinimum": 0,
3398
+ "maximum": 2147483647,
3399
+ "title": "Definition Version",
3400
+ "type": "integer"
3401
+ },
3402
+ "visibility": {
3403
+ "enum": [
3404
+ "workspace",
3405
+ "protected"
3406
+ ],
3407
+ "title": "Visibility",
3408
+ "type": "string"
3409
+ },
3410
+ "owner_user_id": {
3411
+ "anyOf": [
3412
+ {
3413
+ "type": "string"
3414
+ },
3415
+ {
3416
+ "type": "null"
3417
+ }
3418
+ ],
3419
+ "title": "Owner User Id"
3420
+ },
3421
+ "status": {
3422
+ "enum": [
3423
+ "configuring",
3424
+ "ready",
3425
+ "reauthorization_required",
3426
+ "disabled",
3427
+ "deleted"
3428
+ ],
3429
+ "title": "Status",
3430
+ "type": "string"
3431
+ },
3432
+ "revision": {
3433
+ "exclusiveMinimum": 0,
3434
+ "maximum": 9007199254740991,
3435
+ "title": "Revision",
3436
+ "type": "integer"
3437
+ }
3438
+ },
3439
+ "required": [
3440
+ "id",
3441
+ "workspace_id",
3442
+ "display_name",
3443
+ "description",
3444
+ "definition_id",
3445
+ "definition_version",
3446
+ "visibility",
3447
+ "owner_user_id",
3448
+ "status",
3449
+ "revision"
3450
+ ],
3451
+ "title": "ConnectionResource",
3452
+ "type": "object"
3453
+ },
3454
+ "target": {
3455
+ "type": "connection",
3456
+ "input_pointer": "/connection_id"
3457
+ },
3458
+ "additional_checks": [],
3459
+ "effect": "manage",
3460
+ "result_kind": "inline",
3461
+ "error_codes": [
3462
+ "conflict",
3463
+ "resource_not_found"
3464
+ ],
3465
+ "digest": "sha256:4eb5f723894a35b5cc94392978d8061b1616aeb0e332761d0d41e66a33535921"
3351
3466
  },
3352
3467
  {
3353
3468
  "name": "zo.connection.get",
@@ -3385,6 +3500,10 @@
3385
3500
  "title": "Display Name",
3386
3501
  "type": "string"
3387
3502
  },
3503
+ "description": {
3504
+ "title": "Description",
3505
+ "type": "string"
3506
+ },
3388
3507
  "definition_id": {
3389
3508
  "title": "Definition Id",
3390
3509
  "type": "string"
@@ -3437,19 +3556,28 @@
3437
3556
  },
3438
3557
  "title": "Account Labels",
3439
3558
  "type": "object"
3559
+ },
3560
+ "environment": {
3561
+ "additionalProperties": {
3562
+ "type": "string"
3563
+ },
3564
+ "title": "Environment",
3565
+ "type": "object"
3440
3566
  }
3441
3567
  },
3442
3568
  "required": [
3443
3569
  "id",
3444
3570
  "workspace_id",
3445
3571
  "display_name",
3572
+ "description",
3446
3573
  "definition_id",
3447
3574
  "definition_version",
3448
3575
  "visibility",
3449
3576
  "owner_user_id",
3450
3577
  "status",
3451
3578
  "revision",
3452
- "account_labels"
3579
+ "account_labels",
3580
+ "environment"
3453
3581
  ],
3454
3582
  "title": "ConnectionWithAccountsResource",
3455
3583
  "type": "object"
@@ -3464,7 +3592,7 @@
3464
3592
  "error_codes": [
3465
3593
  "resource_not_found"
3466
3594
  ],
3467
- "digest": "sha256:1984bb0c5018e59ace5610df863d88f0e2236a170330533f9bd54e24e9ec1a09"
3595
+ "digest": "sha256:5ca6347217eba21af2b37e1830df0252e5d4115a3f7ee4f9357bed5e11280861"
3468
3596
  },
3469
3597
  {
3470
3598
  "name": "zo.connection.list",
@@ -3531,6 +3659,10 @@
3531
3659
  "title": "Display Name",
3532
3660
  "type": "string"
3533
3661
  },
3662
+ "description": {
3663
+ "title": "Description",
3664
+ "type": "string"
3665
+ },
3534
3666
  "definition_id": {
3535
3667
  "title": "Definition Id",
3536
3668
  "type": "string"
@@ -3583,19 +3715,28 @@
3583
3715
  },
3584
3716
  "title": "Account Labels",
3585
3717
  "type": "object"
3718
+ },
3719
+ "environment": {
3720
+ "additionalProperties": {
3721
+ "type": "string"
3722
+ },
3723
+ "title": "Environment",
3724
+ "type": "object"
3586
3725
  }
3587
3726
  },
3588
3727
  "required": [
3589
3728
  "id",
3590
3729
  "workspace_id",
3591
3730
  "display_name",
3731
+ "description",
3592
3732
  "definition_id",
3593
3733
  "definition_version",
3594
3734
  "visibility",
3595
3735
  "owner_user_id",
3596
3736
  "status",
3597
3737
  "revision",
3598
- "account_labels"
3738
+ "account_labels",
3739
+ "environment"
3599
3740
  ],
3600
3741
  "title": "ConnectionWithAccountsResource",
3601
3742
  "type": "object"
@@ -3612,7 +3753,7 @@
3612
3753
  "error_codes": [
3613
3754
  "invalid_cursor"
3614
3755
  ],
3615
- "digest": "sha256:bc22298a1354133759f52e3de81a8c72808f616e52f3c3ef5f8e8195f72cc0de"
3756
+ "digest": "sha256:92aca1c5160f58db8d84f380e55f271730a7159e4ca3d2bddde8462adba18a30"
3616
3757
  },
3617
3758
  {
3618
3759
  "name": "zo.connection.register_resource",
@@ -3706,11 +3847,236 @@
3706
3847
  ],
3707
3848
  "digest": "sha256:ddc319112d8b6b0540f0621e643bc7444665a490cdc564a5bd79e90bc3a8322b"
3708
3849
  },
3850
+ {
3851
+ "name": "zo.connection.slack.complete_authorization",
3852
+ "version": 1,
3853
+ "publisher": "zo",
3854
+ "description": "Exchange a Slack challenge code and store its service token. Attempts are single-use and expire after ten minutes.",
3855
+ "input_schema": {
3856
+ "additionalProperties": false,
3857
+ "properties": {
3858
+ "connection_id": {
3859
+ "maxLength": 200,
3860
+ "minLength": 1,
3861
+ "title": "Connection Id",
3862
+ "type": "string"
3863
+ },
3864
+ "expected_revision": {
3865
+ "exclusiveMinimum": 0,
3866
+ "maximum": 9007199254740991,
3867
+ "title": "Expected Revision",
3868
+ "type": "integer"
3869
+ },
3870
+ "attempt_id": {
3871
+ "maxLength": 200,
3872
+ "minLength": 1,
3873
+ "title": "Attempt Id",
3874
+ "type": "string"
3875
+ },
3876
+ "code": {
3877
+ "maxLength": 256,
3878
+ "minLength": 1,
3879
+ "title": "Code",
3880
+ "type": "string"
3881
+ }
3882
+ },
3883
+ "required": [
3884
+ "connection_id",
3885
+ "expected_revision",
3886
+ "attempt_id",
3887
+ "code"
3888
+ ],
3889
+ "title": "SlackAuthorizationCompleteInput",
3890
+ "type": "object"
3891
+ },
3892
+ "output_schema": {
3893
+ "additionalProperties": false,
3894
+ "properties": {
3895
+ "id": {
3896
+ "title": "Id",
3897
+ "type": "string"
3898
+ },
3899
+ "workspace_id": {
3900
+ "title": "Workspace Id",
3901
+ "type": "string"
3902
+ },
3903
+ "display_name": {
3904
+ "title": "Display Name",
3905
+ "type": "string"
3906
+ },
3907
+ "description": {
3908
+ "title": "Description",
3909
+ "type": "string"
3910
+ },
3911
+ "definition_id": {
3912
+ "title": "Definition Id",
3913
+ "type": "string"
3914
+ },
3915
+ "definition_version": {
3916
+ "exclusiveMinimum": 0,
3917
+ "maximum": 2147483647,
3918
+ "title": "Definition Version",
3919
+ "type": "integer"
3920
+ },
3921
+ "visibility": {
3922
+ "enum": [
3923
+ "workspace",
3924
+ "protected"
3925
+ ],
3926
+ "title": "Visibility",
3927
+ "type": "string"
3928
+ },
3929
+ "owner_user_id": {
3930
+ "anyOf": [
3931
+ {
3932
+ "type": "string"
3933
+ },
3934
+ {
3935
+ "type": "null"
3936
+ }
3937
+ ],
3938
+ "title": "Owner User Id"
3939
+ },
3940
+ "status": {
3941
+ "enum": [
3942
+ "configuring",
3943
+ "ready",
3944
+ "reauthorization_required",
3945
+ "disabled",
3946
+ "deleted"
3947
+ ],
3948
+ "title": "Status",
3949
+ "type": "string"
3950
+ },
3951
+ "revision": {
3952
+ "exclusiveMinimum": 0,
3953
+ "maximum": 9007199254740991,
3954
+ "title": "Revision",
3955
+ "type": "integer"
3956
+ },
3957
+ "account_labels": {
3958
+ "additionalProperties": {
3959
+ "type": "string"
3960
+ },
3961
+ "title": "Account Labels",
3962
+ "type": "object"
3963
+ },
3964
+ "environment": {
3965
+ "additionalProperties": {
3966
+ "type": "string"
3967
+ },
3968
+ "title": "Environment",
3969
+ "type": "object"
3970
+ }
3971
+ },
3972
+ "required": [
3973
+ "id",
3974
+ "workspace_id",
3975
+ "display_name",
3976
+ "description",
3977
+ "definition_id",
3978
+ "definition_version",
3979
+ "visibility",
3980
+ "owner_user_id",
3981
+ "status",
3982
+ "revision",
3983
+ "account_labels",
3984
+ "environment"
3985
+ ],
3986
+ "title": "ConnectionWithAccountsResource",
3987
+ "type": "object"
3988
+ },
3989
+ "target": {
3990
+ "type": "connection",
3991
+ "input_pointer": "/connection_id"
3992
+ },
3993
+ "additional_checks": [],
3994
+ "effect": "manage",
3995
+ "result_kind": "inline",
3996
+ "error_codes": [
3997
+ "invalid_input",
3998
+ "conflict",
3999
+ "resource_not_found",
4000
+ "provider_failure"
4001
+ ],
4002
+ "digest": "sha256:38809f082e91970b4def46e398f923d88ccfd8c89b8f53bbfebd9da2807c608d"
4003
+ },
4004
+ {
4005
+ "name": "zo.connection.slack.start_authorization",
4006
+ "version": 1,
4007
+ "publisher": "zo",
4008
+ "description": "Get a Slack service-token authorization command. Requires a workspace owner and a Slack service-token connection.",
4009
+ "input_schema": {
4010
+ "additionalProperties": false,
4011
+ "properties": {
4012
+ "connection_id": {
4013
+ "maxLength": 200,
4014
+ "minLength": 1,
4015
+ "title": "Connection Id",
4016
+ "type": "string"
4017
+ },
4018
+ "expected_revision": {
4019
+ "exclusiveMinimum": 0,
4020
+ "maximum": 9007199254740991,
4021
+ "title": "Expected Revision",
4022
+ "type": "integer"
4023
+ }
4024
+ },
4025
+ "required": [
4026
+ "connection_id",
4027
+ "expected_revision"
4028
+ ],
4029
+ "title": "ConnectionTargetInput",
4030
+ "type": "object"
4031
+ },
4032
+ "output_schema": {
4033
+ "additionalProperties": false,
4034
+ "properties": {
4035
+ "attempt_id": {
4036
+ "maxLength": 200,
4037
+ "minLength": 1,
4038
+ "title": "Attempt Id",
4039
+ "type": "string"
4040
+ },
4041
+ "command": {
4042
+ "maxLength": 2100,
4043
+ "minLength": 1,
4044
+ "title": "Command",
4045
+ "type": "string"
4046
+ },
4047
+ "expires_at": {
4048
+ "title": "Expires At",
4049
+ "type": "string"
4050
+ }
4051
+ },
4052
+ "required": [
4053
+ "attempt_id",
4054
+ "command",
4055
+ "expires_at"
4056
+ ],
4057
+ "title": "SlackAuthorizationStarted",
4058
+ "type": "object"
4059
+ },
4060
+ "target": {
4061
+ "type": "connection",
4062
+ "input_pointer": "/connection_id"
4063
+ },
4064
+ "additional_checks": [],
4065
+ "effect": "manage",
4066
+ "result_kind": "inline",
4067
+ "error_codes": [
4068
+ "invalid_input",
4069
+ "conflict",
4070
+ "resource_not_found",
4071
+ "provider_failure"
4072
+ ],
4073
+ "digest": "sha256:3145d0b425cc7ebbebdd587f2df27f4915ed78f127117c16d5d48a1f023c9c52"
4074
+ },
3709
4075
  {
3710
4076
  "name": "zo.connection.update",
3711
4077
  "version": 1,
3712
4078
  "publisher": "zo",
3713
- "description": "Replace a connection's configuration, rename it, or both; a field left out keeps its current value.",
4079
+ "description": "Replace a connection's configuration or environment, rename it, move it to another version of its definition, or set and remove its named values; a field left out keeps its current value.",
3714
4080
  "input_schema": {
3715
4081
  "additionalProperties": false,
3716
4082
  "properties": {
@@ -3756,6 +4122,81 @@
3756
4122
  "default": null,
3757
4123
  "description": "A new name for the connection; omit it to keep the current name.",
3758
4124
  "title": "Display Name"
4125
+ },
4126
+ "description": {
4127
+ "anyOf": [
4128
+ {
4129
+ "maxLength": 2000,
4130
+ "type": "string"
4131
+ },
4132
+ {
4133
+ "type": "null"
4134
+ }
4135
+ ],
4136
+ "default": null,
4137
+ "description": "Describe what this connection is for in the user's terms.",
4138
+ "title": "Description"
4139
+ },
4140
+ "definition_version": {
4141
+ "anyOf": [
4142
+ {
4143
+ "exclusiveMinimum": 0,
4144
+ "maximum": 2147483647,
4145
+ "type": "integer"
4146
+ },
4147
+ {
4148
+ "type": "null"
4149
+ }
4150
+ ],
4151
+ "default": null,
4152
+ "description": "Move the connection to this version of its definition, keeping its id and grants. Credentials in both versions keep their values, credentials only the current version has are erased, and credentials only the new version has start empty. Omit it to stay on the current version.",
4153
+ "title": "Definition Version"
4154
+ },
4155
+ "values": {
4156
+ "anyOf": [
4157
+ {
4158
+ "additionalProperties": {
4159
+ "anyOf": [
4160
+ {
4161
+ "description": "Secret: the value. Stored sealed and never returned.",
4162
+ "maxLength": 16384,
4163
+ "minLength": 1,
4164
+ "type": "string"
4165
+ },
4166
+ {
4167
+ "type": "null"
4168
+ }
4169
+ ]
4170
+ },
4171
+ "maxProperties": 100,
4172
+ "minProperties": 1,
4173
+ "type": "object"
4174
+ },
4175
+ {
4176
+ "type": "null"
4177
+ }
4178
+ ],
4179
+ "default": null,
4180
+ "description": "Named values to set, or `null` to remove a name, on a connection whose definition is private to its workspace and holds only single-value key credentials, as one created from `values` does. Changing a value replaces that credential. Adding or removing a name publishes the definition's next version from the connection's own version and moves the connection to it, keeping its id and grants; other connections to the definition stay on their versions. A connection keeps at least one name. Any other connection returns `invalid_input`.",
4181
+ "title": "Values"
4182
+ },
4183
+ "environment": {
4184
+ "anyOf": [
4185
+ {
4186
+ "additionalProperties": {
4187
+ "maxLength": 4096,
4188
+ "type": "string"
4189
+ },
4190
+ "maxProperties": 64,
4191
+ "type": "object"
4192
+ },
4193
+ {
4194
+ "type": "null"
4195
+ }
4196
+ ],
4197
+ "default": null,
4198
+ "description": "The environment that replaces the stored one; omit it to keep the stored environment. Environment variables delivered, exactly as written, to machines that list this connection, beside its credential and the variables its definition sets. Plain strings, not secrets: put a secret in the vault. Names are upper-case letters, digits and underscores; at most 64 variables of at most 4096 characters each.",
4199
+ "title": "Environment"
3759
4200
  }
3760
4201
  },
3761
4202
  "required": [
@@ -3780,6 +4221,10 @@
3780
4221
  "title": "Display Name",
3781
4222
  "type": "string"
3782
4223
  },
4224
+ "description": {
4225
+ "title": "Description",
4226
+ "type": "string"
4227
+ },
3783
4228
  "definition_id": {
3784
4229
  "title": "Definition Id",
3785
4230
  "type": "string"
@@ -3831,6 +4276,7 @@
3831
4276
  "id",
3832
4277
  "workspace_id",
3833
4278
  "display_name",
4279
+ "description",
3834
4280
  "definition_id",
3835
4281
  "definition_version",
3836
4282
  "visibility",
@@ -3853,7 +4299,7 @@
3853
4299
  "conflict",
3854
4300
  "resource_not_found"
3855
4301
  ],
3856
- "digest": "sha256:bfdfade43317e19a69e255667253ddb95fb974d649dfb0d64908950c7f565fc9"
4302
+ "digest": "sha256:15dae788862b599d14e1a938952ce41ff262ba411dbf57e6a48b21ff9b3d2271"
3857
4303
  },
3858
4304
  {
3859
4305
  "name": "zo.connection_definition.list",
@@ -9126,7 +9572,7 @@
9126
9572
  "name": "zo.function.create",
9127
9573
  "version": 1,
9128
9574
  "publisher": "zo",
9129
- "description": "Create a workspace-owned function.",
9575
+ "description": "Create a workspace-owned function. Describe what this function is for in the user's terms.",
9130
9576
  "input_schema": {
9131
9577
  "additionalProperties": false,
9132
9578
  "properties": {
@@ -9140,6 +9586,13 @@
9140
9586
  "title": "Display Name",
9141
9587
  "type": "string"
9142
9588
  },
9589
+ "description": {
9590
+ "default": "",
9591
+ "description": "Describe what this function is for in the user's terms.",
9592
+ "maxLength": 2000,
9593
+ "title": "Description",
9594
+ "type": "string"
9595
+ },
9143
9596
  "visibility": {
9144
9597
  "default": "workspace",
9145
9598
  "enum": [
@@ -9183,6 +9636,10 @@
9183
9636
  "title": "Display Name",
9184
9637
  "type": "string"
9185
9638
  },
9639
+ "description": {
9640
+ "title": "Description",
9641
+ "type": "string"
9642
+ },
9186
9643
  "revision": {
9187
9644
  "exclusiveMinimum": 0,
9188
9645
  "maximum": 9007199254740991,
@@ -9229,6 +9686,7 @@
9229
9686
  "type",
9230
9687
  "type_version",
9231
9688
  "display_name",
9689
+ "description",
9232
9690
  "revision",
9233
9691
  "properties",
9234
9692
  "active_deployment_id",
@@ -9268,7 +9726,7 @@
9268
9726
  "error_codes": [
9269
9727
  "implementation_unavailable"
9270
9728
  ],
9271
- "digest": "sha256:ca84897748a382db73aefaa99e5ba5c761862603d8af8f44b159b1c526f4bc86"
9729
+ "digest": "sha256:3a3f96335e4952f0e7d270fb6074c0fe94185b3394999696d8b530d902403b71"
9272
9730
  },
9273
9731
  {
9274
9732
  "name": "zo.function.delete",
@@ -9595,6 +10053,10 @@
9595
10053
  "title": "Display Name",
9596
10054
  "type": "string"
9597
10055
  },
10056
+ "description": {
10057
+ "title": "Description",
10058
+ "type": "string"
10059
+ },
9598
10060
  "revision": {
9599
10061
  "exclusiveMinimum": 0,
9600
10062
  "maximum": 9007199254740991,
@@ -9655,6 +10117,7 @@
9655
10117
  "type",
9656
10118
  "type_version",
9657
10119
  "display_name",
10120
+ "description",
9658
10121
  "revision",
9659
10122
  "properties",
9660
10123
  "active_deployment_id",
@@ -9937,7 +10400,7 @@
9937
10400
  "effect": "read",
9938
10401
  "result_kind": "inline",
9939
10402
  "error_codes": [],
9940
- "digest": "sha256:04f2e8f6c6faeefa8ca08a264cd18d2012b0bced62cf3cb19f269a98861798a2"
10403
+ "digest": "sha256:8fefdcc1440b09264f2c0b0a31ef8f3cefb5f2fe79f0166341e7537addf89819"
9941
10404
  },
9942
10405
  {
9943
10406
  "name": "zo.function.get_run",
@@ -10350,6 +10813,10 @@
10350
10813
  "title": "Display Name",
10351
10814
  "type": "string"
10352
10815
  },
10816
+ "description": {
10817
+ "title": "Description",
10818
+ "type": "string"
10819
+ },
10353
10820
  "revision": {
10354
10821
  "exclusiveMinimum": 0,
10355
10822
  "maximum": 9007199254740991,
@@ -10396,6 +10863,7 @@
10396
10863
  "type",
10397
10864
  "type_version",
10398
10865
  "display_name",
10866
+ "description",
10399
10867
  "revision",
10400
10868
  "properties",
10401
10869
  "active_deployment_id",
@@ -10415,7 +10883,7 @@
10415
10883
  "effect": "read",
10416
10884
  "result_kind": "inline",
10417
10885
  "error_codes": [],
10418
- "digest": "sha256:0f867836701588988416f212685e79214255cb5bea899ff05b5091054e93196e"
10886
+ "digest": "sha256:5bdcf3d50f92889be5498dedee04a9145710f5b9a0093894844cc1e94897a146"
10419
10887
  },
10420
10888
  {
10421
10889
  "name": "zo.function.list_runs",
@@ -10763,7 +11231,7 @@
10763
11231
  "name": "zo.machine.create",
10764
11232
  "version": 1,
10765
11233
  "publisher": "zo",
10766
- "description": "Create a managed machine from a machine image and return its current view.",
11234
+ "description": "Create a managed machine from a machine image and return its current view. Describe what this machine is for in the user's terms.",
10767
11235
  "input_schema": {
10768
11236
  "additionalProperties": false,
10769
11237
  "properties": {
@@ -10784,6 +11252,13 @@
10784
11252
  "title": "Display Name",
10785
11253
  "type": "string"
10786
11254
  },
11255
+ "description": {
11256
+ "default": "",
11257
+ "description": "Describe what this machine is for in the user's terms.",
11258
+ "maxLength": 2000,
11259
+ "title": "Description",
11260
+ "type": "string"
11261
+ },
10787
11262
  "source": {
10788
11263
  "$ref": "#/$defs/MachineSourceInput"
10789
11264
  },
@@ -10801,7 +11276,7 @@
10801
11276
  },
10802
11277
  "init": {
10803
11278
  "default": "none",
10804
- "description": "Which process runs first at boot. `none` (default): nothing; the machine waits for exec. `image`: the init system inside the machine's image (systemd, OpenRC) becomes PID 1 and starts the services enabled on its disk. This does not choose the image; `source.machine_image_id` does. Debian and Ubuntu images need `systemd systemd-sysv` installed first. A unit restarts after a crash only when it sets `Restart=`.",
11279
+ "description": "Which process runs first at boot. `none` (default): nothing; the machine waits for exec. `image`: the init system inside the machine's image (systemd, OpenRC) becomes PID 1 and starts the services enabled on its disk. This does not choose the image; `source.machine_image_id` does. Debian and Ubuntu images need `systemd systemd-sysv` installed first. A unit restarts after a crash only when it sets `Restart=`. GPU machines require `none`.",
10805
11280
  "enum": [
10806
11281
  "none",
10807
11282
  "image"
@@ -10825,9 +11300,32 @@
10825
11300
  }
10826
11301
  ],
10827
11302
  "default": null,
10828
- "description": "Run these arguments as the main process on every boot, without a shell. Use [\"sh\", \"-c\", ...] for shell syntax. Find ENTRYPOINT and CMD on the image's registry page; Zo does not return them. Pass ENTRYPOINT then CMD. With `init: image`, the command must wait for services it needs. The machine stops when it exits; resume runs it again. It may run more than once after a lost create or resume response, so make it safe to rerun. Each argument is at most 4,096 UTF-8 bytes and all arguments total at most 65,536 bytes. A running command is not activity: set `idle_timeout_seconds` at least as long as the job. The maximum is published by `zo.machine.list_configurations` (3,600 s today); a longer job needs Zo exec or file calls, or HTTP through a tunnel or connect token. After exit, `get` may show `running` for a few minutes until the stop is recorded. Zo reports no exit reason or code. Write a job's result to disk. A resume runs the command again, so to read it, clear the command, resume, then use `zo.machine.read_bytes`. With `init: image` and a command, a missing `/sbin/init` ends the generation as an exit stop, without `incompatible_image`.",
11303
+ "description": "Run these arguments as the main process on every boot, without a shell. Use [\"sh\", \"-c\", ...] for shell syntax. Find ENTRYPOINT and CMD on the image's registry page; Zo does not return them. Pass ENTRYPOINT then CMD. With `init: image`, the command must wait for services it needs. The machine stops when it exits; resume runs it again. It may run more than once after a lost create or resume response, so make it safe to rerun. Each argument is at most 4,096 UTF-8 bytes and all arguments total at most 65,536 bytes. A running command is not activity: set `idle_timeout_seconds` at least as long as the job. The maximum is published by `zo.machine.list_configurations`: 3,600 s for CPU machines and 86,400 s for GPU machines. Longer CPU jobs need Zo exec or file calls, or HTTP through a tunnel or connect token. After exit, `get` may show `running` for a few minutes until the stop is recorded. Zo reports no exit reason or code. Write a job's result to disk. A resume runs the command again, so to read it, clear the command, resume, then use `zo.machine.read_bytes`. With `init: image` and a command, a missing `/sbin/init` ends the generation as an exit stop, without `incompatible_image`.",
10829
11304
  "title": "Command"
10830
11305
  },
11306
+ "environment": {
11307
+ "additionalProperties": {
11308
+ "maxLength": 4096,
11309
+ "type": "string"
11310
+ },
11311
+ "default": {},
11312
+ "description": "Environment variables set, exactly as written, in the boot process and every command run on the machine. Plain strings, not secrets: they are part of the machine's configuration, which anyone who can read the machine sees. Names are upper-case letters, digits and underscores, and reserved names such as `PATH` or ones starting with `ZO_` are refused; at most 64 variables of at most 4096 characters each. A variable here wins over a connection in `credentials` that sets the same name.",
11313
+ "maxProperties": 64,
11314
+ "title": "Environment",
11315
+ "type": "object"
11316
+ },
11317
+ "credentials": {
11318
+ "default": [],
11319
+ "description": "Connection IDs whose credentials the machine receives as environment variables, in the boot process and every command. Each slot of a listed connection sets the variable its definition names, with the variables the slot and the connection declare. The machine also needs a use grant on each connection (`zo.grant.create` with the machine as assignee); a listed connection without one delivers nothing. When two listed connections set the same variable, the later one in the list wins. At most 100 connections, each listed once.",
11320
+ "items": {
11321
+ "maxLength": 200,
11322
+ "minLength": 1,
11323
+ "type": "string"
11324
+ },
11325
+ "maxItems": 100,
11326
+ "title": "Credentials",
11327
+ "type": "array"
11328
+ },
10831
11329
  "visibility": {
10832
11330
  "default": "workspace",
10833
11331
  "description": "`workspace` (default): every member can see and use it. `protected`: only you, and whoever you share it with; workspace-wide grants don't reach it. Fixed at creation.",
@@ -10850,15 +11348,62 @@
10850
11348
  "title": "MachineCreateInput",
10851
11349
  "type": "object",
10852
11350
  "$defs": {
10853
- "MachineLifecycleInput": {
11351
+ "GpuType": {
11352
+ "enum": [
11353
+ "T4",
11354
+ "L4",
11355
+ "A10",
11356
+ "L40S",
11357
+ "A100",
11358
+ "A100-40GB",
11359
+ "A100-80GB",
11360
+ "RTX-PRO-6000",
11361
+ "H100",
11362
+ "H100!",
11363
+ "H200",
11364
+ "B200",
11365
+ "B200+",
11366
+ "B300"
11367
+ ],
11368
+ "type": "string"
11369
+ },
11370
+ "MachineGpu": {
10854
11371
  "additionalProperties": false,
10855
11372
  "properties": {
10856
- "idle_timeout_seconds": {
10857
- "default": 900,
10858
- "maximum": 86400,
11373
+ "type": {
11374
+ "$ref": "#/$defs/GpuType"
11375
+ },
11376
+ "count": {
11377
+ "maximum": 8,
10859
11378
  "minimum": 1,
10860
- "title": "Idle Timeout Seconds",
11379
+ "title": "Count",
10861
11380
  "type": "integer"
11381
+ }
11382
+ },
11383
+ "required": [
11384
+ "type",
11385
+ "count"
11386
+ ],
11387
+ "title": "MachineGpu",
11388
+ "type": "object"
11389
+ },
11390
+ "MachineLifecycleInput": {
11391
+ "additionalProperties": false,
11392
+ "properties": {
11393
+ "idle_timeout_seconds": {
11394
+ "anyOf": [
11395
+ {
11396
+ "maximum": 86400,
11397
+ "minimum": 1,
11398
+ "type": "integer"
11399
+ },
11400
+ {
11401
+ "type": "null"
11402
+ }
11403
+ ],
11404
+ "default": null,
11405
+ "description": "Omit for 900 seconds on CPU. For GPU, the default is the smaller of 300 seconds and max_run_seconds. An explicit GPU idle timeout must not exceed max_run_seconds.",
11406
+ "title": "Idle Timeout Seconds"
10862
11407
  },
10863
11408
  "max_run_seconds": {
10864
11409
  "maximum": 86400,
@@ -10888,6 +11433,17 @@
10888
11433
  "minimum": 1,
10889
11434
  "title": "Memory Mib",
10890
11435
  "type": "integer"
11436
+ },
11437
+ "gpu": {
11438
+ "anyOf": [
11439
+ {
11440
+ "$ref": "#/$defs/MachineGpu"
11441
+ },
11442
+ {
11443
+ "type": "null"
11444
+ }
11445
+ ],
11446
+ "default": null
10891
11447
  }
10892
11448
  },
10893
11449
  "required": [
@@ -10941,6 +11497,10 @@
10941
11497
  "title": "Display Name",
10942
11498
  "type": "string"
10943
11499
  },
11500
+ "description": {
11501
+ "title": "Description",
11502
+ "type": "string"
11503
+ },
10944
11504
  "visibility": {
10945
11505
  "enum": [
10946
11506
  "workspace",
@@ -11022,6 +11582,23 @@
11022
11582
  }
11023
11583
  ],
11024
11584
  "title": "Destroyed At"
11585
+ },
11586
+ "recoverable_until": {
11587
+ "anyOf": [
11588
+ {
11589
+ "type": "string"
11590
+ },
11591
+ {
11592
+ "type": "null"
11593
+ }
11594
+ ],
11595
+ "default": null,
11596
+ "title": "Recoverable Until"
11597
+ },
11598
+ "recovery_acceptance_required": {
11599
+ "default": false,
11600
+ "title": "Recovery Acceptance Required",
11601
+ "type": "boolean"
11025
11602
  }
11026
11603
  },
11027
11604
  "required": [
@@ -11030,6 +11607,7 @@
11030
11607
  "type",
11031
11608
  "type_version",
11032
11609
  "display_name",
11610
+ "description",
11033
11611
  "visibility",
11034
11612
  "revision",
11035
11613
  "properties",
@@ -11045,6 +11623,25 @@
11045
11623
  "title": "ManagedMachineView",
11046
11624
  "type": "object",
11047
11625
  "$defs": {
11626
+ "GpuType": {
11627
+ "enum": [
11628
+ "T4",
11629
+ "L4",
11630
+ "A10",
11631
+ "L40S",
11632
+ "A100",
11633
+ "A100-40GB",
11634
+ "A100-80GB",
11635
+ "RTX-PRO-6000",
11636
+ "H100",
11637
+ "H100!",
11638
+ "H200",
11639
+ "B200",
11640
+ "B200+",
11641
+ "B300"
11642
+ ],
11643
+ "type": "string"
11644
+ },
11048
11645
  "MachineBootedView": {
11049
11646
  "additionalProperties": false,
11050
11647
  "properties": {
@@ -11078,6 +11675,26 @@
11078
11675
  "title": "MachineBootedView",
11079
11676
  "type": "object"
11080
11677
  },
11678
+ "MachineGpu": {
11679
+ "additionalProperties": false,
11680
+ "properties": {
11681
+ "type": {
11682
+ "$ref": "#/$defs/GpuType"
11683
+ },
11684
+ "count": {
11685
+ "maximum": 8,
11686
+ "minimum": 1,
11687
+ "title": "Count",
11688
+ "type": "integer"
11689
+ }
11690
+ },
11691
+ "required": [
11692
+ "type",
11693
+ "count"
11694
+ ],
11695
+ "title": "MachineGpu",
11696
+ "type": "object"
11697
+ },
11081
11698
  "MachineProperties": {
11082
11699
  "additionalProperties": false,
11083
11700
  "description": "Public properties of a `machine` resource.\n\nFive dimensions say what kind of machine it is, in supported combinations\nonly. A managed sandbox also carries its image, shape and region,\nplus desired timers and boot settings; every other kind\ncarries null there. Lifecycle state is not a property.",
@@ -11160,6 +11777,17 @@
11160
11777
  ],
11161
11778
  "title": "Memory Mib"
11162
11779
  },
11780
+ "gpu": {
11781
+ "anyOf": [
11782
+ {
11783
+ "$ref": "#/$defs/MachineGpu"
11784
+ },
11785
+ {
11786
+ "type": "null"
11787
+ }
11788
+ ],
11789
+ "default": null
11790
+ },
11163
11791
  "region": {
11164
11792
  "anyOf": [
11165
11793
  {
@@ -11231,6 +11859,38 @@
11231
11859
  ],
11232
11860
  "default": null,
11233
11861
  "title": "Command"
11862
+ },
11863
+ "environment": {
11864
+ "anyOf": [
11865
+ {
11866
+ "additionalProperties": {
11867
+ "maxLength": 4096,
11868
+ "type": "string"
11869
+ },
11870
+ "maxProperties": 64,
11871
+ "type": "object"
11872
+ },
11873
+ {
11874
+ "type": "null"
11875
+ }
11876
+ ],
11877
+ "default": null,
11878
+ "title": "Environment"
11879
+ },
11880
+ "credentials": {
11881
+ "anyOf": [
11882
+ {
11883
+ "items": {
11884
+ "type": "string"
11885
+ },
11886
+ "type": "array"
11887
+ },
11888
+ {
11889
+ "type": "null"
11890
+ }
11891
+ ],
11892
+ "default": null,
11893
+ "title": "Credentials"
11234
11894
  }
11235
11895
  },
11236
11896
  "required": [
@@ -11277,7 +11937,7 @@
11277
11937
  "resource_not_found",
11278
11938
  "implementation_unavailable"
11279
11939
  ],
11280
- "digest": "sha256:e2ff77f02465e7be474b0734ba2af6f084454949638756bb4cf6a1c62b8d404e"
11940
+ "digest": "sha256:177af508fda4d92f9592aae4499bd52ef51b2b90221200f81b26c5fcb86ce51f"
11281
11941
  },
11282
11942
  {
11283
11943
  "name": "zo.machine.destroy",
@@ -11339,6 +11999,10 @@
11339
11999
  "title": "Display Name",
11340
12000
  "type": "string"
11341
12001
  },
12002
+ "description": {
12003
+ "title": "Description",
12004
+ "type": "string"
12005
+ },
11342
12006
  "visibility": {
11343
12007
  "enum": [
11344
12008
  "workspace",
@@ -11420,6 +12084,23 @@
11420
12084
  }
11421
12085
  ],
11422
12086
  "title": "Destroyed At"
12087
+ },
12088
+ "recoverable_until": {
12089
+ "anyOf": [
12090
+ {
12091
+ "type": "string"
12092
+ },
12093
+ {
12094
+ "type": "null"
12095
+ }
12096
+ ],
12097
+ "default": null,
12098
+ "title": "Recoverable Until"
12099
+ },
12100
+ "recovery_acceptance_required": {
12101
+ "default": false,
12102
+ "title": "Recovery Acceptance Required",
12103
+ "type": "boolean"
11423
12104
  }
11424
12105
  },
11425
12106
  "required": [
@@ -11428,6 +12109,7 @@
11428
12109
  "type",
11429
12110
  "type_version",
11430
12111
  "display_name",
12112
+ "description",
11431
12113
  "visibility",
11432
12114
  "revision",
11433
12115
  "properties",
@@ -11443,6 +12125,25 @@
11443
12125
  "title": "ManagedMachineView",
11444
12126
  "type": "object",
11445
12127
  "$defs": {
12128
+ "GpuType": {
12129
+ "enum": [
12130
+ "T4",
12131
+ "L4",
12132
+ "A10",
12133
+ "L40S",
12134
+ "A100",
12135
+ "A100-40GB",
12136
+ "A100-80GB",
12137
+ "RTX-PRO-6000",
12138
+ "H100",
12139
+ "H100!",
12140
+ "H200",
12141
+ "B200",
12142
+ "B200+",
12143
+ "B300"
12144
+ ],
12145
+ "type": "string"
12146
+ },
11446
12147
  "MachineBootedView": {
11447
12148
  "additionalProperties": false,
11448
12149
  "properties": {
@@ -11476,6 +12177,26 @@
11476
12177
  "title": "MachineBootedView",
11477
12178
  "type": "object"
11478
12179
  },
12180
+ "MachineGpu": {
12181
+ "additionalProperties": false,
12182
+ "properties": {
12183
+ "type": {
12184
+ "$ref": "#/$defs/GpuType"
12185
+ },
12186
+ "count": {
12187
+ "maximum": 8,
12188
+ "minimum": 1,
12189
+ "title": "Count",
12190
+ "type": "integer"
12191
+ }
12192
+ },
12193
+ "required": [
12194
+ "type",
12195
+ "count"
12196
+ ],
12197
+ "title": "MachineGpu",
12198
+ "type": "object"
12199
+ },
11479
12200
  "MachineProperties": {
11480
12201
  "additionalProperties": false,
11481
12202
  "description": "Public properties of a `machine` resource.\n\nFive dimensions say what kind of machine it is, in supported combinations\nonly. A managed sandbox also carries its image, shape and region,\nplus desired timers and boot settings; every other kind\ncarries null there. Lifecycle state is not a property.",
@@ -11558,6 +12279,17 @@
11558
12279
  ],
11559
12280
  "title": "Memory Mib"
11560
12281
  },
12282
+ "gpu": {
12283
+ "anyOf": [
12284
+ {
12285
+ "$ref": "#/$defs/MachineGpu"
12286
+ },
12287
+ {
12288
+ "type": "null"
12289
+ }
12290
+ ],
12291
+ "default": null
12292
+ },
11561
12293
  "region": {
11562
12294
  "anyOf": [
11563
12295
  {
@@ -11629,6 +12361,38 @@
11629
12361
  ],
11630
12362
  "default": null,
11631
12363
  "title": "Command"
12364
+ },
12365
+ "environment": {
12366
+ "anyOf": [
12367
+ {
12368
+ "additionalProperties": {
12369
+ "maxLength": 4096,
12370
+ "type": "string"
12371
+ },
12372
+ "maxProperties": 64,
12373
+ "type": "object"
12374
+ },
12375
+ {
12376
+ "type": "null"
12377
+ }
12378
+ ],
12379
+ "default": null,
12380
+ "title": "Environment"
12381
+ },
12382
+ "credentials": {
12383
+ "anyOf": [
12384
+ {
12385
+ "items": {
12386
+ "type": "string"
12387
+ },
12388
+ "type": "array"
12389
+ },
12390
+ {
12391
+ "type": "null"
12392
+ }
12393
+ ],
12394
+ "default": null,
12395
+ "title": "Credentials"
11632
12396
  }
11633
12397
  },
11634
12398
  "required": [
@@ -11675,7 +12439,7 @@
11675
12439
  "resource_not_found",
11676
12440
  "implementation_unavailable"
11677
12441
  ],
11678
- "digest": "sha256:aa2370f3cbc14f2d8ac18b1218b640d8e86a4609378b6c07bb0f980b6d0aa1f1"
12442
+ "digest": "sha256:2f2f27929bbf88428f843c2be5448675a4fc34276d194fdb2d00fd10a7ef32d3"
11679
12443
  },
11680
12444
  {
11681
12445
  "name": "zo.machine.exec",
@@ -11813,6 +12577,10 @@
11813
12577
  "title": "Display Name",
11814
12578
  "type": "string"
11815
12579
  },
12580
+ "description": {
12581
+ "title": "Description",
12582
+ "type": "string"
12583
+ },
11816
12584
  "visibility": {
11817
12585
  "enum": [
11818
12586
  "workspace",
@@ -11894,6 +12662,23 @@
11894
12662
  }
11895
12663
  ],
11896
12664
  "title": "Destroyed At"
12665
+ },
12666
+ "recoverable_until": {
12667
+ "anyOf": [
12668
+ {
12669
+ "type": "string"
12670
+ },
12671
+ {
12672
+ "type": "null"
12673
+ }
12674
+ ],
12675
+ "default": null,
12676
+ "title": "Recoverable Until"
12677
+ },
12678
+ "recovery_acceptance_required": {
12679
+ "default": false,
12680
+ "title": "Recovery Acceptance Required",
12681
+ "type": "boolean"
11897
12682
  }
11898
12683
  },
11899
12684
  "required": [
@@ -11902,6 +12687,7 @@
11902
12687
  "type",
11903
12688
  "type_version",
11904
12689
  "display_name",
12690
+ "description",
11905
12691
  "visibility",
11906
12692
  "revision",
11907
12693
  "properties",
@@ -11917,6 +12703,25 @@
11917
12703
  "title": "ManagedMachineView",
11918
12704
  "type": "object",
11919
12705
  "$defs": {
12706
+ "GpuType": {
12707
+ "enum": [
12708
+ "T4",
12709
+ "L4",
12710
+ "A10",
12711
+ "L40S",
12712
+ "A100",
12713
+ "A100-40GB",
12714
+ "A100-80GB",
12715
+ "RTX-PRO-6000",
12716
+ "H100",
12717
+ "H100!",
12718
+ "H200",
12719
+ "B200",
12720
+ "B200+",
12721
+ "B300"
12722
+ ],
12723
+ "type": "string"
12724
+ },
11920
12725
  "MachineBootedView": {
11921
12726
  "additionalProperties": false,
11922
12727
  "properties": {
@@ -11950,6 +12755,26 @@
11950
12755
  "title": "MachineBootedView",
11951
12756
  "type": "object"
11952
12757
  },
12758
+ "MachineGpu": {
12759
+ "additionalProperties": false,
12760
+ "properties": {
12761
+ "type": {
12762
+ "$ref": "#/$defs/GpuType"
12763
+ },
12764
+ "count": {
12765
+ "maximum": 8,
12766
+ "minimum": 1,
12767
+ "title": "Count",
12768
+ "type": "integer"
12769
+ }
12770
+ },
12771
+ "required": [
12772
+ "type",
12773
+ "count"
12774
+ ],
12775
+ "title": "MachineGpu",
12776
+ "type": "object"
12777
+ },
11953
12778
  "MachineProperties": {
11954
12779
  "additionalProperties": false,
11955
12780
  "description": "Public properties of a `machine` resource.\n\nFive dimensions say what kind of machine it is, in supported combinations\nonly. A managed sandbox also carries its image, shape and region,\nplus desired timers and boot settings; every other kind\ncarries null there. Lifecycle state is not a property.",
@@ -12032,6 +12857,17 @@
12032
12857
  ],
12033
12858
  "title": "Memory Mib"
12034
12859
  },
12860
+ "gpu": {
12861
+ "anyOf": [
12862
+ {
12863
+ "$ref": "#/$defs/MachineGpu"
12864
+ },
12865
+ {
12866
+ "type": "null"
12867
+ }
12868
+ ],
12869
+ "default": null
12870
+ },
12035
12871
  "region": {
12036
12872
  "anyOf": [
12037
12873
  {
@@ -12103,6 +12939,38 @@
12103
12939
  ],
12104
12940
  "default": null,
12105
12941
  "title": "Command"
12942
+ },
12943
+ "environment": {
12944
+ "anyOf": [
12945
+ {
12946
+ "additionalProperties": {
12947
+ "maxLength": 4096,
12948
+ "type": "string"
12949
+ },
12950
+ "maxProperties": 64,
12951
+ "type": "object"
12952
+ },
12953
+ {
12954
+ "type": "null"
12955
+ }
12956
+ ],
12957
+ "default": null,
12958
+ "title": "Environment"
12959
+ },
12960
+ "credentials": {
12961
+ "anyOf": [
12962
+ {
12963
+ "items": {
12964
+ "type": "string"
12965
+ },
12966
+ "type": "array"
12967
+ },
12968
+ {
12969
+ "type": "null"
12970
+ }
12971
+ ],
12972
+ "default": null,
12973
+ "title": "Credentials"
12106
12974
  }
12107
12975
  },
12108
12976
  "required": [
@@ -12147,7 +13015,7 @@
12147
13015
  "resource_not_found",
12148
13016
  "implementation_unavailable"
12149
13017
  ],
12150
- "digest": "sha256:137a936d3a72cf4d5815b244ad69ec75bb8aeca74a2bfd134d34e7f9698c8665"
13018
+ "digest": "sha256:fedb37635e30c6aa33c67739751dfc7cd6bcb9463f58497abef71894c2f143be"
12151
13019
  },
12152
13020
  {
12153
13021
  "name": "zo.machine.list",
@@ -12197,6 +13065,25 @@
12197
13065
  "title": "ManagedMachineListOutput",
12198
13066
  "type": "object",
12199
13067
  "$defs": {
13068
+ "GpuType": {
13069
+ "enum": [
13070
+ "T4",
13071
+ "L4",
13072
+ "A10",
13073
+ "L40S",
13074
+ "A100",
13075
+ "A100-40GB",
13076
+ "A100-80GB",
13077
+ "RTX-PRO-6000",
13078
+ "H100",
13079
+ "H100!",
13080
+ "H200",
13081
+ "B200",
13082
+ "B200+",
13083
+ "B300"
13084
+ ],
13085
+ "type": "string"
13086
+ },
12200
13087
  "MachineBootedView": {
12201
13088
  "additionalProperties": false,
12202
13089
  "properties": {
@@ -12230,6 +13117,26 @@
12230
13117
  "title": "MachineBootedView",
12231
13118
  "type": "object"
12232
13119
  },
13120
+ "MachineGpu": {
13121
+ "additionalProperties": false,
13122
+ "properties": {
13123
+ "type": {
13124
+ "$ref": "#/$defs/GpuType"
13125
+ },
13126
+ "count": {
13127
+ "maximum": 8,
13128
+ "minimum": 1,
13129
+ "title": "Count",
13130
+ "type": "integer"
13131
+ }
13132
+ },
13133
+ "required": [
13134
+ "type",
13135
+ "count"
13136
+ ],
13137
+ "title": "MachineGpu",
13138
+ "type": "object"
13139
+ },
12233
13140
  "MachineProperties": {
12234
13141
  "additionalProperties": false,
12235
13142
  "description": "Public properties of a `machine` resource.\n\nFive dimensions say what kind of machine it is, in supported combinations\nonly. A managed sandbox also carries its image, shape and region,\nplus desired timers and boot settings; every other kind\ncarries null there. Lifecycle state is not a property.",
@@ -12312,6 +13219,17 @@
12312
13219
  ],
12313
13220
  "title": "Memory Mib"
12314
13221
  },
13222
+ "gpu": {
13223
+ "anyOf": [
13224
+ {
13225
+ "$ref": "#/$defs/MachineGpu"
13226
+ },
13227
+ {
13228
+ "type": "null"
13229
+ }
13230
+ ],
13231
+ "default": null
13232
+ },
12315
13233
  "region": {
12316
13234
  "anyOf": [
12317
13235
  {
@@ -12383,6 +13301,38 @@
12383
13301
  ],
12384
13302
  "default": null,
12385
13303
  "title": "Command"
13304
+ },
13305
+ "environment": {
13306
+ "anyOf": [
13307
+ {
13308
+ "additionalProperties": {
13309
+ "maxLength": 4096,
13310
+ "type": "string"
13311
+ },
13312
+ "maxProperties": 64,
13313
+ "type": "object"
13314
+ },
13315
+ {
13316
+ "type": "null"
13317
+ }
13318
+ ],
13319
+ "default": null,
13320
+ "title": "Environment"
13321
+ },
13322
+ "credentials": {
13323
+ "anyOf": [
13324
+ {
13325
+ "items": {
13326
+ "type": "string"
13327
+ },
13328
+ "type": "array"
13329
+ },
13330
+ {
13331
+ "type": "null"
13332
+ }
13333
+ ],
13334
+ "default": null,
13335
+ "title": "Credentials"
12386
13336
  }
12387
13337
  },
12388
13338
  "required": [
@@ -12427,6 +13377,10 @@
12427
13377
  "title": "Display Name",
12428
13378
  "type": "string"
12429
13379
  },
13380
+ "description": {
13381
+ "title": "Description",
13382
+ "type": "string"
13383
+ },
12430
13384
  "visibility": {
12431
13385
  "enum": [
12432
13386
  "workspace",
@@ -12508,6 +13462,23 @@
12508
13462
  }
12509
13463
  ],
12510
13464
  "title": "Destroyed At"
13465
+ },
13466
+ "recoverable_until": {
13467
+ "anyOf": [
13468
+ {
13469
+ "type": "string"
13470
+ },
13471
+ {
13472
+ "type": "null"
13473
+ }
13474
+ ],
13475
+ "default": null,
13476
+ "title": "Recoverable Until"
13477
+ },
13478
+ "recovery_acceptance_required": {
13479
+ "default": false,
13480
+ "title": "Recovery Acceptance Required",
13481
+ "type": "boolean"
12511
13482
  }
12512
13483
  },
12513
13484
  "required": [
@@ -12516,6 +13487,7 @@
12516
13487
  "type",
12517
13488
  "type_version",
12518
13489
  "display_name",
13490
+ "description",
12519
13491
  "visibility",
12520
13492
  "revision",
12521
13493
  "properties",
@@ -12557,13 +13529,13 @@
12557
13529
  "invalid_cursor",
12558
13530
  "implementation_unavailable"
12559
13531
  ],
12560
- "digest": "sha256:06241169072bd5874b8deaf5ceed070861a5ecf07bc7dc71a68decf726e5dbcf"
13532
+ "digest": "sha256:eec29f1b2d49d923a19a2ec3cd793f803ec02ac4a6a2aa1449dfbb4935967990"
12561
13533
  },
12562
13534
  {
12563
13535
  "name": "zo.machine.list_configurations",
12564
13536
  "version": 1,
12565
13537
  "publisher": "zo",
12566
- "description": "List independent whole-vCPU and whole-MiB ranges, regions, timeout bounds and per-second unit prices.",
13538
+ "description": "List independent CPU/RAM bounds, GPU allocations, runtime capabilities, timers and per-second unit prices.",
12567
13539
  "input_schema": {
12568
13540
  "additionalProperties": false,
12569
13541
  "properties": {
@@ -12585,6 +13557,18 @@
12585
13557
  "resources": {
12586
13558
  "$ref": "#/$defs/MachineResourceBounds"
12587
13559
  },
13560
+ "gpus": {
13561
+ "items": {
13562
+ "$ref": "#/$defs/MachineGpuOffer"
13563
+ },
13564
+ "title": "Gpus",
13565
+ "type": "array"
13566
+ },
13567
+ "runtime": {
13568
+ "const": "vm",
13569
+ "title": "Runtime",
13570
+ "type": "string"
13571
+ },
12588
13572
  "vcpu_microusd_per_second": {
12589
13573
  "title": "Vcpu Microusd Per Second",
12590
13574
  "type": "number"
@@ -12631,6 +13615,8 @@
12631
13615
  },
12632
13616
  "required": [
12633
13617
  "resources",
13618
+ "gpus",
13619
+ "runtime",
12634
13620
  "vcpu_microusd_per_second",
12635
13621
  "memory_gib_microusd_per_second",
12636
13622
  "regions",
@@ -12668,6 +13654,57 @@
12668
13654
  "title": "MachineCommandOffer",
12669
13655
  "type": "object"
12670
13656
  },
13657
+ "MachineGpuOffer": {
13658
+ "additionalProperties": false,
13659
+ "properties": {
13660
+ "type": {
13661
+ "title": "Type",
13662
+ "type": "string"
13663
+ },
13664
+ "count": {
13665
+ "$ref": "#/$defs/MachineRunBounds"
13666
+ },
13667
+ "vram_gb": {
13668
+ "title": "Vram Gb",
13669
+ "type": "integer"
13670
+ },
13671
+ "gpu_microusd_per_second": {
13672
+ "title": "Gpu Microusd Per Second",
13673
+ "type": "number"
13674
+ },
13675
+ "runtime": {
13676
+ "const": "gvisor",
13677
+ "title": "Runtime",
13678
+ "type": "string"
13679
+ },
13680
+ "init": {
13681
+ "items": {
13682
+ "const": "none",
13683
+ "type": "string"
13684
+ },
13685
+ "title": "Init",
13686
+ "type": "array"
13687
+ },
13688
+ "idle_timeout_seconds": {
13689
+ "$ref": "#/$defs/MachineIdleTimeoutBounds"
13690
+ },
13691
+ "max_run_seconds": {
13692
+ "$ref": "#/$defs/MachineRunBounds"
13693
+ }
13694
+ },
13695
+ "required": [
13696
+ "type",
13697
+ "count",
13698
+ "vram_gb",
13699
+ "gpu_microusd_per_second",
13700
+ "runtime",
13701
+ "init",
13702
+ "idle_timeout_seconds",
13703
+ "max_run_seconds"
13704
+ ],
13705
+ "title": "MachineGpuOffer",
13706
+ "type": "object"
13707
+ },
12671
13708
  "MachineIdleTimeoutBounds": {
12672
13709
  "additionalProperties": false,
12673
13710
  "properties": {
@@ -12740,7 +13777,7 @@
12740
13777
  "error_codes": [
12741
13778
  "implementation_unavailable"
12742
13779
  ],
12743
- "digest": "sha256:b3ceea6f5d8b895e832abb2153916c2a104756d36aa1f573f37edcc61dd871f4"
13780
+ "digest": "sha256:a8011aa7aa579dfc66c3cedbfbd25056d76a7b5c5063bbb7eab5d7c31be6cd3d"
12744
13781
  },
12745
13782
  {
12746
13783
  "name": "zo.machine.list_files",
@@ -13015,6 +14052,10 @@
13015
14052
  "title": "Display Name",
13016
14053
  "type": "string"
13017
14054
  },
14055
+ "description": {
14056
+ "title": "Description",
14057
+ "type": "string"
14058
+ },
13018
14059
  "visibility": {
13019
14060
  "enum": [
13020
14061
  "workspace",
@@ -13096,6 +14137,23 @@
13096
14137
  }
13097
14138
  ],
13098
14139
  "title": "Destroyed At"
14140
+ },
14141
+ "recoverable_until": {
14142
+ "anyOf": [
14143
+ {
14144
+ "type": "string"
14145
+ },
14146
+ {
14147
+ "type": "null"
14148
+ }
14149
+ ],
14150
+ "default": null,
14151
+ "title": "Recoverable Until"
14152
+ },
14153
+ "recovery_acceptance_required": {
14154
+ "default": false,
14155
+ "title": "Recovery Acceptance Required",
14156
+ "type": "boolean"
13099
14157
  }
13100
14158
  },
13101
14159
  "required": [
@@ -13104,6 +14162,7 @@
13104
14162
  "type",
13105
14163
  "type_version",
13106
14164
  "display_name",
14165
+ "description",
13107
14166
  "visibility",
13108
14167
  "revision",
13109
14168
  "properties",
@@ -13119,6 +14178,25 @@
13119
14178
  "title": "ManagedMachineView",
13120
14179
  "type": "object",
13121
14180
  "$defs": {
14181
+ "GpuType": {
14182
+ "enum": [
14183
+ "T4",
14184
+ "L4",
14185
+ "A10",
14186
+ "L40S",
14187
+ "A100",
14188
+ "A100-40GB",
14189
+ "A100-80GB",
14190
+ "RTX-PRO-6000",
14191
+ "H100",
14192
+ "H100!",
14193
+ "H200",
14194
+ "B200",
14195
+ "B200+",
14196
+ "B300"
14197
+ ],
14198
+ "type": "string"
14199
+ },
13122
14200
  "MachineBootedView": {
13123
14201
  "additionalProperties": false,
13124
14202
  "properties": {
@@ -13152,6 +14230,26 @@
13152
14230
  "title": "MachineBootedView",
13153
14231
  "type": "object"
13154
14232
  },
14233
+ "MachineGpu": {
14234
+ "additionalProperties": false,
14235
+ "properties": {
14236
+ "type": {
14237
+ "$ref": "#/$defs/GpuType"
14238
+ },
14239
+ "count": {
14240
+ "maximum": 8,
14241
+ "minimum": 1,
14242
+ "title": "Count",
14243
+ "type": "integer"
14244
+ }
14245
+ },
14246
+ "required": [
14247
+ "type",
14248
+ "count"
14249
+ ],
14250
+ "title": "MachineGpu",
14251
+ "type": "object"
14252
+ },
13155
14253
  "MachineProperties": {
13156
14254
  "additionalProperties": false,
13157
14255
  "description": "Public properties of a `machine` resource.\n\nFive dimensions say what kind of machine it is, in supported combinations\nonly. A managed sandbox also carries its image, shape and region,\nplus desired timers and boot settings; every other kind\ncarries null there. Lifecycle state is not a property.",
@@ -13234,6 +14332,17 @@
13234
14332
  ],
13235
14333
  "title": "Memory Mib"
13236
14334
  },
14335
+ "gpu": {
14336
+ "anyOf": [
14337
+ {
14338
+ "$ref": "#/$defs/MachineGpu"
14339
+ },
14340
+ {
14341
+ "type": "null"
14342
+ }
14343
+ ],
14344
+ "default": null
14345
+ },
13237
14346
  "region": {
13238
14347
  "anyOf": [
13239
14348
  {
@@ -13305,6 +14414,38 @@
13305
14414
  ],
13306
14415
  "default": null,
13307
14416
  "title": "Command"
14417
+ },
14418
+ "environment": {
14419
+ "anyOf": [
14420
+ {
14421
+ "additionalProperties": {
14422
+ "maxLength": 4096,
14423
+ "type": "string"
14424
+ },
14425
+ "maxProperties": 64,
14426
+ "type": "object"
14427
+ },
14428
+ {
14429
+ "type": "null"
14430
+ }
14431
+ ],
14432
+ "default": null,
14433
+ "title": "Environment"
14434
+ },
14435
+ "credentials": {
14436
+ "anyOf": [
14437
+ {
14438
+ "items": {
14439
+ "type": "string"
14440
+ },
14441
+ "type": "array"
14442
+ },
14443
+ {
14444
+ "type": "null"
14445
+ }
14446
+ ],
14447
+ "default": null,
14448
+ "title": "Credentials"
13308
14449
  }
13309
14450
  },
13310
14451
  "required": [
@@ -13351,13 +14492,13 @@
13351
14492
  "resource_not_found",
13352
14493
  "implementation_unavailable"
13353
14494
  ],
13354
- "digest": "sha256:7d7da6a806a046d076be3631c4b1fa0ca2700b1431b1a917ce21bc3c600fa993"
14495
+ "digest": "sha256:2e44526b75636d16e72c4f4c54bee0534b19beb8f63770d3e4b5f301599c6458"
13355
14496
  },
13356
14497
  {
13357
14498
  "name": "zo.machine.snapshot",
13358
14499
  "version": 1,
13359
14500
  "publisher": "zo",
13360
- "description": "Save a running managed machine's filesystem as a ready image. Destination options live under image. Image visibility defaults to the source; choose workspace or protected explicitly to override it. Finish filesystem writes first. Processes and credentials are not rebound from the source. User-written secrets remain in captured files. Never automatically retry an uncertain result.",
14501
+ "description": "Save a running managed machine's filesystem as a ready image. Destination options live under image. Image visibility defaults to the source; choose workspace or protected explicitly to override it. Finish filesystem writes first. Processes and credentials are not rebound from the source. User-written secrets remain in captured files. Never automatically retry an uncertain result. Describe what this machine image is for in the user's terms.",
13361
14502
  "input_schema": {
13362
14503
  "additionalProperties": false,
13363
14504
  "properties": {
@@ -13400,6 +14541,13 @@
13400
14541
  "title": "Display Name",
13401
14542
  "type": "string"
13402
14543
  },
14544
+ "description": {
14545
+ "default": "",
14546
+ "description": "Describe what this machine image is for in the user's terms.",
14547
+ "maxLength": 2000,
14548
+ "title": "Description",
14549
+ "type": "string"
14550
+ },
13403
14551
  "visibility": {
13404
14552
  "anyOf": [
13405
14553
  {
@@ -13453,6 +14601,10 @@
13453
14601
  "title": "Display Name",
13454
14602
  "type": "string"
13455
14603
  },
14604
+ "description": {
14605
+ "title": "Description",
14606
+ "type": "string"
14607
+ },
13456
14608
  "visibility": {
13457
14609
  "enum": [
13458
14610
  "workspace",
@@ -13528,6 +14680,7 @@
13528
14680
  "type",
13529
14681
  "type_version",
13530
14682
  "display_name",
14683
+ "description",
13531
14684
  "visibility",
13532
14685
  "revision",
13533
14686
  "properties",
@@ -13620,7 +14773,7 @@
13620
14773
  "resource_not_found",
13621
14774
  "implementation_unavailable"
13622
14775
  ],
13623
- "digest": "sha256:645ee2be3919a45a1e1ec2357a54f70d898def16f8fbf6dd5b586d54cd60314e"
14776
+ "digest": "sha256:872a8c42e681e283f9f8b1b79825d5dbce069b7b39eae4139eb46ac93b57beca"
13624
14777
  },
13625
14778
  {
13626
14779
  "name": "zo.machine.stop",
@@ -13682,6 +14835,10 @@
13682
14835
  "title": "Display Name",
13683
14836
  "type": "string"
13684
14837
  },
14838
+ "description": {
14839
+ "title": "Description",
14840
+ "type": "string"
14841
+ },
13685
14842
  "visibility": {
13686
14843
  "enum": [
13687
14844
  "workspace",
@@ -13763,6 +14920,23 @@
13763
14920
  }
13764
14921
  ],
13765
14922
  "title": "Destroyed At"
14923
+ },
14924
+ "recoverable_until": {
14925
+ "anyOf": [
14926
+ {
14927
+ "type": "string"
14928
+ },
14929
+ {
14930
+ "type": "null"
14931
+ }
14932
+ ],
14933
+ "default": null,
14934
+ "title": "Recoverable Until"
14935
+ },
14936
+ "recovery_acceptance_required": {
14937
+ "default": false,
14938
+ "title": "Recovery Acceptance Required",
14939
+ "type": "boolean"
13766
14940
  }
13767
14941
  },
13768
14942
  "required": [
@@ -13771,6 +14945,7 @@
13771
14945
  "type",
13772
14946
  "type_version",
13773
14947
  "display_name",
14948
+ "description",
13774
14949
  "visibility",
13775
14950
  "revision",
13776
14951
  "properties",
@@ -13786,6 +14961,25 @@
13786
14961
  "title": "ManagedMachineView",
13787
14962
  "type": "object",
13788
14963
  "$defs": {
14964
+ "GpuType": {
14965
+ "enum": [
14966
+ "T4",
14967
+ "L4",
14968
+ "A10",
14969
+ "L40S",
14970
+ "A100",
14971
+ "A100-40GB",
14972
+ "A100-80GB",
14973
+ "RTX-PRO-6000",
14974
+ "H100",
14975
+ "H100!",
14976
+ "H200",
14977
+ "B200",
14978
+ "B200+",
14979
+ "B300"
14980
+ ],
14981
+ "type": "string"
14982
+ },
13789
14983
  "MachineBootedView": {
13790
14984
  "additionalProperties": false,
13791
14985
  "properties": {
@@ -13819,6 +15013,26 @@
13819
15013
  "title": "MachineBootedView",
13820
15014
  "type": "object"
13821
15015
  },
15016
+ "MachineGpu": {
15017
+ "additionalProperties": false,
15018
+ "properties": {
15019
+ "type": {
15020
+ "$ref": "#/$defs/GpuType"
15021
+ },
15022
+ "count": {
15023
+ "maximum": 8,
15024
+ "minimum": 1,
15025
+ "title": "Count",
15026
+ "type": "integer"
15027
+ }
15028
+ },
15029
+ "required": [
15030
+ "type",
15031
+ "count"
15032
+ ],
15033
+ "title": "MachineGpu",
15034
+ "type": "object"
15035
+ },
13822
15036
  "MachineProperties": {
13823
15037
  "additionalProperties": false,
13824
15038
  "description": "Public properties of a `machine` resource.\n\nFive dimensions say what kind of machine it is, in supported combinations\nonly. A managed sandbox also carries its image, shape and region,\nplus desired timers and boot settings; every other kind\ncarries null there. Lifecycle state is not a property.",
@@ -13901,6 +15115,17 @@
13901
15115
  ],
13902
15116
  "title": "Memory Mib"
13903
15117
  },
15118
+ "gpu": {
15119
+ "anyOf": [
15120
+ {
15121
+ "$ref": "#/$defs/MachineGpu"
15122
+ },
15123
+ {
15124
+ "type": "null"
15125
+ }
15126
+ ],
15127
+ "default": null
15128
+ },
13904
15129
  "region": {
13905
15130
  "anyOf": [
13906
15131
  {
@@ -13972,6 +15197,38 @@
13972
15197
  ],
13973
15198
  "default": null,
13974
15199
  "title": "Command"
15200
+ },
15201
+ "environment": {
15202
+ "anyOf": [
15203
+ {
15204
+ "additionalProperties": {
15205
+ "maxLength": 4096,
15206
+ "type": "string"
15207
+ },
15208
+ "maxProperties": 64,
15209
+ "type": "object"
15210
+ },
15211
+ {
15212
+ "type": "null"
15213
+ }
15214
+ ],
15215
+ "default": null,
15216
+ "title": "Environment"
15217
+ },
15218
+ "credentials": {
15219
+ "anyOf": [
15220
+ {
15221
+ "items": {
15222
+ "type": "string"
15223
+ },
15224
+ "type": "array"
15225
+ },
15226
+ {
15227
+ "type": "null"
15228
+ }
15229
+ ],
15230
+ "default": null,
15231
+ "title": "Credentials"
13975
15232
  }
13976
15233
  },
13977
15234
  "required": [
@@ -14018,7 +15275,7 @@
14018
15275
  "resource_not_found",
14019
15276
  "implementation_unavailable"
14020
15277
  ],
14021
- "digest": "sha256:571e495b82a4147f416a12471d89baf8926ba3fbfc40c528c938bc2e46f3f66a"
15278
+ "digest": "sha256:a4084a97871db1ea5edbe78ada81492054939eb0fbc3acf264c948b1339cee34"
14022
15279
  },
14023
15280
  {
14024
15281
  "name": "zo.machine.system_info",
@@ -14106,6 +15363,25 @@
14106
15363
  ],
14107
15364
  "type": "string"
14108
15365
  },
15366
+ "GpuType": {
15367
+ "enum": [
15368
+ "T4",
15369
+ "L4",
15370
+ "A10",
15371
+ "L40S",
15372
+ "A100",
15373
+ "A100-40GB",
15374
+ "A100-80GB",
15375
+ "RTX-PRO-6000",
15376
+ "H100",
15377
+ "H100!",
15378
+ "H200",
15379
+ "B200",
15380
+ "B200+",
15381
+ "B300"
15382
+ ],
15383
+ "type": "string"
15384
+ },
14109
15385
  "InfoGroup": {
14110
15386
  "enum": [
14111
15387
  "architecture",
@@ -14179,6 +15455,26 @@
14179
15455
  "title": "MachineCapability",
14180
15456
  "type": "object"
14181
15457
  },
15458
+ "MachineGpu": {
15459
+ "additionalProperties": false,
15460
+ "properties": {
15461
+ "type": {
15462
+ "$ref": "#/$defs/GpuType"
15463
+ },
15464
+ "count": {
15465
+ "maximum": 8,
15466
+ "minimum": 1,
15467
+ "title": "Count",
15468
+ "type": "integer"
15469
+ }
15470
+ },
15471
+ "required": [
15472
+ "type",
15473
+ "count"
15474
+ ],
15475
+ "title": "MachineGpu",
15476
+ "type": "object"
15477
+ },
14182
15478
  "MachineInfoAllocation": {
14183
15479
  "additionalProperties": false,
14184
15480
  "description": "The requested shape, and the provider-verified one once recorded. The\ntwo are separate facts; neither is a guest-visible count.",
@@ -14198,6 +15494,17 @@
14198
15494
  "title": "Requested Memory Mib",
14199
15495
  "type": "integer"
14200
15496
  },
15497
+ "requested_gpu": {
15498
+ "anyOf": [
15499
+ {
15500
+ "$ref": "#/$defs/MachineGpu"
15501
+ },
15502
+ {
15503
+ "type": "null"
15504
+ }
15505
+ ],
15506
+ "default": null
15507
+ },
14201
15508
  "verified_vcpus": {
14202
15509
  "anyOf": [
14203
15510
  {
@@ -14418,7 +15725,7 @@
14418
15725
  "resource_not_found",
14419
15726
  "implementation_unavailable"
14420
15727
  ],
14421
- "digest": "sha256:e2ef28262575d67a5fe38626362309179825db97db20185ee9f4ea97fa73623b"
15728
+ "digest": "sha256:13a4cb98a7bac12bb3f96d98321733aecbb4445252488d641affe3976f539432"
14422
15729
  },
14423
15730
  {
14424
15731
  "name": "zo.machine.update",
@@ -14452,6 +15759,20 @@
14452
15759
  "default": null,
14453
15760
  "title": "Display Name"
14454
15761
  },
15762
+ "description": {
15763
+ "anyOf": [
15764
+ {
15765
+ "maxLength": 2000,
15766
+ "type": "string"
15767
+ },
15768
+ {
15769
+ "type": "null"
15770
+ }
15771
+ ],
15772
+ "default": null,
15773
+ "description": "Describe what this machine is for in the user's terms.",
15774
+ "title": "Description"
15775
+ },
14455
15776
  "lifecycle": {
14456
15777
  "anyOf": [
14457
15778
  {
@@ -14477,7 +15798,7 @@
14477
15798
  }
14478
15799
  ],
14479
15800
  "default": null,
14480
- "description": "Which process runs first at boot. `none` (default): nothing; the machine waits for exec. `image`: the image's init system (systemd, OpenRC) becomes PID 1 and starts enabled services. `source.machine_image_id` chooses the image. Debian and Ubuntu need `systemd systemd-sysv`. Setting `image` needs exec permission; approval-gated exec is denied. Write access to boot files can run code as root at next boot.",
15801
+ "description": "Which process runs first at boot. `none` (default): nothing; the machine waits for exec. `image`: the image's init system (systemd, OpenRC) becomes PID 1 and starts enabled services. `source.machine_image_id` chooses the image. Debian and Ubuntu need `systemd systemd-sysv`. Write access to boot files can run code as root at next boot.",
14481
15802
  "title": "Init"
14482
15803
  },
14483
15804
  "command": {
@@ -14496,14 +15817,51 @@
14496
15817
  }
14497
15818
  ],
14498
15819
  "default": null,
14499
- "description": "Set the main process for the next resume. Arguments run without a shell; use [\"sh\", \"-c\", ...] for shell syntax. Find ENTRYPOINT and CMD on the image's registry page; Zo does not return them. Pass ENTRYPOINT then CMD. With `init: image`, wait for needed services. The machine stops when the command exits; resume runs it again. It may run more than once after a lost create or resume response, so make it safe to rerun. Each argument is at most 4,096 UTF-8 bytes and all arguments total at most 65,536 bytes. A running command is not activity: set `idle_timeout_seconds` at least as long as the job. The maximum is published by `zo.machine.list_configurations` (3,600 s today); a longer job needs Zo exec or file calls, or HTTP through a tunnel or connect token. After exit, `get` may show `running` for a few minutes. Zo reports no exit reason or code. Write a job's result to disk. A resume runs the command again, so to read it, clear the command, resume, then use `zo.machine.read_bytes`. With `init: image` and a command, a missing `/sbin/init` ends the generation as an exit stop, without `incompatible_image`. Changing the command needs exec permission; approval-gated exec is denied. Write access to its script can run code as root at next boot.",
15820
+ "description": "Set the main process for the next resume. Arguments run without a shell; use [\"sh\", \"-c\", ...] for shell syntax. Find ENTRYPOINT and CMD on the image's registry page; Zo does not return them. Pass ENTRYPOINT then CMD. With `init: image`, wait for needed services. The machine stops when the command exits; resume runs it again. It may run more than once after a lost create or resume response, so make it safe to rerun. Each argument is at most 4,096 UTF-8 bytes and all arguments total at most 65,536 bytes. A running command is not activity: set `idle_timeout_seconds` at least as long as the job. The maximum is published by `zo.machine.list_configurations`: 3,600 s for CPU machines and 86,400 s for GPU machines. Longer CPU jobs need Zo exec or file calls, or HTTP through a tunnel or connect token. After exit, `get` may show `running` for a few minutes. Zo reports no exit reason or code. Write a job's result to disk. A resume runs the command again, so to read it, clear the command, resume, then use `zo.machine.read_bytes`. With `init: image` and a command, a missing `/sbin/init` ends the generation as an exit stop, without `incompatible_image`. Write access to its script can run code as root at next boot.",
14500
15821
  "title": "Command"
14501
15822
  },
14502
15823
  "clear_command": {
14503
15824
  "default": false,
14504
- "description": "Remove the main process on the next resume. Requires manage permission only.",
15825
+ "description": "Remove the main process on the next resume.",
14505
15826
  "title": "Clear Command",
14506
15827
  "type": "boolean"
15828
+ },
15829
+ "environment": {
15830
+ "anyOf": [
15831
+ {
15832
+ "additionalProperties": {
15833
+ "maxLength": 4096,
15834
+ "type": "string"
15835
+ },
15836
+ "maxProperties": 64,
15837
+ "type": "object"
15838
+ },
15839
+ {
15840
+ "type": "null"
15841
+ }
15842
+ ],
15843
+ "default": null,
15844
+ "description": "The environment that replaces the stored one; omit it to keep it. Environment variables set, exactly as written, in the boot process and every command run on the machine. Plain strings, not secrets: they are part of the machine's configuration, which anyone who can read the machine sees. Names are upper-case letters, digits and underscores, and reserved names such as `PATH` or ones starting with `ZO_` are refused; at most 64 variables of at most 4096 characters each. A variable here wins over a connection in `credentials` that sets the same name.",
15845
+ "title": "Environment"
15846
+ },
15847
+ "credentials": {
15848
+ "anyOf": [
15849
+ {
15850
+ "items": {
15851
+ "maxLength": 200,
15852
+ "minLength": 1,
15853
+ "type": "string"
15854
+ },
15855
+ "maxItems": 100,
15856
+ "type": "array"
15857
+ },
15858
+ {
15859
+ "type": "null"
15860
+ }
15861
+ ],
15862
+ "default": null,
15863
+ "description": "The list that replaces the stored one; omit it to keep it. Connection IDs whose credentials the machine receives as environment variables, in the boot process and every command. Each slot of a listed connection sets the variable its definition names, with the variables the slot and the connection declare. The machine also needs a use grant on each connection (`zo.grant.create` with the machine as assignee); a listed connection without one delivers nothing. When two listed connections set the same variable, the later one in the list wins. At most 100 connections, each listed once.",
15864
+ "title": "Credentials"
14507
15865
  }
14508
15866
  },
14509
15867
  "required": [
@@ -14569,6 +15927,10 @@
14569
15927
  "title": "Display Name",
14570
15928
  "type": "string"
14571
15929
  },
15930
+ "description": {
15931
+ "title": "Description",
15932
+ "type": "string"
15933
+ },
14572
15934
  "idle_timeout_seconds": {
14573
15935
  "title": "Idle Timeout Seconds",
14574
15936
  "type": "integer"
@@ -14589,6 +15951,7 @@
14589
15951
  "machine_id",
14590
15952
  "revision",
14591
15953
  "display_name",
15954
+ "description",
14592
15955
  "idle_timeout_seconds",
14593
15956
  "max_run_seconds"
14594
15957
  ],
@@ -14609,7 +15972,7 @@
14609
15972
  "resource_not_found",
14610
15973
  "implementation_unavailable"
14611
15974
  ],
14612
- "digest": "sha256:49ca93944646dfc1d5f659607adc95718b2b1067e37aece52fc9c32579dab7cb"
15975
+ "digest": "sha256:c6c5547e739a2d0696a0df3e4300727bffe8b77c42ecbcf2cdb4f945f98da011"
14613
15976
  },
14614
15977
  {
14615
15978
  "name": "zo.machine.write_bytes",
@@ -14775,6 +16138,10 @@
14775
16138
  "title": "Display Name",
14776
16139
  "type": "string"
14777
16140
  },
16141
+ "description": {
16142
+ "title": "Description",
16143
+ "type": "string"
16144
+ },
14778
16145
  "visibility": {
14779
16146
  "enum": [
14780
16147
  "workspace",
@@ -14850,6 +16217,7 @@
14850
16217
  "type",
14851
16218
  "type_version",
14852
16219
  "display_name",
16220
+ "description",
14853
16221
  "visibility",
14854
16222
  "revision",
14855
16223
  "properties",
@@ -14942,7 +16310,7 @@
14942
16310
  "resource_not_found",
14943
16311
  "implementation_unavailable"
14944
16312
  ],
14945
- "digest": "sha256:3f2149152dcee8d81e441ab66b5903709a1ff50dc0c023d43c2ce1b4f44e7598"
16313
+ "digest": "sha256:a073d8d08bad780f0c6e993ef023b13ce903908bd1a0e0ad98d305b845a4f36f"
14946
16314
  },
14947
16315
  {
14948
16316
  "name": "zo.machine_image.get",
@@ -14990,6 +16358,10 @@
14990
16358
  "title": "Display Name",
14991
16359
  "type": "string"
14992
16360
  },
16361
+ "description": {
16362
+ "title": "Description",
16363
+ "type": "string"
16364
+ },
14993
16365
  "visibility": {
14994
16366
  "enum": [
14995
16367
  "workspace",
@@ -15065,6 +16437,7 @@
15065
16437
  "type",
15066
16438
  "type_version",
15067
16439
  "display_name",
16440
+ "description",
15068
16441
  "visibility",
15069
16442
  "revision",
15070
16443
  "properties",
@@ -15154,13 +16527,13 @@
15154
16527
  "resource_not_found",
15155
16528
  "implementation_unavailable"
15156
16529
  ],
15157
- "digest": "sha256:95151f7bcd3dbf6264e830ac1854083915d5d2ab6ac240c7e3eadf06d3de91fb"
16530
+ "digest": "sha256:5dfdc9267c96522de0e7db27a1aeb7aa5d2745910879dd164b5c3ab68adde4fb"
15158
16531
  },
15159
16532
  {
15160
16533
  "name": "zo.machine_image.import",
15161
16534
  "version": 1,
15162
16535
  "publisher": "zo",
15163
- "description": "Import a registry image, pinned to its manifest digest, and return the image view.",
16536
+ "description": "Import a registry image, pinned to its manifest digest, and return the image view. Describe what this machine image is for in the user's terms.",
15164
16537
  "input_schema": {
15165
16538
  "additionalProperties": false,
15166
16539
  "properties": {
@@ -15170,6 +16543,13 @@
15170
16543
  "title": "Display Name",
15171
16544
  "type": "string"
15172
16545
  },
16546
+ "description": {
16547
+ "default": "",
16548
+ "description": "Describe what this machine image is for in the user's terms.",
16549
+ "maxLength": 2000,
16550
+ "title": "Description",
16551
+ "type": "string"
16552
+ },
15173
16553
  "visibility": {
15174
16554
  "default": "workspace",
15175
16555
  "description": "`workspace` (default): every member can see and use it. `protected`: only you, and whoever you share it with; workspace-wide grants don't reach it. Fixed at creation.",
@@ -15262,6 +16642,10 @@
15262
16642
  "title": "Display Name",
15263
16643
  "type": "string"
15264
16644
  },
16645
+ "description": {
16646
+ "title": "Description",
16647
+ "type": "string"
16648
+ },
15265
16649
  "visibility": {
15266
16650
  "enum": [
15267
16651
  "workspace",
@@ -15337,6 +16721,7 @@
15337
16721
  "type",
15338
16722
  "type_version",
15339
16723
  "display_name",
16724
+ "description",
15340
16725
  "visibility",
15341
16726
  "revision",
15342
16727
  "properties",
@@ -15429,7 +16814,7 @@
15429
16814
  "resource_not_found",
15430
16815
  "implementation_unavailable"
15431
16816
  ],
15432
- "digest": "sha256:72d2b0b6cb83955b9624e6ffe058dcc0733db58d0db7846da55a919c35ddd750"
16817
+ "digest": "sha256:9e0bb0fb82671c75e48f20e96301fcf1f8d98bb5f5838667e3ed9b29cd0cc375"
15433
16818
  },
15434
16819
  {
15435
16820
  "name": "zo.machine_image.list",
@@ -15569,6 +16954,10 @@
15569
16954
  "title": "Display Name",
15570
16955
  "type": "string"
15571
16956
  },
16957
+ "description": {
16958
+ "title": "Description",
16959
+ "type": "string"
16960
+ },
15572
16961
  "visibility": {
15573
16962
  "enum": [
15574
16963
  "workspace",
@@ -15644,6 +17033,7 @@
15644
17033
  "type",
15645
17034
  "type_version",
15646
17035
  "display_name",
17036
+ "description",
15647
17037
  "visibility",
15648
17038
  "revision",
15649
17039
  "properties",
@@ -15670,7 +17060,7 @@
15670
17060
  "invalid_cursor",
15671
17061
  "implementation_unavailable"
15672
17062
  ],
15673
- "digest": "sha256:8c64e821d1d72a4b55881a7387aff27342b1913d63728e2adfa84f0f926e03f5"
17063
+ "digest": "sha256:e26cac898b1ec2ac11b4576d9825c8ace5be890ef92d7081f9d15e8c932ef0e5"
15674
17064
  },
15675
17065
  {
15676
17066
  "name": "zo.message.get",
@@ -16857,7 +18247,7 @@
16857
18247
  "name": "zo.schedule.create",
16858
18248
  "version": 1,
16859
18249
  "publisher": "zo",
16860
- "description": "Create a schedule.",
18250
+ "description": "Create a schedule. Describe what this schedule is for in the user's terms.",
16861
18251
  "input_schema": {
16862
18252
  "additionalProperties": false,
16863
18253
  "properties": {
@@ -16873,6 +18263,13 @@
16873
18263
  "title": "Display Name",
16874
18264
  "type": "string"
16875
18265
  },
18266
+ "description": {
18267
+ "default": "",
18268
+ "description": "Describe what this schedule is for in the user's terms.",
18269
+ "maxLength": 2000,
18270
+ "title": "Description",
18271
+ "type": "string"
18272
+ },
16876
18273
  "rrule": {
16877
18274
  "maxLength": 1000,
16878
18275
  "minLength": 1,
@@ -16939,6 +18336,10 @@
16939
18336
  "title": "Display Name",
16940
18337
  "type": "string"
16941
18338
  },
18339
+ "description": {
18340
+ "title": "Description",
18341
+ "type": "string"
18342
+ },
16942
18343
  "revision": {
16943
18344
  "exclusiveMinimum": 0,
16944
18345
  "maximum": 9007199254740991,
@@ -17045,6 +18446,7 @@
17045
18446
  "type",
17046
18447
  "type_version",
17047
18448
  "display_name",
18449
+ "description",
17048
18450
  "revision",
17049
18451
  "visibility",
17050
18452
  "owner_user_id",
@@ -17075,7 +18477,7 @@
17075
18477
  "invalid_input",
17076
18478
  "conflict"
17077
18479
  ],
17078
- "digest": "sha256:8f693289756d382a8e744c9b215cdecce6707d630aa4443094964735385ac83d"
18480
+ "digest": "sha256:d01b8626e136e81b3061302cf6903357ad9ca21624b3a45c04844535d60debd5"
17079
18481
  },
17080
18482
  {
17081
18483
  "name": "zo.schedule.delete",
@@ -17186,6 +18588,10 @@
17186
18588
  "title": "Display Name",
17187
18589
  "type": "string"
17188
18590
  },
18591
+ "description": {
18592
+ "title": "Description",
18593
+ "type": "string"
18594
+ },
17189
18595
  "revision": {
17190
18596
  "exclusiveMinimum": 0,
17191
18597
  "maximum": 9007199254740991,
@@ -17292,6 +18698,7 @@
17292
18698
  "type",
17293
18699
  "type_version",
17294
18700
  "display_name",
18701
+ "description",
17295
18702
  "revision",
17296
18703
  "visibility",
17297
18704
  "owner_user_id",
@@ -17321,7 +18728,7 @@
17321
18728
  "implementation_unavailable",
17322
18729
  "resource_not_found"
17323
18730
  ],
17324
- "digest": "sha256:b71d5c60e03878e6dcf965fa90173191b08be556f531629169a64d1d9d255190"
18731
+ "digest": "sha256:963753b318bbba35f7cb4f862da14681781cb5be86e19fdc28de69b36db29393"
17325
18732
  },
17326
18733
  {
17327
18734
  "name": "zo.schedule.list",
@@ -17397,6 +18804,10 @@
17397
18804
  "title": "Display Name",
17398
18805
  "type": "string"
17399
18806
  },
18807
+ "description": {
18808
+ "title": "Description",
18809
+ "type": "string"
18810
+ },
17400
18811
  "revision": {
17401
18812
  "exclusiveMinimum": 0,
17402
18813
  "maximum": 9007199254740991,
@@ -17495,6 +18906,7 @@
17495
18906
  "type",
17496
18907
  "type_version",
17497
18908
  "display_name",
18909
+ "description",
17498
18910
  "revision",
17499
18911
  "visibility",
17500
18912
  "owner_user_id",
@@ -17525,7 +18937,7 @@
17525
18937
  "implementation_unavailable",
17526
18938
  "invalid_cursor"
17527
18939
  ],
17528
- "digest": "sha256:385d37b7cad26dc41da87a40a0947af85ec9c29435ae9cb896e20ccdac095ef5"
18940
+ "digest": "sha256:9bea265b3fafa8c506e6e3f17404de8a8d492174552aa785c6132fb40ea03395"
17529
18941
  },
17530
18942
  {
17531
18943
  "name": "zo.schedule.update",
@@ -17553,6 +18965,20 @@
17553
18965
  "title": "Display Name",
17554
18966
  "type": "string"
17555
18967
  },
18968
+ "description": {
18969
+ "anyOf": [
18970
+ {
18971
+ "maxLength": 2000,
18972
+ "type": "string"
18973
+ },
18974
+ {
18975
+ "type": "null"
18976
+ }
18977
+ ],
18978
+ "default": null,
18979
+ "description": "Describe what this schedule is for in the user's terms.",
18980
+ "title": "Description"
18981
+ },
17556
18982
  "rrule": {
17557
18983
  "maxLength": 1000,
17558
18984
  "minLength": 1,
@@ -17620,6 +19046,10 @@
17620
19046
  "title": "Display Name",
17621
19047
  "type": "string"
17622
19048
  },
19049
+ "description": {
19050
+ "title": "Description",
19051
+ "type": "string"
19052
+ },
17623
19053
  "revision": {
17624
19054
  "exclusiveMinimum": 0,
17625
19055
  "maximum": 9007199254740991,
@@ -17726,6 +19156,7 @@
17726
19156
  "type",
17727
19157
  "type_version",
17728
19158
  "display_name",
19159
+ "description",
17729
19160
  "revision",
17730
19161
  "visibility",
17731
19162
  "owner_user_id",
@@ -17757,7 +19188,7 @@
17757
19188
  "conflict",
17758
19189
  "resource_not_found"
17759
19190
  ],
17760
- "digest": "sha256:c852330fa645f3e7230229d75ec2ac29017a74338a6cf609297b696273f4c325"
19191
+ "digest": "sha256:bd59de12c637d57f1f0ef188d956cd0f03ea0d7e1d5af0ab69b2c4db5e52da50"
17761
19192
  },
17762
19193
  {
17763
19194
  "name": "zo.source.complete",
@@ -19153,7 +20584,7 @@
19153
20584
  "name": "zo.subscription.create",
19154
20585
  "version": 2,
19155
20586
  "publisher": "zo",
19156
- "description": "Bind an event definition to a function entrypoint or a workflow's start run as a non-human execution principal, or to an Agent whose sessions receive each occurrence.",
20587
+ "description": "Bind an event definition to a function entrypoint or a workflow's start run as a non-human execution principal, or to an Agent whose sessions receive each occurrence. Describe what this subscription is for in the user's terms.",
19157
20588
  "input_schema": {
19158
20589
  "additionalProperties": false,
19159
20590
  "description": "Bind an event definition to a handler. ``handler_resource_type`` is\n``function``, ``workflow`` or ``agent``. A Function target names\n``handler_resource_id``, ``handler_entrypoint``, ``input_contract_version``,\n``input_contract_kind`` and the ``execution_principal_id`` service account it\nruns as. A workflow target names ``workflow_id`` and the same fields but\n``handler_resource_id``: ``handler_entrypoint`` is ``start``, which begins a\nnew run per occurrence with the envelope as its ``event`` input, and\n``input_contract_version`` is 1, the contract of that input. An Agent\ntarget names ``agent_id``, the ``agent_priority`` an occurrence enters a turn\nwith (``queue``, ``steer`` or ``interrupt``), the ``agent_session_policy``\nthat picks its session (``new``; ``fixed``, with ``agent_session_id``; or\n``per_conversation``, for an event with a ``conversation_path``, keyed in\n``agent_session_scope``, the event's ``<publisher>/<name>`` when omitted)\nand optional ``agent_instructions`` shown with every occurrence. Fields of\nthe other handler type are refused. Omit ``filter`` to receive every\noccurrence.",
@@ -19172,6 +20603,13 @@
19172
20603
  "title": "Display Name",
19173
20604
  "type": "string"
19174
20605
  },
20606
+ "description": {
20607
+ "default": "",
20608
+ "description": "Describe what this subscription is for in the user's terms.",
20609
+ "maxLength": 2000,
20610
+ "title": "Description",
20611
+ "type": "string"
20612
+ },
19175
20613
  "filter": {
19176
20614
  "anyOf": [
19177
20615
  {
@@ -19797,6 +21235,10 @@
19797
21235
  "title": "Display Name",
19798
21236
  "type": "string"
19799
21237
  },
21238
+ "description": {
21239
+ "title": "Description",
21240
+ "type": "string"
21241
+ },
19800
21242
  "revision": {
19801
21243
  "exclusiveMinimum": 0,
19802
21244
  "maximum": 9007199254740991,
@@ -20014,6 +21456,7 @@
20014
21456
  "type",
20015
21457
  "type_version",
20016
21458
  "display_name",
21459
+ "description",
20017
21460
  "revision",
20018
21461
  "properties",
20019
21462
  "event_type",
@@ -20536,7 +21979,7 @@
20536
21979
  "resource_not_found",
20537
21980
  "implementation_unavailable"
20538
21981
  ],
20539
- "digest": "sha256:154bafc3367647707039d03a47622b34245691f22fadf4b89c159120c4a00f41"
21982
+ "digest": "sha256:8e9b1435cc7a44463c1b3a763000b0331cb0ef2f3aff18be8aed7e2a5e7d7a9e"
20540
21983
  },
20541
21984
  {
20542
21985
  "name": "zo.subscription.delete",
@@ -21451,6 +22894,10 @@
21451
22894
  "title": "Display Name",
21452
22895
  "type": "string"
21453
22896
  },
22897
+ "description": {
22898
+ "title": "Description",
22899
+ "type": "string"
22900
+ },
21454
22901
  "revision": {
21455
22902
  "exclusiveMinimum": 0,
21456
22903
  "maximum": 9007199254740991,
@@ -21679,6 +23126,7 @@
21679
23126
  "type",
21680
23127
  "type_version",
21681
23128
  "display_name",
23129
+ "description",
21682
23130
  "revision",
21683
23131
  "properties",
21684
23132
  "event_type",
@@ -22325,7 +23773,7 @@
22325
23773
  "resource_not_found",
22326
23774
  "implementation_unavailable"
22327
23775
  ],
22328
- "digest": "sha256:73d6e4a764ed4b5cc58ff16efe4ff2d02fdc878f477325384712f52d513bd9d8"
23776
+ "digest": "sha256:b87a997bc826d53053a86e77acc2e5d9e369347168b11b41c209df2b1aa5c193"
22329
23777
  },
22330
23778
  {
22331
23779
  "name": "zo.subscription.list",
@@ -23536,6 +24984,10 @@
23536
24984
  "title": "Display Name",
23537
24985
  "type": "string"
23538
24986
  },
24987
+ "description": {
24988
+ "title": "Description",
24989
+ "type": "string"
24990
+ },
23539
24991
  "revision": {
23540
24992
  "exclusiveMinimum": 0,
23541
24993
  "maximum": 9007199254740991,
@@ -23753,6 +25205,7 @@
23753
25205
  "type",
23754
25206
  "type_version",
23755
25207
  "display_name",
25208
+ "description",
23756
25209
  "revision",
23757
25210
  "properties",
23758
25211
  "event_type",
@@ -23791,7 +25244,7 @@
23791
25244
  "invalid_cursor",
23792
25245
  "implementation_unavailable"
23793
25246
  ],
23794
- "digest": "sha256:ce9c299c43c5553699c4c81c2de3aaa5674de5b9aed5a7dff826c5f8f4e2eb8b"
25247
+ "digest": "sha256:4917ff24cbee91ba140a6149664b94556a39e1c0d0ea2df39a7938106831a0e0"
23795
25248
  },
23796
25249
  {
23797
25250
  "name": "zo.subscription.update",
@@ -24937,7 +26390,7 @@
24937
26390
  "description": "Replace a subscription's configuration and lifecycle at the expected revision.",
24938
26391
  "input_schema": {
24939
26392
  "additionalProperties": false,
24940
- "description": "Full replacement of every create field but the workspace and the event (a new\ndefinition or version is a new subscription), plus ``lifecycle``: ``active``\nresumes a paused or suspended subscription, ``paused`` pauses it;\n``zo.subscription.delete`` retires. ``handler_resource_type`` must be the\nsubscription's own: a different handler type is a new subscription.",
26393
+ "description": "Replace create fields except workspace, event and optional description.\nA new event definition or version requires a new subscription.\nOmitted or null description keeps its value. ``lifecycle``: ``active``\nresumes a paused or suspended subscription, ``paused`` pauses it;\n``zo.subscription.delete`` retires. ``handler_resource_type`` must be the\nsubscription's own: a different handler type is a new subscription.",
24941
26394
  "properties": {
24942
26395
  "subscription_id": {
24943
26396
  "title": "Subscription Id",
@@ -24955,6 +26408,20 @@
24955
26408
  "title": "Display Name",
24956
26409
  "type": "string"
24957
26410
  },
26411
+ "description": {
26412
+ "anyOf": [
26413
+ {
26414
+ "maxLength": 2000,
26415
+ "type": "string"
26416
+ },
26417
+ {
26418
+ "type": "null"
26419
+ }
26420
+ ],
26421
+ "default": null,
26422
+ "description": "Describe what this subscription is for in the user's terms.",
26423
+ "title": "Description"
26424
+ },
24958
26425
  "filter": {
24959
26426
  "anyOf": [
24960
26427
  {
@@ -25580,6 +27047,10 @@
25580
27047
  "title": "Display Name",
25581
27048
  "type": "string"
25582
27049
  },
27050
+ "description": {
27051
+ "title": "Description",
27052
+ "type": "string"
27053
+ },
25583
27054
  "revision": {
25584
27055
  "exclusiveMinimum": 0,
25585
27056
  "maximum": 9007199254740991,
@@ -25797,6 +27268,7 @@
25797
27268
  "type",
25798
27269
  "type_version",
25799
27270
  "display_name",
27271
+ "description",
25800
27272
  "revision",
25801
27273
  "properties",
25802
27274
  "event_type",
@@ -26316,7 +27788,7 @@
26316
27788
  "resource_not_found",
26317
27789
  "implementation_unavailable"
26318
27790
  ],
26319
- "digest": "sha256:a76cf78cee9bda330e590942f448e6cd6690ed30d6155c0995f63aec56cb7110"
27791
+ "digest": "sha256:b6dacc05c901e8a6e80d8de6f54a8ce22e66d6a46120056122277b54f11f1360"
26320
27792
  },
26321
27793
  {
26322
27794
  "name": "zo.tag.assign",
@@ -32511,7 +33983,7 @@
32511
33983
  "name": "zo.website.create",
32512
33984
  "version": 1,
32513
33985
  "publisher": "zo",
32514
- "description": "Create a Website address in a workspace.",
33986
+ "description": "Create a Website address in a workspace. Describe what this Website is for in the user's terms.",
32515
33987
  "input_schema": {
32516
33988
  "additionalProperties": false,
32517
33989
  "properties": {
@@ -32532,6 +34004,13 @@
32532
34004
  "title": "Display Name",
32533
34005
  "type": "string"
32534
34006
  },
34007
+ "description": {
34008
+ "default": "",
34009
+ "description": "Describe what this Website is for in the user's terms.",
34010
+ "maxLength": 2000,
34011
+ "title": "Description",
34012
+ "type": "string"
34013
+ },
32535
34014
  "visibility": {
32536
34015
  "default": "workspace",
32537
34016
  "enum": [
@@ -32569,6 +34048,10 @@
32569
34048
  "title": "Display Name",
32570
34049
  "type": "string"
32571
34050
  },
34051
+ "description": {
34052
+ "title": "Description",
34053
+ "type": "string"
34054
+ },
32572
34055
  "generated_hostname": {
32573
34056
  "title": "Generated Hostname",
32574
34057
  "type": "string"
@@ -32627,6 +34110,7 @@
32627
34110
  "workspace_id",
32628
34111
  "slug",
32629
34112
  "display_name",
34113
+ "description",
32630
34114
  "generated_hostname",
32631
34115
  "custom_hostname",
32632
34116
  "access",
@@ -32678,7 +34162,7 @@
32678
34162
  "invalid_input",
32679
34163
  "conflict"
32680
34164
  ],
32681
- "digest": "sha256:9ba23e6af8e25fa7bc9f169ff63d949dc8b719b2213089fee922218e38d2546b"
34165
+ "digest": "sha256:11c07fbf5d7ad7546db624a32b0fa0d3d091a3750e5f299280cd79e44b6d457c"
32682
34166
  },
32683
34167
  {
32684
34168
  "name": "zo.website.delete",
@@ -32781,6 +34265,10 @@
32781
34265
  "title": "Display Name",
32782
34266
  "type": "string"
32783
34267
  },
34268
+ "description": {
34269
+ "title": "Description",
34270
+ "type": "string"
34271
+ },
32784
34272
  "generated_hostname": {
32785
34273
  "title": "Generated Hostname",
32786
34274
  "type": "string"
@@ -32839,6 +34327,7 @@
32839
34327
  "workspace_id",
32840
34328
  "slug",
32841
34329
  "display_name",
34330
+ "description",
32842
34331
  "generated_hostname",
32843
34332
  "custom_hostname",
32844
34333
  "access",
@@ -32889,7 +34378,7 @@
32889
34378
  "implementation_unavailable",
32890
34379
  "resource_not_found"
32891
34380
  ],
32892
- "digest": "sha256:de2e733773d831c4c44cc5078200e3a25574ba956ed3ecb298a5ed2219912cd2"
34381
+ "digest": "sha256:69267cde0d466e6011a6f11dc475ea6b7ef928541ecb2ee0f77db72a6d51dd79"
32893
34382
  },
32894
34383
  {
32895
34384
  "name": "zo.website.list",
@@ -33101,6 +34590,10 @@
33101
34590
  "title": "Display Name",
33102
34591
  "type": "string"
33103
34592
  },
34593
+ "description": {
34594
+ "title": "Description",
34595
+ "type": "string"
34596
+ },
33104
34597
  "generated_hostname": {
33105
34598
  "title": "Generated Hostname",
33106
34599
  "type": "string"
@@ -33171,6 +34664,7 @@
33171
34664
  "workspace_id",
33172
34665
  "slug",
33173
34666
  "display_name",
34667
+ "description",
33174
34668
  "generated_hostname",
33175
34669
  "custom_hostname",
33176
34670
  "access",
@@ -33273,7 +34767,7 @@
33273
34767
  "implementation_unavailable",
33274
34768
  "invalid_input"
33275
34769
  ],
33276
- "digest": "sha256:f4646e08b3b031b5a408e082f348c09fb1f3a06530cd299a7cb7ea3ef466fae1"
34770
+ "digest": "sha256:54c7ec12e23d6d642a6b738f23797aacb945e4bafebf4604b15c12ecf70d019f"
33277
34771
  },
33278
34772
  {
33279
34773
  "name": "zo.website.update",
@@ -33309,6 +34803,20 @@
33309
34803
  "default": null,
33310
34804
  "title": "Display Name"
33311
34805
  },
34806
+ "description": {
34807
+ "anyOf": [
34808
+ {
34809
+ "maxLength": 2000,
34810
+ "type": "string"
34811
+ },
34812
+ {
34813
+ "type": "null"
34814
+ }
34815
+ ],
34816
+ "default": null,
34817
+ "description": "Describe what this Website is for in the user's terms.",
34818
+ "title": "Description"
34819
+ },
33312
34820
  "custom_hostname": {
33313
34821
  "anyOf": [
33314
34822
  {
@@ -33372,6 +34880,10 @@
33372
34880
  "title": "Display Name",
33373
34881
  "type": "string"
33374
34882
  },
34883
+ "description": {
34884
+ "title": "Description",
34885
+ "type": "string"
34886
+ },
33375
34887
  "generated_hostname": {
33376
34888
  "title": "Generated Hostname",
33377
34889
  "type": "string"
@@ -33430,6 +34942,7 @@
33430
34942
  "workspace_id",
33431
34943
  "slug",
33432
34944
  "display_name",
34945
+ "description",
33433
34946
  "generated_hostname",
33434
34947
  "custom_hostname",
33435
34948
  "access",
@@ -33481,7 +34994,7 @@
33481
34994
  "invalid_input",
33482
34995
  "conflict"
33483
34996
  ],
33484
- "digest": "sha256:65402621deb4ac22ada90c12fdb41cb83d496852c03fff65e35e95eed7ff7dd4"
34997
+ "digest": "sha256:6900ed69ecf24c10329a7e4277a228d5d1fa0d68e445e51744e89201d0d675da"
33485
34998
  },
33486
34999
  {
33487
35000
  "name": "zo.website_route.create",
@@ -35527,7 +37040,7 @@
35527
37040
  "name": "zo.workflow.create",
35528
37041
  "version": 1,
35529
37042
  "publisher": "zo",
35530
- "description": "Create a workflow in a workspace.",
37043
+ "description": "Create a workflow in a workspace. Describe what this workflow is for in the user's terms.",
35531
37044
  "input_schema": {
35532
37045
  "additionalProperties": false,
35533
37046
  "properties": {
@@ -35541,6 +37054,13 @@
35541
37054
  "title": "Display Name",
35542
37055
  "type": "string"
35543
37056
  },
37057
+ "description": {
37058
+ "default": "",
37059
+ "description": "Describe what this workflow is for in the user's terms.",
37060
+ "maxLength": 2000,
37061
+ "title": "Description",
37062
+ "type": "string"
37063
+ },
35544
37064
  "visibility": {
35545
37065
  "default": "workspace",
35546
37066
  "enum": [
@@ -35584,6 +37104,10 @@
35584
37104
  "title": "Display Name",
35585
37105
  "type": "string"
35586
37106
  },
37107
+ "description": {
37108
+ "title": "Description",
37109
+ "type": "string"
37110
+ },
35587
37111
  "revision": {
35588
37112
  "exclusiveMinimum": 0,
35589
37113
  "maximum": 9007199254740991,
@@ -35642,6 +37166,7 @@
35642
37166
  "type",
35643
37167
  "type_version",
35644
37168
  "display_name",
37169
+ "description",
35645
37170
  "revision",
35646
37171
  "active_revision_id",
35647
37172
  "latest_revision_id",
@@ -35662,7 +37187,7 @@
35662
37187
  "error_codes": [
35663
37188
  "implementation_unavailable"
35664
37189
  ],
35665
- "digest": "sha256:b371ae5ed9c329dc54fa04b05adf18f0058866c0c2465b603f3d4363726b38e1"
37190
+ "digest": "sha256:e7b85fb404264583d7340a64f558b716531470bd3b11bdfc48872d677f4b6de7"
35666
37191
  },
35667
37192
  {
35668
37193
  "name": "zo.workflow.delete",
@@ -35772,6 +37297,10 @@
35772
37297
  "title": "Display Name",
35773
37298
  "type": "string"
35774
37299
  },
37300
+ "description": {
37301
+ "title": "Description",
37302
+ "type": "string"
37303
+ },
35775
37304
  "revision": {
35776
37305
  "exclusiveMinimum": 0,
35777
37306
  "maximum": 9007199254740991,
@@ -35830,6 +37359,7 @@
35830
37359
  "type",
35831
37360
  "type_version",
35832
37361
  "display_name",
37362
+ "description",
35833
37363
  "revision",
35834
37364
  "active_revision_id",
35835
37365
  "latest_revision_id",
@@ -35851,7 +37381,7 @@
35851
37381
  "resource_not_found",
35852
37382
  "implementation_unavailable"
35853
37383
  ],
35854
- "digest": "sha256:35816b8f25b6e870a125f9e98cfa6a6fcefc1cea5dddc30903a610eae80e84cf"
37384
+ "digest": "sha256:412d31310a1dd06f3165aa8c5ead4b896106733579bfdd654d111a5636d5a40a"
35855
37385
  },
35856
37386
  {
35857
37387
  "name": "zo.workflow.get_run",
@@ -36268,6 +37798,10 @@
36268
37798
  "title": "Display Name",
36269
37799
  "type": "string"
36270
37800
  },
37801
+ "description": {
37802
+ "title": "Description",
37803
+ "type": "string"
37804
+ },
36271
37805
  "revision": {
36272
37806
  "exclusiveMinimum": 0,
36273
37807
  "maximum": 9007199254740991,
@@ -36326,6 +37860,7 @@
36326
37860
  "type",
36327
37861
  "type_version",
36328
37862
  "display_name",
37863
+ "description",
36329
37864
  "revision",
36330
37865
  "active_revision_id",
36331
37866
  "latest_revision_id",
@@ -36348,7 +37883,7 @@
36348
37883
  "error_codes": [
36349
37884
  "implementation_unavailable"
36350
37885
  ],
36351
- "digest": "sha256:b42eaaafa002d0949c423a487c65b39e48f1ab3430e1ae14ebb14e9fa9e1e1a9"
37886
+ "digest": "sha256:24bb99b80d44491a982fb96d4f0b76a81aa35de9cd6f2d8aaf5e6f521ee1b479"
36352
37887
  },
36353
37888
  {
36354
37889
  "name": "zo.workflow.list_runs",
@@ -37147,6 +38682,17 @@
37147
38682
  ],
37148
38683
  "title": "Memory Mib"
37149
38684
  },
38685
+ "gpu": {
38686
+ "anyOf": [
38687
+ {
38688
+ "$ref": "#/$defs/MachineGpu"
38689
+ },
38690
+ {
38691
+ "type": "null"
38692
+ }
38693
+ ],
38694
+ "default": null
38695
+ },
37150
38696
  "region": {
37151
38697
  "anyOf": [
37152
38698
  {
@@ -37218,6 +38764,38 @@
37218
38764
  ],
37219
38765
  "default": null,
37220
38766
  "title": "Command"
38767
+ },
38768
+ "environment": {
38769
+ "anyOf": [
38770
+ {
38771
+ "additionalProperties": {
38772
+ "maxLength": 4096,
38773
+ "type": "string"
38774
+ },
38775
+ "maxProperties": 64,
38776
+ "type": "object"
38777
+ },
38778
+ {
38779
+ "type": "null"
38780
+ }
38781
+ ],
38782
+ "default": null,
38783
+ "title": "Environment"
38784
+ },
38785
+ "credentials": {
38786
+ "anyOf": [
38787
+ {
38788
+ "items": {
38789
+ "type": "string"
38790
+ },
38791
+ "type": "array"
38792
+ },
38793
+ {
38794
+ "type": "null"
38795
+ }
38796
+ ],
38797
+ "default": null,
38798
+ "title": "Credentials"
37221
38799
  }
37222
38800
  },
37223
38801
  "required": [
@@ -37234,9 +38812,50 @@
37234
38812
  "max_run_seconds"
37235
38813
  ],
37236
38814
  "title": "MachineProperties",
37237
- "type": "object"
38815
+ "type": "object",
38816
+ "$defs": {
38817
+ "GpuType": {
38818
+ "enum": [
38819
+ "T4",
38820
+ "L4",
38821
+ "A10",
38822
+ "L40S",
38823
+ "A100",
38824
+ "A100-40GB",
38825
+ "A100-80GB",
38826
+ "RTX-PRO-6000",
38827
+ "H100",
38828
+ "H100!",
38829
+ "H200",
38830
+ "B200",
38831
+ "B200+",
38832
+ "B300"
38833
+ ],
38834
+ "type": "string"
38835
+ },
38836
+ "MachineGpu": {
38837
+ "additionalProperties": false,
38838
+ "properties": {
38839
+ "type": {
38840
+ "$ref": "#/$defs/GpuType"
38841
+ },
38842
+ "count": {
38843
+ "maximum": 8,
38844
+ "minimum": 1,
38845
+ "title": "Count",
38846
+ "type": "integer"
38847
+ }
38848
+ },
38849
+ "required": [
38850
+ "type",
38851
+ "count"
38852
+ ],
38853
+ "title": "MachineGpu",
38854
+ "type": "object"
38855
+ }
38856
+ }
37238
38857
  },
37239
- "digest": "sha256:64515eb4ae68a013b91cadf469f3112c758ebe440f36a6103bd53be66208d6ca"
38858
+ "digest": "sha256:80d9978768454d265ee3e497e4fffc34a59f8137d814c435573b785bc742c66e"
37240
38859
  },
37241
38860
  {
37242
38861
  "type": "machine_image",
@@ -37417,6 +39036,8 @@
37417
39036
  "zo.connection.get": 1,
37418
39037
  "zo.connection.list": 1,
37419
39038
  "zo.connection.register_resource": 1,
39039
+ "zo.connection.slack.complete_authorization": 1,
39040
+ "zo.connection.slack.start_authorization": 1,
37420
39041
  "zo.connection.update": 1,
37421
39042
  "zo.connection_definition.list": 1,
37422
39043
  "zo.connection_definition.publish": 1,
@@ -37715,164 +39336,6 @@
37715
39336
  "digest": "sha256:5f04adfc3d4d50ca178aef661b5d539bc9f39b08c20211b4752f4bda06d82f75",
37716
39337
  "contract_digest": "sha256:ea9f7414954428d03c6d92291608018cbdad736821b5c80455d4bcff5183a6ff"
37717
39338
  },
37718
- {
37719
- "publisher": "zo",
37720
- "name": "slack.message.received",
37721
- "version": 1,
37722
- "description": "A human posted a message in a connected Slack channel.",
37723
- "payload_schema": {
37724
- "type": "object",
37725
- "additionalProperties": false,
37726
- "required": [
37727
- "channel",
37728
- "user",
37729
- "ts",
37730
- "thread_ts",
37731
- "text",
37732
- "text_truncated",
37733
- "mentions_app"
37734
- ],
37735
- "properties": {
37736
- "channel": {
37737
- "type": "string",
37738
- "minLength": 1,
37739
- "maxLength": 128
37740
- },
37741
- "user": {
37742
- "type": "string",
37743
- "minLength": 1,
37744
- "maxLength": 128
37745
- },
37746
- "ts": {
37747
- "type": "string",
37748
- "minLength": 1,
37749
- "maxLength": 64
37750
- },
37751
- "thread_ts": {
37752
- "anyOf": [
37753
- {
37754
- "type": "string",
37755
- "maxLength": 64
37756
- },
37757
- {
37758
- "type": "null"
37759
- }
37760
- ]
37761
- },
37762
- "text": {
37763
- "type": "string",
37764
- "maxLength": 32768
37765
- },
37766
- "text_truncated": {
37767
- "type": "boolean"
37768
- },
37769
- "mentions_app": {
37770
- "type": "boolean"
37771
- }
37772
- }
37773
- },
37774
- "filter_paths": [
37775
- "/channel",
37776
- "/user",
37777
- "/mentions_app"
37778
- ],
37779
- "disclosure": {
37780
- "kind": "custom",
37781
- "subject": {
37782
- "resource_type": "connection"
37783
- }
37784
- },
37785
- "source_connection": "scd_zo_slack",
37786
- "type": "zo.events.slack.message.received@v1",
37787
- "digest": "sha256:299f5fa0b1a2c6cd8f4f6e1ee71ac43f0ff0a8548d74b291473cff4027f34e87",
37788
- "contract_digest": "sha256:7c7dea2a9e9493bb0de59aa551e7c1ace3ddeda3dc5097cdd9c919b2b606566e"
37789
- },
37790
- {
37791
- "publisher": "zo",
37792
- "name": "slack.message.received",
37793
- "version": 2,
37794
- "description": "A human posted a message in a connected Slack channel. `thread_root` is the `ts` of the thread's first message, the message's own `ts` when it starts no thread; `conversation` is the channel and thread root, joined by `/`.",
37795
- "payload_schema": {
37796
- "type": "object",
37797
- "additionalProperties": false,
37798
- "required": [
37799
- "channel",
37800
- "user",
37801
- "ts",
37802
- "thread_ts",
37803
- "thread_root",
37804
- "conversation",
37805
- "text",
37806
- "text_truncated",
37807
- "mentions_app"
37808
- ],
37809
- "properties": {
37810
- "channel": {
37811
- "type": "string",
37812
- "minLength": 1,
37813
- "maxLength": 128
37814
- },
37815
- "user": {
37816
- "type": "string",
37817
- "minLength": 1,
37818
- "maxLength": 128
37819
- },
37820
- "ts": {
37821
- "type": "string",
37822
- "minLength": 1,
37823
- "maxLength": 64
37824
- },
37825
- "thread_ts": {
37826
- "anyOf": [
37827
- {
37828
- "type": "string",
37829
- "maxLength": 64
37830
- },
37831
- {
37832
- "type": "null"
37833
- }
37834
- ]
37835
- },
37836
- "thread_root": {
37837
- "type": "string",
37838
- "minLength": 1,
37839
- "maxLength": 64
37840
- },
37841
- "conversation": {
37842
- "type": "string",
37843
- "minLength": 3,
37844
- "maxLength": 193
37845
- },
37846
- "text": {
37847
- "type": "string",
37848
- "maxLength": 32768
37849
- },
37850
- "text_truncated": {
37851
- "type": "boolean"
37852
- },
37853
- "mentions_app": {
37854
- "type": "boolean"
37855
- }
37856
- }
37857
- },
37858
- "filter_paths": [
37859
- "/channel",
37860
- "/user",
37861
- "/mentions_app",
37862
- "/thread_root"
37863
- ],
37864
- "disclosure": {
37865
- "kind": "custom",
37866
- "subject": {
37867
- "resource_type": "connection"
37868
- }
37869
- },
37870
- "source_connection": "scd_zo_slack",
37871
- "conversation_path": "/conversation",
37872
- "type": "zo.events.slack.message.received@v2",
37873
- "digest": "sha256:e98ae6f6d2b8b6c1e63046d038dd1656ab8d4fa93706eaf7924413770cf49478",
37874
- "contract_digest": "sha256:5cb7bff60aa7cf724fb8565bff202ab94b57ad18b02c38deda5984a9d6212c47"
37875
- },
37876
39339
  {
37877
39340
  "publisher": "zo",
37878
39341
  "name": "task.assigned",