@mobileai/react-native 0.5.13 → 0.5.14
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 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -186,11 +186,7 @@ export default function RootLayout() {
|
|
|
186
186
|
|
|
187
187
|
A floating chat bar appears automatically. Ask the AI to navigate, tap buttons, fill forms — it reads your live UI and acts.
|
|
188
188
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
Give the AI domain-specific knowledge it can query on demand — policies, FAQs, product details, etc. The AI uses a `query_knowledge` tool to fetch relevant entries only when needed (no token waste).
|
|
192
|
-
|
|
193
|
-
### 💡 Knowledge-Only Mode
|
|
189
|
+
### Knowledge-Only Mode (No UI Automation)
|
|
194
190
|
|
|
195
191
|
Don't need UI automation? Set `enableUIControl={false}`. The AI becomes a lightweight FAQ / support assistant — no screen analysis, no multi-step agent loop, just question → answer:
|
|
196
192
|
|
|
@@ -214,6 +210,11 @@ Don't need UI automation? Set `enableUIControl={false}`. The AI becomes a lightw
|
|
|
214
210
|
|
|
215
211
|
The AI still knows the current **screen name** (from navigation state, zero cost), so `screens`-filtered knowledge entries work correctly. It just can't see what's *on* the screen — ideal for domain Q&A where answers come from knowledge, not UI.
|
|
216
212
|
|
|
213
|
+
## 🧠 Knowledge Base
|
|
214
|
+
|
|
215
|
+
Give the AI domain-specific knowledge it can query on demand — policies, FAQs, product details, etc. The AI uses a `query_knowledge` tool to fetch relevant entries only when needed (no token waste).
|
|
216
|
+
|
|
217
|
+
|
|
217
218
|
### Static Array (Simple)
|
|
218
219
|
|
|
219
220
|
Pass an array of entries — the SDK handles keyword-based retrieval internally:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobileai/react-native",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14",
|
|
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",
|