@asteroidai/cli 1.9.36 → 1.9.71
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 +21 -35
- package/dist/core.js +20 -34
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -2120,40 +2120,6 @@ var COMMANDS = [
|
|
|
2120
2120
|
required: false,
|
|
2121
2121
|
description: "Search profiles by name (partial match)"
|
|
2122
2122
|
},
|
|
2123
|
-
{
|
|
2124
|
-
name: "proxyMode",
|
|
2125
|
-
flag: "proxy-mode",
|
|
2126
|
-
type: "string[]",
|
|
2127
|
-
required: false,
|
|
2128
|
-
description: "Filter by proxy mode (can specify multiple, there is an 'OR' condition applied to these)",
|
|
2129
|
-
enum: ["none", "managed", "custom", "gateway"]
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
name: "operatingSystem",
|
|
2133
|
-
flag: "operating-system",
|
|
2134
|
-
type: "string[]",
|
|
2135
|
-
required: false,
|
|
2136
|
-
description: "Filter by emulated operating system (can specify multiple, there is an 'OR' condition applied to these). Profiles without an explicit operating system count as macOS.",
|
|
2137
|
-
enum: ["macos", "windows"]
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
name: "feature",
|
|
2141
|
-
flag: "feature",
|
|
2142
|
-
type: "string[]",
|
|
2143
|
-
required: false,
|
|
2144
|
-
description: "Filter by active browser features (can specify multiple, there is an 'AND' condition applied to these \u2014 every listed feature must be enabled)",
|
|
2145
|
-
enum: [
|
|
2146
|
-
"extraStealth",
|
|
2147
|
-
"allow3rdCookies",
|
|
2148
|
-
"captchaSolverActive",
|
|
2149
|
-
"stickyIP",
|
|
2150
|
-
"cachePersistence",
|
|
2151
|
-
"adblockActive",
|
|
2152
|
-
"popupBlockerActive",
|
|
2153
|
-
"forcePopupsAsTabsActive",
|
|
2154
|
-
"mediaBlockerActive"
|
|
2155
|
-
]
|
|
2156
|
-
},
|
|
2157
2123
|
{
|
|
2158
2124
|
name: "sortField",
|
|
2159
2125
|
flag: "sort-field",
|
|
@@ -3592,6 +3558,26 @@ var COMMANDS = [
|
|
|
3592
3558
|
credentialOrganization: true
|
|
3593
3559
|
}
|
|
3594
3560
|
},
|
|
3561
|
+
{
|
|
3562
|
+
command: "secret-request delete",
|
|
3563
|
+
tool: "secret_request_delete",
|
|
3564
|
+
title: "Delete request",
|
|
3565
|
+
description: "Delete a secret request in any state. A pending request stops working at once. The secret a completed request created is kept.",
|
|
3566
|
+
method: "DELETE",
|
|
3567
|
+
path: "/agents/v2/secret-requests/{requestId}",
|
|
3568
|
+
args: [
|
|
3569
|
+
{
|
|
3570
|
+
name: "requestId",
|
|
3571
|
+
flag: "request-id",
|
|
3572
|
+
type: "string",
|
|
3573
|
+
required: true
|
|
3574
|
+
}
|
|
3575
|
+
],
|
|
3576
|
+
query: [],
|
|
3577
|
+
binary: false,
|
|
3578
|
+
readOnly: false,
|
|
3579
|
+
destructive: true
|
|
3580
|
+
},
|
|
3595
3581
|
{
|
|
3596
3582
|
command: "secret-request list",
|
|
3597
3583
|
tool: "secret_requests_list",
|
|
@@ -6812,7 +6798,7 @@ var ApiError = class extends Error {
|
|
|
6812
6798
|
status;
|
|
6813
6799
|
body;
|
|
6814
6800
|
};
|
|
6815
|
-
var VERSION = "1.9.
|
|
6801
|
+
var VERSION = "1.9.71";
|
|
6816
6802
|
function problem(status, body, fallback) {
|
|
6817
6803
|
if (body && typeof body === "object") {
|
|
6818
6804
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -2141,40 +2141,6 @@ var COMMANDS = [
|
|
|
2141
2141
|
required: false,
|
|
2142
2142
|
description: "Search profiles by name (partial match)"
|
|
2143
2143
|
},
|
|
2144
|
-
{
|
|
2145
|
-
name: "proxyMode",
|
|
2146
|
-
flag: "proxy-mode",
|
|
2147
|
-
type: "string[]",
|
|
2148
|
-
required: false,
|
|
2149
|
-
description: "Filter by proxy mode (can specify multiple, there is an 'OR' condition applied to these)",
|
|
2150
|
-
enum: ["none", "managed", "custom", "gateway"]
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
name: "operatingSystem",
|
|
2154
|
-
flag: "operating-system",
|
|
2155
|
-
type: "string[]",
|
|
2156
|
-
required: false,
|
|
2157
|
-
description: "Filter by emulated operating system (can specify multiple, there is an 'OR' condition applied to these). Profiles without an explicit operating system count as macOS.",
|
|
2158
|
-
enum: ["macos", "windows"]
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
name: "feature",
|
|
2162
|
-
flag: "feature",
|
|
2163
|
-
type: "string[]",
|
|
2164
|
-
required: false,
|
|
2165
|
-
description: "Filter by active browser features (can specify multiple, there is an 'AND' condition applied to these \u2014 every listed feature must be enabled)",
|
|
2166
|
-
enum: [
|
|
2167
|
-
"extraStealth",
|
|
2168
|
-
"allow3rdCookies",
|
|
2169
|
-
"captchaSolverActive",
|
|
2170
|
-
"stickyIP",
|
|
2171
|
-
"cachePersistence",
|
|
2172
|
-
"adblockActive",
|
|
2173
|
-
"popupBlockerActive",
|
|
2174
|
-
"forcePopupsAsTabsActive",
|
|
2175
|
-
"mediaBlockerActive"
|
|
2176
|
-
]
|
|
2177
|
-
},
|
|
2178
2144
|
{
|
|
2179
2145
|
name: "sortField",
|
|
2180
2146
|
flag: "sort-field",
|
|
@@ -3613,6 +3579,26 @@ var COMMANDS = [
|
|
|
3613
3579
|
credentialOrganization: true
|
|
3614
3580
|
}
|
|
3615
3581
|
},
|
|
3582
|
+
{
|
|
3583
|
+
command: "secret-request delete",
|
|
3584
|
+
tool: "secret_request_delete",
|
|
3585
|
+
title: "Delete request",
|
|
3586
|
+
description: "Delete a secret request in any state. A pending request stops working at once. The secret a completed request created is kept.",
|
|
3587
|
+
method: "DELETE",
|
|
3588
|
+
path: "/agents/v2/secret-requests/{requestId}",
|
|
3589
|
+
args: [
|
|
3590
|
+
{
|
|
3591
|
+
name: "requestId",
|
|
3592
|
+
flag: "request-id",
|
|
3593
|
+
type: "string",
|
|
3594
|
+
required: true
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
query: [],
|
|
3598
|
+
binary: false,
|
|
3599
|
+
readOnly: false,
|
|
3600
|
+
destructive: true
|
|
3601
|
+
},
|
|
3616
3602
|
{
|
|
3617
3603
|
command: "secret-request list",
|
|
3618
3604
|
tool: "secret_requests_list",
|