Android Tv
01README
Bounded Sony BRAVIA identity and Android TV inventory, plus experimental approval-gated package cleanup and recovery.
02Behaviors
@mgreten/android-tvv2026.11.06.1android_tv.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| commandTimeoutMs? | number | |
| sonyTimeoutMs? | number |
fn identifySony()
Read Sony BRAVIA getInterfaceInformation from the fixed /sony/system endpoint.
fn checkAdbVersion()
Check the configured local ADB executable without querying connected devices.
fn inventory(hostServerReviewed: literal)
After separately reviewing and authorizing the ADB host-server lifecycle, read selected Android 7-compatible properties, user-0 package states, RAM, and /data capacity from an already connected explicit host:port target. ADB may start or restart its host server.
| Argument | Type | Description |
|---|---|---|
| hostServerReviewed | literal | Confirm that an established ADB session is authorized and the compatible host-server lifecycle has been reviewed. |
fn prepareCleanup()
Prepare a privately persisted exact-build baseline and one active cleanup plan; no package state is changed.
fn applyCleanup()
Journal durable intent, disable exactly one approved user-0 package, and verify its resulting state.
fn verifyCleanup()
Read one approved package state and persist its verification result without changing the device.
fn restoreCleanup()
Restore only one previously attempted package to its exact recorded user-0 enabled state after fresh drift checks.
Resources
cleanupBaseline(infinite)— Immutable, private package-state baseline bound to one exact target and Android build.
cleanupPlan(infinite)— Durable per-package cleanup intent, outcome, and recovery journal.
cleanupActivePlan(infinite)— Pointer to the one active cleanup plan for this behavior definition.
sonyIdentification(30d)— Validated public Sony BRAVIA interface identity response.
adbReadiness(30d)— Local ADB client version and readiness check result.
deviceInventory(7d)— Minimal read-only Android device inventory for an existing ADB target.
03Stats
A
100 / 100
Downloads
0
Archive size
38.4 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
04Platforms
05Labels