← Commit history

Publish 0.1.3

John Lauer ·28b92ceef1 · ·parent 484c76c
5 files changed +25−17
README.md+6−3
@@ -17,7 +17,9 @@ Nothing can reach the phone until you trust a machine on it. After that, each ki  - **A real touch only.** The app refuses taps injected by software, so an AI that can press buttons on the phone cannot approve itself. - **Protected apps.** Banking, wallet, password manager, authenticator and system settings apps are off limits by default. You can add or remove apps.-- **Passwords are yours.** It will not type into a password field, and it cannot unlock the phone.+- **Passwords.** It types into a password field only if you allow that, and never shows or logs what it typed. It cannot unlock the phone.+- **Permission popups.** It answers another app's Android permission popup only if you allow that, and you see the question first. It cannot answer one about Adom Bridge itself.+- **Stay unlocked.** Off by default. On a charging cable, the phone can stay unlocked for 10, 20 or 30 minutes after you unlock it or your AI last used it. The power button still locks it. - **Files.** It reaches only its own Adom folder. - **Activity.** Every request is logged in the app. @@ -30,6 +32,7 @@ Nothing can reach the phone until you trust a machine on it. After that, each ki | Texts and notifications | `android_sms_read`, `android_sms_send`, `android_notifications`, `android_notification_open`, `android_notification_reply` | | Calls and contacts | `android_call`, `android_call_log`, `android_contacts` | | Files and messages to you | `list_files`, `send_files`, `pull_file`, `notify_user` |+| Update itself | `android_update_app` | | Health | `status`, `commands` |  ## Set up@@ -44,9 +47,9 @@ Then, on the phone, sign in to Adom and trust your PC under **Your machines**. O  The app is distributed here, not on Google Play. -## Known limits in 0.1.1+## Known limits in 0.1.3 -- After a scroll, reading the screen can return what was there before it. Screenshots are always current, and your AI's skill knows to use them.+- Password typing and permission popups are tested on an Android 15 emulator, not yet on a phone. Android 17 may ignore presses on a permission popup. - RCS chats in Google Messages are read from notifications, because Android does not list them with your texts. - Tested on a Galaxy S24+ over Wi-Fi. Cellular and long stretches with the screen off have not been tested. 
SKILL.md+12−5
@@ -28,7 +28,13 @@ adom-bridge --ai-thread "<thread>" --target <phone> android_open_app '{"app":"Cl - **`protected_app`** (banks, wallets, password managers, Settings): not available to you. - **`device_locked`**: only the owner can unlock it. `android_wake` lights the screen, no more. - The owner may be using the phone. Say what you are about to do before you open an app.-- Passwords are the owner's to type (`password_field`).+- **Passwords** need the owner's "Type passwords". Type only a password the user gave you for that app, in one+  `android_type` call with `value`. Never put it in `reason`, in chat or in a file.+- **Android permission popups** need the owner's "Answer permission popups". `android_screen_read` returns+  `permissionPopup` with the question. If `buttonsHidden` is true, take an `android_screenshot` and send+  `android_tap {x, y, button}`, where `button` is the exact words on the button. Press what the user asked for, and+  choose the narrower option when they did not say. Popups about Adom Bridge itself, protected apps, or anything that+  is not recognised as a permission question are refused: leave those to the owner.  ## Driving an app @@ -37,10 +43,6 @@ adom-bridge --ai-thread "<thread>" --target <phone> android_open_app '{"app":"Cl 3. `android_tap`, `android_type`, `android_scroll` or `android_swipe`. 4. Look again before saying it worked. -**After a scroll in 0.1.1, `android_screen_read` and text or node taps can return the screen from-before the scroll.** Take an `android_screenshot` and tap by `x,y`. The numbers are screen pixels,-the same as in the full-size screenshot.- ## Texts and notifications  - `android_sms_read` returns SMS and MMS. RCS chats in Google Messages are usually not there:@@ -64,6 +66,11 @@ Then the owner, on the phone: **Sign in to Adom**, tap their machine under **You **Trust this machine**. On the PC, they accept Adom Bridge's MESH JOIN card. These steps are theirs; do not do them for them. +## Update the app++From 0.1.2, over the mesh: `send_files` the new APK, then `android_update_app {file}`. The owner turns on+**Setup > Update over Wi-Fi** once and approves each update on the phone. Then call `status` until `version` changes.+ ## When it does not answer  - After a trust change or a restart of the app, the first call can take about 30 s. A PC that just
package.json+4−5
@@ -1,7 +1,7 @@ {   "slug": "adom-bridge-android",   "name": "adom-bridge-android",-  "version": "0.1.1",+  "version": "0.1.3",   "type": "app",   "title": "Adom Bridge Android",   "brief": "Puts your Android phone on your Adom Mesh, so the AI on your own machines can open and drive its apps, read your texts and notifications, and place calls. It works unplugged, with no root. Nothing can reach the phone until you trust a machine on it, and you approve what the AI may do with a real touch.",@@ -59,12 +59,11 @@     "README.md",     "tools/**",     "install.sh",-    "uninstall.sh",-    "screenshots/hero.png"+    "uninstall.sh"   ],   "hero": {     "type": "image",-    "path": "screenshots/hero.png"+    "path": "screenshots/hero-phone.png"   },   "visibility": {     "public": true@@ -77,4 +76,4 @@     "install": "./install.sh",     "uninstall": "./uninstall.sh"   }-}\ No newline at end of file+}
page.json+2−3
@@ -1,7 +1,7 @@ {   "slug": "adom-bridge-android",   "name": "adom-bridge-android",-  "version": "0.1.1",+  "version": "0.1.3",   "type": "app",   "title": "Adom Bridge Android",   "brief": "Puts your Android phone on your Adom Mesh, so the AI on your own machines can open and drive its apps, read your texts and notifications, and place calls. It works unplugged, with no root. Nothing can reach the phone until you trust a machine on it, and you approve what the AI may do with a real touch.",@@ -59,8 +59,7 @@     "README.md",     "tools/**",     "install.sh",-    "uninstall.sh",-    "screenshots/hero.png"+    "uninstall.sh"   ],   "hero": {     "type": "image",
tools/install-on-phone.sh+1−1
@@ -1,6 +1,6 @@ #!/bin/bash # Install Adom Bridge Android on a USB-connected phone and switch on what it needs.-# Usage: install-on-phone.sh <adb command...>      e.g.  APK=adom-bridge-android-0.1.1.apk install-on-phone.sh adb+# Usage: install-on-phone.sh <adb command...>      e.g.  APK=adom-bridge-android-0.1.3.apk install-on-phone.sh adb set -e P=inc.adom.bridge.android