@roxybrowser/openapi 1.0.10-beta.1 → 1.0.10-beta.2

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/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@roxybrowser/openapi",
3
- "version": "1.0.10-beta.1",
3
+ "version": "1.0.10-beta.2",
4
4
  "description": "MCP server for RoxyBrowser automation - manage browser instances and get CDP endpoints",
5
5
  "type": "module",
6
- "main": "lib/index.js",
6
+ "main": "lib/index.cjs",
7
+ "module": "lib/index.js",
7
8
  "types": "lib/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
11
  "types": "./lib/index.d.ts",
11
12
  "import": "./lib/index.js",
12
- "default": "./lib/index.js"
13
+ "require": "./lib/index.cjs",
14
+ "default": "./lib/index.cjs"
13
15
  }
14
16
  },
15
17
  "bin": {
@@ -24,9 +26,9 @@
24
26
  "registry": "https://registry.npmjs.org/"
25
27
  },
26
28
  "scripts": {
27
- "build": "tsc",
29
+ "build": "tsup",
28
30
  "start": "node lib/index.js",
29
- "dev": "tsc --watch",
31
+ "dev": "tsup --watch",
30
32
  "clean": "npx rimraf lib",
31
33
  "publish:release": "npm run clean && npm version patch --no-git-tag-version && npm run build && npm publish",
32
34
  "publish:beta": "npm version prerelease --preid=beta --no-git-tag-version && npm run build && npm publish --tag beta"
@@ -52,6 +54,7 @@
52
54
  "devDependencies": {
53
55
  "@types/node": "^22.0.0",
54
56
  "rimraf": "^6.0.1",
57
+ "tsup": "^8.3.5",
55
58
  "typescript": "^5.9.2"
56
59
  },
57
60
  "engines": {
package/lib/cli.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA;;GAEG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAeH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,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEhE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACzE,mBAAmB,YAAY,CAAA"}
@@ -1,491 +0,0 @@
1
- declare class ListAccounts {
2
- name: string;
3
- description: string;
4
- inputSchema: {
5
- type: string;
6
- properties: {
7
- workspaceId: {
8
- type: string;
9
- description: string;
10
- };
11
- accountId: {
12
- type: string;
13
- description: string;
14
- };
15
- pageIndex: {
16
- type: string;
17
- description: string;
18
- default: number;
19
- };
20
- pageSize: {
21
- type: string;
22
- description: string;
23
- default: number;
24
- };
25
- };
26
- required: string[];
27
- };
28
- get schema(): {
29
- name: string;
30
- description: string;
31
- inputSchema: {
32
- type: string;
33
- properties: {
34
- workspaceId: {
35
- type: string;
36
- description: string;
37
- };
38
- accountId: {
39
- type: string;
40
- description: string;
41
- };
42
- pageIndex: {
43
- type: string;
44
- description: string;
45
- default: number;
46
- };
47
- pageSize: {
48
- type: string;
49
- description: string;
50
- default: number;
51
- };
52
- };
53
- required: string[];
54
- };
55
- };
56
- handle(params: any): Promise<{
57
- content: {
58
- type: string;
59
- text: string;
60
- }[];
61
- }>;
62
- }
63
- declare class CreateAccount {
64
- name: string;
65
- description: string;
66
- inputSchema: {
67
- type: string;
68
- properties: {
69
- workspaceId: {
70
- type: string;
71
- description: string;
72
- };
73
- platformUrl: {
74
- type: string;
75
- description: string;
76
- };
77
- platformUserName: {
78
- type: string;
79
- description: string;
80
- };
81
- platformPassword: {
82
- type: string;
83
- description: string;
84
- };
85
- platformEfa: {
86
- type: string;
87
- description: string;
88
- };
89
- platformCookies: {
90
- type: string;
91
- description: string;
92
- items: {
93
- type: string;
94
- properties: {
95
- name: {
96
- type: string;
97
- };
98
- value: {
99
- type: string;
100
- };
101
- domain: {
102
- type: string;
103
- };
104
- };
105
- required: string[];
106
- };
107
- };
108
- platformName: {
109
- type: string;
110
- description: string;
111
- };
112
- platformRemarks: {
113
- type: string;
114
- description: string;
115
- };
116
- };
117
- required: string[];
118
- };
119
- get schema(): {
120
- name: string;
121
- description: string;
122
- inputSchema: {
123
- type: string;
124
- properties: {
125
- workspaceId: {
126
- type: string;
127
- description: string;
128
- };
129
- platformUrl: {
130
- type: string;
131
- description: string;
132
- };
133
- platformUserName: {
134
- type: string;
135
- description: string;
136
- };
137
- platformPassword: {
138
- type: string;
139
- description: string;
140
- };
141
- platformEfa: {
142
- type: string;
143
- description: string;
144
- };
145
- platformCookies: {
146
- type: string;
147
- description: string;
148
- items: {
149
- type: string;
150
- properties: {
151
- name: {
152
- type: string;
153
- };
154
- value: {
155
- type: string;
156
- };
157
- domain: {
158
- type: string;
159
- };
160
- };
161
- required: string[];
162
- };
163
- };
164
- platformName: {
165
- type: string;
166
- description: string;
167
- };
168
- platformRemarks: {
169
- type: string;
170
- description: string;
171
- };
172
- };
173
- required: string[];
174
- };
175
- };
176
- handle(params: any): Promise<{
177
- content: {
178
- type: string;
179
- text: string;
180
- }[];
181
- }>;
182
- }
183
- declare class BatchCreateAccounts {
184
- name: string;
185
- description: string;
186
- inputSchema: {
187
- type: string;
188
- properties: {
189
- workspaceId: {
190
- type: string;
191
- description: string;
192
- };
193
- accountList: {
194
- type: string;
195
- description: string;
196
- items: {
197
- type: string;
198
- properties: {
199
- platformUrl: {
200
- type: string;
201
- };
202
- platformUserName: {
203
- type: string;
204
- };
205
- platformPassword: {
206
- type: string;
207
- };
208
- platformEfa: {
209
- type: string;
210
- };
211
- platformCookies: {
212
- type: string;
213
- items: {
214
- type: string;
215
- properties: {
216
- name: {
217
- type: string;
218
- };
219
- value: {
220
- type: string;
221
- };
222
- domain: {
223
- type: string;
224
- };
225
- };
226
- required: string[];
227
- };
228
- };
229
- platformName: {
230
- type: string;
231
- };
232
- platformRemarks: {
233
- type: string;
234
- };
235
- };
236
- required: string[];
237
- };
238
- };
239
- };
240
- required: string[];
241
- };
242
- get schema(): {
243
- name: string;
244
- description: string;
245
- inputSchema: {
246
- type: string;
247
- properties: {
248
- workspaceId: {
249
- type: string;
250
- description: string;
251
- };
252
- accountList: {
253
- type: string;
254
- description: string;
255
- items: {
256
- type: string;
257
- properties: {
258
- platformUrl: {
259
- type: string;
260
- };
261
- platformUserName: {
262
- type: string;
263
- };
264
- platformPassword: {
265
- type: string;
266
- };
267
- platformEfa: {
268
- type: string;
269
- };
270
- platformCookies: {
271
- type: string;
272
- items: {
273
- type: string;
274
- properties: {
275
- name: {
276
- type: string;
277
- };
278
- value: {
279
- type: string;
280
- };
281
- domain: {
282
- type: string;
283
- };
284
- };
285
- required: string[];
286
- };
287
- };
288
- platformName: {
289
- type: string;
290
- };
291
- platformRemarks: {
292
- type: string;
293
- };
294
- };
295
- required: string[];
296
- };
297
- };
298
- };
299
- required: string[];
300
- };
301
- };
302
- handle(params: any): Promise<{
303
- content: {
304
- type: string;
305
- text: string;
306
- }[];
307
- }>;
308
- }
309
- declare class ModifyAccount {
310
- name: string;
311
- description: string;
312
- inputSchema: {
313
- type: string;
314
- properties: {
315
- workspaceId: {
316
- type: string;
317
- description: string;
318
- };
319
- id: {
320
- type: string;
321
- description: string;
322
- };
323
- platformUrl: {
324
- type: string;
325
- description: string;
326
- };
327
- platformUserName: {
328
- type: string;
329
- description: string;
330
- };
331
- platformPassword: {
332
- type: string;
333
- description: string;
334
- };
335
- platformEfa: {
336
- type: string;
337
- description: string;
338
- };
339
- platformCookies: {
340
- type: string;
341
- description: string;
342
- items: {
343
- type: string;
344
- properties: {
345
- name: {
346
- type: string;
347
- };
348
- value: {
349
- type: string;
350
- };
351
- domain: {
352
- type: string;
353
- };
354
- };
355
- required: string[];
356
- };
357
- };
358
- platformName: {
359
- type: string;
360
- description: string;
361
- };
362
- platformRemarks: {
363
- type: string;
364
- description: string;
365
- };
366
- };
367
- required: string[];
368
- };
369
- get schema(): {
370
- name: string;
371
- description: string;
372
- inputSchema: {
373
- type: string;
374
- properties: {
375
- workspaceId: {
376
- type: string;
377
- description: string;
378
- };
379
- id: {
380
- type: string;
381
- description: string;
382
- };
383
- platformUrl: {
384
- type: string;
385
- description: string;
386
- };
387
- platformUserName: {
388
- type: string;
389
- description: string;
390
- };
391
- platformPassword: {
392
- type: string;
393
- description: string;
394
- };
395
- platformEfa: {
396
- type: string;
397
- description: string;
398
- };
399
- platformCookies: {
400
- type: string;
401
- description: string;
402
- items: {
403
- type: string;
404
- properties: {
405
- name: {
406
- type: string;
407
- };
408
- value: {
409
- type: string;
410
- };
411
- domain: {
412
- type: string;
413
- };
414
- };
415
- required: string[];
416
- };
417
- };
418
- platformName: {
419
- type: string;
420
- description: string;
421
- };
422
- platformRemarks: {
423
- type: string;
424
- description: string;
425
- };
426
- };
427
- required: string[];
428
- };
429
- };
430
- handle(params: any): Promise<{
431
- content: {
432
- type: string;
433
- text: string;
434
- }[];
435
- }>;
436
- }
437
- declare class DeleteAccounts {
438
- name: string;
439
- description: string;
440
- inputSchema: {
441
- type: string;
442
- properties: {
443
- workspaceId: {
444
- type: string;
445
- description: string;
446
- };
447
- ids: {
448
- type: string;
449
- items: {
450
- type: string;
451
- };
452
- description: string;
453
- };
454
- };
455
- required: string[];
456
- };
457
- get schema(): {
458
- name: string;
459
- description: string;
460
- inputSchema: {
461
- type: string;
462
- properties: {
463
- workspaceId: {
464
- type: string;
465
- description: string;
466
- };
467
- ids: {
468
- type: string;
469
- items: {
470
- type: string;
471
- };
472
- description: string;
473
- };
474
- };
475
- required: string[];
476
- };
477
- };
478
- handle(params: any): Promise<{
479
- content: {
480
- type: string;
481
- text: string;
482
- }[];
483
- }>;
484
- }
485
- export declare const listAccounts: ListAccounts;
486
- export declare const createAccount: CreateAccount;
487
- export declare const batchCreateAccounts: BatchCreateAccounts;
488
- export declare const modifyAccount: ModifyAccount;
489
- export declare const deleteAccounts: DeleteAccounts;
490
- export {};
491
- //# sourceMappingURL=account.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/modules/account.ts"],"names":[],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