@iflow-mcp/roxybrowserlabs-roxybrowser-mcp-server 1.0.9

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.
@@ -0,0 +1,576 @@
1
+ /** 代理列表 */
2
+ export declare class ProxyList {
3
+ name: string;
4
+ /**
5
+ * 仅当用户没有指定商店时调用
6
+ */
7
+ description: string;
8
+ inputSchema: {
9
+ type: string;
10
+ properties: {
11
+ workspaceId: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ id: {
16
+ type: string;
17
+ description: string;
18
+ };
19
+ pageIndex: {
20
+ type: string;
21
+ description: string;
22
+ default: number;
23
+ };
24
+ pageSize: {
25
+ type: string;
26
+ description: string;
27
+ default: number;
28
+ };
29
+ };
30
+ required: string[];
31
+ };
32
+ get schema(): {
33
+ name: string;
34
+ description: string;
35
+ inputSchema: {
36
+ type: string;
37
+ properties: {
38
+ workspaceId: {
39
+ type: string;
40
+ description: string;
41
+ };
42
+ id: {
43
+ type: string;
44
+ description: string;
45
+ };
46
+ pageIndex: {
47
+ type: string;
48
+ description: string;
49
+ default: number;
50
+ };
51
+ pageSize: {
52
+ type: string;
53
+ description: string;
54
+ default: number;
55
+ };
56
+ };
57
+ required: string[];
58
+ };
59
+ };
60
+ handle(params: any): Promise<{
61
+ content: {
62
+ type: string;
63
+ text: string;
64
+ }[];
65
+ }>;
66
+ }
67
+ /** 代理商店 */
68
+ export declare class ProxyStore {
69
+ name: string;
70
+ description: string;
71
+ inputSchema: {
72
+ type: string;
73
+ properties: {
74
+ workspaceId: {
75
+ type: string;
76
+ description: string;
77
+ };
78
+ pageIndex: {
79
+ type: string;
80
+ description: string;
81
+ default: number;
82
+ };
83
+ pageSize: {
84
+ type: string;
85
+ description: string;
86
+ default: number;
87
+ };
88
+ type: {
89
+ type: string;
90
+ description: string;
91
+ default: number;
92
+ };
93
+ };
94
+ required: string[];
95
+ };
96
+ get schema(): {
97
+ name: string;
98
+ description: string;
99
+ inputSchema: {
100
+ type: string;
101
+ properties: {
102
+ workspaceId: {
103
+ type: string;
104
+ description: string;
105
+ };
106
+ pageIndex: {
107
+ type: string;
108
+ description: string;
109
+ default: number;
110
+ };
111
+ pageSize: {
112
+ type: string;
113
+ description: string;
114
+ default: number;
115
+ };
116
+ type: {
117
+ type: string;
118
+ description: string;
119
+ default: number;
120
+ };
121
+ };
122
+ required: string[];
123
+ };
124
+ };
125
+ handle(params: any): Promise<{
126
+ content: {
127
+ type: string;
128
+ text: string;
129
+ }[];
130
+ }>;
131
+ }
132
+ declare class CreateProxy {
133
+ name: string;
134
+ description: string;
135
+ inputSchema: {
136
+ type: string;
137
+ properties: {
138
+ workspaceId: {
139
+ type: string;
140
+ description: string;
141
+ };
142
+ protocol: {
143
+ type: string;
144
+ enum: string[];
145
+ description: string;
146
+ };
147
+ host: {
148
+ type: string;
149
+ description: string;
150
+ };
151
+ port: {
152
+ type: string;
153
+ description: string;
154
+ };
155
+ proxyUserName: {
156
+ type: string;
157
+ description: string;
158
+ };
159
+ proxyPassword: {
160
+ type: string;
161
+ description: string;
162
+ };
163
+ ipType: {
164
+ type: string;
165
+ enum: string[];
166
+ description: string;
167
+ };
168
+ checkChannel: {
169
+ type: string;
170
+ enum: string[];
171
+ description: string;
172
+ };
173
+ refreshUrl: {
174
+ type: string;
175
+ description: string;
176
+ };
177
+ remark: {
178
+ type: string;
179
+ description: string;
180
+ };
181
+ };
182
+ required: string[];
183
+ };
184
+ get schema(): {
185
+ name: string;
186
+ description: string;
187
+ inputSchema: {
188
+ type: string;
189
+ properties: {
190
+ workspaceId: {
191
+ type: string;
192
+ description: string;
193
+ };
194
+ protocol: {
195
+ type: string;
196
+ enum: string[];
197
+ description: string;
198
+ };
199
+ host: {
200
+ type: string;
201
+ description: string;
202
+ };
203
+ port: {
204
+ type: string;
205
+ description: string;
206
+ };
207
+ proxyUserName: {
208
+ type: string;
209
+ description: string;
210
+ };
211
+ proxyPassword: {
212
+ type: string;
213
+ description: string;
214
+ };
215
+ ipType: {
216
+ type: string;
217
+ enum: string[];
218
+ description: string;
219
+ };
220
+ checkChannel: {
221
+ type: string;
222
+ enum: string[];
223
+ description: string;
224
+ };
225
+ refreshUrl: {
226
+ type: string;
227
+ description: string;
228
+ };
229
+ remark: {
230
+ type: string;
231
+ description: string;
232
+ };
233
+ };
234
+ required: string[];
235
+ };
236
+ };
237
+ handle(params: any): Promise<{
238
+ content: {
239
+ type: string;
240
+ text: string;
241
+ }[];
242
+ }>;
243
+ }
244
+ declare class BatchCreateProxies {
245
+ name: string;
246
+ description: string;
247
+ inputSchema: {
248
+ type: string;
249
+ properties: {
250
+ workspaceId: {
251
+ type: string;
252
+ description: string;
253
+ };
254
+ proxyList: {
255
+ type: string;
256
+ description: string;
257
+ items: {
258
+ type: string;
259
+ properties: {
260
+ protocol: {
261
+ type: string;
262
+ enum: string[];
263
+ };
264
+ host: {
265
+ type: string;
266
+ };
267
+ port: {
268
+ type: string;
269
+ };
270
+ proxyUserName: {
271
+ type: string;
272
+ };
273
+ proxyPassword: {
274
+ type: string;
275
+ };
276
+ ipType: {
277
+ type: string;
278
+ enum: string[];
279
+ };
280
+ checkChannel: {
281
+ type: string;
282
+ enum: string[];
283
+ };
284
+ refreshUrl: {
285
+ type: string;
286
+ };
287
+ remark: {
288
+ type: string;
289
+ };
290
+ };
291
+ required: string[];
292
+ };
293
+ };
294
+ };
295
+ required: string[];
296
+ };
297
+ get schema(): {
298
+ name: string;
299
+ description: string;
300
+ inputSchema: {
301
+ type: string;
302
+ properties: {
303
+ workspaceId: {
304
+ type: string;
305
+ description: string;
306
+ };
307
+ proxyList: {
308
+ type: string;
309
+ description: string;
310
+ items: {
311
+ type: string;
312
+ properties: {
313
+ protocol: {
314
+ type: string;
315
+ enum: string[];
316
+ };
317
+ host: {
318
+ type: string;
319
+ };
320
+ port: {
321
+ type: string;
322
+ };
323
+ proxyUserName: {
324
+ type: string;
325
+ };
326
+ proxyPassword: {
327
+ type: string;
328
+ };
329
+ ipType: {
330
+ type: string;
331
+ enum: string[];
332
+ };
333
+ checkChannel: {
334
+ type: string;
335
+ enum: string[];
336
+ };
337
+ refreshUrl: {
338
+ type: string;
339
+ };
340
+ remark: {
341
+ type: string;
342
+ };
343
+ };
344
+ required: string[];
345
+ };
346
+ };
347
+ };
348
+ required: string[];
349
+ };
350
+ };
351
+ handle(params: any): Promise<{
352
+ content: {
353
+ type: string;
354
+ text: string;
355
+ }[];
356
+ }>;
357
+ }
358
+ declare class DetectProxy {
359
+ name: string;
360
+ description: string;
361
+ inputSchema: {
362
+ type: string;
363
+ properties: {
364
+ workspaceId: {
365
+ type: string;
366
+ description: string;
367
+ };
368
+ id: {
369
+ type: string;
370
+ description: string;
371
+ };
372
+ };
373
+ required: string[];
374
+ };
375
+ get schema(): {
376
+ name: string;
377
+ description: string;
378
+ inputSchema: {
379
+ type: string;
380
+ properties: {
381
+ workspaceId: {
382
+ type: string;
383
+ description: string;
384
+ };
385
+ id: {
386
+ type: string;
387
+ description: string;
388
+ };
389
+ };
390
+ required: string[];
391
+ };
392
+ };
393
+ handle(params: any): Promise<{
394
+ content: {
395
+ type: string;
396
+ text: string;
397
+ }[];
398
+ }>;
399
+ }
400
+ declare class ModifyProxy {
401
+ name: string;
402
+ description: string;
403
+ inputSchema: {
404
+ type: string;
405
+ properties: {
406
+ workspaceId: {
407
+ type: string;
408
+ description: string;
409
+ };
410
+ id: {
411
+ type: string;
412
+ description: string;
413
+ };
414
+ protocol: {
415
+ type: string;
416
+ enum: string[];
417
+ description: string;
418
+ };
419
+ host: {
420
+ type: string;
421
+ description: string;
422
+ };
423
+ port: {
424
+ type: string;
425
+ description: string;
426
+ };
427
+ proxyUserName: {
428
+ type: string;
429
+ description: string;
430
+ };
431
+ proxyPassword: {
432
+ type: string;
433
+ description: string;
434
+ };
435
+ ipType: {
436
+ type: string;
437
+ enum: string[];
438
+ description: string;
439
+ };
440
+ checkChannel: {
441
+ type: string;
442
+ enum: string[];
443
+ description: string;
444
+ };
445
+ refreshUrl: {
446
+ type: string;
447
+ description: string;
448
+ };
449
+ remark: {
450
+ type: string;
451
+ description: string;
452
+ };
453
+ };
454
+ required: string[];
455
+ };
456
+ get schema(): {
457
+ name: string;
458
+ description: string;
459
+ inputSchema: {
460
+ type: string;
461
+ properties: {
462
+ workspaceId: {
463
+ type: string;
464
+ description: string;
465
+ };
466
+ id: {
467
+ type: string;
468
+ description: string;
469
+ };
470
+ protocol: {
471
+ type: string;
472
+ enum: string[];
473
+ description: string;
474
+ };
475
+ host: {
476
+ type: string;
477
+ description: string;
478
+ };
479
+ port: {
480
+ type: string;
481
+ description: string;
482
+ };
483
+ proxyUserName: {
484
+ type: string;
485
+ description: string;
486
+ };
487
+ proxyPassword: {
488
+ type: string;
489
+ description: string;
490
+ };
491
+ ipType: {
492
+ type: string;
493
+ enum: string[];
494
+ description: string;
495
+ };
496
+ checkChannel: {
497
+ type: string;
498
+ enum: string[];
499
+ description: string;
500
+ };
501
+ refreshUrl: {
502
+ type: string;
503
+ description: string;
504
+ };
505
+ remark: {
506
+ type: string;
507
+ description: string;
508
+ };
509
+ };
510
+ required: string[];
511
+ };
512
+ };
513
+ handle(params: any): Promise<{
514
+ content: {
515
+ type: string;
516
+ text: string;
517
+ }[];
518
+ }>;
519
+ }
520
+ declare class DeleteProxies {
521
+ name: string;
522
+ description: string;
523
+ inputSchema: {
524
+ type: string;
525
+ properties: {
526
+ workspaceId: {
527
+ type: string;
528
+ description: string;
529
+ };
530
+ ids: {
531
+ type: string;
532
+ items: {
533
+ type: string;
534
+ };
535
+ description: string;
536
+ };
537
+ };
538
+ required: string[];
539
+ };
540
+ get schema(): {
541
+ name: string;
542
+ description: string;
543
+ inputSchema: {
544
+ type: string;
545
+ properties: {
546
+ workspaceId: {
547
+ type: string;
548
+ description: string;
549
+ };
550
+ ids: {
551
+ type: string;
552
+ items: {
553
+ type: string;
554
+ };
555
+ description: string;
556
+ };
557
+ };
558
+ required: string[];
559
+ };
560
+ };
561
+ handle(params: any): Promise<{
562
+ content: {
563
+ type: string;
564
+ text: string;
565
+ }[];
566
+ }>;
567
+ }
568
+ export declare const proxyList: ProxyList;
569
+ export declare const proxyStore: ProxyStore;
570
+ export declare const createProxy: CreateProxy;
571
+ export declare const batchCreateProxies: BatchCreateProxies;
572
+ export declare const detectProxy: DetectProxy;
573
+ export declare const modifyProxy: ModifyProxy;
574
+ export declare const deleteProxies: DeleteProxies;
575
+ export {};
576
+ //# sourceMappingURL=proxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/modules/proxy.ts"],"names":[],"mappings":"AAyBA,WAAW;AACX,qBAAa,SAAS;IACpB,IAAI,SAAsB;IAC1B;;OAEG;IACH,WAAW,SAA6I;IACxJ,WAAW;;;;;;;;;;;;;;;;;;;;;;;MAuBV;IAED,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMT;IAEK,MAAM,CAAC,MAAM,EAAE,GAAG;;;;;;CAoDzB;AAED,WAAW;AACX,qBAAa,UAAU;IACrB,IAAI,SAAuB;IAC3B,WAAW,SAAwD;IACnE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;MAwBV;IAED,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMT;IAEK,MAAM,CAAC,MAAM,EAAE,GAAG;;;;;;CA4CzB;AAED,cAAM,WAAW;IACf,IAAI,SAAsB;IAC1B,WAAW,SAAiE;IAC5E,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgDV;IAED,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMT;IAEK,MAAM,CAAC,MAAM,EAAE,GAAG;;;;;;CA8DzB;AAED,cAAM,kBAAkB;IACtB,IAAI,SAA8B;IAClC,WAAW,SAA+C;IAC1D,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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