@asteroidai/cli 1.9.525 → 1.9.529

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.
package/dist/asteroid.js CHANGED
@@ -590,7 +590,7 @@ var COMMANDS = [
590
590
  flag: "base",
591
591
  type: "json",
592
592
  required: true,
593
- description: "The base machine: a browser, or a Linux / Windows OS environment. For non-admins, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; admins may name any snapshot. Omit it for the default image.",
593
+ description: "The base machine: a browser, or a Linux / Windows OS environment. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
594
594
  fields: [
595
595
  {
596
596
  name: "type",
@@ -1001,7 +1001,7 @@ var COMMANDS = [
1001
1001
  flag: "base",
1002
1002
  type: "json",
1003
1003
  required: true,
1004
- description: "The base machine: a browser, or a Linux / Windows OS environment. For non-admins, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; admins may name any snapshot. Omit it for the default image.",
1004
+ description: "The base machine: a browser, or a Linux / Windows OS environment. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
1005
1005
  fields: [
1006
1006
  {
1007
1007
  name: "type",
@@ -3708,6 +3708,13 @@ var COMMANDS = [
3708
3708
  required: false,
3709
3709
  description: "Profile group to select a profile from for each execution. Mutually exclusive with profileId."
3710
3710
  },
3711
+ {
3712
+ name: "customEnvironmentId",
3713
+ flag: "custom-environment-id",
3714
+ type: "string",
3715
+ required: false,
3716
+ description: "Custom environment each execution runs on, in place of the version's default. The rules of the execute request apply. Omit it to follow the version's default, which a schedule on the published version takes from each newly published version."
3717
+ },
3711
3718
  {
3712
3719
  name: "timing",
3713
3720
  flag: "timing",
@@ -4005,6 +4012,13 @@ var COMMANDS = [
4005
4012
  required: false,
4006
4013
  description: "Profile group to select a profile from for each execution. Mutually exclusive with profileId."
4007
4014
  },
4015
+ {
4016
+ name: "customEnvironmentId",
4017
+ flag: "custom-environment-id",
4018
+ type: "string",
4019
+ required: false,
4020
+ description: "Custom environment each execution runs on, in place of the version's default. The rules of the execute request apply. Omit it to follow the version's default, which a schedule on the published version takes from each newly published version."
4021
+ },
4008
4022
  {
4009
4023
  name: "timing",
4010
4024
  flag: "timing",
@@ -4152,6 +4166,14 @@ var COMMANDS = [
4152
4166
  required: false,
4153
4167
  description: 'Detaches both the profile and the pool. Omitting the ids on their own means\n"leave unchanged", so this is the only way back to no profile.'
4154
4168
  },
4169
+ {
4170
+ name: "clearCustomEnvironment",
4171
+ flag: "clear-custom-environment",
4172
+ type: "boolean",
4173
+ required: false,
4174
+ description: `Removes the schedule's custom environment, so each run follows the version's default again.
4175
+ Omitting customEnvironmentId on its own means "leave unchanged".`
4176
+ },
4155
4177
  {
4156
4178
  name: "executionOptions",
4157
4179
  flag: "execution-options",
@@ -4238,6 +4260,13 @@ var COMMANDS = [
4238
4260
  type: "string",
4239
4261
  required: false
4240
4262
  },
4263
+ {
4264
+ name: "customEnvironmentId",
4265
+ flag: "custom-environment-id",
4266
+ type: "string",
4267
+ required: false,
4268
+ description: "Custom environment the run uses, in place of the version's default. The rules of the execute request apply. Omit it to use the version's default."
4269
+ },
4241
4270
  {
4242
4271
  name: "inputs",
4243
4272
  flag: "inputs",
@@ -5453,7 +5482,7 @@ var COMMANDS = [
5453
5482
  flag: "environment-template",
5454
5483
  type: "json",
5455
5484
  required: false,
5456
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
5485
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
5457
5486
  fields: [
5458
5487
  {
5459
5488
  name: "type",
@@ -5570,6 +5599,13 @@ var COMMANDS = [
5570
5599
  required: false,
5571
5600
  description: "The ID of the profile group to select a profile from. Mutually exclusive with profileId."
5572
5601
  },
5602
+ {
5603
+ name: "customEnvironmentId",
5604
+ flag: "custom-environment-id",
5605
+ type: "string",
5606
+ required: false,
5607
+ description: "Custom environment this execution runs on, in place of the workflow version's default environment.\nIt must be in the agent's organization and have the version's machine type. When the environment\nhas a profile list, profileId or profileGroupId must be one of its rows. With one row and neither\nnamed, the execution takes that row. An environment that keeps workers is accepted only when it is\nthe version's default. Omit it to use the version's default."
5608
+ },
5573
5609
  {
5574
5610
  name: "inputs",
5575
5611
  flag: "inputs",
@@ -5681,6 +5717,13 @@ var COMMANDS = [
5681
5717
  required: false,
5682
5718
  description: "The ID of the profile group to select a profile from. Mutually exclusive with profileId."
5683
5719
  },
5720
+ {
5721
+ name: "customEnvironmentId",
5722
+ flag: "custom-environment-id",
5723
+ type: "string",
5724
+ required: false,
5725
+ description: "Custom environment this execution runs on, in place of the workflow version's default environment.\nIt must be in the agent's organization and have the version's machine type. When the environment\nhas a profile list, profileId or profileGroupId must be one of its rows. With one row and neither\nnamed, the execution takes that row. An environment that keeps workers is accepted only when it is\nthe version's default. Omit it to use the version's default."
5726
+ },
5684
5727
  {
5685
5728
  name: "inputs",
5686
5729
  flag: "inputs",
@@ -6661,7 +6704,7 @@ var COMMANDS = [
6661
6704
  flag: "environment-template",
6662
6705
  type: "json",
6663
6706
  required: false,
6664
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
6707
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
6665
6708
  fields: [
6666
6709
  {
6667
6710
  name: "type",
@@ -6795,7 +6838,7 @@ var COMMANDS = [
6795
6838
  flag: "environment-template",
6796
6839
  type: "json",
6797
6840
  required: false,
6798
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
6841
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
6799
6842
  fields: [
6800
6843
  {
6801
6844
  name: "type",
@@ -6903,6 +6946,13 @@ var COMMANDS = [
6903
6946
  required: false,
6904
6947
  description: "The ID of the profile group to select a profile from. Mutually exclusive with profileId."
6905
6948
  },
6949
+ {
6950
+ name: "customEnvironmentId",
6951
+ flag: "custom-environment-id",
6952
+ type: "string",
6953
+ required: false,
6954
+ description: "Custom environment this execution runs on, in place of the workflow version's default environment.\nIt must be in the agent's organization and have the version's machine type. When the environment\nhas a profile list, profileId or profileGroupId must be one of its rows. With one row and neither\nnamed, the execution takes that row. An environment that keeps workers is accepted only when it is\nthe version's default. Omit it to use the version's default."
6955
+ },
6906
6956
  {
6907
6957
  name: "tempFiles",
6908
6958
  flag: "temp-files",
@@ -7278,7 +7328,7 @@ var COMMANDS = [
7278
7328
  flag: "environment-template",
7279
7329
  type: "json",
7280
7330
  required: false,
7281
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
7331
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
7282
7332
  fields: [
7283
7333
  {
7284
7334
  name: "type",
@@ -8509,7 +8559,7 @@ var ApiError = class extends Error {
8509
8559
  status;
8510
8560
  body;
8511
8561
  };
8512
- var VERSION = "1.9.525";
8562
+ var VERSION = "1.9.529";
8513
8563
  function problem(status, body, fallback) {
8514
8564
  if (body && typeof body === "object") {
8515
8565
  const record2 = body;
package/dist/core.js CHANGED
@@ -611,7 +611,7 @@ var COMMANDS = [
611
611
  flag: "base",
612
612
  type: "json",
613
613
  required: true,
614
- description: "The base machine: a browser, or a Linux / Windows OS environment. For non-admins, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; admins may name any snapshot. Omit it for the default image.",
614
+ description: "The base machine: a browser, or a Linux / Windows OS environment. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
615
615
  fields: [
616
616
  {
617
617
  name: "type",
@@ -1022,7 +1022,7 @@ var COMMANDS = [
1022
1022
  flag: "base",
1023
1023
  type: "json",
1024
1024
  required: true,
1025
- description: "The base machine: a browser, or a Linux / Windows OS environment. For non-admins, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; admins may name any snapshot. Omit it for the default image.",
1025
+ description: "The base machine: a browser, or a Linux / Windows OS environment. For non-staff callers, an OS base's `snapshotName` must be one of the organisation's snapshots or a public one; staff may name any snapshot. Omit it for the default image.",
1026
1026
  fields: [
1027
1027
  {
1028
1028
  name: "type",
@@ -3729,6 +3729,13 @@ var COMMANDS = [
3729
3729
  required: false,
3730
3730
  description: "Profile group to select a profile from for each execution. Mutually exclusive with profileId."
3731
3731
  },
3732
+ {
3733
+ name: "customEnvironmentId",
3734
+ flag: "custom-environment-id",
3735
+ type: "string",
3736
+ required: false,
3737
+ description: "Custom environment each execution runs on, in place of the version's default. The rules of the execute request apply. Omit it to follow the version's default, which a schedule on the published version takes from each newly published version."
3738
+ },
3732
3739
  {
3733
3740
  name: "timing",
3734
3741
  flag: "timing",
@@ -4026,6 +4033,13 @@ var COMMANDS = [
4026
4033
  required: false,
4027
4034
  description: "Profile group to select a profile from for each execution. Mutually exclusive with profileId."
4028
4035
  },
4036
+ {
4037
+ name: "customEnvironmentId",
4038
+ flag: "custom-environment-id",
4039
+ type: "string",
4040
+ required: false,
4041
+ description: "Custom environment each execution runs on, in place of the version's default. The rules of the execute request apply. Omit it to follow the version's default, which a schedule on the published version takes from each newly published version."
4042
+ },
4029
4043
  {
4030
4044
  name: "timing",
4031
4045
  flag: "timing",
@@ -4173,6 +4187,14 @@ var COMMANDS = [
4173
4187
  required: false,
4174
4188
  description: 'Detaches both the profile and the pool. Omitting the ids on their own means\n"leave unchanged", so this is the only way back to no profile.'
4175
4189
  },
4190
+ {
4191
+ name: "clearCustomEnvironment",
4192
+ flag: "clear-custom-environment",
4193
+ type: "boolean",
4194
+ required: false,
4195
+ description: `Removes the schedule's custom environment, so each run follows the version's default again.
4196
+ Omitting customEnvironmentId on its own means "leave unchanged".`
4197
+ },
4176
4198
  {
4177
4199
  name: "executionOptions",
4178
4200
  flag: "execution-options",
@@ -4259,6 +4281,13 @@ var COMMANDS = [
4259
4281
  type: "string",
4260
4282
  required: false
4261
4283
  },
4284
+ {
4285
+ name: "customEnvironmentId",
4286
+ flag: "custom-environment-id",
4287
+ type: "string",
4288
+ required: false,
4289
+ description: "Custom environment the run uses, in place of the version's default. The rules of the execute request apply. Omit it to use the version's default."
4290
+ },
4262
4291
  {
4263
4292
  name: "inputs",
4264
4293
  flag: "inputs",
@@ -5474,7 +5503,7 @@ var COMMANDS = [
5474
5503
  flag: "environment-template",
5475
5504
  type: "json",
5476
5505
  required: false,
5477
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
5506
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
5478
5507
  fields: [
5479
5508
  {
5480
5509
  name: "type",
@@ -5591,6 +5620,13 @@ var COMMANDS = [
5591
5620
  required: false,
5592
5621
  description: "The ID of the profile group to select a profile from. Mutually exclusive with profileId."
5593
5622
  },
5623
+ {
5624
+ name: "customEnvironmentId",
5625
+ flag: "custom-environment-id",
5626
+ type: "string",
5627
+ required: false,
5628
+ description: "Custom environment this execution runs on, in place of the workflow version's default environment.\nIt must be in the agent's organization and have the version's machine type. When the environment\nhas a profile list, profileId or profileGroupId must be one of its rows. With one row and neither\nnamed, the execution takes that row. An environment that keeps workers is accepted only when it is\nthe version's default. Omit it to use the version's default."
5629
+ },
5594
5630
  {
5595
5631
  name: "inputs",
5596
5632
  flag: "inputs",
@@ -5702,6 +5738,13 @@ var COMMANDS = [
5702
5738
  required: false,
5703
5739
  description: "The ID of the profile group to select a profile from. Mutually exclusive with profileId."
5704
5740
  },
5741
+ {
5742
+ name: "customEnvironmentId",
5743
+ flag: "custom-environment-id",
5744
+ type: "string",
5745
+ required: false,
5746
+ description: "Custom environment this execution runs on, in place of the workflow version's default environment.\nIt must be in the agent's organization and have the version's machine type. When the environment\nhas a profile list, profileId or profileGroupId must be one of its rows. With one row and neither\nnamed, the execution takes that row. An environment that keeps workers is accepted only when it is\nthe version's default. Omit it to use the version's default."
5747
+ },
5705
5748
  {
5706
5749
  name: "inputs",
5707
5750
  flag: "inputs",
@@ -6682,7 +6725,7 @@ var COMMANDS = [
6682
6725
  flag: "environment-template",
6683
6726
  type: "json",
6684
6727
  required: false,
6685
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
6728
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
6686
6729
  fields: [
6687
6730
  {
6688
6731
  name: "type",
@@ -6816,7 +6859,7 @@ var COMMANDS = [
6816
6859
  flag: "environment-template",
6817
6860
  type: "json",
6818
6861
  required: false,
6819
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
6862
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
6820
6863
  fields: [
6821
6864
  {
6822
6865
  name: "type",
@@ -6924,6 +6967,13 @@ var COMMANDS = [
6924
6967
  required: false,
6925
6968
  description: "The ID of the profile group to select a profile from. Mutually exclusive with profileId."
6926
6969
  },
6970
+ {
6971
+ name: "customEnvironmentId",
6972
+ flag: "custom-environment-id",
6973
+ type: "string",
6974
+ required: false,
6975
+ description: "Custom environment this execution runs on, in place of the workflow version's default environment.\nIt must be in the agent's organization and have the version's machine type. When the environment\nhas a profile list, profileId or profileGroupId must be one of its rows. With one row and neither\nnamed, the execution takes that row. An environment that keeps workers is accepted only when it is\nthe version's default. Omit it to use the version's default."
6976
+ },
6927
6977
  {
6928
6978
  name: "tempFiles",
6929
6979
  flag: "temp-files",
@@ -7299,7 +7349,7 @@ var COMMANDS = [
7299
7349
  flag: "environment-template",
7300
7350
  type: "json",
7301
7351
  required: false,
7302
- description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits admin-only OS fields.",
7352
+ description: "Optional environment template. On a new version, omit it to keep the template of the workflow's latest version (its editable head); on a new workflow, omitting it means a browser. Omits staff-only OS fields.",
7303
7353
  fields: [
7304
7354
  {
7305
7355
  name: "type",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.525",
3
+ "version": "1.9.529",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",