test-wuying-agentbay-sdk 0.13.1-beta.20251223194518 → 0.13.1-beta.20251224091333
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/{chunk-P2CXYF4T.mjs → chunk-GQ4JBIRO.mjs} +379 -226
- package/dist/chunk-GQ4JBIRO.mjs.map +1 -0
- package/dist/{chunk-WVWGLZDT.cjs → chunk-ODIP5OS3.cjs} +287 -134
- package/dist/chunk-ODIP5OS3.cjs.map +1 -0
- package/dist/index.cjs +555 -360
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +204 -120
- package/dist/index.d.ts +204 -120
- package/dist/index.mjs +493 -298
- package/dist/index.mjs.map +1 -1
- package/dist/model-K7FVXK3C.cjs +222 -0
- package/dist/{model-KJHN3WYY.cjs.map → model-K7FVXK3C.cjs.map} +1 -1
- package/dist/{model-BRLR6F3P.mjs → model-O3ASLZ3Y.mjs} +10 -2
- package/docs/api/common-features/advanced/agent.md +5 -3
- package/docs/api/common-features/advanced/mobile-use-agent.md +161 -0
- package/package.json +1 -1
- package/dist/chunk-P2CXYF4T.mjs.map +0 -1
- package/dist/chunk-WVWGLZDT.cjs.map +0 -1
- package/dist/model-KJHN3WYY.cjs +0 -214
- /package/dist/{model-BRLR6F3P.mjs.map → model-O3ASLZ3Y.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -80,6 +80,37 @@ interface GetSessionData {
|
|
|
80
80
|
/** List of contexts associated with the session */
|
|
81
81
|
contexts?: ContextInfo[];
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Interface for GetSessionDetail data
|
|
85
|
+
*/
|
|
86
|
+
interface GetSessionDetailData {
|
|
87
|
+
aliuid: string;
|
|
88
|
+
apikeyId: string;
|
|
89
|
+
appInstanceGroupId: string;
|
|
90
|
+
appInstanceId: string;
|
|
91
|
+
appUserId: string;
|
|
92
|
+
bizType: number;
|
|
93
|
+
endReason: string;
|
|
94
|
+
id: number;
|
|
95
|
+
imageId: string;
|
|
96
|
+
imageType: string;
|
|
97
|
+
isDeleted: number;
|
|
98
|
+
policyId: string;
|
|
99
|
+
regionId: string;
|
|
100
|
+
resourceConfigId: string;
|
|
101
|
+
status: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Interface for GetSessionDetail operation responses
|
|
105
|
+
*/
|
|
106
|
+
interface GetSessionDetailResult extends ApiResponse {
|
|
107
|
+
requestId: string;
|
|
108
|
+
httpStatusCode: number;
|
|
109
|
+
code: string;
|
|
110
|
+
success: boolean;
|
|
111
|
+
data?: GetSessionDetailData;
|
|
112
|
+
errorMessage?: string;
|
|
113
|
+
}
|
|
83
114
|
/**
|
|
84
115
|
* Interface for GetSession operation responses
|
|
85
116
|
*/
|
|
@@ -706,6 +737,34 @@ declare class GetSessionResponseBodyData extends $dara.Model {
|
|
|
706
737
|
});
|
|
707
738
|
}
|
|
708
739
|
|
|
740
|
+
declare class GetSessionDetailResponseBodyData extends $dara.Model {
|
|
741
|
+
aliuid?: string;
|
|
742
|
+
apikeyId?: string;
|
|
743
|
+
appInstanceGroupId?: string;
|
|
744
|
+
appInstanceId?: string;
|
|
745
|
+
appUserId?: string;
|
|
746
|
+
bizType?: number;
|
|
747
|
+
endReason?: string;
|
|
748
|
+
id?: number;
|
|
749
|
+
imageId?: string;
|
|
750
|
+
imageType?: string;
|
|
751
|
+
isDeleted?: number;
|
|
752
|
+
policyId?: string;
|
|
753
|
+
regionId?: string;
|
|
754
|
+
resourceConfigId?: string;
|
|
755
|
+
status?: string;
|
|
756
|
+
static names(): {
|
|
757
|
+
[key: string]: string;
|
|
758
|
+
};
|
|
759
|
+
static types(): {
|
|
760
|
+
[key: string]: any;
|
|
761
|
+
};
|
|
762
|
+
validate(): void;
|
|
763
|
+
constructor(map?: {
|
|
764
|
+
[key: string]: any;
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
|
|
709
768
|
declare class GetLinkResponseBodyData extends $dara.Model {
|
|
710
769
|
url?: string;
|
|
711
770
|
static names(): {
|
|
@@ -1377,6 +1436,58 @@ declare class GetSessionResponse extends $dara.Model {
|
|
|
1377
1436
|
});
|
|
1378
1437
|
}
|
|
1379
1438
|
|
|
1439
|
+
declare class GetSessionDetailRequest extends $dara.Model {
|
|
1440
|
+
authorization?: string;
|
|
1441
|
+
sessionId?: string;
|
|
1442
|
+
static names(): {
|
|
1443
|
+
[key: string]: string;
|
|
1444
|
+
};
|
|
1445
|
+
static types(): {
|
|
1446
|
+
[key: string]: any;
|
|
1447
|
+
};
|
|
1448
|
+
validate(): void;
|
|
1449
|
+
constructor(map?: {
|
|
1450
|
+
[key: string]: any;
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
declare class GetSessionDetailResponseBody extends $dara.Model {
|
|
1455
|
+
code?: string;
|
|
1456
|
+
data?: GetSessionDetailResponseBodyData;
|
|
1457
|
+
httpStatusCode?: number;
|
|
1458
|
+
message?: string;
|
|
1459
|
+
requestId?: string;
|
|
1460
|
+
success?: boolean;
|
|
1461
|
+
static names(): {
|
|
1462
|
+
[key: string]: string;
|
|
1463
|
+
};
|
|
1464
|
+
static types(): {
|
|
1465
|
+
[key: string]: any;
|
|
1466
|
+
};
|
|
1467
|
+
validate(): void;
|
|
1468
|
+
constructor(map?: {
|
|
1469
|
+
[key: string]: any;
|
|
1470
|
+
});
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
declare class GetSessionDetailResponse extends $dara.Model {
|
|
1474
|
+
headers?: {
|
|
1475
|
+
[key: string]: string;
|
|
1476
|
+
};
|
|
1477
|
+
statusCode?: number;
|
|
1478
|
+
body?: GetSessionDetailResponseBody;
|
|
1479
|
+
static names(): {
|
|
1480
|
+
[key: string]: string;
|
|
1481
|
+
};
|
|
1482
|
+
static types(): {
|
|
1483
|
+
[key: string]: any;
|
|
1484
|
+
};
|
|
1485
|
+
validate(): void;
|
|
1486
|
+
constructor(map?: {
|
|
1487
|
+
[key: string]: any;
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1380
1491
|
declare class GetLinkRequest extends $dara.Model {
|
|
1381
1492
|
authorization?: string;
|
|
1382
1493
|
port?: number;
|
|
@@ -2640,6 +2751,21 @@ declare class Client extends OpenApi {
|
|
|
2640
2751
|
* @returns GetSessionResponse
|
|
2641
2752
|
*/
|
|
2642
2753
|
getSession(request: GetSessionRequest): Promise<GetSessionResponse>;
|
|
2754
|
+
/**
|
|
2755
|
+
* Get basic session information by session ID
|
|
2756
|
+
*
|
|
2757
|
+
* @param request - GetSessionDetailRequest
|
|
2758
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2759
|
+
* @returns GetSessionDetailResponse
|
|
2760
|
+
*/
|
|
2761
|
+
getSessionDetailWithOptions(request: GetSessionDetailRequest, runtime: $dara.RuntimeOptions): Promise<GetSessionDetailResponse>;
|
|
2762
|
+
/**
|
|
2763
|
+
* Get basic session information by session ID
|
|
2764
|
+
*
|
|
2765
|
+
* @param request - GetSessionDetailRequest
|
|
2766
|
+
* @returns GetSessionDetailResponse
|
|
2767
|
+
*/
|
|
2768
|
+
getSessionDetail(request: GetSessionDetailRequest): Promise<GetSessionDetailResponse>;
|
|
2643
2769
|
/**
|
|
2644
2770
|
* Pause session async
|
|
2645
2771
|
*
|
|
@@ -3384,9 +3510,16 @@ interface ExecutionResult extends ApiResponse {
|
|
|
3384
3510
|
* Result of query operations.
|
|
3385
3511
|
*/
|
|
3386
3512
|
interface QueryResult extends ApiResponse {
|
|
3513
|
+
taskId: string;
|
|
3387
3514
|
taskStatus: string;
|
|
3388
3515
|
taskAction: string;
|
|
3389
3516
|
taskProduct: string;
|
|
3517
|
+
stream?: Array<{
|
|
3518
|
+
content?: string;
|
|
3519
|
+
reasoning?: string;
|
|
3520
|
+
timestamp_ms?: number;
|
|
3521
|
+
}>;
|
|
3522
|
+
error?: string;
|
|
3390
3523
|
}
|
|
3391
3524
|
/**
|
|
3392
3525
|
* Result of agent initialization.
|
|
@@ -3420,94 +3553,38 @@ interface McpSession {
|
|
|
3420
3553
|
callMcpTool(toolName: string, args: any): Promise<McpToolResult>;
|
|
3421
3554
|
}
|
|
3422
3555
|
/**
|
|
3423
|
-
*
|
|
3556
|
+
* Base class for task execution agents.
|
|
3557
|
+
* Provides common functionality for ComputerUseAgent and BrowserUseAgent.
|
|
3424
3558
|
*/
|
|
3425
|
-
declare class
|
|
3426
|
-
|
|
3559
|
+
declare abstract class BaseTaskAgent {
|
|
3560
|
+
protected session: McpSession;
|
|
3561
|
+
protected abstract toolPrefix: string;
|
|
3562
|
+
constructor(session: McpSession);
|
|
3427
3563
|
/**
|
|
3428
|
-
*
|
|
3429
|
-
*
|
|
3430
|
-
* @param session - The Session instance that this Agent belongs to.
|
|
3564
|
+
* Get the full MCP tool name based on prefix and action.
|
|
3431
3565
|
*/
|
|
3432
|
-
|
|
3566
|
+
protected getToolName(action: string): string;
|
|
3433
3567
|
/**
|
|
3434
3568
|
* Execute a specific task described in human language.
|
|
3435
|
-
*
|
|
3436
|
-
* @param task - Task description in human language.
|
|
3437
|
-
* @param maxTryTimes - Maximum number of retry attempts.
|
|
3438
|
-
* @returns ExecutionResult containing success status, task output, and error
|
|
3439
|
-
* message if any.
|
|
3440
|
-
*
|
|
3441
|
-
* @example
|
|
3442
|
-
* ```typescript
|
|
3443
|
-
* const agentBay = new AgentBay({ apiKey: 'your_api_key' });
|
|
3444
|
-
* const result = await agentBay.create({ imageId: 'windows_latest' });
|
|
3445
|
-
* if (result.success) {
|
|
3446
|
-
* const taskResult = await result.session.agent.computer.executeTask(
|
|
3447
|
-
* 'Open notepad',
|
|
3448
|
-
* 10
|
|
3449
|
-
* );
|
|
3450
|
-
* console.log(`Task status: ${taskResult.taskStatus}`);
|
|
3451
|
-
* await result.session.delete();
|
|
3452
|
-
* }
|
|
3453
|
-
* ```
|
|
3454
3569
|
*/
|
|
3455
3570
|
executeTask(task: string, maxTryTimes: number): Promise<ExecutionResult>;
|
|
3456
3571
|
/**
|
|
3457
3572
|
* Get the status of the task with the given task ID.
|
|
3458
|
-
*
|
|
3459
|
-
* @param taskId - Task ID
|
|
3460
|
-
* @returns QueryResult containing the task status
|
|
3461
|
-
*
|
|
3462
|
-
* @example
|
|
3463
|
-
* ```typescript
|
|
3464
|
-
* const agentBay = new AgentBay({ apiKey: 'your_api_key' });
|
|
3465
|
-
* const result = await agentBay.create({ imageId: 'windows_latest' });
|
|
3466
|
-
* if (result.success) {
|
|
3467
|
-
* const taskResult = await result.session.agent.computer.executeTask('Open
|
|
3468
|
-
* calculator', 10); const statusResult = await
|
|
3469
|
-
* result.session.agent.computer.getTaskStatus(taskResult.taskId);
|
|
3470
|
-
* console.log(`Status:
|
|
3471
|
-
* ${JSON.parse(statusResult.output).status}`); await result.session.delete();
|
|
3472
|
-
* }
|
|
3473
|
-
* ```
|
|
3474
3573
|
*/
|
|
3475
3574
|
getTaskStatus(taskId: string): Promise<QueryResult>;
|
|
3476
3575
|
/**
|
|
3477
3576
|
* Terminate a task with a specified task ID.
|
|
3478
|
-
*
|
|
3479
|
-
* @param taskId - The ID of the running task.
|
|
3480
|
-
* @returns ExecutionResult containing success status, task output, and
|
|
3481
|
-
* error message if any.
|
|
3482
|
-
*
|
|
3483
|
-
* @example
|
|
3484
|
-
* ```typescript
|
|
3485
|
-
* const agentBay = new AgentBay({ apiKey: 'your_api_key' });
|
|
3486
|
-
* const result = await agentBay.create({ imageId: 'windows_latest' });
|
|
3487
|
-
* if (result.success) {
|
|
3488
|
-
* const taskResult = await result.session.agent.computer.executeTask(
|
|
3489
|
-
* 'Open notepad',
|
|
3490
|
-
* 5
|
|
3491
|
-
* );
|
|
3492
|
-
* const terminateResult = await result.session.agent.computer.terminateTask(
|
|
3493
|
-
* taskResult.taskId
|
|
3494
|
-
* );
|
|
3495
|
-
* console.log(`Terminated: ${terminateResult.taskStatus}`);
|
|
3496
|
-
* await result.session.delete();
|
|
3497
|
-
* }
|
|
3498
|
-
* ```
|
|
3499
3577
|
*/
|
|
3500
3578
|
terminateTask(taskId: string): Promise<ExecutionResult>;
|
|
3501
3579
|
}
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
constructor(session: McpSession);
|
|
3580
|
+
/**
|
|
3581
|
+
* An Agent to perform tasks on the computer.
|
|
3582
|
+
*/
|
|
3583
|
+
declare class ComputerUseAgent extends BaseTaskAgent {
|
|
3584
|
+
protected toolPrefix: string;
|
|
3585
|
+
}
|
|
3586
|
+
declare class BrowserUseAgent extends BaseTaskAgent {
|
|
3587
|
+
protected toolPrefix: string;
|
|
3511
3588
|
/**
|
|
3512
3589
|
* Initialize the browser agent with specific options.
|
|
3513
3590
|
* @param options - agent initialization options
|
|
@@ -3527,78 +3604,74 @@ declare class BrowserUseAgent {
|
|
|
3527
3604
|
* ```
|
|
3528
3605
|
*/
|
|
3529
3606
|
initialize(options: AgentOptions): Promise<InitializationResult>;
|
|
3607
|
+
}
|
|
3608
|
+
/**
|
|
3609
|
+
* An Agent to perform tasks on mobile devices.
|
|
3610
|
+
*/
|
|
3611
|
+
declare class MobileUseAgent extends BaseTaskAgent {
|
|
3612
|
+
protected toolPrefix: string;
|
|
3530
3613
|
/**
|
|
3531
|
-
* Execute a
|
|
3614
|
+
* Execute a task in human language without waiting for completion
|
|
3615
|
+
* (non-blocking). This is a fire-and-return interface that immediately
|
|
3616
|
+
* provides a task ID. Call getTaskStatus to check the task status.
|
|
3532
3617
|
*
|
|
3533
3618
|
* @param task - Task description in human language.
|
|
3534
|
-
* @param
|
|
3535
|
-
*
|
|
3536
|
-
*
|
|
3537
|
-
*
|
|
3538
|
-
*
|
|
3539
|
-
*
|
|
3540
|
-
*
|
|
3541
|
-
*
|
|
3542
|
-
* if (result.success) {
|
|
3543
|
-
* const taskResult = await result.session.agent.browser.executeTask(
|
|
3544
|
-
* 'Navigate to baidu and query the weather of Shanghai',
|
|
3545
|
-
* 10
|
|
3546
|
-
* );
|
|
3547
|
-
* console.log(`Task status: ${taskResult.taskStatus}`);
|
|
3548
|
-
* await result.session.delete();
|
|
3549
|
-
* }
|
|
3550
|
-
* ```
|
|
3551
|
-
*/
|
|
3552
|
-
executeTask(task: string, maxTryTimes: number): Promise<ExecutionResult>;
|
|
3553
|
-
/**
|
|
3554
|
-
* Get the status of the task with the given task ID.
|
|
3555
|
-
*
|
|
3556
|
-
* @param taskId - Task ID
|
|
3557
|
-
* @returns QueryResult containing the task status
|
|
3619
|
+
* @param maxSteps - Maximum number of steps (clicks/swipes/etc.) allowed.
|
|
3620
|
+
* Used to prevent infinite loops or excessive resource
|
|
3621
|
+
* consumption. Default is 50.
|
|
3622
|
+
* @param maxStepRetries - Maximum retry times for MCP tool call failures
|
|
3623
|
+
* at SDK level. Used to retry when callMcpTool fails
|
|
3624
|
+
* (e.g., network errors, timeouts). Default is 3.
|
|
3625
|
+
* @returns ExecutionResult containing success status, task ID, task status,
|
|
3626
|
+
* and error message if any.
|
|
3558
3627
|
*
|
|
3559
3628
|
* @example
|
|
3560
3629
|
* ```typescript
|
|
3561
3630
|
* const agentBay = new AgentBay({ apiKey: 'your_api_key' });
|
|
3562
|
-
* const result = await agentBay.create({ imageId: '
|
|
3631
|
+
* const result = await agentBay.create({ imageId: 'mobile_latest' });
|
|
3563
3632
|
* if (result.success) {
|
|
3564
|
-
* const
|
|
3565
|
-
* '
|
|
3566
|
-
* 10
|
|
3633
|
+
* const execResult = await result.session.agent.mobile.executeTask(
|
|
3634
|
+
* 'Open WeChat app', 100, 5
|
|
3567
3635
|
* );
|
|
3568
|
-
*
|
|
3569
|
-
* taskResult.taskId
|
|
3570
|
-
* );
|
|
3571
|
-
* console.log(`Status: ${statusResult.taskStatus}`);
|
|
3636
|
+
* console.log(`Task ID: ${execResult.taskId}`);
|
|
3572
3637
|
* await result.session.delete();
|
|
3573
3638
|
* }
|
|
3574
3639
|
* ```
|
|
3575
3640
|
*/
|
|
3576
|
-
|
|
3641
|
+
executeTask(task: string, maxSteps?: number, maxStepRetries?: number): Promise<ExecutionResult>;
|
|
3577
3642
|
/**
|
|
3578
|
-
*
|
|
3643
|
+
* Execute a specific task described in human language synchronously.
|
|
3644
|
+
* This is a synchronous interface that blocks until the task is completed or
|
|
3645
|
+
* an error occurs, or timeout happens. The default polling interval is
|
|
3646
|
+
* 3 seconds.
|
|
3579
3647
|
*
|
|
3580
|
-
* @param
|
|
3581
|
-
* @
|
|
3582
|
-
*
|
|
3648
|
+
* @param task - Task description in human language.
|
|
3649
|
+
* @param maxSteps - Maximum number of steps (clicks/swipes/etc.) allowed.
|
|
3650
|
+
* Used to prevent infinite loops or excessive resource
|
|
3651
|
+
* consumption. Default is 50.
|
|
3652
|
+
* @param maxStepRetries - Maximum retry times for MCP tool call failures
|
|
3653
|
+
* at SDK level. Used to retry when callMcpTool fails
|
|
3654
|
+
* (e.g., network errors, timeouts). Default is 3.
|
|
3655
|
+
* @param maxTryTimes - Maximum number of polling attempts (each 3 seconds).
|
|
3656
|
+
* Used to control how long to wait for task completion.
|
|
3657
|
+
* Default is 300 (about 15 minutes).
|
|
3658
|
+
* @returns ExecutionResult containing success status, task ID, task status,
|
|
3659
|
+
* and error message if any.
|
|
3583
3660
|
*
|
|
3584
3661
|
* @example
|
|
3585
3662
|
* ```typescript
|
|
3586
3663
|
* const agentBay = new AgentBay({ apiKey: 'your_api_key' });
|
|
3587
|
-
* const result = await agentBay.create({ imageId: '
|
|
3664
|
+
* const result = await agentBay.create({ imageId: 'mobile_latest' });
|
|
3588
3665
|
* if (result.success) {
|
|
3589
|
-
* const
|
|
3590
|
-
* '
|
|
3591
|
-
* 10
|
|
3592
|
-
* );
|
|
3593
|
-
* const terminateResult = await result.session.agent.browser.terminateTask(
|
|
3594
|
-
* taskResult.taskId
|
|
3666
|
+
* const execResult = await result.session.agent.mobile.executeTaskAndWait(
|
|
3667
|
+
* 'Open WeChat app', 100, 3, 200
|
|
3595
3668
|
* );
|
|
3596
|
-
* console.log(`
|
|
3669
|
+
* console.log(`Task result: ${execResult.taskResult}`);
|
|
3597
3670
|
* await result.session.delete();
|
|
3598
3671
|
* }
|
|
3599
3672
|
* ```
|
|
3600
3673
|
*/
|
|
3601
|
-
|
|
3674
|
+
executeTaskAndWait(task: string, maxSteps?: number, maxStepRetries?: number, maxTryTimes?: number): Promise<ExecutionResult>;
|
|
3602
3675
|
}
|
|
3603
3676
|
/**
|
|
3604
3677
|
* An Agent to manipulate applications to complete specific tasks.
|
|
@@ -3615,6 +3688,10 @@ declare class Agent {
|
|
|
3615
3688
|
* An instance of Browser Use Agent.
|
|
3616
3689
|
*/
|
|
3617
3690
|
browser: BrowserUseAgent;
|
|
3691
|
+
/**
|
|
3692
|
+
* An instance of Mobile Use Agent.
|
|
3693
|
+
*/
|
|
3694
|
+
mobile: MobileUseAgent;
|
|
3618
3695
|
/**
|
|
3619
3696
|
* Initialize an Agent object.
|
|
3620
3697
|
*
|
|
@@ -7171,6 +7248,13 @@ declare class AgentBay {
|
|
|
7171
7248
|
* @returns GetSessionResult containing session information
|
|
7172
7249
|
*/
|
|
7173
7250
|
getSession(sessionId: string): Promise<GetSessionResult>;
|
|
7251
|
+
/**
|
|
7252
|
+
* Get basic session information by session ID.
|
|
7253
|
+
*
|
|
7254
|
+
* @param sessionId - The ID of the session to retrieve.
|
|
7255
|
+
* @returns GetSessionDetailResult containing basic session information
|
|
7256
|
+
*/
|
|
7257
|
+
getSessionDetail(sessionId: string): Promise<GetSessionDetailResult>;
|
|
7174
7258
|
/**
|
|
7175
7259
|
* Get a session by its ID.
|
|
7176
7260
|
*
|
|
@@ -7595,4 +7679,4 @@ declare function logWarn(message: string, ...args: any[]): void;
|
|
|
7595
7679
|
*/
|
|
7596
7680
|
declare function logError(message: string, error?: any): void;
|
|
7597
7681
|
|
|
7598
|
-
export { APIError, APP_BLACKLIST_TEMPLATE, APP_WHITELIST_TEMPLATE, type ActOptions, ActResult, Agent, AgentBay, AgentBayError, type AgentOptions, type ApiResponse, type ApiResponseWithData, type AppManagerRule, ApplyMqttTokenRequest, ApplyMqttTokenResponse, ApplyMqttTokenResponseBody, ApplyMqttTokenResponseBodyData, AuthenticationError, type BWList, type Brand, Browser, BrowserAgent, BrowserContext, BrowserError, type BrowserFingerprint, BrowserFingerprintContext, BrowserFingerprintGenerator, type BrowserOption, BrowserOptionClass, type BrowserProxy, BrowserProxyClass, type BrowserScreen, BrowserUseAgent, type BrowserViewport, CallMcpToolRequest, CallMcpToolResponse, CallMcpToolResponseBody, ClearContextRequest, ClearContextResponse, ClearContextResponseBody, Client, Code, Command, Computer, ComputerUseAgent, type Config, Context, type ContextInfoResult, ContextManager, ContextService, type ContextStatusData, type ContextStatusItem, ContextSync, type ContextSyncResult, CreateMcpSessionRequest, CreateMcpSessionRequestPersistenceDataList, CreateMcpSessionResponse, CreateMcpSessionResponseBody, CreateMcpSessionResponseBodyData, CreateMcpSessionShrinkRequest, CreateSessionParams, type CreateSessionParamsConfig, DeleteContextFileRequest, DeleteContextFileResponse, DeleteContextFileResponseBody, DeleteContextRequest, DeleteContextResponse, DeleteContextResponseBody, type DeletePolicy, type DeleteResult, DeleteSessionAsyncRequest, DeleteSessionAsyncResponse, DeleteSessionAsyncResponseBody, DescribeContextFilesRequest, DescribeContextFilesResponse, DescribeContextFilesResponseBody, type DirectoryEntry, type DownloadPolicy, DownloadStrategy, type ExecutionResult, Extension, ExtensionOption, ExtensionsService, type ExtraConfigs, type ExtraProperties, type ExtractOptions, type ExtractPolicy, ExtractPolicyClass, type FileChangeEvent, FileChangeEventHelper, type FileChangeResult, FileChangeResultHelper, FileError, type FileInfo, FileSystem, type Fingerprint, FingerprintFormat, GetAdbLinkRequest, GetAdbLinkResponse, GetAdbLinkResponseBody, GetAdbLinkResponseBodyData, GetAndLoadInternalContextRequest, GetAndLoadInternalContextResponse, GetAndLoadInternalContextResponseBody, GetAndLoadInternalContextResponseBodyData, GetCdpLinkRequest, GetCdpLinkResponse, GetCdpLinkResponseBody, GetCdpLinkResponseBodyData, GetContextFileDownloadUrlRequest, GetContextFileDownloadUrlResponse, GetContextFileDownloadUrlResponseBody, GetContextFileUploadUrlRequest, GetContextFileUploadUrlResponse, GetContextFileUploadUrlResponseBody, GetContextInfoRequest, GetContextInfoResponse, GetContextInfoResponseBody, GetContextInfoResponseBodyData, GetContextRequest, GetContextResponse, GetContextResponseBody, GetContextResponseBodyData, GetLabelRequest, GetLabelResponse, GetLabelResponseBody, GetLabelResponseBodyData, GetLinkRequest, GetLinkResponse, GetLinkResponseBody, GetLinkResponseBodyData, GetMcpResourceRequest, GetMcpResourceResponse, GetMcpResourceResponseBody, GetMcpResourceResponseBodyData, GetMcpResourceResponseBodyDataDesktopInfo, GetSessionRequest, GetSessionResponse, GetSessionResponseBody, GetSessionResponseBodyData, HIDE_NAVIGATION_BAR_TEMPLATE, IS_RELEASE, InitBrowserRequest, InitBrowserResponse, InitBrowserResponseBody, InitBrowserResponseBodyData, type InitializationResult, Lifecycle, ListContextsRequest, ListContextsResponse, ListContextsResponseBody, ListContextsResponseBodyData, ListMcpToolsRequest, ListMcpToolsResponse, ListMcpToolsResponseBody, type ListSessionParams, ListSessionRequest, ListSessionResponse, ListSessionResponseBody, ListSessionResponseBodyData, type LogLevel, type LoggerConfig, MOBILE_COMMAND_TEMPLATES, type MappingPolicy, type McpSession, type McpToolResult, Mobile, type MobileExtraConfig, type MobileSimulateConfig, MobileSimulateMode, MobileSimulateService, type MobileSimulateUploadResult, ModifyContextRequest, ModifyContextResponse, ModifyContextResponseBody, type NavigatorFingerprint, type ObserveOptions, ObserveResult, Oss, OssError, PauseSessionAsyncRequest, PauseSessionAsyncResponse, PauseSessionAsyncResponseBody, type QueryResult, RESOLUTION_LOCK_TEMPLATE, type RecyclePolicy, ReleaseMcpSessionRequest, ReleaseMcpSessionResponse, ReleaseMcpSessionResponseBody, ResumeSessionAsyncRequest, ResumeSessionAsyncResponse, ResumeSessionAsyncResponseBody, SHOW_NAVIGATION_BAR_TEMPLATE, type ScreenFingerprint, Session, SessionError, type SessionInterface, type SessionListResult, SetLabelRequest, SetLabelResponse, SetLabelResponseBody, type SyncCallback, SyncContextRequest, SyncContextResponse, SyncContextResponseBody, type SyncPolicy, SyncPolicyImpl, UNINSTALL_BLACKLIST_TEMPLATE, UploadMode, type UploadPolicy, UploadStrategy, type UserAgentData, VERSION, type VideoCard, type WhiteList, WhiteListValidator, createListSessionParams, extraConfigsFromJSON, extraConfigsToJSON, extractRequestId, getLogLevel, getMobileCommandTemplate, hasMobileCommandTemplate, log, logDebug, logError, logInfo, logWarn, newContextManager, newContextSync, newCreateSessionParams, newDeletePolicy, newDownloadPolicy, newExtractPolicy, newMappingPolicy, newRecyclePolicy, newSyncPolicy, newSyncPolicyWithDefaults, newUploadPolicy, replaceTemplatePlaceholders, setLogLevel, setupLogger, validateAppManagerRule, validateExtraConfigs, validateMobileExtraConfig, validateMobileSimulateConfig };
|
|
7682
|
+
export { APIError, APP_BLACKLIST_TEMPLATE, APP_WHITELIST_TEMPLATE, type ActOptions, ActResult, Agent, AgentBay, AgentBayError, type AgentOptions, type ApiResponse, type ApiResponseWithData, type AppManagerRule, ApplyMqttTokenRequest, ApplyMqttTokenResponse, ApplyMqttTokenResponseBody, ApplyMqttTokenResponseBodyData, AuthenticationError, type BWList, type Brand, Browser, BrowserAgent, BrowserContext, BrowserError, type BrowserFingerprint, BrowserFingerprintContext, BrowserFingerprintGenerator, type BrowserOption, BrowserOptionClass, type BrowserProxy, BrowserProxyClass, type BrowserScreen, BrowserUseAgent, type BrowserViewport, CallMcpToolRequest, CallMcpToolResponse, CallMcpToolResponseBody, ClearContextRequest, ClearContextResponse, ClearContextResponseBody, Client, Code, Command, Computer, ComputerUseAgent, type Config, Context, type ContextInfoResult, ContextManager, ContextService, type ContextStatusData, type ContextStatusItem, ContextSync, type ContextSyncResult, CreateMcpSessionRequest, CreateMcpSessionRequestPersistenceDataList, CreateMcpSessionResponse, CreateMcpSessionResponseBody, CreateMcpSessionResponseBodyData, CreateMcpSessionShrinkRequest, CreateSessionParams, type CreateSessionParamsConfig, DeleteContextFileRequest, DeleteContextFileResponse, DeleteContextFileResponseBody, DeleteContextRequest, DeleteContextResponse, DeleteContextResponseBody, type DeletePolicy, type DeleteResult, DeleteSessionAsyncRequest, DeleteSessionAsyncResponse, DeleteSessionAsyncResponseBody, DescribeContextFilesRequest, DescribeContextFilesResponse, DescribeContextFilesResponseBody, type DirectoryEntry, type DownloadPolicy, DownloadStrategy, type ExecutionResult, Extension, ExtensionOption, ExtensionsService, type ExtraConfigs, type ExtraProperties, type ExtractOptions, type ExtractPolicy, ExtractPolicyClass, type FileChangeEvent, FileChangeEventHelper, type FileChangeResult, FileChangeResultHelper, FileError, type FileInfo, FileSystem, type Fingerprint, FingerprintFormat, GetAdbLinkRequest, GetAdbLinkResponse, GetAdbLinkResponseBody, GetAdbLinkResponseBodyData, GetAndLoadInternalContextRequest, GetAndLoadInternalContextResponse, GetAndLoadInternalContextResponseBody, GetAndLoadInternalContextResponseBodyData, GetCdpLinkRequest, GetCdpLinkResponse, GetCdpLinkResponseBody, GetCdpLinkResponseBodyData, GetContextFileDownloadUrlRequest, GetContextFileDownloadUrlResponse, GetContextFileDownloadUrlResponseBody, GetContextFileUploadUrlRequest, GetContextFileUploadUrlResponse, GetContextFileUploadUrlResponseBody, GetContextInfoRequest, GetContextInfoResponse, GetContextInfoResponseBody, GetContextInfoResponseBodyData, GetContextRequest, GetContextResponse, GetContextResponseBody, GetContextResponseBodyData, GetLabelRequest, GetLabelResponse, GetLabelResponseBody, GetLabelResponseBodyData, GetLinkRequest, GetLinkResponse, GetLinkResponseBody, GetLinkResponseBodyData, GetMcpResourceRequest, GetMcpResourceResponse, GetMcpResourceResponseBody, GetMcpResourceResponseBodyData, GetMcpResourceResponseBodyDataDesktopInfo, GetSessionDetailRequest, GetSessionDetailResponse, GetSessionDetailResponseBody, GetSessionDetailResponseBodyData, GetSessionRequest, GetSessionResponse, GetSessionResponseBody, GetSessionResponseBodyData, HIDE_NAVIGATION_BAR_TEMPLATE, IS_RELEASE, InitBrowserRequest, InitBrowserResponse, InitBrowserResponseBody, InitBrowserResponseBodyData, type InitializationResult, Lifecycle, ListContextsRequest, ListContextsResponse, ListContextsResponseBody, ListContextsResponseBodyData, ListMcpToolsRequest, ListMcpToolsResponse, ListMcpToolsResponseBody, type ListSessionParams, ListSessionRequest, ListSessionResponse, ListSessionResponseBody, ListSessionResponseBodyData, type LogLevel, type LoggerConfig, MOBILE_COMMAND_TEMPLATES, type MappingPolicy, type McpSession, type McpToolResult, Mobile, type MobileExtraConfig, type MobileSimulateConfig, MobileSimulateMode, MobileSimulateService, type MobileSimulateUploadResult, ModifyContextRequest, ModifyContextResponse, ModifyContextResponseBody, type NavigatorFingerprint, type ObserveOptions, ObserveResult, Oss, OssError, PauseSessionAsyncRequest, PauseSessionAsyncResponse, PauseSessionAsyncResponseBody, type QueryResult, RESOLUTION_LOCK_TEMPLATE, type RecyclePolicy, ReleaseMcpSessionRequest, ReleaseMcpSessionResponse, ReleaseMcpSessionResponseBody, ResumeSessionAsyncRequest, ResumeSessionAsyncResponse, ResumeSessionAsyncResponseBody, SHOW_NAVIGATION_BAR_TEMPLATE, type ScreenFingerprint, Session, SessionError, type SessionInterface, type SessionListResult, SetLabelRequest, SetLabelResponse, SetLabelResponseBody, type SyncCallback, SyncContextRequest, SyncContextResponse, SyncContextResponseBody, type SyncPolicy, SyncPolicyImpl, UNINSTALL_BLACKLIST_TEMPLATE, UploadMode, type UploadPolicy, UploadStrategy, type UserAgentData, VERSION, type VideoCard, type WhiteList, WhiteListValidator, createListSessionParams, extraConfigsFromJSON, extraConfigsToJSON, extractRequestId, getLogLevel, getMobileCommandTemplate, hasMobileCommandTemplate, log, logDebug, logError, logInfo, logWarn, newContextManager, newContextSync, newCreateSessionParams, newDeletePolicy, newDownloadPolicy, newExtractPolicy, newMappingPolicy, newRecyclePolicy, newSyncPolicy, newSyncPolicyWithDefaults, newUploadPolicy, replaceTemplatePlaceholders, setLogLevel, setupLogger, validateAppManagerRule, validateExtraConfigs, validateMobileExtraConfig, validateMobileSimulateConfig };
|