@asteroidai/cli 1.9.450 → 1.9.463
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 +129 -7
- package/dist/core.js +128 -6
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -758,19 +758,80 @@ var COMMANDS = [
|
|
|
758
758
|
required: false,
|
|
759
759
|
description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
|
|
760
760
|
fields: [
|
|
761
|
+
{
|
|
762
|
+
name: "timing",
|
|
763
|
+
flag: "timing",
|
|
764
|
+
type: "json",
|
|
765
|
+
required: false,
|
|
766
|
+
description: "When each profile logs in again, counted from its last login. Prefer it over intervalMins and activeHours. When a request carries all three, a timing that differs from the stored one wins. A timing equal to the stored one lets a changed intervalMins or activeHours apply. For now it takes one every rule with anchor last_run.",
|
|
767
|
+
fields: [
|
|
768
|
+
{
|
|
769
|
+
name: "timezone",
|
|
770
|
+
flag: "timezone",
|
|
771
|
+
type: "string",
|
|
772
|
+
required: false,
|
|
773
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
name: "at",
|
|
777
|
+
flag: "at",
|
|
778
|
+
type: "json",
|
|
779
|
+
required: false
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
name: "every",
|
|
783
|
+
flag: "every",
|
|
784
|
+
type: "json",
|
|
785
|
+
required: false
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
name: "once",
|
|
789
|
+
flag: "once",
|
|
790
|
+
type: "json",
|
|
791
|
+
required: false
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
name: "cron",
|
|
795
|
+
flag: "cron",
|
|
796
|
+
type: "json",
|
|
797
|
+
required: false
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
name: "startAt",
|
|
801
|
+
flag: "start-at",
|
|
802
|
+
type: "string",
|
|
803
|
+
required: false,
|
|
804
|
+
description: "No fire before this instant. Inclusive."
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
name: "endAt",
|
|
808
|
+
flag: "end-at",
|
|
809
|
+
type: "string",
|
|
810
|
+
required: false,
|
|
811
|
+
description: "No fire at or after this instant."
|
|
812
|
+
}
|
|
813
|
+
]
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
name: "description",
|
|
817
|
+
flag: "description",
|
|
818
|
+
type: "string",
|
|
819
|
+
required: false,
|
|
820
|
+
description: "The timing in words. The server writes it and ignores it in a request."
|
|
821
|
+
},
|
|
761
822
|
{
|
|
762
823
|
name: "intervalMins",
|
|
763
824
|
flag: "interval-mins",
|
|
764
825
|
type: "integer",
|
|
765
826
|
required: false,
|
|
766
|
-
description: "Minutes between logins of the same profile"
|
|
827
|
+
description: "Minutes between logins of the same profile. Prefer timing. In a response it is the interval of timing, or the mean gap between its runs."
|
|
767
828
|
},
|
|
768
829
|
{
|
|
769
830
|
name: "activeHours",
|
|
770
831
|
flag: "active-hours",
|
|
771
832
|
type: "json",
|
|
772
833
|
required: false,
|
|
773
|
-
description: "Hours during which logins run. Absent means around the clock.",
|
|
834
|
+
description: "Hours during which logins run. Absent means around the clock. Prefer the during windows of timing.",
|
|
774
835
|
fields: [
|
|
775
836
|
{
|
|
776
837
|
name: "timezone",
|
|
@@ -1108,19 +1169,80 @@ var COMMANDS = [
|
|
|
1108
1169
|
required: false,
|
|
1109
1170
|
description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
|
|
1110
1171
|
fields: [
|
|
1172
|
+
{
|
|
1173
|
+
name: "timing",
|
|
1174
|
+
flag: "timing",
|
|
1175
|
+
type: "json",
|
|
1176
|
+
required: false,
|
|
1177
|
+
description: "When each profile logs in again, counted from its last login. Prefer it over intervalMins and activeHours. When a request carries all three, a timing that differs from the stored one wins. A timing equal to the stored one lets a changed intervalMins or activeHours apply. For now it takes one every rule with anchor last_run.",
|
|
1178
|
+
fields: [
|
|
1179
|
+
{
|
|
1180
|
+
name: "timezone",
|
|
1181
|
+
flag: "timezone",
|
|
1182
|
+
type: "string",
|
|
1183
|
+
required: false,
|
|
1184
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
name: "at",
|
|
1188
|
+
flag: "at",
|
|
1189
|
+
type: "json",
|
|
1190
|
+
required: false
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
name: "every",
|
|
1194
|
+
flag: "every",
|
|
1195
|
+
type: "json",
|
|
1196
|
+
required: false
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
name: "once",
|
|
1200
|
+
flag: "once",
|
|
1201
|
+
type: "json",
|
|
1202
|
+
required: false
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
name: "cron",
|
|
1206
|
+
flag: "cron",
|
|
1207
|
+
type: "json",
|
|
1208
|
+
required: false
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
name: "startAt",
|
|
1212
|
+
flag: "start-at",
|
|
1213
|
+
type: "string",
|
|
1214
|
+
required: false,
|
|
1215
|
+
description: "No fire before this instant. Inclusive."
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
name: "endAt",
|
|
1219
|
+
flag: "end-at",
|
|
1220
|
+
type: "string",
|
|
1221
|
+
required: false,
|
|
1222
|
+
description: "No fire at or after this instant."
|
|
1223
|
+
}
|
|
1224
|
+
]
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
name: "description",
|
|
1228
|
+
flag: "description",
|
|
1229
|
+
type: "string",
|
|
1230
|
+
required: false,
|
|
1231
|
+
description: "The timing in words. The server writes it and ignores it in a request."
|
|
1232
|
+
},
|
|
1111
1233
|
{
|
|
1112
1234
|
name: "intervalMins",
|
|
1113
1235
|
flag: "interval-mins",
|
|
1114
1236
|
type: "integer",
|
|
1115
1237
|
required: false,
|
|
1116
|
-
description: "Minutes between logins of the same profile"
|
|
1238
|
+
description: "Minutes between logins of the same profile. Prefer timing. In a response it is the interval of timing, or the mean gap between its runs."
|
|
1117
1239
|
},
|
|
1118
1240
|
{
|
|
1119
1241
|
name: "activeHours",
|
|
1120
1242
|
flag: "active-hours",
|
|
1121
1243
|
type: "json",
|
|
1122
1244
|
required: false,
|
|
1123
|
-
description: "Hours during which logins run. Absent means around the clock.",
|
|
1245
|
+
description: "Hours during which logins run. Absent means around the clock. Prefer the during windows of timing.",
|
|
1124
1246
|
fields: [
|
|
1125
1247
|
{
|
|
1126
1248
|
name: "timezone",
|
|
@@ -3429,7 +3551,7 @@ var COMMANDS = [
|
|
|
3429
3551
|
flag: "timezone",
|
|
3430
3552
|
type: "string",
|
|
3431
3553
|
required: false,
|
|
3432
|
-
description: "IANA time zone every part is read in, such as America/New_York"
|
|
3554
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
3433
3555
|
},
|
|
3434
3556
|
{
|
|
3435
3557
|
name: "at",
|
|
@@ -3726,7 +3848,7 @@ var COMMANDS = [
|
|
|
3726
3848
|
flag: "timezone",
|
|
3727
3849
|
type: "string",
|
|
3728
3850
|
required: false,
|
|
3729
|
-
description: "IANA time zone every part is read in, such as America/New_York"
|
|
3851
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
3730
3852
|
},
|
|
3731
3853
|
{
|
|
3732
3854
|
name: "at",
|
|
@@ -8106,7 +8228,7 @@ var ApiError = class extends Error {
|
|
|
8106
8228
|
status;
|
|
8107
8229
|
body;
|
|
8108
8230
|
};
|
|
8109
|
-
var VERSION = "1.9.
|
|
8231
|
+
var VERSION = "1.9.463";
|
|
8110
8232
|
function problem(status, body, fallback) {
|
|
8111
8233
|
if (body && typeof body === "object") {
|
|
8112
8234
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -779,19 +779,80 @@ var COMMANDS = [
|
|
|
779
779
|
required: false,
|
|
780
780
|
description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
|
|
781
781
|
fields: [
|
|
782
|
+
{
|
|
783
|
+
name: "timing",
|
|
784
|
+
flag: "timing",
|
|
785
|
+
type: "json",
|
|
786
|
+
required: false,
|
|
787
|
+
description: "When each profile logs in again, counted from its last login. Prefer it over intervalMins and activeHours. When a request carries all three, a timing that differs from the stored one wins. A timing equal to the stored one lets a changed intervalMins or activeHours apply. For now it takes one every rule with anchor last_run.",
|
|
788
|
+
fields: [
|
|
789
|
+
{
|
|
790
|
+
name: "timezone",
|
|
791
|
+
flag: "timezone",
|
|
792
|
+
type: "string",
|
|
793
|
+
required: false,
|
|
794
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
name: "at",
|
|
798
|
+
flag: "at",
|
|
799
|
+
type: "json",
|
|
800
|
+
required: false
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
name: "every",
|
|
804
|
+
flag: "every",
|
|
805
|
+
type: "json",
|
|
806
|
+
required: false
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
name: "once",
|
|
810
|
+
flag: "once",
|
|
811
|
+
type: "json",
|
|
812
|
+
required: false
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
name: "cron",
|
|
816
|
+
flag: "cron",
|
|
817
|
+
type: "json",
|
|
818
|
+
required: false
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
name: "startAt",
|
|
822
|
+
flag: "start-at",
|
|
823
|
+
type: "string",
|
|
824
|
+
required: false,
|
|
825
|
+
description: "No fire before this instant. Inclusive."
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
name: "endAt",
|
|
829
|
+
flag: "end-at",
|
|
830
|
+
type: "string",
|
|
831
|
+
required: false,
|
|
832
|
+
description: "No fire at or after this instant."
|
|
833
|
+
}
|
|
834
|
+
]
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
name: "description",
|
|
838
|
+
flag: "description",
|
|
839
|
+
type: "string",
|
|
840
|
+
required: false,
|
|
841
|
+
description: "The timing in words. The server writes it and ignores it in a request."
|
|
842
|
+
},
|
|
782
843
|
{
|
|
783
844
|
name: "intervalMins",
|
|
784
845
|
flag: "interval-mins",
|
|
785
846
|
type: "integer",
|
|
786
847
|
required: false,
|
|
787
|
-
description: "Minutes between logins of the same profile"
|
|
848
|
+
description: "Minutes between logins of the same profile. Prefer timing. In a response it is the interval of timing, or the mean gap between its runs."
|
|
788
849
|
},
|
|
789
850
|
{
|
|
790
851
|
name: "activeHours",
|
|
791
852
|
flag: "active-hours",
|
|
792
853
|
type: "json",
|
|
793
854
|
required: false,
|
|
794
|
-
description: "Hours during which logins run. Absent means around the clock.",
|
|
855
|
+
description: "Hours during which logins run. Absent means around the clock. Prefer the during windows of timing.",
|
|
795
856
|
fields: [
|
|
796
857
|
{
|
|
797
858
|
name: "timezone",
|
|
@@ -1129,19 +1190,80 @@ var COMMANDS = [
|
|
|
1129
1190
|
required: false,
|
|
1130
1191
|
description: "Warm cache configuration. Absent means no login agent keeps the profiles' cookies fresh. Exclusive with warmPool.",
|
|
1131
1192
|
fields: [
|
|
1193
|
+
{
|
|
1194
|
+
name: "timing",
|
|
1195
|
+
flag: "timing",
|
|
1196
|
+
type: "json",
|
|
1197
|
+
required: false,
|
|
1198
|
+
description: "When each profile logs in again, counted from its last login. Prefer it over intervalMins and activeHours. When a request carries all three, a timing that differs from the stored one wins. A timing equal to the stored one lets a changed intervalMins or activeHours apply. For now it takes one every rule with anchor last_run.",
|
|
1199
|
+
fields: [
|
|
1200
|
+
{
|
|
1201
|
+
name: "timezone",
|
|
1202
|
+
flag: "timezone",
|
|
1203
|
+
type: "string",
|
|
1204
|
+
required: false,
|
|
1205
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
name: "at",
|
|
1209
|
+
flag: "at",
|
|
1210
|
+
type: "json",
|
|
1211
|
+
required: false
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
name: "every",
|
|
1215
|
+
flag: "every",
|
|
1216
|
+
type: "json",
|
|
1217
|
+
required: false
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
name: "once",
|
|
1221
|
+
flag: "once",
|
|
1222
|
+
type: "json",
|
|
1223
|
+
required: false
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
name: "cron",
|
|
1227
|
+
flag: "cron",
|
|
1228
|
+
type: "json",
|
|
1229
|
+
required: false
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
name: "startAt",
|
|
1233
|
+
flag: "start-at",
|
|
1234
|
+
type: "string",
|
|
1235
|
+
required: false,
|
|
1236
|
+
description: "No fire before this instant. Inclusive."
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
name: "endAt",
|
|
1240
|
+
flag: "end-at",
|
|
1241
|
+
type: "string",
|
|
1242
|
+
required: false,
|
|
1243
|
+
description: "No fire at or after this instant."
|
|
1244
|
+
}
|
|
1245
|
+
]
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
name: "description",
|
|
1249
|
+
flag: "description",
|
|
1250
|
+
type: "string",
|
|
1251
|
+
required: false,
|
|
1252
|
+
description: "The timing in words. The server writes it and ignores it in a request."
|
|
1253
|
+
},
|
|
1132
1254
|
{
|
|
1133
1255
|
name: "intervalMins",
|
|
1134
1256
|
flag: "interval-mins",
|
|
1135
1257
|
type: "integer",
|
|
1136
1258
|
required: false,
|
|
1137
|
-
description: "Minutes between logins of the same profile"
|
|
1259
|
+
description: "Minutes between logins of the same profile. Prefer timing. In a response it is the interval of timing, or the mean gap between its runs."
|
|
1138
1260
|
},
|
|
1139
1261
|
{
|
|
1140
1262
|
name: "activeHours",
|
|
1141
1263
|
flag: "active-hours",
|
|
1142
1264
|
type: "json",
|
|
1143
1265
|
required: false,
|
|
1144
|
-
description: "Hours during which logins run. Absent means around the clock.",
|
|
1266
|
+
description: "Hours during which logins run. Absent means around the clock. Prefer the during windows of timing.",
|
|
1145
1267
|
fields: [
|
|
1146
1268
|
{
|
|
1147
1269
|
name: "timezone",
|
|
@@ -3450,7 +3572,7 @@ var COMMANDS = [
|
|
|
3450
3572
|
flag: "timezone",
|
|
3451
3573
|
type: "string",
|
|
3452
3574
|
required: false,
|
|
3453
|
-
description: "IANA time zone every part is read in, such as America/New_York"
|
|
3575
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
3454
3576
|
},
|
|
3455
3577
|
{
|
|
3456
3578
|
name: "at",
|
|
@@ -3747,7 +3869,7 @@ var COMMANDS = [
|
|
|
3747
3869
|
flag: "timezone",
|
|
3748
3870
|
type: "string",
|
|
3749
3871
|
required: false,
|
|
3750
|
-
description: "IANA time zone every part is read in, such as America/New_York"
|
|
3872
|
+
description: "IANA time zone every part is read in, such as America/New_York. Required in every timing."
|
|
3751
3873
|
},
|
|
3752
3874
|
{
|
|
3753
3875
|
name: "at",
|