@asteroidai/cli 1.9.526 → 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 +51 -1
- package/dist/core.js +50 -0
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -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",
|
|
@@ -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",
|
|
@@ -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",
|
|
@@ -8509,7 +8559,7 @@ var ApiError = class extends Error {
|
|
|
8509
8559
|
status;
|
|
8510
8560
|
body;
|
|
8511
8561
|
};
|
|
8512
|
-
var VERSION = "1.9.
|
|
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
|
@@ -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",
|
|
@@ -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",
|
|
@@ -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",
|