@roxybrowser/openapi 1.0.12-beta.0 → 1.0.13-beta.1
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/README.md +2 -2
- package/lib/cli.cjs +26 -240
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +26 -240
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +27 -243
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5 -208
- package/lib/index.d.ts +5 -208
- package/lib/index.js +27 -241
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -175,7 +175,6 @@ declare class CreateBrowser {
|
|
|
175
175
|
};
|
|
176
176
|
position: {
|
|
177
177
|
type: string;
|
|
178
|
-
enum: number[];
|
|
179
178
|
description: string;
|
|
180
179
|
};
|
|
181
180
|
isPositionBaseIp: {
|
|
@@ -300,7 +299,6 @@ declare class CreateBrowser {
|
|
|
300
299
|
};
|
|
301
300
|
openWorkbench: {
|
|
302
301
|
type: string;
|
|
303
|
-
enum: number[];
|
|
304
302
|
description: string;
|
|
305
303
|
};
|
|
306
304
|
resolutionType: {
|
|
@@ -321,7 +319,6 @@ declare class CreateBrowser {
|
|
|
321
319
|
};
|
|
322
320
|
webRTC: {
|
|
323
321
|
type: string;
|
|
324
|
-
enum: number[];
|
|
325
322
|
description: string;
|
|
326
323
|
};
|
|
327
324
|
webGL: {
|
|
@@ -595,7 +592,6 @@ declare class CreateBrowser {
|
|
|
595
592
|
};
|
|
596
593
|
position: {
|
|
597
594
|
type: string;
|
|
598
|
-
enum: number[];
|
|
599
595
|
description: string;
|
|
600
596
|
};
|
|
601
597
|
isPositionBaseIp: {
|
|
@@ -720,7 +716,6 @@ declare class CreateBrowser {
|
|
|
720
716
|
};
|
|
721
717
|
openWorkbench: {
|
|
722
718
|
type: string;
|
|
723
|
-
enum: number[];
|
|
724
719
|
description: string;
|
|
725
720
|
};
|
|
726
721
|
resolutionType: {
|
|
@@ -741,7 +736,6 @@ declare class CreateBrowser {
|
|
|
741
736
|
};
|
|
742
737
|
webRTC: {
|
|
743
738
|
type: string;
|
|
744
|
-
enum: number[];
|
|
745
739
|
description: string;
|
|
746
740
|
};
|
|
747
741
|
webGL: {
|
|
@@ -1030,7 +1024,6 @@ declare class BatchCreateBrowsers {
|
|
|
1030
1024
|
};
|
|
1031
1025
|
position: {
|
|
1032
1026
|
type: string;
|
|
1033
|
-
enum: number[];
|
|
1034
1027
|
description: string;
|
|
1035
1028
|
};
|
|
1036
1029
|
isPositionBaseIp: {
|
|
@@ -1155,7 +1148,6 @@ declare class BatchCreateBrowsers {
|
|
|
1155
1148
|
};
|
|
1156
1149
|
openWorkbench: {
|
|
1157
1150
|
type: string;
|
|
1158
|
-
enum: number[];
|
|
1159
1151
|
description: string;
|
|
1160
1152
|
};
|
|
1161
1153
|
resolutionType: {
|
|
@@ -1176,7 +1168,6 @@ declare class BatchCreateBrowsers {
|
|
|
1176
1168
|
};
|
|
1177
1169
|
webRTC: {
|
|
1178
1170
|
type: string;
|
|
1179
|
-
enum: number[];
|
|
1180
1171
|
description: string;
|
|
1181
1172
|
};
|
|
1182
1173
|
webGL: {
|
|
@@ -1460,7 +1451,6 @@ declare class BatchCreateBrowsers {
|
|
|
1460
1451
|
};
|
|
1461
1452
|
position: {
|
|
1462
1453
|
type: string;
|
|
1463
|
-
enum: number[];
|
|
1464
1454
|
description: string;
|
|
1465
1455
|
};
|
|
1466
1456
|
isPositionBaseIp: {
|
|
@@ -1585,7 +1575,6 @@ declare class BatchCreateBrowsers {
|
|
|
1585
1575
|
};
|
|
1586
1576
|
openWorkbench: {
|
|
1587
1577
|
type: string;
|
|
1588
|
-
enum: number[];
|
|
1589
1578
|
description: string;
|
|
1590
1579
|
};
|
|
1591
1580
|
resolutionType: {
|
|
@@ -1606,7 +1595,6 @@ declare class BatchCreateBrowsers {
|
|
|
1606
1595
|
};
|
|
1607
1596
|
webRTC: {
|
|
1608
1597
|
type: string;
|
|
1609
|
-
enum: number[];
|
|
1610
1598
|
description: string;
|
|
1611
1599
|
};
|
|
1612
1600
|
webGL: {
|
|
@@ -1893,7 +1881,6 @@ declare class UpdateBrowser {
|
|
|
1893
1881
|
};
|
|
1894
1882
|
position: {
|
|
1895
1883
|
type: string;
|
|
1896
|
-
enum: number[];
|
|
1897
1884
|
description: string;
|
|
1898
1885
|
};
|
|
1899
1886
|
isPositionBaseIp: {
|
|
@@ -2018,7 +2005,6 @@ declare class UpdateBrowser {
|
|
|
2018
2005
|
};
|
|
2019
2006
|
openWorkbench: {
|
|
2020
2007
|
type: string;
|
|
2021
|
-
enum: number[];
|
|
2022
2008
|
description: string;
|
|
2023
2009
|
};
|
|
2024
2010
|
resolutionType: {
|
|
@@ -2039,7 +2025,6 @@ declare class UpdateBrowser {
|
|
|
2039
2025
|
};
|
|
2040
2026
|
webRTC: {
|
|
2041
2027
|
type: string;
|
|
2042
|
-
enum: number[];
|
|
2043
2028
|
description: string;
|
|
2044
2029
|
};
|
|
2045
2030
|
webGL: {
|
|
@@ -2313,7 +2298,6 @@ declare class UpdateBrowser {
|
|
|
2313
2298
|
};
|
|
2314
2299
|
position: {
|
|
2315
2300
|
type: string;
|
|
2316
|
-
enum: number[];
|
|
2317
2301
|
description: string;
|
|
2318
2302
|
};
|
|
2319
2303
|
isPositionBaseIp: {
|
|
@@ -2438,7 +2422,6 @@ declare class UpdateBrowser {
|
|
|
2438
2422
|
};
|
|
2439
2423
|
openWorkbench: {
|
|
2440
2424
|
type: string;
|
|
2441
|
-
enum: number[];
|
|
2442
2425
|
description: string;
|
|
2443
2426
|
};
|
|
2444
2427
|
resolutionType: {
|
|
@@ -2459,7 +2442,6 @@ declare class UpdateBrowser {
|
|
|
2459
2442
|
};
|
|
2460
2443
|
webRTC: {
|
|
2461
2444
|
type: string;
|
|
2462
|
-
enum: number[];
|
|
2463
2445
|
description: string;
|
|
2464
2446
|
};
|
|
2465
2447
|
webGL: {
|
|
@@ -3056,9 +3038,6 @@ declare const getConnectionInfo: GetConnectionInfo;
|
|
|
3056
3038
|
/** 代理列表 */
|
|
3057
3039
|
declare class ProxyList {
|
|
3058
3040
|
name: string;
|
|
3059
|
-
/**
|
|
3060
|
-
* 仅当用户没有指定商店时调用
|
|
3061
|
-
*/
|
|
3062
3041
|
description: string;
|
|
3063
3042
|
inputSchema: {
|
|
3064
3043
|
type: string;
|
|
@@ -3067,7 +3046,7 @@ declare class ProxyList {
|
|
|
3067
3046
|
type: string;
|
|
3068
3047
|
description: string;
|
|
3069
3048
|
};
|
|
3070
|
-
|
|
3049
|
+
proxyType: {
|
|
3071
3050
|
type: string;
|
|
3072
3051
|
description: string;
|
|
3073
3052
|
};
|
|
@@ -3094,67 +3073,7 @@ declare class ProxyList {
|
|
|
3094
3073
|
type: string;
|
|
3095
3074
|
description: string;
|
|
3096
3075
|
};
|
|
3097
|
-
|
|
3098
|
-
type: string;
|
|
3099
|
-
description: string;
|
|
3100
|
-
};
|
|
3101
|
-
pageIndex: {
|
|
3102
|
-
type: string;
|
|
3103
|
-
description: string;
|
|
3104
|
-
default: number;
|
|
3105
|
-
};
|
|
3106
|
-
pageSize: {
|
|
3107
|
-
type: string;
|
|
3108
|
-
description: string;
|
|
3109
|
-
default: number;
|
|
3110
|
-
};
|
|
3111
|
-
};
|
|
3112
|
-
required: string[];
|
|
3113
|
-
};
|
|
3114
|
-
};
|
|
3115
|
-
handle(params: any): Promise<{
|
|
3116
|
-
content: {
|
|
3117
|
-
type: string;
|
|
3118
|
-
text: string;
|
|
3119
|
-
}[];
|
|
3120
|
-
}>;
|
|
3121
|
-
}
|
|
3122
|
-
/** 代理商店 */
|
|
3123
|
-
declare class ProxyStore {
|
|
3124
|
-
name: string;
|
|
3125
|
-
description: string;
|
|
3126
|
-
inputSchema: {
|
|
3127
|
-
type: string;
|
|
3128
|
-
properties: {
|
|
3129
|
-
workspaceId: {
|
|
3130
|
-
type: string;
|
|
3131
|
-
description: string;
|
|
3132
|
-
};
|
|
3133
|
-
pageIndex: {
|
|
3134
|
-
type: string;
|
|
3135
|
-
description: string;
|
|
3136
|
-
default: number;
|
|
3137
|
-
};
|
|
3138
|
-
pageSize: {
|
|
3139
|
-
type: string;
|
|
3140
|
-
description: string;
|
|
3141
|
-
default: number;
|
|
3142
|
-
};
|
|
3143
|
-
type: {
|
|
3144
|
-
type: string;
|
|
3145
|
-
description: string;
|
|
3146
|
-
default: number;
|
|
3147
|
-
};
|
|
3148
|
-
};
|
|
3149
|
-
required: string[];
|
|
3150
|
-
};
|
|
3151
|
-
get schema(): {
|
|
3152
|
-
name: string;
|
|
3153
|
-
description: string;
|
|
3154
|
-
inputSchema: {
|
|
3155
|
-
type: string;
|
|
3156
|
-
properties: {
|
|
3157
|
-
workspaceId: {
|
|
3076
|
+
proxyType: {
|
|
3158
3077
|
type: string;
|
|
3159
3078
|
description: string;
|
|
3160
3079
|
};
|
|
@@ -3168,123 +3087,6 @@ declare class ProxyStore {
|
|
|
3168
3087
|
description: string;
|
|
3169
3088
|
default: number;
|
|
3170
3089
|
};
|
|
3171
|
-
type: {
|
|
3172
|
-
type: string;
|
|
3173
|
-
description: string;
|
|
3174
|
-
default: number;
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
required: string[];
|
|
3178
|
-
};
|
|
3179
|
-
};
|
|
3180
|
-
handle(params: any): Promise<{
|
|
3181
|
-
content: {
|
|
3182
|
-
type: string;
|
|
3183
|
-
text: string;
|
|
3184
|
-
}[];
|
|
3185
|
-
}>;
|
|
3186
|
-
}
|
|
3187
|
-
declare class CreateProxy {
|
|
3188
|
-
name: string;
|
|
3189
|
-
description: string;
|
|
3190
|
-
inputSchema: {
|
|
3191
|
-
type: string;
|
|
3192
|
-
properties: {
|
|
3193
|
-
workspaceId: {
|
|
3194
|
-
type: string;
|
|
3195
|
-
description: string;
|
|
3196
|
-
};
|
|
3197
|
-
protocol: {
|
|
3198
|
-
type: string;
|
|
3199
|
-
enum: string[];
|
|
3200
|
-
description: string;
|
|
3201
|
-
};
|
|
3202
|
-
host: {
|
|
3203
|
-
type: string;
|
|
3204
|
-
description: string;
|
|
3205
|
-
};
|
|
3206
|
-
port: {
|
|
3207
|
-
type: string;
|
|
3208
|
-
description: string;
|
|
3209
|
-
};
|
|
3210
|
-
proxyUserName: {
|
|
3211
|
-
type: string;
|
|
3212
|
-
description: string;
|
|
3213
|
-
};
|
|
3214
|
-
proxyPassword: {
|
|
3215
|
-
type: string;
|
|
3216
|
-
description: string;
|
|
3217
|
-
};
|
|
3218
|
-
ipType: {
|
|
3219
|
-
type: string;
|
|
3220
|
-
enum: string[];
|
|
3221
|
-
description: string;
|
|
3222
|
-
};
|
|
3223
|
-
checkChannel: {
|
|
3224
|
-
type: string;
|
|
3225
|
-
enum: string[];
|
|
3226
|
-
description: string;
|
|
3227
|
-
};
|
|
3228
|
-
refreshUrl: {
|
|
3229
|
-
type: string;
|
|
3230
|
-
description: string;
|
|
3231
|
-
};
|
|
3232
|
-
remark: {
|
|
3233
|
-
type: string;
|
|
3234
|
-
description: string;
|
|
3235
|
-
};
|
|
3236
|
-
};
|
|
3237
|
-
required: string[];
|
|
3238
|
-
};
|
|
3239
|
-
get schema(): {
|
|
3240
|
-
name: string;
|
|
3241
|
-
description: string;
|
|
3242
|
-
inputSchema: {
|
|
3243
|
-
type: string;
|
|
3244
|
-
properties: {
|
|
3245
|
-
workspaceId: {
|
|
3246
|
-
type: string;
|
|
3247
|
-
description: string;
|
|
3248
|
-
};
|
|
3249
|
-
protocol: {
|
|
3250
|
-
type: string;
|
|
3251
|
-
enum: string[];
|
|
3252
|
-
description: string;
|
|
3253
|
-
};
|
|
3254
|
-
host: {
|
|
3255
|
-
type: string;
|
|
3256
|
-
description: string;
|
|
3257
|
-
};
|
|
3258
|
-
port: {
|
|
3259
|
-
type: string;
|
|
3260
|
-
description: string;
|
|
3261
|
-
};
|
|
3262
|
-
proxyUserName: {
|
|
3263
|
-
type: string;
|
|
3264
|
-
description: string;
|
|
3265
|
-
};
|
|
3266
|
-
proxyPassword: {
|
|
3267
|
-
type: string;
|
|
3268
|
-
description: string;
|
|
3269
|
-
};
|
|
3270
|
-
ipType: {
|
|
3271
|
-
type: string;
|
|
3272
|
-
enum: string[];
|
|
3273
|
-
description: string;
|
|
3274
|
-
};
|
|
3275
|
-
checkChannel: {
|
|
3276
|
-
type: string;
|
|
3277
|
-
enum: string[];
|
|
3278
|
-
description: string;
|
|
3279
|
-
};
|
|
3280
|
-
refreshUrl: {
|
|
3281
|
-
type: string;
|
|
3282
|
-
description: string;
|
|
3283
|
-
};
|
|
3284
|
-
remark: {
|
|
3285
|
-
type: string;
|
|
3286
|
-
description: string;
|
|
3287
|
-
};
|
|
3288
3090
|
};
|
|
3289
3091
|
required: string[];
|
|
3290
3092
|
};
|
|
@@ -3296,7 +3098,7 @@ declare class CreateProxy {
|
|
|
3296
3098
|
}[];
|
|
3297
3099
|
}>;
|
|
3298
3100
|
}
|
|
3299
|
-
declare class
|
|
3101
|
+
declare class CreateProxies {
|
|
3300
3102
|
name: string;
|
|
3301
3103
|
description: string;
|
|
3302
3104
|
inputSchema: {
|
|
@@ -3621,9 +3423,7 @@ declare class DeleteProxies {
|
|
|
3621
3423
|
}>;
|
|
3622
3424
|
}
|
|
3623
3425
|
declare const proxyList: ProxyList;
|
|
3624
|
-
declare const
|
|
3625
|
-
declare const createProxy: CreateProxy;
|
|
3626
|
-
declare const batchCreateProxies: BatchCreateProxies;
|
|
3426
|
+
declare const createProxies: CreateProxies;
|
|
3627
3427
|
declare const detectProxy: DetectProxy;
|
|
3628
3428
|
declare const modifyProxy: ModifyProxy;
|
|
3629
3429
|
declare const deleteProxies: DeleteProxies;
|
|
@@ -5631,7 +5431,6 @@ declare const TOOLS: ({
|
|
|
5631
5431
|
};
|
|
5632
5432
|
position: {
|
|
5633
5433
|
type: string;
|
|
5634
|
-
enum: number[];
|
|
5635
5434
|
description: string;
|
|
5636
5435
|
};
|
|
5637
5436
|
isPositionBaseIp: {
|
|
@@ -5756,7 +5555,6 @@ declare const TOOLS: ({
|
|
|
5756
5555
|
};
|
|
5757
5556
|
openWorkbench: {
|
|
5758
5557
|
type: string;
|
|
5759
|
-
enum: number[];
|
|
5760
5558
|
description: string;
|
|
5761
5559
|
};
|
|
5762
5560
|
resolutionType: {
|
|
@@ -5777,7 +5575,6 @@ declare const TOOLS: ({
|
|
|
5777
5575
|
};
|
|
5778
5576
|
webRTC: {
|
|
5779
5577
|
type: string;
|
|
5780
|
-
enum: number[];
|
|
5781
5578
|
description: string;
|
|
5782
5579
|
};
|
|
5783
5580
|
webGL: {
|
|
@@ -5969,4 +5766,4 @@ declare class RoxyBrowserMCPServer {
|
|
|
5969
5766
|
*/
|
|
5970
5767
|
declare function runServer(): Promise<void>;
|
|
5971
5768
|
|
|
5972
|
-
export { type AccountBatchCreateParams, type AccountCreateParams, type AccountDeleteParams, type AccountItem, type AccountListParams, type AccountListResponse, type AccountModifyParams, type BoughtProxyListItem, type BrowserCloseParams, type BrowserCloseToolParams, type BrowserCloseToolResponse, type BrowserCreateAdvancedParams, type BrowserCreateAdvancedResponse, type BrowserCreateBatchResult, type BrowserCreateConfig, type BrowserCreateResult, type BrowserCreateSimpleParams, type BrowserCreateSimpleResponse, type BrowserCreateStandardParams, type BrowserCreateStandardResponse, BrowserCreationError, type BrowserDeleteToolParams, type BrowserDeleteToolResponse, type BrowserListItem, type BrowserListParams, type BrowserListResponse, type BrowserListToolParams, type BrowserListToolResponse, type BrowserOS, type BrowserOpenParams, type BrowserOpenResult, type BrowserOpenToolParams, type BrowserOpenToolResponse, type BrowserUpdateParams, type ClearLocalCacheParams, type ClearServerCacheParams, ConfigError, type ConnectionInfoItem, type ConnectionInfoResponse, type CoreVersion, DEFAULT_CONFIG, type DetectChannelItem, type DetectChannelResponse, type ErrorInfo, type FingerInfo, LATEST_CORE_VERSION, type LabelItem, type LabelListResponse, NETWORK_ERROR_PATTERNS, type ProjectDetails, type ProxyBatchCreateParams, type ProxyCreateParams, type ProxyDeleteParams, type ProxyDetectParams, type ProxyInfo, type ProxyListItem, type ProxyListParams, type ProxyListResponse, type ProxyModifyParams, ROXY_ERROR_MAP, type RandomFingerprintParams, RoxyApiError, RoxyApiErrorCode, type RoxyApiResponse, RoxyBrowserMCPServer, type RoxyClientConfig$1 as RoxyClientConfig, type SearchEngine, TOOLS, type WindowPlatformInfo, type Workspace, type WorkspaceListResponse, type WorkspaceListToolResponse, batchCreateAccounts, batchCreateBrowsers,
|
|
5769
|
+
export { type AccountBatchCreateParams, type AccountCreateParams, type AccountDeleteParams, type AccountItem, type AccountListParams, type AccountListResponse, type AccountModifyParams, type BoughtProxyListItem, type BrowserCloseParams, type BrowserCloseToolParams, type BrowserCloseToolResponse, type BrowserCreateAdvancedParams, type BrowserCreateAdvancedResponse, type BrowserCreateBatchResult, type BrowserCreateConfig, type BrowserCreateResult, type BrowserCreateSimpleParams, type BrowserCreateSimpleResponse, type BrowserCreateStandardParams, type BrowserCreateStandardResponse, BrowserCreationError, type BrowserDeleteToolParams, type BrowserDeleteToolResponse, type BrowserListItem, type BrowserListParams, type BrowserListResponse, type BrowserListToolParams, type BrowserListToolResponse, type BrowserOS, type BrowserOpenParams, type BrowserOpenResult, type BrowserOpenToolParams, type BrowserOpenToolResponse, type BrowserUpdateParams, type ClearLocalCacheParams, type ClearServerCacheParams, ConfigError, type ConnectionInfoItem, type ConnectionInfoResponse, type CoreVersion, DEFAULT_CONFIG, type DetectChannelItem, type DetectChannelResponse, type ErrorInfo, type FingerInfo, LATEST_CORE_VERSION, type LabelItem, type LabelListResponse, NETWORK_ERROR_PATTERNS, type ProjectDetails, type ProxyBatchCreateParams, type ProxyCreateParams, type ProxyDeleteParams, type ProxyDetectParams, type ProxyInfo, type ProxyListItem, type ProxyListParams, type ProxyListResponse, type ProxyModifyParams, ROXY_ERROR_MAP, type RandomFingerprintParams, RoxyApiError, RoxyApiErrorCode, type RoxyApiResponse, RoxyBrowserMCPServer, type RoxyClientConfig$1 as RoxyClientConfig, type SearchEngine, TOOLS, type WindowPlatformInfo, type Workspace, type WorkspaceListResponse, type WorkspaceListToolResponse, batchCreateAccounts, batchCreateBrowsers, clearLocalCache, clearServerCache, closeBrowsers, createAccount, createBrowser, createProxies, deleteAccounts, deleteBrowsers, deleteProxies, detectProxy, getBrowserDetail, getConnectionInfo, healthCheck, listAccounts, listBrowsers, listLabels, listWorkspaces, modifyAccount, modifyProxy, openBrowser, proxyList, randomFingerprint, request, resolveConfig, runServer, updateBrowser };
|