feat: add DB persistence, real-time WebSocket, goal preprocessor, and Android companion app
- Add device/session/step DB persistence in server agent loop - Add goal preprocessor for compound goals (e.g., "open YouTube and search X") - Add step-level logging to agent loop - Fix dashboard WebSocket auth (direct DB token lookup instead of auth.api) - Fix web layout to use locals.session.token instead of cookie - Add dashboard-ws.svelte.ts WebSocket store with auto-reconnect - Rewrite devices page with direct DB queries and real-time updates - Add device detail page with live step display and session history - Add Android companion app resources, themes, and screen capture consent Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
37
examples/flows/gemini-to-whatsapp.yaml
Normal file
37
examples/flows/gemini-to-whatsapp.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Ask Gemini and Share to WhatsApp
|
||||
---
|
||||
# Ask Gemini
|
||||
- shell: "am start -n com.google.android.apps.bard/.shellapp.BardEntryPointActivity"
|
||||
- wait: 3
|
||||
- tap: "Ask Gemini"
|
||||
- type: "tell me more about droidclaw.ai"
|
||||
- tap: "Send"
|
||||
- wait: 20
|
||||
|
||||
# Scroll to bottom to find Copy button
|
||||
- swipe: up
|
||||
- wait: 0.5
|
||||
- swipe: up
|
||||
- wait: 0.5
|
||||
- swipe: up
|
||||
- wait: 0.5
|
||||
- swipe: up
|
||||
- wait: 0.5
|
||||
- swipe: up
|
||||
- wait: 0.5
|
||||
- tap: "Copy"
|
||||
|
||||
# Send to WhatsApp
|
||||
- launch: com.whatsapp
|
||||
- wait: 1
|
||||
- tap: "Search"
|
||||
- wait: 0.5
|
||||
- type: "Vi"
|
||||
- wait: 0.5
|
||||
- tap: "Vi"
|
||||
- wait: 0.5
|
||||
- tap: "Message"
|
||||
- paste
|
||||
- wait: 0.5
|
||||
- tap: "Send"
|
||||
- done: "Gemini response shared to WhatsApp"
|
||||
@@ -3,7 +3,7 @@
|
||||
"steps": [
|
||||
{
|
||||
"app": "com.google.android.apps.bard",
|
||||
"goal": "Type 'tell me more about duntasks.com' in the text input field and tap send. Wait for the full AI response to load before marking done.",
|
||||
"goal": "Type 'tell me more about droidclaw.ai' in the text input field and tap send. Wait for the full AI response to load before marking done.",
|
||||
"maxSteps": 10
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user