The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
fix(mobile): keep voice warning line uncut and centred
tonyf5ef0675d462
diff --git a/mobile/lib/phone/terminal_page.dart b/mobile/lib/phone/terminal_page.dartindex 2145bbe79..6d6c3e181 100644--- a/mobile/lib/phone/terminal_page.dart+++ b/mobile/lib/phone/terminal_page.dart@@ -954,7 +954,7 @@ class _TerminalPageState extends State<TerminalPage>////// ⚠️ **The two-second message outranks the take.** The take's line was first, and a take the/// question refused — `✗ no match — tap an answer` — never showed its reason: the refusal also- /// leaves the take's generic "Not sent — this terminal isn't taking input" standing, which+ /// leaves the take's generic "Not sent · terminal isn't taking input" standing, which/// covered the one line that said what to do, and blamed the terminal instead.Widget? _statusLine() {final tty = Tty.of(context);@@ -3547,8 +3547,15 @@ class _AnchoredTerminalState extends State<_AnchoredTerminal> {);}-/// The line above the mic, on the terminal gutter with an opaque ground.+/// The line above the mic, centred over it with an opaque ground./// Its fixed yellow dot uses the same asking colour as Find.+///+/// ⚠️ **Centred, not on the gutter**, by the owner's call (2026-09-29): it stands over the mic,+/// which is centred too. A second line centres the same way.+///+/// ⚠️ **Wraps to a second line rather than cut.** What is said here fits one line (see+/// `VoiceNotice`), but not on every phone at every text size — and a warning cut mid-word hid+/// what to do. Positioned by its foot, a second line grows up over the terminal, off the mic.class _StatusLine extends StatelessWidget {const _StatusLine({required this.text, this.color, this.dot = false});@@ -3567,15 +3574,23 @@ class _StatusLine extends StatelessWidget {child: Padding(padding: const EdgeInsets.fromLTRB(Tty.origin, 8, Tty.origin, below),child: Row(+ mainAxisAlignment: MainAxisAlignment.center,+ crossAxisAlignment: CrossAxisAlignment.start,children: [if (dot) ...[- Container(- key: const ValueKey('sample-guide-dot'),- width: 6,- height: 6,- decoration: BoxDecoration(- color: tty.yellow,- shape: BoxShape.circle,+ // Centred on the first line, not between two.+ Padding(+ padding: const EdgeInsets.only(+ top: (TtySize.meta * 1.2 - 6) / 2,+ ),+ child: Container(+ key: const ValueKey('sample-guide-dot'),+ width: 6,+ height: 6,+ decoration: BoxDecoration(+ color: tty.yellow,+ shape: BoxShape.circle,+ ),),),const SizedBox(width: 8),@@ -3583,7 +3598,8 @@ class _StatusLine extends StatelessWidget {Flexible(child: Text(text,- maxLines: 1,+ textAlign: TextAlign.center,+ maxLines: 2,overflow: TextOverflow.ellipsis,style: tty.style(size: TtySize.meta,diff --git a/mobile/lib/phone/voice_notice.dart b/mobile/lib/phone/voice_notice.dartindex cd278fcfe..ca5d18bc2 100644--- a/mobile/lib/phone/voice_notice.dart+++ b/mobile/lib/phone/voice_notice.dart@@ -1,22 +1,23 @@/// The one line voice input shows when it cannot do what was asked.+///+/// ⚠️ **One line on the narrowest phone: 40 characters at most.** Each is said+/// on the status line above the mic at `TtySize.meta` — about 42 cells across a+/// 360pt screen — and a full sentence there was cut mid-word ("tap the mic to+/// try agai…"). What went wrong, then ` · ` and what to do, as+/// `not sent · tap the mic again` says it.abstract final class VoiceNotice {- static const unavailable =- 'Voice input is off. Allow Harness the microphone in Settings, or use the keyboard.';+ static const unavailable = 'No mic access · allow it in Settings';- static const couldNotStart =- "The microphone couldn't start. Tap the mic to try again.";+ static const couldNotStart = "Mic couldn't start · tap to try again";- static const nothingHeard = "Didn't catch that. Tap the mic to try again.";+ static const nothingHeard = "Didn't catch that · tap the mic again";/// The microphone opened but delivered silence — a muted input, or a/// simulator the Mac has not given its microphone to. Speaking again will not/// help, so the notice does not suggest it.- static const noSound =- 'No sound reached the microphone. Check the input Harness is using.';+ static const noSound = 'No sound from the mic · check its input';- static const notTranscribed =- "Couldn't turn that into text. Tap the mic to try again.";+ static const notTranscribed = "Couldn't transcribe · tap the mic again";- static const notSent =- "Not sent — this terminal isn't taking input right now.";+ static const notSent = "Not sent · terminal isn't taking input";}