@midscene/core 0.28.10-beta-20250917081519.0 → 0.28.10-beta-20250918024354.0

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.
@@ -25,7 +25,15 @@ export declare class Agent<InterfaceType extends AbstractInterface = AbstractInt
25
25
  * Frozen page context for consistent AI operations
26
26
  */
27
27
  private frozenUIContext?;
28
+ /**
29
+ * Flag to track if VL model warning has been shown
30
+ */
31
+ private hasWarnedNonVLModel;
28
32
  get page(): InterfaceType;
33
+ /**
34
+ * Ensures VL model warning is shown once when needed
35
+ */
36
+ private ensureVLModelWarning;
29
37
  constructor(interfaceInstance: InterfaceType, opts?: AgentOpt);
30
38
  getActionSpace(): Promise<DeviceAction[]>;
31
39
  getUIContext(action?: InsightAction): Promise<UIContext>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midscene/core",
3
3
  "description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
4
- "version": "0.28.10-beta-20250917081519.0",
4
+ "version": "0.28.10-beta-20250918024354.0",
5
5
  "repository": "https://github.com/web-infra-dev/midscene",
6
6
  "homepage": "https://midscenejs.com/",
7
7
  "main": "./dist/lib/index.js",
@@ -78,7 +78,7 @@
78
78
  "@azure/identity": "4.5.0",
79
79
  "@langchain/core": "0.3.26",
80
80
  "@ui-tars/action-parser": "1.2.3",
81
- "dotenv": "16.4.5",
81
+ "dotenv": "^16.4.5",
82
82
  "https-proxy-agent": "7.0.2",
83
83
  "jsonrepair": "3.12.0",
84
84
  "langsmith": "0.3.7",
@@ -87,8 +87,8 @@
87
87
  "zod": "3.24.3",
88
88
  "semver": "7.5.2",
89
89
  "js-yaml": "4.1.0",
90
- "@midscene/recorder": "0.28.10-beta-20250917081519.0",
91
- "@midscene/shared": "0.28.10-beta-20250917081519.0"
90
+ "@midscene/recorder": "0.28.10-beta-20250918024354.0",
91
+ "@midscene/shared": "0.28.10-beta-20250918024354.0"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@microsoft/api-extractor": "^7.52.10",