test-wuying-agentbay-sdk 0.13.0-beta.20251208104440 → 0.13.0-beta.20251208113236
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.
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* - We will encounter a captcha and we will solve it automatically.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import { AgentBay, CreateSessionParams } from '
|
|
11
|
-
import { BrowserOption } from '
|
|
10
|
+
import { AgentBay, CreateSessionParams } from 'wuying-agentbay-sdk';
|
|
11
|
+
import { BrowserOption } from 'wuying-agentbay-sdk/dist/browser';
|
|
12
12
|
import { chromium, Page, ConsoleMessage } from 'playwright';
|
|
13
13
|
|
|
14
14
|
// Polling detection function, continuously checks until condition is met or timeout
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* - Utilize PageUseAgent to run 2048 game
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { AgentBay, CreateSessionParams } from '
|
|
10
|
-
import { BrowserOption, ExtractOptions, ActOptions } from '
|
|
9
|
+
import { AgentBay, CreateSessionParams } from 'wuying-agentbay-sdk';
|
|
10
|
+
import { BrowserOption, ExtractOptions, ActOptions } from 'wuying-agentbay-sdk/dist/browser';
|
|
11
11
|
// import { chromium } from 'playwright';
|
|
12
12
|
|
|
13
13
|
class GameState {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "test-wuying-agentbay-sdk",
|
|
3
|
-
"version": "0.13.0-beta.
|
|
3
|
+
"version": "0.13.0-beta.20251208113236",
|
|
4
4
|
"description": "TypeScript SDK for interacting with the Wuying AgentBay cloud runtime environment",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|