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
test(mobile): render the Focus fixture at a phone's 42 columns
deedf73fa8a30d7
diff --git a/mobile/test/render/phone_screens_render_test.dart b/mobile/test/render/phone_screens_render_test.dartindex 169968d04..2d0fb7c3c 100644--- a/mobile/test/render/phone_screens_render_test.dart+++ b/mobile/test/render/phone_screens_render_test.dart@@ -54,22 +54,23 @@ const _claudeOutput = [' The desktop does the opposite.\r\n','\r\n','\x1b[32m⏺\x1b[0m \x1b[1mUpdate\x1b[0m(lib/phone/phone_search_rank.dart)\r\n',- ' ⎿ Updated with \x1b[32m18\x1b[0m additions and \x1b[31m7\x1b[0m removals\r\n',+ ' ⎿ Updated with \x1b[32m18\x1b[0m additions and\r\n',+ ' \x1b[31m7\x1b[0m removals\r\n',' \x1b[2m183\x1b[0m \x1b[31m- if (needle.isEmpty) {\x1b[0m\r\n',' \x1b[2m183\x1b[0m \x1b[32m+ if (byActivity || empty) {\x1b[0m\r\n','\r\n','\x1b[32m⏺\x1b[0m \x1b[1mBash\x1b[0m(flutter test test/search_test.dart)\r\n',' ⎿ 00:01 +42: All tests passed!\r\n','\r\n',- '\x1b[1m⏺\x1b[0m Find now orders by last use, the same\r\n',- ' order as the desktop\'s ⌘P. Typing filters\r\n',- ' without reordering.\r\n',+ '\x1b[1m⏺\x1b[0m Find now orders by last use, the\r\n',+ ' same order as the desktop\'s ⌘P. Typing\r\n',+ ' filters without reordering.\r\n','\r\n','\x1b[38;5;208m✻\x1b[0m Committing… \x1b[2m(12s · ↓ 1.8k tokens)\x1b[0m\r\n','\r\n',- '\x1b[2m╭──────────────────────────────────────────╮\x1b[0m\r\n',- '\x1b[2m│\x1b[0m > \x1b[2m │\x1b[0m\r\n',- '\x1b[2m╰──────────────────────────────────────────╯\x1b[0m\r\n',+ '\x1b[2m╭────────────────────────────────────────╮\x1b[0m\r\n',+ '\x1b[2m│\x1b[0m > \x1b[2m │\x1b[0m\r\n',+ '\x1b[2m╰────────────────────────────────────────╯\x1b[0m\r\n',' \x1b[35m⏵⏵ auto mode on\x1b[0m \x1b[2m(shift+tab to cycle)\x1b[0m\r\n',];@@ -239,7 +240,11 @@ void main() {session.streamId = 's';// A screen to show — kept from "last time", which is what a render needs: the live path waits// for a keyframe this fixture has no machine to send.- final screen = Terminal(maxLines: 1000)..resize(46, 49);+ // 42 columns: what a 390pt phone fits at 14pt SF Mono between the two 12pt+ // gutters, measured. The live terminal resizes itself to the view; this+ // fixture has no machine to answer a resize, so a wider seed would render+ // clipped at the right edge — a fixture fault a reviewer reads as the app's.+ final screen = Terminal(maxLines: 1000)..resize(42, 49);for (var line = 0; line < 60; line++) {screen.write('earlier output line $line\r\n');}@@ -497,13 +502,15 @@ void main() {testWidgets('focus, prompt', skip: skip, (tester) async {final key = await pumpScreen(tester, focus());notifier.panes.first.session!.terminal.write(- '\r\n\x1b[2m────────────────────────────────────────────\x1b[0m\r\n'+ '\r\n\x1b[2m──────────────────────────────────────────\x1b[0m\r\n'' \x1b[1mBash command\x1b[0m\r\n'' rm -rf build/ && flutter build ios\r\n'' Do you want to proceed?\r\n'' \x1b[36m❯ 1. Yes\x1b[0m\r\n'- " 2. Yes, and don't ask again for rm commands\r\n"- ' 3. No, and tell Claude what to do differently\r\n'+ " 2. Yes, and don't ask again for rm\r\n"+ ' commands\r\n'+ ' 3. No, and tell Claude what to do\r\n'+ ' differently\r\n''\r\n'' \x1b[2mEsc to cancel · Enter to confirm\x1b[0m',);