@asteroidai/cli 1.9.426 → 1.9.434
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 +24 -4
- package/dist/core.js +23 -3
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -542,6 +542,26 @@ var COMMANDS = [
|
|
|
542
542
|
readOnly: true,
|
|
543
543
|
destructive: false
|
|
544
544
|
},
|
|
545
|
+
{
|
|
546
|
+
command: "custom-environment address list",
|
|
547
|
+
tool: "custom_environment_addresses_list",
|
|
548
|
+
title: "List custom environment addresses",
|
|
549
|
+
description: "List the logins on a custom environment: the ones its profile rows name, and the ones that ran on it in the last 30 days. Each comes with its own address, when it got it, and its last run, when present. A login has no address until its first run here. Empty unless the environment has `settings.addresses: one_per_login`.",
|
|
550
|
+
method: "GET",
|
|
551
|
+
path: "/agents/v2/custom-environments/{customEnvironmentId}/addresses",
|
|
552
|
+
args: [
|
|
553
|
+
{
|
|
554
|
+
name: "customEnvironmentId",
|
|
555
|
+
flag: "custom-environment-id",
|
|
556
|
+
type: "string",
|
|
557
|
+
required: true
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
query: [],
|
|
561
|
+
binary: false,
|
|
562
|
+
readOnly: true,
|
|
563
|
+
destructive: false
|
|
564
|
+
},
|
|
545
565
|
{
|
|
546
566
|
command: "custom-environment create",
|
|
547
567
|
tool: "custom_environments_create",
|
|
@@ -803,7 +823,7 @@ var COMMANDS = [
|
|
|
803
823
|
flag: "executions-write-back",
|
|
804
824
|
type: "boolean",
|
|
805
825
|
required: false,
|
|
806
|
-
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run
|
|
826
|
+
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run on a login's own address saves anyway, to keep the address."
|
|
807
827
|
}
|
|
808
828
|
]
|
|
809
829
|
}
|
|
@@ -889,7 +909,7 @@ var COMMANDS = [
|
|
|
889
909
|
command: "custom-environment update",
|
|
890
910
|
tool: "custom_environment_update",
|
|
891
911
|
title: "Update custom environment",
|
|
892
|
-
description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords, a managed proxy's provider and `warmPool.workers`, which keep their stored values. Set `warmPool.workers.enabled` to false to remove workers. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
|
|
912
|
+
description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords, a managed proxy's provider, `settings.addresses` and `warmPool.workers`, which keep their stored values. Set `warmPool.workers.enabled` to false to remove workers. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
|
|
893
913
|
method: "PATCH",
|
|
894
914
|
path: "/agents/v2/custom-environments/{customEnvironmentId}",
|
|
895
915
|
args: [
|
|
@@ -1153,7 +1173,7 @@ var COMMANDS = [
|
|
|
1153
1173
|
flag: "executions-write-back",
|
|
1154
1174
|
type: "boolean",
|
|
1155
1175
|
required: false,
|
|
1156
|
-
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run
|
|
1176
|
+
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run on a login's own address saves anyway, to keep the address."
|
|
1157
1177
|
}
|
|
1158
1178
|
]
|
|
1159
1179
|
}
|
|
@@ -8089,7 +8109,7 @@ var ApiError = class extends Error {
|
|
|
8089
8109
|
status;
|
|
8090
8110
|
body;
|
|
8091
8111
|
};
|
|
8092
|
-
var VERSION = "1.9.
|
|
8112
|
+
var VERSION = "1.9.434";
|
|
8093
8113
|
function problem(status, body, fallback) {
|
|
8094
8114
|
if (body && typeof body === "object") {
|
|
8095
8115
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -563,6 +563,26 @@ var COMMANDS = [
|
|
|
563
563
|
readOnly: true,
|
|
564
564
|
destructive: false
|
|
565
565
|
},
|
|
566
|
+
{
|
|
567
|
+
command: "custom-environment address list",
|
|
568
|
+
tool: "custom_environment_addresses_list",
|
|
569
|
+
title: "List custom environment addresses",
|
|
570
|
+
description: "List the logins on a custom environment: the ones its profile rows name, and the ones that ran on it in the last 30 days. Each comes with its own address, when it got it, and its last run, when present. A login has no address until its first run here. Empty unless the environment has `settings.addresses: one_per_login`.",
|
|
571
|
+
method: "GET",
|
|
572
|
+
path: "/agents/v2/custom-environments/{customEnvironmentId}/addresses",
|
|
573
|
+
args: [
|
|
574
|
+
{
|
|
575
|
+
name: "customEnvironmentId",
|
|
576
|
+
flag: "custom-environment-id",
|
|
577
|
+
type: "string",
|
|
578
|
+
required: true
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
query: [],
|
|
582
|
+
binary: false,
|
|
583
|
+
readOnly: true,
|
|
584
|
+
destructive: false
|
|
585
|
+
},
|
|
566
586
|
{
|
|
567
587
|
command: "custom-environment create",
|
|
568
588
|
tool: "custom_environments_create",
|
|
@@ -824,7 +844,7 @@ var COMMANDS = [
|
|
|
824
844
|
flag: "executions-write-back",
|
|
825
845
|
type: "boolean",
|
|
826
846
|
required: false,
|
|
827
|
-
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run
|
|
847
|
+
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run on a login's own address saves anyway, to keep the address."
|
|
828
848
|
}
|
|
829
849
|
]
|
|
830
850
|
}
|
|
@@ -910,7 +930,7 @@ var COMMANDS = [
|
|
|
910
930
|
command: "custom-environment update",
|
|
911
931
|
tool: "custom_environment_update",
|
|
912
932
|
title: "Update custom environment",
|
|
913
|
-
description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords, a managed proxy's provider and `warmPool.workers`, which keep their stored values. Set `warmPool.workers.enabled` to false to remove workers. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
|
|
933
|
+
description: "Replace a custom environment's configuration. Send the full config, as `custom_environment_get` returns it: a field left out is cleared, except proxy passwords, a managed proxy's provider, `settings.addresses` and `warmPool.workers`, which keep their stored values. Set `warmPool.workers.enabled` to false to remove workers. Changes apply to environments booted afterwards. Turning keep-warm off is refused while members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
|
|
914
934
|
method: "PATCH",
|
|
915
935
|
path: "/agents/v2/custom-environments/{customEnvironmentId}",
|
|
916
936
|
args: [
|
|
@@ -1174,7 +1194,7 @@ var COMMANDS = [
|
|
|
1174
1194
|
flag: "executions-write-back",
|
|
1175
1195
|
type: "boolean",
|
|
1176
1196
|
required: false,
|
|
1177
|
-
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run
|
|
1197
|
+
description: "Whether executions on the environment save the browser profile when they stop. Off by default: only the login agent saves it, so a run that ends logged out cannot overwrite the session for later runs. The first run on a login's own address saves anyway, to keep the address."
|
|
1178
1198
|
}
|
|
1179
1199
|
]
|
|
1180
1200
|
}
|