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
One zoom on a title-bar double-click, and no engine note under a harness
dee161e698d50e4
diff --git a/desktop/lib/widgets/new_agent_dialog.dart b/desktop/lib/widgets/new_agent_dialog.dartindex 81977200f..559d408ef 100644--- a/desktop/lib/widgets/new_agent_dialog.dart+++ b/desktop/lib/widgets/new_agent_dialog.dart@@ -857,17 +857,6 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {},);- /// What a harness choice means for the launch, in one line beside the- /// other settings: the engine it runs on is the one whose profile and- /// permission flag apply here.- Widget _harnessNote() => Text(- key: const Key('new-agent-runs-on'),- 'Runs on ${_labelOf(_baseEngine(_engine))}. '- 'Skills, toolchain and viewer come from the harness.',- style: Theme.of(context).textTheme.bodySmall- ?.copyWith(color: grid.AppPalette.textSecondary),- );-Widget _profileOptions() => Column(crossAxisAlignment: CrossAxisAlignment.start,mainAxisSize: MainAxisSize.min,@@ -937,7 +926,6 @@ class _NewAgentDialogState extends State<_NewAgentDialog> {),),if (_baseEngine(_engine) == 'codex') _setting(_profileOptions()),- if (_engineIsHarness) _setting(_harnessNote()),],);diff --git a/desktop/lib/widgets/window_chrome.dart b/desktop/lib/widgets/window_chrome.dartindex cdd49bf1d..0c58968fc 100644--- a/desktop/lib/widgets/window_chrome.dart+++ b/desktop/lib/widgets/window_chrome.dart@@ -43,7 +43,11 @@ class HarnessTopBar extends StatelessWidget {Widget build(BuildContext context) {if (!Platform.isMacOS) return const SizedBox.shrink();grid.AppTheme.watch(context);- return DragToMoveArea(+ // Drag only. The native tab strip above this bar owns the title-bar+ // double-click and zooms the window itself; DragToMoveArea's own+ // double-tap zoomed it a second time, straight back (owner, 2026-09-15:+ // "maximizes out and resizes back").+ return WindowDragArea(child: Container(height: height,decoration: BoxDecoration(@@ -77,8 +81,9 @@ class HarnessTopBar extends StatelessWidget {/// top edge of the window, which is also the part of it people click most.////// The maximize gesture is worth having on a strip that holds nothing —-/// [HarnessTopBar] and [WindowDragStrip] keep [DragToMoveArea] for it — and is-/// not worth 300ms on every control in the app's chrome.+/// [WindowDragStrip] keeps [DragToMoveArea] for it; on macOS the native tab+/// strip zooms on double-click and [HarnessTopBar] under it only drags — and+/// is not worth 300ms on every control in the app's chrome.class WindowDragArea extends StatelessWidget {const WindowDragArea({super.key, required this.child});diff --git a/desktop/macos/Runner/SwarmTitlebar.swift b/desktop/macos/Runner/SwarmTitlebar.swiftindex 9d90efd69..6a2474845 100644--- a/desktop/macos/Runner/SwarmTitlebar.swift+++ b/desktop/macos/Runner/SwarmTitlebar.swift@@ -1278,12 +1278,12 @@ private final class SwarmTabStrip: NSView {}override func mouseDown(with event: NSEvent) {- // A double-click on the strip's background zooms the window — AppKit's- // own title-bar behaviour, on mouse-up, since this view lets the window- // move. Zooming here as well undid it a beat later (owner, 2026-09-15:- // "maximizes out and resizes back"). Only the drag is ours to start.- _ = ownsBackgroundDoubleClick(event)- if event.clickCount == 1 { window?.performDrag(with: event) }+ // A double-click on the strip's background zooms the window. This is the+ // one place that does: the Flutter bar under the strip only drags, since+ // its own double-tap zoomed a second time, straight back (owner,+ // 2026-09-15: "maximizes out and resizes back").+ if ownsBackgroundDoubleClick(event) { window?.performZoom(nil) }+ else if event.clickCount == 1 { window?.performDrag(with: event) }}fileprivate func ownsBackgroundDoubleClick(_ event: NSEvent) -> Bool {if event.clickCount == 1 {diff --git a/desktop/test/new_agent_dsh_test.dart b/desktop/test/new_agent_dsh_test.dartindex 78b97e751..a7615cdf9 100644--- a/desktop/test/new_agent_dsh_test.dart+++ b/desktop/test/new_agent_dsh_test.dart@@ -223,8 +223,6 @@ void main() {await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));await tester.pumpAndSettle();- expect(find.byKey(const Key('new-agent-runs-on')), findsOneWidget);- expect(find.textContaining('Runs on Claude Code.'), findsOneWidget);// Its base engine's bypass flag is the one offered: a harness has no// flag of its own, and without the base's it would say "Managed by".await tester.ensureVisible(find.text('Bypass approvals'));@@ -304,7 +302,6 @@ void main() {await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));await tester.pumpAndSettle();- expect(find.textContaining('Runs on Codex.'), findsOneWidget);await create(tester);// The machine never answered, so nothing can be called missing.expect(app.installs, isEmpty);@@ -343,7 +340,6 @@ void main() {await tester.ensureVisible(find.byKey(const Key('new-agent-advanced')));await tester.tap(find.byKey(const Key('new-agent-advanced')));await tester.pumpAndSettle();- expect(find.textContaining('Runs on Codex.'), findsOneWidget);expect(tester.takeException(), isNull);});}