@mobileai/react-native 0.4.0 → 0.4.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.
- package/README.md +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,9 @@ Wrap your navigation with `<AIAgent>`. The AI automatically understands your ent
|
|
|
16
16
|
|
|
17
17
|
## ✨ Features
|
|
18
18
|
|
|
19
|
-
- 🤖 **Zero-config UI understanding** — No
|
|
19
|
+
- 🤖 **Zero-config UI understanding** — No annotations needed. The AI sees and understands your entire screen automatically.
|
|
20
|
+
- 🎯 **Works with every component** — Buttons, switches, inputs, custom components — all work out of the box.
|
|
21
|
+
- 🖼️ **Sees images & videos** — The AI knows what media is on screen and can describe it.
|
|
20
22
|
- 🧭 **Auto-navigation** — Navigates between screens to complete multi-step tasks.
|
|
21
23
|
- 🔒 **Production-grade security** — Element gating, content masking, lifecycle hooks, human-in-the-loop confirmation.
|
|
22
24
|
- 🧩 **Custom actions** — Expose any business logic (checkout, API calls) as AI-callable tools with `useAction`.
|
|
@@ -244,10 +246,10 @@ This starts two servers:
|
|
|
244
246
|
|
|
245
247
|
| Tool | Description |
|
|
246
248
|
|------|-------------|
|
|
247
|
-
| `tap(index)` | Tap
|
|
248
|
-
| `type(index, text)` | Type text into
|
|
249
|
+
| `tap(index)` | Tap any interactive element. Works universally on buttons, switches, checkboxes, and custom components. |
|
|
250
|
+
| `type(index, text)` | Type text into a text-input. |
|
|
249
251
|
| `navigate(screen)` | Navigate to a screen. |
|
|
250
|
-
| `done(text)` | Complete the task. |
|
|
252
|
+
| `done(text)` | Complete the task with a response. |
|
|
251
253
|
| `ask_user(question)` | Ask the user for clarification. |
|
|
252
254
|
|
|
253
255
|
## 📋 Requirements
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobileai/react-native",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
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",
|