Let an AI model use a real iPhone with a $7 ESP32: AirPlay eyes, USB HID hands, any OpenAI-compatible vision model. No Mac, no developer account, no jailbreak.
Use text-only status in the minimal Dynamic Island
Henry6e456655a731
diff --git a/docs/minimal-island-text-2026-10-16.md b/docs/minimal-island-text-2026-10-16.mdnew file mode 100644index 0000000..339e15e--- /dev/null+++ b/docs/minimal-island-text-2026-10-16.md@@ -0,0 +1,11 @@+# Text-only minimal Dynamic Island++Source HEAD: `5899204`. The source checkout contained only untracked `ios/fastlane/`; implementation used the isolated `codex/minimal-island-text` branch.++The minimal agent presentation now shows only the short status label. This is the primary presentation during Screen Mirroring, when another system activity shares the island. The former 16-point face above a caption was cramped and repeatedly appeared to slide or disappear during updates on the user's device.++The shared `Eyes`/`AgentFace` implementation remains in use in larger presentations. The idle gaze timer implementation is also preserved, but disabled: cosmetic updates are unnecessary for text-only status and may trigger system transitions. Action-driven gaze and mood updates remain available. Comments explain this decision next to both changes.++The previous minimal composition was a zero-spacing vertical stack of `Eyes(state: s).frame(width: 16, height: 16)` and the short status caption, constrained to 36 points wide. It can be revisited if a future system presentation supports it without distracting refresh behavior. Recording retains its existing recording indicator.++Validation: signed device build succeeded and whitespace checks passed. The phone was unavailable to CoreDevice, so this revision has not been installed or visually verified on the phone.diff --git a/ios/AgentActivity/AgentActivityWidget.swift b/ios/AgentActivity/AgentActivityWidget.swiftindex 286a70a..1a055db 100644--- a/ios/AgentActivity/AgentActivityWidget.swift+++ b/ios/AgentActivity/AgentActivityWidget.swift@@ -66,13 +66,15 @@ struct AgentLiveActivity: Widget {if s.phase == .recording {Image(systemName: "record.circle.fill").foregroundStyle(.red)} else {- VStack(spacing: 0) {- Eyes(state: s).frame(width: 16, height: 16)- Text(verbatim: s.minimalLabel ?? s.label)- .font(.caption2).foregroundStyle(.white).lineLimit(1).minimumScaleFactor(0.8)- }- .frame(width: 36)- .accessibilityLabel(Text(verbatim: s.labelFull))+ // Minimal presentation is the primary surface while Screen Mirroring is active.+ // Keep it text-only: the former face-over-label layout was too small to read,+ // and idle gaze updates caused distracting system refresh transitions.+ // Eyes remains below for compact/expanded presentations and future reuse.+ Text(verbatim: s.minimalLabel ?? s.label)+ .font(.caption2.bold()).foregroundStyle(.white)+ .lineLimit(1).minimumScaleFactor(0.8)+ .frame(width: 36, height: 24)+ .accessibilityLabel(Text(verbatim: s.labelFull))}}.widgetURL(AgentActivityAttributes.url(run: context.attributes.runID))@@ -120,8 +122,8 @@ private struct Buttons: View {}/// The character's face without the USB tab. Widgets do not animate on their own, but a change of `look`-/// between two updates springs: the app sends a new gaze every ~2 s while it waits (darting eyes) and the-/// gesture's target before the pointer moves.+/// between action updates springs toward the gesture's target before the pointer moves.+/// Random idle gaze updates are disabled for the text-only minimal presentation.private struct Eyes: View {@Environment(\.accessibilityReduceMotion) private var reduceMotionlet state: AgentActivityAttributes.ContentStatediff --git a/ios/IPhoneAgent/App/LiveActivity.swift b/ios/IPhoneAgent/App/LiveActivity.swiftindex faccc5f..5680eab 100644--- a/ios/IPhoneAgent/App/LiveActivity.swift+++ b/ios/IPhoneAgent/App/LiveActivity.swift@@ -4,9 +4,8 @@ import Foundation/// Starts, updates and ends the Live Activity of a run or a recording. While the agent works the app is in/// the background, so this is the user's view of the run; the app updates it whenever BLE wakes it.///-/// The island's eyes: Live Activity views cannot run their own animations, but a change between two updates-/// animates (the widget springs `look`). So while the agent waits for a frame or the model, a loop here sends a-/// new random gaze every 1.4-2.2 s (the eyes dart), and before a gesture the gaze points at its target.+/// Larger presentations animate gaze changes when actions update `look`. The former random idle gaze+/// loop is preserved but disabled to keep the primary text-only minimal presentation stable./// Updates go through a token bucket (burst 2, then 1 per second), so the system never sees more than ~1/s.@MainActor final class LiveActivityController {typealias State = AgentActivityAttributes.ContentState@@ -104,6 +103,11 @@ import Foundation/// While waiting: glance somewhere else every 1.4-2.2 s, mostly sideways, never twice at the same spot.private func startDarting() {+ // Preserve the gaze implementation, but do not send cosmetic updates while the primary+ // minimal presentation is text-only. ActivityKit does not tell this controller which+ // presentation is visible; repeated updates can animate the entire island. Action-driven+ // gaze and mood updates remain enabled in the larger presentations.+ guard Self.idleGazeEnabled else { return }guard darting == nil else { return }darting = Task { [weak self] inwhile !Task.isCancelled {@@ -143,6 +147,7 @@ import Foundation}private static let perSecond = 1.0, burst = 2.0+ private static let idleGazeEnabled = falseprivate func refill() {let t = now()