mobai-mcp 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1101,16 +1101,22 @@ const WEB_RUNNER_GUIDE = `# Web Automation Guide
1101
1101
 
1102
1102
  **Try native-runner first for simple taps/types.** Only use Web Runner when you need DOM manipulation, CSS selectors, or JavaScript execution.
1103
1103
 
1104
+ ## iOS Simulator Limitation
1105
+
1106
+ **IMPORTANT: Web context is NOT supported on iOS simulators.** Web automation features (select_web_context, web DOM access, CSS selectors, JavaScript execution) only work on:
1107
+ - **Physical iOS devices** (iPhone, iPad)
1108
+ - **Android emulators and physical devices**
1109
+
1104
1110
  ## When to Use Web Runner
1105
1111
 
1106
- **USE Web Runner for:**
1112
+ **USE Web Runner for:**
1107
1113
  - Native runner returns NO_MATCH for web elements
1108
1114
  - CSS selector-based element targeting
1109
1115
  - JavaScript execution in page context
1110
1116
  - DOM manipulation and inspection
1111
1117
  - Complex form interactions requiring DOM access
1112
1118
 
1113
- **DO NOT use Web Runner for:**
1119
+ **DO NOT use Web Runner for:**
1114
1120
  - Browser address bar / URL bar → use Native Runner
1115
1121
  - Browser tab bar → use Native Runner
1116
1122
  - Browser navigation buttons (back, forward, refresh) → use Native Runner
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobai-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "MCP server for MobAI - AI-powered mobile device automation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",