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
Merge remote-tracking branch 'origin/main' into harness-web-release-readiness
deea71b2ed3c9ff
diff --cc desktop/test/boot_flow_widget_test.dartindex 6bfec0351,168b32812..ad2d25bf9--- a/desktop/test/boot_flow_widget_test.dart+++ b/desktop/test/boot_flow_widget_test.dart@@@ -1,5 -1,5 +1,6 @@@+ import 'support/resource_picker.dart';import 'support/workspace_tools.dart';+import 'support/resource_picker.dart';import 'swarm_interactions_test.dart' show chord;import 'package:flutter/services.dart';diff --cc desktop/test/grid_model_picker_test.dartindex 1f08a36bd,471fe3615..bc1ebbe19--- a/desktop/test/grid_model_picker_test.dart+++ b/desktop/test/grid_model_picker_test.dart@@@ -299,9 -299,12 +299,13 @@@ void main()expect(fill,findsNothing,- reason: 'Status controls emphasize text on hover without a fill.',+ reason: 'hover emphasizes text without filling the model control',+ );+ expect(+ tester.widget<Text>(find.text('GPT-6 Astra')).style!.fontWeight,+ FontWeight.bold,);+ expect(tester.getSize(control).height, 28);await hover.moveTo(Offset.zero);await tester.pumpAndSettle();await mount('GPT-5.6 Sol');diff --cc desktop/test/open_picker_rendering_test.dartindex 7ac32998e,61da76402..4c6b26487--- a/desktop/test/open_picker_rendering_test.dart+++ b/desktop/test/open_picker_rendering_test.dart@@@ -296,101 -296,91 +296,101 @@@ void main()},);- testWidgets('Open Harness builds a small window and arrow keys reach later rows', (- tester,- ) async {- final app = createApp();- app.machineStates['m']!.nodeOnline = true;- app.adoptSessionForTest(terminal('a0', []));- final map = MemoryKeymap();- await mount(tester, app, map);- await openHarnessPicker(tester);- final results = find.byType(SwarmSearchResults);- final search = tester.widget<SwarmSearchResults>(results).search;- final rowIds = search.rows.map((row) => row.id).toSet();- final rows = find.descendant(- of: results,- matching: find.byWidgetPredicate(- (widget) =>- widget is InkWell &&- widget.key is ValueKey<String> &&- rowIds.contains((widget.key! as ValueKey<String>).value),- ),- );- final input = find.byKey(const ValueKey('swarm-search-input'));- final cell = terminalCellSizeOf(tester.element(input));- for (final row in rows.evaluate()) {- final id = (row.widget.key! as ValueKey<String>).value;- final line = find.byKey(ValueKey('swarm-search-line:$id'));- expect(- tester.getSize(line).height,- closeTo(cell.height, .01),- reason: 'Selection occupies exactly one terminal line.',+ testWidgets(- 'Open Harness builds a small window and Down reaches later rows',++ 'Open Harness builds a small window and arrow keys reach later rows',+ (tester) async {+ final app = createApp();+ app.machineStates['m']!.nodeOnline = true;+ app.adoptSessionForTest(terminal('a0', []));+ final map = MemoryKeymap();+ await mount(tester, app, map);+ await openHarnessPicker(tester);+ final results = find.byType(SwarmSearchResults);+ final search = tester.widget<SwarmSearchResults>(results).search;+ final rowIds = search.rows.map((row) => row.id).toSet();+ final rows = find.descendant(+ of: results,+ matching: find.byWidgetPredicate(+ (widget) =>+ widget is InkWell &&+ widget.key is ValueKey<String> &&+ rowIds.contains((widget.key! as ValueKey<String>).value),+ ),);+ final input = find.byKey(const ValueKey('swarm-search-input'));+ final cell = terminalCellSizeOf(tester.element(input));+ for (final row in rows.evaluate()) {+ final id = (row.widget.key! as ValueKey<String>).value;+ final line = find.byKey(ValueKey('swarm-search-line:$id'));+ expect(+ tester.getSize(line).height,+ closeTo(cell.height, .01),+ reason: 'Selection occupies exactly one terminal line.',+ );+ expect(+ tester.getSize(find.byKey(ValueKey(id))).height,+ closeTo(cell.height, .01),+ reason: 'The entire result occupies one line, with no spacer row.',+ );+ final title = find+ .descendant(of: line, matching: find.byType(Text))+ .first;+ expect(+ tester.getTopLeft(title).dx,+ closeTo(tester.getTopLeft(input).dx, .01),+ );+ }+ final first = find.byKey(ValueKey(search.rows[0].id));+ final second = find.byKey(ValueKey(search.rows[1].id));expect(- tester.getSize(find.byKey(ValueKey(id))).height,+ tester.getTopLeft(second).dy - tester.getTopLeft(first).dy,closeTo(cell.height, .01),- reason: 'The entire result occupies one line, with no spacer row.',);- final title = find- .descendant(of: line, matching: find.byType(Text))- .first;- expect(- tester.getTopLeft(title).dx,- closeTo(tester.getTopLeft(input).dx, .01),- );- }- final first = find.byKey(ValueKey(search.rows[0].id));- final second = find.byKey(ValueKey(search.rows[1].id));- expect(- tester.getTopLeft(second).dy - tester.getTopLeft(first).dy,- closeTo(cell.height, .01),- );- for (final type in [ListTile, Icon, Image, EngineMark, PromptContextView]) {- expect(- find.descendant(of: results, matching: find.byType(type)),- findsNothing,- );- }- expect(search.rows.length, greaterThan(50));- final list = find.byKey(const ValueKey('swarm-search-result-list'));- final capacity = (tester.getSize(list).height / cell.height).ceil();- expect(rows.evaluate().length, lessThanOrEqualTo(capacity + 2));- expect(rows.evaluate().length, lessThan(search.rows.length));- final visited = <String>{};- for (var step = 0; step < 35; step++) {- await key(tester, LogicalKeyboardKey.arrowDown);- await tester.pumpAndSettle();- final selected = search.selected;- if (selected != null) {- visited.add(selected.id);- expect(find.byKey(ValueKey(selected.id)).hitTestable(), findsOneWidget);+ for (final type in [+ ListTile,+ Icon,+ Image,+ EngineMark,+ PromptContextView,+ ]) {expect(- tester- .widget<TextField>(- find.byKey(const ValueKey('swarm-search-input')),- )- .focusNode!- .hasFocus,- isTrue,+ find.descendant(of: results, matching: find.byType(type)),+ findsNothing,);}- }- // Focus crosses the initial viewport repeatedly as new rows are built.- expect(visited.length, greaterThan(15));- expect(tester.takeException(), isNull);- await tester.pumpWidget(const SizedBox());- app.dispose();- map.dispose();- });+ expect(search.rows.length, greaterThan(50));+ final list = find.byKey(const ValueKey('swarm-search-result-list'));+ final capacity = (tester.getSize(list).height / cell.height).ceil();+ expect(rows.evaluate().length, lessThanOrEqualTo(capacity + 2));+ expect(rows.evaluate().length, lessThan(search.rows.length));+ final visited = <String>{};+ for (var step = 0; step < 35; step++) {+ await key(tester, LogicalKeyboardKey.arrowDown);+ await tester.pumpAndSettle();+ final selected = search.selected;+ if (selected != null) {+ visited.add(selected.id);+ expect(+ find.byKey(ValueKey(selected.id)).hitTestable(),+ findsOneWidget,+ );+ expect(+ tester+ .widget<TextField>(+ find.byKey(const ValueKey('swarm-search-input')),+ )+ .focusNode!+ .hasFocus,+ isTrue,+ );+ }+ }+ // Focus crosses the initial viewport repeatedly as new rows are built.+ expect(visited.length, greaterThan(15));+ expect(tester.takeException(), isNull);+ await tester.pumpWidget(const SizedBox());+ app.dispose();+ map.dispose();+ },+ );}