deepadb 1.0.3 → 1.0.4
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 +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ AI Agent (Termux) ←→ MCP (stdio/HTTP) ←→ DeepADB (Termux) ←→ sh/su (
|
|
|
86
86
|
```
|
|
87
87
|
When DeepADB runs directly on the Android device (e.g., inside Termux), it auto-detects the environment and switches to `LocalBridge`. Commands execute directly via `sh`/`su` — no ADB server, no USB, no serialization overhead. All 147 tools work identically, with significantly lower latency.
|
|
88
88
|
|
|
89
|
-
**Validated on hardware:**
|
|
89
|
+
**Validated on hardware:** 203/203 tests pass on-device (Pixel 6a, Android 16, Termux + Magisk + QEMU 10.2.1). Includes 20 QEMU/KVM virtualization tests covering setup detection, disk image lifecycle, resource budget reporting, Alpine Linux VM boot with KVM acceleration, big.LITTLE CPU topology detection, and clean VM shutdown. QEMU tests auto-skip in ADB mode (183 passed, 4 skipped).
|
|
90
90
|
|
|
91
91
|
**Privilege escalation:** In ADB mode, all shell commands run as uid=2000 (the `shell` user) which has system-level permissions. In Termux, commands run as a regular app user. LocalBridge automatically elevates privileged commands through `su` when root (Magisk) is available:
|
|
92
92
|
- **Command allowlist:** 16 system commands (`settings`, `dumpsys`, `am`, `input`, `screencap`, `screenrecord`, `uiautomator`, `app_process`, `getenforce`, `setenforce`, `cmd`, `pm`, `wm`, `svc`, `ip`, `ifconfig`) are routed through `su -c` to match ADB-mode behavior.
|
|
@@ -602,7 +602,7 @@ DeepADB/
|
|
|
602
602
|
├── .gitignore
|
|
603
603
|
├── README.md
|
|
604
604
|
├── tests/
|
|
605
|
-
│ ├── run-all.mjs # Run all test suites sequentially with summary
|
|
605
|
+
│ ├── run-all.mjs # Run all test suites sequentially with summary (tracks skipped counts)
|
|
606
606
|
│ ├── test-hw.mjs # Hardware core: health, identity, baseband, thermal, profiles (26 tests)
|
|
607
607
|
│ ├── test-shell-files.mjs # Shell, filesystem, packages, diagnostics (24 tests)
|
|
608
608
|
│ ├── test-ui-control.mjs # UI hierarchy, screenshots, settings, accessibility (15 tests)
|
|
@@ -610,10 +610,11 @@ DeepADB/
|
|
|
610
610
|
│ ├── test-security.mjs # Input sanitization, shell injection, AT command safety (25 tests)
|
|
611
611
|
│ ├── test-lifecycle.mjs # App lifecycle, file push/pull, input, port forwarding, screen recording, test sessions (22 tests)
|
|
612
612
|
│ ├── test-analysis.mjs # Thermal/snapshot/regression comparison, firmware diff, screenshot diff, test gen, RIL intercept (18 tests)
|
|
613
|
+
│ ├── test-boundaries.mjs # Zod bounds enforcement, input injection, error paths, sensitive data protection (28 tests)
|
|
613
614
|
│ ├── test-qemu.mjs # QEMU/KVM setup, image management, VM status (10 on-device tests)
|
|
614
615
|
│ ├── test-qemu-boot.mjs # QEMU Alpine VM boot, KVM acceleration, topology detection (10 on-device tests)
|
|
615
616
|
│ └── lib/
|
|
616
|
-
│ └── harness.mjs # Shared test harness (stdio JSON-RPC transport,
|
|
617
|
+
│ └── harness.mjs # Shared test harness (stdio JSON-RPC transport, 6 assertion types)
|
|
617
618
|
└── docs/
|
|
618
619
|
└── future-roadmap.md # Feature history and future ideas
|
|
619
620
|
```
|
package/package.json
CHANGED