@asteroidai/cli 1.9.313 → 1.9.344
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 +88 -6
- package/dist/core.js +87 -5
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -643,7 +643,7 @@ var COMMANDS = [
|
|
|
643
643
|
flag: "max-age-mins",
|
|
644
644
|
type: "integer",
|
|
645
645
|
required: false,
|
|
646
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on
|
|
646
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on a managed browser base, which ends a session at about 4 hours."
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
649
|
name: "reuse",
|
|
@@ -688,7 +688,7 @@ var COMMANDS = [
|
|
|
688
688
|
flag: "keep-alive",
|
|
689
689
|
type: "json",
|
|
690
690
|
required: false,
|
|
691
|
-
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs
|
|
691
|
+
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs a managed browser base or a Daytona desktop base. Absent means members are never touched between warmup and retirement.",
|
|
692
692
|
fields: [
|
|
693
693
|
{
|
|
694
694
|
name: "intervalMins",
|
|
@@ -993,7 +993,7 @@ var COMMANDS = [
|
|
|
993
993
|
flag: "max-age-mins",
|
|
994
994
|
type: "integer",
|
|
995
995
|
required: false,
|
|
996
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on
|
|
996
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on a managed browser base, which ends a session at about 4 hours."
|
|
997
997
|
},
|
|
998
998
|
{
|
|
999
999
|
name: "reuse",
|
|
@@ -1038,7 +1038,7 @@ var COMMANDS = [
|
|
|
1038
1038
|
flag: "keep-alive",
|
|
1039
1039
|
type: "json",
|
|
1040
1040
|
required: false,
|
|
1041
|
-
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs
|
|
1041
|
+
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs a managed browser base or a Daytona desktop base. Absent means members are never touched between warmup and retirement.",
|
|
1042
1042
|
fields: [
|
|
1043
1043
|
{
|
|
1044
1044
|
name: "intervalMins",
|
|
@@ -2514,7 +2514,7 @@ var COMMANDS = [
|
|
|
2514
2514
|
flag: "sticky-ip",
|
|
2515
2515
|
type: "boolean",
|
|
2516
2516
|
required: false,
|
|
2517
|
-
description: "Give browser runs on this profile one dedicated IP. Applies when the environment uses no proxy or the
|
|
2517
|
+
description: "Give browser runs on this profile one dedicated IP. Applies when the environment uses no proxy or the default managed proxy. A custom proxy, a gateway or a Bright Data proxy turns it off."
|
|
2518
2518
|
},
|
|
2519
2519
|
{
|
|
2520
2520
|
name: "secretIds",
|
|
@@ -3060,6 +3060,88 @@ var COMMANDS = [
|
|
|
3060
3060
|
credentialOrganization: false
|
|
3061
3061
|
}
|
|
3062
3062
|
},
|
|
3063
|
+
{
|
|
3064
|
+
command: "proxy-gateway get",
|
|
3065
|
+
tool: "proxy_gateway_get",
|
|
3066
|
+
title: "Get proxy gateway",
|
|
3067
|
+
description: "Read one proxy gateway by ID, such as a custom environment's `proxyGatewayPresetId`, to see whether it is enabled and why it is not ready (`status`, `statusReason`). Never returns its credentials.",
|
|
3068
|
+
method: "GET",
|
|
3069
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3070
|
+
args: [
|
|
3071
|
+
{
|
|
3072
|
+
name: "proxyGatewayId",
|
|
3073
|
+
flag: "proxy-gateway-id",
|
|
3074
|
+
type: "string",
|
|
3075
|
+
required: true
|
|
3076
|
+
}
|
|
3077
|
+
],
|
|
3078
|
+
query: [],
|
|
3079
|
+
binary: false,
|
|
3080
|
+
readOnly: true,
|
|
3081
|
+
destructive: false
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
command: "proxy-gateway list",
|
|
3085
|
+
tool: "proxy_gateways_list",
|
|
3086
|
+
title: "List proxy gateways",
|
|
3087
|
+
description: "List the organization's proxy gateways, or find one with `searchName`. Each has an `id`, `name`, `gatewayType`, `enabled` and `status`, and never its credentials. Route a custom environment through a gateway by setting its `settings.proxy` to `mode` `gateway` and `proxyGatewayPresetId` to the gateway's `id`. Creating a gateway, its credentials and its setup keys stay in the platform app.",
|
|
3088
|
+
method: "GET",
|
|
3089
|
+
path: "/vpn-gateway/v2/proxy-gateways",
|
|
3090
|
+
args: [],
|
|
3091
|
+
query: [
|
|
3092
|
+
{
|
|
3093
|
+
name: "searchName",
|
|
3094
|
+
flag: "search-name",
|
|
3095
|
+
type: "string",
|
|
3096
|
+
required: false,
|
|
3097
|
+
description: "Case-insensitive search on the gateway name."
|
|
3098
|
+
}
|
|
3099
|
+
],
|
|
3100
|
+
binary: false,
|
|
3101
|
+
readOnly: true,
|
|
3102
|
+
destructive: false
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
command: "proxy-gateway update",
|
|
3106
|
+
tool: "proxy_gateway_update",
|
|
3107
|
+
title: "Update proxy gateway",
|
|
3108
|
+
description: "Rename a proxy gateway with `name`, or turn it on or off with `enabled`. Only the fields sent change. Turning a gateway off stops new executions through it. Credentials and provider settings change in the platform app.",
|
|
3109
|
+
method: "PATCH",
|
|
3110
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3111
|
+
args: [
|
|
3112
|
+
{
|
|
3113
|
+
name: "proxyGatewayId",
|
|
3114
|
+
flag: "proxy-gateway-id",
|
|
3115
|
+
type: "string",
|
|
3116
|
+
required: true
|
|
3117
|
+
}
|
|
3118
|
+
],
|
|
3119
|
+
query: [],
|
|
3120
|
+
binary: false,
|
|
3121
|
+
readOnly: false,
|
|
3122
|
+
destructive: false,
|
|
3123
|
+
body: {
|
|
3124
|
+
required: true,
|
|
3125
|
+
contentType: "application/json",
|
|
3126
|
+
fields: [
|
|
3127
|
+
{
|
|
3128
|
+
name: "name",
|
|
3129
|
+
flag: "name",
|
|
3130
|
+
type: "string",
|
|
3131
|
+
required: false
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
name: "enabled",
|
|
3135
|
+
flag: "enabled",
|
|
3136
|
+
type: "boolean",
|
|
3137
|
+
required: false,
|
|
3138
|
+
description: "Whether the gateway is enabled. A disabled gateway takes no new executions."
|
|
3139
|
+
}
|
|
3140
|
+
],
|
|
3141
|
+
files: [],
|
|
3142
|
+
credentialOrganization: false
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3063
3145
|
{
|
|
3064
3146
|
command: "schedule create",
|
|
3065
3147
|
tool: "schedule_create",
|
|
@@ -7650,7 +7732,7 @@ var ApiError = class extends Error {
|
|
|
7650
7732
|
status;
|
|
7651
7733
|
body;
|
|
7652
7734
|
};
|
|
7653
|
-
var VERSION = "1.9.
|
|
7735
|
+
var VERSION = "1.9.344";
|
|
7654
7736
|
function problem(status, body, fallback) {
|
|
7655
7737
|
if (body && typeof body === "object") {
|
|
7656
7738
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -664,7 +664,7 @@ var COMMANDS = [
|
|
|
664
664
|
flag: "max-age-mins",
|
|
665
665
|
type: "integer",
|
|
666
666
|
required: false,
|
|
667
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on
|
|
667
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on a managed browser base, which ends a session at about 4 hours."
|
|
668
668
|
},
|
|
669
669
|
{
|
|
670
670
|
name: "reuse",
|
|
@@ -709,7 +709,7 @@ var COMMANDS = [
|
|
|
709
709
|
flag: "keep-alive",
|
|
710
710
|
type: "json",
|
|
711
711
|
required: false,
|
|
712
|
-
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs
|
|
712
|
+
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs a managed browser base or a Daytona desktop base. Absent means members are never touched between warmup and retirement.",
|
|
713
713
|
fields: [
|
|
714
714
|
{
|
|
715
715
|
name: "intervalMins",
|
|
@@ -1014,7 +1014,7 @@ var COMMANDS = [
|
|
|
1014
1014
|
flag: "max-age-mins",
|
|
1015
1015
|
type: "integer",
|
|
1016
1016
|
required: false,
|
|
1017
|
-
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on
|
|
1017
|
+
description: "Member max age in minutes, not a hard retirement time. The replacement boots ahead of it, by the pool's recent warmup time; the member stays claimable past it until the replacement is ready, for a grace of at most half the max age or 15 minutes. At most 180 on a managed browser base, which ends a session at about 4 hours."
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
1020
|
name: "reuse",
|
|
@@ -1059,7 +1059,7 @@ var COMMANDS = [
|
|
|
1059
1059
|
flag: "keep-alive",
|
|
1060
1060
|
type: "json",
|
|
1061
1061
|
required: false,
|
|
1062
|
-
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs
|
|
1062
|
+
description: "Periodic probe that keeps an idle member's session alive and retires a member whose session is dead. Needs a managed browser base or a Daytona desktop base. Absent means members are never touched between warmup and retirement.",
|
|
1063
1063
|
fields: [
|
|
1064
1064
|
{
|
|
1065
1065
|
name: "intervalMins",
|
|
@@ -2535,7 +2535,7 @@ var COMMANDS = [
|
|
|
2535
2535
|
flag: "sticky-ip",
|
|
2536
2536
|
type: "boolean",
|
|
2537
2537
|
required: false,
|
|
2538
|
-
description: "Give browser runs on this profile one dedicated IP. Applies when the environment uses no proxy or the
|
|
2538
|
+
description: "Give browser runs on this profile one dedicated IP. Applies when the environment uses no proxy or the default managed proxy. A custom proxy, a gateway or a Bright Data proxy turns it off."
|
|
2539
2539
|
},
|
|
2540
2540
|
{
|
|
2541
2541
|
name: "secretIds",
|
|
@@ -3081,6 +3081,88 @@ var COMMANDS = [
|
|
|
3081
3081
|
credentialOrganization: false
|
|
3082
3082
|
}
|
|
3083
3083
|
},
|
|
3084
|
+
{
|
|
3085
|
+
command: "proxy-gateway get",
|
|
3086
|
+
tool: "proxy_gateway_get",
|
|
3087
|
+
title: "Get proxy gateway",
|
|
3088
|
+
description: "Read one proxy gateway by ID, such as a custom environment's `proxyGatewayPresetId`, to see whether it is enabled and why it is not ready (`status`, `statusReason`). Never returns its credentials.",
|
|
3089
|
+
method: "GET",
|
|
3090
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3091
|
+
args: [
|
|
3092
|
+
{
|
|
3093
|
+
name: "proxyGatewayId",
|
|
3094
|
+
flag: "proxy-gateway-id",
|
|
3095
|
+
type: "string",
|
|
3096
|
+
required: true
|
|
3097
|
+
}
|
|
3098
|
+
],
|
|
3099
|
+
query: [],
|
|
3100
|
+
binary: false,
|
|
3101
|
+
readOnly: true,
|
|
3102
|
+
destructive: false
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
command: "proxy-gateway list",
|
|
3106
|
+
tool: "proxy_gateways_list",
|
|
3107
|
+
title: "List proxy gateways",
|
|
3108
|
+
description: "List the organization's proxy gateways, or find one with `searchName`. Each has an `id`, `name`, `gatewayType`, `enabled` and `status`, and never its credentials. Route a custom environment through a gateway by setting its `settings.proxy` to `mode` `gateway` and `proxyGatewayPresetId` to the gateway's `id`. Creating a gateway, its credentials and its setup keys stay in the platform app.",
|
|
3109
|
+
method: "GET",
|
|
3110
|
+
path: "/vpn-gateway/v2/proxy-gateways",
|
|
3111
|
+
args: [],
|
|
3112
|
+
query: [
|
|
3113
|
+
{
|
|
3114
|
+
name: "searchName",
|
|
3115
|
+
flag: "search-name",
|
|
3116
|
+
type: "string",
|
|
3117
|
+
required: false,
|
|
3118
|
+
description: "Case-insensitive search on the gateway name."
|
|
3119
|
+
}
|
|
3120
|
+
],
|
|
3121
|
+
binary: false,
|
|
3122
|
+
readOnly: true,
|
|
3123
|
+
destructive: false
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
command: "proxy-gateway update",
|
|
3127
|
+
tool: "proxy_gateway_update",
|
|
3128
|
+
title: "Update proxy gateway",
|
|
3129
|
+
description: "Rename a proxy gateway with `name`, or turn it on or off with `enabled`. Only the fields sent change. Turning a gateway off stops new executions through it. Credentials and provider settings change in the platform app.",
|
|
3130
|
+
method: "PATCH",
|
|
3131
|
+
path: "/vpn-gateway/v2/proxy-gateways/{proxyGatewayId}",
|
|
3132
|
+
args: [
|
|
3133
|
+
{
|
|
3134
|
+
name: "proxyGatewayId",
|
|
3135
|
+
flag: "proxy-gateway-id",
|
|
3136
|
+
type: "string",
|
|
3137
|
+
required: true
|
|
3138
|
+
}
|
|
3139
|
+
],
|
|
3140
|
+
query: [],
|
|
3141
|
+
binary: false,
|
|
3142
|
+
readOnly: false,
|
|
3143
|
+
destructive: false,
|
|
3144
|
+
body: {
|
|
3145
|
+
required: true,
|
|
3146
|
+
contentType: "application/json",
|
|
3147
|
+
fields: [
|
|
3148
|
+
{
|
|
3149
|
+
name: "name",
|
|
3150
|
+
flag: "name",
|
|
3151
|
+
type: "string",
|
|
3152
|
+
required: false
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
name: "enabled",
|
|
3156
|
+
flag: "enabled",
|
|
3157
|
+
type: "boolean",
|
|
3158
|
+
required: false,
|
|
3159
|
+
description: "Whether the gateway is enabled. A disabled gateway takes no new executions."
|
|
3160
|
+
}
|
|
3161
|
+
],
|
|
3162
|
+
files: [],
|
|
3163
|
+
credentialOrganization: false
|
|
3164
|
+
}
|
|
3165
|
+
},
|
|
3084
3166
|
{
|
|
3085
3167
|
command: "schedule create",
|
|
3086
3168
|
tool: "schedule_create",
|