@roxybrowser/openapi 1.0.14-beta.0 → 1.0.14
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/lib/cli.cjs +325 -128
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +325 -128
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +324 -127
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +10 -186
- package/lib/index.d.ts +10 -186
- package/lib/index.js +324 -127
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -15,16 +15,11 @@ declare class CreateBrowser {
|
|
|
15
15
|
type: string;
|
|
16
16
|
description: string;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
coreVersion: {
|
|
19
19
|
type: string;
|
|
20
20
|
enum: string[];
|
|
21
21
|
description: string;
|
|
22
22
|
};
|
|
23
|
-
useLatestCore: {
|
|
24
|
-
type: string;
|
|
25
|
-
enum: number[];
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
23
|
os: {
|
|
29
24
|
type: string;
|
|
30
25
|
enum: string[];
|
|
@@ -422,26 +417,6 @@ declare class CreateBrowser {
|
|
|
422
417
|
};
|
|
423
418
|
};
|
|
424
419
|
required: string[];
|
|
425
|
-
allOf: {
|
|
426
|
-
if: {
|
|
427
|
-
properties: {
|
|
428
|
-
browserCore: {
|
|
429
|
-
pattern: string;
|
|
430
|
-
};
|
|
431
|
-
os: {
|
|
432
|
-
const: string;
|
|
433
|
-
};
|
|
434
|
-
};
|
|
435
|
-
required: string[];
|
|
436
|
-
};
|
|
437
|
-
then: {
|
|
438
|
-
properties: {
|
|
439
|
-
osVersion: {
|
|
440
|
-
enum: string[];
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
};
|
|
444
|
-
}[];
|
|
445
420
|
};
|
|
446
421
|
get schema(): {
|
|
447
422
|
name: string;
|
|
@@ -457,16 +432,11 @@ declare class CreateBrowser {
|
|
|
457
432
|
type: string;
|
|
458
433
|
description: string;
|
|
459
434
|
};
|
|
460
|
-
|
|
435
|
+
coreVersion: {
|
|
461
436
|
type: string;
|
|
462
437
|
enum: string[];
|
|
463
438
|
description: string;
|
|
464
439
|
};
|
|
465
|
-
useLatestCore: {
|
|
466
|
-
type: string;
|
|
467
|
-
enum: number[];
|
|
468
|
-
description: string;
|
|
469
|
-
};
|
|
470
440
|
os: {
|
|
471
441
|
type: string;
|
|
472
442
|
enum: string[];
|
|
@@ -864,26 +834,6 @@ declare class CreateBrowser {
|
|
|
864
834
|
};
|
|
865
835
|
};
|
|
866
836
|
required: string[];
|
|
867
|
-
allOf: {
|
|
868
|
-
if: {
|
|
869
|
-
properties: {
|
|
870
|
-
browserCore: {
|
|
871
|
-
pattern: string;
|
|
872
|
-
};
|
|
873
|
-
os: {
|
|
874
|
-
const: string;
|
|
875
|
-
};
|
|
876
|
-
};
|
|
877
|
-
required: string[];
|
|
878
|
-
};
|
|
879
|
-
then: {
|
|
880
|
-
properties: {
|
|
881
|
-
osVersion: {
|
|
882
|
-
enum: string[];
|
|
883
|
-
};
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
}[];
|
|
887
837
|
};
|
|
888
838
|
};
|
|
889
839
|
handle(params: any): Promise<{
|
|
@@ -914,16 +864,11 @@ declare class BatchCreateBrowsers {
|
|
|
914
864
|
type: string;
|
|
915
865
|
description: string;
|
|
916
866
|
};
|
|
917
|
-
|
|
867
|
+
coreVersion: {
|
|
918
868
|
type: string;
|
|
919
869
|
enum: string[];
|
|
920
870
|
description: string;
|
|
921
871
|
};
|
|
922
|
-
useLatestCore: {
|
|
923
|
-
type: string;
|
|
924
|
-
enum: number[];
|
|
925
|
-
description: string;
|
|
926
|
-
};
|
|
927
872
|
os: {
|
|
928
873
|
type: string;
|
|
929
874
|
enum: string[];
|
|
@@ -1321,26 +1266,6 @@ declare class BatchCreateBrowsers {
|
|
|
1321
1266
|
};
|
|
1322
1267
|
};
|
|
1323
1268
|
required: string[];
|
|
1324
|
-
allOf: {
|
|
1325
|
-
if: {
|
|
1326
|
-
properties: {
|
|
1327
|
-
browserCore: {
|
|
1328
|
-
pattern: string;
|
|
1329
|
-
};
|
|
1330
|
-
os: {
|
|
1331
|
-
const: string;
|
|
1332
|
-
};
|
|
1333
|
-
};
|
|
1334
|
-
required: string[];
|
|
1335
|
-
};
|
|
1336
|
-
then: {
|
|
1337
|
-
properties: {
|
|
1338
|
-
osVersion: {
|
|
1339
|
-
enum: string[];
|
|
1340
|
-
};
|
|
1341
|
-
};
|
|
1342
|
-
};
|
|
1343
|
-
}[];
|
|
1344
1269
|
};
|
|
1345
1270
|
};
|
|
1346
1271
|
};
|
|
@@ -1366,16 +1291,11 @@ declare class BatchCreateBrowsers {
|
|
|
1366
1291
|
type: string;
|
|
1367
1292
|
description: string;
|
|
1368
1293
|
};
|
|
1369
|
-
|
|
1294
|
+
coreVersion: {
|
|
1370
1295
|
type: string;
|
|
1371
1296
|
enum: string[];
|
|
1372
1297
|
description: string;
|
|
1373
1298
|
};
|
|
1374
|
-
useLatestCore: {
|
|
1375
|
-
type: string;
|
|
1376
|
-
enum: number[];
|
|
1377
|
-
description: string;
|
|
1378
|
-
};
|
|
1379
1299
|
os: {
|
|
1380
1300
|
type: string;
|
|
1381
1301
|
enum: string[];
|
|
@@ -1773,26 +1693,6 @@ declare class BatchCreateBrowsers {
|
|
|
1773
1693
|
};
|
|
1774
1694
|
};
|
|
1775
1695
|
required: string[];
|
|
1776
|
-
allOf: {
|
|
1777
|
-
if: {
|
|
1778
|
-
properties: {
|
|
1779
|
-
browserCore: {
|
|
1780
|
-
pattern: string;
|
|
1781
|
-
};
|
|
1782
|
-
os: {
|
|
1783
|
-
const: string;
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
required: string[];
|
|
1787
|
-
};
|
|
1788
|
-
then: {
|
|
1789
|
-
properties: {
|
|
1790
|
-
osVersion: {
|
|
1791
|
-
enum: string[];
|
|
1792
|
-
};
|
|
1793
|
-
};
|
|
1794
|
-
};
|
|
1795
|
-
}[];
|
|
1796
1696
|
};
|
|
1797
1697
|
};
|
|
1798
1698
|
};
|
|
@@ -1821,16 +1721,11 @@ declare class UpdateBrowser {
|
|
|
1821
1721
|
type: string;
|
|
1822
1722
|
description: string;
|
|
1823
1723
|
};
|
|
1824
|
-
|
|
1724
|
+
coreVersion: {
|
|
1825
1725
|
type: string;
|
|
1826
1726
|
enum: string[];
|
|
1827
1727
|
description: string;
|
|
1828
1728
|
};
|
|
1829
|
-
useLatestCore: {
|
|
1830
|
-
type: string;
|
|
1831
|
-
enum: number[];
|
|
1832
|
-
description: string;
|
|
1833
|
-
};
|
|
1834
1729
|
os: {
|
|
1835
1730
|
type: string;
|
|
1836
1731
|
enum: string[];
|
|
@@ -2228,26 +2123,6 @@ declare class UpdateBrowser {
|
|
|
2228
2123
|
};
|
|
2229
2124
|
};
|
|
2230
2125
|
required: string[];
|
|
2231
|
-
allOf: {
|
|
2232
|
-
if: {
|
|
2233
|
-
properties: {
|
|
2234
|
-
browserCore: {
|
|
2235
|
-
pattern: string;
|
|
2236
|
-
};
|
|
2237
|
-
os: {
|
|
2238
|
-
const: string;
|
|
2239
|
-
};
|
|
2240
|
-
};
|
|
2241
|
-
required: string[];
|
|
2242
|
-
};
|
|
2243
|
-
then: {
|
|
2244
|
-
properties: {
|
|
2245
|
-
osVersion: {
|
|
2246
|
-
enum: string[];
|
|
2247
|
-
};
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
}[];
|
|
2251
2126
|
};
|
|
2252
2127
|
get schema(): {
|
|
2253
2128
|
name: string;
|
|
@@ -2263,16 +2138,11 @@ declare class UpdateBrowser {
|
|
|
2263
2138
|
type: string;
|
|
2264
2139
|
description: string;
|
|
2265
2140
|
};
|
|
2266
|
-
|
|
2141
|
+
coreVersion: {
|
|
2267
2142
|
type: string;
|
|
2268
2143
|
enum: string[];
|
|
2269
2144
|
description: string;
|
|
2270
2145
|
};
|
|
2271
|
-
useLatestCore: {
|
|
2272
|
-
type: string;
|
|
2273
|
-
enum: number[];
|
|
2274
|
-
description: string;
|
|
2275
|
-
};
|
|
2276
2146
|
os: {
|
|
2277
2147
|
type: string;
|
|
2278
2148
|
enum: string[];
|
|
@@ -2670,26 +2540,6 @@ declare class UpdateBrowser {
|
|
|
2670
2540
|
};
|
|
2671
2541
|
};
|
|
2672
2542
|
required: string[];
|
|
2673
|
-
allOf: {
|
|
2674
|
-
if: {
|
|
2675
|
-
properties: {
|
|
2676
|
-
browserCore: {
|
|
2677
|
-
pattern: string;
|
|
2678
|
-
};
|
|
2679
|
-
os: {
|
|
2680
|
-
const: string;
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
|
-
required: string[];
|
|
2684
|
-
};
|
|
2685
|
-
then: {
|
|
2686
|
-
properties: {
|
|
2687
|
-
osVersion: {
|
|
2688
|
-
enum: string[];
|
|
2689
|
-
};
|
|
2690
|
-
};
|
|
2691
|
-
};
|
|
2692
|
-
}[];
|
|
2693
2543
|
};
|
|
2694
2544
|
};
|
|
2695
2545
|
handle(params: any): Promise<{
|
|
@@ -4298,9 +4148,6 @@ interface BrowserOpenResult {
|
|
|
4298
4148
|
* Browser directory ID
|
|
4299
4149
|
*/
|
|
4300
4150
|
dirId?: string;
|
|
4301
|
-
coreType?: string; /**
|
|
4302
|
-
* Browser core type: Chrome or Firefox
|
|
4303
|
-
*/
|
|
4304
4151
|
}
|
|
4305
4152
|
/** Browser list item */
|
|
4306
4153
|
interface BrowserListItem {
|
|
@@ -4329,9 +4176,6 @@ interface BrowserListItem {
|
|
|
4329
4176
|
* Browser status
|
|
4330
4177
|
*/
|
|
4331
4178
|
status: string;
|
|
4332
|
-
coreType?: string; /**
|
|
4333
|
-
* Browser core type: Chrome or Firefox
|
|
4334
|
-
*/
|
|
4335
4179
|
}
|
|
4336
4180
|
/** Paginated browser list response */
|
|
4337
4181
|
interface BrowserListResponse {
|
|
@@ -4490,9 +4334,7 @@ interface RoxyClientConfig$1 {
|
|
|
4490
4334
|
/** Browser operating system types */
|
|
4491
4335
|
type BrowserOS = 'Windows' | 'macOS' | 'Linux' | 'IOS' | 'Android';
|
|
4492
4336
|
/** Browser core versions */
|
|
4493
|
-
type CoreVersion = '
|
|
4494
|
-
/** Browser core type — Firefox or Chromium */
|
|
4495
|
-
type CoreType = 'Firefox' | 'Chrome';
|
|
4337
|
+
type CoreVersion = '140' | '138' | '137' | '136' | '135' | '133' | '130' | '125' | '117' | '109';
|
|
4496
4338
|
/** Latest/recommended browser core version */
|
|
4497
4339
|
declare const LATEST_CORE_VERSION: CoreVersion;
|
|
4498
4340
|
/** Search engine options */
|
|
@@ -4792,12 +4634,6 @@ interface BrowserCreateConfig {
|
|
|
4792
4634
|
coreVersion?: CoreVersion; /**
|
|
4793
4635
|
* Browser core version
|
|
4794
4636
|
*/
|
|
4795
|
-
coreType?: CoreType; /**
|
|
4796
|
-
* Browser core type: Chrome or Firefox
|
|
4797
|
-
*/
|
|
4798
|
-
useLatestCore?: 0 | 1; /**
|
|
4799
|
-
* Whether to always use the latest core version: 1=yes, 0=no
|
|
4800
|
-
*/
|
|
4801
4637
|
os?: BrowserOS; /**
|
|
4802
4638
|
* Operating system
|
|
4803
4639
|
*/
|
|
@@ -4850,12 +4686,6 @@ interface BrowserCreateSimpleParams {
|
|
|
4850
4686
|
windowRemark?: string; /**
|
|
4851
4687
|
* Window remarks
|
|
4852
4688
|
*/
|
|
4853
|
-
coreType?: CoreType; /**
|
|
4854
|
-
* Browser core type: Chrome or Firefox
|
|
4855
|
-
*/
|
|
4856
|
-
useLatestCore?: 0 | 1; /**
|
|
4857
|
-
* Whether to always use the latest core version: 1=yes, 0=no
|
|
4858
|
-
*/
|
|
4859
4689
|
proxyHost?: string; /**
|
|
4860
4690
|
* Simple proxy host
|
|
4861
4691
|
*/
|
|
@@ -4896,12 +4726,6 @@ interface BrowserCreateStandardParams {
|
|
|
4896
4726
|
coreVersion?: CoreVersion; /**
|
|
4897
4727
|
* Browser core version
|
|
4898
4728
|
*/
|
|
4899
|
-
coreType?: CoreType; /**
|
|
4900
|
-
* Browser core type: Chrome or Firefox
|
|
4901
|
-
*/
|
|
4902
|
-
useLatestCore?: 0 | 1; /**
|
|
4903
|
-
* Whether to always use the latest core version: 1=yes, 0=no
|
|
4904
|
-
*/
|
|
4905
4729
|
proxyInfo?: ProxyInfo; /**
|
|
4906
4730
|
* Complete proxy configuration
|
|
4907
4731
|
*/
|
|
@@ -5212,9 +5036,9 @@ interface ConnectionInfoItem {
|
|
|
5212
5036
|
* Process ID
|
|
5213
5037
|
*/
|
|
5214
5038
|
/**
|
|
5215
|
-
* Browser
|
|
5039
|
+
* Browser directory ID
|
|
5216
5040
|
*/
|
|
5217
|
-
|
|
5041
|
+
dirId: string;
|
|
5218
5042
|
}
|
|
5219
5043
|
/** Connection info response */
|
|
5220
5044
|
interface ConnectionInfoResponse {
|
|
@@ -5524,4 +5348,4 @@ declare class RoxyBrowserMCPServer {
|
|
|
5524
5348
|
*/
|
|
5525
5349
|
declare function runServer(): Promise<void>;
|
|
5526
5350
|
|
|
5527
|
-
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
|
|
5351
|
+
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, proxyDetail, proxyList, randomFingerprint, request, resolveConfig, runServer, updateBrowser };
|