@zocomputer/system-api 0.1.3 → 0.1.4

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.
@@ -175,7 +175,7 @@ export const catalog = defineCatalog({
175
175
  "zo.database.create": {
176
176
  defaultVersion: 1,
177
177
  versions: {
178
- 1: { digest: "sha256:50b5981b15685e6a0a2e047ab8d52268bae6eeec3c3c64906e364cf09c7a12bf" },
178
+ 1: { digest: "sha256:b9edd4186dffae05ee336ca7de436ceed7bd26df57df97819a3efb9965a63084" },
179
179
  },
180
180
  },
181
181
  "zo.database.delete": {
@@ -357,13 +357,13 @@ export const catalog = defineCatalog({
357
357
  "zo.machine.create": {
358
358
  defaultVersion: 1,
359
359
  versions: {
360
- 1: { digest: "sha256:9e50adc0dec357ed9ad3f84f2349029c3f503f1b473de2b54904dc1ea34b7151" },
360
+ 1: { digest: "sha256:e6091dbb4b6cb0894deac301046035096066ab63a055e2d31f9f867a46ea33eb" },
361
361
  },
362
362
  },
363
363
  "zo.machine.destroy": {
364
364
  defaultVersion: 1,
365
365
  versions: {
366
- 1: { digest: "sha256:fb727dfee50f6b923af2c6dd800f82221a098cab7e371192d21689cb84c78a46" },
366
+ 1: { digest: "sha256:6ccdf1b8d19d36590e05a012831e306efc1ec0180e25e5c7b64b4f43e6269c6c" },
367
367
  },
368
368
  },
369
369
  "zo.machine.exec": {
@@ -405,7 +405,7 @@ export const catalog = defineCatalog({
405
405
  "zo.machine.resume": {
406
406
  defaultVersion: 1,
407
407
  versions: {
408
- 1: { digest: "sha256:178395f44c70cd79461251b9072279f40df75d1ad40e11c86f2bc21d9162b37d" },
408
+ 1: { digest: "sha256:bafd837babd81cd2585d1890770bb6b634e63f688a0af05ca59a66f2647f4d6a" },
409
409
  },
410
410
  },
411
411
  "zo.machine.snapshot": {
@@ -417,7 +417,7 @@ export const catalog = defineCatalog({
417
417
  "zo.machine.stop": {
418
418
  defaultVersion: 1,
419
419
  versions: {
420
- 1: { digest: "sha256:2bf722217e9b12cca367d21b3e4ba9bb490f3bfe8a543d9d19d43a7989b7fbda" },
420
+ 1: { digest: "sha256:205840a93a76791e3ccca4368cea1c62a9e654d6935bb4459738d623b87f9e02" },
421
421
  },
422
422
  },
423
423
  "zo.machine.system_info": {
@@ -441,7 +441,7 @@ export const catalog = defineCatalog({
441
441
  "zo.machine_image.delete": {
442
442
  defaultVersion: 1,
443
443
  versions: {
444
- 1: { digest: "sha256:a073d8d08bad780f0c6e993ef023b13ce903908bd1a0e0ad98d305b845a4f36f" },
444
+ 1: { digest: "sha256:c6eabdccfdca7ecd6eea11a600e6406a0835273999cc0b9f551119c107bec0c5" },
445
445
  },
446
446
  },
447
447
  "zo.machine_image.get": {
@@ -453,7 +453,7 @@ export const catalog = defineCatalog({
453
453
  "zo.machine_image.import": {
454
454
  defaultVersion: 1,
455
455
  versions: {
456
- 1: { digest: "sha256:9e0bb0fb82671c75e48f20e96301fcf1f8d98bb5f5838667e3ed9b29cd0cc375" },
456
+ 1: { digest: "sha256:81f83930aba2641fb6af822e3f9f63317e4d186b383c9cb4fa70cfb8a0205b76" },
457
457
  },
458
458
  },
459
459
  "zo.machine_image.list": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "generatorVersion": "0.1.0",
3
- "schemaDigest": "sha256:86eea2bc2e1d9b8d45c59a74750d572cc5c40f97b64786b2ef57dee9f77f9114",
4
- "bundleDigest": "sha256:55133e184992515f53a34dcb06ca5783c603a4fc6953d6a3412daa07b1674039",
3
+ "schemaDigest": "sha256:3ea715bdec97fa1eee17b34583dc048bd5576ca2679b41cbc8f515f56a89e4ee",
4
+ "bundleDigest": "sha256:094f7ff07fac9f76466def1c7ae372bcccc0b846a119945b95e3603c39d9e523",
5
5
  "actions": [
6
6
  {
7
7
  "action": "zo.activity.list",
@@ -146,7 +146,7 @@
146
146
  {
147
147
  "action": "zo.database.create",
148
148
  "version": 1,
149
- "digest": "sha256:50b5981b15685e6a0a2e047ab8d52268bae6eeec3c3c64906e364cf09c7a12bf"
149
+ "digest": "sha256:b9edd4186dffae05ee336ca7de436ceed7bd26df57df97819a3efb9965a63084"
150
150
  },
151
151
  {
152
152
  "action": "zo.database.delete",
@@ -306,12 +306,12 @@
306
306
  {
307
307
  "action": "zo.machine.create",
308
308
  "version": 1,
309
- "digest": "sha256:9e50adc0dec357ed9ad3f84f2349029c3f503f1b473de2b54904dc1ea34b7151"
309
+ "digest": "sha256:e6091dbb4b6cb0894deac301046035096066ab63a055e2d31f9f867a46ea33eb"
310
310
  },
311
311
  {
312
312
  "action": "zo.machine.destroy",
313
313
  "version": 1,
314
- "digest": "sha256:fb727dfee50f6b923af2c6dd800f82221a098cab7e371192d21689cb84c78a46"
314
+ "digest": "sha256:6ccdf1b8d19d36590e05a012831e306efc1ec0180e25e5c7b64b4f43e6269c6c"
315
315
  },
316
316
  {
317
317
  "action": "zo.machine.exec",
@@ -346,7 +346,7 @@
346
346
  {
347
347
  "action": "zo.machine.resume",
348
348
  "version": 1,
349
- "digest": "sha256:178395f44c70cd79461251b9072279f40df75d1ad40e11c86f2bc21d9162b37d"
349
+ "digest": "sha256:bafd837babd81cd2585d1890770bb6b634e63f688a0af05ca59a66f2647f4d6a"
350
350
  },
351
351
  {
352
352
  "action": "zo.machine.snapshot",
@@ -356,7 +356,7 @@
356
356
  {
357
357
  "action": "zo.machine.stop",
358
358
  "version": 1,
359
- "digest": "sha256:2bf722217e9b12cca367d21b3e4ba9bb490f3bfe8a543d9d19d43a7989b7fbda"
359
+ "digest": "sha256:205840a93a76791e3ccca4368cea1c62a9e654d6935bb4459738d623b87f9e02"
360
360
  },
361
361
  {
362
362
  "action": "zo.machine.system_info",
@@ -376,7 +376,7 @@
376
376
  {
377
377
  "action": "zo.machine_image.delete",
378
378
  "version": 1,
379
- "digest": "sha256:a073d8d08bad780f0c6e993ef023b13ce903908bd1a0e0ad98d305b845a4f36f"
379
+ "digest": "sha256:c6eabdccfdca7ecd6eea11a600e6406a0835273999cc0b9f551119c107bec0c5"
380
380
  },
381
381
  {
382
382
  "action": "zo.machine_image.get",
@@ -386,7 +386,7 @@
386
386
  {
387
387
  "action": "zo.machine_image.import",
388
388
  "version": 1,
389
- "digest": "sha256:9e0bb0fb82671c75e48f20e96301fcf1f8d98bb5f5838667e3ed9b29cd0cc375"
389
+ "digest": "sha256:81f83930aba2641fb6af822e3f9f63317e4d186b383c9cb4fa70cfb8a0205b76"
390
390
  },
391
391
  {
392
392
  "action": "zo.machine_image.list",
@@ -1477,9 +1477,10 @@ export interface ZoDatabaseCreateInputV1 {
1477
1477
  tags?: string[];
1478
1478
  workspace_id: string;
1479
1479
  /**
1480
- * Required but ignored: a retried create can make a second database.
1480
+ * @deprecated
1481
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
1481
1482
  */
1482
- idempotency_key: string;
1483
+ idempotency_key?: (string | null);
1483
1484
  display_name: string;
1484
1485
  /**
1485
1486
  * What the database holds. Members and their agents choose a database from `zo.database.list` by it.
@@ -2911,7 +2912,11 @@ export interface ZoMachineCreateInputV1 {
2911
2912
  */
2912
2913
  tags?: string[];
2913
2914
  workspace_id: string;
2914
- idempotency_key: string;
2915
+ /**
2916
+ * @deprecated
2917
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
2918
+ */
2919
+ idempotency_key?: (string | null);
2915
2920
  display_name: string;
2916
2921
  /**
2917
2922
  * Describe what this machine is for in the user's terms.
@@ -3127,7 +3132,11 @@ export interface ZoMachineCreateOutputV1MachineBootedView {
3127
3132
  export interface ZoMachineDestroyInputV1 {
3128
3133
  machine_id: string;
3129
3134
  expected_revision: number;
3130
- idempotency_key: string;
3135
+ /**
3136
+ * @deprecated
3137
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
3138
+ */
3139
+ idempotency_key?: (string | null);
3131
3140
  }
3132
3141
  export type ZoMachineDestroyOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
3133
3142
  export type ZoMachineDestroyOutputV1ObservedState = ("creating" | "running" | "stopping" | "stopped" | "resuming" | "destroying" | "destroyed" | "failed");
@@ -3572,7 +3581,11 @@ export interface ZoMachineReadBytesOutputV1 {
3572
3581
  export interface ZoMachineResumeInputV1 {
3573
3582
  machine_id: string;
3574
3583
  expected_revision: number;
3575
- idempotency_key: string;
3584
+ /**
3585
+ * @deprecated
3586
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
3587
+ */
3588
+ idempotency_key?: (string | null);
3576
3589
  accept_recovery?: boolean;
3577
3590
  }
3578
3591
  export type ZoMachineResumeOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
@@ -3738,7 +3751,11 @@ export interface ZoMachineSnapshotOutputV1MachineImageProperties {
3738
3751
  export interface ZoMachineStopInputV1 {
3739
3752
  machine_id: string;
3740
3753
  expected_revision: number;
3741
- idempotency_key: string;
3754
+ /**
3755
+ * @deprecated
3756
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
3757
+ */
3758
+ idempotency_key?: (string | null);
3742
3759
  }
3743
3760
  export type ZoMachineStopOutputV1GpuType = ("T4" | "L4" | "A10" | "L40S" | "A100" | "A100-40GB" | "A100-80GB" | "RTX-PRO-6000" | "H100" | "H100!" | "H200" | "B200" | "B200+" | "B300");
3744
3761
  export type ZoMachineStopOutputV1ObservedState = ("creating" | "running" | "stopping" | "stopped" | "resuming" | "destroying" | "destroyed" | "failed");
@@ -4043,7 +4060,11 @@ export interface ZoMachineWriteBytesOutputV1 {
4043
4060
  export interface ZoMachineImageDeleteInputV1 {
4044
4061
  machine_image_id: string;
4045
4062
  expected_revision: number;
4046
- idempotency_key: string;
4063
+ /**
4064
+ * @deprecated
4065
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
4066
+ */
4067
+ idempotency_key?: (string | null);
4047
4068
  }
4048
4069
  export type ZoMachineImageDeleteOutputV1ImageOrigin = ("registry" | "build" | "machine_snapshot");
4049
4070
  export type ZoMachineImageDeleteOutputV1ImageStatus = ("pending" | "preparing" | "ready" | "failed" | "deleting" | "deleted");
@@ -4129,7 +4150,11 @@ export interface ZoMachineImageImportInputV1 {
4129
4150
  */
4130
4151
  visibility?: ("workspace" | "protected");
4131
4152
  workspace_id: string;
4132
- idempotency_key: string;
4153
+ /**
4154
+ * @deprecated
4155
+ * Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.
4156
+ */
4157
+ idempotency_key?: (string | null);
4133
4158
  source: ZoMachineImageImportInputV1RegistrySourceInput;
4134
4159
  }
4135
4160
  export interface ZoMachineImageImportInputV1RegistrySourceInput {
@@ -5715,7 +5740,7 @@ export interface ZoSubscriptionListOutputV1PrincipalRef {
5715
5740
  }
5716
5741
  export interface ZoSubscriptionListQueryV1 {
5717
5742
  /**
5718
- * Rows per page, at most 7; a larger value is reduced to it.
5743
+ * Rows per page, at most 100; a larger value is reduced to it.
5719
5744
  */
5720
5745
  limit?: number;
5721
5746
  /**
@@ -5872,7 +5897,7 @@ export interface ZoSubscriptionListOutputV2PrincipalRef {
5872
5897
  }
5873
5898
  export interface ZoSubscriptionListQueryV2 {
5874
5899
  /**
5875
- * Rows per page, at most 7; a larger value is reduced to it.
5900
+ * Rows per page, at most 100; a larger value is reduced to it.
5876
5901
  */
5877
5902
  limit?: number;
5878
5903
  /**
@@ -7245,6 +7270,10 @@ export interface ZoTaskListQueryV1 {
7245
7270
  * Only blocked tasks, or only unblocked ones.
7246
7271
  */
7247
7272
  is_blocked?: (boolean | null);
7273
+ /**
7274
+ * Tasks carrying any of these workspace tag IDs.
7275
+ */
7276
+ tags?: (string[] | null);
7248
7277
  };
7249
7278
  }
7250
7279
  /**
@@ -6243,7 +6243,7 @@
6243
6243
  "name": "zo.database.create",
6244
6244
  "version": 1,
6245
6245
  "publisher": "zo",
6246
- "description": "Create a managed Postgres database and return it, usually already `available`. The required `idempotency_key` is ignored until central deduplication lands: a retried create can make a second database, so after an uncertain response (lost or timed out), list the workspace's databases before creating again.",
6246
+ "description": "Create a managed Postgres database and return it, usually already `available`. A retried create can make a second database, so after an uncertain response (lost or timed out), list the workspace's databases before creating again.",
6247
6247
  "input_schema": {
6248
6248
  "additionalProperties": false,
6249
6249
  "properties": {
@@ -6266,12 +6266,21 @@
6266
6266
  "type": "string"
6267
6267
  },
6268
6268
  "idempotency_key": {
6269
- "description": "Required but ignored: a retried create can make a second database.",
6270
- "maxLength": 255,
6271
- "minLength": 1,
6272
- "pattern": "^[!-~]{1,255}$",
6273
- "title": "Idempotency Key",
6274
- "type": "string"
6269
+ "anyOf": [
6270
+ {
6271
+ "maxLength": 255,
6272
+ "minLength": 1,
6273
+ "pattern": "^[!-~]{1,255}$",
6274
+ "type": "string"
6275
+ },
6276
+ {
6277
+ "type": "null"
6278
+ }
6279
+ ],
6280
+ "default": null,
6281
+ "deprecated": true,
6282
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
6283
+ "title": "Idempotency Key"
6275
6284
  },
6276
6285
  "display_name": {
6277
6286
  "maxLength": 120,
@@ -6368,7 +6377,6 @@
6368
6377
  },
6369
6378
  "required": [
6370
6379
  "workspace_id",
6371
- "idempotency_key",
6372
6380
  "display_name"
6373
6381
  ],
6374
6382
  "title": "DatabaseCreateInput",
@@ -6605,7 +6613,7 @@
6605
6613
  "resource_not_found",
6606
6614
  "implementation_unavailable"
6607
6615
  ],
6608
- "digest": "sha256:50b5981b15685e6a0a2e047ab8d52268bae6eeec3c3c64906e364cf09c7a12bf"
6616
+ "digest": "sha256:b9edd4186dffae05ee336ca7de436ceed7bd26df57df97819a3efb9965a63084"
6609
6617
  },
6610
6618
  {
6611
6619
  "name": "zo.database.delete",
@@ -13124,11 +13132,21 @@
13124
13132
  "type": "string"
13125
13133
  },
13126
13134
  "idempotency_key": {
13127
- "maxLength": 255,
13128
- "minLength": 1,
13129
- "pattern": "^[!-~]{1,255}$",
13130
- "title": "Idempotency Key",
13131
- "type": "string"
13135
+ "anyOf": [
13136
+ {
13137
+ "maxLength": 255,
13138
+ "minLength": 1,
13139
+ "pattern": "^[!-~]{1,255}$",
13140
+ "type": "string"
13141
+ },
13142
+ {
13143
+ "type": "null"
13144
+ }
13145
+ ],
13146
+ "default": null,
13147
+ "deprecated": true,
13148
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
13149
+ "title": "Idempotency Key"
13132
13150
  },
13133
13151
  "display_name": {
13134
13152
  "maxLength": 120,
@@ -13233,7 +13251,6 @@
13233
13251
  },
13234
13252
  "required": [
13235
13253
  "workspace_id",
13236
- "idempotency_key",
13237
13254
  "display_name",
13238
13255
  "source",
13239
13256
  "resources",
@@ -14172,7 +14189,7 @@
14172
14189
  "resource_not_found",
14173
14190
  "implementation_unavailable"
14174
14191
  ],
14175
- "digest": "sha256:9e50adc0dec357ed9ad3f84f2349029c3f503f1b473de2b54904dc1ea34b7151"
14192
+ "digest": "sha256:e6091dbb4b6cb0894deac301046035096066ab63a055e2d31f9f867a46ea33eb"
14176
14193
  },
14177
14194
  {
14178
14195
  "name": "zo.machine.destroy",
@@ -14193,17 +14210,26 @@
14193
14210
  "type": "integer"
14194
14211
  },
14195
14212
  "idempotency_key": {
14196
- "maxLength": 255,
14197
- "minLength": 1,
14198
- "pattern": "^[!-~]{1,255}$",
14199
- "title": "Idempotency Key",
14200
- "type": "string"
14213
+ "anyOf": [
14214
+ {
14215
+ "maxLength": 255,
14216
+ "minLength": 1,
14217
+ "pattern": "^[!-~]{1,255}$",
14218
+ "type": "string"
14219
+ },
14220
+ {
14221
+ "type": "null"
14222
+ }
14223
+ ],
14224
+ "default": null,
14225
+ "deprecated": true,
14226
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
14227
+ "title": "Idempotency Key"
14201
14228
  }
14202
14229
  },
14203
14230
  "required": [
14204
14231
  "machine_id",
14205
- "expected_revision",
14206
- "idempotency_key"
14232
+ "expected_revision"
14207
14233
  ],
14208
14234
  "title": "MachineLifecycleActionInput",
14209
14235
  "type": "object"
@@ -14852,7 +14878,7 @@
14852
14878
  "resource_not_found",
14853
14879
  "implementation_unavailable"
14854
14880
  ],
14855
- "digest": "sha256:fb727dfee50f6b923af2c6dd800f82221a098cab7e371192d21689cb84c78a46"
14881
+ "digest": "sha256:6ccdf1b8d19d36590e05a012831e306efc1ec0180e25e5c7b64b4f43e6269c6c"
14856
14882
  },
14857
14883
  {
14858
14884
  "name": "zo.machine.exec",
@@ -16775,11 +16801,21 @@
16775
16801
  "type": "integer"
16776
16802
  },
16777
16803
  "idempotency_key": {
16778
- "maxLength": 255,
16779
- "minLength": 1,
16780
- "pattern": "^[!-~]{1,255}$",
16781
- "title": "Idempotency Key",
16782
- "type": "string"
16804
+ "anyOf": [
16805
+ {
16806
+ "maxLength": 255,
16807
+ "minLength": 1,
16808
+ "pattern": "^[!-~]{1,255}$",
16809
+ "type": "string"
16810
+ },
16811
+ {
16812
+ "type": "null"
16813
+ }
16814
+ ],
16815
+ "default": null,
16816
+ "deprecated": true,
16817
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
16818
+ "title": "Idempotency Key"
16783
16819
  },
16784
16820
  "accept_recovery": {
16785
16821
  "default": false,
@@ -16789,8 +16825,7 @@
16789
16825
  },
16790
16826
  "required": [
16791
16827
  "machine_id",
16792
- "expected_revision",
16793
- "idempotency_key"
16828
+ "expected_revision"
16794
16829
  ],
16795
16830
  "title": "MachineResumeInput",
16796
16831
  "type": "object"
@@ -17439,7 +17474,7 @@
17439
17474
  "resource_not_found",
17440
17475
  "implementation_unavailable"
17441
17476
  ],
17442
- "digest": "sha256:178395f44c70cd79461251b9072279f40df75d1ad40e11c86f2bc21d9162b37d"
17477
+ "digest": "sha256:bafd837babd81cd2585d1890770bb6b634e63f688a0af05ca59a66f2647f4d6a"
17443
17478
  },
17444
17479
  {
17445
17480
  "name": "zo.machine.snapshot",
@@ -17741,17 +17776,26 @@
17741
17776
  "type": "integer"
17742
17777
  },
17743
17778
  "idempotency_key": {
17744
- "maxLength": 255,
17745
- "minLength": 1,
17746
- "pattern": "^[!-~]{1,255}$",
17747
- "title": "Idempotency Key",
17748
- "type": "string"
17779
+ "anyOf": [
17780
+ {
17781
+ "maxLength": 255,
17782
+ "minLength": 1,
17783
+ "pattern": "^[!-~]{1,255}$",
17784
+ "type": "string"
17785
+ },
17786
+ {
17787
+ "type": "null"
17788
+ }
17789
+ ],
17790
+ "default": null,
17791
+ "deprecated": true,
17792
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
17793
+ "title": "Idempotency Key"
17749
17794
  }
17750
17795
  },
17751
17796
  "required": [
17752
17797
  "machine_id",
17753
- "expected_revision",
17754
- "idempotency_key"
17798
+ "expected_revision"
17755
17799
  ],
17756
17800
  "title": "MachineLifecycleActionInput",
17757
17801
  "type": "object"
@@ -18400,7 +18444,7 @@
18400
18444
  "resource_not_found",
18401
18445
  "implementation_unavailable"
18402
18446
  ],
18403
- "digest": "sha256:2bf722217e9b12cca367d21b3e4ba9bb490f3bfe8a543d9d19d43a7989b7fbda"
18447
+ "digest": "sha256:205840a93a76791e3ccca4368cea1c62a9e654d6935bb4459738d623b87f9e02"
18404
18448
  },
18405
18449
  {
18406
18450
  "name": "zo.machine.system_info",
@@ -19401,17 +19445,26 @@
19401
19445
  "type": "integer"
19402
19446
  },
19403
19447
  "idempotency_key": {
19404
- "maxLength": 255,
19405
- "minLength": 1,
19406
- "pattern": "^[!-~]{1,255}$",
19407
- "title": "Idempotency Key",
19408
- "type": "string"
19448
+ "anyOf": [
19449
+ {
19450
+ "maxLength": 255,
19451
+ "minLength": 1,
19452
+ "pattern": "^[!-~]{1,255}$",
19453
+ "type": "string"
19454
+ },
19455
+ {
19456
+ "type": "null"
19457
+ }
19458
+ ],
19459
+ "default": null,
19460
+ "deprecated": true,
19461
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
19462
+ "title": "Idempotency Key"
19409
19463
  }
19410
19464
  },
19411
19465
  "required": [
19412
19466
  "machine_image_id",
19413
- "expected_revision",
19414
- "idempotency_key"
19467
+ "expected_revision"
19415
19468
  ],
19416
19469
  "title": "MachineImageDeleteInput",
19417
19470
  "type": "object"
@@ -19615,7 +19668,7 @@
19615
19668
  "resource_not_found",
19616
19669
  "implementation_unavailable"
19617
19670
  ],
19618
- "digest": "sha256:a073d8d08bad780f0c6e993ef023b13ce903908bd1a0e0ad98d305b845a4f36f"
19671
+ "digest": "sha256:c6eabdccfdca7ecd6eea11a600e6406a0835273999cc0b9f551119c107bec0c5"
19619
19672
  },
19620
19673
  {
19621
19674
  "name": "zo.machine_image.get",
@@ -19870,11 +19923,21 @@
19870
19923
  "type": "string"
19871
19924
  },
19872
19925
  "idempotency_key": {
19873
- "maxLength": 255,
19874
- "minLength": 1,
19875
- "pattern": "^[!-~]{1,255}$",
19876
- "title": "Idempotency Key",
19877
- "type": "string"
19926
+ "anyOf": [
19927
+ {
19928
+ "maxLength": 255,
19929
+ "minLength": 1,
19930
+ "pattern": "^[!-~]{1,255}$",
19931
+ "type": "string"
19932
+ },
19933
+ {
19934
+ "type": "null"
19935
+ }
19936
+ ],
19937
+ "default": null,
19938
+ "deprecated": true,
19939
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
19940
+ "title": "Idempotency Key"
19878
19941
  },
19879
19942
  "source": {
19880
19943
  "$ref": "#/$defs/RegistrySourceInput"
@@ -19883,7 +19946,6 @@
19883
19946
  "required": [
19884
19947
  "display_name",
19885
19948
  "workspace_id",
19886
- "idempotency_key",
19887
19949
  "source"
19888
19950
  ],
19889
19951
  "title": "MachineImageImportInput",
@@ -20119,7 +20181,7 @@
20119
20181
  "resource_not_found",
20120
20182
  "implementation_unavailable"
20121
20183
  ],
20122
- "digest": "sha256:9e0bb0fb82671c75e48f20e96301fcf1f8d98bb5f5838667e3ed9b29cd0cc375"
20184
+ "digest": "sha256:81f83930aba2641fb6af822e3f9f63317e4d186b383c9cb4fa70cfb8a0205b76"
20123
20185
  },
20124
20186
  {
20125
20187
  "name": "zo.machine_image.list",
@@ -46035,8 +46097,8 @@
46035
46097
  "limit": {
46036
46098
  "type": "integer",
46037
46099
  "minimum": 1,
46038
- "default": 7,
46039
- "description": "Rows per page, at most 7; a larger value is reduced to it."
46100
+ "default": 100,
46101
+ "description": "Rows per page, at most 100; a larger value is reduced to it."
46040
46102
  },
46041
46103
  "cursor": {
46042
46104
  "type": "string",
@@ -46115,8 +46177,8 @@
46115
46177
  "limit": {
46116
46178
  "type": "integer",
46117
46179
  "minimum": 1,
46118
- "default": 7,
46119
- "description": "Rows per page, at most 7; a larger value is reduced to it."
46180
+ "default": 100,
46181
+ "description": "Rows per page, at most 100; a larger value is reduced to it."
46120
46182
  },
46121
46183
  "cursor": {
46122
46184
  "type": "string",
@@ -46362,6 +46424,22 @@
46362
46424
  "default": null,
46363
46425
  "description": "Only blocked tasks, or only unblocked ones.",
46364
46426
  "title": "Is Blocked"
46427
+ },
46428
+ "tags": {
46429
+ "anyOf": [
46430
+ {
46431
+ "items": {
46432
+ "type": "string"
46433
+ },
46434
+ "type": "array"
46435
+ },
46436
+ {
46437
+ "type": "null"
46438
+ }
46439
+ ],
46440
+ "default": null,
46441
+ "description": "Tasks carrying any of these workspace tag IDs.",
46442
+ "title": "Tags"
46365
46443
  }
46366
46444
  },
46367
46445
  "type": "object",
package/openapi.json CHANGED
@@ -7546,7 +7546,7 @@
7546
7546
  "name": "zo.database.create",
7547
7547
  "version": 1,
7548
7548
  "publisher": "zo",
7549
- "description": "Create a managed Postgres database and return it, usually already `available`. The required `idempotency_key` is ignored until central deduplication lands: a retried create can make a second database, so after an uncertain response (lost or timed out), list the workspace's databases before creating again.",
7549
+ "description": "Create a managed Postgres database and return it, usually already `available`. A retried create can make a second database, so after an uncertain response (lost or timed out), list the workspace's databases before creating again.",
7550
7550
  "input_schema": {
7551
7551
  "additionalProperties": false,
7552
7552
  "properties": {
@@ -7569,12 +7569,21 @@
7569
7569
  "type": "string"
7570
7570
  },
7571
7571
  "idempotency_key": {
7572
- "description": "Required but ignored: a retried create can make a second database.",
7573
- "maxLength": 255,
7574
- "minLength": 1,
7575
- "pattern": "^[!-~]{1,255}$",
7576
- "title": "Idempotency Key",
7577
- "type": "string"
7572
+ "anyOf": [
7573
+ {
7574
+ "maxLength": 255,
7575
+ "minLength": 1,
7576
+ "pattern": "^[!-~]{1,255}$",
7577
+ "type": "string"
7578
+ },
7579
+ {
7580
+ "type": "null"
7581
+ }
7582
+ ],
7583
+ "default": null,
7584
+ "deprecated": true,
7585
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
7586
+ "title": "Idempotency Key"
7578
7587
  },
7579
7588
  "display_name": {
7580
7589
  "maxLength": 120,
@@ -7671,7 +7680,6 @@
7671
7680
  },
7672
7681
  "required": [
7673
7682
  "workspace_id",
7674
- "idempotency_key",
7675
7683
  "display_name"
7676
7684
  ],
7677
7685
  "title": "DatabaseCreateInput",
@@ -7908,7 +7916,7 @@
7908
7916
  "resource_not_found",
7909
7917
  "implementation_unavailable"
7910
7918
  ],
7911
- "digest": "sha256:50b5981b15685e6a0a2e047ab8d52268bae6eeec3c3c64906e364cf09c7a12bf"
7919
+ "digest": "sha256:b9edd4186dffae05ee336ca7de436ceed7bd26df57df97819a3efb9965a63084"
7912
7920
  },
7913
7921
  {
7914
7922
  "name": "zo.database.delete",
@@ -14427,11 +14435,21 @@
14427
14435
  "type": "string"
14428
14436
  },
14429
14437
  "idempotency_key": {
14430
- "maxLength": 255,
14431
- "minLength": 1,
14432
- "pattern": "^[!-~]{1,255}$",
14433
- "title": "Idempotency Key",
14434
- "type": "string"
14438
+ "anyOf": [
14439
+ {
14440
+ "maxLength": 255,
14441
+ "minLength": 1,
14442
+ "pattern": "^[!-~]{1,255}$",
14443
+ "type": "string"
14444
+ },
14445
+ {
14446
+ "type": "null"
14447
+ }
14448
+ ],
14449
+ "default": null,
14450
+ "deprecated": true,
14451
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
14452
+ "title": "Idempotency Key"
14435
14453
  },
14436
14454
  "display_name": {
14437
14455
  "maxLength": 120,
@@ -14536,7 +14554,6 @@
14536
14554
  },
14537
14555
  "required": [
14538
14556
  "workspace_id",
14539
- "idempotency_key",
14540
14557
  "display_name",
14541
14558
  "source",
14542
14559
  "resources",
@@ -15475,7 +15492,7 @@
15475
15492
  "resource_not_found",
15476
15493
  "implementation_unavailable"
15477
15494
  ],
15478
- "digest": "sha256:9e50adc0dec357ed9ad3f84f2349029c3f503f1b473de2b54904dc1ea34b7151"
15495
+ "digest": "sha256:e6091dbb4b6cb0894deac301046035096066ab63a055e2d31f9f867a46ea33eb"
15479
15496
  },
15480
15497
  {
15481
15498
  "name": "zo.machine.destroy",
@@ -15496,17 +15513,26 @@
15496
15513
  "type": "integer"
15497
15514
  },
15498
15515
  "idempotency_key": {
15499
- "maxLength": 255,
15500
- "minLength": 1,
15501
- "pattern": "^[!-~]{1,255}$",
15502
- "title": "Idempotency Key",
15503
- "type": "string"
15516
+ "anyOf": [
15517
+ {
15518
+ "maxLength": 255,
15519
+ "minLength": 1,
15520
+ "pattern": "^[!-~]{1,255}$",
15521
+ "type": "string"
15522
+ },
15523
+ {
15524
+ "type": "null"
15525
+ }
15526
+ ],
15527
+ "default": null,
15528
+ "deprecated": true,
15529
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
15530
+ "title": "Idempotency Key"
15504
15531
  }
15505
15532
  },
15506
15533
  "required": [
15507
15534
  "machine_id",
15508
- "expected_revision",
15509
- "idempotency_key"
15535
+ "expected_revision"
15510
15536
  ],
15511
15537
  "title": "MachineLifecycleActionInput",
15512
15538
  "type": "object"
@@ -16155,7 +16181,7 @@
16155
16181
  "resource_not_found",
16156
16182
  "implementation_unavailable"
16157
16183
  ],
16158
- "digest": "sha256:fb727dfee50f6b923af2c6dd800f82221a098cab7e371192d21689cb84c78a46"
16184
+ "digest": "sha256:6ccdf1b8d19d36590e05a012831e306efc1ec0180e25e5c7b64b4f43e6269c6c"
16159
16185
  },
16160
16186
  {
16161
16187
  "name": "zo.machine.exec",
@@ -18078,11 +18104,21 @@
18078
18104
  "type": "integer"
18079
18105
  },
18080
18106
  "idempotency_key": {
18081
- "maxLength": 255,
18082
- "minLength": 1,
18083
- "pattern": "^[!-~]{1,255}$",
18084
- "title": "Idempotency Key",
18085
- "type": "string"
18107
+ "anyOf": [
18108
+ {
18109
+ "maxLength": 255,
18110
+ "minLength": 1,
18111
+ "pattern": "^[!-~]{1,255}$",
18112
+ "type": "string"
18113
+ },
18114
+ {
18115
+ "type": "null"
18116
+ }
18117
+ ],
18118
+ "default": null,
18119
+ "deprecated": true,
18120
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
18121
+ "title": "Idempotency Key"
18086
18122
  },
18087
18123
  "accept_recovery": {
18088
18124
  "default": false,
@@ -18092,8 +18128,7 @@
18092
18128
  },
18093
18129
  "required": [
18094
18130
  "machine_id",
18095
- "expected_revision",
18096
- "idempotency_key"
18131
+ "expected_revision"
18097
18132
  ],
18098
18133
  "title": "MachineResumeInput",
18099
18134
  "type": "object"
@@ -18742,7 +18777,7 @@
18742
18777
  "resource_not_found",
18743
18778
  "implementation_unavailable"
18744
18779
  ],
18745
- "digest": "sha256:178395f44c70cd79461251b9072279f40df75d1ad40e11c86f2bc21d9162b37d"
18780
+ "digest": "sha256:bafd837babd81cd2585d1890770bb6b634e63f688a0af05ca59a66f2647f4d6a"
18746
18781
  },
18747
18782
  {
18748
18783
  "name": "zo.machine.snapshot",
@@ -19044,17 +19079,26 @@
19044
19079
  "type": "integer"
19045
19080
  },
19046
19081
  "idempotency_key": {
19047
- "maxLength": 255,
19048
- "minLength": 1,
19049
- "pattern": "^[!-~]{1,255}$",
19050
- "title": "Idempotency Key",
19051
- "type": "string"
19082
+ "anyOf": [
19083
+ {
19084
+ "maxLength": 255,
19085
+ "minLength": 1,
19086
+ "pattern": "^[!-~]{1,255}$",
19087
+ "type": "string"
19088
+ },
19089
+ {
19090
+ "type": "null"
19091
+ }
19092
+ ],
19093
+ "default": null,
19094
+ "deprecated": true,
19095
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
19096
+ "title": "Idempotency Key"
19052
19097
  }
19053
19098
  },
19054
19099
  "required": [
19055
19100
  "machine_id",
19056
- "expected_revision",
19057
- "idempotency_key"
19101
+ "expected_revision"
19058
19102
  ],
19059
19103
  "title": "MachineLifecycleActionInput",
19060
19104
  "type": "object"
@@ -19703,7 +19747,7 @@
19703
19747
  "resource_not_found",
19704
19748
  "implementation_unavailable"
19705
19749
  ],
19706
- "digest": "sha256:2bf722217e9b12cca367d21b3e4ba9bb490f3bfe8a543d9d19d43a7989b7fbda"
19750
+ "digest": "sha256:205840a93a76791e3ccca4368cea1c62a9e654d6935bb4459738d623b87f9e02"
19707
19751
  },
19708
19752
  {
19709
19753
  "name": "zo.machine.system_info",
@@ -20704,17 +20748,26 @@
20704
20748
  "type": "integer"
20705
20749
  },
20706
20750
  "idempotency_key": {
20707
- "maxLength": 255,
20708
- "minLength": 1,
20709
- "pattern": "^[!-~]{1,255}$",
20710
- "title": "Idempotency Key",
20711
- "type": "string"
20751
+ "anyOf": [
20752
+ {
20753
+ "maxLength": 255,
20754
+ "minLength": 1,
20755
+ "pattern": "^[!-~]{1,255}$",
20756
+ "type": "string"
20757
+ },
20758
+ {
20759
+ "type": "null"
20760
+ }
20761
+ ],
20762
+ "default": null,
20763
+ "deprecated": true,
20764
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
20765
+ "title": "Idempotency Key"
20712
20766
  }
20713
20767
  },
20714
20768
  "required": [
20715
20769
  "machine_image_id",
20716
- "expected_revision",
20717
- "idempotency_key"
20770
+ "expected_revision"
20718
20771
  ],
20719
20772
  "title": "MachineImageDeleteInput",
20720
20773
  "type": "object"
@@ -20918,7 +20971,7 @@
20918
20971
  "resource_not_found",
20919
20972
  "implementation_unavailable"
20920
20973
  ],
20921
- "digest": "sha256:a073d8d08bad780f0c6e993ef023b13ce903908bd1a0e0ad98d305b845a4f36f"
20974
+ "digest": "sha256:c6eabdccfdca7ecd6eea11a600e6406a0835273999cc0b9f551119c107bec0c5"
20922
20975
  },
20923
20976
  {
20924
20977
  "name": "zo.machine_image.get",
@@ -21173,11 +21226,21 @@
21173
21226
  "type": "string"
21174
21227
  },
21175
21228
  "idempotency_key": {
21176
- "maxLength": 255,
21177
- "minLength": 1,
21178
- "pattern": "^[!-~]{1,255}$",
21179
- "title": "Idempotency Key",
21180
- "type": "string"
21229
+ "anyOf": [
21230
+ {
21231
+ "maxLength": 255,
21232
+ "minLength": 1,
21233
+ "pattern": "^[!-~]{1,255}$",
21234
+ "type": "string"
21235
+ },
21236
+ {
21237
+ "type": "null"
21238
+ }
21239
+ ],
21240
+ "default": null,
21241
+ "deprecated": true,
21242
+ "description": "Ignored compatibility field. Omit it; supplying a key does not deduplicate this operation.",
21243
+ "title": "Idempotency Key"
21181
21244
  },
21182
21245
  "source": {
21183
21246
  "$ref": "#/$defs/RegistrySourceInput"
@@ -21186,7 +21249,6 @@
21186
21249
  "required": [
21187
21250
  "display_name",
21188
21251
  "workspace_id",
21189
- "idempotency_key",
21190
21252
  "source"
21191
21253
  ],
21192
21254
  "title": "MachineImageImportInput",
@@ -21422,7 +21484,7 @@
21422
21484
  "resource_not_found",
21423
21485
  "implementation_unavailable"
21424
21486
  ],
21425
- "digest": "sha256:9e0bb0fb82671c75e48f20e96301fcf1f8d98bb5f5838667e3ed9b29cd0cc375"
21487
+ "digest": "sha256:81f83930aba2641fb6af822e3f9f63317e4d186b383c9cb4fa70cfb8a0205b76"
21426
21488
  },
21427
21489
  {
21428
21490
  "name": "zo.machine_image.list",
@@ -47338,8 +47400,8 @@
47338
47400
  "limit": {
47339
47401
  "type": "integer",
47340
47402
  "minimum": 1,
47341
- "default": 7,
47342
- "description": "Rows per page, at most 7; a larger value is reduced to it."
47403
+ "default": 100,
47404
+ "description": "Rows per page, at most 100; a larger value is reduced to it."
47343
47405
  },
47344
47406
  "cursor": {
47345
47407
  "type": "string",
@@ -47418,8 +47480,8 @@
47418
47480
  "limit": {
47419
47481
  "type": "integer",
47420
47482
  "minimum": 1,
47421
- "default": 7,
47422
- "description": "Rows per page, at most 7; a larger value is reduced to it."
47483
+ "default": 100,
47484
+ "description": "Rows per page, at most 100; a larger value is reduced to it."
47423
47485
  },
47424
47486
  "cursor": {
47425
47487
  "type": "string",
@@ -47665,6 +47727,22 @@
47665
47727
  "default": null,
47666
47728
  "description": "Only blocked tasks, or only unblocked ones.",
47667
47729
  "title": "Is Blocked"
47730
+ },
47731
+ "tags": {
47732
+ "anyOf": [
47733
+ {
47734
+ "items": {
47735
+ "type": "string"
47736
+ },
47737
+ "type": "array"
47738
+ },
47739
+ {
47740
+ "type": "null"
47741
+ }
47742
+ ],
47743
+ "default": null,
47744
+ "description": "Tasks carrying any of these workspace tag IDs.",
47745
+ "title": "Tags"
47668
47746
  }
47669
47747
  },
47670
47748
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zocomputer/system-api",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "Zo System API client runtime: typed invocation transport, catalog ABI, and structured errors.",
6
6
  "exports": {