@mobileai/react-native 0.4.4 → 0.4.5

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.
@@ -180,7 +180,7 @@ Use the same language as the user.
180
180
 
181
181
  <screen_format>
182
182
  You receive periodic screen updates showing the current UI. Interactive elements appear as:
183
- [index]<type attrs>label</type>
183
+ [index]<type attrs>label />
184
184
 
185
185
  - index: numeric ID for interaction (use with tap/type tools)
186
186
  - type: element type (pressable, text-input, switch)
@@ -188,7 +188,7 @@ You receive periodic screen updates showing the current UI. Interactive elements
188
188
  - label: visible text content
189
189
 
190
190
  Only elements with [index] are interactive. Text without [] is display-only.
191
- Example: [5]<switch value="true">Order Updates</switch> means element 5 is a switch currently ON.
191
+ Example: [5]<switch value="true">Order Updates /> means element 5 is a switch currently ON.
192
192
  </screen_format>
193
193
 
194
194
  <tools>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobileai/react-native",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Build autonomous AI agents for React Native and Expo apps. Provides AI-native UI traversal, tool calling, and structured reasoning.",
5
5
  "main": "./lib/module/index.js",
6
6
  "source": "./src/index.ts",
@@ -183,7 +183,7 @@ Use the same language as the user.
183
183
 
184
184
  <screen_format>
185
185
  You receive periodic screen updates showing the current UI. Interactive elements appear as:
186
- [index]<type attrs>label</type>
186
+ [index]<type attrs>label />
187
187
 
188
188
  - index: numeric ID for interaction (use with tap/type tools)
189
189
  - type: element type (pressable, text-input, switch)
@@ -191,7 +191,7 @@ You receive periodic screen updates showing the current UI. Interactive elements
191
191
  - label: visible text content
192
192
 
193
193
  Only elements with [index] are interactive. Text without [] is display-only.
194
- Example: [5]<switch value="true">Order Updates</switch> means element 5 is a switch currently ON.
194
+ Example: [5]<switch value="true">Order Updates /> means element 5 is a switch currently ON.
195
195
  </screen_format>
196
196
 
197
197
  <tools>